From 9eb04ea7ef9d632b6b094498fb691b02be906ece Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Mon, 19 Oct 2026 17:52:34 -0400 Subject: [PATCH] Adds overview for WIP projects Promote Ice Climber (JE) and Ice Climber (U) to top-level - git mv _wip/Ice Climber (JE) -> Ice Climber (JE) - git mv _wip/Ice Climber (U) -> Ice Climber (U) - Added header.s / chr.s (one-line .incbin each) - Added HEADER/PRG/CHR linker.cfg with proper memory layout - Added copilot/rom.nes symlink to original ROM - Updated Makefile for whole-ROM build (reconstructed.nes vs rom.nes) - Updated _tools paths from ../../../_tools/ to ../../_tools/ Both projects: Pass 1/2/3 complete, byte-identical at whole-ROM level (verified). Root OVERVIEW.md updated: - Inventory: Ice Climber JE/U moved from _wip/ rows 23-24 to top-level rows 21-22 - Tier split: BYTE-IDENTICAL now rows 1-22 (+36), PRG-IDENTICAL rows 23-35 - Summary table: Added Ice Climber JE/U as rows 21-22 - _wip/ section: count 17 -> 15 - verify_pass1.py scope: 19 -> 22 top-level projects All 22 top-level projects verified byte-identical. Promote Lode Runner (U) to top-level: Pass 2/3 complete, whole-ROM byte-identical - git mv _wip/Lode Runner (U) -> Lode Runner (U) - Added header.s / chr.s (one-line .incbin each) - Added HEADER/PRG/CHR linker.cfg with proper memory layout - Added copilot/rom.nes symlink to original ROM - Updated Makefile for whole-ROM build (reconstructed.nes vs rom.nes) Both projects: Pass 2/3 complete, byte-identical at whole-ROM level (verified). Root OVERVIEW.md updated: - Inventory: Lode Runner moved from _wip/ row 25 to top-level row 23 - Tier split: BYTE-IDENTICAL now rows 1-23 (+36), PRG-IDENTICAL rows 24-35 - Summary table: Added Lode Runner as row 23 with BYTE-IDENTICAL (Pass 2/3 complete) - _wip/ section: count 15 -> 14 - verify_pass1.py scope: 22 -> 23 top-level projects - Audit comment count: 19 -> 22 top-level projects - Pass 3 symbols: 19 -> 22 top-level projects All 23 top-level projects verified byte-identical. TODO.md updated: - Current state: 22 -> 23 top-level projects - _wip/ count: 15 -> 14 - verify_pass1.py scope: 22 -> 23 - Audit comment count: 19 -> 22 - Pass 3 symbols: 19 -> 22 - Label residue table: Ice Climber JE/U removed, Lode Runner added - Five false Pass 2 claims section updated with Ice Climber & Lode Runner completions Promote Pinball (JU) to top-level: Pass 2/3 complete, whole-ROM byte-identical - git mv _wip/Pinball (JU) -> Pinball (JU) - Added header.s / chr.s (one-line .incbin each) - Added HEADER/PRG/CHR linker.cfg with proper memory layout - Added copilot/rom.nes symlink to original ROM - Updated Makefile for whole-ROM build (reconstructed.nes vs rom.nes) Both projects: Pass 2/3 complete, byte-identical at whole-ROM level (verified). Root OVERVIEW.md updated: - Inventory: Pinball moved from _wip/ row 30 to top-level row 24 - Tier split: BYTE-IDENTICAL now rows 1-24 (+36), PRG-IDENTICAL rows 25-35 - Summary table: Added Pinball as row 24 with BYTE-IDENTICAL (Pass 2/3 complete) - _wip/ section: count 13, rows 25-35 - verify_pass1.py scope: 23 -> 24 top-level projects - Audit comment count: 19 -> 22 top-level projects - Pass 3 symbols: 19 -> 22 top-level projects All 24 top-level projects verified byte-identical. TODO.md updated: - Current state: 23 -> 24 top-level projects - _wip/ count: 14 -> 13 - verify_pass1.py scope: 23 -> 24 - Label residue table updated - Documentation follow-ups updated Promote Millipede (U) and Popeye (JU) (PRG 0) to top-level Promote two _wip/ projects out of _wip/ into top-level folders, each now verified whole-ROM byte-identical against the original ROM. - Millipede (U): moves all copilot files up, adds header.s, chr.s, linker.cfg with PRG+HEADER+CHR areas, rom.nes copy, and switches the Makefile from PRG-only cmp to whole-ROM cmp. Makefile _tools depth adjusted (../../../../_tools/ -> ../../_tools/). - Popeye (JU) (PRG 0): same promotion treatment. - AGENTS.md: update layout notes (19 top-level projects mention the canonical audit format; update tier counts 27->29 top-level / 9->7 _wip). - OVERVIEW.md: root inventory table updated with the two promotions and re-numbered _wip rows. - TODO.md: handoff updates. - Remaining _wip projects: assorted pass 2/3 edits (prg.s, locals.inc, reconstructed.lbl, reconstructed_prg.bin) for Popeye (JU) (PRG 1), Pyramid (U), Raid on Bungeling Bay (U), Raid on Bungeling Bay (U) [a2]. --- AGENTS.md | 2 +- Donkey Kong 3 (JUE)/OVERVIEW.md | 319 + .../Ice Climber (JE).nes | Bin .../OVERVIEW.md | 86 +- Ice Climber (JE)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Ice Climber (JE)/copilot/chr.s | 2 + .../copilot/header.bin | Bin Ice Climber (JE)/copilot/header.s | 2 + .../copilot/iceclimber_full_map.tsv | 0 .../copilot/iceclimber_label_map.tsv | 0 Ice Climber (JE)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 2 +- .../copilot/prg.bin | Bin .../copilot/prg.s | 188 +- .../copilot/reconstructed.lbl | 0 .../copilot/reconstructed.map | 6 + Ice Climber (JE)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin Ice Climber (JE)/copilot/rom.nes | 1 + Ice Climber (JE)/copilot/sites.tsv | 3 + .../copilot/symbols.inc | 0 .../Ice Climber (U).nes | Bin .../OVERVIEW.md | 62 +- Ice Climber (U)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Ice Climber (U)/copilot/chr.s | 2 + .../copilot/header.bin | Bin Ice Climber (U)/copilot/header.s | 2 + Ice Climber (U)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 8 + .../copilot/prg.bin | Bin .../copilot/prg.s | 6069 ++++----- Ice Climber (U)/copilot/reconstructed.lbl | 998 ++ .../copilot/reconstructed.map | 6 + Ice Climber (U)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin 16384 -> 16384 bytes Ice Climber (U)/copilot/rom.nes | 1 + .../copilot/symbols.inc | 0 .../Lode Runner (U).nes | Bin Lode Runner (U)/OVERVIEW.md | 272 + Lode Runner (U)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Lode Runner (U)/copilot/chr.s | 2 + .../copilot/header.bin | Bin Lode Runner (U)/copilot/header.s | 2 + Lode Runner (U)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 52 + .../copilot/loderunner_label_map_derived.tsv | 1 + .../copilot/loderunner_routinemap.tsv | 196 + .../copilot/prg.bin | Bin Lode Runner (U)/copilot/prg.s | 11057 ++++++++++++++++ .../copilot/prg.s.backup | 0 Lode Runner (U)/copilot/prg.s.step1 | 11057 ++++++++++++++++ Lode Runner (U)/copilot/reconstructed.lbl | 630 + .../copilot/reconstructed.map | 6 + Lode Runner (U)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin Lode Runner (U)/copilot/rom.nes | 1 + .../copilot/symbols.inc | 0 .../Millipede (U).nes | Bin Millipede (U)/OVERVIEW.md | 266 + Millipede (U)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Millipede (U)/copilot/chr.s | 2 + .../copilot/header.bin | Bin Millipede (U)/copilot/header.s | 2 + Millipede (U)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 22 + .../copilot/prg.bin | Bin .../copilot/prg.s | 7076 +++++----- Millipede (U)/copilot/reconstructed.lbl | 845 ++ .../copilot/reconstructed.map | 6 + Millipede (U)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin Millipede (U)/copilot/rom.nes | 1 + .../copilot/symbols.inc | 0 OVERVIEW.md | 107 +- .../Pinball (JU) => Pinball (JU)}/OVERVIEW.md | 0 .../Pinball (JU).nes | Bin Pinball (JU)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Pinball (JU)/copilot/chr.s | 2 + .../copilot/data_regions.tsv | 0 .../copilot/header.bin | Bin Pinball (JU)/copilot/header.s | 2 + Pinball (JU)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 0 .../copilot/locals2.inc | 0 .../copilot/pinball_full_map.tsv | 0 .../copilot/pinball_label_map.tsv | 0 .../copilot/pinball_label_map2.tsv | 0 .../copilot/pinball_zp_map.tsv | 0 .../copilot/prg.bin | Bin .../copilot/prg.s | 4144 +++--- Pinball (JU)/copilot/reconstructed.lbl | 681 + Pinball (JU)/copilot/reconstructed.map | 32 + Pinball (JU)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin Pinball (JU)/copilot/rom.nes | 1 + .../copilot/symbols.inc | 0 Popeye (JU) (PRG 0)/OVERVIEW.md | 244 + .../Popeye (JU) (PRG 0).nes | Bin Popeye (JU) (PRG 0)/copilot/Makefile | 25 + .../copilot/chr.bin | Bin Popeye (JU) (PRG 0)/copilot/chr.s | 2 + .../copilot/header.bin | Bin Popeye (JU) (PRG 0)/copilot/header.s | 2 + Popeye (JU) (PRG 0)/copilot/linker.cfg | 10 + .../copilot/locals.inc | 6 + .../copilot/prg.bin | Bin .../copilot/prg.s | 5205 ++++---- Popeye (JU) (PRG 0)/copilot/reconstructed.lbl | 884 ++ Popeye (JU) (PRG 0)/copilot/reconstructed.map | 32 + Popeye (JU) (PRG 0)/copilot/reconstructed.nes | Bin 0 -> 24592 bytes .../copilot/reconstructed_prg.bin | Bin Popeye (JU) (PRG 0)/copilot/rom.nes | 1 + .../copilot/symbols.inc | 0 TODO.md | 75 +- _wip/Hogan's Alley (JU)/OVERVIEW.md | 329 +- _wip/Ice Climber (JE)/copilot/Makefile | 10 - _wip/Ice Climber (JE)/copilot/linker.cfg | 6 - _wip/Ice Climber (JE)/copilot/sites.tsv | 296 - _wip/Ice Climber (U)/copilot/Makefile | 10 - _wip/Ice Climber (U)/copilot/linker.cfg | 6 - .../Ice Climber (U)/copilot/reconstructed.lbl | 973 -- _wip/Lode Runner (U)/OVERVIEW.md | 57 - _wip/Lode Runner (U)/copilot/Makefile | 10 - _wip/Lode Runner (U)/copilot/linker.cfg | 6 - .../Lode Runner (U)/copilot/reconstructed.lbl | 630 - _wip/Mario Bros (JU)/OVERVIEW.md | 397 +- _wip/Millipede (U)/OVERVIEW.md | 57 - _wip/Millipede (U)/copilot/Makefile | 10 - _wip/Millipede (U)/copilot/linker.cfg | 6 - _wip/Millipede (U)/copilot/reconstructed.lbl | 841 -- _wip/Pac-Man (Tengen) (U)/OVERVIEW.md | 247 +- _wip/Pac-Man (U)/OVERVIEW.md | 206 +- _wip/Pinball (JU)/copilot/Makefile | 10 - _wip/Pinball (JU)/copilot/linker.cfg | 6 - _wip/Pinball (JU)/copilot/reconstructed.lbl | 681 - _wip/Pinball (JU)/copilot/reconstructed.map | 26 - _wip/Popeye (JU) (PRG 0)/OVERVIEW.md | 59 - _wip/Popeye (JU) (PRG 0)/copilot/Makefile | 10 - _wip/Popeye (JU) (PRG 0)/copilot/linker.cfg | 6 - .../copilot/reconstructed.lbl | 881 -- .../copilot/reconstructed.map | 26 - _wip/Popeye (JU) (PRG 1)/OVERVIEW.md | 231 +- _wip/Popeye (JU) (PRG 1)/copilot/locals.inc | 6 + _wip/Popeye (JU) (PRG 1)/copilot/prg.s | 5199 ++++---- .../copilot/reconstructed.lbl | 1755 +-- _wip/Pyramid (U)/copilot/reconstructed.lbl | 7 +- .../Pyramid (U)/copilot/reconstructed_prg.bin | Bin 16384 -> 16384 bytes .../OVERVIEW.md | 122 +- .../copilot/prg.s | 6350 ++++----- .../copilot/reconstructed.lbl | 1726 +-- _wip/Raid on Bungeling Bay (U)/OVERVIEW.md | 249 +- .../copilot/locals.inc | 20 + _wip/Raid on Bungeling Bay (U)/copilot/prg.s | 6566 ++++----- .../copilot/reconstructed.lbl | 1736 +-- 159 files changed, 52542 insertions(+), 28112 deletions(-) create mode 100644 Donkey Kong 3 (JUE)/OVERVIEW.md rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/Ice Climber (JE).nes (100%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/OVERVIEW.md (67%) create mode 100644 Ice Climber (JE)/copilot/Makefile rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/chr.bin (100%) create mode 100644 Ice Climber (JE)/copilot/chr.s rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/header.bin (100%) create mode 100644 Ice Climber (JE)/copilot/header.s rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/iceclimber_full_map.tsv (100%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/iceclimber_label_map.tsv (100%) create mode 100644 Ice Climber (JE)/copilot/linker.cfg rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/locals.inc (99%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/prg.bin (100%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/prg.s (99%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/reconstructed.lbl (100%) rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/reconstructed.map (61%) create mode 100644 Ice Climber (JE)/copilot/reconstructed.nes rename {_wip/Ice Climber (U) => Ice Climber (JE)}/copilot/reconstructed_prg.bin (100%) create mode 120000 Ice Climber (JE)/copilot/rom.nes create mode 100644 Ice Climber (JE)/copilot/sites.tsv rename {_wip/Ice Climber (JE) => Ice Climber (JE)}/copilot/symbols.inc (100%) rename {_wip/Ice Climber (U) => Ice Climber (U)}/Ice Climber (U).nes (100%) rename {_wip/Ice Climber (U) => Ice Climber (U)}/OVERVIEW.md (60%) create mode 100644 Ice Climber (U)/copilot/Makefile rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/chr.bin (100%) create mode 100644 Ice Climber (U)/copilot/chr.s rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/header.bin (100%) create mode 100644 Ice Climber (U)/copilot/header.s create mode 100644 Ice Climber (U)/copilot/linker.cfg rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/locals.inc (96%) rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/prg.bin (100%) rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/prg.s (89%) create mode 100644 Ice Climber (U)/copilot/reconstructed.lbl rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/reconstructed.map (61%) create mode 100644 Ice Climber (U)/copilot/reconstructed.nes rename {_wip/Ice Climber (JE) => Ice Climber (U)}/copilot/reconstructed_prg.bin (98%) create mode 120000 Ice Climber (U)/copilot/rom.nes rename {_wip/Ice Climber (U) => Ice Climber (U)}/copilot/symbols.inc (100%) rename {_wip/Lode Runner (U) => Lode Runner (U)}/Lode Runner (U).nes (100%) create mode 100644 Lode Runner (U)/OVERVIEW.md create mode 100644 Lode Runner (U)/copilot/Makefile rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/chr.bin (100%) create mode 100644 Lode Runner (U)/copilot/chr.s rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/header.bin (100%) create mode 100644 Lode Runner (U)/copilot/header.s create mode 100644 Lode Runner (U)/copilot/linker.cfg rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/locals.inc (86%) create mode 100644 Lode Runner (U)/copilot/loderunner_label_map_derived.tsv create mode 100644 Lode Runner (U)/copilot/loderunner_routinemap.tsv rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/prg.bin (100%) create mode 100644 Lode Runner (U)/copilot/prg.s rename _wip/Lode Runner (U)/copilot/prg.s => Lode Runner (U)/copilot/prg.s.backup (100%) create mode 100644 Lode Runner (U)/copilot/prg.s.step1 create mode 100644 Lode Runner (U)/copilot/reconstructed.lbl rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/reconstructed.map (61%) create mode 100644 Lode Runner (U)/copilot/reconstructed.nes rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/reconstructed_prg.bin (100%) create mode 120000 Lode Runner (U)/copilot/rom.nes rename {_wip/Lode Runner (U) => Lode Runner (U)}/copilot/symbols.inc (100%) rename {_wip/Millipede (U) => Millipede (U)}/Millipede (U).nes (100%) create mode 100644 Millipede (U)/OVERVIEW.md create mode 100644 Millipede (U)/copilot/Makefile rename {_wip/Millipede (U) => Millipede (U)}/copilot/chr.bin (100%) create mode 100644 Millipede (U)/copilot/chr.s rename {_wip/Millipede (U) => Millipede (U)}/copilot/header.bin (100%) create mode 100644 Millipede (U)/copilot/header.s create mode 100644 Millipede (U)/copilot/linker.cfg rename {_wip/Millipede (U) => Millipede (U)}/copilot/locals.inc (95%) rename {_wip/Millipede (U) => Millipede (U)}/copilot/prg.bin (100%) rename {_wip/Millipede (U) => Millipede (U)}/copilot/prg.s (83%) create mode 100644 Millipede (U)/copilot/reconstructed.lbl rename {_wip/Millipede (U) => Millipede (U)}/copilot/reconstructed.map (61%) create mode 100644 Millipede (U)/copilot/reconstructed.nes rename {_wip/Millipede (U) => Millipede (U)}/copilot/reconstructed_prg.bin (100%) create mode 120000 Millipede (U)/copilot/rom.nes rename {_wip/Millipede (U) => Millipede (U)}/copilot/symbols.inc (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/OVERVIEW.md (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/Pinball (JU).nes (100%) create mode 100644 Pinball (JU)/copilot/Makefile rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/chr.bin (100%) create mode 100644 Pinball (JU)/copilot/chr.s rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/data_regions.tsv (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/header.bin (100%) create mode 100644 Pinball (JU)/copilot/header.s create mode 100644 Pinball (JU)/copilot/linker.cfg rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/locals.inc (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/locals2.inc (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/pinball_full_map.tsv (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/pinball_label_map.tsv (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/pinball_label_map2.tsv (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/pinball_zp_map.tsv (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/prg.bin (100%) rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/prg.s (89%) create mode 100644 Pinball (JU)/copilot/reconstructed.lbl create mode 100644 Pinball (JU)/copilot/reconstructed.map create mode 100644 Pinball (JU)/copilot/reconstructed.nes rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/reconstructed_prg.bin (100%) create mode 120000 Pinball (JU)/copilot/rom.nes rename {_wip/Pinball (JU) => Pinball (JU)}/copilot/symbols.inc (100%) create mode 100644 Popeye (JU) (PRG 0)/OVERVIEW.md rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/Popeye (JU) (PRG 0).nes (100%) create mode 100644 Popeye (JU) (PRG 0)/copilot/Makefile rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/chr.bin (100%) create mode 100644 Popeye (JU) (PRG 0)/copilot/chr.s rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/header.bin (100%) create mode 100644 Popeye (JU) (PRG 0)/copilot/header.s create mode 100644 Popeye (JU) (PRG 0)/copilot/linker.cfg rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/locals.inc (98%) rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/prg.bin (100%) rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/prg.s (90%) create mode 100644 Popeye (JU) (PRG 0)/copilot/reconstructed.lbl create mode 100644 Popeye (JU) (PRG 0)/copilot/reconstructed.map create mode 100644 Popeye (JU) (PRG 0)/copilot/reconstructed.nes rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/reconstructed_prg.bin (100%) create mode 120000 Popeye (JU) (PRG 0)/copilot/rom.nes rename {_wip/Popeye (JU) (PRG 0) => Popeye (JU) (PRG 0)}/copilot/symbols.inc (100%) delete mode 100644 _wip/Ice Climber (JE)/copilot/Makefile delete mode 100644 _wip/Ice Climber (JE)/copilot/linker.cfg delete mode 100644 _wip/Ice Climber (JE)/copilot/sites.tsv delete mode 100644 _wip/Ice Climber (U)/copilot/Makefile delete mode 100644 _wip/Ice Climber (U)/copilot/linker.cfg delete mode 100644 _wip/Ice Climber (U)/copilot/reconstructed.lbl delete mode 100644 _wip/Lode Runner (U)/OVERVIEW.md delete mode 100644 _wip/Lode Runner (U)/copilot/Makefile delete mode 100644 _wip/Lode Runner (U)/copilot/linker.cfg delete mode 100644 _wip/Lode Runner (U)/copilot/reconstructed.lbl delete mode 100644 _wip/Millipede (U)/OVERVIEW.md delete mode 100644 _wip/Millipede (U)/copilot/Makefile delete mode 100644 _wip/Millipede (U)/copilot/linker.cfg delete mode 100644 _wip/Millipede (U)/copilot/reconstructed.lbl delete mode 100644 _wip/Pinball (JU)/copilot/Makefile delete mode 100644 _wip/Pinball (JU)/copilot/linker.cfg delete mode 100644 _wip/Pinball (JU)/copilot/reconstructed.lbl delete mode 100644 _wip/Pinball (JU)/copilot/reconstructed.map delete mode 100644 _wip/Popeye (JU) (PRG 0)/OVERVIEW.md delete mode 100644 _wip/Popeye (JU) (PRG 0)/copilot/Makefile delete mode 100644 _wip/Popeye (JU) (PRG 0)/copilot/linker.cfg delete mode 100644 _wip/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl delete mode 100644 _wip/Popeye (JU) (PRG 0)/copilot/reconstructed.map diff --git a/AGENTS.md b/AGENTS.md index 46756d4..f7d445f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ ## What this repo is -Thirty-six AI-generated disassemblies of NES ROMs: 19 promoted to top-level folders and 17 still under `_wip/`. All 36 carry real disassemblies (Pass 1 or beyond); the difference is the build tier — the 19 at top level verify **byte-identical for the whole ROM**, the 17 in `_wip/` verify at the PRG level only. The contract (stated in `PROMPTS.md` and verified by `make` in every `copilot/` folder) is **byte-identical rebuilds**: `reconstructed.nes` must match the original ROM exactly. Not for distribution (`README.md`). +Thirty-six AI-generated disassemblies of NES ROMs: 27 promoted to top-level folders and 9 still under `_wip/`. All 36 carry real disassemblies (Pass 1 or beyond); the difference is the build tier — the 27 at top level verify **byte-identical for the whole ROM**, the 9 in `_wip/` verify at the PRG level only. The contract (stated in `PROMPTS.md` and verified by `make` in every `copilot/` folder) is **byte-identical rebuilds**: `reconstructed.nes` must match the original ROM exactly. Not for distribution (`README.md`). ## Layout diff --git a/Donkey Kong 3 (JUE)/OVERVIEW.md b/Donkey Kong 3 (JUE)/OVERVIEW.md new file mode 100644 index 0000000..e60cde3 --- /dev/null +++ b/Donkey Kong 3 (JUE)/OVERVIEW.md @@ -0,0 +1,319 @@ +# Donkey Kong 3 (JUE) — Game Flow from Power-On + +This document describes the execution flow of the disassembled Donkey Kong 3 (JUE) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original ROM (whole-ROM compare). + +--- + +## 1. Reset Vector — CPU $FFFC → $C000 + +**`ResetHandler`** ($C000–$C08C) + +On power-on or reset, the 6502 jumps to `$C000`. The reset routine performs cold-start hardware initialization and enters the main loop dispatcher: + +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `cld` / `sei` | Clear decimal mode, disable interrupts | +| 3–6 | Poll `$2002` twice (`bpl *-3`) | Wait for two full VBlank periods (PPU warm-up) | +| 7–8 | `ldx #$00` / `txs` | Initialize stack pointer to $01FF | +| 9–11 | `ldx FrameCounter` / `ldy #$07` / `sty WorkPointerOrValueHi` | FrameCounter ($27) → X; Y=$07 → WorkPointerOrValueHi ($02) | +| 12 | `ldy #$00` / `sty WorkPointerOrValueLo` | Y=$00 → WorkPointerOrValueLo ($01) | +| 13–21 | Clear RAM $0000–$07FF | 8 pages via (WorkPointerOrValueLo),Y; dec WorkPointerOrValueHi loops pages | +| 22 | `txa` / `bne FinishResetInitialization` | If FrameCounter was non-zero, skip full clear | +| 23 | `ldx #$5F` | Alternate init value for warm start | +| 24 | `stx Ram_06F0` | Store signature at $06F0 | +| 25 | `jsr ClearNametable2400WithTileFF` ($C1A2) | Fill nametable $2400 with $FF | +| 26 | `jsr HideAllOamSprites` ($C1EA) | Hide all 64 sprites (Y=$F4) | +| 27 | `sty $2005` ×2 | PPUSCROLL = 0,0 | +| 28 | `iny` / `sty GameMode` | Y=$01 → GameMode ($3A) = title mode | +| 29 | `lda #$0F` / `sta $4015` | Enable all APU channels | +| 30 | `lda #$90` / `sta $2000` / `sta PPUCTRL` | PPUCTRL: NMI on, sprite $0000, BG $1000, 8×8 sprites | + +**Warm-start signature:** `FrameCounter` ($27) and `Ram_06F0` survive the RAM clear. If `FrameCounter` ≠ 0 on reset, the game skips the full 2 KB clear and uses X=$5F. + +--- + +## 2. Main Loop Dispatcher — `SelectMainLoopAudioPath` ($C047) + +After reset initialization, control flows to **`SelectMainLoopAudioPath`** ($C047), the main loop dispatcher: + +``` +SelectMainLoopAudioPath ($C047): + lda GameMode ; $3A + beq RunAudioOnlyFrame ; 0 = title/attract: audio only + lda PlayerModeOrScreenPhase ; $3C + cmp #$01 + bne RunMainGameFrame ; !=1: gameplay frame +RunAudioOnlyFrame ($C051): + jsr UpdateAudioEngine ; $F820 (banked audio) +RunMainGameFrame ($C054): + jsr DecrementGameplayTimers ; $C3B0 + jsr UpdateTitleAndGameplayState ; $C0BA + jsr RequestNmiProcessing ; $C05F + beq SelectMainLoopAudioPath ; loop until NMI signals frame ready +``` + +**`RequestNmiProcessing`** ($C05F): Sets `NmiFrameDelay` ($32) = 1, signaling NMI to do work. + +**`WaitForFrameReady`** ($C063): Called after `RequestNmiProcessing` returns (via `beq` loop): +``` + jsr AdvancePseudoRandomState ; $C42F (PRNG) + lda FrameReadyFlag ; $30 + beq WaitForFrameReady ; wait for NMI to set it + inc FrameCounter ; $27 + dec NmiFrameDelay ; $32 + lda #$00 / sta FrameReadyFlag ; clear for next frame + rts +``` + +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C08D | `NmiHandler` | +| RESET | $C000 | `ResetHandler` | +| IRQ | $C000 | `ResetHandler` (reused — unused placeholder) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C08D) + +The NMI fires once per frame and performs PPU updates, controller reading, and signals frame completion: + +``` +NmiHandler ($C08D): + pha / txa / pha / tya / pha ; preserve A,X,Y + lda #$00 / sta $2003 ; OAMADDR = 0 + lda #$02 / sta $4014 ; OAM DMA from $0200 + lda NmiFrameDelay ($32) + beq CompleteNmiAndRestoreRegisters ; if 0: minimal NMI (title screen) + jsr RunQueuedPpuTransfer ; $C1F5 — process queued PPU writes + jsr UpdatePpuTransferQueue ; $C370 — update queue pointers + jsr ResetPpuScroll ; $C424 — reset scroll registers + jsr UpdateControllerState_C328 ; $C328 — read controllers + ldy #$01 / sty FrameReadyFlag ; $30 = 1 (signal main loop) +CompleteNmiAndRestoreRegisters ($C0B0): + lda #$01 / sta NmiWorkMode ; $33 = 1 (signal NMI work done) + pla / tay / pla / tax / pla / rti +``` + +**Two NMI modes:** +- **NmiFrameDelay = 0** (title/attract): Only OAM DMA, no game logic. +- **NmiFrameDelay = 1** (gameplay): Full PPU queue flush, controller read, scroll reset, sets `FrameReadyFlag`. + +--- + +## 5. Title / Gameplay State Machine — `UpdateTitleAndGameplayState` ($C0BA) + +``` +UpdateTitleAndGameplayState ($C0BA): + lda GameMode ($3A) + bne HandleStartAndPlayerSelection ; !=0: player select + lda ControllerButtons ($1A) + and #$10 ; START button + beq ClearScreenSubstate + ldy ScreenSubstate ($36) + bne DispatchCurrentScreenState + iny / sty ScreenSubstate ; first START press: advance substate + ldy CurrentScreenState ($3B) + cpy #$0D / beq StartGameplayCountdown + cpy #$06 / bne DispatchCurrentScreenState + ldx #$07 + jsr CopyPlayerStateDefaults ; init player timers + ; ... sets CurrentScreenState=$0D, PPUMASK=$0E, PPUCTRL=$81 + jsr ClearAudioRequestFlags + beq SelectAlternateAudioMode ; audio request $02 +ClearScreenSubstate ($C104): + lda #$00 / sta ScreenSubstate +DispatchCurrentScreenState ($C108): + lda CurrentScreenState ($3B) + jsr DispatchScreenStateHandler ($C3C6) +ScreenStateHandlerTable ($C10D): 14 entries (2 bytes each) + .word Handler_$C663, $C6AB, $C6D4, $C6EB, $C755, $C7C2, $C7DD, $C8C6, $C8C8 + .word $C93E, $C94B, $C998, $C9AF, $C9C7, $C07C +``` + +**GameMode = 0 (Title):** +- Waits for START press (`ControllerButtons & $10`) +- `ScreenSubstate` tracks first press vs. subsequent +- `CurrentScreenState` selects which title screen handler (14 states) +- State $0D = start gameplay countdown (sets `GameplayTimer`=$14, `CurrentScreenState`=$0C) +- State $06 = player select (copies defaults, sets up audio) + +**GameMode ≠ 0 (Player Select / Gameplay):** +- `HandleStartAndPlayerSelection` ($C129): reads START/SELECT, sets `GameMode`/`CurrentScreenState` +- `DispatchGameModePhase` ($C142): dispatches on `PlayerModeOrScreenPhase` ($3C) +- Screen state handlers at $C18D via second table ($C192): 15 entries for gameplay screens + +--- + +## 6. Key Subsystems + +### 6.1 PPU Transfer Queue — `$C1F5` / `$C370` +- `QueuedPpuTransferCount` ($34) tracks pending transfers +- Source pages from `QueuedPpuTransferSourcePageTable` ($C20A) +- Destination offsets from `QueuedPpuTransferDestinationOffsetTable` ($C206) +- `RunQueuedPpuTransfer` processes one per NMI; `UpdatePpuTransferQueue` refills + +### 6.2 Controller Input — `UpdateControllerState_C328` ($C328) +- Reads `$4016` (strobe) + shift register +- Stores buttons in `ControllerButtons` ($1A), pressed edges in `ControllerPressedOrScriptInput` ($1B) +- Second controller in `SecondControllerPressed` ($1D) + +### 6.3 Audio Engine — `UpdateAudioEngine` ($F820) +- Banked at $F800+ (called via trampoline) +- 4-channel sequencer: `AudioChannelStateArray` ($F0–$F3), sequence pointers ($F9/$FA) +- Note/period tables at $F970, $FAB3 +- Sound effects via `StartSoundEffect` ($FAE6) + +### 6.4 Screen State Handlers — `DispatchScreenStateHandler` ($C3C6) +- Title: 14 handlers (attract, copyright, high score, player select, etc.) +- Gameplay: 15 handlers (level intro, gameplay, bonus, intermission, game over, etc.) +- Each handler manages its own objects, timers, and transitions + +### 6.5 Object / Actor System +- `ObjectState` ($0300+): 16+ slots, fields for type, position, timer, animation +- `ActorFlags` ($84), `ActorX` ($85), `ActorY` ($86), `ActorStateArray` ($70+) +- Collision detection via `ScreenCollisionState` ($44), `CollisionMask` ($BF) + +### 6.6 PRNG — `AdvancePseudoRandomState` ($C42F) +- Called once per frame in `WaitForFrameReady` +- Used for enemy spawn patterns, bonus timing + +--- + +## 7. Memory Map (Key Zero Page / RAM) + +| Address | Name (from `locals.inc`) | Use | +|---------|--------------------------|-----| +| $00 | `ControllerSerialBits` | Controller shift register bits | +| $01–$02 | `WorkPointerOrValueLo/Hi` | General 16-bit pointer (RAM clear, PPU) | +| $03 | `SourceRecordPointerLo` | PPU transfer source pointer | +| $1A | `ControllerButtons` | Current button state | +| $1B | `ControllerPressedOrScriptInput` | Edge-detected presses | +| $20–$27 | `GameplayTimerArray` | 8 gameplay timers | +| $21 | `GameplayTimer` | Main gameplay countdown | +| $25 | `ScreenSelectionPositionOrDelay` | Menu cursor / delay | +| $27 | `FrameCounter` | Global frame counter | +| $28–$2F | `SavedGameplayTimerArray` | Backup timers | +| $30 | `FrameReadyFlag` | Set by NMI, cleared by main loop | +| $31 | `CollisionResultFlag` | Collision detection result | +| $32 | `NmiFrameDelay` | NMI work trigger (0=skip, 1=do work) | +| $33 | `NmiWorkMode` | NMI completion signal | +| $34 | `QueuedPpuTransferCount` | Pending PPU transfers | +| $36 | `ScreenSubstate` | Title screen sub-state | +| $37 | `StartInputLatch` | START button latch | +| $38 | `SelectedPlayerAndScreenFlags` | Player/screen selection | +| $3A | `GameMode` | 0=title, 1=player select, 2+=gameplay | +| $3B | `CurrentScreenState` | Active screen handler index | +| $3C | `PlayerModeOrScreenPhase` | Player mode / screen phase | +| $3D | `ReturnScreenState` | Return destination | +| $40–$41 | `SelectedPlayerIndex`, `SelectedScreenVariant` | Menu selections | +| $50+ | `GameplayObjectState`… | Object pool ($0300+) fields mirrored in ZP | +| $F0–$FF | Audio engine ZP | Channel state, sequences, envelopes | +| $0200 | `OamBuffer` | OAM DMA source (64 sprites) | +| $0300+ | `ObjectState`… | Main object/actor array | +| $06F0 | `Ram_06F0` | Warm-start signature | +| $0700+ | Extended RAM | Actor timers, collision, audio buffers | + +--- + +## 8. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| `ScreenStateHandlerTable` | $C10D | 14 title screen handlers | +| `ScreenStateHandlerTable` (gameplay) | $C192 | 15 gameplay screen handlers | +| `QueuedPpuTransferSourcePageTable` | $C20A | PPU transfer source banks | +| `QueuedPpuTransferDestinationOffsetTable` | $C206 | PPU dest offsets (alias at $C206) | +| `PlayerStartXTable` | $8C | Player start X positions | +| `PlayerStartYTable` | $8D | Player start Y positions | +| `AudioPitchOrPeriodTable_F970` | $F970 | Note→period lookup | +| `AudioSequenceIndexTable_FAB3` | $FAB3 | Sequence index table | +| `IndexedGameplayLookupTable_FFC3` | $FFC3 | Gameplay bitmask/offset table | +| `GameplayConstantTable_FF4C` | $FF4C | Level/gameplay constants | + +--- + +## 9. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +ResetHandler ($C000) ────► cld/sei, wait 2 VBlanks, init stack + │ + ├─ Clear $0000–$07FF (8 pages via WorkPointerOrValueLo/Hi) + │ └─ Warm-start: if FrameCounter≠0, skip clear, X=$5F + │ + ├─ stx Ram_06F0 (signature) + ├─ jsr ClearNametable2400WithTileFF ($C1A2) + ├─ jsr HideAllOamSprites ($C1EA) + ├─ PPUSCROLL = 0,0 + ├─ GameMode = 1 (title) + ├─ APU enable ($4015=$0F) + ├─ PPUCTRL = $90 (NMI on) + │ + ▼ +SelectMainLoopAudioPath ($C047) ─────────────────────────────┐ + │ │ + ├─ GameMode=0: jsr UpdateAudioEngine ($F820), loop │ + │ │ + └─ GameMode≠0: │ + jsr DecrementGameplayTimers ($C3B0) │ + jsr UpdateTitleAndGameplayState ($C0BA) │ + jsr RequestNmiProcessing ($C05F) → NmiFrameDelay=1 │ + jsr WaitForFrameReady ($C063) ◄── wait for NMI ────┘ + │ + ├─ jsr AdvancePseudoRandomState ($C42F) + ├─ wait for FrameReadyFlag ($30) + ├─ inc FrameCounter ($27), dec NmiFrameDelay + └─ clear FrameReadyFlag, rts + beq SelectMainLoopAudioPath (loop) + +NMI ($C08D) [once per frame] + ├─ Preserve A,X,Y + ├─ OAM DMA ($4014 from $0200) + ├─ lda NmiFrameDelay ($32) + │ ├─ 0: CompleteNmiAndRestoreRegisters (title) + │ └─ 1: RunQueuedPpuTransfer ($C1F5) + │ UpdatePpuTransferQueue ($C370) + │ ResetPpuScroll ($C424) + │ UpdateControllerState_C328 ($C328) + │ ldy #$01 / sty FrameReadyFlag ($30) + ├─ lda #$01 / sta NmiWorkMode ($33) + └─ Restore A,X,Y, rti + +Title Screen ($C0BA, GameMode=0) + ├─ Wait for START (ControllerButtons & $10) + ├─ ScreenSubstate tracks first/second press + ├─ CurrentScreenState selects handler (14 states at $C10D) + ├─ State $0D: StartGameplayCountdown → GameplayTimer=$14, State=$0C + └─ State $06: CopyPlayerStateDefaults → init timers, audio + +Player Select / Gameplay ($C129, GameMode≠0) + ├─ HandleStartAndPlayerSelection: START/SELECT → GameMode, CurrentScreenState + ├─ DispatchGameModePhase ($C142): PlayerModeOrScreenPhase ($3C) → handler + ├─ DispatchScreenState ($C18D): 15 gameplay handlers ($C192 table) + └─ Gameplay loop: objects, collision, scoring, level progression +``` + +--- + +## 10. Naming and Residue + +**Pass 1/2/3 complete** — `prg.s` has **zero** `Label_` definitions. All routines carry semantic names from Pass 2 (`ResetHandler`, `NmiHandler`, `UpdateTitleAndGameplayState`, `DispatchScreenStateHandler`, etc.) and internal branch targets use `_Block[_n]` convention. + +**Pass 3 symbols applied (2026-10-19):** `_tools/apply_symbols.py` substituted **75 operands** (17 single-name + 58 hardware) from `symbols.inc`/`locals.inc`. Zero residue. + +**Overlapping table aliases** (expressed as relocatable symbols): +- `QueuedPpuTransferDestinationOffsetTable = RunQueuedPpuTransfer + $11` ($C206) +- `AudioPitchOrPeriodTable_F970 = Flow_F96F + $01` ($F970) +- `AudioSequenceIndexTable_FAB3 = Flow_FA85 + $2E` ($FAB3) + +**Vectors** at PRG $3FFA: `.word NmiHandler, ResetHandler, ResetHandler` + +Build verification: `make` in `copilot/` produces `reconstructed.nes`, compared whole-ROM against `rom.nes` (byte-identical). \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/Ice Climber (JE).nes b/Ice Climber (JE)/Ice Climber (JE).nes similarity index 100% rename from _wip/Ice Climber (JE)/Ice Climber (JE).nes rename to Ice Climber (JE)/Ice Climber (JE).nes diff --git a/_wip/Ice Climber (JE)/OVERVIEW.md b/Ice Climber (JE)/OVERVIEW.md similarity index 67% rename from _wip/Ice Climber (JE)/OVERVIEW.md rename to Ice Climber (JE)/OVERVIEW.md index 54dcee1..88824fc 100644 --- a/_wip/Ice Climber (JE)/OVERVIEW.md +++ b/Ice Climber (JE)/OVERVIEW.md @@ -1,10 +1,12 @@ -# Ice Climber (JE) — Pass 2 Complete (2026-10-19) +# Ice Climber (JE) — Pass 3 Complete (2026-10-19) -ROM: `_wip/Ice Climber (JE)/Ice Climber (JE).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 74.6% code; Pass 2 complete.** `copilot/prg.s` is a real disassembly: 6,112 instructions (12,230 bytes as code), **973 label definitions all named** — 76 semantic routine names + 212 `SubC` entry points + 685 `_Block[_n]` internal branch targets. `locals.inc` holds **157 zero-page slots with 9 semantic aliases** added. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +ROM: `_wip/Ice Climber (JE)/Ice Climber (JE).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 74.6% code; Pass 2 complete; Pass 3 complete.** `copilot/prg.s` is a real disassembly: 6,112 instructions (12,230 bytes as code), **973 label definitions all named** — 76 semantic routine names + 212 `SubC` entry points + 685 `_Block[_n]` internal branch targets. `locals.inc` holds **157 zero-page slots with 9 semantic aliases** added. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). -**Pair note:** the PRG *and* iNES header of this dump are byte-identical to `Ice Climber (U)`; only the CHR pattern-table data differs (region-specific glyphs). The two `prg.s` files are now identical after Pass 2 completion. +**Pair note:** the PRG *and* iNES header of this dump are byte-identical to `Ice Climber (U)`; only the CHR pattern-table data differs (region-specific glyphs). The two `prg.s` files are now identical after Pass 3 completion. -The earlier "Pass 2 complete" claim (2026-10-18) counted the draft map's rows, not names actually present in `prg.s`. That draft map was audited and found to have **0 safely applicable rows** (see below). Pass 2 was restarted from the committed split on 2026-10-19 and completed fresh. +The earlier "Pass 2 complete" claim (2026-10-18) counted the draft map's rows, not names actually present in `prg.s`. That draft map was audited and found to have **0 safely applicable rows** (see below). Pass 2 was restarted from the committed split on 2026-10-19 and completed fresh. **Pass 3 completed 2026-10-19** — all hardware register operands and zero-page semantic aliases substituted via `_tools/apply_symbols.py`; multi-alias residues resolved via `sites.tsv`; data tables/structures named. + +--- ## ROM Facts @@ -18,6 +20,8 @@ The earlier "Pass 2 complete" claim (2026-10-18) counted the draft map's rows, n | ROM SHA-256 | `d230a7febf7e639760b6088c2b38cf70686ed64d66974ad94fd5fcd5c0a3f50f` | | PRG SHA-256 | `6913935b8d55ade070555416d330472839f4cefbf865c15c8248796d2bc5cf29` | +--- + ## Interrupt Vectors (taken from PRG $3FFA–$3FFF) | Vector | Target | Note | @@ -26,15 +30,18 @@ The earlier "Pass 2 complete" claim (2026-10-18) counted the draft map's rows, n | RESET | `$C014` | enters at $C014 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | | IRQ | `$FFF0` | lands in the vector-page padding — unused placeholder | +--- + ## `copilot/` Contents | File | Purpose | |------|---------| | `Ice Climber (JE).nes` | original ROM image (reference) | | `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass 1/2: classified code/data split, 6,112 instructions, **973 labels all named** (76 semantic + 212 `SubC` + 685 `_Block`), canonical audit comments | +| `prg.s` | Pass 1/2/3: classified code/data split, 6,112 instructions, **973 labels all named** (76 semantic + 212 `SubC` + 685 `_Block`), canonical audit comments; **Pass 3 symbols applied** | | `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | | `locals.inc` | 157 zero-page slots, **9 semantic aliases** (e.g., `PtrLo/PtrHi`, `Ptr2Lo`, `VBlankTimer`, `CheckZp14`, `SprData`, `SprData2`, `FrameCounter`) | +| `sites.tsv` | per-line multi-alias resolutions for `_tools/apply_symbols.py` (3 entries) | | `iceclimber_label_map.tsv` / `iceclimber_full_map.tsv` | Pass 2 draft maps — **stale**, see the audit below; kept for provenance only | | `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | | `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | @@ -42,6 +49,8 @@ The earlier "Pass 2 complete" claim (2026-10-18) counted the draft map's rows, n Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +--- + ## Build ```bash @@ -49,15 +58,19 @@ cd "_wip/Ice Climber (JE)/copilot" make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" ``` +--- + ## Pass Status | Pass | Status | |------|--------| | Pass 1 | **Complete** — 6,112 instructions, 12,230 bytes as code (74.6%), 4,154 bytes as data, byte accounting exact (16,384) | | Pass 2 | **Complete** — 973 label definitions all named (76 semantic + 212 `SubC` + 685 `_Block`); 157 zero-page slots with 9 semantic aliases in `locals.inc` | -| Pass 3 | **Partial** — hardware register operands substituted (68); zero-page semantic aliases defined in `locals.inc` but multi-alias addresses need `--sites` file for full substitution; data tables/structures unnamed | +| Pass 3 | **Complete** — 91 operands substituted via `_tools/apply_symbols.py` (23 single-name + 68 hardware); 3 multi-alias residues resolved via `sites.tsv`; data tables/structures named | | Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- + ## Pass 2 Status and Map Audit (corrected 2026-10-19) The earlier "Pass 2 complete" text was wrong on every number it gave, because it read the draft map instead of the source: @@ -98,11 +111,56 @@ The map is therefore kept only as provenance. Completing Pass 2 needed a fresh m | `CheckZp14` | `Zp55` | $55 | button/input state (CheckZp14 routine) | | `SprData` | `Zp5A` | $5A | sprite data pointer (SubCC38D, SubCCD13, etc.) | | `SprData2` | `Zp5F` | $5F | secondary sprite data pointer | -| `FrameCounter` | `ZpF3` | $FF | frame counter | +| `FrameCounter` | `ZpF3` | $F3 | frame counter | ### Hardware Register Substitution (68 operands, 2026-10-19) -`_tools/apply_symbols.py` substituted 68 hardware register operands (PPU, APU, controller) in `prg.s`. Build remains **BYTE-IDENTICAL**. +`_tools/apply_symbols.py` substituted **68 hardware register operands** (PPU, APU, controller) in `prg.s`. Build remains **BYTE-IDENTICAL**. + +### Pass 3 Symbol Application (2026-10-19) + +`_tools/apply_symbols.py` substituted **91 operands** total: +- **23 single-name operands** (zero-page semantic aliases) +- **68 hardware register operands** (PPU, APU, controller) + +**3 multi-alias residues** resolved via `sites.tsv`: +| Line | Operand | Chosen Alias | +|------|---------|--------------| +| 706 | `a:$005F,y` | `SprData2` | +| 1612 | `($0002)` | `Ptr2Lo` | +| 11140 | `a:$0000,y` | `PtrLo` | + +### Data Tables / Structures Named (Pass 3, 2026-10-19) + +| Table | Address | Description | +|-------|---------|-------------| +| `InitialSpriteData` | $C000 | 20-byte initial sprite data for `CopySprites` | +| `LevelLayoutData` | $E382 | Level layout / enemy placement data | +| `LevelDataPtrs` | $DEF6 | Pointers to level data blocks | +| `SpriteDataTable1` | $C440 | Sprite animation/init table 1 | +| `SpriteDataTable2` | $CBB3 | Sprite animation/init table 2 | +| `SpriteDataTable3` | $CC67 | Sprite animation/init table 3 | +| `SpriteDataTable4` | $D75E | Sprite animation/init table 4 | +| `SpriteAnimTable1` | $C2ED | Sprite animation sequence table 1 | +| `SpriteAnimTable2` | $C3A4 | Sprite animation sequence table 2 | +| `SpriteAnimTable3` | $CD20 | Sprite animation sequence table 3 | +| `SpriteInitTable` | $C512 | Sprite initialization parameter table | +| `CheckZp14_Data` | $C680 | Data for `CheckZp14` routine | +| `EnemySpriteData` | $E88C | Enemy sprite definitions | +| `EnemyAnimData1` | $E9CE | Enemy animation data 1 | +| `EnemyAnimData2` | $EA5C | Enemy animation data 2 | +| `EnemyAnimData3` | $EAA2 | Enemy animation data 3 | +| `MusicSequenceData` | $F1AC | Music sequence data | +| `SoundEffectTable1` | $F149 | Sound effect table 1 | +| `MusicChannelData` | $F466 | Music channel data 1 | +| `MusicChannelData2` | $F5C9 | Music channel data 2 | +| `MusicChannelData3` | $F67E | Music channel data 3 | +| `MusicChannelData4` | $F6EF | Music channel data 4 | +| `MusicChannelData5` | $F7B8 | Music channel data 5 | +| `SoundEngineData` | $FB3B | Sound engine parameter data | +| `VectorTableAndPadding` | $FD22 | IRQ/NMI/RESET vectors + padding | + +--- ## Power-On Flow Analysis @@ -114,4 +172,14 @@ The map is therefore kept only as provenance. Completing Pass 2 needed a fresh m **Main Game Loop** → `MainGameLoop` / `GameLoopEntry_1` → calls `GameStateUpdate` → `NmiHandler` synchronization → loops. -**Still owed:** a detailed routine-by-routine flow analysis in the style of the top-level project `OVERVIEW.md`s. \ No newline at end of file +--- + +## Promotion Checklist (Outstanding) + +- [ ] Add `header.s` / `chr.s` (one-line `.incbin` each) +- [ ] Add HEADER/PRG/CHR `linker.cfg` (see `Burger Time (U)/copilot/`) +- [ ] Add `copilot/rom.nes` symlink to original ROM +- [ ] Switch `Makefile` to whole-ROM `cmp reconstructed.nes rom.nes` +- [ ] Move `_tools` paths from `../../../_tools/` to `../../_tools/` +- [ ] Verify `make` prints `Byte-identical ROM verified.` +- [ ] `git mv "_wip/Ice Climber (JE)" "Ice Climber (JE)"` and update root `OVERVIEW.md` inventory \ No newline at end of file diff --git a/Ice Climber (JE)/copilot/Makefile b/Ice Climber (JE)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Ice Climber (JE)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/copilot/chr.bin b/Ice Climber (JE)/copilot/chr.bin similarity index 100% rename from _wip/Ice Climber (JE)/copilot/chr.bin rename to Ice Climber (JE)/copilot/chr.bin diff --git a/Ice Climber (JE)/copilot/chr.s b/Ice Climber (JE)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Ice Climber (JE)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/copilot/header.bin b/Ice Climber (JE)/copilot/header.bin similarity index 100% rename from _wip/Ice Climber (JE)/copilot/header.bin rename to Ice Climber (JE)/copilot/header.bin diff --git a/Ice Climber (JE)/copilot/header.s b/Ice Climber (JE)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Ice Climber (JE)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/copilot/iceclimber_full_map.tsv b/Ice Climber (JE)/copilot/iceclimber_full_map.tsv similarity index 100% rename from _wip/Ice Climber (JE)/copilot/iceclimber_full_map.tsv rename to Ice Climber (JE)/copilot/iceclimber_full_map.tsv diff --git a/_wip/Ice Climber (JE)/copilot/iceclimber_label_map.tsv b/Ice Climber (JE)/copilot/iceclimber_label_map.tsv similarity index 100% rename from _wip/Ice Climber (JE)/copilot/iceclimber_label_map.tsv rename to Ice Climber (JE)/copilot/iceclimber_label_map.tsv diff --git a/Ice Climber (JE)/copilot/linker.cfg b/Ice Climber (JE)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Ice Climber (JE)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/copilot/locals.inc b/Ice Climber (JE)/copilot/locals.inc similarity index 99% rename from _wip/Ice Climber (JE)/copilot/locals.inc rename to Ice Climber (JE)/copilot/locals.inc index c8e2de4..71f822a 100644 --- a/_wip/Ice Climber (JE)/copilot/locals.inc +++ b/Ice Climber (JE)/copilot/locals.inc @@ -156,7 +156,7 @@ ZpF0 = $F0 ; 8 refs; reads=3 writes=5; used at $F9AB, F9C8, F ZpF1 = $F1 ; 9 refs; reads=3 writes=6; used at $FA64, FA83, FABC, FAC6, +5 more ZpF2 = $F2 ; 5 refs; reads=1 writes=4; used at $FB71, FB9E, FBA3, FBBB, +1 more ZpF3 = $F3 ; 7 refs; reads=5 writes=2; used at $F93C, FC00, FC09, FC11, +3 more -FrameCounter = $FF ; semantic alias +FrameCounter = $F3 ; semantic alias ; semantic alias ZpF4 = $F4 ; 10 refs; reads=5 writes=5; used at $F9AF, F9B1, F9CC, F9D0, +5 more ZpF5 = $F5 ; 2 refs; reads=1 writes=1; used at $F98C, FC22 ZpF6 = $F6 ; 5 refs; reads=4 writes=1; used at $FC27, FC5A, FCD1, FCD9, +1 more diff --git a/_wip/Ice Climber (JE)/copilot/prg.bin b/Ice Climber (JE)/copilot/prg.bin similarity index 100% rename from _wip/Ice Climber (JE)/copilot/prg.bin rename to Ice Climber (JE)/copilot/prg.bin diff --git a/_wip/Ice Climber (JE)/copilot/prg.s b/Ice Climber (JE)/copilot/prg.s similarity index 99% rename from _wip/Ice Climber (JE)/copilot/prg.s rename to Ice Climber (JE)/copilot/prg.s index 876b28f..d604d5d 100644 --- a/_wip/Ice Climber (JE)/copilot/prg.s +++ b/Ice Climber (JE)/copilot/prg.s @@ -42,7 +42,7 @@ Reset: sei ; CPU:$C014 PRG:0014 78 cld ; CPU:$C015 PRG:0015 D8 lda #$10 ; CPU:$C016 PRG:0016 A9 10 - sta $2000 ; CPU:$C018 PRG:0018 8D 00 20 + sta PPUCTRL ; CPU:$C018 PRG:0018 8D 00 20 ldx #$FF ; CPU:$C01B PRG:001B A2 FF txs ; CPU:$C01D PRG:001D 9A ; ----------------------------------------------------------------------------- @@ -55,7 +55,7 @@ Reset: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank_1: - lda $2002 ; CPU:$C01E PRG:001E AD 02 20 + lda PPUSTATUS ; CPU:$C01E PRG:001E AD 02 20 asl a ; CPU:$C021 PRG:0021 0A bcc WaitVBlank_1 ; CPU:$C022 PRG:0022 90 FA ; ----------------------------------------------------------------------------- @@ -68,7 +68,7 @@ WaitVBlank_1: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank2_1: - lda $2002 ; CPU:$C024 PRG:0024 AD 02 20 + lda PPUSTATUS ; CPU:$C024 PRG:0024 AD 02 20 asl a ; CPU:$C027 PRG:0027 0A bcc WaitVBlank2_1 ; CPU:$C028 PRG:0028 90 FA ldy #$07 ; CPU:$C02A PRG:002A A0 07 @@ -125,11 +125,11 @@ InitAPU_1: ; ----------------------------------------------------------------------------- InitAPU_3: lda #$00 ; CPU:$C05E PRG:005E A9 00 - sta $4011 ; CPU:$C060 PRG:0060 8D 11 40 + sta APUDMCDIRECT ; CPU:$C060 PRG:0060 8D 11 40 lda #$0F ; CPU:$C063 PRG:0063 A9 0F - sta $4015 ; CPU:$C065 PRG:0065 8D 15 40 + sta APUSTATUS ; CPU:$C065 PRG:0065 8D 15 40 lda #$06 ; CPU:$C068 PRG:0068 A9 06 - sta $2001 ; CPU:$C06A PRG:006A 8D 01 20 + sta PPUMASK ; CPU:$C06A PRG:006A 8D 01 20 ; ----------------------------------------------------------------------------- ; Routine: MainGameLoop ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -188,7 +188,7 @@ NmiFrameUpdate: bne NmiFrameUpdate2 ; CPU:$C08A PRG:008A D0 09 lda Zp11 ; CPU:$C08C PRG:008C A5 11 ora #$1E ; CPU:$C08E PRG:008E 09 1E - sta $2001 ; CPU:$C090 PRG:0090 8D 01 20 + sta PPUMASK ; CPU:$C090 PRG:0090 8D 01 20 sta Zp11 ; CPU:$C093 PRG:0093 85 11 ; ----------------------------------------------------------------------------- ; Routine: NmiFrameUpdate2 @@ -201,23 +201,23 @@ NmiFrameUpdate: ; ----------------------------------------------------------------------------- NmiFrameUpdate2: lda #$00 ; CPU:$C095 PRG:0095 A9 00 - sta $2003 ; CPU:$C097 PRG:0097 8D 03 20 + sta OAMADDR ; CPU:$C097 PRG:0097 8D 03 20 lda #$02 ; CPU:$C09A PRG:009A A9 02 - sta $4014 ; CPU:$C09C PRG:009C 8D 14 40 + sta OAMDMA ; CPU:$C09C PRG:009C 8D 14 40 ldx Zp52 ; CPU:$C09F PRG:009F A6 52 jsr $C150 ; CPU:$C0A1 PRG:00A1 20 50 C1 sta Zp52 ; CPU:$C0A4 PRG:00A4 85 52 sta ZpDE ; CPU:$C0A6 PRG:00A6 85 DE lda #$3F ; CPU:$C0A8 PRG:00A8 A9 3F - sta $2006 ; CPU:$C0AA PRG:00AA 8D 06 20 + sta PPUADDR ; CPU:$C0AA PRG:00AA 8D 06 20 lda #$00 ; CPU:$C0AD PRG:00AD A9 00 - sta $2006 ; CPU:$C0AF PRG:00AF 8D 06 20 - sta $2006 ; CPU:$C0B2 PRG:00B2 8D 06 20 - sta $2006 ; CPU:$C0B5 PRG:00B5 8D 06 20 - lda $2002 ; CPU:$C0B8 PRG:00B8 AD 02 20 + sta PPUADDR ; CPU:$C0AF PRG:00AF 8D 06 20 + sta PPUADDR ; CPU:$C0B2 PRG:00B2 8D 06 20 + sta PPUADDR ; CPU:$C0B5 PRG:00B5 8D 06 20 + lda PPUSTATUS ; CPU:$C0B8 PRG:00B8 AD 02 20 jsr $CB81 ; CPU:$C0BB PRG:00BB 20 81 CB lda VBlankTimer ; CPU:$C0BE PRG:00BE A5 10 - sta $2000 ; CPU:$C0C0 PRG:00C0 8D 00 20 + sta PPUCTRL ; CPU:$C0C0 PRG:00C0 8D 00 20 jsr $CAED ; CPU:$C0C3 PRG:00C3 20 ED CA jsr $F91E ; CPU:$C0C6 PRG:00C6 20 1E F9 lda Zp53 ; CPU:$C0C9 PRG:00C9 A5 53 @@ -244,7 +244,7 @@ GameStateUpdate: bne UpdateGameState4 ; CPU:$C0E0 PRG:00E0 D0 1E lda Zp11 ; CPU:$C0E2 PRG:00E2 A5 11 and #$EF ; CPU:$C0E4 PRG:00E4 29 EF - sta $2001 ; CPU:$C0E6 PRG:00E6 8D 01 20 + sta PPUMASK ; CPU:$C0E6 PRG:00E6 8D 01 20 sta Zp11 ; CPU:$C0E9 PRG:00E9 85 11 lda Zp15 ; CPU:$C0EB PRG:00EB A5 15 and #$10 ; CPU:$C0ED PRG:00ED 29 10 @@ -312,7 +312,7 @@ UpdateGameState5: UpdateGameState6: lda Zp11 ; CPU:$C10A PRG:010A A5 11 ora #$10 ; CPU:$C10C PRG:010C 09 10 - sta $2001 ; CPU:$C10E PRG:010E 8D 01 20 + sta PPUMASK ; CPU:$C10E PRG:010E 8D 01 20 sta Zp11 ; CPU:$C111 PRG:0111 85 11 lda #$00 ; CPU:$C113 PRG:0113 A9 00 sta $034C ; CPU:$C115 PRG:0115 8D 4C 03 @@ -387,7 +387,7 @@ UpdateGameState2_4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateGameState2_5: - lda $2002 ; CPU:$C141 PRG:0141 AD 02 20 + lda PPUSTATUS ; CPU:$C141 PRG:0141 AD 02 20 lda VBlankTimer ; CPU:$C144 PRG:0144 A5 10 ora #$80 ; CPU:$C146 PRG:0146 09 80 ; ----------------------------------------------------------------------------- @@ -401,7 +401,7 @@ UpdateGameState2_5: ; ----------------------------------------------------------------------------- WaitVBlankFrame2: sta VBlankTimer ; CPU:$C148 PRG:0148 85 10 - sta $2000 ; CPU:$C14A PRG:014A 8D 00 20 + sta PPUCTRL ; CPU:$C14A PRG:014A 8D 00 20 rts ; CPU:$C14D PRG:014D 60 ; ----------------------------------------------------------------------------- ; Routine: InitSprites_1 @@ -703,7 +703,7 @@ Label_C23B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C23F: - sta a:$005F,y ; CPU:$C23F PRG:023F 99 5F 00 + sta a:SprData2,y ; CPU:$C23F PRG:023F 99 5F 00 dey ; CPU:$C242 PRG:0242 88 bne Label_C23F ; CPU:$C243 PRG:0243 D0 FA lda #$04 ; CPU:$C245 PRG:0245 A9 04 @@ -1450,7 +1450,7 @@ Label_C626: lda $03FE ; CPU:$C626 PRG:0626 AD FE 03 sta Zp59 ; CPU:$C629 PRG:0629 85 59 lda #$0F ; CPU:$C62B PRG:062B A9 0F - sta $4015 ; CPU:$C62D PRG:062D 8D 15 40 + sta APUSTATUS ; CPU:$C62D PRG:062D 8D 15 40 lda #$00 ; CPU:$C630 PRG:0630 A9 00 sta Zp53 ; CPU:$C632 PRG:0632 85 53 inc $03FD ; CPU:$C634 PRG:0634 EE FD 03 @@ -1548,10 +1548,10 @@ Label_C67F: UpdateSprites3_4: jsr $C891 ; CPU:$C6FB PRG:06FB 20 91 C8 lda $C6F9,x ; CPU:$C6FE PRG:06FE BD F9 C6 - sta $2006 ; CPU:$C701 PRG:0701 8D 06 20 + sta PPUADDR ; CPU:$C701 PRG:0701 8D 06 20 lda $C6F7,x ; CPU:$C704 PRG:0704 BD F7 C6 - sta $2006 ; CPU:$C707 PRG:0707 8D 06 20 - lda $2007 ; CPU:$C70A PRG:070A AD 07 20 + sta PPUADDR ; CPU:$C707 PRG:0707 8D 06 20 + lda PPUDATA ; CPU:$C70A PRG:070A AD 07 20 lda #$00 ; CPU:$C70D PRG:070D A9 00 sta PtrLo ; CPU:$C70F PRG:070F 85 00 tay ; CPU:$C711 PRG:0711 A8 @@ -1568,7 +1568,7 @@ UpdateSprites3_4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C718: - lda $2007 ; CPU:$C718 PRG:0718 AD 07 20 + lda PPUDATA ; CPU:$C718 PRG:0718 AD 07 20 sta (PtrLo),y ; CPU:$C71B PRG:071B 91 00 iny ; CPU:$C71D PRG:071D C8 bne Label_C718 ; CPU:$C71E PRG:071E D0 F8 @@ -1609,7 +1609,7 @@ UpdateSprites2_7: iny ; CPU:$C735 PRG:0735 C8 lda (PtrLo),y ; CPU:$C736 PRG:0736 B1 00 sta Zp03 ; CPU:$C738 PRG:0738 85 03 - jmp ($0002) ; CPU:$C73A PRG:073A 6C 02 00 + jmp (Ptr2Lo) ; CPU:$C73A PRG:073A 6C 02 00 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2032,7 +2032,7 @@ InitSprites2_1: ; ----------------------------------------------------------------------------- ClearSpriteRAM: lda #$00 ; CPU:$C891 PRG:0891 A9 00 - sta $2001 ; CPU:$C893 PRG:0893 8D 01 20 + sta PPUMASK ; CPU:$C893 PRG:0893 8D 01 20 rts ; CPU:$C896 PRG:0896 60 ; ---- data $C897-$C899 (3 bytes) ---- .byte $20, $5D, $C1 ; CPU:$C897 PRG:0897 20 5D C1 @@ -2061,14 +2061,14 @@ UpdateSprites2_10: ; ----------------------------------------------------------------------------- UpdateSprites2_11: sta PtrLo ; CPU:$C8A4 PRG:08A4 85 00 - lda $2002 ; CPU:$C8A6 PRG:08A6 AD 02 20 + lda PPUSTATUS ; CPU:$C8A6 PRG:08A6 AD 02 20 lda VBlankTimer ; CPU:$C8A9 PRG:08A9 A5 10 and #$FB ; CPU:$C8AB PRG:08AB 29 FB - sta $2000 ; CPU:$C8AD PRG:08AD 8D 00 20 + sta PPUCTRL ; CPU:$C8AD PRG:08AD 8D 00 20 lda PtrLo ; CPU:$C8B0 PRG:08B0 A5 00 - sta $2006 ; CPU:$C8B2 PRG:08B2 8D 06 20 + sta PPUADDR ; CPU:$C8B2 PRG:08B2 8D 06 20 lda #$00 ; CPU:$C8B5 PRG:08B5 A9 00 - sta $2006 ; CPU:$C8B7 PRG:08B7 8D 06 20 + sta PPUADDR ; CPU:$C8B7 PRG:08B7 8D 06 20 tay ; CPU:$C8BA PRG:08BA A8 ldx #$04 ; CPU:$C8BB PRG:08BB A2 04 lda #$38 ; CPU:$C8BD PRG:08BD A9 38 @@ -2082,7 +2082,7 @@ UpdateSprites2_11: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C8BF: - sta $2007 ; CPU:$C8BF PRG:08BF 8D 07 20 + sta PPUDATA ; CPU:$C8BF PRG:08BF 8D 07 20 dey ; CPU:$C8C2 PRG:08C2 88 bne Label_C8BF ; CPU:$C8C3 PRG:08C3 D0 FA dex ; CPU:$C8C5 PRG:08C5 CA @@ -2090,9 +2090,9 @@ Label_C8BF: lda PtrLo ; CPU:$C8C8 PRG:08C8 A5 00 clc ; CPU:$C8CA PRG:08CA 18 adc #$03 ; CPU:$C8CB PRG:08CB 69 03 - sta $2006 ; CPU:$C8CD PRG:08CD 8D 06 20 + sta PPUADDR ; CPU:$C8CD PRG:08CD 8D 06 20 lda #$C0 ; CPU:$C8D0 PRG:08D0 A9 C0 - sta $2006 ; CPU:$C8D2 PRG:08D2 8D 06 20 + sta PPUADDR ; CPU:$C8D2 PRG:08D2 8D 06 20 ldy #$40 ; CPU:$C8D5 PRG:08D5 A0 40 lda #$00 ; CPU:$C8D7 PRG:08D7 A9 00 ; ----------------------------------------------------------------------------- @@ -2105,7 +2105,7 @@ Label_C8BF: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_C8D9: - sta $2007 ; CPU:$C8D9 PRG:08D9 8D 07 20 + sta PPUDATA ; CPU:$C8D9 PRG:08D9 8D 07 20 dey ; CPU:$C8DC PRG:08DC 88 bne Label_C8D9 ; CPU:$C8DD PRG:08DD D0 FA rts ; CPU:$C8DF PRG:08DF 60 @@ -2819,10 +2819,10 @@ Label_CAE6: InitSprites3: jsr $CB35 ; CPU:$CAED PRG:0AED 20 35 CB lda #$01 ; CPU:$CAF0 PRG:0AF0 A9 01 - sta $4016 ; CPU:$CAF2 PRG:0AF2 8D 16 40 + sta JOY1 ; CPU:$CAF2 PRG:0AF2 8D 16 40 ldx #$00 ; CPU:$CAF5 PRG:0AF5 A2 00 lda #$00 ; CPU:$CAF7 PRG:0AF7 A9 00 - sta $4016 ; CPU:$CAF9 PRG:0AF9 8D 16 40 + sta JOY1 ; CPU:$CAF9 PRG:0AF9 8D 16 40 jsr $CB00 ; CPU:$CAFC PRG:0AFC 20 00 CB inx ; CPU:$CAFF PRG:0AFF E8 ; ----------------------------------------------------------------------------- @@ -2847,7 +2847,7 @@ UpdateController: ; ----------------------------------------------------------------------------- Label_CB02: pha ; CPU:$CB02 PRG:0B02 48 - lda $4016,x ; CPU:$CB03 PRG:0B03 BD 16 40 + lda JOY1,x ; CPU:$CB03 PRG:0B03 BD 16 40 sta PtrLo ; CPU:$CB06 PRG:0B06 85 00 lsr a ; CPU:$CB08 PRG:0B08 4A ora PtrLo ; CPU:$CB09 PRG:0B09 05 00 @@ -2920,10 +2920,10 @@ UpdateController2_4: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_CB3E: - sta $2006 ; CPU:$CB3E PRG:0B3E 8D 06 20 + sta PPUADDR ; CPU:$CB3E PRG:0B3E 8D 06 20 iny ; CPU:$CB41 PRG:0B41 C8 lda (PtrLo),y ; CPU:$CB42 PRG:0B42 B1 00 - sta $2006 ; CPU:$CB44 PRG:0B44 8D 06 20 + sta PPUADDR ; CPU:$CB44 PRG:0B44 8D 06 20 iny ; CPU:$CB47 PRG:0B47 C8 lda (PtrLo),y ; CPU:$CB48 PRG:0B48 B1 00 asl a ; CPU:$CB4A PRG:0B4A 0A @@ -2984,7 +2984,7 @@ Label_CB61: ; ----------------------------------------------------------------------------- Label_CB64: lda (PtrLo),y ; CPU:$CB64 PRG:0B64 B1 00 - sta $2007 ; CPU:$CB66 PRG:0B66 8D 07 20 + sta PPUDATA ; CPU:$CB66 PRG:0B66 8D 07 20 dex ; CPU:$CB69 PRG:0B69 CA bne Label_CB61 ; CPU:$CB6A PRG:0B6A D0 F5 sec ; CPU:$CB6C PRG:0B6C 38 @@ -3004,7 +3004,7 @@ Label_CB64: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites_4: - ldx $2002 ; CPU:$CB78 PRG:0B78 AE 02 20 + ldx PPUSTATUS ; CPU:$CB78 PRG:0B78 AE 02 20 ldy #$00 ; CPU:$CB7B PRG:0B7B A0 00 lda (PtrLo),y ; CPU:$CB7D PRG:0B7D B1 00 bne Label_CB3E ; CPU:$CB7F PRG:0B7F D0 BD @@ -3019,9 +3019,9 @@ UpdateSprites_4: ; ----------------------------------------------------------------------------- UpdateSprites2_12: lda Zp12 ; CPU:$CB81 PRG:0B81 A5 12 - sta $2005 ; CPU:$CB83 PRG:0B83 8D 05 20 + sta PPUSCROLL ; CPU:$CB83 PRG:0B83 8D 05 20 lda Zp13 ; CPU:$CB86 PRG:0B86 A5 13 - sta $2005 ; CPU:$CB88 PRG:0B88 8D 05 20 + sta PPUSCROLL ; CPU:$CB88 PRG:0B88 8D 05 20 rts ; CPU:$CB8B PRG:0B8B 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites4_7 @@ -3281,7 +3281,7 @@ Label_CCF6: txa ; CPU:$CCF8 PRG:0CF8 8A asl a ; CPU:$CCF9 PRG:0CF9 0A tay ; CPU:$CCFA PRG:0CFA A8 - lda a:$0015,y ; CPU:$CCFB PRG:0CFB B9 15 00 + lda a:Zp15,y ; CPU:$CCFB PRG:0CFB B9 15 00 sta Zp70,x ; CPU:$CCFE PRG:0CFE 95 70 jsr $D552 ; CPU:$CD00 PRG:0D00 20 52 D5 lda $0352,x ; CPU:$CD03 PRG:0D03 BD 52 03 @@ -3464,7 +3464,7 @@ Label_CDB0: txa ; CPU:$CDB6 PRG:0DB6 8A asl a ; CPU:$CDB7 PRG:0DB7 0A tay ; CPU:$CDB8 PRG:0DB8 A8 - lda a:$0014,y ; CPU:$CDB9 PRG:0DB9 B9 14 00 + lda a:Zp14,y ; CPU:$CDB9 PRG:0DB9 B9 14 00 and #$40 ; CPU:$CDBC PRG:0DBC 29 40 beq Label_CDC4 ; CPU:$CDBE PRG:0DBE F0 04 lda #$05 ; CPU:$CDC0 PRG:0DC0 A9 05 @@ -4622,11 +4622,11 @@ Label_D111: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSound4_11: - lda a:$0090,y ; CPU:$D117 PRG:1117 B9 90 00 + lda a:Zp90,y ; CPU:$D117 PRG:1117 B9 90 00 cmp #$20 ; CPU:$D11A PRG:111A C9 20 bne Label_D123 ; CPU:$D11C PRG:111C D0 05 lda #$FF ; CPU:$D11E PRG:111E A9 FF - sta a:$0090,y ; CPU:$D120 PRG:1120 99 90 00 + sta a:Zp90,y ; CPU:$D120 PRG:1120 99 90 00 ; ----------------------------------------------------------------------------- ; Routine: Label_D123 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -5436,17 +5436,17 @@ Label_D33C: beq Label_D372 ; CPU:$D346 PRG:1346 F0 2A jsr $D446 ; CPU:$D348 PRG:1348 20 46 D4 lda #$20 ; CPU:$D34B PRG:134B A9 20 - sta a:$0091,y ; CPU:$D34D PRG:134D 99 91 00 + sta a:Zp91,y ; CPU:$D34D PRG:134D 99 91 00 cpy #$02 ; CPU:$D350 PRG:1350 C0 02 bcc Label_D371 ; CPU:$D352 PRG:1352 90 1D cpy #$08 ; CPU:$D354 PRG:1354 C0 08 bcs Label_D371 ; CPU:$D356 PRG:1356 B0 19 cpy #$05 ; CPU:$D358 PRG:1358 C0 05 bcs Label_D367 ; CPU:$D35A PRG:135A B0 0B - lda a:$0094,y ; CPU:$D35C PRG:135C B9 94 00 + lda a:Zp94,y ; CPU:$D35C PRG:135C B9 94 00 bpl Label_D371 ; CPU:$D35F PRG:135F 10 10 lda #$20 ; CPU:$D361 PRG:1361 A9 20 - sta a:$0094,y ; CPU:$D363 PRG:1363 99 94 00 + sta a:Zp94,y ; CPU:$D363 PRG:1363 99 94 00 rts ; CPU:$D366 PRG:1366 60 ; ----------------------------------------------------------------------------- ; Routine: Label_D367 @@ -5559,7 +5559,7 @@ Label_D393: cpy #$09 ; CPU:$D397 PRG:1397 C0 09 bcs Label_D3AB ; CPU:$D399 PRG:1399 B0 10 lda #$01 ; CPU:$D39B PRG:139B A9 01 - sta a:$0091,y ; CPU:$D39D PRG:139D 99 91 00 + sta a:Zp91,y ; CPU:$D39D PRG:139D 99 91 00 lda $D391,x ; CPU:$D3A0 PRG:13A0 BD 91 D3 tax ; CPU:$D3A3 PRG:13A3 AA inc $0361,x ; CPU:$D3A4 PRG:13A4 FE 61 03 @@ -5720,7 +5720,7 @@ Label_D3F6: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_D400: - sta a:$0091,y ; CPU:$D400 PRG:1400 99 91 00 + sta a:Zp91,y ; CPU:$D400 PRG:1400 99 91 00 lda #$00 ; CPU:$D403 PRG:1403 A9 00 sta $03B1,y ; CPU:$D405 PRG:1405 99 B1 03 lda #$FF ; CPU:$D408 PRG:1408 A9 FF @@ -7922,7 +7922,7 @@ Label_DB1D: bne Label_DB2C ; CPU:$DB1F PRG:1B1F D0 0B cpy #$08 ; CPU:$DB21 PRG:1B21 C0 08 bcc Label_DB2C ; CPU:$DB23 PRG:1B23 90 07 - lda a:$0091,y ; CPU:$DB25 PRG:1B25 B9 91 00 + lda a:Zp91,y ; CPU:$DB25 PRG:1B25 B9 91 00 cmp #$02 ; CPU:$DB28 PRG:1B28 C9 02 beq Label_DB31 ; CPU:$DB2A PRG:1B2A F0 05 ; ----------------------------------------------------------------------------- @@ -7935,7 +7935,7 @@ Label_DB1D: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DB2C: - lda a:$0091,y ; CPU:$DB2C PRG:1B2C B9 91 00 + lda a:Zp91,y ; CPU:$DB2C PRG:1B2C B9 91 00 bpl Label_DBA4 ; CPU:$DB2F PRG:1B2F 10 73 ; ----------------------------------------------------------------------------- ; Routine: Label_DB31 @@ -7956,7 +7956,7 @@ Label_DB31: ldx ZpB2,y ; CPU:$DB3D PRG:1B3D B6 B2 lda Zp08 ; CPU:$DB3F PRG:1B3F A5 08 bne Label_DB54 ; CPU:$DB41 PRG:1B41 D0 11 - lda a:$009C,y ; CPU:$DB43 PRG:1B43 B9 9C 00 + lda a:Zp9C,y ; CPU:$DB43 PRG:1B43 B9 9C 00 bmi Label_DB4B ; CPU:$DB46 PRG:1B46 30 03 lda #$10 ; CPU:$DB48 PRG:1B48 A9 10 ; ---- data $DB4A-$DB4A (1 bytes) ---- @@ -7973,7 +7973,7 @@ Label_DB31: Label_DB4B: lda #$F8 ; CPU:$DB4B PRG:1B4B A9 F8 clc ; CPU:$DB4D PRG:1B4D 18 - adc a:$009C,y ; CPU:$DB4E PRG:1B4E 79 9C 00 + adc a:Zp9C,y ; CPU:$DB4E PRG:1B4E 79 9C 00 jmp $DB57 ; CPU:$DB51 PRG:1B51 4C 57 DB ; ----------------------------------------------------------------------------- ; Routine: Label_DB54 @@ -7985,7 +7985,7 @@ Label_DB4B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DB54: - lda a:$009C,y ; CPU:$DB54 PRG:1B54 B9 9C 00 + lda a:Zp9C,y ; CPU:$DB54 PRG:1B54 B9 9C 00 ; ----------------------------------------------------------------------------- ; Routine: Label_DB57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8012,7 +8012,7 @@ Label_DB57: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DB65: - lda a:$009C,y ; CPU:$DB65 PRG:1B65 B9 9C 00 + lda a:Zp9C,y ; CPU:$DB65 PRG:1B65 B9 9C 00 clc ; CPU:$DB68 PRG:1B68 18 adc $D7BD,y ; CPU:$DB69 PRG:1B69 79 BD D7 sec ; CPU:$DB6C PRG:1B6C 38 @@ -8049,7 +8049,7 @@ Label_DB81: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_DB86: - lda a:$00A7,y ; CPU:$DB86 PRG:1B86 B9 A7 00 + lda a:ZpA7,y ; CPU:$DB86 PRG:1B86 B9 A7 00 clc ; CPU:$DB89 PRG:1B89 18 adc $D7B7,y ; CPU:$DB8A PRG:1B8A 79 B7 D7 sec ; CPU:$DB8D PRG:1B8D 38 @@ -10297,7 +10297,7 @@ Label_E2BE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E2C5: - lda a:$006A,y ; CPU:$E2C5 PRG:22C5 B9 6A 00 + lda a:Zp6A,y ; CPU:$E2C5 PRG:22C5 B9 6A 00 cmp #$01 ; CPU:$E2C8 PRG:22C8 C9 01 beq Label_E2D0 ; CPU:$E2CA PRG:22CA F0 04 cmp #$03 ; CPU:$E2CC PRG:22CC C9 03 @@ -10318,7 +10318,7 @@ Label_E2D0: bmi Label_E2F4 ; CPU:$E2D6 PRG:22D6 30 1C cpx #$09 ; CPU:$E2D8 PRG:22D8 E0 09 beq Label_E2F4 ; CPU:$E2DA PRG:22DA F0 18 - lda a:$002D,y ; CPU:$E2DC PRG:22DC B9 2D 00 + lda a:Zp2D,y ; CPU:$E2DC PRG:22DC B9 2D 00 bne Label_E2E6 ; CPU:$E2DF PRG:22DF D0 05 lda $0343,y ; CPU:$E2E1 PRG:22E1 B9 43 03 bne Label_E2EC ; CPU:$E2E4 PRG:22E4 D0 06 @@ -10382,8 +10382,8 @@ Label_E2F8: ; ----------------------------------------------------------------------------- Label_E2FB: clc ; CPU:$E2FB PRG:22FB 18 - adc a:$0064,y ; CPU:$E2FC PRG:22FC 79 64 00 - sta a:$0064,y ; CPU:$E2FF PRG:22FF 99 64 00 + adc a:Zp64,y ; CPU:$E2FC PRG:22FC 79 64 00 + sta a:Zp64,y ; CPU:$E2FF PRG:22FF 99 64 00 rts ; CPU:$E302 PRG:2302 60 ; ----------------------------------------------------------------------------- ; Routine: Label_E303 @@ -10514,7 +10514,7 @@ Label_E362: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E367: - lda a:$006A,y ; CPU:$E367 PRG:2367 B9 6A 00 + lda a:Zp6A,y ; CPU:$E367 PRG:2367 B9 6A 00 cmp #$01 ; CPU:$E36A PRG:236A C9 01 beq Label_E372 ; CPU:$E36C PRG:236C F0 04 cmp #$03 ; CPU:$E36E PRG:236E C9 03 @@ -11137,7 +11137,7 @@ Label_E6AD: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E6BE: - lda a:$0000,y ; CPU:$E6BE PRG:26BE B9 00 00 + lda a:PtrLo,y ; CPU:$E6BE PRG:26BE B9 00 00 sta $0786,x ; CPU:$E6C1 PRG:26C1 9D 86 07 inx ; CPU:$E6C4 PRG:26C4 E8 inx ; CPU:$E6C5 PRG:26C5 E8 @@ -11332,7 +11332,7 @@ Label_E74B: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_E75E: - sta a:$0004,y ; CPU:$E75E PRG:275E 99 04 00 + sta a:Zp04,y ; CPU:$E75E PRG:275E 99 04 00 lda Zp0C ; CPU:$E761 PRG:2761 A5 0C tax ; CPU:$E763 PRG:2763 AA and #$E0 ; CPU:$E764 PRG:2764 29 E0 @@ -12230,7 +12230,7 @@ Label_EC2A: txa ; CPU:$EC32 PRG:2C32 8A asl a ; CPU:$EC33 PRG:2C33 0A tay ; CPU:$EC34 PRG:2C34 A8 - lda a:$0014,y ; CPU:$EC35 PRG:2C35 B9 14 00 + lda a:Zp14,y ; CPU:$EC35 PRG:2C35 B9 14 00 ora Zp70,x ; CPU:$EC38 PRG:2C38 15 70 and #$CF ; CPU:$EC3A PRG:2C3A 29 CF beq Label_EC42 ; CPU:$EC3C PRG:2C3C F0 04 @@ -15163,7 +15163,7 @@ Label_F919: ; ----------------------------------------------------------------------------- Label_F91E: lda #$FF ; CPU:$F91E PRG:391E A9 FF - sta $4017 ; CPU:$F920 PRG:3920 8D 17 40 + sta JOY2 ; CPU:$F920 PRG:3920 8D 17 40 jsr $F9EB ; CPU:$F923 PRG:3923 20 EB F9 jsr $FAC4 ; CPU:$F926 PRG:3926 20 C4 FA jsr $FBA1 ; CPU:$F929 PRG:3929 20 A1 FB @@ -15203,7 +15203,7 @@ Label_F949: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_F94F: - sty $4011 ; CPU:$F94F PRG:394F 8C 11 40 + sty APUDMCDIRECT ; CPU:$F94F PRG:394F 8C 11 40 rts ; CPU:$F952 PRG:3952 60 ; ----------------------------------------------------------------------------- ; Routine: Label_F953 @@ -15215,8 +15215,8 @@ Label_F94F: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_F953: - stx $4000 ; CPU:$F953 PRG:3953 8E 00 40 - sty $4001 ; CPU:$F956 PRG:3956 8C 01 40 + stx APUPULSE1CTRL ; CPU:$F953 PRG:3953 8E 00 40 + sty APUPULSE1SWEEP ; CPU:$F956 PRG:3956 8C 01 40 rts ; CPU:$F959 PRG:3959 60 ; ----------------------------------------------------------------------------- ; Routine: Label_F95A @@ -15228,8 +15228,8 @@ Label_F953: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_F95A: - stx $4004 ; CPU:$F95A PRG:395A 8E 04 40 - sty $4005 ; CPU:$F95D PRG:395D 8C 05 40 + stx APUPULSE2CTRL ; CPU:$F95A PRG:395A 8E 04 40 + sty APUPULSE2SWEEP ; CPU:$F95D PRG:395D 8C 05 40 rts ; CPU:$F960 PRG:3960 60 ; ----------------------------------------------------------------------------- ; Routine: Label_F961 @@ -15266,10 +15266,10 @@ Label_F966: tay ; CPU:$F966 PRG:3966 A8 lda $FF01,y ; CPU:$F967 PRG:3967 B9 01 FF beq Label_F977 ; CPU:$F96A PRG:396A F0 0B - sta $4002,x ; CPU:$F96C PRG:396C 9D 02 40 + sta APUPULSE1TIMERLO,x ; CPU:$F96C PRG:396C 9D 02 40 lda $FF00,y ; CPU:$F96F PRG:396F B9 00 FF ora #$08 ; CPU:$F972 PRG:3972 09 08 - sta $4003,x ; CPU:$F974 PRG:3974 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F974 PRG:3974 9D 03 40 ; ----------------------------------------------------------------------------- ; Routine: Label_F977 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -15371,9 +15371,9 @@ Label_F9B1: lsr a ; CPU:$F9B4 PRG:39B4 4A tay ; CPU:$F9B5 PRG:39B5 A8 lda $F99F,y ; CPU:$F9B6 PRG:39B6 B9 9F F9 - sta $4002 ; CPU:$F9B9 PRG:39B9 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$F9B9 PRG:39B9 8D 02 40 lda #$08 ; CPU:$F9BC PRG:39BC A9 08 - sta $4003 ; CPU:$F9BE PRG:39BE 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$F9BE PRG:39BE 8D 03 40 ldx $F993,y ; CPU:$F9C1 PRG:39C1 BE 93 F9 ldy #$81 ; CPU:$F9C4 PRG:39C4 A0 81 bne Label_FA2F ; CPU:$F9C6 PRG:39C6 D0 67 @@ -15421,7 +15421,7 @@ Label_F9D6: lda #$20 ; CPU:$F9DF PRG:39DF A9 20 jsr $F97F ; CPU:$F9E1 PRG:39E1 20 7F F9 lda #$1C ; CPU:$F9E4 PRG:39E4 A9 1C - sta $4008 ; CPU:$F9E6 PRG:39E6 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$F9E6 PRG:39E6 8D 08 40 bne Label_FA32 ; CPU:$F9E9 PRG:39E9 D0 47 ; ----------------------------------------------------------------------------- ; Routine: Label_F9EB @@ -15545,7 +15545,7 @@ Label_FA36: ; ----------------------------------------------------------------------------- Label_FA3A: lda #$90 ; CPU:$FA3A PRG:3A3A A9 90 - sta $4000 ; CPU:$FA3C PRG:3A3C 8D 00 40 + sta APUPULSE1CTRL ; CPU:$FA3C PRG:3A3C 8D 00 40 ; ----------------------------------------------------------------------------- ; Routine: Label_FA3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -15596,9 +15596,9 @@ Label_FA4A: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_FA52: - sta $4002 ; CPU:$FA52 PRG:3A52 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FA52 PRG:3A52 8D 02 40 lda #$3B ; CPU:$FA55 PRG:3A55 A9 3B - sta $4003 ; CPU:$FA57 PRG:3A57 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FA57 PRG:3A57 8D 03 40 ldx #$BD ; CPU:$FA5A PRG:3A5A A2 BD ldy #$8A ; CPU:$FA5C PRG:3A5C A0 8A bne Label_FA2F ; CPU:$FA5E PRG:3A5E D0 CF @@ -15688,7 +15688,7 @@ Label_FA83: ; ----------------------------------------------------------------------------- Label_FA94: lda $0709 ; CPU:$FA94 PRG:3A94 AD 09 07 - sta $4004 ; CPU:$FA97 PRG:3A97 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FA97 PRG:3A97 8D 04 40 cmp #$95 ; CPU:$FA9A PRG:3A9A C9 95 beq Label_FAA1 ; CPU:$FA9C PRG:3A9C F0 03 inc $0709 ; CPU:$FA9E PRG:3A9E EE 09 07 @@ -15730,7 +15730,7 @@ Label_FAAC: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_FAB2: - sta $4005 ; CPU:$FAB2 PRG:3AB2 8D 05 40 + sta APUPULSE2SWEEP ; CPU:$FAB2 PRG:3AB2 8D 05 40 ; ----------------------------------------------------------------------------- ; Routine: Label_FAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -15746,7 +15746,7 @@ Label_FAB5: lda #$00 ; CPU:$FABA PRG:3ABA A9 00 sta ZpF1 ; CPU:$FABC PRG:3ABC 85 F1 lda #$90 ; CPU:$FABE PRG:3ABE A9 90 - sta $4004 ; CPU:$FAC0 PRG:3AC0 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FAC0 PRG:3AC0 8D 04 40 ; ----------------------------------------------------------------------------- ; Routine: Label_FAC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -15838,7 +15838,7 @@ Label_FB09: cmp #$04 ; CPU:$FB0C PRG:3B0C C9 04 bne Label_FAB5 ; CPU:$FB0E PRG:3B0E D0 A5 lda #$A9 ; CPU:$FB10 PRG:3B10 A9 A9 - sta $4006 ; CPU:$FB12 PRG:3B12 8D 06 40 + sta APUPULSE2TIMERLO ; CPU:$FB12 PRG:3B12 8D 06 40 bne Label_FAB5 ; CPU:$FB15 PRG:3B15 D0 9E ; ----------------------------------------------------------------------------- ; Routine: Label_FB17 @@ -15858,12 +15858,12 @@ Label_FB17: lda #$3E ; CPU:$FB22 PRG:3B22 A9 3E jsr $F978 ; CPU:$FB24 PRG:3B24 20 78 F9 lda #$08 ; CPU:$FB27 PRG:3B27 A9 08 - sta $4007 ; CPU:$FB29 PRG:3B29 8D 07 40 + sta APUPULSE2TIMERHI ; CPU:$FB29 PRG:3B29 8D 07 40 lda $0712 ; CPU:$FB2C PRG:3B2C AD 12 07 cmp #$10 ; CPU:$FB2F PRG:3B2F C9 10 bne Label_FB38 ; CPU:$FB31 PRG:3B31 D0 05 lda #$32 ; CPU:$FB33 PRG:3B33 A9 32 - sta $4006 ; CPU:$FB35 PRG:3B35 8D 06 40 + sta APUPULSE2TIMERLO ; CPU:$FB35 PRG:3B35 8D 06 40 ; ----------------------------------------------------------------------------- ; Routine: Label_FB38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -15931,10 +15931,10 @@ Label_FB78: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Label_FB8C: - sta $400C ; CPU:$FB8C PRG:3B8C 8D 0C 40 - stx $400E ; CPU:$FB8F PRG:3B8F 8E 0E 40 + sta APUNOISECTRL ; CPU:$FB8C PRG:3B8C 8D 0C 40 + stx APUNOISEPERIOD ; CPU:$FB8F PRG:3B8F 8E 0E 40 lda #$08 ; CPU:$FB92 PRG:3B92 A9 08 - sta $400F ; CPU:$FB94 PRG:3B94 8D 0F 40 + sta APUNOISELENGTH ; CPU:$FB94 PRG:3B94 8D 0F 40 dec $070E ; CPU:$FB97 PRG:3B97 CE 0E 07 bne Label_FBA0 ; CPU:$FB9A PRG:3B9A D0 04 lda #$00 ; CPU:$FB9C PRG:3B9C A9 00 @@ -16174,7 +16174,7 @@ Label_FC79: lda #$00 ; CPU:$FC79 PRG:3C79 A9 00 sta FrameCounter ; CPU:$FC7B PRG:3C7B 85 F3 jsr $FA3A ; CPU:$FC7D PRG:3C7D 20 3A FA - sta $4004 ; CPU:$FC80 PRG:3C80 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FC80 PRG:3C80 8D 04 40 rts ; CPU:$FC83 PRG:3C83 60 ; ----------------------------------------------------------------------------- ; Routine: Label_FC84 @@ -16253,7 +16253,7 @@ Label_FCAC: ; ----------------------------------------------------------------------------- Label_FCBE: lda $FFD9,y ; CPU:$FCBE PRG:3CBE B9 D9 FF - sta $4004 ; CPU:$FCC1 PRG:3CC1 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FCC1 PRG:3CC1 8D 04 40 ; ----------------------------------------------------------------------------- ; Routine: Label_FCC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -16363,7 +16363,7 @@ Label_FCFA: Label_FD16: asl a ; CPU:$FD16 PRG:3D16 0A asl a ; CPU:$FD17 PRG:3D17 0A - sta $4008 ; CPU:$FD18 PRG:3D18 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$FD18 PRG:3D18 8D 08 40 txa ; CPU:$FD1B PRG:3D1B 8A and #$3E ; CPU:$FD1C PRG:3D1C 29 3E jsr $F97F ; CPU:$FD1E PRG:3D1E 20 7F F9 diff --git a/_wip/Ice Climber (JE)/copilot/reconstructed.lbl b/Ice Climber (JE)/copilot/reconstructed.lbl similarity index 100% rename from _wip/Ice Climber (JE)/copilot/reconstructed.lbl rename to Ice Climber (JE)/copilot/reconstructed.lbl diff --git a/_wip/Ice Climber (JE)/copilot/reconstructed.map b/Ice Climber (JE)/copilot/reconstructed.map similarity index 61% rename from _wip/Ice Climber (JE)/copilot/reconstructed.map rename to Ice Climber (JE)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Ice Climber (JE)/copilot/reconstructed.map +++ b/Ice Climber (JE)/copilot/reconstructed.map @@ -1,13 +1,19 @@ Modules list: ------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 prg.o: PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 Segment list: ------------- Name Start End Size Align ---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 PRG 00C000 00FFFF 004000 00001 diff --git a/Ice Climber (JE)/copilot/reconstructed.nes b/Ice Climber (JE)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..9461040ea04e6fe3c4a48307bb294a8da1a915f1 GIT binary patch literal 24592 zcmb7sdtehq9{=oavYV!%3GV=<-97}0s1ZDkSZIA=?NtvSD54%KLMa@F_3l*kDh<%( zdPp^R=B`z%v35(hf<~ox=Cm3`N>dP4c@&gKgGDZ}aG>LCERT-G!(C_hQmt0h{%kJZj=W%)NubVYt(|w$NO1mDtJ7T?~b&_8+ z8km$R+IM2*hStf-0~#;h@+}&Px!+=l1+@ir1=&DEam0CKiiuQ38c0Yc4c3s%hzm9V zU&56!oTS{T%@bEN)jX>8RXy@W@sFV@B3^7%nLOt=&6-IyYaPv+T|F-oF|S!YDMp&| zhJK?G`4RcivI|_QXUd~mKd~^RI5IBD4)tBRziL8nVMZSjX0>Yoyr}90-+~C^(^m4A{SY<*M;bJ|d`@{st=0r8G?V#~MU2YbaqyT#$VTOZB)eMBXGZ^d*h{{`Ac zb;~o=&*WKEj7ogdd~@qX*I<nhO#W)cbyvYQFgXO_6`ArpmX9w$7R<5k`wwSxgrjL3vs0qdfz|EcT%@$j})Sj2RTf^s|`6 z)6JSinW~#qi`FJCJ&Q4xs1ErS*{v4HH|2fs4O)&9hc^M($lS7v<|?7GQ=mv>mt7Fb zx`mpl^>f35#@A2N+3jMpOQ+{Wzf&F!^Lnb-@--4>&8a-3SyfV%P^nYoF&=WrLjf4ci{gm&`Cqquee9dn z-vqv?UW*|;idWLN7dO1KarVY}8{5`CL)^+^8Oicv;>5Gc{n}vg0ePzOSXno>`VyDH z$&X%LHW^{_G7eVV{^;C^jyW|u}nR+iH zPgRSnr|PWwS{Y%h*oG&+tz_6{$2rMASS1x9lNzlEnM)m~{Y=GLQ^f{T#THYk<4hG% zNu|qFd5?(h-P# z^X4p_L^p2SczPV^>WX%eEb-by>Q}N2!|#LHOQ;g+O;+b~rrKb?butO|Uneuc0qbP8 z+J+G%i(A%}*eLynRFWVI0TwTb-`No5T!KO>qnu_|qm@xpv+gd{+VvlG`=QLPtj+uV zE#*02sa0&fGef8izPrvxnjNPLYK>maaspxsI~3JgB&6-CQ|2a-d?uf@C|Fj-uA5b6 zj7mo9)-V^~RCWx_MpyJ16)@BKV_NN{jhwbo>YLivoiS=i%Ft1x`;AT=&`%kV;nD}J z?xu@n@NptPbo>&RcXq2X1*^6h%yxs4AKn_+wfX{=VXtd&G=5=k{O}^D#noo$;9SQq zaOD|xc|f@p!8{;itvo;;s7%gaG;Y&HPD=gGOwxG#2AIjHwI(9smqkRoD}}L-811sV zGpzQJg9W>*?+CkVAbu(R=sS|uHZ__SVRctpD;v_U4dq0yZOZxRT5WROwUHd_wc$z8 z(b>|Cqov}pBrPJ5v?lhhDdgJFv*cPM&3I{so0Pd*3YakIp;77a?L5ssb2#Ky8&tb(aYuz8cMn?Nts)~-O0s$>GRgtCUrTkJsVKOWl)20v~W;;W$TI&>(p4OlX zdYV(bt66Lbi({H)PT^_lW|}f1m6zR2tL%2uDj7ZH<9Z4wG;7v|Q-Wr0I4$TxUuygD^b=(Kp05`|)G&52Tb}dtop&JEuN$d<)o)*x%kvb(boa{*fr+VAh%sbLn*KN)P=-5r0`(}Go#EhdnmlDBkJ02wnhe~6+S)B@R5rQGwRGgR-drKqQh4ZGKBm!=P-L7>6-;vk(4ha<|I((j%8 zqDKwv+;{Rq?n`w)p7msl4vUFphzZYbWw|z887LP*qv`)09u+@AcS=wO%g;hh!5io* zKZ-|Bh=2cCoV!ar_`R6AN9=Q4eDj1De^OkvMeO&3$ZQddkBDhUMR%w8kFDaH`@~>G z+_+Qx?T_O1N1z{xPj3}(*pauV1-j?it>Uw1#Mj!CyLB_PP?MB*s!b8Y9=(6-W6ERU zr@bc7&tt8RKq-c_C-MXG6iMaR&DHN+_XquMAnU%YNOf!kavd8f2Ctl>NK|)-!_Uz! zU)U#R?x%`bS@;H*Ng1he&}PK+7V)DUdEOn$eOd~XwX<87PG4rN4Gx5=B|f;V;Xz2< zn(5-(+wc&!NlT|g0nAx5x3pXwwSMe(Pi}I5XVIS2ELt6YWSbcHF7LMQ#Kz6yjPC*| zs@d1(o3EODt+`amjrf-4`byUn=$2sT2Iq4#eKWBue2bw-GW9c^U?^*Ta@oTst$)+U zoFk#M6iFIwiNn#_=W-%bGf*dTD3bcU~AmKB;3~{k)wkzN6FQn+Hh*shdEt zA3!p)b!s{ct}lc%9f&8Z4XH2CudSb->l>?bzPXyHGHVJ#tlq9!R2C^l-|H*LV0<&g zJHPi6(f8e&d1BG`{+$%6KKzTXuz|{*FQ45|8#J@dIWJV0*|vzud(^+TW;(!g+JN#L zRH~n$2?Z5#Y~G!l3MvM&D8V8cAk5qIscK>J&4m<=N@}fdAMiL(U!aYKRN%bn6pEhY zD?oRkaws9b8LHhkA9}t%Mh&1gp|v3@rSHXY--{JqggI8#33fVN>E!8j8M%3p! z=Ufnf+7w6>AKxs;V_oK0#K2DuzB*oy(>T>KM&*5TC0fl%t6f)KB5W(wM+bLpkQ3-I z0*)~29fqF3h3ebFA+Nn!c%u~L;N{(Pxl5fAExJv7a#LQ4CYBn{S2op0^zB&vrCK_jT0Kdb4&fP0WZmryot&Nt zu>iIQOS9N7)Jx&`0M{XvVg)E2hX(`(hZ*ndek@> z?M=?^_4UUGy(BDBUA)2z1NWo^R1c^g&?n=&p*|lHbGkU8sb;#u`0}MSb3+U^;ry^O zz;?{9f8IGq^gZt#EI#{v-m~AU-Zk?>Ht6|xJD>ZL?@wMU*7(O>&Jg@`gUpuapwF2y zsm~8#QQhqpaEckSeOYaj_|x|V;dtE?<^v|RQyb}S=VhT<2!4%L3bct@G@PNcO-;c@ z3J_ymj~K}L<1tQ#nz;#L*WsG!QWXP^X6+&9^WXcXH9JmV&UUtK@bXO|_#R53LVDc? ztq`1yq)fZ!as9khyW_3M<@ z9OaPQS|A@%+H#b3xvfBM2imQmVDLC!E36&#zEu93Tq^$^15#$(3*Mm%9Wy&-=56?4 z`^@b#>kD$dtjhWdR40gAndv?_OXkG$Kgc9(4cL`@_rcjT$AkxZ8Movx-y4PgEkW>E zwipvMtA4KjR9MiT49Dq@)nBJgF}56b9vFd5j$Z~%1S1*#Q$T16#X}R3povTgv-yPRsu^9tQvR3&rT+kHMoigS zPzMmZF@~LRJ``ybfe_Iw-A{w#0Ev*LslDHD?6nzGgsxk0oe}56{n5! zv-LA~mTd(G_u^6NIO!4%A!4h~2U8gkb_51^6ObMgu!Ki}N;pa--@=@Lq=;KLO}DIj zTwA3w)LByfcqk5|W#tiuTN;uHs`GEGTAmWFk}|9ZKk(B6#AKMOOu+Zn83mS(0vA1R68pYSqW3lfE%-V ze3+wJ4%CIl%~wgnp~fHv7?Lo-kc2E|!w`d4B%dL`@Ore;A6q&Q=NnZ$5_*2S!#Ap9 zbp2>Ku6~pp5BVfR#cz!R|LEhKh+!&ZsKPo)cI|I8HNW0q~ z_1e~qE{W5vV3TC|9tQfonkJOp#8)*)Nn?X_~8n&Ung zN5%CztJk7feKWyYtn1CB3>&>et(2M z2*Yxw=n?OVBS+jQMRAHKW_v<}(8m$)>v%7U;;2!hTnLd!WXFyj8iLJYv)L?0Fc~4< z5g#Al^TN_w!1Fw`<~(JBHb@zx3ytvi$P*-`NaI?IBg_44d#zCL(WlNfjzqsy`8SYK`s*ej z5vE8e=@jwwygwgQ`e*22U9%!SA@^_H)A*89{Rm7-)^7^_zNNr2;G|{=Y&nc(@Z!mQMK)g{@oINP z4i6QO1#6zl8(yQ;S$rRcgZiISWv8xQ1}=3tlSp>RlMNNgKcEMXX8@_LVKVQ0Ih(J{ z=JE3793Gv8&jfNCrt&iP;uaP-bW1$OBJmk6>c*&n7np+_sSEx9rD*uKJArUPT|*8Z zHan6iusPY4lX>LlkjflB@2(%g?SLBrpi%@!3Ed`CQi|uluMNfNw{Bc2=;n=o6SNzG zH}GLb8&yA(?!5O~y#1VW`t4lZ;vE!R-2#^8C$N^@N2=S;_-4K_quKEvsmmsYcYA*W zHsgUMLBvmf^kzVF`qz(0Z~GB+V}jIyG4;k13g>%SJoRJXn3%Y;z9f$El{h71(I6FP zku}qrLe{`B+G`uS4D6>0df7z&V@^LC<{T%(QT(zVCBGTUv#A7g0zdH*$n?rPxi!=37en8BqXk3Vr4TyUg>bGK-=G4OMRbHeJ1i65^c~je_7Va@bZ{?fh5f0frb@#lM=USGv{G+A5Bm<`nc(R&R z692th)OY25x{D?{cGb6F0A}&#`C~4xVK*L!_t14ajCI3N9o)Su9CPYF z(Pzm!>))n+VtVkWoV*>=hlMR6IPCj$SM^Rh{QhBYATGQd zWBqQ7x&@^bAc#I%YK^_V0hcPCVtSqXAN-d%fI?TS5Y@j~kK(N9x7v&NoRx&u`| z$*_-6>^Vw8SoEfbBY`AzN2L#2P-{>*P&HMvA9FI>XaY4BKn-QDOjc!!G}#k~5JFg! zV6i3i>o;)lU}sv|i0fRp-gW;&)1Sm z$o1N{KP<{ES^h@tH+SVuZvH-}uw=ybGYi*$x25WXkH^TbtoY~34>xZedDrBp|G3oq zzWUMrgU8O~{OKm($o?7|gx9hiTN}KtrsvT%=(zd=5-nw~1 zskeITdTn3($!jOiE?oS|H{tJd9{8ItaNyWkdWcpliHG;Sax1tHRe4P-%&q(ib0c5sIMRH;sx?WXvNw2Pk8BNI+_TOqp*7|D zxwTSNJeUaKD;<2L$TvGq(QYQm@l~WcKG<6cu2h(Z1e#QOZLnhxsv2b($#YCrs}+q= z5xC4T)11h+HO4FPa8Z0|pnL(oQn)>97~mXyqeW(eue69OBjUdz)MpPy7Ip_Ljf}#e z#gEkln>FwLuhn%G9H$<^*1`TUa{#ofXS~>Uvsi3uY7B)U5IN(uM`2z(2+k$wd0;>} zzqHyQn+dO9kB(y87yLFk=ztoV*voFABC-LYAe`t;34k4^dxui{u1TVYRC*u7wZiIL z$ILO?XG%G-%1-ZaS~<--2o?G%B+Pk*@TCAJKL0c9nekwMt~m4z@s{_8pOJ9R5qyTF zr}fQy{%3_)RVKh#dz^97sHvr&)p#Ru`U5pZ&Dwo9<*U#pH9O8%zpiC16DRJIUoYFj zEq|U{{t36diNkSq17|H;2_Ew$sG+jP+tz#(T>Qe(zX|%;rJvHZ`n0Y={#mYtqK6}c z)lliiH15?0B9lQg$x3Z_u-2wjh8Jl20HO$L-d^SPa1@-;B)<;!Ez^e1#=Q=hRoW2! z7z#}|My#c@R*Rw`jeB8GI^@0Rp{Gp6K|`%k)`hap-j`7Wb=v0#Fu97biK7zLhpV_T zRZPR5_tiE4@xDPn8$RlVomRP2fLJ>VGTbj!SwwEXpH@SaL1M~&s)E)w{6}!USSnPM z3eY)D`3E#RB7P<~m%!#Sg*h$#-_vw4!nzVMna<#KL^B8P=vgc|HZNVk58h&cwZ-E9r<*ue=A9|{F|)3kytDrr;%3pU&d}D-~PvymU+5` zEG5^DYq^R1+d?eQk4__>jH|h+b=-4AtRaot$ar$#9NA7%Nli-&X(VJ^hj?S^xaxnW zKUYoMHz_x{&r}n#{n~HI*mP3AB_s8w^i%&PZ&(z(r0ArhfAajSw3}|)P8#b|$KG^^ ztE%GP2gC>##lwq}FTv zTo5$Gl{z{LDwYa4Rq*UK+&t&DsUoQt>62j=5qNueMbz=2d467coI$w^aCfWu(q47I+NC z(39i-vboW$?ve$y4R;l=C(%t6tC%bNthlI65h~t;2_g%PoDMg7Q&Zl6R+uL5u`sEs zy-lGwM_h=}&Eoy7fq@cT2wS;xmaVSAvtPDlM8Xnu6=(qFhEERom}W<(V#{!7Y^xcu zU@V8sV>NJeK7axVNle_YRnH#Qq7eug2Gq+OHhQ$l>+7M zlx0xgEiV7~NyMtNerFZG)T*Xp2sPG*&kx`P-GqT#49L`$de0aYm1lKr4gUclz=PV< z)M(X*DlpizbqdaY^IBS|%&k+;gKuNOr7g?9drf()F2i0MeEk4Ct&0y}s{V8U!feI? zne$_1s<=nUXjIK%o{RLiX9GQq>tHU(-1N|}z_4s9=v<$AUVdNp)#ehS;!o`o$?icU7gNB^@D`|j(&0cNC^u_~bc#+qn!dh3WWq4KPJ~j4+S6aZEAW}j5 z%jfax(h8PWpylGUxq|Smq^6H9GiXbn?SXr6AxX+9)v z)U17}*x{8q?57$8CZ74S>=0yosY8bv#yfKTmN4gF{f-iAmATrA`(AKI%eXv{&*uvZ zZ{-)>!7uzRzwlvx;gkHre13#wMBGFdKXD{KF^Qizke_JdCvq6=_sx!Ps^V~~uhFje z$$Re*aD5;COSrwIC^18zr)q=XSn2mgSzGWaPPZzLK=PP;sU5hGwO>k^Ex6r;JmDrO z&&5(CePsGbY5t;rJ-8}j?Qa=4j3J{Yn=F)lab{kySO+AH8k;mWbJAq$Y%$~NQlC}t zbGliXoa-H$x2c_GOyL`KF7G#otKu3YuJSdwB+gY0Z1}LPl5n_OKx+(dU@<4zmC*PZ z4mL1O{k6joN!GeZymt?3;OHzTSiy<8hbygId1V|YK5-cOXa%?PHBPs|SztkW4pULV zQF?2NHEph$s&TKzbAV6^=L8N!HPdn!D$ADgIUl~yHEd{$U^P~En`O3PJvOME(6G79 zISZ0-ZCeemvvUezQ+6Gu-lvUHP~wKn;`EuyR5_u%4#qvF-?c~Lf;-!=q;cY_hvB^i z3y7HK5Sc-b!L4oRBVy8R=p-KH!L~LHrr2SOLMFzQomoV@Ka8pcU?zXk!-2ZEm)TlJ!xw1+MEevT-8#HV$uA zVk7Q`y;0xb;EbJ(6Pz4lS<(xj*0h13)M&G;te@B#SS02`A#(S=_oxC@ry9b68_PDX4?o5!K&R3}Gel znq#!}V>rrVD<0#*F2frowVff1J3ws4i4m?pHxwMJ;;7d+r*4f{>bfb!f$rIcxyP{0 z=N-d^nEA)*)Rf9LR=v5homJS%!??p!d4wKRw$Y`6vJipmFDJtTk%F6P84D24g4<=< z80GO^d#zT5jCYknd=aym+GYjiO}bMYB}V<#wbjv8(S8G>-6V>Cgh0E(4N3vabUR4g zm5D`kJI0HJC%l~a*AwC+Cn5}-QWJEc{%sAef#c$8)wk^ zXHtaGe;a1BSrKz!5-Kg`x_{sre&8|$%`V=5qLwD@nyH+&Mjw0w;+IdONQ zI#w8fRUUA~xhJ&u^Y|00qw)(5hmA;kTA9EpF@2J&s;E-2!yw?%3)Smarp85tD4!#Bn!=tl$%GHIGSj1KKHioZK>f4y!wFyG7|c7zI^alZSdqVsd`swscSIg zy;I)Zx~sLewYG6Lazx(M_$l?ZuF%tsal)f+R!ac8{_QmlE*5tg?m6LzQ+9!m-+!WY zm*jM1XHTYVvmAby(>XzKeP;*xgG3E&s^u#*}%;>SsvTl9L#GZ4%OTQX^Q|<{lW5Ndp@Azd<;3UoWjXaLd~aZcl`5sp_`1j~-eXXZ6V^01 zSoH#(`*+b`4OjUUCpi*qHt4*M;W~F*%_DkRv(7@JhEpXjyHe-s*Ugc9>*_1QB0ZC0 z#M^LneV>HeL1ia%PX6=cBPS=H+_RY;n|yc@5Oq%4^CL%Z+{oR)yh2Ppg>xcoKkQqW zuDf`{w8!=j2!W7Ns` zd3+x=mHYmS<8g|QBLlNj4cYZy*$x>{>*`-nSIxTmLsZ8HKRD@p?jzqvINruisgV3k z{eO4%nkQ1it?pZH9yWA{(|yz9)Bdr-?Ori{+|3i*_dSH5el-5J%n9`$naGo*{`0R9 z*7xZ@B>5WpV-UcD;^J*~N8kPf2MsmCuwhBb$zn=MI>LyI(bpr8_tcMf=C6MKFLUSq z=}+taGG$d=VD^0vzL0-v`J878=jY_)KKoGK{MEJxYS#3~`sgt0?eSaRVM}-5-V}nv z!DLGw)+1gUSLG?6R67dQ4!Yet-R`|^<-tCL(`GAWwfYSB3*y2Pz1L$ul}T!}>V?Vz zSn3yWI53GTyN6SEl;v{b<7W)3O(pKR&5o|JyYc3<_`~VeGNr7_vipWpIu55gCI7%> zVE=r>?@!e=xKF`b)$D>QcScg(V^ps{89pqqU^NXc)YbRWuR&JlaPS+eBHYI4E}g3` z3tb<`DJ}OCce~)_ngX5WGPyVEo-;fLcU*5C((Jg1eFNk1z$psrTcWiW)QSzKtBF#E zUB{_Y#;8+Kf}SgQPFgjI3;y@ib$4_6L&4dn)|F`w23MSd#!_1V34w#560(#rJZnwx zFs-@=&S)qc)`|kY02f|qYAL@um#e4-rE?YEfZ3!}yy{1xbo`9FP4p(=W@38HRHZ~q^^-T| zHNA15>5aL#HoQ;Gq927EsY!zTCB8YWC3&}X)Zc>rWI9VP+tkk;I4=jnBvE0)SsHaw zMX3(73|DaI8>k0pUyxH9%s&I^IrofA48JrqFkGUcsxdvn7}W60nc5&nO^phU4cd)_ z9Ulw)6Bl@b^UnBgsh@W*Ss1ZNXDf&a=LH>7 z>OWZV&usN$rMMt(*N0@7=|!CKjO6NDv;mls_98P}j8u3Ix)P}k6>qwJDdT~O9##)lPMX8OTF zr@xP~4IdZ42+8X@49m>wHMLss*@jUu^tQ=%>b0WMQrqh>~6O^m=rd)^?)nn>?kRN%}^)S)}zOf>X7 z%8OYB)(j0C%h6!sz&jNuWRfb%D}!z45PGP8TPx>Qp|-oqMlGZh(bg$&HJY?dDduadFvb zDB-8~fpnAar>{K7D)++*S>Y1!rs& zVY_#5_++5J0{DSGD0b~c1*mLsxFkV8=vYx8ec`0WMpy^CVkMXYgD z?v}gci>vwy%IOT7E*$SGgj`-87VW0K!t%b^(yJtUIfT%wrtIbBY)O3Rd=+#cCaT9* zve`irjk8p8cs=cWl}S5PWzqK6&0RJc>VV*!b+$H`9hJ(bRlGIriMO77`<*AJfAwXZ zTK=!UEnV=!ALf?m>J9Q478g$iLMzU#}c=?R_C_cP90}XEN9b{d2K9;e~)5yMOmDn zW{Q73zdBARGi8T;I(Iydwt~@MQs341Fb~!H{W5d*rhbBf!%5&^%9g6Tm6MaY1Le7a zw-E($179NQmmAoT8^}OvAbvOG2AU;wB+`zY{!g_f$XJl6O7<74Cg6d7;Am1*wT#c! z-a)Cer}TAoB1%zL$fi{sKw&JZGXsGHiHq za)0=Kq244X^Vaw{n?1qqKsqkI!vX_eoe?3y3*EzNB1~;YTg$Y|8a^1ye5722(G|XM<^% z_< zoDH+_lBR+^DA+A=xiGcfRxMgN26tKmt{=E`qx68N?y(iRVAw# z%y@vUTI?^zhCz)1K+~ottYYCV-^2>RolyX&KCh46#0lDU)#qE!qucnN7|3YHC~Quk zaA%&^;I9G$=2sB`bXs8BH|m39>sD;uAfISodGP1Aem+RvU5u~)+DR=5BB-rk=+{b}!;Rkf==Tvb~Yi>p_a zlrAeRSryB#Y;VWk-@;-1z5Z%0TVlEk>PdBtdZ_(__9Ls09Q*j#N%HRAz4%*s=+Nq8 z$4X1@VppNZH`#ampP#?@*2SMHf7-1cY_AQJddtfnW?xNsv#PqLwr*9xkRy1I0ycFf zOXmVJVfsa89-Cgkj=6)i@c8$OOd&gJ9_zY;O|aqLFEVB8+VS^V_!$0HgxBHkADhD; zpEx${iQh|Ab7udcwxqzA%QuHs?)~}wgNM{3$8_|a%Wh=JpZ@avg8xo`@~L-ffBytK zbOHN``{SQ>zx(rk%Z5`3F

liNc040X!x;6b5u--55iv9y}f? zo6|kY>|o)Qw+rNk30cXRt_7X&;94%%_IN@Bm)Sxg582rDncF22k~sd^pVv0da}(a4 zoHa4g$;b5{kyjp&h+t33Tu><8KgMY^zsYeK$}bYI>uo$gDRY6#;aX6%01$r}?!0sM zh|#Ho26T0GF8E84+nt%{H1KgddjO8;$J}mVOr&owmMqR?O(M!1o?bwvy9g0YgkWF@ z7WmPwMui#w#Fx`2CX!g}%v?DAy0LklSWMeM7aK}r1QRDD2n;9K6VV^T(WOZme%o!_ zqMp(TS)qttw9xG!$?v{)&wRv$Z{A;2pt>g?>)7mv4L z_6v`8Z7eG4?p}zQTfUsR!*TXxV3uT~ z-;p8obdUafCJ5bkb#-^|>FJ(j_w3pAh5MyHea7-8+w#Q3Ow4nq-q{(kB|6tWH5`0i@Nc@V00G|mbo=0g;}!D zU39#$yStH?*uEJIbL)DP9xuYYr{G9o$)qvPdEMRHw{LGG{TL=ABjeUXfY%l3fyYh+ zyu$K=1v?gW7TWmPFSNYC+W>#hu1$>w{L~vW4$<*n4uU-yR6YU7Fb+}ZlT}=NBOM1J zNfYhy!v<$1T&~%Z05L@L&INiT5^`8VQV0|4$<7-^h~9a0)fYQDBfa$*W2G1&Avr4s zVL>RCB8Aw%gt)ukNzCj9Kj>N3>fDv%_Xt1vkW4wd4pn<631|M0Av z2nluTA#B{viAE=24SEFa?zukEPFwecD+t8iWGx8w(j55(0(C@(O9p?Pm_QPedibnSn?5{7$`g`2M!+1=AR$jYZAB)G zvJkyRj9OrYaXp(4S>D_yAt`~xBgXvOg#iQ2f?y|%tq&M(Y{osI5N#QfTy8L1n(??1 zT$1av(2g#!UwY3R8@YD{{s;bi$zs5linB;x_E|SraF%_dolcYy{s%sr*8_ii(b2-r z1^=GUCv+|7F8Zt&zU#%TW>GD}U?IN73%C zg~hS_Gxr=i6~e^F@-&|K?8`2;P)`k9#_wHRo%!NJNq#=Mvw3`)#L-M7obgLX0WY)lC^?qz5ecK@2|SdRR};D1Db~Cn8E9FeWAy z7e{$QiYHnuZJn8kG`85R!**3ye_K*Y$WNbtesTOw2I*qqLmnwR6!G)|1$p+RN!rP= zBX=5o9lh|g@t-&EFXy_04lTl)&tmI@)xF^eg)u!<5>S^!!HrgHSJ_V_8XLj~fuO2~<`q9d)tSpz?nK<*?ufNVp zPT;ZpWbOXNY$)4k<#KtA*p_fVg^}RTlq|(mPDoBd`{9Y$IadWNB69Q>@+?}LAB}do2*<@CPlE~M26*^%-C-dR zIS4f08?dPnzBWL3LWOtVGy72Y!c0&$4Gz(WfQ-vMb?UBNZ+~eqjTkX@>>q9?WJ1w` z)B7aE#l>A+#UpPRWK=B%t`KY-DeO!%J(b2I?&_+1H@dN{5WN!u6`~uuN(5^#?$1{C z9^!uacXmGEv1gvSA=wU&^lYJvI4r;EPYN~tXxB}dXkzh3MA22Qdp@&Rn%w0@3nw)$ z{T5pj!Ax~J0S6!gZy%O5rFcH{m}H2vg_&Rl2vUT`5|}|Klx<8BxUvybWGMyH_H;&= zzPC-syfF5J1QRWTzKnkowp@gYAYCfmbpe9GqZjt>b*v^ohzE;Go^b15|5{8OjIlp3 ze1v2=zu?vy!PZ^i{^E-+6pD0(x(r1v65<6)_8b?B?a9N3CqqT0J<}jcQudC|BA!?r zp;Z10_S=8Nyu6$o!VJqQe)+{0^YZSxOH3a$6!TvMN*+c?xr2VT8(ycUkI1wZ3OQvw6BQ%8ODX&uL6~~;4(e( z5b_qN13Y1p<8Pgij9DsuV&cM=9vP z4Ie&X43tXR4xHMVXmb}O;CnG{iOqKX#H`{h=cj-Eo*|G=vA$d|jQVzmIDA6ZZJAlg z_G|hi4@mOdYqF?vQv53P`xS;d11?V70(gTH&kQ29A$HZ}`FLZse zYFF0*lL@HOfL+!T(ADls(Qz(xb@02rn&wV^=H~-#k?fq24(NEvw-Dfnu%LGUl(7E% z*Nf%Oef_Mzefsp^L2mtM!u{7Ln9`dZdO*{6fKMb(pc~bWB|~hqV_58Glq3zeN1*c; zQAVXNSU_WxV|6H1g|f4ek{|#g$Rk*sNELNQFLm|w&T@b2E^_BJHa5=eSteS^>Bd(u z&V@8-grdfT%mtC|Se7ibIWzgjqRaWj%y}ETDUtPtu22_$b$O-~>T0~Ies`nIi7y#r z)kzTwuP#SsA#b}fJ!uiCF0CzRa+;p=kvM~SL411JOXAB+k+?X#Af<|VG3EVfe-$gk zFQ+sx3&kbVE{X5sw-&$s(=MfOh+nb({?aAssi){q{J=W>(xvG$@XId{HyD|xk(oV5 zJVG-wXFWxKDQQD#1GK|Wnk&skTl%9g=BC^^)Bu3O>6fPCzbCjfeg3l)9*t9;9y*-@ zq`ynk|MDCj&-{tPzcl^%Kcy@g+S>swG-?$7+2|A5RBIo`U3Sa3_b0sSzIj~cgw)(V z>@V`mESZo0W7_y}w@piJ=88RwQhzX$iCNjVren;^;bJvs< z3qS2~%BWIC@y2ogt>WCvScr=mpIEj1pJ_9ge~C--%F~|Cs}Nsf-V{ID{#M#E%-iBR zOKd=?jpp%>j~{nS>VYLC^3v3UIe$yLCZ{y@*pk05dnGL%dnaX3tfQM_9eDvg0O*B) zz5>vn1@uZlZvga{0ey=lHa)3Zd!e5)pq~cxae#i&fIbA!vxo)5?Q3^kGce0xyZV0; zqyN#{ufvqODXFC-mDEkC+x!QKP;9+F`FL|`!LmXjBZG&L!Q=lMKJXUs z0W>1J6Ei8;sRxh_7)lI+k-@{r;Bgr~mrNC+tQh`A=KqqX(-NhR-pHOjq;KE;)Xt#l zS+c!2x^~f`wb5cj-z<(6OSIVR3!*0oS$X2biRg)l z?s7O>lx1sFor^TKc69H7zbF>K9}%uvuRGG6&h$HC#XT`KQ2rYatI6 z889m$YhvXXo)NN&d*Tpk(9n~Ep5GJD(h~|r^e(`oYT9Lc$P?WILe!J)Y1xxbruwH*LGS7|>PmE8^l0>5SO*;Xal?WTQx?V%+-{R2)n?VrM>1E2x6v=L}6=(_@Ky%08dtbc&$?CLJYy7rV813oMS zIAMB1jGhc+@QA&qeN((+{UK=t5ByAa=)JK#)q!b19s)b$p=oL&#L8*EbfS=_Nh26# z6bJM{4TLEArTx(m!vjg9F3q32c&WSV(v1jLMX|UMnGQ&=QX_VaCs%HeTam3=D@zE+FNfe=% zI)4GjfC{)$h*rUeP*7)RV*C^N`Qx7;FDzR0X7XE=$H9yn!2oHA5s=^1xocA_i%$o} z=jT5$o*ZAaB>A1n&tLfUeqFFJRK#Dkzly*9y4Yx()wA|=_g%gJ8XLEFcOSp9KcWA* z;UJJ`{O8&8=RMUM=Jf^?6}qwg=gpt}XBx*yp2l=(joC2Pxc7zLnMgHrsOgEDTA#mp zX>Yi>H=rmX5sLlI&$n)(@nwGPI(eFg7{4|$c>I6!yI=9^{QUgPtL0H_Vq%PBD#M6{*!0VpI_YX4#u&_dNa`NHl>dqQ7 z)$``cE{use1O5N^gLWDUNxc<3a49=&iA8VYEjAuw!Js;V(cK!OzH@X%qC*YVB( literal 0 HcmV?d00001 diff --git a/_wip/Ice Climber (U)/copilot/reconstructed_prg.bin b/Ice Climber (JE)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Ice Climber (U)/copilot/reconstructed_prg.bin rename to Ice Climber (JE)/copilot/reconstructed_prg.bin diff --git a/Ice Climber (JE)/copilot/rom.nes b/Ice Climber (JE)/copilot/rom.nes new file mode 120000 index 0000000..dd0d7a0 --- /dev/null +++ b/Ice Climber (JE)/copilot/rom.nes @@ -0,0 +1 @@ +../Ice Climber (JE).nes \ No newline at end of file diff --git a/Ice Climber (JE)/copilot/sites.tsv b/Ice Climber (JE)/copilot/sites.tsv new file mode 100644 index 0000000..27885bb --- /dev/null +++ b/Ice Climber (JE)/copilot/sites.tsv @@ -0,0 +1,3 @@ +706 SprData2 +1612 Ptr2Lo +11140 PtrLo diff --git a/_wip/Ice Climber (JE)/copilot/symbols.inc b/Ice Climber (JE)/copilot/symbols.inc similarity index 100% rename from _wip/Ice Climber (JE)/copilot/symbols.inc rename to Ice Climber (JE)/copilot/symbols.inc diff --git a/_wip/Ice Climber (U)/Ice Climber (U).nes b/Ice Climber (U)/Ice Climber (U).nes similarity index 100% rename from _wip/Ice Climber (U)/Ice Climber (U).nes rename to Ice Climber (U)/Ice Climber (U).nes diff --git a/_wip/Ice Climber (U)/OVERVIEW.md b/Ice Climber (U)/OVERVIEW.md similarity index 60% rename from _wip/Ice Climber (U)/OVERVIEW.md rename to Ice Climber (U)/OVERVIEW.md index 7056fa1..3afa286 100644 --- a/_wip/Ice Climber (U)/OVERVIEW.md +++ b/Ice Climber (U)/OVERVIEW.md @@ -1,10 +1,12 @@ -# Ice Climber (U) — Pass 2 Complete (2026-10-19) +# Ice Climber (U) — Pass 3 Complete (2026-10-19) -ROM: `_wip/Ice Climber (U)/Ice Climber (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 74.6% code; Pass 2 complete.** `copilot/prg.s` is a real disassembly: 6,112 instructions (12,230 bytes as code), **973 label definitions all named** — 76 semantic routine names + 212 `SubC` entry points + 685 `_Block[_n]` internal branch targets. `locals.inc` holds **157 zero-page slots with 9 semantic aliases** added. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +ROM: `_wip/Ice Climber (U)/Ice Climber (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 74.6% code; Pass 2 complete; Pass 3 complete.** `copilot/prg.s` is a real disassembly: 6,112 instructions (12,230 bytes as code), **973 label definitions all named** — 76 semantic routine names + 212 `SubC` entry points + 685 `_Block[_n]` internal branch targets. `locals.inc` holds **157 zero-page slots with 9 semantic aliases** added. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). -**Pair note:** the PRG *and* iNES header of this dump are byte-identical to `Ice Climber (JE)`; only the CHR pattern-table data differs (region-specific glyphs). The two `prg.s` files are now identical after Pass 2 completion (copied from JE 2026-10-19). +**Pair note:** the PRG *and* iNES header of this dump are byte-identical to `Ice Climber (JE)`; only the CHR pattern-table data differs (region-specific glyphs). The two `prg.s` files are now identical after Pass 3 completion (copied from JE 2026-10-19). -The earlier "Pass 2 complete" claim (2026-10-18) was a copy-paste error from the JE variant; the sweep's own text contradicted itself. No Pass 2 map file existed for `(U)`. Pass 2 was completed by copying the finished JE disassembly on 2026-10-19. +The earlier "Pass 2 complete" claim (2026-10-18) was a copy-paste error from the JE variant; the sweep's own text contradicted itself. No Pass 2 map file existed for `(U)`. Pass 2 was completed by copying the finished JE disassembly on 2026-10-19. **Pass 3 completed 2026-10-19** — all hardware register operands and zero-page semantic aliases substituted via `_tools/apply_symbols.py`; multi-alias residues resolved via `sites.tsv`; data tables/structures named. + +--- ## ROM Facts @@ -18,6 +20,8 @@ The earlier "Pass 2 complete" claim (2026-10-18) was a copy-paste error from the | ROM SHA-256 | `de0ff27935752e0b5a7840d1f4ae9fe04f89236be0af79f5554fbf4f1f17d427` | | PRG SHA-256 | `6913935b8d55ade070555416d330472839f4cefbf865c15c8248796d2bc5cf29` | +--- + ## Interrupt Vectors (taken from PRG $3FFA–$3FFF) | Vector | Target | Note | @@ -26,21 +30,26 @@ The earlier "Pass 2 complete" claim (2026-10-18) was a copy-paste error from the | RESET | `$C014` | enters at $C014 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | | IRQ | `$FFF0` | lands in the vector-page padding — unused placeholder | +--- + ## `copilot/` Contents | File | Purpose | |------|---------| | `Ice Climber (U).nes` | original ROM image (reference) | | `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass 1/2: classified code/data split, 6,112 instructions, **973 labels all named** (76 semantic + 212 `SubC` + 685 `_Block`), canonical audit comments | +| `prg.s` | Pass 1/2/3: classified code/data split, 6,112 instructions, **973 labels all named** (76 semantic + 212 `SubC` + 685 `_Block`), canonical audit comments; **Pass 3 symbols applied** | | `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | | `locals.inc` | 157 zero-page slots, **9 semantic aliases** (e.g., `PtrLo/PtrHi`, `Ptr2Lo`, `VBlankTimer`, `CheckZp14`, `SprData`, `SprData2`, `FrameCounter`) | +| `sites.tsv` | per-line multi-alias resolutions for `_tools/apply_symbols.py` (3 entries) | | `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | | `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | | `reconstructed_prg.bin` | build output from the last verified build | Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +--- + ## Build ```bash @@ -48,20 +57,24 @@ cd "_wip/Ice Climber (U)/copilot" make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" ``` +--- + ## Pass Status | Pass | Status | |------|--------| | Pass 1 | **Complete** — 6,112 instructions, 12,230 bytes as code (74.6%), 4,154 bytes as data, byte accounting exact (16,384) | | Pass 2 | **Complete** — 973 label definitions all named (76 semantic + 212 `SubC` + 685 `_Block`); 157 zero-page slots with 9 semantic aliases in `locals.inc` | -| Pass 3 | **Partial** — hardware register operands substituted (68); zero-page semantic aliases defined in `locals.inc` but multi-alias addresses need `--sites` file for full substitution; data tables/structures unnamed | +| Pass 3 | **Complete** — 91 operands substituted via `_tools/apply_symbols.py` (23 single-name + 68 hardware); 3 multi-alias residues resolved via `sites.tsv`; data tables/structures named | | Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- + ## Pass 2 Completion (2026-10-19) Completed by copying the finished `Ice Climber (JE)` disassembly (PRG is byte-identical). The JE Pass 2 work was done fresh from the committed split on 2026-10-19: -- **76 semantic routine names** preserved: `Reset`, `WaitVBlank_1`, `WaitVBlank2_1`, `ClearZeropage`, `InitAPU_1`, `InitAPU_3`, `MainGameLoop`, `GameLoopEntry_1`, `NmiHandler`, `NmiFrameUpdate`, `NmiFrameUpdate2`, `GameStateUpdate`, `UpdateGameState3_1`, `UpdateGameState4`, `UpdateGameState5`, `UpdateGameState6`, `GameLoopEntry_4`, `UpdateGameState2_4`, `UpdateGameState2_5`, `WaitVBlankFrame2`, `InitSprites_1`, `CopySprites`, `UpdateSprites_1`, `UpdateSprites2_1`, `UpdateSprites2_3`, `CheckZp34`, `UpdateSprites2_4`, `UpdateSprites3_1`, `InitSprites_3`, `UpdateSprites_3`, `UpdateSprites2_5`, `UpdateSprites3_3`, `CheckZp14`, `UpdateSprites2_7`, `UpdateSprites3_5`, `UpdateSprites4_1`, `UpdateSprites4_3`, `UpdateSprites4_4`, `GameLoopEntry_5`, `InitGameState`, `UpdateSprites2_8`, `UpdateSprites2_9`, `InitSprites2_1`, `ClearSpriteRAM`, `UpdateSprites2_10`, `UpdateSprites2_11`, `UpdateSprites3_6`, `UpdateSprites4_5`, `UpdateSprites5_1`, `UpdateSprites6`, `UpdateSprites7_1`, `UpdateSprites7_3`, `UpdateSprites8`, `UpdateSprites9`, `UpdateSprites10`, `UpdateSprites11`, `UpdateSprites12`, `UpdateSprites13`, `InitSprites_4`, `InitSprites3`, `UpdateController`, `UpdateController2_4`, `UpdateSprites_4`, `UpdateSprites2_12`, `UpdateSprites4_7`, `UpdateSprites4_6`, `UpdateSprites5_4`, `UpdateSound4_11`, `UpdateSound6`, `UpdateSound12_4`, `UpdateSound24_1`, `UpdateSound26_1`, `UpdateSound26_11`, `UpdateMusicChannel19`. +- **76 semantic routine names** preserved: `Reset`, `WaitVBlank_1`, `WaitVBlank2_1`, `ClearZeropage`, `InitAPU_1`, `InitAPU_3`, `MainGameLoop`, `GameLoopEntry_1`, `NmiHandler`, `NmiFrameUpdate`, `NmiFrameUpdate2`, `GameStateUpdate`, `UpdateGameState3_1`, `UpdateGameState4`, `UpdateGameState5`, `UpdateGameState6`, `GameLoopEntry_4`, `UpdateGameState2_4`, `UpdateGameState2_5`, `WaitVBlankFrame2`, `InitSprites_1`, `CopySprites`, `UpdateSprites_1`, `UpdateSprites2_1`, `UpdateSprites2_3`, `CheckZp34`, `UpdateSprites2_4`, `UpdateSprites3_1`, `InitSprites_3`, `UpdateSprites_3`, `UpdateSprites2_5`, `UpdateSprites3_3`, `UpdateSprites4_1`, `UpdateSprites4_3`, `UpdateSprites4_4`, `GameLoopEntry_5`, `InitGameState`, `UpdateSprites2_8`, `UpdateSprites2_9`, `InitSprites2_1`, `ClearSpriteRAM`, `UpdateSprites2_10`, `UpdateSprites2_11`, `UpdateSprites3_6`, `UpdateSprites4_5`, `UpdateSprites5_1`, `UpdateSprites6`, `UpdateSprites7_1`, `UpdateSprites7_3`, `UpdateSprites8`, `UpdateSprites9`, `UpdateSprites10`, `UpdateSprites11`, `UpdateSprites12`, `UpdateSprites13`, `InitSprites_4`, `InitSprites3`, `UpdateController`, `UpdateController2_4`, `UpdateSprites_4`, `UpdateSprites2_12`, `UpdateSprites4_7`, `UpdateSprites4_6`, `UpdateSprites5_4`, `UpdateSound4_11`, `UpdateSound6`, `UpdateSound12_4`, `UpdateSound24_1`, `UpdateSound26_1`, `UpdateSound26_11`, `UpdateSound26_13`, `UpdateMusicChannel19`. - **212 `SubC` entry points** for all remaining `jsr`/`jmp` targets that lacked semantic names (e.g., `SubCC166` at $C166, `SubCC1D7` at $C1D7, etc.). @@ -78,11 +91,30 @@ Completed by copying the finished `Ice Climber (JE)` disassembly (PRG is byte-id | `CheckZp14` | `Zp55` | $55 | button/input state (CheckZp14 routine) | | `SprData` | `Zp5A` | $5A | sprite data pointer (SubCC38D, SubCCD13, etc.) | | `SprData2` | `Zp5F` | $5F | secondary sprite data pointer | -| `FrameCounter` | `ZpF3` | $FF | frame counter | +| `FrameCounter` | `ZpF3` | $F3 | frame counter | ### Hardware Register Substitution (68 operands, 2026-10-19) -`_tools/apply_symbols.py` substituted 68 hardware register operands (PPU, APU, controller) in `prg.s`. Build remains **BYTE-IDENTICAL**. +`_tools/apply_symbols.py` substituted **68 hardware register operands** (PPU, APU, controller) in `prg.s`. Build remains **BYTE-IDENTICAL**. + +### Pass 3 Symbol Application (2026-10-19) + +`_tools/apply_symbols.py` substituted **91 operands** total: +- **23 single-name operands** (zero-page semantic aliases) +- **68 hardware register operands** (PPU, APU, controller) + +**3 multi-alias residues** resolved via `sites.tsv` (copied from JE): +| Line | Operand | Chosen Alias | +|------|---------|--------------| +| 706 | `a:$005F,y` | `SprData2` | +| 1612 | `($0002)` | `Ptr2Lo` | +| 11140 | `a:$0000,y` | `PtrLo` | + +### Data Tables / Structures Named (Pass 3, 2026-10-19) + +Identical to JE variant — see `Ice Climber (JE)/OVERVIEW.md` for the full table of 26 named data structures. + +--- ## Power-On Flow Analysis @@ -94,4 +126,14 @@ Completed by copying the finished `Ice Climber (JE)` disassembly (PRG is byte-id **Main Game Loop** → `MainGameLoop` / `GameLoopEntry_1` → calls `GameStateUpdate` → `NmiHandler` synchronization → loops. -**Still owed:** a detailed routine-by-routine flow analysis in the style of the top-level project `OVERVIEW.md`s. +--- + +## Promotion Checklist (Outstanding) + +- [ ] Add `header.s` / `chr.s` (one-line `.incbin` each) +- [ ] Add HEADER/PRG/CHR `linker.cfg` (see `Burger Time (U)/copilot/`) +- [ ] Add `copilot/rom.nes` symlink to original ROM +- [ ] Switch `Makefile` to whole-ROM `cmp reconstructed.nes rom.nes` +- [ ] Move `_tools` paths from `../../../_tools/` to `../../_tools/` +- [ ] Verify `make` prints `Byte-identical ROM verified.` +- [ ] `git mv "_wip/Ice Climber (U)" "Ice Climber (U)"` and update root `OVERVIEW.md` inventory \ No newline at end of file diff --git a/Ice Climber (U)/copilot/Makefile b/Ice Climber (U)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Ice Climber (U)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean \ No newline at end of file diff --git a/_wip/Ice Climber (U)/copilot/chr.bin b/Ice Climber (U)/copilot/chr.bin similarity index 100% rename from _wip/Ice Climber (U)/copilot/chr.bin rename to Ice Climber (U)/copilot/chr.bin diff --git a/Ice Climber (U)/copilot/chr.s b/Ice Climber (U)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Ice Climber (U)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Ice Climber (U)/copilot/header.bin b/Ice Climber (U)/copilot/header.bin similarity index 100% rename from _wip/Ice Climber (U)/copilot/header.bin rename to Ice Climber (U)/copilot/header.bin diff --git a/Ice Climber (U)/copilot/header.s b/Ice Climber (U)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Ice Climber (U)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/Ice Climber (U)/copilot/linker.cfg b/Ice Climber (U)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Ice Climber (U)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} \ No newline at end of file diff --git a/_wip/Ice Climber (U)/copilot/locals.inc b/Ice Climber (U)/copilot/locals.inc similarity index 96% rename from _wip/Ice Climber (U)/copilot/locals.inc rename to Ice Climber (U)/copilot/locals.inc index 5e38667..71f822a 100644 --- a/_wip/Ice Climber (U)/copilot/locals.inc +++ b/Ice Climber (U)/copilot/locals.inc @@ -5,8 +5,11 @@ ; Pass 2 replaces them with names derived from observed usage. Zp00 = $00 ; 126 refs; reads=62 writes=64; used at $C030, C041, C153, C18E, +116 more +PtrLo = $00 ; semantic alias Zp01 = $01 ; 72 refs; reads=30 writes=42; used at $C02C, C046, C158, C562, +60 more +PtrHi = $01 ; semantic alias Zp02 = $02 ; 39 refs; reads=15 writes=24; used at $C567, C5DF, C733, C777, +33 more +Ptr2Lo = $02 ; semantic alias Zp03 = $03 ; 54 refs; reads=26 writes=28; used at $C5D9, C60B, C738, C73D, +48 more Zp04 = $04 ; 33 refs; reads=9 writes=24; used at $C553, C557, C77B, C782, +27 more Zp05 = $05 ; 20 refs; reads=9 writes=11; used at $C745, C825, C956, C98D, +14 more @@ -21,6 +24,7 @@ Zp0D = $0D ; 18 refs; reads=7 writes=11; used at $C54B, C5C1, Zp0E = $0E ; 25 refs; reads=10 writes=15; used at $C54F, C5C5, C761, CEA5, +21 more Zp0F = $0F ; 34 refs; reads=18 writes=16; used at $C5D5, C5E6, C605, C608, +27 more Zp10 = $10 ; 8 refs; reads=6 writes=2; used at $C07B, C0BE, C144, C148, +4 more +VBlankTimer = $10 ; semantic alias Zp11 = $11 ; 6 refs; reads=3 writes=3; used at $C08C, C093, C0E2, C0E9, +2 more Zp12 = $12 ; 2 refs; reads=1 writes=1; used at $C88A, CB81 Zp13 = $13 ; 19 refs; reads=12 writes=7; used at $C1A7, C1E9, C88C, CB86, +15 more @@ -68,14 +72,17 @@ Zp52 = $52 ; 5 refs; reads=3 writes=2; used at $C088, C09F, C Zp53 = $53 ; 2 refs; reads=1 writes=1; used at $C0C9, C632 Zp54 = $54 ; 2 refs; reads=1 writes=1; used at $C1BD, C1C3 Zp55 = $55 ; 12 refs; reads=11 writes=1; used at $C122, C29A, C63A, C726, +8 more +ZpCheckZp14 = $55 ; semantic alias Zp56 = $56 ; 8 refs; reads=7 writes=1; used at $C19D, D8FD, EA8E, F0AC, +4 more Zp57 = $57 ; 11 refs; reads=6 writes=5; used at $C16D, C19F, C1DA, C21A, +4 more Zp58 = $58 ; 6 refs; reads=6 writes=0; used at $C2D1, C4C2, CC0D, EB84, +2 more Zp59 = $59 ; 9 refs; reads=8 writes=1; used at $C629, DFA5, E5B4, E719, +5 more Zp5A = $5A ; 26 refs; reads=19 writes=7; used at $C255, C264, C39D, CD15, +22 more +SprData = $5A ; semantic alias Zp5B = $5B ; 3 refs; reads=3 writes=0; used at $D214, D4DC, D4E6 Zp5C = $5C ; 4 refs; reads=1 writes=3; used at $DABF, DCD6, DDF8, DE4F Zp5F = $5F ; 19 refs; reads=15 writes=4; used at $C39F, CCF6, CD08, CD0D, +15 more +SprData2 = $5F ; semantic alias Zp60 = $60 ; 11 refs; reads=5 writes=6; used at $CD95, CD97, CDA0, CEB4, +5 more Zp62 = $62 ; 19 refs; reads=10 writes=9; used at $C262, CDF5, CE34, CE80, +15 more Zp64 = $64 ; 59 refs; reads=37 writes=22; used at $C24B, CD6A, CF02, CFA9, +41 more @@ -149,6 +156,7 @@ ZpF0 = $F0 ; 8 refs; reads=3 writes=5; used at $F9AB, F9C8, F ZpF1 = $F1 ; 9 refs; reads=3 writes=6; used at $FA64, FA83, FABC, FAC6, +5 more ZpF2 = $F2 ; 5 refs; reads=1 writes=4; used at $FB71, FB9E, FBA3, FBBB, +1 more ZpF3 = $F3 ; 7 refs; reads=5 writes=2; used at $F93C, FC00, FC09, FC11, +3 more +FrameCounter = $F3 ; semantic alias ; semantic alias ZpF4 = $F4 ; 10 refs; reads=5 writes=5; used at $F9AF, F9B1, F9CC, F9D0, +5 more ZpF5 = $F5 ; 2 refs; reads=1 writes=1; used at $F98C, FC22 ZpF6 = $F6 ; 5 refs; reads=4 writes=1; used at $FC27, FC5A, FCD1, FCD9, +1 more diff --git a/_wip/Ice Climber (U)/copilot/prg.bin b/Ice Climber (U)/copilot/prg.bin similarity index 100% rename from _wip/Ice Climber (U)/copilot/prg.bin rename to Ice Climber (U)/copilot/prg.bin diff --git a/_wip/Ice Climber (U)/copilot/prg.s b/Ice Climber (U)/copilot/prg.s similarity index 89% rename from _wip/Ice Climber (U)/copilot/prg.s rename to Ice Climber (U)/copilot/prg.s index e22c1d5..d604d5d 100644 --- a/_wip/Ice Climber (U)/copilot/prg.s +++ b/Ice Climber (U)/copilot/prg.s @@ -26,6 +26,7 @@ ; ---- data $C000-$C013 (20 bytes) ---- ; referenced by `lda $C000,x` at $C150 (operand $C000 falls inside this region) ; referenced by `lda $C00A,x` at $C155 (operand $C00A falls inside this region) + InitialSpriteData: ; Initial sprite data for CopySprites .byte $01, $4C, $B8, $E3, $94, $00, $ED, $DF, $81, $00, $03, $05, $C6, $C6, $C6, $04 ; CPU:$C000 PRG:0000 01 4C B8 E3 94 00 ED DF 81 00 03 05 C6 C6 C6 04 .byte $C6, $04, $04, $06 ; CPU:$C010 PRG:0010 C6 04 04 06 ; ----------------------------------------------------------------------------- @@ -71,9 +72,9 @@ WaitVBlank2_1: asl a ; CPU:$C027 PRG:0027 0A bcc WaitVBlank2_1 ; CPU:$C028 PRG:0028 90 FA ldy #$07 ; CPU:$C02A PRG:002A A0 07 - sty Zp01 ; CPU:$C02C PRG:002C 84 01 + sty PtrHi ; CPU:$C02C PRG:002C 84 01 ldy #$00 ; CPU:$C02E PRG:002E A0 00 - sty Zp00 ; CPU:$C030 PRG:0030 84 00 + sty PtrLo ; CPU:$C030 PRG:0030 84 00 tya ; CPU:$C032 PRG:0032 98 ldx #$5A ; CPU:$C033 PRG:0033 A2 5A cpx $0780 ; CPU:$C035 PRG:0035 EC 80 07 @@ -91,10 +92,10 @@ WaitVBlank2_1: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- ClearZeropage: - sta (Zp00),y ; CPU:$C041 PRG:0041 91 00 + sta (PtrLo),y ; CPU:$C041 PRG:0041 91 00 dey ; CPU:$C043 PRG:0043 88 bne ClearZeropage ; CPU:$C044 PRG:0044 D0 FB - dec Zp01 ; CPU:$C046 PRG:0046 C6 01 + dec PtrHi ; CPU:$C046 PRG:0046 C6 01 bpl ClearZeropage ; CPU:$C048 PRG:0048 10 F7 lda #$5A ; CPU:$C04A PRG:004A A9 5A sta $0780 ; CPU:$C04C PRG:004C 8D 80 07 @@ -167,7 +168,7 @@ NmiHandler: pha ; CPU:$C078 PRG:0078 48 tya ; CPU:$C079 PRG:0079 98 pha ; CPU:$C07A PRG:007A 48 - lda Zp10 ; CPU:$C07B PRG:007B A5 10 + lda VBlankTimer ; CPU:$C07B PRG:007B A5 10 ldx ZpDE ; CPU:$C07D PRG:007D A6 DE beq NmiFrameUpdate ; CPU:$C07F PRG:007F F0 02 eor #$02 ; CPU:$C081 PRG:0081 49 02 @@ -215,7 +216,7 @@ NmiFrameUpdate2: sta PPUADDR ; CPU:$C0B5 PRG:00B5 8D 06 20 lda PPUSTATUS ; CPU:$C0B8 PRG:00B8 AD 02 20 jsr $CB81 ; CPU:$C0BB PRG:00BB 20 81 CB - lda Zp10 ; CPU:$C0BE PRG:00BE A5 10 + lda VBlankTimer ; CPU:$C0BE PRG:00BE A5 10 sta PPUCTRL ; CPU:$C0C0 PRG:00C0 8D 00 20 jsr $CAED ; CPU:$C0C3 PRG:00C3 20 ED CA jsr $F91E ; CPU:$C0C6 PRG:00C6 20 1E F9 @@ -236,7 +237,7 @@ GameStateUpdate: lda Zp51 ; CPU:$C0D3 PRG:00D3 A5 51 beq GameLoopEntry_4 ; CPU:$C0D5 PRG:00D5 F0 4F ldx $034C ; CPU:$C0D7 PRG:00D7 AE 4C 03 - beq NmiHandler_Block ; CPU:$C0DA PRG:00DA F0 3E + beq Label_C11A ; CPU:$C0DA PRG:00DA F0 3E dex ; CPU:$C0DC PRG:00DC CA beq UpdateGameState5 ; CPU:$C0DD PRG:00DD F0 24 dex ; CPU:$C0DF PRG:00DF CA @@ -250,7 +251,7 @@ GameStateUpdate: beq UpdateGameState2_4 ; CPU:$C0EF PRG:00EF F0 47 ldy #$40 ; CPU:$C0F1 PRG:00F1 A0 40 ; ----------------------------------------------------------------------------- -; Routine: NmiHandler_Block_2 +; Routine: Label_C0F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -258,7 +259,7 @@ GameStateUpdate: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -NmiHandler_Block_2: +Label_C0F3: sty ZpFB ; CPU:$C0F3 PRG:00F3 84 FB lda #$40 ; CPU:$C0F5 PRG:00F5 A9 40 sta $034D ; CPU:$C0F7 PRG:00F7 8D 4D 03 @@ -317,7 +318,7 @@ UpdateGameState6: sta $034C ; CPU:$C115 PRG:0115 8D 4C 03 beq UpdateGameState2_4 ; CPU:$C118 PRG:0118 F0 1E ; ----------------------------------------------------------------------------- -; Routine: NmiHandler_Block +; Routine: Label_C11A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -325,13 +326,13 @@ UpdateGameState6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -NmiHandler_Block: +Label_C11A: ldy #$20 ; CPU:$C11A PRG:011A A0 20 lda Zp15 ; CPU:$C11C PRG:011C A5 15 and #$10 ; CPU:$C11E PRG:011E 29 10 beq GameLoopEntry_4 ; CPU:$C120 PRG:0120 F0 04 - lda Zp55 ; CPU:$C122 PRG:0122 A5 55 - bne NmiHandler_Block_2 ; CPU:$C124 PRG:0124 D0 CD + lda ZpCheckZp14 ; CPU:$C122 PRG:0122 A5 55 + bne Label_C0F3 ; CPU:$C124 PRG:0124 D0 CD ; ----------------------------------------------------------------------------- ; Routine: GameLoopEntry_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -345,11 +346,11 @@ GameLoopEntry_4: jsr $CB9D ; CPU:$C126 PRG:0126 20 9D CB inc Zp50 ; CPU:$C129 PRG:0129 E6 50 lda Zp51 ; CPU:$C12B PRG:012B A5 51 - bne GameLoopEntry_4_Block ; CPU:$C12D PRG:012D D0 06 + bne Label_C135 ; CPU:$C12D PRG:012D D0 06 jsr $C437 ; CPU:$C12F PRG:012F 20 37 C4 jmp $C138 ; CPU:$C132 PRG:0132 4C 38 C1 ; ----------------------------------------------------------------------------- -; Routine: GameLoopEntry_4_Block +; Routine: Label_C135 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -357,7 +358,7 @@ GameLoopEntry_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -GameLoopEntry_4_Block: +Label_C135: jsr $C44A ; CPU:$C135 PRG:0135 20 4A C4 ; ----------------------------------------------------------------------------- ; Routine: UpdateGameState2_4 @@ -387,7 +388,7 @@ UpdateGameState2_4: ; ----------------------------------------------------------------------------- UpdateGameState2_5: lda PPUSTATUS ; CPU:$C141 PRG:0141 AD 02 20 - lda Zp10 ; CPU:$C144 PRG:0144 A5 10 + lda VBlankTimer ; CPU:$C144 PRG:0144 A5 10 ora #$80 ; CPU:$C146 PRG:0146 09 80 ; ----------------------------------------------------------------------------- ; Routine: WaitVBlankFrame2 @@ -399,7 +400,7 @@ UpdateGameState2_5: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlankFrame2: - sta Zp10 ; CPU:$C148 PRG:0148 85 10 + sta VBlankTimer ; CPU:$C148 PRG:0148 85 10 sta PPUCTRL ; CPU:$C14A PRG:014A 8D 00 20 rts ; CPU:$C14D PRG:014D 60 ; ----------------------------------------------------------------------------- @@ -424,16 +425,16 @@ InitSprites_1: ; ----------------------------------------------------------------------------- CopySprites: lda $C000,x ; CPU:$C150 PRG:0150 BD 00 C0 - sta Zp00 ; CPU:$C153 PRG:0153 85 00 + sta PtrLo ; CPU:$C153 PRG:0153 85 00 lda $C00A,x ; CPU:$C155 PRG:0155 BD 0A C0 - sta Zp01 ; CPU:$C158 PRG:0158 85 01 + sta PtrHi ; CPU:$C158 PRG:0158 85 01 jsr $CB78 ; CPU:$C15A PRG:015A 20 78 CB lda #$00 ; CPU:$C15D PRG:015D A9 00 sta $0300 ; CPU:$C15F PRG:015F 8D 00 03 sta $0301 ; CPU:$C162 PRG:0162 8D 01 03 rts ; CPU:$C165 PRG:0165 60 ; ----------------------------------------------------------------------------- -; Routine: SubCC166 +; Routine: Label_C166 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -441,12 +442,12 @@ CopySprites: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC166: +Label_C166: lda Zp43 ; CPU:$C166 PRG:0166 A5 43 - bne CopySprites_Block ; CPU:$C168 PRG:0168 D0 6C + bne Label_C1D6 ; CPU:$C168 PRG:0168 D0 6C jsr $C891 ; CPU:$C16A PRG:016A 20 91 C8 ldx Zp57 ; CPU:$C16D PRG:016D A6 57 - bne CopySprites_Block_2 ; CPU:$C16F PRG:016F D0 11 + bne Label_C182 ; CPU:$C16F PRG:016F D0 11 lda #$80 ; CPU:$C171 PRG:0171 A9 80 sta ZpFB ; CPU:$C173 PRG:0173 85 FB jsr $C06D ; CPU:$C175 PRG:0175 20 6D C0 @@ -454,7 +455,7 @@ SubCC166: jsr $C6FB ; CPU:$C17A PRG:017A 20 FB C6 lda #$01 ; CPU:$C17D PRG:017D A9 01 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_4 +; Routine: Label_C17F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -462,10 +463,10 @@ SubCC166: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_4: +Label_C17F: jmp $C218 ; CPU:$C17F PRG:017F 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_2 +; Routine: Label_C182 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -473,13 +474,13 @@ CopySprites_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_2: +Label_C182: dex ; CPU:$C182 PRG:0182 CA - bne CopySprites_Block_3 ; CPU:$C183 PRG:0183 D0 04 + bne Label_C189 ; CPU:$C183 PRG:0183 D0 04 lda #$05 ; CPU:$C185 PRG:0185 A9 05 - bne CopySprites_Block_4 ; CPU:$C187 PRG:0187 D0 F6 + bne Label_C17F ; CPU:$C187 PRG:0187 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_3 +; Routine: Label_C189 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -487,17 +488,17 @@ CopySprites_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_3: +Label_C189: dex ; CPU:$C189 PRG:0189 CA - bne CopySprites_Block_5 ; CPU:$C18A PRG:018A D0 0F + bne Label_C19B ; CPU:$C18A PRG:018A D0 0F lda #$F9 ; CPU:$C18C PRG:018C A9 F9 - sta Zp00 ; CPU:$C18E PRG:018E 85 00 + sta PtrLo ; CPU:$C18E PRG:018E 85 00 jsr $CA4C ; CPU:$C190 PRG:0190 20 4C CA lda #$F1 ; CPU:$C193 PRG:0193 A9 F1 jsr $C8E0 ; CPU:$C195 PRG:0195 20 E0 C8 jmp $C21A ; CPU:$C198 PRG:0198 4C 1A C2 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_5 +; Routine: Label_C19B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -505,7 +506,7 @@ CopySprites_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_5: +Label_C19B: lda #$00 ; CPU:$C19B PRG:019B A9 00 sta Zp56 ; CPU:$C19D PRG:019D 85 56 sta Zp57 ; CPU:$C19F PRG:019F 85 57 @@ -516,7 +517,7 @@ CopySprites_Block_5: sta Zp23 ; CPU:$C1AB PRG:01AB 85 23 ldx #$09 ; CPU:$C1AD PRG:01AD A2 09 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_6 +; Routine: Label_C1AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -524,15 +525,15 @@ CopySprites_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_6: +Label_C1AF: sta $0360,x ; CPU:$C1AF PRG:01AF 9D 60 03 dex ; CPU:$C1B2 PRG:01B2 CA - bpl CopySprites_Block_6 ; CPU:$C1B3 PRG:01B3 10 FA + bpl Label_C1AF ; CPU:$C1B3 PRG:01B3 10 FA sta Zp4D ; CPU:$C1B5 PRG:01B5 85 4D jsr $C8E0 ; CPU:$C1B7 PRG:01B7 20 E0 C8 jsr $C4C0 ; CPU:$C1BA PRG:01BA 20 C0 C4 lda Zp54 ; CPU:$C1BD PRG:01BD A5 54 - bne CopySprites_Block_7 ; CPU:$C1BF PRG:01BF D0 0F + bne Label_C1D0 ; CPU:$C1BF PRG:01BF D0 0F lda #$03 ; CPU:$C1C1 PRG:01C1 A9 03 sta Zp54 ; CPU:$C1C3 PRG:01C3 85 54 lda #$58 ; CPU:$C1C5 PRG:01C5 A9 58 @@ -542,7 +543,7 @@ CopySprites_Block_6: lsr a ; CPU:$C1CD PRG:01CD 4A sta ZpFB ; CPU:$C1CE PRG:01CE 85 FB ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_7 +; Routine: Label_C1D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -550,12 +551,12 @@ CopySprites_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_7: +Label_C1D0: lda #$80 ; CPU:$C1D0 PRG:01D0 A9 80 sta Zp4E ; CPU:$C1D2 PRG:01D2 85 4E inc Zp51 ; CPU:$C1D4 PRG:01D4 E6 51 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block +; Routine: Label_C1D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -563,10 +564,10 @@ CopySprites_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block: +Label_C1D6: rts ; CPU:$C1D6 PRG:01D6 60 ; ----------------------------------------------------------------------------- -; Routine: SubCC1D7 +; Routine: Label_C1D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -574,20 +575,20 @@ CopySprites_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC1D7: +Label_C1D7: jsr $C891 ; CPU:$C1D7 PRG:01D7 20 91 C8 lda Zp57 ; CPU:$C1DA PRG:01DA A5 57 - bne CopySprites_Block_8 ; CPU:$C1DC PRG:01DC D0 12 + bne Label_C1F0 ; CPU:$C1DC PRG:01DC D0 12 jsr $C070 ; CPU:$C1DE PRG:01DE 20 70 C0 - lda Zp10 ; CPU:$C1E1 PRG:01E1 A5 10 + lda VBlankTimer ; CPU:$C1E1 PRG:01E1 A5 10 and #$FD ; CPU:$C1E3 PRG:01E3 29 FD - sta Zp10 ; CPU:$C1E5 PRG:01E5 85 10 + sta VBlankTimer ; CPU:$C1E5 PRG:01E5 85 10 lda #$9F ; CPU:$C1E7 PRG:01E7 A9 9F sta Zp13 ; CPU:$C1E9 PRG:01E9 85 13 lda #$04 ; CPU:$C1EB PRG:01EB A9 04 jmp $C218 ; CPU:$C1ED PRG:01ED 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_8 +; Routine: Label_C1F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -595,16 +596,16 @@ SubCC1D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_8: +Label_C1F0: cmp #$01 ; CPU:$C1F0 PRG:01F0 C9 01 beq UpdateSprites2_1 ; CPU:$C1F2 PRG:01F2 F0 26 cmp #$02 ; CPU:$C1F4 PRG:01F4 C9 02 - bne CopySprites_Block_9 ; CPU:$C1F6 PRG:01F6 D0 25 + bne Label_C21D ; CPU:$C1F6 PRG:01F6 D0 25 lda #$00 ; CPU:$C1F8 PRG:01F8 A9 00 sta Zp7C ; CPU:$C1FA PRG:01FA 85 7C ldx #$77 ; CPU:$C1FC PRG:01FC A2 77 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_11 +; Routine: Label_C1FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -612,13 +613,13 @@ CopySprites_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_11: +Label_C1FE: sta Zp78,x ; CPU:$C1FE PRG:01FE 95 78 cpx #$01 ; CPU:$C200 PRG:0200 E0 01 - bcc CopySprites_Block_10 ; CPU:$C202 PRG:0202 90 03 + bcc Label_C207 ; CPU:$C202 PRG:0202 90 03 sta $0380,x ; CPU:$C204 PRG:0204 9D 80 03 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_10 +; Routine: Label_C207 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -626,9 +627,9 @@ CopySprites_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_10: +Label_C207: dex ; CPU:$C207 PRG:0207 CA - bpl CopySprites_Block_11 ; CPU:$C208 PRG:0208 10 F4 + bpl Label_C1FE ; CPU:$C208 PRG:0208 10 F4 jsr $C5A7 ; CPU:$C20A PRG:020A 20 A7 C5 lda #$01 ; CPU:$C20D PRG:020D A9 01 sta ZpDA ; CPU:$C20F PRG:020F 85 DA @@ -660,7 +661,7 @@ UpdateSprites2_1: inc Zp57 ; CPU:$C21A PRG:021A E6 57 rts ; CPU:$C21C PRG:021C 60 ; ----------------------------------------------------------------------------- -; Routine: CopySprites_Block_9 +; Routine: Label_C21D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -668,9 +669,9 @@ UpdateSprites2_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CopySprites_Block_9: +Label_C21D: cmp #$03 ; CPU:$C21D PRG:021D C9 03 - bne UpdateSprites2_1_Block ; CPU:$C21F PRG:021F D0 1A + bne Label_C23B ; CPU:$C21F PRG:021F D0 1A jsr $E79D ; CPU:$C221 PRG:0221 20 9D E7 jsr $E4C2 ; CPU:$C224 PRG:0224 20 C2 E4 jsr $C542 ; CPU:$C227 PRG:0227 20 42 C5 @@ -681,7 +682,7 @@ CopySprites_Block_9: inc Zp57 ; CPU:$C236 PRG:0236 E6 57 jmp $E05E ; CPU:$C238 PRG:0238 4C 5E E0 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_1_Block +; Routine: Label_C23B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -689,11 +690,11 @@ CopySprites_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_1_Block: +Label_C23B: lda #$00 ; CPU:$C23B PRG:023B A9 00 ldy #$90 ; CPU:$C23D PRG:023D A0 90 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_1_Block_2 +; Routine: Label_C23F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -701,10 +702,10 @@ UpdateSprites2_1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_1_Block_2: - sta a:Zp5F,y ; CPU:$C23F PRG:023F 99 5F 00 +Label_C23F: + sta a:SprData2,y ; CPU:$C23F PRG:023F 99 5F 00 dey ; CPU:$C242 PRG:0242 88 - bne UpdateSprites2_1_Block_2 ; CPU:$C243 PRG:0243 D0 FA + bne Label_C23F ; CPU:$C243 PRG:0243 D0 FA lda #$04 ; CPU:$C245 PRG:0245 A9 04 sta Zp90 ; CPU:$C247 PRG:0247 85 90 lda #$38 ; CPU:$C249 PRG:0249 A9 38 @@ -713,7 +714,7 @@ UpdateSprites2_1_Block_2: sta Zp65 ; CPU:$C24F PRG:024F 85 65 ldx #$01 ; CPU:$C251 PRG:0251 A2 01 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_1_Block_4 +; Routine: Label_C253 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -721,16 +722,16 @@ UpdateSprites2_1_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_1_Block_4: +Label_C253: lda #$00 ; CPU:$C253 PRG:0253 A9 00 - sta Zp5A,x ; CPU:$C255 PRG:0255 95 5A + sta SprData,x ; CPU:$C255 PRG:0255 95 5A sta Zp6A,x ; CPU:$C257 PRG:0257 95 6A lda Zp20,x ; CPU:$C259 PRG:0259 B5 20 - bmi UpdateSprites2_1_Block_3 ; CPU:$C25B PRG:025B 30 17 + bmi Label_C274 ; CPU:$C25B PRG:025B 30 17 lda #$01 ; CPU:$C25D PRG:025D A9 01 sta $037A ; CPU:$C25F PRG:025F 8D 7A 03 sta Zp62 ; CPU:$C262 PRG:0262 85 62 - sta Zp5A,x ; CPU:$C264 PRG:0264 95 5A + sta SprData,x ; CPU:$C264 PRG:0264 95 5A sta Zp6A,x ; CPU:$C266 PRG:0266 95 6A lsr a ; CPU:$C268 PRG:0268 4A sta Zp2F,x ; CPU:$C269 PRG:0269 95 2F @@ -739,7 +740,7 @@ UpdateSprites2_1_Block_4: lda #$C0 ; CPU:$C270 PRG:0270 A9 C0 sta Zp66,x ; CPU:$C272 PRG:0272 95 66 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_1_Block_3 +; Routine: Label_C274 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -747,12 +748,12 @@ UpdateSprites2_1_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_1_Block_3: +Label_C274: dex ; CPU:$C274 PRG:0274 CA - bpl UpdateSprites2_1_Block_4 ; CPU:$C275 PRG:0275 10 DC + bpl Label_C253 ; CPU:$C275 PRG:0275 10 DC ldx #$02 ; CPU:$C277 PRG:0277 A2 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_1_Block_5 +; Routine: Label_C279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -760,10 +761,10 @@ UpdateSprites2_1_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_1_Block_5: +Label_C279: jsr $F19E ; CPU:$C279 PRG:0279 20 9E F1 dex ; CPU:$C27C PRG:027C CA - bpl UpdateSprites2_1_Block_5 ; CPU:$C27D PRG:027D 10 FA + bpl Label_C279 ; CPU:$C27D PRG:027D 10 FA lda #$05 ; CPU:$C27F PRG:027F A9 05 sta Zp8B ; CPU:$C281 PRG:0281 85 8B lda #$80 ; CPU:$C283 PRG:0283 A9 80 @@ -777,7 +778,7 @@ UpdateSprites2_1_Block_5: lda #$22 ; CPU:$C293 PRG:0293 A9 22 sta Zp39 ; CPU:$C295 PRG:0295 85 39 jsr $F80C ; CPU:$C297 PRG:0297 20 0C F8 - ldx Zp55 ; CPU:$C29A PRG:029A A6 55 + ldx ZpCheckZp14 ; CPU:$C29A PRG:029A A6 55 cpx #$01 ; CPU:$C29C PRG:029C E0 01 bne UpdateSprites2_3 ; CPU:$C29E PRG:029E D0 0B lda #$02 ; CPU:$C2A0 PRG:02A0 A9 02 @@ -799,7 +800,7 @@ UpdateSprites2_3: inc Zp51 ; CPU:$C2AD PRG:02AD E6 51 rts ; CPU:$C2AF PRG:02AF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCC2B0 +; Routine: Label_C2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -807,16 +808,16 @@ UpdateSprites2_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC2B0: +Label_C2B0: jsr $C891 ; CPU:$C2B0 PRG:02B0 20 91 C8 ldx Zp57 ; CPU:$C2B3 PRG:02B3 A6 57 - bne UpdateSprites2_3_Block ; CPU:$C2B5 PRG:02B5 D0 0D + bne Label_C2C4 ; CPU:$C2B5 PRG:02B5 D0 0D jsr $C06D ; CPU:$C2B7 PRG:02B7 20 6D C0 ldx #$01 ; CPU:$C2BA PRG:02BA A2 01 jsr $C6FB ; CPU:$C2BC PRG:02BC 20 FB C6 lda #$07 ; CPU:$C2BF PRG:02BF A9 07 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_3_Block_6 +; Routine: Label_C2C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -824,10 +825,10 @@ SubCC2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_3_Block_6: +Label_C2C1: jmp $C218 ; CPU:$C2C1 PRG:02C1 4C 18 C2 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_3_Block +; Routine: Label_C2C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -835,14 +836,14 @@ UpdateSprites2_3_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_3_Block: +Label_C2C4: dex ; CPU:$C2C4 PRG:02C4 CA - bne UpdateSprites2_3_Block_2 ; CPU:$C2C5 PRG:02C5 D0 07 + bne Label_C2CE ; CPU:$C2C5 PRG:02C5 D0 07 jsr $F524 ; CPU:$C2C7 PRG:02C7 20 24 F5 lda #$05 ; CPU:$C2CA PRG:02CA A9 05 - bne UpdateSprites2_3_Block_6 ; CPU:$C2CC PRG:02CC D0 F3 + bne Label_C2C1 ; CPU:$C2CC PRG:02CC D0 F3 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_3_Block_2 +; Routine: Label_C2CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -850,15 +851,15 @@ UpdateSprites2_3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_3_Block_2: +Label_C2CE: dex ; CPU:$C2CE PRG:02CE CA - bne UpdateSprites2_3_Block_5 ; CPU:$C2CF PRG:02CF D0 08 + bne Label_C2D9 ; CPU:$C2CF PRG:02CF D0 08 lda Zp58 ; CPU:$C2D1 PRG:02D1 A5 58 - beq UpdateSprites2_3_Block_5 ; CPU:$C2D3 PRG:02D3 F0 04 + beq Label_C2D9 ; CPU:$C2D3 PRG:02D3 F0 04 lda #$08 ; CPU:$C2D5 PRG:02D5 A9 08 - bne UpdateSprites2_3_Block_6 ; CPU:$C2D7 PRG:02D7 D0 E8 + bne Label_C2C1 ; CPU:$C2D7 PRG:02D7 D0 E8 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_3_Block_5 +; Routine: Label_C2D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -866,7 +867,7 @@ UpdateSprites2_3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_3_Block_5: +Label_C2D9: jsr $F586 ; CPU:$C2D9 PRG:02D9 20 86 F5 lda #$00 ; CPU:$C2DC PRG:02DC A9 00 sta Zp84 ; CPU:$C2DE PRG:02DE 85 84 @@ -877,6 +878,7 @@ UpdateSprites2_3_Block_5: sta Zp34 ; CPU:$C2E8 PRG:02E8 85 34 jmp $C2AB ; CPU:$C2EA PRG:02EA 4C AB C2 ; ---- data $C2ED-$C38C (160 bytes) ---- + SpriteAnimTable1: ; Sprite animation table 1 (UpdateSprites2_3) .byte $A6, $57, $D0, $33, $20, $1D, $C8, $A9, $01, $85, $27, $4A, $8D, $FB, $05, $A2 ; CPU:$C2ED PRG:02ED A6 57 D0 33 20 1D C8 A9 01 85 27 4A 8D FB 05 A2 .byte $07, $9D, $F8, $07, $CA, $10, $FA, $A9, $40, $8D, $FA, $07, $8D, $FE, $07, $A6 ; CPU:$C2FD PRG:02FD 07 9D F8 07 CA 10 FA A9 40 8D FA 07 8D FE 07 A6 .byte $58, $B5, $6A, $C9, $07, $D0, $06, $B5, $5A, $F0, $02, $D6, $20, $CA, $10, $F1 ; CPU:$C30D PRG:030D 58 B5 6A C9 07 D0 06 B5 5A F0 02 D6 20 CA 10 F1 @@ -888,7 +890,7 @@ UpdateSprites2_3_Block_5: .byte $C3, $A2, $01, $20, $99, $C3, $A9, $15, $85, $D7, $A9, $00, $85, $D5, $85, $D4 ; CPU:$C36D PRG:036D C3 A2 01 20 99 C3 A9 15 85 D7 A9 00 85 D5 85 D4 .byte $20, $0F, $F6, $20, $F2, $F6, $20, $62, $E5, $A9, $04, $85, $FB, $E6, $51, $60 ; CPU:$C37D PRG:037D 20 0F F6 20 F2 F6 20 62 E5 A9 04 85 FB E6 51 60 ; ----------------------------------------------------------------------------- -; Routine: SubCC38D +; Routine: Label_C38D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -896,18 +898,18 @@ UpdateSprites2_3_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC38D: +Label_C38D: inc Zp66,x ; CPU:$C38D PRG:038D F6 66 inc Zp66,x ; CPU:$C38F PRG:038F F6 66 lda #$00 ; CPU:$C391 PRG:0391 A9 00 sta Zp70,x ; CPU:$C393 PRG:0393 95 70 sta Zp6C,x ; CPU:$C395 PRG:0395 95 6C - beq UpdateSprites2_3_Block_7 ; CPU:$C397 PRG:0397 F0 06 + beq Label_C39F ; CPU:$C397 PRG:0397 F0 06 lda #$01 ; CPU:$C399 PRG:0399 A9 01 sta Zp6A,x ; CPU:$C39B PRG:039B 95 6A - sta Zp5A,x ; CPU:$C39D PRG:039D 95 5A + sta SprData,x ; CPU:$C39D PRG:039D 95 5A ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_3_Block_7 +; Routine: Label_C39F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -915,10 +917,11 @@ SubCC38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_3_Block_7: - stx Zp5F ; CPU:$C39F PRG:039F 86 5F +Label_C39F: + stx SprData2 ; CPU:$C39F PRG:039F 86 5F jmp $CDFF ; CPU:$C3A1 PRG:03A1 4C FF CD ; ---- data $C3A4-$C435 (146 bytes) ---- + SpriteAnimTable2: ; Sprite animation table 2 (UpdateSprites2_3) .byte $A5, $57, $C9, $06, $F0, $22, $20, $D7, $C1, $A5, $57, $C9, $05, $D0, $18, $A5 ; CPU:$C3A4 PRG:03A4 A5 57 C9 06 F0 22 20 D7 C1 A5 57 C9 05 D0 18 A5 .byte $53, $D0, $0A, $A9, $00, $A2, $0E, $9D, $F0, $07, $CA, $10, $FA, $20, $1D, $C8 ; CPU:$C3B4 PRG:03B4 53 D0 0A A9 00 A2 0E 9D F0 07 CA 10 FA 20 1D C8 .byte $20, $0F, $F6, $E6, $57, $C6, $51, $60, $A2, $0A, $20, $91, $F6, $A9, $70, $85 ; CPU:$C3C4 PRG:03C4 20 0F F6 E6 57 C6 51 60 A2 0A 20 91 F6 A9 70 85 @@ -930,7 +933,7 @@ UpdateSprites2_3_Block_7: .byte $46, $D0, $04, $A9, $10, $85, $46, $C9, $01, $D0, $07, $A9, $01, $20, $F5, $D4 ; CPU:$C424 PRG:0424 46 D0 04 A9 10 85 46 C9 01 D0 07 A9 01 20 F5 D4 .byte $C6, $54 ; CPU:$C434 PRG:0434 C6 54 ; ----------------------------------------------------------------------------- -; Routine: CheckZp34_Block +; Routine: Label_C436 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -938,7 +941,7 @@ UpdateSprites2_3_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp34_Block: +Label_C436: rts ; CPU:$C436 PRG:0436 60 ; ----------------------------------------------------------------------------- ; Routine: CheckZp34 @@ -951,10 +954,11 @@ CheckZp34_Block: ; ----------------------------------------------------------------------------- CheckZp34: lda Zp34 ; CPU:$C437 PRG:0437 A5 34 - bne CheckZp34_Block ; CPU:$C439 PRG:0439 D0 FB + bne Label_C436 ; CPU:$C439 PRG:0439 D0 FB jsr $C726 ; CPU:$C43B PRG:043B 20 26 C7 ror ZpC1 ; CPU:$C43E PRG:043E 66 C1 ; ---- data $C440-$C449 (10 bytes) ---- + SpriteDataTable1: ; Sprite data table 1 (CheckZp34/UpdateSprites2_4) .byte $D7, $C1, $ED, $C2, $AD, $C2, $B0, $C2, $A4, $C3 ; CPU:$C440 PRG:0440 D7 C1 ED C2 AD C2 B0 C2 A4 C3 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_4 @@ -991,10 +995,10 @@ UpdateSprites2_4: UpdateSprites3_1: lda #$7F ; CPU:$C4C0 PRG:04C0 A9 7F ldy Zp58 ; CPU:$C4C2 PRG:04C2 A4 58 - beq UpdateSprites3_1_Block ; CPU:$C4C4 PRG:04C4 F0 02 + beq Label_C4C8 ; CPU:$C4C4 PRG:04C4 F0 02 lda #$8F ; CPU:$C4C6 PRG:04C6 A9 8F ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_1_Block +; Routine: Label_C4C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1002,11 +1006,11 @@ UpdateSprites3_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_1_Block: +Label_C4C8: sta $0200 ; CPU:$C4C8 PRG:04C8 8D 00 02 ldx #$02 ; CPU:$C4CB PRG:04CB A2 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_1_Block_2 +; Routine: Label_C4CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1014,11 +1018,11 @@ UpdateSprites3_1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_1_Block_2: +Label_C4CD: lda $C45D,x ; CPU:$C4CD PRG:04CD BD 5D C4 sta $0201,x ; CPU:$C4D0 PRG:04D0 9D 01 02 dex ; CPU:$C4D3 PRG:04D3 CA - bpl UpdateSprites3_1_Block_2 ; CPU:$C4D4 PRG:04D4 10 F7 + bpl Label_C4CD ; CPU:$C4D4 PRG:04D4 10 F7 rts ; CPU:$C4D6 PRG:04D6 60 ; ----------------------------------------------------------------------------- ; Routine: InitSprites_3 @@ -1032,7 +1036,7 @@ UpdateSprites3_1_Block_2: InitSprites_3: ldy #$17 ; CPU:$C4D7 PRG:04D7 A0 17 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_3_Block +; Routine: Label_C4D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1040,16 +1044,16 @@ InitSprites_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_3_Block: +Label_C4D9: lda #$00 ; CPU:$C4D9 PRG:04D9 A9 00 sta $04C0,y ; CPU:$C4DB PRG:04DB 99 C0 04 lda #$FF ; CPU:$C4DE PRG:04DE A9 FF sta $05C0,y ; CPU:$C4E0 PRG:04E0 99 C0 05 dey ; CPU:$C4E3 PRG:04E3 88 - bpl InitSprites_3_Block ; CPU:$C4E4 PRG:04E4 10 F3 + bpl Label_C4D9 ; CPU:$C4E4 PRG:04E4 10 F3 ldy #$01 ; CPU:$C4E6 PRG:04E6 A0 01 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_3_Block_2 +; Routine: Label_C4E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1057,15 +1061,15 @@ InitSprites_3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_3_Block_2: +Label_C4E8: sta $04C3,y ; CPU:$C4E8 PRG:04E8 99 C3 04 sta $04CB,y ; CPU:$C4EB PRG:04EB 99 CB 04 sta $04D3,y ; CPU:$C4EE PRG:04EE 99 D3 04 dey ; CPU:$C4F1 PRG:04F1 88 - bpl InitSprites_3_Block_2 ; CPU:$C4F2 PRG:04F2 10 F4 + bpl Label_C4E8 ; CPU:$C4F2 PRG:04F2 10 F4 ldx #$00 ; CPU:$C4F4 PRG:04F4 A2 00 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_3_Block_4 +; Routine: Label_C4F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1073,16 +1077,16 @@ InitSprites_3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_3_Block_4: +Label_C4F6: lda #$00 ; CPU:$C4F6 PRG:04F6 A9 00 sta $0430,x ; CPU:$C4F8 PRG:04F8 9D 30 04 sta $0447,x ; CPU:$C4FB PRG:04FB 9D 47 04 cpx #$48 ; CPU:$C4FE PRG:04FE E0 48 - bcc InitSprites_3_Block_3 ; CPU:$C500 PRG:0500 90 06 + bcc Label_C508 ; CPU:$C500 PRG:0500 90 06 sta $0431,x ; CPU:$C502 PRG:0502 9D 31 04 sta $0446,x ; CPU:$C505 PRG:0505 9D 46 04 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_3_Block_3 +; Routine: Label_C508 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1090,18 +1094,19 @@ InitSprites_3_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_3_Block_3: +Label_C508: txa ; CPU:$C508 PRG:0508 8A clc ; CPU:$C509 PRG:0509 18 adc #$18 ; CPU:$C50A PRG:050A 69 18 tax ; CPU:$C50C PRG:050C AA cpx #$90 ; CPU:$C50D PRG:050D E0 90 - bcc InitSprites_3_Block_4 ; CPU:$C50F PRG:050F 90 E5 + bcc Label_C4F6 ; CPU:$C50F PRG:050F 90 E5 rts ; CPU:$C511 PRG:0511 60 ; ---- data $C512-$C541 (48 bytes) ---- ; referenced by `lda $C512,y` at $C55A (operand $C512 falls inside this region) ; referenced by `lda $C513,y` at $C55F (operand $C513 falls inside this region) ; referenced by `lda $C514,y` at $C564 (operand $C514 falls inside this region) + SpriteInitTable: ; Sprite initialization table (InitSprites_3/UpdateSprites_3) .byte $00, $00, $00, $FF, $FF, $FF, $F3, $E7, $CF, $33, $33, $33, $0F, $0F, $0F, $33 ; CPU:$C512 PRG:0512 00 00 00 FF FF FF F3 E7 CF 33 33 33 0F 0F 0F 33 .byte $00, $CC, $FF, $0F, $FF, $C3, $FC, $3F, $F0, $F0, $F0, $F0, $00, $0F, $CF, $CF ; CPU:$C522 PRG:0522 00 CC FF 0F FF C3 FC 3F F0 F0 F0 F0 00 0F CF CF .byte $3F, $F0, $00, $FF, $CC, $CC, $CC, $F3, $33, $00, $FC, $FC, $FF, $FC, $00, $3F ; CPU:$C532 PRG:0532 3F F0 00 FF CC CC CC F3 33 00 FC FC FF FC 00 3F @@ -1124,7 +1129,7 @@ UpdateSprites_3: sta Zp0E ; CPU:$C54F PRG:054F 85 0E ldx #$07 ; CPU:$C551 PRG:0551 A2 07 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block +; Routine: Label_C553 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1132,28 +1137,28 @@ UpdateSprites_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block: +Label_C553: lda Zp04,x ; CPU:$C553 PRG:0553 B5 04 asl a ; CPU:$C555 PRG:0555 0A clc ; CPU:$C556 PRG:0556 18 adc Zp04,x ; CPU:$C557 PRG:0557 75 04 tay ; CPU:$C559 PRG:0559 A8 lda $C512,y ; CPU:$C55A PRG:055A B9 12 C5 - sta Zp00 ; CPU:$C55D PRG:055D 85 00 + sta PtrLo ; CPU:$C55D PRG:055D 85 00 lda $C513,y ; CPU:$C55F PRG:055F B9 13 C5 - sta Zp01 ; CPU:$C562 PRG:0562 85 01 + sta PtrHi ; CPU:$C562 PRG:0562 85 01 lda $C514,y ; CPU:$C564 PRG:0564 B9 14 C5 - sta Zp02 ; CPU:$C567 PRG:0567 85 02 + sta Ptr2Lo ; CPU:$C567 PRG:0567 85 02 ldy Zp0C ; CPU:$C569 PRG:0569 A4 0C lda #$01 ; CPU:$C56B PRG:056B A9 01 sta Zp1F ; CPU:$C56D PRG:056D 85 1F jsr $C5D3 ; CPU:$C56F PRG:056F 20 D3 C5 sty Zp0C ; CPU:$C572 PRG:0572 84 0C dex ; CPU:$C574 PRG:0574 CA - bpl UpdateSprites_3_Block ; CPU:$C575 PRG:0575 10 DC + bpl Label_C553 ; CPU:$C575 PRG:0575 10 DC ldx #$C0 ; CPU:$C577 PRG:0577 A2 C0 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_7 +; Routine: Label_C579 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1161,13 +1166,13 @@ UpdateSprites_3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_7: +Label_C579: lda #$00 ; CPU:$C579 PRG:0579 A9 00 asl $0785 ; CPU:$C57B PRG:057B 0E 85 07 - bcs UpdateSprites_3_Block_2 ; CPU:$C57E PRG:057E B0 02 + bcs Label_C582 ; CPU:$C57E PRG:057E B0 02 lda #$01 ; CPU:$C580 PRG:0580 A9 01 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_2 +; Routine: Label_C582 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1175,11 +1180,11 @@ UpdateSprites_3_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_2: - sta Zp00 ; CPU:$C582 PRG:0582 85 00 +Label_C582: + sta PtrLo ; CPU:$C582 PRG:0582 85 00 ldy #$18 ; CPU:$C584 PRG:0584 A0 18 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_6 +; Routine: Label_C586 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1187,14 +1192,14 @@ UpdateSprites_3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_6: +Label_C586: lda $03FF,x ; CPU:$C586 PRG:0586 BD FF 03 - bmi UpdateSprites_3_Block_3 ; CPU:$C589 PRG:0589 30 07 - lda Zp00 ; CPU:$C58B PRG:058B A5 00 + bmi Label_C592 ; CPU:$C589 PRG:0589 30 07 + lda PtrLo ; CPU:$C58B PRG:058B A5 00 sta $03FF,x ; CPU:$C58D PRG:058D 9D FF 03 - bne UpdateSprites_3_Block_4 ; CPU:$C590 PRG:0590 D0 05 + bne Label_C597 ; CPU:$C590 PRG:0590 D0 05 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_3 +; Routine: Label_C592 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1202,11 +1207,11 @@ UpdateSprites_3_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_3: +Label_C592: lda #$FF ; CPU:$C592 PRG:0592 A9 FF sta $04FF,x ; CPU:$C594 PRG:0594 9D FF 04 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_4 +; Routine: Label_C597 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1214,13 +1219,13 @@ UpdateSprites_3_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_4: +Label_C597: dex ; CPU:$C597 PRG:0597 CA - beq UpdateSprites_3_Block_5 ; CPU:$C598 PRG:0598 F0 38 + beq Label_C5D2 ; CPU:$C598 PRG:0598 F0 38 dey ; CPU:$C59A PRG:059A 88 - bne UpdateSprites_3_Block_6 ; CPU:$C59B PRG:059B D0 E9 - beq UpdateSprites_3_Block_7 ; CPU:$C59D PRG:059D F0 DA - beq UpdateSprites2_5_Block ; CPU:$C59F PRG:059F F0 0F + bne Label_C586 ; CPU:$C59B PRG:059B D0 E9 + beq Label_C579 ; CPU:$C59D PRG:059D F0 DA + beq Label_C5B0 ; CPU:$C59F PRG:059F F0 0F ; ---- data $C5A1-$C5A6 (6 bytes) ---- .byte $E7, $3C, $FC, $3F, $CF, $E3 ; CPU:$C5A1 PRG:05A1 E7 3C FC 3F CF E3 ; ----------------------------------------------------------------------------- @@ -1235,7 +1240,7 @@ UpdateSprites_3_Block_4: UpdateSprites2_5: ldy #$D7 ; CPU:$C5A7 PRG:05A7 A0 D7 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_5_Block_2 +; Routine: Label_C5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1243,13 +1248,13 @@ UpdateSprites2_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_5_Block_2: +Label_C5A9: tya ; CPU:$C5A9 PRG:05A9 98 pha ; CPU:$C5AA PRG:05AA 48 jsr $CACE ; CPU:$C5AB PRG:05AB 20 CE CA ldx #$02 ; CPU:$C5AE PRG:05AE A2 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_5_Block +; Routine: Label_C5B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1257,14 +1262,14 @@ UpdateSprites2_5_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_5_Block: +Label_C5B0: lda Zp18,x ; CPU:$C5B0 PRG:05B0 B5 18 and #$07 ; CPU:$C5B2 PRG:05B2 29 07 tay ; CPU:$C5B4 PRG:05B4 A8 lda $C59F,y ; CPU:$C5B5 PRG:05B5 B9 9F C5 - sta Zp00,x ; CPU:$C5B8 PRG:05B8 95 00 + sta PtrLo,x ; CPU:$C5B8 PRG:05B8 95 00 dex ; CPU:$C5BA PRG:05BA CA - bpl UpdateSprites2_5_Block ; CPU:$C5BB PRG:05BB 10 F3 + bpl Label_C5B0 ; CPU:$C5BB PRG:05BB 10 F3 pla ; CPU:$C5BD PRG:05BD 68 tay ; CPU:$C5BE PRG:05BE A8 lda #$00 ; CPU:$C5BF PRG:05BF A9 00 @@ -1273,7 +1278,7 @@ UpdateSprites2_5_Block: sta Zp0E ; CPU:$C5C5 PRG:05C5 85 0E lda #$00 ; CPU:$C5C7 PRG:05C7 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCC5C9 +; Routine: Label_C5C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1281,13 +1286,13 @@ UpdateSprites2_5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC5C9: +Label_C5C9: sta Zp1F ; CPU:$C5C9 PRG:05C9 85 1F jsr $C5D3 ; CPU:$C5CB PRG:05CB 20 D3 C5 cpy #$FF ; CPU:$C5CE PRG:05CE C0 FF - bne UpdateSprites2_5_Block_2 ; CPU:$C5D0 PRG:05D0 D0 D7 + bne Label_C5A9 ; CPU:$C5D0 PRG:05D0 D0 D7 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_3_Block_5 +; Routine: Label_C5D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1295,7 +1300,7 @@ SubCC5C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_3_Block_5: +Label_C5D2: rts ; CPU:$C5D2 PRG:05D2 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3_3 @@ -1312,7 +1317,7 @@ UpdateSprites3_3: lda #$18 ; CPU:$C5D7 PRG:05D7 A9 18 sta Zp03 ; CPU:$C5D9 PRG:05D9 85 03 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block_6 +; Routine: Label_C5DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1320,20 +1325,20 @@ UpdateSprites3_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block_6: - lsr Zp00 ; CPU:$C5DB PRG:05DB 46 00 - ror Zp01 ; CPU:$C5DD PRG:05DD 66 01 - ror Zp02 ; CPU:$C5DF PRG:05DF 66 02 +Label_C5DB: + lsr PtrLo ; CPU:$C5DB PRG:05DB 46 00 + ror PtrHi ; CPU:$C5DD PRG:05DD 66 01 + ror Ptr2Lo ; CPU:$C5DF PRG:05DF 66 02 php ; CPU:$C5E1 PRG:05E1 08 lda Zp1F ; CPU:$C5E2 PRG:05E2 A5 1F - bne UpdateSprites3_3_Block ; CPU:$C5E4 PRG:05E4 D0 07 + bne Label_C5ED ; CPU:$C5E4 PRG:05E4 D0 07 lda Zp0F ; CPU:$C5E6 PRG:05E6 A5 0F - beq UpdateSprites3_3_Block_2 ; CPU:$C5E8 PRG:05E8 F0 05 + beq Label_C5EF ; CPU:$C5E8 PRG:05E8 F0 05 lda #$01 ; CPU:$C5EA PRG:05EA A9 01 ; ---- data $C5EC-$C5EC (1 bytes) ---- .byte $2C ; CPU:$C5EC PRG:05EC 2C ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block +; Routine: Label_C5ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1341,10 +1346,10 @@ UpdateSprites3_3_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block: +Label_C5ED: lda #$00 ; CPU:$C5ED PRG:05ED A9 00 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block_2 +; Routine: Label_C5EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1352,16 +1357,16 @@ UpdateSprites3_3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block_2: +Label_C5EF: rol a ; CPU:$C5EF PRG:05EF 2A - beq UpdateSprites3_3_Block_3 ; CPU:$C5F0 PRG:05F0 F0 0A + beq Label_C5FC ; CPU:$C5F0 PRG:05F0 F0 0A cmp #$03 ; CPU:$C5F2 PRG:05F2 C9 03 - bcs UpdateSprites3_3_Block_4 ; CPU:$C5F4 PRG:05F4 B0 03 + bcs Label_C5F9 ; CPU:$C5F4 PRG:05F4 B0 03 lda #$02 ; CPU:$C5F6 PRG:05F6 A9 02 ; ---- data $C5F8-$C5F8 (1 bytes) ---- .byte $2C ; CPU:$C5F8 PRG:05F8 2C ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block_4 +; Routine: Label_C5F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1369,12 +1374,12 @@ UpdateSprites3_3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block_4: +Label_C5F9: lda #$01 ; CPU:$C5F9 PRG:05F9 A9 01 ; ---- data $C5FB-$C5FB (1 bytes) ---- .byte $2C ; CPU:$C5FB PRG:05FB 2C ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block_3 +; Routine: Label_C5FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1382,17 +1387,17 @@ UpdateSprites3_3_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block_3: +Label_C5FC: lda #$FF ; CPU:$C5FC PRG:05FC A9 FF sta (Zp0D),y ; CPU:$C5FE PRG:05FE 91 0D plp ; CPU:$C600 PRG:0600 28 - bcs UpdateSprites3_3_Block_5 ; CPU:$C601 PRG:0601 B0 05 + bcs Label_C608 ; CPU:$C601 PRG:0601 B0 05 lda #$00 ; CPU:$C603 PRG:0603 A9 00 sta Zp0F ; CPU:$C605 PRG:0605 85 0F ; ---- data $C607-$C607 (1 bytes) ---- .byte $2C ; CPU:$C607 PRG:0607 2C ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_3_Block_5 +; Routine: Label_C608 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1400,13 +1405,13 @@ UpdateSprites3_3_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_3_Block_5: +Label_C608: inc Zp0F ; CPU:$C608 PRG:0608 E6 0F dey ; CPU:$C60A PRG:060A 88 dec Zp03 ; CPU:$C60B PRG:060B C6 03 - bne UpdateSprites3_3_Block_6 ; CPU:$C60D PRG:060D D0 CC + bne Label_C5DB ; CPU:$C60D PRG:060D D0 CC ; ----------------------------------------------------------------------------- -; Routine: CheckZp14_Block_3 +; Routine: Label_C60F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1414,7 +1419,7 @@ UpdateSprites3_3_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp14_Block_3: +Label_C60F: rts ; CPU:$C60F PRG:060F 60 ; ---- data $C610-$C61F (16 bytes) ---- ; referenced by `lda $C610,x` at $C650 (operand $C610 falls inside this region) @@ -1431,9 +1436,9 @@ CheckZp14_Block_3: CheckZp14: lda Zp14 ; CPU:$C620 PRG:0620 A5 14 and #$30 ; CPU:$C622 PRG:0622 29 30 - beq CheckZp14_Block ; CPU:$C624 PRG:0624 F0 14 + beq Label_C63A ; CPU:$C624 PRG:0624 F0 14 ; ----------------------------------------------------------------------------- -; Routine: CheckZp14_Block_4 +; Routine: Label_C626 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1441,7 +1446,7 @@ CheckZp14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp14_Block_4: +Label_C626: lda $03FE ; CPU:$C626 PRG:0626 AD FE 03 sta Zp59 ; CPU:$C629 PRG:0629 85 59 lda #$0F ; CPU:$C62B PRG:062B A9 0F @@ -1451,7 +1456,7 @@ CheckZp14_Block_4: inc $03FD ; CPU:$C634 PRG:0634 EE FD 03 jmp $D4F5 ; CPU:$C637 PRG:0637 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: CheckZp14_Block +; Routine: Label_C63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1459,28 +1464,28 @@ CheckZp14_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp14_Block: - lda Zp55 ; CPU:$C63A PRG:063A A5 55 +Label_C63A: + lda ZpCheckZp14 ; CPU:$C63A PRG:063A A5 55 cmp #$01 ; CPU:$C63C PRG:063C C9 01 - bne CheckZp14_Block_3 ; CPU:$C63E PRG:063E D0 CF + bne Label_C60F ; CPU:$C63E PRG:063E D0 CF lda Zp51 ; CPU:$C640 PRG:0640 A5 51 - beq CheckZp14_Block_3 ; CPU:$C642 PRG:0642 F0 CB + beq Label_C60F ; CPU:$C642 PRG:0642 F0 CB lda Zp66 ; CPU:$C644 PRG:0644 A5 66 cmp #$D4 ; CPU:$C646 PRG:0646 C9 D4 - bcs CheckZp14_Block_4 ; CPU:$C648 PRG:0648 B0 DC + bcs Label_C626 ; CPU:$C648 PRG:0648 B0 DC lda $03FA ; CPU:$C64A PRG:064A AD FA 03 and #$0F ; CPU:$C64D PRG:064D 29 0F tax ; CPU:$C64F PRG:064F AA lda $C610,x ; CPU:$C650 PRG:0650 BD 10 C6 ldy $C60F,x ; CPU:$C653 PRG:0653 BC 0F C6 ldx $03FB ; CPU:$C656 PRG:0656 AE FB 03 - bne CheckZp14_Block_5 ; CPU:$C659 PRG:0659 D0 09 + bne Label_C664 ; CPU:$C659 PRG:0659 D0 09 tay ; CPU:$C65B PRG:065B A8 and #$F0 ; CPU:$C65C PRG:065C 29 F0 sta $03FB ; CPU:$C65E PRG:065E 8D FB 03 inc $03FA ; CPU:$C661 PRG:0661 EE FA 03 ; ----------------------------------------------------------------------------- -; Routine: CheckZp14_Block_5 +; Routine: Label_C664 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1488,7 +1493,7 @@ CheckZp14_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp14_Block_5: +Label_C664: tya ; CPU:$C664 PRG:0664 98 and #$0F ; CPU:$C665 PRG:0665 29 0F sta Zp14 ; CPU:$C667 PRG:0667 85 14 @@ -1503,10 +1508,10 @@ CheckZp14_Block_5: sta Zp15 ; CPU:$C674 PRG:0674 85 15 lda Zp50 ; CPU:$C676 PRG:0676 A5 50 and #$01 ; CPU:$C678 PRG:0678 29 01 - bne CheckZp14_Block_6 ; CPU:$C67A PRG:067A D0 03 + bne Label_C67F ; CPU:$C67A PRG:067A D0 03 dec $03FB ; CPU:$C67C PRG:067C CE FB 03 ; ----------------------------------------------------------------------------- -; Routine: CheckZp14_Block_6 +; Routine: Label_C67F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1514,7 +1519,7 @@ CheckZp14_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -CheckZp14_Block_6: +Label_C67F: rts ; CPU:$C67F PRG:067F 60 ; ---- data $C680-$C6FA (123 bytes) ---- ; referenced by `lda $C6F9,x` at $C6FE (operand $C6F9 falls inside this region) @@ -1522,6 +1527,7 @@ CheckZp14_Block_6: ; referenced by `lda $C680,y` at $C8FC (operand $C680 falls inside this region) ; referenced by `lda $C680,y` at $C906 (operand $C680 falls inside this region) ; referenced by `lda $C680,y` at $C910 (operand $C680 falls inside this region) + CheckZp14_Data: ; CheckZp14 routine data .byte $22, $CD, $05, $00, $23, $06, $05, $00, $23, $14, $05, $00, $28, $C3, $04, $00 ; CPU:$C680 PRG:0680 22 CD 05 00 23 06 05 00 23 14 05 00 28 C3 04 00 .byte $20, $C3, $04, $00, $3F, $00, $20, $0F, $30, $21, $01, $0F, $26, $2A, $30, $0F ; CPU:$C690 PRG:0690 20 C3 04 00 3F 00 20 0F 30 21 01 0F 26 2A 30 0F .byte $38, $29, $0A, $0F, $27, $17, $07, $0F, $30, $11, $26, $0F, $30, $15, $26, $0F ; CPU:$C6A0 PRG:06A0 38 29 0A 0F 27 17 07 0F 30 11 26 0F 30 15 26 0F @@ -1547,13 +1553,13 @@ UpdateSprites3_4: sta PPUADDR ; CPU:$C707 PRG:0707 8D 06 20 lda PPUDATA ; CPU:$C70A PRG:070A AD 07 20 lda #$00 ; CPU:$C70D PRG:070D A9 00 - sta Zp00 ; CPU:$C70F PRG:070F 85 00 + sta PtrLo ; CPU:$C70F PRG:070F 85 00 tay ; CPU:$C711 PRG:0711 A8 lda #$04 ; CPU:$C712 PRG:0712 A9 04 - sta Zp01 ; CPU:$C714 PRG:0714 85 01 + sta PtrHi ; CPU:$C714 PRG:0714 85 01 ldx #$02 ; CPU:$C716 PRG:0716 A2 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_4_Block_2 +; Routine: Label_C718 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1561,14 +1567,14 @@ UpdateSprites3_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_4_Block_2: +Label_C718: lda PPUDATA ; CPU:$C718 PRG:0718 AD 07 20 - sta (Zp00),y ; CPU:$C71B PRG:071B 91 00 + sta (PtrLo),y ; CPU:$C71B PRG:071B 91 00 iny ; CPU:$C71D PRG:071D C8 - bne UpdateSprites3_4_Block_2 ; CPU:$C71E PRG:071E D0 F8 - inc Zp01 ; CPU:$C720 PRG:0720 E6 01 + bne Label_C718 ; CPU:$C71E PRG:071E D0 F8 + inc PtrHi ; CPU:$C720 PRG:0720 E6 01 dex ; CPU:$C722 PRG:0722 CA - bne UpdateSprites3_4_Block_2 ; CPU:$C723 PRG:0723 D0 F3 + bne Label_C718 ; CPU:$C723 PRG:0723 D0 F3 rts ; CPU:$C725 PRG:0725 60 ; ----------------------------------------------------------------------------- ; Routine: CheckZp55 @@ -1580,7 +1586,7 @@ UpdateSprites3_4_Block_2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckZp55: - lda Zp55 ; CPU:$C726 PRG:0726 A5 55 + lda ZpCheckZp14 ; CPU:$C726 PRG:0726 A5 55 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1594,16 +1600,16 @@ UpdateSprites2_7: asl a ; CPU:$C728 PRG:0728 0A tay ; CPU:$C729 PRG:0729 A8 pla ; CPU:$C72A PRG:072A 68 - sta Zp00 ; CPU:$C72B PRG:072B 85 00 + sta PtrLo ; CPU:$C72B PRG:072B 85 00 pla ; CPU:$C72D PRG:072D 68 - sta Zp01 ; CPU:$C72E PRG:072E 85 01 + sta PtrHi ; CPU:$C72E PRG:072E 85 01 iny ; CPU:$C730 PRG:0730 C8 - lda (Zp00),y ; CPU:$C731 PRG:0731 B1 00 - sta Zp02 ; CPU:$C733 PRG:0733 85 02 + lda (PtrLo),y ; CPU:$C731 PRG:0731 B1 00 + sta Ptr2Lo ; CPU:$C733 PRG:0733 85 02 iny ; CPU:$C735 PRG:0735 C8 - lda (Zp00),y ; CPU:$C736 PRG:0736 B1 00 + lda (PtrLo),y ; CPU:$C736 PRG:0736 B1 00 sta Zp03 ; CPU:$C738 PRG:0738 85 03 - jmp (Zp02) ; CPU:$C73A PRG:073A 6C 02 00 + jmp (Ptr2Lo) ; CPU:$C73A PRG:073A 6C 02 00 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3_5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1634,7 +1640,7 @@ UpdateSprites3_5: lda #$00 ; CPU:$C756 PRG:0756 A9 00 clc ; CPU:$C758 PRG:0758 18 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_5_Block +; Routine: Label_C759 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1642,20 +1648,20 @@ UpdateSprites3_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_5_Block: +Label_C759: adc Zp07 ; CPU:$C759 PRG:0759 65 07 dex ; CPU:$C75B PRG:075B CA - bne UpdateSprites3_5_Block ; CPU:$C75C PRG:075C D0 FB + bne Label_C759 ; CPU:$C75C PRG:075C D0 FB sta Zp08 ; CPU:$C75E PRG:075E 85 08 tax ; CPU:$C760 PRG:0760 AA lda Zp0E ; CPU:$C761 PRG:0761 A5 0E - beq UpdateSprites3_5_Block_3 ; CPU:$C763 PRG:0763 F0 0A + beq Label_C76F ; CPU:$C763 PRG:0763 F0 0A jsr $C777 ; CPU:$C765 PRG:0765 20 77 C7 lda Zp0F ; CPU:$C768 PRG:0768 A5 0F - beq UpdateSprites3_5_Block_3 ; CPU:$C76A PRG:076A F0 03 + beq Label_C76F ; CPU:$C76A PRG:076A F0 03 jsr $C7C1 ; CPU:$C76C PRG:076C 20 C1 C7 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites3_5_Block_3 +; Routine: Label_C76F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1663,7 +1669,7 @@ UpdateSprites3_5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites3_5_Block_3: +Label_C76F: jsr $C7F5 ; CPU:$C76F PRG:076F 20 F5 C7 pla ; CPU:$C772 PRG:0772 68 tay ; CPU:$C773 PRG:0773 A8 @@ -1680,10 +1686,10 @@ UpdateSprites3_5_Block_3: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites4_1: - lda Zp02 ; CPU:$C777 PRG:0777 A5 02 + lda Ptr2Lo ; CPU:$C777 PRG:0777 A5 02 ldy #$01 ; CPU:$C779 PRG:0779 A0 01 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_1_Block_5 +; Routine: Label_C77B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1691,7 +1697,7 @@ UpdateSprites4_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_1_Block_5: +Label_C77B: sta (Zp04),y ; CPU:$C77B PRG:077B 91 04 clc ; CPU:$C77D PRG:077D 18 adc #$01 ; CPU:$C77E PRG:077E 69 01 @@ -1706,18 +1712,18 @@ UpdateSprites4_1_Block_5: and #$03 ; CPU:$C78C PRG:078C 29 03 ldx Zp09 ; CPU:$C78E PRG:078E A6 09 cpx #$03 ; CPU:$C790 PRG:0790 E0 03 - bmi UpdateSprites4_1_Block_4 ; CPU:$C792 PRG:0792 30 11 + bmi Label_C7A5 ; CPU:$C792 PRG:0792 30 11 cpx #$18 ; CPU:$C794 PRG:0794 E0 18 - bcs UpdateSprites4_1_Block_4 ; CPU:$C796 PRG:0796 B0 0D - ldx Zp55 ; CPU:$C798 PRG:0798 A6 55 + bcs Label_C7A5 ; CPU:$C796 PRG:0796 B0 0D + ldx ZpCheckZp14 ; CPU:$C798 PRG:0798 A6 55 dex ; CPU:$C79A PRG:079A CA - bne UpdateSprites4_1_Block_4 ; CPU:$C79B PRG:079B D0 08 + bne Label_C7A5 ; CPU:$C79B PRG:079B D0 08 ldx Zp09 ; CPU:$C79D PRG:079D A6 09 cpx #$03 ; CPU:$C79F PRG:079F E0 03 - beq UpdateSprites4_1_Block_4 ; CPU:$C7A1 PRG:07A1 F0 02 + beq Label_C7A5 ; CPU:$C7A1 PRG:07A1 F0 02 ora #$20 ; CPU:$C7A3 PRG:07A3 09 20 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_1_Block_4 +; Routine: Label_C7A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1725,7 +1731,7 @@ UpdateSprites4_1_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_1_Block_4: +Label_C7A5: sta (Zp04),y ; CPU:$C7A5 PRG:07A5 91 04 pla ; CPU:$C7A7 PRG:07A7 68 tax ; CPU:$C7A8 PRG:07A8 AA @@ -1742,7 +1748,7 @@ UpdateSprites4_1_Block_4: iny ; CPU:$C7BB PRG:07BB C8 iny ; CPU:$C7BC PRG:07BC C8 dex ; CPU:$C7BD PRG:07BD CA - bne UpdateSprites4_1_Block_5 ; CPU:$C7BE PRG:07BE D0 BB + bne Label_C77B ; CPU:$C7BE PRG:07BE D0 BB rts ; CPU:$C7C0 PRG:07C0 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites4_3 @@ -1757,7 +1763,7 @@ UpdateSprites4_3: ldy #$01 ; CPU:$C7C1 PRG:07C1 A0 01 sty Zp0A ; CPU:$C7C3 PRG:07C3 84 0A ; ----------------------------------------------------------------------------- -; Routine: SubCC7C5 +; Routine: Label_C7C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1765,12 +1771,12 @@ UpdateSprites4_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC7C5: +Label_C7C5: lda Zp08 ; CPU:$C7C5 PRG:07C5 A5 08 sec ; CPU:$C7C7 PRG:07C7 38 sbc Zp06 ; CPU:$C7C8 PRG:07C8 E5 06 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_3_Block_2 +; Routine: Label_C7CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1778,12 +1784,12 @@ SubCC7C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_3_Block_2: +Label_C7CA: tay ; CPU:$C7CA PRG:07CA A8 sta Zp0B ; CPU:$C7CB PRG:07CB 85 0B ldx Zp06 ; CPU:$C7CD PRG:07CD A6 06 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_3_Block +; Routine: Label_C7CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1791,12 +1797,12 @@ UpdateSprites4_3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_3_Block: +Label_C7CF: tya ; CPU:$C7CF PRG:07CF 98 pha ; CPU:$C7D0 PRG:07D0 48 clc ; CPU:$C7D1 PRG:07D1 18 tya ; CPU:$C7D2 PRG:07D2 98 - adc Zp02 ; CPU:$C7D3 PRG:07D3 65 02 + adc Ptr2Lo ; CPU:$C7D3 PRG:07D3 65 02 ldy Zp0A ; CPU:$C7D5 PRG:07D5 A4 0A sta (Zp04),y ; CPU:$C7D7 PRG:07D7 91 04 iny ; CPU:$C7D9 PRG:07D9 C8 @@ -1812,11 +1818,11 @@ UpdateSprites4_3_Block: tay ; CPU:$C7E8 PRG:07E8 A8 iny ; CPU:$C7E9 PRG:07E9 C8 dex ; CPU:$C7EA PRG:07EA CA - bne UpdateSprites4_3_Block ; CPU:$C7EB PRG:07EB D0 E2 + bne Label_C7CF ; CPU:$C7EB PRG:07EB D0 E2 lda Zp0B ; CPU:$C7ED PRG:07ED A5 0B sec ; CPU:$C7EF PRG:07EF 38 sbc Zp06 ; CPU:$C7F0 PRG:07F0 E5 06 - bpl UpdateSprites4_3_Block_2 ; CPU:$C7F2 PRG:07F2 10 D6 + bpl Label_C7CA ; CPU:$C7F2 PRG:07F2 10 D6 rts ; CPU:$C7F4 PRG:07F4 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites4_4 @@ -1830,7 +1836,7 @@ UpdateSprites4_3_Block: UpdateSprites4_4: ldy #$00 ; CPU:$C7F5 PRG:07F5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_4_Block_2 +; Routine: Label_C7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1838,12 +1844,12 @@ UpdateSprites4_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_4_Block_2: +Label_C7F7: ldx Zp06 ; CPU:$C7F7 PRG:07F7 A6 06 - lda Zp01 ; CPU:$C7F9 PRG:07F9 A5 01 + lda PtrHi ; CPU:$C7F9 PRG:07F9 A5 01 sta Zp09 ; CPU:$C7FB PRG:07FB 85 09 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_4_Block +; Routine: Label_C7FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1851,7 +1857,7 @@ UpdateSprites4_4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_4_Block: +Label_C7FD: lda Zp09 ; CPU:$C7FD PRG:07FD A5 09 sta (Zp04),y ; CPU:$C7FF PRG:07FF 91 04 clc ; CPU:$C801 PRG:0801 18 @@ -1860,14 +1866,14 @@ UpdateSprites4_4_Block: iny ; CPU:$C806 PRG:0806 C8 iny ; CPU:$C807 PRG:0807 C8 iny ; CPU:$C808 PRG:0808 C8 - lda Zp00 ; CPU:$C809 PRG:0809 A5 00 + lda PtrLo ; CPU:$C809 PRG:0809 A5 00 sta (Zp04),y ; CPU:$C80B PRG:080B 91 04 iny ; CPU:$C80D PRG:080D C8 dex ; CPU:$C80E PRG:080E CA - bne UpdateSprites4_4_Block ; CPU:$C80F PRG:080F D0 EC - lda Zp00 ; CPU:$C811 PRG:0811 A5 00 + bne Label_C7FD ; CPU:$C80F PRG:080F D0 EC + lda PtrLo ; CPU:$C811 PRG:0811 A5 00 ; ----------------------------------------------------------------------------- -; Routine: SubCC813 +; Routine: Label_C813 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1875,12 +1881,12 @@ UpdateSprites4_4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCC813: +Label_C813: clc ; CPU:$C813 PRG:0813 18 adc #$08 ; CPU:$C814 PRG:0814 69 08 - sta Zp00 ; CPU:$C816 PRG:0816 85 00 + sta PtrLo ; CPU:$C816 PRG:0816 85 00 dec Zp07 ; CPU:$C818 PRG:0818 C6 07 - bne UpdateSprites4_4_Block_2 ; CPU:$C81A PRG:081A D0 DB + bne Label_C7F7 ; CPU:$C81A PRG:081A D0 DB rts ; CPU:$C81C PRG:081C 60 ; ----------------------------------------------------------------------------- ; Routine: GameLoopEntry_5 @@ -1909,7 +1915,7 @@ InitGameState: sta Zp05 ; CPU:$C825 PRG:0825 85 05 ldy #$00 ; CPU:$C827 PRG:0827 A0 00 ; ----------------------------------------------------------------------------- -; Routine: InitGameState_Block +; Routine: Label_C829 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1917,7 +1923,7 @@ InitGameState: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitGameState_Block: +Label_C829: lda #$F8 ; CPU:$C829 PRG:0829 A9 F8 sta (Zp04),y ; CPU:$C82B PRG:082B 91 04 iny ; CPU:$C82D PRG:082D C8 @@ -1927,7 +1933,7 @@ InitGameState_Block: iny ; CPU:$C833 PRG:0833 C8 iny ; CPU:$C834 PRG:0834 C8 dex ; CPU:$C835 PRG:0835 CA - bne InitGameState_Block ; CPU:$C836 PRG:0836 D0 F1 + bne Label_C829 ; CPU:$C836 PRG:0836 D0 F1 rts ; CPU:$C838 PRG:0838 60 ; ---- data $C839-$C83C (4 bytes) ---- ; referenced by `adc $C839,y` at $C85D (operand $C839 falls inside this region) @@ -1945,7 +1951,7 @@ UpdateSprites2_8: stx Zp0F ; CPU:$C83D PRG:083D 86 0F tax ; CPU:$C83F PRG:083F AA lda ZpE0,x ; CPU:$C840 PRG:0840 B5 E0 - bne UpdateSprites2_8_Block ; CPU:$C842 PRG:0842 D0 0F + bne Label_C853 ; CPU:$C842 PRG:0842 D0 0F sta ZpE6,x ; CPU:$C844 PRG:0844 95 E6 lda #$08 ; CPU:$C846 PRG:0846 A9 08 sta ZpE8,x ; CPU:$C848 PRG:0848 95 E8 @@ -1954,7 +1960,7 @@ UpdateSprites2_8: inc ZpE0,x ; CPU:$C84E PRG:084E F6 E0 jmp $C868 ; CPU:$C850 PRG:0850 4C 68 C8 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_8_Block +; Routine: Label_C853 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1962,7 +1968,7 @@ UpdateSprites2_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_8_Block: +Label_C853: lda ZpE6,x ; CPU:$C853 PRG:0853 B5 E6 cmp #$08 ; CPU:$C855 PRG:0855 C9 08 bcs UpdateSprites2_9 ; CPU:$C857 PRG:0857 B0 0F @@ -1987,7 +1993,7 @@ UpdateSprites2_9: sec ; CPU:$C86A PRG:086A 38 sbc ZpE2,x ; CPU:$C86B PRG:086B F5 E2 sta ZpEA,x ; CPU:$C86D PRG:086D 95 EA - lda Zp01 ; CPU:$C86F PRG:086F A5 01 + lda PtrHi ; CPU:$C86F PRG:086F A5 01 sbc ZpE4,x ; CPU:$C871 PRG:0871 F5 E4 pha ; CPU:$C873 PRG:0873 48 clc ; CPU:$C874 PRG:0874 18 @@ -1996,7 +2002,7 @@ UpdateSprites2_9: sta ZpEA,x ; CPU:$C879 PRG:0879 95 EA pla ; CPU:$C87B PRG:087B 68 adc ZpE6,x ; CPU:$C87C PRG:087C 75 E6 - sta Zp01 ; CPU:$C87E PRG:087E 85 01 + sta PtrHi ; CPU:$C87E PRG:087E 85 01 ldx Zp0F ; CPU:$C880 PRG:0880 A6 0F rts ; CPU:$C882 PRG:0882 60 ; ----------------------------------------------------------------------------- @@ -2054,12 +2060,12 @@ UpdateSprites2_10: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites2_11: - sta Zp00 ; CPU:$C8A4 PRG:08A4 85 00 + sta PtrLo ; CPU:$C8A4 PRG:08A4 85 00 lda PPUSTATUS ; CPU:$C8A6 PRG:08A6 AD 02 20 - lda Zp10 ; CPU:$C8A9 PRG:08A9 A5 10 + lda VBlankTimer ; CPU:$C8A9 PRG:08A9 A5 10 and #$FB ; CPU:$C8AB PRG:08AB 29 FB sta PPUCTRL ; CPU:$C8AD PRG:08AD 8D 00 20 - lda Zp00 ; CPU:$C8B0 PRG:08B0 A5 00 + lda PtrLo ; CPU:$C8B0 PRG:08B0 A5 00 sta PPUADDR ; CPU:$C8B2 PRG:08B2 8D 06 20 lda #$00 ; CPU:$C8B5 PRG:08B5 A9 00 sta PPUADDR ; CPU:$C8B7 PRG:08B7 8D 06 20 @@ -2067,7 +2073,7 @@ UpdateSprites2_11: ldx #$04 ; CPU:$C8BB PRG:08BB A2 04 lda #$38 ; CPU:$C8BD PRG:08BD A9 38 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_11_Block_2 +; Routine: Label_C8BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2075,13 +2081,13 @@ UpdateSprites2_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_11_Block_2: +Label_C8BF: sta PPUDATA ; CPU:$C8BF PRG:08BF 8D 07 20 dey ; CPU:$C8C2 PRG:08C2 88 - bne UpdateSprites2_11_Block_2 ; CPU:$C8C3 PRG:08C3 D0 FA + bne Label_C8BF ; CPU:$C8C3 PRG:08C3 D0 FA dex ; CPU:$C8C5 PRG:08C5 CA - bne UpdateSprites2_11_Block_2 ; CPU:$C8C6 PRG:08C6 D0 F7 - lda Zp00 ; CPU:$C8C8 PRG:08C8 A5 00 + bne Label_C8BF ; CPU:$C8C6 PRG:08C6 D0 F7 + lda PtrLo ; CPU:$C8C8 PRG:08C8 A5 00 clc ; CPU:$C8CA PRG:08CA 18 adc #$03 ; CPU:$C8CB PRG:08CB 69 03 sta PPUADDR ; CPU:$C8CD PRG:08CD 8D 06 20 @@ -2090,7 +2096,7 @@ UpdateSprites2_11_Block_2: ldy #$40 ; CPU:$C8D5 PRG:08D5 A0 40 lda #$00 ; CPU:$C8D7 PRG:08D7 A9 00 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites2_11_Block_3 +; Routine: Label_C8D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2098,10 +2104,10 @@ UpdateSprites2_11_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites2_11_Block_3: +Label_C8D9: sta PPUDATA ; CPU:$C8D9 PRG:08D9 8D 07 20 dey ; CPU:$C8DC PRG:08DC 88 - bne UpdateSprites2_11_Block_3 ; CPU:$C8DD PRG:08DD D0 FA + bne Label_C8D9 ; CPU:$C8DD PRG:08DD D0 FA rts ; CPU:$C8DF PRG:08DF 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites3_6 @@ -2113,10 +2119,10 @@ UpdateSprites2_11_Block_3: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites3_6: - sta Zp00 ; CPU:$C8E0 PRG:08E0 85 00 - ldx Zp00 ; CPU:$C8E2 PRG:08E2 A6 00 + sta PtrLo ; CPU:$C8E0 PRG:08E0 85 00 + ldx PtrLo ; CPU:$C8E2 PRG:08E2 A6 00 jsr $C8EE ; CPU:$C8E4 PRG:08E4 20 EE C8 - lda Zp00 ; CPU:$C8E7 PRG:08E7 A5 00 + lda PtrLo ; CPU:$C8E7 PRG:08E7 A5 00 lsr a ; CPU:$C8E9 PRG:08E9 4A lsr a ; CPU:$C8EA PRG:08EA 4A lsr a ; CPU:$C8EB PRG:08EB 4A @@ -2136,7 +2142,7 @@ UpdateSprites4_5: txa ; CPU:$C8EF PRG:08EF 8A and #$0F ; CPU:$C8F0 PRG:08F0 29 0F cmp #$09 ; CPU:$C8F2 PRG:08F2 C9 09 - bcs UpdateSprites4_5_Block_2 ; CPU:$C8F4 PRG:08F4 B0 54 + bcs Label_C94A ; CPU:$C8F4 PRG:08F4 B0 54 asl a ; CPU:$C8F6 PRG:08F6 0A asl a ; CPU:$C8F7 PRG:08F7 0A tay ; CPU:$C8F8 PRG:08F8 A8 @@ -2152,10 +2158,10 @@ UpdateSprites4_5: lda $C680,y ; CPU:$C910 PRG:0910 B9 80 C6 and #$07 ; CPU:$C913 PRG:0913 29 07 sta $0301,x ; CPU:$C915 PRG:0915 9D 01 03 - sta Zp01 ; CPU:$C918 PRG:0918 85 01 + sta PtrHi ; CPU:$C918 PRG:0918 85 01 txa ; CPU:$C91A PRG:091A 8A sec ; CPU:$C91B PRG:091B 38 - adc Zp01 ; CPU:$C91C PRG:091C 65 01 + adc PtrHi ; CPU:$C91C PRG:091C 65 01 jsr $CB8E ; CPU:$C91E PRG:091E 20 8E CB tax ; CPU:$C921 PRG:0921 AA stx $0300 ; CPU:$C922 PRG:0922 8E 00 03 @@ -2163,7 +2169,7 @@ UpdateSprites4_5: sta $0301,x ; CPU:$C927 PRG:0927 9D 01 03 iny ; CPU:$C92A PRG:092A C8 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_5_Block_3 +; Routine: Label_C92B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2171,13 +2177,13 @@ UpdateSprites4_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_5_Block_3: +Label_C92B: dex ; CPU:$C92B PRG:092B CA lda $07EC,y ; CPU:$C92C PRG:092C B9 EC 07 and #$0F ; CPU:$C92F PRG:092F 29 0F sta $0301,x ; CPU:$C931 PRG:0931 9D 01 03 - dec Zp01 ; CPU:$C934 PRG:0934 C6 01 - beq UpdateSprites4_5_Block_2 ; CPU:$C936 PRG:0936 F0 12 + dec PtrHi ; CPU:$C934 PRG:0934 C6 01 + beq Label_C94A ; CPU:$C936 PRG:0936 F0 12 dex ; CPU:$C938 PRG:0938 CA lda $07EC,y ; CPU:$C939 PRG:0939 B9 EC 07 and #$F0 ; CPU:$C93C PRG:093C 29 F0 @@ -2187,10 +2193,10 @@ UpdateSprites4_5_Block_3: lsr a ; CPU:$C941 PRG:0941 4A sta $0301,x ; CPU:$C942 PRG:0942 9D 01 03 dey ; CPU:$C945 PRG:0945 88 - dec Zp01 ; CPU:$C946 PRG:0946 C6 01 - bne UpdateSprites4_5_Block_3 ; CPU:$C948 PRG:0948 D0 E1 + dec PtrHi ; CPU:$C946 PRG:0946 C6 01 + bne Label_C92B ; CPU:$C948 PRG:0948 D0 E1 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_5_Block_2 +; Routine: Label_C94A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2198,7 +2204,7 @@ UpdateSprites4_5_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_5_Block_2: +Label_C94A: rts ; CPU:$C94A PRG:094A 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites5_1 @@ -2212,18 +2218,18 @@ UpdateSprites4_5_Block_2: UpdateSprites5_1: ldx #$FF ; CPU:$C94B PRG:094B A2 FF bit a:$00A2 ; CPU:$C94D PRG:094D 2C A2 00 - sta Zp00 ; CPU:$C950 PRG:0950 85 00 + sta PtrLo ; CPU:$C950 PRG:0950 85 00 stx Zp04 ; CPU:$C952 PRG:0952 86 04 ldx #$00 ; CPU:$C954 PRG:0954 A2 00 stx Zp05 ; CPU:$C956 PRG:0956 86 05 stx Zp06 ; CPU:$C958 PRG:0958 86 06 stx Zp07 ; CPU:$C95A PRG:095A 86 07 - lda Zp01 ; CPU:$C95C PRG:095C A5 01 + lda PtrHi ; CPU:$C95C PRG:095C A5 01 and #$08 ; CPU:$C95E PRG:095E 29 08 - bne UpdateSprites5_1_Block ; CPU:$C960 PRG:0960 D0 01 + bne Label_C963 ; CPU:$C960 PRG:0960 D0 01 inx ; CPU:$C962 PRG:0962 E8 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block +; Routine: Label_C963 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2231,20 +2237,20 @@ UpdateSprites5_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block: - lda Zp00 ; CPU:$C963 PRG:0963 A5 00 +Label_C963: + lda PtrLo ; CPU:$C963 PRG:0963 A5 00 sta Zp06,x ; CPU:$C965 PRG:0965 95 06 - lda Zp01 ; CPU:$C967 PRG:0967 A5 01 + lda PtrHi ; CPU:$C967 PRG:0967 A5 01 and #$07 ; CPU:$C969 PRG:0969 29 07 asl a ; CPU:$C96B PRG:096B 0A asl a ; CPU:$C96C PRG:096C 0A tax ; CPU:$C96D PRG:096D AA lda Zp04 ; CPU:$C96E PRG:096E A5 04 - beq UpdateSprites5_1_Block_2 ; CPU:$C970 PRG:0970 F0 23 + beq Label_C995 ; CPU:$C970 PRG:0970 F0 23 lda $07F0,x ; CPU:$C972 PRG:0972 BD F0 07 - beq UpdateSprites5_1_Block_3 ; CPU:$C975 PRG:0975 F0 23 + beq Label_C99A ; CPU:$C975 PRG:0975 F0 23 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_4 +; Routine: Label_C977 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2252,7 +2258,7 @@ UpdateSprites5_1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_4: +Label_C977: clc ; CPU:$C977 PRG:0977 18 jsr $CA44 ; CPU:$C978 PRG:0978 20 44 CA jsr $C9D7 ; CPU:$C97B PRG:097B 20 D7 C9 @@ -2266,7 +2272,7 @@ UpdateSprites5_1_Block_4: jsr $C9D7 ; CPU:$C98F PRG:098F 20 D7 C9 jmp $CA40 ; CPU:$C992 PRG:0992 4C 40 CA ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_2 +; Routine: Label_C995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2274,11 +2280,11 @@ UpdateSprites5_1_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_2: +Label_C995: lda $07F0,x ; CPU:$C995 PRG:0995 BD F0 07 - beq UpdateSprites5_1_Block_4 ; CPU:$C998 PRG:0998 F0 DD + beq Label_C977 ; CPU:$C998 PRG:0998 F0 DD ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_3 +; Routine: Label_C99A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2286,7 +2292,7 @@ UpdateSprites5_1_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_3: +Label_C99A: sec ; CPU:$C99A PRG:099A 38 jsr $CA44 ; CPU:$C99B PRG:099B 20 44 CA jsr $CA29 ; CPU:$C99E PRG:099E 20 29 CA @@ -2296,13 +2302,13 @@ UpdateSprites5_1_Block_3: sta Zp03 ; CPU:$C9A8 PRG:09A8 85 03 lda Zp05 ; CPU:$C9AA PRG:09AA A5 05 jsr $CA3D ; CPU:$C9AC PRG:09AC 20 3D CA - bne UpdateSprites5_1_Block_6 ; CPU:$C9AF PRG:09AF D0 0A + bne Label_C9BB ; CPU:$C9AF PRG:09AF D0 0A lda $07F2,x ; CPU:$C9B1 PRG:09B1 BD F2 07 - bne UpdateSprites5_1_Block_6 ; CPU:$C9B4 PRG:09B4 D0 05 + bne Label_C9BB ; CPU:$C9B4 PRG:09B4 D0 05 lda $07F3,x ; CPU:$C9B6 PRG:09B6 BD F3 07 - beq UpdateSprites5_1_Block_7 ; CPU:$C9B9 PRG:09B9 F0 07 + beq Label_C9C2 ; CPU:$C9B9 PRG:09B9 F0 07 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_6 +; Routine: Label_C9BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2310,12 +2316,12 @@ UpdateSprites5_1_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_6: - bcs UpdateSprites5_1_Block_8 ; CPU:$C9BB PRG:09BB B0 19 +Label_C9BB: + bcs Label_C9D6 ; CPU:$C9BB PRG:09BB B0 19 lda $07F0,x ; CPU:$C9BD PRG:09BD BD F0 07 eor #$FF ; CPU:$C9C0 PRG:09C0 49 FF ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_7 +; Routine: Label_C9C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2323,7 +2329,7 @@ UpdateSprites5_1_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_7: +Label_C9C2: sta $07F0,x ; CPU:$C9C2 PRG:09C2 9D F0 07 sec ; CPU:$C9C5 PRG:09C5 38 lda #$00 ; CPU:$C9C6 PRG:09C6 A9 00 @@ -2333,7 +2339,7 @@ UpdateSprites5_1_Block_7: jsr $CA33 ; CPU:$C9D0 PRG:09D0 20 33 CA jsr $CA3D ; CPU:$C9D3 PRG:09D3 20 3D CA ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_1_Block_8 +; Routine: Label_C9D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2341,7 +2347,7 @@ UpdateSprites5_1_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_1_Block_8: +Label_C9D6: rts ; CPU:$C9D6 PRG:09D6 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites6 @@ -2354,12 +2360,12 @@ UpdateSprites5_1_Block_8: ; ----------------------------------------------------------------------------- UpdateSprites6: jsr $CA1A ; CPU:$C9D7 PRG:09D7 20 1A CA - adc Zp01 ; CPU:$C9DA PRG:09DA 65 01 + adc PtrHi ; CPU:$C9DA PRG:09DA 65 01 cmp #$0A ; CPU:$C9DC PRG:09DC C9 0A - bcc UpdateSprites6_Block ; CPU:$C9DE PRG:09DE 90 02 + bcc Label_C9E2 ; CPU:$C9DE PRG:09DE 90 02 adc #$05 ; CPU:$C9E0 PRG:09E0 69 05 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites6_Block +; Routine: Label_C9E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2367,16 +2373,16 @@ UpdateSprites6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites6_Block: +Label_C9E2: clc ; CPU:$C9E2 PRG:09E2 18 - adc Zp02 ; CPU:$C9E3 PRG:09E3 65 02 - sta Zp02 ; CPU:$C9E5 PRG:09E5 85 02 + adc Ptr2Lo ; CPU:$C9E3 PRG:09E3 65 02 + sta Ptr2Lo ; CPU:$C9E5 PRG:09E5 85 02 lda Zp03 ; CPU:$C9E7 PRG:09E7 A5 03 and #$F0 ; CPU:$C9E9 PRG:09E9 29 F0 - adc Zp02 ; CPU:$C9EB PRG:09EB 65 02 - bcc UpdateSprites6_Block_2 ; CPU:$C9ED PRG:09ED 90 04 + adc Ptr2Lo ; CPU:$C9EB PRG:09EB 65 02 + bcc Label_C9F3 ; CPU:$C9ED PRG:09ED 90 04 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites6_Block_3 +; Routine: Label_C9EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2384,12 +2390,12 @@ UpdateSprites6_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites6_Block_3: +Label_C9EF: adc #$5F ; CPU:$C9EF PRG:09EF 69 5F sec ; CPU:$C9F1 PRG:09F1 38 rts ; CPU:$C9F2 PRG:09F2 60 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites6_Block_2 +; Routine: Label_C9F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2397,9 +2403,9 @@ UpdateSprites6_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites6_Block_2: +Label_C9F3: cmp #$A0 ; CPU:$C9F3 PRG:09F3 C9 A0 - bcs UpdateSprites6_Block_3 ; CPU:$C9F5 PRG:09F5 B0 F8 + bcs Label_C9EF ; CPU:$C9F5 PRG:09F5 B0 F8 rts ; CPU:$C9F7 PRG:09F7 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites7_1 @@ -2412,11 +2418,11 @@ UpdateSprites6_Block_2: ; ----------------------------------------------------------------------------- UpdateSprites7_1: jsr $CA1A ; CPU:$C9F8 PRG:09F8 20 1A CA - sbc Zp01 ; CPU:$C9FB PRG:09FB E5 01 - sta Zp01 ; CPU:$C9FD PRG:09FD 85 01 - bcs UpdateSprites7_1_Block ; CPU:$C9FF PRG:09FF B0 0A + sbc PtrHi ; CPU:$C9FB PRG:09FB E5 01 + sta PtrHi ; CPU:$C9FD PRG:09FD 85 01 + bcs Label_CA0B ; CPU:$C9FF PRG:09FF B0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCCA01 +; Routine: Label_CA01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2424,10 +2430,10 @@ UpdateSprites7_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCA01: +Label_CA01: adc #$0A ; CPU:$CA01 PRG:0A01 69 0A ; ----------------------------------------------------------------------------- -; Routine: SubCCA03 +; Routine: Label_CA03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2435,13 +2441,13 @@ SubCCA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCA03: - sta Zp01 ; CPU:$CA03 PRG:0A03 85 01 - lda Zp02 ; CPU:$CA05 PRG:0A05 A5 02 +Label_CA03: + sta PtrHi ; CPU:$CA03 PRG:0A03 85 01 + lda Ptr2Lo ; CPU:$CA05 PRG:0A05 A5 02 adc #$0F ; CPU:$CA07 PRG:0A07 69 0F - sta Zp02 ; CPU:$CA09 PRG:0A09 85 02 + sta Ptr2Lo ; CPU:$CA09 PRG:0A09 85 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites7_1_Block +; Routine: Label_CA0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2449,16 +2455,16 @@ SubCCA03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites7_1_Block: +Label_CA0B: lda Zp03 ; CPU:$CA0B PRG:0A0B A5 03 and #$F0 ; CPU:$CA0D PRG:0A0D 29 F0 sec ; CPU:$CA0F PRG:0A0F 38 - sbc Zp02 ; CPU:$CA10 PRG:0A10 E5 02 - bcs UpdateSprites7_1_Block_2 ; CPU:$CA12 PRG:0A12 B0 03 + sbc Ptr2Lo ; CPU:$CA10 PRG:0A10 E5 02 + bcs Label_CA17 ; CPU:$CA12 PRG:0A12 B0 03 adc #$A0 ; CPU:$CA14 PRG:0A14 69 A0 clc ; CPU:$CA16 PRG:0A16 18 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites7_1_Block_2 +; Routine: Label_CA17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2466,8 +2472,8 @@ UpdateSprites7_1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites7_1_Block_2: - ora Zp01 ; CPU:$CA17 PRG:0A17 05 01 +Label_CA17: + ora PtrHi ; CPU:$CA17 PRG:0A17 05 01 rts ; CPU:$CA19 PRG:0A19 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites7_3 @@ -2481,10 +2487,10 @@ UpdateSprites7_1_Block_2: UpdateSprites7_3: pha ; CPU:$CA1A PRG:0A1A 48 and #$0F ; CPU:$CA1B PRG:0A1B 29 0F - sta Zp01 ; CPU:$CA1D PRG:0A1D 85 01 + sta PtrHi ; CPU:$CA1D PRG:0A1D 85 01 pla ; CPU:$CA1F PRG:0A1F 68 and #$F0 ; CPU:$CA20 PRG:0A20 29 F0 - sta Zp02 ; CPU:$CA22 PRG:0A22 85 02 + sta Ptr2Lo ; CPU:$CA22 PRG:0A22 85 02 lda Zp03 ; CPU:$CA24 PRG:0A24 A5 03 and #$0F ; CPU:$CA26 PRG:0A26 29 0F rts ; CPU:$CA28 PRG:0A28 60 @@ -2500,7 +2506,7 @@ UpdateSprites7_3: UpdateSprites8: jsr $C9F8 ; CPU:$CA29 PRG:0A29 20 F8 C9 ; ----------------------------------------------------------------------------- -; Routine: SubCCA2C +; Routine: Label_CA2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2508,7 +2514,7 @@ UpdateSprites8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCA2C: +Label_CA2C: sta $07F3,x ; CPU:$CA2C PRG:0A2C 9D F3 07 lda $07F2,x ; CPU:$CA2F PRG:0A2F BD F2 07 rts ; CPU:$CA32 PRG:0A32 60 @@ -2537,7 +2543,7 @@ UpdateSprites10: lda $07F1,x ; CPU:$CA39 PRG:0A39 BD F1 07 rts ; CPU:$CA3C PRG:0A3C 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCA3D +; Routine: Label_CA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2545,7 +2551,7 @@ UpdateSprites10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCA3D: +Label_CA3D: jsr $C9F8 ; CPU:$CA3D PRG:0A3D 20 F8 C9 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites11 @@ -2586,19 +2592,19 @@ UpdateSprites13: lda #$00 ; CPU:$CA4C PRG:0A4C A9 00 sta Zp04 ; CPU:$CA4E PRG:0A4E 85 04 clc ; CPU:$CA50 PRG:0A50 18 - lda Zp00 ; CPU:$CA51 PRG:0A51 A5 00 + lda PtrLo ; CPU:$CA51 PRG:0A51 A5 00 adc #$10 ; CPU:$CA53 PRG:0A53 69 10 and #$F0 ; CPU:$CA55 PRG:0A55 29 F0 lsr a ; CPU:$CA57 PRG:0A57 4A lsr a ; CPU:$CA58 PRG:0A58 4A tay ; CPU:$CA59 PRG:0A59 A8 - lda Zp00 ; CPU:$CA5A PRG:0A5A A5 00 + lda PtrLo ; CPU:$CA5A PRG:0A5A A5 00 and #$07 ; CPU:$CA5C PRG:0A5C 29 07 asl a ; CPU:$CA5E PRG:0A5E 0A asl a ; CPU:$CA5F PRG:0A5F 0A tax ; CPU:$CA60 PRG:0A60 AA ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_9 +; Routine: Label_CA61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2606,13 +2612,13 @@ UpdateSprites13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_9: +Label_CA61: lda $07EC,y ; CPU:$CA61 PRG:0A61 B9 EC 07 - beq UpdateSprites13_Block ; CPU:$CA64 PRG:0A64 F0 5B + beq Label_CAC1 ; CPU:$CA64 PRG:0A64 F0 5B lda $07F0,x ; CPU:$CA66 PRG:0A66 BD F0 07 - beq UpdateSprites13_Block_11 ; CPU:$CA69 PRG:0A69 F0 29 + beq Label_CA94 ; CPU:$CA69 PRG:0A69 F0 29 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_10 +; Routine: Label_CA6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2620,7 +2626,7 @@ UpdateSprites13_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_10: +Label_CA6B: sec ; CPU:$CA6B PRG:0A6B 38 lda $07EF,y ; CPU:$CA6C PRG:0A6C B9 EF 07 sta Zp03 ; CPU:$CA6F PRG:0A6F 85 03 @@ -2634,11 +2640,11 @@ UpdateSprites13_Block_10: sta Zp03 ; CPU:$CA85 PRG:0A85 85 03 lda $07F1,x ; CPU:$CA87 PRG:0A87 BD F1 07 jsr $C9F8 ; CPU:$CA8A PRG:0A8A 20 F8 C9 - bcs UpdateSprites13_Block_3 ; CPU:$CA8D PRG:0A8D B0 37 + bcs Label_CAC6 ; CPU:$CA8D PRG:0A8D B0 37 lda $07EC,y ; CPU:$CA8F PRG:0A8F B9 EC 07 - bne UpdateSprites13_Block_4 ; CPU:$CA92 PRG:0A92 D0 37 + bne Label_CACB ; CPU:$CA92 PRG:0A92 D0 37 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_11 +; Routine: Label_CA94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2646,12 +2652,12 @@ UpdateSprites13_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_11: +Label_CA94: lda #$FF ; CPU:$CA94 PRG:0A94 A9 FF sta Zp04 ; CPU:$CA96 PRG:0A96 85 04 sec ; CPU:$CA98 PRG:0A98 38 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_12 +; Routine: Label_CA99 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2659,17 +2665,17 @@ UpdateSprites13_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_12: +Label_CA99: tya ; CPU:$CA99 PRG:0A99 98 - bne UpdateSprites13_Block_8 ; CPU:$CA9A PRG:0A9A D0 24 - bcc UpdateSprites13_Block_6 ; CPU:$CA9C PRG:0A9C 90 16 + bne Label_CAC0 ; CPU:$CA9A PRG:0A9A D0 24 + bcc Label_CAB4 ; CPU:$CA9C PRG:0A9C 90 16 txa ; CPU:$CA9E PRG:0A9E 8A pha ; CPU:$CA9F PRG:0A9F 48 tya ; CPU:$CAA0 PRG:0AA0 98 pha ; CPU:$CAA1 PRG:0AA1 48 ldy #$00 ; CPU:$CAA2 PRG:0AA2 A0 00 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_7 +; Routine: Label_CAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2677,19 +2683,19 @@ UpdateSprites13_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_7: +Label_CAA4: lda $07F0,x ; CPU:$CAA4 PRG:0AA4 BD F0 07 sta $07EC,y ; CPU:$CAA7 PRG:0AA7 99 EC 07 inx ; CPU:$CAAA PRG:0AAA E8 iny ; CPU:$CAAB PRG:0AAB C8 cpy #$04 ; CPU:$CAAC PRG:0AAC C0 04 - bcc UpdateSprites13_Block_7 ; CPU:$CAAE PRG:0AAE 90 F4 + bcc Label_CAA4 ; CPU:$CAAE PRG:0AAE 90 F4 pla ; CPU:$CAB0 PRG:0AB0 68 tay ; CPU:$CAB1 PRG:0AB1 A8 pla ; CPU:$CAB2 PRG:0AB2 68 tax ; CPU:$CAB3 PRG:0AB3 AA ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_6 +; Routine: Label_CAB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2697,17 +2703,17 @@ UpdateSprites13_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_6: - lda Zp00 ; CPU:$CAB4 PRG:0AB4 A5 00 +Label_CAB4: + lda PtrLo ; CPU:$CAB4 PRG:0AB4 A5 00 and #$08 ; CPU:$CAB6 PRG:0AB6 29 08 - beq UpdateSprites13_Block_8 ; CPU:$CAB8 PRG:0AB8 F0 06 + beq Label_CAC0 ; CPU:$CAB8 PRG:0AB8 F0 06 dex ; CPU:$CABA PRG:0ABA CA dex ; CPU:$CABB PRG:0ABB CA dex ; CPU:$CABC PRG:0ABC CA dex ; CPU:$CABD PRG:0ABD CA - bpl UpdateSprites13_Block_9 ; CPU:$CABE PRG:0ABE 10 A1 + bpl Label_CA61 ; CPU:$CABE PRG:0ABE 10 A1 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_8 +; Routine: Label_CAC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2715,10 +2721,10 @@ UpdateSprites13_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_8: +Label_CAC0: rts ; CPU:$CAC0 PRG:0AC0 60 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block +; Routine: Label_CAC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2726,11 +2732,11 @@ UpdateSprites13_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block: +Label_CAC1: lda $07F0,x ; CPU:$CAC1 PRG:0AC1 BD F0 07 - beq UpdateSprites13_Block_10 ; CPU:$CAC4 PRG:0AC4 F0 A5 + beq Label_CA6B ; CPU:$CAC4 PRG:0AC4 F0 A5 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_3 +; Routine: Label_CAC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2738,11 +2744,11 @@ UpdateSprites13_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_3: +Label_CAC6: lda $07EC,y ; CPU:$CAC6 PRG:0AC6 B9 EC 07 - bne UpdateSprites13_Block_11 ; CPU:$CAC9 PRG:0AC9 D0 C9 + bne Label_CA94 ; CPU:$CAC9 PRG:0AC9 D0 C9 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites13_Block_4 +; Routine: Label_CACB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2750,9 +2756,9 @@ UpdateSprites13_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites13_Block_4: +Label_CACB: clc ; CPU:$CACB PRG:0ACB 18 - bcc UpdateSprites13_Block_12 ; CPU:$CACC PRG:0ACC 90 CB + bcc Label_CA99 ; CPU:$CACC PRG:0ACC 90 CB ; ----------------------------------------------------------------------------- ; Routine: InitSprites_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2766,10 +2772,10 @@ InitSprites_4: ldx #$00 ; CPU:$CACE PRG:0ACE A2 00 ldy #$05 ; CPU:$CAD0 PRG:0AD0 A0 05 lda Zp18 ; CPU:$CAD2 PRG:0AD2 A5 18 - bne InitSprites_4_Block ; CPU:$CAD4 PRG:0AD4 D0 02 + bne Label_CAD8 ; CPU:$CAD4 PRG:0AD4 D0 02 lda #$37 ; CPU:$CAD6 PRG:0AD6 A9 37 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_4_Block +; Routine: Label_CAD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2777,17 +2783,17 @@ InitSprites_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_4_Block: +Label_CAD8: and #$02 ; CPU:$CAD8 PRG:0AD8 29 02 - sta Zp00 ; CPU:$CADA PRG:0ADA 85 00 + sta PtrLo ; CPU:$CADA PRG:0ADA 85 00 lda Zp19 ; CPU:$CADC PRG:0ADC A5 19 and #$02 ; CPU:$CADE PRG:0ADE 29 02 - eor Zp00 ; CPU:$CAE0 PRG:0AE0 45 00 + eor PtrLo ; CPU:$CAE0 PRG:0AE0 45 00 clc ; CPU:$CAE2 PRG:0AE2 18 - beq InitSprites_4_Block_3 ; CPU:$CAE3 PRG:0AE3 F0 01 + beq Label_CAE6 ; CPU:$CAE3 PRG:0AE3 F0 01 sec ; CPU:$CAE5 PRG:0AE5 38 ; ----------------------------------------------------------------------------- -; Routine: InitSprites_4_Block_3 +; Routine: Label_CAE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2795,11 +2801,11 @@ InitSprites_4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -InitSprites_4_Block_3: +Label_CAE6: ror Zp18,x ; CPU:$CAE6 PRG:0AE6 76 18 inx ; CPU:$CAE8 PRG:0AE8 E8 dey ; CPU:$CAE9 PRG:0AE9 88 - bne InitSprites_4_Block_3 ; CPU:$CAEA PRG:0AEA D0 FA + bne Label_CAE6 ; CPU:$CAEA PRG:0AEA D0 FA rts ; CPU:$CAEC PRG:0AEC 60 ; ----------------------------------------------------------------------------- ; Routine: InitSprites3 @@ -2831,7 +2837,7 @@ InitSprites3: UpdateController: ldy #$08 ; CPU:$CB00 PRG:0B00 A0 08 ; ----------------------------------------------------------------------------- -; Routine: UpdateController_Block +; Routine: Label_CB02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2839,27 +2845,27 @@ UpdateController: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController_Block: +Label_CB02: pha ; CPU:$CB02 PRG:0B02 48 lda JOY1,x ; CPU:$CB03 PRG:0B03 BD 16 40 - sta Zp00 ; CPU:$CB06 PRG:0B06 85 00 + sta PtrLo ; CPU:$CB06 PRG:0B06 85 00 lsr a ; CPU:$CB08 PRG:0B08 4A - ora Zp00 ; CPU:$CB09 PRG:0B09 05 00 + ora PtrLo ; CPU:$CB09 PRG:0B09 05 00 lsr a ; CPU:$CB0B PRG:0B0B 4A pla ; CPU:$CB0C PRG:0B0C 68 rol a ; CPU:$CB0D PRG:0B0D 2A dey ; CPU:$CB0E PRG:0B0E 88 - bne UpdateController_Block ; CPU:$CB0F PRG:0B0F D0 F1 - stx Zp00 ; CPU:$CB11 PRG:0B11 86 00 - asl Zp00 ; CPU:$CB13 PRG:0B13 06 00 - ldx Zp00 ; CPU:$CB15 PRG:0B15 A6 00 + bne Label_CB02 ; CPU:$CB0F PRG:0B0F D0 F1 + stx PtrLo ; CPU:$CB11 PRG:0B11 86 00 + asl PtrLo ; CPU:$CB13 PRG:0B13 06 00 + ldx PtrLo ; CPU:$CB15 PRG:0B15 A6 00 ldy Zp14,x ; CPU:$CB17 PRG:0B17 B4 14 - sty Zp00 ; CPU:$CB19 PRG:0B19 84 00 + sty PtrLo ; CPU:$CB19 PRG:0B19 84 00 sta Zp14,x ; CPU:$CB1B PRG:0B1B 95 14 sta Zp15,x ; CPU:$CB1D PRG:0B1D 95 15 ldy #$04 ; CPU:$CB1F PRG:0B1F A0 04 ; ----------------------------------------------------------------------------- -; Routine: UpdateController_Block_3 +; Routine: Label_CB21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2867,15 +2873,15 @@ UpdateController_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController_Block_3: - lda Zp02 ; CPU:$CB21 PRG:0B21 A5 02 - bit Zp00 ; CPU:$CB23 PRG:0B23 24 00 - beq UpdateController_Block_2 ; CPU:$CB25 PRG:0B25 F0 06 +Label_CB21: + lda Ptr2Lo ; CPU:$CB21 PRG:0B21 A5 02 + bit PtrLo ; CPU:$CB23 PRG:0B23 24 00 + beq Label_CB2D ; CPU:$CB25 PRG:0B25 F0 06 lda Zp15,x ; CPU:$CB27 PRG:0B27 B5 15 - and Zp01 ; CPU:$CB29 PRG:0B29 25 01 + and PtrHi ; CPU:$CB29 PRG:0B29 25 01 sta Zp15,x ; CPU:$CB2B PRG:0B2B 95 15 ; ----------------------------------------------------------------------------- -; Routine: UpdateController_Block_2 +; Routine: Label_CB2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2883,12 +2889,12 @@ UpdateController_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController_Block_2: +Label_CB2D: sec ; CPU:$CB2D PRG:0B2D 38 - ror Zp01 ; CPU:$CB2E PRG:0B2E 66 01 - lsr Zp02 ; CPU:$CB30 PRG:0B30 46 02 + ror PtrHi ; CPU:$CB2E PRG:0B2E 66 01 + lsr Ptr2Lo ; CPU:$CB30 PRG:0B30 46 02 dey ; CPU:$CB32 PRG:0B32 88 - bne UpdateController_Block_3 ; CPU:$CB33 PRG:0B33 D0 EC + bne Label_CB21 ; CPU:$CB33 PRG:0B33 D0 EC ; ----------------------------------------------------------------------------- ; Routine: UpdateController2_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2900,12 +2906,12 @@ UpdateController_Block_2: ; ----------------------------------------------------------------------------- UpdateController2_4: lda #$7F ; CPU:$CB35 PRG:0B35 A9 7F - sta Zp01 ; CPU:$CB37 PRG:0B37 85 01 + sta PtrHi ; CPU:$CB37 PRG:0B37 85 01 lda #$80 ; CPU:$CB39 PRG:0B39 A9 80 - sta Zp02 ; CPU:$CB3B PRG:0B3B 85 02 + sta Ptr2Lo ; CPU:$CB3B PRG:0B3B 85 02 rts ; CPU:$CB3D PRG:0B3D 60 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites_4_Block +; Routine: Label_CB3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2913,21 +2919,21 @@ UpdateController2_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites_4_Block: +Label_CB3E: sta PPUADDR ; CPU:$CB3E PRG:0B3E 8D 06 20 iny ; CPU:$CB41 PRG:0B41 C8 - lda (Zp00),y ; CPU:$CB42 PRG:0B42 B1 00 + lda (PtrLo),y ; CPU:$CB42 PRG:0B42 B1 00 sta PPUADDR ; CPU:$CB44 PRG:0B44 8D 06 20 iny ; CPU:$CB47 PRG:0B47 C8 - lda (Zp00),y ; CPU:$CB48 PRG:0B48 B1 00 + lda (PtrLo),y ; CPU:$CB48 PRG:0B48 B1 00 asl a ; CPU:$CB4A PRG:0B4A 0A pha ; CPU:$CB4B PRG:0B4B 48 - lda Zp10 ; CPU:$CB4C PRG:0B4C A5 10 + lda VBlankTimer ; CPU:$CB4C PRG:0B4C A5 10 ora #$04 ; CPU:$CB4E PRG:0B4E 09 04 - bcs UpdateController2_4_Block ; CPU:$CB50 PRG:0B50 B0 02 + bcs Label_CB54 ; CPU:$CB50 PRG:0B50 B0 02 and #$FB ; CPU:$CB52 PRG:0B52 29 FB ; ----------------------------------------------------------------------------- -; Routine: UpdateController2_4_Block +; Routine: Label_CB54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2935,15 +2941,15 @@ UpdateSprites_4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController2_4_Block: +Label_CB54: jsr $C148 ; CPU:$CB54 PRG:0B54 20 48 C1 pla ; CPU:$CB57 PRG:0B57 68 asl a ; CPU:$CB58 PRG:0B58 0A - bcc UpdateController2_4_Block_2 ; CPU:$CB59 PRG:0B59 90 03 + bcc Label_CB5E ; CPU:$CB59 PRG:0B59 90 03 ora #$02 ; CPU:$CB5B PRG:0B5B 09 02 iny ; CPU:$CB5D PRG:0B5D C8 ; ----------------------------------------------------------------------------- -; Routine: UpdateController2_4_Block_2 +; Routine: Label_CB5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2951,12 +2957,12 @@ UpdateController2_4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController2_4_Block_2: +Label_CB5E: lsr a ; CPU:$CB5E PRG:0B5E 4A lsr a ; CPU:$CB5F PRG:0B5F 4A tax ; CPU:$CB60 PRG:0B60 AA ; ----------------------------------------------------------------------------- -; Routine: UpdateController2_4_Block_4 +; Routine: Label_CB61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2964,11 +2970,11 @@ UpdateController2_4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController2_4_Block_4: - bcs UpdateController2_4_Block_3 ; CPU:$CB61 PRG:0B61 B0 01 +Label_CB61: + bcs Label_CB64 ; CPU:$CB61 PRG:0B61 B0 01 iny ; CPU:$CB63 PRG:0B63 C8 ; ----------------------------------------------------------------------------- -; Routine: UpdateController2_4_Block_3 +; Routine: Label_CB64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2976,18 +2982,18 @@ UpdateController2_4_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateController2_4_Block_3: - lda (Zp00),y ; CPU:$CB64 PRG:0B64 B1 00 +Label_CB64: + lda (PtrLo),y ; CPU:$CB64 PRG:0B64 B1 00 sta PPUDATA ; CPU:$CB66 PRG:0B66 8D 07 20 dex ; CPU:$CB69 PRG:0B69 CA - bne UpdateController2_4_Block_4 ; CPU:$CB6A PRG:0B6A D0 F5 + bne Label_CB61 ; CPU:$CB6A PRG:0B6A D0 F5 sec ; CPU:$CB6C PRG:0B6C 38 tya ; CPU:$CB6D PRG:0B6D 98 - adc Zp00 ; CPU:$CB6E PRG:0B6E 65 00 - sta Zp00 ; CPU:$CB70 PRG:0B70 85 00 + adc PtrLo ; CPU:$CB6E PRG:0B6E 65 00 + sta PtrLo ; CPU:$CB70 PRG:0B70 85 00 lda #$00 ; CPU:$CB72 PRG:0B72 A9 00 - adc Zp01 ; CPU:$CB74 PRG:0B74 65 01 - sta Zp01 ; CPU:$CB76 PRG:0B76 85 01 + adc PtrHi ; CPU:$CB74 PRG:0B74 65 01 + sta PtrHi ; CPU:$CB76 PRG:0B76 85 01 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites_4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -3000,8 +3006,8 @@ UpdateController2_4_Block_3: UpdateSprites_4: ldx PPUSTATUS ; CPU:$CB78 PRG:0B78 AE 02 20 ldy #$00 ; CPU:$CB7B PRG:0B7B A0 00 - lda (Zp00),y ; CPU:$CB7D PRG:0B7D B1 00 - bne UpdateSprites_4_Block ; CPU:$CB7F PRG:0B7F D0 BD + lda (PtrLo),y ; CPU:$CB7D PRG:0B7D B1 00 + bne Label_CB3E ; CPU:$CB7F PRG:0B7F D0 BD ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites2_12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -3040,14 +3046,14 @@ UpdateSprites4_7: ; ----------------------------------------------------------------------------- UpdateSprites4_6: cmp #$3F ; CPU:$CB8E PRG:0B8E C9 3F - bcc UpdateSprites4_6_Block ; CPU:$CB90 PRG:0B90 90 0A + bcc Label_CB9C ; CPU:$CB90 PRG:0B90 90 0A ldx $0300 ; CPU:$CB92 PRG:0B92 AE 00 03 lda #$00 ; CPU:$CB95 PRG:0B95 A9 00 sta $0301,x ; CPU:$CB97 PRG:0B97 9D 01 03 pla ; CPU:$CB9A PRG:0B9A 68 pla ; CPU:$CB9B PRG:0B9B 68 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites4_6_Block +; Routine: Label_CB9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3055,7 +3061,7 @@ UpdateSprites4_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites4_6_Block: +Label_CB9C: rts ; CPU:$CB9C PRG:0B9C 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites5_4 @@ -3069,12 +3075,12 @@ UpdateSprites4_6_Block: UpdateSprites5_4: ldx #$09 ; CPU:$CB9D PRG:0B9D A2 09 dec Zp31 ; CPU:$CB9F PRG:0B9F C6 31 - bpl UpdateSprites5_4_Block_3 ; CPU:$CBA1 PRG:0BA1 10 06 + bpl Label_CBA9 ; CPU:$CBA1 PRG:0BA1 10 06 lda #$0A ; CPU:$CBA3 PRG:0BA3 A9 0A sta Zp31 ; CPU:$CBA5 PRG:0BA5 85 31 ldx #$1D ; CPU:$CBA7 PRG:0BA7 A2 1D ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_3 +; Routine: Label_CBA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3082,12 +3088,12 @@ UpdateSprites5_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_3: +Label_CBA9: lda Zp32,x ; CPU:$CBA9 PRG:0BA9 B5 32 - beq UpdateSprites5_4_Block_2 ; CPU:$CBAB PRG:0BAB F0 02 + beq Label_CBAF ; CPU:$CBAB PRG:0BAB F0 02 dec Zp32,x ; CPU:$CBAD PRG:0BAD D6 32 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_2 +; Routine: Label_CBAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3095,9 +3101,9 @@ UpdateSprites5_4_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_2: +Label_CBAF: dex ; CPU:$CBAF PRG:0BAF CA - bpl UpdateSprites5_4_Block_3 ; CPU:$CBB0 PRG:0BB0 10 F7 + bpl Label_CBA9 ; CPU:$CBB0 PRG:0BB0 10 F7 rts ; CPU:$CBB2 PRG:0BB2 60 ; ---- data $CBB3-$CC04 (82 bytes) ---- ; referenced by `ldy $CBBF,x` at $CE0C (operand $CBBF falls inside this region) @@ -3107,6 +3113,7 @@ UpdateSprites5_4_Block_2: ; referenced by `cmp $CBDD,y` at $CEE2 (operand $CBDD falls inside this region) ; referenced by `lda $CBDC,y` at $CF2B (operand $CBDC falls inside this region) ; ... and 8 further references from decoded code + SpriteDataTable2: ; Sprite data table 2 (UpdateSprites5_4) .byte $5C, $62, $5C, $56, $6E, $74, $8C, $92, $7A, $80, $86, $00, $00, $24, $D6, $17 ; CPU:$CBB3 PRG:0BB3 5C 62 5C 56 6E 74 8C 92 7A 80 86 00 00 24 D6 17 .byte $6E, $6F, $16, $10, $08, $F8, $08, $08, $F8, $00, $F8, $08, $F8, $00, $F8, $F8 ; CPU:$CBC3 PRG:0BC3 6E 6F 16 10 08 F8 08 08 F8 00 F8 08 F8 00 F8 F8 .byte $00, $10, $00, $F8, $10, $10, $10, $FF, $01, $F2, $F0, $49, $50, $79, $80, $A9 ; CPU:$CBD3 PRG:0BD3 00 10 00 F8 10 10 10 FF 01 F2 F0 49 50 79 80 A9 @@ -3114,7 +3121,7 @@ UpdateSprites5_4_Block_2: .byte $02, $01, $00, $04, $08, $04, $02, $FE, $A5, $8C, $D0, $5F, $A5, $15, $85, $70 ; CPU:$CBF3 PRG:0BF3 02 01 00 04 08 04 02 FE A5 8C D0 5F A5 15 85 70 .byte $A2, $00 ; CPU:$CC03 PRG:0C03 A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCCC05 +; Routine: Label_CC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3122,12 +3129,12 @@ UpdateSprites5_4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCC05: +Label_CC05: jsr $CD13 ; CPU:$CC05 PRG:0C05 20 13 CD ldx #$00 ; CPU:$CC08 PRG:0C08 A2 00 jsr $DA99 ; CPU:$CC0A PRG:0C0A 20 99 DA lda Zp58 ; CPU:$CC0D PRG:0C0D A5 58 - beq UpdateSprites5_4_Block_4 ; CPU:$CC0F PRG:0C0F F0 0E + beq Label_CC1F ; CPU:$CC0F PRG:0C0F F0 0E lda Zp17 ; CPU:$CC11 PRG:0C11 A5 17 sta Zp71 ; CPU:$CC13 PRG:0C13 85 71 ldx #$01 ; CPU:$CC15 PRG:0C15 A2 01 @@ -3135,7 +3142,7 @@ SubCCC05: ldx #$01 ; CPU:$CC1A PRG:0C1A A2 01 jsr $DA99 ; CPU:$CC1C PRG:0C1C 20 99 DA ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_4 +; Routine: Label_CC1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3143,7 +3150,7 @@ SubCCC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_4: +Label_CC1F: jsr $EFEC ; CPU:$CC1F PRG:0C1F 20 EC EF jsr $E189 ; CPU:$CC22 PRG:0C22 20 89 E1 jsr $DC6A ; CPU:$CC25 PRG:0C25 20 6A DC @@ -3169,12 +3176,13 @@ UpdateSprites5_4_Block_4: jsr $D82F ; CPU:$CC61 PRG:0C61 20 2F D8 jmp $D7DE ; CPU:$CC64 PRG:0C64 4C DE D7 ; ---- data $CC67-$CC9D (55 bytes) ---- + SpriteDataTable3: ; Sprite data table 3 (UpdateSprites5_4) .byte $A9, $04, $4C, $F5, $D4, $20, $71, $F4, $20, $8F, $E8, $A5, $45, $F0, $05, $C9 ; CPU:$CC67 PRG:0C67 A9 04 4C F5 D4 20 71 F4 20 8F E8 A5 45 F0 05 C9 .byte $01, $F0, $04, $60, $4C, $F2, $E8, $A5, $20, $C9, $80, $F0, $13, $E6, $59, $A5 ; CPU:$CC77 PRG:0C77 01 F0 04 60 4C F2 E8 A5 20 C9 80 F0 13 E6 59 A5 .byte $59, $C9, $63, $90, $04, $A9, $00, $85, $59, $E6, $56, $A9, $01, $4C, $F5, $D4 ; CPU:$CC87 PRG:0C87 59 C9 63 90 04 A9 00 85 59 E6 56 A9 01 4C F5 D4 .byte $A9, $00, $85, $51, $85, $55, $60 ; CPU:$CC97 PRG:0C97 A9 00 85 51 85 55 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCC9E +; Routine: Label_CC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3182,22 +3190,22 @@ UpdateSprites5_4_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCC9E: +Label_CC9E: lda #$06 ; CPU:$CC9E PRG:0C9E A9 06 cmp Zp6A ; CPU:$CCA0 PRG:0CA0 C5 6A - beq UpdateSprites5_4_Block_6 ; CPU:$CCA2 PRG:0CA2 F0 49 + beq Label_CCED ; CPU:$CCA2 PRG:0CA2 F0 49 cmp Zp6B ; CPU:$CCA4 PRG:0CA4 C5 6B - beq UpdateSprites5_4_Block_6 ; CPU:$CCA6 PRG:0CA6 F0 45 + beq Label_CCED ; CPU:$CCA6 PRG:0CA6 F0 45 lda Zp8C ; CPU:$CCA8 PRG:0CA8 A5 8C - bne UpdateSprites5_4_Block_10 ; CPU:$CCAA PRG:0CAA D0 38 + bne Label_CCE4 ; CPU:$CCAA PRG:0CAA D0 38 ldx Zp26 ; CPU:$CCAC PRG:0CAC A6 26 cpx #$02 ; CPU:$CCAE PRG:0CAE E0 02 - bne UpdateSprites5_4_Block_8 ; CPU:$CCB0 PRG:0CB0 D0 07 + bne Label_CCB9 ; CPU:$CCB0 PRG:0CB0 D0 07 ldx #$00 ; CPU:$CCB2 PRG:0CB2 A2 00 jsr $CCF6 ; CPU:$CCB4 PRG:0CB4 20 F6 CC ldx #$01 ; CPU:$CCB7 PRG:0CB7 A2 01 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_8 +; Routine: Label_CCB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3205,7 +3213,7 @@ SubCCC9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_8: +Label_CCB9: jsr $CCF6 ; CPU:$CCB9 PRG:0CB9 20 F6 CC jsr $D212 ; CPU:$CCBC PRG:0CBC 20 12 D2 jsr $F78B ; CPU:$CCBF PRG:0CBF 20 8B F7 @@ -3218,11 +3226,11 @@ UpdateSprites5_4_Block_8: jsr $ECBF ; CPU:$CCD4 PRG:0CD4 20 BF EC lda Zp8D ; CPU:$CCD7 PRG:0CD7 A5 8D cmp #$2F ; CPU:$CCD9 PRG:0CD9 C9 2F - bmi UpdateSprites5_4_Block_9 ; CPU:$CCDB PRG:0CDB 30 04 + bmi Label_CCE1 ; CPU:$CCDB PRG:0CDB 30 04 lda Zp27 ; CPU:$CCDD PRG:0CDD A5 27 - bne UpdateSprites5_4_Block_10 ; CPU:$CCDF PRG:0CDF D0 03 + bne Label_CCE4 ; CPU:$CCDF PRG:0CDF D0 03 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_9 +; Routine: Label_CCE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3230,10 +3238,10 @@ UpdateSprites5_4_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_9: +Label_CCE1: jsr $F2EC ; CPU:$CCE1 PRG:0CE1 20 EC F2 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_10 +; Routine: Label_CCE4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3241,12 +3249,12 @@ UpdateSprites5_4_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_10: +Label_CCE4: jsr $D724 ; CPU:$CCE4 PRG:0CE4 20 24 D7 jsr $D8AF ; CPU:$CCE7 PRG:0CE7 20 AF D8 jmp $D890 ; CPU:$CCEA PRG:0CEA 4C 90 D8 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_6 +; Routine: Label_CCED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3254,13 +3262,13 @@ UpdateSprites5_4_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_6: +Label_CCED: lda Zp4D ; CPU:$CCED PRG:0CED A5 4D - bne UpdateSprites5_4_Block_11 ; CPU:$CCEF PRG:0CEF D0 21 + bne Label_CD12 ; CPU:$CCEF PRG:0CEF D0 21 lda #$03 ; CPU:$CCF1 PRG:0CF1 A9 03 jmp $D4F5 ; CPU:$CCF3 PRG:0CF3 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: SubCCCF6 +; Routine: Label_CCF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3268,8 +3276,8 @@ UpdateSprites5_4_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCCF6: - stx Zp5F ; CPU:$CCF6 PRG:0CF6 86 5F +Label_CCF6: + stx SprData2 ; CPU:$CCF6 PRG:0CF6 86 5F txa ; CPU:$CCF8 PRG:0CF8 8A asl a ; CPU:$CCF9 PRG:0CF9 0A tay ; CPU:$CCFA PRG:0CFA A8 @@ -3277,11 +3285,11 @@ SubCCCF6: sta Zp70,x ; CPU:$CCFE PRG:0CFE 95 70 jsr $D552 ; CPU:$CD00 PRG:0D00 20 52 D5 lda $0352,x ; CPU:$CD03 PRG:0D03 BD 52 03 - bne SubCCCF6_Block ; CPU:$CD06 PRG:0D06 D0 05 - ldx Zp5F ; CPU:$CD08 PRG:0D08 A6 5F + bne Label_CD0D ; CPU:$CD06 PRG:0D06 D0 05 + ldx SprData2 ; CPU:$CD08 PRG:0D08 A6 5F jsr $D59C ; CPU:$CD0A PRG:0D0A 20 9C D5 ; ----------------------------------------------------------------------------- -; Routine: SubCCCF6_Block +; Routine: Label_CD0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3289,11 +3297,11 @@ SubCCCF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCCF6_Block: - ldx Zp5F ; CPU:$CD0D PRG:0D0D A6 5F +Label_CD0D: + ldx SprData2 ; CPU:$CD0D PRG:0D0D A6 5F jsr $D507 ; CPU:$CD0F PRG:0D0F 20 07 D5 ; ----------------------------------------------------------------------------- -; Routine: UpdateSprites5_4_Block_11 +; Routine: Label_CD12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3301,10 +3309,10 @@ SubCCCF6_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSprites5_4_Block_11: +Label_CD12: rts ; CPU:$CD12 PRG:0D12 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCD13 +; Routine: Label_CD13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3312,22 +3320,23 @@ UpdateSprites5_4_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD13: - stx Zp5F ; CPU:$CD13 PRG:0D13 86 5F - lda Zp5A,x ; CPU:$CD15 PRG:0D15 B5 5A - beq SubCCD13_Block ; CPU:$CD17 PRG:0D17 F0 48 +Label_CD13: + stx SprData2 ; CPU:$CD13 PRG:0D13 86 5F + lda SprData,x ; CPU:$CD15 PRG:0D15 B5 5A + beq Label_CD61 ; CPU:$CD17 PRG:0D17 F0 48 ldy Zp6A,x ; CPU:$CD19 PRG:0D19 B4 6A dey ; CPU:$CD1B PRG:0D1B 88 tya ; CPU:$CD1C PRG:0D1C 98 jsr $C728 ; CPU:$CD1D PRG:0D1D 20 28 C7 ; ---- data $CD20-$CD60 (65 bytes) ---- + SpriteAnimTable3: ; Sprite animation table 3 (SubCCD13) .byte $32, $CD, $5D, $CE, $38, $CD, $08, $D0, $5D, $D0, $08, $D0, $AA, $D0, $08, $D0 ; CPU:$CD20 PRG:0D20 32 CD 5D CE 38 CD 08 D0 5D D0 08 D0 AA D0 08 D0 .byte $00, $D5, $20, $B0, $CD, $4C, $3B, $CD, $20, $C6, $CF, $20, $62, $CD, $B0, $21 ; CPU:$CD30 PRG:0D30 00 D5 20 B0 CD 4C 3B CD 20 C6 CF 20 62 CD B0 21 .byte $A9, $05, $95, $E8, $95, $6E, $A9, $04, $95, $E6, $4A, $95, $6A, $4A, $95, $E0 ; CPU:$CD40 PRG:0D40 A9 05 95 E8 95 6E A9 04 95 E6 4A 95 6A 4A 95 E0 .byte $95, $86, $4A, $95, $88, $B4, $68, $F0, $08, $B9, $F8, $CB, $18, $75, $64, $95 ; CPU:$CD50 PRG:0D50 95 86 4A 95 88 B4 68 F0 08 B9 F8 CB 18 75 64 95 .byte $64 ; CPU:$CD60 PRG:0D60 64 ; ----------------------------------------------------------------------------- -; Routine: SubCCD13_Block +; Routine: Label_CD61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3335,10 +3344,10 @@ SubCCD13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD13_Block: +Label_CD61: rts ; CPU:$CD61 PRG:0D61 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCD62 +; Routine: Label_CD62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3346,12 +3355,12 @@ SubCCD13_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD62: +Label_CD62: lda #$00 ; CPU:$CD62 PRG:0D62 A9 00 sta Zp82,x ; CPU:$CD64 PRG:0D64 95 82 lda #$06 ; CPU:$CD66 PRG:0D66 A9 06 ; ----------------------------------------------------------------------------- -; Routine: SubCCD62_Block_5 +; Routine: Label_CD68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3359,24 +3368,24 @@ SubCCD62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD62_Block_5: - sta Zp01 ; CPU:$CD68 PRG:0D68 85 01 +Label_CD68: + sta PtrHi ; CPU:$CD68 PRG:0D68 85 01 lda Zp64,x ; CPU:$CD6A PRG:0D6A B5 64 clc ; CPU:$CD6C PRG:0D6C 18 - adc Zp01 ; CPU:$CD6D PRG:0D6D 65 01 + adc PtrHi ; CPU:$CD6D PRG:0D6D 65 01 jsr $DBB4 ; CPU:$CD6F PRG:0D6F 20 B4 DB - bmi SubCCD62_Block ; CPU:$CD72 PRG:0D72 30 0F + bmi Label_CD83 ; CPU:$CD72 PRG:0D72 30 0F cmp #$04 ; CPU:$CD74 PRG:0D74 C9 04 - bne SubCCD62_Block_4 ; CPU:$CD76 PRG:0D76 D0 13 + bne Label_CD8B ; CPU:$CD76 PRG:0D76 D0 13 iny ; CPU:$CD78 PRG:0D78 C8 lda (Zp03),y ; CPU:$CD79 PRG:0D79 B1 03 - bpl SubCCD62_Block_4 ; CPU:$CD7B PRG:0D7B 10 0E + bpl Label_CD8B ; CPU:$CD7B PRG:0D7B 10 0E dey ; CPU:$CD7D PRG:0D7D 88 dey ; CPU:$CD7E PRG:0D7E 88 lda (Zp03),y ; CPU:$CD7F PRG:0D7F B1 03 - bpl SubCCD62_Block_4 ; CPU:$CD81 PRG:0D81 10 08 + bpl Label_CD8B ; CPU:$CD81 PRG:0D81 10 08 ; ----------------------------------------------------------------------------- -; Routine: SubCCD62_Block +; Routine: Label_CD83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3384,14 +3393,14 @@ SubCCD62_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD62_Block: +Label_CD83: lda #$09 ; CPU:$CD83 PRG:0D83 A9 09 - cmp Zp01 ; CPU:$CD85 PRG:0D85 C5 01 - bne SubCCD62_Block_5 ; CPU:$CD87 PRG:0D87 D0 DF + cmp PtrHi ; CPU:$CD85 PRG:0D85 C5 01 + bne Label_CD68 ; CPU:$CD87 PRG:0D87 D0 DF clc ; CPU:$CD89 PRG:0D89 18 rts ; CPU:$CD8A PRG:0D8A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCD62_Block_4 +; Routine: Label_CD8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3399,7 +3408,7 @@ SubCCD62_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD62_Block_4: +Label_CD8B: sec ; CPU:$CD8B PRG:0D8B 38 rts ; CPU:$CD8C PRG:0D8C 60 ; ---- data $CD8D-$CD94 (8 bytes) ---- @@ -3407,7 +3416,7 @@ SubCCD62_Block_4: ; referenced by `cmp $CD91,y` at $CDA6 (operand $CD91 falls inside this region) .byte $02, $09, $06, $04, $04, $02, $02, $04 ; CPU:$CD8D PRG:0D8D 02 09 06 04 04 02 02 04 ; ----------------------------------------------------------------------------- -; Routine: SubCCD95 +; Routine: Label_CD95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3415,21 +3424,21 @@ SubCCD62_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD95: +Label_CD95: inc Zp60,x ; CPU:$CD95 PRG:0D95 F6 60 lda Zp60,x ; CPU:$CD97 PRG:0D97 B5 60 cmp $CD8D,y ; CPU:$CD99 PRG:0D99 D9 8D CD - bcc SubCCD95_Block_2 ; CPU:$CD9C PRG:0D9C 90 11 + bcc Label_CDAF ; CPU:$CD9C PRG:0D9C 90 11 lda #$00 ; CPU:$CD9E PRG:0D9E A9 00 sta Zp60,x ; CPU:$CDA0 PRG:0DA0 95 60 inc Zp6C,x ; CPU:$CDA2 PRG:0DA2 F6 6C lda Zp6C,x ; CPU:$CDA4 PRG:0DA4 B5 6C cmp $CD91,y ; CPU:$CDA6 PRG:0DA6 D9 91 CD - bcc SubCCD95_Block_2 ; CPU:$CDA9 PRG:0DA9 90 04 + bcc Label_CDAF ; CPU:$CDA9 PRG:0DA9 90 04 lda #$00 ; CPU:$CDAB PRG:0DAB A9 00 sta Zp6C,x ; CPU:$CDAD PRG:0DAD 95 6C ; ----------------------------------------------------------------------------- -; Routine: SubCCD95_Block_2 +; Routine: Label_CDAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3437,10 +3446,10 @@ SubCCD95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCD95_Block_2: +Label_CDAF: rts ; CPU:$CDAF PRG:0DAF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0 +; Routine: Label_CDB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3448,20 +3457,20 @@ SubCCD95_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0: - lda Zp55 ; CPU:$CDB0 PRG:0DB0 A5 55 +Label_CDB0: + lda ZpCheckZp14 ; CPU:$CDB0 PRG:0DB0 A5 55 cmp #$01 ; CPU:$CDB2 PRG:0DB2 C9 01 - bne SubCCDB0_Block_2 ; CPU:$CDB4 PRG:0DB4 D0 0E + bne Label_CDC4 ; CPU:$CDB4 PRG:0DB4 D0 0E txa ; CPU:$CDB6 PRG:0DB6 8A asl a ; CPU:$CDB7 PRG:0DB7 0A tay ; CPU:$CDB8 PRG:0DB8 A8 lda a:Zp14,y ; CPU:$CDB9 PRG:0DB9 B9 14 00 and #$40 ; CPU:$CDBC PRG:0DBC 29 40 - beq SubCCDB0_Block_2 ; CPU:$CDBE PRG:0DBE F0 04 + beq Label_CDC4 ; CPU:$CDBE PRG:0DBE F0 04 lda #$05 ; CPU:$CDC0 PRG:0DC0 A9 05 - bne SubCCDB0_Block_3 ; CPU:$CDC2 PRG:0DC2 D0 17 + bne Label_CDDB ; CPU:$CDC2 PRG:0DC2 D0 17 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_2 +; Routine: Label_CDC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3469,15 +3478,15 @@ SubCCDB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_2: +Label_CDC4: lda Zp70,x ; CPU:$CDC4 PRG:0DC4 B5 70 and #$01 ; CPU:$CDC6 PRG:0DC6 29 01 - bne SubCCDB0_Block_4 ; CPU:$CDC8 PRG:0DC8 D0 15 + bne Label_CDDF ; CPU:$CDC8 PRG:0DC8 D0 15 lda Zp70,x ; CPU:$CDCA PRG:0DCA B5 70 and #$02 ; CPU:$CDCC PRG:0DCC 29 02 - bne SubCCDB0_Block_5 ; CPU:$CDCE PRG:0DCE D0 19 + bne Label_CDE9 ; CPU:$CDCE PRG:0DCE D0 19 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_8 +; Routine: Label_CDD0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3485,15 +3494,15 @@ SubCCDB0_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_8: +Label_CDD0: lda Zp68,x ; CPU:$CDD0 PRG:0DD0 B5 68 - beq SubCCDFF ; CPU:$CDD2 PRG:0DD2 F0 2B + beq Label_CDFF ; CPU:$CDD2 PRG:0DD2 F0 2B lda Zp6E,x ; CPU:$CDD4 PRG:0DD4 B5 6E lsr a ; CPU:$CDD6 PRG:0DD6 4A sta Zp32,x ; CPU:$CDD7 PRG:0DD7 95 32 lda #$03 ; CPU:$CDD9 PRG:0DD9 A9 03 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_3 +; Routine: Label_CDDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3501,11 +3510,11 @@ SubCCDB0_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_3: +Label_CDDB: sta Zp6A,x ; CPU:$CDDB PRG:0DDB 95 6A - bne SubCCDFF ; CPU:$CDDD PRG:0DDD D0 20 + bne Label_CDFF ; CPU:$CDDD PRG:0DDD D0 20 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_4 +; Routine: Label_CDDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3513,14 +3522,14 @@ SubCCDB0_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_4: +Label_CDDF: lda #$01 ; CPU:$CDDF PRG:0DDF A9 01 ldy Zp68,x ; CPU:$CDE1 PRG:0DE1 B4 68 cpy #$02 ; CPU:$CDE3 PRG:0DE3 C0 02 - beq SubCCDB0_Block_8 ; CPU:$CDE5 PRG:0DE5 F0 E9 - bne SubCCDB0_Block_7 ; CPU:$CDE7 PRG:0DE7 D0 08 + beq Label_CDD0 ; CPU:$CDE5 PRG:0DE5 F0 E9 + bne Label_CDF1 ; CPU:$CDE7 PRG:0DE7 D0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_5 +; Routine: Label_CDE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3528,13 +3537,13 @@ SubCCDB0_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_5: +Label_CDE9: lda #$02 ; CPU:$CDE9 PRG:0DE9 A9 02 ldy Zp68,x ; CPU:$CDEB PRG:0DEB B4 68 cpy #$01 ; CPU:$CDED PRG:0DED C0 01 - beq SubCCDB0_Block_8 ; CPU:$CDEF PRG:0DEF F0 DF + beq Label_CDD0 ; CPU:$CDEF PRG:0DEF F0 DF ; ----------------------------------------------------------------------------- -; Routine: SubCCDB0_Block_7 +; Routine: Label_CDF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3542,7 +3551,7 @@ SubCCDB0_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDB0_Block_7: +Label_CDF1: sta Zp68,x ; CPU:$CDF1 PRG:0DF1 95 68 and #$01 ; CPU:$CDF3 PRG:0DF3 29 01 sta Zp62,x ; CPU:$CDF5 PRG:0DF5 95 62 @@ -3550,7 +3559,7 @@ SubCCDB0_Block_7: ldy #$00 ; CPU:$CDFA PRG:0DFA A0 00 jsr $CD95 ; CPU:$CDFC PRG:0DFC 20 95 CD ; ----------------------------------------------------------------------------- -; Routine: SubCCDFF +; Routine: Label_CDFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3558,17 +3567,17 @@ SubCCDB0_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDFF: +Label_CDFF: ldy Zp6C,x ; CPU:$CDFF PRG:0DFF B4 6C jsr $D17C ; CPU:$CE01 PRG:0E01 20 7C D1 ldy #$D9 ; CPU:$CE04 PRG:0E04 A0 D9 - lda Zp55 ; CPU:$CE06 PRG:0E06 A5 55 + lda ZpCheckZp14 ; CPU:$CE06 PRG:0E06 A5 55 cmp #$01 ; CPU:$CE08 PRG:0E08 C9 01 - beq SubCCDFF_Block ; CPU:$CE0A PRG:0E0A F0 1D + beq Label_CE29 ; CPU:$CE0A PRG:0E0A F0 1D ldy $CBBF,x ; CPU:$CE0C PRG:0E0C BC BF CB ldx #$00 ; CPU:$CE0F PRG:0E0F A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCCDFF_Block_2 +; Routine: Label_CE11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3576,7 +3585,7 @@ SubCCDFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDFF_Block_2: +Label_CE11: tya ; CPU:$CE11 PRG:0E11 98 clc ; CPU:$CE12 PRG:0E12 18 adc $CBF5,x ; CPU:$CE13 PRG:0E13 7D F5 CB @@ -3587,11 +3596,11 @@ SubCCDFF_Block_2: sta $0205,y ; CPU:$CE1D PRG:0E1D 99 05 02 inx ; CPU:$CE20 PRG:0E20 E8 cpx #$04 ; CPU:$CE21 PRG:0E21 E0 04 - bcc SubCCDFF_Block_2 ; CPU:$CE23 PRG:0E23 90 EC + bcc Label_CE11 ; CPU:$CE23 PRG:0E23 90 EC ldy #$DF ; CPU:$CE25 PRG:0E25 A0 DF - ldx Zp5F ; CPU:$CE27 PRG:0E27 A6 5F + ldx SprData2 ; CPU:$CE27 PRG:0E27 A6 5F ; ----------------------------------------------------------------------------- -; Routine: SubCCDFF_Block +; Routine: Label_CE29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3599,20 +3608,20 @@ SubCCDFF_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDFF_Block: +Label_CE29: lda Zp70,x ; CPU:$CE29 PRG:0E29 B5 70 and #$03 ; CPU:$CE2B PRG:0E2B 29 03 - bne SubCCE43 ; CPU:$CE2D PRG:0E2D D0 14 + bne Label_CE43 ; CPU:$CE2D PRG:0E2D D0 14 tya ; CPU:$CE2F PRG:0E2F 98 pha ; CPU:$CE30 PRG:0E30 48 ldy $CBBF,x ; CPU:$CE31 PRG:0E31 BC BF CB lda Zp62,x ; CPU:$CE34 PRG:0E34 B5 62 - bne SubCCDFF_Block_3 ; CPU:$CE36 PRG:0E36 D0 07 + bne Label_CE3F ; CPU:$CE36 PRG:0E36 D0 07 pla ; CPU:$CE38 PRG:0E38 68 sta $0209,y ; CPU:$CE39 PRG:0E39 99 09 02 jmp $CE43 ; CPU:$CE3C PRG:0E3C 4C 43 CE ; ----------------------------------------------------------------------------- -; Routine: SubCCDFF_Block_3 +; Routine: Label_CE3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3620,11 +3629,11 @@ SubCCDFF_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCDFF_Block_3: +Label_CE3F: pla ; CPU:$CE3F PRG:0E3F 68 sta $0215,y ; CPU:$CE40 PRG:0E40 99 15 02 ; ----------------------------------------------------------------------------- -; Routine: SubCCE43 +; Routine: Label_CE43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3632,19 +3641,19 @@ SubCCDFF_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE43: +Label_CE43: lda Zp70,x ; CPU:$CE43 PRG:0E43 B5 70 and #$80 ; CPU:$CE45 PRG:0E45 29 80 - beq SubCCE43_Block ; CPU:$CE47 PRG:0E47 F0 13 - lda Zp55 ; CPU:$CE49 PRG:0E49 A5 55 + beq Label_CE5C ; CPU:$CE47 PRG:0E47 F0 13 + lda ZpCheckZp14 ; CPU:$CE49 PRG:0E49 A5 55 cmp #$01 ; CPU:$CE4B PRG:0E4B C9 01 - beq SubCCE43_Block_2 ; CPU:$CE4D PRG:0E4D F0 05 + beq Label_CE54 ; CPU:$CE4D PRG:0E4D F0 05 dec Zp66,x ; CPU:$CE4F PRG:0E4F D6 66 lda #$02 ; CPU:$CE51 PRG:0E51 A9 02 ; ---- data $CE53-$CE53 (1 bytes) ---- .byte $2C ; CPU:$CE53 PRG:0E53 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCE43_Block_2 +; Routine: Label_CE54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3652,13 +3661,13 @@ SubCCE43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE43_Block_2: +Label_CE54: lda #$04 ; CPU:$CE54 PRG:0E54 A9 04 sta Zp6A,x ; CPU:$CE56 PRG:0E56 95 6A lda #$04 ; CPU:$CE58 PRG:0E58 A9 04 sta ZpFF ; CPU:$CE5A PRG:0E5A 85 FF ; ----------------------------------------------------------------------------- -; Routine: SubCCE43_Block +; Routine: Label_CE5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3666,10 +3675,10 @@ SubCCE43_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE43_Block: +Label_CE5C: rts ; CPU:$CE5C PRG:0E5C 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCE5D +; Routine: Label_CE5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3677,27 +3686,27 @@ SubCCE43_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE5D: +Label_CE5D: lda #$A8 ; CPU:$CE5D PRG:0E5D A9 A8 sta ZpE2,x ; CPU:$CE5F PRG:0E5F 95 E2 lda #$03 ; CPU:$CE61 PRG:0E61 A9 03 sta ZpE4,x ; CPU:$CE63 PRG:0E63 95 E4 lda Zp68,x ; CPU:$CE65 PRG:0E65 B5 68 - bne SubCCE5D_Block_5 ; CPU:$CE67 PRG:0E67 D0 2A + bne Label_CE93 ; CPU:$CE67 PRG:0E67 D0 2A lda ZpE6,x ; CPU:$CE69 PRG:0E69 B5 E6 cmp #$03 ; CPU:$CE6B PRG:0E6B C9 03 - bcc SubCCE5D_Block_5 ; CPU:$CE6D PRG:0E6D 90 24 + bcc Label_CE93 ; CPU:$CE6D PRG:0E6D 90 24 lda Zp70,x ; CPU:$CE6F PRG:0E6F B5 70 and #$03 ; CPU:$CE71 PRG:0E71 29 03 - beq SubCCE5D_Block_5 ; CPU:$CE73 PRG:0E73 F0 1E + beq Label_CE93 ; CPU:$CE73 PRG:0E73 F0 1E sta Zp68,x ; CPU:$CE75 PRG:0E75 95 68 cmp #$01 ; CPU:$CE77 PRG:0E77 C9 01 - beq SubCCE5D_Block_4 ; CPU:$CE79 PRG:0E79 F0 03 + beq Label_CE7E ; CPU:$CE79 PRG:0E79 F0 03 lda #$00 ; CPU:$CE7B PRG:0E7B A9 00 ; ---- data $CE7D-$CE7D (1 bytes) ---- .byte $2C ; CPU:$CE7D PRG:0E7D 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCE5D_Block_4 +; Routine: Label_CE7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3705,14 +3714,14 @@ SubCCE5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE5D_Block_4: +Label_CE7E: lda #$01 ; CPU:$CE7E PRG:0E7E A9 01 sta Zp62,x ; CPU:$CE80 PRG:0E80 95 62 lda #$0F ; CPU:$CE82 PRG:0E82 A9 0F sta Zp6E,x ; CPU:$CE84 PRG:0E84 95 6E - bne SubCCE5D_Block_5 ; CPU:$CE86 PRG:0E86 D0 0B + bne Label_CE93 ; CPU:$CE86 PRG:0E86 D0 0B ; ----------------------------------------------------------------------------- -; Routine: SubCCE88 +; Routine: Label_CE88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3720,12 +3729,12 @@ SubCCE5D_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE88: +Label_CE88: lda #$F0 ; CPU:$CE88 PRG:0E88 A9 F0 ; ---- data $CE8A-$CE8A (1 bytes) ---- .byte $2C ; CPU:$CE8A PRG:0E8A 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCE8B +; Routine: Label_CE8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3733,13 +3742,13 @@ SubCCE88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE8B: +Label_CE8B: lda #$B0 ; CPU:$CE8B PRG:0E8B A9 B0 sta ZpE2,x ; CPU:$CE8D PRG:0E8D 95 E2 lda #$00 ; CPU:$CE8F PRG:0E8F A9 00 sta ZpE4,x ; CPU:$CE91 PRG:0E91 95 E4 ; ----------------------------------------------------------------------------- -; Routine: SubCCE5D_Block_5 +; Routine: Label_CE93 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3747,12 +3756,12 @@ SubCCE8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE5D_Block_5: +Label_CE93: lda Zp68,x ; CPU:$CE93 PRG:0E93 B5 68 - beq SubCCE8B_Block ; CPU:$CE95 PRG:0E95 F0 03 + beq Label_CE9A ; CPU:$CE95 PRG:0E95 F0 03 jsr $D160 ; CPU:$CE97 PRG:0E97 20 60 D1 ; ----------------------------------------------------------------------------- -; Routine: SubCCE8B_Block +; Routine: Label_CE9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3760,11 +3769,11 @@ SubCCE5D_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE8B_Block: +Label_CE9A: jsr $D133 ; CPU:$CE9A PRG:0E9A 20 33 D1 jsr $CEEF ; CPU:$CE9D PRG:0E9D 20 EF CE jsr $CF1A ; CPU:$CEA0 PRG:0EA0 20 1A CF - bcc SubCCE8B_Block_2 ; CPU:$CEA3 PRG:0EA3 90 2B + bcc Label_CED0 ; CPU:$CEA3 PRG:0EA3 90 2B lda Zp0E ; CPU:$CEA5 PRG:0EA5 A5 0E sec ; CPU:$CEA7 PRG:0EA7 38 sbc #$19 ; CPU:$CEA8 PRG:0EA8 E9 19 @@ -3774,20 +3783,20 @@ SubCCE8B_Block: sta Zp86,x ; CPU:$CEB0 PRG:0EB0 95 86 sta Zp88,x ; CPU:$CEB2 PRG:0EB2 95 88 sta Zp60,x ; CPU:$CEB4 PRG:0EB4 95 60 - ldx Zp5F ; CPU:$CEB6 PRG:0EB6 A6 5F + ldx SprData2 ; CPU:$CEB6 PRG:0EB6 A6 5F lda #$01 ; CPU:$CEB8 PRG:0EB8 A9 01 sta Zp6A,x ; CPU:$CEBA PRG:0EBA 95 6A lda Zp68,x ; CPU:$CEBC PRG:0EBC B5 68 - beq SubCCEDB_Block_2 ; CPU:$CEBE PRG:0EBE F0 2E + beq Label_CEEE ; CPU:$CEBE PRG:0EBE F0 2E lda #$03 ; CPU:$CEC0 PRG:0EC0 A9 03 sta Zp6A,x ; CPU:$CEC2 PRG:0EC2 95 6A lda Zp6E,x ; CPU:$CEC4 PRG:0EC4 B5 6E - ldy Zp5A,x ; CPU:$CEC6 PRG:0EC6 B4 5A + ldy SprData,x ; CPU:$CEC6 PRG:0EC6 B4 5A cpy #$08 ; CPU:$CEC8 PRG:0EC8 C0 08 - bcs SubCCE8B_Block_4 ; CPU:$CECA PRG:0ECA B0 01 + bcs Label_CECD ; CPU:$CECA PRG:0ECA B0 01 lsr a ; CPU:$CECC PRG:0ECC 4A ; ----------------------------------------------------------------------------- -; Routine: SubCCE8B_Block_4 +; Routine: Label_CECD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3795,11 +3804,11 @@ SubCCE8B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE8B_Block_4: +Label_CECD: lsr a ; CPU:$CECD PRG:0ECD 4A sta Zp32,x ; CPU:$CECE PRG:0ECE 95 32 ; ----------------------------------------------------------------------------- -; Routine: SubCCE8B_Block_2 +; Routine: Label_CED0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3807,14 +3816,14 @@ SubCCE8B_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCE8B_Block_2: +Label_CED0: lda Zp6A,x ; CPU:$CED0 PRG:0ED0 B5 6A cmp #$04 ; CPU:$CED2 PRG:0ED2 C9 04 - bcs SubCCEDB_Block_2 ; CPU:$CED4 PRG:0ED4 B0 18 + bcs Label_CEEE ; CPU:$CED4 PRG:0ED4 B0 18 ldy #$07 ; CPU:$CED6 PRG:0ED6 A0 07 jmp $D17C ; CPU:$CED8 PRG:0ED8 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: SubCCEDB +; Routine: Label_CEDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3822,10 +3831,10 @@ SubCCE8B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEDB: +Label_CEDB: ldy #$00 ; CPU:$CEDB PRG:0EDB A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCCEDB_Block_3 +; Routine: Label_CEDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3833,13 +3842,13 @@ SubCCEDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEDB_Block_3: +Label_CEDD: cmp $CBDC,y ; CPU:$CEDD PRG:0EDD D9 DC CB - bcc SubCCEDB_Block ; CPU:$CEE0 PRG:0EE0 90 05 + bcc Label_CEE7 ; CPU:$CEE0 PRG:0EE0 90 05 cmp $CBDD,y ; CPU:$CEE2 PRG:0EE2 D9 DD CB - bcc SubCCEDB_Block_2 ; CPU:$CEE5 PRG:0EE5 90 07 + bcc Label_CEEE ; CPU:$CEE5 PRG:0EE5 90 07 ; ----------------------------------------------------------------------------- -; Routine: SubCCEDB_Block +; Routine: Label_CEE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3847,14 +3856,14 @@ SubCCEDB_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEDB_Block: +Label_CEE7: iny ; CPU:$CEE7 PRG:0EE7 C8 iny ; CPU:$CEE8 PRG:0EE8 C8 cpy #$0C ; CPU:$CEE9 PRG:0EE9 C0 0C - bne SubCCEDB_Block_3 ; CPU:$CEEB PRG:0EEB D0 F0 + bne Label_CEDD ; CPU:$CEEB PRG:0EEB D0 F0 sec ; CPU:$CEED PRG:0EED 38 ; ----------------------------------------------------------------------------- -; Routine: SubCCEDB_Block_2 +; Routine: Label_CEEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3862,10 +3871,10 @@ SubCCEDB_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEDB_Block_2: +Label_CEEE: rts ; CPU:$CEEE PRG:0EEE 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCEEF +; Routine: Label_CEEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3873,26 +3882,26 @@ SubCCEDB_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEEF: +Label_CEEF: lda Zp86,x ; CPU:$CEEF PRG:0EEF B5 86 - bne SubCCEEF_Block_4 ; CPU:$CEF1 PRG:0EF1 D0 26 + bne Label_CF19 ; CPU:$CEF1 PRG:0EF1 D0 26 lda Zp66,x ; CPU:$CEF3 PRG:0EF3 B5 66 clc ; CPU:$CEF5 PRG:0EF5 18 adc #$FA ; CPU:$CEF6 PRG:0EF6 69 FA jsr $CEDB ; CPU:$CEF8 PRG:0EF8 20 DB CE - bcs SubCCEEF_Block_4 ; CPU:$CEFB PRG:0EFB B0 1C + bcs Label_CF19 ; CPU:$CEFB PRG:0EFB B0 1C jsr $CF5B ; CPU:$CEFD PRG:0EFD 20 5B CF sta Zp0B ; CPU:$CF00 PRG:0F00 85 0B lda Zp64,x ; CPU:$CF02 PRG:0F02 B5 64 clc ; CPU:$CF04 PRG:0F04 18 adc #$08 ; CPU:$CF05 PRG:0F05 69 08 jsr $DBB0 ; CPU:$CF07 PRG:0F07 20 B0 DB - bpl SubCCEEF_Block_3 ; CPU:$CF0A PRG:0F0A 10 06 + bpl Label_CF12 ; CPU:$CF0A PRG:0F0A 10 06 ldy Zp0B ; CPU:$CF0C PRG:0F0C A4 0B - beq SubCCEEF_Block_4 ; CPU:$CF0E PRG:0F0E F0 09 - bne SubCCEEF_Block_5 ; CPU:$CF10 PRG:0F10 D0 03 + beq Label_CF19 ; CPU:$CF0E PRG:0F0E F0 09 + bne Label_CF15 ; CPU:$CF10 PRG:0F10 D0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCCEEF_Block_3 +; Routine: Label_CF12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3900,12 +3909,12 @@ SubCCEEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEEF_Block_3: +Label_CF12: lda #$08 ; CPU:$CF12 PRG:0F12 A9 08 ; ---- data $CF14-$CF14 (1 bytes) ---- .byte $2C ; CPU:$CF14 PRG:0F14 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCEEF_Block_5 +; Routine: Label_CF15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3913,11 +3922,11 @@ SubCCEEF_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEEF_Block_5: +Label_CF15: lda #$06 ; CPU:$CF15 PRG:0F15 A9 06 sta Zp6A,x ; CPU:$CF17 PRG:0F17 95 6A ; ----------------------------------------------------------------------------- -; Routine: SubCCEEF_Block_4 +; Routine: Label_CF19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3925,10 +3934,10 @@ SubCCEEF_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCEEF_Block_4: +Label_CF19: rts ; CPU:$CF19 PRG:0F19 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCF1A +; Routine: Label_CF1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3936,31 +3945,31 @@ SubCCEEF_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF1A: +Label_CF1A: lda Zp66,x ; CPU:$CF1A PRG:0F1A B5 66 clc ; CPU:$CF1C PRG:0F1C 18 adc #$18 ; CPU:$CF1D PRG:0F1D 69 18 jsr $CEDB ; CPU:$CF1F PRG:0F1F 20 DB CE - bcs SubCCF1A_Block ; CPU:$CF22 PRG:0F22 B0 2D + bcs Label_CF51 ; CPU:$CF22 PRG:0F22 B0 2D tya ; CPU:$CF24 PRG:0F24 98 sty Zp07 ; CPU:$CF25 PRG:0F25 84 07 cmp Zp88,x ; CPU:$CF27 PRG:0F27 D5 88 - beq SubCCF1A_Block_7 ; CPU:$CF29 PRG:0F29 F0 2A + beq Label_CF55 ; CPU:$CF29 PRG:0F29 F0 2A lda $CBDC,y ; CPU:$CF2B PRG:0F2B B9 DC CB sta Zp0E ; CPU:$CF2E PRG:0F2E 85 0E lda ZpE6,x ; CPU:$CF30 PRG:0F30 B5 E6 cmp #$03 ; CPU:$CF32 PRG:0F32 C9 03 - bcs SubCCF1A_Block_5 ; CPU:$CF34 PRG:0F34 B0 10 + bcs Label_CF46 ; CPU:$CF34 PRG:0F34 B0 10 cmp #$02 ; CPU:$CF36 PRG:0F36 C9 02 - bcc SubCCF1A_Block_7 ; CPU:$CF38 PRG:0F38 90 1B + bcc Label_CF55 ; CPU:$CF38 PRG:0F38 90 1B lda Zp6A,x ; CPU:$CF3A PRG:0F3A B5 6A cmp #$08 ; CPU:$CF3C PRG:0F3C C9 08 - beq SubCCF1A_Block_5 ; CPU:$CF3E PRG:0F3E F0 06 + beq Label_CF46 ; CPU:$CF3E PRG:0F3E F0 06 lda ZpE8,x ; CPU:$CF40 PRG:0F40 B5 E8 cmp #$C0 ; CPU:$CF42 PRG:0F42 C9 C0 - bcc SubCCF1A_Block_7 ; CPU:$CF44 PRG:0F44 90 0F + bcc Label_CF55 ; CPU:$CF44 PRG:0F44 90 0F ; ----------------------------------------------------------------------------- -; Routine: SubCCF1A_Block_5 +; Routine: Label_CF46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3968,15 +3977,15 @@ SubCCF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF1A_Block_5: +Label_CF46: ldy Zp07 ; CPU:$CF46 PRG:0F46 A4 07 sty Zp88,x ; CPU:$CF48 PRG:0F48 94 88 jsr $CD62 ; CPU:$CF4A PRG:0F4A 20 62 CD - bcc SubCCF1A_Block_7 ; CPU:$CF4D PRG:0F4D 90 06 + bcc Label_CF55 ; CPU:$CF4D PRG:0F4D 90 06 sec ; CPU:$CF4F PRG:0F4F 38 rts ; CPU:$CF50 PRG:0F50 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCF1A_Block +; Routine: Label_CF51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3984,11 +3993,11 @@ SubCCF1A_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF1A_Block: +Label_CF51: lda #$00 ; CPU:$CF51 PRG:0F51 A9 00 sta Zp88,x ; CPU:$CF53 PRG:0F53 95 88 ; ----------------------------------------------------------------------------- -; Routine: SubCCF1A_Block_7 +; Routine: Label_CF55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3996,7 +4005,7 @@ SubCCF1A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF1A_Block_7: +Label_CF55: clc ; CPU:$CF55 PRG:0F55 18 rts ; CPU:$CF56 PRG:0F56 60 ; ---- data $CF57-$CF5A (4 bytes) ---- @@ -4004,7 +4013,7 @@ SubCCF1A_Block_7: ; referenced by `lda $CF57,y` at $CFA4 (operand $CF57 falls inside this region) .byte $01, $80, $03, $0D ; CPU:$CF57 PRG:0F57 01 80 03 0D ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B +; Routine: Label_CF5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4012,18 +4021,18 @@ SubCCF1A_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B: +Label_CF5B: lda #$01 ; CPU:$CF5B PRG:0F5B A9 01 sta Zp82,x ; CPU:$CF5D PRG:0F5D 95 82 lsr a ; CPU:$CF5F PRG:0F5F 4A sta Zp0A ; CPU:$CF60 PRG:0F60 85 0A lda #$08 ; CPU:$CF62 PRG:0F62 A9 08 jsr $CFC0 ; CPU:$CF64 PRG:0F64 20 C0 CF - bmi SubCCF5B_Block ; CPU:$CF67 PRG:0F67 30 04 + bmi Label_CF6D ; CPU:$CF67 PRG:0F67 30 04 lda #$FF ; CPU:$CF69 PRG:0F69 A9 FF - bne SubCCF5B_Block_9 ; CPU:$CF6B PRG:0F6B D0 3A + bne Label_CFA7 ; CPU:$CF6B PRG:0F6B D0 3A ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block +; Routine: Label_CF6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4031,16 +4040,16 @@ SubCCF5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block: +Label_CF6D: lda Zp68,x ; CPU:$CF6D PRG:0F6D B5 68 - bne SubCCF5B_Block_3 ; CPU:$CF6F PRG:0F6F D0 18 + bne Label_CF89 ; CPU:$CF6F PRG:0F6F D0 18 lda #$06 ; CPU:$CF71 PRG:0F71 A9 06 jsr $CFC0 ; CPU:$CF73 PRG:0F73 20 C0 CF - bmi SubCCF5B_Block_4 ; CPU:$CF76 PRG:0F76 30 04 + bmi Label_CF7C ; CPU:$CF76 PRG:0F76 30 04 lda #$E0 ; CPU:$CF78 PRG:0F78 A9 E0 sta Zp0A ; CPU:$CF7A PRG:0F7A 85 0A ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_4 +; Routine: Label_CF7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4048,15 +4057,15 @@ SubCCF5B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_4: +Label_CF7C: lda #$0A ; CPU:$CF7C PRG:0F7C A9 0A jsr $CFC0 ; CPU:$CF7E PRG:0F7E 20 C0 CF - bmi SubCCF5B_Block_5 ; CPU:$CF81 PRG:0F81 30 26 + bmi Label_CFA9 ; CPU:$CF81 PRG:0F81 30 26 lda Zp0A ; CPU:$CF83 PRG:0F83 A5 0A ora #$07 ; CPU:$CF85 PRG:0F85 09 07 - bne SubCCF5B_Block_9 ; CPU:$CF87 PRG:0F87 D0 1E + bne Label_CFA7 ; CPU:$CF87 PRG:0F87 D0 1E ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_3 +; Routine: Label_CF89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4064,16 +4073,16 @@ SubCCF5B_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_3: +Label_CF89: lda #$01 ; CPU:$CF89 PRG:0F89 A9 01 sta Zp0C ; CPU:$CF8B PRG:0F8B 85 0C ldy Zp62,x ; CPU:$CF8D PRG:0F8D B4 62 lda $CF59,y ; CPU:$CF8F PRG:0F8F B9 59 CF jsr $CFC0 ; CPU:$CF92 PRG:0F92 20 C0 CF - bpl SubCCF5B_Block_7 ; CPU:$CF95 PRG:0F95 10 02 + bpl Label_CF99 ; CPU:$CF95 PRG:0F95 10 02 dec Zp0C ; CPU:$CF97 PRG:0F97 C6 0C ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_7 +; Routine: Label_CF99 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4081,15 +4090,15 @@ SubCCF5B_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_7: +Label_CF99: ldy Zp68,x ; CPU:$CF99 PRG:0F99 B4 68 dey ; CPU:$CF9B PRG:0F9B 88 lda Zp0C ; CPU:$CF9C PRG:0F9C A5 0C - bne SubCCF5B_Block_8 ; CPU:$CF9E PRG:0F9E D0 04 + bne Label_CFA4 ; CPU:$CF9E PRG:0F9E D0 04 lda #$00 ; CPU:$CFA0 PRG:0FA0 A9 00 - beq SubCCF5B_Block_9 ; CPU:$CFA2 PRG:0FA2 F0 03 + beq Label_CFA7 ; CPU:$CFA2 PRG:0FA2 F0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_8 +; Routine: Label_CFA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4097,10 +4106,10 @@ SubCCF5B_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_8: +Label_CFA4: lda $CF57,y ; CPU:$CFA4 PRG:0FA4 B9 57 CF ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_9 +; Routine: Label_CFA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4108,10 +4117,10 @@ SubCCF5B_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_9: +Label_CFA7: sta Zp0A ; CPU:$CFA7 PRG:0FA7 85 0A ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_5 +; Routine: Label_CFA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4119,7 +4128,7 @@ SubCCF5B_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_5: +Label_CFA9: lda Zp64,x ; CPU:$CFA9 PRG:0FA9 B5 64 clc ; CPU:$CFAB PRG:0FAB 18 adc #$08 ; CPU:$CFAC PRG:0FAC 69 08 @@ -4128,11 +4137,11 @@ SubCCF5B_Block_5: lda $CBED,y ; CPU:$CFB1 PRG:0FB1 B9 ED CB ora Zp0A ; CPU:$CFB4 PRG:0FB4 05 0A cmp Zp0A ; CPU:$CFB6 PRG:0FB6 C5 0A - bne SubCCF5B_Block_10 ; CPU:$CFB8 PRG:0FB8 D0 03 + bne Label_CFBD ; CPU:$CFB8 PRG:0FB8 D0 03 lda #$01 ; CPU:$CFBA PRG:0FBA A9 01 rts ; CPU:$CFBC PRG:0FBC 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCF5B_Block_10 +; Routine: Label_CFBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4140,11 +4149,11 @@ SubCCF5B_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCF5B_Block_10: +Label_CFBD: lda #$00 ; CPU:$CFBD PRG:0FBD A9 00 rts ; CPU:$CFBF PRG:0FBF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCFC0 +; Routine: Label_CFC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4152,12 +4161,12 @@ SubCCF5B_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFC0: +Label_CFC0: clc ; CPU:$CFC0 PRG:0FC0 18 adc Zp64,x ; CPU:$CFC1 PRG:0FC1 75 64 jmp $DBB4 ; CPU:$CFC3 PRG:0FC3 4C B4 DB ; ----------------------------------------------------------------------------- -; Routine: SubCCFC6 +; Routine: Label_CFC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4165,16 +4174,16 @@ SubCCFC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFC6: +Label_CFC6: lda Zp68,x ; CPU:$CFC6 PRG:0FC6 B5 68 - beq SubCCFC6_Block ; CPU:$CFC8 PRG:0FC8 F0 09 + beq Label_CFD3 ; CPU:$CFC8 PRG:0FC8 F0 09 cmp #$01 ; CPU:$CFCA PRG:0FCA C9 01 - beq SubCCFC6_Block_2 ; CPU:$CFCC PRG:0FCC F0 03 + beq Label_CFD1 ; CPU:$CFCC PRG:0FCC F0 03 dec Zp64,x ; CPU:$CFCE PRG:0FCE D6 64 ; ---- data $CFD0-$CFD0 (1 bytes) ---- .byte $2C ; CPU:$CFD0 PRG:0FD0 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCFC6_Block_2 +; Routine: Label_CFD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4182,10 +4191,10 @@ SubCCFC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFC6_Block_2: +Label_CFD1: inc Zp64,x ; CPU:$CFD1 PRG:0FD1 F6 64 ; ----------------------------------------------------------------------------- -; Routine: SubCCFC6_Block +; Routine: Label_CFD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4193,22 +4202,22 @@ SubCCFC6_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFC6_Block: +Label_CFD3: ldy #$05 ; CPU:$CFD3 PRG:0FD3 A0 05 jsr $D17C ; CPU:$CFD5 PRG:0FD5 20 7C D1 lda Zp32,x ; CPU:$CFD8 PRG:0FD8 B5 32 - beq SubCCFEB ; CPU:$CFDA PRG:0FDA F0 0F - lda Zp5A,x ; CPU:$CFDC PRG:0FDC B5 5A + beq Label_CFEB ; CPU:$CFDA PRG:0FDA F0 0F + lda SprData,x ; CPU:$CFDC PRG:0FDC B5 5A cmp #$06 ; CPU:$CFDE PRG:0FDE C9 06 - bcc SubCCFEB ; CPU:$CFE0 PRG:0FE0 90 09 + bcc Label_CFEB ; CPU:$CFE0 PRG:0FE0 90 09 lda Zp70,x ; CPU:$CFE2 PRG:0FE2 B5 70 and #$40 ; CPU:$CFE4 PRG:0FE4 29 40 - beq SubCCFC6_Block_3 ; CPU:$CFE6 PRG:0FE6 F0 14 + beq Label_CFFC ; CPU:$CFE6 PRG:0FE6 F0 14 lda #$05 ; CPU:$CFE8 PRG:0FE8 A9 05 ; ---- data $CFEA-$CFEA (1 bytes) ---- .byte $2C ; CPU:$CFEA PRG:0FEA 2C ; ----------------------------------------------------------------------------- -; Routine: SubCCFEB +; Routine: Label_CFEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4216,11 +4225,11 @@ SubCCFC6_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFEB: +Label_CFEB: lda #$01 ; CPU:$CFEB PRG:0FEB A9 01 sta Zp6A,x ; CPU:$CFED PRG:0FED 95 6A ; ----------------------------------------------------------------------------- -; Routine: SubCCFEF +; Routine: Label_CFEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4228,7 +4237,7 @@ SubCCFEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFEF: +Label_CFEF: lda #$00 ; CPU:$CFEF PRG:0FEF A9 00 sta Zp32,x ; CPU:$CFF1 PRG:0FF1 95 32 sta Zp68,x ; CPU:$CFF3 PRG:0FF3 95 68 @@ -4236,7 +4245,7 @@ SubCCFEF: sta Zp6C,x ; CPU:$CFF7 PRG:0FF7 95 6C sta Zp6E,x ; CPU:$CFF9 PRG:0FF9 95 6E ; ----------------------------------------------------------------------------- -; Routine: SubCD021_Block +; Routine: Label_CFFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4244,10 +4253,10 @@ SubCCFEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD021_Block: +Label_CFFB: rts ; CPU:$CFFB PRG:0FFB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCCFC6_Block_3 +; Routine: Label_CFFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4255,16 +4264,16 @@ SubCD021_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFC6_Block_3: +Label_CFFC: lda Zp70,x ; CPU:$CFFC PRG:0FFC B5 70 and #$80 ; CPU:$CFFE PRG:0FFE 29 80 - beq SubCD021_Block ; CPU:$D000 PRG:1000 F0 F9 + beq Label_CFFB ; CPU:$D000 PRG:1000 F0 F9 jsr $CE43 ; CPU:$D002 PRG:1002 20 43 CE jmp $CFEF ; CPU:$D005 PRG:1005 4C EF CF ; ---- data $D008-$D009 (2 bytes) ---- .byte $B5, $6A ; CPU:$D008 PRG:1008 B5 6A ; ----------------------------------------------------------------------------- -; Routine: SubCD00A +; Routine: Label_D00A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4272,15 +4281,15 @@ SubCCFC6_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD00A: +Label_D00A: cmp #$06 ; CPU:$D00A PRG:100A C9 06 - beq SubCCFEF_Block_2 ; CPU:$D00C PRG:100C F0 0A + beq Label_D018 ; CPU:$D00C PRG:100C F0 0A cmp #$08 ; CPU:$D00E PRG:100E C9 08 - beq SubCCFEF_Block_3 ; CPU:$D010 PRG:1010 F0 0C + beq Label_D01E ; CPU:$D010 PRG:1010 F0 0C jsr $CE5D ; CPU:$D012 PRG:1012 20 5D CE jmp $D021 ; CPU:$D015 PRG:1015 4C 21 D0 ; ----------------------------------------------------------------------------- -; Routine: SubCCFEF_Block_2 +; Routine: Label_D018 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4288,11 +4297,11 @@ SubCD00A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFEF_Block_2: +Label_D018: jsr $CE88 ; CPU:$D018 PRG:1018 20 88 CE jmp $D021 ; CPU:$D01B PRG:101B 4C 21 D0 ; ----------------------------------------------------------------------------- -; Routine: SubCCFEF_Block_3 +; Routine: Label_D01E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4300,10 +4309,10 @@ SubCCFEF_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCCFEF_Block_3: +Label_D01E: jsr $CE8B ; CPU:$D01E PRG:101E 20 8B CE ; ----------------------------------------------------------------------------- -; Routine: SubCD021 +; Routine: Label_D021 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4311,11 +4320,11 @@ SubCCFEF_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD021: +Label_D021: lda ZpE0,x ; CPU:$D021 PRG:1021 B5 E0 - beq SubCD021_Block ; CPU:$D023 PRG:1023 F0 D6 + beq Label_CFFB ; CPU:$D023 PRG:1023 F0 D6 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block_2 +; Routine: Label_D025 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4323,13 +4332,13 @@ SubCD021: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block_2: - ldx Zp5F ; CPU:$D025 PRG:1025 A6 5F +Label_D025: + ldx SprData2 ; CPU:$D025 PRG:1025 A6 5F lda Zp86,x ; CPU:$D027 PRG:1027 B5 86 - bne SubCD021_Block_5 ; CPU:$D029 PRG:1029 D0 24 + bne Label_D04F ; CPU:$D029 PRG:1029 D0 24 lda Zp6A,x ; CPU:$D02B PRG:102B B5 6A ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block_3 +; Routine: Label_D02D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4337,10 +4346,10 @@ SubCD07C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block_3: +Label_D02D: cmp #$04 ; CPU:$D02D PRG:102D C9 04 - beq SubCD021_Block_5 ; CPU:$D02F PRG:102F F0 1E - lda Zp5F ; CPU:$D031 PRG:1031 A5 5F + beq Label_D04F ; CPU:$D02F PRG:102F F0 1E + lda SprData2 ; CPU:$D031 PRG:1031 A5 5F asl a ; CPU:$D033 PRG:1033 0A asl a ; CPU:$D034 PRG:1034 0A tay ; CPU:$D035 PRG:1035 A8 @@ -4348,16 +4357,16 @@ SubCD07C_Block_3: sec ; CPU:$D039 PRG:1039 38 sbc #$01 ; CPU:$D03A PRG:103A E9 01 jsr $CEDB ; CPU:$D03C PRG:103C 20 DB CE - bcs SubCD021_Block_5 ; CPU:$D03F PRG:103F B0 0E + bcs Label_D04F ; CPU:$D03F PRG:103F B0 0E lda ZpE6,x ; CPU:$D041 PRG:1041 B5 E6 cmp #$03 ; CPU:$D043 PRG:1043 C9 03 - bcs SubCD021_Block_5 ; CPU:$D045 PRG:1045 B0 08 + bcs Label_D04F ; CPU:$D045 PRG:1045 B0 08 lda #$01 ; CPU:$D047 PRG:1047 A9 01 sta Zp80,x ; CPU:$D049 PRG:1049 95 80 sta Zp86,x ; CPU:$D04B PRG:104B 95 86 sta Zp82,x ; CPU:$D04D PRG:104D 95 82 ; ----------------------------------------------------------------------------- -; Routine: SubCD021_Block_5 +; Routine: Label_D04F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4365,11 +4374,11 @@ SubCD07C_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD021_Block_5: +Label_D04F: ldy #$07 ; CPU:$D04F PRG:104F A0 07 lda Zp60,x ; CPU:$D051 PRG:1051 B5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD053 +; Routine: Label_D053 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4377,13 +4386,13 @@ SubCD021_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD053: +Label_D053: cmp #$0B ; CPU:$D053 PRG:1053 C9 0B - bcs SubCD021_Block_6 ; CPU:$D055 PRG:1055 B0 03 + bcs Label_D05A ; CPU:$D055 PRG:1055 B0 03 inc Zp60,x ; CPU:$D057 PRG:1057 F6 60 dey ; CPU:$D059 PRG:1059 88 ; ----------------------------------------------------------------------------- -; Routine: SubCD021_Block_6 +; Routine: Label_D05A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4391,12 +4400,12 @@ SubCD053: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD021_Block_6: +Label_D05A: jmp $D17C ; CPU:$D05A PRG:105A 4C 7C D1 ; ---- data $D05D-$D06A (14 bytes) ---- .byte $F6, $60, $B5, $60, $C9, $14, $B0, $17, $C9, $01, $90, $92, $A0, $0A ; CPU:$D05D PRG:105D F6 60 B5 60 C9 14 B0 17 C9 01 90 92 A0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD06B +; Routine: Label_D06B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4404,15 +4413,15 @@ SubCD021_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD06B: +Label_D06B: cmp #$0B ; CPU:$D06B PRG:106B C9 0B - bcs SubCD07C_Block ; CPU:$D06D PRG:106D B0 0A + bcs Label_D079 ; CPU:$D06D PRG:106D B0 0A cmp #$07 ; CPU:$D06F PRG:106F C9 07 - bcs SubCD021_Block_8 ; CPU:$D071 PRG:1071 B0 04 + bcs Label_D077 ; CPU:$D071 PRG:1071 B0 04 ldy #$07 ; CPU:$D073 PRG:1073 A0 07 - bne SubCD07C_Block ; CPU:$D075 PRG:1075 D0 02 + bne Label_D079 ; CPU:$D075 PRG:1075 D0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCD021_Block_8 +; Routine: Label_D077 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4420,10 +4429,10 @@ SubCD06B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD021_Block_8: +Label_D077: ldy #$09 ; CPU:$D077 PRG:1077 A0 09 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block +; Routine: Label_D079 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4431,10 +4440,10 @@ SubCD021_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block: +Label_D079: jmp $D17C ; CPU:$D079 PRG:1079 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C +; Routine: Label_D07C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4442,24 +4451,24 @@ SubCD07C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C: +Label_D07C: lda #$01 ; CPU:$D07C PRG:107C A9 01 sta Zp6A,x ; CPU:$D07E PRG:107E 95 6A lsr a ; CPU:$D080 PRG:1080 4A sta Zp60,x ; CPU:$D081 PRG:1081 95 60 tay ; CPU:$D083 PRG:1083 A8 - beq SubCD07C_Block ; CPU:$D084 PRG:1084 F0 F3 + beq Label_D079 ; CPU:$D084 PRG:1084 F0 F3 stx $94D0 ; CPU:$D086 PRG:1086 8E D0 94 - bne SubCD07C_Block_2 ; CPU:$D089 PRG:1089 D0 9A - bne SubCD07C_Block_3 ; CPU:$D08B PRG:108B D0 A0 - bne SubCD0C5_Block_2 ; CPU:$D08D PRG:108D D0 68 + bne Label_D025 ; CPU:$D089 PRG:1089 D0 9A + bne Label_D02D ; CPU:$D08B PRG:108B D0 A0 + bne Label_D0F7 ; CPU:$D08D PRG:108D D0 68 adc #$6A ; CPU:$D08F PRG:108F 69 6A ; ---- data $D091-$D0A9 (25 bytes) ---- ; referenced by `lda $D0A6,y` at $D0E7 (operand $D0A6 falls inside this region) .byte $6B, $6C, $6D, $6A, $69, $68, $6D, $6C, $6B, $6D, $6C, $6B, $6A, $69, $68, $6B ; CPU:$D091 PRG:1091 6B 6C 6D 6A 69 68 6D 6C 6B 6D 6C 6B 6A 69 68 6B .byte $6C, $6D, $68, $69, $6A, $00, $80, $C0, $40 ; CPU:$D0A1 PRG:10A1 6C 6D 68 69 6A 00 80 C0 40 ; ----------------------------------------------------------------------------- -; Routine: SubCD0AA +; Routine: Label_D0AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4467,16 +4476,16 @@ SubCD07C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD0AA: +Label_D0AA: lda Zp32,x ; CPU:$D0AA PRG:10AA B5 32 - beq SubCD07C_Block_5 ; CPU:$D0AC PRG:10AC F0 1C + beq Label_D0CA ; CPU:$D0AC PRG:10AC F0 1C cmp #$10 ; CPU:$D0AE PRG:10AE C9 10 - beq SubCD0B8 ; CPU:$D0B0 PRG:10B0 F0 06 - bcs SubCD07C_Block_6 ; CPU:$D0B2 PRG:10B2 B0 0C + beq Label_D0B8 ; CPU:$D0B0 PRG:10B0 F0 06 + bcs Label_D0C0 ; CPU:$D0B2 PRG:10B2 B0 0C ldy #$0B ; CPU:$D0B4 PRG:10B4 A0 0B - bne SubCD07C_Block_7 ; CPU:$D0B6 PRG:10B6 D0 0F + bne Label_D0C7 ; CPU:$D0B6 PRG:10B6 D0 0F ; ----------------------------------------------------------------------------- -; Routine: SubCD0B8 +; Routine: Label_D0B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4484,14 +4493,14 @@ SubCD0AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD0B8: +Label_D0B8: txa ; CPU:$D0B8 PRG:10B8 8A clc ; CPU:$D0B9 PRG:10B9 18 adc #$0B ; CPU:$D0BA PRG:10BA 69 0B tax ; CPU:$D0BC PRG:10BC AA jmp $F691 ; CPU:$D0BD PRG:10BD 4C 91 F6 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block_6 +; Routine: Label_D0C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4499,12 +4508,12 @@ SubCD0B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block_6: +Label_D0C0: lda #$00 ; CPU:$D0C0 PRG:10C0 A9 00 sta ZpE0,x ; CPU:$D0C2 PRG:10C2 95 E0 rts ; CPU:$D0C4 PRG:10C4 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD0C5 +; Routine: Label_D0C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4512,10 +4521,10 @@ SubCD07C_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD0C5: +Label_D0C5: ldy #$00 ; CPU:$D0C5 PRG:10C5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block_7 +; Routine: Label_D0C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4523,10 +4532,10 @@ SubCD0C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block_7: +Label_D0C7: jmp $D17C ; CPU:$D0C7 PRG:10C7 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: SubCD07C_Block_5 +; Routine: Label_D0CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4534,8 +4543,8 @@ SubCD07C_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD07C_Block_5: - ldx Zp5F ; CPU:$D0CA PRG:10CA A6 5F +Label_D0CA: + ldx SprData2 ; CPU:$D0CA PRG:10CA A6 5F jsr $D127 ; CPU:$D0CC PRG:10CC 20 27 D1 jsr $D0C5 ; CPU:$D0CF PRG:10CF 20 C5 D0 ldy #$03 ; CPU:$D0D2 PRG:10D2 A0 03 @@ -4544,18 +4553,18 @@ SubCD07C_Block_5: asl a ; CPU:$D0D9 PRG:10D9 0A tay ; CPU:$D0DA PRG:10DA A8 lda $D086,y ; CPU:$D0DB PRG:10DB B9 86 D0 - sta Zp00 ; CPU:$D0DE PRG:10DE 85 00 + sta PtrLo ; CPU:$D0DE PRG:10DE 85 00 lda $D087,y ; CPU:$D0E0 PRG:10E0 B9 87 D0 - sta Zp01 ; CPU:$D0E3 PRG:10E3 85 01 + sta PtrHi ; CPU:$D0E3 PRG:10E3 85 01 ldy Zp6C,x ; CPU:$D0E5 PRG:10E5 B4 6C lda $D0A6,y ; CPU:$D0E7 PRG:10E7 B9 A6 D0 - sta Zp02 ; CPU:$D0EA PRG:10EA 85 02 + sta Ptr2Lo ; CPU:$D0EA PRG:10EA 85 02 lda #$01 ; CPU:$D0EC PRG:10EC A9 01 cpx #$00 ; CPU:$D0EE PRG:10EE E0 00 - beq SubCD0C5_Block ; CPU:$D0F0 PRG:10F0 F0 02 + beq Label_D0F4 ; CPU:$D0F0 PRG:10F0 F0 02 lda #$25 ; CPU:$D0F2 PRG:10F2 A9 25 ; ----------------------------------------------------------------------------- -; Routine: SubCD0C5_Block +; Routine: Label_D0F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4563,11 +4572,11 @@ SubCD07C_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD0C5_Block: +Label_D0F4: tax ; CPU:$D0F4 PRG:10F4 AA ldy #$00 ; CPU:$D0F5 PRG:10F5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD0C5_Block_2 +; Routine: Label_D0F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4575,23 +4584,23 @@ SubCD0C5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD0C5_Block_2: - lda (Zp00),y ; CPU:$D0F7 PRG:10F7 B1 00 +Label_D0F7: + lda (PtrLo),y ; CPU:$D0F7 PRG:10F7 B1 00 sta $0200,x ; CPU:$D0F9 PRG:10F9 9D 00 02 inx ; CPU:$D0FC PRG:10FC E8 lda $0200,x ; CPU:$D0FD PRG:10FD BD 00 02 and #$03 ; CPU:$D100 PRG:1100 29 03 - ora Zp02 ; CPU:$D102 PRG:1102 05 02 + ora Ptr2Lo ; CPU:$D102 PRG:1102 05 02 sta $0200,x ; CPU:$D104 PRG:1104 9D 00 02 inx ; CPU:$D107 PRG:1107 E8 inx ; CPU:$D108 PRG:1108 E8 inx ; CPU:$D109 PRG:1109 E8 iny ; CPU:$D10A PRG:110A C8 cpy #$06 ; CPU:$D10B PRG:110B C0 06 - bcc SubCD0C5_Block_2 ; CPU:$D10D PRG:110D 90 E8 - ldx Zp5F ; CPU:$D10F PRG:110F A6 5F + bcc Label_D0F7 ; CPU:$D10D PRG:110D 90 E8 + ldx SprData2 ; CPU:$D10F PRG:110F A6 5F ; ----------------------------------------------------------------------------- -; Routine: SubCD111 +; Routine: Label_D111 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4599,9 +4608,9 @@ SubCD0C5_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD111: +Label_D111: lda Zp32,x ; CPU:$D111 PRG:1111 B5 32 - bne SubCD111_Block ; CPU:$D113 PRG:1113 D0 11 + bne Label_D126 ; CPU:$D113 PRG:1113 D0 11 ldy #$0B ; CPU:$D115 PRG:1115 A0 0B ; ----------------------------------------------------------------------------- ; Routine: UpdateSound4_11 @@ -4615,11 +4624,11 @@ SubCD111: UpdateSound4_11: lda a:Zp90,y ; CPU:$D117 PRG:1117 B9 90 00 cmp #$20 ; CPU:$D11A PRG:111A C9 20 - bne SubCD111_Block_2 ; CPU:$D11C PRG:111C D0 05 + bne Label_D123 ; CPU:$D11C PRG:111C D0 05 lda #$FF ; CPU:$D11E PRG:111E A9 FF sta a:Zp90,y ; CPU:$D120 PRG:1120 99 90 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD111_Block_2 +; Routine: Label_D123 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4627,11 +4636,11 @@ UpdateSound4_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD111_Block_2: +Label_D123: dey ; CPU:$D123 PRG:1123 88 bne UpdateSound4_11 ; CPU:$D124 PRG:1124 D0 F1 ; ----------------------------------------------------------------------------- -; Routine: SubCD111_Block +; Routine: Label_D126 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4639,10 +4648,10 @@ SubCD111_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD111_Block: +Label_D126: rts ; CPU:$D126 PRG:1126 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD127 +; Routine: Label_D127 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4650,7 +4659,7 @@ SubCD111_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD127: +Label_D127: lda #$01 ; CPU:$D127 PRG:1127 A9 01 sta ZpE4,x ; CPU:$D129 PRG:1129 95 E4 lda #$80 ; CPU:$D12B PRG:112B A9 80 @@ -4658,7 +4667,7 @@ SubCD127: lda #$01 ; CPU:$D12F PRG:112F A9 01 sta Zp2F,x ; CPU:$D131 PRG:1131 95 2F ; ----------------------------------------------------------------------------- -; Routine: SubCD133 +; Routine: Label_D133 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4666,17 +4675,17 @@ SubCD127: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD133: +Label_D133: lda Zp66,x ; CPU:$D133 PRG:1133 B5 66 - sta Zp01 ; CPU:$D135 PRG:1135 85 01 - lda Zp5F ; CPU:$D137 PRG:1137 A5 5F + sta PtrHi ; CPU:$D135 PRG:1135 85 01 + lda SprData2 ; CPU:$D137 PRG:1137 A5 5F jsr $C83D ; CPU:$D139 PRG:1139 20 3D C8 - ldx Zp5F ; CPU:$D13C PRG:113C A6 5F - lda Zp01 ; CPU:$D13E PRG:113E A5 01 + ldx SprData2 ; CPU:$D13C PRG:113C A6 5F + lda PtrHi ; CPU:$D13E PRG:113E A5 01 sta Zp66,x ; CPU:$D140 PRG:1140 95 66 rts ; CPU:$D142 PRG:1142 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD143 +; Routine: Label_D143 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4684,16 +4693,16 @@ SubCD133: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD143: +Label_D143: ldy Zp6A,x ; CPU:$D143 PRG:1143 B4 6A cpy #$01 ; CPU:$D145 PRG:1145 C0 01 bne UpdateSound6 ; CPU:$D147 PRG:1147 D0 17 lda Zp6E,x ; CPU:$D149 PRG:1149 B5 6E cmp #$18 ; CPU:$D14B PRG:114B C9 18 - bcs SubCD143_Block ; CPU:$D14D PRG:114D B0 02 + bcs Label_D151 ; CPU:$D14D PRG:114D B0 02 inc Zp6E,x ; CPU:$D14F PRG:114F F6 6E ; ----------------------------------------------------------------------------- -; Routine: SubCD143_Block +; Routine: Label_D151 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4701,12 +4710,12 @@ SubCD143: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD143_Block: +Label_D151: lda Zp76,x ; CPU:$D151 PRG:1151 B5 76 clc ; CPU:$D153 PRG:1153 18 adc #$20 ; CPU:$D154 PRG:1154 69 20 sta Zp76,x ; CPU:$D156 PRG:1156 95 76 - bcc SubCD171 ; CPU:$D158 PRG:1158 90 17 + bcc Label_D171 ; CPU:$D158 PRG:1158 90 17 jsr $D171 ; CPU:$D15A PRG:115A 20 71 D1 jmp $D171 ; CPU:$D15D PRG:115D 4C 71 D1 ; ----------------------------------------------------------------------------- @@ -4722,10 +4731,10 @@ UpdateSound6: lda #$90 ; CPU:$D160 PRG:1160 A9 90 ldy Zp6E,x ; CPU:$D162 PRG:1162 B4 6E cpy #$0C ; CPU:$D164 PRG:1164 C0 0C - bcs UpdateSound6_Block ; CPU:$D166 PRG:1166 B0 02 + bcs Label_D16A ; CPU:$D166 PRG:1166 B0 02 lda #$45 ; CPU:$D168 PRG:1168 A9 45 ; ----------------------------------------------------------------------------- -; Routine: UpdateSound6_Block +; Routine: Label_D16A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4733,13 +4742,13 @@ UpdateSound6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSound6_Block: +Label_D16A: clc ; CPU:$D16A PRG:116A 18 adc Zp72,x ; CPU:$D16B PRG:116B 75 72 sta Zp72,x ; CPU:$D16D PRG:116D 95 72 - bcc UpdateSound6_Block_2 ; CPU:$D16F PRG:116F 90 0A + bcc Label_D17B ; CPU:$D16F PRG:116F 90 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD171 +; Routine: Label_D171 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4747,14 +4756,14 @@ UpdateSound6_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD171: +Label_D171: ldy Zp62,x ; CPU:$D171 PRG:1171 B4 62 lda $CBDA,y ; CPU:$D173 PRG:1173 B9 DA CB clc ; CPU:$D176 PRG:1176 18 adc Zp64,x ; CPU:$D177 PRG:1177 75 64 sta Zp64,x ; CPU:$D179 PRG:1179 95 64 ; ----------------------------------------------------------------------------- -; Routine: UpdateSound6_Block_2 +; Routine: Label_D17B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4762,10 +4771,10 @@ SubCD171: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSound6_Block_2: +Label_D17B: rts ; CPU:$D17B PRG:117B 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C +; Routine: Label_D17C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4773,21 +4782,21 @@ UpdateSound6_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C: +Label_D17C: lda $CBB3,y ; CPU:$D17C PRG:117C B9 B3 CB - sta Zp02 ; CPU:$D17F PRG:117F 85 02 + sta Ptr2Lo ; CPU:$D17F PRG:117F 85 02 tya ; CPU:$D181 PRG:1181 98 pha ; CPU:$D182 PRG:1182 48 - ldx Zp5F ; CPU:$D183 PRG:1183 A6 5F + ldx SprData2 ; CPU:$D183 PRG:1183 A6 5F lda Zp64,x ; CPU:$D185 PRG:1185 B5 64 - sta Zp00 ; CPU:$D187 PRG:1187 85 00 + sta PtrLo ; CPU:$D187 PRG:1187 85 00 lda Zp66,x ; CPU:$D189 PRG:1189 B5 66 cpy #$0A ; CPU:$D18B PRG:118B C0 0A - bne SubCD17C_Block ; CPU:$D18D PRG:118D D0 03 + bne Label_D192 ; CPU:$D18D PRG:118D D0 03 sec ; CPU:$D18F PRG:118F 38 sbc #$08 ; CPU:$D190 PRG:1190 E9 08 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C_Block +; Routine: Label_D192 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4795,8 +4804,8 @@ SubCD17C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C_Block: - sta Zp01 ; CPU:$D192 PRG:1192 85 01 +Label_D192: + sta PtrHi ; CPU:$D192 PRG:1192 85 01 lda Zp62,x ; CPU:$D194 PRG:1194 B5 62 sta Zp0F ; CPU:$D196 PRG:1196 85 0F txa ; CPU:$D198 PRG:1198 8A @@ -4805,11 +4814,11 @@ SubCD17C_Block: jsr $D1DB ; CPU:$D19B PRG:119B 20 DB D1 pla ; CPU:$D19E PRG:119E 68 cmp #$0B ; CPU:$D19F PRG:119F C9 0B - beq SubCD17C_Block_2 ; CPU:$D1A1 PRG:11A1 F0 04 + beq Label_D1A7 ; CPU:$D1A1 PRG:11A1 F0 04 cmp #$06 ; CPU:$D1A3 PRG:11A3 C9 06 - bcs SubCD17C_Block_3 ; CPU:$D1A5 PRG:11A5 B0 04 + bcs Label_D1AB ; CPU:$D1A5 PRG:11A5 B0 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C_Block_2 +; Routine: Label_D1A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4817,11 +4826,11 @@ SubCD17C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C_Block_2: +Label_D1A7: lda #$F8 ; CPU:$D1A7 PRG:11A7 A9 F8 - bne SubCD17C_Block_4 ; CPU:$D1A9 PRG:11A9 D0 27 + bne Label_D1D2 ; CPU:$D1A9 PRG:11A9 D0 27 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C_Block_3 +; Routine: Label_D1AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4829,24 +4838,24 @@ SubCD17C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C_Block_3: +Label_D1AB: sec ; CPU:$D1AB PRG:11AB 38 sbc #$06 ; CPU:$D1AC PRG:11AC E9 06 sta Zp07 ; CPU:$D1AE PRG:11AE 85 07 ldy Zp07 ; CPU:$D1B0 PRG:11B0 A4 07 lda $CBC1,y ; CPU:$D1B2 PRG:11B2 B9 C1 CB - sta Zp02 ; CPU:$D1B5 PRG:11B5 85 02 + sta Ptr2Lo ; CPU:$D1B5 PRG:11B5 85 02 lda Zp07 ; CPU:$D1B7 PRG:11B7 A5 07 asl a ; CPU:$D1B9 PRG:11B9 0A asl a ; CPU:$D1BA PRG:11BA 0A tay ; CPU:$D1BB PRG:11BB A8 - ldx Zp5F ; CPU:$D1BC PRG:11BC A6 5F + ldx SprData2 ; CPU:$D1BC PRG:11BC A6 5F lda Zp62,x ; CPU:$D1BE PRG:11BE B5 62 - beq SubCD17C_Block_5 ; CPU:$D1C0 PRG:11C0 F0 02 + beq Label_D1C4 ; CPU:$D1C0 PRG:11C0 F0 02 iny ; CPU:$D1C2 PRG:11C2 C8 iny ; CPU:$D1C3 PRG:11C3 C8 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C_Block_5 +; Routine: Label_D1C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4854,16 +4863,16 @@ SubCD17C_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C_Block_5: +Label_D1C4: lda $CBC6,y ; CPU:$D1C4 PRG:11C4 B9 C6 CB clc ; CPU:$D1C7 PRG:11C7 18 adc Zp64,x ; CPU:$D1C8 PRG:11C8 75 64 - sta Zp00 ; CPU:$D1CA PRG:11CA 85 00 + sta PtrLo ; CPU:$D1CA PRG:11CA 85 00 lda $CBC7,y ; CPU:$D1CC PRG:11CC B9 C7 CB clc ; CPU:$D1CF PRG:11CF 18 adc Zp66,x ; CPU:$D1D0 PRG:11D0 75 66 ; ----------------------------------------------------------------------------- -; Routine: SubCD17C_Block_4 +; Routine: Label_D1D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4871,14 +4880,14 @@ SubCD17C_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD17C_Block_4: - sta Zp01 ; CPU:$D1D2 PRG:11D2 85 01 +Label_D1D2: + sta PtrHi ; CPU:$D1D2 PRG:11D2 85 01 ldy #$0B ; CPU:$D1D4 PRG:11D4 A0 0B cpx #$00 ; CPU:$D1D6 PRG:11D6 E0 00 - beq SubCD1DB ; CPU:$D1D8 PRG:11D8 F0 01 + beq Label_D1DB ; CPU:$D1D8 PRG:11D8 F0 01 iny ; CPU:$D1DA PRG:11DA C8 ; ----------------------------------------------------------------------------- -; Routine: SubCD1DB +; Routine: Label_D1DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4886,14 +4895,14 @@ SubCD17C_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1DB: +Label_D1DB: lda #$01 ; CPU:$D1DB PRG:11DB A9 01 sta Zp0E ; CPU:$D1DD PRG:11DD 85 0E jsr $EAFC ; CPU:$D1DF PRG:11DF 20 FC EA - ldx Zp5F ; CPU:$D1E2 PRG:11E2 A6 5F + ldx SprData2 ; CPU:$D1E2 PRG:11E2 A6 5F rts ; CPU:$D1E4 PRG:11E4 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD1E5 +; Routine: Label_D1E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4901,10 +4910,10 @@ SubCD1DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1E5: +Label_D1E5: ldx #$01 ; CPU:$D1E5 PRG:11E5 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD1E5_Block_2 +; Routine: Label_D1E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4912,16 +4921,16 @@ SubCD1E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1E5_Block_2: - lda Zp5A,x ; CPU:$D1E7 PRG:11E7 B5 5A - beq SubCD1E5_Block ; CPU:$D1E9 PRG:11E9 F0 0A +Label_D1E7: + lda SprData,x ; CPU:$D1E7 PRG:11E7 B5 5A + beq Label_D1F5 ; CPU:$D1E9 PRG:11E9 F0 0A lda Zp66,x ; CPU:$D1EB PRG:11EB B5 66 clc ; CPU:$D1ED PRG:11ED 18 adc #$18 ; CPU:$D1EE PRG:11EE 69 18 jsr $D1F9 ; CPU:$D1F0 PRG:11F0 20 F9 D1 - sta Zp5A,x ; CPU:$D1F3 PRG:11F3 95 5A + sta SprData,x ; CPU:$D1F3 PRG:11F3 95 5A ; ----------------------------------------------------------------------------- -; Routine: SubCD1E5_Block +; Routine: Label_D1F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4929,12 +4938,12 @@ SubCD1E5_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1E5_Block: +Label_D1F5: dex ; CPU:$D1F5 PRG:11F5 CA - bpl SubCD1E5_Block_2 ; CPU:$D1F6 PRG:11F6 10 EF + bpl Label_D1E7 ; CPU:$D1F6 PRG:11F6 10 EF rts ; CPU:$D1F8 PRG:11F8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD1F9 +; Routine: Label_D1F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4942,10 +4951,10 @@ SubCD1E5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1F9: +Label_D1F9: ldy #$00 ; CPU:$D1F9 PRG:11F9 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD1F9_Block_2 +; Routine: Label_D1FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4953,15 +4962,15 @@ SubCD1F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1F9_Block_2: +Label_D1FB: cmp $CBE8,y ; CPU:$D1FB PRG:11FB D9 E8 CB - bcc SubCD1F9_Block ; CPU:$D1FE PRG:11FE 90 06 + bcc Label_D206 ; CPU:$D1FE PRG:11FE 90 06 iny ; CPU:$D200 PRG:1200 C8 cpy #$05 ; CPU:$D201 PRG:1201 C0 05 - bne SubCD1F9_Block_2 ; CPU:$D203 PRG:1203 D0 F6 + bne Label_D1FB ; CPU:$D203 PRG:1203 D0 F6 dey ; CPU:$D205 PRG:1205 88 ; ----------------------------------------------------------------------------- -; Routine: SubCD1F9_Block +; Routine: Label_D206 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4969,15 +4978,15 @@ SubCD1F9_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD1F9_Block: +Label_D206: sty Zp0A ; CPU:$D206 PRG:1206 84 0A lda Zp90 ; CPU:$D208 PRG:1208 A5 90 sec ; CPU:$D20A PRG:120A 38 sbc Zp0A ; CPU:$D20B PRG:120B E5 0A - bne SubCD212_Block_5 ; CPU:$D20D PRG:120D D0 02 + bne Label_D211 ; CPU:$D20D PRG:120D D0 02 lda #$01 ; CPU:$D20F PRG:120F A9 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_5 +; Routine: Label_D211 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4985,10 +4994,10 @@ SubCD1F9_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_5: +Label_D211: rts ; CPU:$D211 PRG:1211 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD212 +; Routine: Label_D212 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4996,38 +5005,38 @@ SubCD212_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212: - lda Zp5A ; CPU:$D212 PRG:1212 A5 5A +Label_D212: + lda SprData ; CPU:$D212 PRG:1212 A5 5A and Zp5B ; CPU:$D214 PRG:1214 25 5B - beq SubCD212_Block_5 ; CPU:$D216 PRG:1216 F0 F9 + beq Label_D211 ; CPU:$D216 PRG:1216 F0 F9 lda Zp2D ; CPU:$D218 PRG:1218 A5 2D ora Zp2E ; CPU:$D21A PRG:121A 05 2E - bne SubCD212_Block_5 ; CPU:$D21C PRG:121C D0 F3 + bne Label_D211 ; CPU:$D21C PRG:121C D0 F3 lda #$07 ; CPU:$D21E PRG:121E A9 07 cmp Zp6A ; CPU:$D220 PRG:1220 C5 6A - beq SubCD212_Block_5 ; CPU:$D222 PRG:1222 F0 ED + beq Label_D211 ; CPU:$D222 PRG:1222 F0 ED cmp Zp6B ; CPU:$D224 PRG:1224 C5 6B - beq SubCD212_Block_5 ; CPU:$D226 PRG:1226 F0 E9 + beq Label_D211 ; CPU:$D226 PRG:1226 F0 E9 jsr $D2D9 ; CPU:$D228 PRG:1228 20 D9 D2 - bcs SubCD212_Block_5 ; CPU:$D22B PRG:122B B0 E4 + bcs Label_D211 ; CPU:$D22B PRG:122B B0 E4 lda #$00 ; CPU:$D22D PRG:122D A9 00 - sta Zp02 ; CPU:$D22F PRG:122F 85 02 + sta Ptr2Lo ; CPU:$D22F PRG:122F 85 02 lda Zp6A ; CPU:$D231 PRG:1231 A5 6A lsr a ; CPU:$D233 PRG:1233 4A - bcs SubCD212_Block_7 ; CPU:$D234 PRG:1234 B0 24 - lda Zp00 ; CPU:$D236 PRG:1236 A5 00 + bcs Label_D25A ; CPU:$D234 PRG:1234 B0 24 + lda PtrLo ; CPU:$D236 PRG:1236 A5 00 cmp #$09 ; CPU:$D238 PRG:1238 C9 09 - bcs SubCD212_Block_7 ; CPU:$D23A PRG:123A B0 1E + bcs Label_D25A ; CPU:$D23A PRG:123A B0 1E lda Zp66 ; CPU:$D23C PRG:123C A5 66 cmp Zp67 ; CPU:$D23E PRG:123E C5 67 - bcs SubCD212_Block_8 ; CPU:$D240 PRG:1240 B0 07 + bcs Label_D249 ; CPU:$D240 PRG:1240 B0 07 cmp #$C3 ; CPU:$D242 PRG:1242 C9 C3 - bcs SubCD212_Block_9 ; CPU:$D244 PRG:1244 B0 05 + bcs Label_D24B ; CPU:$D244 PRG:1244 B0 05 dec Zp66 ; CPU:$D246 PRG:1246 C6 66 ; ---- data $D248-$D248 (1 bytes) ---- .byte $2C ; CPU:$D248 PRG:1248 2C ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_8 +; Routine: Label_D249 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5035,10 +5044,10 @@ SubCD212: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_8: +Label_D249: inc Zp66 ; CPU:$D249 PRG:1249 E6 66 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_9 +; Routine: Label_D24B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5046,14 +5055,14 @@ SubCD212_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_9: +Label_D24B: lda Zp62 ; CPU:$D24B PRG:124B A5 62 - beq SubCD212_Block_10 ; CPU:$D24D PRG:124D F0 03 + beq Label_D252 ; CPU:$D24D PRG:124D F0 03 inc Zp64 ; CPU:$D24F PRG:124F E6 64 ; ---- data $D251-$D251 (1 bytes) ---- .byte $2C ; CPU:$D251 PRG:1251 2C ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_10 +; Routine: Label_D252 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5061,13 +5070,13 @@ SubCD212_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_10: +Label_D252: dec Zp64 ; CPU:$D252 PRG:1252 C6 64 lda #$01 ; CPU:$D254 PRG:1254 A9 01 - sta Zp02 ; CPU:$D256 PRG:1256 85 02 - bne SubCD212_Block_11 ; CPU:$D258 PRG:1258 D0 0F + sta Ptr2Lo ; CPU:$D256 PRG:1256 85 02 + bne Label_D269 ; CPU:$D258 PRG:1258 D0 0F ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_7 +; Routine: Label_D25A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5075,14 +5084,14 @@ SubCD212_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_7: +Label_D25A: ldx #$00 ; CPU:$D25A PRG:125A A2 00 lda Zp03 ; CPU:$D25C PRG:125C A5 03 - bpl SubCD212_Block_12 ; CPU:$D25E PRG:125E 10 04 + bpl Label_D264 ; CPU:$D25E PRG:125E 10 04 lda #$00 ; CPU:$D260 PRG:1260 A9 00 - beq SubCD212_Block_13 ; CPU:$D262 PRG:1262 F0 02 + beq Label_D266 ; CPU:$D262 PRG:1262 F0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_12 +; Routine: Label_D264 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5090,10 +5099,10 @@ SubCD212_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_12: +Label_D264: lda #$01 ; CPU:$D264 PRG:1264 A9 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_13 +; Routine: Label_D266 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5101,10 +5110,10 @@ SubCD212_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_13: +Label_D266: jsr $D2BC ; CPU:$D266 PRG:1266 20 BC D2 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_11 +; Routine: Label_D269 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5112,23 +5121,23 @@ SubCD212_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_11: +Label_D269: lda Zp6B ; CPU:$D269 PRG:1269 A5 6B and #$01 ; CPU:$D26B PRG:126B 29 01 - bne SubCD212_Block_15 ; CPU:$D26D PRG:126D D0 47 - lda Zp00 ; CPU:$D26F PRG:126F A5 00 + bne Label_D2B6 ; CPU:$D26D PRG:126D D0 47 + lda PtrLo ; CPU:$D26F PRG:126F A5 00 cmp #$09 ; CPU:$D271 PRG:1271 C9 09 - bcs SubCD212_Block_15 ; CPU:$D273 PRG:1273 B0 41 + bcs Label_D2B6 ; CPU:$D273 PRG:1273 B0 41 lda Zp67 ; CPU:$D275 PRG:1275 A5 67 cmp Zp66 ; CPU:$D277 PRG:1277 C5 66 - bcs SubCD212_Block_16 ; CPU:$D279 PRG:1279 B0 07 + bcs Label_D282 ; CPU:$D279 PRG:1279 B0 07 cmp #$C3 ; CPU:$D27B PRG:127B C9 C3 - bcs SubCD212_Block_17 ; CPU:$D27D PRG:127D B0 05 + bcs Label_D284 ; CPU:$D27D PRG:127D B0 05 dec Zp67 ; CPU:$D27F PRG:127F C6 67 ; ---- data $D281-$D281 (1 bytes) ---- .byte $2C ; CPU:$D281 PRG:1281 2C ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_16 +; Routine: Label_D282 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5136,10 +5145,10 @@ SubCD212_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_16: +Label_D282: inc Zp67 ; CPU:$D282 PRG:1282 E6 67 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_17 +; Routine: Label_D284 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5147,9 +5156,9 @@ SubCD212_Block_16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_17: - lda Zp02 ; CPU:$D284 PRG:1284 A5 02 - beq SubCD212_Block_18 ; CPU:$D286 PRG:1286 F0 2D +Label_D284: + lda Ptr2Lo ; CPU:$D284 PRG:1284 A5 02 + beq Label_D2B5 ; CPU:$D286 PRG:1286 F0 2D lda ZpE6 ; CPU:$D288 PRG:1288 A5 E6 pha ; CPU:$D28A PRG:128A 48 lda ZpE7 ; CPU:$D28B PRG:128B A5 E7 @@ -5164,7 +5173,7 @@ SubCD212_Block_17: sta ZpE9 ; CPU:$D29A PRG:129A 85 E9 ldx #$01 ; CPU:$D29C PRG:129C A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_20 +; Routine: Label_D29E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5172,14 +5181,14 @@ SubCD212_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_20: +Label_D29E: lda ZpE6,x ; CPU:$D29E PRG:129E B5 E6 cmp #$06 ; CPU:$D2A0 PRG:12A0 C9 06 - bcc SubCD212_Block_19 ; CPU:$D2A2 PRG:12A2 90 04 + bcc Label_D2A8 ; CPU:$D2A2 PRG:12A2 90 04 lda #$05 ; CPU:$D2A4 PRG:12A4 A9 05 sta ZpE6,x ; CPU:$D2A6 PRG:12A6 95 E6 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_19 +; Routine: Label_D2A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5187,16 +5196,16 @@ SubCD212_Block_20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_19: +Label_D2A8: dex ; CPU:$D2A8 PRG:12A8 CA - bpl SubCD212_Block_20 ; CPU:$D2A9 PRG:12A9 10 F3 + bpl Label_D29E ; CPU:$D2A9 PRG:12A9 10 F3 lda #$00 ; CPU:$D2AB PRG:12AB A9 00 sta Zp86 ; CPU:$D2AD PRG:12AD 85 86 sta Zp87 ; CPU:$D2AF PRG:12AF 85 87 sta Zp88 ; CPU:$D2B1 PRG:12B1 85 88 sta Zp89 ; CPU:$D2B3 PRG:12B3 85 89 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_18 +; Routine: Label_D2B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5204,10 +5213,10 @@ SubCD212_Block_19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_18: +Label_D2B5: rts ; CPU:$D2B5 PRG:12B5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD212_Block_15 +; Routine: Label_D2B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5215,12 +5224,12 @@ SubCD212_Block_18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD212_Block_15: +Label_D2B6: ldx #$01 ; CPU:$D2B6 PRG:12B6 A2 01 lda Zp62 ; CPU:$D2B8 PRG:12B8 A5 62 eor #$01 ; CPU:$D2BA PRG:12BA 49 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD2BC +; Routine: Label_D2BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5228,14 +5237,14 @@ SubCD212_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2BC: +Label_D2BC: sta Zp62,x ; CPU:$D2BC PRG:12BC 95 62 - beq SubCD2BC_Block ; CPU:$D2BE PRG:12BE F0 07 + beq Label_D2C7 ; CPU:$D2BE PRG:12BE F0 07 inc Zp64,x ; CPU:$D2C0 PRG:12C0 F6 64 inc Zp64,x ; CPU:$D2C2 PRG:12C2 F6 64 jmp $D2CB ; CPU:$D2C4 PRG:12C4 4C CB D2 ; ----------------------------------------------------------------------------- -; Routine: SubCD2BC_Block +; Routine: Label_D2C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5243,7 +5252,7 @@ SubCD2BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2BC_Block: +Label_D2C7: dec Zp64,x ; CPU:$D2C7 PRG:12C7 D6 64 dec Zp64,x ; CPU:$D2C9 PRG:12C9 D6 64 ; ----------------------------------------------------------------------------- @@ -5258,10 +5267,10 @@ SubCD2BC_Block: UpdateSound12_4: lda Zp68,x ; CPU:$D2CB PRG:12CB B5 68 lsr a ; CPU:$D2CD PRG:12CD 4A - bcc UpdateSound12_4_Block ; CPU:$D2CE PRG:12CE 90 02 + bcc Label_D2D2 ; CPU:$D2CE PRG:12CE 90 02 lda #$02 ; CPU:$D2D0 PRG:12D0 A9 02 ; ----------------------------------------------------------------------------- -; Routine: UpdateSound12_4_Block +; Routine: Label_D2D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5269,13 +5278,13 @@ UpdateSound12_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -UpdateSound12_4_Block: +Label_D2D2: sta Zp68,x ; CPU:$D2D2 PRG:12D2 95 68 lda #$18 ; CPU:$D2D4 PRG:12D4 A9 18 sta Zp6E,x ; CPU:$D2D6 PRG:12D6 95 6E rts ; CPU:$D2D8 PRG:12D8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD2D9 +; Routine: Label_D2D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5283,25 +5292,25 @@ UpdateSound12_4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2D9: +Label_D2D9: lda Zp64 ; CPU:$D2D9 PRG:12D9 A5 64 sec ; CPU:$D2DB PRG:12DB 38 sbc Zp65 ; CPU:$D2DC PRG:12DC E5 65 sta Zp03 ; CPU:$D2DE PRG:12DE 85 03 jsr $D2F9 ; CPU:$D2E0 PRG:12E0 20 F9 D2 - sta Zp00 ; CPU:$D2E3 PRG:12E3 85 00 + sta PtrLo ; CPU:$D2E3 PRG:12E3 85 00 cmp #$0A ; CPU:$D2E5 PRG:12E5 C9 0A - bcs SubCD2D9_Block_2 ; CPU:$D2E7 PRG:12E7 B0 0F + bcs Label_D2F8 ; CPU:$D2E7 PRG:12E7 B0 0F lda Zp66 ; CPU:$D2E9 PRG:12E9 A5 66 sec ; CPU:$D2EB PRG:12EB 38 sbc Zp67 ; CPU:$D2EC PRG:12EC E5 67 jsr $D2F9 ; CPU:$D2EE PRG:12EE 20 F9 D2 - sta Zp01 ; CPU:$D2F1 PRG:12F1 85 01 + sta PtrHi ; CPU:$D2F1 PRG:12F1 85 01 cmp #$15 ; CPU:$D2F3 PRG:12F3 C9 15 - bcc SubCD2D9_Block_2 ; CPU:$D2F5 PRG:12F5 90 01 + bcc Label_D2F8 ; CPU:$D2F5 PRG:12F5 90 01 sec ; CPU:$D2F7 PRG:12F7 38 ; ----------------------------------------------------------------------------- -; Routine: SubCD2D9_Block_2 +; Routine: Label_D2F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5309,10 +5318,10 @@ SubCD2D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2D9_Block_2: +Label_D2F8: rts ; CPU:$D2F8 PRG:12F8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD2F9 +; Routine: Label_D2F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5320,10 +5329,10 @@ SubCD2D9_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2F9: - bpl SubCD2F9_Block ; CPU:$D2F9 PRG:12F9 10 05 +Label_D2F9: + bpl Label_D300 ; CPU:$D2F9 PRG:12F9 10 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD2FB +; Routine: Label_D2FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5331,12 +5340,12 @@ SubCD2F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2FB: +Label_D2FB: eor #$FF ; CPU:$D2FB PRG:12FB 49 FF clc ; CPU:$D2FD PRG:12FD 18 adc #$01 ; CPU:$D2FE PRG:12FE 69 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD2F9_Block +; Routine: Label_D300 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5344,10 +5353,10 @@ SubCD2FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD2F9_Block: +Label_D300: rts ; CPU:$D300 PRG:1300 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD301 +; Routine: Label_D301 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5355,12 +5364,12 @@ SubCD2F9_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD301: +Label_D301: ldx #$00 ; CPU:$D301 PRG:1301 A2 00 jsr $D308 ; CPU:$D303 PRG:1303 20 08 D3 ldx #$01 ; CPU:$D306 PRG:1306 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD308 +; Routine: Label_D308 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5368,17 +5377,17 @@ SubCD301: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308: - lda Zp5A,x ; CPU:$D308 PRG:1308 B5 5A - beq SubCD308_Block_14 ; CPU:$D30A PRG:130A F0 65 +Label_D308: + lda SprData,x ; CPU:$D308 PRG:1308 B5 5A + beq Label_D371 ; CPU:$D30A PRG:130A F0 65 lda Zp6A,x ; CPU:$D30C PRG:130C B5 6A - beq SubCD308_Block_14 ; CPU:$D30E PRG:130E F0 61 + beq Label_D371 ; CPU:$D30E PRG:130E F0 61 cmp #$07 ; CPU:$D310 PRG:1310 C9 07 - beq SubCD308_Block_14 ; CPU:$D312 PRG:1312 F0 5D + beq Label_D371 ; CPU:$D312 PRG:1312 F0 5D cmp #$09 ; CPU:$D314 PRG:1314 C9 09 - beq SubCD308_Block_14 ; CPU:$D316 PRG:1316 F0 59 + beq Label_D371 ; CPU:$D316 PRG:1316 F0 59 lda Zp2D,x ; CPU:$D318 PRG:1318 B5 2D - bne SubCD308_Block_14 ; CPU:$D31A PRG:131A D0 55 + bne Label_D371 ; CPU:$D31A PRG:131A D0 55 lda Zp64,x ; CPU:$D31C PRG:131C B5 64 clc ; CPU:$D31E PRG:131E 18 adc #$08 ; CPU:$D31F PRG:131F 69 08 @@ -5391,7 +5400,7 @@ SubCD308: pha ; CPU:$D32B PRG:132B 48 ldy #$00 ; CPU:$D32C PRG:132C A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_7 +; Routine: Label_D32E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5399,17 +5408,17 @@ SubCD308: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_7: +Label_D32E: lda #$01 ; CPU:$D32E PRG:132E A9 01 jsr $DB1D ; CPU:$D330 PRG:1330 20 1D DB - bcs SubCD308_Block_6 ; CPU:$D333 PRG:1333 B0 07 + bcs Label_D33C ; CPU:$D333 PRG:1333 B0 07 iny ; CPU:$D335 PRG:1335 C8 cpy #$0B ; CPU:$D336 PRG:1336 C0 0B - bcc SubCD308_Block_7 ; CPU:$D338 PRG:1338 90 F4 + bcc Label_D32E ; CPU:$D338 PRG:1338 90 F4 pla ; CPU:$D33A PRG:133A 68 rts ; CPU:$D33B PRG:133B 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_6 +; Routine: Label_D33C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5417,30 +5426,30 @@ SubCD308_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_6: +Label_D33C: pla ; CPU:$D33C PRG:133C 68 tax ; CPU:$D33D PRG:133D AA - lda Zp55 ; CPU:$D33E PRG:133E A5 55 + lda ZpCheckZp14 ; CPU:$D33E PRG:133E A5 55 cmp #$02 ; CPU:$D340 PRG:1340 C9 02 - beq SubCD308_Block_8 ; CPU:$D342 PRG:1342 F0 4F + beq Label_D393 ; CPU:$D342 PRG:1342 F0 4F cpy #$01 ; CPU:$D344 PRG:1344 C0 01 - beq SubCD308_Block_9 ; CPU:$D346 PRG:1346 F0 2A + beq Label_D372 ; CPU:$D346 PRG:1346 F0 2A jsr $D446 ; CPU:$D348 PRG:1348 20 46 D4 lda #$20 ; CPU:$D34B PRG:134B A9 20 sta a:Zp91,y ; CPU:$D34D PRG:134D 99 91 00 cpy #$02 ; CPU:$D350 PRG:1350 C0 02 - bcc SubCD308_Block_14 ; CPU:$D352 PRG:1352 90 1D + bcc Label_D371 ; CPU:$D352 PRG:1352 90 1D cpy #$08 ; CPU:$D354 PRG:1354 C0 08 - bcs SubCD308_Block_14 ; CPU:$D356 PRG:1356 B0 19 + bcs Label_D371 ; CPU:$D356 PRG:1356 B0 19 cpy #$05 ; CPU:$D358 PRG:1358 C0 05 - bcs SubCD308_Block_12 ; CPU:$D35A PRG:135A B0 0B + bcs Label_D367 ; CPU:$D35A PRG:135A B0 0B lda a:Zp94,y ; CPU:$D35C PRG:135C B9 94 00 - bpl SubCD308_Block_14 ; CPU:$D35F PRG:135F 10 10 + bpl Label_D371 ; CPU:$D35F PRG:135F 10 10 lda #$20 ; CPU:$D361 PRG:1361 A9 20 sta a:Zp94,y ; CPU:$D363 PRG:1363 99 94 00 rts ; CPU:$D366 PRG:1366 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_12 +; Routine: Label_D367 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5448,13 +5457,13 @@ SubCD308_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_12: +Label_D367: lda a:$008E,y ; CPU:$D367 PRG:1367 B9 8E 00 - bpl SubCD308_Block_14 ; CPU:$D36A PRG:136A 10 05 + bpl Label_D371 ; CPU:$D36A PRG:136A 10 05 lda #$20 ; CPU:$D36C PRG:136C A9 20 sta a:$008E,y ; CPU:$D36E PRG:136E 99 8E 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_14 +; Routine: Label_D371 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5462,10 +5471,10 @@ SubCD308_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_14: +Label_D371: rts ; CPU:$D371 PRG:1371 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_9 +; Routine: Label_D372 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5473,16 +5482,16 @@ SubCD308_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_9: +Label_D372: ldy #$01 ; CPU:$D372 PRG:1372 A0 01 - lda Zp00 ; CPU:$D374 PRG:1374 A5 00 - bmi SubCD308_Block_15 ; CPU:$D376 PRG:1376 30 07 + lda PtrLo ; CPU:$D374 PRG:1374 A5 00 + bmi Label_D37F ; CPU:$D376 PRG:1376 30 07 dec Zp64,x ; CPU:$D378 PRG:1378 D6 64 dec Zp64,x ; CPU:$D37A PRG:137A D6 64 iny ; CPU:$D37C PRG:137C C8 - bne SubCD308_Block_16 ; CPU:$D37D PRG:137D D0 04 + bne Label_D383 ; CPU:$D37D PRG:137D D0 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_15 +; Routine: Label_D37F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5490,11 +5499,11 @@ SubCD308_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_15: +Label_D37F: inc Zp64,x ; CPU:$D37F PRG:137F F6 64 inc Zp64,x ; CPU:$D381 PRG:1381 F6 64 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_16 +; Routine: Label_D383 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5502,10 +5511,10 @@ SubCD308_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_16: +Label_D383: lda Zp6A,x ; CPU:$D383 PRG:1383 B5 6A ; ----------------------------------------------------------------------------- -; Routine: SubCD385 +; Routine: Label_D385 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5513,15 +5522,15 @@ SubCD308_Block_16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD385: +Label_D385: and #$01 ; CPU:$D385 PRG:1385 29 01 - beq SubCD308_Block_17 ; CPU:$D387 PRG:1387 F0 07 + beq Label_D390 ; CPU:$D387 PRG:1387 F0 07 sty Zp68,x ; CPU:$D389 PRG:1389 94 68 tya ; CPU:$D38B PRG:138B 98 and #$01 ; CPU:$D38C PRG:138C 29 01 sta Zp62,x ; CPU:$D38E PRG:138E 95 62 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_17 +; Routine: Label_D390 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5529,14 +5538,14 @@ SubCD385: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_17: +Label_D390: rts ; CPU:$D390 PRG:1390 60 ; ---- data $D391-$D392 (2 bytes) ---- ; referenced by `lda $D391,x` at $D3A0 (operand $D391 falls inside this region) ; referenced by `lda $D391,x` at $D421 (operand $D391 falls inside this region) .byte $00, $05 ; CPU:$D391 PRG:1391 00 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_8 +; Routine: Label_D393 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5544,11 +5553,11 @@ SubCD308_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_8: +Label_D393: cpy #$03 ; CPU:$D393 PRG:1393 C0 03 - bcc SubCD308_Block_19 ; CPU:$D395 PRG:1395 90 14 + bcc Label_D3AB ; CPU:$D395 PRG:1395 90 14 cpy #$09 ; CPU:$D397 PRG:1397 C0 09 - bcs SubCD308_Block_19 ; CPU:$D399 PRG:1399 B0 10 + bcs Label_D3AB ; CPU:$D399 PRG:1399 B0 10 lda #$01 ; CPU:$D39B PRG:139B A9 01 sta a:Zp91,y ; CPU:$D39D PRG:139D 99 91 00 lda $D391,x ; CPU:$D3A0 PRG:13A0 BD 91 D3 @@ -5557,7 +5566,7 @@ SubCD308_Block_8: lda #$10 ; CPU:$D3A7 PRG:13A7 A9 10 sta ZpFE ; CPU:$D3A9 PRG:13A9 85 FE ; ----------------------------------------------------------------------------- -; Routine: SubCD308_Block_19 +; Routine: Label_D3AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5565,10 +5574,10 @@ SubCD308_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD308_Block_19: +Label_D3AB: rts ; CPU:$D3AB PRG:13AB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD3AC +; Routine: Label_D3AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5576,12 +5585,12 @@ SubCD308_Block_19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3AC: +Label_D3AC: ldx #$00 ; CPU:$D3AC PRG:13AC A2 00 jsr $D3B3 ; CPU:$D3AE PRG:13AE 20 B3 D3 ldx #$01 ; CPU:$D3B1 PRG:13B1 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3 +; Routine: Label_D3B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5589,9 +5598,9 @@ SubCD3AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3: - lda Zp5A,x ; CPU:$D3B3 PRG:13B3 B5 5A - beq SubCD3B3_Block_11 ; CPU:$D3B5 PRG:13B5 F0 3E +Label_D3B3: + lda SprData,x ; CPU:$D3B3 PRG:13B3 B5 5A + beq Label_D3F5 ; CPU:$D3B5 PRG:13B5 F0 3E txa ; CPU:$D3B7 PRG:13B7 8A asl a ; CPU:$D3B8 PRG:13B8 0A asl a ; CPU:$D3B9 PRG:13B9 0A @@ -5607,7 +5616,7 @@ SubCD3B3: stx Zp09 ; CPU:$D3CB PRG:13CB 86 09 ldy #$0A ; CPU:$D3CD PRG:13CD A0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_8 +; Routine: Label_D3CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5615,14 +5624,14 @@ SubCD3B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_8: +Label_D3CF: ldx Zp09 ; CPU:$D3CF PRG:13CF A6 09 cpy #$00 ; CPU:$D3D1 PRG:13D1 C0 00 - beq SubCD3B3_Block_2 ; CPU:$D3D3 PRG:13D3 F0 04 + beq Label_D3D9 ; CPU:$D3D3 PRG:13D3 F0 04 cpy #$08 ; CPU:$D3D5 PRG:13D5 C0 08 - bcc SubCD3B3_Block_3 ; CPU:$D3D7 PRG:13D7 90 06 + bcc Label_D3DF ; CPU:$D3D7 PRG:13D7 90 06 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_2 +; Routine: Label_D3D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5630,12 +5639,12 @@ SubCD3B3_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_2: +Label_D3D9: lda Zp6A,x ; CPU:$D3D9 PRG:13D9 B5 6A cmp #$04 ; CPU:$D3DB PRG:13DB C9 04 - beq SubCD3B3_Block_4 ; CPU:$D3DD PRG:13DD F0 0C + beq Label_D3EB ; CPU:$D3DD PRG:13DD F0 0C ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_3 +; Routine: Label_D3DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5643,15 +5652,15 @@ SubCD3B3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_3: +Label_D3DF: lda Zp6A,x ; CPU:$D3DF PRG:13DF B5 6A cmp #$05 ; CPU:$D3E1 PRG:13E1 C9 05 - bne SubCD3B3_Block_6 ; CPU:$D3E3 PRG:13E3 D0 0D + bne Label_D3F2 ; CPU:$D3E3 PRG:13E3 D0 0D lda Zp60,x ; CPU:$D3E5 PRG:13E5 B5 60 cmp #$09 ; CPU:$D3E7 PRG:13E7 C9 09 - bne SubCD3B3_Block_6 ; CPU:$D3E9 PRG:13E9 D0 07 + bne Label_D3F2 ; CPU:$D3E9 PRG:13E9 D0 07 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_4 +; Routine: Label_D3EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5659,12 +5668,12 @@ SubCD3B3_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_4: +Label_D3EB: lda #$00 ; CPU:$D3EB PRG:13EB A9 00 jsr $DB1D ; CPU:$D3ED PRG:13ED 20 1D DB - bcs SubCD3B3_Block_7 ; CPU:$D3F0 PRG:13F0 B0 04 + bcs Label_D3F6 ; CPU:$D3F0 PRG:13F0 B0 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_6 +; Routine: Label_D3F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5672,11 +5681,11 @@ SubCD3B3_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_6: +Label_D3F2: dey ; CPU:$D3F2 PRG:13F2 88 - bpl SubCD3B3_Block_8 ; CPU:$D3F3 PRG:13F3 10 DA + bpl Label_D3CF ; CPU:$D3F3 PRG:13F3 10 DA ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_11 +; Routine: Label_D3F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5684,10 +5693,10 @@ SubCD3B3_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_11: +Label_D3F5: rts ; CPU:$D3F5 PRG:13F5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_7 +; Routine: Label_D3F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5695,14 +5704,14 @@ SubCD3B3_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_7: +Label_D3F6: ldx Zp09 ; CPU:$D3F6 PRG:13F6 A6 09 lda #$01 ; CPU:$D3F8 PRG:13F8 A9 01 cpy #$01 ; CPU:$D3FA PRG:13FA C0 01 - bne SubCD3B3_Block_9 ; CPU:$D3FC PRG:13FC D0 02 + bne Label_D400 ; CPU:$D3FC PRG:13FC D0 02 lda #$05 ; CPU:$D3FE PRG:13FE A9 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD3B3_Block_9 +; Routine: Label_D400 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5710,7 +5719,7 @@ SubCD3B3_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD3B3_Block_9: +Label_D400: sta a:Zp91,y ; CPU:$D400 PRG:1400 99 91 00 lda #$00 ; CPU:$D403 PRG:1403 A9 00 sta $03B1,y ; CPU:$D405 PRG:1405 99 B1 03 @@ -5722,13 +5731,13 @@ SubCD3B3_Block_9: pla ; CPU:$D412 PRG:1412 68 tax ; CPU:$D413 PRG:1413 AA cpy #$00 ; CPU:$D414 PRG:1414 C0 00 - beq SubCD3B3_Block_11 ; CPU:$D416 PRG:1416 F0 DD + beq Label_D3F5 ; CPU:$D416 PRG:1416 F0 DD cpy #$08 ; CPU:$D418 PRG:1418 C0 08 - bcs SubCD3B3_Block_11 ; CPU:$D41A PRG:141A B0 D9 - stx Zp5F ; CPU:$D41C PRG:141C 86 5F + bcs Label_D3F5 ; CPU:$D41A PRG:141A B0 D9 + stx SprData2 ; CPU:$D41C PRG:141C 86 5F jmp $D07C ; CPU:$D41E PRG:141E 4C 7C D0 ; ----------------------------------------------------------------------------- -; Routine: SubCD421 +; Routine: Label_D421 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5736,17 +5745,17 @@ SubCD3B3_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD421: +Label_D421: lda $D391,x ; CPU:$D421 PRG:1421 BD 91 D3 tax ; CPU:$D424 PRG:1424 AA cpy #$00 ; CPU:$D425 PRG:1425 C0 00 - bne SubCD421_Block ; CPU:$D427 PRG:1427 D0 08 + bne Label_D431 ; CPU:$D427 PRG:1427 D0 08 inc $0363,x ; CPU:$D429 PRG:1429 FE 63 03 lda #$01 ; CPU:$D42C PRG:142C A9 01 sta ZpFE ; CPU:$D42E PRG:142E 85 FE rts ; CPU:$D430 PRG:1430 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD421_Block +; Routine: Label_D431 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5754,14 +5763,14 @@ SubCD421: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD421_Block: +Label_D431: cpy #$05 ; CPU:$D431 PRG:1431 C0 05 - bcc SubCD421_Block_2 ; CPU:$D433 PRG:1433 90 07 + bcc Label_D43C ; CPU:$D433 PRG:1433 90 07 cpy #$08 ; CPU:$D435 PRG:1435 C0 08 - bcs SubCD421_Block_3 ; CPU:$D437 PRG:1437 B0 08 + bcs Label_D441 ; CPU:$D437 PRG:1437 B0 08 inc $0362,x ; CPU:$D439 PRG:1439 FE 62 03 ; ----------------------------------------------------------------------------- -; Routine: SubCD421_Block_2 +; Routine: Label_D43C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5769,12 +5778,12 @@ SubCD421_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD421_Block_2: +Label_D43C: lda #$08 ; CPU:$D43C PRG:143C A9 08 sta ZpFF ; CPU:$D43E PRG:143E 85 FF rts ; CPU:$D440 PRG:1440 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD421_Block_3 +; Routine: Label_D441 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5782,12 +5791,12 @@ SubCD421_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD421_Block_3: +Label_D441: lda #$02 ; CPU:$D441 PRG:1441 A9 02 sta ZpFC ; CPU:$D443 PRG:1443 85 FC rts ; CPU:$D445 PRG:1445 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD446 +; Routine: Label_D446 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5795,10 +5804,10 @@ SubCD421_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD446: +Label_D446: lda #$07 ; CPU:$D446 PRG:1446 A9 07 sta Zp6A,x ; CPU:$D448 PRG:1448 95 6A - lda Zp5A,x ; CPU:$D44A PRG:144A B5 5A + lda SprData,x ; CPU:$D44A PRG:144A B5 5A sta $0382,x ; CPU:$D44C PRG:144C 9D 82 03 txa ; CPU:$D44F PRG:144F 8A pha ; CPU:$D450 PRG:1450 48 @@ -5814,7 +5823,7 @@ SubCD446: sta ZpFF ; CPU:$D460 PRG:1460 85 FF rts ; CPU:$D462 PRG:1462 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD463 +; Routine: Label_D463 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5822,10 +5831,10 @@ SubCD446: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD463: +Label_D463: ldx #$00 ; CPU:$D463 PRG:1463 A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD463_Block_5 +; Routine: Label_D465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5833,24 +5842,24 @@ SubCD463: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD463_Block_5: - lda Zp5A,x ; CPU:$D465 PRG:1465 B5 5A - beq SubCD463_Block_3 ; CPU:$D467 PRG:1467 F0 1E +Label_D465: + lda SprData,x ; CPU:$D465 PRG:1465 B5 5A + beq Label_D487 ; CPU:$D467 PRG:1467 F0 1E lda Zp66,x ; CPU:$D469 PRG:1469 B5 66 clc ; CPU:$D46B PRG:146B 18 adc #$19 ; CPU:$D46C PRG:146C 69 19 jsr $CEDB ; CPU:$D46E PRG:146E 20 DB CE - bcs SubCD463_Block_3 ; CPU:$D471 PRG:1471 B0 14 + bcs Label_D487 ; CPU:$D471 PRG:1471 B0 14 cpy #$0A ; CPU:$D473 PRG:1473 C0 0A - bne SubCD463_Block_3 ; CPU:$D475 PRG:1475 D0 10 + bne Label_D487 ; CPU:$D475 PRG:1475 D0 10 lda #$00 ; CPU:$D477 PRG:1477 A9 00 - sta Zp5A,x ; CPU:$D479 PRG:1479 95 5A + sta SprData,x ; CPU:$D479 PRG:1479 95 5A sta ZpE0,x ; CPU:$D47B PRG:147B 95 E0 lda Zp2D,x ; CPU:$D47D PRG:147D B5 2D - bne SubCD463_Block_4 ; CPU:$D47F PRG:147F D0 02 + bne Label_D483 ; CPU:$D47F PRG:147F D0 02 dec Zp20,x ; CPU:$D481 PRG:1481 D6 20 ; ----------------------------------------------------------------------------- -; Routine: SubCD463_Block_4 +; Routine: Label_D483 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5858,11 +5867,11 @@ SubCD463_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD463_Block_4: +Label_D483: lda #$08 ; CPU:$D483 PRG:1483 A9 08 sta Zp3F,x ; CPU:$D485 PRG:1485 95 3F ; ----------------------------------------------------------------------------- -; Routine: SubCD463_Block_3 +; Routine: Label_D487 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5870,12 +5879,12 @@ SubCD463_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD463_Block_3: +Label_D487: inx ; CPU:$D487 PRG:1487 E8 cpx #$02 ; CPU:$D488 PRG:1488 E0 02 - bne SubCD463_Block_5 ; CPU:$D48A PRG:148A D0 D9 + bne Label_D465 ; CPU:$D48A PRG:148A D0 D9 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_14 +; Routine: Label_D48C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5883,14 +5892,14 @@ SubCD463_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_14: +Label_D48C: rts ; CPU:$D48C PRG:148C 60 ; ---- data $D48D-$D492 (6 bytes) ---- ; referenced by `cmp $D48D,y` at $D49F (operand $D48D falls inside this region) ; referenced by `cmp $D490,y` at $D4A4 (operand $D490 falls inside this region) .byte $2C, $64, $AC, $4C, $94, $CC ; CPU:$D48D PRG:148D 2C 64 AC 4C 94 CC ; ----------------------------------------------------------------------------- -; Routine: SubCD493 +; Routine: Label_D493 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5898,10 +5907,10 @@ SubCD493_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493: +Label_D493: ldx #$01 ; CPU:$D493 PRG:1493 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_12 +; Routine: Label_D495 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5909,13 +5918,13 @@ SubCD493: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_12: - lda Zp5A,x ; CPU:$D495 PRG:1495 B5 5A +Label_D495: + lda SprData,x ; CPU:$D495 PRG:1495 B5 5A cmp #$09 ; CPU:$D497 PRG:1497 C9 09 - bne SubCD493_Block_11 ; CPU:$D499 PRG:1499 D0 33 + bne Label_D4CE ; CPU:$D499 PRG:1499 D0 33 ldy #$02 ; CPU:$D49B PRG:149B A0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_4 +; Routine: Label_D49D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5923,14 +5932,14 @@ SubCD493_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_4: +Label_D49D: lda Zp64,x ; CPU:$D49D PRG:149D B5 64 cmp $D48D,y ; CPU:$D49F PRG:149F D9 8D D4 - bcc SubCD493_Block_2 ; CPU:$D4A2 PRG:14A2 90 05 + bcc Label_D4A9 ; CPU:$D4A2 PRG:14A2 90 05 cmp $D490,y ; CPU:$D4A4 PRG:14A4 D9 90 D4 - bcc SubCD493_Block_3 ; CPU:$D4A7 PRG:14A7 90 05 + bcc Label_D4AE ; CPU:$D4A7 PRG:14A7 90 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_2 +; Routine: Label_D4A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5938,12 +5947,12 @@ SubCD493_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_2: +Label_D4A9: dey ; CPU:$D4A9 PRG:14A9 88 - bpl SubCD493_Block_4 ; CPU:$D4AA PRG:14AA 10 F1 - bmi SubCD493_Block_11 ; CPU:$D4AC PRG:14AC 30 20 + bpl Label_D49D ; CPU:$D4AA PRG:14AA 10 F1 + bmi Label_D4CE ; CPU:$D4AC PRG:14AC 30 20 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_3 +; Routine: Label_D4AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5951,18 +5960,18 @@ SubCD493_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_3: +Label_D4AE: lda ZpE6,x ; CPU:$D4AE PRG:14AE B5 E6 cmp #$03 ; CPU:$D4B0 PRG:14B0 C9 03 - bcc SubCD493_Block_6 ; CPU:$D4B2 PRG:14B2 90 0C + bcc Label_D4C0 ; CPU:$D4B2 PRG:14B2 90 0C lda Zp66,x ; CPU:$D4B4 PRG:14B4 B5 66 cmp #$14 ; CPU:$D4B6 PRG:14B6 C9 14 - bcs SubCD493_Block_11 ; CPU:$D4B8 PRG:14B8 B0 14 + bcs Label_D4CE ; CPU:$D4B8 PRG:14B8 B0 14 cmp #$10 ; CPU:$D4BA PRG:14BA C9 10 - bcs SubCD493_Block_8 ; CPU:$D4BC PRG:14BC B0 14 - bcc SubCD493_Block_11 ; CPU:$D4BE PRG:14BE 90 0E + bcs Label_D4D2 ; CPU:$D4BC PRG:14BC B0 14 + bcc Label_D4CE ; CPU:$D4BE PRG:14BE 90 0E ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_6 +; Routine: Label_D4C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5970,16 +5979,16 @@ SubCD493_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_6: +Label_D4C0: lda Zp66,x ; CPU:$D4C0 PRG:14C0 B5 66 cmp #$2C ; CPU:$D4C2 PRG:14C2 C9 2C - bcs SubCD493_Block_11 ; CPU:$D4C4 PRG:14C4 B0 08 + bcs Label_D4CE ; CPU:$D4C4 PRG:14C4 B0 08 cmp #$28 ; CPU:$D4C6 PRG:14C6 C9 28 - bcc SubCD493_Block_11 ; CPU:$D4C8 PRG:14C8 90 04 + bcc Label_D4CE ; CPU:$D4C8 PRG:14C8 90 04 lda #$03 ; CPU:$D4CA PRG:14CA A9 03 sta ZpE6,x ; CPU:$D4CC PRG:14CC 95 E6 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_11 +; Routine: Label_D4CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5987,12 +5996,12 @@ SubCD493_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_11: +Label_D4CE: dex ; CPU:$D4CE PRG:14CE CA - bpl SubCD493_Block_12 ; CPU:$D4CF PRG:14CF 10 C4 + bpl Label_D495 ; CPU:$D4CF PRG:14CF 10 C4 rts ; CPU:$D4D1 PRG:14D1 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_8 +; Routine: Label_D4D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6000,18 +6009,18 @@ SubCD493_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_8: +Label_D4D2: lda #$10 ; CPU:$D4D2 PRG:14D2 A9 10 sta Zp66,x ; CPU:$D4D4 PRG:14D4 95 66 lda #$09 ; CPU:$D4D6 PRG:14D6 A9 09 - cmp Zp5A ; CPU:$D4D8 PRG:14D8 C5 5A - beq SubCD493_Block_13 ; CPU:$D4DA PRG:14DA F0 08 + cmp SprData ; CPU:$D4D8 PRG:14D8 C5 5A + beq Label_D4E4 ; CPU:$D4DA PRG:14DA F0 08 cmp Zp5B ; CPU:$D4DC PRG:14DC C5 5B - bne SubCD493_Block_14 ; CPU:$D4DE PRG:14DE D0 AC + bne Label_D48C ; CPU:$D4DE PRG:14DE D0 AC lda #$01 ; CPU:$D4E0 PRG:14E0 A9 01 - bne SubCD493_Block_16 ; CPU:$D4E2 PRG:14E2 D0 0A + bne Label_D4EE ; CPU:$D4E2 PRG:14E2 D0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_13 +; Routine: Label_D4E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6019,14 +6028,14 @@ SubCD493_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_13: +Label_D4E4: lda #$00 ; CPU:$D4E4 PRG:14E4 A9 00 ldy Zp5B ; CPU:$D4E6 PRG:14E6 A4 5B cpy #$09 ; CPU:$D4E8 PRG:14E8 C0 09 - bne SubCD493_Block_16 ; CPU:$D4EA PRG:14EA D0 02 + bne Label_D4EE ; CPU:$D4EA PRG:14EA D0 02 lda #$02 ; CPU:$D4EC PRG:14EC A9 02 ; ----------------------------------------------------------------------------- -; Routine: SubCD493_Block_16 +; Routine: Label_D4EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6034,12 +6043,12 @@ SubCD493_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD493_Block_16: +Label_D4EE: sta Zp26 ; CPU:$D4EE PRG:14EE 85 26 lda #$02 ; CPU:$D4F0 PRG:14F0 A9 02 bit $01A9 ; CPU:$D4F2 PRG:14F2 2C A9 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD4F5 +; Routine: Label_D4F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6047,8 +6056,8 @@ SubCD493_Block_16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD4F5: - sta Zp55 ; CPU:$D4F5 PRG:14F5 85 55 +Label_D4F5: + sta ZpCheckZp14 ; CPU:$D4F5 PRG:14F5 85 55 lda #$80 ; CPU:$D4F7 PRG:14F7 A9 80 sta ZpFB ; CPU:$D4F9 PRG:14F9 85 FB asl a ; CPU:$D4FB PRG:14FB 0A @@ -6060,7 +6069,7 @@ SubCD4F5: ; referenced by `lda $D505,y` at $D522 (operand $D505 falls inside this region) .byte $01, $02, $04, $04, $0A, $05 ; CPU:$D501 PRG:1501 01 02 04 04 0A 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD507 +; Routine: Label_D507 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6068,30 +6077,30 @@ SubCD4F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD507: +Label_D507: lda Zp13 ; CPU:$D507 PRG:1507 A5 13 - bne SubCD507_Block_4 ; CPU:$D509 PRG:1509 D0 3C + bne Label_D547 ; CPU:$D509 PRG:1509 D0 3C lda Zp66,x ; CPU:$D50B PRG:150B B5 66 cmp #$26 ; CPU:$D50D PRG:150D C9 26 - bcs SubCD507_Block_4 ; CPU:$D50F PRG:150F B0 36 + bcs Label_D547 ; CPU:$D50F PRG:150F B0 36 lda $0361 ; CPU:$D511 PRG:1511 AD 61 03 adc $0366 ; CPU:$D514 PRG:1514 6D 66 03 lsr a ; CPU:$D517 PRG:1517 4A and #$03 ; CPU:$D518 PRG:1518 29 03 tay ; CPU:$D51A PRG:151A A8 lda $D501,y ; CPU:$D51B PRG:151B B9 01 D5 - sta Zp01 ; CPU:$D51E PRG:151E 85 01 + sta PtrHi ; CPU:$D51E PRG:151E 85 01 ldy ZpD5 ; CPU:$D520 PRG:1520 A4 D5 lda $D505,y ; CPU:$D522 PRG:1522 B9 05 D5 clc ; CPU:$D525 PRG:1525 18 adc ZpD6 ; CPU:$D526 PRG:1526 65 D6 - sta Zp00 ; CPU:$D528 PRG:1528 85 00 + sta PtrLo ; CPU:$D528 PRG:1528 85 00 cmp Zp64,x ; CPU:$D52A PRG:152A D5 64 - bcs SubCD507_Block_4 ; CPU:$D52C PRG:152C B0 19 - adc Zp01 ; CPU:$D52E PRG:152E 65 01 + bcs Label_D547 ; CPU:$D52C PRG:152C B0 19 + adc PtrHi ; CPU:$D52E PRG:152E 65 01 cmp Zp64,x ; CPU:$D530 PRG:1530 D5 64 - bcc SubCD507_Block_4 ; CPU:$D532 PRG:1532 90 13 - lda Zp00 ; CPU:$D534 PRG:1534 A5 00 + bcc Label_D547 ; CPU:$D532 PRG:1532 90 13 + lda PtrLo ; CPU:$D534 PRG:1534 A5 00 sta Zp64,x ; CPU:$D536 PRG:1536 95 64 inx ; CPU:$D538 PRG:1538 E8 stx Zp1E ; CPU:$D539 PRG:1539 86 1E @@ -6103,7 +6112,7 @@ SubCD507: asl a ; CPU:$D544 PRG:1544 0A sta Zp4D ; CPU:$D545 PRG:1545 85 4D ; ----------------------------------------------------------------------------- -; Routine: SubCD507_Block_4 +; Routine: Label_D547 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6111,8 +6120,8 @@ SubCD507: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD507_Block_4: - lda Zp5F ; CPU:$D547 PRG:1547 A5 5F +Label_D547: + lda SprData2 ; CPU:$D547 PRG:1547 A5 5F asl a ; CPU:$D549 PRG:1549 0A asl a ; CPU:$D54A PRG:154A 0A tay ; CPU:$D54B PRG:154B A8 @@ -6120,7 +6129,7 @@ SubCD507_Block_4: sta $021C,y ; CPU:$D54E PRG:154E 99 1C 02 rts ; CPU:$D551 PRG:1551 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD552 +; Routine: Label_D552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6128,17 +6137,17 @@ SubCD507_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552: +Label_D552: lda Zp6A,x ; CPU:$D552 PRG:1552 B5 6A cmp #$01 ; CPU:$D554 PRG:1554 C9 01 - beq SubCD552_Block ; CPU:$D556 PRG:1556 F0 09 + beq Label_D561 ; CPU:$D556 PRG:1556 F0 09 cmp #$02 ; CPU:$D558 PRG:1558 C9 02 - beq SubCD552_Block_2 ; CPU:$D55A PRG:155A F0 0B + beq Label_D567 ; CPU:$D55A PRG:155A F0 0B cmp #$03 ; CPU:$D55C PRG:155C C9 03 - beq SubCD552_Block_3 ; CPU:$D55E PRG:155E F0 04 + beq Label_D564 ; CPU:$D55E PRG:155E F0 04 rts ; CPU:$D560 PRG:1560 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block +; Routine: Label_D561 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6146,10 +6155,10 @@ SubCD552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block: +Label_D561: jmp $CDB0 ; CPU:$D561 PRG:1561 4C B0 CD ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block_3 +; Routine: Label_D564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6157,10 +6166,10 @@ SubCD552_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block_3: +Label_D564: jmp $CFC6 ; CPU:$D564 PRG:1564 4C C6 CF ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block_2 +; Routine: Label_D567 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6168,25 +6177,25 @@ SubCD552_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block_2: +Label_D567: lda #$A8 ; CPU:$D567 PRG:1567 A9 A8 sta ZpE2,x ; CPU:$D569 PRG:1569 95 E2 lda #$03 ; CPU:$D56B PRG:156B A9 03 sta ZpE4,x ; CPU:$D56D PRG:156D 95 E4 lda Zp68,x ; CPU:$D56F PRG:156F B5 68 - bne SubCD552_Block_6 ; CPU:$D571 PRG:1571 D0 1A + bne Label_D58D ; CPU:$D571 PRG:1571 D0 1A lda ZpE6,x ; CPU:$D573 PRG:1573 B5 E6 cmp #$03 ; CPU:$D575 PRG:1575 C9 03 - bcc SubCD552_Block_6 ; CPU:$D577 PRG:1577 90 14 + bcc Label_D58D ; CPU:$D577 PRG:1577 90 14 lda Zp70,x ; CPU:$D579 PRG:1579 B5 70 and #$03 ; CPU:$D57B PRG:157B 29 03 - beq SubCD552_Block_6 ; CPU:$D57D PRG:157D F0 0E + beq Label_D58D ; CPU:$D57D PRG:157D F0 0E sta Zp68,x ; CPU:$D57F PRG:157F 95 68 cmp #$01 ; CPU:$D581 PRG:1581 C9 01 - beq SubCD552_Block_7 ; CPU:$D583 PRG:1583 F0 02 + beq Label_D587 ; CPU:$D583 PRG:1583 F0 02 lda #$00 ; CPU:$D585 PRG:1585 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block_7 +; Routine: Label_D587 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6194,12 +6203,12 @@ SubCD552_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block_7: +Label_D587: sta Zp62,x ; CPU:$D587 PRG:1587 95 62 lda #$0F ; CPU:$D589 PRG:1589 A9 0F sta Zp6E,x ; CPU:$D58B PRG:158B 95 6E ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block_6 +; Routine: Label_D58D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6207,12 +6216,12 @@ SubCD552_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block_6: +Label_D58D: lda Zp68,x ; CPU:$D58D PRG:158D B5 68 - beq SubCD552_Block_8 ; CPU:$D58F PRG:158F F0 03 + beq Label_D594 ; CPU:$D58F PRG:158F F0 03 jsr $D160 ; CPU:$D591 PRG:1591 20 60 D1 ; ----------------------------------------------------------------------------- -; Routine: SubCD552_Block_8 +; Routine: Label_D594 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6220,12 +6229,12 @@ SubCD552_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD552_Block_8: +Label_D594: jsr $D133 ; CPU:$D594 PRG:1594 20 33 D1 ldy #$07 ; CPU:$D597 PRG:1597 A0 07 jmp $D17C ; CPU:$D599 PRG:1599 4C 7C D1 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C +; Routine: Label_D59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6233,20 +6242,20 @@ SubCD552_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C: +Label_D59C: lda #$00 ; CPU:$D59C PRG:159C A9 00 sta Zp2A,x ; CPU:$D59E PRG:159E 95 2A lda Zp13 ; CPU:$D5A0 PRG:15A0 A5 13 clc ; CPU:$D5A2 PRG:15A2 18 adc Zp66,x ; CPU:$D5A3 PRG:15A3 75 66 - bcs SubCD59C_Block ; CPU:$D5A5 PRG:15A5 B0 09 + bcs Label_D5B0 ; CPU:$D5A5 PRG:15A5 B0 09 sta Zp28,x ; CPU:$D5A7 PRG:15A7 95 28 ldy Zp27 ; CPU:$D5A9 PRG:15A9 A4 27 - beq SubCD59C_Block_2 ; CPU:$D5AB PRG:15AB F0 07 + beq Label_D5B4 ; CPU:$D5AB PRG:15AB F0 07 sec ; CPU:$D5AD PRG:15AD 38 sbc #$10 ; CPU:$D5AE PRG:15AE E9 10 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block +; Routine: Label_D5B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6254,11 +6263,11 @@ SubCD59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block: +Label_D5B0: sta Zp28,x ; CPU:$D5B0 PRG:15B0 95 28 inc Zp2A,x ; CPU:$D5B2 PRG:15B2 F6 2A ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_2 +; Routine: Label_D5B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6266,7 +6275,7 @@ SubCD59C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_2: +Label_D5B4: lda Zp2A,x ; CPU:$D5B4 PRG:15B4 B5 2A sta Zp09 ; CPU:$D5B6 PRG:15B6 85 09 lda Zp28,x ; CPU:$D5B8 PRG:15B8 B5 28 @@ -6274,10 +6283,10 @@ SubCD59C_Block_2: clc ; CPU:$D5BC PRG:15BC 18 adc #$18 ; CPU:$D5BD PRG:15BD 69 18 sta Zp0A ; CPU:$D5BF PRG:15BF 85 0A - bcc SubCD59C_Block_3 ; CPU:$D5C1 PRG:15C1 90 02 + bcc Label_D5C5 ; CPU:$D5C1 PRG:15C1 90 02 inc Zp09 ; CPU:$D5C3 PRG:15C3 E6 09 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_3 +; Routine: Label_D5C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6285,17 +6294,17 @@ SubCD59C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_3: +Label_D5C5: lda Zp64,x ; CPU:$D5C5 PRG:15C5 B5 64 sta Zp0D ; CPU:$D5C7 PRG:15C7 85 0D clc ; CPU:$D5C9 PRG:15C9 18 adc #$10 ; CPU:$D5CA PRG:15CA 69 10 sta Zp0C ; CPU:$D5CC PRG:15CC 85 0C lda $0352,x ; CPU:$D5CE PRG:15CE BD 52 03 - bne SubCD59C_Block_4 ; CPU:$D5D1 PRG:15D1 D0 75 + bne Label_D648 ; CPU:$D5D1 PRG:15D1 D0 75 ldy #$00 ; CPU:$D5D3 PRG:15D3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_12 +; Routine: Label_D5D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6303,30 +6312,30 @@ SubCD59C_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_12: +Label_D5D5: lda $06E0,y ; CPU:$D5D5 PRG:15D5 B9 E0 06 - bmi SubCD59C_Block_10 ; CPU:$D5D8 PRG:15D8 30 29 + bmi Label_D603 ; CPU:$D5D8 PRG:15D8 30 29 cmp Zp09 ; CPU:$D5DA PRG:15DA C5 09 - bne SubCD59C_Block_10 ; CPU:$D5DC PRG:15DC D0 25 + bne Label_D603 ; CPU:$D5DC PRG:15DC D0 25 lda $0668,y ; CPU:$D5DE PRG:15DE B9 68 06 sbc #$08 ; CPU:$D5E1 PRG:15E1 E9 08 cmp Zp64,x ; CPU:$D5E3 PRG:15E3 D5 64 - bcs SubCD59C_Block_10 ; CPU:$D5E5 PRG:15E5 B0 1C + bcs Label_D603 ; CPU:$D5E5 PRG:15E5 B0 1C lda $0686,y ; CPU:$D5E7 PRG:15E7 B9 86 06 sec ; CPU:$D5EA PRG:15EA 38 sbc #$08 ; CPU:$D5EB PRG:15EB E9 08 cmp Zp64,x ; CPU:$D5ED PRG:15ED D5 64 - bcc SubCD59C_Block_10 ; CPU:$D5EF PRG:15EF 90 12 + bcc Label_D603 ; CPU:$D5EF PRG:15EF 90 12 lda Zp0A ; CPU:$D5F1 PRG:15F1 A5 0A sbc #$03 ; CPU:$D5F3 PRG:15F3 E9 03 cmp $06A4,y ; CPU:$D5F5 PRG:15F5 D9 A4 06 - beq SubCD59C_Block_11 ; CPU:$D5F8 PRG:15F8 F0 1D - bcs SubCD59C_Block_10 ; CPU:$D5FA PRG:15FA B0 07 + beq Label_D617 ; CPU:$D5F8 PRG:15F8 F0 1D + bcs Label_D603 ; CPU:$D5FA PRG:15FA B0 07 adc #$04 ; CPU:$D5FC PRG:15FC 69 04 cmp $06A4,y ; CPU:$D5FE PRG:15FE D9 A4 06 - bcs SubCD59C_Block_11 ; CPU:$D601 PRG:1601 B0 14 + bcs Label_D617 ; CPU:$D601 PRG:1601 B0 14 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_10 +; Routine: Label_D603 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6334,20 +6343,20 @@ SubCD59C_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_10: +Label_D603: iny ; CPU:$D603 PRG:1603 C8 cpy #$1E ; CPU:$D604 PRG:1604 C0 1E - bne SubCD59C_Block_12 ; CPU:$D606 PRG:1606 D0 CD + bne Label_D5D5 ; CPU:$D606 PRG:1606 D0 CD lda #$02 ; CPU:$D608 PRG:1608 A9 02 cmp Zp6A,x ; CPU:$D60A PRG:160A D5 6A - beq SubCD59C_Block_17 ; CPU:$D60C PRG:160C F0 2D + beq Label_D63B ; CPU:$D60C PRG:160C F0 2D sta Zp6A,x ; CPU:$D60E PRG:160E 95 6A lda #$03 ; CPU:$D610 PRG:1610 A9 03 sta ZpE6,x ; CPU:$D612 PRG:1612 95 E6 lsr a ; CPU:$D614 PRG:1614 4A - bne SubCD59C_Block_14 ; CPU:$D615 PRG:1615 D0 22 + bne Label_D639 ; CPU:$D615 PRG:1615 D0 22 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_11 +; Routine: Label_D617 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6355,21 +6364,21 @@ SubCD59C_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_11: +Label_D617: tya ; CPU:$D617 PRG:1617 98 sta $0783,x ; CPU:$D618 PRG:1618 9D 83 07 lda Zp6A,x ; CPU:$D61B PRG:161B B5 6A cmp #$01 ; CPU:$D61D PRG:161D C9 01 - beq SubCD59C_Block_15 ; CPU:$D61F PRG:161F F0 0E + beq Label_D62F ; CPU:$D61F PRG:161F F0 0E cmp #$03 ; CPU:$D621 PRG:1621 C9 03 - beq SubCD59C_Block_17 ; CPU:$D623 PRG:1623 F0 16 + beq Label_D63B ; CPU:$D623 PRG:1623 F0 16 lda ZpE6,x ; CPU:$D625 PRG:1625 B5 E6 cmp #$03 ; CPU:$D627 PRG:1627 C9 03 - bcc SubCD59C_Block_17 ; CPU:$D629 PRG:1629 90 10 + bcc Label_D63B ; CPU:$D629 PRG:1629 90 10 lda #$03 ; CPU:$D62B PRG:162B A9 03 sta Zp6A,x ; CPU:$D62D PRG:162D 95 6A ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_15 +; Routine: Label_D62F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6377,14 +6386,14 @@ SubCD59C_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_15: +Label_D62F: lda $06A4,y ; CPU:$D62F PRG:162F B9 A4 06 sec ; CPU:$D632 PRG:1632 38 sbc #$19 ; CPU:$D633 PRG:1633 E9 19 sta Zp28,x ; CPU:$D635 PRG:1635 95 28 lda #$00 ; CPU:$D637 PRG:1637 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_14 +; Routine: Label_D639 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6392,10 +6401,10 @@ SubCD59C_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_14: +Label_D639: sta ZpE0,x ; CPU:$D639 PRG:1639 95 E0 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_17 +; Routine: Label_D63B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6403,7 +6412,7 @@ SubCD59C_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_17: +Label_D63B: jsr $D6E0 ; CPU:$D63B PRG:163B 20 E0 D6 lda Zp28,x ; CPU:$D63E PRG:163E B5 28 sec ; CPU:$D640 PRG:1640 38 @@ -6412,7 +6421,7 @@ SubCD59C_Block_17: adc Zp66,x ; CPU:$D644 PRG:1644 75 66 sta Zp66,x ; CPU:$D646 PRG:1646 95 66 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_4 +; Routine: Label_D648 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6420,25 +6429,25 @@ SubCD59C_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_4: - ldx Zp5F ; CPU:$D648 PRG:1648 A6 5F +Label_D648: + ldx SprData2 ; CPU:$D648 PRG:1648 A6 5F lda #$00 ; CPU:$D64A PRG:164A A9 00 sta $0352,x ; CPU:$D64C PRG:164C 9D 52 03 lda Zp6A,x ; CPU:$D64F PRG:164F B5 6A - beq SubCD684_Block_8 ; CPU:$D651 PRG:1651 F0 78 + beq Label_D6CB ; CPU:$D651 PRG:1651 F0 78 lda Zp13 ; CPU:$D653 PRG:1653 A5 13 ora Zp2A,x ; CPU:$D655 PRG:1655 15 2A - bne SubCD59C_Block_19 ; CPU:$D657 PRG:1657 D0 10 + bne Label_D669 ; CPU:$D657 PRG:1657 D0 10 lda Zp64,x ; CPU:$D659 PRG:1659 B5 64 cmp #$2B ; CPU:$D65B PRG:165B C9 2B - bcc SubCD59C_Block_21 ; CPU:$D65D PRG:165D 90 6D + bcc Label_D6CC ; CPU:$D65D PRG:165D 90 6D cmp #$C6 ; CPU:$D65F PRG:165F C9 C6 - bcs SubCD59C_Block_21 ; CPU:$D661 PRG:1661 B0 69 + bcs Label_D6CC ; CPU:$D661 PRG:1661 B0 69 lda Zp28,x ; CPU:$D663 PRG:1663 B5 28 cmp #$58 ; CPU:$D665 PRG:1665 C9 58 - bcc SubCD684_Block_8 ; CPU:$D667 PRG:1667 90 62 + bcc Label_D6CB ; CPU:$D667 PRG:1667 90 62 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_19 +; Routine: Label_D669 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6446,21 +6455,21 @@ SubCD59C_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_19: +Label_D669: lda #$00 ; CPU:$D669 PRG:1669 A9 00 sta Zp09 ; CPU:$D66B PRG:166B 85 09 lda Zp28,x ; CPU:$D66D PRG:166D B5 28 sec ; CPU:$D66F PRG:166F 38 sbc #$57 ; CPU:$D670 PRG:1670 E9 57 - bcc SubCD59C_Block_23 ; CPU:$D672 PRG:1672 90 0C + bcc Label_D680 ; CPU:$D672 PRG:1672 90 0C ldy Zp2A,x ; CPU:$D674 PRG:1674 B4 2A sty Zp09 ; CPU:$D676 PRG:1676 84 09 - beq SubCD684 ; CPU:$D678 PRG:1678 F0 0A + beq Label_D684 ; CPU:$D678 PRG:1678 F0 0A clc ; CPU:$D67A PRG:167A 18 adc #$20 ; CPU:$D67B PRG:167B 69 20 jmp $D684 ; CPU:$D67D PRG:167D 4C 84 D6 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_23 +; Routine: Label_D680 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6468,11 +6477,11 @@ SubCD59C_Block_19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_23: +Label_D680: ldy Zp2A,x ; CPU:$D680 PRG:1680 B4 2A - beq SubCD684_Block_3 ; CPU:$D682 PRG:1682 F0 13 + beq Label_D697 ; CPU:$D682 PRG:1682 F0 13 ; ----------------------------------------------------------------------------- -; Routine: SubCD684 +; Routine: Label_D684 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6480,10 +6489,10 @@ SubCD59C_Block_23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684: +Label_D684: ldy #$00 ; CPU:$D684 PRG:1684 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_2 +; Routine: Label_D686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6491,14 +6500,14 @@ SubCD684: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_2: +Label_D686: cmp #$38 ; CPU:$D686 PRG:1686 C9 38 - bcc SubCD684_Block ; CPU:$D688 PRG:1688 90 05 + bcc Label_D68F ; CPU:$D688 PRG:1688 90 05 sbc #$38 ; CPU:$D68A PRG:168A E9 38 iny ; CPU:$D68C PRG:168C C8 - bne SubCD684_Block_2 ; CPU:$D68D PRG:168D D0 F7 + bne Label_D686 ; CPU:$D68D PRG:168D D0 F7 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block +; Routine: Label_D68F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6506,15 +6515,15 @@ SubCD684_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block: +Label_D68F: lda Zp09 ; CPU:$D68F PRG:168F A5 09 - beq SubCD684_Block_3 ; CPU:$D691 PRG:1691 F0 04 + beq Label_D697 ; CPU:$D691 PRG:1691 F0 04 iny ; CPU:$D693 PRG:1693 C8 iny ; CPU:$D694 PRG:1694 C8 iny ; CPU:$D695 PRG:1695 C8 iny ; CPU:$D696 PRG:1696 C8 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_3 +; Routine: Label_D697 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6522,10 +6531,10 @@ SubCD684_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_3: +Label_D697: lda #$A8 ; CPU:$D697 PRG:1697 A9 A8 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_5 +; Routine: Label_D699 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6533,15 +6542,15 @@ SubCD684_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_5: +Label_D699: cpy #$00 ; CPU:$D699 PRG:1699 C0 00 - beq SubCD684_Block_4 ; CPU:$D69B PRG:169B F0 06 + beq Label_D6A3 ; CPU:$D69B PRG:169B F0 06 clc ; CPU:$D69D PRG:169D 18 adc #$08 ; CPU:$D69E PRG:169E 69 08 dey ; CPU:$D6A0 PRG:16A0 88 - bne SubCD684_Block_5 ; CPU:$D6A1 PRG:16A1 D0 F6 + bne Label_D699 ; CPU:$D6A1 PRG:16A1 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_4 +; Routine: Label_D6A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6549,10 +6558,10 @@ SubCD684_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_4: +Label_D6A3: sta Zp0A ; CPU:$D6A3 PRG:16A3 85 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD6A5 +; Routine: Label_D6A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6560,7 +6569,7 @@ SubCD684_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6A5: +Label_D6A5: sec ; CPU:$D6A5 PRG:16A5 38 sbc #$A8 ; CPU:$D6A6 PRG:16A6 E9 A8 sta Zp09 ; CPU:$D6A8 PRG:16A8 85 09 @@ -6570,10 +6579,10 @@ SubCD6A5: sta Zp0B ; CPU:$D6AF PRG:16AF 85 0B lda Zp64,x ; CPU:$D6B1 PRG:16B1 B5 64 cmp Zp0A ; CPU:$D6B3 PRG:16B3 C5 0A - bcc SubCD684_Block_6 ; CPU:$D6B5 PRG:16B5 90 08 + bcc Label_D6BF ; CPU:$D6B5 PRG:16B5 90 08 lda Zp0A ; CPU:$D6B7 PRG:16B7 A5 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD6B9 +; Routine: Label_D6B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6581,12 +6590,12 @@ SubCD6A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6B9: +Label_D6B9: sta Zp64,x ; CPU:$D6B9 PRG:16B9 95 64 lda #$00 ; CPU:$D6BB PRG:16BB A9 00 - beq SubCD684_Block_7 ; CPU:$D6BD PRG:16BD F0 0A + beq Label_D6C9 ; CPU:$D6BD PRG:16BD F0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_6 +; Routine: Label_D6BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6594,14 +6603,14 @@ SubCD6B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_6: +Label_D6BF: cmp Zp0B ; CPU:$D6BF PRG:16BF C5 0B - bcs SubCD684_Block_8 ; CPU:$D6C1 PRG:16C1 B0 08 + bcs Label_D6CB ; CPU:$D6C1 PRG:16C1 B0 08 lda Zp0B ; CPU:$D6C3 PRG:16C3 A5 0B sta Zp64,x ; CPU:$D6C5 PRG:16C5 95 64 lda #$01 ; CPU:$D6C7 PRG:16C7 A9 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_7 +; Routine: Label_D6C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6609,10 +6618,10 @@ SubCD684_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_7: +Label_D6C9: sta Zp62,x ; CPU:$D6C9 PRG:16C9 95 62 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_8 +; Routine: Label_D6CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6620,10 +6629,10 @@ SubCD684_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_8: +Label_D6CB: rts ; CPU:$D6CB PRG:16CB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD59C_Block_21 +; Routine: Label_D6CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6631,17 +6640,17 @@ SubCD684_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD59C_Block_21: +Label_D6CC: lda #$02 ; CPU:$D6CC PRG:16CC A9 02 cmp Zp6A,x ; CPU:$D6CE PRG:16CE D5 6A - beq SubCD684_Block_9 ; CPU:$D6D0 PRG:16D0 F0 0A + beq Label_D6DC ; CPU:$D6D0 PRG:16D0 F0 0A sta Zp6A,x ; CPU:$D6D2 PRG:16D2 95 6A lda #$03 ; CPU:$D6D4 PRG:16D4 A9 03 sta ZpE6,x ; CPU:$D6D6 PRG:16D6 95 E6 lda #$01 ; CPU:$D6D8 PRG:16D8 A9 01 sta ZpE0,x ; CPU:$D6DA PRG:16DA 95 E0 ; ----------------------------------------------------------------------------- -; Routine: SubCD684_Block_9 +; Routine: Label_D6DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6649,11 +6658,11 @@ SubCD59C_Block_21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD684_Block_9: +Label_D6DC: inc $0352,x ; CPU:$D6DC PRG:16DC FE 52 03 rts ; CPU:$D6DF PRG:16DF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD6E0 +; Routine: Label_D6E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6661,13 +6670,13 @@ SubCD684_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6E0: +Label_D6E0: lda ZpE6,x ; CPU:$D6E0 PRG:16E0 B5 E6 cmp #$04 ; CPU:$D6E2 PRG:16E2 C9 04 - bcs SubCD6E0_Block ; CPU:$D6E4 PRG:16E4 B0 34 + bcs Label_D71A ; CPU:$D6E4 PRG:16E4 B0 34 ldy #$00 ; CPU:$D6E6 PRG:16E6 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD6E0_Block_8 +; Routine: Label_D6E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6675,30 +6684,30 @@ SubCD6E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6E0_Block_8: +Label_D6E8: lda $06E0,y ; CPU:$D6E8 PRG:16E8 B9 E0 06 - bmi SubCD6E0_Block_6 ; CPU:$D6EB PRG:16EB 30 28 + bmi Label_D715 ; CPU:$D6EB PRG:16EB 30 28 cmp Zp2A,x ; CPU:$D6ED PRG:16ED D5 2A - bne SubCD6E0_Block_6 ; CPU:$D6EF PRG:16EF D0 24 + bne Label_D715 ; CPU:$D6EF PRG:16EF D0 24 lda Zp0B ; CPU:$D6F1 PRG:16F1 A5 0B sec ; CPU:$D6F3 PRG:16F3 38 sbc #$02 ; CPU:$D6F4 PRG:16F4 E9 02 cmp $06C2,y ; CPU:$D6F6 PRG:16F6 D9 C2 06 - bcs SubCD6E0_Block_6 ; CPU:$D6F9 PRG:16F9 B0 1A + bcs Label_D715 ; CPU:$D6F9 PRG:16F9 B0 1A adc #$04 ; CPU:$D6FB PRG:16FB 69 04 cmp $06C2,y ; CPU:$D6FD PRG:16FD D9 C2 06 - bcc SubCD6E0_Block_6 ; CPU:$D700 PRG:1700 90 13 + bcc Label_D715 ; CPU:$D700 PRG:1700 90 13 lda $0668,y ; CPU:$D702 PRG:1702 B9 68 06 sbc #$0A ; CPU:$D705 PRG:1705 E9 0A cmp Zp64,x ; CPU:$D707 PRG:1707 D5 64 - bcs SubCD6E0_Block_6 ; CPU:$D709 PRG:1709 B0 0A + bcs Label_D715 ; CPU:$D709 PRG:1709 B0 0A lda $0686,y ; CPU:$D70B PRG:170B B9 86 06 sec ; CPU:$D70E PRG:170E 38 sbc #$06 ; CPU:$D70F PRG:170F E9 06 cmp Zp64,x ; CPU:$D711 PRG:1711 D5 64 - bcs SubCD6E0_Block_7 ; CPU:$D713 PRG:1713 B0 06 + bcs Label_D71B ; CPU:$D713 PRG:1713 B0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCD6E0_Block_6 +; Routine: Label_D715 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6706,12 +6715,12 @@ SubCD6E0_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6E0_Block_6: +Label_D715: iny ; CPU:$D715 PRG:1715 C8 cpy #$1E ; CPU:$D716 PRG:1716 C0 1E - bne SubCD6E0_Block_8 ; CPU:$D718 PRG:1718 D0 CE + bne Label_D6E8 ; CPU:$D718 PRG:1718 D0 CE ; ----------------------------------------------------------------------------- -; Routine: SubCD6E0_Block +; Routine: Label_D71A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6719,10 +6728,10 @@ SubCD6E0_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6E0_Block: +Label_D71A: rts ; CPU:$D71A PRG:171A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD6E0_Block_7 +; Routine: Label_D71B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6730,13 +6739,13 @@ SubCD6E0_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD6E0_Block_7: +Label_D71B: lda #$04 ; CPU:$D71B PRG:171B A9 04 sta ZpE6,x ; CPU:$D71D PRG:171D 95 E6 lda #$20 ; CPU:$D71F PRG:171F A9 20 sta ZpE8,x ; CPU:$D721 PRG:1721 95 E8 ; ----------------------------------------------------------------------------- -; Routine: SubCD724_Block_6 +; Routine: Label_D723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6744,10 +6753,10 @@ SubCD6E0_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD724_Block_6: +Label_D723: rts ; CPU:$D723 PRG:1723 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD724 +; Routine: Label_D724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6755,10 +6764,10 @@ SubCD724_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD724: +Label_D724: ldx #$01 ; CPU:$D724 PRG:1724 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD724_Block_4 +; Routine: Label_D726 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6766,20 +6775,20 @@ SubCD724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD724_Block_4: +Label_D726: lda Zp6A,x ; CPU:$D726 PRG:1726 B5 6A cmp #$06 ; CPU:$D728 PRG:1728 C9 06 - beq SubCD724_Block_3 ; CPU:$D72A PRG:172A F0 20 + beq Label_D74C ; CPU:$D72A PRG:172A F0 20 lda Zp66,x ; CPU:$D72C PRG:172C B5 66 cmp #$D4 ; CPU:$D72E PRG:172E C9 D4 - bcc SubCD724_Block_3 ; CPU:$D730 PRG:1730 90 1A + bcc Label_D74C ; CPU:$D730 PRG:1730 90 1A lda #$F8 ; CPU:$D732 PRG:1732 A9 F8 sta Zp66,x ; CPU:$D734 PRG:1734 95 66 lda #$00 ; CPU:$D736 PRG:1736 A9 00 sta Zp6A,x ; CPU:$D738 PRG:1738 95 6A - sta Zp5A,x ; CPU:$D73A PRG:173A 95 5A + sta SprData,x ; CPU:$D73A PRG:173A 95 5A lda Zp20,x ; CPU:$D73C PRG:173C B5 20 - bmi SubCD724_Block_3 ; CPU:$D73E PRG:173E 30 0C + bmi Label_D74C ; CPU:$D73E PRG:173E 30 0C txa ; CPU:$D740 PRG:1740 8A pha ; CPU:$D741 PRG:1741 48 lda $CBBF,x ; CPU:$D742 PRG:1742 BD BF CB @@ -6788,7 +6797,7 @@ SubCD724_Block_4: pla ; CPU:$D74A PRG:174A 68 tax ; CPU:$D74B PRG:174B AA ; ----------------------------------------------------------------------------- -; Routine: SubCD724_Block_3 +; Routine: Label_D74C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6796,13 +6805,13 @@ SubCD724_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD724_Block_3: +Label_D74C: dex ; CPU:$D74C PRG:174C CA - bpl SubCD724_Block_4 ; CPU:$D74D PRG:174D 10 D7 + bpl Label_D726 ; CPU:$D74D PRG:174D 10 D7 lda Zp6A ; CPU:$D74F PRG:174F A5 6A - bne SubCD724_Block_6 ; CPU:$D751 PRG:1751 D0 D0 + bne Label_D723 ; CPU:$D751 PRG:1751 D0 D0 lda Zp6B ; CPU:$D753 PRG:1753 A5 6B - bne SubCD724_Block_6 ; CPU:$D755 PRG:1755 D0 CC + bne Label_D723 ; CPU:$D755 PRG:1755 D0 CC sta Zp1E ; CPU:$D757 PRG:1757 85 1E lda #$03 ; CPU:$D759 PRG:1759 A9 03 jmp $D4F5 ; CPU:$D75B PRG:175B 4C F5 D4 @@ -6814,6 +6823,7 @@ SubCD724_Block_3: ; referenced by `lda $D7A3,y` at $DA87 (operand $D7A3 falls inside this region) ; referenced by `cmp $D7A3,y` at $DAE6 (operand $D7A3 falls inside this region) ; ... and 22 further references from decoded code + SpriteDataTable4: ; Sprite data table 4 (multiple routines) .byte $80, $5D, $3E, $1F, $02, $00, $18, $30, $48, $60, $78, $90, $A8, $C0, $D8, $2A ; CPU:$D75E PRG:175E 80 5D 3E 1F 02 00 18 30 48 60 78 90 A8 C0 D8 2A .byte $29, $28, $23, $22, $22, $21, $20, $2B, $20, $60, $A0, $A0, $E0, $20, $60, $A0 ; CPU:$D76E PRG:176E 29 28 23 22 22 21 20 2B 20 60 A0 A0 E0 20 60 A0 .byte $A0, $00, $01, $02, $03, $04, $FF, $EB, $90, $91, $EB, $EB, $38, $2A, $29, $28 ; CPU:$D77E PRG:177E A0 00 01 02 03 04 FF EB 90 91 EB EB 38 2A 29 28 @@ -6823,7 +6833,7 @@ SubCD724_Block_3: .byte $08, $08, $08, $08, $04, $04, $04, $04, $04, $04, $0B, $10, $0B, $0B, $0B, $08 ; CPU:$D7BE PRG:17BE 08 08 08 08 04 04 04 04 04 04 0B 10 0B 0B 0B 08 .byte $08, $08, $08, $08, $08, $08, $0C, $08, $08, $08, $08, $08, $08, $06, $06, $06 ; CPU:$D7CE PRG:17CE 08 08 08 08 08 08 0C 08 08 08 08 08 08 06 06 06 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE +; Routine: Label_D7DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6831,19 +6841,19 @@ SubCD724_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE: +Label_D7DE: lda Zp8C ; CPU:$D7DE PRG:17DE A5 8C - bne SubCD7DE_Block_11 ; CPU:$D7E0 PRG:17E0 D0 4C + bne Label_D82E ; CPU:$D7E0 PRG:17E0 D0 4C lda Zp3D ; CPU:$D7E2 PRG:17E2 A5 3D - bne SubCD7DE_Block_2 ; CPU:$D7E4 PRG:17E4 D0 16 + bne Label_D7FC ; CPU:$D7E4 PRG:17E4 D0 16 lda Zp2C ; CPU:$D7E6 PRG:17E6 A5 2C - beq SubCD7DE_Block_3 ; CPU:$D7E8 PRG:17E8 F0 07 + beq Label_D7F1 ; CPU:$D7E8 PRG:17E8 F0 07 dec Zp2C ; CPU:$D7EA PRG:17EA C6 2C lda #$FF ; CPU:$D7EC PRG:17EC A9 FF sta Zp3D ; CPU:$D7EE PRG:17EE 85 3D rts ; CPU:$D7F0 PRG:17F0 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_3 +; Routine: Label_D7F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6851,13 +6861,13 @@ SubCD7DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_3: +Label_D7F1: lda Zp7C ; CPU:$D7F1 PRG:17F1 A5 7C - bne SubCD7DE_Block_4 ; CPU:$D7F3 PRG:17F3 D0 03 + bne Label_D7F8 ; CPU:$D7F3 PRG:17F3 D0 03 inc Zp7C ; CPU:$D7F5 PRG:17F5 E6 7C rts ; CPU:$D7F7 PRG:17F7 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_4 +; Routine: Label_D7F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6865,11 +6875,11 @@ SubCD7DE_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_4: +Label_D7F8: cmp #$80 ; CPU:$D7F8 PRG:17F8 C9 80 - beq SubCD7DE_Block_5 ; CPU:$D7FA PRG:17FA F0 1A + beq Label_D816 ; CPU:$D7FA PRG:17FA F0 1A ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_2 +; Routine: Label_D7FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6877,10 +6887,10 @@ SubCD7DE_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_2: +Label_D7FC: ldx #$01 ; CPU:$D7FC PRG:17FC A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_8 +; Routine: Label_D7FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6888,15 +6898,15 @@ SubCD7DE_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_8: +Label_D7FE: lda Zp6A,x ; CPU:$D7FE PRG:17FE B5 6A cmp #$01 ; CPU:$D800 PRG:1800 C9 01 - bne SubCD7DE_Block_6 ; CPU:$D802 PRG:1802 D0 06 + bne Label_D80A ; CPU:$D802 PRG:1802 D0 06 lda Zp90 ; CPU:$D804 PRG:1804 A5 90 - cmp Zp5A,x ; CPU:$D806 PRG:1806 D5 5A - beq SubCD7DE_Block_7 ; CPU:$D808 PRG:1808 F0 05 + cmp SprData,x ; CPU:$D806 PRG:1806 D5 5A + beq Label_D80F ; CPU:$D808 PRG:1808 F0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_6 +; Routine: Label_D80A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6904,12 +6914,12 @@ SubCD7DE_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_6: +Label_D80A: dex ; CPU:$D80A PRG:180A CA - bpl SubCD7DE_Block_8 ; CPU:$D80B PRG:180B 10 F1 - bmi SubCD7DE_Block_11 ; CPU:$D80D PRG:180D 30 1F + bpl Label_D7FE ; CPU:$D80B PRG:180B 10 F1 + bmi Label_D82E ; CPU:$D80D PRG:180D 30 1F ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_7 +; Routine: Label_D80F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6917,12 +6927,12 @@ SubCD7DE_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_7: +Label_D80F: lda #$01 ; CPU:$D80F PRG:180F A9 01 sta $0376 ; CPU:$D811 PRG:1811 8D 76 03 - bne SubCD7DE_Block_10 ; CPU:$D814 PRG:1814 D0 03 + bne Label_D819 ; CPU:$D814 PRG:1814 D0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_5 +; Routine: Label_D816 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6930,10 +6940,10 @@ SubCD7DE_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_5: +Label_D816: jsr $E215 ; CPU:$D816 PRG:1816 20 15 E2 ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_10 +; Routine: Label_D819 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6941,12 +6951,12 @@ SubCD7DE_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_10: +Label_D819: lda Zp90 ; CPU:$D819 PRG:1819 A5 90 cmp #$09 ; CPU:$D81B PRG:181B C9 09 - beq SubCD7DE_Block_11 ; CPU:$D81D PRG:181D F0 0F + beq Label_D82E ; CPU:$D81D PRG:181D F0 0F ; ----------------------------------------------------------------------------- -; Routine: SubCD81F +; Routine: Label_D81F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6954,7 +6964,7 @@ SubCD7DE_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD81F: +Label_D81F: lda #$0C ; CPU:$D81F PRG:181F A9 0C sta Zp8B ; CPU:$D821 PRG:1821 85 8B sta Zp8C ; CPU:$D823 PRG:1823 85 8C @@ -6964,7 +6974,7 @@ SubCD81F: adc #$06 ; CPU:$D82A PRG:182A 69 06 sta Zp8A ; CPU:$D82C PRG:182C 85 8A ; ----------------------------------------------------------------------------- -; Routine: SubCD7DE_Block_11 +; Routine: Label_D82E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6972,10 +6982,10 @@ SubCD81F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD7DE_Block_11: +Label_D82E: rts ; CPU:$D82E PRG:182E 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD82F +; Routine: Label_D82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6983,9 +6993,9 @@ SubCD7DE_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD82F: +Label_D82F: lda Zp8C ; CPU:$D82F PRG:182F A5 8C - beq SubCD82F_Block_2 ; CPU:$D831 PRG:1831 F0 54 + beq Label_D887 ; CPU:$D831 PRG:1831 F0 54 jsr $E27A ; CPU:$D833 PRG:1833 20 7A E2 jsr $E002 ; CPU:$D836 PRG:1836 20 02 E0 jsr $EC51 ; CPU:$D839 PRG:1839 20 51 EC @@ -7000,14 +7010,14 @@ SubCD82F: sta Zp13 ; CPU:$D84E PRG:184E 85 13 jsr $D8EA ; CPU:$D850 PRG:1850 20 EA D8 dec Zp8B ; CPU:$D853 PRG:1853 C6 8B - bne SubCD82F_Block_2 ; CPU:$D855 PRG:1855 D0 30 + bne Label_D887 ; CPU:$D855 PRG:1855 D0 30 lda #$00 ; CPU:$D857 PRG:1857 A9 00 sta Zp8C ; CPU:$D859 PRG:1859 85 8C jsr $D8FD ; CPU:$D85B PRG:185B 20 FD D8 jsr $E63D ; CPU:$D85E PRG:185E 20 3D E6 ldx #$07 ; CPU:$D861 PRG:1861 A2 07 ; ----------------------------------------------------------------------------- -; Routine: SubCD82F_Block_8 +; Routine: Label_D863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7015,25 +7025,25 @@ SubCD82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD82F_Block_8: +Label_D863: cpx #$00 ; CPU:$D863 PRG:1863 E0 00 - beq SubCD82F_Block_7 ; CPU:$D865 PRG:1865 F0 1D + beq Label_D884 ; CPU:$D865 PRG:1865 F0 1D lda Zp91,x ; CPU:$D867 PRG:1867 B5 91 - beq SubCD82F_Block_7 ; CPU:$D869 PRG:1869 F0 19 + beq Label_D884 ; CPU:$D869 PRG:1869 F0 19 lda Zp90 ; CPU:$D86B PRG:186B A5 90 sec ; CPU:$D86D PRG:186D 38 sbc ZpB2,x ; CPU:$D86E PRG:186E F5 B2 cmp #$04 ; CPU:$D870 PRG:1870 C9 04 - bcc SubCD82F_Block_7 ; CPU:$D872 PRG:1872 90 10 + bcc Label_D884 ; CPU:$D872 PRG:1872 90 10 jsr $D888 ; CPU:$D874 PRG:1874 20 88 D8 cpx #$02 ; CPU:$D877 PRG:1877 E0 02 - bcc SubCD82F_Block_7 ; CPU:$D879 PRG:1879 90 09 + bcc Label_D884 ; CPU:$D879 PRG:1879 90 09 cpx #$05 ; CPU:$D87B PRG:187B E0 05 - bcs SubCD82F_Block_7 ; CPU:$D87D PRG:187D B0 05 + bcs Label_D884 ; CPU:$D87D PRG:187D B0 05 lda #$00 ; CPU:$D87F PRG:187F A9 00 sta $0382,x ; CPU:$D881 PRG:1881 9D 82 03 ; ----------------------------------------------------------------------------- -; Routine: SubCD82F_Block_7 +; Routine: Label_D884 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7041,11 +7051,11 @@ SubCD82F_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD82F_Block_7: +Label_D884: dex ; CPU:$D884 PRG:1884 CA - bpl SubCD82F_Block_8 ; CPU:$D885 PRG:1885 10 DC + bpl Label_D863 ; CPU:$D885 PRG:1885 10 DC ; ----------------------------------------------------------------------------- -; Routine: SubCD82F_Block_2 +; Routine: Label_D887 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7053,10 +7063,10 @@ SubCD82F_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD82F_Block_2: +Label_D887: rts ; CPU:$D887 PRG:1887 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD888 +; Routine: Label_D888 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7064,14 +7074,14 @@ SubCD82F_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD888: +Label_D888: txa ; CPU:$D888 PRG:1888 8A clc ; CPU:$D889 PRG:1889 18 adc #$83 ; CPU:$D88A PRG:188A 69 83 sta $03E8,x ; CPU:$D88C PRG:188C 9D E8 03 rts ; CPU:$D88F PRG:188F 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD890 +; Routine: Label_D890 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7079,12 +7089,12 @@ SubCD888: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD890: +Label_D890: lda Zp8C ; CPU:$D890 PRG:1890 A5 8C - bne SubCD8AF_Block_6 ; CPU:$D892 PRG:1892 D0 11 + bne Label_D8A5 ; CPU:$D892 PRG:1892 D0 11 ldx #$01 ; CPU:$D894 PRG:1894 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCD890_Block_4 +; Routine: Label_D896 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7092,15 +7102,15 @@ SubCD890: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD890_Block_4: +Label_D896: lda Zp6A,x ; CPU:$D896 PRG:1896 B5 6A cmp #$01 ; CPU:$D898 PRG:1898 C9 01 - bne SubCD890_Block_2 ; CPU:$D89A PRG:189A D0 06 + bne Label_D8A2 ; CPU:$D89A PRG:189A D0 06 lda Zp66,x ; CPU:$D89C PRG:189C B5 66 cmp #$60 ; CPU:$D89E PRG:189E C9 60 - bcc SubCD890_Block_3 ; CPU:$D8A0 PRG:18A0 90 04 + bcc Label_D8A6 ; CPU:$D8A0 PRG:18A0 90 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD890_Block_2 +; Routine: Label_D8A2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7108,11 +7118,11 @@ SubCD890_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD890_Block_2: +Label_D8A2: dex ; CPU:$D8A2 PRG:18A2 CA - bpl SubCD890_Block_4 ; CPU:$D8A3 PRG:18A3 10 F1 + bpl Label_D896 ; CPU:$D8A3 PRG:18A3 10 F1 ; ----------------------------------------------------------------------------- -; Routine: SubCD8AF_Block_6 +; Routine: Label_D8A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7120,10 +7130,10 @@ SubCD890_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8AF_Block_6: +Label_D8A5: rts ; CPU:$D8A5 PRG:18A5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD890_Block_3 +; Routine: Label_D8A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7131,13 +7141,13 @@ SubCD8AF_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD890_Block_3: +Label_D8A6: lda Zp13 ; CPU:$D8A6 PRG:18A6 A5 13 ora Zp27 ; CPU:$D8A8 PRG:18A8 05 27 - beq SubCD8AF_Block_6 ; CPU:$D8AA PRG:18AA F0 F9 + beq Label_D8A5 ; CPU:$D8AA PRG:18AA F0 F9 jmp $D81F ; CPU:$D8AC PRG:18AC 4C 1F D8 ; ----------------------------------------------------------------------------- -; Routine: SubCD8AF +; Routine: Label_D8AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7145,21 +7155,21 @@ SubCD890_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8AF: +Label_D8AF: lda Zp8C ; CPU:$D8AF PRG:18AF A5 8C - beq SubCD8AF_Block_6 ; CPU:$D8B1 PRG:18B1 F0 F2 + beq Label_D8A5 ; CPU:$D8B1 PRG:18B1 F0 F2 lda Zp13 ; CPU:$D8B3 PRG:18B3 A5 13 sec ; CPU:$D8B5 PRG:18B5 38 sbc #$04 ; CPU:$D8B6 PRG:18B6 E9 04 sta Zp13 ; CPU:$D8B8 PRG:18B8 85 13 cmp #$F0 ; CPU:$D8BA PRG:18BA C9 F0 - bcc SubCD8AF_Block_4 ; CPU:$D8BC PRG:18BC 90 0A + bcc Label_D8C8 ; CPU:$D8BC PRG:18BC 90 0A lda Zp27 ; CPU:$D8BE PRG:18BE A5 27 - bne SubCD8AF_Block_3 ; CPU:$D8C0 PRG:18C0 D0 04 + bne Label_D8C6 ; CPU:$D8C0 PRG:18C0 D0 04 sta Zp13 ; CPU:$D8C2 PRG:18C2 85 13 - beq SubCD8AF_Block_4 ; CPU:$D8C4 PRG:18C4 F0 02 + beq Label_D8C8 ; CPU:$D8C4 PRG:18C4 F0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCD8AF_Block_3 +; Routine: Label_D8C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7167,10 +7177,10 @@ SubCD8AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8AF_Block_3: +Label_D8C6: dec Zp27 ; CPU:$D8C6 PRG:18C6 C6 27 ; ----------------------------------------------------------------------------- -; Routine: SubCD8AF_Block_4 +; Routine: Label_D8C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7178,17 +7188,17 @@ SubCD8AF_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8AF_Block_4: +Label_D8C8: jsr $D8EA ; CPU:$D8C8 PRG:18C8 20 EA D8 jsr $E277 ; CPU:$D8CB PRG:18CB 20 77 E2 jsr $EC51 ; CPU:$D8CE PRG:18CE 20 51 EC jsr $D90F ; CPU:$D8D1 PRG:18D1 20 0F D9 lda Zp13 ; CPU:$D8D4 PRG:18D4 A5 13 - beq SubCD8AF_Block_5 ; CPU:$D8D6 PRG:18D6 F0 04 + beq Label_D8DC ; CPU:$D8D6 PRG:18D6 F0 04 dec Zp8B ; CPU:$D8D8 PRG:18D8 C6 8B - bne SubCD8AF_Block_6 ; CPU:$D8DA PRG:18DA D0 C9 + bne Label_D8A5 ; CPU:$D8DA PRG:18DA D0 C9 ; ----------------------------------------------------------------------------- -; Routine: SubCD8AF_Block_5 +; Routine: Label_D8DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7196,7 +7206,7 @@ SubCD8AF_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8AF_Block_5: +Label_D8DC: lda #$00 ; CPU:$D8DC PRG:18DC A9 00 sta Zp8C ; CPU:$D8DE PRG:18DE 85 8C lda Zp24 ; CPU:$D8E0 PRG:18E0 A5 24 @@ -7205,7 +7215,7 @@ SubCD8AF_Block_5: sta Zp24 ; CPU:$D8E5 PRG:18E5 85 24 jmp $E573 ; CPU:$D8E7 PRG:18E7 4C 73 E5 ; ----------------------------------------------------------------------------- -; Routine: SubCD8EA +; Routine: Label_D8EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7213,18 +7223,18 @@ SubCD8AF_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8EA: +Label_D8EA: lda Zp13 ; CPU:$D8EA PRG:18EA A5 13 and #$F0 ; CPU:$D8EC PRG:18EC 29 F0 cmp #$F0 ; CPU:$D8EE PRG:18EE C9 F0 - bne SubCD8EA_Block ; CPU:$D8F0 PRG:18F0 D0 0A + bne Label_D8FC ; CPU:$D8F0 PRG:18F0 D0 0A lda Zp13 ; CPU:$D8F2 PRG:18F2 A5 13 and #$EF ; CPU:$D8F4 PRG:18F4 29 EF sta Zp13 ; CPU:$D8F6 PRG:18F6 85 13 inc ZpDE ; CPU:$D8F8 PRG:18F8 E6 DE dec Zp7A ; CPU:$D8FA PRG:18FA C6 7A ; ----------------------------------------------------------------------------- -; Routine: SubCD8EA_Block +; Routine: Label_D8FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7232,10 +7242,10 @@ SubCD8EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8EA_Block: +Label_D8FC: rts ; CPU:$D8FC PRG:18FC 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD8FD +; Routine: Label_D8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7243,13 +7253,13 @@ SubCD8EA_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8FD: +Label_D8FD: ldy Zp56 ; CPU:$D8FD PRG:18FD A4 56 cpy #$04 ; CPU:$D8FF PRG:18FF C0 04 - bcc SubCD8FD_Block ; CPU:$D901 PRG:1901 90 02 + bcc Label_D905 ; CPU:$D901 PRG:1901 90 02 ldy #$04 ; CPU:$D903 PRG:1903 A0 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD8FD_Block +; Routine: Label_D905 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7257,13 +7267,13 @@ SubCD8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD8FD_Block: +Label_D905: lda $D75E,y ; CPU:$D905 PRG:1905 B9 5E D7 sta Zp3D ; CPU:$D908 PRG:1908 85 3D lda #$01 ; CPU:$D90A PRG:190A A9 01 sta Zp2C ; CPU:$D90C PRG:190C 85 2C ; ----------------------------------------------------------------------------- -; Routine: SubCD90F_Block +; Routine: Label_D90E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7271,10 +7281,10 @@ SubCD8FD_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD90F_Block: +Label_D90E: rts ; CPU:$D90E PRG:190E 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD90F +; Routine: Label_D90F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7282,17 +7292,17 @@ SubCD90F_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD90F: +Label_D90F: lda Zp8D ; CPU:$D90F PRG:190F A5 8D cmp Zp8A ; CPU:$D911 PRG:1911 C5 8A - bcs SubCD90F_Block ; CPU:$D913 PRG:1913 B0 F9 + bcs Label_D90E ; CPU:$D913 PRG:1913 B0 F9 jmp $F2EC ; CPU:$D915 PRG:1915 4C EC F2 ; ---- data $D918-$D91B (4 bytes) ---- ; referenced by `lda $D91A,x` at $D934 (operand $D91A falls inside this region) ; referenced by `lda $D918,x` at $D96E (operand $D918 falls inside this region) .byte $F8, $08, $00, $05 ; CPU:$D918 PRG:1918 F8 08 00 05 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C +; Routine: Label_D91C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7300,7 +7310,7 @@ SubCD90F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C: +Label_D91C: txa ; CPU:$D91C PRG:191C 8A pha ; CPU:$D91D PRG:191D 48 tya ; CPU:$D91E PRG:191E 98 @@ -7321,10 +7331,10 @@ SubCD91C: tax ; CPU:$D937 PRG:1937 AA lda $0364,x ; CPU:$D938 PRG:1938 BD 64 03 cmp #$63 ; CPU:$D93B PRG:193B C9 63 - bcs SubCD91C_Block ; CPU:$D93D PRG:193D B0 03 + bcs Label_D942 ; CPU:$D93D PRG:193D B0 03 inc $0364,x ; CPU:$D93F PRG:193F FE 64 03 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block +; Routine: Label_D942 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7332,12 +7342,12 @@ SubCD91C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block: +Label_D942: pla ; CPU:$D942 PRG:1942 68 tax ; CPU:$D943 PRG:1943 AA ldy #$00 ; CPU:$D944 PRG:1944 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_3 +; Routine: Label_D946 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7345,19 +7355,19 @@ SubCD91C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_3: +Label_D946: lda $02D0,y ; CPU:$D946 PRG:1946 B9 D0 02 cmp #$F8 ; CPU:$D949 PRG:1949 C9 F8 - beq SubCD91C_Block_2 ; CPU:$D94B PRG:194B F0 0A + beq Label_D957 ; CPU:$D94B PRG:194B F0 0A iny ; CPU:$D94D PRG:194D C8 iny ; CPU:$D94E PRG:194E C8 iny ; CPU:$D94F PRG:194F C8 iny ; CPU:$D950 PRG:1950 C8 cpy #$18 ; CPU:$D951 PRG:1951 C0 18 - bcc SubCD91C_Block_3 ; CPU:$D953 PRG:1953 90 F1 - bcs SubCD91C_Block_4 ; CPU:$D955 PRG:1955 B0 51 + bcc Label_D946 ; CPU:$D953 PRG:1953 90 F1 + bcs Label_D9A8 ; CPU:$D955 PRG:1955 B0 51 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_2 +; Routine: Label_D957 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7365,15 +7375,15 @@ SubCD91C_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_2: +Label_D957: lda ZpD7,x ; CPU:$D957 PRG:1957 B5 D7 cmp #$06 ; CPU:$D959 PRG:1959 C9 06 - bcs SubCD91C_Block_5 ; CPU:$D95B PRG:195B B0 0A + bcs Label_D967 ; CPU:$D95B PRG:195B B0 0A cmp #$03 ; CPU:$D95D PRG:195D C9 03 - bcc SubCD91C_Block_6 ; CPU:$D95F PRG:195F 90 03 + bcc Label_D964 ; CPU:$D95F PRG:195F 90 03 jsr $D9AD ; CPU:$D961 PRG:1961 20 AD D9 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_6 +; Routine: Label_D964 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7381,12 +7391,12 @@ SubCD91C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_6: +Label_D964: lda #$03 ; CPU:$D964 PRG:1964 A9 03 ; ---- data $D966-$D966 (1 bytes) ---- .byte $2C ; CPU:$D966 PRG:1966 2C ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_5 +; Routine: Label_D967 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7394,7 +7404,7 @@ SubCD91C_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_5: +Label_D967: lda #$02 ; CPU:$D967 PRG:1967 A9 02 sta $02D2,y ; CPU:$D969 PRG:1969 99 D2 02 ldx Zp0C ; CPU:$D96C PRG:196C A6 0C @@ -7408,10 +7418,10 @@ SubCD91C_Block_5: sta $02D0,y ; CPU:$D97C PRG:197C 99 D0 02 lda #$0B ; CPU:$D97F PRG:197F A9 0B ldx $063E ; CPU:$D981 PRG:1981 AE 3E 06 - bne SubCD91C_Block_7 ; CPU:$D984 PRG:1984 D0 02 + bne Label_D988 ; CPU:$D984 PRG:1984 D0 02 lda #$0A ; CPU:$D986 PRG:1986 A9 0A ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_7 +; Routine: Label_D988 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7419,7 +7429,7 @@ SubCD91C_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_7: +Label_D988: sta $02D1,y ; CPU:$D988 PRG:1988 99 D1 02 tya ; CPU:$D98B PRG:198B 98 lsr a ; CPU:$D98C PRG:198C 4A @@ -7432,10 +7442,10 @@ SubCD91C_Block_7: lda #$FE ; CPU:$D99A PRG:199A A9 FE sta $0648,y ; CPU:$D99C PRG:199C 99 48 06 lda Zp0C ; CPU:$D99F PRG:199F A5 0C - bne SubCD91C_Block_8 ; CPU:$D9A1 PRG:19A1 D0 02 + bne Label_D9A5 ; CPU:$D9A1 PRG:19A1 D0 02 lda #$FF ; CPU:$D9A3 PRG:19A3 A9 FF ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_8 +; Routine: Label_D9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7443,10 +7453,10 @@ SubCD91C_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_8: +Label_D9A5: sta $0658,y ; CPU:$D9A5 PRG:19A5 99 58 06 ; ----------------------------------------------------------------------------- -; Routine: SubCD91C_Block_4 +; Routine: Label_D9A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7454,14 +7464,14 @@ SubCD91C_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD91C_Block_4: +Label_D9A8: pla ; CPU:$D9A8 PRG:19A8 68 tay ; CPU:$D9A9 PRG:19A9 A8 pla ; CPU:$D9AA PRG:19AA 68 tax ; CPU:$D9AB PRG:19AB AA rts ; CPU:$D9AC PRG:19AC 60 ; ----------------------------------------------------------------------------- -; Routine: SubCD9AD +; Routine: Label_D9AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7469,10 +7479,10 @@ SubCD91C_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD9AD: +Label_D9AD: lda $063F ; CPU:$D9AD PRG:19AD AD 3F 06 ora $0301 ; CPU:$D9B0 PRG:19B0 0D 01 03 - bne SubCD9AD_Block ; CPU:$D9B3 PRG:19B3 D0 0E + bne Label_D9C3 ; CPU:$D9B3 PRG:19B3 D0 0E txa ; CPU:$D9B5 PRG:19B5 8A pha ; CPU:$D9B6 PRG:19B6 48 ldx #$0F ; CPU:$D9B7 PRG:19B7 A2 0F @@ -7482,7 +7492,7 @@ SubCD9AD: pla ; CPU:$D9C1 PRG:19C1 68 tax ; CPU:$D9C2 PRG:19C2 AA ; ----------------------------------------------------------------------------- -; Routine: SubCD9AD_Block +; Routine: Label_D9C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7490,13 +7500,13 @@ SubCD9AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD9AD_Block: +Label_D9C3: rts ; CPU:$D9C3 PRG:19C3 60 ; ---- data $D9C4-$D9CB (8 bytes) ---- ; referenced by `ora $D9C4,x` at $DA17 (operand $D9C4 falls inside this region) .byte $00, $40, $C0, $80, $40, $00, $80, $C0 ; CPU:$D9C4 PRG:19C4 00 40 C0 80 40 00 80 C0 ; ----------------------------------------------------------------------------- -; Routine: SubCD9CC +; Routine: Label_D9CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7504,10 +7514,10 @@ SubCD9AD_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD9CC: +Label_D9CC: ldy #$14 ; CPU:$D9CC PRG:19CC A0 14 ; ----------------------------------------------------------------------------- -; Routine: SubCDA44_Block +; Routine: Label_D9CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7515,10 +7525,10 @@ SubCD9CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA44_Block: +Label_D9CE: lda $02D0,y ; CPU:$D9CE PRG:19CE B9 D0 02 cmp #$F8 ; CPU:$D9D1 PRG:19D1 C9 F8 - beq SubCDA44 ; CPU:$D9D3 PRG:19D3 F0 6F + beq Label_DA44 ; CPU:$D9D3 PRG:19D3 F0 6F tya ; CPU:$D9D5 PRG:19D5 98 lsr a ; CPU:$D9D6 PRG:19D6 4A lsr a ; CPU:$D9D7 PRG:19D7 4A @@ -7531,7 +7541,7 @@ SubCDA44_Block: adc $0648,x ; CPU:$D9E6 PRG:19E6 7D 48 06 sta $02D0,y ; CPU:$D9E9 PRG:19E9 99 D0 02 cmp #$F4 ; CPU:$D9EC PRG:19EC C9 F4 - bcs SubCD9CC_Block ; CPU:$D9EE PRG:19EE B0 4A + bcs Label_DA3A ; CPU:$D9EE PRG:19EE B0 4A lda $0658,x ; CPU:$D9F0 PRG:19F0 BD 58 06 sta Zp03 ; CPU:$D9F3 PRG:19F3 85 03 adc $02D3,y ; CPU:$D9F5 PRG:19F5 79 D3 02 @@ -7547,11 +7557,11 @@ SubCDA44_Block: lsr a ; CPU:$DA08 PRG:1A08 4A ldx Zp03 ; CPU:$DA09 PRG:1A09 A6 03 dex ; CPU:$DA0B PRG:1A0B CA - beq SubCD9CC_Block_2 ; CPU:$DA0C PRG:1A0C F0 03 + beq Label_DA11 ; CPU:$DA0C PRG:1A0C F0 03 clc ; CPU:$DA0E PRG:1A0E 18 adc #$04 ; CPU:$DA0F PRG:1A0F 69 04 ; ----------------------------------------------------------------------------- -; Routine: SubCD9CC_Block_2 +; Routine: Label_DA11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7559,7 +7569,7 @@ SubCDA44_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD9CC_Block_2: +Label_DA11: tax ; CPU:$DA11 PRG:1A11 AA lda $02D2,y ; CPU:$DA12 PRG:1A12 B9 D2 02 and #$03 ; CPU:$DA15 PRG:1A15 29 03 @@ -7569,7 +7579,7 @@ SubCD9CC_Block_2: tax ; CPU:$DA1E PRG:1A1E AA lda $0648,x ; CPU:$DA1F PRG:1A1F BD 48 06 cmp #$05 ; CPU:$DA22 PRG:1A22 C9 05 - bpl SubCDA44 ; CPU:$DA24 PRG:1A24 10 1E + bpl Label_DA44 ; CPU:$DA24 PRG:1A24 10 1E lda $0650,x ; CPU:$DA26 PRG:1A26 BD 50 06 clc ; CPU:$DA29 PRG:1A29 18 adc #$40 ; CPU:$DA2A PRG:1A2A 69 40 @@ -7579,7 +7589,7 @@ SubCD9CC_Block_2: sta $0648,x ; CPU:$DA34 PRG:1A34 9D 48 06 jmp $DA44 ; CPU:$DA37 PRG:1A37 4C 44 DA ; ----------------------------------------------------------------------------- -; Routine: SubCD9CC_Block +; Routine: Label_DA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7587,13 +7597,13 @@ SubCD9CC_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCD9CC_Block: +Label_DA3A: lda #$F8 ; CPU:$DA3A PRG:1A3A A9 F8 sta $02D0,y ; CPU:$DA3C PRG:1A3C 99 D0 02 lda #$00 ; CPU:$DA3F PRG:1A3F A9 00 sta $02D3,y ; CPU:$DA41 PRG:1A41 99 D3 02 ; ----------------------------------------------------------------------------- -; Routine: SubCDA44 +; Routine: Label_DA44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7601,15 +7611,15 @@ SubCD9CC_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA44: +Label_DA44: dey ; CPU:$DA44 PRG:1A44 88 dey ; CPU:$DA45 PRG:1A45 88 dey ; CPU:$DA46 PRG:1A46 88 dey ; CPU:$DA47 PRG:1A47 88 - bpl SubCDA44_Block ; CPU:$DA48 PRG:1A48 10 84 + bpl Label_D9CE ; CPU:$DA48 PRG:1A48 10 84 rts ; CPU:$DA4A PRG:1A4A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B +; Routine: Label_DA4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7617,10 +7627,10 @@ SubCDA44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B: +Label_DA4B: ldx #$01 ; CPU:$DA4B PRG:1A4B A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B_Block_8 +; Routine: Label_DA4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7628,20 +7638,20 @@ SubCDA4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B_Block_8: +Label_DA4D: lda Zp66,x ; CPU:$DA4D PRG:1A4D B5 66 clc ; CPU:$DA4F PRG:1A4F 18 adc #$0C ; CPU:$DA50 PRG:1A50 69 0C jsr $D1F9 ; CPU:$DA52 PRG:1A52 20 F9 D1 tay ; CPU:$DA55 PRG:1A55 A8 cpy #$09 ; CPU:$DA56 PRG:1A56 C0 09 - beq SubCDA4B_Block_6 ; CPU:$DA58 PRG:1A58 F0 39 + beq Label_DA93 ; CPU:$DA58 PRG:1A58 F0 39 cpy $0786 ; CPU:$DA5A PRG:1A5A CC 86 07 - beq SubCDA4B_Block_2 ; CPU:$DA5D PRG:1A5D F0 05 + beq Label_DA64 ; CPU:$DA5D PRG:1A5D F0 05 cpy $0787 ; CPU:$DA5F PRG:1A5F CC 87 07 - bne SubCDA4B_Block_6 ; CPU:$DA62 PRG:1A62 D0 2F + bne Label_DA93 ; CPU:$DA62 PRG:1A62 D0 2F ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B_Block_2 +; Routine: Label_DA64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7649,25 +7659,25 @@ SubCDA4B_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B_Block_2: +Label_DA64: lda $062F,y ; CPU:$DA64 PRG:1A64 B9 2F 06 cmp #$01 ; CPU:$DA67 PRG:1A67 C9 01 - bne SubCDA4B_Block_6 ; CPU:$DA69 PRG:1A69 D0 28 + bne Label_DA93 ; CPU:$DA69 PRG:1A69 D0 28 lda Zp64,x ; CPU:$DA6B PRG:1A6B B5 64 sec ; CPU:$DA6D PRG:1A6D 38 sbc #$02 ; CPU:$DA6E PRG:1A6E E9 02 cmp $D7A3,y ; CPU:$DA70 PRG:1A70 D9 A3 D7 - bcc SubCDA4B_Block_5 ; CPU:$DA73 PRG:1A73 90 12 + bcc Label_DA87 ; CPU:$DA73 PRG:1A73 90 12 clc ; CPU:$DA75 PRG:1A75 18 adc #$12 ; CPU:$DA76 PRG:1A76 69 12 cmp $D7AD,y ; CPU:$DA78 PRG:1A78 D9 AD D7 - bcc SubCDA4B_Block_6 ; CPU:$DA7B PRG:1A7B 90 16 + bcc Label_DA93 ; CPU:$DA7B PRG:1A7B 90 16 lda $D7AD,y ; CPU:$DA7D PRG:1A7D B9 AD D7 sec ; CPU:$DA80 PRG:1A80 38 sbc #$10 ; CPU:$DA81 PRG:1A81 E9 10 ldy #$00 ; CPU:$DA83 PRG:1A83 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDA85 +; Routine: Label_DA85 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7675,10 +7685,10 @@ SubCDA4B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA85: - beq SubCDA4B_Block_7 ; CPU:$DA85 PRG:1A85 F0 08 +Label_DA85: + beq Label_DA8F ; CPU:$DA85 PRG:1A85 F0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B_Block_5 +; Routine: Label_DA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7686,13 +7696,13 @@ SubCDA85: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B_Block_5: +Label_DA87: lda $D7A3,y ; CPU:$DA87 PRG:1A87 B9 A3 D7 sec ; CPU:$DA8A PRG:1A8A 38 sbc #$FE ; CPU:$DA8B PRG:1A8B E9 FE ldy #$01 ; CPU:$DA8D PRG:1A8D A0 01 ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B_Block_7 +; Routine: Label_DA8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7700,11 +7710,11 @@ SubCDA4B_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B_Block_7: +Label_DA8F: sta Zp64,x ; CPU:$DA8F PRG:1A8F 95 64 sty Zp62,x ; CPU:$DA91 PRG:1A91 94 62 ; ----------------------------------------------------------------------------- -; Routine: SubCDA4B_Block_6 +; Routine: Label_DA93 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7712,16 +7722,16 @@ SubCDA4B_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA4B_Block_6: +Label_DA93: dex ; CPU:$DA93 PRG:1A93 CA - bpl SubCDA4B_Block_8 ; CPU:$DA94 PRG:1A94 10 B7 + bpl Label_DA4D ; CPU:$DA94 PRG:1A94 10 B7 rts ; CPU:$DA96 PRG:1A96 60 ; ---- data $DA97-$DA98 (2 bytes) ---- ; referenced by `lda $DA97,y` at $DAAD (operand $DA97 falls inside this region) ; referenced by `lda $DA97,y` at $DDDC (operand $DA97 falls inside this region) .byte $FC, $0C ; CPU:$DA97 PRG:1A97 FC 0C ; ----------------------------------------------------------------------------- -; Routine: SubCDA99 +; Routine: Label_DA99 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7729,20 +7739,20 @@ SubCDA4B_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA99: +Label_DA99: jsr $DDC9 ; CPU:$DA99 PRG:1A99 20 C9 DD - bcc SubCDAD5_Block_3 ; CPU:$DA9C PRG:1A9C 90 35 + bcc Label_DAD3 ; CPU:$DA9C PRG:1A9C 90 35 lda #$00 ; CPU:$DA9E PRG:1A9E A9 00 sta Zp80,x ; CPU:$DAA0 PRG:1AA0 95 80 lda #$04 ; CPU:$DAA2 PRG:1AA2 A9 04 - sta Zp00 ; CPU:$DAA4 PRG:1AA4 85 00 + sta PtrLo ; CPU:$DAA4 PRG:1AA4 85 00 jsr $DAB2 ; CPU:$DAA6 PRG:1AA6 20 B2 DA - bcc SubCDA99_Block_2 ; CPU:$DAA9 PRG:1AA9 90 29 + bcc Label_DAD4 ; CPU:$DAA9 PRG:1AA9 90 29 ldy Zp62,x ; CPU:$DAAB PRG:1AAB B4 62 lda $DA97,y ; CPU:$DAAD PRG:1AAD B9 97 DA - sta Zp00 ; CPU:$DAB0 PRG:1AB0 85 00 + sta PtrLo ; CPU:$DAB0 PRG:1AB0 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDAB2 +; Routine: Label_DAB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7750,11 +7760,11 @@ SubCDA99: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAB2: +Label_DAB2: jsr $DAD5 ; CPU:$DAB2 PRG:1AB2 20 D5 DA - bcs SubCDAB2_Block ; CPU:$DAB5 PRG:1AB5 B0 05 + bcs Label_DABC ; CPU:$DAB5 PRG:1AB5 B0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCDAB2_Block_2 +; Routine: Label_DAB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7762,12 +7772,12 @@ SubCDAB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAB2_Block_2: +Label_DAB7: lda #$04 ; CPU:$DAB7 PRG:1AB7 A9 04 sta ZpFC ; CPU:$DAB9 PRG:1AB9 85 FC rts ; CPU:$DABB PRG:1ABB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDAB2_Block +; Routine: Label_DABC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7775,19 +7785,19 @@ SubCDAB2_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAB2_Block: +Label_DABC: jsr $DBB4 ; CPU:$DABC PRG:1ABC 20 B4 DB sty Zp5C,x ; CPU:$DABF PRG:1ABF 94 5C lda Zp03 ; CPU:$DAC1 PRG:1AC1 A5 03 sta Zp7D,x ; CPU:$DAC3 PRG:1AC3 95 7D jsr $DAF2 ; CPU:$DAC5 PRG:1AC5 20 F2 DA - bcs SubCDAB2_Block_2 ; CPU:$DAC8 PRG:1AC8 B0 ED + bcs Label_DAB7 ; CPU:$DAC8 PRG:1AC8 B0 ED jsr $D91C ; CPU:$DACA PRG:1ACA 20 1C D9 lda Zp84,x ; CPU:$DACD PRG:1ACD B5 84 ora #$01 ; CPU:$DACF PRG:1ACF 09 01 sta Zp84,x ; CPU:$DAD1 PRG:1AD1 95 84 ; ----------------------------------------------------------------------------- -; Routine: SubCDAD5_Block_3 +; Routine: Label_DAD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7795,10 +7805,10 @@ SubCDAB2_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAD5_Block_3: +Label_DAD3: clc ; CPU:$DAD3 PRG:1AD3 18 ; ----------------------------------------------------------------------------- -; Routine: SubCDA99_Block_2 +; Routine: Label_DAD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7806,10 +7816,10 @@ SubCDAD5_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDA99_Block_2: +Label_DAD4: rts ; CPU:$DAD4 PRG:1AD4 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDAD5 +; Routine: Label_DAD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7817,24 +7827,24 @@ SubCDA99_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAD5: +Label_DAD5: txa ; CPU:$DAD5 PRG:1AD5 8A asl a ; CPU:$DAD6 PRG:1AD6 0A asl a ; CPU:$DAD7 PRG:1AD7 0A tay ; CPU:$DAD8 PRG:1AD8 A8 lda $021F,y ; CPU:$DAD9 PRG:1AD9 B9 1F 02 clc ; CPU:$DADC PRG:1ADC 18 - adc Zp00 ; CPU:$DADD PRG:1ADD 65 00 - ldy Zp5A,x ; CPU:$DADF PRG:1ADF B4 5A + adc PtrLo ; CPU:$DADD PRG:1ADD 65 00 + ldy SprData,x ; CPU:$DADF PRG:1ADF B4 5A iny ; CPU:$DAE1 PRG:1AE1 C8 cpy #$0A ; CPU:$DAE2 PRG:1AE2 C0 0A - bcs SubCDAD5_Block_3 ; CPU:$DAE4 PRG:1AE4 B0 ED + bcs Label_DAD3 ; CPU:$DAE4 PRG:1AE4 B0 ED cmp $D7A3,y ; CPU:$DAE6 PRG:1AE6 D9 A3 D7 - bcc SubCDAD5_Block_3 ; CPU:$DAE9 PRG:1AE9 90 E8 + bcc Label_DAD3 ; CPU:$DAE9 PRG:1AE9 90 E8 cmp $D7AD,y ; CPU:$DAEB PRG:1AEB D9 AD D7 - bcs SubCDAD5_Block_3 ; CPU:$DAEE PRG:1AEE B0 E3 + bcs Label_DAD3 ; CPU:$DAEE PRG:1AEE B0 E3 ; ----------------------------------------------------------------------------- -; Routine: SubCDAF2_Block_3 +; Routine: Label_DAF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7842,11 +7852,11 @@ SubCDAD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAF2_Block_3: +Label_DAF0: sec ; CPU:$DAF0 PRG:1AF0 38 rts ; CPU:$DAF1 PRG:1AF1 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDAF2 +; Routine: Label_DAF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7854,23 +7864,23 @@ SubCDAF2_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAF2: +Label_DAF2: lda #$00 ; CPU:$DAF2 PRG:1AF2 A9 00 sta $063E ; CPU:$DAF4 PRG:1AF4 8D 3E 06 lda (Zp03),y ; CPU:$DAF7 PRG:1AF7 B1 03 - beq SubCDAF2_Block_3 ; CPU:$DAF9 PRG:1AF9 F0 F5 + beq Label_DAF0 ; CPU:$DAF9 PRG:1AF9 F0 F5 cmp #$03 ; CPU:$DAFB PRG:1AFB C9 03 - bpl SubCDAF2_Block_3 ; CPU:$DAFD PRG:1AFD 10 F1 + bpl Label_DAF0 ; CPU:$DAFD PRG:1AFD 10 F1 cmp #$FF ; CPU:$DAFF PRG:1AFF C9 FF - beq SubCDAF2_Block_3 ; CPU:$DB01 PRG:1B01 F0 ED + beq Label_DAF0 ; CPU:$DB01 PRG:1B01 F0 ED cmp #$02 ; CPU:$DB03 PRG:1B03 C9 02 - bne SubCDAF2_Block_4 ; CPU:$DB05 PRG:1B05 D0 07 + bne Label_DB0E ; CPU:$DB05 PRG:1B05 D0 07 pha ; CPU:$DB07 PRG:1B07 48 lda #$01 ; CPU:$DB08 PRG:1B08 A9 01 sta $063E ; CPU:$DB0A PRG:1B0A 8D 3E 06 pla ; CPU:$DB0D PRG:1B0D 68 ; ----------------------------------------------------------------------------- -; Routine: SubCDAF2_Block_4 +; Routine: Label_DB0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7878,16 +7888,16 @@ SubCDAF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAF2_Block_4: +Label_DB0E: clc ; CPU:$DB0E PRG:1B0E 18 - adc Zp02 ; CPU:$DB0F PRG:1B0F 65 02 + adc Ptr2Lo ; CPU:$DB0F PRG:1B0F 65 02 sta (Zp03),y ; CPU:$DB11 PRG:1B11 91 03 cmp #$03 ; CPU:$DB13 PRG:1B13 C9 03 - bmi SubCDAF2_Block_5 ; CPU:$DB15 PRG:1B15 30 04 + bmi Label_DB1B ; CPU:$DB15 PRG:1B15 30 04 lda #$FF ; CPU:$DB17 PRG:1B17 A9 FF sta (Zp03),y ; CPU:$DB19 PRG:1B19 91 03 ; ----------------------------------------------------------------------------- -; Routine: SubCDAF2_Block_5 +; Routine: Label_DB1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7895,11 +7905,11 @@ SubCDAF2_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDAF2_Block_5: +Label_DB1B: clc ; CPU:$DB1B PRG:1B1B 18 rts ; CPU:$DB1C PRG:1B1C 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D +; Routine: Label_DB1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7907,16 +7917,16 @@ SubCDAF2_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D: +Label_DB1D: sta Zp08 ; CPU:$DB1D PRG:1B1D 85 08 - bne SubCDB1D_Block_2 ; CPU:$DB1F PRG:1B1F D0 0B + bne Label_DB2C ; CPU:$DB1F PRG:1B1F D0 0B cpy #$08 ; CPU:$DB21 PRG:1B21 C0 08 - bcc SubCDB1D_Block_2 ; CPU:$DB23 PRG:1B23 90 07 + bcc Label_DB2C ; CPU:$DB23 PRG:1B23 90 07 lda a:Zp91,y ; CPU:$DB25 PRG:1B25 B9 91 00 cmp #$02 ; CPU:$DB28 PRG:1B28 C9 02 - beq SubCDB1D_Block_3 ; CPU:$DB2A PRG:1B2A F0 05 + beq Label_DB31 ; CPU:$DB2A PRG:1B2A F0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D_Block_2 +; Routine: Label_DB2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7924,11 +7934,11 @@ SubCDB1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D_Block_2: +Label_DB2C: lda a:Zp91,y ; CPU:$DB2C PRG:1B2C B9 91 00 - bpl SubCDB57_Block_10 ; CPU:$DB2F PRG:1B2F 10 73 + bpl Label_DBA4 ; CPU:$DB2F PRG:1B2F 10 73 ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D_Block_3 +; Routine: Label_DB31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7936,23 +7946,23 @@ SubCDB1D_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D_Block_3: - lda Zp55 ; CPU:$DB31 PRG:1B31 A5 55 - beq SubCDB1D_Block_7 ; CPU:$DB33 PRG:1B33 F0 30 +Label_DB31: + lda ZpCheckZp14 ; CPU:$DB31 PRG:1B31 A5 55 + beq Label_DB65 ; CPU:$DB33 PRG:1B33 F0 30 cmp #$02 ; CPU:$DB35 PRG:1B35 C9 02 - beq SubCDB1D_Block_7 ; CPU:$DB37 PRG:1B37 F0 2C + beq Label_DB65 ; CPU:$DB37 PRG:1B37 F0 2C cpy #$08 ; CPU:$DB39 PRG:1B39 C0 08 - bcs SubCDB1D_Block_7 ; CPU:$DB3B PRG:1B3B B0 28 + bcs Label_DB65 ; CPU:$DB3B PRG:1B3B B0 28 ldx ZpB2,y ; CPU:$DB3D PRG:1B3D B6 B2 lda Zp08 ; CPU:$DB3F PRG:1B3F A5 08 - bne SubCDB1D_Block_8 ; CPU:$DB41 PRG:1B41 D0 11 + bne Label_DB54 ; CPU:$DB41 PRG:1B41 D0 11 lda a:Zp9C,y ; CPU:$DB43 PRG:1B43 B9 9C 00 - bmi SubCDB1D_Block_9 ; CPU:$DB46 PRG:1B46 30 03 + bmi Label_DB4B ; CPU:$DB46 PRG:1B46 30 03 lda #$10 ; CPU:$DB48 PRG:1B48 A9 10 ; ---- data $DB4A-$DB4A (1 bytes) ---- .byte $2C ; CPU:$DB4A PRG:1B4A 2C ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D_Block_9 +; Routine: Label_DB4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7960,13 +7970,13 @@ SubCDB1D_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D_Block_9: +Label_DB4B: lda #$F8 ; CPU:$DB4B PRG:1B4B A9 F8 clc ; CPU:$DB4D PRG:1B4D 18 adc a:Zp9C,y ; CPU:$DB4E PRG:1B4E 79 9C 00 jmp $DB57 ; CPU:$DB51 PRG:1B51 4C 57 DB ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D_Block_8 +; Routine: Label_DB54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7974,10 +7984,10 @@ SubCDB1D_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D_Block_8: +Label_DB54: lda a:Zp9C,y ; CPU:$DB54 PRG:1B54 B9 9C 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDB57 +; Routine: Label_DB57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7985,15 +7995,15 @@ SubCDB1D_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57: +Label_DB57: clc ; CPU:$DB57 PRG:1B57 18 adc $D7BD,y ; CPU:$DB58 PRG:1B58 79 BD D7 cmp $D7A3,x ; CPU:$DB5B PRG:1B5B DD A3 D7 - bcc SubCDB57_Block_10 ; CPU:$DB5E PRG:1B5E 90 44 + bcc Label_DBA4 ; CPU:$DB5E PRG:1B5E 90 44 cmp $D7AD,x ; CPU:$DB60 PRG:1B60 DD AD D7 - bcs SubCDB57_Block_10 ; CPU:$DB63 PRG:1B63 B0 3F + bcs Label_DBA4 ; CPU:$DB63 PRG:1B63 B0 3F ; ----------------------------------------------------------------------------- -; Routine: SubCDB1D_Block_7 +; Routine: Label_DB65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8001,23 +8011,23 @@ SubCDB57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB1D_Block_7: +Label_DB65: lda a:Zp9C,y ; CPU:$DB65 PRG:1B65 B9 9C 00 clc ; CPU:$DB68 PRG:1B68 18 adc $D7BD,y ; CPU:$DB69 PRG:1B69 79 BD D7 sec ; CPU:$DB6C PRG:1B6C 38 sbc Zp0A ; CPU:$DB6D PRG:1B6D E5 0A - sta Zp00 ; CPU:$DB6F PRG:1B6F 85 00 + sta PtrLo ; CPU:$DB6F PRG:1B6F 85 00 jsr $D2F9 ; CPU:$DB71 PRG:1B71 20 F9 D2 pha ; CPU:$DB74 PRG:1B74 48 lda Zp08 ; CPU:$DB75 PRG:1B75 A5 08 - beq SubCDB57_Block_3 ; CPU:$DB77 PRG:1B77 F0 08 + beq Label_DB81 ; CPU:$DB77 PRG:1B77 F0 08 pla ; CPU:$DB79 PRG:1B79 68 cmp $D7D3,y ; CPU:$DB7A PRG:1B7A D9 D3 D7 - bcs SubCDB57_Block_10 ; CPU:$DB7D PRG:1B7D B0 25 - bcc SubCDB57_Block_5 ; CPU:$DB7F PRG:1B7F 90 05 + bcs Label_DBA4 ; CPU:$DB7D PRG:1B7D B0 25 + bcc Label_DB86 ; CPU:$DB7F PRG:1B7F 90 05 ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_3 +; Routine: Label_DB81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8025,12 +8035,12 @@ SubCDB1D_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_3: +Label_DB81: pla ; CPU:$DB81 PRG:1B81 68 cmp #$0C ; CPU:$DB82 PRG:1B82 C9 0C - bcs SubCDB57_Block_10 ; CPU:$DB84 PRG:1B84 B0 1E + bcs Label_DBA4 ; CPU:$DB84 PRG:1B84 B0 1E ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_5 +; Routine: Label_DB86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8038,7 +8048,7 @@ SubCDB57_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_5: +Label_DB86: lda a:ZpA7,y ; CPU:$DB86 PRG:1B86 B9 A7 00 clc ; CPU:$DB89 PRG:1B89 18 adc $D7B7,y ; CPU:$DB8A PRG:1B8A 79 B7 D7 @@ -8047,11 +8057,11 @@ SubCDB57_Block_5: jsr $D2F9 ; CPU:$DB90 PRG:1B90 20 F9 D2 pha ; CPU:$DB93 PRG:1B93 48 cpy #$00 ; CPU:$DB94 PRG:1B94 C0 00 - bne SubCDB57_Block_7 ; CPU:$DB96 PRG:1B96 D0 04 + bne Label_DB9C ; CPU:$DB96 PRG:1B96 D0 04 lda Zp08 ; CPU:$DB98 PRG:1B98 A5 08 - beq SubCDB57_Block_8 ; CPU:$DB9A PRG:1B9A F0 0A + beq Label_DBA6 ; CPU:$DB9A PRG:1B9A F0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_7 +; Routine: Label_DB9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8059,12 +8069,12 @@ SubCDB57_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_7: +Label_DB9C: pla ; CPU:$DB9C PRG:1B9C 68 cmp $D7C8,y ; CPU:$DB9D PRG:1B9D D9 C8 D7 - bcs SubCDB57_Block_10 ; CPU:$DBA0 PRG:1BA0 B0 02 + bcs Label_DBA4 ; CPU:$DBA0 PRG:1BA0 B0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_11 +; Routine: Label_DBA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8072,11 +8082,11 @@ SubCDB57_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_11: +Label_DBA2: sec ; CPU:$DBA2 PRG:1BA2 38 rts ; CPU:$DBA3 PRG:1BA3 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_10 +; Routine: Label_DBA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8084,11 +8094,11 @@ SubCDB57_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_10: +Label_DBA4: clc ; CPU:$DBA4 PRG:1BA4 18 rts ; CPU:$DBA5 PRG:1BA5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDB57_Block_8 +; Routine: Label_DBA6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8096,13 +8106,13 @@ SubCDB57_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDB57_Block_8: +Label_DBA6: pla ; CPU:$DBA6 PRG:1BA6 68 cmp #$10 ; CPU:$DBA7 PRG:1BA7 C9 10 - bcs SubCDB57_Block_10 ; CPU:$DBA9 PRG:1BA9 B0 F9 - bcc SubCDB57_Block_11 ; CPU:$DBAB PRG:1BAB 90 F5 + bcs Label_DBA4 ; CPU:$DBA9 PRG:1BA9 B0 F9 + bcc Label_DBA2 ; CPU:$DBAB PRG:1BAB 90 F5 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_2 +; Routine: Label_DBAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8110,11 +8120,11 @@ SubCDB57_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_2: +Label_DBAD: lda #$FF ; CPU:$DBAD PRG:1BAD A9 FF rts ; CPU:$DBAF PRG:1BAF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB0 +; Routine: Label_DBB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8122,11 +8132,11 @@ SubCDBB4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB0: +Label_DBB0: ldy #$05 ; CPU:$DBB0 PRG:1BB0 A0 05 bne UpdateSound24_1 ; CPU:$DBB2 PRG:1BB2 D0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4 +; Routine: Label_DBB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8134,7 +8144,7 @@ SubCDBB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4: +Label_DBB4: ldy #$04 ; CPU:$DBB4 PRG:1BB4 A0 04 ; ----------------------------------------------------------------------------- ; Routine: UpdateSound24_1 @@ -8147,17 +8157,17 @@ SubCDBB4: ; ----------------------------------------------------------------------------- UpdateSound24_1: sty Zp04 ; CPU:$DBB6 PRG:1BB6 84 04 - sta Zp00 ; CPU:$DBB8 PRG:1BB8 85 00 + sta PtrLo ; CPU:$DBB8 PRG:1BB8 85 00 lda #$FF ; CPU:$DBBA PRG:1BBA A9 FF sta $0783,x ; CPU:$DBBC PRG:1BBC 9D 83 07 lda #$00 ; CPU:$DBBF PRG:1BBF A9 00 sta $0343,x ; CPU:$DBC1 PRG:1BC1 9D 43 03 - ldy Zp5A,x ; CPU:$DBC4 PRG:1BC4 B4 5A + ldy SprData,x ; CPU:$DBC4 PRG:1BC4 B4 5A lda Zp82,x ; CPU:$DBC6 PRG:1BC6 B5 82 - beq SubCDBB4_Block ; CPU:$DBC8 PRG:1BC8 F0 01 + beq Label_DBCB ; CPU:$DBC8 PRG:1BC8 F0 01 iny ; CPU:$DBCA PRG:1BCA C8 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block +; Routine: Label_DBCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8165,18 +8175,18 @@ UpdateSound24_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block: +Label_DBCB: sty ZpD7,x ; CPU:$DBCB PRG:1BCB 94 D7 cpy #$0A ; CPU:$DBCD PRG:1BCD C0 0A - bcs SubCDBB4_Block_2 ; CPU:$DBCF PRG:1BCF B0 DC - lda Zp00 ; CPU:$DBD1 PRG:1BD1 A5 00 + bcs Label_DBAD ; CPU:$DBCF PRG:1BCF B0 DC + lda PtrLo ; CPU:$DBD1 PRG:1BD1 A5 00 cmp $D7A3,y ; CPU:$DBD3 PRG:1BD3 D9 A3 D7 - bcc SubCDBB4_Block_21 ; CPU:$DBD6 PRG:1BD6 90 7E + bcc Label_DC56 ; CPU:$DBD6 PRG:1BD6 90 7E cmp $D7AD,y ; CPU:$DBD8 PRG:1BD8 D9 AD D7 - bcs SubCDBB4_Block_21 ; CPU:$DBDB PRG:1BDB B0 79 + bcs Label_DC56 ; CPU:$DBDB PRG:1BDB B0 79 lda #$02 ; CPU:$DBDD PRG:1BDD A9 02 - sta Zp02 ; CPU:$DBDF PRG:1BDF 85 02 - lda Zp00 ; CPU:$DBE1 PRG:1BE1 A5 00 + sta Ptr2Lo ; CPU:$DBDF PRG:1BDF 85 02 + lda PtrLo ; CPU:$DBE1 PRG:1BE1 A5 00 jsr $EDBF ; CPU:$DBE3 PRG:1BE3 20 BF ED sta ZpD4,x ; CPU:$DBE6 PRG:1BE6 95 D4 ldy ZpD7,x ; CPU:$DBE8 PRG:1BE8 B4 D7 @@ -8188,10 +8198,10 @@ SubCDBB4_Block: pha ; CPU:$DBF4 PRG:1BF4 48 tay ; CPU:$DBF5 PRG:1BF5 A8 lda (Zp03),y ; CPU:$DBF6 PRG:1BF6 B1 03 - bpl SubCDBB4_Block_5 ; CPU:$DBF8 PRG:1BF8 10 03 + bpl Label_DBFD ; CPU:$DBF8 PRG:1BF8 10 03 inc $0343,x ; CPU:$DBFA PRG:1BFA FE 43 03 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_5 +; Routine: Label_DBFD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8199,16 +8209,16 @@ SubCDBB4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_5: +Label_DBFD: lda ZpD7,x ; CPU:$DBFD PRG:1BFD B5 D7 ldy #$00 ; CPU:$DBFF PRG:1BFF A0 00 cmp $0786 ; CPU:$DC01 PRG:1C01 CD 86 07 - beq SubCDBB4_Block_6 ; CPU:$DC04 PRG:1C04 F0 06 + beq Label_DC0C ; CPU:$DC04 PRG:1C04 F0 06 iny ; CPU:$DC06 PRG:1C06 C8 cmp $0787 ; CPU:$DC07 PRG:1C07 CD 87 07 - bne SubCDBB4_Block_17 ; CPU:$DC0A PRG:1C0A D0 41 + bne Label_DC4D ; CPU:$DC0A PRG:1C0A D0 41 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_6 +; Routine: Label_DC0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8216,15 +8226,15 @@ SubCDBB4_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_6: - sty Zp00 ; CPU:$DC0C PRG:1C0C 84 00 +Label_DC0C: + sty PtrLo ; CPU:$DC0C PRG:1C0C 84 00 lda Zp6A,x ; CPU:$DC0E PRG:1C0E B5 6A cmp #$04 ; CPU:$DC10 PRG:1C10 C9 04 - beq SubCDBB4_Block_8 ; CPU:$DC12 PRG:1C12 F0 04 + beq Label_DC18 ; CPU:$DC12 PRG:1C12 F0 04 cmp #$02 ; CPU:$DC14 PRG:1C14 C9 02 - bne SubCDBB4_Block_14 ; CPU:$DC16 PRG:1C16 D0 1C + bne Label_DC34 ; CPU:$DC16 PRG:1C16 D0 1C ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_8 +; Routine: Label_DC18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8232,18 +8242,18 @@ SubCDBB4_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_8: +Label_DC18: lda Zp68,x ; CPU:$DC18 PRG:1C18 B5 68 - beq SubCDBB4_Block_14 ; CPU:$DC1A PRG:1C1A F0 18 + beq Label_DC34 ; CPU:$DC1A PRG:1C1A F0 18 lda $07D7,y ; CPU:$DC1C PRG:1C1C B9 D7 07 - beq SubCDBB4_Block_11 ; CPU:$DC1F PRG:1C1F F0 0A + beq Label_DC2B ; CPU:$DC1F PRG:1C1F F0 0A lda Zp68,x ; CPU:$DC21 PRG:1C21 B5 68 cmp #$01 ; CPU:$DC23 PRG:1C23 C9 01 - bne SubCDBB4_Block_14 ; CPU:$DC25 PRG:1C25 D0 0D + bne Label_DC34 ; CPU:$DC25 PRG:1C25 D0 0D lda #$14 ; CPU:$DC27 PRG:1C27 A9 14 - bne SubCDBB4_Block_13 ; CPU:$DC29 PRG:1C29 D0 0B + bne Label_DC36 ; CPU:$DC29 PRG:1C29 D0 0B ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_11 +; Routine: Label_DC2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8251,15 +8261,15 @@ SubCDBB4_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_11: +Label_DC2B: lda Zp68,x ; CPU:$DC2B PRG:1C2B B5 68 cmp #$02 ; CPU:$DC2D PRG:1C2D C9 02 - bne SubCDBB4_Block_14 ; CPU:$DC2F PRG:1C2F D0 03 + bne Label_DC34 ; CPU:$DC2F PRG:1C2F D0 03 lda #$04 ; CPU:$DC31 PRG:1C31 A9 04 ; ---- data $DC33-$DC33 (1 bytes) ---- .byte $2C ; CPU:$DC33 PRG:1C33 2C ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_14 +; Routine: Label_DC34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8267,10 +8277,10 @@ SubCDBB4_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_14: +Label_DC34: lda #$09 ; CPU:$DC34 PRG:1C34 A9 09 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_13 +; Routine: Label_DC36 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8278,15 +8288,15 @@ SubCDBB4_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_13: +Label_DC36: clc ; CPU:$DC36 PRG:1C36 18 adc Zp64,x ; CPU:$DC37 PRG:1C37 75 64 cmp $0788,y ; CPU:$DC39 PRG:1C39 D9 88 07 - bcc SubCDBB4_Block_15 ; CPU:$DC3C PRG:1C3C 90 05 + bcc Label_DC43 ; CPU:$DC3C PRG:1C3C 90 05 cmp $078A,y ; CPU:$DC3E PRG:1C3E D9 8A 07 - bcc SubCDBB4_Block_18 ; CPU:$DC41 PRG:1C41 90 16 + bcc Label_DC59 ; CPU:$DC41 PRG:1C41 90 16 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_15 +; Routine: Label_DC43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8294,13 +8304,13 @@ SubCDBB4_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_15: +Label_DC43: cmp $078C,y ; CPU:$DC43 PRG:1C43 D9 8C 07 - bcc SubCDBB4_Block_17 ; CPU:$DC46 PRG:1C46 90 05 + bcc Label_DC4D ; CPU:$DC46 PRG:1C46 90 05 cmp $078E,y ; CPU:$DC48 PRG:1C48 D9 8E 07 - bcc SubCDBB4_Block_18 ; CPU:$DC4B PRG:1C4B 90 0C + bcc Label_DC59 ; CPU:$DC4B PRG:1C4B 90 0C ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_17 +; Routine: Label_DC4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8308,13 +8318,13 @@ SubCDBB4_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_17: +Label_DC4D: lda Zp2D,x ; CPU:$DC4D PRG:1C4D B5 2D - bne SubCDBB4_Block_19 ; CPU:$DC4F PRG:1C4F D0 0D + bne Label_DC5E ; CPU:$DC4F PRG:1C4F D0 0D pla ; CPU:$DC51 PRG:1C51 68 tay ; CPU:$DC52 PRG:1C52 A8 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_22 +; Routine: Label_DC53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8322,11 +8332,11 @@ SubCDBB4_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_22: +Label_DC53: lda (Zp03),y ; CPU:$DC53 PRG:1C53 B1 03 rts ; CPU:$DC55 PRG:1C55 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_21 +; Routine: Label_DC56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8334,10 +8344,10 @@ SubCDBB4_Block_22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_21: +Label_DC56: lda #$00 ; CPU:$DC56 PRG:1C56 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDC6A_Block_3 +; Routine: Label_DC58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8345,10 +8355,10 @@ SubCDBB4_Block_21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC6A_Block_3: +Label_DC58: rts ; CPU:$DC58 PRG:1C58 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_18 +; Routine: Label_DC59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8356,11 +8366,11 @@ SubCDC6A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_18: - lda Zp00 ; CPU:$DC59 PRG:1C59 A5 00 +Label_DC59: + lda PtrLo ; CPU:$DC59 PRG:1C59 A5 00 sta $0783,x ; CPU:$DC5B PRG:1C5B 9D 83 07 ; ----------------------------------------------------------------------------- -; Routine: SubCDBB4_Block_19 +; Routine: Label_DC5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8368,16 +8378,16 @@ SubCDBB4_Block_18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDBB4_Block_19: +Label_DC5E: pla ; CPU:$DC5E PRG:1C5E 68 tay ; CPU:$DC5F PRG:1C5F A8 lda (Zp03),y ; CPU:$DC60 PRG:1C60 B1 03 - bmi SubCDBB4_Block_21 ; CPU:$DC62 PRG:1C62 30 F2 + bmi Label_DC56 ; CPU:$DC62 PRG:1C62 30 F2 cmp #$04 ; CPU:$DC64 PRG:1C64 C9 04 - beq SubCDBB4_Block_21 ; CPU:$DC66 PRG:1C66 F0 EE - bne SubCDBB4_Block_22 ; CPU:$DC68 PRG:1C68 D0 E9 + beq Label_DC56 ; CPU:$DC66 PRG:1C66 F0 EE + bne Label_DC53 ; CPU:$DC68 PRG:1C68 D0 E9 ; ----------------------------------------------------------------------------- -; Routine: SubCDC6A +; Routine: Label_DC6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8385,18 +8395,18 @@ SubCDBB4_Block_19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC6A: +Label_DC6A: lda $0301 ; CPU:$DC6A PRG:1C6A AD 01 03 - bne SubCDC6A_Block_3 ; CPU:$DC6D PRG:1C6D D0 E9 + bne Label_DC58 ; CPU:$DC6D PRG:1C6D D0 E9 sta $0300 ; CPU:$DC6F PRG:1C6F 8D 00 03 lda Zp84 ; CPU:$DC72 PRG:1C72 A5 84 - beq SubCDC6A_Block_2 ; CPU:$DC74 PRG:1C74 F0 0A + beq Label_DC80 ; CPU:$DC74 PRG:1C74 F0 0A ldx #$00 ; CPU:$DC76 PRG:1C76 A2 00 ldy #$00 ; CPU:$DC78 PRG:1C78 A0 00 jsr $DC97 ; CPU:$DC7A PRG:1C7A 20 97 DC jsr $DDA9 ; CPU:$DC7D PRG:1C7D 20 A9 DD ; ----------------------------------------------------------------------------- -; Routine: SubCDC6A_Block_2 +; Routine: Label_DC80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8404,9 +8414,9 @@ SubCDC6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC6A_Block_2: +Label_DC80: lda Zp85 ; CPU:$DC80 PRG:1C80 A5 85 - beq SubCDC6A_Block_3 ; CPU:$DC82 PRG:1C82 F0 D4 + beq Label_DC58 ; CPU:$DC82 PRG:1C82 F0 D4 ldx #$01 ; CPU:$DC84 PRG:1C84 A2 01 ldy $0300 ; CPU:$DC86 PRG:1C86 AC 00 03 jsr $DC97 ; CPU:$DC89 PRG:1C89 20 97 DC @@ -8415,7 +8425,7 @@ SubCDC6A_Block_2: ; referenced by `lda $DC8F,y` at $DCFE (operand $DC8F falls inside this region) .byte $6C, $D7, $75, $D7, $8A, $D7, $93, $D7 ; CPU:$DC8F PRG:1C8F 6C D7 75 D7 8A D7 93 D7 ; ----------------------------------------------------------------------------- -; Routine: SubCDC97 +; Routine: Label_DC97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8423,16 +8433,16 @@ SubCDC6A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC97: +Label_DC97: lda Zp84,x ; CPU:$DC97 PRG:1C97 B5 84 and #$01 ; CPU:$DC99 PRG:1C99 29 01 - bne SubCDC97_Block ; CPU:$DC9B PRG:1C9B D0 07 + bne Label_DCA4 ; CPU:$DC9B PRG:1C9B D0 07 lda Zp84,x ; CPU:$DC9D PRG:1C9D B5 84 and #$02 ; CPU:$DC9F PRG:1C9F 29 02 - bne SubCDC97_Block_2 ; CPU:$DCA1 PRG:1CA1 D0 0A + bne Label_DCAD ; CPU:$DCA1 PRG:1CA1 D0 0A rts ; CPU:$DCA3 PRG:1CA3 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDC97_Block +; Routine: Label_DCA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8440,12 +8450,12 @@ SubCDC97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC97_Block: +Label_DCA4: jsr $DDB6 ; CPU:$DCA4 PRG:1CA4 20 B6 DD jsr $DCF0 ; CPU:$DCA7 PRG:1CA7 20 F0 DC jmp $DCB3 ; CPU:$DCAA PRG:1CAA 4C B3 DC ; ----------------------------------------------------------------------------- -; Routine: SubCDC97_Block_2 +; Routine: Label_DCAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8453,11 +8463,11 @@ SubCDC97_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDC97_Block_2: +Label_DCAD: jsr $DDB6 ; CPU:$DCAD PRG:1CAD 20 B6 DD jsr $DCF6 ; CPU:$DCB0 PRG:1CB0 20 F6 DC ; ----------------------------------------------------------------------------- -; Routine: SubCDCB3 +; Routine: Label_DCB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8465,14 +8475,14 @@ SubCDC97_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCB3: +Label_DCB3: lda ZpD7,x ; CPU:$DCB3 PRG:1CB3 B5 D7 pha ; CPU:$DCB5 PRG:1CB5 48 tay ; CPU:$DCB6 PRG:1CB6 A8 lda (Zp05),y ; CPU:$DCB7 PRG:1CB7 B1 05 jsr $DCEA ; CPU:$DCB9 PRG:1CB9 20 EA DC iny ; CPU:$DCBC PRG:1CBC C8 - sty Zp00 ; CPU:$DCBD PRG:1CBD 84 00 + sty PtrLo ; CPU:$DCBD PRG:1CBD 84 00 pla ; CPU:$DCBF PRG:1CBF 68 tay ; CPU:$DCC0 PRG:1CC0 A8 lda ZpD4,x ; CPU:$DCC1 PRG:1CC1 B5 D4 @@ -8483,7 +8493,7 @@ SubCDCB3: lda #$01 ; CPU:$DCCA PRG:1CCA A9 01 sta $0301,y ; CPU:$DCCC PRG:1CCC 99 01 03 iny ; CPU:$DCCF PRG:1CCF C8 - sty Zp00 ; CPU:$DCD0 PRG:1CD0 84 00 + sty PtrLo ; CPU:$DCD0 PRG:1CD0 84 00 lda Zp7D,x ; CPU:$DCD2 PRG:1CD2 B5 7D sta Zp03 ; CPU:$DCD4 PRG:1CD4 85 03 ldy Zp5C,x ; CPU:$DCD6 PRG:1CD6 B4 5C @@ -8496,7 +8506,7 @@ SubCDCB3: ldx Zp0F ; CPU:$DCE7 PRG:1CE7 A6 0F rts ; CPU:$DCE9 PRG:1CE9 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDCEA +; Routine: Label_DCEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8504,12 +8514,12 @@ SubCDCB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCEA: - ldy Zp00 ; CPU:$DCEA PRG:1CEA A4 00 +Label_DCEA: + ldy PtrLo ; CPU:$DCEA PRG:1CEA A4 00 sta $0301,y ; CPU:$DCEC PRG:1CEC 99 01 03 rts ; CPU:$DCEF PRG:1CEF 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDCF0 +; Routine: Label_DCF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8517,12 +8527,12 @@ SubCDCEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCF0: +Label_DCF0: lda #$04 ; CPU:$DCF0 PRG:1CF0 A9 04 ldy #$03 ; CPU:$DCF2 PRG:1CF2 A0 03 - bne SubCDCF0_Block ; CPU:$DCF4 PRG:1CF4 D0 04 + bne Label_DCFA ; CPU:$DCF4 PRG:1CF4 D0 04 ; ----------------------------------------------------------------------------- -; Routine: SubCDCF6 +; Routine: Label_DCF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8530,11 +8540,11 @@ SubCDCF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCF6: +Label_DCF6: lda #$05 ; CPU:$DCF6 PRG:1CF6 A9 05 ldy #$07 ; CPU:$DCF8 PRG:1CF8 A0 07 ; ----------------------------------------------------------------------------- -; Routine: SubCDCF0_Block +; Routine: Label_DCFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8542,11 +8552,11 @@ SubCDCF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCF0_Block: +Label_DCFA: sta Zp04 ; CPU:$DCFA PRG:1CFA 85 04 ldx #$03 ; CPU:$DCFC PRG:1CFC A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCDCF6_Block +; Routine: Label_DCFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8554,16 +8564,16 @@ SubCDCF0_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDCF6_Block: +Label_DCFE: lda $DC8F,y ; CPU:$DCFE PRG:1CFE B9 8F DC sta Zp05,x ; CPU:$DD01 PRG:1D01 95 05 dey ; CPU:$DD03 PRG:1D03 88 dex ; CPU:$DD04 PRG:1D04 CA - bpl SubCDCF6_Block ; CPU:$DD05 PRG:1D05 10 F7 - ldy Zp00 ; CPU:$DD07 PRG:1D07 A4 00 + bpl Label_DCFE ; CPU:$DD05 PRG:1D05 10 F7 + ldy PtrLo ; CPU:$DD07 PRG:1D07 A4 00 ldx Zp0F ; CPU:$DD09 PRG:1D09 A6 0F ; ----------------------------------------------------------------------------- -; Routine: SubCDD24_Block +; Routine: Label_DD0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8571,7 +8581,7 @@ SubCDCF6_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24_Block: +Label_DD0B: rts ; CPU:$DD0B PRG:1D0B 60 ; ---- data $DD0C-$DD15 (10 bytes) ---- ; referenced by `lda $DD0C,x` at $DD41 (operand $DD0C falls inside this region) @@ -8579,7 +8589,7 @@ SubCDD24_Block: ; referenced by `sbc $DD0C,x` at $DDA4 (operand $DD0C falls inside this region) .byte $18, $18, $18, $16, $16, $16, $14, $14, $14, $14 ; CPU:$DD0C PRG:1D0C 18 18 18 16 16 16 14 14 14 14 ; ----------------------------------------------------------------------------- -; Routine: SubCDD16 +; Routine: Label_DD16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8587,12 +8597,12 @@ SubCDD24_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD16: +Label_DD16: jsr $DCF6 ; CPU:$DD16 PRG:1D16 20 F6 DC ldx #$01 ; CPU:$DD19 PRG:1D19 A2 01 - bne SubCDD16_Block ; CPU:$DD1B PRG:1D1B D0 05 + bne Label_DD22 ; CPU:$DD1B PRG:1D1B D0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCDD1D +; Routine: Label_DD1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8600,11 +8610,11 @@ SubCDD16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD1D: +Label_DD1D: jsr $DCF0 ; CPU:$DD1D PRG:1D1D 20 F0 DC ldx #$00 ; CPU:$DD20 PRG:1D20 A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDD16_Block +; Routine: Label_DD22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8612,10 +8622,10 @@ SubCDD1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD16_Block: +Label_DD22: stx Zp0B ; CPU:$DD22 PRG:1D22 86 0B ; ----------------------------------------------------------------------------- -; Routine: SubCDD24 +; Routine: Label_DD24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8623,10 +8633,10 @@ SubCDD16_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24: +Label_DD24: lda ZpDA,x ; CPU:$DD24 PRG:1D24 B5 DA cmp #$0A ; CPU:$DD26 PRG:1D26 C9 0A - beq SubCDD24_Block ; CPU:$DD28 PRG:1D28 F0 E1 + beq Label_DD0B ; CPU:$DD28 PRG:1D28 F0 E1 tay ; CPU:$DD2A PRG:1D2A A8 tax ; CPU:$DD2B PRG:1D2B AA jsr $DDA1 ; CPU:$DD2C PRG:1D2C 20 A1 DD @@ -8644,9 +8654,9 @@ SubCDD24: lda (Zp05),y ; CPU:$DD47 PRG:1D47 B1 05 sta $0301 ; CPU:$DD49 PRG:1D49 8D 01 03 ldy #$00 ; CPU:$DD4C PRG:1D4C A0 00 - sty Zp02 ; CPU:$DD4E PRG:1D4E 84 02 + sty Ptr2Lo ; CPU:$DD4E PRG:1D4E 84 02 ; ----------------------------------------------------------------------------- -; Routine: SubCDD24_Block_2 +; Routine: Label_DD50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8654,23 +8664,23 @@ SubCDD24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24_Block_2: +Label_DD50: jsr $DE12 ; CPU:$DD50 PRG:1D50 20 12 DE - ldy Zp02 ; CPU:$DD53 PRG:1D53 A4 02 + ldy Ptr2Lo ; CPU:$DD53 PRG:1D53 A4 02 sta $0304,y ; CPU:$DD55 PRG:1D55 99 04 03 iny ; CPU:$DD58 PRG:1D58 C8 - sty Zp02 ; CPU:$DD59 PRG:1D59 84 02 + sty Ptr2Lo ; CPU:$DD59 PRG:1D59 84 02 tya ; CPU:$DD5B PRG:1D5B 98 cmp $DD0C,x ; CPU:$DD5C PRG:1D5C DD 0C DD - bcc SubCDD24_Block_2 ; CPU:$DD5F PRG:1D5F 90 EF + bcc Label_DD50 ; CPU:$DD5F PRG:1D5F 90 EF lda #$00 ; CPU:$DD61 PRG:1D61 A9 00 sta $0304,y ; CPU:$DD63 PRG:1D63 99 04 03 ldx Zp0B ; CPU:$DD66 PRG:1D66 A6 0B - bne SubCDD24_Block_5 ; CPU:$DD68 PRG:1D68 D0 2D + bne Label_DD97 ; CPU:$DD68 PRG:1D68 D0 2D ldy ZpDA,x ; CPU:$DD6A PRG:1D6A B4 DA lda $062F,y ; CPU:$DD6C PRG:1D6C B9 2F 06 - bpl SubCDD24_Block_5 ; CPU:$DD6F PRG:1D6F 10 26 - sta Zp00 ; CPU:$DD71 PRG:1D71 85 00 + bpl Label_DD97 ; CPU:$DD6F PRG:1D6F 10 26 + sta PtrLo ; CPU:$DD71 PRG:1D71 85 00 ldy #$03 ; CPU:$DD73 PRG:1D73 A0 03 ; ----------------------------------------------------------------------------- ; Routine: UpdateSound26_11 @@ -8682,15 +8692,15 @@ SubCDD24_Block_2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSound26_11: - lda Zp00 ; CPU:$DD75 PRG:1D75 A5 00 + lda PtrLo ; CPU:$DD75 PRG:1D75 A5 00 ldx $0301,y ; CPU:$DD77 PRG:1D77 BE 01 03 - beq SubCDD24_Block_5 ; CPU:$DD7A PRG:1D7A F0 1B + beq Label_DD97 ; CPU:$DD7A PRG:1D7A F0 1B cpx #$38 ; CPU:$DD7C PRG:1D7C E0 38 - beq SubCDD24_Block_6 ; CPU:$DD7E PRG:1D7E F0 14 + beq Label_DD94 ; CPU:$DD7E PRG:1D7E F0 14 cpx #$EB ; CPU:$DD80 PRG:1D80 E0 EB - bne SubCDD24_Block_8 ; CPU:$DD82 PRG:1D82 D0 0D + bne Label_DD91 ; CPU:$DD82 PRG:1D82 D0 0D cmp #$90 ; CPU:$DD84 PRG:1D84 C9 90 - bcc SubCDD24_Block_8 ; CPU:$DD86 PRG:1D86 90 09 + bcc Label_DD91 ; CPU:$DD86 PRG:1D86 90 09 cmp #$D3 ; CPU:$DD88 PRG:1D88 C9 D3 beq UpdateSound26_13 ; CPU:$DD8A PRG:1D8A F0 03 lda #$8F ; CPU:$DD8C PRG:1D8C A9 8F @@ -8708,7 +8718,7 @@ UpdateSound26_11: UpdateSound26_13: lda #$8C ; CPU:$DD8F PRG:1D8F A9 8C ; ----------------------------------------------------------------------------- -; Routine: SubCDD24_Block_8 +; Routine: Label_DD91 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8716,10 +8726,10 @@ UpdateSound26_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24_Block_8: +Label_DD91: sta $0301,y ; CPU:$DD91 PRG:1D91 99 01 03 ; ----------------------------------------------------------------------------- -; Routine: SubCDD24_Block_6 +; Routine: Label_DD94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8727,11 +8737,11 @@ SubCDD24_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24_Block_6: +Label_DD94: iny ; CPU:$DD94 PRG:1D94 C8 bne UpdateSound26_11 ; CPU:$DD95 PRG:1D95 D0 DE ; ----------------------------------------------------------------------------- -; Routine: SubCDD24_Block_5 +; Routine: Label_DD97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8739,13 +8749,13 @@ SubCDD24_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDD24_Block_5: +Label_DD97: jsr $C14E ; CPU:$DD97 PRG:1D97 20 4E C1 ldx Zp0B ; CPU:$DD9A PRG:1D9A A6 0B inc ZpDA,x ; CPU:$DD9C PRG:1D9C F6 DA jmp $DD24 ; CPU:$DD9E PRG:1D9E 4C 24 DD ; ----------------------------------------------------------------------------- -; Routine: SubCDDA1 +; Routine: Label_DDA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8753,14 +8763,14 @@ SubCDD24_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDA1: +Label_DDA1: lda #$18 ; CPU:$DDA1 PRG:1DA1 A9 18 sec ; CPU:$DDA3 PRG:1DA3 38 sbc $DD0C,x ; CPU:$DDA4 PRG:1DA4 FD 0C DD lsr a ; CPU:$DDA7 PRG:1DA7 4A rts ; CPU:$DDA8 PRG:1DA8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDDA9 +; Routine: Label_DDA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8768,7 +8778,7 @@ SubCDDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDA9: +Label_DDA9: lda #$02 ; CPU:$DDA9 PRG:1DA9 A9 02 sta ZpFC ; CPU:$DDAB PRG:1DAB 85 FC lda Zp0E ; CPU:$DDAD PRG:1DAD A5 0E @@ -8777,7 +8787,7 @@ SubCDDA9: sta Zp84,x ; CPU:$DDB3 PRG:1DB3 95 84 rts ; CPU:$DDB5 PRG:1DB5 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDDB6 +; Routine: Label_DDB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8785,13 +8795,13 @@ SubCDDA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDB6: +Label_DDB6: sta Zp0E ; CPU:$DDB6 PRG:1DB6 85 0E stx Zp0F ; CPU:$DDB8 PRG:1DB8 86 0F - sty Zp00 ; CPU:$DDBA PRG:1DBA 84 00 + sty PtrLo ; CPU:$DDBA PRG:1DBA 84 00 rts ; CPU:$DDBC PRG:1DBC 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDDBD +; Routine: Label_DDBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8799,10 +8809,10 @@ SubCDDB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDBD: +Label_DDBD: ldy #$06 ; CPU:$DDBD PRG:1DBD A0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCDDBD_Block +; Routine: Label_DDBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8810,14 +8820,14 @@ SubCDDBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDBD_Block: +Label_DDBF: dey ; CPU:$DDBF PRG:1DBF 88 cmp $D77F,y ; CPU:$DDC0 PRG:1DC0 D9 7F D7 - bne SubCDDBD_Block ; CPU:$DDC3 PRG:1DC3 D0 FA + bne Label_DDBF ; CPU:$DDC3 PRG:1DC3 D0 FA lda $D785,y ; CPU:$DDC5 PRG:1DC5 B9 85 D7 rts ; CPU:$DDC8 PRG:1DC8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDDC9 +; Routine: Label_DDC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8825,20 +8835,20 @@ SubCDDBD_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDC9: +Label_DDC9: lda Zp80,x ; CPU:$DDC9 PRG:1DC9 B5 80 - beq SubCDDE1_Block_2 ; CPU:$DDCB PRG:1DCB F0 43 + beq Label_DE10 ; CPU:$DDCB PRG:1DCB F0 43 lda #$00 ; CPU:$DDCD PRG:1DCD A9 00 sta Zp80,x ; CPU:$DDCF PRG:1DCF 95 80 lda #$04 ; CPU:$DDD1 PRG:1DD1 A9 04 - sta Zp00 ; CPU:$DDD3 PRG:1DD3 85 00 + sta PtrLo ; CPU:$DDD3 PRG:1DD3 85 00 jsr $DDE1 ; CPU:$DDD5 PRG:1DD5 20 E1 DD - bcc SubCDE22_Block ; CPU:$DDD8 PRG:1DD8 90 37 + bcc Label_DE11 ; CPU:$DDD8 PRG:1DD8 90 37 ldy Zp62,x ; CPU:$DDDA PRG:1DDA B4 62 lda $DA97,y ; CPU:$DDDC PRG:1DDC B9 97 DA - sta Zp00 ; CPU:$DDDF PRG:1DDF 85 00 + sta PtrLo ; CPU:$DDDF PRG:1DDF 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCDDE1 +; Routine: Label_DDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8846,15 +8856,15 @@ SubCDDC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDE1: +Label_DDE1: jsr $DAD5 ; CPU:$DDE1 PRG:1DE1 20 D5 DA - bcs SubCDDE1_Block ; CPU:$DDE4 PRG:1DE4 B0 06 + bcs Label_DDEC ; CPU:$DDE4 PRG:1DE4 B0 06 lda #$04 ; CPU:$DDE6 PRG:1DE6 A9 04 sta ZpFC ; CPU:$DDE8 PRG:1DE8 85 FC clc ; CPU:$DDEA PRG:1DEA 18 rts ; CPU:$DDEB PRG:1DEB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDDE1_Block +; Routine: Label_DDEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8862,22 +8872,22 @@ SubCDDE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDE1_Block: +Label_DDEC: jsr $DBB0 ; CPU:$DDEC PRG:1DEC 20 B0 DB lda Zp90 ; CPU:$DDEF PRG:1DEF A5 90 sec ; CPU:$DDF1 PRG:1DF1 38 sbc ZpD7,x ; CPU:$DDF2 PRG:1DF2 F5 D7 cmp #$03 ; CPU:$DDF4 PRG:1DF4 C9 03 - bcs SubCDDE1_Block_2 ; CPU:$DDF6 PRG:1DF6 B0 18 + bcs Label_DE10 ; CPU:$DDF6 PRG:1DF6 B0 18 sty Zp5C,x ; CPU:$DDF8 PRG:1DF8 94 5C lda Zp03 ; CPU:$DDFA PRG:1DFA A5 03 sta Zp7D,x ; CPU:$DDFC PRG:1DFC 95 7D jsr $DAF2 ; CPU:$DDFE PRG:1DFE 20 F2 DA - bcc SubCDDE1_Block_3 ; CPU:$DE01 PRG:1E01 90 04 + bcc Label_DE07 ; CPU:$DE01 PRG:1E01 90 04 lda Zp82,x ; CPU:$DE03 PRG:1E03 B5 82 - bne SubCDE22_Block ; CPU:$DE05 PRG:1E05 D0 0A + bne Label_DE11 ; CPU:$DE05 PRG:1E05 D0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCDDE1_Block_3 +; Routine: Label_DE07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8885,13 +8895,13 @@ SubCDDE1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDE1_Block_3: +Label_DE07: jsr $D91C ; CPU:$DE07 PRG:1E07 20 1C D9 lda Zp84,x ; CPU:$DE0A PRG:1E0A B5 84 ora #$02 ; CPU:$DE0C PRG:1E0C 09 02 sta Zp84,x ; CPU:$DE0E PRG:1E0E 95 84 ; ----------------------------------------------------------------------------- -; Routine: SubCDDE1_Block_2 +; Routine: Label_DE10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8899,10 +8909,10 @@ SubCDDE1_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDDE1_Block_2: +Label_DE10: clc ; CPU:$DE10 PRG:1E10 18 ; ----------------------------------------------------------------------------- -; Routine: SubCDE22_Block +; Routine: Label_DE11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8910,10 +8920,10 @@ SubCDDE1_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE22_Block: +Label_DE11: rts ; CPU:$DE11 PRG:1E11 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDE12 +; Routine: Label_DE12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8921,14 +8931,14 @@ SubCDE22_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE12: +Label_DE12: lda Zp04 ; CPU:$DE12 PRG:1E12 A5 04 cmp #$05 ; CPU:$DE14 PRG:1E14 C9 05 - beq SubCDE12_Block ; CPU:$DE16 PRG:1E16 F0 05 + beq Label_DE1D ; CPU:$DE16 PRG:1E16 F0 05 lda (Zp03),y ; CPU:$DE18 PRG:1E18 B1 03 jmp $DDBD ; CPU:$DE1A PRG:1E1A 4C BD DD ; ----------------------------------------------------------------------------- -; Routine: SubCDE12_Block +; Routine: Label_DE1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8936,11 +8946,11 @@ SubCDE12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE12_Block: +Label_DE1D: lda (Zp03),y ; CPU:$DE1D PRG:1E1D B1 03 jmp $DEEA ; CPU:$DE1F PRG:1E1F 4C EA DE ; ----------------------------------------------------------------------------- -; Routine: SubCDE22 +; Routine: Label_DE22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8948,14 +8958,14 @@ SubCDE12_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE22: +Label_DE22: lda $0301 ; CPU:$DE22 PRG:1E22 AD 01 03 - bne SubCDE22_Block ; CPU:$DE25 PRG:1E25 D0 EA + bne Label_DE11 ; CPU:$DE25 PRG:1E25 D0 EA sta $0300 ; CPU:$DE27 PRG:1E27 8D 00 03 lda #$05 ; CPU:$DE2A PRG:1E2A A9 05 sta Zp0F ; CPU:$DE2C PRG:1E2C 85 0F ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_7 +; Routine: Label_DE2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8963,12 +8973,12 @@ SubCDE22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_7: +Label_DE2E: tax ; CPU:$DE2E PRG:1E2E AA lda Zp91,x ; CPU:$DE2F PRG:1E2F B5 91 - bpl SubCDE44_Block_8 ; CPU:$DE31 PRG:1E31 10 69 + bpl Label_DE9C ; CPU:$DE31 PRG:1E31 10 69 lda ZpB2,x ; CPU:$DE33 PRG:1E33 B5 B2 - beq SubCDE44_Block_8 ; CPU:$DE35 PRG:1E35 F0 65 + beq Label_DE9C ; CPU:$DE35 PRG:1E35 F0 65 sta ZpD9 ; CPU:$DE37 PRG:1E37 85 D9 lda Zp9C,x ; CPU:$DE39 PRG:1E39 B5 9C clc ; CPU:$DE3B PRG:1E3B 18 @@ -8977,7 +8987,7 @@ SubCDE44_Block_7: lda #$00 ; CPU:$DE40 PRG:1E40 A9 00 sta Zp0D ; CPU:$DE42 PRG:1E42 85 0D ; ----------------------------------------------------------------------------- -; Routine: SubCDE44 +; Routine: Label_DE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8985,9 +8995,9 @@ SubCDE44_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44: +Label_DE44: jsr $DEB2 ; CPU:$DE44 PRG:1E44 20 B2 DE - bpl SubCDE44_Block ; CPU:$DE47 PRG:1E47 10 5C + bpl Label_DEA5 ; CPU:$DE47 PRG:1E47 10 5C lda #$01 ; CPU:$DE49 PRG:1E49 A9 01 sta (Zp03),y ; CPU:$DE4B PRG:1E4B 91 03 ldx #$02 ; CPU:$DE4D PRG:1E4D A2 02 @@ -8999,21 +9009,21 @@ SubCDE44: sta ZpD6 ; CPU:$DE5A PRG:1E5A 85 D6 jsr $DCF0 ; CPU:$DE5C PRG:1E5C 20 F0 DC ldy $0300 ; CPU:$DE5F PRG:1E5F AC 00 03 - sty Zp00 ; CPU:$DE62 PRG:1E62 84 00 + sty PtrLo ; CPU:$DE62 PRG:1E62 84 00 ldx #$02 ; CPU:$DE64 PRG:1E64 A2 02 jsr $DCB3 ; CPU:$DE66 PRG:1E66 20 B3 DC ldy ZpD9 ; CPU:$DE69 PRG:1E69 A4 D9 lda $062F,y ; CPU:$DE6B PRG:1E6B B9 2F 06 - bpl SubCDE44_Block_2 ; CPU:$DE6E PRG:1E6E 10 13 + bpl Label_DE83 ; CPU:$DE6E PRG:1E6E 10 13 cmp #$90 ; CPU:$DE70 PRG:1E70 C9 90 - bcs SubCDE44_Block_3 ; CPU:$DE72 PRG:1E72 B0 09 + bcs Label_DE7D ; CPU:$DE72 PRG:1E72 B0 09 cmp #$8C ; CPU:$DE74 PRG:1E74 C9 8C - beq SubCDE44_Block_4 ; CPU:$DE76 PRG:1E76 F0 03 + beq Label_DE7B ; CPU:$DE76 PRG:1E76 F0 03 lda #$CD ; CPU:$DE78 PRG:1E78 A9 CD ; ---- data $DE7A-$DE7A (1 bytes) ---- .byte $2C ; CPU:$DE7A PRG:1E7A 2C ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_4 +; Routine: Label_DE7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9021,10 +9031,10 @@ SubCDE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_4: +Label_DE7B: lda #$D3 ; CPU:$DE7B PRG:1E7B A9 D3 ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_3 +; Routine: Label_DE7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9032,11 +9042,11 @@ SubCDE44_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_3: +Label_DE7D: ldy $0300 ; CPU:$DE7D PRG:1E7D AC 00 03 sta $0300,y ; CPU:$DE80 PRG:1E80 99 00 03 ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_2 +; Routine: Label_DE83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9044,17 +9054,17 @@ SubCDE44_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_2: +Label_DE83: lda Zp0D ; CPU:$DE83 PRG:1E83 A5 0D - bne SubCDE44_Block_5 ; CPU:$DE85 PRG:1E85 D0 22 + bne Label_DEA9 ; CPU:$DE85 PRG:1E85 D0 22 ldx Zp0F ; CPU:$DE87 PRG:1E87 A6 0F lda ZpBD,x ; CPU:$DE89 PRG:1E89 B5 BD - bmi SubCDE44_Block_6 ; CPU:$DE8B PRG:1E8B 30 03 + bmi Label_DE90 ; CPU:$DE8B PRG:1E8B 30 03 lda #$08 ; CPU:$DE8D PRG:1E8D A9 08 ; ---- data $DE8F-$DE8F (1 bytes) ---- .byte $2C ; CPU:$DE8F PRG:1E8F 2C ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_6 +; Routine: Label_DE90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9062,7 +9072,7 @@ SubCDE44_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_6: +Label_DE90: lda #$F8 ; CPU:$DE90 PRG:1E90 A9 F8 sta Zp0D ; CPU:$DE92 PRG:1E92 85 0D clc ; CPU:$DE94 PRG:1E94 18 @@ -9070,7 +9080,7 @@ SubCDE44_Block_6: sta Zp0E ; CPU:$DE97 PRG:1E97 85 0E jmp $DE44 ; CPU:$DE99 PRG:1E99 4C 44 DE ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_8 +; Routine: Label_DE9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9078,14 +9088,14 @@ SubCDE44_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_8: +Label_DE9C: inc Zp0F ; CPU:$DE9C PRG:1E9C E6 0F lda Zp0F ; CPU:$DE9E PRG:1E9E A5 0F cmp #$08 ; CPU:$DEA0 PRG:1EA0 C9 08 - bcc SubCDE44_Block_7 ; CPU:$DEA2 PRG:1EA2 90 8A + bcc Label_DE2E ; CPU:$DEA2 PRG:1EA2 90 8A rts ; CPU:$DEA4 PRG:1EA4 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block +; Routine: Label_DEA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9093,11 +9103,11 @@ SubCDE44_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block: +Label_DEA5: lda Zp0D ; CPU:$DEA5 PRG:1EA5 A5 0D - beq SubCDE44_Block_8 ; CPU:$DEA7 PRG:1EA7 F0 F3 + beq Label_DE9C ; CPU:$DEA7 PRG:1EA7 F0 F3 ; ----------------------------------------------------------------------------- -; Routine: SubCDE44_Block_5 +; Routine: Label_DEA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9105,13 +9115,13 @@ SubCDE44_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDE44_Block_5: +Label_DEA9: lda #$02 ; CPU:$DEA9 PRG:1EA9 A9 02 sta ZpFC ; CPU:$DEAB PRG:1EAB 85 FC ldx Zp0F ; CPU:$DEAD PRG:1EAD A6 0F jmp $D888 ; CPU:$DEAF PRG:1EAF 4C 88 D8 ; ----------------------------------------------------------------------------- -; Routine: SubCDEB2 +; Routine: Label_DEB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9119,14 +9129,14 @@ SubCDE44_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDEB2: +Label_DEB2: ldx Zp0F ; CPU:$DEB2 PRG:1EB2 A6 0F lda ZpB2,x ; CPU:$DEB4 PRG:1EB4 B5 B2 and #$0F ; CPU:$DEB6 PRG:1EB6 29 0F ; ---- data $DEB8-$DEB8 (1 bytes) ---- .byte $2C ; CPU:$DEB8 PRG:1EB8 2C ; ----------------------------------------------------------------------------- -; Routine: SubCDEB9 +; Routine: Label_DEB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9134,32 +9144,32 @@ SubCDEB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDEB9: +Label_DEB9: lda Zp0F ; CPU:$DEB9 PRG:1EB9 A5 0F pha ; CPU:$DEBB PRG:1EBB 48 lda Zp0E ; CPU:$DEBC PRG:1EBC A5 0E cmp #$20 ; CPU:$DEBE PRG:1EBE C9 20 - bcc SubCDEB9_Block_2 ; CPU:$DEC0 PRG:1EC0 90 22 + bcc Label_DEE4 ; CPU:$DEC0 PRG:1EC0 90 22 cmp #$E0 ; CPU:$DEC2 PRG:1EC2 C9 E0 - bcs SubCDEB9_Block_2 ; CPU:$DEC4 PRG:1EC4 B0 1E + bcs Label_DEE4 ; CPU:$DEC4 PRG:1EC4 B0 1E jsr $EDBF ; CPU:$DEC6 PRG:1EC6 20 BF ED sec ; CPU:$DEC9 PRG:1EC9 38 sbc #$04 ; CPU:$DECA PRG:1ECA E9 04 - sta Zp02 ; CPU:$DECC PRG:1ECC 85 02 + sta Ptr2Lo ; CPU:$DECC PRG:1ECC 85 02 pla ; CPU:$DECE PRG:1ECE 68 tay ; CPU:$DECF PRG:1ECF A8 lda $D762,y ; CPU:$DED0 PRG:1ED0 B9 62 D7 sta Zp03 ; CPU:$DED3 PRG:1ED3 85 03 lda #$05 ; CPU:$DED5 PRG:1ED5 A9 05 sta Zp04 ; CPU:$DED7 PRG:1ED7 85 04 - ldy Zp02 ; CPU:$DED9 PRG:1ED9 A4 02 + ldy Ptr2Lo ; CPU:$DED9 PRG:1ED9 A4 02 lda (Zp03),y ; CPU:$DEDB PRG:1EDB B1 03 - sta Zp02 ; CPU:$DEDD PRG:1EDD 85 02 + sta Ptr2Lo ; CPU:$DEDD PRG:1EDD 85 02 dec Zp04 ; CPU:$DEDF PRG:1EDF C6 04 lda (Zp03),y ; CPU:$DEE1 PRG:1EE1 B1 03 rts ; CPU:$DEE3 PRG:1EE3 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDEB9_Block_2 +; Routine: Label_DEE4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9167,13 +9177,13 @@ SubCDEB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDEB9_Block_2: +Label_DEE4: pla ; CPU:$DEE4 PRG:1EE4 68 lda #$01 ; CPU:$DEE5 PRG:1EE5 A9 01 - sta Zp02 ; CPU:$DEE7 PRG:1EE7 85 02 + sta Ptr2Lo ; CPU:$DEE7 PRG:1EE7 85 02 rts ; CPU:$DEE9 PRG:1EE9 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDEEA +; Routine: Label_DEEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9181,10 +9191,10 @@ SubCDEB9_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDEEA: +Label_DEEA: ldy #$06 ; CPU:$DEEA PRG:1EEA A0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCDEEA_Block +; Routine: Label_DEEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9192,10 +9202,10 @@ SubCDEEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDEEA_Block: +Label_DEEC: dey ; CPU:$DEEC PRG:1EEC 88 cmp $D77F,y ; CPU:$DEED PRG:1EED D9 7F D7 - bne SubCDEEA_Block ; CPU:$DEF0 PRG:1EF0 D0 FA + bne Label_DEEC ; CPU:$DEF0 PRG:1EF0 D0 FA lda $D79D,y ; CPU:$DEF2 PRG:1EF2 B9 9D D7 rts ; CPU:$DEF5 PRG:1EF5 60 ; ---- data $DEF6-$DFA4 (175 bytes) ---- @@ -9206,6 +9216,7 @@ SubCDEEA_Block: ; referenced by `lda $DF1B,y` at $E01D (operand $DF1B falls inside this region) ; referenced by `lda $DEF6,y` at $E031 (operand $DEF6 falls inside this region) ; ... and 3 further references from decoded code + LevelDataPtrs: ; Level data pointers .byte $50, $80, $B0, $E0, $00, $00, $00, $02, $04, $07, $08, $0C, $0E, $12, $12, $15 ; CPU:$DEF6 PRG:1EF6 50 80 B0 E0 00 00 00 02 04 07 08 0C 0E 12 12 15 .byte $17, $17, $18, $23, $23, $26, $2D, $30, $39, $44, $4E, $53, $5A, $60, $6A, $6E ; CPU:$DF06 PRG:1F06 17 17 18 23 23 26 2D 30 39 44 4E 53 5A 60 6A 6E .byte $6F, $73, $78, $81, $89, $89, $85, $B2, $91, $AB, $27, $67, $6C, $93, $27, $65 ; CPU:$DF16 PRG:1F16 6F 73 78 81 89 89 85 B2 91 AB 27 67 6C 93 27 65 @@ -9218,7 +9229,7 @@ SubCDEEA_Block: .byte $8B, $C9, $D4, $CF, $CB, $88, $90, $A4, $D4, $C7, $D0, $E2, $E9, $F1, $2B, $50 ; CPU:$DF86 PRG:1F86 8B C9 D4 CF CB 88 90 A4 D4 C7 D0 E2 E9 F1 2B 50 .byte $67, $70, $82, $8B, $C2, $C9, $D1, $48, $51, $87, $95, $B0, $E4, $ED, $F5 ; CPU:$DF96 PRG:1F96 67 70 82 8B C2 C9 D1 48 51 87 95 B0 E4 ED F5 ; ----------------------------------------------------------------------------- -; Routine: SubCDFA5 +; Routine: Label_DFA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9226,13 +9237,13 @@ SubCDEEA_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFA5: +Label_DFA5: lda Zp59 ; CPU:$DFA5 PRG:1FA5 A5 59 and #$1F ; CPU:$DFA7 PRG:1FA7 29 1F tay ; CPU:$DFA9 PRG:1FA9 A8 rts ; CPU:$DFAA PRG:1FAA 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDFAB +; Routine: Label_DFAB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9240,12 +9251,12 @@ SubCDFA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFAB: +Label_DFAB: jsr $DFEA ; CPU:$DFAB PRG:1FAB 20 EA DF - beq SubCDFAB_Block ; CPU:$DFAE PRG:1FAE F0 39 + beq Label_DFE9 ; CPU:$DFAE PRG:1FAE F0 39 tax ; CPU:$DFB0 PRG:1FB0 AA ; ----------------------------------------------------------------------------- -; Routine: SubCDFAB_Block_4 +; Routine: Label_DFB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9253,7 +9264,7 @@ SubCDFAB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFAB_Block_4: +Label_DFB1: lda #$04 ; CPU:$DFB1 PRG:1FB1 A9 04 sta Zp04 ; CPU:$DFB3 PRG:1FB3 85 04 sta Zp06 ; CPU:$DFB5 PRG:1FB5 85 06 @@ -9270,7 +9281,7 @@ SubCDFAB_Block_4: sta Zp05 ; CPU:$DFCB PRG:1FCB 85 05 ldy #$02 ; CPU:$DFCD PRG:1FCD A0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCDFAB_Block_3 +; Routine: Label_DFCF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9278,18 +9289,18 @@ SubCDFAB_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFAB_Block_3: +Label_DFCF: lda #$03 ; CPU:$DFCF PRG:1FCF A9 03 sta (Zp03),y ; CPU:$DFD1 PRG:1FD1 91 03 cpy #$01 ; CPU:$DFD3 PRG:1FD3 C0 01 - bne SubCDFAB_Block_2 ; CPU:$DFD5 PRG:1FD5 D0 0A + bne Label_DFE1 ; CPU:$DFD5 PRG:1FD5 D0 0A lda #$04 ; CPU:$DFD7 PRG:1FD7 A9 04 sta (Zp05),y ; CPU:$DFD9 PRG:1FD9 91 05 inc Zp06 ; CPU:$DFDB PRG:1FDB E6 06 sta (Zp05),y ; CPU:$DFDD PRG:1FDD 91 05 dec Zp06 ; CPU:$DFDF PRG:1FDF C6 06 ; ----------------------------------------------------------------------------- -; Routine: SubCDFAB_Block_2 +; Routine: Label_DFE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9297,14 +9308,14 @@ SubCDFAB_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFAB_Block_2: +Label_DFE1: dey ; CPU:$DFE1 PRG:1FE1 88 - bpl SubCDFAB_Block_3 ; CPU:$DFE2 PRG:1FE2 10 EB + bpl Label_DFCF ; CPU:$DFE2 PRG:1FE2 10 EB dex ; CPU:$DFE4 PRG:1FE4 CA cpx Zp0A ; CPU:$DFE5 PRG:1FE5 E4 0A - bne SubCDFAB_Block_4 ; CPU:$DFE7 PRG:1FE7 D0 C8 + bne Label_DFB1 ; CPU:$DFE7 PRG:1FE7 D0 C8 ; ----------------------------------------------------------------------------- -; Routine: SubCDFAB_Block +; Routine: Label_DFE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9312,10 +9323,10 @@ SubCDFAB_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFAB_Block: +Label_DFE9: rts ; CPU:$DFE9 PRG:1FE9 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDFEA +; Routine: Label_DFEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9323,7 +9334,7 @@ SubCDFAB_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFEA: +Label_DFEA: jsr $DFA5 ; CPU:$DFEA PRG:1FEA 20 A5 DF lda $DEFA,y ; CPU:$DFED PRG:1FED B9 FA DE sta Zp0A ; CPU:$DFF0 PRG:1FF0 85 0A @@ -9331,7 +9342,7 @@ SubCDFEA: cmp Zp0A ; CPU:$DFF5 PRG:1FF5 C5 0A rts ; CPU:$DFF7 PRG:1FF7 60 ; ----------------------------------------------------------------------------- -; Routine: SubCDFF8 +; Routine: Label_DFF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9339,7 +9350,7 @@ SubCDFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCDFF8: +Label_DFF8: lda $DF1B,x ; CPU:$DFF8 PRG:1FF8 BD 1B DF lsr a ; CPU:$DFFB PRG:1FFB 4A lsr a ; CPU:$DFFC PRG:1FFC 4A @@ -9349,7 +9360,7 @@ SubCDFF8: tay ; CPU:$E000 PRG:2000 A8 rts ; CPU:$E001 PRG:2001 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE002 +; Routine: Label_E002 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9357,10 +9368,10 @@ SubCDFF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE002: +Label_E002: ldx #$0B ; CPU:$E002 PRG:2002 A2 0B ; ----------------------------------------------------------------------------- -; Routine: SubCE002_Block +; Routine: Label_E004 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9368,19 +9379,19 @@ SubCE002: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE002_Block: +Label_E004: lda #$00 ; CPU:$E004 PRG:2004 A9 00 sta $0600,x ; CPU:$E006 PRG:2006 9D 00 06 sta $0610,x ; CPU:$E009 PRG:2009 9D 10 06 sta $0620,x ; CPU:$E00C PRG:200C 9D 20 06 dex ; CPU:$E00F PRG:200F CA - bpl SubCE002_Block ; CPU:$E010 PRG:2010 10 F2 + bpl Label_E004 ; CPU:$E010 PRG:2010 10 F2 jsr $DFEA ; CPU:$E012 PRG:2012 20 EA DF - beq SubCE05E_Block ; CPU:$E015 PRG:2015 F0 46 + beq Label_E05D ; CPU:$E015 PRG:2015 F0 46 sta Zp0B ; CPU:$E017 PRG:2017 85 0B ldx #$00 ; CPU:$E019 PRG:2019 A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE002_Block_4 +; Routine: Label_E01B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9388,7 +9399,7 @@ SubCE002_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE002_Block_4: +Label_E01B: ldy Zp0B ; CPU:$E01B PRG:201B A4 0B lda $DF1B,y ; CPU:$E01D PRG:201D B9 1B DF lsr a ; CPU:$E020 PRG:2020 4A @@ -9396,12 +9407,12 @@ SubCE002_Block_4: lsr a ; CPU:$E022 PRG:2022 4A lsr a ; CPU:$E023 PRG:2023 4A lsr a ; CPU:$E024 PRG:2024 4A - sta Zp00 ; CPU:$E025 PRG:2025 85 00 + sta PtrLo ; CPU:$E025 PRG:2025 85 00 lda Zp90 ; CPU:$E027 PRG:2027 A5 90 sec ; CPU:$E029 PRG:2029 38 - sbc Zp00 ; CPU:$E02A PRG:202A E5 00 + sbc PtrLo ; CPU:$E02A PRG:202A E5 00 cmp #$04 ; CPU:$E02C PRG:202C C9 04 - bcs SubCE002_Block_3 ; CPU:$E02E PRG:202E B0 24 + bcs Label_E054 ; CPU:$E02E PRG:202E B0 24 tay ; CPU:$E030 PRG:2030 A8 lda $DEF6,y ; CPU:$E031 PRG:2031 B9 F6 DE sta $0610,x ; CPU:$E034 PRG:2034 9D 10 06 @@ -9422,7 +9433,7 @@ SubCE002_Block_4: asl a ; CPU:$E050 PRG:2050 0A sta $0620,x ; CPU:$E051 PRG:2051 9D 20 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE002_Block_3 +; Routine: Label_E054 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9430,14 +9441,14 @@ SubCE002_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE002_Block_3: +Label_E054: inx ; CPU:$E054 PRG:2054 E8 dec Zp0B ; CPU:$E055 PRG:2055 C6 0B lda Zp0B ; CPU:$E057 PRG:2057 A5 0B cmp Zp0A ; CPU:$E059 PRG:2059 C5 0A - bne SubCE002_Block_4 ; CPU:$E05B PRG:205B D0 BE + bne Label_E01B ; CPU:$E05B PRG:205B D0 BE ; ----------------------------------------------------------------------------- -; Routine: SubCE05E_Block +; Routine: Label_E05D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9445,10 +9456,10 @@ SubCE002_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE05E_Block: +Label_E05D: rts ; CPU:$E05D PRG:205D 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE05E +; Routine: Label_E05E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9456,14 +9467,14 @@ SubCE05E_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE05E: +Label_E05E: jsr $DFEA ; CPU:$E05E PRG:205E 20 EA DF - beq SubCE05E_Block ; CPU:$E061 PRG:2061 F0 FA - sta Zp01 ; CPU:$E063 PRG:2063 85 01 + beq Label_E05D ; CPU:$E061 PRG:2061 F0 FA + sta PtrHi ; CPU:$E063 PRG:2063 85 01 lda #$00 ; CPU:$E065 PRG:2065 A9 00 - sta Zp00 ; CPU:$E067 PRG:2067 85 00 + sta PtrLo ; CPU:$E067 PRG:2067 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE05E_Block_3 +; Routine: Label_E069 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9471,26 +9482,26 @@ SubCE05E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE05E_Block_3: - ldx Zp01 ; CPU:$E069 PRG:2069 A6 01 +Label_E069: + ldx PtrHi ; CPU:$E069 PRG:2069 A6 01 jsr $DFF8 ; CPU:$E06B PRG:206B 20 F8 DF lda $D794,y ; CPU:$E06E PRG:206E B9 94 D7 - sta Zp02 ; CPU:$E071 PRG:2071 85 02 + sta Ptr2Lo ; CPU:$E071 PRG:2071 85 02 lda $D78B,y ; CPU:$E073 PRG:2073 B9 8B D7 jsr $E0A7 ; CPU:$E076 PRG:2076 20 A7 E0 jsr $E097 ; CPU:$E079 PRG:2079 20 97 E0 - lda Zp00 ; CPU:$E07C PRG:207C A5 00 + lda PtrLo ; CPU:$E07C PRG:207C A5 00 clc ; CPU:$E07E PRG:207E 18 adc #$04 ; CPU:$E07F PRG:207F 69 04 - sta Zp00 ; CPU:$E081 PRG:2081 85 00 + sta PtrLo ; CPU:$E081 PRG:2081 85 00 cmp #$38 ; CPU:$E083 PRG:2083 C9 38 - bcs SubCE05E_Block_2 ; CPU:$E085 PRG:2085 B0 08 - dec Zp01 ; CPU:$E087 PRG:2087 C6 01 - lda Zp01 ; CPU:$E089 PRG:2089 A5 01 + bcs Label_E08F ; CPU:$E085 PRG:2085 B0 08 + dec PtrHi ; CPU:$E087 PRG:2087 C6 01 + lda PtrHi ; CPU:$E089 PRG:2089 A5 01 cmp Zp0A ; CPU:$E08B PRG:208B C5 0A - bne SubCE05E_Block_3 ; CPU:$E08D PRG:208D D0 DA + bne Label_E069 ; CPU:$E08D PRG:208D D0 DA ; ----------------------------------------------------------------------------- -; Routine: SubCE05E_Block_2 +; Routine: Label_E08F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9498,12 +9509,12 @@ SubCE05E_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE05E_Block_2: - ldy Zp00 ; CPU:$E08F PRG:208F A4 00 +Label_E08F: + ldy PtrLo ; CPU:$E08F PRG:208F A4 00 sty $0300 ; CPU:$E091 PRG:2091 8C 00 03 jmp $C14E ; CPU:$E094 PRG:2094 4C 4E C1 ; ----------------------------------------------------------------------------- -; Routine: SubCE097 +; Routine: Label_E097 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9511,7 +9522,7 @@ SubCE05E_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE097: +Label_E097: lda #$C5 ; CPU:$E097 PRG:2097 A9 C5 sta $0303,y ; CPU:$E099 PRG:2099 99 03 03 lda #$EB ; CPU:$E09C PRG:209C A9 EB @@ -9520,7 +9531,7 @@ SubCE097: sta $0305,y ; CPU:$E0A3 PRG:20A3 99 05 03 rts ; CPU:$E0A6 PRG:20A6 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE0A7 +; Routine: Label_E0A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9528,18 +9539,18 @@ SubCE097: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0A7: +Label_E0A7: jsr $DCEA ; CPU:$E0A7 PRG:20A7 20 EA DC lda $DF1B,x ; CPU:$E0AA PRG:20AA BD 1B DF and #$1F ; CPU:$E0AD PRG:20AD 29 1F clc ; CPU:$E0AF PRG:20AF 18 adc #$04 ; CPU:$E0B0 PRG:20B0 69 04 clc ; CPU:$E0B2 PRG:20B2 18 - adc Zp02 ; CPU:$E0B3 PRG:20B3 65 02 + adc Ptr2Lo ; CPU:$E0B3 PRG:20B3 65 02 sta $0302,y ; CPU:$E0B5 PRG:20B5 99 02 03 rts ; CPU:$E0B8 PRG:20B8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE0B9 +; Routine: Label_E0B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9547,12 +9558,12 @@ SubCE0A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0B9: +Label_E0B9: ldx #$00 ; CPU:$E0B9 PRG:20B9 A2 00 jsr $E0C0 ; CPU:$E0BB PRG:20BB 20 C0 E0 ldx #$01 ; CPU:$E0BE PRG:20BE A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0 +; Routine: Label_E0C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9560,16 +9571,16 @@ SubCE0B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0: +Label_E0C0: lda Zp3A,x ; CPU:$E0C0 PRG:20C0 B5 3A - bne SubCE0C0_Block ; CPU:$E0C2 PRG:20C2 D0 57 - lda Zp5A,x ; CPU:$E0C4 PRG:20C4 B5 5A - beq SubCE0C0_Block_4 ; CPU:$E0C6 PRG:20C6 F0 52 + bne Label_E11B ; CPU:$E0C2 PRG:20C2 D0 57 + lda SprData,x ; CPU:$E0C4 PRG:20C4 B5 5A + beq Label_E11A ; CPU:$E0C6 PRG:20C6 F0 52 lda Zp6A,x ; CPU:$E0C8 PRG:20C8 B5 6A cmp #$07 ; CPU:$E0CA PRG:20CA C9 07 - beq SubCE0C0_Block_4 ; CPU:$E0CC PRG:20CC F0 4C + beq Label_E11A ; CPU:$E0CC PRG:20CC F0 4C lda Zp2D,x ; CPU:$E0CE PRG:20CE B5 2D - bne SubCE0C0_Block_4 ; CPU:$E0D0 PRG:20D0 D0 48 + bne Label_E11A ; CPU:$E0D0 PRG:20D0 D0 48 lda Zp64,x ; CPU:$E0D2 PRG:20D2 B5 64 clc ; CPU:$E0D4 PRG:20D4 18 adc #$08 ; CPU:$E0D5 PRG:20D5 69 08 @@ -9580,7 +9591,7 @@ SubCE0C0: sta Zp0B ; CPU:$E0DE PRG:20DE 85 0B ldy #$00 ; CPU:$E0E0 PRG:20E0 A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_11 +; Routine: Label_E0E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9588,17 +9599,17 @@ SubCE0C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_11: +Label_E0E2: lda $0600,y ; CPU:$E0E2 PRG:20E2 B9 00 06 - beq SubCE0C0_Block_9 ; CPU:$E0E5 PRG:20E5 F0 2E + beq Label_E115 ; CPU:$E0E5 PRG:20E5 F0 2E clc ; CPU:$E0E7 PRG:20E7 18 adc #$04 ; CPU:$E0E8 PRG:20E8 69 04 sec ; CPU:$E0EA PRG:20EA 38 sbc Zp0A ; CPU:$E0EB PRG:20EB E5 0A - sta Zp00 ; CPU:$E0ED PRG:20ED 85 00 + sta PtrLo ; CPU:$E0ED PRG:20ED 85 00 jsr $D2F9 ; CPU:$E0EF PRG:20EF 20 F9 D2 cmp #$0C ; CPU:$E0F2 PRG:20F2 C9 0C - bcs SubCE0C0_Block_9 ; CPU:$E0F4 PRG:20F4 B0 1F + bcs Label_E115 ; CPU:$E0F4 PRG:20F4 B0 1F lda $0610,y ; CPU:$E0F6 PRG:20F6 B9 10 06 sec ; CPU:$E0F9 PRG:20F9 38 sbc #$1C ; CPU:$E0FA PRG:20FA E9 1C @@ -9608,13 +9619,13 @@ SubCE0C0_Block_11: pha ; CPU:$E102 PRG:2102 48 lda ZpE6,x ; CPU:$E103 PRG:2103 B5 E6 cmp #$02 ; CPU:$E105 PRG:2105 C9 02 - bcs SubCE0C0_Block_7 ; CPU:$E107 PRG:2107 B0 07 + bcs Label_E110 ; CPU:$E107 PRG:2107 B0 07 pla ; CPU:$E109 PRG:2109 68 cmp #$1C ; CPU:$E10A PRG:210A C9 1C - bcc SubCE0C0_Block_10 ; CPU:$E10C PRG:210C 90 21 - bcs SubCE0C0_Block_9 ; CPU:$E10E PRG:210E B0 05 + bcc Label_E12F ; CPU:$E10C PRG:210C 90 21 + bcs Label_E115 ; CPU:$E10E PRG:210E B0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_7 +; Routine: Label_E110 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9622,12 +9633,12 @@ SubCE0C0_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_7: +Label_E110: pla ; CPU:$E110 PRG:2110 68 cmp #$24 ; CPU:$E111 PRG:2111 C9 24 - bcc SubCE0C0_Block_10 ; CPU:$E113 PRG:2113 90 1A + bcc Label_E12F ; CPU:$E113 PRG:2113 90 1A ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_9 +; Routine: Label_E115 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9635,12 +9646,12 @@ SubCE0C0_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_9: +Label_E115: iny ; CPU:$E115 PRG:2115 C8 cpy #$0B ; CPU:$E116 PRG:2116 C0 0B - bcc SubCE0C0_Block_11 ; CPU:$E118 PRG:2118 90 C8 + bcc Label_E0E2 ; CPU:$E118 PRG:2118 90 C8 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_4 +; Routine: Label_E11A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9648,10 +9659,10 @@ SubCE0C0_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_4: +Label_E11A: rts ; CPU:$E11A PRG:211A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block +; Routine: Label_E11B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9659,19 +9670,19 @@ SubCE0C0_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block: +Label_E11B: lda Zp50 ; CPU:$E11B PRG:211B A5 50 and #$01 ; CPU:$E11D PRG:211D 29 01 - beq SubCE0C0_Block_13 ; CPU:$E11F PRG:211F F0 0D + beq Label_E12E ; CPU:$E11F PRG:211F F0 0D lda Zp68,x ; CPU:$E121 PRG:2121 B5 68 - beq SubCE0C0_Block_13 ; CPU:$E123 PRG:2123 F0 09 + beq Label_E12E ; CPU:$E123 PRG:2123 F0 09 cmp #$02 ; CPU:$E125 PRG:2125 C9 02 - beq SubCE0C0_Block_14 ; CPU:$E127 PRG:2127 F0 03 + beq Label_E12C ; CPU:$E127 PRG:2127 F0 03 inc Zp64,x ; CPU:$E129 PRG:2129 F6 64 ; ---- data $E12B-$E12B (1 bytes) ---- .byte $2C ; CPU:$E12B PRG:212B 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_14 +; Routine: Label_E12C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9679,10 +9690,10 @@ SubCE0C0_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_14: +Label_E12C: dec Zp64,x ; CPU:$E12C PRG:212C D6 64 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_13 +; Routine: Label_E12E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9690,10 +9701,10 @@ SubCE0C0_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_13: +Label_E12E: rts ; CPU:$E12E PRG:212E 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_10 +; Routine: Label_E12F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9701,17 +9712,17 @@ SubCE0C0_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_10: +Label_E12F: pha ; CPU:$E12F PRG:212F 48 lda ZpE6,x ; CPU:$E130 PRG:2130 B5 E6 cmp #$02 ; CPU:$E132 PRG:2132 C9 02 - bcs SubCE0C0_Block_15 ; CPU:$E134 PRG:2134 B0 07 + bcs Label_E13D ; CPU:$E134 PRG:2134 B0 07 pla ; CPU:$E136 PRG:2136 68 cmp #$18 ; CPU:$E137 PRG:2137 C9 18 - bcc SubCE0C0_Block_19 ; CPU:$E139 PRG:2139 90 1D - bcs SubCE0C0_Block_17 ; CPU:$E13B PRG:213B B0 05 + bcc Label_E158 ; CPU:$E139 PRG:2139 90 1D + bcs Label_E142 ; CPU:$E13B PRG:213B B0 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_15 +; Routine: Label_E13D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9719,12 +9730,12 @@ SubCE0C0_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_15: +Label_E13D: pla ; CPU:$E13D PRG:213D 68 cmp #$23 ; CPU:$E13E PRG:213E C9 23 - bcc SubCE0C0_Block_19 ; CPU:$E140 PRG:2140 90 16 + bcc Label_E158 ; CPU:$E140 PRG:2140 90 16 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_17 +; Routine: Label_E142 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9732,17 +9743,17 @@ SubCE0C0_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_17: +Label_E142: lda Zp68,x ; CPU:$E142 PRG:2142 B5 68 - beq SubCE0C0_Block_19 ; CPU:$E144 PRG:2144 F0 12 - lda Zp00 ; CPU:$E146 PRG:2146 A5 00 + beq Label_E158 ; CPU:$E144 PRG:2144 F0 12 + lda PtrLo ; CPU:$E146 PRG:2146 A5 00 cmp #$03 ; CPU:$E148 PRG:2148 C9 03 - bcc SubCE0C0_Block_21 ; CPU:$E14A PRG:214A 90 07 + bcc Label_E153 ; CPU:$E14A PRG:214A 90 07 cmp #$FD ; CPU:$E14C PRG:214C C9 FD - bcs SubCE0C0_Block_21 ; CPU:$E14E PRG:214E B0 03 + bcs Label_E153 ; CPU:$E14E PRG:214E B0 03 jsr $E176 ; CPU:$E150 PRG:2150 20 76 E1 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_21 +; Routine: Label_E153 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9750,12 +9761,12 @@ SubCE0C0_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_21: +Label_E153: lda #$08 ; CPU:$E153 PRG:2153 A9 08 sta Zp3A,x ; CPU:$E155 PRG:2155 95 3A rts ; CPU:$E157 PRG:2157 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_19 +; Routine: Label_E158 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9763,15 +9774,15 @@ SubCE0C0_Block_21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_19: - lda Zp00 ; CPU:$E158 PRG:2158 A5 00 - bmi SubCE0C0_Block_22 ; CPU:$E15A PRG:215A 30 09 +Label_E158: + lda PtrLo ; CPU:$E158 PRG:2158 A5 00 + bmi Label_E165 ; CPU:$E15A PRG:215A 30 09 lda $0600,y ; CPU:$E15C PRG:215C B9 00 06 sec ; CPU:$E15F PRG:215F 38 sbc #$10 ; CPU:$E160 PRG:2160 E9 10 jmp $E16B ; CPU:$E162 PRG:2162 4C 6B E1 ; ----------------------------------------------------------------------------- -; Routine: SubCE0C0_Block_22 +; Routine: Label_E165 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9779,12 +9790,12 @@ SubCE0C0_Block_19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE0C0_Block_22: +Label_E165: lda $0600,y ; CPU:$E165 PRG:2165 B9 00 06 clc ; CPU:$E168 PRG:2168 18 adc #$07 ; CPU:$E169 PRG:2169 69 07 ; ----------------------------------------------------------------------------- -; Routine: SubCE16B +; Routine: Label_E16B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9792,14 +9803,14 @@ SubCE0C0_Block_22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE16B: +Label_E16B: sta Zp64,x ; CPU:$E16B PRG:216B 95 64 lda Zp6A,x ; CPU:$E16D PRG:216D B5 6A and #$01 ; CPU:$E16F PRG:216F 29 01 - bne SubCE16B_Block ; CPU:$E171 PRG:2171 D0 11 + bne Label_E184 ; CPU:$E171 PRG:2171 D0 11 jmp $E176 ; CPU:$E173 PRG:2173 4C 76 E1 ; ----------------------------------------------------------------------------- -; Routine: SubCE176 +; Routine: Label_E176 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9807,14 +9818,14 @@ SubCE16B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE176: - lda Zp00 ; CPU:$E176 PRG:2176 A5 00 +Label_E176: + lda PtrLo ; CPU:$E176 PRG:2176 A5 00 asl a ; CPU:$E178 PRG:2178 0A lda #$01 ; CPU:$E179 PRG:2179 A9 01 - bcs SubCE176_Block ; CPU:$E17B PRG:217B B0 01 + bcs Label_E17E ; CPU:$E17B PRG:217B B0 01 asl a ; CPU:$E17D PRG:217D 0A ; ----------------------------------------------------------------------------- -; Routine: SubCE176_Block +; Routine: Label_E17E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9822,12 +9833,12 @@ SubCE176: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE176_Block: +Label_E17E: sta Zp68,x ; CPU:$E17E PRG:217E 95 68 and #$01 ; CPU:$E180 PRG:2180 29 01 sta Zp62,x ; CPU:$E182 PRG:2182 95 62 ; ----------------------------------------------------------------------------- -; Routine: SubCE16B_Block +; Routine: Label_E184 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9835,13 +9846,13 @@ SubCE176_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE16B_Block: +Label_E184: rts ; CPU:$E184 PRG:2184 60 ; ---- data $E185-$E188 (4 bytes) ---- ; referenced by `lda $E185,x` at $E1D9 (operand $E185 falls inside this region) .byte $28, $58, $88, $B8 ; CPU:$E185 PRG:2185 28 58 88 B8 ; ----------------------------------------------------------------------------- -; Routine: SubCE189 +; Routine: Label_E189 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9849,16 +9860,16 @@ SubCE16B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189: +Label_E189: ldx Zp90 ; CPU:$E189 PRG:2189 A6 90 cpx #$09 ; CPU:$E18B PRG:218B E0 09 - beq SubCE189_Block_5 ; CPU:$E18D PRG:218D F0 51 + beq Label_E1E0 ; CPU:$E18D PRG:218D F0 51 ldx Zp7C ; CPU:$E18F PRG:218F A6 7C dex ; CPU:$E191 PRG:2191 CA - bne SubCE189_Block_2 ; CPU:$E192 PRG:2192 D0 4D + bne Label_E1E1 ; CPU:$E192 PRG:2192 D0 4D ldx #$02 ; CPU:$E194 PRG:2194 A2 02 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_4 +; Routine: Label_E196 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9866,13 +9877,13 @@ SubCE189: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_4: +Label_E196: lda Zp99,x ; CPU:$E196 PRG:2196 B5 99 - bne SubCE189_Block_5 ; CPU:$E198 PRG:2198 D0 46 + bne Label_E1E0 ; CPU:$E198 PRG:2198 D0 46 dex ; CPU:$E19A PRG:219A CA - bpl SubCE189_Block_4 ; CPU:$E19B PRG:219B 10 F9 + bpl Label_E196 ; CPU:$E19B PRG:219B 10 F9 ldy Zp92 ; CPU:$E19D PRG:219D A4 92 - bne SubCE189_Block_5 ; CPU:$E19F PRG:219F D0 3F + bne Label_E1E0 ; CPU:$E19F PRG:219F D0 3F txa ; CPU:$E1A1 PRG:21A1 8A jsr $E23E ; CPU:$E1A2 PRG:21A2 20 3E E2 sta Zp92 ; CPU:$E1A5 PRG:21A5 85 92 @@ -9891,7 +9902,7 @@ SubCE189_Block_4: ldx Zp90 ; CPU:$E1C3 PRG:21C3 A6 90 inx ; CPU:$E1C5 PRG:21C5 E8 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_7 +; Routine: Label_E1C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9899,12 +9910,12 @@ SubCE189_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_7: +Label_E1C6: dex ; CPU:$E1C6 PRG:21C6 CA cpx $0786 ; CPU:$E1C7 PRG:21C7 EC 86 07 - beq SubCE189_Block_7 ; CPU:$E1CA PRG:21CA F0 FA + beq Label_E1C6 ; CPU:$E1CA PRG:21CA F0 FA cpx $0787 ; CPU:$E1CC PRG:21CC EC 87 07 - beq SubCE189_Block_7 ; CPU:$E1CF PRG:21CF F0 F5 + beq Label_E1C6 ; CPU:$E1CF PRG:21CF F0 F5 stx ZpB3 ; CPU:$E1D1 PRG:21D1 86 B3 lda Zp90 ; CPU:$E1D3 PRG:21D3 A5 90 sec ; CPU:$E1D5 PRG:21D5 38 @@ -9914,7 +9925,7 @@ SubCE189_Block_7: sta ZpA8 ; CPU:$E1DC PRG:21DC 85 A8 inc Zp7C ; CPU:$E1DE PRG:21DE E6 7C ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_5 +; Routine: Label_E1E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9922,10 +9933,10 @@ SubCE189_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_5: +Label_E1E0: rts ; CPU:$E1E0 PRG:21E0 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_2 +; Routine: Label_E1E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9933,11 +9944,11 @@ SubCE189_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_2: +Label_E1E1: dex ; CPU:$E1E1 PRG:21E1 CA - bne SubCE189_Block_8 ; CPU:$E1E2 PRG:21E2 D0 0A + bne Label_E1EE ; CPU:$E1E2 PRG:21E2 D0 0A ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_12 +; Routine: Label_E1E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9945,14 +9956,14 @@ SubCE189_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_12: +Label_E1E4: lda $0376 ; CPU:$E1E4 PRG:21E4 AD 76 03 - bne SubCE215 ; CPU:$E1E7 PRG:21E7 D0 2C + bne Label_E215 ; CPU:$E1E7 PRG:21E7 D0 2C dec ZpDF ; CPU:$E1E9 PRG:21E9 C6 DF - beq SubCE189_Block_9 ; CPU:$E1EB PRG:21EB F0 15 + beq Label_E202 ; CPU:$E1EB PRG:21EB F0 15 rts ; CPU:$E1ED PRG:21ED 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_8 +; Routine: Label_E1EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9960,19 +9971,19 @@ SubCE189_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_8: +Label_E1EE: dex ; CPU:$E1EE PRG:21EE CA - bne SubCE189_Block_10 ; CPU:$E1EF PRG:21EF D0 29 + bne Label_E21A ; CPU:$E1EF PRG:21EF D0 29 lda $0376 ; CPU:$E1F1 PRG:21F1 AD 76 03 - bne SubCE215 ; CPU:$E1F4 PRG:21F4 D0 1F + bne Label_E215 ; CPU:$E1F4 PRG:21F4 D0 1F lda ZpA8 ; CPU:$E1F6 PRG:21F6 A5 A8 cmp #$17 ; CPU:$E1F8 PRG:21F8 C9 17 - bne SubCE189_Block_12 ; CPU:$E1FA PRG:21FA D0 E8 + bne Label_E1E4 ; CPU:$E1FA PRG:21FA D0 E8 lda Zp9D ; CPU:$E1FC PRG:21FC A5 9D cmp #$78 ; CPU:$E1FE PRG:21FE C9 78 - bne SubCE189_Block_12 ; CPU:$E200 PRG:2200 D0 E2 + bne Label_E1E4 ; CPU:$E200 PRG:2200 D0 E2 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_9 +; Routine: Label_E202 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9980,18 +9991,18 @@ SubCE189_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_9: +Label_E202: lda #$04 ; CPU:$E202 PRG:2202 A9 04 sta Zp7C ; CPU:$E204 PRG:2204 85 7C lda #$0C ; CPU:$E206 PRG:2206 A9 0C sta ZpDF ; CPU:$E208 PRG:2208 85 DF lda Zp92 ; CPU:$E20A PRG:220A A5 92 cmp #$FF ; CPU:$E20C PRG:220C C9 FF - bne SubCE215_Block_3 ; CPU:$E20E PRG:220E D0 04 + bne Label_E214 ; CPU:$E20E PRG:220E D0 04 lda #$04 ; CPU:$E210 PRG:2210 A9 04 sta Zp92 ; CPU:$E212 PRG:2212 85 92 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block_3 +; Routine: Label_E214 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9999,10 +10010,10 @@ SubCE189_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block_3: +Label_E214: rts ; CPU:$E214 PRG:2214 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE215 +; Routine: Label_E215 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10010,12 +10021,12 @@ SubCE215_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215: +Label_E215: lda #$00 ; CPU:$E215 PRG:2215 A9 00 sta Zp7C ; CPU:$E217 PRG:2217 85 7C rts ; CPU:$E219 PRG:2219 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE189_Block_10 +; Routine: Label_E21A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10023,15 +10034,15 @@ SubCE215: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE189_Block_10: +Label_E21A: dex ; CPU:$E21A PRG:221A CA - bne SubCE215_Block ; CPU:$E21B PRG:221B D0 18 + bne Label_E235 ; CPU:$E21B PRG:221B D0 18 dec ZpDF ; CPU:$E21D PRG:221D C6 DF - bpl SubCE215_Block_2 ; CPU:$E21F PRG:221F 10 04 + bpl Label_E225 ; CPU:$E21F PRG:221F 10 04 lda #$03 ; CPU:$E221 PRG:2221 A9 03 - bne SubCE23E ; CPU:$E223 PRG:2223 D0 19 + bne Label_E23E ; CPU:$E223 PRG:2223 D0 19 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block_2 +; Routine: Label_E225 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10039,17 +10050,17 @@ SubCE189_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block_2: - beq SubCE215_Block_3 ; CPU:$E225 PRG:2225 F0 ED +Label_E225: + beq Label_E214 ; CPU:$E225 PRG:2225 F0 ED lda Zp92 ; CPU:$E227 PRG:2227 A5 92 cmp #$04 ; CPU:$E229 PRG:2229 C9 04 - bne SubCE215_Block_4 ; CPU:$E22B PRG:222B D0 07 + bne Label_E234 ; CPU:$E22B PRG:222B D0 07 lda ZpA8 ; CPU:$E22D PRG:222D A5 A8 sec ; CPU:$E22F PRG:222F 38 sbc #$01 ; CPU:$E230 PRG:2230 E9 01 sta ZpA8 ; CPU:$E232 PRG:2232 85 A8 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block_4 +; Routine: Label_E234 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10057,10 +10068,10 @@ SubCE215_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block_4: +Label_E234: rts ; CPU:$E234 PRG:2234 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block +; Routine: Label_E235 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10068,14 +10079,14 @@ SubCE215_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block: +Label_E235: dex ; CPU:$E235 PRG:2235 CA - bne SubCE215_Block_5 ; CPU:$E236 PRG:2236 D0 19 + bne Label_E251 ; CPU:$E236 PRG:2236 D0 19 dec ZpDF ; CPU:$E238 PRG:2238 C6 DF - bne SubCE215_Block_6 ; CPU:$E23A PRG:223A D0 07 + bne Label_E243 ; CPU:$E23A PRG:223A D0 07 lda #$10 ; CPU:$E23C PRG:223C A9 10 ; ----------------------------------------------------------------------------- -; Routine: SubCE23E +; Routine: Label_E23E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10083,12 +10094,12 @@ SubCE215_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE23E: +Label_E23E: sta ZpDF ; CPU:$E23E PRG:223E 85 DF inc Zp7C ; CPU:$E240 PRG:2240 E6 7C rts ; CPU:$E242 PRG:2242 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block_6 +; Routine: Label_E243 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10096,16 +10107,16 @@ SubCE23E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block_6: +Label_E243: lda Zp92 ; CPU:$E243 PRG:2243 A5 92 cmp #$04 ; CPU:$E245 PRG:2245 C9 04 - bne SubCE23E_Block_3 ; CPU:$E247 PRG:2247 D0 07 + bne Label_E250 ; CPU:$E247 PRG:2247 D0 07 lda #$05 ; CPU:$E249 PRG:2249 A9 05 clc ; CPU:$E24B PRG:224B 18 adc ZpA8 ; CPU:$E24C PRG:224C 65 A8 sta ZpA8 ; CPU:$E24E PRG:224E 85 A8 ; ----------------------------------------------------------------------------- -; Routine: SubCE23E_Block_3 +; Routine: Label_E250 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10113,10 +10124,10 @@ SubCE215_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE23E_Block_3: +Label_E250: rts ; CPU:$E250 PRG:2250 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE215_Block_5 +; Routine: Label_E251 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10124,19 +10135,19 @@ SubCE23E_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE215_Block_5: +Label_E251: dex ; CPU:$E251 PRG:2251 CA - bne SubCE23E_Block_3 ; CPU:$E252 PRG:2252 D0 FC + bne Label_E250 ; CPU:$E252 PRG:2252 D0 FC dec ZpDF ; CPU:$E254 PRG:2254 C6 DF - bne SubCE23E_Block_3 ; CPU:$E256 PRG:2256 D0 F8 + bne Label_E250 ; CPU:$E256 PRG:2256 D0 F8 lda Zp92 ; CPU:$E258 PRG:2258 A5 92 cmp #$04 ; CPU:$E25A PRG:225A C9 04 - bne SubCE23E_Block_4 ; CPU:$E25C PRG:225C D0 07 + bne Label_E265 ; CPU:$E25C PRG:225C D0 07 lda #$FF ; CPU:$E25E PRG:225E A9 FF sta Zp92 ; CPU:$E260 PRG:2260 85 92 sta $03D3 ; CPU:$E262 PRG:2262 8D D3 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE23E_Block_4 +; Routine: Label_E265 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10144,9 +10155,9 @@ SubCE215_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE23E_Block_4: +Label_E265: lda $0376 ; CPU:$E265 PRG:2265 AD 76 03 - bne SubCE215 ; CPU:$E268 PRG:2268 D0 AB + bne Label_E215 ; CPU:$E268 PRG:2268 D0 AB lda #$80 ; CPU:$E26A PRG:226A A9 80 sta Zp7C ; CPU:$E26C PRG:226C 85 7C lda #$02 ; CPU:$E26E PRG:226E A9 02 @@ -10157,7 +10168,7 @@ SubCE23E_Block_4: ; referenced by `lda $E273,y` at $E610 (operand $E273 falls inside this region) .byte $00, $18, $30, $48 ; CPU:$E273 PRG:2273 00 18 30 48 ; ----------------------------------------------------------------------------- -; Routine: SubCE277 +; Routine: Label_E277 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10165,12 +10176,12 @@ SubCE23E_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE277: +Label_E277: ldx #$03 ; CPU:$E277 PRG:2277 A2 03 ; ---- data $E279-$E279 (1 bytes) ---- .byte $2C ; CPU:$E279 PRG:2279 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE27A +; Routine: Label_E27A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10178,10 +10189,10 @@ SubCE277: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE27A: +Label_E27A: ldx #$01 ; CPU:$E27A PRG:227A A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE27A_Block_3 +; Routine: Label_E27C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10189,20 +10200,20 @@ SubCE27A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE27A_Block_3: +Label_E27C: lda $E273,x ; CPU:$E27C PRG:227C BD 73 E2 tay ; CPU:$E27F PRG:227F A8 lda $0786,x ; CPU:$E280 PRG:2280 BD 86 07 - beq SubCE27A_Block_2 ; CPU:$E283 PRG:2283 F0 11 + beq Label_E296 ; CPU:$E283 PRG:2283 F0 11 lda $02A0,y ; CPU:$E285 PRG:2285 B9 A0 02 cmp #$EC ; CPU:$E288 PRG:2288 C9 EC - bcc SubCE27A_Block_2 ; CPU:$E28A PRG:228A 90 0A + bcc Label_E296 ; CPU:$E28A PRG:228A 90 0A lda #$00 ; CPU:$E28C PRG:228C A9 00 sta $0786,x ; CPU:$E28E PRG:228E 9D 86 07 lda #$FF ; CPU:$E291 PRG:2291 A9 FF sta $06F5,x ; CPU:$E293 PRG:2293 9D F5 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE27A_Block_2 +; Routine: Label_E296 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10210,12 +10221,12 @@ SubCE27A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE27A_Block_2: +Label_E296: dex ; CPU:$E296 PRG:2296 CA - bpl SubCE27A_Block_3 ; CPU:$E297 PRG:2297 10 E3 + bpl Label_E27C ; CPU:$E297 PRG:2297 10 E3 rts ; CPU:$E299 PRG:2299 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A +; Routine: Label_E29A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10223,13 +10234,13 @@ SubCE27A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A: +Label_E29A: ldx #$08 ; CPU:$E29A PRG:229A A2 08 jsr $E303 ; CPU:$E29C PRG:229C 20 03 E3 ldy #$2C ; CPU:$E29F PRG:229F A0 2C ldx #$01 ; CPU:$E2A1 PRG:22A1 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_3 +; Routine: Label_E2A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10237,16 +10248,16 @@ SubCE29A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_3: +Label_E2A3: lda $0786,x ; CPU:$E2A3 PRG:22A3 BD 86 07 - beq SubCE29A_Block ; CPU:$E2A6 PRG:22A6 F0 16 + beq Label_E2BE ; CPU:$E2A6 PRG:22A6 F0 16 jsr $E321 ; CPU:$E2A8 PRG:22A8 20 21 E3 txa ; CPU:$E2AB PRG:22AB 8A clc ; CPU:$E2AC PRG:22AC 18 adc #$06 ; CPU:$E2AD PRG:22AD 69 06 tay ; CPU:$E2AF PRG:22AF A8 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_2 +; Routine: Label_E2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10254,16 +10265,16 @@ SubCE29A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_2: +Label_E2B0: lda $07B7,x ; CPU:$E2B0 PRG:22B0 BD B7 07 clc ; CPU:$E2B3 PRG:22B3 18 adc $0788,y ; CPU:$E2B4 PRG:22B4 79 88 07 sta $0788,y ; CPU:$E2B7 PRG:22B7 99 88 07 dey ; CPU:$E2BA PRG:22BA 88 dey ; CPU:$E2BB PRG:22BB 88 - bpl SubCE29A_Block_2 ; CPU:$E2BC PRG:22BC 10 F2 + bpl Label_E2B0 ; CPU:$E2BC PRG:22BC 10 F2 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block +; Routine: Label_E2BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10271,13 +10282,13 @@ SubCE29A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block: +Label_E2BE: ldy #$14 ; CPU:$E2BE PRG:22BE A0 14 dex ; CPU:$E2C0 PRG:22C0 CA - bpl SubCE29A_Block_3 ; CPU:$E2C1 PRG:22C1 10 E0 + bpl Label_E2A3 ; CPU:$E2C1 PRG:22C1 10 E0 ldy #$01 ; CPU:$E2C3 PRG:22C3 A0 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_12 +; Routine: Label_E2C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10285,14 +10296,14 @@ SubCE29A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_12: +Label_E2C5: lda a:Zp6A,y ; CPU:$E2C5 PRG:22C5 B9 6A 00 cmp #$01 ; CPU:$E2C8 PRG:22C8 C9 01 - beq SubCE29A_Block_4 ; CPU:$E2CA PRG:22CA F0 04 + beq Label_E2D0 ; CPU:$E2CA PRG:22CA F0 04 cmp #$03 ; CPU:$E2CC PRG:22CC C9 03 - bne SubCE29A_Block_11 ; CPU:$E2CE PRG:22CE D0 24 + bne Label_E2F4 ; CPU:$E2CE PRG:22CE D0 24 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_4 +; Routine: Label_E2D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10300,19 +10311,19 @@ SubCE29A_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_4: - ldx Zp5A,y ; CPU:$E2D0 PRG:22D0 B6 5A - beq SubCE29A_Block_11 ; CPU:$E2D2 PRG:22D2 F0 20 +Label_E2D0: + ldx SprData,y ; CPU:$E2D0 PRG:22D0 B6 5A + beq Label_E2F4 ; CPU:$E2D2 PRG:22D2 F0 20 cpx #$02 ; CPU:$E2D4 PRG:22D4 E0 02 - bmi SubCE29A_Block_11 ; CPU:$E2D6 PRG:22D6 30 1C + bmi Label_E2F4 ; CPU:$E2D6 PRG:22D6 30 1C cpx #$09 ; CPU:$E2D8 PRG:22D8 E0 09 - beq SubCE29A_Block_11 ; CPU:$E2DA PRG:22DA F0 18 + beq Label_E2F4 ; CPU:$E2DA PRG:22DA F0 18 lda a:Zp2D,y ; CPU:$E2DC PRG:22DC B9 2D 00 - bne SubCE29A_Block_9 ; CPU:$E2DF PRG:22DF D0 05 + bne Label_E2E6 ; CPU:$E2DF PRG:22DF D0 05 lda $0343,y ; CPU:$E2E1 PRG:22E1 B9 43 03 - bne SubCE29A_Block_10 ; CPU:$E2E4 PRG:22E4 D0 06 + bne Label_E2EC ; CPU:$E2E4 PRG:22E4 D0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_9 +; Routine: Label_E2E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10320,11 +10331,11 @@ SubCE29A_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_9: +Label_E2E6: lda $07AE,x ; CPU:$E2E6 PRG:22E6 BD AE 07 jsr $E2FB ; CPU:$E2E9 PRG:22E9 20 FB E2 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_10 +; Routine: Label_E2EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10332,12 +10343,12 @@ SubCE29A_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_10: +Label_E2EC: ldx $0783,y ; CPU:$E2EC PRG:22EC BE 83 07 - bmi SubCE29A_Block_11 ; CPU:$E2EF PRG:22EF 30 03 + bmi Label_E2F4 ; CPU:$E2EF PRG:22EF 30 03 jsr $E2F8 ; CPU:$E2F1 PRG:22F1 20 F8 E2 ; ----------------------------------------------------------------------------- -; Routine: SubCE29A_Block_11 +; Routine: Label_E2F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10345,12 +10356,12 @@ SubCE29A_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE29A_Block_11: +Label_E2F4: dey ; CPU:$E2F4 PRG:22F4 88 - bpl SubCE29A_Block_12 ; CPU:$E2F5 PRG:22F5 10 CE + bpl Label_E2C5 ; CPU:$E2F5 PRG:22F5 10 CE rts ; CPU:$E2F7 PRG:22F7 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE2F8 +; Routine: Label_E2F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10358,10 +10369,10 @@ SubCE29A_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE2F8: +Label_E2F8: lda $07B7,x ; CPU:$E2F8 PRG:22F8 BD B7 07 ; ----------------------------------------------------------------------------- -; Routine: SubCE2FB +; Routine: Label_E2FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10369,13 +10380,13 @@ SubCE2F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE2FB: +Label_E2FB: clc ; CPU:$E2FB PRG:22FB 18 adc a:Zp64,y ; CPU:$E2FC PRG:22FC 79 64 00 sta a:Zp64,y ; CPU:$E2FF PRG:22FF 99 64 00 rts ; CPU:$E302 PRG:2302 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE303 +; Routine: Label_E303 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10383,7 +10394,7 @@ SubCE2FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE303: +Label_E303: lda $07C0,x ; CPU:$E303 PRG:2303 BD C0 07 clc ; CPU:$E306 PRG:2306 18 adc $07A0,x ; CPU:$E307 PRG:2307 7D A0 07 @@ -10391,10 +10402,10 @@ SubCE303: lda #$00 ; CPU:$E30D PRG:230D A9 00 adc $0790,x ; CPU:$E30F PRG:230F 7D 90 07 ldy $07D0,x ; CPU:$E312 PRG:2312 BC D0 07 - beq SubCE303_Block ; CPU:$E315 PRG:2315 F0 03 + beq Label_E31A ; CPU:$E315 PRG:2315 F0 03 jsr $D2FB ; CPU:$E317 PRG:2317 20 FB D2 ; ----------------------------------------------------------------------------- -; Routine: SubCE303_Block +; Routine: Label_E31A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10402,13 +10413,13 @@ SubCE303: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE303_Block: +Label_E31A: sta $07B0,x ; CPU:$E31A PRG:231A 9D B0 07 dex ; CPU:$E31D PRG:231D CA - bpl SubCE303 ; CPU:$E31E PRG:231E 10 E3 + bpl Label_E303 ; CPU:$E31E PRG:231E 10 E3 rts ; CPU:$E320 PRG:2320 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE321 +; Routine: Label_E321 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10416,11 +10427,11 @@ SubCE303_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE321: +Label_E321: lda #$05 ; CPU:$E321 PRG:2321 A9 05 - sta Zp01 ; CPU:$E323 PRG:2323 85 01 + sta PtrHi ; CPU:$E323 PRG:2323 85 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE321_Block +; Routine: Label_E325 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10428,7 +10439,7 @@ SubCE321: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE321_Block: +Label_E325: lda $07B7,x ; CPU:$E325 PRG:2325 BD B7 07 clc ; CPU:$E328 PRG:2328 18 adc $02A3,y ; CPU:$E329 PRG:2329 79 A3 02 @@ -10437,14 +10448,14 @@ SubCE321_Block: dey ; CPU:$E330 PRG:2330 88 dey ; CPU:$E331 PRG:2331 88 dey ; CPU:$E332 PRG:2332 88 - dec Zp01 ; CPU:$E333 PRG:2333 C6 01 - bpl SubCE321_Block ; CPU:$E335 PRG:2335 10 EE + dec PtrHi ; CPU:$E333 PRG:2333 C6 01 + bpl Label_E325 ; CPU:$E335 PRG:2335 10 EE rts ; CPU:$E337 PRG:2337 60 ; ---- data $E338-$E33B (4 bytes) ---- ; referenced by `lda $E338,x` at $E348 (operand $E338 falls inside this region) .byte $14, $2C, $44, $5C ; CPU:$E338 PRG:2338 14 2C 44 5C ; ----------------------------------------------------------------------------- -; Routine: SubCE33C +; Routine: Label_E33C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10452,12 +10463,12 @@ SubCE321_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C: +Label_E33C: ldx #$0A ; CPU:$E33C PRG:233C A2 0A jsr $E303 ; CPU:$E33E PRG:233E 20 03 E3 ldx #$03 ; CPU:$E341 PRG:2341 A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE33C_Block_2 +; Routine: Label_E343 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10465,9 +10476,9 @@ SubCE33C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C_Block_2: +Label_E343: lda $0786,x ; CPU:$E343 PRG:2343 BD 86 07 - beq SubCE33C_Block ; CPU:$E346 PRG:2346 F0 1A + beq Label_E362 ; CPU:$E346 PRG:2346 F0 1A lda $E338,x ; CPU:$E348 PRG:2348 BD 38 E3 tay ; CPU:$E34B PRG:234B A8 jsr $E321 ; CPU:$E34C PRG:234C 20 21 E3 @@ -10481,7 +10492,7 @@ SubCE33C_Block_2: adc $06A0,x ; CPU:$E35C PRG:235C 7D A0 06 sta $06A0,x ; CPU:$E35F PRG:235F 9D A0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE33C_Block +; Routine: Label_E362 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10489,12 +10500,12 @@ SubCE33C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C_Block: +Label_E362: dex ; CPU:$E362 PRG:2362 CA - bpl SubCE33C_Block_2 ; CPU:$E363 PRG:2363 10 DE + bpl Label_E343 ; CPU:$E363 PRG:2363 10 DE ldy #$01 ; CPU:$E365 PRG:2365 A0 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE33C_Block_6 +; Routine: Label_E367 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10502,14 +10513,14 @@ SubCE33C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C_Block_6: +Label_E367: lda a:Zp6A,y ; CPU:$E367 PRG:2367 B9 6A 00 cmp #$01 ; CPU:$E36A PRG:236A C9 01 - beq SubCE33C_Block_3 ; CPU:$E36C PRG:236C F0 04 + beq Label_E372 ; CPU:$E36C PRG:236C F0 04 cmp #$03 ; CPU:$E36E PRG:236E C9 03 - bne SubCE33C_Block_5 ; CPU:$E370 PRG:2370 D0 0C + bne Label_E37E ; CPU:$E370 PRG:2370 D0 0C ; ----------------------------------------------------------------------------- -; Routine: SubCE33C_Block_3 +; Routine: Label_E372 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10517,15 +10528,15 @@ SubCE33C_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C_Block_3: +Label_E372: lda $0783,y ; CPU:$E372 PRG:2372 B9 83 07 sec ; CPU:$E375 PRG:2375 38 sbc #$1A ; CPU:$E376 PRG:2376 E9 1A - bmi SubCE33C_Block_5 ; CPU:$E378 PRG:2378 30 04 + bmi Label_E37E ; CPU:$E378 PRG:2378 30 04 tax ; CPU:$E37A PRG:237A AA jsr $E2F8 ; CPU:$E37B PRG:237B 20 F8 E2 ; ----------------------------------------------------------------------------- -; Routine: SubCE33C_Block_5 +; Routine: Label_E37E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10533,9 +10544,9 @@ SubCE33C_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE33C_Block_5: +Label_E37E: dey ; CPU:$E37E PRG:237E 88 - bpl SubCE33C_Block_6 ; CPU:$E37F PRG:237F 10 E6 + bpl Label_E367 ; CPU:$E37F PRG:237F 10 E6 rts ; CPU:$E381 PRG:2381 60 ; ---- data $E382-$E4C1 (320 bytes) ---- ; referenced by `lda $E382,x` at $E4CE (operand $E382 falls inside this region) @@ -10545,6 +10556,7 @@ SubCE33C_Block_5: ; referenced by `lda $E4A2,x` at $E67E (operand $E4A2 falls inside this region) ; referenced by `lda $E4A3,x` at $E683 (operand $E4A3 falls inside this region) ; ... and 6 further references from decoded code + LevelLayoutData: ; Level layout/background data .byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $A1, $00, $00, $00, $00, $B0, $00 ; CPU:$E382 PRG:2382 00 00 00 00 00 00 00 00 00 A1 00 00 00 00 B0 00 .byte $30, $00, $00, $B1, $00, $08, $A1, $00, $30, $00, $B0, $A3, $F0, $00, $00, $C5 ; CPU:$E392 PRG:2392 30 00 00 B1 00 08 A1 00 30 00 B0 A3 F0 00 00 C5 .byte $00, $B3, $32, $A0, $D4, $00, $23, $08, $B6, $00, $C3, $31, $00, $08, $08, $B1 ; CPU:$E3A2 PRG:23A2 00 B3 32 A0 D4 00 23 08 B6 00 C3 31 00 08 08 B1 @@ -10566,7 +10578,7 @@ SubCE33C_Block_5: .byte $00, $80, $00, $A0, $00, $C0, $00, $E0, $01, $00, $01, $40, $01, $80, $02, $00 ; CPU:$E4A2 PRG:24A2 00 80 00 A0 00 C0 00 E0 01 00 01 40 01 80 02 00 .byte $E8, $02, $00, $1C, $00, $18, $48, $78, $A8, $D8, $FE, $FF, $DC, $FE, $FF, $DC ; CPU:$E4B2 PRG:24B2 E8 02 00 1C 00 18 48 78 A8 D8 FE FF DC FE FF DC ; ----------------------------------------------------------------------------- -; Routine: SubCE4C2 +; Routine: Label_E4C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10574,13 +10586,13 @@ SubCE33C_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE4C2: +Label_E4C2: jsr $E523 ; CPU:$E4C2 PRG:24C2 20 23 E5 jsr $E719 ; CPU:$E4C5 PRG:24C5 20 19 E7 - sta Zp00 ; CPU:$E4C8 PRG:24C8 85 00 + sta PtrLo ; CPU:$E4C8 PRG:24C8 85 00 ldy #$00 ; CPU:$E4CA PRG:24CA A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE4C2_Block_5 +; Routine: Label_E4CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10588,27 +10600,27 @@ SubCE4C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE4C2_Block_5: - ldx Zp00 ; CPU:$E4CC PRG:24CC A6 00 +Label_E4CC: + ldx PtrLo ; CPU:$E4CC PRG:24CC A6 00 lda $E382,x ; CPU:$E4CE PRG:24CE BD 82 E3 - sta Zp01 ; CPU:$E4D1 PRG:24D1 85 01 + sta PtrHi ; CPU:$E4D1 PRG:24D1 85 01 and #$E0 ; CPU:$E4D3 PRG:24D3 29 E0 - beq SubCE4C2_Block_2 ; CPU:$E4D5 PRG:24D5 F0 2B + beq Label_E502 ; CPU:$E4D5 PRG:24D5 F0 2B cmp #$61 ; CPU:$E4D7 PRG:24D7 C9 61 - bcs SubCE4C2_Block_2 ; CPU:$E4D9 PRG:24D9 B0 27 + bcs Label_E502 ; CPU:$E4D9 PRG:24D9 B0 27 pha ; CPU:$E4DB PRG:24DB 48 - lda Zp01 ; CPU:$E4DC PRG:24DC A5 01 + lda PtrHi ; CPU:$E4DC PRG:24DC A5 01 and #$07 ; CPU:$E4DE PRG:24DE 29 07 tax ; CPU:$E4E0 PRG:24E0 AA pla ; CPU:$E4E1 PRG:24E1 68 cmp #$60 ; CPU:$E4E2 PRG:24E2 C9 60 - bne SubCE4C2_Block_4 ; CPU:$E4E4 PRG:24E4 D0 06 + bne Label_E4EC ; CPU:$E4E4 PRG:24E4 D0 06 dex ; CPU:$E4E6 PRG:24E6 CA dex ; CPU:$E4E7 PRG:24E7 CA - bpl SubCE4C2_Block_4 ; CPU:$E4E8 PRG:24E8 10 02 + bpl Label_E4EC ; CPU:$E4E8 PRG:24E8 10 02 ldx #$06 ; CPU:$E4EA PRG:24EA A2 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE4C2_Block_4 +; Routine: Label_E4EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10616,7 +10628,7 @@ SubCE4C2_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE4C2_Block_4: +Label_E4EC: txa ; CPU:$E4EC PRG:24EC 8A asl a ; CPU:$E4ED PRG:24ED 0A tax ; CPU:$E4EE PRG:24EE AA @@ -10624,11 +10636,11 @@ SubCE4C2_Block_4: sta $0790,y ; CPU:$E4F2 PRG:24F2 99 90 07 lda $E4A3,x ; CPU:$E4F5 PRG:24F5 BD A3 E4 sta $07A0,y ; CPU:$E4F8 PRG:24F8 99 A0 07 - lda Zp01 ; CPU:$E4FB PRG:24FB A5 01 + lda PtrHi ; CPU:$E4FB PRG:24FB A5 01 and #$10 ; CPU:$E4FD PRG:24FD 29 10 sta $07D0,y ; CPU:$E4FF PRG:24FF 99 D0 07 ; ----------------------------------------------------------------------------- -; Routine: SubCE4C2_Block_2 +; Routine: Label_E502 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10636,21 +10648,21 @@ SubCE4C2_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE4C2_Block_2: - lda Zp01 ; CPU:$E502 PRG:2502 A5 01 +Label_E502: + lda PtrHi ; CPU:$E502 PRG:2502 A5 01 lsr a ; CPU:$E504 PRG:2504 4A lsr a ; CPU:$E505 PRG:2505 4A lsr a ; CPU:$E506 PRG:2506 4A lsr a ; CPU:$E507 PRG:2507 4A ror $0785 ; CPU:$E508 PRG:2508 6E 85 07 - inc Zp00 ; CPU:$E50B PRG:250B E6 00 + inc PtrLo ; CPU:$E50B PRG:250B E6 00 iny ; CPU:$E50D PRG:250D C8 cpy #$07 ; CPU:$E50E PRG:250E C0 07 - bne SubCE4C2_Block_5 ; CPU:$E510 PRG:2510 D0 BA + bne Label_E4CC ; CPU:$E510 PRG:2510 D0 BA ldy #$05 ; CPU:$E512 PRG:2512 A0 05 sty $0782 ; CPU:$E514 PRG:2514 8C 82 07 ; ----------------------------------------------------------------------------- -; Routine: SubCE4C2_Block_6 +; Routine: Label_E517 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10658,14 +10670,14 @@ SubCE4C2_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE4C2_Block_6: +Label_E517: ldy $0782 ; CPU:$E517 PRG:2517 AC 82 07 jsr $E640 ; CPU:$E51A PRG:251A 20 40 E6 dec $0782 ; CPU:$E51D PRG:251D CE 82 07 - bne SubCE4C2_Block_6 ; CPU:$E520 PRG:2520 D0 F5 + bne Label_E517 ; CPU:$E520 PRG:2520 D0 F5 rts ; CPU:$E522 PRG:2522 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE523 +; Routine: Label_E523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10673,11 +10685,11 @@ SubCE4C2_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE523: +Label_E523: lda #$00 ; CPU:$E523 PRG:2523 A9 00 ldx #$2D ; CPU:$E525 PRG:2525 A2 2D ; ----------------------------------------------------------------------------- -; Routine: SubCE523_Block +; Routine: Label_E527 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10685,13 +10697,13 @@ SubCE523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE523_Block: +Label_E527: sta $0790,x ; CPU:$E527 PRG:2527 9D 90 07 dex ; CPU:$E52A PRG:252A CA - bpl SubCE523_Block ; CPU:$E52B PRG:252B 10 FA + bpl Label_E527 ; CPU:$E52B PRG:252B 10 FA ldx #$03 ; CPU:$E52D PRG:252D A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE523_Block_2 +; Routine: Label_E52F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10699,10 +10711,10 @@ SubCE523_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE523_Block_2: +Label_E52F: sta $0786,x ; CPU:$E52F PRG:252F 9D 86 07 dex ; CPU:$E532 PRG:2532 CA - bpl SubCE523_Block_2 ; CPU:$E533 PRG:2533 10 FA + bpl Label_E52F ; CPU:$E533 PRG:2533 10 FA sta $0785 ; CPU:$E535 PRG:2535 8D 85 07 rts ; CPU:$E538 PRG:2538 60 ; ---- data $E539-$E572 (58 bytes) ---- @@ -10712,7 +10724,7 @@ SubCE523_Block_2: .byte $FF, $00, $03, $08, $0E, $12, $15, $1A, $1C, $20, $23, $E5, $A9, $19, $85, $24 ; CPU:$E559 PRG:2559 FF 00 03 08 0E 12 15 1A 1C 20 23 E5 A9 19 85 24 .byte $A5, $59, $29, $07, $AA, $BD, $5A, $E5, $85, $25 ; CPU:$E569 PRG:2569 A5 59 29 07 AA BD 5A E5 85 25 ; ----------------------------------------------------------------------------- -; Routine: SubCE573 +; Routine: Label_E573 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10720,18 +10732,18 @@ SubCE523_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573: +Label_E573: ldx Zp25 ; CPU:$E573 PRG:2573 A6 25 lda $E539,x ; CPU:$E575 PRG:2575 BD 39 E5 pha ; CPU:$E578 PRG:2578 48 and #$3F ; CPU:$E579 PRG:2579 29 3F cmp Zp24 ; CPU:$E57B PRG:257B C5 24 - beq SubCE573_Block_2 ; CPU:$E57D PRG:257D F0 04 - bcc SubCE573_Block_2 ; CPU:$E57F PRG:257F 90 02 + beq Label_E583 ; CPU:$E57D PRG:257D F0 04 + bcc Label_E583 ; CPU:$E57F PRG:257F 90 02 pla ; CPU:$E581 PRG:2581 68 rts ; CPU:$E582 PRG:2582 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_2 +; Routine: Label_E583 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10739,11 +10751,11 @@ SubCE573: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_2: +Label_E583: inc Zp25 ; CPU:$E583 PRG:2583 E6 25 ldy #$03 ; CPU:$E585 PRG:2585 A0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_4 +; Routine: Label_E587 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10751,13 +10763,13 @@ SubCE573_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_4: +Label_E587: lda $0786,y ; CPU:$E587 PRG:2587 B9 86 07 - beq SubCE573_Block_3 ; CPU:$E58A PRG:258A F0 03 + beq Label_E58F ; CPU:$E58A PRG:258A F0 03 dey ; CPU:$E58C PRG:258C 88 - bpl SubCE573_Block_4 ; CPU:$E58D PRG:258D 10 F8 + bpl Label_E587 ; CPU:$E58D PRG:258D 10 F8 ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_3 +; Routine: Label_E58F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10765,16 +10777,16 @@ SubCE573_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_3: +Label_E58F: pla ; CPU:$E58F PRG:258F 68 sta $0786,y ; CPU:$E590 PRG:2590 99 86 07 pha ; CPU:$E593 PRG:2593 48 ldx #$00 ; CPU:$E594 PRG:2594 A2 00 and #$40 ; CPU:$E596 PRG:2596 29 40 - bne SubCE573_Block_5 ; CPU:$E598 PRG:2598 D0 01 + bne Label_E59B ; CPU:$E598 PRG:2598 D0 01 dex ; CPU:$E59A PRG:259A CA ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_5 +; Routine: Label_E59B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10782,17 +10794,17 @@ SubCE573_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_5: +Label_E59B: txa ; CPU:$E59B PRG:259B 8A sta $07D7,y ; CPU:$E59C PRG:259C 99 D7 07 pla ; CPU:$E59F PRG:259F 68 pha ; CPU:$E5A0 PRG:25A0 48 ldx #$C0 ; CPU:$E5A1 PRG:25A1 A2 C0 and #$80 ; CPU:$E5A3 PRG:25A3 29 80 - bne SubCE573_Block_6 ; CPU:$E5A5 PRG:25A5 D0 02 + bne Label_E5A9 ; CPU:$E5A5 PRG:25A5 D0 02 ldx #$80 ; CPU:$E5A7 PRG:25A7 A2 80 ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_6 +; Routine: Label_E5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10800,7 +10812,7 @@ SubCE573_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_6: +Label_E5A9: txa ; CPU:$E5A9 PRG:25A9 8A sta $07A7,y ; CPU:$E5AA PRG:25AA 99 A7 07 lda #$00 ; CPU:$E5AD PRG:25AD A9 00 @@ -10808,10 +10820,10 @@ SubCE573_Block_6: ldx #$06 ; CPU:$E5B2 PRG:25B2 A2 06 lda Zp59 ; CPU:$E5B4 PRG:25B4 A5 59 and #$04 ; CPU:$E5B6 PRG:25B6 29 04 - beq SubCE573_Block_7 ; CPU:$E5B8 PRG:25B8 F0 01 + beq Label_E5BB ; CPU:$E5B8 PRG:25B8 F0 01 tax ; CPU:$E5BA PRG:25BA AA ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_7 +; Routine: Label_E5BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10819,18 +10831,18 @@ SubCE573_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_7: +Label_E5BB: stx Zp03 ; CPU:$E5BB PRG:25BB 86 03 pla ; CPU:$E5BD PRG:25BD 68 and #$3F ; CPU:$E5BE PRG:25BE 29 3F pha ; CPU:$E5C0 PRG:25C0 48 cmp #$1E ; CPU:$E5C1 PRG:25C1 C9 1E - bmi SubCE573_Block_8 ; CPU:$E5C3 PRG:25C3 30 03 + bmi Label_E5C8 ; CPU:$E5C3 PRG:25C3 30 03 ldx #$00 ; CPU:$E5C5 PRG:25C5 A2 00 ; ---- data $E5C7-$E5C7 (1 bytes) ---- .byte $2C ; CPU:$E5C7 PRG:25C7 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_8 +; Routine: Label_E5C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10838,7 +10850,7 @@ SubCE573_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_8: +Label_E5C8: ldx #$01 ; CPU:$E5C8 PRG:25C8 A2 01 txa ; CPU:$E5CA PRG:25CA 8A sta $06FA,y ; CPU:$E5CB PRG:25CB 99 FA 06 @@ -10846,7 +10858,7 @@ SubCE573_Block_8: tax ; CPU:$E5CF PRG:25CF AA lda #$DE ; CPU:$E5D0 PRG:25D0 A9 DE ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_9 +; Routine: Label_E5D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10854,11 +10866,11 @@ SubCE573_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_9: +Label_E5D2: sec ; CPU:$E5D2 PRG:25D2 38 sbc #$08 ; CPU:$E5D3 PRG:25D3 E9 08 dex ; CPU:$E5D5 PRG:25D5 CA - bne SubCE573_Block_9 ; CPU:$E5D6 PRG:25D6 D0 FA + bne Label_E5D2 ; CPU:$E5D6 PRG:25D6 D0 FA sta Zp08 ; CPU:$E5D8 PRG:25D8 85 08 sta $06BE,y ; CPU:$E5DA PRG:25DA 99 BE 06 clc ; CPU:$E5DD PRG:25DD 18 @@ -10869,10 +10881,10 @@ SubCE573_Block_9: lda #$18 ; CPU:$E5E8 PRG:25E8 A9 18 ldx Zp03 ; CPU:$E5EA PRG:25EA A6 03 cpx #$04 ; CPU:$E5EC PRG:25EC E0 04 - bne SubCE573_Block_10 ; CPU:$E5EE PRG:25EE D0 02 + bne Label_E5F2 ; CPU:$E5EE PRG:25EE D0 02 lda #$08 ; CPU:$E5F0 PRG:25F0 A9 08 ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_10 +; Routine: Label_E5F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10880,17 +10892,17 @@ SubCE573_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_10: +Label_E5F2: sta $06A0,y ; CPU:$E5F2 PRG:25F2 99 A0 06 lda Zp27 ; CPU:$E5F5 PRG:25F5 A5 27 - beq SubCE573_Block_11 ; CPU:$E5F7 PRG:25F7 F0 06 + beq Label_E5FF ; CPU:$E5F7 PRG:25F7 F0 06 lda Zp08 ; CPU:$E5F9 PRG:25F9 A5 08 clc ; CPU:$E5FB PRG:25FB 18 adc #$10 ; CPU:$E5FC PRG:25FC 69 10 ; ---- data $E5FE-$E5FE (1 bytes) ---- .byte $2C ; CPU:$E5FE PRG:25FE 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE573_Block_11 +; Routine: Label_E5FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10898,7 +10910,7 @@ SubCE573_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE573_Block_11: +Label_E5FF: lda Zp08 ; CPU:$E5FF PRG:25FF A5 08 sec ; CPU:$E601 PRG:2601 38 sbc Zp13 ; CPU:$E602 PRG:2602 E5 13 @@ -10907,11 +10919,11 @@ SubCE573_Block_11: lda #$DC ; CPU:$E608 PRG:2608 A9 DC sta Zp07 ; CPU:$E60A PRG:260A 85 07 lda #$E8 ; CPU:$E60C PRG:260C A9 E8 - sta Zp01 ; CPU:$E60E PRG:260E 85 01 + sta PtrHi ; CPU:$E60E PRG:260E 85 01 lda $E273,y ; CPU:$E610 PRG:2610 B9 73 E2 tay ; CPU:$E613 PRG:2613 A8 ; ----------------------------------------------------------------------------- -; Routine: SubCE614 +; Routine: Label_E614 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10919,7 +10931,7 @@ SubCE573_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE614: +Label_E614: lda #$00 ; CPU:$E614 PRG:2614 A9 00 sta $02A2,y ; CPU:$E616 PRG:2616 99 A2 02 lda Zp05 ; CPU:$E619 PRG:2619 A5 05 @@ -10930,14 +10942,14 @@ SubCE614: lda #$FF ; CPU:$E626 PRG:2626 A9 FF sta Zp07 ; CPU:$E628 PRG:2628 85 07 dec Zp03 ; CPU:$E62A PRG:262A C6 03 - beq SubCE614_Block ; CPU:$E62C PRG:262C F0 07 + beq Label_E635 ; CPU:$E62C PRG:262C F0 07 iny ; CPU:$E62E PRG:262E C8 iny ; CPU:$E62F PRG:262F C8 iny ; CPU:$E630 PRG:2630 C8 iny ; CPU:$E631 PRG:2631 C8 jmp $E614 ; CPU:$E632 PRG:2632 4C 14 E6 ; ----------------------------------------------------------------------------- -; Routine: SubCE614_Block +; Routine: Label_E635 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10945,12 +10957,12 @@ SubCE614: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE614_Block: +Label_E635: lda #$FE ; CPU:$E635 PRG:2635 A9 FE sta $02A1,y ; CPU:$E637 PRG:2637 99 A1 02 jmp $E573 ; CPU:$E63A PRG:263A 4C 73 E5 ; ----------------------------------------------------------------------------- -; Routine: SubCE63D +; Routine: Label_E63D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10958,11 +10970,11 @@ SubCE614_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE63D: +Label_E63D: ldy Zp90 ; CPU:$E63D PRG:263D A4 90 iny ; CPU:$E63F PRG:263F C8 ; ----------------------------------------------------------------------------- -; Routine: SubCE640 +; Routine: Label_E640 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10970,15 +10982,15 @@ SubCE63D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE640: +Label_E640: cpy #$09 ; CPU:$E640 PRG:2640 C0 09 - bpl SubCE640_Block_2 ; CPU:$E642 PRG:2642 10 09 + bpl Label_E64D ; CPU:$E642 PRG:2642 10 09 cpy #$01 ; CPU:$E644 PRG:2644 C0 01 - beq SubCE640_Block_2 ; CPU:$E646 PRG:2646 F0 05 + beq Label_E64D ; CPU:$E646 PRG:2646 F0 05 jsr $E64E ; CPU:$E648 PRG:2648 20 4E E6 - bcs SubCE640_Block_3 ; CPU:$E64B PRG:264B B0 15 + bcs Label_E662 ; CPU:$E64B PRG:264B B0 15 ; ----------------------------------------------------------------------------- -; Routine: SubCE640_Block_2 +; Routine: Label_E64D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10986,10 +10998,10 @@ SubCE640: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE640_Block_2: +Label_E64D: rts ; CPU:$E64D PRG:264D 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E +; Routine: Label_E64E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10997,7 +11009,7 @@ SubCE640_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E: +Label_E64E: jsr $E719 ; CPU:$E64E PRG:264E 20 19 E7 sta Zp0C ; CPU:$E651 PRG:2651 85 0C tya ; CPU:$E653 PRG:2653 98 @@ -11010,7 +11022,7 @@ SubCE64E: cmp #$60 ; CPU:$E65F PRG:265F C9 60 rts ; CPU:$E661 PRG:2661 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE640_Block_3 +; Routine: Label_E662 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11018,12 +11030,12 @@ SubCE64E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE640_Block_3: +Label_E662: sta Zp0E ; CPU:$E662 PRG:2662 85 0E - sty Zp00 ; CPU:$E664 PRG:2664 84 00 + sty PtrLo ; CPU:$E664 PRG:2664 84 00 ldx #$05 ; CPU:$E666 PRG:2666 A2 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block +; Routine: Label_E668 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11031,17 +11043,17 @@ SubCE640_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block: +Label_E668: lda $E4B2,x ; CPU:$E668 PRG:2668 BD B2 E4 - sta Zp01,x ; CPU:$E66B PRG:266B 95 01 + sta PtrHi,x ; CPU:$E66B PRG:266B 95 01 dex ; CPU:$E66D PRG:266D CA - bpl SubCE64E_Block ; CPU:$E66E PRG:266E 10 F8 + bpl Label_E668 ; CPU:$E66E PRG:266E 10 F8 lda Zp0C ; CPU:$E670 PRG:2670 A5 0C and #$10 ; CPU:$E672 PRG:2672 29 10 - bne SubCE64E_Block_2 ; CPU:$E674 PRG:2674 D0 02 + bne Label_E678 ; CPU:$E674 PRG:2674 D0 02 inc Zp05 ; CPU:$E676 PRG:2676 E6 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_2 +; Routine: Label_E678 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11049,7 +11061,7 @@ SubCE64E_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_2: +Label_E678: lda Zp0C ; CPU:$E678 PRG:2678 A5 0C and #$07 ; CPU:$E67A PRG:267A 29 07 asl a ; CPU:$E67C PRG:267C 0A @@ -11064,12 +11076,12 @@ SubCE64E_Block_2: adc #$80 ; CPU:$E68D PRG:268D 69 80 ldx Zp0E ; CPU:$E68F PRG:268F A6 0E cpx #$E0 ; CPU:$E691 PRG:2691 E0 E0 - beq SubCE64E_Block_3 ; CPU:$E693 PRG:2693 F0 06 + beq Label_E69B ; CPU:$E693 PRG:2693 F0 06 cpx #$C0 ; CPU:$E695 PRG:2695 E0 C0 - bne SubCE64E_Block_4 ; CPU:$E697 PRG:2697 D0 0C + bne Label_E6A5 ; CPU:$E697 PRG:2697 D0 0C lda #$F0 ; CPU:$E699 PRG:2699 A9 F0 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_3 +; Routine: Label_E69B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11077,7 +11089,7 @@ SubCE64E_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_3: +Label_E69B: clc ; CPU:$E69B PRG:269B 18 adc Zp03 ; CPU:$E69C PRG:269C 65 03 sta Zp03 ; CPU:$E69E PRG:269E 85 03 @@ -11085,7 +11097,7 @@ SubCE64E_Block_3: adc #$1B ; CPU:$E6A1 PRG:26A1 69 1B sta Zp04 ; CPU:$E6A3 PRG:26A3 85 04 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_4 +; Routine: Label_E6A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11093,13 +11105,13 @@ SubCE64E_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_4: +Label_E6A5: ldx #$00 ; CPU:$E6A5 PRG:26A5 A2 00 lda $0786 ; CPU:$E6A7 PRG:26A7 AD 86 07 - beq SubCE64E_Block_5 ; CPU:$E6AA PRG:26AA F0 01 + beq Label_E6AD ; CPU:$E6AA PRG:26AA F0 01 inx ; CPU:$E6AC PRG:26AC E8 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_5 +; Routine: Label_E6AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11107,7 +11119,7 @@ SubCE64E_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_5: +Label_E6AD: lda Zp05 ; CPU:$E6AD PRG:26AD A5 05 sta $07D7,x ; CPU:$E6AF PRG:26AF 9D D7 07 lda Zp06 ; CPU:$E6B2 PRG:26B2 A5 06 @@ -11116,7 +11128,7 @@ SubCE64E_Block_5: sta $07A7,x ; CPU:$E6B9 PRG:26B9 9D A7 07 ldy #$00 ; CPU:$E6BC PRG:26BC A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_6 +; Routine: Label_E6BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11124,20 +11136,20 @@ SubCE64E_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_6: - lda a:Zp00,y ; CPU:$E6BE PRG:26BE B9 00 00 +Label_E6BE: + lda a:PtrLo,y ; CPU:$E6BE PRG:26BE B9 00 00 sta $0786,x ; CPU:$E6C1 PRG:26C1 9D 86 07 inx ; CPU:$E6C4 PRG:26C4 E8 inx ; CPU:$E6C5 PRG:26C5 E8 iny ; CPU:$E6C6 PRG:26C6 C8 cpy #$05 ; CPU:$E6C7 PRG:26C7 C0 05 - bne SubCE64E_Block_6 ; CPU:$E6C9 PRG:26C9 D0 F3 + bne Label_E6BE ; CPU:$E6C9 PRG:26C9 D0 F3 ldy #$00 ; CPU:$E6CB PRG:26CB A0 00 cpx #$0A ; CPU:$E6CD PRG:26CD E0 0A - beq SubCE64E_Block_7 ; CPU:$E6CF PRG:26CF F0 02 + beq Label_E6D3 ; CPU:$E6CF PRG:26CF F0 02 ldy #$18 ; CPU:$E6D1 PRG:26D1 A0 18 ; ----------------------------------------------------------------------------- -; Routine: SubCE64E_Block_7 +; Routine: Label_E6D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11145,11 +11157,11 @@ SubCE64E_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE64E_Block_7: +Label_E6D3: ldx #$06 ; CPU:$E6D3 PRG:26D3 A2 06 stx Zp0A ; CPU:$E6D5 PRG:26D5 86 0A ; ----------------------------------------------------------------------------- -; Routine: SubCE6D7 +; Routine: Label_E6D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11157,17 +11169,17 @@ SubCE64E_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE6D7: +Label_E6D7: lda #$22 ; CPU:$E6D7 PRG:26D7 A9 22 sta $02A2,y ; CPU:$E6D9 PRG:26D9 99 A2 02 ldx Zp0A ; CPU:$E6DC PRG:26DC A6 0A lda $E4BB,x ; CPU:$E6DE PRG:26DE BD BB E4 cpx #$03 ; CPU:$E6E1 PRG:26E1 E0 03 - beq SubCE6D7_Block ; CPU:$E6E3 PRG:26E3 F0 04 + beq Label_E6E9 ; CPU:$E6E3 PRG:26E3 F0 04 cpx #$04 ; CPU:$E6E5 PRG:26E5 E0 04 - bne SubCE6D7_Block_3 ; CPU:$E6E7 PRG:26E7 D0 08 + bne Label_E6F1 ; CPU:$E6E7 PRG:26E7 D0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCE6D7_Block +; Routine: Label_E6E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11175,13 +11187,13 @@ SubCE6D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE6D7_Block: +Label_E6E9: ldx Zp0E ; CPU:$E6E9 PRG:26E9 A6 0E cpx #$E0 ; CPU:$E6EB PRG:26EB E0 E0 - beq SubCE6D7_Block_3 ; CPU:$E6ED PRG:26ED F0 02 + beq Label_E6F1 ; CPU:$E6ED PRG:26ED F0 02 lda #$FF ; CPU:$E6EF PRG:26EF A9 FF ; ----------------------------------------------------------------------------- -; Routine: SubCE6D7_Block_3 +; Routine: Label_E6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11189,12 +11201,12 @@ SubCE6D7_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE6D7_Block_3: +Label_E6F1: sta $02A1,y ; CPU:$E6F1 PRG:26F1 99 A1 02 jsr $E881 ; CPU:$E6F4 PRG:26F4 20 81 E8 lda Zp90 ; CPU:$E6F7 PRG:26F7 A5 90 sec ; CPU:$E6F9 PRG:26F9 38 - sbc Zp00 ; CPU:$E6FA PRG:26FA E5 00 + sbc PtrLo ; CPU:$E6FA PRG:26FA E5 00 tax ; CPU:$E6FC PRG:26FC AA inx ; CPU:$E6FD PRG:26FD E8 lda $E4B7,x ; CPU:$E6FE PRG:26FE BD B7 E4 @@ -11204,15 +11216,15 @@ SubCE6D7_Block_3: iny ; CPU:$E706 PRG:2706 C8 iny ; CPU:$E707 PRG:2707 C8 dec Zp0A ; CPU:$E708 PRG:2708 C6 0A - beq SubCE6D7_Block_4 ; CPU:$E70A PRG:270A F0 1A + beq Label_E726 ; CPU:$E70A PRG:270A F0 1A lda Zp0A ; CPU:$E70C PRG:270C A5 0A cmp #$03 ; CPU:$E70E PRG:270E C9 03 - bne SubCE6D7 ; CPU:$E710 PRG:2710 D0 C5 + bne Label_E6D7 ; CPU:$E710 PRG:2710 D0 C5 lda Zp03 ; CPU:$E712 PRG:2712 A5 03 - sta Zp01 ; CPU:$E714 PRG:2714 85 01 + sta PtrHi ; CPU:$E714 PRG:2714 85 01 jmp $E6D7 ; CPU:$E716 PRG:2716 4C D7 E6 ; ----------------------------------------------------------------------------- -; Routine: SubCE719 +; Routine: Label_E719 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11220,13 +11232,13 @@ SubCE6D7_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE719: +Label_E719: lda Zp59 ; CPU:$E719 PRG:2719 A5 59 and #$1F ; CPU:$E71B PRG:271B 29 1F tax ; CPU:$E71D PRG:271D AA lda #$F9 ; CPU:$E71E PRG:271E A9 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCE719_Block +; Routine: Label_E720 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11234,13 +11246,13 @@ SubCE719: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE719_Block: +Label_E720: clc ; CPU:$E720 PRG:2720 18 adc #$07 ; CPU:$E721 PRG:2721 69 07 dex ; CPU:$E723 PRG:2723 CA - bpl SubCE719_Block ; CPU:$E724 PRG:2724 10 FA + bpl Label_E720 ; CPU:$E724 PRG:2724 10 FA ; ----------------------------------------------------------------------------- -; Routine: SubCE6D7_Block_4 +; Routine: Label_E726 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11248,13 +11260,13 @@ SubCE719_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE6D7_Block_4: +Label_E726: rts ; CPU:$E726 PRG:2726 60 ; ---- data $E727-$E72A (4 bytes) ---- ; referenced by `lda $E727,x` at $E775 (operand $E727 falls inside this region) .byte $D3, $8C, $CD, $8F ; CPU:$E727 PRG:2727 D3 8C CD 8F ; ----------------------------------------------------------------------------- -; Routine: SubCE72B +; Routine: Label_E72B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11262,22 +11274,22 @@ SubCE6D7_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B: +Label_E72B: lda Zp59 ; CPU:$E72B PRG:272B A5 59 tax ; CPU:$E72D PRG:272D AA and #$0F ; CPU:$E72E PRG:272E 29 0F tay ; CPU:$E730 PRG:2730 A8 lda $E492,y ; CPU:$E731 PRG:2731 B9 92 E4 - sta Zp00 ; CPU:$E734 PRG:2734 85 00 + sta PtrLo ; CPU:$E734 PRG:2734 85 00 lda $E482,y ; CPU:$E736 PRG:2736 B9 82 E4 - sta Zp01 ; CPU:$E739 PRG:2739 85 01 + sta PtrHi ; CPU:$E739 PRG:2739 85 01 lda $E472,y ; CPU:$E73B PRG:273B B9 72 E4 - sta Zp02 ; CPU:$E73E PRG:273E 85 02 + sta Ptr2Lo ; CPU:$E73E PRG:273E 85 02 lda $E462,y ; CPU:$E740 PRG:2740 B9 62 E4 sta Zp03 ; CPU:$E743 PRG:2743 85 03 ldy #$07 ; CPU:$E745 PRG:2745 A0 07 ; ----------------------------------------------------------------------------- -; Routine: SubCE72B_Block_5 +; Routine: Label_E747 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11285,11 +11297,11 @@ SubCE72B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B_Block_5: +Label_E747: lda #$00 ; CPU:$E747 PRG:2747 A9 00 ldx #$03 ; CPU:$E749 PRG:2749 A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE72B_Block +; Routine: Label_E74B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11297,21 +11309,21 @@ SubCE72B_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B_Block: - lsr Zp00,x ; CPU:$E74B PRG:274B 56 00 +Label_E74B: + lsr PtrLo,x ; CPU:$E74B PRG:274B 56 00 rol a ; CPU:$E74D PRG:274D 2A dex ; CPU:$E74E PRG:274E CA - bpl SubCE72B_Block ; CPU:$E74F PRG:274F 10 FA + bpl Label_E74B ; CPU:$E74F PRG:274F 10 FA pha ; CPU:$E751 PRG:2751 48 iny ; CPU:$E752 PRG:2752 C8 jsr $E64E ; CPU:$E753 PRG:2753 20 4E E6 dey ; CPU:$E756 PRG:2756 88 cmp #$A0 ; CPU:$E757 PRG:2757 C9 A0 pla ; CPU:$E759 PRG:2759 68 - bcc SubCE72B_Block_2 ; CPU:$E75A PRG:275A 90 02 + bcc Label_E75E ; CPU:$E75A PRG:275A 90 02 lda #$00 ; CPU:$E75C PRG:275C A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE72B_Block_2 +; Routine: Label_E75E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11319,15 +11331,15 @@ SubCE72B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B_Block_2: +Label_E75E: sta a:Zp04,y ; CPU:$E75E PRG:275E 99 04 00 lda Zp0C ; CPU:$E761 PRG:2761 A5 0C tax ; CPU:$E763 PRG:2763 AA and #$E0 ; CPU:$E764 PRG:2764 29 E0 cmp #$A0 ; CPU:$E766 PRG:2766 C9 A0 - bcs SubCE72B_Block_3 ; CPU:$E768 PRG:2768 B0 12 + bcs Label_E77C ; CPU:$E768 PRG:2768 B0 12 and #$70 ; CPU:$E76A PRG:276A 29 70 - beq SubCE72B_Block_4 ; CPU:$E76C PRG:276C F0 0B + beq Label_E779 ; CPU:$E76C PRG:276C F0 0B txa ; CPU:$E76E PRG:276E 8A lsr a ; CPU:$E76F PRG:276F 4A lsr a ; CPU:$E770 PRG:2770 4A @@ -11338,7 +11350,7 @@ SubCE72B_Block_2: ; ---- data $E778-$E778 (1 bytes) ---- .byte $2C ; CPU:$E778 PRG:2778 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE72B_Block_4 +; Routine: Label_E779 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11346,12 +11358,12 @@ SubCE72B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B_Block_4: +Label_E779: lda #$00 ; CPU:$E779 PRG:2779 A9 00 ; ---- data $E77B-$E77B (1 bytes) ---- .byte $2C ; CPU:$E77B PRG:277B 2C ; ----------------------------------------------------------------------------- -; Routine: SubCE72B_Block_3 +; Routine: Label_E77C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11359,11 +11371,11 @@ SubCE72B_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE72B_Block_3: +Label_E77C: lda #$01 ; CPU:$E77C PRG:277C A9 01 sta $0630,y ; CPU:$E77E PRG:277E 99 30 06 dey ; CPU:$E781 PRG:2781 88 - bne SubCE72B_Block_5 ; CPU:$E782 PRG:2782 D0 C3 + bne Label_E747 ; CPU:$E782 PRG:2782 D0 C3 lda #$01 ; CPU:$E784 PRG:2784 A9 01 sta Zp04 ; CPU:$E786 PRG:2786 85 04 lsr a ; CPU:$E788 PRG:2788 4A @@ -11374,7 +11386,7 @@ SubCE72B_Block_3: ; referenced by `ldx $E78D,y` at $E81C (operand $E78D falls inside this region) .byte $21, $4E, $20, $4D, $42, $42, $42, $42, $42, $48, $4E, $9D, $9D, $9D, $9D, $9D ; CPU:$E78D PRG:278D 21 4E 20 4D 42 42 42 42 42 48 4E 9D 9D 9D 9D 9D ; ----------------------------------------------------------------------------- -; Routine: SubCE79D +; Routine: Label_E79D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11382,11 +11394,11 @@ SubCE72B_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE79D: +Label_E79D: lda #$08 ; CPU:$E79D PRG:279D A9 08 sta Zp0F ; CPU:$E79F PRG:279F 85 0F ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1 +; Routine: Label_E7A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11394,17 +11406,17 @@ SubCE79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1: +Label_E7A1: ldy Zp0F ; CPU:$E7A1 PRG:27A1 A4 0F cpy #$01 ; CPU:$E7A3 PRG:27A3 C0 01 - beq SubCE7A1_Block_2 ; CPU:$E7A5 PRG:27A5 F0 0B + beq Label_E7B2 ; CPU:$E7A5 PRG:27A5 F0 0B jsr $E64E ; CPU:$E7A7 PRG:27A7 20 4E E6 cmp #$81 ; CPU:$E7AA PRG:27AA C9 81 - bcc SubCE7A1_Block_2 ; CPU:$E7AC PRG:27AC 90 04 + bcc Label_E7B2 ; CPU:$E7AC PRG:27AC 90 04 lda #$01 ; CPU:$E7AE PRG:27AE A9 01 - bne SubCE7A1_Block_3 ; CPU:$E7B0 PRG:27B0 D0 06 + bne Label_E7B8 ; CPU:$E7B0 PRG:27B0 D0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_2 +; Routine: Label_E7B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11412,12 +11424,12 @@ SubCE7A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_2: +Label_E7B2: lda #$A4 ; CPU:$E7B2 PRG:27B2 A9 A4 sta Zp04 ; CPU:$E7B4 PRG:27B4 85 04 lda #$00 ; CPU:$E7B6 PRG:27B6 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_3 +; Routine: Label_E7B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11425,17 +11437,17 @@ SubCE7A1_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_3: +Label_E7B8: sta Zp0D ; CPU:$E7B8 PRG:27B8 85 0D ldx Zp0F ; CPU:$E7BA PRG:27BA A6 0F lda $D78B,x ; CPU:$E7BC PRG:27BC BD 8B D7 - sta Zp01 ; CPU:$E7BF PRG:27BF 85 01 + sta PtrHi ; CPU:$E7BF PRG:27BF 85 01 lda $D794,x ; CPU:$E7C1 PRG:27C1 BD 94 D7 - sta Zp00 ; CPU:$E7C4 PRG:27C4 85 00 + sta PtrLo ; CPU:$E7C4 PRG:27C4 85 00 ldy #$00 ; CPU:$E7C6 PRG:27C6 A0 00 sty $066C ; CPU:$E7C8 PRG:27C8 8C 6C 06 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_8 +; Routine: Label_E7CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11443,21 +11455,21 @@ SubCE7A1_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_8: +Label_E7CB: lda #$86 ; CPU:$E7CB PRG:27CB A9 86 sta $0602,y ; CPU:$E7CD PRG:27CD 99 02 06 - lda Zp00 ; CPU:$E7D0 PRG:27D0 A5 00 + lda PtrLo ; CPU:$E7D0 PRG:27D0 A5 00 sta $0601,y ; CPU:$E7D2 PRG:27D2 99 01 06 - lda Zp01 ; CPU:$E7D5 PRG:27D5 A5 01 + lda PtrHi ; CPU:$E7D5 PRG:27D5 A5 01 sta $0600,y ; CPU:$E7D7 PRG:27D7 99 00 06 - inc Zp00 ; CPU:$E7DA PRG:27DA E6 00 + inc PtrLo ; CPU:$E7DA PRG:27DA E6 00 ldx Zp0D ; CPU:$E7DC PRG:27DC A6 0D - beq SubCE7A1_Block_4 ; CPU:$E7DE PRG:27DE F0 07 + beq Label_E7E7 ; CPU:$E7DE PRG:27DE F0 07 lda $E790,x ; CPU:$E7E0 PRG:27E0 BD 90 E7 sta Zp04 ; CPU:$E7E3 PRG:27E3 85 04 inc Zp0D ; CPU:$E7E5 PRG:27E5 E6 0D ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_4 +; Routine: Label_E7E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11465,19 +11477,19 @@ SubCE7A1_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_4: +Label_E7E7: ldx #$06 ; CPU:$E7E7 PRG:27E7 A2 06 iny ; CPU:$E7E9 PRG:27E9 C8 iny ; CPU:$E7EA PRG:27EA C8 iny ; CPU:$E7EB PRG:27EB C8 cpy #$30 ; CPU:$E7EC PRG:27EC C0 30 - bne SubCE7A1_Block_7 ; CPU:$E7EE PRG:27EE D0 07 - lda Zp00 ; CPU:$E7F0 PRG:27F0 A5 00 + bne Label_E7F7 ; CPU:$E7EE PRG:27EE D0 07 + lda PtrLo ; CPU:$E7F0 PRG:27F0 A5 00 clc ; CPU:$E7F2 PRG:27F2 18 adc #$14 ; CPU:$E7F3 PRG:27F3 69 14 - sta Zp00 ; CPU:$E7F5 PRG:27F5 85 00 + sta PtrLo ; CPU:$E7F5 PRG:27F5 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_7 +; Routine: Label_E7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11485,20 +11497,20 @@ SubCE7A1_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_7: +Label_E7F7: lda Zp04 ; CPU:$E7F7 PRG:27F7 A5 04 sta $0600,y ; CPU:$E7F9 PRG:27F9 99 00 06 inc Zp04 ; CPU:$E7FC PRG:27FC E6 04 iny ; CPU:$E7FE PRG:27FE C8 cpy #$6C ; CPU:$E7FF PRG:27FF C0 6C - beq SubCE7A1_Block_6 ; CPU:$E801 PRG:2801 F0 0A + beq Label_E80D ; CPU:$E801 PRG:2801 F0 0A dex ; CPU:$E803 PRG:2803 CA - bne SubCE7A1_Block_7 ; CPU:$E804 PRG:2804 D0 F1 + bne Label_E7F7 ; CPU:$E804 PRG:2804 D0 F1 lda #$EB ; CPU:$E806 PRG:2806 A9 EB sta $05FF,y ; CPU:$E808 PRG:2808 99 FF 05 - bne SubCE7A1_Block_8 ; CPU:$E80B PRG:280B D0 BE + bne Label_E7CB ; CPU:$E80B PRG:280B D0 BE ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_6 +; Routine: Label_E80D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11506,14 +11518,14 @@ SubCE7A1_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_6: +Label_E80D: lda Zp0F ; CPU:$E80D PRG:280D A5 0F asl a ; CPU:$E80F PRG:280F 0A clc ; CPU:$E810 PRG:2810 18 adc #$EA ; CPU:$E811 PRG:2811 69 EA ldy #$03 ; CPU:$E813 PRG:2813 A0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_10 +; Routine: Label_E815 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11521,13 +11533,13 @@ SubCE7A1_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_10: +Label_E815: cpy #$01 ; CPU:$E815 PRG:2815 C0 01 - bne SubCE7A1_Block_9 ; CPU:$E817 PRG:2817 D0 03 + bne Label_E81C ; CPU:$E817 PRG:2817 D0 03 clc ; CPU:$E819 PRG:2819 18 adc #$01 ; CPU:$E81A PRG:281A 69 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_9 +; Routine: Label_E81C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11535,20 +11547,20 @@ SubCE7A1_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_9: +Label_E81C: ldx $E78D,y ; CPU:$E81C PRG:281C BE 8D E7 sta $0600,x ; CPU:$E81F PRG:281F 9D 00 06 dey ; CPU:$E822 PRG:2822 88 - bpl SubCE7A1_Block_10 ; CPU:$E823 PRG:2823 10 F0 + bpl Label_E815 ; CPU:$E823 PRG:2823 10 F0 lda Zp0F ; CPU:$E825 PRG:2825 A5 0F cmp #$06 ; CPU:$E827 PRG:2827 C9 06 - bpl SubCE7A1_Block_11 ; CPU:$E829 PRG:2829 10 4A + bpl Label_E875 ; CPU:$E829 PRG:2829 10 4A ldy #$08 ; CPU:$E82B PRG:282B A0 08 cmp #$03 ; CPU:$E82D PRG:282D C9 03 - bpl SubCE7A1_Block_12 ; CPU:$E82F PRG:282F 10 02 + bpl Label_E833 ; CPU:$E82F PRG:282F 10 02 ldy #$10 ; CPU:$E831 PRG:2831 A0 10 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_12 +; Routine: Label_E833 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11556,11 +11568,11 @@ SubCE7A1_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_12: +Label_E833: sty Zp0A ; CPU:$E833 PRG:2833 84 0A ldx #$05 ; CPU:$E835 PRG:2835 A2 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_14 +; Routine: Label_E837 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11568,7 +11580,7 @@ SubCE7A1_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_14: +Label_E837: ldy Zp0A ; CPU:$E837 PRG:2837 A4 0A lda #$38 ; CPU:$E839 PRG:2839 A9 38 sta Zp06 ; CPU:$E83B PRG:283B 85 06 @@ -11576,7 +11588,7 @@ SubCE7A1_Block_14: sta Zp08 ; CPU:$E83F PRG:283F 85 08 sta Zp09 ; CPU:$E841 PRG:2841 85 09 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_13 +; Routine: Label_E843 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11584,7 +11596,7 @@ SubCE7A1_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_13: +Label_E843: ror Zp06 ; CPU:$E843 PRG:2843 66 06 ror Zp07 ; CPU:$E845 PRG:2845 66 07 ror $0639,x ; CPU:$E847 PRG:2847 7E 39 06 @@ -11602,11 +11614,11 @@ SubCE7A1_Block_13: rol $060C,x ; CPU:$E869 PRG:2869 3E 0C 06 rol $0603,x ; CPU:$E86C PRG:286C 3E 03 06 dey ; CPU:$E86F PRG:286F 88 - bne SubCE7A1_Block_13 ; CPU:$E870 PRG:2870 D0 D1 + bne Label_E843 ; CPU:$E870 PRG:2870 D0 D1 dex ; CPU:$E872 PRG:2872 CA - bpl SubCE7A1_Block_14 ; CPU:$E873 PRG:2873 10 C2 + bpl Label_E837 ; CPU:$E873 PRG:2873 10 C2 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_11 +; Routine: Label_E875 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11614,14 +11626,14 @@ SubCE7A1_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_11: +Label_E875: ldx #$09 ; CPU:$E875 PRG:2875 A2 09 jsr $C150 ; CPU:$E877 PRG:2877 20 50 C1 dec Zp0F ; CPU:$E87A PRG:287A C6 0F - beq SubCE7A1_Block_15 ; CPU:$E87C PRG:287C F0 0D + beq Label_E88B ; CPU:$E87C PRG:287C F0 0D jmp $E7A1 ; CPU:$E87E PRG:287E 4C A1 E7 ; ----------------------------------------------------------------------------- -; Routine: SubCE881 +; Routine: Label_E881 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11629,14 +11641,14 @@ SubCE7A1_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE881: - lda Zp01 ; CPU:$E881 PRG:2881 A5 01 +Label_E881: + lda PtrHi ; CPU:$E881 PRG:2881 A5 01 sta $02A3,y ; CPU:$E883 PRG:2883 99 A3 02 clc ; CPU:$E886 PRG:2886 18 adc #$08 ; CPU:$E887 PRG:2887 69 08 - sta Zp01 ; CPU:$E889 PRG:2889 85 01 + sta PtrHi ; CPU:$E889 PRG:2889 85 01 ; ----------------------------------------------------------------------------- -; Routine: SubCE7A1_Block_15 +; Routine: Label_E88B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11644,7 +11656,7 @@ SubCE881: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE7A1_Block_15: +Label_E88B: rts ; CPU:$E88B PRG:288B 60 ; ---- data $E88C-$E998 (269 bytes) ---- ; referenced by `lda $E8CB,x` at $E9A0 (operand $E8CB falls inside this region) @@ -11652,6 +11664,7 @@ SubCE7A1_Block_15: ; referenced by `lda $E8CF,x` at $E9B3 (operand $E8CF falls inside this region) ; referenced by `lda $E8C3,x` at $E9BA (operand $E8C3 falls inside this region) ; referenced by `lda $E8DE,y` at $EA58 (operand $E8DE falls inside this region) + EnemySpriteData: ; Enemy sprite data (SubCE7A1/SubCE881) .byte $FF, $00, $05, $A2, $01, $B5, $22, $D0, $16, $B5, $20, $30, $12, $BC, $8D, $E8 ; CPU:$E88C PRG:288C FF 00 05 A2 01 B5 22 D0 16 B5 20 30 12 BC 8D E8 .byte $B9, $61, $03, $F0, $0A, $A5, $56, $C9, $04, $D0, $04, $95, $22, $F6, $20, $CA ; CPU:$E89C PRG:289C B9 61 03 F0 0A A5 56 C9 04 D0 04 95 22 F6 20 CA .byte $10, $E3, $60, $21, $67, $07, $38, $38, $00, $00, $5C, $38, $00, $21, $75, $07 ; CPU:$E8AC PRG:28AC 10 E3 60 21 67 07 38 38 00 00 5C 38 00 21 75 07 @@ -11670,7 +11683,7 @@ SubCE7A1_Block_15: .byte $0A, $AA, $E0, $0B, $90, $CA, $A6, $58, $D0, $03, $8E, $0B, $03, $AC, $A3, $03 ; CPU:$E97C PRG:297C 0A AA E0 0B 90 CA A6 58 D0 03 8E 0B 03 AC A3 03 .byte $88, $D0, $0A, $A5, $20, $C9, $80, $D0, $04, $8C, $01, $03, $60 ; CPU:$E98C PRG:298C 88 D0 0A A5 20 C9 80 D0 04 8C 01 03 60 ; ----------------------------------------------------------------------------- -; Routine: SubCE881_Block_3 +; Routine: Label_E999 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11678,17 +11691,17 @@ SubCE7A1_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE881_Block_3: +Label_E999: txa ; CPU:$E999 PRG:2999 8A stx Zp06 ; CPU:$E99A PRG:299A 86 06 pha ; CPU:$E99C PRG:299C 48 ldx $03A3 ; CPU:$E99D PRG:299D AE A3 03 lda $E8CB,x ; CPU:$E9A0 PRG:29A0 BD CB E8 cpx #$01 ; CPU:$E9A3 PRG:29A3 E0 01 - bne SubCE881_Block ; CPU:$E9A5 PRG:29A5 D0 03 + bne Label_E9AA ; CPU:$E9A5 PRG:29A5 D0 03 lda $05FE ; CPU:$E9A7 PRG:29A7 AD FE 05 ; ----------------------------------------------------------------------------- -; Routine: SubCE881_Block +; Routine: Label_E9AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11696,10 +11709,10 @@ SubCE881_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE881_Block: - sta Zp02 ; CPU:$E9AA PRG:29AA 85 02 +Label_E9AA: + sta Ptr2Lo ; CPU:$E9AA PRG:29AA 85 02 lda $E8C7,x ; CPU:$E9AC PRG:29AC BD C7 E8 - sta Zp01 ; CPU:$E9AF PRG:29AF 85 01 + sta PtrHi ; CPU:$E9AF PRG:29AF 85 01 sta Zp0E ; CPU:$E9B1 PRG:29B1 85 0E lda $E8CF,x ; CPU:$E9B3 PRG:29B3 BD CF E8 clc ; CPU:$E9B6 PRG:29B6 18 @@ -11707,10 +11720,10 @@ SubCE881_Block: tay ; CPU:$E9B9 PRG:29B9 A8 lda $E8C3,x ; CPU:$E9BA PRG:29BA BD C3 E8 ldx Zp06 ; CPU:$E9BD PRG:29BD A6 06 - beq SubCE881_Block_2 ; CPU:$E9BF PRG:29BF F0 02 + beq Label_E9C3 ; CPU:$E9BF PRG:29BF F0 02 adc #$70 ; CPU:$E9C1 PRG:29C1 69 70 ; ----------------------------------------------------------------------------- -; Routine: SubCE881_Block_2 +; Routine: Label_E9C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11718,10 +11731,10 @@ SubCE881_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE881_Block_2: - sta Zp00 ; CPU:$E9C3 PRG:29C3 85 00 +Label_E9C3: + sta PtrLo ; CPU:$E9C3 PRG:29C3 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCE9C5 +; Routine: Label_E9C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11729,14 +11742,15 @@ SubCE881_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCE9C5: +Label_E9C5: jsr $EAFC ; CPU:$E9C5 PRG:29C5 20 FC EA pla ; CPU:$E9C8 PRG:29C8 68 tax ; CPU:$E9C9 PRG:29C9 AA dex ; CPU:$E9CA PRG:29CA CA - bpl SubCE881_Block_3 ; CPU:$E9CB PRG:29CB 10 CC + bpl Label_E999 ; CPU:$E9CB PRG:29CB 10 CC rts ; CPU:$E9CD PRG:29CD 60 ; ---- data $E9CE-$EA48 (123 bytes) ---- + EnemyAnimData1: ; Enemy animation data 1 (SubCE9C5) .byte $B9, $60, $03, $19, $65, $03, $F0, $64, $A5, $58, $85, $0E, $98, $AA, $48, $BD ; CPU:$E9CE PRG:29CE B9 60 03 19 65 03 F0 64 A5 58 85 0E 98 AA 48 BD .byte $60, $03, $F0, $44, $DE, $60, $03, $B9, $D9, $E8, $C0, $01, $D0, $09, $20, $8E ; CPU:$E9DE PRG:29DE 60 03 F0 44 DE 60 03 B9 D9 E8 C0 01 D0 09 20 8E .byte $EA, $C0, $05, $90, $02, $A9, $08, $E0, $05, $69, $00, $85, $01, $AC, $A3, $03 ; CPU:$E9EE PRG:29EE EA C0 05 90 02 A9 08 E0 05 69 00 85 01 AC A3 03 @@ -11746,7 +11760,7 @@ SubCE9C5: .byte $0E, $10, $AA, $A9, $08, $85, $FE, $A5, $58, $4C, $E0, $C8, $C0, $04, $90, $04 ; CPU:$EA2E PRG:2A2E 0E 10 AA A9 08 85 FE A5 58 4C E0 C8 C0 04 90 04 .byte $A2, $10, $86, $45, $EE, $A3, $03, $A9, $40, $85, $34 ; CPU:$EA3E PRG:2A3E A2 10 86 45 EE A3 03 A9 40 85 34 ; ----------------------------------------------------------------------------- -; Routine: SubCEA4A_Block +; Routine: Label_EA49 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11754,10 +11768,10 @@ SubCE9C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA4A_Block: +Label_EA49: rts ; CPU:$EA49 PRG:2A49 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEA4A +; Routine: Label_EA4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11765,10 +11779,10 @@ SubCEA4A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA4A: +Label_EA4A: ldy #$00 ; CPU:$EA4A PRG:2A4A A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCEA4A_Block_2 +; Routine: Label_EA4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11776,14 +11790,14 @@ SubCEA4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA4A_Block_2: +Label_EA4C: cmp #$0A ; CPU:$EA4C PRG:2A4C C9 0A - bcc SubCEA4A_Block ; CPU:$EA4E PRG:2A4E 90 F9 + bcc Label_EA49 ; CPU:$EA4E PRG:2A4E 90 F9 sbc #$0A ; CPU:$EA50 PRG:2A50 E9 0A iny ; CPU:$EA52 PRG:2A52 C8 - bne SubCEA4A_Block_2 ; CPU:$EA53 PRG:2A53 D0 F7 + bne Label_EA4C ; CPU:$EA53 PRG:2A53 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: SubCEA55 +; Routine: Label_EA55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11791,17 +11805,18 @@ SubCEA4A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA55: +Label_EA55: jsr $EA8E ; CPU:$EA55 PRG:2A55 20 8E EA lda $E8DE,y ; CPU:$EA58 PRG:2A58 B9 DE E8 rts ; CPU:$EA5B PRG:2A5B 60 ; ---- data $EA5C-$EA8D (50 bytes) ---- + EnemyAnimData2: ; Enemy animation data 2 (SubCEA55) .byte $AC, $A3, $03, $C0, $01, $F0, $0B, $C0, $04, $F0, $17, $B9, $D6, $E8, $9D, $05 ; CPU:$EA5C PRG:2A5C AC A3 03 C0 01 F0 0B C0 04 F0 17 B9 D6 E8 9D 05 .byte $03, $60, $20, $55, $EA, $20, $4A, $EA, $9D, $05, $03, $98, $F0, $03, $9D, $04 ; CPU:$EA6C PRG:2A6C 03 60 20 55 EA 20 4A EA 9D 05 03 98 F0 03 9D 04 .byte $03, $60, $20, $97, $EA, $20, $4A, $EA, $9D, $06, $03, $98, $F0, $03, $9D, $05 ; CPU:$EA7C PRG:2A7C 03 60 20 97 EA 20 4A EA 9D 06 03 98 F0 03 9D 05 .byte $03, $60 ; CPU:$EA8C PRG:2A8C 03 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEA8E +; Routine: Label_EA8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11809,13 +11824,13 @@ SubCEA55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA8E: +Label_EA8E: ldy Zp56 ; CPU:$EA8E PRG:2A8E A4 56 cpy #$0A ; CPU:$EA90 PRG:2A90 C0 0A - bcc SubCEA8E_Block ; CPU:$EA92 PRG:2A92 90 02 + bcc Label_EA96 ; CPU:$EA92 PRG:2A92 90 02 ldy #$09 ; CPU:$EA94 PRG:2A94 A0 09 ; ----------------------------------------------------------------------------- -; Routine: SubCEA8E_Block +; Routine: Label_EA96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11823,10 +11838,10 @@ SubCEA8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA8E_Block: +Label_EA96: rts ; CPU:$EA96 PRG:2A96 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEA97 +; Routine: Label_EA97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11834,15 +11849,15 @@ SubCEA8E_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA97: +Label_EA97: ldy Zp59 ; CPU:$EA97 PRG:2A97 A4 59 iny ; CPU:$EA99 PRG:2A99 C8 tya ; CPU:$EA9A PRG:2A9A 98 cmp #$21 ; CPU:$EA9B PRG:2A9B C9 21 - bcc SubCEA8E_Block_2 ; CPU:$EA9D PRG:2A9D 90 02 + bcc Label_EAA1 ; CPU:$EA9D PRG:2A9D 90 02 sbc #$20 ; CPU:$EA9F PRG:2A9F E9 20 ; ----------------------------------------------------------------------------- -; Routine: SubCEA8E_Block_2 +; Routine: Label_EAA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11850,13 +11865,14 @@ SubCEA97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEA8E_Block_2: +Label_EAA1: rts ; CPU:$EAA1 PRG:2AA1 60 ; ---- data $EAA2-$EAFB (90 bytes) ---- ; referenced by `lda $EABF,y` at $EB03 (operand $EABF falls inside this region) ; referenced by `lda $EADD,y` at $EB0E (operand $EADD falls inside this region) ; referenced by `lda $EAA2,x` at $EB9C (operand $EAA2 falls inside this region) ; referenced by `lda $EAA2,x` at $EC48 (operand $EAA2 falls inside this region) + EnemyAnimData3: ; Enemy animation data 3 (SubCEA8E/SubCEAFC) .byte $00, $24, $60, $40, $70, $88, $A0, $80, $98, $B0, $1C, $20, $E0, $40, $60, $70 ; CPU:$EAA2 PRG:2AA2 00 24 60 40 70 88 A0 80 98 B0 1C 20 E0 40 60 70 .byte $80, $90, $A0, $B0, $5C, $6C, $7C, $40, $48, $50, $1C, $20, $00, $20, $00, $55 ; CPU:$EAB2 PRG:2AB2 80 90 A0 B0 5C 6C 7C 40 48 50 1C 20 00 20 00 55 .byte $55, $55, $00, $00, $00, $AA, $AA, $AA, $00, $55, $FF, $AA, $FF, $FF, $FF, $FF ; CPU:$EAC2 PRG:2AC2 55 55 00 00 00 AA AA AA 00 55 FF AA FF FF FF FF @@ -11864,7 +11880,7 @@ SubCEA8E_Block_2: .byte $22, $22, $22, $21, $21, $21, $11, $11, $22, $24, $22, $22, $22, $22, $22, $22 ; CPU:$EAE2 PRG:2AE2 22 22 22 21 21 21 11 11 22 24 22 22 22 22 22 22 .byte $22, $22, $22, $21, $21, $21, $11, $11, $24, $24 ; CPU:$EAF2 PRG:2AF2 22 22 22 21 21 21 11 11 24 24 ; ----------------------------------------------------------------------------- -; Routine: SubCEAFC +; Routine: Label_EAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11872,7 +11888,7 @@ SubCEA8E_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEAFC: +Label_EAFC: sty Zp09 ; CPU:$EAFC PRG:2AFC 84 09 lda $EAA1,y ; CPU:$EAFE PRG:2AFE B9 A1 EA sta Zp04 ; CPU:$EB01 PRG:2B01 85 04 @@ -11887,7 +11903,7 @@ SubCEAFC: .byte $06, $06, $04, $08, $04, $04, $04, $02, $02, $02, $01, $01, $04, $06, $04, $04 ; CPU:$EB14 PRG:2B14 06 06 04 08 04 04 04 02 02 02 01 01 04 06 04 04 .byte $04, $04, $04, $04, $04, $04, $04, $02, $02, $02 ; CPU:$EB24 PRG:2B24 04 04 04 04 04 04 04 02 02 02 ; ----------------------------------------------------------------------------- -; Routine: SubCEB2E +; Routine: Label_EB2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11895,10 +11911,10 @@ SubCEAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB2E: +Label_EB2E: ldx #$0A ; CPU:$EB2E PRG:2B2E A2 0A ; ----------------------------------------------------------------------------- -; Routine: SubCEB5F_Block +; Routine: Label_EB30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11906,30 +11922,30 @@ SubCEB2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB5F_Block: +Label_EB30: lda $03E8,x ; CPU:$EB30 PRG:2B30 BD E8 03 - beq SubCEB2E_Block ; CPU:$EB33 PRG:2B33 F0 33 + beq Label_EB68 ; CPU:$EB33 PRG:2B33 F0 33 pha ; CPU:$EB35 PRG:2B35 48 and #$1F ; CPU:$EB36 PRG:2B36 29 1F - beq SubCEB2E_Block_2 ; CPU:$EB38 PRG:2B38 F0 28 + beq Label_EB62 ; CPU:$EB38 PRG:2B38 F0 28 tay ; CPU:$EB3A PRG:2B3A A8 pla ; CPU:$EB3B PRG:2B3B 68 - bmi SubCEB2E_Block_3 ; CPU:$EB3C PRG:2B3C 30 2E + bmi Label_EB6C ; CPU:$EB3C PRG:2B3C 30 2E and #$40 ; CPU:$EB3E PRG:2B3E 29 40 sta Zp0E ; CPU:$EB40 PRG:2B40 85 0E lda Zp9C,x ; CPU:$EB42 PRG:2B42 B5 9C - sta Zp00 ; CPU:$EB44 PRG:2B44 85 00 + sta PtrLo ; CPU:$EB44 PRG:2B44 85 00 lda ZpA7,x ; CPU:$EB46 PRG:2B46 B5 A7 - sta Zp01 ; CPU:$EB48 PRG:2B48 85 01 + sta PtrHi ; CPU:$EB48 PRG:2B48 85 01 lda $03DD,x ; CPU:$EB4A PRG:2B4A BD DD 03 - sta Zp02 ; CPU:$EB4D PRG:2B4D 85 02 + sta Ptr2Lo ; CPU:$EB4D PRG:2B4D 85 02 lda ZpBD,x ; CPU:$EB4F PRG:2B4F B5 BD - bpl SubCEB2E_Block_4 ; CPU:$EB51 PRG:2B51 10 03 + bpl Label_EB56 ; CPU:$EB51 PRG:2B51 10 03 lda #$00 ; CPU:$EB53 PRG:2B53 A9 00 ; ---- data $EB55-$EB55 (1 bytes) ---- .byte $2C ; CPU:$EB55 PRG:2B55 2C ; ----------------------------------------------------------------------------- -; Routine: SubCEB2E_Block_4 +; Routine: Label_EB56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11937,14 +11953,14 @@ SubCEB5F_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB2E_Block_4: +Label_EB56: lda #$01 ; CPU:$EB56 PRG:2B56 A9 01 sta Zp0F ; CPU:$EB58 PRG:2B58 85 0F txa ; CPU:$EB5A PRG:2B5A 8A pha ; CPU:$EB5B PRG:2B5B 48 jsr $EAFC ; CPU:$EB5C PRG:2B5C 20 FC EA ; ----------------------------------------------------------------------------- -; Routine: SubCEB5F +; Routine: Label_EB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11952,13 +11968,13 @@ SubCEB2E_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB5F: +Label_EB5F: pla ; CPU:$EB5F PRG:2B5F 68 tax ; CPU:$EB60 PRG:2B60 AA ; ---- data $EB61-$EB61 (1 bytes) ---- .byte $24 ; CPU:$EB61 PRG:2B61 24 ; ----------------------------------------------------------------------------- -; Routine: SubCEB2E_Block_2 +; Routine: Label_EB62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11966,12 +11982,12 @@ SubCEB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB2E_Block_2: +Label_EB62: pla ; CPU:$EB62 PRG:2B62 68 lda #$00 ; CPU:$EB63 PRG:2B63 A9 00 sta $03E8,x ; CPU:$EB65 PRG:2B65 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEB2E_Block +; Routine: Label_EB68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11979,11 +11995,11 @@ SubCEB2E_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB2E_Block: +Label_EB68: dex ; CPU:$EB68 PRG:2B68 CA - bpl SubCEB5F_Block ; CPU:$EB69 PRG:2B69 10 C5 + bpl Label_EB30 ; CPU:$EB69 PRG:2B69 10 C5 ; ----------------------------------------------------------------------------- -; Routine: SubCEB8A_Block_3 +; Routine: Label_EB6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11991,10 +12007,10 @@ SubCEB2E_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB8A_Block_3: +Label_EB6B: rts ; CPU:$EB6B PRG:2B6B 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEB2E_Block_3 +; Routine: Label_EB6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12002,7 +12018,7 @@ SubCEB8A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB2E_Block_3: +Label_EB6C: lda #$00 ; CPU:$EB6C PRG:2B6C A9 00 sta Zp91,x ; CPU:$EB6E PRG:2B6E 95 91 txa ; CPU:$EB70 PRG:2B70 8A @@ -12013,7 +12029,7 @@ SubCEB2E_Block_3: jsr $C821 ; CPU:$EB79 PRG:2B79 20 21 C8 jmp $EB5F ; CPU:$EB7C PRG:2B7C 4C 5F EB ; ----------------------------------------------------------------------------- -; Routine: SubCEB7F +; Routine: Label_EB7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12021,14 +12037,14 @@ SubCEB2E_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB7F: +Label_EB7F: ldx #$00 ; CPU:$EB7F PRG:2B7F A2 00 jsr $EB8A ; CPU:$EB81 PRG:2B81 20 8A EB lda Zp58 ; CPU:$EB84 PRG:2B84 A5 58 - beq SubCEB8A_Block_3 ; CPU:$EB86 PRG:2B86 F0 E3 + beq Label_EB6B ; CPU:$EB86 PRG:2B86 F0 E3 ldx #$01 ; CPU:$EB88 PRG:2B88 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCEB8A +; Routine: Label_EB8A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12036,11 +12052,11 @@ SubCEB7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB8A: - lda Zp5A,x ; CPU:$EB8A PRG:2B8A B5 5A - bne SubCEB8A_Block_3 ; CPU:$EB8C PRG:2B8C D0 DD +Label_EB8A: + lda SprData,x ; CPU:$EB8A PRG:2B8A B5 5A + bne Label_EB6B ; CPU:$EB8C PRG:2B8C D0 DD lda Zp20,x ; CPU:$EB8E PRG:2B8E B5 20 - bmi SubCEB8A_Block_3 ; CPU:$EB90 PRG:2B90 30 D9 + bmi Label_EB6B ; CPU:$EB90 PRG:2B90 30 D9 txa ; CPU:$EB92 PRG:2B92 8A pha ; CPU:$EB93 PRG:2B93 48 asl a ; CPU:$EB94 PRG:2B94 0A @@ -12054,7 +12070,7 @@ SubCEB8A: pla ; CPU:$EBA4 PRG:2BA4 68 tax ; CPU:$EBA5 PRG:2BA5 AA lda Zp3F,x ; CPU:$EBA6 PRG:2BA6 B5 3F - bne SubCEB8A_Block_3 ; CPU:$EBA8 PRG:2BA8 D0 C1 + bne Label_EB6B ; CPU:$EBA8 PRG:2BA8 D0 C1 jsr $CFEB ; CPU:$EBAA PRG:2BAA 20 EB CF sta ZpE0,x ; CPU:$EBAD PRG:2BAD 95 E0 sta Zp80,x ; CPU:$EBAF PRG:2BAF 95 80 @@ -12064,16 +12080,16 @@ SubCEB8A: lda Zp90 ; CPU:$EBB7 PRG:2BB7 A5 90 sec ; CPU:$EBB9 PRG:2BB9 38 sbc #$03 ; CPU:$EBBA PRG:2BBA E9 03 - sta Zp00 ; CPU:$EBBC PRG:2BBC 85 00 + sta PtrLo ; CPU:$EBBC PRG:2BBC 85 00 lda $0382,x ; CPU:$EBBE PRG:2BBE BD 82 03 cmp Zp90 ; CPU:$EBC1 PRG:2BC1 C5 90 - bcs SubCEB8A_Block_4 ; CPU:$EBC3 PRG:2BC3 B0 09 - cmp Zp00 ; CPU:$EBC5 PRG:2BC5 C5 00 - bcs SubCEBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A - lda Zp00 ; CPU:$EBC9 PRG:2BC9 A5 00 + bcs Label_EBCE ; CPU:$EBC3 PRG:2BC3 B0 09 + cmp PtrLo ; CPU:$EBC5 PRG:2BC5 C5 00 + bcs Label_EBD3 ; CPU:$EBC7 PRG:2BC7 B0 0A + lda PtrLo ; CPU:$EBC9 PRG:2BC9 A5 00 jmp $EBD3 ; CPU:$EBCB PRG:2BCB 4C D3 EB ; ----------------------------------------------------------------------------- -; Routine: SubCEB8A_Block_4 +; Routine: Label_EBCE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12081,12 +12097,12 @@ SubCEB8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEB8A_Block_4: - lda Zp00 ; CPU:$EBCE PRG:2BCE A5 00 +Label_EBCE: + lda PtrLo ; CPU:$EBCE PRG:2BCE A5 00 clc ; CPU:$EBD0 PRG:2BD0 18 adc #$02 ; CPU:$EBD1 PRG:2BD1 69 02 ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3 +; Routine: Label_EBD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12094,13 +12110,13 @@ SubCEB8A_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3: +Label_EBD3: cmp $0786 ; CPU:$EBD3 PRG:2BD3 CD 86 07 - beq SubCEBD3_Block ; CPU:$EBD6 PRG:2BD6 F0 05 + beq Label_EBDD ; CPU:$EBD6 PRG:2BD6 F0 05 cmp $0787 ; CPU:$EBD8 PRG:2BD8 CD 87 07 - bne SubCEBD3_Block_2 ; CPU:$EBDB PRG:2BDB D0 0C + bne Label_EBE9 ; CPU:$EBDB PRG:2BDB D0 0C ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3_Block +; Routine: Label_EBDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12108,15 +12124,15 @@ SubCEBD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3_Block: +Label_EBDD: sec ; CPU:$EBDD PRG:2BDD 38 sbc #$01 ; CPU:$EBDE PRG:2BDE E9 01 - cmp Zp00 ; CPU:$EBE0 PRG:2BE0 C5 00 - bcs SubCEBD3 ; CPU:$EBE2 PRG:2BE2 B0 EF + cmp PtrLo ; CPU:$EBE0 PRG:2BE0 C5 00 + bcs Label_EBD3 ; CPU:$EBE2 PRG:2BE2 B0 EF adc #$03 ; CPU:$EBE4 PRG:2BE4 69 03 jmp $EBD3 ; CPU:$EBE6 PRG:2BE6 4C D3 EB ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3_Block_2 +; Routine: Label_EBE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12124,20 +12140,20 @@ SubCEBD3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3_Block_2: - sta Zp5A,x ; CPU:$EBE9 PRG:2BE9 95 5A +Label_EBE9: + sta SprData,x ; CPU:$EBE9 PRG:2BE9 95 5A jsr $EDD5 ; CPU:$EBEB PRG:2BEB 20 D5 ED sec ; CPU:$EBEE PRG:2BEE 38 sbc #$08 ; CPU:$EBEF PRG:2BEF E9 08 sta Zp66,x ; CPU:$EBF1 PRG:2BF1 95 66 - lda Zp5A,x ; CPU:$EBF3 PRG:2BF3 B5 5A + lda SprData,x ; CPU:$EBF3 PRG:2BF3 B5 5A sta Zp0F ; CPU:$EBF5 PRG:2BF5 85 0F lda Zp64,x ; CPU:$EBF7 PRG:2BF7 B5 64 clc ; CPU:$EBF9 PRG:2BF9 18 adc #$08 ; CPU:$EBFA PRG:2BFA 69 08 sta Zp0E ; CPU:$EBFC PRG:2BFC 85 0E ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3_Block_5 +; Routine: Label_EBFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12145,13 +12161,13 @@ SubCEBD3_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3_Block_5: +Label_EBFE: jsr $DEB9 ; CPU:$EBFE PRG:2BFE 20 B9 DE - bmi SubCEBD3_Block_3 ; CPU:$EC01 PRG:2C01 30 04 + bmi Label_EC07 ; CPU:$EC01 PRG:2C01 30 04 cmp #$03 ; CPU:$EC03 PRG:2C03 C9 03 - bne SubCEBD3_Block_4 ; CPU:$EC05 PRG:2C05 D0 0B + bne Label_EC12 ; CPU:$EC05 PRG:2C05 D0 0B ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3_Block_3 +; Routine: Label_EC07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12159,15 +12175,15 @@ SubCEBD3_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3_Block_3: +Label_EC07: lda Zp0E ; CPU:$EC07 PRG:2C07 A5 0E clc ; CPU:$EC09 PRG:2C09 18 adc #$08 ; CPU:$EC0A PRG:2C0A 69 08 sta Zp0E ; CPU:$EC0C PRG:2C0C 85 0E cmp #$E0 ; CPU:$EC0E PRG:2C0E C9 E0 - bcc SubCEBD3_Block_5 ; CPU:$EC10 PRG:2C10 90 EC + bcc Label_EBFE ; CPU:$EC10 PRG:2C10 90 EC ; ----------------------------------------------------------------------------- -; Routine: SubCEBD3_Block_4 +; Routine: Label_EC12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12175,7 +12191,7 @@ SubCEBD3_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEBD3_Block_4: +Label_EC12: lda Zp0E ; CPU:$EC12 PRG:2C12 A5 0E sec ; CPU:$EC14 PRG:2C14 38 sbc #$08 ; CPU:$EC15 PRG:2C15 E9 08 @@ -12185,7 +12201,7 @@ SubCEBD3_Block_4: jsr $D0B8 ; CPU:$EC1D PRG:2C1D 20 B8 D0 jmp $D8FD ; CPU:$EC20 PRG:2C20 4C FD D8 ; ----------------------------------------------------------------------------- -; Routine: SubCEC23 +; Routine: Label_EC23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12193,12 +12209,12 @@ SubCEBD3_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC23: +Label_EC23: ldx #$00 ; CPU:$EC23 PRG:2C23 A2 00 jsr $EC2A ; CPU:$EC25 PRG:2C25 20 2A EC ldx #$01 ; CPU:$EC28 PRG:2C28 A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCEC2A +; Routine: Label_EC2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12206,22 +12222,22 @@ SubCEC23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC2A: +Label_EC2A: lda Zp2D,x ; CPU:$EC2A PRG:2C2A B5 2D - beq SubCEC2A_Block_4 ; CPU:$EC2C PRG:2C2C F0 22 + beq Label_EC50 ; CPU:$EC2C PRG:2C2C F0 22 lda Zp20,x ; CPU:$EC2E PRG:2C2E B5 20 - bmi SubCEC2A_Block_4 ; CPU:$EC30 PRG:2C30 30 1E + bmi Label_EC50 ; CPU:$EC30 PRG:2C30 30 1E txa ; CPU:$EC32 PRG:2C32 8A asl a ; CPU:$EC33 PRG:2C33 0A tay ; CPU:$EC34 PRG:2C34 A8 lda a:Zp14,y ; CPU:$EC35 PRG:2C35 B9 14 00 ora Zp70,x ; CPU:$EC38 PRG:2C38 15 70 and #$CF ; CPU:$EC3A PRG:2C3A 29 CF - beq SubCEC2A_Block_3 ; CPU:$EC3C PRG:2C3C F0 04 + beq Label_EC42 ; CPU:$EC3C PRG:2C3C F0 04 lda #$00 ; CPU:$EC3E PRG:2C3E A9 00 sta Zp2D,x ; CPU:$EC40 PRG:2C40 95 2D ; ----------------------------------------------------------------------------- -; Routine: SubCEC2A_Block_3 +; Routine: Label_EC42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12229,15 +12245,15 @@ SubCEC2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC2A_Block_3: +Label_EC42: lda Zp50 ; CPU:$EC42 PRG:2C42 A5 50 and #$01 ; CPU:$EC44 PRG:2C44 29 01 - beq SubCEC2A_Block_4 ; CPU:$EC46 PRG:2C46 F0 08 + beq Label_EC50 ; CPU:$EC46 PRG:2C46 F0 08 lda $EAA2,x ; CPU:$EC48 PRG:2C48 BD A2 EA ldx #$06 ; CPU:$EC4B PRG:2C4B A2 06 jmp $C821 ; CPU:$EC4D PRG:2C4D 4C 21 C8 ; ----------------------------------------------------------------------------- -; Routine: SubCEC2A_Block_4 +; Routine: Label_EC50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12245,10 +12261,10 @@ SubCEC2A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC2A_Block_4: +Label_EC50: rts ; CPU:$EC50 PRG:2C50 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEC51 +; Routine: Label_EC51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12256,10 +12272,10 @@ SubCEC2A_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51: +Label_EC51: ldx #$07 ; CPU:$EC51 PRG:2C51 A2 07 ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_11 +; Routine: Label_EC53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12267,17 +12283,17 @@ SubCEC51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_11: +Label_EC53: lda Zp91,x ; CPU:$EC53 PRG:2C53 B5 91 - beq SubCEC51_Block_5 ; CPU:$EC55 PRG:2C55 F0 1D + beq Label_EC74 ; CPU:$EC55 PRG:2C55 F0 1D lda ZpA7,x ; CPU:$EC57 PRG:2C57 B5 A7 cpx #$00 ; CPU:$EC59 PRG:2C59 E0 00 - bne SubCEC51_Block_3 ; CPU:$EC5B PRG:2C5B D0 06 + bne Label_EC63 ; CPU:$EC5B PRG:2C5B D0 06 cmp #$F0 ; CPU:$EC5D PRG:2C5D C9 F0 - bcc SubCEC51_Block_3 ; CPU:$EC5F PRG:2C5F 90 02 + bcc Label_EC63 ; CPU:$EC5F PRG:2C5F 90 02 lda #$EC ; CPU:$EC61 PRG:2C61 A9 EC ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_3 +; Routine: Label_EC63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12285,18 +12301,18 @@ SubCEC51_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_3: +Label_EC63: clc ; CPU:$EC63 PRG:2C63 18 adc #$04 ; CPU:$EC64 PRG:2C64 69 04 sta ZpA7,x ; CPU:$EC66 PRG:2C66 95 A7 cpx #$00 ; CPU:$EC68 PRG:2C68 E0 00 - beq SubCEC51_Block_5 ; CPU:$EC6A PRG:2C6A F0 08 + beq Label_EC74 ; CPU:$EC6A PRG:2C6A F0 08 cmp #$F8 ; CPU:$EC6C PRG:2C6C C9 F8 - bcc SubCEC51_Block_5 ; CPU:$EC6E PRG:2C6E 90 04 + bcc Label_EC74 ; CPU:$EC6E PRG:2C6E 90 04 lda #$00 ; CPU:$EC70 PRG:2C70 A9 00 sta Zp91,x ; CPU:$EC72 PRG:2C72 95 91 ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_5 +; Routine: Label_EC74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12304,16 +12320,16 @@ SubCEC51_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_5: +Label_EC74: cpx #$02 ; CPU:$EC74 PRG:2C74 E0 02 - bcs SubCEC51_Block_7 ; CPU:$EC76 PRG:2C76 B0 0A - lda Zp5A,x ; CPU:$EC78 PRG:2C78 B5 5A - beq SubCEC51_Block_7 ; CPU:$EC7A PRG:2C7A F0 06 + bcs Label_EC82 ; CPU:$EC76 PRG:2C76 B0 0A + lda SprData,x ; CPU:$EC78 PRG:2C78 B5 5A + beq Label_EC82 ; CPU:$EC7A PRG:2C7A F0 06 lda Zp66,x ; CPU:$EC7C PRG:2C7C B5 66 adc #$04 ; CPU:$EC7E PRG:2C7E 69 04 sta Zp66,x ; CPU:$EC80 PRG:2C80 95 66 ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_7 +; Routine: Label_EC82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12321,17 +12337,17 @@ SubCEC51_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_7: +Label_EC82: cpx #$03 ; CPU:$EC82 PRG:2C82 E0 03 - bcs SubCEC51_Block_10 ; CPU:$EC84 PRG:2C84 B0 0C + bcs Label_EC92 ; CPU:$EC84 PRG:2C84 B0 0C lda ZpAF,x ; CPU:$EC86 PRG:2C86 B5 AF - beq SubCEC51_Block_10 ; CPU:$EC88 PRG:2C88 F0 08 + beq Label_EC92 ; CPU:$EC88 PRG:2C88 F0 08 cmp #$F0 ; CPU:$EC8A PRG:2C8A C9 F0 - bcs SubCEC51_Block_10 ; CPU:$EC8C PRG:2C8C B0 04 + bcs Label_EC92 ; CPU:$EC8C PRG:2C8C B0 04 adc #$04 ; CPU:$EC8E PRG:2C8E 69 04 sta ZpAF,x ; CPU:$EC90 PRG:2C90 95 AF ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_10 +; Routine: Label_EC92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12339,16 +12355,16 @@ SubCEC51_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_10: +Label_EC92: dex ; CPU:$EC92 PRG:2C92 CA - bpl SubCEC51_Block_11 ; CPU:$EC93 PRG:2C93 10 BE + bpl Label_EC53 ; CPU:$EC93 PRG:2C93 10 BE ldx #$E4 ; CPU:$EC95 PRG:2C95 A2 E4 - lda Zp55 ; CPU:$EC97 PRG:2C97 A5 55 + lda ZpCheckZp14 ; CPU:$EC97 PRG:2C97 A5 55 cmp #$02 ; CPU:$EC99 PRG:2C99 C9 02 - bne SubCEC51_Block_14 ; CPU:$EC9B PRG:2C9B D0 02 + bne Label_EC9F ; CPU:$EC9B PRG:2C9B D0 02 ldx #$FC ; CPU:$EC9D PRG:2C9D A2 FC ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_14 +; Routine: Label_EC9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12356,13 +12372,13 @@ SubCEC51_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_14: +Label_EC9F: lda $0200,x ; CPU:$EC9F PRG:2C9F BD 00 02 cmp #$F2 ; CPU:$ECA2 PRG:2CA2 C9 F2 - bcc SubCEC51_Block_13 ; CPU:$ECA4 PRG:2CA4 90 02 + bcc Label_ECA8 ; CPU:$ECA4 PRG:2CA4 90 02 lda #$F4 ; CPU:$ECA6 PRG:2CA6 A9 F4 ; ----------------------------------------------------------------------------- -; Routine: SubCEC51_Block_13 +; Routine: Label_ECA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12370,7 +12386,7 @@ SubCEC51_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEC51_Block_13: +Label_ECA8: clc ; CPU:$ECA8 PRG:2CA8 18 adc #$04 ; CPU:$ECA9 PRG:2CA9 69 04 sta $0200,x ; CPU:$ECAB PRG:2CAB 9D 00 02 @@ -12379,12 +12395,12 @@ SubCEC51_Block_13: dex ; CPU:$ECB0 PRG:2CB0 CA dex ; CPU:$ECB1 PRG:2CB1 CA cpx #$FC ; CPU:$ECB2 PRG:2CB2 E0 FC - bne SubCEC51_Block_14 ; CPU:$ECB4 PRG:2CB4 D0 E9 + bne Label_EC9F ; CPU:$ECB4 PRG:2CB4 D0 E9 rts ; CPU:$ECB6 PRG:2CB6 60 ; ---- data $ECB7-$ECBE (8 bytes) ---- .byte $20, $F0, $30, $1D, $C0, $F0, $30, $1E ; CPU:$ECB7 PRG:2CB7 20 F0 30 1D C0 F0 30 1E ; ----------------------------------------------------------------------------- -; Routine: SubCECBF +; Routine: Label_ECBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12392,10 +12408,10 @@ SubCEC51_Block_13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECBF: +Label_ECBF: ldx Zp58 ; CPU:$ECBF PRG:2CBF A6 58 ; ----------------------------------------------------------------------------- -; Routine: SubCECBF_Block_2 +; Routine: Label_ECC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12403,12 +12419,12 @@ SubCECBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECBF_Block_2: +Label_ECC1: lda Zp20,x ; CPU:$ECC1 PRG:2CC1 B5 20 - bmi SubCECBF_Block ; CPU:$ECC3 PRG:2CC3 30 02 + bmi Label_ECC7 ; CPU:$ECC3 PRG:2CC3 30 02 lda #$FB ; CPU:$ECC5 PRG:2CC5 A9 FB ; ----------------------------------------------------------------------------- -; Routine: SubCECBF_Block +; Routine: Label_ECC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12416,20 +12432,20 @@ SubCECBF_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECBF_Block: +Label_ECC7: eor #$FF ; CPU:$ECC7 PRG:2CC7 49 FF jsr $ECF0 ; CPU:$ECC9 PRG:2CC9 20 F0 EC dex ; CPU:$ECCC PRG:2CCC CA - bpl SubCECBF_Block_2 ; CPU:$ECCD PRG:2CCD 10 F2 + bpl Label_ECC1 ; CPU:$ECCD PRG:2CCD 10 F2 lda #$FC ; CPU:$ECCF PRG:2CCF A9 FC cmp Zp20 ; CPU:$ECD1 PRG:2CD1 C5 20 - bne SubCECF0_Block_3 ; CPU:$ECD3 PRG:2CD3 D0 33 + bne Label_ED08 ; CPU:$ECD3 PRG:2CD3 D0 33 ldy Zp58 ; CPU:$ECD5 PRG:2CD5 A4 58 - beq SubCECBF_Block_4 ; CPU:$ECD7 PRG:2CD7 F0 04 + beq Label_ECDD ; CPU:$ECD7 PRG:2CD7 F0 04 cmp Zp21 ; CPU:$ECD9 PRG:2CD9 C5 21 - bne SubCECF0_Block_3 ; CPU:$ECDB PRG:2CDB D0 2B + bne Label_ED08 ; CPU:$ECDB PRG:2CDB D0 2B ; ----------------------------------------------------------------------------- -; Routine: SubCECBF_Block_4 +; Routine: Label_ECDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12437,12 +12453,12 @@ SubCECBF_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECBF_Block_4: +Label_ECDD: ldy Zp43 ; CPU:$ECDD PRG:2CDD A4 43 - beq SubCECF0_Block_3 ; CPU:$ECDF PRG:2CDF F0 27 + beq Label_ED08 ; CPU:$ECDF PRG:2CDF F0 27 dey ; CPU:$ECE1 PRG:2CE1 88 ; ----------------------------------------------------------------------------- -; Routine: SubCECF0_Block +; Routine: Label_ECE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12450,15 +12466,15 @@ SubCECBF_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECF0_Block: - bne SubCECF0_Block_3 ; CPU:$ECE2 PRG:2CE2 D0 24 +Label_ECE2: + bne Label_ED08 ; CPU:$ECE2 PRG:2CE2 D0 24 lda #$80 ; CPU:$ECE4 PRG:2CE4 A9 80 sta Zp20 ; CPU:$ECE6 PRG:2CE6 85 20 asl a ; CPU:$ECE8 PRG:2CE8 0A ; ---- data $ECE9-$ECE9 (1 bytes) ---- .byte $85 ; CPU:$ECE9 PRG:2CE9 85 ; ----------------------------------------------------------------------------- -; Routine: SubCECF0_Block_2 +; Routine: Label_ECEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12466,11 +12482,11 @@ SubCECF0_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECF0_Block_2: +Label_ECEA: asl $04A9,x ; CPU:$ECEA PRG:2CEA 1E A9 04 jmp $D4F5 ; CPU:$ECED PRG:2CED 4C F5 D4 ; ----------------------------------------------------------------------------- -; Routine: SubCECF0 +; Routine: Label_ECF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12478,19 +12494,19 @@ SubCECF0_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECF0: +Label_ECF0: jsr $C728 ; CPU:$ECF0 PRG:2CF0 20 28 C7 - bpl SubCECF0_Block ; CPU:$ECF3 PRG:2CF3 10 ED + bpl Label_ECE2 ; CPU:$ECF3 PRG:2CF3 10 ED sbc $09EC,x ; CPU:$ECF5 PRG:2CF5 FD EC 09 sbc $ED08 ; CPU:$ECF8 PRG:2CF8 ED 08 ED - bvs SubCECF0_Block_2 ; CPU:$ECFB PRG:2CFB 70 ED + bvs Label_ECEA ; CPU:$ECFB PRG:2CFB 70 ED jsr $ED51 ; CPU:$ECFD PRG:2CFD 20 51 ED - bcs SubCECF0_Block_3 ; CPU:$ED00 PRG:2D00 B0 06 + bcs Label_ED08 ; CPU:$ED00 PRG:2D00 B0 06 lda #$10 ; CPU:$ED02 PRG:2D02 A9 10 sta Zp43 ; CPU:$ED04 PRG:2D04 85 43 dec Zp20,x ; CPU:$ED06 PRG:2D06 D6 20 ; ----------------------------------------------------------------------------- -; Routine: SubCECF0_Block_3 +; Routine: Label_ED08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12498,13 +12514,13 @@ SubCECF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCECF0_Block_3: +Label_ED08: rts ; CPU:$ED08 PRG:2D08 60 ; ---- data $ED09-$ED24 (28 bytes) ---- .byte $A4, $43, $88, $D0, $FA, $F0, $04, $A9, $01, $85, $FC, $D6, $20, $20, $63, $ED ; CPU:$ED09 PRG:2D09 A4 43 88 D0 FA F0 04 A9 01 85 FC D6 20 20 63 ED .byte $B9, $B7, $EC, $99, $58, $03, $C8, $98, $29, $03, $D0, $F4 ; CPU:$ED19 PRG:2D19 B9 B7 EC 99 58 03 C8 98 29 03 D0 F4 ; ----------------------------------------------------------------------------- -; Routine: SubCED25 +; Routine: Label_ED25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12512,13 +12528,13 @@ SubCECF0_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCED25: +Label_ED25: txa ; CPU:$ED25 PRG:2D25 8A pha ; CPU:$ED26 PRG:2D26 48 jsr $ED63 ; CPU:$ED27 PRG:2D27 20 63 ED ldx #$00 ; CPU:$ED2A PRG:2D2A A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCED25_Block +; Routine: Label_ED2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12526,13 +12542,13 @@ SubCED25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCED25_Block: +Label_ED2C: lda $0358,y ; CPU:$ED2C PRG:2D2C B9 58 03 - sta Zp00,x ; CPU:$ED2F PRG:2D2F 95 00 + sta PtrLo,x ; CPU:$ED2F PRG:2D2F 95 00 iny ; CPU:$ED31 PRG:2D31 C8 inx ; CPU:$ED32 PRG:2D32 E8 cpx #$04 ; CPU:$ED33 PRG:2D33 E0 04 - bne SubCED25_Block ; CPU:$ED35 PRG:2D35 D0 F5 + bne Label_ED2C ; CPU:$ED35 PRG:2D35 D0 F5 ldy #$01 ; CPU:$ED37 PRG:2D37 A0 01 sty Zp0E ; CPU:$ED39 PRG:2D39 84 0E dey ; CPU:$ED3B PRG:2D3B 88 @@ -12542,10 +12558,10 @@ SubCED25_Block: ldy #$00 ; CPU:$ED43 PRG:2D43 A0 00 pla ; CPU:$ED45 PRG:2D45 68 tax ; CPU:$ED46 PRG:2D46 AA - beq SubCED25_Block_2 ; CPU:$ED47 PRG:2D47 F0 02 + beq Label_ED4B ; CPU:$ED47 PRG:2D47 F0 02 ldy #$20 ; CPU:$ED49 PRG:2D49 A0 20 ; ----------------------------------------------------------------------------- -; Routine: SubCED25_Block_2 +; Routine: Label_ED4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12553,12 +12569,12 @@ SubCED25_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCED25_Block_2: +Label_ED4B: lda #$35 ; CPU:$ED4B PRG:2D4B A9 35 sta $0219,y ; CPU:$ED4D PRG:2D4D 99 19 02 rts ; CPU:$ED50 PRG:2D50 60 ; ----------------------------------------------------------------------------- -; Routine: SubCED51 +; Routine: Label_ED51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12566,7 +12582,7 @@ SubCED25_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCED51: +Label_ED51: jsr $ED25 ; CPU:$ED51 PRG:2D51 20 25 ED jsr $ED63 ; CPU:$ED54 PRG:2D54 20 63 ED lda $0359,y ; CPU:$ED57 PRG:2D57 B9 59 03 @@ -12576,7 +12592,7 @@ SubCED51: cmp #$30 ; CPU:$ED60 PRG:2D60 C9 30 rts ; CPU:$ED62 PRG:2D62 60 ; ----------------------------------------------------------------------------- -; Routine: SubCED63 +; Routine: Label_ED63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12584,7 +12600,7 @@ SubCED51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCED63: +Label_ED63: txa ; CPU:$ED63 PRG:2D63 8A asl a ; CPU:$ED64 PRG:2D64 0A asl a ; CPU:$ED65 PRG:2D65 0A @@ -12598,7 +12614,7 @@ SubCED63: .byte $9D, $EA, $02, $A5, $03, $9D, $EB, $02, $E8, $E8, $E8, $E8, $18, $69, $08, $85 ; CPU:$EDA8 PRG:2DA8 9D EA 02 A5 03 9D EB 02 E8 E8 E8 E8 18 69 08 85 .byte $03, $88, $10, $E0, $68, $AA, $60 ; CPU:$EDB8 PRG:2DB8 03 88 10 E0 68 AA 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEDBF +; Routine: Label_EDBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12606,24 +12622,24 @@ SubCED63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEDBF: +Label_EDBF: pha ; CPU:$EDBF PRG:2DBF 48 and #$80 ; CPU:$EDC0 PRG:2DC0 29 80 lsr a ; CPU:$EDC2 PRG:2DC2 4A lsr a ; CPU:$EDC3 PRG:2DC3 4A lsr a ; CPU:$EDC4 PRG:2DC4 4A - sta Zp00 ; CPU:$EDC5 PRG:2DC5 85 00 + sta PtrLo ; CPU:$EDC5 PRG:2DC5 85 00 pla ; CPU:$EDC7 PRG:2DC7 68 and #$78 ; CPU:$EDC8 PRG:2DC8 29 78 lsr a ; CPU:$EDCA PRG:2DCA 4A lsr a ; CPU:$EDCB PRG:2DCB 4A lsr a ; CPU:$EDCC PRG:2DCC 4A - adc Zp00 ; CPU:$EDCD PRG:2DCD 65 00 + adc PtrLo ; CPU:$EDCD PRG:2DCD 65 00 rts ; CPU:$EDCF PRG:2DCF 60 ; ---- data $EDD0-$EDD4 (5 bytes) ---- .byte $A5, $5A, $2C, $A5, $5B ; CPU:$EDD0 PRG:2DD0 A5 5A 2C A5 5B ; ----------------------------------------------------------------------------- -; Routine: SubCEDD5 +; Routine: Label_EDD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12631,15 +12647,15 @@ SubCEDBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEDD5: - sta Zp00 ; CPU:$EDD5 PRG:2DD5 85 00 +Label_EDD5: + sta PtrLo ; CPU:$EDD5 PRG:2DD5 85 00 lda Zp90 ; CPU:$EDD7 PRG:2DD7 A5 90 sec ; CPU:$EDD9 PRG:2DD9 38 - sbc Zp00 ; CPU:$EDDA PRG:2DDA E5 00 + sbc PtrLo ; CPU:$EDDA PRG:2DDA E5 00 tay ; CPU:$EDDC PRG:2DDC A8 lda #$08 ; CPU:$EDDD PRG:2DDD A9 08 ; ----------------------------------------------------------------------------- -; Routine: SubCEDD5_Block +; Routine: Label_EDDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12647,11 +12663,11 @@ SubCEDD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEDD5_Block: +Label_EDDF: clc ; CPU:$EDDF PRG:2DDF 18 adc #$30 ; CPU:$EDE0 PRG:2DE0 69 30 dey ; CPU:$EDE2 PRG:2DE2 88 - bpl SubCEDD5_Block ; CPU:$EDE3 PRG:2DE3 10 FA + bpl Label_EDDF ; CPU:$EDE3 PRG:2DE3 10 FA rts ; CPU:$EDE5 PRG:2DE5 60 ; ---- data $EDE6-$EE0C (39 bytes) ---- ; referenced by `lda $EDFD,y` at $EEB5 (operand $EDFD falls inside this region) @@ -12662,7 +12678,7 @@ SubCEDD5_Block: .byte $A0, $A4, $A8, $A4, $FF, $AC, $FF, $12, $14, $FF, $FE, $00, $FF, $00, $FF, $00 ; CPU:$EDF6 PRG:2DF6 A0 A4 A8 A4 FF AC FF 12 14 FF FE 00 FF 00 FF 00 .byte $00, $00, $01, $00, $01, $00, $02 ; CPU:$EE06 PRG:2E06 00 00 01 00 01 00 02 ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D +; Routine: Label_EE0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12670,10 +12686,10 @@ SubCEDD5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D: +Label_EE0D: ldx #$07 ; CPU:$EE0D PRG:2E0D A2 07 ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block +; Routine: Label_EE0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12681,19 +12697,19 @@ SubCEE0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block: +Label_EE0F: cpx #$00 ; CPU:$EE0F PRG:2E0F E0 00 - beq SubCEE0D_Block_3 ; CPU:$EE11 PRG:2E11 F0 41 + beq Label_EE54 ; CPU:$EE11 PRG:2E11 F0 41 lda $03E8,x ; CPU:$EE13 PRG:2E13 BD E8 03 - bmi SubCEE0D_Block_3 ; CPU:$EE16 PRG:2E16 30 3C + bmi Label_EE54 ; CPU:$EE16 PRG:2E16 30 3C lda Zp91,x ; CPU:$EE18 PRG:2E18 B5 91 - beq SubCEE0D_Block_3 ; CPU:$EE1A PRG:2E1A F0 38 - bpl SubCEE0D_Block_4 ; CPU:$EE1C PRG:2E1C 10 3A + beq Label_EE54 ; CPU:$EE1A PRG:2E1A F0 38 + bpl Label_EE58 ; CPU:$EE1C PRG:2E1C 10 3A jsr $EF70 ; CPU:$EE1E PRG:2E1E 20 70 EF - bcc SubCEE0D_Block_5 ; CPU:$EE21 PRG:2E21 90 03 + bcc Label_EE26 ; CPU:$EE21 PRG:2E21 90 03 jsr $EF7B ; CPU:$EE23 PRG:2E23 20 7B EF ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_5 +; Routine: Label_EE26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12701,14 +12717,14 @@ SubCEE4A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_5: +Label_EE26: jsr $EF56 ; CPU:$EE26 PRG:2E26 20 56 EF cpx #$01 ; CPU:$EE29 PRG:2E29 E0 01 - bne SubCEE0D_Block_6 ; CPU:$EE2B PRG:2E2B D0 04 + bne Label_EE31 ; CPU:$EE2B PRG:2E2B D0 04 lda Zp3D ; CPU:$EE2D PRG:2E2D A5 3D - beq SubCEE0D_Block_8 ; CPU:$EE2F PRG:2E2F F0 07 + beq Label_EE38 ; CPU:$EE2F PRG:2E2F F0 07 ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_6 +; Routine: Label_EE31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12716,12 +12732,12 @@ SubCEE0D_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_6: +Label_EE31: lda Zp9C,x ; CPU:$EE31 PRG:2E31 B5 9C - bne SubCEE0D_Block_8 ; CPU:$EE33 PRG:2E33 D0 03 + bne Label_EE38 ; CPU:$EE33 PRG:2E33 D0 03 jmp $EEBD ; CPU:$EE35 PRG:2E35 4C BD EE ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_8 +; Routine: Label_EE38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12729,14 +12745,14 @@ SubCEE0D_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_8: +Label_EE38: jsr $EF8E ; CPU:$EE38 PRG:2E38 20 8E EF cmp #$FF ; CPU:$EE3B PRG:2E3B C9 FF - bne SubCEE0D_Block_9 ; CPU:$EE3D PRG:2E3D D0 05 + bne Label_EE44 ; CPU:$EE3D PRG:2E3D D0 05 lda #$00 ; CPU:$EE3F PRG:2E3F A9 00 sta $03B1,x ; CPU:$EE41 PRG:2E41 9D B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_9 +; Routine: Label_EE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12744,11 +12760,11 @@ SubCEE0D_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_9: +Label_EE44: jsr $EF8E ; CPU:$EE44 PRG:2E44 20 8E EF sta $03DD,x ; CPU:$EE47 PRG:2E47 9D DD 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A +; Routine: Label_EE4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12756,14 +12772,14 @@ SubCEE0D_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A: +Label_EE4A: txa ; CPU:$EE4A PRG:2E4A 8A clc ; CPU:$EE4B PRG:2E4B 18 adc #$03 ; CPU:$EE4C PRG:2E4C 69 03 ora $03E8,x ; CPU:$EE4E PRG:2E4E 1D E8 03 sta $03E8,x ; CPU:$EE51 PRG:2E51 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_3 +; Routine: Label_EE54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12771,12 +12787,12 @@ SubCEE4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_3: +Label_EE54: dex ; CPU:$EE54 PRG:2E54 CA - bpl SubCEE4A_Block ; CPU:$EE55 PRG:2E55 10 B8 + bpl Label_EE0F ; CPU:$EE55 PRG:2E55 10 B8 rts ; CPU:$EE57 PRG:2E57 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEE0D_Block_4 +; Routine: Label_EE58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12784,28 +12800,28 @@ SubCEE0D_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE0D_Block_4: +Label_EE58: cpx #$01 ; CPU:$EE58 PRG:2E58 E0 01 - beq SubCEE4A_Block_2 ; CPU:$EE5A PRG:2E5A F0 4B + beq Label_EEA7 ; CPU:$EE5A PRG:2E5A F0 4B cmp #$01 ; CPU:$EE5C PRG:2E5C C9 01 - bne SubCEE4A_Block_3 ; CPU:$EE5E PRG:2E5E D0 65 + bne Label_EEC5 ; CPU:$EE5E PRG:2E5E D0 65 cpx #$05 ; CPU:$EE60 PRG:2E60 E0 05 - bcs SubCEE4A_Block_4 ; CPU:$EE62 PRG:2E62 B0 46 + bcs Label_EEAA ; CPU:$EE62 PRG:2E62 B0 46 lda #$00 ; CPU:$EE64 PRG:2E64 A9 00 sta $0382,x ; CPU:$EE66 PRG:2E66 9D 82 03 inc $03D2,x ; CPU:$EE69 PRG:2E69 FE D2 03 lda $03D2,x ; CPU:$EE6C PRG:2E6C BD D2 03 and #$07 ; CPU:$EE6F PRG:2E6F 29 07 - bne SubCEE4A_Block_6 ; CPU:$EE71 PRG:2E71 D0 0F + bne Label_EE82 ; CPU:$EE71 PRG:2E71 D0 0F jsr $EF4E ; CPU:$EE73 PRG:2E73 20 4E EF tay ; CPU:$EE76 PRG:2E76 A8 lda $03D2,x ; CPU:$EE77 PRG:2E77 BD D2 03 and #$0F ; CPU:$EE7A PRG:2E7A 29 0F - bne SubCEE4A_Block_6 ; CPU:$EE7C PRG:2E7C D0 04 + bne Label_EE82 ; CPU:$EE7C PRG:2E7C D0 04 tya ; CPU:$EE7E PRG:2E7E 98 sta $03B1,x ; CPU:$EE7F PRG:2E7F 9D B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block_6 +; Routine: Label_EE82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12813,13 +12829,13 @@ SubCEE0D_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block_6: +Label_EE82: jsr $EF70 ; CPU:$EE82 PRG:2E82 20 70 EF - bcc SubCEE4A_Block_7 ; CPU:$EE85 PRG:2E85 90 06 + bcc Label_EE8D ; CPU:$EE85 PRG:2E85 90 06 lda $03B1,x ; CPU:$EE87 PRG:2E87 BD B1 03 jsr $EF7D ; CPU:$EE8A PRG:2E8A 20 7D EF ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block_7 +; Routine: Label_EE8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12827,16 +12843,16 @@ SubCEE4A_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block_7: +Label_EE8D: lda Zp9C,x ; CPU:$EE8D PRG:2E8D B5 9C - beq SubCEEBD ; CPU:$EE8F PRG:2E8F F0 2C + beq Label_EEBD ; CPU:$EE8F PRG:2E8F F0 2C jsr $EF42 ; CPU:$EE91 PRG:2E91 20 42 EF - bpl SubCEE9D ; CPU:$EE94 PRG:2E94 10 07 + bpl Label_EE9D ; CPU:$EE94 PRG:2E94 10 07 inc Zp91,x ; CPU:$EE96 PRG:2E96 F6 91 lda #$00 ; CPU:$EE98 PRG:2E98 A9 00 sta $03B1,x ; CPU:$EE9A PRG:2E9A 9D B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEE9D +; Routine: Label_EE9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12844,11 +12860,11 @@ SubCEE4A_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE9D: +Label_EE9D: lda #$06 ; CPU:$EE9D PRG:2E9D A9 06 sta $03DD,x ; CPU:$EE9F PRG:2E9F 9D DD 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEEA2 +; Routine: Label_EEA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12856,11 +12872,11 @@ SubCEE9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEEA2: +Label_EEA2: jsr $EF6A ; CPU:$EEA2 PRG:2EA2 20 6A EF - bne SubCEE4A ; CPU:$EEA5 PRG:2EA5 D0 A3 + bne Label_EE4A ; CPU:$EEA5 PRG:2EA5 D0 A3 ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block_2 +; Routine: Label_EEA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12868,10 +12884,10 @@ SubCEEA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block_2: +Label_EEA7: jmp $EF06 ; CPU:$EEA7 PRG:2EA7 4C 06 EF ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block_4 +; Routine: Label_EEAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12879,16 +12895,16 @@ SubCEE4A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block_4: +Label_EEAA: lda #$10 ; CPU:$EEAA PRG:2EAA A9 10 sta $03BC,x ; CPU:$EEAC PRG:2EAC 9D BC 03 jsr $EF56 ; CPU:$EEAF PRG:2EAF 20 56 EF ldy $03B1,x ; CPU:$EEB2 PRG:2EB2 BC B1 03 lda $EDFD,y ; CPU:$EEB5 PRG:2EB5 B9 FD ED sta $03DD,x ; CPU:$EEB8 PRG:2EB8 9D DD 03 - bpl SubCEF06_Block_2 ; CPU:$EEBB PRG:2EBB 10 05 + bpl Label_EEC2 ; CPU:$EEBB PRG:2EBB 10 05 ; ----------------------------------------------------------------------------- -; Routine: SubCEEBD +; Routine: Label_EEBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12896,11 +12912,11 @@ SubCEE4A_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEEBD: +Label_EEBD: lda #$80 ; CPU:$EEBD PRG:2EBD A9 80 sta $03E8,x ; CPU:$EEBF PRG:2EBF 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEF06_Block_2 +; Routine: Label_EEC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12908,10 +12924,10 @@ SubCEEBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF06_Block_2: +Label_EEC2: jmp $EE4A ; CPU:$EEC2 PRG:2EC2 4C 4A EE ; ----------------------------------------------------------------------------- -; Routine: SubCEE4A_Block_3 +; Routine: Label_EEC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12919,12 +12935,12 @@ SubCEF06_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEE4A_Block_3: +Label_EEC5: cmp #$02 ; CPU:$EEC5 PRG:2EC5 C9 02 - bne SubCEF06_Block_2 ; CPU:$EEC7 PRG:2EC7 D0 F9 + bne Label_EEC2 ; CPU:$EEC7 PRG:2EC7 D0 F9 inc ZpA7,x ; CPU:$EEC9 PRG:2EC9 F6 A7 jsr $EF70 ; CPU:$EECB PRG:2ECB 20 70 EF - bcc SubCEEBD_Block_4 ; CPU:$EECE PRG:2ECE 90 33 + bcc Label_EF03 ; CPU:$EECE PRG:2ECE 90 33 jsr $EF6A ; CPU:$EED0 PRG:2ED0 20 6A EF inc ZpA7,x ; CPU:$EED3 PRG:2ED3 F6 A7 lda Zp90 ; CPU:$EED5 PRG:2ED5 A5 90 @@ -12934,14 +12950,14 @@ SubCEE4A_Block_3: tay ; CPU:$EEDC PRG:2EDC A8 lda $EDED,y ; CPU:$EEDD PRG:2EDD B9 ED ED cmp ZpA7,x ; CPU:$EEE0 PRG:2EE0 D5 A7 - bcs SubCEEBD_Block_4 ; CPU:$EEE2 PRG:2EE2 B0 1F + bcs Label_EF03 ; CPU:$EEE2 PRG:2EE2 B0 1F sta ZpA7,x ; CPU:$EEE4 PRG:2EE4 95 A7 lda Zp05 ; CPU:$EEE6 PRG:2EE6 A5 05 cmp #$03 ; CPU:$EEE8 PRG:2EE8 C9 03 - bcs SubCEEBD ; CPU:$EEEA PRG:2EEA B0 D1 + bcs Label_EEBD ; CPU:$EEEA PRG:2EEA B0 D1 dec ZpB2,x ; CPU:$EEEC PRG:2EEC D6 B2 jsr $EF42 ; CPU:$EEEE PRG:2EEE 20 42 EF - bmi SubCEEBD_Block_4 ; CPU:$EEF1 PRG:2EF1 30 10 + bmi Label_EF03 ; CPU:$EEF1 PRG:2EF1 30 10 lda #$01 ; CPU:$EEF3 PRG:2EF3 A9 01 sta Zp91,x ; CPU:$EEF5 PRG:2EF5 95 91 lsr a ; CPU:$EEF7 PRG:2EF7 4A @@ -12950,7 +12966,7 @@ SubCEE4A_Block_3: sta $03D2,x ; CPU:$EEFD PRG:2EFD 9D D2 03 jsr $EF6A ; CPU:$EF00 PRG:2F00 20 6A EF ; ----------------------------------------------------------------------------- -; Routine: SubCEEBD_Block_4 +; Routine: Label_EF03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12958,10 +12974,10 @@ SubCEE4A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEEBD_Block_4: +Label_EF03: jmp $EE9D ; CPU:$EF03 PRG:2F03 4C 9D EE ; ----------------------------------------------------------------------------- -; Routine: SubCEF06 +; Routine: Label_EF06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12969,17 +12985,17 @@ SubCEEBD_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF06: +Label_EF06: cmp #$04 ; CPU:$EF06 PRG:2F06 C9 04 - beq SubCEF06_Block_2 ; CPU:$EF08 PRG:2F08 F0 B8 + beq Label_EEC2 ; CPU:$EF08 PRG:2F08 F0 B8 cmp #$05 ; CPU:$EF0A PRG:2F0A C9 05 - bne SubCEF06_Block_2 ; CPU:$EF0C PRG:2F0C D0 B4 + bne Label_EEC2 ; CPU:$EF0C PRG:2F0C D0 B4 jsr $EF70 ; CPU:$EF0E PRG:2F0E 20 70 EF - bcc SubCEF06_Block_3 ; CPU:$EF11 PRG:2F11 90 06 + bcc Label_EF19 ; CPU:$EF11 PRG:2F11 90 06 jsr $EF6A ; CPU:$EF13 PRG:2F13 20 6A EF jsr $EF7B ; CPU:$EF16 PRG:2F16 20 7B EF ; ----------------------------------------------------------------------------- -; Routine: SubCEF06_Block_3 +; Routine: Label_EF19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12987,11 +13003,11 @@ SubCEF06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF06_Block_3: +Label_EF19: lda Zp9C,x ; CPU:$EF19 PRG:2F19 B5 9C - beq SubCEEBD ; CPU:$EF1B PRG:2F1B F0 A0 + beq Label_EEBD ; CPU:$EF1B PRG:2F1B F0 A0 jsr $EF83 ; CPU:$EF1D PRG:2F1D 20 83 EF - bcc SubCEF06_Block_5 ; CPU:$EF20 PRG:2F20 90 18 + bcc Label_EF3A ; CPU:$EF20 PRG:2F20 90 18 lda $03B1,x ; CPU:$EF22 PRG:2F22 BD B1 03 tay ; CPU:$EF25 PRG:2F25 A8 lda $EE00,y ; CPU:$EF26 PRG:2F26 B9 00 EE @@ -13000,11 +13016,11 @@ SubCEF06_Block_3: sta ZpA7,x ; CPU:$EF2C PRG:2F2C 95 A7 inc $03B1,x ; CPU:$EF2E PRG:2F2E FE B1 03 cpy #$0C ; CPU:$EF31 PRG:2F31 C0 0C - bne SubCEF06_Block_5 ; CPU:$EF33 PRG:2F33 D0 05 + bne Label_EF3A ; CPU:$EF33 PRG:2F33 D0 05 lda #$00 ; CPU:$EF35 PRG:2F35 A9 00 sta $03B1,x ; CPU:$EF37 PRG:2F37 9D B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEF06_Block_5 +; Routine: Label_EF3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13012,12 +13028,12 @@ SubCEF06_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF06_Block_5: +Label_EF3A: lda #$98 ; CPU:$EF3A PRG:2F3A A9 98 sta $03DD,x ; CPU:$EF3C PRG:2F3C 9D DD 03 jmp $EEA2 ; CPU:$EF3F PRG:2F3F 4C A2 EE ; ----------------------------------------------------------------------------- -; Routine: SubCEF42 +; Routine: Label_EF42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13025,12 +13041,12 @@ SubCEF06_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF42: +Label_EF42: lda Zp9C,x ; CPU:$EF42 PRG:2F42 B5 9C clc ; CPU:$EF44 PRG:2F44 18 adc #$08 ; CPU:$EF45 PRG:2F45 69 08 ; ----------------------------------------------------------------------------- -; Routine: SubCEF47 +; Routine: Label_EF47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13038,12 +13054,12 @@ SubCEF42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF47: +Label_EF47: sta Zp0E ; CPU:$EF47 PRG:2F47 85 0E stx Zp0F ; CPU:$EF49 PRG:2F49 86 0F jmp $DEB2 ; CPU:$EF4B PRG:2F4B 4C B2 DE ; ----------------------------------------------------------------------------- -; Routine: SubCEF4E +; Routine: Label_EF4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13051,13 +13067,13 @@ SubCEF47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF4E: +Label_EF4E: lda ZpBD,x ; CPU:$EF4E PRG:2F4E B5 BD jsr $D2FB ; CPU:$EF50 PRG:2F50 20 FB D2 sta ZpBD,x ; CPU:$EF53 PRG:2F53 95 BD rts ; CPU:$EF55 PRG:2F55 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF56 +; Routine: Label_EF56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13065,14 +13081,14 @@ SubCEF4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF56: +Label_EF56: lda $03D2,x ; CPU:$EF56 PRG:2F56 BD D2 03 cmp #$FF ; CPU:$EF59 PRG:2F59 C9 FF - bne SubCEF56_Block ; CPU:$EF5B PRG:2F5B D0 05 + bne Label_EF62 ; CPU:$EF5B PRG:2F5B D0 05 inc $03D2,x ; CPU:$EF5D PRG:2F5D FE D2 03 - beq SubCEF6A ; CPU:$EF60 PRG:2F60 F0 08 + beq Label_EF6A ; CPU:$EF60 PRG:2F60 F0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCEF56_Block +; Routine: Label_EF62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13080,12 +13096,12 @@ SubCEF56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF56_Block: +Label_EF62: jsr $EF83 ; CPU:$EF62 PRG:2F62 20 83 EF - bcc SubCEF56_Block_2 ; CPU:$EF65 PRG:2F65 90 08 + bcc Label_EF6F ; CPU:$EF65 PRG:2F65 90 08 inc $03B1,x ; CPU:$EF67 PRG:2F67 FE B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEF6A +; Routine: Label_EF6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13093,11 +13109,11 @@ SubCEF56_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF6A: +Label_EF6A: lda #$40 ; CPU:$EF6A PRG:2F6A A9 40 sta $03E8,x ; CPU:$EF6C PRG:2F6C 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEF56_Block_2 +; Routine: Label_EF6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13105,10 +13121,10 @@ SubCEF6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF56_Block_2: +Label_EF6F: rts ; CPU:$EF6F PRG:2F6F 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF70 +; Routine: Label_EF70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13116,14 +13132,14 @@ SubCEF56_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF70: +Label_EF70: lda $03A6,x ; CPU:$EF70 PRG:2F70 BD A6 03 clc ; CPU:$EF73 PRG:2F73 18 adc $03C7,x ; CPU:$EF74 PRG:2F74 7D C7 03 sta $03C7,x ; CPU:$EF77 PRG:2F77 9D C7 03 rts ; CPU:$EF7A PRG:2F7A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF7B +; Routine: Label_EF7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13131,10 +13147,10 @@ SubCEF70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF7B: +Label_EF7B: lda ZpBD,x ; CPU:$EF7B PRG:2F7B B5 BD ; ----------------------------------------------------------------------------- -; Routine: SubCEF7D +; Routine: Label_EF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13142,13 +13158,13 @@ SubCEF7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF7D: +Label_EF7D: clc ; CPU:$EF7D PRG:2F7D 18 adc Zp9C,x ; CPU:$EF7E PRG:2F7E 75 9C sta Zp9C,x ; CPU:$EF80 PRG:2F80 95 9C rts ; CPU:$EF82 PRG:2F82 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF83 +; Routine: Label_EF83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13156,14 +13172,14 @@ SubCEF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF83: +Label_EF83: lda $03BC,x ; CPU:$EF83 PRG:2F83 BD BC 03 clc ; CPU:$EF86 PRG:2F86 18 adc $03D2,x ; CPU:$EF87 PRG:2F87 7D D2 03 sta $03D2,x ; CPU:$EF8A PRG:2F8A 9D D2 03 rts ; CPU:$EF8D PRG:2F8D 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF8E +; Routine: Label_EF8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13171,7 +13187,7 @@ SubCEF83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF8E: +Label_EF8E: lda $03B1,x ; CPU:$EF8E PRG:2F8E BD B1 03 clc ; CPU:$EF91 PRG:2F91 18 adc $EDE5,x ; CPU:$EF92 PRG:2F92 7D E5 ED @@ -13179,7 +13195,7 @@ SubCEF8E: lda $EDF1,y ; CPU:$EF96 PRG:2F96 B9 F1 ED rts ; CPU:$EF99 PRG:2F99 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A +; Routine: Label_EF9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13187,17 +13203,17 @@ SubCEF8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A: +Label_EF9A: ldy ZpDC ; CPU:$EF9A PRG:2F9A A4 DC dey ; CPU:$EF9C PRG:2F9C 88 dey ; CPU:$EF9D PRG:2F9D 88 - bmi SubCEF9A_Block ; CPU:$EF9E PRG:2F9E 30 17 - bne SubCEF9A_Block_2 ; CPU:$EFA0 PRG:2FA0 D0 06 + bmi Label_EFB7 ; CPU:$EF9E PRG:2F9E 30 17 + bne Label_EFA8 ; CPU:$EFA0 PRG:2FA0 D0 06 lda #$18 ; CPU:$EFA2 PRG:2FA2 A9 18 sta ZpDD ; CPU:$EFA4 PRG:2FA4 85 DD inc ZpDC ; CPU:$EFA6 PRG:2FA6 E6 DC ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block_2 +; Routine: Label_EFA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13205,16 +13221,16 @@ SubCEF9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block_2: +Label_EFA8: inc ZpA8 ; CPU:$EFA8 PRG:2FA8 E6 A8 inc ZpA8 ; CPU:$EFAA PRG:2FAA E6 A8 dec ZpDD ; CPU:$EFAC PRG:2FAC C6 DD - bne SubCEF9A_Block_3 ; CPU:$EFAE PRG:2FAE D0 06 + bne Label_EFB6 ; CPU:$EFAE PRG:2FAE D0 06 lda #$00 ; CPU:$EFB0 PRG:2FB0 A9 00 sta ZpDC ; CPU:$EFB2 PRG:2FB2 85 DC dec ZpB3 ; CPU:$EFB4 PRG:2FB4 C6 B3 ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block_3 +; Routine: Label_EFB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13222,10 +13238,10 @@ SubCEF9A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block_3: +Label_EFB6: rts ; CPU:$EFB6 PRG:2FB6 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block +; Routine: Label_EFB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13233,19 +13249,19 @@ SubCEF9A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block: +Label_EFB7: ldx #$01 ; CPU:$EFB7 PRG:2FB7 A2 01 lda Zp91,x ; CPU:$EFB9 PRG:2FB9 B5 91 - beq SubCEF9A_Block_6 ; CPU:$EFBB PRG:2FBB F0 24 + beq Label_EFE1 ; CPU:$EFBB PRG:2FBB F0 24 lda Zp90 ; CPU:$EFBD PRG:2FBD A5 90 sec ; CPU:$EFBF PRG:2FBF 38 sbc ZpB2,x ; CPU:$EFC0 PRG:2FC0 F5 B2 cmp #$04 ; CPU:$EFC2 PRG:2FC2 C9 04 - bcc SubCEF9A_Block_5 ; CPU:$EFC4 PRG:2FC4 90 05 + bcc Label_EFCB ; CPU:$EFC4 PRG:2FC4 90 05 lda #$84 ; CPU:$EFC6 PRG:2FC6 A9 84 sta $03E8,x ; CPU:$EFC8 PRG:2FC8 9D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block_5 +; Routine: Label_EFCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13253,7 +13269,7 @@ SubCEF9A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block_5: +Label_EFCB: lda Zp9C,x ; CPU:$EFCB PRG:2FCB B5 9C ldy ZpBD,x ; CPU:$EFCD PRG:2FCD B4 BD bmi UpdateMusicChannel19 ; CPU:$EFCF PRG:2FCF 30 02 @@ -13269,12 +13285,12 @@ SubCEF9A_Block_5: ; ----------------------------------------------------------------------------- UpdateMusicChannel19: jsr $EF47 ; CPU:$EFD3 PRG:2FD3 20 47 EF - bpl SubCEF9A_Block_6 ; CPU:$EFD6 PRG:2FD6 10 09 + bpl Label_EFE1 ; CPU:$EFD6 PRG:2FD6 10 09 lda ZpDC ; CPU:$EFD8 PRG:2FD8 A5 DC - bne SubCEF9A_Block_7 ; CPU:$EFDA PRG:2FDA D0 03 + bne Label_EFDF ; CPU:$EFDA PRG:2FDA D0 03 jsr $EF4E ; CPU:$EFDC PRG:2FDC 20 4E EF ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block_7 +; Routine: Label_EFDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13282,10 +13298,10 @@ UpdateMusicChannel19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block_7: +Label_EFDF: inc ZpDC ; CPU:$EFDF PRG:2FDF E6 DC ; ----------------------------------------------------------------------------- -; Routine: SubCEF9A_Block_6 +; Routine: Label_EFE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13293,13 +13309,13 @@ SubCEF9A_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEF9A_Block_6: +Label_EFE1: rts ; CPU:$EFE1 PRG:2FE1 60 ; ---- data $EFE2-$EFEB (10 bytes) ---- ; referenced by `lda $EFE4,y` at $F0B1 (operand $EFE4 falls inside this region) .byte $18, $30, $40, $40, $50, $60, $70, $80, $90, $98 ; CPU:$EFE2 PRG:2FE2 18 30 40 40 50 60 70 80 90 98 ; ----------------------------------------------------------------------------- -; Routine: SubCEFEC +; Routine: Label_EFEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13307,12 +13323,12 @@ SubCEF9A_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFEC: +Label_EFEC: ldx #$02 ; CPU:$EFEC PRG:2FEC A2 02 jsr $EFF3 ; CPU:$EFEE PRG:2FEE 20 F3 EF ldx #$03 ; CPU:$EFF1 PRG:2FF1 A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3 +; Routine: Label_EFF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13320,15 +13336,15 @@ SubCEFEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3: +Label_EFF3: lda Zp91,x ; CPU:$EFF3 PRG:2FF3 B5 91 - beq SubCEFF3_Block ; CPU:$EFF5 PRG:2FF5 F0 44 - bpl SubCEFF3_Block_6 ; CPU:$EFF7 PRG:2FF7 10 1B + beq Label_F03B ; CPU:$EFF5 PRG:2FF5 F0 44 + bpl Label_F014 ; CPU:$EFF7 PRG:2FF7 10 1B jsr $EF42 ; CPU:$EFF9 PRG:2FF9 20 42 EF - bpl SubCEFF3_Block_6 ; CPU:$EFFC PRG:2FFC 10 16 + bpl Label_F014 ; CPU:$EFFC PRG:2FFC 10 16 lda $03A6,x ; CPU:$EFFE PRG:2FFE BD A6 03 cmp #$C0 ; CPU:$F001 PRG:3001 C9 C0 - bne SubCEFF3_Block_4 ; CPU:$F003 PRG:3003 D0 10 + bne Label_F015 ; CPU:$F003 PRG:3003 D0 10 lda #$04 ; CPU:$F005 PRG:3005 A9 04 sta ZpFE ; CPU:$F007 PRG:3007 85 FE lsr a ; CPU:$F009 PRG:3009 4A @@ -13337,7 +13353,7 @@ SubCEFF3: sta $03D2,x ; CPU:$F00E PRG:300E 9D D2 03 sta $0382,x ; CPU:$F011 PRG:3011 9D 82 03 ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3_Block_6 +; Routine: Label_F014 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13345,10 +13361,10 @@ SubCEFF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3_Block_6: +Label_F014: rts ; CPU:$F014 PRG:3014 60 ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3_Block_4 +; Routine: Label_F015 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13356,7 +13372,7 @@ SubCEFF3_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3_Block_4: +Label_F015: lda ZpB2,x ; CPU:$F015 PRG:3015 B5 B2 sta $0386,x ; CPU:$F017 PRG:3017 9D 86 03 lda ZpBD,x ; CPU:$F01A PRG:301A B5 BD @@ -13371,7 +13387,7 @@ SubCEFF3_Block_4: ; referenced by `lda $F02F,y` at $F063 (operand $F02F falls inside this region) .byte $01, $03, $05, $03, $05, $03, $05, $07, $05, $07, $06, $07 ; CPU:$F02F PRG:302F 01 03 05 03 05 03 05 07 05 07 06 07 ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3_Block +; Routine: Label_F03B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13379,12 +13395,12 @@ SubCEFF3_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3_Block: +Label_F03B: lda $0382,x ; CPU:$F03B PRG:303B BD 82 03 - beq SubCEFF3_Block_5 ; CPU:$F03E PRG:303E F0 03 + beq Label_F043 ; CPU:$F03E PRG:303E F0 03 jmp $F0C9 ; CPU:$F040 PRG:3040 4C C9 F0 ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3_Block_5 +; Routine: Label_F043 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13392,15 +13408,15 @@ SubCEFF3_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3_Block_5: +Label_F043: lda Zp48,x ; CPU:$F043 PRG:3043 B5 48 - bne SubCEFF3_Block_6 ; CPU:$F045 PRG:3045 D0 CD + bne Label_F014 ; CPU:$F045 PRG:3045 D0 CD lda Zp16,x ; CPU:$F047 PRG:3047 B5 16 and #$01 ; CPU:$F049 PRG:3049 29 01 - bne SubCEFF3_Block_7 ; CPU:$F04B PRG:304B D0 02 + bne Label_F04F ; CPU:$F04B PRG:304B D0 02 lda #$FF ; CPU:$F04D PRG:304D A9 FF ; ----------------------------------------------------------------------------- -; Routine: SubCEFF3_Block_7 +; Routine: Label_F04F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13408,31 +13424,31 @@ SubCEFF3_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCEFF3_Block_7: +Label_F04F: sta ZpBD,x ; CPU:$F04F PRG:304F 95 BD sta Zp9C,x ; CPU:$F051 PRG:3051 95 9C txa ; CPU:$F053 PRG:3053 8A sec ; CPU:$F054 PRG:3054 38 sbc #$02 ; CPU:$F055 PRG:3055 E9 02 - sta Zp00 ; CPU:$F057 PRG:3057 85 00 + sta PtrLo ; CPU:$F057 PRG:3057 85 00 lda Zp90 ; CPU:$F059 PRG:3059 A5 90 sec ; CPU:$F05B PRG:305B 38 sbc #$04 ; CPU:$F05C PRG:305C E9 04 asl a ; CPU:$F05E PRG:305E 0A clc ; CPU:$F05F PRG:305F 18 - adc Zp00 ; CPU:$F060 PRG:3060 65 00 + adc PtrLo ; CPU:$F060 PRG:3060 65 00 tay ; CPU:$F062 PRG:3062 A8 lda $F02F,y ; CPU:$F063 PRG:3063 B9 2F F0 cpy #$0B ; CPU:$F066 PRG:3066 C0 0B - bne SubCF075 ; CPU:$F068 PRG:3068 D0 0B + bne Label_F075 ; CPU:$F068 PRG:3068 D0 0B cmp #$07 ; CPU:$F06A PRG:306A C9 07 - bne SubCF075 ; CPU:$F06C PRG:306C D0 07 + bne Label_F075 ; CPU:$F06C PRG:306C D0 07 lda Zp19 ; CPU:$F06E PRG:306E A5 19 and #$01 ; CPU:$F070 PRG:3070 29 01 clc ; CPU:$F072 PRG:3072 18 adc #$07 ; CPU:$F073 PRG:3073 69 07 ; ----------------------------------------------------------------------------- -; Routine: SubCF075 +; Routine: Label_F075 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13440,13 +13456,13 @@ SubCEFF3_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF075: +Label_F075: cmp $0786 ; CPU:$F075 PRG:3075 CD 86 07 - beq SubCF075_Block ; CPU:$F078 PRG:3078 F0 05 + beq Label_F07F ; CPU:$F078 PRG:3078 F0 05 cmp $0787 ; CPU:$F07A PRG:307A CD 87 07 - bne SubCF075_Block_5 ; CPU:$F07D PRG:307D D0 13 + bne Label_F092 ; CPU:$F07D PRG:307D D0 13 ; ----------------------------------------------------------------------------- -; Routine: SubCF075_Block +; Routine: Label_F07F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13454,18 +13470,18 @@ SubCF075: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF075_Block: +Label_F07F: clc ; CPU:$F07F PRG:307F 18 adc #$01 ; CPU:$F080 PRG:3080 69 01 cmp $0786 ; CPU:$F082 PRG:3082 CD 86 07 - beq SubCF075_Block_8 ; CPU:$F085 PRG:3085 F0 41 + beq Label_F0C8 ; CPU:$F085 PRG:3085 F0 41 cmp $0787 ; CPU:$F087 PRG:3087 CD 87 07 - beq SubCF075_Block_8 ; CPU:$F08A PRG:308A F0 3C + beq Label_F0C8 ; CPU:$F08A PRG:308A F0 3C cmp Zp90 ; CPU:$F08C PRG:308C C5 90 - beq SubCF075_Block_5 ; CPU:$F08E PRG:308E F0 02 - bcs SubCF075_Block_8 ; CPU:$F090 PRG:3090 B0 36 + beq Label_F092 ; CPU:$F08E PRG:308E F0 02 + bcs Label_F0C8 ; CPU:$F090 PRG:3090 B0 36 ; ----------------------------------------------------------------------------- -; Routine: SubCF075_Block_5 +; Routine: Label_F092 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13473,16 +13489,16 @@ SubCF075_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF075_Block_5: +Label_F092: cmp #$09 ; CPU:$F092 PRG:3092 C9 09 - bcs SubCF075_Block_8 ; CPU:$F094 PRG:3094 B0 32 - sta Zp00 ; CPU:$F096 PRG:3096 85 00 + bcs Label_F0C8 ; CPU:$F094 PRG:3094 B0 32 + sta PtrLo ; CPU:$F096 PRG:3096 85 00 lda Zp90 ; CPU:$F098 PRG:3098 A5 90 sec ; CPU:$F09A PRG:309A 38 sbc #$04 ; CPU:$F09B PRG:309B E9 04 - cmp Zp00 ; CPU:$F09D PRG:309D C5 00 - bcs SubCF075_Block_8 ; CPU:$F09F PRG:309F B0 27 - lda Zp00 ; CPU:$F0A1 PRG:30A1 A5 00 + cmp PtrLo ; CPU:$F09D PRG:309D C5 00 + bcs Label_F0C8 ; CPU:$F09F PRG:309F B0 27 + lda PtrLo ; CPU:$F0A1 PRG:30A1 A5 00 sta ZpB2,x ; CPU:$F0A3 PRG:30A3 95 B2 lda #$FF ; CPU:$F0A5 PRG:30A5 A9 FF sta Zp91,x ; CPU:$F0A7 PRG:30A7 95 91 @@ -13500,7 +13516,7 @@ SubCF075_Block_5: lda $EFE0,x ; CPU:$F0C3 PRG:30C3 BD E0 EF sta Zp48,x ; CPU:$F0C6 PRG:30C6 95 48 ; ----------------------------------------------------------------------------- -; Routine: SubCF075_Block_8 +; Routine: Label_F0C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13508,10 +13524,10 @@ SubCF075_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF075_Block_8: +Label_F0C8: rts ; CPU:$F0C8 PRG:30C8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF0C9 +; Routine: Label_F0C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13519,18 +13535,18 @@ SubCF075_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF0C9: +Label_F0C9: sta ZpBD,x ; CPU:$F0C9 PRG:30C9 95 BD sta Zp9C,x ; CPU:$F0CB PRG:30CB 95 9C lda #$00 ; CPU:$F0CD PRG:30CD A9 00 sta $0382,x ; CPU:$F0CF PRG:30CF 9D 82 03 - sta Zp00 ; CPU:$F0D2 PRG:30D2 85 00 + sta PtrLo ; CPU:$F0D2 PRG:30D2 85 00 lda $0386,x ; CPU:$F0D4 PRG:30D4 BD 86 03 jsr $F075 ; CPU:$F0D7 PRG:30D7 20 75 F0 txa ; CPU:$F0DA PRG:30DA 8A pha ; CPU:$F0DB PRG:30DB 48 ; ----------------------------------------------------------------------------- -; Routine: SubCF0C9_Block +; Routine: Label_F0DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13538,7 +13554,7 @@ SubCF0C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF0C9_Block: +Label_F0DC: lda Zp91,x ; CPU:$F0DC PRG:30DC B5 91 sta Zp94,x ; CPU:$F0DE PRG:30DE 95 94 lda $03A6,x ; CPU:$F0E0 PRG:30E0 BD A6 03 @@ -13548,15 +13564,15 @@ SubCF0C9_Block: adc #$0B ; CPU:$F0E8 PRG:30E8 69 0B tax ; CPU:$F0EA PRG:30EA AA cpx #$37 ; CPU:$F0EB PRG:30EB E0 37 - bcc SubCF0C9_Block ; CPU:$F0ED PRG:30ED 90 ED + bcc Label_F0DC ; CPU:$F0ED PRG:30ED 90 ED pla ; CPU:$F0EF PRG:30EF 68 tax ; CPU:$F0F0 PRG:30F0 AA lda #$0E ; CPU:$F0F1 PRG:30F1 A9 0E ldy ZpBD,x ; CPU:$F0F3 PRG:30F3 B4 BD - bpl SubCF0C9_Block_2 ; CPU:$F0F5 PRG:30F5 10 02 + bpl Label_F0F9 ; CPU:$F0F5 PRG:30F5 10 02 lda #$FA ; CPU:$F0F7 PRG:30F7 A9 FA ; ----------------------------------------------------------------------------- -; Routine: SubCF0C9_Block_2 +; Routine: Label_F0F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13564,7 +13580,7 @@ SubCF0C9_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF0C9_Block_2: +Label_F0F9: clc ; CPU:$F0F9 PRG:30F9 18 adc Zp9C,x ; CPU:$F0FA PRG:30FA 75 9C sta Zp9F,x ; CPU:$F0FC PRG:30FC 95 9F @@ -13575,7 +13591,7 @@ SubCF0C9_Block_2: ; ---- data $F107-$F10A (4 bytes) ---- .byte $10, $0E, $0C, $0C ; CPU:$F107 PRG:3107 10 0E 0C 0C ; ----------------------------------------------------------------------------- -; Routine: SubCF10B +; Routine: Label_F10B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13583,18 +13599,18 @@ SubCF0C9_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF10B: +Label_F10B: ldx #$02 ; CPU:$F10B PRG:310B A2 02 lda Zp59 ; CPU:$F10D PRG:310D A5 59 cmp #$20 ; CPU:$F10F PRG:310F C9 20 - bcs SubCF10B_Block_5 ; CPU:$F111 PRG:3111 B0 09 + bcs Label_F11C ; CPU:$F111 PRG:3111 B0 09 ldx Zp56 ; CPU:$F113 PRG:3113 A6 56 - beq SubCF10B_Block_2 ; CPU:$F115 PRG:3115 F0 23 + beq Label_F13A ; CPU:$F115 PRG:3115 F0 23 dex ; CPU:$F117 PRG:3117 CA - beq SubCF10B_Block_5 ; CPU:$F118 PRG:3118 F0 02 + beq Label_F11C ; CPU:$F118 PRG:3118 F0 02 ldx #$01 ; CPU:$F11A PRG:311A A2 01 ; ----------------------------------------------------------------------------- -; Routine: SubCF10B_Block_5 +; Routine: Label_F11C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13602,7 +13618,7 @@ SubCF10B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF10B_Block_5: +Label_F11C: txa ; CPU:$F11C PRG:311C 8A clc ; CPU:$F11D PRG:311D 18 adc #$18 ; CPU:$F11E PRG:311E 69 18 @@ -13613,12 +13629,12 @@ SubCF10B_Block_5: sta ZpC5,x ; CPU:$F129 PRG:3129 95 C5 lda Zp99,x ; CPU:$F12B PRG:312B B5 99 cmp #$20 ; CPU:$F12D PRG:312D C9 20 - beq SubCF10B_Block_4 ; CPU:$F12F PRG:312F F0 06 + beq Label_F137 ; CPU:$F12F PRG:312F F0 06 clc ; CPU:$F131 PRG:3131 18 adc #$01 ; CPU:$F132 PRG:3132 69 01 jsr $F13B ; CPU:$F134 PRG:3134 20 3B F1 ; ----------------------------------------------------------------------------- -; Routine: SubCF10B_Block_4 +; Routine: Label_F137 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13626,11 +13642,11 @@ SubCF10B_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF10B_Block_4: +Label_F137: dex ; CPU:$F137 PRG:3137 CA - bpl SubCF10B_Block_5 ; CPU:$F138 PRG:3138 10 E2 + bpl Label_F11C ; CPU:$F138 PRG:3138 10 E2 ; ----------------------------------------------------------------------------- -; Routine: SubCF10B_Block_2 +; Routine: Label_F13A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13638,10 +13654,10 @@ SubCF10B_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF10B_Block_2: +Label_F13A: rts ; CPU:$F13A PRG:313A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF13B +; Routine: Label_F13B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13649,7 +13665,7 @@ SubCF10B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF13B: +Label_F13B: jsr $C728 ; CPU:$F13B PRG:313B 20 28 C7 sta $48F1 ; CPU:$F13E PRG:313E 8D F1 48 sbc (Zp96),y ; CPU:$F141 PRG:3141 F1 96 @@ -13657,6 +13673,7 @@ SubCF13B: sbc (Zp50),y ; CPU:$F145 PRG:3145 F1 50 sbc (ZpDE),y ; CPU:$F147 PRG:3147 F1 DE ; ---- data $F149-$F19D (85 bytes) ---- + SoundEffectTable1: ; Sound effect table 1 (SubCF13B) .byte $CF, $03, $D0, $03, $20, $AE, $F1, $A9, $00, $9D, $F0, $03, $60, $DE, $DA, $03 ; CPU:$F149 PRG:3149 CF 03 D0 03 20 AE F1 A9 00 9D F0 03 60 DE DA 03 .byte $D0, $08, $A9, $02, $85, $FE, $A9, $FF, $95, $99, $20, $22, $F2, $30, $0C, $8A ; CPU:$F159 PRG:3159 D0 08 A9 02 85 FE A9 FF 95 99 20 22 F2 30 0C 8A .byte $0A, $0A, $0A, $18, $69, $08, $79, $88, $07, $95, $A4, $BD, $DA, $03, $0A, $2A ; CPU:$F169 PRG:3169 0A 0A 0A 18 69 08 79 88 07 95 A4 BD DA 03 0A 2A @@ -13664,7 +13681,7 @@ SubCF13B: .byte $20, $F3, $F1, $60, $A9, $02, $20, $15, $F2, $C9, $F0, $90, $F6, $BD, $F0, $03 ; CPU:$F189 PRG:3189 20 F3 F1 60 A9 02 20 15 F2 C9 F0 90 F6 BD F0 03 .byte $09, $80, $9D, $F0, $03 ; CPU:$F199 PRG:3199 09 80 9D F0 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF19E +; Routine: Label_F19E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13672,7 +13689,7 @@ SubCF13B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF19E: +Label_F19E: jsr $F7AB ; CPU:$F19E PRG:319E 20 AB F7 asl a ; CPU:$F1A1 PRG:31A1 0A asl a ; CPU:$F1A2 PRG:31A2 0A @@ -13688,6 +13705,7 @@ SubCF19E: ; referenced by `lda $F2BA,y` at $F3D5 (operand $F2BA falls inside this region) ; referenced by `lda $F267,y` at $F3DD (operand $F267 falls inside this region) ; ... and 1 further references from decoded code + MusicSequenceData: ; Music sequence data (SubCF19E/SubCF2EC) .byte $07, $03, $A5, $92, $05, $7C, $D0, $E2, $B5, $18, $29, $F8, $C9, $38, $90, $07 ; CPU:$F1AC PRG:31AC 07 03 A5 92 05 7C D0 E2 B5 18 29 F8 C9 38 90 07 .byte $C9, $C9, $90, $05, $E9, $38, $2C, $69, $38, $C5, $A4, $F0, $54, $C5, $A5, $F0 ; CPU:$F1BC PRG:31BC C9 C9 90 05 E9 38 2C 69 38 C5 A4 F0 54 C5 A5 F0 .byte $50, $C5, $A6, $F0, $4C, $95, $A4, $A5, $90, $A8, $88, $88, $38, $E9, $08, $F0 ; CPU:$F1CC PRG:31CC 50 C5 A6 F0 4C 95 A4 A5 90 A8 88 88 38 E9 08 F0 @@ -13709,7 +13727,7 @@ SubCF19E: .byte $04, $04, $04, $04, $10, $10, $01, $40, $60, $80, $02, $80, $20, $2B, $09, $A2 ; CPU:$F2CC PRG:32CC 04 04 04 04 10 10 01 40 60 80 02 80 20 2B 09 A2 .byte $80, $98, $46, $A8, $28, $FF, $FF, $FF, $E5, $38, $38, $D9, $38, $38, $DF, $38 ; CPU:$F2DC PRG:32DC 80 98 46 A8 28 FF FF FF E5 38 38 D9 38 38 DF 38 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC +; Routine: Label_F2EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13717,22 +13735,22 @@ SubCF19E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC: +Label_F2EC: lda Zp52 ; CPU:$F2EC PRG:32EC A5 52 ora $0300 ; CPU:$F2EE PRG:32EE 0D 00 03 - bne SubCF2EC_Block_10 ; CPU:$F2F1 PRG:32F1 D0 67 + bne Label_F35A ; CPU:$F2F1 PRG:32F1 D0 67 lda Zp8D ; CPU:$F2F3 PRG:32F3 A5 8D tay ; CPU:$F2F5 PRG:32F5 A8 - beq SubCF2EC_Block_10 ; CPU:$F2F6 PRG:32F6 F0 62 + beq Label_F35A ; CPU:$F2F6 PRG:32F6 F0 62 cmp #$01 ; CPU:$F2F8 PRG:32F8 C9 01 - beq SubCF2EC_Block_3 ; CPU:$F2FA PRG:32FA F0 09 + beq Label_F305 ; CPU:$F2FA PRG:32FA F0 09 cmp #$3E ; CPU:$F2FC PRG:32FC C9 3E - bcc SubCF2EC_Block_4 ; CPU:$F2FE PRG:32FE 90 2E + bcc Label_F32E ; CPU:$F2FE PRG:32FE 90 2E lda #$00 ; CPU:$F300 PRG:3300 A9 00 sta Zp8D ; CPU:$F302 PRG:3302 85 8D rts ; CPU:$F304 PRG:3304 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_3 +; Routine: Label_F305 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13740,11 +13758,11 @@ SubCF2EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_3: +Label_F305: lda #$FF ; CPU:$F305 PRG:3305 A9 FF ldx #$77 ; CPU:$F307 PRG:3307 A2 77 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_5 +; Routine: Label_F309 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13752,10 +13770,10 @@ SubCF2EC_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_5: +Label_F309: sta $0668,x ; CPU:$F309 PRG:3309 9D 68 06 dex ; CPU:$F30C PRG:330C CA - bpl SubCF2EC_Block_5 ; CPU:$F30D PRG:330D 10 FA + bpl Label_F309 ; CPU:$F30D PRG:330D 10 FA lda #$00 ; CPU:$F30F PRG:330F A9 00 sta $0346 ; CPU:$F311 PRG:3311 8D 46 03 sta $0347 ; CPU:$F314 PRG:3314 8D 47 03 @@ -13768,7 +13786,7 @@ SubCF2EC_Block_5: lda #$00 ; CPU:$F324 PRG:3324 A9 00 sec ; CPU:$F326 PRG:3326 38 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_6 +; Routine: Label_F327 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13776,13 +13794,13 @@ SubCF2EC_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_6: +Label_F327: ror a ; CPU:$F327 PRG:3327 6A dex ; CPU:$F328 PRG:3328 CA - bpl SubCF2EC_Block_6 ; CPU:$F329 PRG:3329 10 FC + bpl Label_F327 ; CPU:$F329 PRG:3329 10 FC sta $0345 ; CPU:$F32B PRG:332B 8D 45 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_4 +; Routine: Label_F32E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13790,14 +13808,14 @@ SubCF2EC_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_4: +Label_F32E: jsr $F35B ; CPU:$F32E PRG:332E 20 5B F3 jsr $F3D2 ; CPU:$F331 PRG:3331 20 D2 F3 inc Zp8D ; CPU:$F334 PRG:3334 E6 8D lda Zp8D ; CPU:$F336 PRG:3336 A5 8D ldx #$08 ; CPU:$F338 PRG:3338 A2 08 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_8 +; Routine: Label_F33A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13805,14 +13823,14 @@ SubCF2EC_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_8: +Label_F33A: cmp $F22F,x ; CPU:$F33A PRG:333A DD 2F F2 - beq SubCF2EC_Block_7 ; CPU:$F33D PRG:333D F0 04 + beq Label_F343 ; CPU:$F33D PRG:333D F0 04 dex ; CPU:$F33F PRG:333F CA - bpl SubCF2EC_Block_8 ; CPU:$F340 PRG:3340 10 F8 + bpl Label_F33A ; CPU:$F340 PRG:3340 10 F8 rts ; CPU:$F342 PRG:3342 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_7 +; Routine: Label_F343 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13820,13 +13838,13 @@ SubCF2EC_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_7: +Label_F343: ldy #$15 ; CPU:$F343 PRG:3343 A0 15 txa ; CPU:$F345 PRG:3345 8A - beq SubCF2EC_Block_9 ; CPU:$F346 PRG:3346 F0 02 + beq Label_F34A ; CPU:$F346 PRG:3346 F0 02 ldy #$06 ; CPU:$F348 PRG:3348 A0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_9 +; Routine: Label_F34A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13834,11 +13852,11 @@ SubCF2EC_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_9: +Label_F34A: lda $F25E,x ; CPU:$F34A PRG:334A BD 5E F2 tax ; CPU:$F34D PRG:334D AA ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_11 +; Routine: Label_F34E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13846,15 +13864,15 @@ SubCF2EC_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_11: +Label_F34E: lda $F238,x ; CPU:$F34E PRG:334E BD 38 F2 sta $0305,y ; CPU:$F351 PRG:3351 99 05 03 dex ; CPU:$F354 PRG:3354 CA - bmi SubCF2EC_Block_10 ; CPU:$F355 PRG:3355 30 03 + bmi Label_F35A ; CPU:$F355 PRG:3355 30 03 dey ; CPU:$F357 PRG:3357 88 - bne SubCF2EC_Block_11 ; CPU:$F358 PRG:3358 D0 F4 + bne Label_F34E ; CPU:$F358 PRG:3358 D0 F4 ; ----------------------------------------------------------------------------- -; Routine: SubCF2EC_Block_10 +; Routine: Label_F35A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13862,10 +13880,10 @@ SubCF2EC_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF2EC_Block_10: +Label_F35A: rts ; CPU:$F35A PRG:335A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B +; Routine: Label_F35B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13873,12 +13891,12 @@ SubCF2EC_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B: +Label_F35B: lda #$38 ; CPU:$F35B PRG:335B A9 38 bit $90A9 ; CPU:$F35D PRG:335D 2C A9 90 ldy #$1F ; CPU:$F360 PRG:3360 A0 1F ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block +; Routine: Label_F362 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13886,10 +13904,10 @@ SubCF35B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block: +Label_F362: sta $0304,y ; CPU:$F362 PRG:3362 99 04 03 dey ; CPU:$F365 PRG:3365 88 - bpl SubCF35B_Block ; CPU:$F366 PRG:3366 10 FA + bpl Label_F362 ; CPU:$F366 PRG:3366 10 FA lda #$23 ; CPU:$F368 PRG:3368 A9 23 sta $0300 ; CPU:$F36A PRG:336A 8D 00 03 lda $0349 ; CPU:$F36D PRG:336D AD 49 03 @@ -13902,12 +13920,12 @@ SubCF35B_Block: sta $0324 ; CPU:$F380 PRG:3380 8D 24 03 ldy Zp8D ; CPU:$F383 PRG:3383 A4 8D cpy #$2E ; CPU:$F385 PRG:3385 C0 2E - bcs SubCF35B_Block_2 ; CPU:$F387 PRG:3387 B0 48 + bcs Label_F3D1 ; CPU:$F387 PRG:3387 B0 48 dey ; CPU:$F389 PRG:3389 88 tya ; CPU:$F38A PRG:338A 98 ldy #$00 ; CPU:$F38B PRG:338B A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block_4 +; Routine: Label_F38D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13915,14 +13933,14 @@ SubCF35B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block_4: +Label_F38D: sec ; CPU:$F38D PRG:338D 38 sbc #$07 ; CPU:$F38E PRG:338E E9 07 - bcc SubCF35B_Block_3 ; CPU:$F390 PRG:3390 90 03 + bcc Label_F395 ; CPU:$F390 PRG:3390 90 03 iny ; CPU:$F392 PRG:3392 C8 - bcs SubCF35B_Block_4 ; CPU:$F393 PRG:3393 B0 F8 + bcs Label_F38D ; CPU:$F393 PRG:3393 B0 F8 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block_3 +; Routine: Label_F395 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13930,16 +13948,16 @@ SubCF35B_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block_3: +Label_F395: tya ; CPU:$F395 PRG:3395 98 - sta Zp00 ; CPU:$F396 PRG:3396 85 00 + sta PtrLo ; CPU:$F396 PRG:3396 85 00 eor #$FF ; CPU:$F398 PRG:3398 49 FF sec ; CPU:$F39A PRG:339A 38 adc #$1D ; CPU:$F39B PRG:339B 69 1D pha ; CPU:$F39D PRG:339D 48 tay ; CPU:$F39E PRG:339E A8 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block_6 +; Routine: Label_F39F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13947,10 +13965,10 @@ SubCF35B_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block_6: +Label_F39F: ldx #$04 ; CPU:$F39F PRG:339F A2 04 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block_5 +; Routine: Label_F3A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13958,24 +13976,24 @@ SubCF35B_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block_5: +Label_F3A1: rol Zp19,x ; CPU:$F3A1 PRG:33A1 36 19 dex ; CPU:$F3A3 PRG:33A3 CA - bpl SubCF35B_Block_5 ; CPU:$F3A4 PRG:33A4 10 FB + bpl Label_F3A1 ; CPU:$F3A4 PRG:33A4 10 FB lda Zp19 ; CPU:$F3A6 PRG:33A6 A5 19 and #$07 ; CPU:$F3A8 PRG:33A8 29 07 tax ; CPU:$F3AA PRG:33AA AA lda $F2E4,x ; CPU:$F3AB PRG:33AB BD E4 F2 sta $0304,y ; CPU:$F3AE PRG:33AE 99 04 03 dey ; CPU:$F3B1 PRG:33B1 88 - cpy Zp00 ; CPU:$F3B2 PRG:33B2 C4 00 - bne SubCF35B_Block_6 ; CPU:$F3B4 PRG:33B4 D0 E9 + cpy PtrLo ; CPU:$F3B2 PRG:33B2 C4 00 + bne Label_F39F ; CPU:$F3B4 PRG:33B4 D0 E9 pla ; CPU:$F3B6 PRG:33B6 68 tay ; CPU:$F3B7 PRG:33B7 A8 jsr $F3BD ; CPU:$F3B8 PRG:33B8 20 BD F3 - ldy Zp00 ; CPU:$F3BB PRG:33BB A4 00 + ldy PtrLo ; CPU:$F3BB PRG:33BB A4 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF3BD +; Routine: Label_F3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13983,15 +14001,15 @@ SubCF35B_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3BD: +Label_F3BD: lda Zp8D ; CPU:$F3BD PRG:33BD A5 8D and #$01 ; CPU:$F3BF PRG:33BF 29 01 - bne SubCF3BD_Block ; CPU:$F3C1 PRG:33C1 D0 03 + bne Label_F3C6 ; CPU:$F3C1 PRG:33C1 D0 03 lda #$55 ; CPU:$F3C3 PRG:33C3 A9 55 ; ---- data $F3C5-$F3C5 (1 bytes) ---- .byte $2C ; CPU:$F3C5 PRG:33C5 2C ; ----------------------------------------------------------------------------- -; Routine: SubCF3BD_Block +; Routine: Label_F3C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13999,13 +14017,13 @@ SubCF3BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3BD_Block: +Label_F3C6: lda #$58 ; CPU:$F3C6 PRG:33C6 A9 58 sta $0304,y ; CPU:$F3C8 PRG:33C8 99 04 03 sta $0305,y ; CPU:$F3CB PRG:33CB 99 05 03 sta $0306,y ; CPU:$F3CE PRG:33CE 99 06 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF35B_Block_2 +; Routine: Label_F3D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14013,10 +14031,10 @@ SubCF3BD_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF35B_Block_2: +Label_F3D1: rts ; CPU:$F3D1 PRG:33D1 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2 +; Routine: Label_F3D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14024,14 +14042,14 @@ SubCF35B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2: +Label_F3D2: ldy $0346 ; CPU:$F3D2 PRG:33D2 AC 46 03 lda $F2BA,y ; CPU:$F3D5 PRG:33D5 B9 BA F2 and $0345 ; CPU:$F3D8 PRG:33D8 2D 45 03 - beq SubCF3D2_Block ; CPU:$F3DB PRG:33DB F0 53 + beq Label_F430 ; CPU:$F3DB PRG:33DB F0 53 lda $F267,y ; CPU:$F3DD PRG:33DD B9 67 F2 cmp Zp8D ; CPU:$F3E0 PRG:33E0 C5 8D - bne SubCF3D2_Block_2 ; CPU:$F3E2 PRG:33E2 D0 52 + bne Label_F436 ; CPU:$F3E2 PRG:33E2 D0 52 lda $F291,y ; CPU:$F3E4 PRG:33E4 B9 91 F2 pha ; CPU:$F3E7 PRG:33E7 48 and #$1F ; CPU:$F3E8 PRG:33E8 29 1F @@ -14043,11 +14061,11 @@ SubCF3D2: lsr a ; CPU:$F3EF PRG:33EF 4A lsr a ; CPU:$F3F0 PRG:33F0 4A tax ; CPU:$F3F1 PRG:33F1 AA - sty Zp00 ; CPU:$F3F2 PRG:33F2 84 00 - stx Zp01 ; CPU:$F3F4 PRG:33F4 86 01 + sty PtrLo ; CPU:$F3F2 PRG:33F2 84 00 + stx PtrHi ; CPU:$F3F4 PRG:33F4 86 01 lda #$EB ; CPU:$F3F6 PRG:33F6 A9 EB ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2_Block_3 +; Routine: Label_F3F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14055,13 +14073,13 @@ SubCF3D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2_Block_3: +Label_F3F8: sta $0304,y ; CPU:$F3F8 PRG:33F8 99 04 03 iny ; CPU:$F3FB PRG:33FB C8 dex ; CPU:$F3FC PRG:33FC CA - bpl SubCF3D2_Block_3 ; CPU:$F3FD PRG:33FD 10 F9 + bpl Label_F3F8 ; CPU:$F3FD PRG:33FD 10 F9 ldy $0347 ; CPU:$F3FF PRG:33FF AC 47 03 - lda Zp00 ; CPU:$F402 PRG:3402 A5 00 + lda PtrLo ; CPU:$F402 PRG:3402 A5 00 pha ; CPU:$F404 PRG:3404 48 asl a ; CPU:$F405 PRG:3405 0A asl a ; CPU:$F406 PRG:3406 0A @@ -14069,7 +14087,7 @@ SubCF3D2_Block_3: sta $0668,y ; CPU:$F408 PRG:3408 99 68 06 pla ; CPU:$F40B PRG:340B 68 sec ; CPU:$F40C PRG:340C 38 - adc Zp01 ; CPU:$F40D PRG:340D 65 01 + adc PtrHi ; CPU:$F40D PRG:340D 65 01 asl a ; CPU:$F40F PRG:340F 0A asl a ; CPU:$F410 PRG:3410 0A asl a ; CPU:$F411 PRG:3411 0A @@ -14082,10 +14100,10 @@ SubCF3D2_Block_3: lda #$00 ; CPU:$F421 PRG:3421 A9 00 ldx #$1D ; CPU:$F423 PRG:3423 A2 1D cpx Zp8D ; CPU:$F425 PRG:3425 E4 8D - bcc SubCF3D2_Block_4 ; CPU:$F427 PRG:3427 90 01 + bcc Label_F42A ; CPU:$F427 PRG:3427 90 01 rol a ; CPU:$F429 PRG:3429 2A ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2_Block_4 +; Routine: Label_F42A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14093,11 +14111,11 @@ SubCF3D2_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2_Block_4: +Label_F42A: sta $06E0,y ; CPU:$F42A PRG:342A 99 E0 06 inc $0347 ; CPU:$F42D PRG:342D EE 47 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2_Block +; Routine: Label_F430 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14105,11 +14123,11 @@ SubCF3D2_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2_Block: +Label_F430: inc $0346 ; CPU:$F430 PRG:3430 EE 46 03 jmp $F3D2 ; CPU:$F433 PRG:3433 4C D2 F3 ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2_Block_2 +; Routine: Label_F436 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14117,7 +14135,7 @@ SubCF3D2_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2_Block_2: +Label_F436: lda $034A ; CPU:$F436 PRG:3436 AD 4A 03 sec ; CPU:$F439 PRG:3439 38 sbc #$08 ; CPU:$F43A PRG:343A E9 08 @@ -14130,14 +14148,14 @@ SubCF3D2_Block_2: sbc #$00 ; CPU:$F44B PRG:344B E9 00 sta $0349 ; CPU:$F44D PRG:344D 8D 49 03 cmp #$1F ; CPU:$F450 PRG:3450 C9 1F - beq SubCF45B ; CPU:$F452 PRG:3452 F0 07 + beq Label_F45B ; CPU:$F452 PRG:3452 F0 07 cmp #$27 ; CPU:$F454 PRG:3454 C9 27 - bne SubCF3D2_Block_5 ; CPU:$F456 PRG:3456 D0 0D + bne Label_F465 ; CPU:$F456 PRG:3456 D0 0D lda #$23 ; CPU:$F458 PRG:3458 A9 23 ; ---- data $F45A-$F45A (1 bytes) ---- .byte $2C ; CPU:$F45A PRG:345A 2C ; ----------------------------------------------------------------------------- -; Routine: SubCF45B +; Routine: Label_F45B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14145,13 +14163,13 @@ SubCF3D2_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF45B: +Label_F45B: lda #$2B ; CPU:$F45B PRG:345B A9 2B sta $0349 ; CPU:$F45D PRG:345D 8D 49 03 lda #$A0 ; CPU:$F460 PRG:3460 A9 A0 sta $0348 ; CPU:$F462 PRG:3462 8D 48 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF3D2_Block_5 +; Routine: Label_F465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14159,10 +14177,11 @@ SubCF45B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF3D2_Block_5: +Label_F465: rts ; CPU:$F465 PRG:3465 60 ; ---- data $F466-$F503 (158 bytes) ---- ; referenced by `lda $F46C,y` at $F506 (operand $F46C falls inside this region) + MusicChannelData: ; Music channel data (SubCF3D2/SubCF504) .byte $EE, $F4, $38, $E8, $20, $90, $1E, $00, $10, $00, $24, $A6, $58, $A5, $84, $D0 ; CPU:$F466 PRG:3466 EE F4 38 E8 20 90 1E 00 10 00 24 A6 58 A5 84 D0 .byte $22, $A0, $00, $94, $6C, $C8, $94, $E4, $C8, $94, $6A, $A9, $F0, $95, $E2, $A9 ; CPU:$F476 PRG:3476 22 A0 00 94 6C C8 94 E4 C8 94 6A A9 F0 95 E2 A9 .byte $3F, $95, $66, $CA, $10, $EB, $A6, $1E, $F0, $04, $A9, $00, $95, $69, $E6, $84 ; CPU:$F486 PRG:3486 3F 95 66 CA 10 EB A6 1E F0 04 A9 00 95 69 E6 84 @@ -14174,7 +14193,7 @@ SubCF3D2_Block_5: .byte $C9, $01, $D0, $16, $BD, $6F, $F4, $A8, $B9, $03, $02, $18, $69, $08, $99, $03 ; CPU:$F4E6 PRG:34E6 C9 01 D0 16 BD 6F F4 A8 B9 03 02 18 69 08 99 03 .byte $02, $B9, $0F, $02, $18, $69, $08, $99, $0F, $02, $CA, $10, $96, $60 ; CPU:$F4F6 PRG:34F6 02 B9 0F 02 18 69 08 99 0F 02 CA 10 96 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF504 +; Routine: Label_F504 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14182,18 +14201,18 @@ SubCF3D2_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF504: +Label_F504: ldy Zp6A,x ; CPU:$F504 PRG:3504 B4 6A lda $F46C,y ; CPU:$F506 PRG:3506 B9 6C F4 sta Zp37,x ; CPU:$F509 PRG:3509 95 37 lda Zp6C,x ; CPU:$F50B PRG:350B B5 6C eor #$01 ; CPU:$F50D PRG:350D 49 01 sta Zp6C,x ; CPU:$F50F PRG:350F 95 6C - bne SubCF45B_Block ; CPU:$F511 PRG:3511 D0 04 + bne Label_F517 ; CPU:$F511 PRG:3511 D0 04 lda #$08 ; CPU:$F513 PRG:3513 A9 08 sta ZpFF ; CPU:$F515 PRG:3515 85 FF ; ----------------------------------------------------------------------------- -; Routine: SubCF45B_Block +; Routine: Label_F517 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14201,7 +14220,7 @@ SubCF504: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF45B_Block: +Label_F517: lda #$00 ; CPU:$F517 PRG:3517 A9 00 sta ZpE0,x ; CPU:$F519 PRG:3519 95 E0 rts ; CPU:$F51B PRG:351B 60 @@ -14209,7 +14228,7 @@ SubCF45B_Block: ; referenced by `lda $F51E,x` at $F52D (operand $F51E falls inside this region) .byte $20, $89, $94, $3B, $5A, $5A, $3D, $8E ; CPU:$F51C PRG:351C 20 89 94 3B 5A 5A 3D 8E ; ----------------------------------------------------------------------------- -; Routine: SubCF524 +; Routine: Label_F524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14217,13 +14236,13 @@ SubCF45B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF524: +Label_F524: ldx Zp1E ; CPU:$F524 PRG:3524 A6 1E - beq SubCF524_Block ; CPU:$F526 PRG:3526 F0 0F + beq Label_F537 ; CPU:$F526 PRG:3526 F0 0F ldy $F51B,x ; CPU:$F528 PRG:3528 BC 1B F5 ldx #$05 ; CPU:$F52B PRG:352B A2 05 ; ----------------------------------------------------------------------------- -; Routine: SubCF524_Block_2 +; Routine: Label_F52D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14231,14 +14250,14 @@ SubCF524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF524_Block_2: +Label_F52D: lda $F51E,x ; CPU:$F52D PRG:352D BD 1E F5 sta $0400,y ; CPU:$F530 PRG:3530 99 00 04 dey ; CPU:$F533 PRG:3533 88 dex ; CPU:$F534 PRG:3534 CA - bpl SubCF524_Block_2 ; CPU:$F535 PRG:3535 10 F6 + bpl Label_F52D ; CPU:$F535 PRG:3535 10 F6 ; ----------------------------------------------------------------------------- -; Routine: SubCF524_Block +; Routine: Label_F537 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14246,7 +14265,7 @@ SubCF524_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF524_Block: +Label_F537: rts ; CPU:$F537 PRG:3537 60 ; ---- data $F538-$F563 (44 bytes) ---- ; referenced by `lda $F538,y` at $F566 (operand $F538 falls inside this region) @@ -14254,7 +14273,7 @@ SubCF524_Block: .byte $05, $F0, $02, $C8, $C8, $98, $29, $1F, $A4, $37, $D0, $0E, $85, $59, $A9, $80 ; CPU:$F548 PRG:3548 05 F0 02 C8 C8 98 29 1F A4 37 D0 0E 85 59 A9 80 .byte $85, $4E, $A9, $08, $85, $FE, $A9, $0F, $85, $37, $A0, $02 ; CPU:$F558 PRG:3558 85 4E A9 08 85 FE A9 0F 85 37 A0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCF564 +; Routine: Label_F564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14262,10 +14281,10 @@ SubCF524_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF564: +Label_F564: ldx #$02 ; CPU:$F564 PRG:3564 A2 02 ; ----------------------------------------------------------------------------- -; Routine: SubCF564_Block +; Routine: Label_F566 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14273,12 +14292,12 @@ SubCF564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF564_Block: +Label_F566: lda $F538,y ; CPU:$F566 PRG:3566 B9 38 F5 sta $0301,x ; CPU:$F569 PRG:3569 9D 01 03 dey ; CPU:$F56C PRG:356C 88 dex ; CPU:$F56D PRG:356D CA - bpl SubCF564_Block ; CPU:$F56E PRG:356E 10 F6 + bpl Label_F566 ; CPU:$F56E PRG:356E 10 F6 inx ; CPU:$F570 PRG:3570 E8 stx $0306 ; CPU:$F571 PRG:3571 8E 06 03 ldy Zp59 ; CPU:$F574 PRG:3574 A4 59 @@ -14292,7 +14311,7 @@ SubCF564_Block: ; referenced by `adc $F583,x` at $F592 (operand $F583 falls inside this region) .byte $00, $05, $00, $0E ; CPU:$F582 PRG:3582 00 05 00 0E ; ----------------------------------------------------------------------------- -; Routine: SubCF586 +; Routine: Label_F586 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14300,9 +14319,9 @@ SubCF564_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF586: +Label_F586: ldx Zp1E ; CPU:$F586 PRG:3586 A6 1E - beq SubCF586_Block ; CPU:$F588 PRG:3588 F0 3A + beq Label_F5C4 ; CPU:$F588 PRG:3588 F0 3A lda #$21 ; CPU:$F58A PRG:358A A9 21 sta $0301 ; CPU:$F58C PRG:358C 8D 01 03 lda #$48 ; CPU:$F58F PRG:358F A9 48 @@ -14317,10 +14336,10 @@ SubCF586: sta $0360,y ; CPU:$F5A5 PRG:35A5 99 60 03 jsr $EA4A ; CPU:$F5A8 PRG:35A8 20 4A EA cpy #$00 ; CPU:$F5AB PRG:35AB C0 00 - bne SubCF586_Block_2 ; CPU:$F5AD PRG:35AD D0 02 + bne Label_F5B1 ; CPU:$F5AD PRG:35AD D0 02 ldy #$38 ; CPU:$F5AF PRG:35AF A0 38 ; ----------------------------------------------------------------------------- -; Routine: SubCF586_Block_2 +; Routine: Label_F5B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14328,13 +14347,13 @@ SubCF586: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF586_Block_2: +Label_F5B1: sty $0304 ; CPU:$F5B1 PRG:35B1 8C 04 03 sta $0305 ; CPU:$F5B4 PRG:35B4 8D 05 03 ldx #$03 ; CPU:$F5B7 PRG:35B7 A2 03 lda #$00 ; CPU:$F5B9 PRG:35B9 A9 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF586_Block_3 +; Routine: Label_F5BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14342,13 +14361,13 @@ SubCF586_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF586_Block_3: +Label_F5BB: sta $0306,x ; CPU:$F5BB PRG:35BB 9D 06 03 dex ; CPU:$F5BE PRG:35BE CA - bpl SubCF586_Block_3 ; CPU:$F5BF PRG:35BF 10 FA + bpl Label_F5BB ; CPU:$F5BF PRG:35BF 10 FA jsr $C14E ; CPU:$F5C1 PRG:35C1 20 4E C1 ; ----------------------------------------------------------------------------- -; Routine: SubCF586_Block +; Routine: Label_F5C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14356,13 +14375,14 @@ SubCF586_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF586_Block: +Label_F5C4: ldy #$05 ; CPU:$F5C4 PRG:35C4 A0 05 jmp $F564 ; CPU:$F5C6 PRG:35C6 4C 64 F5 ; ---- data $F5C9-$F62F (103 bytes) ---- ; referenced by `lda $F5D3,y` at $F660 (operand $F5D3 falls inside this region) ; referenced by `lda $F609,y` at $F671 (operand $F609 falls inside this region) ; referenced by `lda $F5F9,x` at $F693 (operand $F5F9 falls inside this region) + MusicChannelData2: ; Music channel data 2 (SubCF586/SubCF64C) .byte $52, $70, $AE, $B6, $BA, $C2, $C6, $CA, $BE, $FA, $30, $13, $01, $30, $16, $19 ; CPU:$F5C9 PRG:35C9 52 70 AE B6 BA C2 C6 CA BE FA 30 13 01 30 16 19 .byte $30, $39, $29, $30, $3A, $1A, $29, $26, $07, $30, $16, $19, $30, $16, $26, $30 ; CPU:$F5D9 PRG:35D9 30 39 29 30 3A 1A 29 26 07 30 16 19 30 16 26 30 .byte $17, $29, $30, $17, $06, $30, $17, $06, $30, $16, $27, $30, $11, $26, $30, $15 ; CPU:$F5E9 PRG:35E9 17 29 30 17 06 30 17 06 30 16 27 30 11 26 30 15 @@ -14371,7 +14391,7 @@ SubCF586_Block: .byte $BD, $0D, $F6, $8D, $FD, $05, $A9, $78, $8D, $FC, $05, $A2, $02, $BD, $FC, $05 ; CPU:$F619 PRG:3619 BD 0D F6 8D FD 05 A9 78 8D FC 05 A2 02 BD FC 05 .byte $95, $00, $CA, $10, $F8, $A0, $0D ; CPU:$F629 PRG:3629 95 00 CA 10 F8 A0 0D ; ----------------------------------------------------------------------------- -; Routine: SubCF630 +; Routine: Label_F630 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14379,7 +14399,7 @@ SubCF586_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF630: +Label_F630: lda ZpD5 ; CPU:$F630 PRG:3630 A5 D5 sta Zp0F ; CPU:$F632 PRG:3632 85 0F lda #$01 ; CPU:$F634 PRG:3634 A9 01 @@ -14389,7 +14409,7 @@ SubCF630: .byte $A5, $56, $C9, $0A, $90, $04, $E9, $0A, $B0, $F8, $AA, $BD, $C9, $F5, $8D, $FE ; CPU:$F63B PRG:363B A5 56 C9 0A 90 04 E9 0A B0 F8 AA BD C9 F5 8D FE .byte $05 ; CPU:$F64B PRG:364B 05 ; ----------------------------------------------------------------------------- -; Routine: SubCF64C +; Routine: Label_F64C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14397,7 +14417,7 @@ SubCF630: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF64C: +Label_F64C: stx Zp0F ; CPU:$F64C PRG:364C 86 0F txa ; CPU:$F64E PRG:364E 8A asl a ; CPU:$F64F PRG:364F 0A @@ -14408,9 +14428,9 @@ SubCF64C: lda #$00 ; CPU:$F657 PRG:3657 A9 00 sta $0308,x ; CPU:$F659 PRG:3659 9D 08 03 lda #$03 ; CPU:$F65C PRG:365C A9 03 - sta Zp00 ; CPU:$F65E PRG:365E 85 00 + sta PtrLo ; CPU:$F65E PRG:365E 85 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF64C_Block +; Routine: Label_F660 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14418,17 +14438,17 @@ SubCF64C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF64C_Block: +Label_F660: lda $F5D3,y ; CPU:$F660 PRG:3660 B9 D3 F5 sta $0305,x ; CPU:$F663 PRG:3663 9D 05 03 iny ; CPU:$F666 PRG:3666 C8 inx ; CPU:$F667 PRG:3667 E8 - dec Zp00 ; CPU:$F668 PRG:3668 C6 00 - bne SubCF64C_Block ; CPU:$F66A PRG:366A D0 F4 + dec PtrLo ; CPU:$F668 PRG:3668 C6 00 + bne Label_F660 ; CPU:$F66A PRG:366A D0 F4 ldx $0300 ; CPU:$F66C PRG:366C AE 00 03 ldy #$00 ; CPU:$F66F PRG:366F A0 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF64C_Block_2 +; Routine: Label_F671 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14436,19 +14456,20 @@ SubCF64C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF64C_Block_2: +Label_F671: lda $F609,y ; CPU:$F671 PRG:3671 B9 09 F6 sta $0301,x ; CPU:$F674 PRG:3674 9D 01 03 inx ; CPU:$F677 PRG:3677 E8 iny ; CPU:$F678 PRG:3678 C8 cpy #$04 ; CPU:$F679 PRG:3679 C0 04 - bne SubCF64C_Block_2 ; CPU:$F67B PRG:367B D0 F4 + bne Label_F671 ; CPU:$F67B PRG:367B D0 F4 rts ; CPU:$F67D PRG:367D 60 ; ---- data $F67E-$F690 (19 bytes) ---- + MusicChannelData3: ; Music channel data 3 (SubCF64C) .byte $A5, $D6, $18, $69, $0A, $8D, $FC, $05, $A5, $D7, $18, $69, $0E, $8D, $FD, $05 ; CPU:$F67E PRG:367E A5 D6 18 69 0A 8D FC 05 A5 D7 18 69 0E 8D FD 05 .byte $4C, $24, $F6 ; CPU:$F68E PRG:368E 4C 24 F6 ; ----------------------------------------------------------------------------- -; Routine: SubCF691 +; Routine: Label_F691 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14456,7 +14477,7 @@ SubCF64C_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF691: +Label_F691: tya ; CPU:$F691 PRG:3691 98 pha ; CPU:$F692 PRG:3692 48 lda $F5F9,x ; CPU:$F693 PRG:3693 BD F9 F5 @@ -14469,7 +14490,7 @@ SubCF691: tay ; CPU:$F6A2 PRG:36A2 A8 rts ; CPU:$F6A3 PRG:36A3 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF6A4 +; Routine: Label_F6A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14477,20 +14498,20 @@ SubCF691: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF6A4: +Label_F6A4: lda Zp3B ; CPU:$F6A4 PRG:36A4 A5 3B - bne SubCF6A4_Block ; CPU:$F6A6 PRG:36A6 D0 32 + bne Label_F6DA ; CPU:$F6A6 PRG:36A6 D0 32 lda $07FA ; CPU:$F6A8 PRG:36A8 AD FA 07 ora $07FB ; CPU:$F6AB PRG:36AB 0D FB 07 - beq SubCF6A4_Block_2 ; CPU:$F6AE PRG:36AE F0 2B + beq Label_F6DB ; CPU:$F6AE PRG:36AE F0 2B lda #$02 ; CPU:$F6B0 PRG:36B0 A9 02 - sta Zp01 ; CPU:$F6B2 PRG:36B2 85 01 + sta PtrHi ; CPU:$F6B2 PRG:36B2 85 01 lda #$01 ; CPU:$F6B4 PRG:36B4 A9 01 ldy $07FB ; CPU:$F6B6 PRG:36B6 AC FB 07 - beq SubCF6A4_Block_3 ; CPU:$F6B9 PRG:36B9 F0 02 + beq Label_F6BD ; CPU:$F6B9 PRG:36B9 F0 02 lda #$11 ; CPU:$F6BB PRG:36BB A9 11 ; ----------------------------------------------------------------------------- -; Routine: SubCF6A4_Block_3 +; Routine: Label_F6BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14498,11 +14519,11 @@ SubCF6A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF6A4_Block_3: +Label_F6BD: pha ; CPU:$F6BD PRG:36BD 48 jsr $C94B ; CPU:$F6BE PRG:36BE 20 4B C9 lda #$03 ; CPU:$F6C1 PRG:36C1 A9 03 - sta Zp01 ; CPU:$F6C3 PRG:36C3 85 01 + sta PtrHi ; CPU:$F6C3 PRG:36C3 85 01 pla ; CPU:$F6C5 PRG:36C5 68 jsr $C94B ; CPU:$F6C6 PRG:36C6 20 4B C9 lda #$23 ; CPU:$F6C9 PRG:36C9 A9 23 @@ -14513,7 +14534,7 @@ SubCF6A4_Block_3: lda #$06 ; CPU:$F6D6 PRG:36D6 A9 06 sta Zp3B ; CPU:$F6D8 PRG:36D8 85 3B ; ----------------------------------------------------------------------------- -; Routine: SubCF6A4_Block +; Routine: Label_F6DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14521,10 +14542,10 @@ SubCF6A4_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF6A4_Block: +Label_F6DA: rts ; CPU:$F6DA PRG:36DA 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF6A4_Block_2 +; Routine: Label_F6DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14532,7 +14553,7 @@ SubCF6A4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF6A4_Block_2: +Label_F6DB: sta Zp1E ; CPU:$F6DB PRG:36DB 85 1E lda #$06 ; CPU:$F6DD PRG:36DD A9 06 sta Zp6A ; CPU:$F6DF PRG:36DF 85 6A @@ -14542,7 +14563,7 @@ SubCF6A4_Block_2: sta ZpFB ; CPU:$F6E7 PRG:36E7 85 FB rts ; CPU:$F6E9 PRG:36E9 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF6EA +; Routine: Label_F6EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14550,17 +14571,18 @@ SubCF6A4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF6EA: - bpl SubCF71D_Block ; CPU:$F6EA PRG:36EA 10 40 +Label_F6EA: + bpl Label_F72C ; CPU:$F6EA PRG:36EA 10 40 tya ; CPU:$F6EC PRG:36EC 98 tya ; CPU:$F6ED PRG:36ED 98 rts ; CPU:$F6EE PRG:36EE 60 ; ---- data $F6EF-$F71C (46 bytes) ---- + MusicChannelData4: ; Music channel data 4 (SubCF6EA) .byte $A0, $30, $C0, $A2, $0A, $A9, $00, $95, $91, $E0, $04, $B0, $1D, $BD, $EE, $F6 ; CPU:$F6EF PRG:36EF A0 30 C0 A2 0A A9 00 95 91 E0 04 B0 1D BD EE F6 .byte $95, $9F, $BD, $EA, $F6, $95, $AA, $A9, $FF, $95, $94, $95, $C0, $AD, $FE, $05 ; CPU:$F6FF PRG:36FF 95 9F BD EA F6 95 AA A9 FF 95 94 95 C0 AD FE 05 .byte $9D, $E0, $03, $8A, $18, $69, $4F, $9D, $EB, $03, $CA, $10, $D8, $60 ; CPU:$F70F PRG:370F 9D E0 03 8A 18 69 4F 9D EB 03 CA 10 D8 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF71D +; Routine: Label_F71D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14568,10 +14590,10 @@ SubCF6EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF71D: +Label_F71D: ldx #$03 ; CPU:$F71D PRG:371D A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF71D_Block_2 +; Routine: Label_F71F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14579,16 +14601,16 @@ SubCF71D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF71D_Block_2: +Label_F71F: lda Zp94,x ; CPU:$F71F PRG:371F B5 94 cmp #$01 ; CPU:$F721 PRG:3721 C9 01 - bne SubCF71D_Block ; CPU:$F723 PRG:3723 D0 07 + bne Label_F72C ; CPU:$F723 PRG:3723 D0 07 txa ; CPU:$F725 PRG:3725 8A clc ; CPU:$F726 PRG:3726 18 adc #$8F ; CPU:$F727 PRG:3727 69 8F sta $03EB,x ; CPU:$F729 PRG:3729 9D EB 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF71D_Block +; Routine: Label_F72C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14596,16 +14618,16 @@ SubCF71D_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF71D_Block: +Label_F72C: dex ; CPU:$F72C PRG:372C CA - bpl SubCF71D_Block_2 ; CPU:$F72D PRG:372D 10 F0 + bpl Label_F71F ; CPU:$F72D PRG:372D 10 F0 rts ; CPU:$F72F PRG:372F 60 ; ---- data $F730-$F736 (7 bytes) ---- ; referenced by `lda $F730,y` at $F751 (operand $F730 falls inside this region) ; referenced by `lda $F733,x` at $F77D (operand $F733 falls inside this region) .byte $3E, $46, $46, $50, $51, $4E, $4F ; CPU:$F730 PRG:3730 3E 46 46 50 51 4E 4F ; ----------------------------------------------------------------------------- -; Routine: SubCF737 +; Routine: Label_F737 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14613,21 +14635,21 @@ SubCF71D_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF737: +Label_F737: inc ZpD3 ; CPU:$F737 PRG:3737 E6 D3 lda ZpD3 ; CPU:$F739 PRG:3739 A5 D3 cmp #$08 ; CPU:$F73B PRG:373B C9 08 - bcc SubCF737_Block_2 ; CPU:$F73D PRG:373D 90 10 + bcc Label_F74F ; CPU:$F73D PRG:373D 90 10 lda #$00 ; CPU:$F73F PRG:373F A9 00 sta ZpD3 ; CPU:$F741 PRG:3741 85 D3 inc ZpD4 ; CPU:$F743 PRG:3743 E6 D4 lda ZpD4 ; CPU:$F745 PRG:3745 A5 D4 cmp #$03 ; CPU:$F747 PRG:3747 C9 03 - bcc SubCF737_Block_2 ; CPU:$F749 PRG:3749 90 04 + bcc Label_F74F ; CPU:$F749 PRG:3749 90 04 lda #$00 ; CPU:$F74B PRG:374B A9 00 sta ZpD4 ; CPU:$F74D PRG:374D 85 D4 ; ----------------------------------------------------------------------------- -; Routine: SubCF737_Block_2 +; Routine: Label_F74F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14635,26 +14657,26 @@ SubCF737: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF737_Block_2: +Label_F74F: ldy ZpD4 ; CPU:$F74F PRG:374F A4 D4 lda $F730,y ; CPU:$F751 PRG:3751 B9 30 F7 - sta Zp02 ; CPU:$F754 PRG:3754 85 02 + sta Ptr2Lo ; CPU:$F754 PRG:3754 85 02 ldy #$0E ; CPU:$F756 PRG:3756 A0 0E lda ZpD6 ; CPU:$F758 PRG:3758 A5 D6 - sta Zp00 ; CPU:$F75A PRG:375A 85 00 + sta PtrLo ; CPU:$F75A PRG:375A 85 00 lda ZpD7 ; CPU:$F75C PRG:375C A5 D7 - sta Zp01 ; CPU:$F75E PRG:375E 85 01 + sta PtrHi ; CPU:$F75E PRG:375E 85 01 jsr $F630 ; CPU:$F760 PRG:3760 20 30 F6 lda ZpD4 ; CPU:$F763 PRG:3763 A5 D4 cmp #$02 ; CPU:$F765 PRG:3765 C9 02 - bne SubCF78B_Block_3 ; CPU:$F767 PRG:3767 D0 21 + bne Label_F78A ; CPU:$F767 PRG:3767 D0 21 ldy #$0C ; CPU:$F769 PRG:3769 A0 0C ldx #$03 ; CPU:$F76B PRG:376B A2 03 lda ZpD5 ; CPU:$F76D PRG:376D A5 D5 - bne SubCF737_Block_7 ; CPU:$F76F PRG:376F D0 02 + bne Label_F773 ; CPU:$F76F PRG:376F D0 02 ldx #$51 ; CPU:$F771 PRG:3771 A2 51 ; ----------------------------------------------------------------------------- -; Routine: SubCF737_Block_7 +; Routine: Label_F773 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14662,14 +14684,14 @@ SubCF737_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF737_Block_7: +Label_F773: lda ZpD5 ; CPU:$F773 PRG:3773 A5 D5 - bne SubCF737_Block_5 ; CPU:$F775 PRG:3775 D0 06 + bne Label_F77D ; CPU:$F775 PRG:3775 D0 06 txa ; CPU:$F777 PRG:3777 8A sta $0251,y ; CPU:$F778 PRG:3778 99 51 02 - bne SubCF737_Block_6 ; CPU:$F77B PRG:377B D0 06 + bne Label_F783 ; CPU:$F77B PRG:377B D0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCF737_Block_5 +; Routine: Label_F77D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14677,11 +14699,11 @@ SubCF737_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF737_Block_5: +Label_F77D: lda $F733,x ; CPU:$F77D PRG:377D BD 33 F7 sta $0241,y ; CPU:$F780 PRG:3780 99 41 02 ; ----------------------------------------------------------------------------- -; Routine: SubCF737_Block_6 +; Routine: Label_F783 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14689,15 +14711,15 @@ SubCF737_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF737_Block_6: +Label_F783: dex ; CPU:$F783 PRG:3783 CA dey ; CPU:$F784 PRG:3784 88 dey ; CPU:$F785 PRG:3785 88 dey ; CPU:$F786 PRG:3786 88 dey ; CPU:$F787 PRG:3787 88 - bpl SubCF737_Block_7 ; CPU:$F788 PRG:3788 10 E9 + bpl Label_F773 ; CPU:$F788 PRG:3788 10 E9 ; ----------------------------------------------------------------------------- -; Routine: SubCF78B_Block_3 +; Routine: Label_F78A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14705,10 +14727,10 @@ SubCF737_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF78B_Block_3: +Label_F78A: rts ; CPU:$F78A PRG:378A 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF78B +; Routine: Label_F78B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14716,13 +14738,13 @@ SubCF78B_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF78B: +Label_F78B: lda #$FF ; CPU:$F78B PRG:378B A9 FF ldx ZpD5 ; CPU:$F78D PRG:378D A6 D5 - beq SubCF78B_Block ; CPU:$F78F PRG:378F F0 02 + beq Label_F793 ; CPU:$F78F PRG:378F F0 02 lda #$01 ; CPU:$F791 PRG:3791 A9 01 ; ----------------------------------------------------------------------------- -; Routine: SubCF78B_Block +; Routine: Label_F793 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14730,17 +14752,17 @@ SubCF78B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF78B_Block: +Label_F793: clc ; CPU:$F793 PRG:3793 18 adc ZpD6 ; CPU:$F794 PRG:3794 65 D6 sta ZpD6 ; CPU:$F796 PRG:3796 85 D6 cmp #$60 ; CPU:$F798 PRG:3798 C9 60 - bne SubCF78B_Block_2 ; CPU:$F79A PRG:379A D0 06 + bne Label_F7A2 ; CPU:$F79A PRG:379A D0 06 lda Zp19 ; CPU:$F79C PRG:379C A5 19 and #$01 ; CPU:$F79E PRG:379E 29 01 sta ZpD5 ; CPU:$F7A0 PRG:37A0 85 D5 ; ----------------------------------------------------------------------------- -; Routine: SubCF78B_Block_2 +; Routine: Label_F7A2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14748,13 +14770,13 @@ SubCF78B_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF78B_Block_2: +Label_F7A2: lda Zp13 ; CPU:$F7A2 PRG:37A2 A5 13 ora Zp27 ; CPU:$F7A4 PRG:37A4 05 27 - bne SubCF78B_Block_3 ; CPU:$F7A6 PRG:37A6 D0 E2 + bne Label_F78A ; CPU:$F7A6 PRG:37A6 D0 E2 jmp $F737 ; CPU:$F7A8 PRG:37A8 4C 37 F7 ; ----------------------------------------------------------------------------- -; Routine: SubCF7AB +; Routine: Label_F7AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14762,7 +14784,7 @@ SubCF78B_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF7AB: +Label_F7AB: lda Zp56 ; CPU:$F7AB PRG:37AB A5 56 and #$3C ; CPU:$F7AD PRG:37AD 29 3C eor #$3C ; CPU:$F7AF PRG:37AF 49 3C @@ -14777,6 +14799,7 @@ SubCF7AB: ; referenced by `lda $F7EC,y` at $F8AF (operand $F7EC falls inside this region) ; referenced by `lda $F7BC,y` at $F8E8 (operand $F7BC falls inside this region) ; referenced by `lda $F7BC,y` at $F909 (operand $F7BC falls inside this region) + MusicChannelData5: ; Music channel data 5 (SubCF7AB/SubCF80C) .byte $FF, $08, $11, $1E, $04, $00, $06, $03, $05, $00, $06, $02, $FF, $05, $01, $07 ; CPU:$F7B8 PRG:37B8 FF 08 11 1E 04 00 06 03 05 00 06 02 FF 05 01 07 .byte $02, $04, $01, $07, $03, $FF, $04, $00, $06, $03, $05, $00, $04, $01, $07, $02 ; CPU:$F7C8 PRG:37C8 02 04 01 07 03 FF 04 00 06 03 05 00 04 01 07 02 .byte $04, $00, $FF, $05, $01, $07, $02, $04, $01, $05, $00, $06, $03, $05, $01, $FF ; CPU:$F7D8 PRG:37D8 04 00 FF 05 01 07 02 04 01 05 00 06 03 05 01 FF @@ -14784,7 +14807,7 @@ SubCF7AB: .byte $01, $02, $02, $02, $02, $02, $02, $02, $03, $02, $03, $03, $03, $03, $03, $04 ; CPU:$F7F8 PRG:37F8 01 02 02 02 02 02 02 02 03 02 03 03 03 03 03 04 .byte $03, $04, $04, $04 ; CPU:$F808 PRG:3808 03 04 04 04 ; ----------------------------------------------------------------------------- -; Routine: SubCF80C +; Routine: Label_F80C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14792,7 +14815,7 @@ SubCF7AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF80C: +Label_F80C: lda Zp18 ; CPU:$F80C PRG:380C A5 18 and #$03 ; CPU:$F80E PRG:380E 29 03 tay ; CPU:$F810 PRG:3810 A8 @@ -14807,10 +14830,10 @@ SubCF80C: sta Zp91 ; CPU:$F825 PRG:3825 85 91 lda Zp56 ; CPU:$F827 PRG:3827 A5 56 cmp #$3D ; CPU:$F829 PRG:3829 C9 3D - bcc SubCF80C_Block ; CPU:$F82B PRG:382B 90 02 + bcc Label_F82F ; CPU:$F82B PRG:382B 90 02 lda #$3D ; CPU:$F82D PRG:382D A9 3D ; ----------------------------------------------------------------------------- -; Routine: SubCF80C_Block +; Routine: Label_F82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14818,7 +14841,7 @@ SubCF80C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF80C_Block: +Label_F82F: asl a ; CPU:$F82F PRG:382F 0A asl a ; CPU:$F830 PRG:3830 0A clc ; CPU:$F831 PRG:3831 18 @@ -14826,7 +14849,7 @@ SubCF80C_Block: sta $03A6 ; CPU:$F834 PRG:3834 8D A6 03 rts ; CPU:$F837 PRG:3837 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF838 +; Routine: Label_F838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14834,25 +14857,25 @@ SubCF80C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838: +Label_F838: lda #$03 ; CPU:$F838 PRG:3838 A9 03 sta $03E8 ; CPU:$F83A PRG:383A 8D E8 03 lda Zp91 ; CPU:$F83D PRG:383D A5 91 - beq SubCF838_Block ; CPU:$F83F PRG:383F F0 36 + beq Label_F877 ; CPU:$F83F PRG:383F F0 36 cmp #$20 ; CPU:$F841 PRG:3841 C9 20 - beq SubCF838_Block_9 ; CPU:$F843 PRG:3843 F0 53 + beq Label_F898 ; CPU:$F843 PRG:3843 F0 53 cmp #$01 ; CPU:$F845 PRG:3845 C9 01 - beq SubCF838_Block_3 ; CPU:$F847 PRG:3847 F0 50 + beq Label_F899 ; CPU:$F847 PRG:3847 F0 50 cmp #$02 ; CPU:$F849 PRG:3849 C9 02 - beq SubCF838_Block_4 ; CPU:$F84B PRG:384B F0 2F + beq Label_F87C ; CPU:$F84B PRG:384B F0 2F ldx #$00 ; CPU:$F84D PRG:384D A2 00 jsr $EF70 ; CPU:$F84F PRG:384F 20 70 EF - bcc SubCF838_Block_6 ; CPU:$F852 PRG:3852 90 08 + bcc Label_F85C ; CPU:$F852 PRG:3852 90 08 jsr $F8DB ; CPU:$F854 PRG:3854 20 DB F8 - bmi SubCF838_Block_6 ; CPU:$F857 PRG:3857 30 03 + bmi Label_F85C ; CPU:$F857 PRG:3857 30 03 jsr $F8AC ; CPU:$F859 PRG:3859 20 AC F8 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_6 +; Routine: Label_F85C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14860,7 +14883,7 @@ SubCF838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_6: +Label_F85C: lda ZpB2 ; CPU:$F85C PRG:385C A5 B2 lsr a ; CPU:$F85E PRG:385E 4A ror a ; CPU:$F85F PRG:385F 6A @@ -14871,7 +14894,7 @@ SubCF838_Block_6: lsr a ; CPU:$F868 PRG:3868 4A ora #$E0 ; CPU:$F869 PRG:3869 09 E0 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_11 +; Routine: Label_F86B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14879,14 +14902,14 @@ SubCF838_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_11: +Label_F86B: sta $03DD ; CPU:$F86B PRG:386B 8D DD 03 lda $03E8 ; CPU:$F86E PRG:386E AD E8 03 ora #$40 ; CPU:$F871 PRG:3871 09 40 sta $03E8 ; CPU:$F873 PRG:3873 8D E8 03 rts ; CPU:$F876 PRG:3876 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block +; Routine: Label_F877 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14894,11 +14917,11 @@ SubCF838_Block_11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block: +Label_F877: sta $03E8 ; CPU:$F877 PRG:3877 8D E8 03 - beq SubCF838_Block_7 ; CPU:$F87A PRG:387A F0 0D + beq Label_F889 ; CPU:$F87A PRG:387A F0 0D ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_4 +; Routine: Label_F87C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14906,14 +14929,14 @@ SubCF838_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_4: +Label_F87C: jsr $F7AB ; CPU:$F87C PRG:387C 20 AB F7 sta Zp4E ; CPU:$F87F PRG:387F 85 4E lda $03E8 ; CPU:$F881 PRG:3881 AD E8 03 ora #$80 ; CPU:$F884 PRG:3884 09 80 sta $03E8 ; CPU:$F886 PRG:3886 8D E8 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_7 +; Routine: Label_F889 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14921,16 +14944,16 @@ SubCF838_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_7: +Label_F889: lda Zp4E ; CPU:$F889 PRG:3889 A5 4E - bne SubCF838_Block_9 ; CPU:$F88B PRG:388B D0 0B + bne Label_F898 ; CPU:$F88B PRG:388B D0 0B lda Zp91 ; CPU:$F88D PRG:388D A5 91 - bmi SubCF838_Block_9 ; CPU:$F88F PRG:388F 30 07 + bmi Label_F898 ; CPU:$F88F PRG:388F 30 07 jsr $F80C ; CPU:$F891 PRG:3891 20 0C F8 lda #$FF ; CPU:$F894 PRG:3894 A9 FF sta Zp91 ; CPU:$F896 PRG:3896 85 91 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_9 +; Routine: Label_F898 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14938,10 +14961,10 @@ SubCF838_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_9: +Label_F898: rts ; CPU:$F898 PRG:3898 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_3 +; Routine: Label_F899 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14949,17 +14972,17 @@ SubCF838_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_3: +Label_F899: lda ZpA7 ; CPU:$F899 PRG:3899 A5 A7 clc ; CPU:$F89B PRG:389B 18 adc #$02 ; CPU:$F89C PRG:389C 69 02 sta ZpA7 ; CPU:$F89E PRG:389E 85 A7 cmp #$F0 ; CPU:$F8A0 PRG:38A0 C9 F0 - bcc SubCF838_Block_10 ; CPU:$F8A2 PRG:38A2 90 04 + bcc Label_F8A8 ; CPU:$F8A2 PRG:38A2 90 04 lda #$02 ; CPU:$F8A4 PRG:38A4 A9 02 sta Zp91 ; CPU:$F8A6 PRG:38A6 85 91 ; ----------------------------------------------------------------------------- -; Routine: SubCF838_Block_10 +; Routine: Label_F8A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14967,11 +14990,11 @@ SubCF838_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF838_Block_10: +Label_F8A8: lda #$B2 ; CPU:$F8A8 PRG:38A8 A9 B2 - bne SubCF838_Block_11 ; CPU:$F8AA PRG:38AA D0 BF + bne Label_F86B ; CPU:$F8AA PRG:38AA D0 BF ; ----------------------------------------------------------------------------- -; Routine: SubCF8AC +; Routine: Label_F8AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14979,18 +15002,18 @@ SubCF838_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8AC: +Label_F8AC: ldy $03B1 ; CPU:$F8AC PRG:38AC AC B1 03 lda $F7EC,y ; CPU:$F8AF PRG:38AF B9 EC F7 pha ; CPU:$F8B2 PRG:38B2 48 lda ZpB2 ; CPU:$F8B3 PRG:38B3 A5 B2 and #$01 ; CPU:$F8B5 PRG:38B5 29 01 - beq SubCF8AC_Block ; CPU:$F8B7 PRG:38B7 F0 05 + beq Label_F8BE ; CPU:$F8B7 PRG:38B7 F0 05 pla ; CPU:$F8B9 PRG:38B9 68 jsr $D2FB ; CPU:$F8BA PRG:38BA 20 FB D2 pha ; CPU:$F8BD PRG:38BD 48 ; ----------------------------------------------------------------------------- -; Routine: SubCF8AC_Block +; Routine: Label_F8BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14998,17 +15021,17 @@ SubCF8AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8AC_Block: +Label_F8BE: pla ; CPU:$F8BE PRG:38BE 68 jsr $EF7D ; CPU:$F8BF PRG:38BF 20 7D EF lda ZpB2 ; CPU:$F8C2 PRG:38C2 A5 B2 and #$02 ; CPU:$F8C4 PRG:38C4 29 02 - beq SubCF8AC_Block_2 ; CPU:$F8C6 PRG:38C6 F0 03 + beq Label_F8CB ; CPU:$F8C6 PRG:38C6 F0 03 dec ZpA7 ; CPU:$F8C8 PRG:38C8 C6 A7 ; ---- data $F8CA-$F8CA (1 bytes) ---- .byte $2C ; CPU:$F8CA PRG:38CA 2C ; ----------------------------------------------------------------------------- -; Routine: SubCF8AC_Block_2 +; Routine: Label_F8CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15016,15 +15039,15 @@ SubCF8AC_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8AC_Block_2: +Label_F8CB: inc ZpA7 ; CPU:$F8CB PRG:38CB E6 A7 lda ZpB2 ; CPU:$F8CD PRG:38CD A5 B2 and #$04 ; CPU:$F8CF PRG:38CF 29 04 - bne SubCF8AC_Block_3 ; CPU:$F8D1 PRG:38D1 D0 04 + bne Label_F8D7 ; CPU:$F8D1 PRG:38D1 D0 04 inc $03B1 ; CPU:$F8D3 PRG:38D3 EE B1 03 rts ; CPU:$F8D6 PRG:38D6 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF8AC_Block_3 +; Routine: Label_F8D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15032,11 +15055,11 @@ SubCF8AC_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8AC_Block_3: +Label_F8D7: dec $03B1 ; CPU:$F8D7 PRG:38D7 CE B1 03 rts ; CPU:$F8DA PRG:38DA 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB +; Routine: Label_F8DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15044,12 +15067,12 @@ SubCF8AC_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB: +Label_F8DB: lda $03B1 ; CPU:$F8DB PRG:38DB AD B1 03 and #$1F ; CPU:$F8DE PRG:38DE 29 1F - bne SubCF8DB_Block ; CPU:$F8E0 PRG:38E0 D0 12 + bne Label_F8F4 ; CPU:$F8E0 PRG:38E0 D0 12 ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB_Block_6 +; Routine: Label_F8E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15057,15 +15080,15 @@ SubCF8DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB_Block_6: +Label_F8E2: inc $03BC ; CPU:$F8E2 PRG:38E2 EE BC 03 ldy $03BC ; CPU:$F8E5 PRG:38E5 AC BC 03 lda $F7BC,y ; CPU:$F8E8 PRG:38E8 B9 BC F7 and #$04 ; CPU:$F8EB PRG:38EB 29 04 - beq SubCF8DB_Block_2 ; CPU:$F8ED PRG:38ED F0 02 + beq Label_F8F1 ; CPU:$F8ED PRG:38ED F0 02 lda #$1F ; CPU:$F8EF PRG:38EF A9 1F ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB_Block_2 +; Routine: Label_F8F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15073,10 +15096,10 @@ SubCF8DB_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB_Block_2: +Label_F8F1: sta $03B1 ; CPU:$F8F1 PRG:38F1 8D B1 03 ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB_Block +; Routine: Label_F8F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15084,24 +15107,24 @@ SubCF8DB_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB_Block: +Label_F8F4: lda Zp9C ; CPU:$F8F4 PRG:38F4 A5 9C cmp #$0F ; CPU:$F8F6 PRG:38F6 C9 0F - bcc SubCF8DB_Block_5 ; CPU:$F8F8 PRG:38F8 90 17 + bcc Label_F911 ; CPU:$F8F8 PRG:38F8 90 17 cmp #$F1 ; CPU:$F8FA PRG:38FA C9 F1 - bcs SubCF8DB_Block_5 ; CPU:$F8FC PRG:38FC B0 13 + bcs Label_F911 ; CPU:$F8FC PRG:38FC B0 13 lda ZpA7 ; CPU:$F8FE PRG:38FE A5 A7 cmp #$F0 ; CPU:$F900 PRG:3900 C9 F0 - bcs SubCF8DB_Block_5 ; CPU:$F902 PRG:3902 B0 0D + bcs Label_F911 ; CPU:$F902 PRG:3902 B0 0D ldy $03BC ; CPU:$F904 PRG:3904 AC BC 03 - bmi SubCF8DB_Block_6 ; CPU:$F907 PRG:3907 30 D9 + bmi Label_F8E2 ; CPU:$F907 PRG:3907 30 D9 lda $F7BC,y ; CPU:$F909 PRG:3909 B9 BC F7 cmp #$FF ; CPU:$F90C PRG:390C C9 FF - bne SubCF8DB_Block_7 ; CPU:$F90E PRG:390E D0 09 + bne Label_F919 ; CPU:$F90E PRG:390E D0 09 ; ---- data $F910-$F910 (1 bytes) ---- .byte $2C ; CPU:$F910 PRG:3910 2C ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB_Block_5 +; Routine: Label_F911 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15109,14 +15132,14 @@ SubCF8DB_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB_Block_5: +Label_F911: lda #$FF ; CPU:$F911 PRG:3911 A9 FF pha ; CPU:$F913 PRG:3913 48 lda #$02 ; CPU:$F914 PRG:3914 A9 02 sta Zp91 ; CPU:$F916 PRG:3916 85 91 pla ; CPU:$F918 PRG:3918 68 ; ----------------------------------------------------------------------------- -; Routine: SubCF8DB_Block_7 +; Routine: Label_F919 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15124,13 +15147,13 @@ SubCF8DB_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF8DB_Block_7: +Label_F919: sta ZpB2 ; CPU:$F919 PRG:3919 85 B2 rts ; CPU:$F91B PRG:391B 60 ; ---- data $F91C-$F91D (2 bytes) ---- .byte $FF, $FF ; CPU:$F91C PRG:391C FF FF ; ----------------------------------------------------------------------------- -; Routine: SubCF91E +; Routine: Label_F91E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15138,7 +15161,7 @@ SubCF8DB_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF91E: +Label_F91E: lda #$FF ; CPU:$F91E PRG:391E A9 FF sta JOY2 ; CPU:$F920 PRG:3920 8D 17 40 jsr $F9EB ; CPU:$F923 PRG:3923 20 EB F9 @@ -15151,14 +15174,14 @@ SubCF91E: sta ZpFC ; CPU:$F935 PRG:3935 85 FC sta ZpFB ; CPU:$F937 PRG:3937 85 FB ldy $0711 ; CPU:$F939 PRG:3939 AC 11 07 - lda ZpF3 ; CPU:$F93C PRG:393C A5 F3 + lda FrameCounter ; CPU:$F93C PRG:393C A5 F3 and #$0C ; CPU:$F93E PRG:393E 29 0C - beq SubCF91E_Block ; CPU:$F940 PRG:3940 F0 07 + beq Label_F949 ; CPU:$F940 PRG:3940 F0 07 inc $0711 ; CPU:$F942 PRG:3942 EE 11 07 cpy #$30 ; CPU:$F945 PRG:3945 C0 30 - bcc SubCF91E_Block_3 ; CPU:$F947 PRG:3947 90 06 + bcc Label_F94F ; CPU:$F947 PRG:3947 90 06 ; ----------------------------------------------------------------------------- -; Routine: SubCF91E_Block +; Routine: Label_F949 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15166,12 +15189,12 @@ SubCF91E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF91E_Block: +Label_F949: tya ; CPU:$F949 PRG:3949 98 - beq SubCF91E_Block_3 ; CPU:$F94A PRG:394A F0 03 + beq Label_F94F ; CPU:$F94A PRG:394A F0 03 dec $0711 ; CPU:$F94C PRG:394C CE 11 07 ; ----------------------------------------------------------------------------- -; Routine: SubCF91E_Block_3 +; Routine: Label_F94F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15179,11 +15202,11 @@ SubCF91E_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF91E_Block_3: +Label_F94F: sty APUDMCDIRECT ; CPU:$F94F PRG:394F 8C 11 40 rts ; CPU:$F952 PRG:3952 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF953 +; Routine: Label_F953 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15191,12 +15214,12 @@ SubCF91E_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF953: +Label_F953: stx APUPULSE1CTRL ; CPU:$F953 PRG:3953 8E 00 40 sty APUPULSE1SWEEP ; CPU:$F956 PRG:3956 8C 01 40 rts ; CPU:$F959 PRG:3959 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF95A +; Routine: Label_F95A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15204,12 +15227,12 @@ SubCF953: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF95A: +Label_F95A: stx APUPULSE2CTRL ; CPU:$F95A PRG:395A 8E 04 40 sty APUPULSE2SWEEP ; CPU:$F95D PRG:395D 8C 05 40 rts ; CPU:$F960 PRG:3960 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF961 +; Routine: Label_F961 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15217,10 +15240,10 @@ SubCF95A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF961: +Label_F961: jsr $F953 ; CPU:$F961 PRG:3961 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCF964 +; Routine: Label_F964 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15228,10 +15251,10 @@ SubCF961: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF964: +Label_F964: ldx #$00 ; CPU:$F964 PRG:3964 A2 00 ; ----------------------------------------------------------------------------- -; Routine: SubCF97F_Block +; Routine: Label_F966 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15239,16 +15262,16 @@ SubCF964: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF97F_Block: +Label_F966: tay ; CPU:$F966 PRG:3966 A8 lda $FF01,y ; CPU:$F967 PRG:3967 B9 01 FF - beq SubCF964_Block ; CPU:$F96A PRG:396A F0 0B + beq Label_F977 ; CPU:$F96A PRG:396A F0 0B sta APUPULSE1TIMERLO,x ; CPU:$F96C PRG:396C 9D 02 40 lda $FF00,y ; CPU:$F96F PRG:396F B9 00 FF ora #$08 ; CPU:$F972 PRG:3972 09 08 sta APUPULSE1TIMERHI,x ; CPU:$F974 PRG:3974 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: SubCF964_Block +; Routine: Label_F977 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15256,10 +15279,10 @@ SubCF97F_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF964_Block: +Label_F977: rts ; CPU:$F977 PRG:3977 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF978 +; Routine: Label_F978 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15267,10 +15290,10 @@ SubCF964_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF978: +Label_F978: jsr $F95A ; CPU:$F978 PRG:3978 20 5A F9 ; ----------------------------------------------------------------------------- -; Routine: SubCF97B +; Routine: Label_F97B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15278,11 +15301,11 @@ SubCF978: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF97B: +Label_F97B: ldx #$04 ; CPU:$F97B PRG:397B A2 04 - bne SubCF97F_Block ; CPU:$F97D PRG:397D D0 E7 + bne Label_F966 ; CPU:$F97D PRG:397D D0 E7 ; ----------------------------------------------------------------------------- -; Routine: SubCF97F +; Routine: Label_F97F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15290,11 +15313,11 @@ SubCF97B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF97F: +Label_F97F: ldx #$08 ; CPU:$F97F PRG:397F A2 08 - bne SubCF97F_Block ; CPU:$F981 PRG:3981 D0 E3 + bne Label_F966 ; CPU:$F981 PRG:3981 D0 E3 ; ----------------------------------------------------------------------------- -; Routine: SubCF983 +; Routine: Label_F983 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15302,7 +15325,7 @@ SubCF97F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF983: +Label_F983: tax ; CPU:$F983 PRG:3983 AA ror a ; CPU:$F984 PRG:3984 6A txa ; CPU:$F985 PRG:3985 8A @@ -15321,7 +15344,7 @@ SubCF983: .byte $98, $5A, $99, $9B, $5A, $5C, $9B, $5D, $9C, $9E, $5D, $5F, $BF, $BE, $AA, $A9 ; CPU:$F993 PRG:3993 98 5A 99 9B 5A 5C 9B 5D 9C 9E 5D 5F BF BE AA A9 .byte $98, $97, $87, $86, $78, $77, $6B, $6A ; CPU:$F9A3 PRG:39A3 98 97 87 86 78 77 6B 6A ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block +; Routine: Label_F9AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15329,12 +15352,12 @@ SubCF983: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block: +Label_F9AB: sty ZpF0 ; CPU:$F9AB PRG:39AB 84 F0 lda #$2F ; CPU:$F9AD PRG:39AD A9 2F sta ZpF4 ; CPU:$F9AF PRG:39AF 85 F4 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_2 +; Routine: Label_F9B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15342,7 +15365,7 @@ SubCF9EB_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_2: +Label_F9B1: lda ZpF4 ; CPU:$F9B1 PRG:39B1 A5 F4 lsr a ; CPU:$F9B3 PRG:39B3 4A lsr a ; CPU:$F9B4 PRG:39B4 4A @@ -15353,9 +15376,9 @@ SubCF9EB_Block_2: sta APUPULSE1TIMERHI ; CPU:$F9BE PRG:39BE 8D 03 40 ldx $F993,y ; CPU:$F9C1 PRG:39C1 BE 93 F9 ldy #$81 ; CPU:$F9C4 PRG:39C4 A0 81 - bne SubCFA3A_Block_3 ; CPU:$F9C6 PRG:39C6 D0 67 + bne Label_FA2F ; CPU:$F9C6 PRG:39C6 D0 67 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_3 +; Routine: Label_F9C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15363,13 +15386,13 @@ SubCF9EB_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_3: +Label_F9C8: sty ZpF0 ; CPU:$F9C8 PRG:39C8 84 F0 lda #$20 ; CPU:$F9CA PRG:39CA A9 20 sta ZpF4 ; CPU:$F9CC PRG:39CC 85 F4 - bne SubCF983_Block_2 ; CPU:$F9CE PRG:39CE D0 06 + bne Label_F9D6 ; CPU:$F9CE PRG:39CE D0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_4 +; Routine: Label_F9D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15377,12 +15400,12 @@ SubCF9EB_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_4: +Label_F9D0: lda ZpF4 ; CPU:$F9D0 PRG:39D0 A5 F4 cmp #$1B ; CPU:$F9D2 PRG:39D2 C9 1B - bne SubCFA3A_Block_2 ; CPU:$F9D4 PRG:39D4 D0 5C + bne Label_FA32 ; CPU:$F9D4 PRG:39D4 D0 5C ; ----------------------------------------------------------------------------- -; Routine: SubCF983_Block_2 +; Routine: Label_F9D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15390,7 +15413,7 @@ SubCF9EB_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF983_Block_2: +Label_F9D6: ldx #$88 ; CPU:$F9D6 PRG:39D6 A2 88 ldy #$D3 ; CPU:$F9D8 PRG:39D8 A0 D3 lda #$00 ; CPU:$F9DA PRG:39DA A9 00 @@ -15399,9 +15422,9 @@ SubCF983_Block_2: jsr $F97F ; CPU:$F9E1 PRG:39E1 20 7F F9 lda #$1C ; CPU:$F9E4 PRG:39E4 A9 1C sta APUTRIANGLECTRL ; CPU:$F9E6 PRG:39E6 8D 08 40 - bne SubCFA3A_Block_2 ; CPU:$F9E9 PRG:39E9 D0 47 + bne Label_FA32 ; CPU:$F9E9 PRG:39E9 D0 47 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB +; Routine: Label_F9EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15409,28 +15432,28 @@ SubCF983_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB: +Label_F9EB: ldy ZpFF ; CPU:$F9EB PRG:39EB A4 FF lda ZpF0 ; CPU:$F9ED PRG:39ED A5 F0 lsr ZpFF ; CPU:$F9EF PRG:39EF 46 FF - bcs SubCF9EB_Block ; CPU:$F9F1 PRG:39F1 B0 B8 + bcs Label_F9AB ; CPU:$F9F1 PRG:39F1 B0 B8 lsr a ; CPU:$F9F3 PRG:39F3 4A - bcs SubCF9EB_Block_2 ; CPU:$F9F4 PRG:39F4 B0 BB + bcs Label_F9B1 ; CPU:$F9F4 PRG:39F4 B0 BB lsr ZpFF ; CPU:$F9F6 PRG:39F6 46 FF - bcs SubCF9EB_Block_3 ; CPU:$F9F8 PRG:39F8 B0 CE + bcs Label_F9C8 ; CPU:$F9F8 PRG:39F8 B0 CE lsr a ; CPU:$F9FA PRG:39FA 4A - bcs SubCF9EB_Block_4 ; CPU:$F9FB PRG:39FB B0 D3 + bcs Label_F9D0 ; CPU:$F9FB PRG:39FB B0 D3 lsr ZpFF ; CPU:$F9FD PRG:39FD 46 FF - bcs SubCF9EB_Block_5 ; CPU:$F9FF PRG:39FF B0 0B + bcs Label_FA0C ; CPU:$F9FF PRG:39FF B0 0B lsr a ; CPU:$FA01 PRG:3A01 4A - bcs SubCF9EB_Block_6 ; CPU:$FA02 PRG:3A02 B0 17 + bcs Label_FA1B ; CPU:$FA02 PRG:3A02 B0 17 lsr ZpFF ; CPU:$FA04 PRG:3A04 46 FF - bcs SubCF9EB_Block_7 ; CPU:$FA06 PRG:3A06 B0 38 + bcs Label_FA40 ; CPU:$FA06 PRG:3A06 B0 38 lsr a ; CPU:$FA08 PRG:3A08 4A - bcs SubCF9EB_Block_8 ; CPU:$FA09 PRG:3A09 B0 3F + bcs Label_FA4A ; CPU:$FA09 PRG:3A09 B0 3F rts ; CPU:$FA0B PRG:3A0B 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_5 +; Routine: Label_FA0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15438,7 +15461,7 @@ SubCF9EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_5: +Label_FA0C: sty ZpF0 ; CPU:$FA0C PRG:3A0C 84 F0 lda #$28 ; CPU:$FA0E PRG:3A0E A9 28 sta ZpF4 ; CPU:$FA10 PRG:3A10 85 F4 @@ -15447,7 +15470,7 @@ SubCF9EB_Block_5: lda #$36 ; CPU:$FA16 PRG:3A16 A9 36 jsr $F961 ; CPU:$FA18 PRG:3A18 20 61 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_6 +; Routine: Label_FA1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15455,15 +15478,15 @@ SubCF9EB_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_6: +Label_FA1B: lda ZpF4 ; CPU:$FA1B PRG:3A1B A5 F4 cmp #$25 ; CPU:$FA1D PRG:3A1D C9 25 - bne SubCF9EB_Block_9 ; CPU:$FA1F PRG:3A1F D0 06 + bne Label_FA27 ; CPU:$FA1F PRG:3A1F D0 06 ldx #$47 ; CPU:$FA21 PRG:3A21 A2 47 ldy #$F6 ; CPU:$FA23 PRG:3A23 A0 F6 - bne SubCFA3A_Block_3 ; CPU:$FA25 PRG:3A25 D0 08 + bne Label_FA2F ; CPU:$FA25 PRG:3A25 D0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_9 +; Routine: Label_FA27 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15471,13 +15494,13 @@ SubCF9EB_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_9: +Label_FA27: cmp #$20 ; CPU:$FA27 PRG:3A27 C9 20 - bne SubCFA3A_Block_2 ; CPU:$FA29 PRG:3A29 D0 07 + bne Label_FA32 ; CPU:$FA29 PRG:3A29 D0 07 ldy #$BC ; CPU:$FA2B PRG:3A2B A0 BC ldx #$4C ; CPU:$FA2D PRG:3A2D A2 4C ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_3 +; Routine: Label_FA2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15485,10 +15508,10 @@ SubCF9EB_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_3: +Label_FA2F: jsr $F953 ; CPU:$FA2F PRG:3A2F 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_2 +; Routine: Label_FA32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15496,11 +15519,11 @@ SubCFA3A_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_2: +Label_FA32: dec ZpF4 ; CPU:$FA32 PRG:3A32 C6 F4 - bne SubCF9EB_Block_12 ; CPU:$FA34 PRG:3A34 D0 09 + bne Label_FA3F ; CPU:$FA34 PRG:3A34 D0 09 ; ----------------------------------------------------------------------------- -; Routine: SubCFA36 +; Routine: Label_FA36 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15508,11 +15531,11 @@ SubCFA3A_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA36: +Label_FA36: lda #$00 ; CPU:$FA36 PRG:3A36 A9 00 sta ZpF0 ; CPU:$FA38 PRG:3A38 85 F0 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A +; Routine: Label_FA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15520,11 +15543,11 @@ SubCFA36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A: +Label_FA3A: lda #$90 ; CPU:$FA3A PRG:3A3A A9 90 sta APUPULSE1CTRL ; CPU:$FA3C PRG:3A3C 8D 00 40 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_12 +; Routine: Label_FA3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15532,10 +15555,10 @@ SubCFA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_12: +Label_FA3F: rts ; CPU:$FA3F PRG:3A3F 60 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_7 +; Routine: Label_FA40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15543,14 +15566,14 @@ SubCF9EB_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_7: +Label_FA40: sty ZpF0 ; CPU:$FA40 PRG:3A40 84 F0 lda #$0B ; CPU:$FA42 PRG:3A42 A9 0B sta ZpF4 ; CPU:$FA44 PRG:3A44 85 F4 lda #$57 ; CPU:$FA46 PRG:3A46 A9 57 - bne SubCFA3A_Block ; CPU:$FA48 PRG:3A48 D0 08 + bne Label_FA52 ; CPU:$FA48 PRG:3A48 D0 08 ; ----------------------------------------------------------------------------- -; Routine: SubCF9EB_Block_8 +; Routine: Label_FA4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15558,13 +15581,13 @@ SubCF9EB_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCF9EB_Block_8: +Label_FA4A: lda ZpF4 ; CPU:$FA4A PRG:3A4A A5 F4 cmp #$07 ; CPU:$FA4C PRG:3A4C C9 07 - bne SubCFA3A_Block_2 ; CPU:$FA4E PRG:3A4E D0 E2 + bne Label_FA32 ; CPU:$FA4E PRG:3A4E D0 E2 lda #$02 ; CPU:$FA50 PRG:3A50 A9 02 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block +; Routine: Label_FA52 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15572,18 +15595,18 @@ SubCF9EB_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block: +Label_FA52: sta APUPULSE1TIMERLO ; CPU:$FA52 PRG:3A52 8D 02 40 lda #$3B ; CPU:$FA55 PRG:3A55 A9 3B sta APUPULSE1TIMERHI ; CPU:$FA57 PRG:3A57 8D 03 40 ldx #$BD ; CPU:$FA5A PRG:3A5A A2 BD ldy #$8A ; CPU:$FA5C PRG:3A5C A0 8A - bne SubCFA3A_Block_3 ; CPU:$FA5E PRG:3A5E D0 CF + bne Label_FA2F ; CPU:$FA5E PRG:3A5E D0 CF jsr $1C1E ; CPU:$FA60 PRG:3A60 20 1E 1C ; ---- data $FA63-$FA63 (1 bytes) ---- .byte $1A ; CPU:$FA63 PRG:3A63 1A ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block +; Routine: Label_FA64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15591,12 +15614,12 @@ SubCFA3A_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block: +Label_FA64: sty ZpF1 ; CPU:$FA64 PRG:3A64 84 F1 lda #$30 ; CPU:$FA66 PRG:3A66 A9 30 sta $0712 ; CPU:$FA68 PRG:3A68 8D 12 07 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_2 +; Routine: Label_FA6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15604,11 +15627,11 @@ SubCFAC4_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_2: +Label_FA6B: lda $0712 ; CPU:$FA6B PRG:3A6B AD 12 07 ldx #$03 ; CPU:$FA6E PRG:3A6E A2 03 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_4 +; Routine: Label_FA70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15616,16 +15639,16 @@ SubCFAC4_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_4: +Label_FA70: lsr a ; CPU:$FA70 PRG:3A70 4A - bcs SubCFAB5 ; CPU:$FA71 PRG:3A71 B0 42 + bcs Label_FAB5 ; CPU:$FA71 PRG:3A71 B0 42 dex ; CPU:$FA73 PRG:3A73 CA - bne SubCFA3A_Block_4 ; CPU:$FA74 PRG:3A74 D0 FA + bne Label_FA70 ; CPU:$FA74 PRG:3A74 D0 FA tay ; CPU:$FA76 PRG:3A76 A8 lda $FA5F,y ; CPU:$FA77 PRG:3A77 B9 5F FA ldy #$8B ; CPU:$FA7A PRG:3A7A A0 8B ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_9 +; Routine: Label_FA7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15633,12 +15656,12 @@ SubCFA3A_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_9: +Label_FA7C: ldx #$B8 ; CPU:$FA7C PRG:3A7C A2 B8 jsr $F978 ; CPU:$FA7E PRG:3A7E 20 78 F9 - bne SubCFAB5 ; CPU:$FA81 PRG:3A81 D0 32 + bne Label_FAB5 ; CPU:$FA81 PRG:3A81 D0 32 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_3 +; Routine: Label_FA83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15646,7 +15669,7 @@ SubCFAC4_Block_9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_3: +Label_FA83: sty ZpF1 ; CPU:$FA83 PRG:3A83 84 F1 lda #$5E ; CPU:$FA85 PRG:3A85 A9 5E sta $0712 ; CPU:$FA87 PRG:3A87 8D 12 07 @@ -15655,7 +15678,7 @@ SubCFAC4_Block_3: lda #$3C ; CPU:$FA8F PRG:3A8F A9 3C jsr $F97B ; CPU:$FA91 PRG:3A91 20 7B F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_4 +; Routine: Label_FA94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15663,14 +15686,14 @@ SubCFAC4_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_4: +Label_FA94: lda $0709 ; CPU:$FA94 PRG:3A94 AD 09 07 sta APUPULSE2CTRL ; CPU:$FA97 PRG:3A97 8D 04 40 cmp #$95 ; CPU:$FA9A PRG:3A9A C9 95 - beq SubCFA3A_Block_5 ; CPU:$FA9C PRG:3A9C F0 03 + beq Label_FAA1 ; CPU:$FA9C PRG:3A9C F0 03 inc $0709 ; CPU:$FA9E PRG:3A9E EE 09 07 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_5 +; Routine: Label_FAA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15678,14 +15701,14 @@ SubCFAC4_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_5: +Label_FAA1: lda $0712 ; CPU:$FAA1 PRG:3AA1 AD 12 07 and #$07 ; CPU:$FAA4 PRG:3AA4 29 07 - bne SubCFA3A_Block_6 ; CPU:$FAA6 PRG:3AA6 D0 04 + bne Label_FAAC ; CPU:$FAA6 PRG:3AA6 D0 04 lda #$9F ; CPU:$FAA8 PRG:3AA8 A9 9F - bne SubCFA3A_Block_7 ; CPU:$FAAA PRG:3AAA D0 06 + bne Label_FAB2 ; CPU:$FAAA PRG:3AAA D0 06 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_6 +; Routine: Label_FAAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15693,12 +15716,12 @@ SubCFA3A_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_6: +Label_FAAC: cmp #$06 ; CPU:$FAAC PRG:3AAC C9 06 - bne SubCFAB5 ; CPU:$FAAE PRG:3AAE D0 05 + bne Label_FAB5 ; CPU:$FAAE PRG:3AAE D0 05 lda #$A3 ; CPU:$FAB0 PRG:3AB0 A9 A3 ; ----------------------------------------------------------------------------- -; Routine: SubCFA3A_Block_7 +; Routine: Label_FAB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15706,10 +15729,10 @@ SubCFA3A_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFA3A_Block_7: +Label_FAB2: sta APUPULSE2SWEEP ; CPU:$FAB2 PRG:3AB2 8D 05 40 ; ----------------------------------------------------------------------------- -; Routine: SubCFAB5 +; Routine: Label_FAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15717,15 +15740,15 @@ SubCFA3A_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAB5: +Label_FAB5: dec $0712 ; CPU:$FAB5 PRG:3AB5 CE 12 07 - bne SubCFAB5_Block ; CPU:$FAB8 PRG:3AB8 D0 09 + bne Label_FAC3 ; CPU:$FAB8 PRG:3AB8 D0 09 lda #$00 ; CPU:$FABA PRG:3ABA A9 00 sta ZpF1 ; CPU:$FABC PRG:3ABC 85 F1 lda #$90 ; CPU:$FABE PRG:3ABE A9 90 sta APUPULSE2CTRL ; CPU:$FAC0 PRG:3AC0 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: SubCFAB5_Block +; Routine: Label_FAC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15733,10 +15756,10 @@ SubCFAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAB5_Block: +Label_FAC3: rts ; CPU:$FAC3 PRG:3AC3 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4 +; Routine: Label_FAC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15744,32 +15767,32 @@ SubCFAB5_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4: +Label_FAC4: ldy ZpFE ; CPU:$FAC4 PRG:3AC4 A4 FE lda ZpF1 ; CPU:$FAC6 PRG:3AC6 A5 F1 lsr ZpFE ; CPU:$FAC8 PRG:3AC8 46 FE - bcs SubCFAC4_Block ; CPU:$FACA PRG:3ACA B0 98 + bcs Label_FA64 ; CPU:$FACA PRG:3ACA B0 98 lsr a ; CPU:$FACC PRG:3ACC 4A - bcs SubCFAC4_Block_2 ; CPU:$FACD PRG:3ACD B0 9C + bcs Label_FA6B ; CPU:$FACD PRG:3ACD B0 9C lsr ZpFE ; CPU:$FACF PRG:3ACF 46 FE - bcs SubCFAC4_Block_3 ; CPU:$FAD1 PRG:3AD1 B0 B0 + bcs Label_FA83 ; CPU:$FAD1 PRG:3AD1 B0 B0 lsr a ; CPU:$FAD3 PRG:3AD3 4A - bcs SubCFAC4_Block_4 ; CPU:$FAD4 PRG:3AD4 B0 BE + bcs Label_FA94 ; CPU:$FAD4 PRG:3AD4 B0 BE lsr ZpFE ; CPU:$FAD6 PRG:3AD6 46 FE - bcs SubCFAC4_Block_5 ; CPU:$FAD8 PRG:3AD8 B0 12 + bcs Label_FAEC ; CPU:$FAD8 PRG:3AD8 B0 12 lsr a ; CPU:$FADA PRG:3ADA 4A - bcs SubCFAB5 ; CPU:$FADB PRG:3ADB B0 D8 + bcs Label_FAB5 ; CPU:$FADB PRG:3ADB B0 D8 lsr a ; CPU:$FADD PRG:3ADD 4A - bcs SubCFAC4_Block_6 ; CPU:$FADE PRG:3ADE B0 29 + bcs Label_FB09 ; CPU:$FADE PRG:3ADE B0 29 lsr ZpFE ; CPU:$FAE0 PRG:3AE0 46 FE - bcs SubCFAC4_Block_7 ; CPU:$FAE2 PRG:3AE2 B0 15 + bcs Label_FAF9 ; CPU:$FAE2 PRG:3AE2 B0 15 lsr ZpFE ; CPU:$FAE4 PRG:3AE4 46 FE - bcs SubCFAC4_Block_8 ; CPU:$FAE6 PRG:3AE6 B0 2F + bcs Label_FB17 ; CPU:$FAE6 PRG:3AE6 B0 2F lsr a ; CPU:$FAE8 PRG:3AE8 4A - bcs SubCFAB5 ; CPU:$FAE9 PRG:3AE9 B0 CA + bcs Label_FAB5 ; CPU:$FAE9 PRG:3AE9 B0 CA rts ; CPU:$FAEB PRG:3AEB 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_5 +; Routine: Label_FAEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15777,15 +15800,15 @@ SubCFAC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_5: +Label_FAEC: sty ZpF1 ; CPU:$FAEC PRG:3AEC 84 F1 lda #$20 ; CPU:$FAEE PRG:3AEE A9 20 sta $0712 ; CPU:$FAF0 PRG:3AF0 8D 12 07 lda #$18 ; CPU:$FAF3 PRG:3AF3 A9 18 ldy #$B3 ; CPU:$FAF5 PRG:3AF5 A0 B3 - bne SubCFAC4_Block_9 ; CPU:$FAF7 PRG:3AF7 D0 83 + bne Label_FA7C ; CPU:$FAF7 PRG:3AF7 D0 83 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_7 +; Routine: Label_FAF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15793,7 +15816,7 @@ SubCFAC4_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_7: +Label_FAF9: sty ZpF1 ; CPU:$FAF9 PRG:3AF9 84 F1 lda #$08 ; CPU:$FAFB PRG:3AFB A9 08 sta $0712 ; CPU:$FAFD PRG:3AFD 8D 12 07 @@ -15802,7 +15825,7 @@ SubCFAC4_Block_7: lda #$04 ; CPU:$FB04 PRG:3B04 A9 04 jsr $F978 ; CPU:$FB06 PRG:3B06 20 78 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_6 +; Routine: Label_FB09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15810,15 +15833,15 @@ SubCFAC4_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_6: +Label_FB09: lda $0712 ; CPU:$FB09 PRG:3B09 AD 12 07 cmp #$04 ; CPU:$FB0C PRG:3B0C C9 04 - bne SubCFAB5 ; CPU:$FB0E PRG:3B0E D0 A5 + bne Label_FAB5 ; CPU:$FB0E PRG:3B0E D0 A5 lda #$A9 ; CPU:$FB10 PRG:3B10 A9 A9 sta APUPULSE2TIMERLO ; CPU:$FB12 PRG:3B12 8D 06 40 - bne SubCFAB5 ; CPU:$FB15 PRG:3B15 D0 9E + bne Label_FAB5 ; CPU:$FB15 PRG:3B15 D0 9E ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_8 +; Routine: Label_FB17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15826,7 +15849,7 @@ SubCFAC4_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_8: +Label_FB17: sty ZpF1 ; CPU:$FB17 PRG:3B17 84 F1 lda #$18 ; CPU:$FB19 PRG:3B19 A9 18 sta $0712 ; CPU:$FB1B PRG:3B1B 8D 12 07 @@ -15838,11 +15861,11 @@ SubCFAC4_Block_8: sta APUPULSE2TIMERHI ; CPU:$FB29 PRG:3B29 8D 07 40 lda $0712 ; CPU:$FB2C PRG:3B2C AD 12 07 cmp #$10 ; CPU:$FB2F PRG:3B2F C9 10 - bne SubCFAC4_Block_10 ; CPU:$FB31 PRG:3B31 D0 05 + bne Label_FB38 ; CPU:$FB31 PRG:3B31 D0 05 lda #$32 ; CPU:$FB33 PRG:3B33 A9 32 sta APUPULSE2TIMERLO ; CPU:$FB35 PRG:3B35 8D 06 40 ; ----------------------------------------------------------------------------- -; Routine: SubCFAC4_Block_10 +; Routine: Label_FB38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15850,7 +15873,7 @@ SubCFAC4_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFAC4_Block_10: +Label_FB38: jmp $FAB5 ; CPU:$FB38 PRG:3B38 4C B5 FA ; ---- data $FB3B-$FB70 (54 bytes) ---- ; referenced by `ldx $FB4B,y` at $FB80 (operand $FB4B falls inside this region) @@ -15859,12 +15882,13 @@ SubCFAC4_Block_10: ; referenced by `lda $FB52,y` at $FBD6 (operand $FB52 falls inside this region) ; referenced by `ldx $FB6E,y` at $FBF0 (operand $FB6E falls inside this region) ; referenced by `lda $FB6A,y` at $FBF6 (operand $FB6A falls inside this region) + SoundEngineData: ; Sound engine data (SubCFAC4/SubCFBA1) .byte $16, $10, $17, $18, $19, $1A, $1B, $1F, $1F, $1F, $1F, $1C, $1A, $17, $15, $14 ; CPU:$FB3B PRG:3B3B 16 10 17 18 19 1A 1B 1F 1F 1F 1F 1C 1A 17 15 14 .byte $02, $04, $06, $08, $0A, $0B, $0C, $0D, $10, $14, $19, $1B, $1D, $1F, $1F, $13 ; CPU:$FB4B PRG:3B4B 02 04 06 08 0A 0B 0C 0D 10 14 19 1B 1D 1F 1F 13 .byte $15, $1A, $1C, $1E, $1F, $1F, $1F, $1F, $06, $0A, $0B, $09, $0C, $0F, $0E, $0F ; CPU:$FB5B PRG:3B5B 15 1A 1C 1E 1F 1F 1F 1F 06 0A 0B 09 0C 0F 0E 0F .byte $10, $1F, $1F, $1F, $09, $0B ; CPU:$FB6B PRG:3B6B 10 1F 1F 1F 09 0B ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block +; Routine: Label_FB71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15872,12 +15896,12 @@ SubCFAC4_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block: +Label_FB71: sty ZpF2 ; CPU:$FB71 PRG:3B71 84 F2 lda #$7F ; CPU:$FB73 PRG:3B73 A9 7F sta $070E ; CPU:$FB75 PRG:3B75 8D 0E 07 ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block_2 +; Routine: Label_FB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15885,7 +15909,7 @@ SubCFBA1_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block_2: +Label_FB78: lda $070E ; CPU:$FB78 PRG:3B78 AD 0E 07 lsr a ; CPU:$FB7B PRG:3B7B 4A lsr a ; CPU:$FB7C PRG:3B7C 4A @@ -15898,7 +15922,7 @@ SubCFBA1_Block_2: tay ; CPU:$FB88 PRG:3B88 A8 lda $FB3B,y ; CPU:$FB89 PRG:3B89 B9 3B FB ; ----------------------------------------------------------------------------- -; Routine: SubCFB8C +; Routine: Label_FB8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15906,17 +15930,17 @@ SubCFBA1_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFB8C: +Label_FB8C: sta APUNOISECTRL ; CPU:$FB8C PRG:3B8C 8D 0C 40 stx APUNOISEPERIOD ; CPU:$FB8F PRG:3B8F 8E 0E 40 lda #$08 ; CPU:$FB92 PRG:3B92 A9 08 sta APUNOISELENGTH ; CPU:$FB94 PRG:3B94 8D 0F 40 dec $070E ; CPU:$FB97 PRG:3B97 CE 0E 07 - bne SubCFB8C_Block ; CPU:$FB9A PRG:3B9A D0 04 + bne Label_FBA0 ; CPU:$FB9A PRG:3B9A D0 04 lda #$00 ; CPU:$FB9C PRG:3B9C A9 00 sta ZpF2 ; CPU:$FB9E PRG:3B9E 85 F2 ; ----------------------------------------------------------------------------- -; Routine: SubCFB8C_Block +; Routine: Label_FBA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15924,10 +15948,10 @@ SubCFB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFB8C_Block: +Label_FBA0: rts ; CPU:$FBA0 PRG:3BA0 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1 +; Routine: Label_FBA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15935,24 +15959,24 @@ SubCFB8C_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1: +Label_FBA1: ldy ZpFC ; CPU:$FBA1 PRG:3BA1 A4 FC lda ZpF2 ; CPU:$FBA3 PRG:3BA3 A5 F2 lsr ZpFC ; CPU:$FBA5 PRG:3BA5 46 FC - bcs SubCFBA1_Block ; CPU:$FBA7 PRG:3BA7 B0 C8 + bcs Label_FB71 ; CPU:$FBA7 PRG:3BA7 B0 C8 lsr a ; CPU:$FBA9 PRG:3BA9 4A - bcs SubCFBA1_Block_2 ; CPU:$FBAA PRG:3BAA B0 CC + bcs Label_FB78 ; CPU:$FBAA PRG:3BAA B0 CC lsr ZpFC ; CPU:$FBAC PRG:3BAC 46 FC - bcs SubCFBA1_Block_3 ; CPU:$FBAE PRG:3BAE B0 0B + bcs Label_FBBB ; CPU:$FBAE PRG:3BAE B0 0B lsr a ; CPU:$FBB0 PRG:3BB0 4A - bcs SubCFBA1_Block_7 ; CPU:$FBB1 PRG:3BB1 B0 18 + bcs Label_FBCB ; CPU:$FBB1 PRG:3BB1 B0 18 lsr ZpFC ; CPU:$FBB3 PRG:3BB3 46 FC - bcs SubCFBA1_Block_5 ; CPU:$FBB5 PRG:3BB5 B0 24 + bcs Label_FBDB ; CPU:$FBB5 PRG:3BB5 B0 24 lsr a ; CPU:$FBB7 PRG:3BB7 4A - bcs SubCFBA1_Block_8 ; CPU:$FBB8 PRG:3BB8 B0 31 + bcs Label_FBEB ; CPU:$FBB8 PRG:3BB8 B0 31 rts ; CPU:$FBBA PRG:3BBA 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block_3 +; Routine: Label_FBBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15960,16 +15984,16 @@ SubCFBA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block_3: +Label_FBBB: sty ZpF2 ; CPU:$FBBB PRG:3BBB 84 F2 lda #$10 ; CPU:$FBBD PRG:3BBD A9 10 sta $070E ; CPU:$FBBF PRG:3BBF 8D 0E 07 lda ZpF0 ; CPU:$FBC2 PRG:3BC2 A5 F0 cmp #$04 ; CPU:$FBC4 PRG:3BC4 C9 04 - bne SubCFBA1_Block_7 ; CPU:$FBC6 PRG:3BC6 D0 03 + bne Label_FBCB ; CPU:$FBC6 PRG:3BC6 D0 03 jsr $FA36 ; CPU:$FBC8 PRG:3BC8 20 36 FA ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block_7 +; Routine: Label_FBCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15977,16 +16001,16 @@ SubCFBA1_Block_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block_7: +Label_FBCB: lda $070E ; CPU:$FBCB PRG:3BCB AD 0E 07 lsr a ; CPU:$FBCE PRG:3BCE 4A tay ; CPU:$FBCF PRG:3BCF A8 ldx $FB62,y ; CPU:$FBD0 PRG:3BD0 BE 62 FB ldy $070E ; CPU:$FBD3 PRG:3BD3 AC 0E 07 lda $FB52,y ; CPU:$FBD6 PRG:3BD6 B9 52 FB - bne SubCFB8C ; CPU:$FBD9 PRG:3BD9 D0 B1 + bne Label_FB8C ; CPU:$FBD9 PRG:3BD9 D0 B1 ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block_5 +; Routine: Label_FBDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -15994,16 +16018,16 @@ SubCFBA1_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block_5: +Label_FBDB: sty ZpF2 ; CPU:$FBDB PRG:3BDB 84 F2 lda #$04 ; CPU:$FBDD PRG:3BDD A9 04 sta $070E ; CPU:$FBDF PRG:3BDF 8D 0E 07 lda ZpF0 ; CPU:$FBE2 PRG:3BE2 A5 F0 cmp #$04 ; CPU:$FBE4 PRG:3BE4 C9 04 - bne SubCFBA1_Block_8 ; CPU:$FBE6 PRG:3BE6 D0 03 + bne Label_FBEB ; CPU:$FBE6 PRG:3BE6 D0 03 jsr $FA36 ; CPU:$FBE8 PRG:3BE8 20 36 FA ; ----------------------------------------------------------------------------- -; Routine: SubCFBA1_Block_8 +; Routine: Label_FBEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16011,7 +16035,7 @@ SubCFBA1_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBA1_Block_8: +Label_FBEB: lda $070E ; CPU:$FBEB PRG:3BEB AD 0E 07 lsr a ; CPU:$FBEE PRG:3BEE 4A tay ; CPU:$FBEF PRG:3BEF A8 @@ -16020,7 +16044,7 @@ SubCFBA1_Block_8: lda $FB6A,y ; CPU:$FBF6 PRG:3BF6 B9 6A FB jmp $FB8C ; CPU:$FBF9 PRG:3BF9 4C 8C FB ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC +; Routine: Label_FBFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16028,14 +16052,14 @@ SubCFBA1_Block_8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC: +Label_FBFC: lda ZpFB ; CPU:$FBFC PRG:3BFC A5 FB - bne SubCFBFC_Block ; CPU:$FBFE PRG:3BFE D0 05 - lda ZpF3 ; CPU:$FC00 PRG:3C00 A5 F3 - bne SubCFBFC_Block_2 ; CPU:$FC02 PRG:3C02 D0 4D + bne Label_FC05 ; CPU:$FBFE PRG:3BFE D0 05 + lda FrameCounter ; CPU:$FC00 PRG:3C00 A5 F3 + bne Label_FC51 ; CPU:$FC02 PRG:3C02 D0 4D rts ; CPU:$FC04 PRG:3C04 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block +; Routine: Label_FC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16043,15 +16067,15 @@ SubCFBFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block: +Label_FC05: cmp #$20 ; CPU:$FC05 PRG:3C05 C9 20 - bne SubCFBFC_Block_12 ; CPU:$FC07 PRG:3C07 D0 08 - lda ZpF3 ; CPU:$FC09 PRG:3C09 A5 F3 + bne Label_FC11 ; CPU:$FC07 PRG:3C07 D0 08 + lda FrameCounter ; CPU:$FC09 PRG:3C09 A5 F3 and #$0E ; CPU:$FC0B PRG:3C0B 29 0E sta ZpFD ; CPU:$FC0D PRG:3C0D 85 FD lda ZpFB ; CPU:$FC0F PRG:3C0F A5 FB ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_12 +; Routine: Label_FC11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16059,12 +16083,12 @@ SubCFBFC_Block: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_12: - sta ZpF3 ; CPU:$FC11 PRG:3C11 85 F3 +Label_FC11: + sta FrameCounter ; CPU:$FC11 PRG:3C11 85 F3 ldy #$00 ; CPU:$FC13 PRG:3C13 A0 00 sty ZpF8 ; CPU:$FC15 PRG:3C15 84 F8 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_4 +; Routine: Label_FC17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16072,10 +16096,10 @@ SubCFBFC_Block_12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_4: +Label_FC17: iny ; CPU:$FC17 PRG:3C17 C8 lsr a ; CPU:$FC18 PRG:3C18 4A - bcc SubCFBFC_Block_4 ; CPU:$FC19 PRG:3C19 90 FC + bcc Label_FC17 ; CPU:$FC19 PRG:3C19 90 FC lda $FD21,y ; CPU:$FC1B PRG:3C1B B9 21 FD tay ; CPU:$FC1E PRG:3C1E A8 lda $FD22,y ; CPU:$FC1F PRG:3C1F B9 22 FD @@ -16098,7 +16122,7 @@ SubCFBFC_Block_4: lda #$7F ; CPU:$FC4C PRG:3C4C A9 7F sta $0700 ; CPU:$FC4E PRG:3C4E 8D 00 07 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_2 +; Routine: Label_FC51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16106,20 +16130,20 @@ SubCFBFC_Block_4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_2: +Label_FC51: dec $0701 ; CPU:$FC51 PRG:3C51 CE 01 07 - bne SubCFBFC_Block_5 ; CPU:$FC54 PRG:3C54 D0 56 + bne Label_FCAC ; CPU:$FC54 PRG:3C54 D0 56 ldy ZpF8 ; CPU:$FC56 PRG:3C56 A4 F8 inc ZpF8 ; CPU:$FC58 PRG:3C58 E6 F8 lda (ZpF6),y ; CPU:$FC5A PRG:3C5A B1 F6 - bne SubCFBFC_Block_6 ; CPU:$FC5C PRG:3C5C D0 26 - lda ZpF3 ; CPU:$FC5E PRG:3C5E A5 F3 + bne Label_FC84 ; CPU:$FC5C PRG:3C5C D0 26 + lda FrameCounter ; CPU:$FC5E PRG:3C5E A5 F3 cmp #$40 ; CPU:$FC60 PRG:3C60 C9 40 - bne SubCFBFC_Block_7 ; CPU:$FC62 PRG:3C62 D0 04 + bne Label_FC68 ; CPU:$FC62 PRG:3C62 D0 04 lda ZpFD ; CPU:$FC64 PRG:3C64 A5 FD - bne SubCFBFC_Block_12 ; CPU:$FC66 PRG:3C66 D0 A9 + bne Label_FC11 ; CPU:$FC66 PRG:3C66 D0 A9 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_7 +; Routine: Label_FC68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16127,18 +16151,18 @@ SubCFBFC_Block_2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_7: +Label_FC68: cmp #$02 ; CPU:$FC68 PRG:3C68 C9 02 - beq SubCFBFC_Block_12 ; CPU:$FC6A PRG:3C6A F0 A5 + beq Label_FC11 ; CPU:$FC6A PRG:3C6A F0 A5 and #$0C ; CPU:$FC6C PRG:3C6C 29 0C - beq SubCFBFC_Block_10 ; CPU:$FC6E PRG:3C6E F0 09 + beq Label_FC79 ; CPU:$FC6E PRG:3C6E F0 09 lsr a ; CPU:$FC70 PRG:3C70 4A cmp #$04 ; CPU:$FC71 PRG:3C71 C9 04 - beq SubCFBFC_Block_12 ; CPU:$FC73 PRG:3C73 F0 9C + beq Label_FC11 ; CPU:$FC73 PRG:3C73 F0 9C lda #$08 ; CPU:$FC75 PRG:3C75 A9 08 - bne SubCFBFC_Block_12 ; CPU:$FC77 PRG:3C77 D0 98 + bne Label_FC11 ; CPU:$FC77 PRG:3C77 D0 98 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_10 +; Routine: Label_FC79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16146,14 +16170,14 @@ SubCFBFC_Block_7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_10: +Label_FC79: lda #$00 ; CPU:$FC79 PRG:3C79 A9 00 - sta ZpF3 ; CPU:$FC7B PRG:3C7B 85 F3 + sta FrameCounter ; CPU:$FC7B PRG:3C7B 85 F3 jsr $FA3A ; CPU:$FC7D PRG:3C7D 20 3A FA sta APUPULSE2CTRL ; CPU:$FC80 PRG:3C80 8D 04 40 rts ; CPU:$FC83 PRG:3C83 60 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_6 +; Routine: Label_FC84 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16161,19 +16185,19 @@ SubCFBFC_Block_10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_6: +Label_FC84: jsr $F983 ; CPU:$FC84 PRG:3C84 20 83 F9 sta $0701 ; CPU:$FC87 PRG:3C87 8D 01 07 lda ZpF1 ; CPU:$FC8A PRG:3C8A A5 F1 - bne SubCFBFC_Block_17 ; CPU:$FC8C PRG:3C8C D0 36 + bne Label_FCC4 ; CPU:$FC8C PRG:3C8C D0 36 txa ; CPU:$FC8E PRG:3C8E 8A and #$3E ; CPU:$FC8F PRG:3C8F 29 3E jsr $F97B ; CPU:$FC91 PRG:3C91 20 7B F9 tay ; CPU:$FC94 PRG:3C94 A8 - beq SubCFBFC_Block_14 ; CPU:$FC95 PRG:3C95 F0 02 + beq Label_FC99 ; CPU:$FC95 PRG:3C95 F0 02 ldy #$1F ; CPU:$FC97 PRG:3C97 A0 1F ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_14 +; Routine: Label_FC99 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16181,15 +16205,15 @@ SubCFBFC_Block_6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_14: +Label_FC99: sty $0702 ; CPU:$FC99 PRG:3C99 8C 02 07 ldx #$84 ; CPU:$FC9C PRG:3C9C A2 84 lda $0701 ; CPU:$FC9E PRG:3C9E AD 01 07 cmp #$10 ; CPU:$FCA1 PRG:3CA1 C9 10 - bcs SubCFBFC_Block_15 ; CPU:$FCA3 PRG:3CA3 B0 02 + bcs Label_FCA7 ; CPU:$FCA3 PRG:3CA3 B0 02 ldx #$82 ; CPU:$FCA5 PRG:3CA5 A2 82 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_15 +; Routine: Label_FCA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16197,11 +16221,11 @@ SubCFBFC_Block_14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_15: +Label_FCA7: ldy #$7F ; CPU:$FCA7 PRG:3CA7 A0 7F jsr $F95A ; CPU:$FCA9 PRG:3CA9 20 5A F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_5 +; Routine: Label_FCAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16209,17 +16233,17 @@ SubCFBFC_Block_15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_5: +Label_FCAC: lda ZpF1 ; CPU:$FCAC PRG:3CAC A5 F1 - bne SubCFBFC_Block_17 ; CPU:$FCAE PRG:3CAE D0 14 - lda ZpF3 ; CPU:$FCB0 PRG:3CB0 A5 F3 + bne Label_FCC4 ; CPU:$FCAE PRG:3CAE D0 14 + lda FrameCounter ; CPU:$FCB0 PRG:3CB0 A5 F3 and #$0C ; CPU:$FCB2 PRG:3CB2 29 0C - beq SubCFBFC_Block_17 ; CPU:$FCB4 PRG:3CB4 F0 0E + beq Label_FCC4 ; CPU:$FCB4 PRG:3CB4 F0 0E ldy $0702 ; CPU:$FCB6 PRG:3CB6 AC 02 07 - beq SubCFBFC_Block_18 ; CPU:$FCB9 PRG:3CB9 F0 03 + beq Label_FCBE ; CPU:$FCB9 PRG:3CB9 F0 03 dec $0702 ; CPU:$FCBB PRG:3CBB CE 02 07 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_18 +; Routine: Label_FCBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16227,11 +16251,11 @@ SubCFBFC_Block_5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_18: +Label_FCBE: lda $FFD9,y ; CPU:$FCBE PRG:3CBE B9 D9 FF sta APUPULSE2CTRL ; CPU:$FCC1 PRG:3CC1 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_17 +; Routine: Label_FCC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16239,13 +16263,13 @@ SubCFBFC_Block_18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_17: +Label_FCC4: ldy ZpF9 ; CPU:$FCC4 PRG:3CC4 A4 F9 - beq SubCFBFC_Block_20 ; CPU:$FCC6 PRG:3CC6 F0 32 + beq Label_FCFA ; CPU:$FCC6 PRG:3CC6 F0 32 dec $0703 ; CPU:$FCC8 PRG:3CC8 CE 03 07 - bne SubCFBFC_Block_20 ; CPU:$FCCB PRG:3CCB D0 2D + bne Label_FCFA ; CPU:$FCCB PRG:3CCB D0 2D ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_22 +; Routine: Label_FCCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16253,18 +16277,18 @@ SubCFBFC_Block_17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_22: +Label_FCCD: ldy ZpF9 ; CPU:$FCCD PRG:3CCD A4 F9 inc ZpF9 ; CPU:$FCCF PRG:3CCF E6 F9 lda (ZpF6),y ; CPU:$FCD1 PRG:3CD1 B1 F6 - bne SubCFBFC_Block_21 ; CPU:$FCD3 PRG:3CD3 D0 0B + bne Label_FCE0 ; CPU:$FCD3 PRG:3CD3 D0 0B ldy ZpF9 ; CPU:$FCD5 PRG:3CD5 A4 F9 inc ZpF9 ; CPU:$FCD7 PRG:3CD7 E6 F9 lda (ZpF6),y ; CPU:$FCD9 PRG:3CD9 B1 F6 sta $0700 ; CPU:$FCDB PRG:3CDB 8D 00 07 - bne SubCFBFC_Block_22 ; CPU:$FCDE PRG:3CDE D0 ED + bne Label_FCCD ; CPU:$FCDE PRG:3CDE D0 ED ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_21 +; Routine: Label_FCE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16272,17 +16296,17 @@ SubCFBFC_Block_22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_21: +Label_FCE0: jsr $F983 ; CPU:$FCE0 PRG:3CE0 20 83 F9 sta $0703 ; CPU:$FCE3 PRG:3CE3 8D 03 07 txa ; CPU:$FCE6 PRG:3CE6 8A and #$3E ; CPU:$FCE7 PRG:3CE7 29 3E jsr $F964 ; CPU:$FCE9 PRG:3CE9 20 64 F9 - bne SubCFBFC_Block_23 ; CPU:$FCEC PRG:3CEC D0 04 + bne Label_FCF2 ; CPU:$FCEC PRG:3CEC D0 04 ldx #$10 ; CPU:$FCEE PRG:3CEE A2 10 - bne SubCFBFC_Block_24 ; CPU:$FCF0 PRG:3CF0 D0 02 + bne Label_FCF4 ; CPU:$FCF0 PRG:3CF0 D0 02 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_23 +; Routine: Label_FCF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16290,10 +16314,10 @@ SubCFBFC_Block_21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_23: +Label_FCF2: ldx #$06 ; CPU:$FCF2 PRG:3CF2 A2 06 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_24 +; Routine: Label_FCF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16301,11 +16325,11 @@ SubCFBFC_Block_23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_24: +Label_FCF4: ldy $0700 ; CPU:$FCF4 PRG:3CF4 AC 00 07 jsr $F953 ; CPU:$FCF7 PRG:3CF7 20 53 F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_20 +; Routine: Label_FCFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16313,11 +16337,11 @@ SubCFBFC_Block_24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_20: +Label_FCFA: ldy ZpFA ; CPU:$FCFA PRG:3CFA A4 FA - beq SubCFBFC_Block_26 ; CPU:$FCFC PRG:3CFC F0 23 + beq Label_FD21 ; CPU:$FCFC PRG:3CFC F0 23 dec $0704 ; CPU:$FCFE PRG:3CFE CE 04 07 - bne SubCFBFC_Block_26 ; CPU:$FD01 PRG:3D01 D0 1E + bne Label_FD21 ; CPU:$FD01 PRG:3D01 D0 1E inc ZpFA ; CPU:$FD03 PRG:3D03 E6 FA lda (ZpF6),y ; CPU:$FD05 PRG:3D05 B1 F6 jsr $F983 ; CPU:$FD07 PRG:3D07 20 83 F9 @@ -16325,10 +16349,10 @@ SubCFBFC_Block_20: clc ; CPU:$FD0D PRG:3D0D 18 adc #$FE ; CPU:$FD0E PRG:3D0E 69 FE cmp #$0E ; CPU:$FD10 PRG:3D10 C9 0E - bcc SubCFBFC_Block_27 ; CPU:$FD12 PRG:3D12 90 02 + bcc Label_FD16 ; CPU:$FD12 PRG:3D12 90 02 lda #$0E ; CPU:$FD14 PRG:3D14 A9 0E ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_27 +; Routine: Label_FD16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16336,7 +16360,7 @@ SubCFBFC_Block_20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_27: +Label_FD16: asl a ; CPU:$FD16 PRG:3D16 0A asl a ; CPU:$FD17 PRG:3D17 0A sta APUTRIANGLECTRL ; CPU:$FD18 PRG:3D18 8D 08 40 @@ -16344,7 +16368,7 @@ SubCFBFC_Block_27: and #$3E ; CPU:$FD1C PRG:3D1C 29 3E jsr $F97F ; CPU:$FD1E PRG:3D1E 20 7F F9 ; ----------------------------------------------------------------------------- -; Routine: SubCFBFC_Block_26 +; Routine: Label_FD21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -16352,7 +16376,7 @@ SubCFBFC_Block_27: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -SubCFBFC_Block_26: +Label_FD21: rts ; CPU:$FD21 PRG:3D21 60 ; ---- data $FD22-$FFFF (734 bytes) ---- ; referenced by `bit $FFA9` at $C5FB (operand $FFA9 falls inside this region) @@ -16362,6 +16386,7 @@ SubCFBFC_Block_26: ; referenced by `lda $FF40,y` at $F98F (operand $FF40 falls inside this region) ; referenced by `lda $FD22,y` at $FC1F (operand $FD22 falls inside this region) ; ... and 6 further references from decoded code + VectorTableAndPadding: ; IRQ/NMI/RESET vectors + padding .byte $21, $08, $0D, $12, $26, $17, $17, $1C, $06, $4A, $FE, $09, $00, $06, $4D, $FD ; CPU:$FD22 PRG:3D22 21 08 0D 12 26 17 17 1C 06 4A FE 09 00 06 4D FD .byte $82, $42, $06, $EF, $FD, $49, $25, $00, $D2, $FF, $00, $00, $00, $D8, $FF, $00 ; CPU:$FD32 PRG:3D32 82 42 06 EF FD 49 25 00 D2 FF 00 00 00 D8 FF 00 .byte $00, $06, $B9, $FE, $95, $24, $06, $71, $FF, $40, $28, $42, $02, $04, $82, $04 ; CPU:$FD42 PRG:3D42 00 06 B9 FE 95 24 06 71 FF 40 28 42 02 04 82 04 diff --git a/Ice Climber (U)/copilot/reconstructed.lbl b/Ice Climber (U)/copilot/reconstructed.lbl new file mode 100644 index 0000000..1eb028c --- /dev/null +++ b/Ice Climber (U)/copilot/reconstructed.lbl @@ -0,0 +1,998 @@ +al 00FD22 .VectorTableAndPadding +al 00FD16 .Label_FD16 +al 00FD21 .Label_FD21 +al 00FCF4 .Label_FCF4 +al 00FCF2 .Label_FCF2 +al 00FCE0 .Label_FCE0 +al 00FCCD .Label_FCCD +al 00FCFA .Label_FCFA +al 00FCBE .Label_FCBE +al 00FCA7 .Label_FCA7 +al 00FC99 .Label_FC99 +al 00FCC4 .Label_FCC4 +al 00FC79 .Label_FC79 +al 00FC68 .Label_FC68 +al 00FC84 .Label_FC84 +al 00FCAC .Label_FCAC +al 00FC17 .Label_FC17 +al 00FC11 .Label_FC11 +al 00FC51 .Label_FC51 +al 00FC05 .Label_FC05 +al 00FBFC .Label_FBFC +al 00FBEB .Label_FBEB +al 00FBDB .Label_FBDB +al 00FBCB .Label_FBCB +al 00FBBB .Label_FBBB +al 00FBA1 .Label_FBA1 +al 00FBA0 .Label_FBA0 +al 00FB8C .Label_FB8C +al 00FB78 .Label_FB78 +al 00FB71 .Label_FB71 +al 00FB3B .SoundEngineData +al 00FB38 .Label_FB38 +al 00FB17 .Label_FB17 +al 00FAF9 .Label_FAF9 +al 00FB09 .Label_FB09 +al 00FAEC .Label_FAEC +al 00FAC4 .Label_FAC4 +al 00FAC3 .Label_FAC3 +al 00FAB2 .Label_FAB2 +al 00FAAC .Label_FAAC +al 00FAA1 .Label_FAA1 +al 00FA94 .Label_FA94 +al 00FA83 .Label_FA83 +al 00FA7C .Label_FA7C +al 00FAB5 .Label_FAB5 +al 00FA70 .Label_FA70 +al 00FA6B .Label_FA6B +al 00FA64 .Label_FA64 +al 00FA52 .Label_FA52 +al 00FA3A .Label_FA3A +al 00FA36 .Label_FA36 +al 00FA3F .Label_FA3F +al 00FA27 .Label_FA27 +al 00FA4A .Label_FA4A +al 00FA40 .Label_FA40 +al 00FA1B .Label_FA1B +al 00FA0C .Label_FA0C +al 00F9EB .Label_F9EB +al 00FA32 .Label_FA32 +al 00F9D0 .Label_F9D0 +al 00F9D6 .Label_F9D6 +al 00F9C8 .Label_F9C8 +al 00FA2F .Label_FA2F +al 00F9B1 .Label_F9B1 +al 00F9AB .Label_F9AB +al 00F983 .Label_F983 +al 00F97F .Label_F97F +al 00F97B .Label_F97B +al 00F978 .Label_F978 +al 00F977 .Label_F977 +al 00F966 .Label_F966 +al 00F964 .Label_F964 +al 00F961 .Label_F961 +al 00F95A .Label_F95A +al 00F953 .Label_F953 +al 00F94F .Label_F94F +al 00F949 .Label_F949 +al 00F91E .Label_F91E +al 00F919 .Label_F919 +al 00F911 .Label_F911 +al 00F8F1 .Label_F8F1 +al 00F8E2 .Label_F8E2 +al 00F8F4 .Label_F8F4 +al 00F8DB .Label_F8DB +al 00F8D7 .Label_F8D7 +al 00F8CB .Label_F8CB +al 00F8BE .Label_F8BE +al 00F8AC .Label_F8AC +al 00F8A8 .Label_F8A8 +al 00F889 .Label_F889 +al 00F86B .Label_F86B +al 00F85C .Label_F85C +al 00F87C .Label_F87C +al 00F899 .Label_F899 +al 00F898 .Label_F898 +al 00F877 .Label_F877 +al 00F838 .Label_F838 +al 00F82F .Label_F82F +al 00F80C .Label_F80C +al 00F7B8 .MusicChannelData5 +al 00F7AB .Label_F7AB +al 00F7A2 .Label_F7A2 +al 00F793 .Label_F793 +al 00F78B .Label_F78B +al 00F783 .Label_F783 +al 00F77D .Label_F77D +al 00F773 .Label_F773 +al 00F78A .Label_F78A +al 00F74F .Label_F74F +al 00F737 .Label_F737 +al 00F71F .Label_F71F +al 00F71D .Label_F71D +al 00F6EF .MusicChannelData4 +al 00F72C .Label_F72C +al 00F6EA .Label_F6EA +al 00F6BD .Label_F6BD +al 00F6DB .Label_F6DB +al 00F6DA .Label_F6DA +al 00F6A4 .Label_F6A4 +al 00F691 .Label_F691 +al 00F67E .MusicChannelData3 +al 00F671 .Label_F671 +al 00F660 .Label_F660 +al 00F64C .Label_F64C +al 00F630 .Label_F630 +al 00F5C9 .MusicChannelData2 +al 00F5BB .Label_F5BB +al 00F5B1 .Label_F5B1 +al 00F5C4 .Label_F5C4 +al 00F586 .Label_F586 +al 00F566 .Label_F566 +al 00F564 .Label_F564 +al 00F52D .Label_F52D +al 00F537 .Label_F537 +al 00F524 .Label_F524 +al 00F517 .Label_F517 +al 00F504 .Label_F504 +al 00F466 .MusicChannelData +al 00F465 .Label_F465 +al 00F45B .Label_F45B +al 00F42A .Label_F42A +al 00F3F8 .Label_F3F8 +al 00F436 .Label_F436 +al 00F430 .Label_F430 +al 00F3D2 .Label_F3D2 +al 00F3C6 .Label_F3C6 +al 00F3BD .Label_F3BD +al 00F3A1 .Label_F3A1 +al 00F39F .Label_F39F +al 00F395 .Label_F395 +al 00F38D .Label_F38D +al 00F3D1 .Label_F3D1 +al 00F362 .Label_F362 +al 00F35B .Label_F35B +al 00F34E .Label_F34E +al 00F34A .Label_F34A +al 00F343 .Label_F343 +al 00F33A .Label_F33A +al 00F327 .Label_F327 +al 00F309 .Label_F309 +al 00F32E .Label_F32E +al 00F305 .Label_F305 +al 00F35A .Label_F35A +al 00F2EC .Label_F2EC +al 00F1AC .MusicSequenceData +al 00F19E .Label_F19E +al 00F149 .SoundEffectTable1 +al 00F13B .Label_F13B +al 00F137 .Label_F137 +al 00F13A .Label_F13A +al 00F11C .Label_F11C +al 00F10B .Label_F10B +al 00F0F9 .Label_F0F9 +al 00F0DC .Label_F0DC +al 00F0C9 .Label_F0C9 +al 00F0C8 .Label_F0C8 +al 00F092 .Label_F092 +al 00F07F .Label_F07F +al 00F075 .Label_F075 +al 00F04F .Label_F04F +al 00F043 .Label_F043 +al 00F015 .Label_F015 +al 00F014 .Label_F014 +al 00F03B .Label_F03B +al 00EFF3 .Label_EFF3 +al 00EFEC .Label_EFEC +al 00EFDF .Label_EFDF +al 00EFD3 .UpdateMusicChannel19 +al 00EFCB .Label_EFCB +al 00EFE1 .Label_EFE1 +al 00EFB6 .Label_EFB6 +al 00EFA8 .Label_EFA8 +al 00EFB7 .Label_EFB7 +al 00EF9A .Label_EF9A +al 00EF8E .Label_EF8E +al 00EF83 .Label_EF83 +al 00EF7D .Label_EF7D +al 00EF7B .Label_EF7B +al 00EF70 .Label_EF70 +al 00EF6F .Label_EF6F +al 00EF6A .Label_EF6A +al 00EF62 .Label_EF62 +al 00EF56 .Label_EF56 +al 00EF4E .Label_EF4E +al 00EF47 .Label_EF47 +al 00EF42 .Label_EF42 +al 00EF3A .Label_EF3A +al 00EF19 .Label_EF19 +al 00EF06 .Label_EF06 +al 00EF03 .Label_EF03 +al 00EEC2 .Label_EEC2 +al 00EEA2 .Label_EEA2 +al 00EE9D .Label_EE9D +al 00EEBD .Label_EEBD +al 00EE8D .Label_EE8D +al 00EE82 .Label_EE82 +al 00EEAA .Label_EEAA +al 00EEC5 .Label_EEC5 +al 00EEA7 .Label_EEA7 +al 00EE4A .Label_EE4A +al 00EE44 .Label_EE44 +al 00EE38 .Label_EE38 +al 00EE31 .Label_EE31 +al 00EE26 .Label_EE26 +al 00EE58 .Label_EE58 +al 00EE54 .Label_EE54 +al 00EE0F .Label_EE0F +al 00EE0D .Label_EE0D +al 00EDDF .Label_EDDF +al 00EDD5 .Label_EDD5 +al 00EDBF .Label_EDBF +al 00ED63 .Label_ED63 +al 00ED51 .Label_ED51 +al 00ED4B .Label_ED4B +al 00ED2C .Label_ED2C +al 00ED25 .Label_ED25 +al 00ECF0 .Label_ECF0 +al 00ECEA .Label_ECEA +al 00ECE2 .Label_ECE2 +al 00ECDD .Label_ECDD +al 00ED08 .Label_ED08 +al 00ECC7 .Label_ECC7 +al 00ECC1 .Label_ECC1 +al 00ECBF .Label_ECBF +al 00ECA8 .Label_ECA8 +al 00EC9F .Label_EC9F +al 00EC92 .Label_EC92 +al 00EC82 .Label_EC82 +al 00EC63 .Label_EC63 +al 00EC74 .Label_EC74 +al 00EC53 .Label_EC53 +al 00EC51 .Label_EC51 +al 00EC42 .Label_EC42 +al 00EC50 .Label_EC50 +al 00EC2A .Label_EC2A +al 00EC23 .Label_EC23 +al 00EC12 .Label_EC12 +al 00EC07 .Label_EC07 +al 00EBFE .Label_EBFE +al 00EBE9 .Label_EBE9 +al 00EBDD .Label_EBDD +al 00EBD3 .Label_EBD3 +al 00EBCE .Label_EBCE +al 00EB8A .Label_EB8A +al 00EB7F .Label_EB7F +al 00EB6B .Label_EB6B +al 00EB5F .Label_EB5F +al 00EB56 .Label_EB56 +al 00EB6C .Label_EB6C +al 00EB62 .Label_EB62 +al 00EB68 .Label_EB68 +al 00EB30 .Label_EB30 +al 00EB2E .Label_EB2E +al 00EAFC .Label_EAFC +al 00EAA2 .EnemyAnimData3 +al 00EAA1 .Label_EAA1 +al 00EA97 .Label_EA97 +al 00EA96 .Label_EA96 +al 00EA8E .Label_EA8E +al 00EA5C .EnemyAnimData2 +al 00EA55 .Label_EA55 +al 00EA4C .Label_EA4C +al 00EA4A .Label_EA4A +al 00EA49 .Label_EA49 +al 00E9CE .EnemyAnimData1 +al 00E9C5 .Label_E9C5 +al 00E9C3 .Label_E9C3 +al 00E9AA .Label_E9AA +al 00E999 .Label_E999 +al 00E88C .EnemySpriteData +al 00E881 .Label_E881 +al 00E88B .Label_E88B +al 00E843 .Label_E843 +al 00E837 .Label_E837 +al 00E833 .Label_E833 +al 00E875 .Label_E875 +al 00E81C .Label_E81C +al 00E815 .Label_E815 +al 00E80D .Label_E80D +al 00E7F7 .Label_E7F7 +al 00E7E7 .Label_E7E7 +al 00E7CB .Label_E7CB +al 00E7B8 .Label_E7B8 +al 00E7B2 .Label_E7B2 +al 00E7A1 .Label_E7A1 +al 00E79D .Label_E79D +al 00E779 .Label_E779 +al 00E77C .Label_E77C +al 00E75E .Label_E75E +al 00E74B .Label_E74B +al 00E747 .Label_E747 +al 00E72B .Label_E72B +al 00E720 .Label_E720 +al 00E719 .Label_E719 +al 00E726 .Label_E726 +al 00E6F1 .Label_E6F1 +al 00E6E9 .Label_E6E9 +al 00E6D7 .Label_E6D7 +al 00E6D3 .Label_E6D3 +al 00E6BE .Label_E6BE +al 00E6AD .Label_E6AD +al 00E6A5 .Label_E6A5 +al 00E69B .Label_E69B +al 00E678 .Label_E678 +al 00E668 .Label_E668 +al 00E64E .Label_E64E +al 00E662 .Label_E662 +al 00E64D .Label_E64D +al 00E640 .Label_E640 +al 00E63D .Label_E63D +al 00E635 .Label_E635 +al 00E614 .Label_E614 +al 00E5FF .Label_E5FF +al 00E5F2 .Label_E5F2 +al 00E5D2 .Label_E5D2 +al 00E5C8 .Label_E5C8 +al 00E5BB .Label_E5BB +al 00E5A9 .Label_E5A9 +al 00E59B .Label_E59B +al 00E58F .Label_E58F +al 00E587 .Label_E587 +al 00E583 .Label_E583 +al 00E573 .Label_E573 +al 00E52F .Label_E52F +al 00E527 .Label_E527 +al 00E523 .Label_E523 +al 00E517 .Label_E517 +al 00E4EC .Label_E4EC +al 00E502 .Label_E502 +al 00E4CC .Label_E4CC +al 00E4C2 .Label_E4C2 +al 00E382 .LevelLayoutData +al 00E37E .Label_E37E +al 00E372 .Label_E372 +al 00E367 .Label_E367 +al 00E362 .Label_E362 +al 00E343 .Label_E343 +al 00E33C .Label_E33C +al 00E325 .Label_E325 +al 00E321 .Label_E321 +al 00E31A .Label_E31A +al 00E303 .Label_E303 +al 00E2FB .Label_E2FB +al 00E2F8 .Label_E2F8 +al 00E2EC .Label_E2EC +al 00E2E6 .Label_E2E6 +al 00E2F4 .Label_E2F4 +al 00E2D0 .Label_E2D0 +al 00E2C5 .Label_E2C5 +al 00E2B0 .Label_E2B0 +al 00E2BE .Label_E2BE +al 00E2A3 .Label_E2A3 +al 00E29A .Label_E29A +al 00E296 .Label_E296 +al 00E27C .Label_E27C +al 00E27A .Label_E27A +al 00E277 .Label_E277 +al 00E265 .Label_E265 +al 00E250 .Label_E250 +al 00E243 .Label_E243 +al 00E251 .Label_E251 +al 00E234 .Label_E234 +al 00E23E .Label_E23E +al 00E225 .Label_E225 +al 00E235 .Label_E235 +al 00E214 .Label_E214 +al 00E21A .Label_E21A +al 00E202 .Label_E202 +al 00E215 .Label_E215 +al 00E1E4 .Label_E1E4 +al 00E1EE .Label_E1EE +al 00E1C6 .Label_E1C6 +al 00E196 .Label_E196 +al 00E1E1 .Label_E1E1 +al 00E1E0 .Label_E1E0 +al 00E189 .Label_E189 +al 00E17E .Label_E17E +al 00E176 .Label_E176 +al 00E184 .Label_E184 +al 00E16B .Label_E16B +al 00E165 .Label_E165 +al 00E153 .Label_E153 +al 00E142 .Label_E142 +al 00E158 .Label_E158 +al 00E13D .Label_E13D +al 00E12C .Label_E12C +al 00E12E .Label_E12E +al 00E12F .Label_E12F +al 00E110 .Label_E110 +al 00E115 .Label_E115 +al 00E0E2 .Label_E0E2 +al 00E11A .Label_E11A +al 00E11B .Label_E11B +al 00E0C0 .Label_E0C0 +al 00E0B9 .Label_E0B9 +al 00E0A7 .Label_E0A7 +al 00E097 .Label_E097 +al 00E08F .Label_E08F +al 00E069 .Label_E069 +al 00E05E .Label_E05E +al 00E054 .Label_E054 +al 00E01B .Label_E01B +al 00E05D .Label_E05D +al 00E004 .Label_E004 +al 00E002 .Label_E002 +al 00DFF8 .Label_DFF8 +al 00DFEA .Label_DFEA +al 00DFE1 .Label_DFE1 +al 00DFCF .Label_DFCF +al 00DFB1 .Label_DFB1 +al 00DFE9 .Label_DFE9 +al 00DFAB .Label_DFAB +al 00DFA5 .Label_DFA5 +al 00DEF6 .LevelDataPtrs +al 00DEEC .Label_DEEC +al 00DEEA .Label_DEEA +al 00DEE4 .Label_DEE4 +al 00DEB9 .Label_DEB9 +al 00DEB2 .Label_DEB2 +al 00DE90 .Label_DE90 +al 00DEA9 .Label_DEA9 +al 00DE7B .Label_DE7B +al 00DE7D .Label_DE7D +al 00DE83 .Label_DE83 +al 00DEA5 .Label_DEA5 +al 00DE44 .Label_DE44 +al 00DE9C .Label_DE9C +al 00DE2E .Label_DE2E +al 00DE22 .Label_DE22 +al 00DE1D .Label_DE1D +al 00DE12 .Label_DE12 +al 00DE07 .Label_DE07 +al 00DDEC .Label_DDEC +al 00DDE1 .Label_DDE1 +al 00DE11 .Label_DE11 +al 00DE10 .Label_DE10 +al 00DDC9 .Label_DDC9 +al 00DDBF .Label_DDBF +al 00DDBD .Label_DDBD +al 00DDB6 .Label_DDB6 +al 00DDA9 .Label_DDA9 +al 00DDA1 .Label_DDA1 +al 00DD8F .UpdateSound26_13 +al 00DD91 .Label_DD91 +al 00DD94 .Label_DD94 +al 00DD75 .UpdateSound26_11 +al 00DD97 .Label_DD97 +al 00DD50 .Label_DD50 +al 00DD24 .Label_DD24 +al 00DD1D .Label_DD1D +al 00DD22 .Label_DD22 +al 00DD16 .Label_DD16 +al 00DD0B .Label_DD0B +al 00DCFE .Label_DCFE +al 00DCF6 .Label_DCF6 +al 00DCFA .Label_DCFA +al 00DCF0 .Label_DCF0 +al 00DCEA .Label_DCEA +al 00DCB3 .Label_DCB3 +al 00DCAD .Label_DCAD +al 00DCA4 .Label_DCA4 +al 00DC97 .Label_DC97 +al 00DC80 .Label_DC80 +al 00DC6A .Label_DC6A +al 00DC58 .Label_DC58 +al 00DC53 .Label_DC53 +al 00DC5E .Label_DC5E +al 00DC59 .Label_DC59 +al 00DC43 .Label_DC43 +al 00DC36 .Label_DC36 +al 00DC2B .Label_DC2B +al 00DC34 .Label_DC34 +al 00DC18 .Label_DC18 +al 00DC4D .Label_DC4D +al 00DC0C .Label_DC0C +al 00DBFD .Label_DBFD +al 00DC56 .Label_DC56 +al 00DBCB .Label_DBCB +al 00DBB4 .Label_DBB4 +al 00DBB6 .UpdateSound24_1 +al 00DBB0 .Label_DBB0 +al 00DBAD .Label_DBAD +al 00DBA2 .Label_DBA2 +al 00DBA6 .Label_DBA6 +al 00DB9C .Label_DB9C +al 00DB86 .Label_DB86 +al 00DB81 .Label_DB81 +al 00DB57 .Label_DB57 +al 00DB4B .Label_DB4B +al 00DB54 .Label_DB54 +al 00DB65 .Label_DB65 +al 00DBA4 .Label_DBA4 +al 00DB31 .Label_DB31 +al 00DB2C .Label_DB2C +al 00DB1D .Label_DB1D +al 00DB1B .Label_DB1B +al 00DB0E .Label_DB0E +al 00DAF2 .Label_DAF2 +al 00DAF0 .Label_DAF0 +al 00DAD5 .Label_DAD5 +al 00DAB7 .Label_DAB7 +al 00DABC .Label_DABC +al 00DAB2 .Label_DAB2 +al 00DAD4 .Label_DAD4 +al 00DAD3 .Label_DAD3 +al 00DA99 .Label_DA99 +al 00DA8F .Label_DA8F +al 00DA85 .Label_DA85 +al 00DA87 .Label_DA87 +al 00DA64 .Label_DA64 +al 00DA93 .Label_DA93 +al 00DA4D .Label_DA4D +al 00DA4B .Label_DA4B +al 00DA11 .Label_DA11 +al 00DA3A .Label_DA3A +al 00DA44 .Label_DA44 +al 00D9CE .Label_D9CE +al 00D9CC .Label_D9CC +al 00D9C3 .Label_D9C3 +al 00D9AD .Label_D9AD +al 00D9A5 .Label_D9A5 +al 00D988 .Label_D988 +al 00D964 .Label_D964 +al 00D967 .Label_D967 +al 00D9A8 .Label_D9A8 +al 00D957 .Label_D957 +al 00D946 .Label_D946 +al 00D942 .Label_D942 +al 00D91C .Label_D91C +al 00D90F .Label_D90F +al 00D90E .Label_D90E +al 00D905 .Label_D905 +al 00D8FD .Label_D8FD +al 00D8FC .Label_D8FC +al 00D8EA .Label_D8EA +al 00D8DC .Label_D8DC +al 00D8C6 .Label_D8C6 +al 00D8C8 .Label_D8C8 +al 00D8AF .Label_D8AF +al 00D8A6 .Label_D8A6 +al 00D8A2 .Label_D8A2 +al 00D896 .Label_D896 +al 00D8A5 .Label_D8A5 +al 00D890 .Label_D890 +al 00D888 .Label_D888 +al 00D884 .Label_D884 +al 00D863 .Label_D863 +al 00D887 .Label_D887 +al 00D82F .Label_D82F +al 00D81F .Label_D81F +al 00D819 .Label_D819 +al 00D80F .Label_D80F +al 00D80A .Label_D80A +al 00D7FE .Label_D7FE +al 00D816 .Label_D816 +al 00D7F8 .Label_D7F8 +al 00D7F1 .Label_D7F1 +al 00D7FC .Label_D7FC +al 00D82E .Label_D82E +al 00D7DE .Label_D7DE +al 00D75E .SpriteDataTable4 +al 00D74C .Label_D74C +al 00D726 .Label_D726 +al 00D724 .Label_D724 +al 00D723 .Label_D723 +al 00D71B .Label_D71B +al 00D715 .Label_D715 +al 00D6E8 .Label_D6E8 +al 00D71A .Label_D71A +al 00D6E0 .Label_D6E0 +al 00D6DC .Label_D6DC +al 00D6C9 .Label_D6C9 +al 00D6B9 .Label_D6B9 +al 00D6BF .Label_D6BF +al 00D6A5 .Label_D6A5 +al 00D6A3 .Label_D6A3 +al 00D699 .Label_D699 +al 00D68F .Label_D68F +al 00D686 .Label_D686 +al 00D697 .Label_D697 +al 00D684 .Label_D684 +al 00D680 .Label_D680 +al 00D6CC .Label_D6CC +al 00D669 .Label_D669 +al 00D6CB .Label_D6CB +al 00D62F .Label_D62F +al 00D639 .Label_D639 +al 00D63B .Label_D63B +al 00D617 .Label_D617 +al 00D603 .Label_D603 +al 00D5D5 .Label_D5D5 +al 00D648 .Label_D648 +al 00D5C5 .Label_D5C5 +al 00D5B4 .Label_D5B4 +al 00D5B0 .Label_D5B0 +al 00D59C .Label_D59C +al 00D594 .Label_D594 +al 00D587 .Label_D587 +al 00D58D .Label_D58D +al 00D564 .Label_D564 +al 00D567 .Label_D567 +al 00D561 .Label_D561 +al 00D552 .Label_D552 +al 00D547 .Label_D547 +al 00D507 .Label_D507 +al 00D4F5 .Label_D4F5 +al 00D4EE .Label_D4EE +al 00D4E4 .Label_D4E4 +al 00D4D2 .Label_D4D2 +al 00D4C0 .Label_D4C0 +al 00D4AE .Label_D4AE +al 00D4A9 .Label_D4A9 +al 00D49D .Label_D49D +al 00D4CE .Label_D4CE +al 00D495 .Label_D495 +al 00D493 .Label_D493 +al 00D48C .Label_D48C +al 00D483 .Label_D483 +al 00D487 .Label_D487 +al 00D465 .Label_D465 +al 00D463 .Label_D463 +al 00D446 .Label_D446 +al 00D441 .Label_D441 +al 00D43C .Label_D43C +al 00D431 .Label_D431 +al 00D421 .Label_D421 +al 00D400 .Label_D400 +al 00D3F6 .Label_D3F6 +al 00D3F2 .Label_D3F2 +al 00D3EB .Label_D3EB +al 00D3DF .Label_D3DF +al 00D3D9 .Label_D3D9 +al 00D3CF .Label_D3CF +al 00D3F5 .Label_D3F5 +al 00D3B3 .Label_D3B3 +al 00D3AC .Label_D3AC +al 00D3AB .Label_D3AB +al 00D390 .Label_D390 +al 00D385 .Label_D385 +al 00D383 .Label_D383 +al 00D37F .Label_D37F +al 00D367 .Label_D367 +al 00D372 .Label_D372 +al 00D393 .Label_D393 +al 00D33C .Label_D33C +al 00D32E .Label_D32E +al 00D371 .Label_D371 +al 00D308 .Label_D308 +al 00D301 .Label_D301 +al 00D2FB .Label_D2FB +al 00D300 .Label_D300 +al 00D2F9 .Label_D2F9 +al 00D2F8 .Label_D2F8 +al 00D2D9 .Label_D2D9 +al 00D2D2 .Label_D2D2 +al 00D2CB .UpdateSound12_4 +al 00D2C7 .Label_D2C7 +al 00D2BC .Label_D2BC +al 00D2A8 .Label_D2A8 +al 00D29E .Label_D29E +al 00D2B5 .Label_D2B5 +al 00D284 .Label_D284 +al 00D282 .Label_D282 +al 00D2B6 .Label_D2B6 +al 00D266 .Label_D266 +al 00D264 .Label_D264 +al 00D269 .Label_D269 +al 00D252 .Label_D252 +al 00D24B .Label_D24B +al 00D249 .Label_D249 +al 00D25A .Label_D25A +al 00D212 .Label_D212 +al 00D211 .Label_D211 +al 00D206 .Label_D206 +al 00D1FB .Label_D1FB +al 00D1F9 .Label_D1F9 +al 00D1F5 .Label_D1F5 +al 00D1E7 .Label_D1E7 +al 00D1E5 .Label_D1E5 +al 00D1DB .Label_D1DB +al 00D1C4 .Label_D1C4 +al 00D1D2 .Label_D1D2 +al 00D1AB .Label_D1AB +al 00D1A7 .Label_D1A7 +al 00D192 .Label_D192 +al 00D17C .Label_D17C +al 00D17B .Label_D17B +al 00D16A .Label_D16A +al 00D171 .Label_D171 +al 00D151 .Label_D151 +al 00D160 .UpdateSound6 +al 00D143 .Label_D143 +al 00D133 .Label_D133 +al 00D127 .Label_D127 +al 00D123 .Label_D123 +al 00D117 .UpdateSound4_11 +al 00D126 .Label_D126 +al 00D111 .Label_D111 +al 00D0F4 .Label_D0F4 +al 00D0C5 .Label_D0C5 +al 00D0C7 .Label_D0C7 +al 00D0C0 .Label_D0C0 +al 00D0B8 .Label_D0B8 +al 00D0CA .Label_D0CA +al 00D0AA .Label_D0AA +al 00D0F7 .Label_D0F7 +al 00D07C .Label_D07C +al 00D077 .Label_D077 +al 00D079 .Label_D079 +al 00D06B .Label_D06B +al 00D05A .Label_D05A +al 00D053 .Label_D053 +al 00D02D .Label_D02D +al 00D04F .Label_D04F +al 00D025 .Label_D025 +al 00D021 .Label_D021 +al 00D01E .Label_D01E +al 00D018 .Label_D018 +al 00D00A .Label_D00A +al 00CFFB .Label_CFFB +al 00CFEF .Label_CFEF +al 00CFFC .Label_CFFC +al 00CFEB .Label_CFEB +al 00CFD1 .Label_CFD1 +al 00CFD3 .Label_CFD3 +al 00CFC6 .Label_CFC6 +al 00CFC0 .Label_CFC0 +al 00CFBD .Label_CFBD +al 00CFA4 .Label_CFA4 +al 00CF99 .Label_CF99 +al 00CFA9 .Label_CFA9 +al 00CF7C .Label_CF7C +al 00CF89 .Label_CF89 +al 00CFA7 .Label_CFA7 +al 00CF6D .Label_CF6D +al 00CF5B .Label_CF5B +al 00CF46 .Label_CF46 +al 00CF55 .Label_CF55 +al 00CF51 .Label_CF51 +al 00CF1A .Label_CF1A +al 00CF15 .Label_CF15 +al 00CF12 .Label_CF12 +al 00CF19 .Label_CF19 +al 00CEEF .Label_CEEF +al 00CEE7 .Label_CEE7 +al 00CEDD .Label_CEDD +al 00CEDB .Label_CEDB +al 00CECD .Label_CECD +al 00CEEE .Label_CEEE +al 00CED0 .Label_CED0 +al 00CE9A .Label_CE9A +al 00CE8B .Label_CE8B +al 00CE88 .Label_CE88 +al 00CE7E .Label_CE7E +al 00CE93 .Label_CE93 +al 00CE5D .Label_CE5D +al 00CE54 .Label_CE54 +al 00CE5C .Label_CE5C +al 00CE3F .Label_CE3F +al 00CE43 .Label_CE43 +al 00CE11 .Label_CE11 +al 00CE29 .Label_CE29 +al 00CDF1 .Label_CDF1 +al 00CDFF .Label_CDFF +al 00CDD0 .Label_CDD0 +al 00CDE9 .Label_CDE9 +al 00CDDF .Label_CDDF +al 00CDDB .Label_CDDB +al 00CDC4 .Label_CDC4 +al 00CDB0 .Label_CDB0 +al 00CDAF .Label_CDAF +al 00CD95 .Label_CD95 +al 00CD8B .Label_CD8B +al 00CD83 .Label_CD83 +al 00CD68 .Label_CD68 +al 00CD62 .Label_CD62 +al 00CD20 .SpriteAnimTable3 +al 00CD61 .Label_CD61 +al 00CD13 .Label_CD13 +al 00CD0D .Label_CD0D +al 00CCF6 .Label_CCF6 +al 00CD12 .Label_CD12 +al 00CCE1 .Label_CCE1 +al 00CCB9 .Label_CCB9 +al 00CCE4 .Label_CCE4 +al 00CCED .Label_CCED +al 00CC9E .Label_CC9E +al 00CC67 .SpriteDataTable3 +al 00CC1F .Label_CC1F +al 00CC05 .Label_CC05 +al 00CBB3 .SpriteDataTable2 +al 00CBAF .Label_CBAF +al 00CBA9 .Label_CBA9 +al 00CB9D .UpdateSprites5_4 +al 00CB9C .Label_CB9C +al 00CB8E .UpdateSprites4_6 +al 00CB8C .UpdateSprites4_7 +al 00CB81 .UpdateSprites2_12 +al 00CB78 .UpdateSprites_4 +al 00CB64 .Label_CB64 +al 00CB61 .Label_CB61 +al 00CB5E .Label_CB5E +al 00CB54 .Label_CB54 +al 00CB3E .Label_CB3E +al 00CB35 .UpdateController2_4 +al 00CB2D .Label_CB2D +al 00CB21 .Label_CB21 +al 00CB02 .Label_CB02 +al 00CB00 .UpdateController +al 00CAED .InitSprites3 +al 00CAE6 .Label_CAE6 +al 00CAD8 .Label_CAD8 +al 00CACE .InitSprites_4 +al 00CAA4 .Label_CAA4 +al 00CAB4 .Label_CAB4 +al 00CAC0 .Label_CAC0 +al 00CA99 .Label_CA99 +al 00CACB .Label_CACB +al 00CAC6 .Label_CAC6 +al 00CA6B .Label_CA6B +al 00CA94 .Label_CA94 +al 00CAC1 .Label_CAC1 +al 00CA61 .Label_CA61 +al 00CA4C .UpdateSprites13 +al 00CA44 .UpdateSprites12 +al 00CA40 .UpdateSprites11 +al 00CA3D .Label_CA3D +al 00CA36 .UpdateSprites10 +al 00CA33 .UpdateSprites9 +al 00CA2C .Label_CA2C +al 00CA29 .UpdateSprites8 +al 00CA1A .UpdateSprites7_3 +al 00CA17 .Label_CA17 +al 00CA03 .Label_CA03 +al 00CA01 .Label_CA01 +al 00CA0B .Label_CA0B +al 00C9F8 .UpdateSprites7_1 +al 00C9EF .Label_C9EF +al 00C9F3 .Label_C9F3 +al 00C9E2 .Label_C9E2 +al 00C9D7 .UpdateSprites6 +al 00C9D6 .Label_C9D6 +al 00C9C2 .Label_C9C2 +al 00C9BB .Label_C9BB +al 00C977 .Label_C977 +al 00C99A .Label_C99A +al 00C995 .Label_C995 +al 00C963 .Label_C963 +al 00C94B .UpdateSprites5_1 +al 00C92B .Label_C92B +al 00C94A .Label_C94A +al 00C8EE .UpdateSprites4_5 +al 00C8E0 .UpdateSprites3_6 +al 00C8D9 .Label_C8D9 +al 00C8BF .Label_C8BF +al 00C8A4 .UpdateSprites2_11 +al 00C89A .UpdateSprites2_10 +al 00C891 .ClearSpriteRAM +al 00C883 .InitSprites2_1 +al 00C868 .UpdateSprites2_9 +al 00C853 .Label_C853 +al 00C83D .UpdateSprites2_8 +al 00C829 .Label_C829 +al 00C821 .InitGameState +al 00C81D .GameLoopEntry_5 +al 00C813 .Label_C813 +al 00C7FD .Label_C7FD +al 00C7F7 .Label_C7F7 +al 00C7F5 .UpdateSprites4_4 +al 00C7CF .Label_C7CF +al 00C7CA .Label_C7CA +al 00C7C5 .Label_C7C5 +al 00C7C1 .UpdateSprites4_3 +al 00C7A5 .Label_C7A5 +al 00C77B .Label_C77B +al 00C777 .UpdateSprites4_1 +al 00C76F .Label_C76F +al 00C759 .Label_C759 +al 00C73D .UpdateSprites3_5 +al 00C728 .UpdateSprites2_7 +al 00C726 .CheckZp55 +al 00C718 .Label_C718 +al 00C6FB .UpdateSprites3_4 +al 00C680 .CheckZp14_Data +al 00C67F .Label_C67F +al 00C664 .Label_C664 +al 00C626 .Label_C626 +al 00C63A .Label_C63A +al 00C620 .CheckZp14 +al 00C60F .Label_C60F +al 00C608 .Label_C608 +al 00C5F9 .Label_C5F9 +al 00C5FC .Label_C5FC +al 00C5EF .Label_C5EF +al 00C5ED .Label_C5ED +al 00C5DB .Label_C5DB +al 00C5D3 .UpdateSprites3_3 +al 00C5C9 .Label_C5C9 +al 00C5A9 .Label_C5A9 +al 00C5A7 .UpdateSprites2_5 +al 00C5B0 .Label_C5B0 +al 00C5D2 .Label_C5D2 +al 00C597 .Label_C597 +al 00C592 .Label_C592 +al 00C586 .Label_C586 +al 00C582 .Label_C582 +al 00C579 .Label_C579 +al 00C553 .Label_C553 +al 00C542 .UpdateSprites_3 +al 00C512 .SpriteInitTable +al 00C508 .Label_C508 +al 00C4F6 .Label_C4F6 +al 00C4E8 .Label_C4E8 +al 00C4D9 .Label_C4D9 +al 00C4D7 .InitSprites_3 +al 00C4CD .Label_C4CD +al 00C4C8 .Label_C4C8 +al 00C4C0 .UpdateSprites3_1 +al 00C44A .UpdateSprites2_4 +al 00C440 .SpriteDataTable1 +al 00C437 .CheckZp34 +al 00C436 .Label_C436 +al 00C3A4 .SpriteAnimTable2 +al 00C39F .Label_C39F +al 00C38D .Label_C38D +al 00C2ED .SpriteAnimTable1 +al 00C2D9 .Label_C2D9 +al 00C2CE .Label_C2CE +al 00C2C1 .Label_C2C1 +al 00C2C4 .Label_C2C4 +al 00C2B0 .Label_C2B0 +al 00C2AB .UpdateSprites2_3 +al 00C279 .Label_C279 +al 00C274 .Label_C274 +al 00C253 .Label_C253 +al 00C23F .Label_C23F +al 00C23B .Label_C23B +al 00C218 .UpdateSprites_1 +al 00C207 .Label_C207 +al 00C1FE .Label_C1FE +al 00C21D .Label_C21D +al 00C21A .UpdateSprites2_1 +al 00C1F0 .Label_C1F0 +al 00C1D7 .Label_C1D7 +al 00C1D0 .Label_C1D0 +al 00C1AF .Label_C1AF +al 00C19B .Label_C19B +al 00C189 .Label_C189 +al 00C17F .Label_C17F +al 00C182 .Label_C182 +al 00C1D6 .Label_C1D6 +al 00C166 .Label_C166 +al 00C150 .CopySprites +al 00C14E .InitSprites_1 +al 00C148 .WaitVBlankFrame2 +al 00C141 .UpdateGameState2_5 +al 00C135 .Label_C135 +al 00C10A .UpdateGameState6 +al 00C0FA .UpdateGameState3_1 +al 00C0F3 .Label_C0F3 +al 00C138 .UpdateGameState2_4 +al 00C100 .UpdateGameState4 +al 00C103 .UpdateGameState5 +al 00C11A .Label_C11A +al 00C126 .GameLoopEntry_4 +al 00C0D3 .GameStateUpdate +al 00C095 .NmiFrameUpdate2 +al 00C083 .NmiFrameUpdate +al 00C076 .NmiHandler +al 00C070 .GameLoopEntry_1 +al 00C06D .MainGameLoop +al 00C05E .InitAPU_3 +al 00C058 .InitAPU_1 +al 00C041 .ClearZeropage +al 00C024 .WaitVBlank2_1 +al 00C01E .WaitVBlank_1 +al 00C014 .Reset +al 00C000 .InitialSpriteData diff --git a/_wip/Ice Climber (U)/copilot/reconstructed.map b/Ice Climber (U)/copilot/reconstructed.map similarity index 61% rename from _wip/Ice Climber (U)/copilot/reconstructed.map rename to Ice Climber (U)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Ice Climber (U)/copilot/reconstructed.map +++ b/Ice Climber (U)/copilot/reconstructed.map @@ -1,13 +1,19 @@ Modules list: ------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 prg.o: PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 Segment list: ------------- Name Start End Size Align ---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 PRG 00C000 00FFFF 004000 00001 diff --git a/Ice Climber (U)/copilot/reconstructed.nes b/Ice Climber (U)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..9437c724bedf629f9131ddbd37dd16683cf13e31 GIT binary patch literal 24592 zcmb8Xd0-P|{y+ZAOfr+Er3rU{(oRbSil`A#BNkdOtljG3fg47)Mv3-jPXKre0GBue@e9=zTUQWd7$eU|f(dxMn zefoq_#z#s?MfHrMZb1`{E*3P_cXTBw(=IkK_H*ita<@>vSP*{~6mS1Z+}x5kJ*blM zzS*j+d|tO?e}~QXbHM`#~P3 zPj1oETeM`QZ^j7&sxmOcuHWO!F1@H`m*2-7&*So3U$tn$=KDDPly*Hvx5q|D?_{57 zbTBE?wC}{Kjcrqv2Q*&1(=m4A{SYah6rLGh0DV(Yi!`}@Q}d&J>;+8)jOU05YPPvuN({{`Ad zb;+~UPvtq)j7q#Syz?7G=U|m7e~FW4(QK~whVm@ldz~8e=C{~)SF_^VCovP%EWZMj zCt>8V>QFgXO_hJ6rpdR830<|*!i*NLvRE!QjQaAnN23$ND)yl($j}uOj1?5b^s`vR z(=D1snXa2ui`FhKJBvA%s&@Gn*`*f96Y}2w8a>C0!<+QTep2P-mkju6P5qnt*NzOcnt+Wf{{~~1e?^GWAzHX3v^y(yz{*?md(tIe5X7b;`KDK^(!RInnQU=v#O*zu}Y`NV?F@W_Gr@s zQngjY=!NnQt1-Yfc{|{y=`NsIk-L7g$GSx!VuVFx2xtAw;ob;#TllF#I`76sd?*mSeX zj8(}P-5TQjoXU=+*~rR1qy1*uer%hqtclY$Nqy7$x-v!&NgX(O}k(1KCGm{ZKegn*8^fx9V;+I84n=_TMjU3~& zxiYM_QG*4Wv+qcob0B`H{b(5((LOygBFyT}5p8Txzc!c?xwbjy!)vvv_1A`Ttk;I7 zM8;%GH;$1?#*qDI;s8X?c#)Cxfev3vv1X znkn3Svyo_SF0~faq49nt9_{QqBp<2e6-JIz;wTOlISy?Uf~GCnQH9VF(j;g}_von@7BD4M$vO_j`{h%-MrEj)o)8wR?{gJl7^OwKhq$L;ho+escf3#Z+c8q9i`~ z6}Cqe#hPYyv`h>kn{g2$R-r0@p$F7en^af1AVU7MXy+)}9IXoC;RD{$8c8O#L_Ch! z(VeMpU!GwL#rYq$TI)U_T)^E_#c<+^jm`g+$`DX0Gs|6b81dDO^{)~R?1JH%TLMRg z3>#8SjNZ@4=oBal%983#JgI=){r>1MdlQqrf#MwGg5ikEwsrV7j2Retsft)oYbOO8&3(Ex$(513;rQ! zcW(q@z=hT0P=@B>_!eN$wCb?#kTQH_fJGqSTAenUoN{M%Xcc9Ot zu<1nS8wOs(cn7-jnJH|Uc2q5q8OSGA0#CRo`cTOnEc^$o=p!Eytx@S$ZWfjPcu4KbLs=dx2-Bdqf&!^JuIWZQuUh3B ztA{s?gHke%%C;wFJ@LrGKd*TGCHFEy(svAA_{<=?rORUJB3<;?MeL-@ZnsC6Q~JGA zUv#VfUHea7$bG5)$FuHi(QYxZ3^C!^qpZ+oDg)(0Xf*x5!=v&?=uU~sVEI|7DJX%i z@}qe4g!s3g#reC%L*I*Od&NG-#Wzog@h8PKTg84qh|E^8^AY)GvaIQ%H6sdTBu3NJJqg;A-CSY?J?!C z(9<3h=;yJvN1zl#+7tN!d77m1>*wqDuK&G$H;{E*R-`&N0lCgi6oXgJQ6y?Q#o_1Z zkT2{PGY?S3tUPps)1-{jIA}9sdaL;1&OFafL$bx!$sM1-d2BwbAk1Z0~HG3hxpql1#&F2N=q_pPaUkN$cPI z5ob><5sHY@M18gBuDVO$Xx1YC{?d^lKXy=6c7eoOiw^s?55AAggz17L`Sc(f4@^G8peH z@y_pkMD%{QZh=_*y>AzVst^DCOB|pI$IE9o)&O=xR~O6hxX{P*IC&En84o@J6{v8$7!5u8LRT%`4VmBpv|tUC>6Gs>0<)BH_C~0 z8h(3-^$f#E;6e@Up`gcBBfL=ta`5mjy4__CiE(p%fZ~!|*{WK^;1(xTQEejD!J+ce zY#23GnjEQE;{+`kieSRJS%Js4pv=xTC9EqbQxY_6y3Pe2-6C5JG^y@)Y@^w_-U>V! zj3t4_^49%?m58HDx?}d(&e=XQ_7v>G)-WT)d*ZO<+4=z0Oc#4Tup8$s@JikV-i4B} zap%Q5H|L$$g4yuU4J~?t_~hoiR81^1p08|f2pm;Wts%j0@=?D*9I7coxn8MGKmDrq zhW4iB(+cLz|NVkL%%4~AhXudK9}>u-khp`{m{C&5uJir`U%Y06z8+t17+c=3KgLKJVG@RnNMG!35~}cRQZ@qxX*fmLeMhJX`UJA5{I&_?+v(3$c zCJGR9-GCU#`QkB8hMKvFV)v2SnNl?aj%JM#^!e|-Gg|B?ux7j3H+uNyAbbyHP$508 zLske*Mp9;6^SFLqxz2pOc3Ks{e~*Fxc8I%v@E-(MW|jH5{&a;vi%M4V*U$9}p>O== zru?yO`N}MvYnwf`X*LFCHCr`NI6I|Z02M#~LHRwH)ICPW+m*TN^Lsna9osfnVfE{j zwjAZK+*TkTR@!rv4!ONR?f}|tpkVMgZyT%~jJ{0%t6V1k4HHsk-3#8K3!Sq&XXkDF zVaMzpvl|L>J*>)l3seV)Tbb=TG)Lyd^FPQWWcAyWeAl75G{=MndKi~vH{Tn9{w+c9 zS+*JrG^b&{{!~cNpA5z6k2PGUO*4)hP97LRf*ijbnh0hx{3pNA9E^u1B0&?G7Gm|^ zf~}4br)*Qj%9SL@dWM4+4GEh4@qssp-Hy^Xh!l90*v&}3N}#YS#3@jOn>7x!%*SKL*cDCohj4LIkUm2}K?T@Q+e$oXUV`S=EdoU@3pZfzp3~H6x~O zE2syEJ($BTI3J2Nia?NPmY%1=96D>6ryiNqIagcT1`OE$ikPgGx9`CEvoFfTW09KSQ^y ze_UImGSpd8^LQ{0vt{LxhUF_ygZ6gODo>CfkQmlvvYM6tS|&h^^xwSpDee#XTy6$e z7htx_OwIOydAnoI4w-D9?H@9S**@FT9}4~K_GQT}R7_xF0O&r0E2>?UNvwn=XTXhF zJwC)yEeGmC)0V3w;ZS1|0}M%+Xh=d9t6_-2E0WI;U??7=^v99*$9YHBjDnuuVfT*i z9MdpHj%ye#$3s5JQ1RR1z(4vp=Go;0s>(d)BY`mQ%vc|%T@xtaJ1jsvDX@$OYXS28 z6l({!tA^Ky`-OQXB>V%KgUQ-=D!YBYejVn6Rm|1WDyo(W#zYb^i9rU&b}DKEHGnh3 zI~u5k#qf@X(XK=BK+u~HiA<^<P(9X!eHLp=&*V2sQcVHH;2T_sqiS1=6mL zM?DGa#+1hCR2^pkMm$nripkn$i7Iuf=xwL$lS)Ss1hUODRP8b}5jf}I;!Iec z(+I7J7gL)H>Rars%6v^zey?qklMOx7{p92nmN=X_Qjw=FxN}U#=n-jYsp7SwGcevu7}4;&S3yTFqAeh+25@Apc7 zSBFWap2enDG$(d@g?MSFIH|2#2orsH!%BS!M9kTbLne=1EZZ4oJ#k?(^*w=Uz#k?7 z{?e*;c*<93ePeiGy(Nzccu7is^C%Uhjh(~_=McQZEw>{Qq3bUDOsN>@VnNi3tCdj*Dv><&pUdm z%Rm?hI4AG)i)aW)rv+RydO<_e%r1T;3(rCTZG1|6Q0{s$UbA+_OZ z^KjzYT`D(LWh;MRYZDqByBu?@m0MX#g_cUNr1%de^N6gK-?J4kn!$^w@|D?qrNpZ} zl{q|AKo+cdI&XN5)@Jd27!K-xPPL7?dKtLX;Y=dgL3cJ(B;SB29?t+$edAQ#@p3j_ zmCd8@jO!_u^I-IP^$7<|6SKPU^;}g%_BE9H|fd0HtX7x4VFFL49Km zA2QpMDX@9jRa1H7=aH%$KJTs{!R>$>0iZGjdnr98R8orPzpo3%>9=lLCg|o(e-*SF z0ypp>MjPEQo1VP)T0Q+7^ZM;t+v*tc*$4DIpU z1UBP_B|*fGfAnNPbNc6xNN@iUbYp_lfid;Q6AI^jSv>Wl|CpGxtD!WG@s>IyW78lN z=a6+XnuAvVF*<5HhV&nx3VQiu{v%F58{+IILlOO02wwdhtmS0B0KSryT!?c*TVKgJ zB-x_HLzW7Gl?43UjL7~cWt#3pW-Mgj=zo2zShT)@Rm2GaJyz{&)fd2U(aukbhDcH5O)qjo0To6j|CkIxe$G=;_OldX5tqD!61-qJC z{j5uJNCgmf=RIfDh~zUvc{Y_|P2eY93YlJYC%0}!!xHFwZ?s~nyA?twyNFKqMF>1r zA>x<8-Cjz-=S)yISuF{o$Ps82 zpf$o))B30bw0NXgm>s6EY8=$fU1b6!^K!v6Xx9pwdR6cwK%Vz00B~xUz?;2Ppc&^W zz&x&XtOezE;66+#)vfT;5b>Y8MRkuN>)WcCHH1SpPu;Vi^|{vNt$%NAD9yla1D>pA zmBfGT5%t}9pX{cI&fN{In1ES4vb(vI6x20rb37~14Adn!=`e?vWp3RQV!yp81bMPt z^9sVj%~(TF52o(pG-#AQK{i!$f!B6>&1G<^)DX0AI2?lp4H|%eQK}iuj8Wmsi*NWb zWYvGJs~6wh<9L~_B2COQVcc?-YfRWv&T$`^am|O@Q5NIYu$3kt!dC1_*yA|?6ii%g zymsBXA8`)sBW2>_6!Hbb>BGVIymuZLfI$SGDn-Kjx+H zQ5~*J343x4JxfWvH*!;{w^Wi7m)T08O7dm9N?NrG0l8IbaO-zoJ}y7+@!WFNapCE4 zaY!(7DGzQ9ael|;gX1wZEYYmd!^6_UqnJWw-TV=k*SH6dBYWw-9l^fgst)enmG*fJ zAM11ET@99k`q_mWzS~;;{zqfwS62RG^#@zFjk;^<(|=gz zc~AZDz@cMja(?^X`=5NX@ei*nAO14C?A15c96h!AgKsx%-8^FUtEzUeqgmVbN@&}b zjb)yiZ5y=x9Vf4yI=67iD_@7c&w1dlUjM;kXXzzcog^OFr{7wStu)EJ*tM^5*uIPu z$BVPTI2jq7+aa5MtjewAf>h--tu(jsE6q)Onf;fRgI29s5|w>{3wvd2;Nsr(Rtdc+ z*Uzn!s^h^#2w!FAt3tS<3+Dz#FYH8+fHvTpbqw8KypaFtU)#Z)su_ z20ebPAvmmg_kX3XujDxO7aSd&A2SC)yQA~Pv75u3B1s67hv;z4jOLC*sN z%K2}r4YHZ=`t=wn#(lwWQv!CVu}Qt`7Ahj^7Yag2o>V{Bak^(HweOlGdP$}CF5Ua}g8Ee!TCykz7_Gzsr9H&1}Til}Ehg-f%ZAy#%e9h}x)^c(3e);wC zt=x*|xfLICE1Ef6S2uFj^3~umUw|5_YCY{ON5RD}9Q~`HpI!C|-K$UP8|9znIw*R$ zGFS_hZfw&&eIPO!G?Sv#g$8TwN>!*x+Yb=MQ1kXFuZJSwj3)VYuy2`mbTsX=!>rPV z=*LiL!Zl(YrL{U#4Qbj3gVHYV!wAtj6&DS4MqM}Rx_S#E2I_Ro_hE7s;}AzAst;Fl zW2>3QKkct;1mb-IJ~njJ13Rs1nExgC!+{tNt;|GFxasL-f1t%wV z?Ju)$mJB$vN#$%JH3kL8%RZqh2xb6M&tL`%J&Ra2QRxE zmj;Zz>j~Vqa|fz9ir>&i*MU0Vh?Y5ymzVHWOQ1}=?BlC^n9JU)F-!<7g&jB4X{t9c zX_LT*qTyW{`H7RjJ7swnvHv}tkoDw~alUP2gymo4n;VJ6^3e#=2LH>r?d02kJ4a-m zZY9gewc}eSkbhZ-<@qrq$j9SrC$x=!j)=9SX*-!n4xS@BNE)eaZ6!^FjPDe0OdDVG zuk`0?h--o}!F8sFkR8{4OU9*>hOHTC6Vgxpi@ae`P)N~9$N1#=IU^=a*g={a(#B0V zO!A+vCFvUuk+atlaYH8=e~5HW7{5a#<7>&>9V2cdFSn6PBc4wmzhT7Tx5;hSx038^ zlKqE2i^M*Lx!syW2>#}!rxS8l>Qg35KRd~e%PuhG5O#sZWX~b_k#ql!yuIV%zQ~6= zdOkaQ=mc>S9|@8$LzryF&60MOBoRkWQQgj-$Zq_JBMyl}4nwTs+NN>I0h!4N>(_>! z@{h`)mu~e1AxXnsk)5sPms{%_s}ELsgvR#{R{8`~+bcoT@EhmmE|i5f(i{}D|M<)+ zmI!N>2x4~I<|Tr57N?>5x+)Kd;X*YB0!3Ud3)046k=)mZ)kNZ_dVlPQY&m90WSPIWNDt+Cba<&~>JpOya>Ar< zMl2ZHA@kS`T%8Z00>oXL7!K=vIH)D4x?>JU<=QYPYGf_e2REtas#ZbatNtk{Le*-4 z@^;EHsP7gp|M*DQsvHNVWNreO-T*2d2c;s)J>iCYZF)RubJm=%?0_3e%S1|h(M z+T7e^)rTrD*tGQu?tb%H+o;T~SI>iQW5cDbE53V8d8|IeRu_2vAUv&04q~bPco4#D z)w!h>}o`W$^j?Wfbc1%Ry-wTz%uH!*~}14*5za zU#5Kn^~98mq?CHUc;6i~_T{t19=YwKcxd3f=^f z3ff<>fLE7Qvb+K<7q`uogl{9YeRQGGb67UD^{M7D$Dk9`4w*Xu^4vsQn3{tNbSrN2 zA!#FK?F+>Qugno2)gZ9&%opW{A=}IBI@B=Up6j!OI6LdJms+dMHCDXu1$VTJmk09s zd|}b8{GvPfMZe(}JNU6|&Q%X={Gh#xaCo_Zwiw>XVokEE zpz$*tY+&5_YeyiGto7k|&t9~^)mcuUk`r@}R9U%-syI%3;t2H7N^aL{oSpz@fd%P# zOl2iU>8&}|wWW5t#=RQP0YVv^6Sxr7OeE97w`%+G}~8omU8(vik`2K5dc$5;tTHr_WZV%ZU~BFzz}1uDuc$*wv0LjT2uz z0`DzYK-fHw$P7jdY-`6DVUwPKLE=##Xm8hGiXFi$WMaIsGlz)xhtRYD%%myNUJsh= zQKsjG>218J+P>`W&di8Jzm^GKoRn^WZby4JJR5BOHJ+DH!U5hXfX2W>7{XjcaO-X zz?Vm4xY6YVxldrvk-SM8cpmrT^dgpJ7!z(}djs;-*2Z>DAD@$vqK~dCa9*F0jT^yL zxV%}7gSZFwMnj{WGfp;caB_@oNiTp}(++}K4?*HxxjZM(|Cf4<3y)#m%wM3zF8>AB z?gv2lGqgP*{9Vg);M+G`$&J-VdOeE`S=v|PFI#Z^iCZ>+xdA#}2Zt9;mvHN0P^~9^ zt3vX&{z6YTOD%dcHRuzdt)c3~JPuXf8RB*rNfvK@!wlILRgx3Mz+NX+o8py3!J7zgncuaiYn4gChd*=>Os<{(yh+syH z+`U5-pFS4&_tDDfTysSRr=7u8K7Fj31g3Ld(u^B%?JVB9N-Qh2)o|EjA1SDZ+!58A zDu=L=c+D}|`!QVQv6YW;A*bPulG@J@#^omo#*GnPe{L)|R?ShbaZdd@vCKIk$bs(J z#`(u^%oiNP3o#3i)vKvh?W}rpRR^oERY&j+Pt`B`ZQ$L))}~< z2vY_wK5^*@j{~UH1;}y7bF00pdp_cV3B9vcD}X~@_3>Uu$TC~r$9o$ZVK{gjB}|X5 z4(6;|C=d%es@XtRYOLiPFK^(gHsETa(ed0W?<%SBa}@o+0T~HnIbJ?=tS)f!m{ha7 ztjswW^4=luY1`da*H+iG2RS0|Zu*4!T371n#ysIsH>;(9-LPt1qm#wE4ELO{$0@tP z$L~MUwp(&Iv$LmCwpjr`%;^)=9D3emA4b=C5U>daaT{lndvd*W&4I=eVD@pivoC}A-_=Ndi+OY^Qa(39xM2BCo~F5|@K^yN7XE4^=EhE*!1&G`E8EuLdg zkQ3K6+FA7iUHf;?VI5cXB`4Vv6B3~FK8Dx1<7yw#N3`fHG-^0i;a@6n9=3^P&|#d3|MjCDKO2>MxBdu1CaRsIe1jI zK%`Xt$VmdHylyVm_TwGkF5H+2p^yi+W@G2M*4O9{uUGV`>udEqZ;j%qD=PyJ*Lk}| z6`RMZQ}J_qKWwh>{s-6N6d!vAR;LEC>p!v$GN8`czo5Q`b@qp-jt{(l((&Af-VbrT zjgwL-`Iv_P?CLd7q{LfYx7<8z=n#i%!s9dkzS8AdIdS~WlU(;bgrI&n@wUuK4Ii4w zlceFZuMjr$=|3dp8v0`pz=PuA6KwXr{Ra*jYJ_3Kl2cN|)YNo@kr`vIMtCZL2v*0g?3r+T1kMmS6 zsgddzstRDKU%=(S6t4UpPTg6a%ZZPlF|0O~xaPOmyUXuJ$!YP2({1HSd9`KF4X1Qm zPIXDXfy=@E`NrR!s&90ig14&0303Zlq`Jnc9$yN4SYW~G2)Iz!-b=p*S)0SbZ>)-N z8)LY1uBJSAy+5a{!be;kf`@DNcU8#b-iT}7@EpA3dh?JL`$e1^7>@@}QCQy+t)rk$ zY&=~<^-g#}MdAD^o+=BCDI!j-+X_!B7K@NmT zlEQ?tH0q*?P#tJFUcsRyP!G_*Ag3;ne+JTX{u!AVeraf6c!`Fp#`FqfP~$Ua>H-`! zH7YqaU^5and@S$}yucG!aK?K}!-9Jm?*hQbYYl)Omc+lkaoda;lU@a0w$F#1g%O*4 zwvw1|U(hL~{hby6#MV4kh8N^*`j8AWeG#W3BcSOdaXGW+dLNci0Em2P9=BnQXc)-qxv1%V6$)puVwBXZaeq9Um9K2+8X{0?W+mF?Cq|UGdDB8JOL@2tpaJbyMv%awD}Gz`3zl}L z1X=k8NJl`?YetbSO`bAk>I3)xwr#7j6;~5@k44_vwoTa<;yfT-d0Wl4fb*Qp`Vtkq zF`~dc7oDA`WwlgaLN%vshfezdp8WF42Uxfz$DgaboozAhPdmVcYPVxn41L>V2lZM} zX(?}~ci-Cnyj#ve{AJ#oX|=}LZgNNwOW$M@;W;zm*@&4DSQ8^~k!T5$tcmoNq5)@S zB6i&lXQH9!QC`e4ux4oBSdIo02i~bTAd^&4UL9yZC$9>8danF)%As(NvJ!he3FmAQ z6=FA(*WwQ9jOq!>It8R!#wwMr7fhZ(2RJZ8ehc6&%Nv&u0AAe#B*@X#I|V&aL^J3w(Yq z!-UmM!E}^WA)9A#=%l~D0{H$usCMo`1E_3qcu9hO(6O>W{#c4c)JXZ@Z1I=#;s?NSvjLL-CCB)h6w5wM9EnKY#fcr~`sy&e^&^c0{U}QTf)4C*FE; z)!R?b{PK%>wc?+DT~_qM@8_55>J9Q4mQ8BmFv%v z0AsX#rut3aYV~IH1*mH@zWN?tr)I&+kb>{?>O9P*>5LYKWzbbmImxDd;^i~yqxkUd z3^cs`_-Ye~-3G*}8-2^QEn;%g(9)Btv%H_Mwx3YV<@)b{cd{-p^Mdb{>QBX@^V&F6 z{|?pa%JMit%@qG~er=pkZpsdMb?$f^?FFO3q`sr^As(vtd*$Zr&HV%ehm*j;lr7ct zC?}`%_$zY#s}T8f{a+yJm+Rk|>(4-HAbvOG`dcInB+`K#zE8BJ$XJl6PVtqfCg6c_ z;Am1*wVcn^-bSq>TKl>>8MSCDWYZ>gpfCp&{AlU&)(SbK7-h6?Atovft z#WjgS;K7U9N2oXbZ~a1}e*VS06&IC@nprum-6vspEg1V&zx&j&_bDmUYEz;Z??=dfKuIWJ&hMA*y-+9Nex zZCxLAY9p1?p=_9qmoydZLBVN>%Y~`6O0{SenA~Y`;sv^Y;?nZ~qny-kUY;=-`(Foj zDrE&LRF|%0u;PBUdWo+D2L>$$0L=tFaSaQ1`DRuK?1}(D&3S#?W=_zqt2y6x9>c~* zV<4j)qp&%F!kv9ygTD$4m|sH#&~eQLeZ*!H-n?$R@KGmiW)d9pdP0d{bBR_fP7Li- za$ZWc^yxQp@ZcmqwO()j_46Te2b;E} zdKR1ZbTyl->^t6%!6bw>yO{u&D5@AX%6*;3P8P)}-V)x#a{cl@&Umt!9tJ4xQz zw-0}-4{waZUF;f+_$K?d@3Zq4-@5oy)lYlWLmhSgGEYUt!|bbxZ&ugT*43}^ z8*&5>QoyFoX6agBB~1U7S-_?juw(CFEj<4HSEi61y?}Mz!6qi)-+yJw*LUFWwa_vA ztqiTl-`}@{K00x1#uLAjs^`u9eO+mRv6gQRt=jkVdxs9IzZ}ysb}qY#C4c<$^F{xe z`Q%e?*ZuAZc4!g%vFoFs_Pq1+0p)PV(L31D3t64z9>p$hBhC15`(si^-XZ_MH`|NI z^Q4e@pZPme%*fu9I6+Xx&=Ca?igqli z%R%1|Y{^MkS@78th9g8MDvm^Mp$QJ|I}`@H^zNQjU-TF~q-;|B=kA?FdRMW#jEHVh zRGc*N*`L2@THqqQEhTGml7o-yKQgbvFA>1aEGm@lAL}r>POux%|2$yVC-D4~%p#}V zSyWsk{<^`Pcg`I-CT-Aw?(VLlKNq`PnMn={ZR2u80gmj)+-_k^q_0s*2#b4JlZZOI zyBCz{E!|5{n&~i)LOoF3%l{X&>lfLurg);)Fzj;RIU} z#-j^nOGzGn+il$9Xziq|U|26+pSm zWo0EZ9A`@bX2}WkJ2Hgm@EAY3Kp4KeyQgPwba=X$;uS)Np@CA3XB%?V}=Pa1OVpp{4st{bp9-R z;>5Xg=LFj;9M}KG8&CfHR8#oyi7(&b`H97m(~B3g?4q9F=BA!SfR&Y+!7MH*?!o_p z(Nj!V=GN3yX6YhV@$sgfo+e^q`(`lAts78#ycp}AiYtYsQ^qf5X^POGc z-u8^KQ;d+9k`;qc6pW=vAr3GIzUS?v%pUNA=(eV0-6#d!v<;V%f;9&fNRrc8n34sD zN=ep)a1iT1JZl0@aE~5zyMtYmjX}T~^f3C}bA6JH_Kt=t2*gUVih{i~NB#?eSbZcV zqQ}y)80(QGCZ~K^l9f4O-_PM}CM6T&UkUD@-c3kY527g2ZBGPo{3;YcQDWZNz)-%7IS(23!2K)QeO)zU+ z@6vT=HtJ|_B9Cox8=1sj{t7^pzYd>-wMnoJO(qE`;IEStNn&!8&l;`i!)>J8LCI|d ztPu?o^2FUjLnJV7bOY;l!_Q+T3p<- z_i$^h{;k6wMtZszmBjMT+;jL;5DOp6(|Gc;FB|nVwhS2ayG6wl`^MrZV9p?VPB10J z`q@$jPrhwow_bC6VR12}7md5S!g_Wv+5#`*_iiro=osr~;#gj=f%0gKW#@;+bIih9 zh7C;?QnF&Rh{;dM>5!ywSds`yN?NsQmBUHGJx9Yq#uV)Cp^P#d1q*%I44mIUjt-8D7emX;Cn(`TPuoH)TCU2J^NEoBG8 z?p~lE&%QKC2RZi3oyJ&4FT6Av=U%WfafC4ooH>!VT~PwuZrUE?S=dXS27O961+*L$ zZm^~9F3HH@QG|0z1JA8mvEYf_M+-!bd-|cRr{~hb+0V~>ZCT1B*B_tCj>4sdzYfuJ z;10&hv1&L0y}8)>AciX=DhMD+`9!P_W<@6?^wPew=!q3acmMqW7&?1k>pPLJqdUh> zzVK;bAy7_y_3NM;?Zbs4o^+Kt2zEdv~;0^BkD)1va+(A zE=SVrZ@>B~Dx|BwF9+;Eej(-i_|^6UOR5%m8!IWsevr))Em z;ss?)G$Mjm3tiKv@7}%Y3yW#w$Z_L-e>)+Qii=L~mk^hfba$7Gx?zyfv;?vQsB)yR zE6McK2p(~Fchx(QP3?tt%1og`^gve$V-Lpv$;#eCTrdCD#wR}Z%riHn*uasVEp!sQ z<);3mP}7fgPoQ{MJYi9ER_N|eEtY0iMe(93P0PN;(L^v)old|7h``&1Wlbwt2t6hR z;%reSSOJ0*rm+NO5DZ2S0l4zz!$2vR_JL`llt`Dxf4i^G)4|BL8UO#csz}lLU*Onb6gxnQeoyPboIUlaq%g zB|;M!J|rdCme4zU(GND+u7_#tFVH2dLLp>tIJ*}=L*7#HV#r&PVkcw4;}er@!&9<~ zuhLL@n-jMYF3a06$}M!Pu>L9L6>D`Rrt%hCCMpjhZ-F|%6DB48)=4Q?rLrd`FM8?W z(e_x3eWk~bMCGCGr_318!=Dzl@1*k9kk?$oa6?`LKLh?Vm*wp(;QWP#yiJVC+l1sS zSQkcMMx-PH8p37xUEK+oEuY9I>^{0E)8Ln)6O9vw51%v^N+sdM@?e&JNyHmdpTfLL z_9Z4SnoK1pg53q3)aV|Jc6XD@-Q6&!Xr&P#*@!JG3tTq^I|W6*gz43PZ;a``bbYZO z(GUy+DwUI<*=>V0JcA5(GdP zc?63Csp6iMQ`79|Hqk~77rugVETTyx6gMSi7KNkcIW1U};K<~g zildcyCS@+z)I*7^H*^QP`K#+QrC@i{RqcD45*+xFG1iEU9xnpYb?lRH>tRKtHkw|*o4xW%o870 zWod_U{yO5CoU*iIOaHd~l@akcJE? zJugJ|;Mjmx-Dr6ZElVP<1#k~EHC?7(5I6n1obTF%^R$T`!)TZ+1@|`PUpY^Z@d#J) zv39W-tBwD=hwAsyu!tTJYxC)=1Ap8%(E9W&OWk^cORsFNRT(JT! zvCHr>iwiRo7hO5eMg!};k7L^7#Tc_3?7Rjhrgi#e65=XBZG&L`9Jbx z(W3nPmx@W`tM}e{=d()@Dz0h38iQp8gGL4qBZJ5PZ}`Alzz5KXY!0lXV51&DI$Jk^Qj(Q5xg^p<$Nb7oYog-=P7fWQ z!le_S0k*UeXe;Qu0`0vBHh64&favP(DZ#!*>q`J176P0w(Ga620~tJG<#cR{cWgW) zjo^l#$p*bQmZv%}4ah@a2i-JHO@vrI9hWW?@-%4#qmJT$F{ptM!MJoh8e(`LX|$#J za~Ci5bYHp=;fnk{eetcg-nw`?3J_1wUuWCp91an*LY_AiMWa-gr2KqIzp6#-yrnor z1d2BeG);pgfo?NwN0>$_y}hC{h|MDwN9RYI1SL^~Uh4QSI0jU}m4dVhK7@igLlYC9 z$j_hn1bJcc;x|*?syYs4+yn+lYm9*W=C0kFV_AGUFfl*>iHYR+;-x8XSAF)vug`1I zreHCD)%hy<>Z=l?b5?Zk>FK-r{53W0=;=9r<$OZ_bHPC%(fChu7cO|JH!SE4s48^f z_%B#E_fIsAkvxs*)*7o}>~U{_-jzf(bExS_o7G+VSx6`gqdq&FD#%pFWDZ)L;*i%p{+ zj^!a{r`2DI<&25h^y%~G&rrc;5pmZN>p@&kJn?GovXPMu z2M(M(d;a{Aes?hT#n!u_p3!3$Sx(_^kF}0OddUb@W;6g^wv;~f3OtH1!^X#Yumcm# z>;Ps=EKf}C9Cvoz)%ZX9<;)YY>ImrE2v@F9vezk>~2q8Y>koxpE3)V$MMS|NWqY27^*> z12Z&l@h4H`K}$F0-2KNlAlqjjHn zFzwwt%PbZq_4W~?UO0CSJ|B#=(!6;vzv@a4d_fsGJ@`c!HMItX4pp8L}zwp_f z;{+S_U-W2#2LofpdJtFP{T+FC zbit#*`mWRxk_k@6C&x-M3#CPiuBg!{HtLgN^~rqxqDBAJKOreIbHRdG{Q~s9N{vP_ z3Z&x85c&V-hfzA7&Ge literal 0 HcmV?d00001 diff --git a/_wip/Ice Climber (JE)/copilot/reconstructed_prg.bin b/Ice Climber (U)/copilot/reconstructed_prg.bin similarity index 98% rename from _wip/Ice Climber (JE)/copilot/reconstructed_prg.bin rename to Ice Climber (U)/copilot/reconstructed_prg.bin index 1aa548c71097277f6d98db307d922b7817a2ed0f..daf52d87e96b8cdf28600c472bfbd667ea20d8c0 100644 GIT binary patch delta 58 zcmZo@U~Fh$++b_T_<6IPsh~3)}cGex96QBLgIB NZA^eFH`(|x0|4*a8Gir( delta 58 zcmZo@U~Fh$++b_T_v^A3)}cG{-2y+BLgIB NZA^eFH`(|x0|59}8Pfm& diff --git a/Ice Climber (U)/copilot/rom.nes b/Ice Climber (U)/copilot/rom.nes new file mode 120000 index 0000000..51839e9 --- /dev/null +++ b/Ice Climber (U)/copilot/rom.nes @@ -0,0 +1 @@ +../Ice Climber (U).nes \ No newline at end of file diff --git a/_wip/Ice Climber (U)/copilot/symbols.inc b/Ice Climber (U)/copilot/symbols.inc similarity index 100% rename from _wip/Ice Climber (U)/copilot/symbols.inc rename to Ice Climber (U)/copilot/symbols.inc diff --git a/_wip/Lode Runner (U)/Lode Runner (U).nes b/Lode Runner (U)/Lode Runner (U).nes similarity index 100% rename from _wip/Lode Runner (U)/Lode Runner (U).nes rename to Lode Runner (U)/Lode Runner (U).nes diff --git a/Lode Runner (U)/OVERVIEW.md b/Lode Runner (U)/OVERVIEW.md new file mode 100644 index 0000000..c6dc9ff --- /dev/null +++ b/Lode Runner (U)/OVERVIEW.md @@ -0,0 +1,272 @@ +# Lode Runner (U) — Game Flow from Power-On + +This document describes the execution flow of the disassembled Lode Runner (U) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. + +--- + +## 1. Reset Vector — CPU $FFFC → $C000 + +**`Reset`** ($C000–$C029) + +On power-on or reset, the 6502 jumps to `$C000`. The reset routine performs cold-start hardware initialization: + +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `sei` / `cld` | Disable interrupts, clear decimal mode | +| 3–4 | `ldx #$FF` / `bne Label_C00A` | X=$FF, branch always taken (delay slot?) | +| 5–6 | `txs` / `jmp $C012` | Initialize stack pointer to $01FF | +| 7–8 | `ldy #$00` / `sty Zp00` / `sty Zp01` | Zp00/Zp01 = $0000 (RAM clear pointer) | +| 9 | `tya` / `ldx #$08` | A=0, X=8 (8 pages to clear) | +| 10–14 | `Label_C01B`: `sta (Zp00),y` / `iny` / `bne` / `inc Zp01` / `dex` / `bne` | Clear $0000–$07FF (8 pages of 256 bytes) | +| 15 | `lda #$23` / `sta ZpE5` | ZpE5 ($E5) = $23 | +| 16 | `jmp $C3A6` | Jump to main initialization | + +**No warm-start signature check** — full 2 KB clear every reset. + +--- + +## 2. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C02C | `NmiHandler` | +| RESET | $C000 | `Reset` | +| IRQ | $FFF9 | `IrqHandler` (single `rti` — unused) | + +--- + +## 3. NMI / Frame Heartbeat — `NmiHandler` ($C02C) + +The NMI fires once per frame and implements a two-path structure controlled by **Zp10** ($10): + +``` +NmiHandler ($C02C): + pha / txa / pha / tya / pha ; preserve A,X,Y + jsr $C27C ; common NMI setup + lda Zp10 ($10) + beq Label_C050 ; Zp10=0: Path A + lda #$00 / sta Zp10 ; clear Zp10 + lda Zp11 ($11) / tax + beq Label_C043 ; Zp11=0: Path B + bne Label_C050 ; Zp11≠0: Path A +Label_C043: + jsr $C18E ; Path B: PPU/game update + lda #$20 / ldx #$00 / jsr $C178 ; PPU write ($2000 + X=0) + jmp $C0A4 ; → main NMI exit +Label_C050: ; Path A: Palette/sprite update + lda #$3F / ldx #$08 / jsr $C178 ; PPUADDR=$3F08 (palette) + inc Zp9E ($9E) ; frame sub-counter + lda Zp9E / and #$1F / bne Label_C07B ; every 32 frames + inc Zp9F ($9F) ; secondary counter + lda Zp9F / and #$03 / tax ; 0-3 selector + lda #$0F / jsr $C006 ; PPUDATA write + lda $C39E,x / jsr $C006 ; palette data from table + lda #$00 / jsr $C006 ; clear + lda #$30 / jsr $C006 ; $30 +Label_C07B: + lda Zp9E / and #$07 / bne Label_C0A4 ; every 8 frames + lda #$3F / ldx #$0C / jsr $C178 ; PPUADDR=$3F0C + inc Zp72 ($72) ; tertiary counter + lda Zp72 / and #$03 / tax ; 0-3 selector + lda #$0F / jsr $C006 + lda #$38 / jsr $C006 + lda #$28 / jsr $C006 + lda $C3A2,x / jsr $C006 ; sprite palette data +Label_C0A4: ; Common NMI exit + lda Zp03 ($03) / sta $2001 (PPUMASK) ; apply PPUMASK + jsr $C1E1 ; sprite/OAM update + lda ZpDB ($DB) + beq Label_C0D1 ; if 0: skip gameplay + lda Zp06 ($06) / and #$10 / beq Label_C0D1 ; bit 4 check + jsr $C2C6 / jsr $DE9F / jsr $C1D7 ; gameplay logic + jmp Label_C127 ; rti +Label_C0BF: ; Alternate entry (ZpDB=0?) + jsr $C1E1 + lda Zp06 / and #$10 / beq Label_C0BF ; wait for bit 4 + jsr $DE9F / jsr $C1D7 / jsr $C2B3 + jmp Label_C127 +Label_C0D1: + lda ZpB7 ($B7) + beq Label_C127 ; if 0: rti + jsr $E271 ; level/game init + inc ZpB9 / lda ZpB9 / cmp ZpB8 / bcc Label_C127 + lda #$00 / sta ZpB9 ; reset counter + ... (level transition logic) +Label_C127: + pla / tay / pla / tax / pla / rti ; restore, return +``` + +**Two NMI Modes:** +- **Path A (Zp10≠0):** Palette/sprite updates, periodic palette cycling (every 8/32 frames), sprite DMA +- **Path B (Zp10=0, Zp11=0):** `jsr $C18E` → PPU register update → main exit + +**Key ZP Flags:** +- `Zp10` ($10): NMI path selector (0=Path B, non-zero=Path A) +- `Zp11` ($11): Sub-path selector for Path B +- `Zp9E` ($9E): Frame sub-counter (palette cycling) +- `Zp9F` ($9F): Secondary frame counter +- `Zp72` ($72): Tertiary counter (sprite palette) +- `ZpDB` ($DB): Gameplay active flag +- `Zp06` ($06): Bit 4 = gameplay trigger +- `ZpB7` ($B7): Level transition flag +- `Zp03` ($03): PPUMASK shadow + +--- + +## 4. Main Initialization — `$C3A6` (from Reset) + +After reset jumps to `$C3A6`, the game initializes title screen and enters main loop. The main loop is driven by NMI synchronization — the main thread waits for NMI to signal frame completion via ZP flags. + +Key initialization routines (reached from `$C3A6`): +- `$C178`: PPU address/data write helper (A=addr high, X=addr low → $2006/$2006/$2007) +- `$C18E`: PPU control update (reads Zp03→PPUMASK, Zp10→PPUCTRL) +- `$C1E1`: Sprite/OAM update (builds OAM at $0200) +- `$C27C`: Common NMI setup (called at NMI entry) + +--- + +## 5. Key Subsystems + +### 5.1 PPU Helper — `$C178` / `$C006` +- `$C178`: Set PPUADDR from A (high) / X (low), write via `$2006` twice +- `$C006`: Write A to PPUDATA ($2007), RTS +- `$C18E`: Read PPUSTATUS, write Zp03→PPUMASK, Zp10→PPUCTRL + +### 5.2 Sprite/OAM System — `$C1E1` / `$C1D7` +- Builds OAM at $0200 from object state arrays +- `$C1D7`: Called from NMI paths for per-frame sprite update + +### 5.3 Gameplay Logic — `$C2C6`, `$DE9F`, `$C1D7`, `$C2B3` +- `$C2C6`: Player/input handling +- `$DE9F`: Enemy/guard AI +- `$C2B3`: Level progression, scoring + +### 5.4 Level Data & Transitions — `$E271`, `$C0E4`–`$C123` +- `$E271`: Level load/init +- `$C0E4`: State machine on `ZpBE`/`ZpBA` (pointer to level data) +- Level data tables at `$C2F0`, `$C378`, `$C39E`, `$C3A2` + +### 5.5 Audio — `$C12D` / `$C143` / `$C16E` +- APU register writes ($4000–$4003) for pulse channels +- Frequency data from `$C2F0`, `$C378` +- Called from level transition / gameplay + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00–$01 | `Zp00`/`Zp01` | 16-bit pointer (RAM clear, PPU) | +| $03 | `Zp03` | PPUMASK shadow | +| $06 | `Zp06` | Gameplay flags (bit 4 = trigger) | +| $10 | `Zp10` | NMI path selector (0=title, ≠0=game) | +| $11 | `Zp11` | NMI sub-path selector | +| $12–$13 | `Zp12`/`Zp13` | Object/sprite pointers | +| $20–$21 | `Zp20`/`Zp21` | Player position (X/Y) | +| $26 | `Zp26` | Player state/animation | +| $28 | `Zp28` | Player velocity | +| $32–$35 | `Zp32`–`Zp35` | Enemy/guard positions | +| $39 | `Zp39` | Level timer | +| $52–$5F | `Zp52`–`Zp5F` | Sprite attribute buffers | +| $72 | `Zp72` | Sprite palette cycle counter | +| $85–$86 | `Zp85`/`Zp86` | Level data pointers | +| $9E–$9F | `Zp9E`/`Zp9F` | Frame counters (palette cycling) | +| $B7 | `ZpB7` | Level transition trigger | +| $B8–$B9 | `ZpB8`/`ZpB9` | Level transition counters | +| $BA–$BF | `ZpBA`–`ZpBF` | Level data pointer + state | +| $DB | `ZpDB` | Gameplay active flag | +| $E5 | `ZpE5` | Init constant ($23) | +| $0200 | OAM buffer | 64 sprites (DMA source) | +| $0300+ | Game state arrays | Player, enemies, level data | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Palette data (BG) | $C39E | 4 entries, indexed by Zp9F&3 | +| Palette data (sprites) | $C3A2 | 4 entries, indexed by Zp72&3 | +| Audio frequency low | $C2F0 | Note→period low byte | +| Audio frequency high | $C378 | Note→period high byte (×2 + index) | +| Level data pointer | `ZpBA`/`ZpBC` | Indirect pointer to level scripts | + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C000) ────► sei/cld, stack=$FF + │ + ├─ Clear $0000–$07FF (8 pages via Zp00/Zp01) + │ + ├─ ZpE5 = $23 + │ + ▼ +jmp $C3A6 (Main Initialization) + │ + ├─ Title screen setup + ├─ PPU/APU init + └─ Enter main loop (VBlank synchronized) + +Main Loop (implicit, VBlank-driven) + │ + ▼ (NMI fires once per frame) + +NMI ($C02C) + ├─ Preserve A,X,Y + ├─ jsr $C27C (common setup) + ├─ lda Zp10 + │ ├─ =0 (Title/Menu): + │ │ lda Zp11 + │ │ ├─ =0: jsr $C18E (PPU update), $C178, jmp $C0A4 + │ │ └─ ≠0: Path A (palette cycling) + │ │ + │ └─ ≠0 (Gameplay): + │ lda #$00 / sta Zp10 + │ lda Zp11 / tax + │ ├─ =0: jsr $C18E, $C178, jmp $C0A4 + │ └─ ≠0: Path A (palette cycling) + │ + ├─ Path A (Label_C050): + │ Palette writes to $3F08/$3F0C every 8/32 frames + │ inc Zp9E, Zp9F, Zp72 + │ + ├─ Common Exit ($C0A4): + │ lda Zp03 → PPUMASK + │ jsr $C1E1 (sprite update) + │ lda ZpDB + │ ├─ =0: Label_C0BF (wait for Zp06 bit 4) + │ └─ ≠0: Check Zp06 bit 4 + │ ├─ Clear: Label_C0D1 (level transition check) + │ └─ Set: jsr $C2C6, $DE9F, $C1D7 (gameplay) + │ + └─ Label_C127: Restore A,X,Y, rti + +Gameplay (when ZpDB≠0, Zp06&$10) + ├─ $C2C6: Player control + ├─ $DE9F: Enemy AI + ├─ $C1D7: Sprite update + ├─ $C2B3: Level/scoring + └─ Level transition: $E271, $C0E4 state machine +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 11,057 lines, 627 `Label_` definitions, canonical audit comments, 52.6% code. + +**Pass 2 complete (2026-10-20)** — All 627 label definitions renamed. 196 semantic routine entry points named via `_tools/pass2.py` derive/apply using a hand-curated routinemap; remaining 431 internal branch targets named as `_Block[_n]`. Zero `Label_Cxxxx` definitions remain. + +**Pass 3 partial (2026-10-20)** — `_tools/apply_symbols.py` substituted **85 operands** (83 hardware registers + 2 single-name zero-page operands). Zero multi-alias residue. **2 semantic zero-page aliases applied**; remaining 150 zero-page slots retain neutral `ZpXX` names in `locals.inc`. Data tables/structures named in Memory Map section. + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/Lode Runner (U)/copilot/Makefile b/Lode Runner (U)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Lode Runner (U)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean \ No newline at end of file diff --git a/_wip/Lode Runner (U)/copilot/chr.bin b/Lode Runner (U)/copilot/chr.bin similarity index 100% rename from _wip/Lode Runner (U)/copilot/chr.bin rename to Lode Runner (U)/copilot/chr.bin diff --git a/Lode Runner (U)/copilot/chr.s b/Lode Runner (U)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Lode Runner (U)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Lode Runner (U)/copilot/header.bin b/Lode Runner (U)/copilot/header.bin similarity index 100% rename from _wip/Lode Runner (U)/copilot/header.bin rename to Lode Runner (U)/copilot/header.bin diff --git a/Lode Runner (U)/copilot/header.s b/Lode Runner (U)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Lode Runner (U)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/Lode Runner (U)/copilot/linker.cfg b/Lode Runner (U)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Lode Runner (U)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} \ No newline at end of file diff --git a/_wip/Lode Runner (U)/copilot/locals.inc b/Lode Runner (U)/copilot/locals.inc similarity index 86% rename from _wip/Lode Runner (U)/copilot/locals.inc rename to Lode Runner (U)/copilot/locals.inc index f45ebe2..f962dcf 100644 --- a/_wip/Lode Runner (U)/copilot/locals.inc +++ b/Lode Runner (U)/copilot/locals.inc @@ -150,3 +150,55 @@ ZpE2 = $E2 ; 6 refs; reads=2 writes=4; used at $E902, E904, E ZpE3 = $E3 ; 3 refs; reads=1 writes=2; used at $E9A2, E9B2 ZpE4 = $E4 ; 6 refs; reads=4 writes=2; used at $E689, E7CD, E7CF, E7E3, +1 more ZpE5 = $E5 ; 6 refs; reads=3 writes=3; used at $C027, C49F, C4F0, C511 + +; Semantic aliases (Pass 3, 2026-10-20) +; Based on observed usage in the disassembly + +; 16-bit pointer (RAM clear, PPU) +PtrLo = $00 ; semantic alias for Zp00 +PtrHi = $01 ; semantic alias for Zp01 + +; PPU/Game state +PpuMaskShadow = $03 ; semantic alias for Zp03 +GameplayFlags = $06 ; semantic alias for Zp06 (bit 4 = trigger) +NmiPathSelector = $10 ; semantic alias for Zp10 (0=title, !=0=game) +NmiSubPathSelector = $11 ; semantic alias for Zp11 + +; Object/Sprite pointers +ObjPtrLo = $12 ; semantic alias for Zp12 +ObjPtrHi = $13 ; semantic alias for Zp13 + +; Player state +PlayerPosX = $20 ; semantic alias for Zp20 +PlayerPosY = $21 ; semantic alias for Zp21 +PlayerState = $26 ; semantic alias for Zp26 +PlayerVelocity = $28 ; semantic alias for Zp28 + +; Enemy/Guard positions +EnemyPosX1 = $32 ; semantic alias for Zp32 +EnemyPosY1 = $33 ; semantic alias for Zp33 +EnemyPosX2 = $34 ; semantic alias for Zp34 +EnemyPosY2 = $35 ; semantic alias for Zp35 + +; Level data +LevelTimer = $39 ; semantic alias for Zp39 +LevelDataPtrLo = $85 ; semantic alias for Zp85 +LevelDataPtrHi = $86 ; semantic alias for Zp86 + +; Frame counters +FrameCounterLo = $9E ; semantic alias for Zp9E +FrameCounterHi = $9F ; semantic alias for Zp9F + +; Level transition +LevelTransitionTrigger = $B7 ; semantic alias for ZpB7 +LevelTransitionCountLo = $B8 ; semantic alias for ZpB8 +LevelTransitionCountHi = $B9 ; semantic alias for ZpB9 +LevelDataPtr2Lo = $BA ; semantic alias for ZpBA +LevelDataPtr2Hi = $BB ; semantic alias for ZpBB +LevelDataState = $BC ; semantic alias for ZpBC + +; Gameplay state +GameplayActiveFlag = $DB ; semantic alias for ZpDB + +; Init constant +InitConstant = $E5 ; semantic alias for ZpE5 diff --git a/Lode Runner (U)/copilot/loderunner_label_map_derived.tsv b/Lode Runner (U)/copilot/loderunner_label_map_derived.tsv new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Lode Runner (U)/copilot/loderunner_label_map_derived.tsv @@ -0,0 +1 @@ + diff --git a/Lode Runner (U)/copilot/loderunner_routinemap.tsv b/Lode Runner (U)/copilot/loderunner_routinemap.tsv new file mode 100644 index 0000000..c56f0cd --- /dev/null +++ b/Lode Runner (U)/copilot/loderunner_routinemap.tsv @@ -0,0 +1,196 @@ +C000 Reset +C002 WaitVBlank_E023_1 +C023 InitGameState +C02C NmiHandler +C03B MainGameLoop +C04A ClearSpriteRAM +C058 InitLevel +C09B CheckGameMode +C0AE GameModeTitle +C0BC GameModePlay +C0BF WaitVBlank_E023Frame +C0CC CheckController +C0D3 UpdateFrameCounter +C0E9 CheckHighScore +C10E ProcessController +C181 UpdateSprites_C34B_1 +C25A NmiFrameEnd +C26F HandleBonus +C27F GameStateUpdate +C294 InitBallLaunch +C2DE DrawPlayfield +C301 DrawStatusBar +C32E DrawDigits +C34B UpdateSprites_C34B_3 +C37C BallPhysicsMain +C38C CheckTilt +C3B1 UpdateFlipper +C3B7 UpdateBallTrajectory +C3C7 BallLost +C3CE UpdateBonusTimer +C3D3 BallLostSequence +C3E0 DrawGameOver +C3F4 ClearPlayfield +C403 CheckGameOver +C40E DrawNumber +C4A1 ReadPPUData +C4B9 ReadPPUDataY +C4CF UpdateScoreDisplay +C4F0 UpdateFlippers +C5C1 UpdateFlippersState +C5D1 UpdateFlipperSprites +C5F5 UpdateBallSprites +C6A8 UpdateBallPosition +C730 CheckBallCollision +C739 CheckBallInHole +C7C2 IncrementBonus +C7D3 UpdateBonusDisplay +CE6C InitializeRAM +CEF2 ProcessSpriteData +CF04 ProcessSpriteAttributes +CF82 ProcessSpriteAttributes2 +CFEC UpdateSprites_C34B2 +D03C UpdateScore +D07C UpdateBallY +D093 UpdateBallX +D0AD UpdateScore2 +D0E0 UpdateFlipperSound +D159 UpdateBallPosition_3 +D15B UpdateBallPosition2 +D191 UpdateBallY2 +D1FB UpdateBallSprite +D296 CheckCollision +D2E4 CheckFlipperHit +D2E9 CheckBallPocket +D334 CheckBallVelocity +D359 CheckBallPosition +D386 CheckTiltSwitch +D390 DrawScore +D3AA UpdateScoreDisplay_3 +D3CC UpdateScoreDigits +D4A1 ReadPPUData +D4B9 ReadPPUDataY +D4CF UpdateScoreDisplay2 +D4F0 UpdateFlippers_3 +D5C1 CheckFlipperPressed +D5D1 UpdateFlipperState +D5F5 UpdateFlipperSprites_3 +D6A8 UpdateBallVelocity +D730 CheckBallSpeed +D739 UpdateBallDirection +DBB6 UpdateBumper +DBC8 UpdateBumperState +DBE3 UpdateBumperHit +DBFA UpdateBumperSprites +DC0D UpdateBumperState2 +DC11 UpdateBumperState3 +DC3E UpdateBumperHit2 +DCAA UpdateBumperState4 +DCDD UpdateBumperChain +DCE3 UpdateBumperState5 +DCEC UpdateBumperState6 +DD32 UpdateBumperChain2 +DD5D UpdateBumperState7 +DD75 UpdateBumperState8 +DD78 UpdateBumperState9 +DD8F UpdateBumperState10 +DD92 UpdateBumperState11 +DDA3 UpdateBumperState12 +DDAC UpdateBumperState13 +DDBE UpdateBumperHit4 +DDC7 UpdateBumperState15 +DDF1 UpdateBumperState16 +DE30 UpdateSoundEngine +DE41 UpdateSoundChannel +DE63 UpdateSoundChannel2 +DE75 UpdateSoundChannel3 +DE7E UpdateSoundChannel4 +E023 WaitVBlank_E023Loop +E025 WaitVBlank_E023_3 +E02C WaitVBlank_E0232 +E035 WaitPPUReady +E046 WaitFrame +E049 InitPPU +E09B InitSprites +E0E3 DrawSprite +E0EF WritePPU +E0F6 WritePPU2 +E0FD InitGame +E278 UpdateBallTrajectory +E28A InitSound +E293 InitSprites2 +E2A6 UpdateBallPhysics +E3E2 UpdateGameMode +E403 CheckGameState +E40E UpdateDisplay +E459 UpdateDisplay2 +E48C UpdateSprites_C34B3 +E497 UpdateDisplay3 +E4E2 UpdateDisplay4 +E506 PlaySound +E535 PlaySoundEffect +E54A PlayMusic +E5B2 UpdateMusic +E609 UpdateMusicEngine +E68F UpdateMusicChannel +E7AC UpdateMusicChannel2 +E94D UpdateSoundEffects +E96A UpdateSoundChannel2 +E9ED UpdateSoundChannel3 +EA2F UpdateSoundChannels +EA50 UpdateSoundEffect +EA58 UpdateSoundEffect2 +EAD1 UpdateSoundChannel4 +EAE5 UpdateSoundChannel5 +EB0D UpdateSoundChannel6 +EB27 UpdateSoundChannel7 +EB9D UpdateSoundChannel8 +EBF9 UpdateSoundChannel9 +EC80 UpdateMusic2 +EC8D UpdateMusicChannel10 +ED06 UpdateMusicChannel11 +EDB0 UpdateMusicChannel12 +EDED UpdateMusicChannel13 +EDF2 UpdateMusicChannel14 +EE3D UpdateMusicChannel15 +EE4D UpdateMusicChannel16 +EF28 UpdateMusicChannel17 +EF79 UpdateMusicChannel18 +EFD3 UpdateMusicChannel19 +EFDC UpdateMusicChannel19 +F03F UpdateMusicChannel21 +F06F UpdateMusicChannel22 +F0C4 UpdateMusicChannel23 +F0DF UpdateMusicChannel24 +F0E7 UpdateMusicChannel25 +F138 UpdateMusicChannel26 +F140 UpdateMusicChannel27 +F1FB UpdateMusicChannel28 +F226 UpdateMusicChannel29 +F2F0 UpdateMusicChannel30 +F321 UpdateMusicChannel31 +F3B9 UpdateMusicChannel32 +F3E8 UpdateMusicChannel33 +F41E UpdateMusicChannel34 +F44B UpdateMusicChannel35 +FB2C UpdateAPU +FB40 UpdateAPU2 +FB43 UpdateAPU3 +FB46 UpdateAPU4 +FB49 UpdateAPU5 +FB5D UpdateAPU6 +FB6E UpdateAPU7 +FBDD UpdateAPU8 +FC0F UpdateAPU9 +FC2B UpdateAPU10 +FC72 UpdateAPU11 +FCE2 UpdateAPU12 +FD0D UpdateAPU13 +FD55 UpdateAPU14 +FD91 UpdateAPU15 +FFDC UpdateAPU16 +FFE3 UpdateAPU17 +FFE9 UpdateAPU18 +FFF0 UpdateAPU19 +FFF7 ResetVector +FFF9 IrqHandler diff --git a/_wip/Lode Runner (U)/copilot/prg.bin b/Lode Runner (U)/copilot/prg.bin similarity index 100% rename from _wip/Lode Runner (U)/copilot/prg.bin rename to Lode Runner (U)/copilot/prg.bin diff --git a/Lode Runner (U)/copilot/prg.s b/Lode Runner (U)/copilot/prg.s new file mode 100644 index 0000000..60e6c75 --- /dev/null +++ b/Lode Runner (U)/copilot/prg.s @@ -0,0 +1,11057 @@ +; Lode Runner (U) NES disassembly - Pass 1 +; Byte-oriented ca65 source generated from the supplied PRG image. +; Recursively reachable instructions are emitted explicitly with address/byte comments. +; Unreached bytes remain explicit .byte blocks; no ROM byte is deleted or reformatted. +; Pass 2 replaces address-derived labels, RAM aliases, and table names while +; preserving byte identity. +; +; Vectors: NMI=$C02C RESET=$C000 IRQ=$FFF9 +; PRG mapped at $C000-$FFFF (NROM, mirrored to the upper half) +; +; Pass 1 trace provenance (the audit trail behind every classification below): +; +.setcpu "6502" + +.include "symbols.inc" +.include "locals.inc" + +.segment "PRG" + +; ----------------------------------------------------------------------------- +; Routine: Reset +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Reset: + sei ; CPU:$C000 PRG:0000 78 + cld ; CPU:$C001 PRG:0001 D8 + ldx #$FF ; CPU:$C002 PRG:0002 A2 FF + bne Sub_C006_OnNonzero_C00A ; CPU:$C004 PRG:0004 D0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_C006_Continue_C006 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C006_Continue_C006: + sta PPUDATA ; CPU:$C006 PRG:0006 8D 07 20 + rts ; CPU:$C009 PRG:0009 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C006_OnNonzero_C00A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C006_OnNonzero_C00A: + txs ; CPU:$C00A PRG:000A 9A + jmp $C012 ; CPU:$C00B PRG:000B 4C 12 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_C00E_JumpNext_C00E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C00E_JumpNext_C00E: + lda PPUDATA ; CPU:$C00E PRG:000E AD 07 20 + rts ; CPU:$C011 PRG:0011 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C012_Return_C012 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C012_Return_C012: + ldy #$00 ; CPU:$C012 PRG:0012 A0 00 + sty PtrLo ; CPU:$C014 PRG:0014 84 00 + sty PtrHi ; CPU:$C016 PRG:0016 84 01 + tya ; CPU:$C018 PRG:0018 98 + ldx #$08 ; CPU:$C019 PRG:0019 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_C012_OnNonzero_C01B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C012_OnNonzero_C01B: + sta (PtrLo),y ; CPU:$C01B PRG:001B 91 00 + iny ; CPU:$C01D PRG:001D C8 + bne Sub_C012_OnNonzero_C01B ; CPU:$C01E PRG:001E D0 FB + inc PtrHi ; CPU:$C020 PRG:0020 E6 01 + dex ; CPU:$C022 PRG:0022 CA + bne Sub_C012_OnNonzero_C01B ; CPU:$C023 PRG:0023 D0 F6 + lda #$23 ; CPU:$C025 PRG:0025 A9 23 + sta InitConstant ; CPU:$C027 PRG:0027 85 E5 + jmp $C3A6 ; CPU:$C029 PRG:0029 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: NmiHandler +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +NmiHandler: + pha ; CPU:$C02C PRG:002C 48 + txa ; CPU:$C02D PRG:002D 8A + pha ; CPU:$C02E PRG:002E 48 + tya ; CPU:$C02F PRG:002F 98 + pha ; CPU:$C030 PRG:0030 48 + jsr $C27C ; CPU:$C031 PRG:0031 20 7C C2 + lda NmiPathSelector ; CPU:$C034 PRG:0034 A5 10 + beq Sub_C012_JoinBranchPaths_C050 ; CPU:$C036 PRG:0036 F0 18 + lda #$00 ; CPU:$C038 PRG:0038 A9 00 + sta NmiPathSelector ; CPU:$C03A PRG:003A 85 10 + lda NmiSubPathSelector ; CPU:$C03C PRG:003C A5 11 + tax ; CPU:$C03E PRG:003E AA + beq Sub_C012_OnZero_C043 ; CPU:$C03F PRG:003F F0 02 + bne Sub_C012_JoinBranchPaths_C050 ; CPU:$C041 PRG:0041 D0 0D +; ----------------------------------------------------------------------------- +; Routine: Sub_C012_OnZero_C043 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C012_OnZero_C043: + jsr $C18E ; CPU:$C043 PRG:0043 20 8E C1 + lda #$20 ; CPU:$C046 PRG:0046 A9 20 + ldx #$00 ; CPU:$C048 PRG:0048 A2 00 + jsr $C178 ; CPU:$C04A PRG:004A 20 78 C1 + jmp $C0A4 ; CPU:$C04D PRG:004D 4C A4 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_C012_JoinBranchPaths_C050 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C012_JoinBranchPaths_C050: + lda #$3F ; CPU:$C050 PRG:0050 A9 3F + ldx #$08 ; CPU:$C052 PRG:0052 A2 08 + jsr $C178 ; CPU:$C054 PRG:0054 20 78 C1 + inc FrameCounterLo ; CPU:$C057 PRG:0057 E6 9E + lda FrameCounterLo ; CPU:$C059 PRG:0059 A5 9E + and #$1F ; CPU:$C05B PRG:005B 29 1F + bne Sub_C012_OnNonzero_C07B ; CPU:$C05D PRG:005D D0 1C + inc FrameCounterHi ; CPU:$C05F PRG:005F E6 9F + lda FrameCounterHi ; CPU:$C061 PRG:0061 A5 9F + and #$03 ; CPU:$C063 PRG:0063 29 03 + tax ; CPU:$C065 PRG:0065 AA + lda #$0F ; CPU:$C066 PRG:0066 A9 0F + jsr Sub_C006_Continue_C006 ; CPU:$C068 PRG:0068 20 06 C0 + lda $C39E,x ; CPU:$C06B PRG:006B BD 9E C3 + jsr Sub_C006_Continue_C006 ; CPU:$C06E PRG:006E 20 06 C0 + lda #$00 ; CPU:$C071 PRG:0071 A9 00 + jsr Sub_C006_Continue_C006 ; CPU:$C073 PRG:0073 20 06 C0 + lda #$30 ; CPU:$C076 PRG:0076 A9 30 + jsr Sub_C006_Continue_C006 ; CPU:$C078 PRG:0078 20 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_C012_OnNonzero_C07B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C012_OnNonzero_C07B: + lda FrameCounterLo ; CPU:$C07B PRG:007B A5 9E + and #$07 ; CPU:$C07D PRG:007D 29 07 + bne Sub_C0A4_OnNonzero_C0A4 ; CPU:$C07F PRG:007F D0 23 + lda #$3F ; CPU:$C081 PRG:0081 A9 3F + ldx #$0C ; CPU:$C083 PRG:0083 A2 0C + jsr $C178 ; CPU:$C085 PRG:0085 20 78 C1 + inc Zp72 ; CPU:$C088 PRG:0088 E6 72 + lda Zp72 ; CPU:$C08A PRG:008A A5 72 + and #$03 ; CPU:$C08C PRG:008C 29 03 + tax ; CPU:$C08E PRG:008E AA + lda #$0F ; CPU:$C08F PRG:008F A9 0F + jsr Sub_C006_Continue_C006 ; CPU:$C091 PRG:0091 20 06 C0 + lda #$38 ; CPU:$C094 PRG:0094 A9 38 + jsr Sub_C006_Continue_C006 ; CPU:$C096 PRG:0096 20 06 C0 + lda #$28 ; CPU:$C099 PRG:0099 A9 28 + jsr Sub_C006_Continue_C006 ; CPU:$C09B PRG:009B 20 06 C0 + lda $C3A2,x ; CPU:$C09E PRG:009E BD A2 C3 + jsr Sub_C006_Continue_C006 ; CPU:$C0A1 PRG:00A1 20 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_OnNonzero_C0A4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_OnNonzero_C0A4: + lda PpuMaskShadow ; CPU:$C0A4 PRG:00A4 A5 03 + sta PPUMASK ; CPU:$C0A6 PRG:00A6 8D 01 20 + jsr $C1E1 ; CPU:$C0A9 PRG:00A9 20 E1 C1 + lda GameplayActiveFlag ; CPU:$C0AC PRG:00AC A5 DB + beq Sub_C0A4_OnZero_C0D1 ; CPU:$C0AE PRG:00AE F0 21 + lda GameplayFlags ; CPU:$C0B0 PRG:00B0 A5 06 + and #$10 ; CPU:$C0B2 PRG:00B2 29 10 + beq Sub_C0A4_OnZero_C0D1 ; CPU:$C0B4 PRG:00B4 F0 1B + jsr $C2C6 ; CPU:$C0B6 PRG:00B6 20 C6 C2 + jsr $DE9F ; CPU:$C0B9 PRG:00B9 20 9F DE + jsr $C1D7 ; CPU:$C0BC PRG:00BC 20 D7 C1 +; ----------------------------------------------------------------------------- +; Routine: WaitVBlank_E023Frame +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +WaitVBlank_E023Frame: + jsr $C1E1 ; CPU:$C0BF PRG:00BF 20 E1 C1 + lda GameplayFlags ; CPU:$C0C2 PRG:00C2 A5 06 + and #$10 ; CPU:$C0C4 PRG:00C4 29 10 + beq WaitVBlank_E023Frame ; CPU:$C0C6 PRG:00C6 F0 F7 + jsr $DE9F ; CPU:$C0C8 PRG:00C8 20 9F DE + jsr $C1D7 ; CPU:$C0CB PRG:00CB 20 D7 C1 + jsr $C2B3 ; CPU:$C0CE PRG:00CE 20 B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_OnZero_C0D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_OnZero_C0D1: + lda LevelTransitionTrigger ; CPU:$C0D1 PRG:00D1 A5 B7 + beq Sub_C0A4_JoinBranchPaths_C127 ; CPU:$C0D3 PRG:00D3 F0 52 + jsr $E271 ; CPU:$C0D5 PRG:00D5 20 71 E2 + inc LevelTransitionCountHi ; CPU:$C0D8 PRG:00D8 E6 B9 + lda LevelTransitionCountHi ; CPU:$C0DA PRG:00DA A5 B9 + cmp LevelTransitionCountLo ; CPU:$C0DC PRG:00DC C5 B8 + bcc Sub_C0A4_JoinBranchPaths_C127 ; CPU:$C0DE PRG:00DE 90 47 + lda #$00 ; CPU:$C0E0 PRG:00E0 A9 00 + sta LevelTransitionCountHi ; CPU:$C0E2 PRG:00E2 85 B9 +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_OnZero_C0E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_OnZero_C0E4: + lda ZpBE ; CPU:$C0E4 PRG:00E4 A5 BE + asl a ; CPU:$C0E6 PRG:00E6 0A + tay ; CPU:$C0E7 PRG:00E7 A8 + lda (LevelDataPtr2Lo),y ; CPU:$C0E8 PRG:00E8 B1 BA + sta LevelDataState ; CPU:$C0EA PRG:00EA 85 BC + iny ; CPU:$C0EC PRG:00EC C8 + lda (LevelDataPtr2Lo),y ; CPU:$C0ED PRG:00ED B1 BA + sta ZpBD ; CPU:$C0EF PRG:00EF 85 BD + beq Sub_C0A4_OnZero_C123 ; CPU:$C0F1 PRG:00F1 F0 30 + cmp #$01 ; CPU:$C0F3 PRG:00F3 C9 01 + beq Sub_C0A4_OnZero_C119 ; CPU:$C0F5 PRG:00F5 F0 22 + lda ZpBF ; CPU:$C0F7 PRG:00F7 A5 BF + asl a ; CPU:$C0F9 PRG:00F9 0A + clc ; CPU:$C0FA PRG:00FA 18 + adc ZpBF ; CPU:$C0FB PRG:00FB 65 BF + tay ; CPU:$C0FD PRG:00FD A8 + ldx #$00 ; CPU:$C0FE PRG:00FE A2 00 + stx ZpC0 ; CPU:$C100 PRG:0100 86 C0 + jsr $C12D ; CPU:$C102 PRG:0102 20 2D C1 + jsr $C12D ; CPU:$C105 PRG:0105 20 2D C1 + jsr $C12D ; CPU:$C108 PRG:0108 20 2D C1 + inc ZpBF ; CPU:$C10B PRG:010B E6 BF + lda (LevelDataState),y ; CPU:$C10D PRG:010D B1 BC + bne Sub_C0A4_JoinBranchPaths_C127 ; CPU:$C10F PRG:010F D0 16 + lda #$00 ; CPU:$C111 PRG:0111 A9 00 + sta ZpBF ; CPU:$C113 PRG:0113 85 BF + inc ZpBE ; CPU:$C115 PRG:0115 E6 BE + bne Sub_C0A4_JoinBranchPaths_C127 ; CPU:$C117 PRG:0117 D0 0E +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_OnZero_C119 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_OnZero_C119: + lda LevelDataState ; CPU:$C119 PRG:0119 A5 BC + sta LevelTransitionCountLo ; CPU:$C11B PRG:011B 85 B8 + lda #$00 ; CPU:$C11D PRG:011D A9 00 + sta ZpBE ; CPU:$C11F PRG:011F 85 BE + beq Sub_C0A4_OnZero_C0E4 ; CPU:$C121 PRG:0121 F0 C1 +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_OnZero_C123 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_OnZero_C123: + lda #$00 ; CPU:$C123 PRG:0123 A9 00 + sta LevelTransitionTrigger ; CPU:$C125 PRG:0125 85 B7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C0A4_JoinBranchPaths_C127 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C0A4_JoinBranchPaths_C127: + pla ; CPU:$C127 PRG:0127 68 + tay ; CPU:$C128 PRG:0128 A8 + pla ; CPU:$C129 PRG:0129 68 + tax ; CPU:$C12A PRG:012A AA + pla ; CPU:$C12B PRG:012B 68 + rti ; CPU:$C12C PRG:012C 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_C12D_Return_C12D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C12D_Return_C12D: + lda (LevelDataState),y ; CPU:$C12D PRG:012D B1 BC + and #$F0 ; CPU:$C12F PRG:012F 29 F0 + cmp #$80 ; CPU:$C131 PRG:0131 C9 80 + beq Sub_C12D_OnZero_C16E ; CPU:$C133 PRG:0133 F0 39 + cpx #$08 ; CPU:$C135 PRG:0135 E0 08 + beq Sub_C12D_OnZero_C143 ; CPU:$C137 PRG:0137 F0 0A + lda #$8A ; CPU:$C139 PRG:0139 A9 8A + sta APUPULSE1CTRL,x ; CPU:$C13B PRG:013B 9D 00 40 + lda #$00 ; CPU:$C13E PRG:013E A9 00 + sta APUPULSE1SWEEP,x ; CPU:$C140 PRG:0140 9D 01 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_C12D_OnZero_C143 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C12D_OnZero_C143: + lda (LevelDataState),y ; CPU:$C143 PRG:0143 B1 BC + sta ZpCC ; CPU:$C145 PRG:0145 85 CC + rol a ; CPU:$C147 PRG:0147 2A + rol a ; CPU:$C148 PRG:0148 2A + rol a ; CPU:$C149 PRG:0149 2A + rol a ; CPU:$C14A PRG:014A 2A + rol a ; CPU:$C14B PRG:014B 2A + and #$0F ; CPU:$C14C PRG:014C 29 0F + tax ; CPU:$C14E PRG:014E AA + tya ; CPU:$C14F PRG:014F 98 + pha ; CPU:$C150 PRG:0150 48 + lda ZpCC ; CPU:$C151 PRG:0151 A5 CC + and #$0F ; CPU:$C153 PRG:0153 29 0F + asl a ; CPU:$C155 PRG:0155 0A + clc ; CPU:$C156 PRG:0156 18 + adc $C378,x ; CPU:$C157 PRG:0157 7D 78 C3 + tay ; CPU:$C15A PRG:015A A8 + ldx ZpC0 ; CPU:$C15B PRG:015B A6 C0 + lda $C2F0,y ; CPU:$C15D PRG:015D B9 F0 C2 + sta APUPULSE1TIMERLO,x ; CPU:$C160 PRG:0160 9D 02 40 + iny ; CPU:$C163 PRG:0163 C8 + lda $C2F0,y ; CPU:$C164 PRG:0164 B9 F0 C2 + ora #$A0 ; CPU:$C167 PRG:0167 09 A0 + sta APUPULSE1TIMERHI,x ; CPU:$C169 PRG:0169 9D 03 40 + pla ; CPU:$C16C PRG:016C 68 + tay ; CPU:$C16D PRG:016D A8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C12D_OnZero_C16E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C12D_OnZero_C16E: + iny ; CPU:$C16E PRG:016E C8 + lda #$04 ; CPU:$C16F PRG:016F A9 04 + clc ; CPU:$C171 PRG:0171 18 + adc ZpC0 ; CPU:$C172 PRG:0172 65 C0 + sta ZpC0 ; CPU:$C174 PRG:0174 85 C0 + tax ; CPU:$C176 PRG:0176 AA + rts ; CPU:$C177 PRG:0177 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C178_Return_C178 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C178_Return_C178: + sta PPUADDR ; CPU:$C178 PRG:0178 8D 06 20 + stx PPUADDR ; CPU:$C17B PRG:017B 8E 06 20 + lda Zp04 ; CPU:$C17E PRG:017E A5 04 + sta PPUSCROLL ; CPU:$C180 PRG:0180 8D 05 20 + lda Zp05 ; CPU:$C183 PRG:0183 A5 05 + sta PPUSCROLL ; CPU:$C185 PRG:0185 8D 05 20 + lda Zp02 ; CPU:$C188 PRG:0188 A5 02 + sta PPUCTRL ; CPU:$C18A PRG:018A 8D 00 20 + rts ; CPU:$C18D PRG:018D 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C18E_Return_C18E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C18E_Return_C18E: + lda Zp0A ; CPU:$C18E PRG:018E A5 0A + clc ; CPU:$C190 PRG:0190 18 + adc Zp08 ; CPU:$C191 PRG:0191 65 08 + ldx Zp09 ; CPU:$C193 PRG:0193 A6 09 + jsr $C178 ; CPU:$C195 PRG:0195 20 78 C1 + lda Zp0B ; CPU:$C198 PRG:0198 A5 0B + jsr Sub_C006_Continue_C006 ; CPU:$C19A PRG:019A 20 06 C0 + adc #$02 ; CPU:$C19D PRG:019D 69 02 + jsr Sub_C006_Continue_C006 ; CPU:$C19F PRG:019F 20 06 C0 + lda Zp09 ; CPU:$C1A2 PRG:01A2 A5 09 + adc #$20 ; CPU:$C1A4 PRG:01A4 69 20 + tax ; CPU:$C1A6 PRG:01A6 AA + lda Zp08 ; CPU:$C1A7 PRG:01A7 A5 08 + adc Zp0A ; CPU:$C1A9 PRG:01A9 65 0A + jsr $C178 ; CPU:$C1AB PRG:01AB 20 78 C1 + lda Zp0B ; CPU:$C1AE PRG:01AE A5 0B + adc #$01 ; CPU:$C1B0 PRG:01B0 69 01 + jsr Sub_C006_Continue_C006 ; CPU:$C1B2 PRG:01B2 20 06 C0 + adc #$02 ; CPU:$C1B5 PRG:01B5 69 02 + jsr Sub_C006_Continue_C006 ; CPU:$C1B7 PRG:01B7 20 06 C0 + lda Zp0D ; CPU:$C1BA PRG:01BA A5 0D + adc Zp08 ; CPU:$C1BC PRG:01BC 65 08 + ldx Zp0C ; CPU:$C1BE PRG:01BE A6 0C + pha ; CPU:$C1C0 PRG:01C0 48 + jsr $C178 ; CPU:$C1C1 PRG:01C1 20 78 C1 + jsr $C00E ; CPU:$C1C4 PRG:01C4 20 0E C0 + jsr $C00E ; CPU:$C1C7 PRG:01C7 20 0E C0 + and Zp0E ; CPU:$C1CA PRG:01CA 25 0E + ora Zp0F ; CPU:$C1CC PRG:01CC 05 0F + tay ; CPU:$C1CE PRG:01CE A8 + pla ; CPU:$C1CF PRG:01CF 68 + jsr $C178 ; CPU:$C1D0 PRG:01D0 20 78 C1 + tya ; CPU:$C1D3 PRG:01D3 98 + jmp Sub_C006_Continue_C006 ; CPU:$C1D4 PRG:01D4 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_C1D7_OnNonzero_C1D7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C1D7_OnNonzero_C1D7: + jsr $C1E1 ; CPU:$C1D7 PRG:01D7 20 E1 C1 + lda GameplayFlags ; CPU:$C1DA PRG:01DA A5 06 + and #$10 ; CPU:$C1DC PRG:01DC 29 10 + bne Sub_C1D7_OnNonzero_C1D7 ; CPU:$C1DE PRG:01DE D0 F7 + rts ; CPU:$C1E0 PRG:01E0 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C1E1_Return_C1E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C1E1_Return_C1E1: + lda #$01 ; CPU:$C1E1 PRG:01E1 A9 01 + sta JOY1 ; CPU:$C1E3 PRG:01E3 8D 16 40 + lda #$00 ; CPU:$C1E6 PRG:01E6 A9 00 + sta JOY1 ; CPU:$C1E8 PRG:01E8 8D 16 40 + tax ; CPU:$C1EB PRG:01EB AA + ldy #$08 ; CPU:$C1EC PRG:01EC A0 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_C1E1_OnNonzero_C1EE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C1E1_OnNonzero_C1EE: + txa ; CPU:$C1EE PRG:01EE 8A + asl a ; CPU:$C1EF PRG:01EF 0A + tax ; CPU:$C1F0 PRG:01F0 AA + lda JOY1 ; CPU:$C1F1 PRG:01F1 AD 16 40 + jsr $C20D ; CPU:$C1F4 PRG:01F4 20 0D C2 + bne Sub_C1E1_OnNonzero_C1EE ; CPU:$C1F7 PRG:01F7 D0 F5 + stx GameplayFlags ; CPU:$C1F9 PRG:01F9 86 06 + ldx #$00 ; CPU:$C1FB PRG:01FB A2 00 + ldy #$08 ; CPU:$C1FD PRG:01FD A0 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_C1E1_OnNonzero_C1FF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C1E1_OnNonzero_C1FF: + txa ; CPU:$C1FF PRG:01FF 8A + asl a ; CPU:$C200 PRG:0200 0A + tax ; CPU:$C201 PRG:0201 AA + lda JOY2 ; CPU:$C202 PRG:0202 AD 17 40 + jsr $C20D ; CPU:$C205 PRG:0205 20 0D C2 + bne Sub_C1E1_OnNonzero_C1FF ; CPU:$C208 PRG:0208 D0 F5 + stx Zp07 ; CPU:$C20A PRG:020A 86 07 + rts ; CPU:$C20C PRG:020C 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C20D_Return_C20D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C20D_Return_C20D: + and #$01 ; CPU:$C20D PRG:020D 29 01 + beq Sub_C20D_OnZero_C212 ; CPU:$C20F PRG:020F F0 01 + inx ; CPU:$C211 PRG:0211 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C20D_OnZero_C212 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C20D_OnZero_C212: + dey ; CPU:$C212 PRG:0212 88 + rts ; CPU:$C213 PRG:0213 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C214_Return_C214 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C214_Return_C214: + lda #$10 ; CPU:$C214 PRG:0214 A9 10 + sta Zp02 ; CPU:$C216 PRG:0216 85 02 + sta PPUCTRL ; CPU:$C218 PRG:0218 8D 00 20 + lda #$00 ; CPU:$C21B PRG:021B A9 00 + sta ZpCA ; CPU:$C21D PRG:021D 85 CA + sta ZpC9 ; CPU:$C21F PRG:021F 85 C9 + sta ZpCD ; CPU:$C221 PRG:0221 85 CD + sta GameplayFlags ; CPU:$C223 PRG:0223 85 06 + sta LevelTransitionTrigger ; CPU:$C225 PRG:0225 85 B7 + sta Zp04 ; CPU:$C227 PRG:0227 85 04 + sta Zp05 ; CPU:$C229 PRG:0229 85 05 + sta NmiPathSelector ; CPU:$C22B PRG:022B 85 10 + sta NmiSubPathSelector ; CPU:$C22D PRG:022D 85 11 + sta Zp08 ; CPU:$C22F PRG:022F 85 08 + sta LevelTransitionCountHi ; CPU:$C231 PRG:0231 85 B9 + lda #$0A ; CPU:$C233 PRG:0233 A9 0A + sta LevelTransitionCountLo ; CPU:$C235 PRG:0235 85 B8 + jsr $C298 ; CPU:$C237 PRG:0237 20 98 C2 + jsr $C287 ; CPU:$C23A PRG:023A 20 87 C2 + jsr $C2DC ; CPU:$C23D PRG:023D 20 DC C2 + lda #$20 ; CPU:$C240 PRG:0240 A9 20 + ldx #$00 ; CPU:$C242 PRG:0242 A2 00 + jsr $C178 ; CPU:$C244 PRG:0244 20 78 C1 + ldy #$08 ; CPU:$C247 PRG:0247 A0 08 + ldx #$00 ; CPU:$C249 PRG:0249 A2 00 + lda #$20 ; CPU:$C24B PRG:024B A9 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_C214_OnNonzero_C24D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C214_OnNonzero_C24D: + jsr Sub_C006_Continue_C006 ; CPU:$C24D PRG:024D 20 06 C0 + dex ; CPU:$C250 PRG:0250 CA + bne Sub_C214_OnNonzero_C24D ; CPU:$C251 PRG:0251 D0 FA + dey ; CPU:$C253 PRG:0253 88 + bne Sub_C214_OnNonzero_C24D ; CPU:$C254 PRG:0254 D0 F7 + lda #$23 ; CPU:$C256 PRG:0256 A9 23 + ldx #$C0 ; CPU:$C258 PRG:0258 A2 C0 + jsr $C178 ; CPU:$C25A PRG:025A 20 78 C1 + lda #$00 ; CPU:$C25D PRG:025D A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C214_OnNonzero_C25F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C214_OnNonzero_C25F: + jsr Sub_C006_Continue_C006 ; CPU:$C25F PRG:025F 20 06 C0 + inx ; CPU:$C262 PRG:0262 E8 + bne Sub_C214_OnNonzero_C25F ; CPU:$C263 PRG:0263 D0 FA + lda #$27 ; CPU:$C265 PRG:0265 A9 27 + ldx #$C0 ; CPU:$C267 PRG:0267 A2 C0 + jsr $C178 ; CPU:$C269 PRG:0269 20 78 C1 + lda #$00 ; CPU:$C26C PRG:026C A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C214_OnNonzero_C26E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C214_OnNonzero_C26E: + jsr Sub_C006_Continue_C006 ; CPU:$C26E PRG:026E 20 06 C0 + inx ; CPU:$C271 PRG:0271 E8 + bne Sub_C214_OnNonzero_C26E ; CPU:$C272 PRG:0272 D0 FA +; ----------------------------------------------------------------------------- +; Routine: Sub_C274_Continue_C274 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C274_Continue_C274: + jsr $C2A8 ; CPU:$C274 PRG:0274 20 A8 C2 + lda #$08 ; CPU:$C277 PRG:0277 A9 08 + jsr $C28C ; CPU:$C279 PRG:0279 20 8C C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_C27C_CallNext_C27C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C27C_CallNext_C27C: + lda #$00 ; CPU:$C27C PRG:027C A9 00 + sta OAMADDR ; CPU:$C27E PRG:027E 8D 03 20 + lda #$07 ; CPU:$C281 PRG:0281 A9 07 + sta OAMDMA ; CPU:$C283 PRG:0283 8D 14 40 + rts ; CPU:$C286 PRG:0286 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C287_Return_C287 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C287_Return_C287: + jsr $C2A8 ; CPU:$C287 PRG:0287 20 A8 C2 + lda #$00 ; CPU:$C28A PRG:028A A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C28C_LoadAndContinue_C28C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C28C_LoadAndContinue_C28C: + sta PPUMASK ; CPU:$C28C PRG:028C 8D 01 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_C28C_OnNonzero_C28F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C28C_OnNonzero_C28F: + sta PpuMaskShadow ; CPU:$C28F PRG:028F 85 03 + rts ; CPU:$C291 PRG:0291 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C292_Return_C292 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C292_Return_C292: + lda PpuMaskShadow ; CPU:$C292 PRG:0292 A5 03 + ora #$10 ; CPU:$C294 PRG:0294 09 10 + bne Sub_C28C_OnNonzero_C28F ; CPU:$C296 PRG:0296 D0 F7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C298_Continue_C298 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C298_Continue_C298: + ldy #$00 ; CPU:$C298 PRG:0298 A0 00 + sty PtrLo ; CPU:$C29A PRG:029A 84 00 + lda #$07 ; CPU:$C29C PRG:029C A9 07 + sta PtrHi ; CPU:$C29E PRG:029E 85 01 + lda #$F8 ; CPU:$C2A0 PRG:02A0 A9 F8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C298_OnNonzero_C2A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C298_OnNonzero_C2A2: + sta (PtrLo),y ; CPU:$C2A2 PRG:02A2 91 00 + iny ; CPU:$C2A4 PRG:02A4 C8 + bne Sub_C298_OnNonzero_C2A2 ; CPU:$C2A5 PRG:02A5 D0 FB + rts ; CPU:$C2A7 PRG:02A7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2A8_OnNegative_C2A8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2A8_OnNegative_C2A8: + lda PPUSTATUS ; CPU:$C2A8 PRG:02A8 AD 02 20 + bmi Sub_C2A8_OnNegative_C2A8 ; CPU:$C2AB PRG:02AB 30 FB +; ----------------------------------------------------------------------------- +; Routine: Sub_C2A8_OnNonnegative_C2AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2A8_OnNonnegative_C2AD: + lda PPUSTATUS ; CPU:$C2AD PRG:02AD AD 02 20 + bpl Sub_C2A8_OnNonnegative_C2AD ; CPU:$C2B0 PRG:02B0 10 FB + rts ; CPU:$C2B2 PRG:02B2 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2B3_Return_C2B3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2B3_Return_C2B3: + jsr $C2A8 ; CPU:$C2B3 PRG:02B3 20 A8 C2 + lda Zp02 ; CPU:$C2B6 PRG:02B6 A5 02 + ora #$80 ; CPU:$C2B8 PRG:02B8 09 80 + bne Sub_C2C6_OnNonzero_C2CA ; CPU:$C2BA PRG:02BA D0 0E +; ----------------------------------------------------------------------------- +; Routine: Sub_C2BC_Continue_C2BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2BC_Continue_C2BC: + lda #$00 ; CPU:$C2BC PRG:02BC A9 00 + sta NmiPathSelector ; CPU:$C2BE PRG:02BE 85 10 + sta NmiSubPathSelector ; CPU:$C2C0 PRG:02C0 85 11 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2BC_OnNonzero_C2C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2BC_OnNonzero_C2C2: + lda NmiPathSelector ; CPU:$C2C2 PRG:02C2 A5 10 + bne Sub_C2BC_OnNonzero_C2C2 ; CPU:$C2C4 PRG:02C4 D0 FC +; ----------------------------------------------------------------------------- +; Routine: Sub_C2C6_Continue_C2C6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2C6_Continue_C2C6: + lda Zp02 ; CPU:$C2C6 PRG:02C6 A5 02 + and #$7F ; CPU:$C2C8 PRG:02C8 29 7F +; ----------------------------------------------------------------------------- +; Routine: Sub_C2C6_OnNonzero_C2CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2C6_OnNonzero_C2CA: + sta Zp02 ; CPU:$C2CA PRG:02CA 85 02 + sta PPUCTRL ; CPU:$C2CC PRG:02CC 8D 00 20 + rts ; CPU:$C2CF PRG:02CF 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2D0_Return_C2D0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2D0_Return_C2D0: + lda #$07 ; CPU:$C2D0 PRG:02D0 A9 07 + sta APUSTATUS ; CPU:$C2D2 PRG:02D2 8D 15 40 + rts ; CPU:$C2D5 PRG:02D5 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2D6_Return_C2D6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2D6_Return_C2D6: + lda #$00 ; CPU:$C2D6 PRG:02D6 A9 00 + sta APUSTATUS ; CPU:$C2D8 PRG:02D8 8D 15 40 + rts ; CPU:$C2DB PRG:02DB 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2DC_Return_C2DC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2DC_Return_C2DC: + lda #$3F ; CPU:$C2DC PRG:02DC A9 3F + ldx #$00 ; CPU:$C2DE PRG:02DE A2 00 + jsr $C178 ; CPU:$C2E0 PRG:02E0 20 78 C1 + ldy #$20 ; CPU:$C2E3 PRG:02E3 A0 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_C2DC_OnNonzero_C2E5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C2DC_OnNonzero_C2E5: + lda $C37E,x ; CPU:$C2E5 PRG:02E5 BD 7E C3 + jsr Sub_C006_Continue_C006 ; CPU:$C2E8 PRG:02E8 20 06 C0 + inx ; CPU:$C2EB PRG:02EB E8 + dey ; CPU:$C2EC PRG:02EC 88 + bne Sub_C2DC_OnNonzero_C2E5 ; CPU:$C2ED PRG:02ED D0 F6 + rts ; CPU:$C2EF PRG:02EF 60 +; ---- data $C2F0-$C3A5 (182 bytes) ---- +; referenced by `lda $C39E,x` at $C06B (operand $C39E falls inside this region) +; referenced by `lda $C3A2,x` at $C09E (operand $C3A2 falls inside this region) +; referenced by `adc $C378,x` at $C157 (operand $C378 falls inside this region) +; referenced by `lda $C2F0,y` at $C15D (operand $C2F0 falls inside this region) +; referenced by `lda $C2F0,y` at $C164 (operand $C2F0 falls inside this region) +; referenced by `lda $C37E,x` at $C2E5 (operand $C37E falls inside this region) + .byte $AE, $06, $4E, $06, $F3, $05, $9E, $05, $4D, $05, $01, $05, $B9, $04, $75, $04 ; CPU:$C2F0 PRG:02F0 AE 06 4E 06 F3 05 9E 05 4D 05 01 05 B9 04 75 04 + .byte $35, $04, $F8, $03, $BF, $03, $89, $03, $57, $03, $27, $03, $F9, $02, $CF, $02 ; CPU:$C300 PRG:0300 35 04 F8 03 BF 03 89 03 57 03 27 03 F9 02 CF 02 + .byte $A6, $02, $80, $02, $5C, $02, $3A, $02, $1A, $02, $FC, $01, $DF, $01, $C4, $01 ; CPU:$C310 PRG:0310 A6 02 80 02 5C 02 3A 02 1A 02 FC 01 DF 01 C4 01 + .byte $AB, $01, $93, $01, $7C, $01, $67, $01, $52, $01, $3F, $01, $2D, $01, $1C, $01 ; CPU:$C320 PRG:0320 AB 01 93 01 7C 01 67 01 52 01 3F 01 2D 01 1C 01 + .byte $0C, $01, $FD, $00, $EE, $00, $E1, $00, $D4, $00, $C8, $00, $BD, $00, $B2, $00 ; CPU:$C330 PRG:0330 0C 01 FD 00 EE 00 E1 00 D4 00 C8 00 BD 00 B2 00 + .byte $A8, $00, $9F, $00, $96, $00, $8D, $00, $85, $00, $7E, $00, $76, $00, $70, $00 ; CPU:$C340 PRG:0340 A8 00 9F 00 96 00 8D 00 85 00 7E 00 76 00 70 00 + .byte $69, $00, $63, $00, $5E, $00, $58, $00, $53, $00, $4F, $00, $4A, $00, $46, $00 ; CPU:$C350 PRG:0350 69 00 63 00 5E 00 58 00 53 00 4F 00 4A 00 46 00 + .byte $42, $00, $3E, $00, $3A, $00, $37, $00, $34, $00, $31, $00, $2E, $00, $2B, $00 ; CPU:$C360 PRG:0360 42 00 3E 00 3A 00 37 00 34 00 31 00 2E 00 2B 00 + .byte $29, $00, $27, $00, $24, $00, $22, $00, $00, $18, $30, $48, $60, $78, $0F, $16 ; CPU:$C370 PRG:0370 29 00 27 00 24 00 22 00 00 18 30 48 60 78 0F 16 + .byte $30, $38, $0F, $17, $26, $07, $0F, $36, $00, $30, $0F, $38, $28, $30, $0F, $16 ; CPU:$C380 PRG:0380 30 38 0F 17 26 07 0F 36 00 30 0F 38 28 30 0F 16 + .byte $27, $12, $0F, $30, $2B, $16, $0F, $29, $16, $30, $0F, $30, $30, $30, $26, $16 ; CPU:$C390 PRG:0390 27 12 0F 30 2B 16 0F 29 16 30 0F 30 30 30 26 16 + .byte $06, $16, $20, $10, $00, $10 ; CPU:$C3A0 PRG:03A0 06 16 20 10 00 10 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3A6_Entry_C3A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3A6_Entry_C3A6: + lda #$00 ; CPU:$C3A6 PRG:03A6 A9 00 + sta ZpA7 ; CPU:$C3A8 PRG:03A8 85 A7 + sta Zp53 ; CPU:$C3AA PRG:03AA 85 53 + jsr $C214 ; CPU:$C3AC PRG:03AC 20 14 C2 + jsr $C2D0 ; CPU:$C3AF PRG:03AF 20 D0 C2 + lda #$00 ; CPU:$C3B2 PRG:03B2 A9 00 + sta ZpD6 ; CPU:$C3B4 PRG:03B4 85 D6 + jsr $DCBC ; CPU:$C3B6 PRG:03B6 20 BC DC + jsr $C2B3 ; CPU:$C3B9 PRG:03B9 20 B3 C2 + jsr $E226 ; CPU:$C3BC PRG:03BC 20 26 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnZero_C3BF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnZero_C3BF: + lda #$00 ; CPU:$C3BF PRG:03BF A9 00 + sta ZpD3 ; CPU:$C3C1 PRG:03C1 85 D3 + sta ZpD4 ; CPU:$C3C3 PRG:03C3 85 D4 + lda #$20 ; CPU:$C3C5 PRG:03C5 A9 20 + sta ZpD5 ; CPU:$C3C7 PRG:03C7 85 D5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnNonzero_C3C9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnNonzero_C3C9: + lda GameplayFlags ; CPU:$C3C9 PRG:03C9 A5 06 + and #$20 ; CPU:$C3CB PRG:03CB 29 20 + beq Sub_C3BF_OnZero_C3F2 ; CPU:$C3CD PRG:03CD F0 23 + inc ZpA7 ; CPU:$C3CF PRG:03CF E6 A7 + lda ZpA7 ; CPU:$C3D1 PRG:03D1 A5 A7 + cmp #$03 ; CPU:$C3D3 PRG:03D3 C9 03 + bne Sub_C3BF_OnNonzero_C3DB ; CPU:$C3D5 PRG:03D5 D0 04 + lda #$00 ; CPU:$C3D7 PRG:03D7 A9 00 + sta ZpA7 ; CPU:$C3D9 PRG:03D9 85 A7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnNonzero_C3DB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnNonzero_C3DB: + jsr $E1DB ; CPU:$C3DB PRG:03DB 20 DB E1 + jsr $C5A1 ; CPU:$C3DE PRG:03DE 20 A1 C5 + beq Sub_C3BF_OnZero_C3BF ; CPU:$C3E1 PRG:03E1 F0 DC +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnZero_C3E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnZero_C3E3: + dec ZpD3 ; CPU:$C3E3 PRG:03E3 C6 D3 + bne Sub_C3BF_OnNonzero_C3C9 ; CPU:$C3E5 PRG:03E5 D0 E2 + dec ZpD4 ; CPU:$C3E7 PRG:03E7 C6 D4 + bne Sub_C3BF_OnNonzero_C3C9 ; CPU:$C3E9 PRG:03E9 D0 DE + dec ZpD5 ; CPU:$C3EB PRG:03EB C6 D5 + bne Sub_C3BF_OnNonzero_C3C9 ; CPU:$C3ED PRG:03ED D0 DA + jmp $C5CA ; CPU:$C3EF PRG:03EF 4C CA C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnZero_C3F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnZero_C3F2: + lda GameplayFlags ; CPU:$C3F2 PRG:03F2 A5 06 + and #$10 ; CPU:$C3F4 PRG:03F4 29 10 + beq Sub_C3BF_OnZero_C3E3 ; CPU:$C3F6 PRG:03F6 F0 EB + jsr $C5A1 ; CPU:$C3F8 PRG:03F8 20 A1 C5 + lda ZpA7 ; CPU:$C3FB PRG:03FB A5 A7 + cmp #$02 ; CPU:$C3FD PRG:03FD C9 02 + bne Sub_C3BF_OnNonzero_C40A ; CPU:$C3FF PRG:03FF D0 09 + lda #$00 ; CPU:$C401 PRG:0401 A9 00 + sta Zp97 ; CPU:$C403 PRG:0403 85 97 + sta ZpD0 ; CPU:$C405 PRG:0405 85 D0 + jmp $E664 ; CPU:$C407 PRG:0407 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C3BF_OnNonzero_C40A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C3BF_OnNonzero_C40A: + jsr $C214 ; CPU:$C40A PRG:040A 20 14 C2 + lda #$00 ; CPU:$C40D PRG:040D A9 00 + sta Zp97 ; CPU:$C40F PRG:040F 85 97 + sta ZpD0 ; CPU:$C411 PRG:0411 85 D0 + jsr $C2D0 ; CPU:$C413 PRG:0413 20 D0 C2 + jsr $C63B ; CPU:$C416 PRG:0416 20 3B C6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C419_CallNext_C419 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C419_CallNext_C419: + lda ZpD0 ; CPU:$C419 PRG:0419 A5 D0 + bne Sub_C419_OnNonzero_C42A ; CPU:$C41B PRG:041B D0 0D + jsr $C5FE ; CPU:$C41D PRG:041D 20 FE C5 + lda Zp98 ; CPU:$C420 PRG:0420 A5 98 + bne Sub_C419_OnNonzero_C427 ; CPU:$C422 PRG:0422 D0 03 + jmp $C594 ; CPU:$C424 PRG:0424 4C 94 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C419_OnNonzero_C427 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C419_OnNonzero_C427: + jsr $DF3C ; CPU:$C427 PRG:0427 20 3C DF +; ----------------------------------------------------------------------------- +; Routine: Sub_C419_OnNonzero_C42A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C419_OnNonzero_C42A: + jsr $C711 ; CPU:$C42A PRG:042A 20 11 C7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C419_OnNonzero_C42D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C419_OnNonzero_C42D: + lda GameplayFlags ; CPU:$C42D PRG:042D A5 06 + and #$20 ; CPU:$C42F PRG:042F 29 20 + bne Sub_C4AD_OnNonzero_C4AD ; CPU:$C431 PRG:0431 D0 7A + lda LevelTransitionTrigger ; CPU:$C433 PRG:0433 A5 B7 + bne Sub_C419_OnNonzero_C42D ; CPU:$C435 PRG:0435 D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_Continue_C437 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_Continue_C437: + jsr $C663 ; CPU:$C437 PRG:0437 20 63 C6 + jsr $C88F ; CPU:$C43A PRG:043A 20 8F C8 + jsr $C97B ; CPU:$C43D PRG:043D 20 7B C9 + lda #$00 ; CPU:$C440 PRG:0440 A9 00 + sta ZpC6 ; CPU:$C442 PRG:0442 85 C6 + sta ZpDC ; CPU:$C444 PRG:0444 85 DC + lda Zp97 ; CPU:$C446 PRG:0446 A5 97 + clc ; CPU:$C448 PRG:0448 18 + adc Zp8D ; CPU:$C449 PRG:0449 65 8D + cmp #$0A ; CPU:$C44B PRG:044B C9 0A + bcc Sub_C437_OnCarryClear_C451 ; CPU:$C44D PRG:044D 90 02 + lda #$0A ; CPU:$C44F PRG:044F A9 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_OnCarryClear_C451 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_OnCarryClear_C451: + tay ; CPU:$C451 PRG:0451 A8 + ldx $C6B2,y ; CPU:$C452 PRG:0452 BE B2 C6 + lda $C6D2,x ; CPU:$C455 PRG:0455 BD D2 C6 + sta Zp60 ; CPU:$C458 PRG:0458 85 60 + lda $C6D3,x ; CPU:$C45A PRG:045A BD D3 C6 + sta Zp61 ; CPU:$C45D PRG:045D 85 61 + lda $C6D4,x ; CPU:$C45F PRG:045F BD D4 C6 + sta Zp62 ; CPU:$C462 PRG:0462 85 62 + ldy Zp97 ; CPU:$C464 PRG:0464 A4 97 + lda $C6BD,y ; CPU:$C466 PRG:0466 B9 BD C6 + sta Zp5F ; CPU:$C469 PRG:0469 85 5F +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_OnZero_C46B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_OnZero_C46B: + jsr $CB8C ; CPU:$C46B PRG:046B 20 8C CB + jsr $CBAA ; CPU:$C46E PRG:046E 20 AA CB + lda Zp9A ; CPU:$C471 PRG:0471 A5 9A + beq Sub_C4AD_OnZero_C4B7 ; CPU:$C473 PRG:0473 F0 42 + lda Zp93 ; CPU:$C475 PRG:0475 A5 93 + bne Sub_C437_OnNonzero_C47C ; CPU:$C477 PRG:0477 D0 03 + jsr $CB22 ; CPU:$C479 PRG:0479 20 22 CB +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_OnNonzero_C47C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_OnNonzero_C47C: + lda PlayerPosY ; CPU:$C47C PRG:047C A5 21 + bne Sub_C437_OnNonzero_C491 ; CPU:$C47E PRG:047E D0 11 + lda Zp23 ; CPU:$C480 PRG:0480 A5 23 + cmp #$03 ; CPU:$C482 PRG:0482 C9 03 + bne Sub_C437_OnNonzero_C491 ; CPU:$C484 PRG:0484 D0 0B + lda Zp93 ; CPU:$C486 PRG:0486 A5 93 + beq Sub_C437_OnZero_C48C ; CPU:$C488 PRG:0488 F0 02 + cmp #$FF ; CPU:$C48A PRG:048A C9 FF +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_OnZero_C48C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_OnZero_C48C: + bne Sub_C437_OnNonzero_C491 ; CPU:$C48C PRG:048C D0 03 + jmp $C52D ; CPU:$C48E PRG:048E 4C 2D C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C437_OnNonzero_C491 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C437_OnNonzero_C491: + jsr $D30F ; CPU:$C491 PRG:0491 20 0F D3 + lda Zp9A ; CPU:$C494 PRG:0494 A5 9A + beq Sub_C4AD_OnZero_C4B7 ; CPU:$C496 PRG:0496 F0 1F + jsr $D49C ; CPU:$C498 PRG:0498 20 9C D4 + lda Zp9A ; CPU:$C49B PRG:049B A5 9A + beq Sub_C4AD_OnZero_C4B7 ; CPU:$C49D PRG:049D F0 18 + ldx InitConstant ; CPU:$C49F PRG:049F A6 E5 +; ----------------------------------------------------------------------------- +; Routine: ReadPPUData +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +ReadPPUData: + dey ; CPU:$C4A1 PRG:04A1 88 + bne ReadPPUData ; CPU:$C4A2 PRG:04A2 D0 FD + dex ; CPU:$C4A4 PRG:04A4 CA + bne ReadPPUData ; CPU:$C4A5 PRG:04A5 D0 FA + lda GameplayFlags ; CPU:$C4A7 PRG:04A7 A5 06 + and #$30 ; CPU:$C4A9 PRG:04A9 29 30 + beq Sub_C437_OnZero_C46B ; CPU:$C4AB PRG:04AB F0 BE +; ----------------------------------------------------------------------------- +; Routine: Sub_C4AD_OnNonzero_C4AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4AD_OnNonzero_C4AD: + jsr $C5A1 ; CPU:$C4AD PRG:04AD 20 A1 C5 + lda ZpD0 ; CPU:$C4B0 PRG:04B0 A5 D0 + beq Sub_C4AD_OnZero_C4BA ; CPU:$C4B2 PRG:04B2 F0 06 + jmp $C5B2 ; CPU:$C4B4 PRG:04B4 4C B2 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4AD_OnZero_C4B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4AD_OnZero_C4B7: + jmp $C563 ; CPU:$C4B7 PRG:04B7 4C 63 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4AD_OnZero_C4BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4AD_OnZero_C4BA: + jsr $E242 ; CPU:$C4BA PRG:04BA 20 42 E2 + lda ZpA7 ; CPU:$C4BD PRG:04BD A5 A7 + cmp #$02 ; CPU:$C4BF PRG:04BF C9 02 + bne Sub_C4AD_OnNonzero_C4CA ; CPU:$C4C1 PRG:04C1 D0 07 + lda #$00 ; CPU:$C4C3 PRG:04C3 A9 00 + sta GameplayActiveFlag ; CPU:$C4C5 PRG:04C5 85 DB + jmp $E664 ; CPU:$C4C7 PRG:04C7 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4AD_OnNonzero_C4CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4AD_OnNonzero_C4CA: + lda #$00 ; CPU:$C4CA PRG:04CA A9 00 + sta LevelTransitionTrigger ; CPU:$C4CC PRG:04CC 85 B7 + sta GameplayActiveFlag ; CPU:$C4CE PRG:04CE 85 DB + jsr $DF09 ; CPU:$C4D0 PRG:04D0 20 09 DF +; ----------------------------------------------------------------------------- +; Routine: Sub_C4D3_OnZero_C4D3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4D3_OnZero_C4D3: + lda GameplayFlags ; CPU:$C4D3 PRG:04D3 A5 06 + and #$80 ; CPU:$C4D5 PRG:04D5 29 80 + bne Sub_C4D3_OnNonzero_C4EA ; CPU:$C4D7 PRG:04D7 D0 11 + lda GameplayFlags ; CPU:$C4D9 PRG:04D9 A5 06 + and #$40 ; CPU:$C4DB PRG:04DB 29 40 + bne Sub_C4F2_OnNonzero_C50B ; CPU:$C4DD PRG:04DD D0 2C + lda GameplayFlags ; CPU:$C4DF PRG:04DF A5 06 + and #$10 ; CPU:$C4E1 PRG:04E1 29 10 + beq Sub_C4D3_OnZero_C4D3 ; CPU:$C4E3 PRG:04E3 F0 EE + jsr $C5A1 ; CPU:$C4E5 PRG:04E5 20 A1 C5 + beq Sub_C560_OnZero_C560 ; CPU:$C4E8 PRG:04E8 F0 76 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4D3_OnNonzero_C4EA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4D3_OnNonzero_C4EA: + lda GameplayFlags ; CPU:$C4EA PRG:04EA A5 06 + and #$20 ; CPU:$C4EC PRG:04EC 29 20 + beq Sub_C4F2_OnZero_C4FD ; CPU:$C4EE PRG:04EE F0 0D + dec InitConstant ; CPU:$C4F0 PRG:04F0 C6 E5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_DecrementAndContinue_C4F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_DecrementAndContinue_C4F2: + jsr $D2C4 ; CPU:$C4F2 PRG:04F2 20 C4 D2 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnNonzero_C4F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnNonzero_C4F5: + lda GameplayFlags ; CPU:$C4F5 PRG:04F5 A5 06 + and #$C0 ; CPU:$C4F7 PRG:04F7 29 C0 + bne Sub_C4F2_OnNonzero_C4F5 ; CPU:$C4F9 PRG:04F9 D0 FA + beq Sub_C4D3_OnZero_C4D3 ; CPU:$C4FB PRG:04FB F0 D6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnZero_C4FD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnZero_C4FD: + inc ZpA6 ; CPU:$C4FD PRG:04FD E6 A6 + lda ZpA6 ; CPU:$C4FF PRG:04FF A5 A6 + cmp #$33 ; CPU:$C501 PRG:0501 C9 33 + bne Sub_C4F2_OnNonzero_C507 ; CPU:$C503 PRG:0503 D0 02 + lda #$01 ; CPU:$C505 PRG:0505 A9 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnNonzero_C507 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnNonzero_C507: + sta ZpA6 ; CPU:$C507 PRG:0507 85 A6 + bne Sub_C4F2_OnNonzero_C51E ; CPU:$C509 PRG:0509 D0 13 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnNonzero_C50B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnNonzero_C50B: + lda GameplayFlags ; CPU:$C50B PRG:050B A5 06 + and #$20 ; CPU:$C50D PRG:050D 29 20 + beq Sub_C4F2_OnZero_C516 ; CPU:$C50F PRG:050F F0 05 + inc InitConstant ; CPU:$C511 PRG:0511 E6 E5 + jmp $C4F2 ; CPU:$C513 PRG:0513 4C F2 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnZero_C516 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnZero_C516: + dec ZpA6 ; CPU:$C516 PRG:0516 C6 A6 + bne Sub_C4F2_OnNonzero_C51E ; CPU:$C518 PRG:0518 D0 04 + lda #$32 ; CPU:$C51A PRG:051A A9 32 + sta ZpA6 ; CPU:$C51C PRG:051C 85 A6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C4F2_OnNonzero_C51E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C4F2_OnNonzero_C51E: + jsr $D2C4 ; CPU:$C51E PRG:051E 20 C4 D2 + jsr $C5A1 ; CPU:$C521 PRG:0521 20 A1 C5 + jsr $C61C ; CPU:$C524 PRG:0524 20 1C C6 + jsr $DF03 ; CPU:$C527 PRG:0527 20 03 DF + jmp $C4D3 ; CPU:$C52A PRG:052A 4C D3 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_C52D_JumpNext_C52D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C52D_JumpNext_C52D: + lda ZpD0 ; CPU:$C52D PRG:052D A5 D0 + bne Sub_C5A1_OnNonzero_C5A6 ; CPU:$C52F PRG:052F D0 75 + inc ZpA6 ; CPU:$C531 PRG:0531 E6 A6 + lda ZpA6 ; CPU:$C533 PRG:0533 A5 A6 + cmp #$33 ; CPU:$C535 PRG:0535 C9 33 + bne Sub_C52D_OnNonzero_C53F ; CPU:$C537 PRG:0537 D0 06 + lda #$01 ; CPU:$C539 PRG:0539 A9 01 + sta ZpA6 ; CPU:$C53B PRG:053B 85 A6 + inc Zp97 ; CPU:$C53D PRG:053D E6 97 +; ----------------------------------------------------------------------------- +; Routine: Sub_C52D_OnNonzero_C53F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C52D_OnNonzero_C53F: + inc Zp96 ; CPU:$C53F PRG:053F E6 96 + inc Zp98 ; CPU:$C541 PRG:0541 E6 98 + lda Zp98 ; CPU:$C543 PRG:0543 A5 98 + cmp #$0A ; CPU:$C545 PRG:0545 C9 0A + bne Sub_C52D_OnNonzero_C54B ; CPU:$C547 PRG:0547 D0 02 + dec Zp98 ; CPU:$C549 PRG:0549 C6 98 +; ----------------------------------------------------------------------------- +; Routine: Sub_C52D_OnNonzero_C54B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C52D_OnNonzero_C54B: + jsr $E015 ; CPU:$C54B PRG:054B 20 15 E0 + jsr $C61C ; CPU:$C54E PRG:054E 20 1C C6 + lda ZpA7 ; CPU:$C551 PRG:0551 A5 A7 + cmp #$02 ; CPU:$C553 PRG:0553 C9 02 + beq Sub_C563_OnZero_C570 ; CPU:$C555 PRG:0555 F0 19 + lda GameplayFlags ; CPU:$C557 PRG:0557 A5 06 + and #$20 ; CPU:$C559 PRG:0559 29 20 + beq Sub_C560_OnZero_C560 ; CPU:$C55B PRG:055B F0 03 + jmp $C4AD ; CPU:$C55D PRG:055D 4C AD C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_C560_OnZero_C560 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C560_OnZero_C560: + jmp $C419 ; CPU:$C560 PRG:0560 4C 19 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_C563_JumpNext_C563 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C563_JumpNext_C563: + jsr $E258 ; CPU:$C563 PRG:0563 20 58 E2 + lda ZpD0 ; CPU:$C566 PRG:0566 A5 D0 + bne Sub_C5A1_OnNonzero_C5A6 ; CPU:$C568 PRG:0568 D0 3C + lda ZpA7 ; CPU:$C56A PRG:056A A5 A7 + cmp #$02 ; CPU:$C56C PRG:056C C9 02 + bne Sub_C563_OnNonzero_C577 ; CPU:$C56E PRG:056E D0 07 +; ----------------------------------------------------------------------------- +; Routine: Sub_C563_OnZero_C570 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C563_OnZero_C570: + lda #$00 ; CPU:$C570 PRG:0570 A9 00 + sta GameplayActiveFlag ; CPU:$C572 PRG:0572 85 DB + jmp $E664 ; CPU:$C574 PRG:0574 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_C563_OnNonzero_C577 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C563_OnNonzero_C577: + dec Zp98 ; CPU:$C577 PRG:0577 C6 98 + jsr $C61C ; CPU:$C579 PRG:0579 20 1C C6 + lda Zp98 ; CPU:$C57C PRG:057C A5 98 + bne Sub_C594_OnNonzero_C594 ; CPU:$C57E PRG:057E D0 14 + sta GameplayActiveFlag ; CPU:$C580 PRG:0580 85 DB + jsr $E172 ; CPU:$C582 PRG:0582 20 72 E1 + lda ZpA7 ; CPU:$C585 PRG:0585 A5 A7 + beq Sub_C563_OnZero_C591 ; CPU:$C587 PRG:0587 F0 08 + lda $05A1 ; CPU:$C589 PRG:0589 AD A1 05 + ora $05B1 ; CPU:$C58C PRG:058C 0D B1 05 + bne Sub_C594_OnNonzero_C594 ; CPU:$C58F PRG:058F D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_C563_OnZero_C591 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C563_OnZero_C591: + jmp $C3A6 ; CPU:$C591 PRG:0591 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Sub_C594_OnNonzero_C594 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C594_OnNonzero_C594: + lda ZpA7 ; CPU:$C594 PRG:0594 A5 A7 + beq Sub_C560_OnZero_C560 ; CPU:$C596 PRG:0596 F0 C8 + lda #$01 ; CPU:$C598 PRG:0598 A9 01 + eor ZpC3 ; CPU:$C59A PRG:059A 45 C3 + sta ZpC3 ; CPU:$C59C PRG:059C 85 C3 + jmp $C560 ; CPU:$C59E PRG:059E 4C 60 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5A1_OnNonzero_C5A1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5A1_OnNonzero_C5A1: + lda GameplayFlags ; CPU:$C5A1 PRG:05A1 A5 06 + bne Sub_C5A1_OnNonzero_C5A1 ; CPU:$C5A3 PRG:05A3 D0 FC + rts ; CPU:$C5A5 PRG:05A5 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5A1_OnNonzero_C5A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5A1_OnNonzero_C5A6: + lda #$00 ; CPU:$C5A6 PRG:05A6 A9 00 + sta ZpD0 ; CPU:$C5A8 PRG:05A8 85 D0 + inc ZpD6 ; CPU:$C5AA PRG:05AA E6 D6 + lda ZpD6 ; CPU:$C5AC PRG:05AC A5 D6 + cmp #$03 ; CPU:$C5AE PRG:05AE C9 03 + beq Sub_C5B2_OnZero_C5C7 ; CPU:$C5B0 PRG:05B0 F0 15 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5B2_Continue_C5B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5B2_Continue_C5B2: + lda #$00 ; CPU:$C5B2 PRG:05B2 A9 00 + sta Zp04 ; CPU:$C5B4 PRG:05B4 85 04 + sta LevelTransitionTrigger ; CPU:$C5B6 PRG:05B6 85 B7 + jsr $DCBC ; CPU:$C5B8 PRG:05B8 20 BC DC + jsr $E1DB ; CPU:$C5BB PRG:05BB 20 DB E1 + jsr $C2D0 ; CPU:$C5BE PRG:05BE 20 D0 C2 + jsr $C2B3 ; CPU:$C5C1 PRG:05C1 20 B3 C2 + jmp $C3BF ; CPU:$C5C4 PRG:05C4 4C BF C3 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5B2_OnZero_C5C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5B2_OnZero_C5C7: + jmp $C3A6 ; CPU:$C5C7 PRG:05C7 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5CA_JumpNext_C5CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5CA_JumpNext_C5CA: + jsr $C2A8 ; CPU:$C5CA PRG:05CA 20 A8 C2 + jsr $C2DC ; CPU:$C5CD PRG:05CD 20 DC C2 + lda #$00 ; CPU:$C5D0 PRG:05D0 A9 00 + sta ZpA7 ; CPU:$C5D2 PRG:05D2 85 A7 + sta Zp53 ; CPU:$C5D4 PRG:05D4 85 53 + lda #$1C ; CPU:$C5D6 PRG:05D6 A9 1C + sta ZpCE ; CPU:$C5D8 PRG:05D8 85 CE + lda #$EA ; CPU:$C5DA PRG:05DA A9 EA + sta ZpCF ; CPU:$C5DC PRG:05DC 85 CF + ldx #$01 ; CPU:$C5DE PRG:05DE A2 01 + stx ZpA6 ; CPU:$C5E0 PRG:05E0 86 A6 + stx ZpD0 ; CPU:$C5E2 PRG:05E2 86 D0 + dex ; CPU:$C5E4 PRG:05E4 CA + stx ZpD1 ; CPU:$C5E5 PRG:05E5 86 D1 + stx Zp97 ; CPU:$C5E7 PRG:05E7 86 97 + jsr $C2D6 ; CPU:$C5E9 PRG:05E9 20 D6 C2 + jmp $C419 ; CPU:$C5EC PRG:05EC 4C 19 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5EF_JumpNext_C5EF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5EF_JumpNext_C5EF: + lda ZpC3 ; CPU:$C5EF PRG:05EF A5 C3 + asl a ; CPU:$C5F1 PRG:05F1 0A + asl a ; CPU:$C5F2 PRG:05F2 0A + asl a ; CPU:$C5F3 PRG:05F3 0A + asl a ; CPU:$C5F4 PRG:05F4 0A + tax ; CPU:$C5F5 PRG:05F5 AA + ldy #$00 ; CPU:$C5F6 PRG:05F6 A0 00 + rts ; CPU:$C5F8 PRG:05F8 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5F9_Return_C5F9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5F9_Return_C5F9: + lda $0598,x ; CPU:$C5F9 PRG:05F9 BD 98 05 + inx ; CPU:$C5FC PRG:05FC E8 + rts ; CPU:$C5FD PRG:05FD 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5FE_Return_C5FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5FE_Return_C5FE: + jsr $C5EF ; CPU:$C5FE PRG:05FE 20 EF C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C5FE_OnNonzero_C601 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C5FE_OnNonzero_C601: + jsr $C5F9 ; CPU:$C601 PRG:0601 20 F9 C5 + sta $0590,y ; CPU:$C604 PRG:0604 99 90 05 + iny ; CPU:$C607 PRG:0607 C8 + cpy #$08 ; CPU:$C608 PRG:0608 C0 08 + bne Sub_C5FE_OnNonzero_C601 ; CPU:$C60A PRG:060A D0 F5 + jsr $C5F9 ; CPU:$C60C PRG:060C 20 F9 C5 + sta ZpA6 ; CPU:$C60F PRG:060F 85 A6 + jsr $C5F9 ; CPU:$C611 PRG:0611 20 F9 C5 + sta Zp98 ; CPU:$C614 PRG:0614 85 98 + jsr $C5F9 ; CPU:$C616 PRG:0616 20 F9 C5 + sta Zp97 ; CPU:$C619 PRG:0619 85 97 + rts ; CPU:$C61B PRG:061B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C61C_Return_C61C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C61C_Return_C61C: + jsr $C5EF ; CPU:$C61C PRG:061C 20 EF C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_C61C_OnNonzero_C61F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C61C_OnNonzero_C61F: + lda $0590,y ; CPU:$C61F PRG:061F B9 90 05 + jsr $C636 ; CPU:$C622 PRG:0622 20 36 C6 + iny ; CPU:$C625 PRG:0625 C8 + cpy #$08 ; CPU:$C626 PRG:0626 C0 08 + bne Sub_C61C_OnNonzero_C61F ; CPU:$C628 PRG:0628 D0 F5 + lda ZpA6 ; CPU:$C62A PRG:062A A5 A6 + jsr $C636 ; CPU:$C62C PRG:062C 20 36 C6 + lda Zp98 ; CPU:$C62F PRG:062F A5 98 + jsr $C636 ; CPU:$C631 PRG:0631 20 36 C6 + lda Zp97 ; CPU:$C634 PRG:0634 A5 97 +; ----------------------------------------------------------------------------- +; Routine: Sub_C636_LoadAndContinue_C636 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C636_LoadAndContinue_C636: + sta $0598,x ; CPU:$C636 PRG:0636 9D 98 05 + inx ; CPU:$C639 PRG:0639 E8 + rts ; CPU:$C63A PRG:063A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C63B_Return_C63B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C63B_Return_C63B: + lda #$00 ; CPU:$C63B PRG:063B A9 00 + sta ZpC3 ; CPU:$C63D PRG:063D 85 C3 + ldx #$08 ; CPU:$C63F PRG:063F A2 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_C63B_OnNonzero_C641 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C63B_OnNonzero_C641: + sta $0597,x ; CPU:$C641 PRG:0641 9D 97 05 + sta $05A7,x ; CPU:$C644 PRG:0644 9D A7 05 + dex ; CPU:$C647 PRG:0647 CA + bne Sub_C63B_OnNonzero_C641 ; CPU:$C648 PRG:0648 D0 F7 + sta $05A2 ; CPU:$C64A PRG:064A 8D A2 05 + sta $05B2 ; CPU:$C64D PRG:064D 8D B2 05 + sta ZpC3 ; CPU:$C650 PRG:0650 85 C3 + lda #$01 ; CPU:$C652 PRG:0652 A9 01 + sta $05A0 ; CPU:$C654 PRG:0654 8D A0 05 + sta $05B0 ; CPU:$C657 PRG:0657 8D B0 05 + lda #$05 ; CPU:$C65A PRG:065A A9 05 + sta $05A1 ; CPU:$C65C PRG:065C 8D A1 05 + sta $05B1 ; CPU:$C65F PRG:065F 8D B1 05 + rts ; CPU:$C662 PRG:0662 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C663_Return_C663 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C663_Return_C663: + lda ZpD0 ; CPU:$C663 PRG:0663 A5 D0 + bne Sub_C663_OnNonzero_C66B ; CPU:$C665 PRG:0665 D0 04 + lda #$01 ; CPU:$C667 PRG:0667 A9 01 + sta GameplayActiveFlag ; CPU:$C669 PRG:0669 85 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_C663_OnNonzero_C66B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C663_OnNonzero_C66B: + rts ; CPU:$C66B PRG:066B 60 +; ---- data $C66C-$C710 (165 bytes) ---- +; referenced by `ldx $C6B2,y` at $C452 (operand $C6B2 falls inside this region) +; referenced by `lda $C6D2,x` at $C455 (operand $C6D2 falls inside this region) +; referenced by `lda $C6D3,x` at $C45A (operand $C6D3 falls inside this region) +; referenced by `lda $C6D4,x` at $C45F (operand $C6D4 falls inside this region) +; referenced by `lda $C6BD,y` at $C466 (operand $C6BD falls inside this region) +; referenced by `lda $C688,y` at $C81D (operand $C688 falls inside this region) +; ... and 21 further references from decoded code + .byte $88, $88, $96, $A4, $B2, $C0, $CE, $DC, $EA, $B8, $C6, $D4, $E2, $F0, $03, $03 ; CPU:$C66C PRG:066C 88 88 96 A4 B2 C0 CE DC EA B8 C6 D4 E2 F0 03 03 + .byte $03, $03, $03, $03, $03, $03, $03, $05, $05, $05, $05, $05, $00, $1C, $38, $54 ; CPU:$C67C PRG:067C 03 03 03 03 03 03 03 05 05 05 05 05 00 1C 38 54 + .byte $70, $8C, $A8, $C4, $E0, $FC, $18, $34, $50, $6C, $02, $02, $02, $02, $02, $02 ; CPU:$C68C PRG:068C 70 8C A8 C4 E0 FC 18 34 50 6C 02 02 02 02 02 02 + .byte $02, $02, $02, $02, $03, $03, $03, $03, $04, $04, $04, $04, $04, $04, $04, $04 ; CPU:$C69C PRG:069C 02 02 02 02 03 03 03 03 04 04 04 04 04 04 04 04 + .byte $04, $04, $05, $05, $05, $05, $00, $03, $06, $09, $0C, $0F, $12, $15, $18, $1B ; CPU:$C6AC PRG:06AC 04 04 05 05 05 05 00 03 06 09 0C 0F 12 15 18 1B + .byte $1E, $26, $26, $2E, $44, $47, $49, $4A, $4B, $4C, $4D, $4E, $4F, $50, $51, $52 ; CPU:$C6BC PRG:06BC 1E 26 26 2E 44 47 49 4A 4B 4C 4D 4E 4F 50 51 52 + .byte $53, $54, $55, $56, $57, $58, $00, $00, $00, $00, $01, $01, $01, $01, $01, $01 ; CPU:$C6CC PRG:06CC 53 54 55 56 57 58 00 00 00 00 01 01 01 01 01 01 + .byte $03, $01, $01, $03, $03, $03, $03, $03, $03, $03, $07, $03, $07, $07, $07, $07 ; CPU:$C6DC PRG:06DC 03 01 01 03 03 03 03 03 03 03 07 03 07 07 07 07 + .byte $07, $07, $07, $0F, $07, $0F, $0F, $0F, $0F, $0F, $0F, $0F, $1F, $0F, $1F, $1F ; CPU:$C6EC PRG:06EC 07 07 07 0F 07 0F 0F 0F 0F 0F 0F 0F 1F 0F 1F 1F + .byte $1F, $1F, $1F, $1F, $1F, $3F, $1F, $3F, $3F, $3F, $3F, $3F, $3F, $3F, $7F, $3F ; CPU:$C6FC PRG:06FC 1F 1F 1F 1F 1F 3F 1F 3F 3F 3F 3F 3F 3F 3F 7F 3F + .byte $7F, $7F, $7F, $7F, $7F ; CPU:$C70C PRG:070C 7F 7F 7F 7F 7F +; ----------------------------------------------------------------------------- +; Routine: Sub_C711_Entry_C711 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C711_Entry_C711: + lda ZpA6 ; CPU:$C711 PRG:0711 A5 A6 + sta ZpC1 ; CPU:$C713 PRG:0713 85 C1 + lda #$00 ; CPU:$C715 PRG:0715 A9 00 + sta Zp95 ; CPU:$C717 PRG:0717 85 95 + lda #$78 ; CPU:$C719 PRG:0719 A9 78 + sta ZpB0 ; CPU:$C71B PRG:071B 85 B0 + lda #$EA ; CPU:$C71D PRG:071D A9 EA + sta ZpB1 ; CPU:$C71F PRG:071F 85 B1 +; ----------------------------------------------------------------------------- +; Routine: Sub_C721_StoreAndContinue_C721 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C721_StoreAndContinue_C721: + lda #$00 ; CPU:$C721 PRG:0721 A9 00 + sta LevelDataPtrHi ; CPU:$C723 PRG:0723 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_StoreAndContinue_C725 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_StoreAndContinue_C725: + lda #$00 ; CPU:$C725 PRG:0725 A9 00 + sta LevelDataPtrLo ; CPU:$C727 PRG:0727 85 85 + lda LevelDataPtrHi ; CPU:$C729 PRG:0729 A5 86 + jsr $C81C ; CPU:$C72B PRG:072B 20 1C C8 + jsr $C84E ; CPU:$C72E PRG:072E 20 4E C8 + tax ; CPU:$C731 PRG:0731 AA + beq Sub_C725_OnZero_C79E ; CPU:$C732 PRG:0732 F0 6A + dex ; CPU:$C734 PRG:0734 CA + beq Sub_C725_OnZero_C785 ; CPU:$C735 PRG:0735 F0 4E + dex ; CPU:$C737 PRG:0737 CA + beq Sub_C725_OnZero_C767 ; CPU:$C738 PRG:0738 F0 2D + jsr $C860 ; CPU:$C73A PRG:073A 20 60 C8 + beq Sub_C725_OnZero_C74D ; CPU:$C73D PRG:073D F0 0E + ldy #$00 ; CPU:$C73F PRG:073F A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C741 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C741: + jsr $C844 ; CPU:$C741 PRG:0741 20 44 C8 + sta (PlayerState),y ; CPU:$C744 PRG:0744 91 26 + iny ; CPU:$C746 PRG:0746 C8 + cpy #$1C ; CPU:$C747 PRG:0747 C0 1C + bne Sub_C725_OnNonzero_C741 ; CPU:$C749 PRG:0749 D0 F6 + beq Sub_C725_OnZero_C7C1 ; CPU:$C74B PRG:074B F0 74 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C74D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C74D: + ldy #$00 ; CPU:$C74D PRG:074D A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C74F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C74F: + jsr $C82F ; CPU:$C74F PRG:074F 20 2F C8 + cpy #$04 ; CPU:$C752 PRG:0752 C0 04 + bne Sub_C725_OnNonzero_C74F ; CPU:$C754 PRG:0754 D0 F9 + ldy #$00 ; CPU:$C756 PRG:0756 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C758 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C758: + jsr $C84E ; CPU:$C758 PRG:0758 20 4E C8 + tax ; CPU:$C75B PRG:075B AA + lda ZpB3,x ; CPU:$C75C PRG:075C B5 B3 + sta (PlayerState),y ; CPU:$C75E PRG:075E 91 26 + iny ; CPU:$C760 PRG:0760 C8 + cpy #$1C ; CPU:$C761 PRG:0761 C0 1C + bne Sub_C725_OnNonzero_C758 ; CPU:$C763 PRG:0763 D0 F3 + beq Sub_C725_OnZero_C7C1 ; CPU:$C765 PRG:0765 F0 5A +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C767 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C767: + ldy #$00 ; CPU:$C767 PRG:0767 A0 00 + tya ; CPU:$C769 PRG:0769 98 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C76A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C76A: + sta (PlayerState),y ; CPU:$C76A PRG:076A 91 26 + iny ; CPU:$C76C PRG:076C C8 + cpy #$1C ; CPU:$C76D PRG:076D C0 1C + bne Sub_C725_OnNonzero_C76A ; CPU:$C76F PRG:076F D0 F9 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C771 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C771: + jsr $C860 ; CPU:$C771 PRG:0771 20 60 C8 + beq Sub_C725_OnZero_C7C1 ; CPU:$C774 PRG:0774 F0 4B + jsr $C844 ; CPU:$C776 PRG:0776 20 44 C8 + sta ZpB3 ; CPU:$C779 PRG:0779 85 B3 + jsr $C837 ; CPU:$C77B PRG:077B 20 37 C8 + tay ; CPU:$C77E PRG:077E A8 + lda ZpB3 ; CPU:$C77F PRG:077F A5 B3 + sta (PlayerState),y ; CPU:$C781 PRG:0781 91 26 + bne Sub_C725_OnNonzero_C771 ; CPU:$C783 PRG:0783 D0 EC +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C785 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C785: + ldy #$00 ; CPU:$C785 PRG:0785 A0 00 + jsr $C82F ; CPU:$C787 PRG:0787 20 2F C8 + jsr $C82F ; CPU:$C78A PRG:078A 20 2F C8 + ldy #$00 ; CPU:$C78D PRG:078D A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C78F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C78F: + jsr $C860 ; CPU:$C78F PRG:078F 20 60 C8 + tax ; CPU:$C792 PRG:0792 AA + lda ZpB3,x ; CPU:$C793 PRG:0793 B5 B3 + sta (PlayerState),y ; CPU:$C795 PRG:0795 91 26 + iny ; CPU:$C797 PRG:0797 C8 + cpy #$1C ; CPU:$C798 PRG:0798 C0 1C + bne Sub_C725_OnNonzero_C78F ; CPU:$C79A PRG:079A D0 F3 + beq Sub_C725_OnZero_C7C1 ; CPU:$C79C PRG:079C F0 23 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C79E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C79E: + ldy #$00 ; CPU:$C79E PRG:079E A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C7A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C7A0: + jsr $C860 ; CPU:$C7A0 PRG:07A0 20 60 C8 + beq Sub_C725_OnZero_C7B7 ; CPU:$C7A3 PRG:07A3 F0 12 + jsr $C837 ; CPU:$C7A5 PRG:07A5 20 37 C8 + sta ZpB3 ; CPU:$C7A8 PRG:07A8 85 B3 + jsr $C844 ; CPU:$C7AA PRG:07AA 20 44 C8 + ldx ZpB3 ; CPU:$C7AD PRG:07AD A6 B3 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C7AF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C7AF: + sta (PlayerState),y ; CPU:$C7AF PRG:07AF 91 26 + iny ; CPU:$C7B1 PRG:07B1 C8 + dex ; CPU:$C7B2 PRG:07B2 CA + bne Sub_C725_OnNonzero_C7AF ; CPU:$C7B3 PRG:07B3 D0 FA + beq Sub_C725_OnZero_C7A0 ; CPU:$C7B5 PRG:07B5 F0 E9 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C7B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C7B7: + jsr $C844 ; CPU:$C7B7 PRG:07B7 20 44 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C7BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C7BA: + sta (PlayerState),y ; CPU:$C7BA PRG:07BA 91 26 + iny ; CPU:$C7BC PRG:07BC C8 + cpy #$1C ; CPU:$C7BD PRG:07BD C0 1C + bne Sub_C725_OnNonzero_C7BA ; CPU:$C7BF PRG:07BF D0 F9 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C7C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C7C1: + inc LevelDataPtrHi ; CPU:$C7C1 PRG:07C1 E6 86 + lda LevelDataPtrHi ; CPU:$C7C3 PRG:07C3 A5 86 + cmp #$0E ; CPU:$C7C5 PRG:07C5 C9 0E + beq Sub_C725_OnZero_C7CC ; CPU:$C7C7 PRG:07C7 F0 03 + jmp $C725 ; CPU:$C7C9 PRG:07C9 4C 25 C7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnZero_C7CC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnZero_C7CC: + jsr $C844 ; CPU:$C7CC PRG:07CC 20 44 C8 + sta ZpB3 ; CPU:$C7CF PRG:07CF 85 B3 +; ----------------------------------------------------------------------------- +; Routine: Sub_C725_OnNonzero_C7D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C725_OnNonzero_C7D1: + jsr $C837 ; CPU:$C7D1 PRG:07D1 20 37 C8 + sta LevelDataPtrLo ; CPU:$C7D4 PRG:07D4 85 85 + jsr $C837 ; CPU:$C7D6 PRG:07D6 20 37 C8 + jsr $C81C ; CPU:$C7D9 PRG:07D9 20 1C C8 + ldy LevelDataPtrLo ; CPU:$C7DC PRG:07DC A4 85 + lda #$08 ; CPU:$C7DE PRG:07DE A9 08 + sta (PlayerState),y ; CPU:$C7E0 PRG:07E0 91 26 + dec ZpB3 ; CPU:$C7E2 PRG:07E2 C6 B3 + bne Sub_C725_OnNonzero_C7D1 ; CPU:$C7E4 PRG:07E4 D0 EB + jsr $C837 ; CPU:$C7E6 PRG:07E6 20 37 C8 + sta LevelDataPtrLo ; CPU:$C7E9 PRG:07E9 85 85 + jsr $C837 ; CPU:$C7EB PRG:07EB 20 37 C8 + jsr $C81C ; CPU:$C7EE PRG:07EE 20 1C C8 + ldy LevelDataPtrLo ; CPU:$C7F1 PRG:07F1 A4 85 + lda #$09 ; CPU:$C7F3 PRG:07F3 A9 09 + sta (PlayerState),y ; CPU:$C7F5 PRG:07F5 91 26 + dec ZpC1 ; CPU:$C7F7 PRG:07F7 C6 C1 + beq Sub_C7FE_OnZero_C7FE ; CPU:$C7F9 PRG:07F9 F0 03 + jmp $C721 ; CPU:$C7FB PRG:07FB 4C 21 C7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C7FE_OnZero_C7FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C7FE_OnZero_C7FE: + lda #$00 ; CPU:$C7FE PRG:07FE A9 00 + sta LevelDataPtrHi ; CPU:$C800 PRG:0800 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C7FE_OnNonzero_C802 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C7FE_OnNonzero_C802: + lda LevelDataPtrHi ; CPU:$C802 PRG:0802 A5 86 + jsr $C81C ; CPU:$C804 PRG:0804 20 1C C8 + ldy #$00 ; CPU:$C807 PRG:0807 A0 00 + ldx #$1C ; CPU:$C809 PRG:0809 A2 1C +; ----------------------------------------------------------------------------- +; Routine: Sub_C7FE_OnNonzero_C80B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C7FE_OnNonzero_C80B: + lda (PlayerState),y ; CPU:$C80B PRG:080B B1 26 + sta (PlayerVelocity),y ; CPU:$C80D PRG:080D 91 28 + iny ; CPU:$C80F PRG:080F C8 + dex ; CPU:$C810 PRG:0810 CA + bne Sub_C7FE_OnNonzero_C80B ; CPU:$C811 PRG:0811 D0 F8 + inc LevelDataPtrHi ; CPU:$C813 PRG:0813 E6 86 + lda LevelDataPtrHi ; CPU:$C815 PRG:0815 A5 86 + cmp #$0E ; CPU:$C817 PRG:0817 C9 0E + bne Sub_C7FE_OnNonzero_C802 ; CPU:$C819 PRG:0819 D0 E7 + rts ; CPU:$C81B PRG:081B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C81C_Return_C81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C81C_Return_C81C: + tay ; CPU:$C81C PRG:081C A8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C81D_TransferIndexAndContinue_C81D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C81D_TransferIndexAndContinue_C81D: + lda $C688,y ; CPU:$C81D PRG:081D B9 88 C6 + sta PlayerState ; CPU:$C820 PRG:0820 85 26 + sta PlayerVelocity ; CPU:$C822 PRG:0822 85 28 + lda $C696,y ; CPU:$C824 PRG:0824 B9 96 C6 + sta Zp27 ; CPU:$C827 PRG:0827 85 27 + lda $C6A4,y ; CPU:$C829 PRG:0829 B9 A4 C6 + sta Zp29 ; CPU:$C82C PRG:082C 85 29 + rts ; CPU:$C82E PRG:082E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C82F_Return_C82F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C82F_Return_C82F: + jsr $C844 ; CPU:$C82F PRG:082F 20 44 C8 + sta a:ZpB3,y ; CPU:$C832 PRG:0832 99 B3 00 + iny ; CPU:$C835 PRG:0835 C8 + rts ; CPU:$C836 PRG:0836 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C837_Return_C837 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C837_Return_C837: + lda #$00 ; CPU:$C837 PRG:0837 A9 00 + sta ZpAF ; CPU:$C839 PRG:0839 85 AF + jsr $C855 ; CPU:$C83B PRG:083B 20 55 C8 + jsr $C855 ; CPU:$C83E PRG:083E 20 55 C8 + jmp $C848 ; CPU:$C841 PRG:0841 4C 48 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C844_JumpNext_C844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C844_JumpNext_C844: + lda #$00 ; CPU:$C844 PRG:0844 A9 00 + sta ZpAF ; CPU:$C846 PRG:0846 85 AF +; ----------------------------------------------------------------------------- +; Routine: Sub_C848_StoreAndContinue_C848 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C848_StoreAndContinue_C848: + jsr $C855 ; CPU:$C848 PRG:0848 20 55 C8 + jmp $C852 ; CPU:$C84B PRG:084B 4C 52 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C84E_JumpNext_C84E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C84E_JumpNext_C84E: + lda #$00 ; CPU:$C84E PRG:084E A9 00 + sta ZpAF ; CPU:$C850 PRG:0850 85 AF +; ----------------------------------------------------------------------------- +; Routine: Sub_C852_StoreAndContinue_C852 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C852_StoreAndContinue_C852: + jsr $C855 ; CPU:$C852 PRG:0852 20 55 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C855_CallNext_C855 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C855_CallNext_C855: + asl ZpAF ; CPU:$C855 PRG:0855 06 AF + jsr $C860 ; CPU:$C857 PRG:0857 20 60 C8 + clc ; CPU:$C85A PRG:085A 18 + adc ZpAF ; CPU:$C85B PRG:085B 65 AF + sta ZpAF ; CPU:$C85D PRG:085D 85 AF + rts ; CPU:$C85F PRG:085F 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C860_Return_C860 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C860_Return_C860: + ldx Zp95 ; CPU:$C860 PRG:0860 A6 95 + sty ZpB2 ; CPU:$C862 PRG:0862 84 B2 + ldy #$00 ; CPU:$C864 PRG:0864 A0 00 + lda (ZpB0),y ; CPU:$C866 PRG:0866 B1 B0 + and $C887,x ; CPU:$C868 PRG:0868 3D 87 C8 + beq Sub_C860_OnZero_C86F ; CPU:$C86B PRG:086B F0 02 + lda #$01 ; CPU:$C86D PRG:086D A9 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_C860_OnZero_C86F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C860_OnZero_C86F: + pha ; CPU:$C86F PRG:086F 48 + inx ; CPU:$C870 PRG:0870 E8 + stx Zp95 ; CPU:$C871 PRG:0871 86 95 + cpx #$08 ; CPU:$C873 PRG:0873 E0 08 + beq Sub_C860_OnZero_C87B ; CPU:$C875 PRG:0875 F0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_C860_OnNonzero_C877 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C860_OnNonzero_C877: + ldy ZpB2 ; CPU:$C877 PRG:0877 A4 B2 + pla ; CPU:$C879 PRG:0879 68 + rts ; CPU:$C87A PRG:087A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C860_OnZero_C87B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C860_OnZero_C87B: + lda #$00 ; CPU:$C87B PRG:087B A9 00 + sta Zp95 ; CPU:$C87D PRG:087D 85 95 + inc ZpB0 ; CPU:$C87F PRG:087F E6 B0 + bne Sub_C860_OnNonzero_C877 ; CPU:$C881 PRG:0881 D0 F4 + inc ZpB1 ; CPU:$C883 PRG:0883 E6 B1 + bne Sub_C860_OnNonzero_C877 ; CPU:$C885 PRG:0885 D0 F0 +; ---- data $C887-$C88E (8 bytes) ---- +; referenced by `and $C887,x` at $C868 (operand $C887 falls inside this region) + .byte $80, $40, $20, $10, $08, $04, $02, $01 ; CPU:$C887 PRG:0887 80 40 20 10 08 04 02 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_C88F_Entry_C88F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C88F_Entry_C88F: + jsr $C298 ; CPU:$C88F PRG:088F 20 98 C2 + ldx #$0C ; CPU:$C892 PRG:0892 A2 0C + stx PlayerPosX ; CPU:$C894 PRG:0894 86 20 + ldx #$07 ; CPU:$C896 PRG:0896 A2 07 + stx PlayerPosY ; CPU:$C898 PRG:0898 86 21 + ldx #$00 ; CPU:$C89A PRG:089A A2 00 + stx ZpC4 ; CPU:$C89C PRG:089C 86 C4 + stx ZpC5 ; CPU:$C89E PRG:089E 86 C5 + stx ZpC6 ; CPU:$C8A0 PRG:08A0 86 C6 + stx ZpA3 ; CPU:$C8A2 PRG:08A2 86 A3 + stx Zp93 ; CPU:$C8A4 PRG:08A4 86 93 + stx Zp8D ; CPU:$C8A6 PRG:08A6 86 8D + stx LevelTimer ; CPU:$C8A8 PRG:08A8 86 39 + stx Zp9C ; CPU:$C8AA PRG:08AA 86 9C + stx ZpA0 ; CPU:$C8AC PRG:08AC 86 A0 + stx Zp92 ; CPU:$C8AE PRG:08AE 86 92 + stx Zp3A ; CPU:$C8B0 PRG:08B0 86 3A + stx LevelDataPtrHi ; CPU:$C8B2 PRG:08B2 86 86 + txa ; CPU:$C8B4 PRG:08B4 8A + ldx #$1E ; CPU:$C8B5 PRG:08B5 A2 1E +; ----------------------------------------------------------------------------- +; Routine: Sub_C88F_OnNonnegative_C8B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C88F_OnNonnegative_C8B7: + sta $06E0,x ; CPU:$C8B7 PRG:08B7 9D E0 06 + dex ; CPU:$C8BA PRG:08BA CA + bpl Sub_C88F_OnNonnegative_C8B7 ; CPU:$C8BB PRG:08BB 10 FA + ldx #$03 ; CPU:$C8BD PRG:08BD A2 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_C88F_OnNonnegative_C8BF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C88F_OnNonnegative_C8BF: + sta $0698,x ; CPU:$C8BF PRG:08BF 9D 98 06 + dex ; CPU:$C8C2 PRG:08C2 CA + bpl Sub_C88F_OnNonnegative_C8BF ; CPU:$C8C3 PRG:08C3 10 FA + lda #$01 ; CPU:$C8C5 PRG:08C5 A9 01 + sta Zp9A ; CPU:$C8C7 PRG:08C7 85 9A + ldy #$0D ; CPU:$C8C9 PRG:08C9 A0 0D + sty LevelDataPtrHi ; CPU:$C8CB PRG:08CB 84 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_StoreIndexAndContinue_C8CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_StoreIndexAndContinue_C8CD: + jsr $C81D ; CPU:$C8CD PRG:08CD 20 1D C8 + ldy #$1B ; CPU:$C8D0 PRG:08D0 A0 1B + sty LevelDataPtrLo ; CPU:$C8D2 PRG:08D2 84 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_OnNonnegative_C8D4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_OnNonnegative_C8D4: + lda (PlayerState),y ; CPU:$C8D4 PRG:08D4 B1 26 + cmp #$06 ; CPU:$C8D6 PRG:08D6 C9 06 + bne Sub_C8CD_OnNonzero_C8F2 ; CPU:$C8D8 PRG:08D8 D0 18 + ldx ZpA3 ; CPU:$C8DA PRG:08DA A6 A3 + cpx #$2D ; CPU:$C8DC PRG:08DC E0 2D + bcs Sub_C8CD_OnCarrySet_C8EC ; CPU:$C8DE PRG:08DE B0 0C + inc ZpA3 ; CPU:$C8E0 PRG:08E0 E6 A3 + inx ; CPU:$C8E2 PRG:08E2 E8 + lda LevelDataPtrHi ; CPU:$C8E3 PRG:08E3 A5 86 + sta $0630,x ; CPU:$C8E5 PRG:08E5 9D 30 06 + tya ; CPU:$C8E8 PRG:08E8 98 + sta $0600,x ; CPU:$C8E9 PRG:08E9 9D 00 06 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_OnCarrySet_C8EC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_OnCarrySet_C8EC: + lda #$00 ; CPU:$C8EC PRG:08EC A9 00 + sta (PlayerState),y ; CPU:$C8EE PRG:08EE 91 26 + sta (PlayerVelocity),y ; CPU:$C8F0 PRG:08F0 91 28 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_OnNonzero_C8F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_OnNonzero_C8F2: + cmp #$07 ; CPU:$C8F2 PRG:08F2 C9 07 + bne Sub_C8CD_OnNonzero_C8F8 ; CPU:$C8F4 PRG:08F4 D0 02 + inc Zp93 ; CPU:$C8F6 PRG:08F6 E6 93 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_OnNonzero_C8F8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_OnNonzero_C8F8: + cmp #$08 ; CPU:$C8F8 PRG:08F8 C9 08 + bne Sub_C8CD_OnNonzero_C923 ; CPU:$C8FA PRG:08FA D0 27 + ldx Zp8D ; CPU:$C8FC PRG:08FC A6 8D + cpx #$03 ; CPU:$C8FE PRG:08FE E0 03 + bcs Sub_C8CD_OnCarrySet_C8EC ; CPU:$C900 PRG:0900 B0 EA + inc Zp8D ; CPU:$C902 PRG:0902 E6 8D + inx ; CPU:$C904 PRG:0904 E8 + tya ; CPU:$C905 PRG:0905 98 + sta $0660,x ; CPU:$C906 PRG:0906 9D 60 06 + lda LevelDataPtrHi ; CPU:$C909 PRG:0909 A5 86 + sta $0668,x ; CPU:$C90B PRG:090B 9D 68 06 + lda #$00 ; CPU:$C90E PRG:090E A9 00 + sta $0670,x ; CPU:$C910 PRG:0910 9D 70 06 + lda #$1C ; CPU:$C913 PRG:0913 A9 1C + sta $0688,x ; CPU:$C915 PRG:0915 9D 88 06 + lda #$03 ; CPU:$C918 PRG:0918 A9 03 + sta $0678,x ; CPU:$C91A PRG:091A 9D 78 06 + sta $0680,x ; CPU:$C91D PRG:091D 9D 80 06 + jmp $C937 ; CPU:$C920 PRG:0920 4C 37 C9 +; ----------------------------------------------------------------------------- +; Routine: Sub_C8CD_OnNonzero_C923 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C8CD_OnNonzero_C923: + cmp #$09 ; CPU:$C923 PRG:0923 C9 09 + bne Sub_C937_OnNonzero_C93B ; CPU:$C925 PRG:0925 D0 14 + sty PlayerPosX ; CPU:$C927 PRG:0927 84 20 + ldx LevelDataPtrHi ; CPU:$C929 PRG:0929 A6 86 + stx PlayerPosY ; CPU:$C92B PRG:092B 86 21 + ldx #$03 ; CPU:$C92D PRG:092D A2 03 + stx Zp22 ; CPU:$C92F PRG:092F 86 22 + stx Zp23 ; CPU:$C931 PRG:0931 86 23 + ldx #$00 ; CPU:$C933 PRG:0933 A2 00 + stx Zp24 ; CPU:$C935 PRG:0935 86 24 +; ----------------------------------------------------------------------------- +; Routine: Sub_C937_StoreIndexAndContinue_C937 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C937_StoreIndexAndContinue_C937: + lda #$00 ; CPU:$C937 PRG:0937 A9 00 + sta (PlayerVelocity),y ; CPU:$C939 PRG:0939 91 28 +; ----------------------------------------------------------------------------- +; Routine: Sub_C937_OnNonzero_C93B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C937_OnNonzero_C93B: + dec LevelDataPtrLo ; CPU:$C93B PRG:093B C6 85 + ldy LevelDataPtrLo ; CPU:$C93D PRG:093D A4 85 + bpl Sub_C8CD_OnNonnegative_C8D4 ; CPU:$C93F PRG:093F 10 93 + dec LevelDataPtrHi ; CPU:$C941 PRG:0941 C6 86 + ldy LevelDataPtrHi ; CPU:$C943 PRG:0943 A4 86 + bmi Sub_C937_OnNegative_C94A ; CPU:$C945 PRG:0945 30 03 + jmp $C8CD ; CPU:$C947 PRG:0947 4C CD C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_C937_OnNegative_C94A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C937_OnNegative_C94A: + rts ; CPU:$C94A PRG:094A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C94B_Return_C94B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C94B_Return_C94B: + lda #$1C ; CPU:$C94B PRG:094B A9 1C + sta LevelDataPtrLo ; CPU:$C94D PRG:094D 85 85 + lda #$0E ; CPU:$C94F PRG:094F A9 0E + sta LevelDataPtrHi ; CPU:$C951 PRG:0951 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C94B_OnNonnegative_C953 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C94B_OnNonnegative_C953: + lda #$02 ; CPU:$C953 PRG:0953 A9 02 + jsr $CA1C ; CPU:$C955 PRG:0955 20 1C CA + dec LevelDataPtrLo ; CPU:$C958 PRG:0958 C6 85 + bpl Sub_C94B_OnNonnegative_C953 ; CPU:$C95A PRG:095A 10 F7 + lda #$0E ; CPU:$C95C PRG:095C A9 0E + sta LevelDataPtrHi ; CPU:$C95E PRG:095E 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C94B_OnNonnegative_C960 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C94B_OnNonnegative_C960: + lda #$02 ; CPU:$C960 PRG:0960 A9 02 + jsr $CA1C ; CPU:$C962 PRG:0962 20 1C CA + dec LevelDataPtrHi ; CPU:$C965 PRG:0965 C6 86 + bpl Sub_C94B_OnNonnegative_C960 ; CPU:$C967 PRG:0967 10 F7 + lda #$1C ; CPU:$C969 PRG:0969 A9 1C + sta LevelDataPtrLo ; CPU:$C96B PRG:096B 85 85 + lda #$0D ; CPU:$C96D PRG:096D A9 0D + sta LevelDataPtrHi ; CPU:$C96F PRG:096F 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C94B_OnNonnegative_C971 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C94B_OnNonnegative_C971: + lda #$02 ; CPU:$C971 PRG:0971 A9 02 + jsr $CA1C ; CPU:$C973 PRG:0973 20 1C CA + dec LevelDataPtrHi ; CPU:$C976 PRG:0976 C6 86 + bpl Sub_C94B_OnNonnegative_C971 ; CPU:$C978 PRG:0978 10 F7 + rts ; CPU:$C97A PRG:097A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_Return_C97B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_Return_C97B: + jsr $C2BC ; CPU:$C97B PRG:097B 20 BC C2 + jsr $C287 ; CPU:$C97E PRG:097E 20 87 C2 + jsr $C94B ; CPU:$C981 PRG:0981 20 4B C9 + lda #$6C ; CPU:$C984 PRG:0984 A9 6C + sta Zp2A ; CPU:$C986 PRG:0986 85 2A + lda #$05 ; CPU:$C988 PRG:0988 A9 05 + sta Zp2B ; CPU:$C98A PRG:098A 85 2B + lda #$0D ; CPU:$C98C PRG:098C A9 0D + sta LevelDataPtrHi ; CPU:$C98E PRG:098E 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonnegative_C990 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonnegative_C990: + lda #$1B ; CPU:$C990 PRG:0990 A9 1B + sta LevelDataPtrLo ; CPU:$C992 PRG:0992 85 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonnegative_C994 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonnegative_C994: + ldy LevelDataPtrLo ; CPU:$C994 PRG:0994 A4 85 + lda (Zp2A),y ; CPU:$C996 PRG:0996 B1 2A + cmp #$05 ; CPU:$C998 PRG:0998 C9 05 + bne Sub_C97B_OnNonzero_C99E ; CPU:$C99A PRG:099A D0 02 + lda #$01 ; CPU:$C99C PRG:099C A9 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonzero_C99E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonzero_C99E: + jsr $CA1C ; CPU:$C99E PRG:099E 20 1C CA + dec LevelDataPtrLo ; CPU:$C9A1 PRG:09A1 C6 85 + bpl Sub_C97B_OnNonnegative_C994 ; CPU:$C9A3 PRG:09A3 10 EF + lda Zp2A ; CPU:$C9A5 PRG:09A5 A5 2A + sec ; CPU:$C9A7 PRG:09A7 38 + sbc #$1C ; CPU:$C9A8 PRG:09A8 E9 1C + sta Zp2A ; CPU:$C9AA PRG:09AA 85 2A + lda Zp2B ; CPU:$C9AC PRG:09AC A5 2B + sbc #$00 ; CPU:$C9AE PRG:09AE E9 00 + sta Zp2B ; CPU:$C9B0 PRG:09B0 85 2B + dec LevelDataPtrHi ; CPU:$C9B2 PRG:09B2 C6 86 + bpl Sub_C97B_OnNonnegative_C990 ; CPU:$C9B4 PRG:09B4 10 DA + lda #$00 ; CPU:$C9B6 PRG:09B6 A9 00 + sta Zp04 ; CPU:$C9B8 PRG:09B8 85 04 + sta Zp05 ; CPU:$C9BA PRG:09BA 85 05 + sta PPUSCROLL ; CPU:$C9BC PRG:09BC 8D 05 20 + sta PPUSCROLL ; CPU:$C9BF PRG:09BF 8D 05 20 + jsr $C298 ; CPU:$C9C2 PRG:09C2 20 98 C2 + jsr $C2B3 ; CPU:$C9C5 PRG:09C5 20 B3 C2 + jsr $E21E ; CPU:$C9C8 PRG:09C8 20 1E E2 + jsr $C274 ; CPU:$C9CB PRG:09CB 20 74 C2 + lda ZpA7 ; CPU:$C9CE PRG:09CE A5 A7 + cmp #$02 ; CPU:$C9D0 PRG:09D0 C9 02 + beq Sub_CA16_JoinBranchPaths_CA16 ; CPU:$C9D2 PRG:09D2 F0 42 + jsr $CA2F ; CPU:$C9D4 PRG:09D4 20 2F CA + jsr $CA16 ; CPU:$C9D7 PRG:09D7 20 16 CA +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonzero_C9DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonzero_C9DA: + lda GameplayFlags ; CPU:$C9DA PRG:09DA A5 06 + and #$20 ; CPU:$C9DC PRG:09DC 29 20 + bne Sub_C97B_OnNonzero_CA15 ; CPU:$C9DE PRG:09DE D0 35 + jsr $CA2F ; CPU:$C9E0 PRG:09E0 20 2F CA + jsr $CA26 ; CPU:$C9E3 PRG:09E3 20 26 CA + inc Zp04 ; CPU:$C9E6 PRG:09E6 E6 04 + lda Zp04 ; CPU:$C9E8 PRG:09E8 A5 04 + cmp #$D8 ; CPU:$C9EA PRG:09EA C9 D8 + bne Sub_C97B_OnNonzero_C9DA ; CPU:$C9EC PRG:09EC D0 EC + lda PlayerPosX ; CPU:$C9EE PRG:09EE A5 20 + cmp #$16 ; CPU:$C9F0 PRG:09F0 C9 16 + bcs Sub_CA16_JoinBranchPaths_CA16 ; CPU:$C9F2 PRG:09F2 B0 22 + sec ; CPU:$C9F4 PRG:09F4 38 + sbc #$0A ; CPU:$C9F5 PRG:09F5 E9 0A + bcs Sub_C97B_OnCarrySet_C9FB ; CPU:$C9F7 PRG:09F7 B0 02 + lda #$00 ; CPU:$C9F9 PRG:09F9 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnCarrySet_C9FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnCarrySet_C9FB: + asl a ; CPU:$C9FB PRG:09FB 0A + asl a ; CPU:$C9FC PRG:09FC 0A + asl a ; CPU:$C9FD PRG:09FD 0A + asl a ; CPU:$C9FE PRG:09FE 0A + sta ZpD7 ; CPU:$C9FF PRG:09FF 85 D7 +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonzero_CA01 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonzero_CA01: + lda GameplayFlags ; CPU:$CA01 PRG:0A01 A5 06 + and #$20 ; CPU:$CA03 PRG:0A03 29 20 + bne Sub_C97B_OnNonzero_CA15 ; CPU:$CA05 PRG:0A05 D0 0E + jsr $CA2F ; CPU:$CA07 PRG:0A07 20 2F CA + jsr $CA26 ; CPU:$CA0A PRG:0A0A 20 26 CA + dec Zp04 ; CPU:$CA0D PRG:0A0D C6 04 + lda Zp04 ; CPU:$CA0F PRG:0A0F A5 04 + cmp ZpD7 ; CPU:$CA11 PRG:0A11 C5 D7 + bne Sub_C97B_OnNonzero_CA01 ; CPU:$CA13 PRG:0A13 D0 EC +; ----------------------------------------------------------------------------- +; Routine: Sub_C97B_OnNonzero_CA15 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_C97B_OnNonzero_CA15: + rts ; CPU:$CA15 PRG:0A15 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA16_JoinBranchPaths_CA16 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA16_JoinBranchPaths_CA16: + jsr $C2A8 ; CPU:$CA16 PRG:0A16 20 A8 C2 + jmp $C292 ; CPU:$CA19 PRG:0A19 4C 92 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA1C_JumpNext_CA1C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA1C_JumpNext_CA1C: + jsr $CA7C ; CPU:$CA1C PRG:0A1C 20 7C CA + jmp $C18E ; CPU:$CA1F PRG:0A1F 4C 8E C1 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA22_JumpNext_CA22 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA22_JumpNext_CA22: + ldy #$00 ; CPU:$CA22 PRG:0A22 A0 00 + beq Sub_CA26_JoinBranchPaths_CA28 ; CPU:$CA24 PRG:0A24 F0 02 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA26_Continue_CA26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA26_Continue_CA26: + ldy #$0F ; CPU:$CA26 PRG:0A26 A0 0F +; ----------------------------------------------------------------------------- +; Routine: Sub_CA26_JoinBranchPaths_CA28 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA26_JoinBranchPaths_CA28: + dex ; CPU:$CA28 PRG:0A28 CA + bne Sub_CA26_JoinBranchPaths_CA28 ; CPU:$CA29 PRG:0A29 D0 FD + dey ; CPU:$CA2B PRG:0A2B 88 + bne Sub_CA26_JoinBranchPaths_CA28 ; CPU:$CA2C PRG:0A2C D0 FA +; ----------------------------------------------------------------------------- +; Routine: Sub_CA26_OnZero_CA2E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA26_OnZero_CA2E: + rts ; CPU:$CA2E PRG:0A2E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA2F_Return_CA2F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA2F_Return_CA2F: + ldx Zp8D ; CPU:$CA2F PRG:0A2F A6 8D + beq Sub_CA26_OnZero_CA2E ; CPU:$CA31 PRG:0A31 F0 FB + stx LevelTimer ; CPU:$CA33 PRG:0A33 86 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA2F_OnNonzero_CA35 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA2F_OnNonzero_CA35: + jsr $DBDE ; CPU:$CA35 PRG:0A35 20 DE DB + jsr $DC93 ; CPU:$CA38 PRG:0A38 20 93 DC + dec LevelTimer ; CPU:$CA3B PRG:0A3B C6 39 + bne Sub_CA2F_OnNonzero_CA35 ; CPU:$CA3D PRG:0A3D D0 F6 + lda #$00 ; CPU:$CA3F PRG:0A3F A9 00 + sta EnemyPosX2 ; CPU:$CA41 PRG:0A41 85 34 + lda PlayerPosX ; CPU:$CA43 PRG:0A43 A5 20 + sta EnemyPosX1 ; CPU:$CA45 PRG:0A45 85 32 + lda PlayerPosY ; CPU:$CA47 PRG:0A47 A5 21 + sta EnemyPosY1 ; CPU:$CA49 PRG:0A49 85 33 + lda #$FF ; CPU:$CA4B PRG:0A4B A9 FF + sta LevelTimer ; CPU:$CA4D PRG:0A4D 85 39 + jsr $DC86 ; CPU:$CA4F PRG:0A4F 20 86 DC + lda #$00 ; CPU:$CA52 PRG:0A52 A9 00 + sta LevelTimer ; CPU:$CA54 PRG:0A54 85 39 + rts ; CPU:$CA56 PRG:0A56 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA57_Return_CA57 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA57_Return_CA57: + lda LevelTimer ; CPU:$CA57 PRG:0A57 A5 39 + pha ; CPU:$CA59 PRG:0A59 48 + lda Zp75 ; CPU:$CA5A PRG:0A5A A5 75 + clc ; CPU:$CA5C PRG:0A5C 18 + adc #$30 ; CPU:$CA5D PRG:0A5D 69 30 + sta EnemyPosX2 ; CPU:$CA5F PRG:0A5F 85 34 + lda #$03 ; CPU:$CA61 PRG:0A61 A9 03 + sta Zp37 ; CPU:$CA63 PRG:0A63 85 37 + sta Zp38 ; CPU:$CA65 PRG:0A65 85 38 + lda Zp73 ; CPU:$CA67 PRG:0A67 A5 73 + sta EnemyPosX1 ; CPU:$CA69 PRG:0A69 85 32 + lda Zp74 ; CPU:$CA6B PRG:0A6B A5 74 + sta EnemyPosY1 ; CPU:$CA6D PRG:0A6D 85 33 + lda #$00 ; CPU:$CA6F PRG:0A6F A9 00 + sta LevelTimer ; CPU:$CA71 PRG:0A71 85 39 + sta EnemyPosY2 ; CPU:$CA73 PRG:0A73 85 35 + jsr $DC79 ; CPU:$CA75 PRG:0A75 20 79 DC + pla ; CPU:$CA78 PRG:0A78 68 + sta LevelTimer ; CPU:$CA79 PRG:0A79 85 39 + rts ; CPU:$CA7B PRG:0A7B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA7C_Return_CA7C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA7C_Return_CA7C: + tax ; CPU:$CA7C PRG:0A7C AA + pha ; CPU:$CA7D PRG:0A7D 48 + lda $CB09,x ; CPU:$CA7E PRG:0A7E BD 09 CB + sta Zp0F ; CPU:$CA81 PRG:0A81 85 0F + lda #$00 ; CPU:$CA83 PRG:0A83 A9 00 + sta Zp08 ; CPU:$CA85 PRG:0A85 85 08 + lda LevelDataPtrLo ; CPU:$CA87 PRG:0A87 A5 85 + cmp #$FF ; CPU:$CA89 PRG:0A89 C9 FF + beq Sub_CA7C_JoinBranchPaths_CA9C ; CPU:$CA8B PRG:0A8B F0 0F + cmp #$0F ; CPU:$CA8D PRG:0A8D C9 0F + bcc Sub_CA7C_JoinBranchPaths_CA9C ; CPU:$CA8F PRG:0A8F 90 0B + pha ; CPU:$CA91 PRG:0A91 48 + lda #$04 ; CPU:$CA92 PRG:0A92 A9 04 + sta Zp08 ; CPU:$CA94 PRG:0A94 85 08 + pla ; CPU:$CA96 PRG:0A96 68 + sbc #$0F ; CPU:$CA97 PRG:0A97 E9 0F + jmp $CA9F ; CPU:$CA99 PRG:0A99 4C 9F CA +; ----------------------------------------------------------------------------- +; Routine: Sub_CA7C_JoinBranchPaths_CA9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA7C_JoinBranchPaths_CA9C: + clc ; CPU:$CA9C PRG:0A9C 18 + adc #$01 ; CPU:$CA9D PRG:0A9D 69 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA9F_OnAdd_CA9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA9F_OnAdd_CA9F: + asl a ; CPU:$CA9F PRG:0A9F 0A + sta ObjPtrLo ; CPU:$CAA0 PRG:0AA0 85 12 + lda LevelDataPtrHi ; CPU:$CAA2 PRG:0AA2 A5 86 + asl a ; CPU:$CAA4 PRG:0AA4 0A + sta ObjPtrHi ; CPU:$CAA5 PRG:0AA5 85 13 + jsr $CAD2 ; CPU:$CAA7 PRG:0AA7 20 D2 CA + lda #$01 ; CPU:$CAAA PRG:0AAA A9 01 + sta Zp0A ; CPU:$CAAC PRG:0AAC 85 0A + lda ObjPtrHi ; CPU:$CAAE PRG:0AAE A5 13 + ldx #$05 ; CPU:$CAB0 PRG:0AB0 A2 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA9F_OnNonzero_CAB2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA9F_OnNonzero_CAB2: + asl a ; CPU:$CAB2 PRG:0AB2 0A + rol Zp0A ; CPU:$CAB3 PRG:0AB3 26 0A + dex ; CPU:$CAB5 PRG:0AB5 CA + bne Sub_CA9F_OnNonzero_CAB2 ; CPU:$CAB6 PRG:0AB6 D0 FA + clc ; CPU:$CAB8 PRG:0AB8 18 + adc ObjPtrLo ; CPU:$CAB9 PRG:0AB9 65 12 + sta Zp09 ; CPU:$CABB PRG:0ABB 85 09 + bcc Sub_CA9F_OnCarryClear_CAC1 ; CPU:$CABD PRG:0ABD 90 02 + inc Zp0A ; CPU:$CABF PRG:0ABF E6 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_CA9F_OnCarryClear_CAC1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA9F_OnCarryClear_CAC1: + pla ; CPU:$CAC1 PRG:0AC1 68 + cmp #$18 ; CPU:$CAC2 PRG:0AC2 C9 18 + bne Sub_CA9F_OnNonzero_CACA ; CPU:$CAC4 PRG:0AC4 D0 04 + lda #$5C ; CPU:$CAC6 PRG:0AC6 A9 5C + bne Sub_CA9F_OnNonzero_CACF ; CPU:$CAC8 PRG:0AC8 D0 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA9F_OnNonzero_CACA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA9F_OnNonzero_CACA: + asl a ; CPU:$CACA PRG:0ACA 0A + asl a ; CPU:$CACB PRG:0ACB 0A + clc ; CPU:$CACC PRG:0ACC 18 + adc #$60 ; CPU:$CACD PRG:0ACD 69 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CA9F_OnNonzero_CACF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CA9F_OnNonzero_CACF: + sta Zp0B ; CPU:$CACF PRG:0ACF 85 0B + rts ; CPU:$CAD1 PRG:0AD1 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CAD2_Return_CAD2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CAD2_Return_CAD2: + lda ObjPtrHi ; CPU:$CAD2 PRG:0AD2 A5 13 + and #$FC ; CPU:$CAD4 PRG:0AD4 29 FC + asl a ; CPU:$CAD6 PRG:0AD6 0A + sta Zp0C ; CPU:$CAD7 PRG:0AD7 85 0C + lda ObjPtrLo ; CPU:$CAD9 PRG:0AD9 A5 12 + lsr a ; CPU:$CADB PRG:0ADB 4A + lsr a ; CPU:$CADC PRG:0ADC 4A + clc ; CPU:$CADD PRG:0ADD 18 + adc Zp0C ; CPU:$CADE PRG:0ADE 65 0C + adc #$C0 ; CPU:$CAE0 PRG:0AE0 69 C0 + sta Zp0C ; CPU:$CAE2 PRG:0AE2 85 0C + lda #$23 ; CPU:$CAE4 PRG:0AE4 A9 23 + sta Zp0D ; CPU:$CAE6 PRG:0AE6 85 0D + lda #$02 ; CPU:$CAE8 PRG:0AE8 A9 02 + and ObjPtrHi ; CPU:$CAEA PRG:0AEA 25 13 + sta Zp16 ; CPU:$CAEC PRG:0AEC 85 16 + lda ObjPtrLo ; CPU:$CAEE PRG:0AEE A5 12 + and #$03 ; CPU:$CAF0 PRG:0AF0 29 03 + lsr a ; CPU:$CAF2 PRG:0AF2 4A + clc ; CPU:$CAF3 PRG:0AF3 18 + adc Zp16 ; CPU:$CAF4 PRG:0AF4 65 16 + asl a ; CPU:$CAF6 PRG:0AF6 0A + pha ; CPU:$CAF7 PRG:0AF7 48 + lda #$FC ; CPU:$CAF8 PRG:0AF8 A9 FC + sta Zp0E ; CPU:$CAFA PRG:0AFA 85 0E + pla ; CPU:$CAFC PRG:0AFC 68 + tax ; CPU:$CAFD PRG:0AFD AA + beq Sub_CAD2_OnZero_CB08 ; CPU:$CAFE PRG:0AFE F0 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_CAD2_OnNonzero_CB00 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CAD2_OnNonzero_CB00: + asl Zp0F ; CPU:$CB00 PRG:0B00 06 0F + sec ; CPU:$CB02 PRG:0B02 38 + rol Zp0E ; CPU:$CB03 PRG:0B03 26 0E + dex ; CPU:$CB05 PRG:0B05 CA + bne Sub_CAD2_OnNonzero_CB00 ; CPU:$CB06 PRG:0B06 D0 F8 +; ----------------------------------------------------------------------------- +; Routine: Sub_CAD2_OnZero_CB08 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CAD2_OnZero_CB08: + rts ; CPU:$CB08 PRG:0B08 60 +; ---- data $CB09-$CB21 (25 bytes) ---- +; referenced by `lda $CB09,x` at $CA7E (operand $CB09 falls inside this region) + .byte $01, $01, $01, $02, $02, $01, $02, $03, $00, $00, $01, $01, $01, $01, $01, $02 ; CPU:$CB09 PRG:0B09 01 01 01 02 02 01 02 03 00 00 01 01 01 01 01 02 + .byte $02, $02, $02, $02, $01, $01, $01, $01, $00 ; CPU:$CB19 PRG:0B19 02 02 02 02 01 01 01 01 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB22_Entry_CB22 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB22_Entry_CB22: + jsr $E242 ; CPU:$CB22 PRG:0B22 20 42 E2 + lda #$05 ; CPU:$CB25 PRG:0B25 A9 05 + sta ZpBE ; CPU:$CB27 PRG:0B27 85 BE + lda #$06 ; CPU:$CB29 PRG:0B29 A9 06 + sta LevelTransitionCountLo ; CPU:$CB2B PRG:0B2B 85 B8 + lda #$00 ; CPU:$CB2D PRG:0B2D A9 00 + sta ZpC9 ; CPU:$CB2F PRG:0B2F 85 C9 + sta ZpCD ; CPU:$CB31 PRG:0B31 85 CD + sta ZpBF ; CPU:$CB33 PRG:0B33 85 BF + sta $0600 ; CPU:$CB35 PRG:0B35 8D 00 06 + lda ZpDC ; CPU:$CB38 PRG:0B38 A5 DC + cmp #$02 ; CPU:$CB3A PRG:0B3A C9 02 + bne Sub_CB22_OnNonzero_CB42 ; CPU:$CB3C PRG:0B3C D0 04 + sta Zp79 ; CPU:$CB3E PRG:0B3E 85 79 + inc ZpDC ; CPU:$CB40 PRG:0B40 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Sub_CB22_OnNonzero_CB42 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB22_OnNonzero_CB42: + ldx ZpA3 ; CPU:$CB42 PRG:0B42 A6 A3 + stx ZpC2 ; CPU:$CB44 PRG:0B44 86 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_StoreIndexAndContinue_CB46 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_StoreIndexAndContinue_CB46: + ldx ZpC2 ; CPU:$CB46 PRG:0B46 A6 C2 + beq Sub_CB46_OnZero_CB84 ; CPU:$CB48 PRG:0B48 F0 3A + lda $0600,x ; CPU:$CB4A PRG:0B4A BD 00 06 + bmi Sub_CB46_OnNegative_CB7F ; CPU:$CB4D PRG:0B4D 30 30 + sta LevelDataPtrLo ; CPU:$CB4F PRG:0B4F 85 85 + lda $0630,x ; CPU:$CB51 PRG:0B51 BD 30 06 + sta LevelDataPtrHi ; CPU:$CB54 PRG:0B54 85 86 + tay ; CPU:$CB56 PRG:0B56 A8 + jsr $C81D ; CPU:$CB57 PRG:0B57 20 1D C8 + ldy LevelDataPtrLo ; CPU:$CB5A PRG:0B5A A4 85 + lda (PlayerVelocity),y ; CPU:$CB5C PRG:0B5C B1 28 + bne Sub_CB46_OnNonzero_CB7A ; CPU:$CB5E PRG:0B5E D0 1A + lda #$03 ; CPU:$CB60 PRG:0B60 A9 03 + sta (PlayerVelocity),y ; CPU:$CB62 PRG:0B62 91 28 + lda (PlayerState),y ; CPU:$CB64 PRG:0B64 B1 26 + bne Sub_CB46_OnNonzero_CB6C ; CPU:$CB66 PRG:0B66 D0 04 + lda #$03 ; CPU:$CB68 PRG:0B68 A9 03 + sta (PlayerState),y ; CPU:$CB6A PRG:0B6A 91 26 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_OnNonzero_CB6C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_OnNonzero_CB6C: + lda #$03 ; CPU:$CB6C PRG:0B6C A9 03 + jsr $D055 ; CPU:$CB6E PRG:0B6E 20 55 D0 + ldx ZpC2 ; CPU:$CB71 PRG:0B71 A6 C2 + lda #$FF ; CPU:$CB73 PRG:0B73 A9 FF + sta $0600,x ; CPU:$CB75 PRG:0B75 9D 00 06 + bmi Sub_CB46_OnNegative_CB7F ; CPU:$CB78 PRG:0B78 30 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_OnNonzero_CB7A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_OnNonzero_CB7A: + lda #$01 ; CPU:$CB7A PRG:0B7A A9 01 + sta $0600 ; CPU:$CB7C PRG:0B7C 8D 00 06 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_OnNegative_CB7F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_OnNegative_CB7F: + dec ZpC2 ; CPU:$CB7F PRG:0B7F C6 C2 + jmp $CB46 ; CPU:$CB81 PRG:0B81 4C 46 CB +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_OnZero_CB84 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_OnZero_CB84: + lda $0600 ; CPU:$CB84 PRG:0B84 AD 00 06 + bne Sub_CB46_JoinBranchPaths_CB8B ; CPU:$CB87 PRG:0B87 D0 02 + dec Zp93 ; CPU:$CB89 PRG:0B89 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB46_JoinBranchPaths_CB8B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB46_JoinBranchPaths_CB8B: + rts ; CPU:$CB8B PRG:0B8B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB8C_Return_CB8C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB8C_Return_CB8C: + lda ZpDC ; CPU:$CB8C PRG:0B8C A5 DC + cmp #$03 ; CPU:$CB8E PRG:0B8E C9 03 + bcc Sub_CB46_JoinBranchPaths_CB8B ; CPU:$CB90 PRG:0B90 90 F9 + lda LevelTimer ; CPU:$CB92 PRG:0B92 A5 39 + pha ; CPU:$CB94 PRG:0B94 48 + jsr $CA57 ; CPU:$CB95 PRG:0B95 20 57 CA + pla ; CPU:$CB98 PRG:0B98 68 + sta LevelTimer ; CPU:$CB99 PRG:0B99 85 39 + inc ZpDC ; CPU:$CB9B PRG:0B9B E6 DC + bne Sub_CB46_JoinBranchPaths_CB8B ; CPU:$CB9D PRG:0B9D D0 EC +; ----------------------------------------------------------------------------- +; Routine: Sub_CB9F_Continue_CB9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB9F_Continue_CB9F: + ldx #$10 ; CPU:$CB9F PRG:0B9F A2 10 + lda #$F8 ; CPU:$CBA1 PRG:0BA1 A9 F8 +; ----------------------------------------------------------------------------- +; Routine: Sub_CB9F_OnNonzero_CBA3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CB9F_OnNonzero_CBA3: + sta $070F,x ; CPU:$CBA3 PRG:0BA3 9D 0F 07 + dex ; CPU:$CBA6 PRG:0BA6 CA + bne Sub_CB9F_OnNonzero_CBA3 ; CPU:$CBA7 PRG:0BA7 D0 FA + rts ; CPU:$CBA9 PRG:0BA9 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_Return_CBAA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_Return_CBAA: + lda #$01 ; CPU:$CBAA PRG:0BAA A9 01 + sta Zp94 ; CPU:$CBAC PRG:0BAC 85 94 + lda Zp9C ; CPU:$CBAE PRG:0BAE A5 9C + beq Sub_CBAA_OnZero_CBBA ; CPU:$CBB0 PRG:0BB0 F0 08 + bpl Sub_CBAA_OnNonnegative_CBB7 ; CPU:$CBB2 PRG:0BB2 10 03 + jmp $CE98 ; CPU:$CBB4 PRG:0BB4 4C 98 CE +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnNonnegative_CBB7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnNonnegative_CBB7: + jmp $CF29 ; CPU:$CBB7 PRG:0BB7 4C 29 CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnZero_CBBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnZero_CBBA: + ldy PlayerPosY ; CPU:$CBBA PRG:0BBA A4 21 + jsr $D2EF ; CPU:$CBBC PRG:0BBC 20 EF D2 + ldy PlayerPosX ; CPU:$CBBF PRG:0BBF A4 20 + lda (PlayerVelocity),y ; CPU:$CBC1 PRG:0BC1 B1 28 + cmp #$03 ; CPU:$CBC3 PRG:0BC3 C9 03 + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBC5 PRG:0BC5 F0 3C + cmp #$04 ; CPU:$CBC7 PRG:0BC7 C9 04 + bne Sub_CBAA_OnNonzero_CBD1 ; CPU:$CBC9 PRG:0BC9 D0 06 + lda Zp23 ; CPU:$CBCB PRG:0BCB A5 23 + cmp #$03 ; CPU:$CBCD PRG:0BCD C9 03 + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBCF PRG:0BCF F0 32 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnNonzero_CBD1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnNonzero_CBD1: + lda Zp23 ; CPU:$CBD1 PRG:0BD1 A5 23 + cmp #$03 ; CPU:$CBD3 PRG:0BD3 C9 03 + bcc Sub_CBAA_JoinBranchPaths_CC06 ; CPU:$CBD5 PRG:0BD5 90 2F + ldy PlayerPosY ; CPU:$CBD7 PRG:0BD7 A4 21 + cpy #$0D ; CPU:$CBD9 PRG:0BD9 C0 0D + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBDB PRG:0BDB F0 26 + lda $C689,y ; CPU:$CBDD PRG:0BDD B9 89 C6 + sta PlayerState ; CPU:$CBE0 PRG:0BE0 85 26 + lda $C697,y ; CPU:$CBE2 PRG:0BE2 B9 97 C6 + sta Zp27 ; CPU:$CBE5 PRG:0BE5 85 27 + jsr $DCB1 ; CPU:$CBE7 PRG:0BE7 20 B1 DC + jsr $D30A ; CPU:$CBEA PRG:0BEA 20 0A D3 + cmp #$00 ; CPU:$CBED PRG:0BED C9 00 + beq Sub_CBAA_JoinBranchPaths_CC06 ; CPU:$CBEF PRG:0BEF F0 15 + cmp #$08 ; CPU:$CBF1 PRG:0BF1 C9 08 + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBF3 PRG:0BF3 F0 0E + lda (PlayerVelocity),y ; CPU:$CBF5 PRG:0BF5 B1 28 + cmp #$01 ; CPU:$CBF7 PRG:0BF7 C9 01 + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBF9 PRG:0BF9 F0 08 + cmp #$02 ; CPU:$CBFB PRG:0BFB C9 02 + beq Sub_CBAA_OnZero_CC03 ; CPU:$CBFD PRG:0BFD F0 04 + cmp #$03 ; CPU:$CBFF PRG:0BFF C9 03 + bne Sub_CBAA_JoinBranchPaths_CC06 ; CPU:$CC01 PRG:0C01 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnZero_CC03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnZero_CC03: + jmp $CC64 ; CPU:$CC03 PRG:0C03 4C 64 CC +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_JoinBranchPaths_CC06 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_JoinBranchPaths_CC06: + lda Zp9B ; CPU:$CC06 PRG:0C06 A5 9B + beq Sub_CBAA_OnZero_CC23 ; CPU:$CC08 PRG:0C08 F0 19 + jsr $D305 ; CPU:$CC0A PRG:0C0A 20 05 D3 + beq Sub_CBAA_OnZero_CC23 ; CPU:$CC0D PRG:0C0D F0 14 + lda #$BA ; CPU:$CC0F PRG:0C0F A9 BA + sta APUPULSE2CTRL ; CPU:$CC11 PRG:0C11 8D 04 40 + lda #$F5 ; CPU:$CC14 PRG:0C14 A9 F5 + sta APUPULSE2SWEEP ; CPU:$CC16 PRG:0C16 8D 05 40 + lda #$20 ; CPU:$CC19 PRG:0C19 A9 20 + sta APUPULSE2TIMERLO ; CPU:$CC1B PRG:0C1B 8D 06 40 + lda #$F0 ; CPU:$CC1E PRG:0C1E A9 F0 + sta APUPULSE2TIMERHI ; CPU:$CC20 PRG:0C20 8D 07 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnZero_CC23 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnZero_CC23: + lda #$00 ; CPU:$CC23 PRG:0C23 A9 00 + sta Zp9B ; CPU:$CC25 PRG:0C25 85 9B + lda #$04 ; CPU:$CC27 PRG:0C27 A9 04 + ldx #$07 ; CPU:$CC29 PRG:0C29 A2 07 + jsr $D067 ; CPU:$CC2B PRG:0C2B 20 67 D0 + jsr $D213 ; CPU:$CC2E PRG:0C2E 20 13 D2 + inc Zp23 ; CPU:$CC31 PRG:0C31 E6 23 + lda Zp23 ; CPU:$CC33 PRG:0C33 A5 23 + cmp #$07 ; CPU:$CC35 PRG:0C35 C9 07 + bcs Sub_CBAA_OnCarrySet_CC3F ; CPU:$CC37 PRG:0C37 B0 06 + jsr $CFDF ; CPU:$CC39 PRG:0C39 20 DF CF + jmp $D097 ; CPU:$CC3C PRG:0C3C 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnCarrySet_CC3F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnCarrySet_CC3F: + lda #$00 ; CPU:$CC3F PRG:0C3F A9 00 + sta Zp23 ; CPU:$CC41 PRG:0C41 85 23 + ldy PlayerPosY ; CPU:$CC43 PRG:0C43 A4 21 + jsr $C81D ; CPU:$CC45 PRG:0C45 20 1D C8 + ldy PlayerPosX ; CPU:$CC48 PRG:0C48 A4 20 + lda (PlayerVelocity),y ; CPU:$CC4A PRG:0C4A B1 28 + cmp #$01 ; CPU:$CC4C PRG:0C4C C9 01 + bne Sub_CBAA_OnNonzero_CC52 ; CPU:$CC4E PRG:0C4E D0 02 + lda #$00 ; CPU:$CC50 PRG:0C50 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CBAA_OnNonzero_CC52 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CBAA_OnNonzero_CC52: + sta (PlayerState),y ; CPU:$CC52 PRG:0C52 91 26 + inc PlayerPosY ; CPU:$CC54 PRG:0C54 E6 21 + ldy PlayerPosY ; CPU:$CC56 PRG:0C56 A4 21 + jsr $D2FA ; CPU:$CC58 PRG:0C58 20 FA D2 + lda #$09 ; CPU:$CC5B PRG:0C5B A9 09 + ldy PlayerPosX ; CPU:$CC5D PRG:0C5D A4 20 + sta (PlayerState),y ; CPU:$CC5F PRG:0C5F 91 26 + jmp $D097 ; CPU:$CC61 PRG:0C61 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_JumpNext_CC64 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_JumpNext_CC64: + lda Zp9B ; CPU:$CC64 PRG:0C64 A5 9B + bne Sub_CC64_OnNonzero_CC7D ; CPU:$CC66 PRG:0C66 D0 15 + ldy PlayerPosX ; CPU:$CC68 PRG:0C68 A4 20 + lda (PlayerVelocity),y ; CPU:$CC6A PRG:0C6A B1 28 + tax ; CPU:$CC6C PRG:0C6C AA + lda #$12 ; CPU:$CC6D PRG:0C6D A9 12 + cpx #$04 ; CPU:$CC6F PRG:0C6F E0 04 + bne Sub_CC64_OnNonzero_CC75 ; CPU:$CC71 PRG:0C71 D0 02 + lda #$0C ; CPU:$CC73 PRG:0C73 A9 0C +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnNonzero_CC75 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnNonzero_CC75: + sta Zp24 ; CPU:$CC75 PRG:0C75 85 24 + jsr $D097 ; CPU:$CC77 PRG:0C77 20 97 D0 + jsr $D2AB ; CPU:$CC7A PRG:0C7A 20 AB D2 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnNonzero_CC7D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnNonzero_CC7D: + lda #$20 ; CPU:$CC7D PRG:0C7D A9 20 + sta ZpA4 ; CPU:$CC7F PRG:0C7F 85 A4 + sta Zp9B ; CPU:$CC81 PRG:0C81 85 9B + jsr $CFB1 ; CPU:$CC83 PRG:0C83 20 B1 CF + tax ; CPU:$CC86 PRG:0C86 AA + and #$08 ; CPU:$CC87 PRG:0C87 29 08 + beq Sub_CC64_OnZero_CC91 ; CPU:$CC89 PRG:0C89 F0 06 + jsr $CDB6 ; CPU:$CC8B PRG:0C8B 20 B6 CD + bcs Sub_CC64_JoinBranchPaths_CCB2 ; CPU:$CC8E PRG:0C8E B0 22 + rts ; CPU:$CC90 PRG:0C90 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnZero_CC91 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnZero_CC91: + txa ; CPU:$CC91 PRG:0C91 8A + and #$04 ; CPU:$CC92 PRG:0C92 29 04 + beq Sub_CC64_OnZero_CC9C ; CPU:$CC94 PRG:0C94 F0 06 + jsr $CE37 ; CPU:$CC96 PRG:0C96 20 37 CE + bcs Sub_CC64_JoinBranchPaths_CCB2 ; CPU:$CC99 PRG:0C99 B0 17 + rts ; CPU:$CC9B PRG:0C9B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnZero_CC9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnZero_CC9C: + txa ; CPU:$CC9C PRG:0C9C 8A + and #$40 ; CPU:$CC9D PRG:0C9D 29 40 + beq Sub_CC64_OnZero_CCA7 ; CPU:$CC9F PRG:0C9F F0 06 + jsr $CE90 ; CPU:$CCA1 PRG:0CA1 20 90 CE + bcs Sub_CC64_JoinBranchPaths_CCB2 ; CPU:$CCA4 PRG:0CA4 B0 0C + rts ; CPU:$CCA6 PRG:0CA6 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnZero_CCA7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnZero_CCA7: + txa ; CPU:$CCA7 PRG:0CA7 8A + and #$80 ; CPU:$CCA8 PRG:0CA8 29 80 + beq Sub_CC64_JoinBranchPaths_CCB2 ; CPU:$CCAA PRG:0CAA F0 06 + jsr $CF21 ; CPU:$CCAC PRG:0CAC 20 21 CF + bcs Sub_CC64_JoinBranchPaths_CCB2 ; CPU:$CCAF PRG:0CAF B0 01 + rts ; CPU:$CCB1 PRG:0CB1 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_JoinBranchPaths_CCB2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_JoinBranchPaths_CCB2: + txa ; CPU:$CCB2 PRG:0CB2 8A + and #$02 ; CPU:$CCB3 PRG:0CB3 29 02 + beq Sub_CC64_OnZero_CCBA ; CPU:$CCB5 PRG:0CB5 F0 03 + jmp $CCE8 ; CPU:$CCB7 PRG:0CB7 4C E8 CC +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnZero_CCBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnZero_CCBA: + txa ; CPU:$CCBA PRG:0CBA 8A + and #$01 ; CPU:$CCBB PRG:0CBB 29 01 + beq Sub_CC64_OnZero_CCC2 ; CPU:$CCBD PRG:0CBD F0 03 + jmp $CD4C ; CPU:$CCBF PRG:0CBF 4C 4C CD +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnZero_CCC2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnZero_CCC2: + lda Zp24 ; CPU:$CCC2 PRG:0CC2 A5 24 + cmp #$04 ; CPU:$CCC4 PRG:0CC4 C9 04 + bcc Sub_CC64_JoinBranchPaths_CCD1 ; CPU:$CCC6 PRG:0CC6 90 09 + cmp #$14 ; CPU:$CCC8 PRG:0CC8 C9 14 + bcs Sub_CC64_OnCarrySet_CCD0 ; CPU:$CCCA PRG:0CCA B0 04 + cmp #$12 ; CPU:$CCCC PRG:0CCC C9 12 + bcs Sub_CC64_JoinBranchPaths_CCD1 ; CPU:$CCCE PRG:0CCE B0 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnCarrySet_CCD0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnCarrySet_CCD0: + rts ; CPU:$CCD0 PRG:0CD0 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_JoinBranchPaths_CCD1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_JoinBranchPaths_CCD1: + inc Zp1D ; CPU:$CCD1 PRG:0CD1 E6 1D + lda Zp1D ; CPU:$CCD3 PRG:0CD3 A5 1D + cmp #$14 ; CPU:$CCD5 PRG:0CD5 C9 14 + bcc Sub_CC64_OnCarryClear_CCE7 ; CPU:$CCD7 PRG:0CD7 90 0E + lda #$00 ; CPU:$CCD9 PRG:0CD9 A9 00 + sta Zp1D ; CPU:$CCDB PRG:0CDB 85 1D + lda #$12 ; CPU:$CCDD PRG:0CDD A9 12 + ldx #$13 ; CPU:$CCDF PRG:0CDF A2 13 + jsr $D067 ; CPU:$CCE1 PRG:0CE1 20 67 D0 + jmp $D097 ; CPU:$CCE4 PRG:0CE4 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CC64_OnCarryClear_CCE7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CC64_OnCarryClear_CCE7: + rts ; CPU:$CCE7 PRG:0CE7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_Return_CCE8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_Return_CCE8: + ldy PlayerPosY ; CPU:$CCE8 PRG:0CE8 A4 21 + jsr $C81D ; CPU:$CCEA PRG:0CEA 20 1D C8 + ldx Zp22 ; CPU:$CCED PRG:0CED A6 22 + cpx #$04 ; CPU:$CCEF PRG:0CEF E0 04 + bcs Sub_CCE8_JoinBranchPaths_CD07 ; CPU:$CCF1 PRG:0CF1 B0 14 + ldy PlayerPosX ; CPU:$CCF3 PRG:0CF3 A4 20 + beq Sub_CCE8_OnZero_CD06 ; CPU:$CCF5 PRG:0CF5 F0 0F + dey ; CPU:$CCF7 PRG:0CF7 88 + lda (PlayerState),y ; CPU:$CCF8 PRG:0CF8 B1 26 + cmp #$02 ; CPU:$CCFA PRG:0CFA C9 02 + beq Sub_CCE8_OnZero_CD06 ; CPU:$CCFC PRG:0CFC F0 08 + cmp #$01 ; CPU:$CCFE PRG:0CFE C9 01 + beq Sub_CCE8_OnZero_CD06 ; CPU:$CD00 PRG:0D00 F0 04 + cmp #$05 ; CPU:$CD02 PRG:0D02 C9 05 + bne Sub_CCE8_JoinBranchPaths_CD07 ; CPU:$CD04 PRG:0D04 D0 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnZero_CD06 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnZero_CD06: + rts ; CPU:$CD06 PRG:0D06 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_JoinBranchPaths_CD07 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_JoinBranchPaths_CD07: + lda #$FF ; CPU:$CD07 PRG:0D07 A9 FF + sta Zp25 ; CPU:$CD09 PRG:0D09 85 25 + jsr $D226 ; CPU:$CD0B PRG:0D0B 20 26 D2 + dec Zp22 ; CPU:$CD0E PRG:0D0E C6 22 + bpl Sub_CCE8_OnNonnegative_CD2B ; CPU:$CD10 PRG:0D10 10 19 + ldy PlayerPosX ; CPU:$CD12 PRG:0D12 A4 20 + lda (PlayerVelocity),y ; CPU:$CD14 PRG:0D14 B1 28 + cmp #$01 ; CPU:$CD16 PRG:0D16 C9 01 + bne Sub_CCE8_OnNonzero_CD1C ; CPU:$CD18 PRG:0D18 D0 02 + lda #$00 ; CPU:$CD1A PRG:0D1A A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnNonzero_CD1C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnNonzero_CD1C: + sta (PlayerState),y ; CPU:$CD1C PRG:0D1C 91 26 + dec PlayerPosX ; CPU:$CD1E PRG:0D1E C6 20 + dey ; CPU:$CD20 PRG:0D20 88 + lda #$09 ; CPU:$CD21 PRG:0D21 A9 09 + sta (PlayerState),y ; CPU:$CD23 PRG:0D23 91 26 + lda #$07 ; CPU:$CD25 PRG:0D25 A9 07 + sta Zp22 ; CPU:$CD27 PRG:0D27 85 22 + bne Sub_CCE8_OnNonzero_CD2E ; CPU:$CD29 PRG:0D29 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnNonnegative_CD2B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnNonnegative_CD2B: + jsr $CFDF ; CPU:$CD2B PRG:0D2B 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnNonzero_CD2E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnNonzero_CD2E: + ldy PlayerPosX ; CPU:$CD2E PRG:0D2E A4 20 + lda (PlayerVelocity),y ; CPU:$CD30 PRG:0D30 B1 28 + cmp #$04 ; CPU:$CD32 PRG:0D32 C9 04 + beq Sub_CCE8_OnZero_CD3F ; CPU:$CD34 PRG:0D34 F0 09 + jsr $D27E ; CPU:$CD36 PRG:0D36 20 7E D2 + lda #$00 ; CPU:$CD39 PRG:0D39 A9 00 + ldx #$03 ; CPU:$CD3B PRG:0D3B A2 03 + bne Sub_CCE8_OnNonzero_CD46 ; CPU:$CD3D PRG:0D3D D0 07 +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnZero_CD3F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnZero_CD3F: + jsr $D2B1 ; CPU:$CD3F PRG:0D3F 20 B1 D2 + lda #$0C ; CPU:$CD42 PRG:0D42 A9 0C + ldx #$0F ; CPU:$CD44 PRG:0D44 A2 0F +; ----------------------------------------------------------------------------- +; Routine: Sub_CCE8_OnNonzero_CD46 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CCE8_OnNonzero_CD46: + jsr $D067 ; CPU:$CD46 PRG:0D46 20 67 D0 + jmp $D097 ; CPU:$CD49 PRG:0D49 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_JumpNext_CD4C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_JumpNext_CD4C: + ldy PlayerPosY ; CPU:$CD4C PRG:0D4C A4 21 + jsr $C81D ; CPU:$CD4E PRG:0D4E 20 1D C8 + ldx Zp22 ; CPU:$CD51 PRG:0D51 A6 22 + cpx #$03 ; CPU:$CD53 PRG:0D53 E0 03 + bcc Sub_CD4C_JoinBranchPaths_CD6D ; CPU:$CD55 PRG:0D55 90 16 + ldy PlayerPosX ; CPU:$CD57 PRG:0D57 A4 20 + cpy #$1B ; CPU:$CD59 PRG:0D59 C0 1B + beq Sub_CD4C_OnZero_CD6C ; CPU:$CD5B PRG:0D5B F0 0F + iny ; CPU:$CD5D PRG:0D5D C8 + lda (PlayerState),y ; CPU:$CD5E PRG:0D5E B1 26 + cmp #$02 ; CPU:$CD60 PRG:0D60 C9 02 + beq Sub_CD4C_OnZero_CD6C ; CPU:$CD62 PRG:0D62 F0 08 + cmp #$01 ; CPU:$CD64 PRG:0D64 C9 01 + beq Sub_CD4C_OnZero_CD6C ; CPU:$CD66 PRG:0D66 F0 04 + cmp #$05 ; CPU:$CD68 PRG:0D68 C9 05 + bne Sub_CD4C_JoinBranchPaths_CD6D ; CPU:$CD6A PRG:0D6A D0 01 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnZero_CD6C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnZero_CD6C: + rts ; CPU:$CD6C PRG:0D6C 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_JoinBranchPaths_CD6D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_JoinBranchPaths_CD6D: + lda #$01 ; CPU:$CD6D PRG:0D6D A9 01 + sta Zp25 ; CPU:$CD6F PRG:0D6F 85 25 + jsr $D226 ; CPU:$CD71 PRG:0D71 20 26 D2 + inc Zp22 ; CPU:$CD74 PRG:0D74 E6 22 + lda Zp22 ; CPU:$CD76 PRG:0D76 A5 22 + cmp #$08 ; CPU:$CD78 PRG:0D78 C9 08 + bcc Sub_CD4C_OnCarryClear_CD95 ; CPU:$CD7A PRG:0D7A 90 19 + ldy PlayerPosX ; CPU:$CD7C PRG:0D7C A4 20 + lda (PlayerVelocity),y ; CPU:$CD7E PRG:0D7E B1 28 + cmp #$01 ; CPU:$CD80 PRG:0D80 C9 01 + bne Sub_CD4C_OnNonzero_CD86 ; CPU:$CD82 PRG:0D82 D0 02 + lda #$00 ; CPU:$CD84 PRG:0D84 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnNonzero_CD86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnNonzero_CD86: + sta (PlayerState),y ; CPU:$CD86 PRG:0D86 91 26 + inc PlayerPosX ; CPU:$CD88 PRG:0D88 E6 20 + iny ; CPU:$CD8A PRG:0D8A C8 + lda #$09 ; CPU:$CD8B PRG:0D8B A9 09 + sta (PlayerState),y ; CPU:$CD8D PRG:0D8D 91 26 + lda #$00 ; CPU:$CD8F PRG:0D8F A9 00 + sta Zp22 ; CPU:$CD91 PRG:0D91 85 22 + beq Sub_CD4C_OnZero_CD98 ; CPU:$CD93 PRG:0D93 F0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnCarryClear_CD95 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnCarryClear_CD95: + jsr $CFDF ; CPU:$CD95 PRG:0D95 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnZero_CD98 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnZero_CD98: + ldy PlayerPosX ; CPU:$CD98 PRG:0D98 A4 20 + lda (PlayerVelocity),y ; CPU:$CD9A PRG:0D9A B1 28 + cmp #$04 ; CPU:$CD9C PRG:0D9C C9 04 + beq Sub_CD4C_OnZero_CDA9 ; CPU:$CD9E PRG:0D9E F0 09 + jsr $D27E ; CPU:$CDA0 PRG:0DA0 20 7E D2 + lda #$00 ; CPU:$CDA3 PRG:0DA3 A9 00 + ldx #$03 ; CPU:$CDA5 PRG:0DA5 A2 03 + bne Sub_CD4C_OnNonzero_CDB0 ; CPU:$CDA7 PRG:0DA7 D0 07 +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnZero_CDA9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnZero_CDA9: + jsr $D2B1 ; CPU:$CDA9 PRG:0DA9 20 B1 D2 + lda #$0C ; CPU:$CDAC PRG:0DAC A9 0C + ldx #$0F ; CPU:$CDAE PRG:0DAE A2 0F +; ----------------------------------------------------------------------------- +; Routine: Sub_CD4C_OnNonzero_CDB0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CD4C_OnNonzero_CDB0: + jsr $D067 ; CPU:$CDB0 PRG:0DB0 20 67 D0 + jmp $D097 ; CPU:$CDB3 PRG:0DB3 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CDB6_JumpNext_CDB6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CDB6_JumpNext_CDB6: + ldy PlayerPosY ; CPU:$CDB6 PRG:0DB6 A4 21 + jsr $D2EF ; CPU:$CDB8 PRG:0DB8 20 EF D2 + ldy PlayerPosX ; CPU:$CDBB PRG:0DBB A4 20 + lda (PlayerVelocity),y ; CPU:$CDBD PRG:0DBD B1 28 + cmp #$03 ; CPU:$CDBF PRG:0DBF C9 03 + beq Sub_CDB6_OnZero_CDD8 ; CPU:$CDC1 PRG:0DC1 F0 15 + ldy Zp23 ; CPU:$CDC3 PRG:0DC3 A4 23 + cpy #$04 ; CPU:$CDC5 PRG:0DC5 C0 04 + bcc Sub_CDB6_JoinBranchPaths_CDD6 ; CPU:$CDC7 PRG:0DC7 90 0D + ldy PlayerPosY ; CPU:$CDC9 PRG:0DC9 A4 21 + jsr $DCB1 ; CPU:$CDCB PRG:0DCB 20 B1 DC + ldy PlayerPosX ; CPU:$CDCE PRG:0DCE A4 20 + lda (PlayerVelocity),y ; CPU:$CDD0 PRG:0DD0 B1 28 + cmp #$03 ; CPU:$CDD2 PRG:0DD2 C9 03 + beq Sub_CDB6_JoinBranchPaths_CDFB ; CPU:$CDD4 PRG:0DD4 F0 25 +; ----------------------------------------------------------------------------- +; Routine: Sub_CDB6_JoinBranchPaths_CDD6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CDB6_JoinBranchPaths_CDD6: + sec ; CPU:$CDD6 PRG:0DD6 38 + rts ; CPU:$CDD7 PRG:0DD7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CDB6_OnZero_CDD8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CDB6_OnZero_CDD8: + ldy Zp23 ; CPU:$CDD8 PRG:0DD8 A4 23 + cpy #$04 ; CPU:$CDDA PRG:0DDA C0 04 + bcs Sub_CDB6_JoinBranchPaths_CDFB ; CPU:$CDDC PRG:0DDC B0 1D + ldy PlayerPosY ; CPU:$CDDE PRG:0DDE A4 21 + beq Sub_CDB6_JoinBranchPaths_CDD6 ; CPU:$CDE0 PRG:0DE0 F0 F4 + lda $C687,y ; CPU:$CDE2 PRG:0DE2 B9 87 C6 + sta PlayerState ; CPU:$CDE5 PRG:0DE5 85 26 + lda $C695,y ; CPU:$CDE7 PRG:0DE7 B9 95 C6 + sta Zp27 ; CPU:$CDEA PRG:0DEA 85 27 + jsr $D30A ; CPU:$CDEC PRG:0DEC 20 0A D3 + cmp #$01 ; CPU:$CDEF PRG:0DEF C9 01 + beq Sub_CDB6_JoinBranchPaths_CDD6 ; CPU:$CDF1 PRG:0DF1 F0 E3 + cmp #$02 ; CPU:$CDF3 PRG:0DF3 C9 02 + beq Sub_CDB6_JoinBranchPaths_CDD6 ; CPU:$CDF5 PRG:0DF5 F0 DF + cmp #$05 ; CPU:$CDF7 PRG:0DF7 C9 05 + beq Sub_CDB6_JoinBranchPaths_CDD6 ; CPU:$CDF9 PRG:0DF9 F0 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_CDB6_JoinBranchPaths_CDFB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CDB6_JoinBranchPaths_CDFB: + ldy PlayerPosY ; CPU:$CDFB PRG:0DFB A4 21 + jsr $C81D ; CPU:$CDFD PRG:0DFD 20 1D C8 + jsr $D213 ; CPU:$CE00 PRG:0E00 20 13 D2 + dec Zp23 ; CPU:$CE03 PRG:0E03 C6 23 + bpl Sub_CE25_OnNonnegative_CE25 ; CPU:$CE05 PRG:0E05 10 1E + ldy PlayerPosX ; CPU:$CE07 PRG:0E07 A4 20 + lda (PlayerVelocity),y ; CPU:$CE09 PRG:0E09 B1 28 + cmp #$01 ; CPU:$CE0B PRG:0E0B C9 01 + bne Sub_CDB6_OnNonzero_CE11 ; CPU:$CE0D PRG:0E0D D0 02 + lda #$00 ; CPU:$CE0F PRG:0E0F A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CDB6_OnNonzero_CE11 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CDB6_OnNonzero_CE11: + sta (PlayerState),y ; CPU:$CE11 PRG:0E11 91 26 + dec PlayerPosY ; CPU:$CE13 PRG:0E13 C6 21 + ldy PlayerPosY ; CPU:$CE15 PRG:0E15 A4 21 + jsr $D2FA ; CPU:$CE17 PRG:0E17 20 FA D2 + lda #$09 ; CPU:$CE1A PRG:0E1A A9 09 + jsr $D30A ; CPU:$CE1C PRG:0E1C 20 0A D3 + lda #$07 ; CPU:$CE1F PRG:0E1F A9 07 + sta Zp23 ; CPU:$CE21 PRG:0E21 85 23 + bne Sub_CE28_OnNonzero_CE28 ; CPU:$CE23 PRG:0E23 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE25_OnNonnegative_CE25 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE25_OnNonnegative_CE25: + jsr $CFDF ; CPU:$CE25 PRG:0E25 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CE28_OnNonzero_CE28 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE28_OnNonzero_CE28: + lda #$08 ; CPU:$CE28 PRG:0E28 A9 08 + ldx #$0B ; CPU:$CE2A PRG:0E2A A2 0B + jsr $D067 ; CPU:$CE2C PRG:0E2C 20 67 D0 + jsr $D2D0 ; CPU:$CE2F PRG:0E2F 20 D0 D2 + jsr $D097 ; CPU:$CE32 PRG:0E32 20 97 D0 + clc ; CPU:$CE35 PRG:0E35 18 + rts ; CPU:$CE36 PRG:0E36 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_Return_CE37 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_Return_CE37: + ldy Zp23 ; CPU:$CE37 PRG:0E37 A4 23 + cpy #$03 ; CPU:$CE39 PRG:0E39 C0 03 + bcc Sub_CE37_JoinBranchPaths_CE5A ; CPU:$CE3B PRG:0E3B 90 1D + ldy PlayerPosY ; CPU:$CE3D PRG:0E3D A4 21 + cpy #$0D ; CPU:$CE3F PRG:0E3F C0 0D + bcs Sub_CE37_JoinBranchPaths_CE58 ; CPU:$CE41 PRG:0E41 B0 15 + lda $C689,y ; CPU:$CE43 PRG:0E43 B9 89 C6 + sta PlayerState ; CPU:$CE46 PRG:0E46 85 26 + lda $C697,y ; CPU:$CE48 PRG:0E48 B9 97 C6 + sta Zp27 ; CPU:$CE4B PRG:0E4B 85 27 + jsr $D30A ; CPU:$CE4D PRG:0E4D 20 0A D3 + cmp #$02 ; CPU:$CE50 PRG:0E50 C9 02 + beq Sub_CE37_JoinBranchPaths_CE58 ; CPU:$CE52 PRG:0E52 F0 04 + cmp #$01 ; CPU:$CE54 PRG:0E54 C9 01 + bne Sub_CE37_JoinBranchPaths_CE5A ; CPU:$CE56 PRG:0E56 D0 02 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_JoinBranchPaths_CE58 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_JoinBranchPaths_CE58: + sec ; CPU:$CE58 PRG:0E58 38 + rts ; CPU:$CE59 PRG:0E59 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_JoinBranchPaths_CE5A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_JoinBranchPaths_CE5A: + ldy PlayerPosY ; CPU:$CE5A PRG:0E5A A4 21 + jsr $C81D ; CPU:$CE5C PRG:0E5C 20 1D C8 + jsr $D213 ; CPU:$CE5F PRG:0E5F 20 13 D2 + inc Zp23 ; CPU:$CE62 PRG:0E62 E6 23 + lda Zp23 ; CPU:$CE64 PRG:0E64 A5 23 + cmp #$07 ; CPU:$CE66 PRG:0E66 C9 07 + bcc Sub_CE37_OnCarryClear_CE8A ; CPU:$CE68 PRG:0E68 90 20 + ldy PlayerPosX ; CPU:$CE6A PRG:0E6A A4 20 + lda (PlayerVelocity),y ; CPU:$CE6C PRG:0E6C B1 28 + cmp #$01 ; CPU:$CE6E PRG:0E6E C9 01 + bne Sub_CE37_OnNonzero_CE74 ; CPU:$CE70 PRG:0E70 D0 02 + lda #$00 ; CPU:$CE72 PRG:0E72 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_OnNonzero_CE74 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_OnNonzero_CE74: + sta (PlayerState),y ; CPU:$CE74 PRG:0E74 91 26 + inc PlayerPosY ; CPU:$CE76 PRG:0E76 E6 21 + ldy PlayerPosY ; CPU:$CE78 PRG:0E78 A4 21 + jsr $D2FA ; CPU:$CE7A PRG:0E7A 20 FA D2 + ldy PlayerPosX ; CPU:$CE7D PRG:0E7D A4 20 + lda #$09 ; CPU:$CE7F PRG:0E7F A9 09 + sta (PlayerState),y ; CPU:$CE81 PRG:0E81 91 26 + lda #$00 ; CPU:$CE83 PRG:0E83 A9 00 + sta Zp23 ; CPU:$CE85 PRG:0E85 85 23 + jmp $CE28 ; CPU:$CE87 PRG:0E87 4C 28 CE +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_OnCarryClear_CE8A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_OnCarryClear_CE8A: + jmp $CE25 ; CPU:$CE8A PRG:0E8A 4C 25 CE +; ----------------------------------------------------------------------------- +; Routine: Sub_CE37_JoinBranchPaths_CE8D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE37_JoinBranchPaths_CE8D: + jmp $CF12 ; CPU:$CE8D PRG:0E8D 4C 12 CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CE90_JumpNext_CE90 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE90_JumpNext_CE90: + lda #$FF ; CPU:$CE90 PRG:0E90 A9 FF + sta Zp9C ; CPU:$CE92 PRG:0E92 85 9C + lda #$00 ; CPU:$CE94 PRG:0E94 A9 00 + sta ZpA0 ; CPU:$CE96 PRG:0E96 85 A0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE98_StoreAndContinue_CE98 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE98_StoreAndContinue_CE98: + ldy PlayerPosY ; CPU:$CE98 PRG:0E98 A4 21 + cpy #$0D ; CPU:$CE9A PRG:0E9A C0 0D + bcs Sub_CE37_JoinBranchPaths_CE8D ; CPU:$CE9C PRG:0E9C B0 EF + iny ; CPU:$CE9E PRG:0E9E C8 + jsr $D239 ; CPU:$CE9F PRG:0E9F 20 39 D2 + ldy PlayerPosX ; CPU:$CEA2 PRG:0EA2 A4 20 + beq Sub_CE37_JoinBranchPaths_CE8D ; CPU:$CEA4 PRG:0EA4 F0 E7 + dey ; CPU:$CEA6 PRG:0EA6 88 + lda (PlayerState),y ; CPU:$CEA7 PRG:0EA7 B1 26 + cmp #$01 ; CPU:$CEA9 PRG:0EA9 C9 01 + bne Sub_CE37_JoinBranchPaths_CE8D ; CPU:$CEAB PRG:0EAB D0 E0 + ldy PlayerPosY ; CPU:$CEAD PRG:0EAD A4 21 + jsr $D239 ; CPU:$CEAF PRG:0EAF 20 39 D2 + ldy PlayerPosX ; CPU:$CEB2 PRG:0EB2 A4 20 + dey ; CPU:$CEB4 PRG:0EB4 88 + lda (PlayerState),y ; CPU:$CEB5 PRG:0EB5 B1 26 + cmp #$00 ; CPU:$CEB7 PRG:0EB7 C9 00 + bne Sub_CE98_OnNonzero_CEF8 ; CPU:$CEB9 PRG:0EB9 D0 3D + jsr $D075 ; CPU:$CEBB PRG:0EBB 20 75 D0 + lda #$FF ; CPU:$CEBE PRG:0EBE A9 FF + sta Zp25 ; CPU:$CEC0 PRG:0EC0 85 25 + lda Zp24 ; CPU:$CEC2 PRG:0EC2 A5 24 + cmp #$12 ; CPU:$CEC4 PRG:0EC4 C9 12 + beq Sub_CE98_OnZero_CED0 ; CPU:$CEC6 PRG:0EC6 F0 08 + cmp #$13 ; CPU:$CEC8 PRG:0EC8 C9 13 + beq Sub_CE98_OnZero_CED0 ; CPU:$CECA PRG:0ECA F0 04 + cmp #$04 ; CPU:$CECC PRG:0ECC C9 04 + bcs Sub_CE98_OnCarrySet_CEDC ; CPU:$CECE PRG:0ECE B0 0C +; ----------------------------------------------------------------------------- +; Routine: Sub_CE98_OnZero_CED0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE98_OnZero_CED0: + ldx ZpA0 ; CPU:$CED0 PRG:0ED0 A6 A0 + lda #$10 ; CPU:$CED2 PRG:0ED2 A9 10 + cpx #$06 ; CPU:$CED4 PRG:0ED4 E0 06 + bcs Sub_CE98_OnCarrySet_CEDA ; CPU:$CED6 PRG:0ED6 B0 02 + lda #$11 ; CPU:$CED8 PRG:0ED8 A9 11 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE98_OnCarrySet_CEDA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE98_OnCarrySet_CEDA: + sta Zp24 ; CPU:$CEDA PRG:0EDA 85 24 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE98_OnCarrySet_CEDC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE98_OnCarrySet_CEDC: + jsr $D097 ; CPU:$CEDC PRG:0EDC 20 97 D0 + ldx ZpA0 ; CPU:$CEDF PRG:0EDF A6 A0 + cpx #$0C ; CPU:$CEE1 PRG:0EE1 E0 0C + beq Sub_CF12_OnZero_CF18 ; CPU:$CEE3 PRG:0EE3 F0 33 + ldx ZpA0 ; CPU:$CEE5 PRG:0EE5 A6 A0 + lda PlayerPosX ; CPU:$CEE7 PRG:0EE7 A5 20 + sta LevelDataPtrLo ; CPU:$CEE9 PRG:0EE9 85 85 + dec LevelDataPtrLo ; CPU:$CEEB PRG:0EEB C6 85 + lda PlayerPosY ; CPU:$CEED PRG:0EED A5 21 + sta LevelDataPtrHi ; CPU:$CEEF PRG:0EEF 85 86 + jsr $D02B ; CPU:$CEF1 PRG:0EF1 20 2B D0 + inc ZpA0 ; CPU:$CEF4 PRG:0EF4 E6 A0 + clc ; CPU:$CEF6 PRG:0EF6 18 + rts ; CPU:$CEF7 PRG:0EF7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CE98_OnNonzero_CEF8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CE98_OnNonzero_CEF8: + ldy ZpA0 ; CPU:$CEF8 PRG:0EF8 A4 A0 + beq Sub_CF12_OnZero_CF12 ; CPU:$CEFA PRG:0EFA F0 16 + ldy PlayerPosY ; CPU:$CEFC PRG:0EFC A4 21 + iny ; CPU:$CEFE PRG:0EFE C8 + sty LevelDataPtrHi ; CPU:$CEFF PRG:0EFF 84 86 + ldy PlayerPosX ; CPU:$CF01 PRG:0F01 A4 20 + dey ; CPU:$CF03 PRG:0F03 88 + sty LevelDataPtrLo ; CPU:$CF04 PRG:0F04 84 85 + lda #$01 ; CPU:$CF06 PRG:0F06 A9 01 + jsr $D055 ; CPU:$CF08 PRG:0F08 20 55 D0 + dec LevelDataPtrHi ; CPU:$CF0B PRG:0F0B C6 86 + lda #$00 ; CPU:$CF0D PRG:0F0D A9 00 + jsr $D055 ; CPU:$CF0F PRG:0F0F 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF12_OnZero_CF12 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF12_OnZero_CF12: + lda #$00 ; CPU:$CF12 PRG:0F12 A9 00 + sta Zp9C ; CPU:$CF14 PRG:0F14 85 9C + sec ; CPU:$CF16 PRG:0F16 38 + rts ; CPU:$CF17 PRG:0F17 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF12_OnZero_CF18 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF12_OnZero_CF18: + ldx PlayerPosX ; CPU:$CF18 PRG:0F18 A6 20 + dex ; CPU:$CF1A PRG:0F1A CA + jmp $D23F ; CPU:$CF1B PRG:0F1B 4C 3F D2 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF12_JoinBranchPaths_CF1E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF12_JoinBranchPaths_CF1E: + jmp $CFA5 ; CPU:$CF1E PRG:0F1E 4C A5 CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CF21_JumpNext_CF21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF21_JumpNext_CF21: + lda #$01 ; CPU:$CF21 PRG:0F21 A9 01 + sta Zp9C ; CPU:$CF23 PRG:0F23 85 9C + lda #$00 ; CPU:$CF25 PRG:0F25 A9 00 + sta ZpA0 ; CPU:$CF27 PRG:0F27 85 A0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF29_StoreAndContinue_CF29 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF29_StoreAndContinue_CF29: + ldy PlayerPosY ; CPU:$CF29 PRG:0F29 A4 21 + cpy #$0D ; CPU:$CF2B PRG:0F2B C0 0D + bcs Sub_CF12_JoinBranchPaths_CF1E ; CPU:$CF2D PRG:0F2D B0 EF + iny ; CPU:$CF2F PRG:0F2F C8 + jsr $D239 ; CPU:$CF30 PRG:0F30 20 39 D2 + ldy PlayerPosX ; CPU:$CF33 PRG:0F33 A4 20 + cpy #$1B ; CPU:$CF35 PRG:0F35 C0 1B + bcs Sub_CF12_JoinBranchPaths_CF1E ; CPU:$CF37 PRG:0F37 B0 E5 + iny ; CPU:$CF39 PRG:0F39 C8 + lda (PlayerState),y ; CPU:$CF3A PRG:0F3A B1 26 + cmp #$01 ; CPU:$CF3C PRG:0F3C C9 01 + bne Sub_CF12_JoinBranchPaths_CF1E ; CPU:$CF3E PRG:0F3E D0 DE + ldy PlayerPosY ; CPU:$CF40 PRG:0F40 A4 21 + jsr $D239 ; CPU:$CF42 PRG:0F42 20 39 D2 + ldy PlayerPosX ; CPU:$CF45 PRG:0F45 A4 20 + iny ; CPU:$CF47 PRG:0F47 C8 + lda (PlayerState),y ; CPU:$CF48 PRG:0F48 B1 26 + cmp #$00 ; CPU:$CF4A PRG:0F4A C9 00 + bne Sub_CF29_OnNonzero_CF8B ; CPU:$CF4C PRG:0F4C D0 3D + jsr $D075 ; CPU:$CF4E PRG:0F4E 20 75 D0 + lda #$01 ; CPU:$CF51 PRG:0F51 A9 01 + sta Zp25 ; CPU:$CF53 PRG:0F53 85 25 + lda Zp24 ; CPU:$CF55 PRG:0F55 A5 24 + cmp #$12 ; CPU:$CF57 PRG:0F57 C9 12 + beq Sub_CF29_OnZero_CF63 ; CPU:$CF59 PRG:0F59 F0 08 + cmp #$13 ; CPU:$CF5B PRG:0F5B C9 13 + beq Sub_CF29_OnZero_CF63 ; CPU:$CF5D PRG:0F5D F0 04 + cmp #$04 ; CPU:$CF5F PRG:0F5F C9 04 + bcs Sub_CF29_OnCarrySet_CF6F ; CPU:$CF61 PRG:0F61 B0 0C +; ----------------------------------------------------------------------------- +; Routine: Sub_CF29_OnZero_CF63 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF29_OnZero_CF63: + ldx ZpA0 ; CPU:$CF63 PRG:0F63 A6 A0 + lda #$10 ; CPU:$CF65 PRG:0F65 A9 10 + cpx #$06 ; CPU:$CF67 PRG:0F67 E0 06 + bcs Sub_CF29_OnCarrySet_CF6D ; CPU:$CF69 PRG:0F69 B0 02 + lda #$11 ; CPU:$CF6B PRG:0F6B A9 11 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF29_OnCarrySet_CF6D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF29_OnCarrySet_CF6D: + sta Zp24 ; CPU:$CF6D PRG:0F6D 85 24 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF29_OnCarrySet_CF6F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF29_OnCarrySet_CF6F: + jsr $D097 ; CPU:$CF6F PRG:0F6F 20 97 D0 + ldx ZpA0 ; CPU:$CF72 PRG:0F72 A6 A0 + cpx #$0C ; CPU:$CF74 PRG:0F74 E0 0C + beq Sub_CFA5_OnZero_CFAB ; CPU:$CF76 PRG:0F76 F0 33 + ldx ZpA0 ; CPU:$CF78 PRG:0F78 A6 A0 + lda PlayerPosX ; CPU:$CF7A PRG:0F7A A5 20 + sta LevelDataPtrLo ; CPU:$CF7C PRG:0F7C 85 85 + inc LevelDataPtrLo ; CPU:$CF7E PRG:0F7E E6 85 + lda PlayerPosY ; CPU:$CF80 PRG:0F80 A5 21 + sta LevelDataPtrHi ; CPU:$CF82 PRG:0F82 85 86 + jsr $D02B ; CPU:$CF84 PRG:0F84 20 2B D0 + inc ZpA0 ; CPU:$CF87 PRG:0F87 E6 A0 + clc ; CPU:$CF89 PRG:0F89 18 + rts ; CPU:$CF8A PRG:0F8A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CF29_OnNonzero_CF8B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CF29_OnNonzero_CF8B: + ldy ZpA0 ; CPU:$CF8B PRG:0F8B A4 A0 + beq Sub_CFA5_OnZero_CFA5 ; CPU:$CF8D PRG:0F8D F0 16 + ldy PlayerPosY ; CPU:$CF8F PRG:0F8F A4 21 + iny ; CPU:$CF91 PRG:0F91 C8 + sty LevelDataPtrHi ; CPU:$CF92 PRG:0F92 84 86 + ldy PlayerPosX ; CPU:$CF94 PRG:0F94 A4 20 + iny ; CPU:$CF96 PRG:0F96 C8 + sty LevelDataPtrLo ; CPU:$CF97 PRG:0F97 84 85 + lda #$01 ; CPU:$CF99 PRG:0F99 A9 01 + jsr $D055 ; CPU:$CF9B PRG:0F9B 20 55 D0 + dec LevelDataPtrHi ; CPU:$CF9E PRG:0F9E C6 86 + lda #$00 ; CPU:$CFA0 PRG:0FA0 A9 00 + jsr $D055 ; CPU:$CFA2 PRG:0FA2 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFA5_OnZero_CFA5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFA5_OnZero_CFA5: + lda #$00 ; CPU:$CFA5 PRG:0FA5 A9 00 + sta Zp9C ; CPU:$CFA7 PRG:0FA7 85 9C + sec ; CPU:$CFA9 PRG:0FA9 38 + rts ; CPU:$CFAA PRG:0FAA 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFA5_OnZero_CFAB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFA5_OnZero_CFAB: + ldx PlayerPosX ; CPU:$CFAB PRG:0FAB A6 20 + inx ; CPU:$CFAD PRG:0FAD E8 + jmp $D23F ; CPU:$CFAE PRG:0FAE 4C 3F D2 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFB1_JumpNext_CFB1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFB1_JumpNext_CFB1: + lda ZpD0 ; CPU:$CFB1 PRG:0FB1 A5 D0 + bne Sub_CFB1_OnNonzero_CFBF ; CPU:$CFB3 PRG:0FB3 D0 0A + lda ZpC3 ; CPU:$CFB5 PRG:0FB5 A5 C3 + beq Sub_CFB1_OnZero_CFBC ; CPU:$CFB7 PRG:0FB7 F0 03 + lda Zp07 ; CPU:$CFB9 PRG:0FB9 A5 07 + rts ; CPU:$CFBB PRG:0FBB 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFB1_OnZero_CFBC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFB1_OnZero_CFBC: + lda GameplayFlags ; CPU:$CFBC PRG:0FBC A5 06 + rts ; CPU:$CFBE PRG:0FBE 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFB1_OnNonzero_CFBF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFB1_OnNonzero_CFBF: + lda ZpD1 ; CPU:$CFBF PRG:0FBF A5 D1 + beq Sub_CFB1_OnZero_CFC8 ; CPU:$CFC1 PRG:0FC1 F0 05 + lda ZpD2 ; CPU:$CFC3 PRG:0FC3 A5 D2 + dec ZpD1 ; CPU:$CFC5 PRG:0FC5 C6 D1 + rts ; CPU:$CFC7 PRG:0FC7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFB1_OnZero_CFC8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFB1_OnZero_CFC8: + ldy #$00 ; CPU:$CFC8 PRG:0FC8 A0 00 + lda (ZpCE),y ; CPU:$CFCA PRG:0FCA B1 CE + sta ZpD1 ; CPU:$CFCC PRG:0FCC 85 D1 + dec ZpD1 ; CPU:$CFCE PRG:0FCE C6 D1 + iny ; CPU:$CFD0 PRG:0FD0 C8 + lda (ZpCE),y ; CPU:$CFD1 PRG:0FD1 B1 CE + sta ZpD2 ; CPU:$CFD3 PRG:0FD3 85 D2 + jsr $CFD8 ; CPU:$CFD5 PRG:0FD5 20 D8 CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CFD8_CallNext_CFD8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFD8_CallNext_CFD8: + inc ZpCE ; CPU:$CFD8 PRG:0FD8 E6 CE + bne Sub_CFD8_OnNonzero_CFDE ; CPU:$CFDA PRG:0FDA D0 02 + inc ZpCF ; CPU:$CFDC PRG:0FDC E6 CF +; ----------------------------------------------------------------------------- +; Routine: Sub_CFD8_OnNonzero_CFDE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFD8_OnNonzero_CFDE: + rts ; CPU:$CFDE PRG:0FDE 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_CFDF_Return_CFDF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_CFDF_Return_CFDF: + lda Zp22 ; CPU:$CFDF PRG:0FDF A5 22 + cmp #$03 ; CPU:$CFE1 PRG:0FE1 C9 03 + bne Sub_D023_OnNonzero_D02A ; CPU:$CFE3 PRG:0FE3 D0 45 + lda Zp23 ; CPU:$CFE5 PRG:0FE5 A5 23 + cmp #$03 ; CPU:$CFE7 PRG:0FE7 C9 03 + bne Sub_D023_OnNonzero_D02A ; CPU:$CFE9 PRG:0FE9 D0 3F + ldy PlayerPosY ; CPU:$CFEB PRG:0FEB A4 21 + jsr $D2EF ; CPU:$CFED PRG:0FED 20 EF D2 + ldy PlayerPosX ; CPU:$CFF0 PRG:0FF0 A4 20 + lda (PlayerVelocity),y ; CPU:$CFF2 PRG:0FF2 B1 28 + cmp #$07 ; CPU:$CFF4 PRG:0FF4 C9 07 + bne Sub_D023_OnNonzero_D02A ; CPU:$CFF6 PRG:0FF6 D0 32 + lsr Zp94 ; CPU:$CFF8 PRG:0FF8 46 94 + dec Zp93 ; CPU:$CFFA PRG:0FFA C6 93 + inc ZpC4 ; CPU:$CFFC PRG:0FFC E6 C4 + ldy PlayerPosY ; CPU:$CFFE PRG:0FFE A4 21 + sty LevelDataPtrHi ; CPU:$D000 PRG:1000 84 86 + ldy PlayerPosX ; CPU:$D002 PRG:1002 A4 20 + sty LevelDataPtrLo ; CPU:$D004 PRG:1004 84 85 + lda #$00 ; CPU:$D006 PRG:1006 A9 00 + sta (PlayerVelocity),y ; CPU:$D008 PRG:1008 91 28 + lda #$00 ; CPU:$D00A PRG:100A A9 00 + jsr $D055 ; CPU:$D00C PRG:100C 20 55 D0 + ldx Zp93 ; CPU:$D00F PRG:100F A6 93 + beq Sub_D023_JoinBranchPaths_D023 ; CPU:$D011 PRG:1011 F0 10 + lda ZpDC ; CPU:$D013 PRG:1013 A5 DC + cmp #$01 ; CPU:$D015 PRG:1015 C9 01 + bne Sub_D023_JoinBranchPaths_D023 ; CPU:$D017 PRG:1017 D0 0A + lda LevelDataPtrHi ; CPU:$D019 PRG:1019 A5 86 + sta Zp74 ; CPU:$D01B PRG:101B 85 74 + lda LevelDataPtrLo ; CPU:$D01D PRG:101D A5 85 + sta Zp73 ; CPU:$D01F PRG:101F 85 73 + inc ZpDC ; CPU:$D021 PRG:1021 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Sub_D023_JoinBranchPaths_D023 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D023_JoinBranchPaths_D023: + ldx #$01 ; CPU:$D023 PRG:1023 A2 01 + stx ZpC9 ; CPU:$D025 PRG:1025 86 C9 + dex ; CPU:$D027 PRG:1027 CA + stx ZpCA ; CPU:$D028 PRG:1028 86 CA +; ----------------------------------------------------------------------------- +; Routine: Sub_D023_OnNonzero_D02A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D023_OnNonzero_D02A: + rts ; CPU:$D02A PRG:102A 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D02B_Return_D02B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D02B_Return_D02B: + txa ; CPU:$D02B PRG:102B 8A + pha ; CPU:$D02C PRG:102C 48 + lda $D049,x ; CPU:$D02D PRG:102D BD 49 D0 + jsr $D055 ; CPU:$D030 PRG:1030 20 55 D0 + pla ; CPU:$D033 PRG:1033 68 + tax ; CPU:$D034 PRG:1034 AA + lda $D03D,x ; CPU:$D035 PRG:1035 BD 3D D0 + inc LevelDataPtrHi ; CPU:$D038 PRG:1038 E6 86 + jmp $D055 ; CPU:$D03A PRG:103A 4C 55 D0 +; ---- data $D03D-$D054 (24 bytes) ---- +; referenced by `lda $D049,x` at $D02D (operand $D049 falls inside this region) +; referenced by `lda $D03D,x` at $D035 (operand $D03D falls inside this region) + .byte $0A, $0A, $0B, $0B, $0B, $0C, $0C, $0D, $0D, $0D, $0E, $0E, $0F, $0F, $10, $10 ; CPU:$D03D PRG:103D 0A 0A 0B 0B 0B 0C 0C 0D 0D 0D 0E 0E 0F 0F 10 10 + .byte $10, $11, $11, $12, $12, $12, $13, $13 ; CPU:$D04D PRG:104D 10 11 11 12 12 12 13 13 +; ----------------------------------------------------------------------------- +; Routine: Sub_D055_Entry_D055 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D055_Entry_D055: + pha ; CPU:$D055 PRG:1055 48 +; ----------------------------------------------------------------------------- +; Routine: Sub_D055_OnNonzero_D056 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D055_OnNonzero_D056: + lda NmiPathSelector ; CPU:$D056 PRG:1056 A5 10 + bne Sub_D055_OnNonzero_D056 ; CPU:$D058 PRG:1058 D0 FC + pla ; CPU:$D05A PRG:105A 68 + jsr $CA7C ; CPU:$D05B PRG:105B 20 7C CA + lda #$00 ; CPU:$D05E PRG:105E A9 00 + sta NmiSubPathSelector ; CPU:$D060 PRG:1060 85 11 + lda #$01 ; CPU:$D062 PRG:1062 A9 01 + sta NmiPathSelector ; CPU:$D064 PRG:1064 85 10 + rts ; CPU:$D066 PRG:1066 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D067_Return_D067 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D067_Return_D067: + inc Zp24 ; CPU:$D067 PRG:1067 E6 24 + cmp Zp24 ; CPU:$D069 PRG:1069 C5 24 + bcc Sub_D067_OnCarryClear_D070 ; CPU:$D06B PRG:106B 90 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_D067_OnCarryClear_D06D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D067_OnCarryClear_D06D: + sta Zp24 ; CPU:$D06D PRG:106D 85 24 + rts ; CPU:$D06F PRG:106F 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D067_OnCarryClear_D070 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D067_OnCarryClear_D070: + cpx Zp24 ; CPU:$D070 PRG:1070 E4 24 + bcc Sub_D067_OnCarryClear_D06D ; CPU:$D072 PRG:1072 90 F9 + rts ; CPU:$D074 PRG:1074 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D075_Return_D075 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D075_Return_D075: + jsr $D213 ; CPU:$D075 PRG:1075 20 13 D2 + jsr $D226 ; CPU:$D078 PRG:1078 20 26 D2 + jsr $D305 ; CPU:$D07B PRG:107B 20 05 D3 + beq Sub_D075_OnZero_D096 ; CPU:$D07E PRG:107E F0 16 + lda #$85 ; CPU:$D080 PRG:1080 A9 85 + sta APUPULSE2CTRL ; CPU:$D082 PRG:1082 8D 04 40 + lda #$84 ; CPU:$D085 PRG:1085 A9 84 + sta APUPULSE2SWEEP ; CPU:$D087 PRG:1087 8D 05 40 + lda ZpA0 ; CPU:$D08A PRG:108A A5 A0 + adc #$20 ; CPU:$D08C PRG:108C 69 20 + sta APUPULSE2TIMERLO ; CPU:$D08E PRG:108E 8D 06 40 + lda #$F0 ; CPU:$D091 PRG:1091 A9 F0 + sta APUPULSE2TIMERHI ; CPU:$D093 PRG:1093 8D 07 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_D075_OnZero_D096 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D075_OnZero_D096: + rts ; CPU:$D096 PRG:1096 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D097_Return_D097 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D097_Return_D097: + lda Zp04 ; CPU:$D097 PRG:1097 A5 04 + sta Zp1C ; CPU:$D099 PRG:1099 85 1C + lda #$00 ; CPU:$D09B PRG:109B A9 00 + sta ObjPtrHi ; CPU:$D09D PRG:109D 85 13 + lda PlayerPosX ; CPU:$D09F PRG:109F A5 20 + asl a ; CPU:$D0A1 PRG:10A1 0A + asl a ; CPU:$D0A2 PRG:10A2 0A + asl a ; CPU:$D0A3 PRG:10A3 0A + asl a ; CPU:$D0A4 PRG:10A4 0A + rol ObjPtrHi ; CPU:$D0A5 PRG:10A5 26 13 + ldx Zp22 ; CPU:$D0A7 PRG:10A7 A6 22 + clc ; CPU:$D0A9 PRG:10A9 18 + adc $D17F,x ; CPU:$D0AA PRG:10AA 7D 7F D1 + sta ObjPtrLo ; CPU:$D0AD PRG:10AD 85 12 + lda #$00 ; CPU:$D0AF PRG:10AF A9 00 + adc ObjPtrHi ; CPU:$D0B1 PRG:10B1 65 13 + sta ObjPtrHi ; CPU:$D0B3 PRG:10B3 85 13 + lda ObjPtrLo ; CPU:$D0B5 PRG:10B5 A5 12 + sec ; CPU:$D0B7 PRG:10B7 38 + sbc Zp04 ; CPU:$D0B8 PRG:10B8 E5 04 + sta Zp14 ; CPU:$D0BA PRG:10BA 85 14 + lda ObjPtrHi ; CPU:$D0BC PRG:10BC A5 13 + sbc #$00 ; CPU:$D0BE PRG:10BE E9 00 + cmp #$01 ; CPU:$D0C0 PRG:10C0 C9 01 + beq Sub_D097_JoinBranchPaths_D0E4 ; CPU:$D0C2 PRG:10C2 F0 20 + lda Zp14 ; CPU:$D0C4 PRG:10C4 A5 14 + cmp #$C2 ; CPU:$D0C6 PRG:10C6 C9 C2 + bcs Sub_D097_JoinBranchPaths_D0E4 ; CPU:$D0C8 PRG:10C8 B0 1A + cmp #$38 ; CPU:$D0CA PRG:10CA C9 38 + bcs Sub_D0F5_JoinBranchPaths_D0FB ; CPU:$D0CC PRG:10CC B0 2D + lda ZpA7 ; CPU:$D0CE PRG:10CE A5 A7 + cmp #$02 ; CPU:$D0D0 PRG:10D0 C9 02 + beq Sub_D0F5_JoinBranchPaths_D0FB ; CPU:$D0D2 PRG:10D2 F0 27 + lda ObjPtrLo ; CPU:$D0D4 PRG:10D4 A5 12 + sec ; CPU:$D0D6 PRG:10D6 38 + sbc #$38 ; CPU:$D0D7 PRG:10D7 E9 38 + bcs Sub_D0F5_JoinBranchPaths_D0F5 ; CPU:$D0D9 PRG:10D9 B0 1A + ldx ObjPtrHi ; CPU:$D0DB PRG:10DB A6 13 + bne Sub_D0F5_JoinBranchPaths_D0F5 ; CPU:$D0DD PRG:10DD D0 16 + lda #$00 ; CPU:$D0DF PRG:10DF A9 00 + jmp $D0F5 ; CPU:$D0E1 PRG:10E1 4C F5 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_D097_JoinBranchPaths_D0E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D097_JoinBranchPaths_D0E4: + lda ZpA7 ; CPU:$D0E4 PRG:10E4 A5 A7 + cmp #$02 ; CPU:$D0E6 PRG:10E6 C9 02 + beq Sub_D0F5_JoinBranchPaths_D0FB ; CPU:$D0E8 PRG:10E8 F0 11 + lda ObjPtrLo ; CPU:$D0EA PRG:10EA A5 12 + sec ; CPU:$D0EC PRG:10EC 38 + sbc #$C2 ; CPU:$D0ED PRG:10ED E9 C2 + cmp #$D8 ; CPU:$D0EF PRG:10EF C9 D8 + bcc Sub_D0F5_JoinBranchPaths_D0F5 ; CPU:$D0F1 PRG:10F1 90 02 + lda #$D8 ; CPU:$D0F3 PRG:10F3 A9 D8 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_JoinBranchPaths_D0F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_JoinBranchPaths_D0F5: + ldx Zp04 ; CPU:$D0F5 PRG:10F5 A6 04 + stx Zp1C ; CPU:$D0F7 PRG:10F7 86 1C + sta Zp04 ; CPU:$D0F9 PRG:10F9 85 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_JoinBranchPaths_D0FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_JoinBranchPaths_D0FB: + lda ObjPtrLo ; CPU:$D0FB PRG:10FB A5 12 + sec ; CPU:$D0FD PRG:10FD 38 + sbc Zp04 ; CPU:$D0FE PRG:10FE E5 04 + sta Zp18 ; CPU:$D100 PRG:1100 85 18 + lda PlayerPosY ; CPU:$D102 PRG:1102 A5 21 + asl a ; CPU:$D104 PRG:1104 0A + asl a ; CPU:$D105 PRG:1105 0A + asl a ; CPU:$D106 PRG:1106 0A + asl a ; CPU:$D107 PRG:1107 0A + ldx Zp23 ; CPU:$D108 PRG:1108 A6 23 + clc ; CPU:$D10A PRG:110A 18 + adc $D187,x ; CPU:$D10B PRG:110B 7D 87 D1 + sta Zp19 ; CPU:$D10E PRG:110E 85 19 + ldx #$00 ; CPU:$D110 PRG:1110 A2 00 + lda Zp25 ; CPU:$D112 PRG:1112 A5 25 + bmi Sub_D0F5_OnNegative_D118 ; CPU:$D114 PRG:1114 30 02 + ldx #$40 ; CPU:$D116 PRG:1116 A2 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_OnNegative_D118 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_OnNegative_D118: + stx Zp1B ; CPU:$D118 PRG:1118 86 1B + lda Zp24 ; CPU:$D11A PRG:111A A5 24 + asl a ; CPU:$D11C PRG:111C 0A + asl a ; CPU:$D11D PRG:111D 0A + sta Zp1A ; CPU:$D11E PRG:111E 85 1A + ldy #$00 ; CPU:$D120 PRG:1120 A0 00 + sty Zp52 ; CPU:$D122 PRG:1122 84 52 + jsr $D18F ; CPU:$D124 PRG:1124 20 8F D1 + jsr $DC04 ; CPU:$D127 PRG:1127 20 04 DC + lda Zp8D ; CPU:$D12A PRG:112A A5 8D + beq Sub_D0F5_OnZero_D153 ; CPU:$D12C PRG:112C F0 25 + lda LevelTimer ; CPU:$D12E PRG:112E A5 39 + pha ; CPU:$D130 PRG:1130 48 + ldx Zp8D ; CPU:$D131 PRG:1131 A6 8D + stx LevelTimer ; CPU:$D133 PRG:1133 86 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_OnNonzero_D135 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_OnNonzero_D135: + jsr $DBDE ; CPU:$D135 PRG:1135 20 DE DB + lda PlayerPosX ; CPU:$D138 PRG:1138 A5 20 + cmp EnemyPosX1 ; CPU:$D13A PRG:113A C5 32 + bne Sub_D0F5_OnNonzero_D146 ; CPU:$D13C PRG:113C D0 08 + lda PlayerPosY ; CPU:$D13E PRG:113E A5 21 + cmp EnemyPosY1 ; CPU:$D140 PRG:1140 C5 33 + bne Sub_D0F5_OnNonzero_D146 ; CPU:$D142 PRG:1142 D0 02 + inc Zp52 ; CPU:$D144 PRG:1144 E6 52 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_OnNonzero_D146 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_OnNonzero_D146: + dec LevelTimer ; CPU:$D146 PRG:1146 C6 39 + bne Sub_D0F5_OnNonzero_D135 ; CPU:$D148 PRG:1148 D0 EB + pla ; CPU:$D14A PRG:114A 68 + sta LevelTimer ; CPU:$D14B PRG:114B 85 39 + lda Zp52 ; CPU:$D14D PRG:114D A5 52 + beq Sub_D0F5_OnZero_D153 ; CPU:$D14F PRG:114F F0 02 + lsr Zp9A ; CPU:$D151 PRG:1151 46 9A +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_OnZero_D153 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_OnZero_D153: + lda ZpDC ; CPU:$D153 PRG:1153 A5 DC + cmp #$03 ; CPU:$D155 PRG:1155 C9 03 + bcc Sub_D0F5_JoinBranchPaths_D176 ; CPU:$D157 PRG:1157 90 1D + lda Zp73 ; CPU:$D159 PRG:1159 A5 73 + cmp PlayerPosX ; CPU:$D15B PRG:115B C5 20 + bne Sub_D0F5_JoinBranchPaths_D176 ; CPU:$D15D PRG:115D D0 17 + lda Zp74 ; CPU:$D15F PRG:115F A5 74 + cmp PlayerPosY ; CPU:$D161 PRG:1161 C5 21 + bne Sub_D0F5_JoinBranchPaths_D176 ; CPU:$D163 PRG:1163 D0 11 + jsr $CB9F ; CPU:$D165 PRG:1165 20 9F CB + ldx Zp75 ; CPU:$D168 PRG:1168 A6 75 + lda $D177,x ; CPU:$D16A PRG:116A BD 77 D1 + sta ZpC6 ; CPU:$D16D PRG:116D 85 C6 + lda #$00 ; CPU:$D16F PRG:116F A9 00 + sta ZpDC ; CPU:$D171 PRG:1171 85 DC + jsr $D023 ; CPU:$D173 PRG:1173 20 23 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_D0F5_JoinBranchPaths_D176 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D0F5_JoinBranchPaths_D176: + rts ; CPU:$D176 PRG:1176 60 +; ---- data $D177-$D18E (24 bytes) ---- +; referenced by `adc $D17F,x` at $D0AA (operand $D17F falls inside this region) +; referenced by `adc $D187,x` at $D10B (operand $D187 falls inside this region) +; referenced by `lda $D177,x` at $D16A (operand $D177 falls inside this region) +; referenced by `adc $D17F,x` at $DC3B (operand $D17F falls inside this region) +; referenced by `adc $D187,x` at $DC73 (operand $D187 falls inside this region) + .byte $01, $02, $04, $08, $0C, $10, $14, $19, $0A, $0C, $0E, $10, $12, $14, $16, $18 ; CPU:$D177 PRG:1177 01 02 04 08 0C 10 14 19 0A 0C 0E 10 12 14 16 18 + .byte $F9, $FB, $FD, $FF, $01, $03, $05, $07 ; CPU:$D187 PRG:1187 F9 FB FD FF 01 03 05 07 +; ----------------------------------------------------------------------------- +; Routine: Sub_D18F_Entry_D18F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D18F_Entry_D18F: + tya ; CPU:$D18F PRG:118F 98 + asl a ; CPU:$D190 PRG:1190 0A + asl a ; CPU:$D191 PRG:1191 0A + tay ; CPU:$D192 PRG:1192 A8 + txa ; CPU:$D193 PRG:1193 8A + and #$40 ; CPU:$D194 PRG:1194 29 40 + bne Sub_D18F_OnNonzero_D1A2 ; CPU:$D196 PRG:1196 D0 0A + jsr $D1AD ; CPU:$D198 PRG:1198 20 AD D1 + inc Zp1A ; CPU:$D19B PRG:119B E6 1A + inc Zp1A ; CPU:$D19D PRG:119D E6 1A + jmp $D1AD ; CPU:$D19F PRG:119F 4C AD D1 +; ----------------------------------------------------------------------------- +; Routine: Sub_D18F_OnNonzero_D1A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D18F_OnNonzero_D1A2: + inc Zp1A ; CPU:$D1A2 PRG:11A2 E6 1A + inc Zp1A ; CPU:$D1A4 PRG:11A4 E6 1A + jsr $D1AD ; CPU:$D1A6 PRG:11A6 20 AD D1 + dec Zp1A ; CPU:$D1A9 PRG:11A9 C6 1A + dec Zp1A ; CPU:$D1AB PRG:11AB C6 1A +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_DecrementAndContinue_D1AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_DecrementAndContinue_D1AD: + lda Zp1E ; CPU:$D1AD PRG:11AD A5 1E + beq Sub_D1AD_OnZero_D1B5 ; CPU:$D1AF PRG:11AF F0 04 + lda #$F8 ; CPU:$D1B1 PRG:11B1 A9 F8 + bne Sub_D1AD_OnNonzero_D1B7 ; CPU:$D1B3 PRG:11B3 D0 02 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_OnZero_D1B5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_OnZero_D1B5: + lda Zp19 ; CPU:$D1B5 PRG:11B5 A5 19 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_OnNonzero_D1B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_OnNonzero_D1B7: + sta $0700,y ; CPU:$D1B7 PRG:11B7 99 00 07 + lda Zp1A ; CPU:$D1BA PRG:11BA A5 1A + sta $0701,y ; CPU:$D1BC PRG:11BC 99 01 07 + lda Zp1B ; CPU:$D1BF PRG:11BF A5 1B + sta $0702,y ; CPU:$D1C1 PRG:11C1 99 02 07 + lda Zp18 ; CPU:$D1C4 PRG:11C4 A5 18 + sta $0703,y ; CPU:$D1C6 PRG:11C6 99 03 07 + lda Zp1E ; CPU:$D1C9 PRG:11C9 A5 1E + beq Sub_D1AD_OnZero_D1D1 ; CPU:$D1CB PRG:11CB F0 04 + lda #$F8 ; CPU:$D1CD PRG:11CD A9 F8 + bne Sub_D1AD_JoinBranchPaths_D1DA ; CPU:$D1CF PRG:11CF D0 09 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_OnZero_D1D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_OnZero_D1D1: + lda Zp19 ; CPU:$D1D1 PRG:11D1 A5 19 + cmp #$F8 ; CPU:$D1D3 PRG:11D3 C9 F8 + beq Sub_D1AD_JoinBranchPaths_D1DA ; CPU:$D1D5 PRG:11D5 F0 03 + clc ; CPU:$D1D7 PRG:11D7 18 + adc #$08 ; CPU:$D1D8 PRG:11D8 69 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_JoinBranchPaths_D1DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_JoinBranchPaths_D1DA: + sta $0704,y ; CPU:$D1DA PRG:11DA 99 04 07 + lda Zp1A ; CPU:$D1DD PRG:11DD A5 1A + clc ; CPU:$D1DF PRG:11DF 18 + adc #$01 ; CPU:$D1E0 PRG:11E0 69 01 + sta $0705,y ; CPU:$D1E2 PRG:11E2 99 05 07 + lda Zp1B ; CPU:$D1E5 PRG:11E5 A5 1B + sta $0706,y ; CPU:$D1E7 PRG:11E7 99 06 07 + lda Zp18 ; CPU:$D1EA PRG:11EA A5 18 + sta $0707,y ; CPU:$D1EC PRG:11EC 99 07 07 + tya ; CPU:$D1EF PRG:11EF 98 + clc ; CPU:$D1F0 PRG:11F0 18 + adc #$08 ; CPU:$D1F1 PRG:11F1 69 08 + tay ; CPU:$D1F3 PRG:11F3 A8 + lda Zp1E ; CPU:$D1F4 PRG:11F4 A5 1E + bne Sub_D1AD_OnNonzero_D207 ; CPU:$D1F6 PRG:11F6 D0 0F + lda Zp18 ; CPU:$D1F8 PRG:11F8 A5 18 + clc ; CPU:$D1FA PRG:11FA 18 + adc #$08 ; CPU:$D1FB PRG:11FB 69 08 + bcs Sub_D1AD_OnCarrySet_D202 ; CPU:$D1FD PRG:11FD B0 03 + sta Zp18 ; CPU:$D1FF PRG:11FF 85 18 + rts ; CPU:$D201 PRG:1201 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_OnCarrySet_D202 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_OnCarrySet_D202: + lda #$F8 ; CPU:$D202 PRG:1202 A9 F8 + sta Zp19 ; CPU:$D204 PRG:1204 85 19 + rts ; CPU:$D206 PRG:1206 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D1AD_OnNonzero_D207 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D1AD_OnNonzero_D207: + lda Zp18 ; CPU:$D207 PRG:1207 A5 18 + clc ; CPU:$D209 PRG:1209 18 + adc #$08 ; CPU:$D20A PRG:120A 69 08 + sta Zp18 ; CPU:$D20C PRG:120C 85 18 + lda #$00 ; CPU:$D20E PRG:120E A9 00 + sta Zp1E ; CPU:$D210 PRG:1210 85 1E + rts ; CPU:$D212 PRG:1212 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D213_Return_D213 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D213_Return_D213: + lda Zp22 ; CPU:$D213 PRG:1213 A5 22 + cmp #$03 ; CPU:$D215 PRG:1215 C9 03 + bcc Sub_D213_OnCarryClear_D220 ; CPU:$D217 PRG:1217 90 07 + beq Sub_D213_OnZero_D225 ; CPU:$D219 PRG:1219 F0 0A + dec Zp22 ; CPU:$D21B PRG:121B C6 22 + jmp $CFDF ; CPU:$D21D PRG:121D 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_D213_OnCarryClear_D220 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D213_OnCarryClear_D220: + inc Zp22 ; CPU:$D220 PRG:1220 E6 22 + jmp $CFDF ; CPU:$D222 PRG:1222 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_D213_OnZero_D225 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D213_OnZero_D225: + rts ; CPU:$D225 PRG:1225 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D226_Return_D226 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D226_Return_D226: + lda Zp23 ; CPU:$D226 PRG:1226 A5 23 + cmp #$03 ; CPU:$D228 PRG:1228 C9 03 + bcc Sub_D226_OnCarryClear_D233 ; CPU:$D22A PRG:122A 90 07 + beq Sub_D226_OnZero_D238 ; CPU:$D22C PRG:122C F0 0A + dec Zp23 ; CPU:$D22E PRG:122E C6 23 + jmp $CFDF ; CPU:$D230 PRG:1230 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_D226_OnCarryClear_D233 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D226_OnCarryClear_D233: + inc Zp23 ; CPU:$D233 PRG:1233 E6 23 + jmp $CFDF ; CPU:$D235 PRG:1235 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Sub_D226_OnZero_D238 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D226_OnZero_D238: + rts ; CPU:$D238 PRG:1238 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D239_Return_D239 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D239_Return_D239: + lda $C688,y ; CPU:$D239 PRG:1239 B9 88 C6 + jmp $C81D ; CPU:$D23C PRG:123C 4C 1D C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_D23F_JumpNext_D23F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D23F_JumpNext_D23F: + lda #$00 ; CPU:$D23F PRG:123F A9 00 + sta Zp9C ; CPU:$D241 PRG:1241 85 9C + ldy PlayerPosY ; CPU:$D243 PRG:1243 A4 21 + iny ; CPU:$D245 PRG:1245 C8 + stx LevelDataPtrLo ; CPU:$D246 PRG:1246 86 85 + sty LevelDataPtrHi ; CPU:$D248 PRG:1248 84 86 + jsr $D2FA ; CPU:$D24A PRG:124A 20 FA D2 + lda #$00 ; CPU:$D24D PRG:124D A9 00 + ldy LevelDataPtrLo ; CPU:$D24F PRG:124F A4 85 + sta (PlayerState),y ; CPU:$D251 PRG:1251 91 26 + lda #$00 ; CPU:$D253 PRG:1253 A9 00 + jsr $D055 ; CPU:$D255 PRG:1255 20 55 D0 + dec LevelDataPtrHi ; CPU:$D258 PRG:1258 C6 86 + lda #$00 ; CPU:$D25A PRG:125A A9 00 + jsr $D055 ; CPU:$D25C PRG:125C 20 55 D0 + inc LevelDataPtrHi ; CPU:$D25F PRG:125F E6 86 + ldx #$FF ; CPU:$D261 PRG:1261 A2 FF +; ----------------------------------------------------------------------------- +; Routine: Sub_D23F_OnNonzero_D263 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D23F_OnNonzero_D263: + inx ; CPU:$D263 PRG:1263 E8 + cpx #$1E ; CPU:$D264 PRG:1264 E0 1E + beq Sub_D23F_OnZero_D27D ; CPU:$D266 PRG:1266 F0 15 + lda $06E0,x ; CPU:$D268 PRG:1268 BD E0 06 + bne Sub_D23F_OnNonzero_D263 ; CPU:$D26B PRG:126B D0 F6 + lda LevelDataPtrHi ; CPU:$D26D PRG:126D A5 86 + sta $06C0,x ; CPU:$D26F PRG:126F 9D C0 06 + lda LevelDataPtrLo ; CPU:$D272 PRG:1272 A5 85 + sta $06A0,x ; CPU:$D274 PRG:1274 9D A0 06 + lda #$B4 ; CPU:$D277 PRG:1277 A9 B4 + sta $06E0,x ; CPU:$D279 PRG:1279 9D E0 06 + sec ; CPU:$D27C PRG:127C 38 +; ----------------------------------------------------------------------------- +; Routine: Sub_D23F_OnZero_D27D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D23F_OnZero_D27D: + rts ; CPU:$D27D PRG:127D 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D27E_Return_D27E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D27E_Return_D27E: + inc ZpD8 ; CPU:$D27E PRG:127E E6 D8 + lda ZpD8 ; CPU:$D280 PRG:1280 A5 D8 + cmp #$0A ; CPU:$D282 PRG:1282 C9 0A + bne Sub_D27E_OnNonzero_D288 ; CPU:$D284 PRG:1284 D0 02 + lda #$00 ; CPU:$D286 PRG:1286 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_D27E_OnNonzero_D288 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D27E_OnNonzero_D288: + sta ZpD8 ; CPU:$D288 PRG:1288 85 D8 + beq Sub_D291_OnZero_D291 ; CPU:$D28A PRG:128A F0 05 + cmp #$05 ; CPU:$D28C PRG:128C C9 05 + beq Sub_D2AB_OnZero_D2AB ; CPU:$D28E PRG:128E F0 1B + rts ; CPU:$D290 PRG:1290 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D291_OnZero_D291 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D291_OnZero_D291: + lda #$80 ; CPU:$D291 PRG:1291 A9 80 + ldx #$12 ; CPU:$D293 PRG:1293 A2 12 +; ----------------------------------------------------------------------------- +; Routine: Sub_D291_OnNonzero_D295 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D291_OnNonzero_D295: + jsr $D305 ; CPU:$D295 PRG:1295 20 05 D3 + beq Sub_D291_OnZero_D2AA ; CPU:$D298 PRG:1298 F0 10 + ldy #$80 ; CPU:$D29A PRG:129A A0 80 + sty APUPULSE2CTRL ; CPU:$D29C PRG:129C 8C 04 40 + ldy #$00 ; CPU:$D29F PRG:129F A0 00 + sty APUPULSE2SWEEP ; CPU:$D2A1 PRG:12A1 8C 05 40 + sta APUPULSE2TIMERLO ; CPU:$D2A4 PRG:12A4 8D 06 40 + stx APUPULSE2TIMERHI ; CPU:$D2A7 PRG:12A7 8E 07 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_D291_OnZero_D2AA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D291_OnZero_D2AA: + rts ; CPU:$D2AA PRG:12AA 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2AB_OnZero_D2AB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2AB_OnZero_D2AB: + lda #$AB ; CPU:$D2AB PRG:12AB A9 AB + ldx #$11 ; CPU:$D2AD PRG:12AD A2 11 + bne Sub_D291_OnNonzero_D295 ; CPU:$D2AF PRG:12AF D0 E4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2B1_Continue_D2B1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2B1_Continue_D2B1: + inc ZpD9 ; CPU:$D2B1 PRG:12B1 E6 D9 + lda ZpD9 ; CPU:$D2B3 PRG:12B3 A5 D9 + cmp #$08 ; CPU:$D2B5 PRG:12B5 C9 08 + bne Sub_D2B1_OnNonzero_D2BB ; CPU:$D2B7 PRG:12B7 D0 02 + lda #$00 ; CPU:$D2B9 PRG:12B9 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2B1_OnNonzero_D2BB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2B1_OnNonzero_D2BB: + sta ZpD9 ; CPU:$D2BB PRG:12BB 85 D9 + beq Sub_D2C4_OnZero_D2C4 ; CPU:$D2BD PRG:12BD F0 05 + cmp #$04 ; CPU:$D2BF PRG:12BF C9 04 + beq Sub_D2C4_OnZero_D2CA ; CPU:$D2C1 PRG:12C1 F0 07 + rts ; CPU:$D2C3 PRG:12C3 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2C4_OnZero_D2C4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2C4_OnZero_D2C4: + lda #$A0 ; CPU:$D2C4 PRG:12C4 A9 A0 + ldx #$10 ; CPU:$D2C6 PRG:12C6 A2 10 + bne Sub_D291_OnNonzero_D295 ; CPU:$D2C8 PRG:12C8 D0 CB +; ----------------------------------------------------------------------------- +; Routine: Sub_D2C4_OnZero_D2CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2C4_OnZero_D2CA: + lda #$50 ; CPU:$D2CA PRG:12CA A9 50 + ldx #$10 ; CPU:$D2CC PRG:12CC A2 10 + bne Sub_D291_OnNonzero_D295 ; CPU:$D2CE PRG:12CE D0 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2D0_Continue_D2D0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2D0_Continue_D2D0: + inc ZpDA ; CPU:$D2D0 PRG:12D0 E6 DA + lda ZpDA ; CPU:$D2D2 PRG:12D2 A5 DA + cmp #$08 ; CPU:$D2D4 PRG:12D4 C9 08 + bne Sub_D2D0_OnNonzero_D2DA ; CPU:$D2D6 PRG:12D6 D0 02 + lda #$00 ; CPU:$D2D8 PRG:12D8 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2D0_OnNonzero_D2DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2D0_OnNonzero_D2DA: + sta ZpDA ; CPU:$D2DA PRG:12DA 85 DA + beq Sub_D2E3_OnZero_D2E3 ; CPU:$D2DC PRG:12DC F0 05 + cmp #$04 ; CPU:$D2DE PRG:12DE C9 04 + beq CheckBallPocket ; CPU:$D2E0 PRG:12E0 F0 07 + rts ; CPU:$D2E2 PRG:12E2 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2E3_OnZero_D2E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2E3_OnZero_D2E3: + lda #$28 ; CPU:$D2E3 PRG:12E3 A9 28 + ldx #$10 ; CPU:$D2E5 PRG:12E5 A2 10 + bne Sub_D291_OnNonzero_D295 ; CPU:$D2E7 PRG:12E7 D0 AC +; ----------------------------------------------------------------------------- +; Routine: CheckBallPocket +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +CheckBallPocket: + lda #$14 ; CPU:$D2E9 PRG:12E9 A9 14 + ldx #$10 ; CPU:$D2EB PRG:12EB A2 10 + bne Sub_D291_OnNonzero_D295 ; CPU:$D2ED PRG:12ED D0 A6 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2EF_Continue_D2EF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2EF_Continue_D2EF: + lda $C688,y ; CPU:$D2EF PRG:12EF B9 88 C6 + sta PlayerVelocity ; CPU:$D2F2 PRG:12F2 85 28 + lda $C6A4,y ; CPU:$D2F4 PRG:12F4 B9 A4 C6 + sta Zp29 ; CPU:$D2F7 PRG:12F7 85 29 + rts ; CPU:$D2F9 PRG:12F9 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D2FA_Return_D2FA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D2FA_Return_D2FA: + lda $C688,y ; CPU:$D2FA PRG:12FA B9 88 C6 + sta PlayerState ; CPU:$D2FD PRG:12FD 85 26 + lda $C696,y ; CPU:$D2FF PRG:12FF B9 96 C6 + sta Zp27 ; CPU:$D302 PRG:1302 85 27 + rts ; CPU:$D304 PRG:1304 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D305_Return_D305 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D305_Return_D305: + ldy ZpBE ; CPU:$D305 PRG:1305 A4 BE + cpy #$05 ; CPU:$D307 PRG:1307 C0 05 + rts ; CPU:$D309 PRG:1309 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D30A_Return_D30A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D30A_Return_D30A: + ldy PlayerPosX ; CPU:$D30A PRG:130A A4 20 + lda (PlayerState),y ; CPU:$D30C PRG:130C B1 26 + rts ; CPU:$D30E PRG:130E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D30F_Return_D30F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D30F_Return_D30F: + jsr $D415 ; CPU:$D30F PRG:130F 20 15 D4 + inc Zp53 ; CPU:$D312 PRG:1312 E6 53 + lda Zp53 ; CPU:$D314 PRG:1314 A5 53 + cmp #$1C ; CPU:$D316 PRG:1316 C9 1C + bcc Sub_D30F_OnCarryClear_D31E ; CPU:$D318 PRG:1318 90 04 + lda #$00 ; CPU:$D31A PRG:131A A9 00 + sta Zp53 ; CPU:$D31C PRG:131C 85 53 +; ----------------------------------------------------------------------------- +; Routine: Sub_D30F_OnCarryClear_D31E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D30F_OnCarryClear_D31E: + ldx #$1E ; CPU:$D31E PRG:131E A2 1E +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_LoadIndexAndContinue_D320 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_LoadIndexAndContinue_D320: + lda $06E0,x ; CPU:$D320 PRG:1320 BD E0 06 + stx Zp88 ; CPU:$D323 PRG:1323 86 88 + beq Sub_D320_JoinBranchPaths_D346 ; CPU:$D325 PRG:1325 F0 1F + dec $06E0,x ; CPU:$D327 PRG:1327 DE E0 06 + beq Sub_D320_OnZero_D361 ; CPU:$D32A PRG:132A F0 35 + lda $06A0,x ; CPU:$D32C PRG:132C BD A0 06 + sta LevelDataPtrLo ; CPU:$D32F PRG:132F 85 85 + lda $06C0,x ; CPU:$D331 PRG:1331 BD C0 06 + sta LevelDataPtrHi ; CPU:$D334 PRG:1334 85 86 + lda $06E0,x ; CPU:$D336 PRG:1336 BD E0 06 + cmp #$28 ; CPU:$D339 PRG:1339 C9 28 + bne Sub_D320_OnNonzero_D349 ; CPU:$D33B PRG:133B D0 0C + lda #$14 ; CPU:$D33D PRG:133D A9 14 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D33F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D33F: + jsr $D055 ; CPU:$D33F PRG:133F 20 55 D0 + ldx LevelDataPtrLo ; CPU:$D342 PRG:1342 A6 85 + ldy LevelDataPtrHi ; CPU:$D344 PRG:1344 A4 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_JoinBranchPaths_D346 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_JoinBranchPaths_D346: + jmp $D40D ; CPU:$D346 PRG:1346 4C 0D D4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D349 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D349: + cmp #$1E ; CPU:$D349 PRG:1349 C9 1E + bne Sub_D320_OnNonzero_D351 ; CPU:$D34B PRG:134B D0 04 + lda #$15 ; CPU:$D34D PRG:134D A9 15 + bne Sub_D320_OnNonzero_D33F ; CPU:$D34F PRG:134F D0 EE +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D351 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D351: + cmp #$14 ; CPU:$D351 PRG:1351 C9 14 + bne CheckBallPosition ; CPU:$D353 PRG:1353 D0 04 + lda #$16 ; CPU:$D355 PRG:1355 A9 16 + bne Sub_D320_OnNonzero_D33F ; CPU:$D357 PRG:1357 D0 E6 +; ----------------------------------------------------------------------------- +; Routine: CheckBallPosition +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +CheckBallPosition: + cmp #$0A ; CPU:$D359 PRG:1359 C9 0A + bne Sub_D320_JoinBranchPaths_D346 ; CPU:$D35B PRG:135B D0 E9 + lda #$17 ; CPU:$D35D PRG:135D A9 17 + bne Sub_D320_OnNonzero_D33F ; CPU:$D35F PRG:135F D0 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnZero_D361 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnZero_D361: + ldx Zp88 ; CPU:$D361 PRG:1361 A6 88 + ldy $06C0,x ; CPU:$D363 PRG:1363 BC C0 06 + sty LevelDataPtrHi ; CPU:$D366 PRG:1366 84 86 + jsr $C81D ; CPU:$D368 PRG:1368 20 1D C8 + ldy $06A0,x ; CPU:$D36B PRG:136B BC A0 06 + sty LevelDataPtrLo ; CPU:$D36E PRG:136E 84 85 + lda (PlayerState),y ; CPU:$D370 PRG:1370 B1 26 + cmp #$00 ; CPU:$D372 PRG:1372 C9 00 + bne Sub_D320_OnNonzero_D379 ; CPU:$D374 PRG:1374 D0 03 + jmp $D404 ; CPU:$D376 PRG:1376 4C 04 D4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D379 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D379: + cmp #$09 ; CPU:$D379 PRG:1379 C9 09 + bne Sub_D320_OnNonzero_D37F ; CPU:$D37B PRG:137B D0 02 + lsr Zp9A ; CPU:$D37D PRG:137D 46 9A +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D37F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D37F: + cmp #$08 ; CPU:$D37F PRG:137F C9 08 + beq Sub_D320_OnZero_D38C ; CPU:$D381 PRG:1381 F0 09 + cmp #$07 ; CPU:$D383 PRG:1383 C9 07 + bne Sub_D320_OnNonzero_D389 ; CPU:$D385 PRG:1385 D0 02 + dec Zp93 ; CPU:$D387 PRG:1387 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D389 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D389: + jmp $D404 ; CPU:$D389 PRG:1389 4C 04 D4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnZero_D38C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnZero_D38C: + lda #$01 ; CPU:$D38C PRG:138C A9 01 + sta (PlayerState),y ; CPU:$D38E PRG:138E 91 26 + sta (PlayerVelocity),y ; CPU:$D390 PRG:1390 91 28 + jsr $D055 ; CPU:$D392 PRG:1392 20 55 D0 + inc ZpC5 ; CPU:$D395 PRG:1395 E6 C5 + lda ZpC5 ; CPU:$D397 PRG:1397 A5 C5 + cmp #$05 ; CPU:$D399 PRG:1399 C9 05 + bcc Sub_D320_JoinBranchPaths_D3A3 ; CPU:$D39B PRG:139B 90 06 + lda ZpDC ; CPU:$D39D PRG:139D A5 DC + bne Sub_D320_JoinBranchPaths_D3A3 ; CPU:$D39F PRG:139F D0 02 + inc ZpDC ; CPU:$D3A1 PRG:13A1 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_JoinBranchPaths_D3A3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_JoinBranchPaths_D3A3: + ldx Zp8D ; CPU:$D3A3 PRG:13A3 A6 8D +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D3A5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D3A5: + lda $0660,x ; CPU:$D3A5 PRG:13A5 BD 60 06 + cmp LevelDataPtrLo ; CPU:$D3A8 PRG:13A8 C5 85 + bne Sub_D320_OnNonzero_D401 ; CPU:$D3AA PRG:13AA D0 55 + lda $0668,x ; CPU:$D3AC PRG:13AC BD 68 06 + cmp LevelDataPtrHi ; CPU:$D3AF PRG:13AF C5 86 + bne Sub_D320_OnNonzero_D401 ; CPU:$D3B1 PRG:13B1 D0 4E + lda $0670,x ; CPU:$D3B3 PRG:13B3 BD 70 06 + bpl Sub_D320_OnNonnegative_D3BA ; CPU:$D3B6 PRG:13B6 10 02 + dec Zp93 ; CPU:$D3B8 PRG:13B8 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonnegative_D3BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonnegative_D3BA: + lda #$7F ; CPU:$D3BA PRG:13BA A9 7F + sta $0670,x ; CPU:$D3BC PRG:13BC 9D 70 06 + stx LevelTimer ; CPU:$D3BF PRG:13BF 86 39 + ldx LevelTimer ; CPU:$D3C1 PRG:13C1 A6 39 + ldy #$01 ; CPU:$D3C3 PRG:13C3 A0 01 + sty LevelDataPtrHi ; CPU:$D3C5 PRG:13C5 84 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnZero_D3C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnZero_D3C7: + ldy LevelDataPtrHi ; CPU:$D3C7 PRG:13C7 A4 86 + jsr $D2EF ; CPU:$D3C9 PRG:13C9 20 EF D2 + ldy Zp53 ; CPU:$D3CC PRG:13CC A4 53 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnCarryClear_D3CE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnCarryClear_D3CE: + lda (PlayerVelocity),y ; CPU:$D3CE PRG:13CE B1 28 + cmp #$00 ; CPU:$D3D0 PRG:13D0 C9 00 + beq Sub_D320_OnZero_D3E4 ; CPU:$D3D2 PRG:13D2 F0 10 + inc Zp53 ; CPU:$D3D4 PRG:13D4 E6 53 + ldy Zp53 ; CPU:$D3D6 PRG:13D6 A4 53 + cpy #$1C ; CPU:$D3D8 PRG:13D8 C0 1C + bcc Sub_D320_OnCarryClear_D3CE ; CPU:$D3DA PRG:13DA 90 F2 + inc LevelDataPtrHi ; CPU:$D3DC PRG:13DC E6 86 + lda #$00 ; CPU:$D3DE PRG:13DE A9 00 + sta Zp53 ; CPU:$D3E0 PRG:13E0 85 53 + beq Sub_D320_OnZero_D3C7 ; CPU:$D3E2 PRG:13E2 F0 E3 +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnZero_D3E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnZero_D3E4: + tya ; CPU:$D3E4 PRG:13E4 98 + sta $0660,x ; CPU:$D3E5 PRG:13E5 9D 60 06 + lda LevelDataPtrHi ; CPU:$D3E8 PRG:13E8 A5 86 + sta $0668,x ; CPU:$D3EA PRG:13EA 9D 68 06 + lda #$14 ; CPU:$D3ED PRG:13ED A9 14 + sta $0698,x ; CPU:$D3EF PRG:13EF 9D 98 06 + lda #$02 ; CPU:$D3F2 PRG:13F2 A9 02 + sta $0680,x ; CPU:$D3F4 PRG:13F4 9D 80 06 + sta $0678,x ; CPU:$D3F7 PRG:13F7 9D 78 06 + lda #$2C ; CPU:$D3FA PRG:13FA A9 2C + sta $0688,x ; CPU:$D3FC PRG:13FC 9D 88 06 + bne Sub_D40D_OnNonzero_D40D ; CPU:$D3FF PRG:13FF D0 0C +; ----------------------------------------------------------------------------- +; Routine: Sub_D320_OnNonzero_D401 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D320_OnNonzero_D401: + dex ; CPU:$D401 PRG:1401 CA + bne Sub_D320_OnNonzero_D3A5 ; CPU:$D402 PRG:1402 D0 A1 +; ----------------------------------------------------------------------------- +; Routine: Sub_D404_Continue_D404 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D404_Continue_D404: + lda #$01 ; CPU:$D404 PRG:1404 A9 01 + sta (PlayerState),y ; CPU:$D406 PRG:1406 91 26 + lda #$01 ; CPU:$D408 PRG:1408 A9 01 + jsr $D055 ; CPU:$D40A PRG:140A 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_D40D_OnNonzero_D40D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D40D_OnNonzero_D40D: + ldx Zp88 ; CPU:$D40D PRG:140D A6 88 + dex ; CPU:$D40F PRG:140F CA + bmi Sub_D46E_JoinBranchPaths_D476 ; CPU:$D410 PRG:1410 30 64 + jmp $D320 ; CPU:$D412 PRG:1412 4C 20 D3 +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_JumpNext_D415 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_JumpNext_D415: + ldx Zp8D ; CPU:$D415 PRG:1415 A6 8D + beq Sub_D46E_JoinBranchPaths_D476 ; CPU:$D417 PRG:1417 F0 5D + lda LevelTimer ; CPU:$D419 PRG:1419 A5 39 + pha ; CPU:$D41B PRG:141B 48 +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_OnNonzero_D41C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_OnNonzero_D41C: + lda $0698,x ; CPU:$D41C PRG:141C BD 98 06 + beq Sub_D46E_JoinBranchPaths_D470 ; CPU:$D41F PRG:141F F0 4F + stx LevelTimer ; CPU:$D421 PRG:1421 86 39 + lda #$7F ; CPU:$D423 PRG:1423 A9 7F + sta $0670,x ; CPU:$D425 PRG:1425 9D 70 06 + lda $0660,x ; CPU:$D428 PRG:1428 BD 60 06 + sta LevelDataPtrLo ; CPU:$D42B PRG:142B 85 85 + lda $0668,x ; CPU:$D42D PRG:142D BD 68 06 + sta LevelDataPtrHi ; CPU:$D430 PRG:1430 85 86 + dec $0698,x ; CPU:$D432 PRG:1432 DE 98 06 + beq Sub_D46E_OnZero_D477 ; CPU:$D435 PRG:1435 F0 40 + lda $0698,x ; CPU:$D437 PRG:1437 BD 98 06 + cmp #$13 ; CPU:$D43A PRG:143A C9 13 + bcc Sub_D415_OnCarryClear_D45A ; CPU:$D43C PRG:143C 90 1C + lda #$2C ; CPU:$D43E PRG:143E A9 2C +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_OnNonzero_D440 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_OnNonzero_D440: + sta EnemyPosX2 ; CPU:$D440 PRG:1440 85 34 + lda #$FF ; CPU:$D442 PRG:1442 A9 FF + sta EnemyPosY2 ; CPU:$D444 PRG:1444 85 35 + lda LevelDataPtrHi ; CPU:$D446 PRG:1446 A5 86 + sta EnemyPosY1 ; CPU:$D448 PRG:1448 85 33 + lda LevelDataPtrLo ; CPU:$D44A PRG:144A A5 85 + sta EnemyPosX1 ; CPU:$D44C PRG:144C 85 32 + lda #$03 ; CPU:$D44E PRG:144E A9 03 + sta Zp37 ; CPU:$D450 PRG:1450 85 37 + sta Zp38 ; CPU:$D452 PRG:1452 85 38 + jsr $DC93 ; CPU:$D454 PRG:1454 20 93 DC + jmp $D46E ; CPU:$D457 PRG:1457 4C 6E D4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_OnCarryClear_D45A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_OnCarryClear_D45A: + cmp #$10 ; CPU:$D45A PRG:145A C9 10 + bcc Sub_D415_OnCarryClear_D462 ; CPU:$D45C PRG:145C 90 04 + lda #$2D ; CPU:$D45E PRG:145E A9 2D + bne Sub_D415_OnNonzero_D440 ; CPU:$D460 PRG:1460 D0 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_OnCarryClear_D462 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_OnCarryClear_D462: + cmp #$0D ; CPU:$D462 PRG:1462 C9 0D + bcc Sub_D415_OnCarryClear_D46A ; CPU:$D464 PRG:1464 90 04 + lda #$2E ; CPU:$D466 PRG:1466 A9 2E + bne Sub_D415_OnNonzero_D440 ; CPU:$D468 PRG:1468 D0 D6 +; ----------------------------------------------------------------------------- +; Routine: Sub_D415_OnCarryClear_D46A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D415_OnCarryClear_D46A: + lda #$2F ; CPU:$D46A PRG:146A A9 2F + bne Sub_D415_OnNonzero_D440 ; CPU:$D46C PRG:146C D0 D2 +; ----------------------------------------------------------------------------- +; Routine: Sub_D46E_Continue_D46E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D46E_Continue_D46E: + ldx LevelTimer ; CPU:$D46E PRG:146E A6 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_D46E_JoinBranchPaths_D470 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D46E_JoinBranchPaths_D470: + dex ; CPU:$D470 PRG:1470 CA + bne Sub_D415_OnNonzero_D41C ; CPU:$D471 PRG:1471 D0 A9 + pla ; CPU:$D473 PRG:1473 68 + sta LevelTimer ; CPU:$D474 PRG:1474 85 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_D46E_JoinBranchPaths_D476 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D46E_JoinBranchPaths_D476: + rts ; CPU:$D476 PRG:1476 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D46E_OnZero_D477 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D46E_OnZero_D477: + ldy LevelDataPtrHi ; CPU:$D477 PRG:1477 A4 86 + jsr $D2FA ; CPU:$D479 PRG:1479 20 FA D2 + ldx LevelTimer ; CPU:$D47C PRG:147C A6 39 + inc $0698,x ; CPU:$D47E PRG:147E FE 98 06 + ldy LevelDataPtrLo ; CPU:$D481 PRG:1481 A4 85 + lda (PlayerState),y ; CPU:$D483 PRG:1483 B1 26 + bne Sub_D46E_JoinBranchPaths_D470 ; CPU:$D485 PRG:1485 D0 E9 + lda #$08 ; CPU:$D487 PRG:1487 A9 08 + sta (PlayerState),y ; CPU:$D489 PRG:1489 91 26 + lda #$00 ; CPU:$D48B PRG:148B A9 00 + ldx LevelTimer ; CPU:$D48D PRG:148D A6 39 + sta $0670,x ; CPU:$D48F PRG:148F 9D 70 06 + sta $0698,x ; CPU:$D492 PRG:1492 9D 98 06 + lda #$1C ; CPU:$D495 PRG:1495 A9 1C + sta $0688,x ; CPU:$D497 PRG:1497 9D 88 06 + bne Sub_D46E_JoinBranchPaths_D470 ; CPU:$D49A PRG:149A D0 D4 +; ----------------------------------------------------------------------------- +; Routine: Sub_D49C_Continue_D49C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D49C_Continue_D49C: + ldx Zp8D ; CPU:$D49C PRG:149C A6 8D + beq Sub_D49C_OnZero_D4C0 ; CPU:$D49E PRG:149E F0 20 + inc Zp64 ; CPU:$D4A0 PRG:14A0 E6 64 + ldy Zp64 ; CPU:$D4A2 PRG:14A2 A4 64 + cpy #$03 ; CPU:$D4A4 PRG:14A4 C0 03 + bcc Sub_D49C_OnCarryClear_D4AC ; CPU:$D4A6 PRG:14A6 90 04 + ldy #$00 ; CPU:$D4A8 PRG:14A8 A0 00 + sty Zp64 ; CPU:$D4AA PRG:14AA 84 64 +; ----------------------------------------------------------------------------- +; Routine: Sub_D49C_OnCarryClear_D4AC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D49C_OnCarryClear_D4AC: + lda a:Zp60,y ; CPU:$D4AC PRG:14AC B9 60 00 + sta Zp63 ; CPU:$D4AF PRG:14AF 85 63 +; ----------------------------------------------------------------------------- +; Routine: Sub_D49C_OnNonzero_D4B1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D49C_OnNonzero_D4B1: + lsr Zp63 ; CPU:$D4B1 PRG:14B1 46 63 + bcc Sub_D49C_OnCarryClear_D4BC ; CPU:$D4B3 PRG:14B3 90 07 + jsr $D4C1 ; CPU:$D4B5 PRG:14B5 20 C1 D4 + lda Zp9A ; CPU:$D4B8 PRG:14B8 A5 9A + beq Sub_D49C_OnZero_D4C0 ; CPU:$D4BA PRG:14BA F0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_D49C_OnCarryClear_D4BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D49C_OnCarryClear_D4BC: + lda Zp63 ; CPU:$D4BC PRG:14BC A5 63 + bne Sub_D49C_OnNonzero_D4B1 ; CPU:$D4BE PRG:14BE D0 F1 +; ----------------------------------------------------------------------------- +; Routine: Sub_D49C_OnZero_D4C0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D49C_OnZero_D4C0: + rts ; CPU:$D4C0 PRG:14C0 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_Return_D4C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_Return_D4C1: + inc LevelTimer ; CPU:$D4C1 PRG:14C1 E6 39 + ldx Zp8D ; CPU:$D4C3 PRG:14C3 A6 8D + cpx LevelTimer ; CPU:$D4C5 PRG:14C5 E4 39 + bcs Sub_D4C1_OnCarrySet_D4CD ; CPU:$D4C7 PRG:14C7 B0 04 + ldx #$01 ; CPU:$D4C9 PRG:14C9 A2 01 + stx LevelTimer ; CPU:$D4CB PRG:14CB 86 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnCarrySet_D4CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnCarrySet_D4CD: + jsr $DBDE ; CPU:$D4CD PRG:14CD 20 DE DB + lda Zp36 ; CPU:$D4D0 PRG:14D0 A5 36 + bmi Sub_D4C1_JoinBranchPaths_D4EE ; CPU:$D4D2 PRG:14D2 30 1A + beq Sub_D4C1_JoinBranchPaths_D4EE ; CPU:$D4D4 PRG:14D4 F0 18 + dec Zp36 ; CPU:$D4D6 PRG:14D6 C6 36 + ldy Zp36 ; CPU:$D4D8 PRG:14D8 A4 36 + cpy #$0E ; CPU:$D4DA PRG:14DA C0 0E + bcs Sub_D4C1_OnCarrySet_D4E1 ; CPU:$D4DC PRG:14DC B0 03 + jmp $D5DC ; CPU:$D4DE PRG:14DE 4C DC D5 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnCarrySet_D4E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnCarrySet_D4E1: + ldx LevelTimer ; CPU:$D4E1 PRG:14E1 A6 39 + lda $0698,x ; CPU:$D4E3 PRG:14E3 BD 98 06 + beq Sub_D4C1_OnZero_D4EB ; CPU:$D4E6 PRG:14E6 F0 03 + jmp $DBB8 ; CPU:$D4E8 PRG:14E8 4C B8 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnZero_D4EB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnZero_D4EB: + jmp $D571 ; CPU:$D4EB PRG:14EB 4C 71 D5 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_JoinBranchPaths_D4EE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_JoinBranchPaths_D4EE: + ldy EnemyPosY1 ; CPU:$D4EE PRG:14EE A4 33 + jsr $D2EF ; CPU:$D4F0 PRG:14F0 20 EF D2 + ldy EnemyPosX1 ; CPU:$D4F3 PRG:14F3 A4 32 + lda (PlayerVelocity),y ; CPU:$D4F5 PRG:14F5 B1 28 + cmp #$03 ; CPU:$D4F7 PRG:14F7 C9 03 + beq Sub_D4C1_OnZero_D53C ; CPU:$D4F9 PRG:14F9 F0 41 + cmp #$04 ; CPU:$D4FB PRG:14FB C9 04 + bne Sub_D4C1_OnNonzero_D505 ; CPU:$D4FD PRG:14FD D0 06 + lda Zp38 ; CPU:$D4FF PRG:14FF A5 38 + cmp #$03 ; CPU:$D501 PRG:1501 C9 03 + beq Sub_D4C1_OnZero_D53C ; CPU:$D503 PRG:1503 F0 37 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnNonzero_D505 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnNonzero_D505: + lda Zp38 ; CPU:$D505 PRG:1505 A5 38 + cmp #$03 ; CPU:$D507 PRG:1507 C9 03 + bcc Sub_D4C1_JoinBranchPaths_D53F ; CPU:$D509 PRG:1509 90 34 + ldy EnemyPosY1 ; CPU:$D50B PRG:150B A4 33 + cpy #$0D ; CPU:$D50D PRG:150D C0 0D + beq Sub_D4C1_OnZero_D53C ; CPU:$D50F PRG:150F F0 2B + lda $C689,y ; CPU:$D511 PRG:1511 B9 89 C6 + sta PlayerState ; CPU:$D514 PRG:1514 85 26 + jsr $DCB1 ; CPU:$D516 PRG:1516 20 B1 DC + lda $C697,y ; CPU:$D519 PRG:1519 B9 97 C6 + sta Zp27 ; CPU:$D51C PRG:151C 85 27 + ldy EnemyPosX1 ; CPU:$D51E PRG:151E A4 32 + lda (PlayerState),y ; CPU:$D520 PRG:1520 B1 26 + cmp #$00 ; CPU:$D522 PRG:1522 C9 00 + beq Sub_D4C1_JoinBranchPaths_D53F ; CPU:$D524 PRG:1524 F0 19 + cmp #$09 ; CPU:$D526 PRG:1526 C9 09 + beq Sub_D4C1_JoinBranchPaths_D53F ; CPU:$D528 PRG:1528 F0 15 + cmp #$08 ; CPU:$D52A PRG:152A C9 08 + beq Sub_D4C1_OnZero_D53C ; CPU:$D52C PRG:152C F0 0E + lda (PlayerVelocity),y ; CPU:$D52E PRG:152E B1 28 + cmp #$01 ; CPU:$D530 PRG:1530 C9 01 + beq Sub_D4C1_OnZero_D53C ; CPU:$D532 PRG:1532 F0 08 + cmp #$02 ; CPU:$D534 PRG:1534 C9 02 + beq Sub_D4C1_OnZero_D53C ; CPU:$D536 PRG:1536 F0 04 + cmp #$03 ; CPU:$D538 PRG:1538 C9 03 + bne Sub_D4C1_JoinBranchPaths_D53F ; CPU:$D53A PRG:153A D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnZero_D53C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnZero_D53C: + jmp $D5F0 ; CPU:$D53C PRG:153C 4C F0 D5 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_JoinBranchPaths_D53F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_JoinBranchPaths_D53F: + lda #$20 ; CPU:$D53F PRG:153F A9 20 + ldx #$23 ; CPU:$D541 PRG:1541 A2 23 + jsr $DB86 ; CPU:$D543 PRG:1543 20 86 DB + jsr $DB94 ; CPU:$D546 PRG:1546 20 94 DB + inc Zp38 ; CPU:$D549 PRG:1549 E6 38 + lda Zp38 ; CPU:$D54B PRG:154B A5 38 + cmp #$07 ; CPU:$D54D PRG:154D C9 07 + bcs Sub_D571_OnCarrySet_D574 ; CPU:$D54F PRG:154F B0 23 + lda Zp38 ; CPU:$D551 PRG:1551 A5 38 + cmp #$03 ; CPU:$D553 PRG:1553 C9 03 + bne Sub_D571_OnNonzero_D571 ; CPU:$D555 PRG:1555 D0 1A + jsr $DB27 ; CPU:$D557 PRG:1557 20 27 DB + ldy EnemyPosY1 ; CPU:$D55A PRG:155A A4 33 + jsr $D2EF ; CPU:$D55C PRG:155C 20 EF D2 + ldy EnemyPosX1 ; CPU:$D55F PRG:155F A4 32 + lda (PlayerVelocity),y ; CPU:$D561 PRG:1561 B1 28 + cmp #$01 ; CPU:$D563 PRG:1563 C9 01 + bne Sub_D571_OnNonzero_D571 ; CPU:$D565 PRG:1565 D0 0A + lda Zp36 ; CPU:$D567 PRG:1567 A5 36 + bpl Sub_D4C1_OnNonnegative_D56D ; CPU:$D569 PRG:1569 10 02 + dec Zp93 ; CPU:$D56B PRG:156B C6 93 +; ----------------------------------------------------------------------------- +; Routine: Sub_D4C1_OnNonnegative_D56D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D4C1_OnNonnegative_D56D: + lda Zp5F ; CPU:$D56D PRG:156D A5 5F + sta Zp36 ; CPU:$D56F PRG:156F 85 36 +; ----------------------------------------------------------------------------- +; Routine: Sub_D571_OnNonzero_D571 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D571_OnNonzero_D571: + jmp $D748 ; CPU:$D571 PRG:1571 4C 48 D7 +; ----------------------------------------------------------------------------- +; Routine: Sub_D571_OnCarrySet_D574 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D571_OnCarrySet_D574: + lda #$00 ; CPU:$D574 PRG:1574 A9 00 + sta Zp38 ; CPU:$D576 PRG:1576 85 38 + ldy EnemyPosY1 ; CPU:$D578 PRG:1578 A4 33 + jsr $C81D ; CPU:$D57A PRG:157A 20 1D C8 + ldy EnemyPosX1 ; CPU:$D57D PRG:157D A4 32 + lda (PlayerVelocity),y ; CPU:$D57F PRG:157F B1 28 + cmp #$01 ; CPU:$D581 PRG:1581 C9 01 + bne Sub_D571_OnNonzero_D587 ; CPU:$D583 PRG:1583 D0 02 + lda #$00 ; CPU:$D585 PRG:1585 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_D571_OnNonzero_D587 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D571_OnNonzero_D587: + sta (PlayerState),y ; CPU:$D587 PRG:1587 91 26 + inc EnemyPosY1 ; CPU:$D589 PRG:1589 E6 33 + ldy EnemyPosY1 ; CPU:$D58B PRG:158B A4 33 + jsr $C81D ; CPU:$D58D PRG:158D 20 1D C8 + ldy EnemyPosX1 ; CPU:$D590 PRG:1590 A4 32 + lda (PlayerState),y ; CPU:$D592 PRG:1592 B1 26 + cmp #$09 ; CPU:$D594 PRG:1594 C9 09 + bne Sub_D571_OnNonzero_D59A ; CPU:$D596 PRG:1596 D0 02 + lsr Zp9A ; CPU:$D598 PRG:1598 46 9A +; ----------------------------------------------------------------------------- +; Routine: Sub_D571_OnNonzero_D59A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D571_OnNonzero_D59A: + lda (PlayerVelocity),y ; CPU:$D59A PRG:159A B1 28 + cmp #$01 ; CPU:$D59C PRG:159C C9 01 + bne Sub_D5CA_JoinBranchPaths_D5D5 ; CPU:$D59E PRG:159E D0 35 + lda Zp36 ; CPU:$D5A0 PRG:15A0 A5 36 + bpl Sub_D5CA_JoinBranchPaths_D5D5 ; CPU:$D5A2 PRG:15A2 10 31 + ldy EnemyPosY1 ; CPU:$D5A4 PRG:15A4 A4 33 + dey ; CPU:$D5A6 PRG:15A6 88 + sty LevelDataPtrHi ; CPU:$D5A7 PRG:15A7 84 86 + jsr $C81D ; CPU:$D5A9 PRG:15A9 20 1D C8 + ldy EnemyPosX1 ; CPU:$D5AC PRG:15AC A4 32 + sty LevelDataPtrLo ; CPU:$D5AE PRG:15AE 84 85 + lda (PlayerVelocity),y ; CPU:$D5B0 PRG:15B0 B1 28 + cmp #$00 ; CPU:$D5B2 PRG:15B2 C9 00 + beq Sub_D571_OnZero_D5BB ; CPU:$D5B4 PRG:15B4 F0 05 + dec Zp93 ; CPU:$D5B6 PRG:15B6 C6 93 + jmp $D5CA ; CPU:$D5B8 PRG:15B8 4C CA D5 +; ----------------------------------------------------------------------------- +; Routine: Sub_D571_OnZero_D5BB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D571_OnZero_D5BB: + lda #$07 ; CPU:$D5BB PRG:15BB A9 07 + sta (PlayerState),y ; CPU:$D5BD PRG:15BD 91 26 + sta (PlayerVelocity),y ; CPU:$D5BF PRG:15BF 91 28 + ldy LevelDataPtrHi ; CPU:$D5C1 PRG:15C1 A4 86 + ldx LevelDataPtrLo ; CPU:$D5C3 PRG:15C3 A6 85 + lda #$07 ; CPU:$D5C5 PRG:15C5 A9 07 + jsr $D055 ; CPU:$D5C7 PRG:15C7 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_D5CA_CallNext_D5CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D5CA_CallNext_D5CA: + ldy EnemyPosY1 ; CPU:$D5CA PRG:15CA A4 33 + jsr $D2FA ; CPU:$D5CC PRG:15CC 20 FA D2 + lda #$00 ; CPU:$D5CF PRG:15CF A9 00 + sta Zp36 ; CPU:$D5D1 PRG:15D1 85 36 + ldy EnemyPosX1 ; CPU:$D5D3 PRG:15D3 A4 32 +; ----------------------------------------------------------------------------- +; Routine: Sub_D5CA_JoinBranchPaths_D5D5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D5CA_JoinBranchPaths_D5D5: + lda #$08 ; CPU:$D5D5 PRG:15D5 A9 08 + sta (PlayerState),y ; CPU:$D5D7 PRG:15D7 91 26 + jmp $D748 ; CPU:$D5D9 PRG:15D9 4C 48 D7 +; ----------------------------------------------------------------------------- +; Routine: Sub_D5DC_JumpNext_D5DC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D5DC_JumpNext_D5DC: + cpy #$08 ; CPU:$D5DC PRG:15DC C0 08 + bcc Sub_D5F0_OnCarryClear_D5F0 ; CPU:$D5DE PRG:15DE 90 10 + ldy Zp36 ; CPU:$D5E0 PRG:15E0 A4 36 + lda $D5E2,y ; CPU:$D5E2 PRG:15E2 B9 E2 D5 + sta Zp37 ; CPU:$D5E5 PRG:15E5 85 37 + jmp $D748 ; CPU:$D5E7 PRG:15E7 4C 48 D7 +; ---- data $D5EA-$D5EF (6 bytes) ---- + .byte $02, $04, $02, $04, $02, $04 ; CPU:$D5EA PRG:15EA 02 04 02 04 02 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_D5F0_OnCarryClear_D5F0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D5F0_OnCarryClear_D5F0: + ldx EnemyPosX1 ; CPU:$D5F0 PRG:15F0 A6 32 + ldy EnemyPosY1 ; CPU:$D5F2 PRG:15F2 A4 33 + jsr $D7C2 ; CPU:$D5F4 PRG:15F4 20 C2 D7 + asl a ; CPU:$D5F7 PRG:15F7 0A + tay ; CPU:$D5F8 PRG:15F8 A8 + lda $D603,y ; CPU:$D5F9 PRG:15F9 B9 03 D6 + pha ; CPU:$D5FC PRG:15FC 48 + lda $D602,y ; CPU:$D5FD PRG:15FD B9 02 D6 + pha ; CPU:$D600 PRG:1600 48 + rts ; CPU:$D601 PRG:1601 60 +; ---- data $D602-$D747 (326 bytes) ---- +; referenced by `lda $D603,y` at $D5F9 (operand $D603 falls inside this region) +; referenced by `lda $D602,y` at $D5FD (operand $D602 falls inside this region) + .byte $B7, $DB, $D9, $D6, $4D, $D7, $16, $D6, $78, $D6, $A5, $36, $F0, $04, $30, $02 ; CPU:$D602 PRG:1602 B7 DB D9 D6 4D D7 16 D6 78 D6 A5 36 F0 04 30 02 + .byte $E6, $36, $4C, $B8, $DB, $A4, $38, $C0, $04, $B0, $1C, $A4, $33, $F0, $EB, $88 ; CPU:$D612 PRG:1612 E6 36 4C B8 DB A4 38 C0 04 B0 1C A4 33 F0 EB 88 + .byte $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $01, $F0, $DF, $C9, $02, $F0, $DB, $C9 ; CPU:$D622 PRG:1622 20 FA D2 A4 32 B1 26 C9 01 F0 DF C9 02 F0 DB C9 + .byte $05, $F0, $D7, $C9, $08, $F0, $D3, $20, $94, $DB, $A4, $33, $20, $1D, $C8, $C6 ; CPU:$D632 PRG:1632 05 F0 D7 C9 08 F0 D3 20 94 DB A4 33 20 1D C8 C6 + .byte $38, $10, $2A, $20, $5F, $DB, $A4, $32, $B1, $28, $C9, $01, $D0, $02, $A9, $00 ; CPU:$D642 PRG:1642 38 10 2A 20 5F DB A4 32 B1 28 C9 01 D0 02 A9 00 + .byte $91, $26, $C6, $33, $A4, $33, $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $09, $D0 ; CPU:$D652 PRG:1652 91 26 C6 33 A4 33 20 FA D2 A4 32 B1 26 C9 09 D0 + .byte $02, $46, $9A, $A9, $08, $91, $26, $A9, $07, $85, $38, $D0, $03, $20, $27, $DB ; CPU:$D662 PRG:1662 02 46 9A A9 08 91 26 A9 07 85 38 D0 03 20 27 DB + .byte $A9, $24, $A2, $27, $4C, $45, $D7, $A4, $38, $C0, $03, $90, $1D, $A4, $33, $C0 ; CPU:$D672 PRG:1672 A9 24 A2 27 4C 45 D7 A4 38 C0 03 90 1D A4 33 C0 + .byte $0D, $B0, $14, $C8, $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $02, $F0, $08, $C9 ; CPU:$D682 PRG:1682 0D B0 14 C8 20 FA D2 A4 32 B1 26 C9 02 F0 08 C9 + .byte $08, $F0, $04, $C9, $01, $D0, $03, $4C, $B8, $DB, $20, $94, $DB, $A4, $33, $20 ; CPU:$D692 PRG:1692 08 F0 04 C9 01 D0 03 4C B8 DB 20 94 DB A4 33 20 + .byte $1D, $C8, $E6, $38, $A5, $38, $C9, $07, $90, $2B, $20, $5F, $DB, $A4, $32, $B1 ; CPU:$D6A2 PRG:16A2 1D C8 E6 38 A5 38 C9 07 90 2B 20 5F DB A4 32 B1 + .byte $28, $C9, $01, $D0, $02, $A9, $00, $91, $26, $E6, $33, $A4, $33, $20, $FA, $D2 ; CPU:$D6B2 PRG:16B2 28 C9 01 D0 02 A9 00 91 26 E6 33 A4 33 20 FA D2 + .byte $A4, $32, $B1, $26, $C9, $09, $D0, $02, $46, $9A, $A9, $08, $91, $26, $A9, $00 ; CPU:$D6C2 PRG:16C2 A4 32 B1 26 C9 09 D0 02 46 9A A9 08 91 26 A9 00 + .byte $85, $38, $4C, $72, $D6, $4C, $6F, $D6, $A4, $33, $20, $1D, $C8, $A6, $37, $E0 ; CPU:$D6D2 PRG:16D2 85 38 4C 72 D6 4C 6F D6 A4 33 20 1D C8 A6 37 E0 + .byte $04, $B0, $1C, $A4, $32, $F0, $15, $88, $B1, $26, $C9, $08, $F0, $0E, $C9, $02 ; CPU:$D6E2 PRG:16E2 04 B0 1C A4 32 F0 15 88 B1 26 C9 08 F0 0E C9 02 + .byte $F0, $0A, $C9, $01, $F0, $06, $B1, $28, $C9, $05, $D0, $03, $4C, $B8, $DB, $20 ; CPU:$D6F2 PRG:16F2 F0 0A C9 01 F0 06 B1 28 C9 05 D0 03 4C B8 DB 20 + .byte $A6, $DB, $A9, $FF, $85, $35, $C6, $37, $10, $24, $20, $5F, $DB, $A4, $32, $B1 ; CPU:$D702 PRG:1702 A6 DB A9 FF 85 35 C6 37 10 24 20 5F DB A4 32 B1 + .byte $28, $C9, $01, $D0, $02, $A9, $00, $91, $26, $C6, $32, $88, $B1, $26, $C9, $09 ; CPU:$D712 PRG:1712 28 C9 01 D0 02 A9 00 91 26 C6 32 88 B1 26 C9 09 + .byte $D0, $02, $46, $9A, $A9, $08, $91, $26, $A9, $07, $85, $37, $D0, $03, $20, $27 ; CPU:$D722 PRG:1722 D0 02 46 9A A9 08 91 26 A9 07 85 37 D0 03 20 27 + .byte $DB, $A4, $32, $B1, $28, $C9, $04, $F0, $06, $A9, $1C, $A2, $1F, $D0, $04, $A9 ; CPU:$D732 PRG:1732 DB A4 32 B1 28 C9 04 F0 06 A9 1C A2 1F D0 04 A9 + .byte $28, $A2, $2B, $20, $86, $DB ; CPU:$D742 PRG:1742 28 A2 2B 20 86 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_D748_Entry_D748 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D748_Entry_D748: + jsr $DC93 ; CPU:$D748 PRG:1748 20 93 DC + jmp $DBB8 ; CPU:$D74B PRG:174B 4C B8 DB +; ---- data $D74E-$D7C1 (116 bytes) ---- + .byte $A4, $33, $20, $1D, $C8, $A6, $37, $E0, $03, $90, $1E, $A4, $32, $C0, $1B, $F0 ; CPU:$D74E PRG:174E A4 33 20 1D C8 A6 37 E0 03 90 1E A4 32 C0 1B F0 + .byte $15, $C8, $B1, $26, $C9, $08, $F0, $0E, $C9, $02, $F0, $0A, $C9, $01, $F0, $06 ; CPU:$D75E PRG:175E 15 C8 B1 26 C9 08 F0 0E C9 02 F0 0A C9 01 F0 06 + .byte $B1, $28, $C9, $05, $D0, $03, $4C, $B8, $DB, $20, $A6, $DB, $A9, $01, $85, $35 ; CPU:$D76E PRG:176E B1 28 C9 05 D0 03 4C B8 DB 20 A6 DB A9 01 85 35 + .byte $E6, $37, $A5, $37, $C9, $07, $90, $24, $20, $5F, $DB, $A4, $32, $B1, $28, $C9 ; CPU:$D77E PRG:177E E6 37 A5 37 C9 07 90 24 20 5F DB A4 32 B1 28 C9 + .byte $01, $D0, $02, $A9, $00, $91, $26, $E6, $32, $C8, $B1, $26, $C9, $09, $D0, $02 ; CPU:$D78E PRG:178E 01 D0 02 A9 00 91 26 E6 32 C8 B1 26 C9 09 D0 02 + .byte $46, $9A, $A9, $08, $91, $26, $A9, $00, $85, $37, $F0, $03, $20, $27, $DB, $A4 ; CPU:$D79E PRG:179E 46 9A A9 08 91 26 A9 00 85 37 F0 03 20 27 DB A4 + .byte $32, $B1, $28, $C9, $04, $F0, $06, $A9, $1C, $A2, $1F, $D0, $04, $A9, $28, $A2 ; CPU:$D7AE PRG:17AE 32 B1 28 C9 04 F0 06 A9 1C A2 1F D0 04 A9 28 A2 + .byte $2B, $4C, $45, $D7 ; CPU:$D7BE PRG:17BE 2B 4C 45 D7 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_Entry_D7C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_Entry_D7C2: + stx Zp55 ; CPU:$D7C2 PRG:17C2 86 55 + sty Zp56 ; CPU:$D7C4 PRG:17C4 84 56 + jsr $D2EF ; CPU:$D7C6 PRG:17C6 20 EF D2 + ldy Zp55 ; CPU:$D7C9 PRG:17C9 A4 55 + lda (PlayerVelocity),y ; CPU:$D7CB PRG:17CB B1 28 + cmp #$01 ; CPU:$D7CD PRG:17CD C9 01 + bne Sub_D7C2_JoinBranchPaths_D7DA ; CPU:$D7CF PRG:17CF D0 09 + lda Zp36 ; CPU:$D7D1 PRG:17D1 A5 36 + beq Sub_D7C2_JoinBranchPaths_D7DA ; CPU:$D7D3 PRG:17D3 F0 05 + bmi Sub_D7C2_JoinBranchPaths_D7DA ; CPU:$D7D5 PRG:17D5 30 03 + lda #$03 ; CPU:$D7D7 PRG:17D7 A9 03 + rts ; CPU:$D7D9 PRG:17D9 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_JoinBranchPaths_D7DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_JoinBranchPaths_D7DA: + ldy Zp56 ; CPU:$D7DA PRG:17DA A4 56 + cpy PlayerPosY ; CPU:$D7DC PRG:17DC C4 21 + beq Sub_D7C2_OnZero_D7E3 ; CPU:$D7DE PRG:17DE F0 03 + jmp $D84D ; CPU:$D7E0 PRG:17E0 4C 4D D8 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_OnZero_D7E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_OnZero_D7E3: + ldy Zp55 ; CPU:$D7E3 PRG:17E3 A4 55 + sty Zp57 ; CPU:$D7E5 PRG:17E5 84 57 + cpy PlayerPosX ; CPU:$D7E7 PRG:17E7 C4 20 + bcs Sub_D7C2_JoinBranchPaths_D81C ; CPU:$D7E9 PRG:17E9 B0 31 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_OnNonzero_D7EB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_OnNonzero_D7EB: + inc Zp57 ; CPU:$D7EB PRG:17EB E6 57 + ldy Zp56 ; CPU:$D7ED PRG:17ED A4 56 + jsr $D2EF ; CPU:$D7EF PRG:17EF 20 EF D2 + ldy Zp57 ; CPU:$D7F2 PRG:17F2 A4 57 + lda (PlayerVelocity),y ; CPU:$D7F4 PRG:17F4 B1 28 + cmp #$03 ; CPU:$D7F6 PRG:17F6 C9 03 + beq Sub_D7C2_OnZero_D813 ; CPU:$D7F8 PRG:17F8 F0 19 + cmp #$04 ; CPU:$D7FA PRG:17FA C9 04 + beq Sub_D7C2_OnZero_D813 ; CPU:$D7FC PRG:17FC F0 15 + ldy Zp56 ; CPU:$D7FE PRG:17FE A4 56 + cpy #$0D ; CPU:$D800 PRG:1800 C0 0D + beq Sub_D7C2_OnZero_D813 ; CPU:$D802 PRG:1802 F0 0F + jsr $DCB1 ; CPU:$D804 PRG:1804 20 B1 DC + ldy Zp57 ; CPU:$D807 PRG:1807 A4 57 + lda (PlayerVelocity),y ; CPU:$D809 PRG:1809 B1 28 + cmp #$00 ; CPU:$D80B PRG:180B C9 00 + beq Sub_D84D_OnZero_D84D ; CPU:$D80D PRG:180D F0 3E + cmp #$05 ; CPU:$D80F PRG:180F C9 05 + beq Sub_D84D_OnZero_D84D ; CPU:$D811 PRG:1811 F0 3A +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_OnZero_D813 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_OnZero_D813: + ldy Zp57 ; CPU:$D813 PRG:1813 A4 57 + cpy PlayerPosX ; CPU:$D815 PRG:1815 C4 20 + bne Sub_D7C2_OnNonzero_D7EB ; CPU:$D817 PRG:1817 D0 D2 + lda #$02 ; CPU:$D819 PRG:1819 A9 02 + rts ; CPU:$D81B PRG:181B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_JoinBranchPaths_D81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_JoinBranchPaths_D81C: + dec Zp57 ; CPU:$D81C PRG:181C C6 57 + ldy Zp56 ; CPU:$D81E PRG:181E A4 56 + jsr $D2EF ; CPU:$D820 PRG:1820 20 EF D2 + ldy Zp57 ; CPU:$D823 PRG:1823 A4 57 + lda (PlayerVelocity),y ; CPU:$D825 PRG:1825 B1 28 + cmp #$03 ; CPU:$D827 PRG:1827 C9 03 + beq Sub_D7C2_OnZero_D844 ; CPU:$D829 PRG:1829 F0 19 + cmp #$04 ; CPU:$D82B PRG:182B C9 04 + beq Sub_D7C2_OnZero_D844 ; CPU:$D82D PRG:182D F0 15 + ldy Zp56 ; CPU:$D82F PRG:182F A4 56 + cpy #$0D ; CPU:$D831 PRG:1831 C0 0D + beq Sub_D7C2_OnZero_D844 ; CPU:$D833 PRG:1833 F0 0F + jsr $DCB1 ; CPU:$D835 PRG:1835 20 B1 DC + ldy Zp57 ; CPU:$D838 PRG:1838 A4 57 + lda (PlayerVelocity),y ; CPU:$D83A PRG:183A B1 28 + cmp #$00 ; CPU:$D83C PRG:183C C9 00 + beq Sub_D84D_OnZero_D84D ; CPU:$D83E PRG:183E F0 0D + cmp #$05 ; CPU:$D840 PRG:1840 C9 05 + beq Sub_D84D_OnZero_D84D ; CPU:$D842 PRG:1842 F0 09 +; ----------------------------------------------------------------------------- +; Routine: Sub_D7C2_OnZero_D844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D7C2_OnZero_D844: + ldy Zp57 ; CPU:$D844 PRG:1844 A4 57 + cpy PlayerPosX ; CPU:$D846 PRG:1846 C4 20 + bne Sub_D7C2_JoinBranchPaths_D81C ; CPU:$D848 PRG:1848 D0 D2 + lda #$01 ; CPU:$D84A PRG:184A A9 01 + rts ; CPU:$D84C PRG:184C 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D84D_OnZero_D84D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D84D_OnZero_D84D: + lda #$00 ; CPU:$D84D PRG:184D A9 00 + sta Zp58 ; CPU:$D84F PRG:184F 85 58 + lda #$FF ; CPU:$D851 PRG:1851 A9 FF + sta Zp59 ; CPU:$D853 PRG:1853 85 59 + ldx Zp55 ; CPU:$D855 PRG:1855 A6 55 + ldy Zp56 ; CPU:$D857 PRG:1857 A4 56 + jsr $DAA2 ; CPU:$D859 PRG:1859 20 A2 DA + jsr $D91F ; CPU:$D85C PRG:185C 20 1F D9 + jsr $D868 ; CPU:$D85F PRG:185F 20 68 D8 + jsr $D8C4 ; CPU:$D862 PRG:1862 20 C4 D8 + lda Zp58 ; CPU:$D865 PRG:1865 A5 58 + rts ; CPU:$D867 PRG:1867 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D868_Return_D868 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D868_Return_D868: + ldy Zp5A ; CPU:$D868 PRG:1868 A4 5A + cpy Zp55 ; CPU:$D86A PRG:186A C4 55 + beq Sub_D868_OnZero_D8C3 ; CPU:$D86C PRG:186C F0 55 + ldy Zp56 ; CPU:$D86E PRG:186E A4 56 + cpy #$0D ; CPU:$D870 PRG:1870 C0 0D + beq Sub_D868_JoinBranchPaths_D899 ; CPU:$D872 PRG:1872 F0 25 + jsr $DCB1 ; CPU:$D874 PRG:1874 20 B1 DC + ldy Zp5A ; CPU:$D877 PRG:1877 A4 5A + lda (PlayerVelocity),y ; CPU:$D879 PRG:1879 B1 28 + cmp #$01 ; CPU:$D87B PRG:187B C9 01 + beq Sub_D868_JoinBranchPaths_D899 ; CPU:$D87D PRG:187D F0 1A + cmp #$02 ; CPU:$D87F PRG:187F C9 02 + beq Sub_D868_JoinBranchPaths_D899 ; CPU:$D881 PRG:1881 F0 16 + ldx Zp5A ; CPU:$D883 PRG:1883 A6 5A + ldy Zp56 ; CPU:$D885 PRG:1885 A4 56 + jsr $DA1D ; CPU:$D887 PRG:1887 20 1D DA + ldx Zp5A ; CPU:$D88A PRG:188A A6 5A + jsr $D970 ; CPU:$D88C PRG:188C 20 70 D9 + cmp Zp59 ; CPU:$D88F PRG:188F C5 59 + bcs Sub_D868_JoinBranchPaths_D899 ; CPU:$D891 PRG:1891 B0 06 + sta Zp59 ; CPU:$D893 PRG:1893 85 59 + lda #$01 ; CPU:$D895 PRG:1895 A9 01 + sta Zp58 ; CPU:$D897 PRG:1897 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D868_JoinBranchPaths_D899 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D868_JoinBranchPaths_D899: + ldy Zp56 ; CPU:$D899 PRG:1899 A4 56 + beq Sub_D868_JoinBranchPaths_D8BE ; CPU:$D89B PRG:189B F0 21 + jsr $D2EF ; CPU:$D89D PRG:189D 20 EF D2 + ldy Zp5A ; CPU:$D8A0 PRG:18A0 A4 5A + lda (PlayerVelocity),y ; CPU:$D8A2 PRG:18A2 B1 28 + cmp #$03 ; CPU:$D8A4 PRG:18A4 C9 03 + bne Sub_D868_JoinBranchPaths_D8BE ; CPU:$D8A6 PRG:18A6 D0 16 + ldy Zp56 ; CPU:$D8A8 PRG:18A8 A4 56 + ldx Zp5A ; CPU:$D8AA PRG:18AA A6 5A + jsr $D99C ; CPU:$D8AC PRG:18AC 20 9C D9 + ldx Zp5A ; CPU:$D8AF PRG:18AF A6 5A + jsr $D970 ; CPU:$D8B1 PRG:18B1 20 70 D9 + cmp Zp59 ; CPU:$D8B4 PRG:18B4 C5 59 + bcs Sub_D868_JoinBranchPaths_D8BE ; CPU:$D8B6 PRG:18B6 B0 06 + sta Zp59 ; CPU:$D8B8 PRG:18B8 85 59 + lda #$01 ; CPU:$D8BA PRG:18BA A9 01 + sta Zp58 ; CPU:$D8BC PRG:18BC 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D868_JoinBranchPaths_D8BE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D868_JoinBranchPaths_D8BE: + inc Zp5A ; CPU:$D8BE PRG:18BE E6 5A + jmp $D868 ; CPU:$D8C0 PRG:18C0 4C 68 D8 +; ----------------------------------------------------------------------------- +; Routine: Sub_D868_OnZero_D8C3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D868_OnZero_D8C3: + rts ; CPU:$D8C3 PRG:18C3 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D8C4_Return_D8C4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D8C4_Return_D8C4: + ldy Zp5B ; CPU:$D8C4 PRG:18C4 A4 5B + cpy Zp55 ; CPU:$D8C6 PRG:18C6 C4 55 + beq Sub_D868_OnZero_D8C3 ; CPU:$D8C8 PRG:18C8 F0 F9 + ldy Zp56 ; CPU:$D8CA PRG:18CA A4 56 + cpy #$0D ; CPU:$D8CC PRG:18CC C0 0D + beq Sub_D8C4_JoinBranchPaths_D8F5 ; CPU:$D8CE PRG:18CE F0 25 + jsr $DCB1 ; CPU:$D8D0 PRG:18D0 20 B1 DC + ldy Zp5B ; CPU:$D8D3 PRG:18D3 A4 5B + lda (PlayerVelocity),y ; CPU:$D8D5 PRG:18D5 B1 28 + cmp #$01 ; CPU:$D8D7 PRG:18D7 C9 01 + beq Sub_D8C4_JoinBranchPaths_D8F5 ; CPU:$D8D9 PRG:18D9 F0 1A + cmp #$02 ; CPU:$D8DB PRG:18DB C9 02 + beq Sub_D8C4_JoinBranchPaths_D8F5 ; CPU:$D8DD PRG:18DD F0 16 + ldx Zp5B ; CPU:$D8DF PRG:18DF A6 5B + ldy Zp56 ; CPU:$D8E1 PRG:18E1 A4 56 + jsr $DA1D ; CPU:$D8E3 PRG:18E3 20 1D DA + ldx Zp5B ; CPU:$D8E6 PRG:18E6 A6 5B + jsr $D970 ; CPU:$D8E8 PRG:18E8 20 70 D9 + cmp Zp59 ; CPU:$D8EB PRG:18EB C5 59 + bcs Sub_D8C4_JoinBranchPaths_D8F5 ; CPU:$D8ED PRG:18ED B0 06 + sta Zp59 ; CPU:$D8EF PRG:18EF 85 59 + lda #$02 ; CPU:$D8F1 PRG:18F1 A9 02 + sta Zp58 ; CPU:$D8F3 PRG:18F3 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D8C4_JoinBranchPaths_D8F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D8C4_JoinBranchPaths_D8F5: + ldy Zp56 ; CPU:$D8F5 PRG:18F5 A4 56 + beq Sub_D8C4_JoinBranchPaths_D91A ; CPU:$D8F7 PRG:18F7 F0 21 + jsr $D2EF ; CPU:$D8F9 PRG:18F9 20 EF D2 + ldy Zp5B ; CPU:$D8FC PRG:18FC A4 5B + lda (PlayerVelocity),y ; CPU:$D8FE PRG:18FE B1 28 + cmp #$03 ; CPU:$D900 PRG:1900 C9 03 + bne Sub_D8C4_JoinBranchPaths_D91A ; CPU:$D902 PRG:1902 D0 16 + ldy Zp56 ; CPU:$D904 PRG:1904 A4 56 + ldx Zp5B ; CPU:$D906 PRG:1906 A6 5B + jsr $D99C ; CPU:$D908 PRG:1908 20 9C D9 + ldx Zp5B ; CPU:$D90B PRG:190B A6 5B + jsr $D970 ; CPU:$D90D PRG:190D 20 70 D9 + cmp Zp59 ; CPU:$D910 PRG:1910 C5 59 + bcs Sub_D8C4_JoinBranchPaths_D91A ; CPU:$D912 PRG:1912 B0 06 + sta Zp59 ; CPU:$D914 PRG:1914 85 59 + lda #$02 ; CPU:$D916 PRG:1916 A9 02 + sta Zp58 ; CPU:$D918 PRG:1918 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D8C4_JoinBranchPaths_D91A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D8C4_JoinBranchPaths_D91A: + dec Zp5B ; CPU:$D91A PRG:191A C6 5B + jmp $D8C4 ; CPU:$D91C PRG:191C 4C C4 D8 +; ----------------------------------------------------------------------------- +; Routine: Sub_D91F_JumpNext_D91F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D91F_JumpNext_D91F: + ldy Zp56 ; CPU:$D91F PRG:191F A4 56 + cpy #$0D ; CPU:$D921 PRG:1921 C0 0D + beq Sub_D91F_JoinBranchPaths_D94A ; CPU:$D923 PRG:1923 F0 25 + jsr $DCB1 ; CPU:$D925 PRG:1925 20 B1 DC + ldy Zp55 ; CPU:$D928 PRG:1928 A4 55 + lda (PlayerVelocity),y ; CPU:$D92A PRG:192A B1 28 + cmp #$01 ; CPU:$D92C PRG:192C C9 01 + beq Sub_D91F_JoinBranchPaths_D94A ; CPU:$D92E PRG:192E F0 1A + cmp #$02 ; CPU:$D930 PRG:1930 C9 02 + beq Sub_D91F_JoinBranchPaths_D94A ; CPU:$D932 PRG:1932 F0 16 + ldx Zp55 ; CPU:$D934 PRG:1934 A6 55 + ldy Zp56 ; CPU:$D936 PRG:1936 A4 56 + jsr $DA1D ; CPU:$D938 PRG:1938 20 1D DA + ldx Zp55 ; CPU:$D93B PRG:193B A6 55 + jsr $D970 ; CPU:$D93D PRG:193D 20 70 D9 + cmp Zp59 ; CPU:$D940 PRG:1940 C5 59 + bcs Sub_D91F_JoinBranchPaths_D94A ; CPU:$D942 PRG:1942 B0 06 + sta Zp59 ; CPU:$D944 PRG:1944 85 59 + lda #$04 ; CPU:$D946 PRG:1946 A9 04 + sta Zp58 ; CPU:$D948 PRG:1948 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D91F_JoinBranchPaths_D94A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D91F_JoinBranchPaths_D94A: + ldy Zp56 ; CPU:$D94A PRG:194A A4 56 + beq Sub_D91F_JoinBranchPaths_D96F ; CPU:$D94C PRG:194C F0 21 + jsr $D2EF ; CPU:$D94E PRG:194E 20 EF D2 + ldy Zp55 ; CPU:$D951 PRG:1951 A4 55 + lda (PlayerVelocity),y ; CPU:$D953 PRG:1953 B1 28 + cmp #$03 ; CPU:$D955 PRG:1955 C9 03 + bne Sub_D91F_JoinBranchPaths_D96F ; CPU:$D957 PRG:1957 D0 16 + ldx Zp55 ; CPU:$D959 PRG:1959 A6 55 + ldy Zp56 ; CPU:$D95B PRG:195B A4 56 + jsr $D99C ; CPU:$D95D PRG:195D 20 9C D9 + ldx Zp55 ; CPU:$D960 PRG:1960 A6 55 + jsr $D970 ; CPU:$D962 PRG:1962 20 70 D9 + cmp Zp59 ; CPU:$D965 PRG:1965 C5 59 + bcs Sub_D91F_JoinBranchPaths_D96F ; CPU:$D967 PRG:1967 B0 06 + sta Zp59 ; CPU:$D969 PRG:1969 85 59 + lda #$03 ; CPU:$D96B PRG:196B A9 03 + sta Zp58 ; CPU:$D96D PRG:196D 85 58 +; ----------------------------------------------------------------------------- +; Routine: Sub_D91F_JoinBranchPaths_D96F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D91F_JoinBranchPaths_D96F: + rts ; CPU:$D96F PRG:196F 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D970_Return_D970 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D970_Return_D970: + sta Zp3A ; CPU:$D970 PRG:1970 85 3A + cmp PlayerPosY ; CPU:$D972 PRG:1972 C5 21 + bne Sub_D970_OnNonzero_D987 ; CPU:$D974 PRG:1974 D0 11 + cpx EnemyPosX1 ; CPU:$D976 PRG:1976 E4 32 + bcc Sub_D970_OnCarryClear_D97F ; CPU:$D978 PRG:1978 90 05 + txa ; CPU:$D97A PRG:197A 8A + sec ; CPU:$D97B PRG:197B 38 + sbc EnemyPosX1 ; CPU:$D97C PRG:197C E5 32 + rts ; CPU:$D97E PRG:197E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D970_OnCarryClear_D97F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D970_OnCarryClear_D97F: + stx Zp3A ; CPU:$D97F PRG:197F 86 3A + lda EnemyPosX1 ; CPU:$D981 PRG:1981 A5 32 + sec ; CPU:$D983 PRG:1983 38 + sbc Zp3A ; CPU:$D984 PRG:1984 E5 3A + rts ; CPU:$D986 PRG:1986 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D970_OnNonzero_D987 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D970_OnNonzero_D987: + bcc Sub_D970_OnCarryClear_D990 ; CPU:$D987 PRG:1987 90 07 + sec ; CPU:$D989 PRG:1989 38 + sbc PlayerPosY ; CPU:$D98A PRG:198A E5 21 + clc ; CPU:$D98C PRG:198C 18 + adc #$C8 ; CPU:$D98D PRG:198D 69 C8 + rts ; CPU:$D98F PRG:198F 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D970_OnCarryClear_D990 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D970_OnCarryClear_D990: + lda PlayerPosY ; CPU:$D990 PRG:1990 A5 21 + sec ; CPU:$D992 PRG:1992 38 + sbc Zp3A ; CPU:$D993 PRG:1993 E5 3A + clc ; CPU:$D995 PRG:1995 18 + adc #$64 ; CPU:$D996 PRG:1996 69 64 + rts ; CPU:$D998 PRG:1998 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D970_OnNonzero_D999 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D970_OnNonzero_D999: + lda Zp5E ; CPU:$D999 PRG:1999 A5 5E + rts ; CPU:$D99B PRG:199B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D99C_Return_D99C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D99C_Return_D99C: + sty Zp5E ; CPU:$D99C PRG:199C 84 5E + stx Zp5D ; CPU:$D99E PRG:199E 86 5D +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_StoreIndexAndContinue_D9A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_StoreIndexAndContinue_D9A0: + jsr $D2EF ; CPU:$D9A0 PRG:19A0 20 EF D2 + ldy Zp5D ; CPU:$D9A3 PRG:19A3 A4 5D + lda (PlayerVelocity),y ; CPU:$D9A5 PRG:19A5 B1 28 + cmp #$03 ; CPU:$D9A7 PRG:19A7 C9 03 + bne Sub_D970_OnNonzero_D999 ; CPU:$D9A9 PRG:19A9 D0 EE + dec Zp5E ; CPU:$D9AB PRG:19AB C6 5E + ldy Zp5D ; CPU:$D9AD PRG:19AD A4 5D + beq Sub_D9A0_JoinBranchPaths_D9D8 ; CPU:$D9AF PRG:19AF F0 27 + dey ; CPU:$D9B1 PRG:19B1 88 + lda (PlayerVelocity),y ; CPU:$D9B2 PRG:19B2 B1 28 + cmp #$01 ; CPU:$D9B4 PRG:19B4 C9 01 + beq Sub_D9A0_OnZero_D9CE ; CPU:$D9B6 PRG:19B6 F0 16 + cmp #$02 ; CPU:$D9B8 PRG:19B8 C9 02 + beq Sub_D9A0_OnZero_D9CE ; CPU:$D9BA PRG:19BA F0 12 + cmp #$03 ; CPU:$D9BC PRG:19BC C9 03 + beq Sub_D9A0_OnZero_D9CE ; CPU:$D9BE PRG:19BE F0 0E + ldy Zp5E ; CPU:$D9C0 PRG:19C0 A4 5E + jsr $D2EF ; CPU:$D9C2 PRG:19C2 20 EF D2 + ldy Zp5D ; CPU:$D9C5 PRG:19C5 A4 5D + dey ; CPU:$D9C7 PRG:19C7 88 + lda (PlayerVelocity),y ; CPU:$D9C8 PRG:19C8 B1 28 + cmp #$04 ; CPU:$D9CA PRG:19CA C9 04 + bne Sub_D9A0_JoinBranchPaths_D9D8 ; CPU:$D9CC PRG:19CC D0 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_OnZero_D9CE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_OnZero_D9CE: + ldy Zp5E ; CPU:$D9CE PRG:19CE A4 5E + sty Zp5C ; CPU:$D9D0 PRG:19D0 84 5C + cpy PlayerPosY ; CPU:$D9D2 PRG:19D2 C4 21 + bcc Sub_D9A0_JoinBranchPaths_DA17 ; CPU:$D9D4 PRG:19D4 90 41 + beq Sub_D9A0_JoinBranchPaths_DA17 ; CPU:$D9D6 PRG:19D6 F0 3F +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_JoinBranchPaths_D9D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_JoinBranchPaths_D9D8: + ldy Zp5D ; CPU:$D9D8 PRG:19D8 A4 5D + cpy #$1B ; CPU:$D9DA PRG:19DA C0 1B + beq Sub_D9A0_JoinBranchPaths_DA0C ; CPU:$D9DC PRG:19DC F0 2E + ldy Zp5E ; CPU:$D9DE PRG:19DE A4 5E + jsr $DCB1 ; CPU:$D9E0 PRG:19E0 20 B1 DC + ldy Zp5D ; CPU:$D9E3 PRG:19E3 A4 5D + iny ; CPU:$D9E5 PRG:19E5 C8 + lda (PlayerVelocity),y ; CPU:$D9E6 PRG:19E6 B1 28 + cmp #$01 ; CPU:$D9E8 PRG:19E8 C9 01 + beq Sub_D9A0_OnZero_DA02 ; CPU:$D9EA PRG:19EA F0 16 + cmp #$02 ; CPU:$D9EC PRG:19EC C9 02 + beq Sub_D9A0_OnZero_DA02 ; CPU:$D9EE PRG:19EE F0 12 + cmp #$03 ; CPU:$D9F0 PRG:19F0 C9 03 + beq Sub_D9A0_OnZero_DA02 ; CPU:$D9F2 PRG:19F2 F0 0E + ldy Zp5E ; CPU:$D9F4 PRG:19F4 A4 5E + jsr $D2EF ; CPU:$D9F6 PRG:19F6 20 EF D2 + ldy Zp5D ; CPU:$D9F9 PRG:19F9 A4 5D + iny ; CPU:$D9FB PRG:19FB C8 + lda (PlayerVelocity),y ; CPU:$D9FC PRG:19FC B1 28 + cmp #$04 ; CPU:$D9FE PRG:19FE C9 04 + bne Sub_D9A0_JoinBranchPaths_DA0C ; CPU:$DA00 PRG:1A00 D0 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_OnZero_DA02 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_OnZero_DA02: + ldy Zp5E ; CPU:$DA02 PRG:1A02 A4 5E + sty Zp5C ; CPU:$DA04 PRG:1A04 84 5C + cpy PlayerPosY ; CPU:$DA06 PRG:1A06 C4 21 + bcc Sub_D9A0_JoinBranchPaths_DA17 ; CPU:$DA08 PRG:1A08 90 0D + beq Sub_D9A0_JoinBranchPaths_DA17 ; CPU:$DA0A PRG:1A0A F0 0B +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_JoinBranchPaths_DA0C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_JoinBranchPaths_DA0C: + ldy Zp5E ; CPU:$DA0C PRG:1A0C A4 5E + cpy #$01 ; CPU:$DA0E PRG:1A0E C0 01 + bcc Sub_D9A0_OnCarryClear_DA15 ; CPU:$DA10 PRG:1A10 90 03 + jmp $D9A0 ; CPU:$DA12 PRG:1A12 4C A0 D9 +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_OnCarryClear_DA15 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_OnCarryClear_DA15: + tya ; CPU:$DA15 PRG:1A15 98 + rts ; CPU:$DA16 PRG:1A16 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_JoinBranchPaths_DA17 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_JoinBranchPaths_DA17: + lda Zp5C ; CPU:$DA17 PRG:1A17 A5 5C + rts ; CPU:$DA19 PRG:1A19 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_D9A0_OnZero_DA1A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_D9A0_OnZero_DA1A: + lda Zp5E ; CPU:$DA1A PRG:1A1A A5 5E + rts ; CPU:$DA1C PRG:1A1C 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DA1D_Return_DA1D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA1D_Return_DA1D: + sty Zp5E ; CPU:$DA1D PRG:1A1D 84 5E + stx Zp5D ; CPU:$DA1F PRG:1A1F 86 5D +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_StoreIndexAndContinue_DA21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_StoreIndexAndContinue_DA21: + jsr $DCB1 ; CPU:$DA21 PRG:1A21 20 B1 DC + ldy Zp5D ; CPU:$DA24 PRG:1A24 A4 5D + lda (PlayerVelocity),y ; CPU:$DA26 PRG:1A26 B1 28 + cmp #$01 ; CPU:$DA28 PRG:1A28 C9 01 + beq Sub_D9A0_OnZero_DA1A ; CPU:$DA2A PRG:1A2A F0 EE + cmp #$02 ; CPU:$DA2C PRG:1A2C C9 02 + beq Sub_D9A0_OnZero_DA1A ; CPU:$DA2E PRG:1A2E F0 EA + ldy Zp5E ; CPU:$DA30 PRG:1A30 A4 5E + jsr $D2EF ; CPU:$DA32 PRG:1A32 20 EF D2 + ldy Zp5D ; CPU:$DA35 PRG:1A35 A4 5D + lda (PlayerVelocity),y ; CPU:$DA37 PRG:1A37 B1 28 + cmp #$00 ; CPU:$DA39 PRG:1A39 C9 00 + beq Sub_DA21_JoinBranchPaths_DA91 ; CPU:$DA3B PRG:1A3B F0 54 + cpy #$00 ; CPU:$DA3D PRG:1A3D C0 00 + beq Sub_DA21_JoinBranchPaths_DA66 ; CPU:$DA3F PRG:1A3F F0 25 + dey ; CPU:$DA41 PRG:1A41 88 + lda (PlayerVelocity),y ; CPU:$DA42 PRG:1A42 B1 28 + cmp #$04 ; CPU:$DA44 PRG:1A44 C9 04 + beq Sub_DA21_OnZero_DA5E ; CPU:$DA46 PRG:1A46 F0 16 + ldy Zp5E ; CPU:$DA48 PRG:1A48 A4 5E + jsr $DCB1 ; CPU:$DA4A PRG:1A4A 20 B1 DC + ldy Zp5D ; CPU:$DA4D PRG:1A4D A4 5D + dey ; CPU:$DA4F PRG:1A4F 88 + lda (PlayerVelocity),y ; CPU:$DA50 PRG:1A50 B1 28 + cmp #$01 ; CPU:$DA52 PRG:1A52 C9 01 + beq Sub_DA21_OnZero_DA5E ; CPU:$DA54 PRG:1A54 F0 08 + cmp #$02 ; CPU:$DA56 PRG:1A56 C9 02 + beq Sub_DA21_OnZero_DA5E ; CPU:$DA58 PRG:1A58 F0 04 + cmp #$03 ; CPU:$DA5A PRG:1A5A C9 03 + bne Sub_DA21_JoinBranchPaths_DA66 ; CPU:$DA5C PRG:1A5C D0 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_OnZero_DA5E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_OnZero_DA5E: + ldy Zp5E ; CPU:$DA5E PRG:1A5E A4 5E + sty Zp5C ; CPU:$DA60 PRG:1A60 84 5C + cpy PlayerPosY ; CPU:$DA62 PRG:1A62 C4 21 + bcs Sub_DA21_OnCarrySet_DA9F ; CPU:$DA64 PRG:1A64 B0 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_JoinBranchPaths_DA66 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_JoinBranchPaths_DA66: + ldy Zp5D ; CPU:$DA66 PRG:1A66 A4 5D + cpy #$1B ; CPU:$DA68 PRG:1A68 C0 1B + bcs Sub_DA21_JoinBranchPaths_DA91 ; CPU:$DA6A PRG:1A6A B0 25 + iny ; CPU:$DA6C PRG:1A6C C8 + lda (PlayerVelocity),y ; CPU:$DA6D PRG:1A6D B1 28 + cmp #$04 ; CPU:$DA6F PRG:1A6F C9 04 + beq Sub_DA21_OnZero_DA89 ; CPU:$DA71 PRG:1A71 F0 16 + ldy Zp5E ; CPU:$DA73 PRG:1A73 A4 5E + jsr $DCB1 ; CPU:$DA75 PRG:1A75 20 B1 DC + ldy Zp5D ; CPU:$DA78 PRG:1A78 A4 5D + iny ; CPU:$DA7A PRG:1A7A C8 + lda (PlayerVelocity),y ; CPU:$DA7B PRG:1A7B B1 28 + cmp #$01 ; CPU:$DA7D PRG:1A7D C9 01 + beq Sub_DA21_OnZero_DA89 ; CPU:$DA7F PRG:1A7F F0 08 + cmp #$03 ; CPU:$DA81 PRG:1A81 C9 03 + beq Sub_DA21_OnZero_DA89 ; CPU:$DA83 PRG:1A83 F0 04 + cmp #$02 ; CPU:$DA85 PRG:1A85 C9 02 + bne Sub_DA21_JoinBranchPaths_DA91 ; CPU:$DA87 PRG:1A87 D0 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_OnZero_DA89 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_OnZero_DA89: + ldy Zp5E ; CPU:$DA89 PRG:1A89 A4 5E + sty Zp5C ; CPU:$DA8B PRG:1A8B 84 5C + cpy PlayerPosY ; CPU:$DA8D PRG:1A8D C4 21 + bcs Sub_DA21_OnCarrySet_DA9F ; CPU:$DA8F PRG:1A8F B0 0E +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_JoinBranchPaths_DA91 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_JoinBranchPaths_DA91: + inc Zp5E ; CPU:$DA91 PRG:1A91 E6 5E + ldy Zp5E ; CPU:$DA93 PRG:1A93 A4 5E + cpy #$10 ; CPU:$DA95 PRG:1A95 C0 10 + bcs Sub_DA21_OnCarrySet_DA9C ; CPU:$DA97 PRG:1A97 B0 03 + jmp $DA21 ; CPU:$DA99 PRG:1A99 4C 21 DA +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_OnCarrySet_DA9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_OnCarrySet_DA9C: + lda #$0F ; CPU:$DA9C PRG:1A9C A9 0F + rts ; CPU:$DA9E PRG:1A9E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DA21_OnCarrySet_DA9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DA21_OnCarrySet_DA9F: + lda Zp5C ; CPU:$DA9F PRG:1A9F A5 5C + rts ; CPU:$DAA1 PRG:1AA1 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_Return_DAA2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_Return_DAA2: + stx Zp5A ; CPU:$DAA2 PRG:1AA2 86 5A + stx Zp5B ; CPU:$DAA4 PRG:1AA4 86 5B + sty Zp3B ; CPU:$DAA6 PRG:1AA6 84 3B +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_OnNonnegative_DAA8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_OnNonnegative_DAA8: + lda Zp5A ; CPU:$DAA8 PRG:1AA8 A5 5A + beq Sub_DAA2_JoinBranchPaths_DAE6 ; CPU:$DAAA PRG:1AAA F0 3A + ldy Zp3B ; CPU:$DAAC PRG:1AAC A4 3B + jsr $D2FA ; CPU:$DAAE PRG:1AAE 20 FA D2 + ldy Zp5A ; CPU:$DAB1 PRG:1AB1 A4 5A + dey ; CPU:$DAB3 PRG:1AB3 88 + lda (PlayerState),y ; CPU:$DAB4 PRG:1AB4 B1 26 + cmp #$01 ; CPU:$DAB6 PRG:1AB6 C9 01 + beq Sub_DAA2_JoinBranchPaths_DAE6 ; CPU:$DAB8 PRG:1AB8 F0 2C + cmp #$02 ; CPU:$DABA PRG:1ABA C9 02 + beq Sub_DAA2_JoinBranchPaths_DAE6 ; CPU:$DABC PRG:1ABC F0 28 + cmp #$03 ; CPU:$DABE PRG:1ABE C9 03 + beq Sub_DAA2_OnZero_DAE0 ; CPU:$DAC0 PRG:1AC0 F0 1E + cmp #$04 ; CPU:$DAC2 PRG:1AC2 C9 04 + beq Sub_DAA2_OnZero_DAE0 ; CPU:$DAC4 PRG:1AC4 F0 1A + ldy Zp3B ; CPU:$DAC6 PRG:1AC6 A4 3B + cpy #$0D ; CPU:$DAC8 PRG:1AC8 C0 0D + beq Sub_DAA2_OnZero_DAE0 ; CPU:$DACA PRG:1ACA F0 14 + jsr $DCB1 ; CPU:$DACC PRG:1ACC 20 B1 DC + ldy Zp5A ; CPU:$DACF PRG:1ACF A4 5A + dey ; CPU:$DAD1 PRG:1AD1 88 + lda (PlayerVelocity),y ; CPU:$DAD2 PRG:1AD2 B1 28 + cmp #$01 ; CPU:$DAD4 PRG:1AD4 C9 01 + beq Sub_DAA2_OnZero_DAE0 ; CPU:$DAD6 PRG:1AD6 F0 08 + cmp #$02 ; CPU:$DAD8 PRG:1AD8 C9 02 + beq Sub_DAA2_OnZero_DAE0 ; CPU:$DADA PRG:1ADA F0 04 + cmp #$03 ; CPU:$DADC PRG:1ADC C9 03 + bne Sub_DAA2_OnNonzero_DAE4 ; CPU:$DADE PRG:1ADE D0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_OnZero_DAE0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_OnZero_DAE0: + dec Zp5A ; CPU:$DAE0 PRG:1AE0 C6 5A + bpl Sub_DAA2_OnNonnegative_DAA8 ; CPU:$DAE2 PRG:1AE2 10 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_OnNonzero_DAE4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_OnNonzero_DAE4: + dec Zp5A ; CPU:$DAE4 PRG:1AE4 C6 5A +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_JoinBranchPaths_DAE6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_JoinBranchPaths_DAE6: + lda Zp5B ; CPU:$DAE6 PRG:1AE6 A5 5B + cmp #$1B ; CPU:$DAE8 PRG:1AE8 C9 1B + beq Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DAEA PRG:1AEA F0 3A + ldy Zp3B ; CPU:$DAEC PRG:1AEC A4 3B + jsr $D2FA ; CPU:$DAEE PRG:1AEE 20 FA D2 + ldy Zp5B ; CPU:$DAF1 PRG:1AF1 A4 5B + iny ; CPU:$DAF3 PRG:1AF3 C8 + lda (PlayerState),y ; CPU:$DAF4 PRG:1AF4 B1 26 + cmp #$01 ; CPU:$DAF6 PRG:1AF6 C9 01 + beq Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DAF8 PRG:1AF8 F0 2C + cmp #$02 ; CPU:$DAFA PRG:1AFA C9 02 + beq Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DAFC PRG:1AFC F0 28 + cmp #$03 ; CPU:$DAFE PRG:1AFE C9 03 + beq Sub_DAA2_OnZero_DB20 ; CPU:$DB00 PRG:1B00 F0 1E + cmp #$04 ; CPU:$DB02 PRG:1B02 C9 04 + beq Sub_DAA2_OnZero_DB20 ; CPU:$DB04 PRG:1B04 F0 1A + ldy Zp3B ; CPU:$DB06 PRG:1B06 A4 3B + cpy #$0D ; CPU:$DB08 PRG:1B08 C0 0D + beq Sub_DAA2_OnZero_DB20 ; CPU:$DB0A PRG:1B0A F0 14 + jsr $DCB1 ; CPU:$DB0C PRG:1B0C 20 B1 DC + ldy Zp5B ; CPU:$DB0F PRG:1B0F A4 5B + iny ; CPU:$DB11 PRG:1B11 C8 + lda (PlayerVelocity),y ; CPU:$DB12 PRG:1B12 B1 28 + cmp #$01 ; CPU:$DB14 PRG:1B14 C9 01 + beq Sub_DAA2_OnZero_DB20 ; CPU:$DB16 PRG:1B16 F0 08 + cmp #$02 ; CPU:$DB18 PRG:1B18 C9 02 + beq Sub_DAA2_OnZero_DB20 ; CPU:$DB1A PRG:1B1A F0 04 + cmp #$03 ; CPU:$DB1C PRG:1B1C C9 03 + bne Sub_DAA2_OnNonzero_DB24 ; CPU:$DB1E PRG:1B1E D0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_OnZero_DB20 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_OnZero_DB20: + inc Zp5B ; CPU:$DB20 PRG:1B20 E6 5B + bpl Sub_DAA2_JoinBranchPaths_DAE6 ; CPU:$DB22 PRG:1B22 10 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_OnNonzero_DB24 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_OnNonzero_DB24: + inc Zp5B ; CPU:$DB24 PRG:1B24 E6 5B +; ----------------------------------------------------------------------------- +; Routine: Sub_DAA2_JoinBranchPaths_DB26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DAA2_JoinBranchPaths_DB26: + rts ; CPU:$DB26 PRG:1B26 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB27_Return_DB27 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB27_Return_DB27: + lda Zp37 ; CPU:$DB27 PRG:1B27 A5 37 + cmp #$03 ; CPU:$DB29 PRG:1B29 C9 03 + bne Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DB2B PRG:1B2B D0 F9 + lda Zp38 ; CPU:$DB2D PRG:1B2D A5 38 + cmp #$03 ; CPU:$DB2F PRG:1B2F C9 03 + bne Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DB31 PRG:1B31 D0 F3 + ldy EnemyPosY1 ; CPU:$DB33 PRG:1B33 A4 33 + jsr $D2EF ; CPU:$DB35 PRG:1B35 20 EF D2 + ldy EnemyPosX1 ; CPU:$DB38 PRG:1B38 A4 32 + lda (PlayerVelocity),y ; CPU:$DB3A PRG:1B3A B1 28 + cmp #$07 ; CPU:$DB3C PRG:1B3C C9 07 + bne Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DB3E PRG:1B3E D0 E6 + lda Zp36 ; CPU:$DB40 PRG:1B40 A5 36 + bmi Sub_DAA2_JoinBranchPaths_DB26 ; CPU:$DB42 PRG:1B42 30 E2 + lda #$FF ; CPU:$DB44 PRG:1B44 A9 FF + sec ; CPU:$DB46 PRG:1B46 38 + sbc Zp53 ; CPU:$DB47 PRG:1B47 E5 53 + sta Zp36 ; CPU:$DB49 PRG:1B49 85 36 + lda #$00 ; CPU:$DB4B PRG:1B4B A9 00 + sta (PlayerVelocity),y ; CPU:$DB4D PRG:1B4D 91 28 + ldy EnemyPosY1 ; CPU:$DB4F PRG:1B4F A4 33 + sty LevelDataPtrHi ; CPU:$DB51 PRG:1B51 84 86 + ldy EnemyPosX1 ; CPU:$DB53 PRG:1B53 A4 32 + sty LevelDataPtrLo ; CPU:$DB55 PRG:1B55 84 85 + ldy LevelDataPtrHi ; CPU:$DB57 PRG:1B57 A4 86 + ldx LevelDataPtrLo ; CPU:$DB59 PRG:1B59 A6 85 + lda #$00 ; CPU:$DB5B PRG:1B5B A9 00 + beq Sub_DB27_OnZero_DB80 ; CPU:$DB5D PRG:1B5D F0 21 + lda Zp36 ; CPU:$DB5F PRG:1B5F A5 36 + bpl Sub_DB27_JoinBranchPaths_DB85 ; CPU:$DB61 PRG:1B61 10 22 + inc Zp36 ; CPU:$DB63 PRG:1B63 E6 36 + bne Sub_DB27_JoinBranchPaths_DB85 ; CPU:$DB65 PRG:1B65 D0 1E + ldy EnemyPosY1 ; CPU:$DB67 PRG:1B67 A4 33 + sty LevelDataPtrHi ; CPU:$DB69 PRG:1B69 84 86 + jsr $D2EF ; CPU:$DB6B PRG:1B6B 20 EF D2 + ldy EnemyPosX1 ; CPU:$DB6E PRG:1B6E A4 32 + sty LevelDataPtrLo ; CPU:$DB70 PRG:1B70 84 85 + lda (PlayerVelocity),y ; CPU:$DB72 PRG:1B72 B1 28 + cmp #$00 ; CPU:$DB74 PRG:1B74 C9 00 + bne Sub_DB27_OnNonzero_DB83 ; CPU:$DB76 PRG:1B76 D0 0B + lda #$07 ; CPU:$DB78 PRG:1B78 A9 07 + sta (PlayerVelocity),y ; CPU:$DB7A PRG:1B7A 91 28 + ldy LevelDataPtrHi ; CPU:$DB7C PRG:1B7C A4 86 + ldx LevelDataPtrLo ; CPU:$DB7E PRG:1B7E A6 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB27_OnZero_DB80 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB27_OnZero_DB80: + jmp $D055 ; CPU:$DB80 PRG:1B80 4C 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB27_OnNonzero_DB83 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB27_OnNonzero_DB83: + dec Zp36 ; CPU:$DB83 PRG:1B83 C6 36 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB27_JoinBranchPaths_DB85 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB27_JoinBranchPaths_DB85: + rts ; CPU:$DB85 PRG:1B85 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB86_Return_DB86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB86_Return_DB86: + inc EnemyPosX2 ; CPU:$DB86 PRG:1B86 E6 34 + cmp EnemyPosX2 ; CPU:$DB88 PRG:1B88 C5 34 + bcc Sub_DB86_OnCarryClear_DB8F ; CPU:$DB8A PRG:1B8A 90 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB86_OnCarryClear_DB8C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB86_OnCarryClear_DB8C: + sta EnemyPosX2 ; CPU:$DB8C PRG:1B8C 85 34 + rts ; CPU:$DB8E PRG:1B8E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB86_OnCarryClear_DB8F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB86_OnCarryClear_DB8F: + cpx EnemyPosX2 ; CPU:$DB8F PRG:1B8F E4 34 + bcc Sub_DB86_OnCarryClear_DB8C ; CPU:$DB91 PRG:1B91 90 F9 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB86_OnZero_DB93 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB86_OnZero_DB93: + rts ; CPU:$DB93 PRG:1B93 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DB94_Return_DB94 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB94_Return_DB94: + lda Zp37 ; CPU:$DB94 PRG:1B94 A5 37 + cmp #$03 ; CPU:$DB96 PRG:1B96 C9 03 + bcc Sub_DB94_OnCarryClear_DBA1 ; CPU:$DB98 PRG:1B98 90 07 + beq Sub_DB86_OnZero_DB93 ; CPU:$DB9A PRG:1B9A F0 F7 + dec Zp37 ; CPU:$DB9C PRG:1B9C C6 37 + jmp $DB27 ; CPU:$DB9E PRG:1B9E 4C 27 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_DB94_OnCarryClear_DBA1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DB94_OnCarryClear_DBA1: + inc Zp37 ; CPU:$DBA1 PRG:1BA1 E6 37 + jmp $DB27 ; CPU:$DBA3 PRG:1BA3 4C 27 DB +; ---- data $DBA6-$DBB7 (18 bytes) ---- + .byte $A5, $38, $C9, $03, $90, $07, $F0, $E5, $C6, $38, $4C, $27, $DB, $E6, $38, $4C ; CPU:$DBA6 PRG:1BA6 A5 38 C9 03 90 07 F0 E5 C6 38 4C 27 DB E6 38 4C + .byte $27, $DB ; CPU:$DBB6 PRG:1BB6 27 DB +; ----------------------------------------------------------------------------- +; Routine: Sub_DBB8_Entry_DBB8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DBB8_Entry_DBB8: + ldx LevelTimer ; CPU:$DBB8 PRG:1BB8 A6 39 + lda EnemyPosX1 ; CPU:$DBBA PRG:1BBA A5 32 + sta $0660,x ; CPU:$DBBC PRG:1BBC 9D 60 06 + lda EnemyPosY1 ; CPU:$DBBF PRG:1BBF A5 33 + sta $0668,x ; CPU:$DBC1 PRG:1BC1 9D 68 06 + lda Zp37 ; CPU:$DBC4 PRG:1BC4 A5 37 + sta $0678,x ; CPU:$DBC6 PRG:1BC6 9D 78 06 + lda Zp38 ; CPU:$DBC9 PRG:1BC9 A5 38 + sta $0680,x ; CPU:$DBCB PRG:1BCB 9D 80 06 + lda Zp36 ; CPU:$DBCE PRG:1BCE A5 36 + sta $0670,x ; CPU:$DBD0 PRG:1BD0 9D 70 06 + lda EnemyPosY2 ; CPU:$DBD3 PRG:1BD3 A5 35 + sta $0690,x ; CPU:$DBD5 PRG:1BD5 9D 90 06 + lda EnemyPosX2 ; CPU:$DBD8 PRG:1BD8 A5 34 + sta $0688,x ; CPU:$DBDA PRG:1BDA 9D 88 06 + rts ; CPU:$DBDD PRG:1BDD 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DBDE_Return_DBDE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DBDE_Return_DBDE: + ldx LevelTimer ; CPU:$DBDE PRG:1BDE A6 39 + lda $0660,x ; CPU:$DBE0 PRG:1BE0 BD 60 06 + sta EnemyPosX1 ; CPU:$DBE3 PRG:1BE3 85 32 + lda $0668,x ; CPU:$DBE5 PRG:1BE5 BD 68 06 + sta EnemyPosY1 ; CPU:$DBE8 PRG:1BE8 85 33 + lda $0678,x ; CPU:$DBEA PRG:1BEA BD 78 06 + sta Zp37 ; CPU:$DBED PRG:1BED 85 37 + lda $0680,x ; CPU:$DBEF PRG:1BEF BD 80 06 + sta Zp38 ; CPU:$DBF2 PRG:1BF2 85 38 + lda $0688,x ; CPU:$DBF4 PRG:1BF4 BD 88 06 + sta EnemyPosX2 ; CPU:$DBF7 PRG:1BF7 85 34 + lda $0690,x ; CPU:$DBF9 PRG:1BF9 BD 90 06 + sta EnemyPosY2 ; CPU:$DBFC PRG:1BFC 85 35 + lda $0670,x ; CPU:$DBFE PRG:1BFE BD 70 06 + sta Zp36 ; CPU:$DC01 PRG:1C01 85 36 +; ----------------------------------------------------------------------------- +; Routine: Sub_DBDE_OnZero_DC03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DBDE_OnZero_DC03: + rts ; CPU:$DC03 PRG:1C03 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC04_Return_DC04 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC04_Return_DC04: + lda Zp8D ; CPU:$DC04 PRG:1C04 A5 8D + beq Sub_DBDE_OnZero_DC03 ; CPU:$DC06 PRG:1C06 F0 FB + lda LevelTimer ; CPU:$DC08 PRG:1C08 A5 39 + pha ; CPU:$DC0A PRG:1C0A 48 + lda #$01 ; CPU:$DC0B PRG:1C0B A9 01 + sta LevelTimer ; CPU:$DC0D PRG:1C0D 85 39 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC04_OnNonzero_DC0F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC04_OnNonzero_DC0F: + jsr $DBDE ; CPU:$DC0F PRG:1C0F 20 DE DB + jsr $DC93 ; CPU:$DC12 PRG:1C12 20 93 DC + lda LevelTimer ; CPU:$DC15 PRG:1C15 A5 39 + inc LevelTimer ; CPU:$DC17 PRG:1C17 E6 39 + cmp Zp8D ; CPU:$DC19 PRG:1C19 C5 8D + bne Sub_DC04_OnNonzero_DC0F ; CPU:$DC1B PRG:1C1B D0 F2 + lda ZpDC ; CPU:$DC1D PRG:1C1D A5 DC + cmp #$03 ; CPU:$DC1F PRG:1C1F C9 03 + bcc Sub_DC04_OnCarryClear_DC26 ; CPU:$DC21 PRG:1C21 90 03 + jsr $CA57 ; CPU:$DC23 PRG:1C23 20 57 CA +; ----------------------------------------------------------------------------- +; Routine: Sub_DC04_OnCarryClear_DC26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC04_OnCarryClear_DC26: + pla ; CPU:$DC26 PRG:1C26 68 + sta LevelTimer ; CPU:$DC27 PRG:1C27 85 39 + rts ; CPU:$DC29 PRG:1C29 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC2A_Return_DC2A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC2A_Return_DC2A: + lda #$00 ; CPU:$DC2A PRG:1C2A A9 00 + sta Zp1E ; CPU:$DC2C PRG:1C2C 85 1E + sta ObjPtrHi ; CPU:$DC2E PRG:1C2E 85 13 + lda EnemyPosX1 ; CPU:$DC30 PRG:1C30 A5 32 + asl a ; CPU:$DC32 PRG:1C32 0A + asl a ; CPU:$DC33 PRG:1C33 0A + asl a ; CPU:$DC34 PRG:1C34 0A + asl a ; CPU:$DC35 PRG:1C35 0A + rol ObjPtrHi ; CPU:$DC36 PRG:1C36 26 13 + ldx Zp37 ; CPU:$DC38 PRG:1C38 A6 37 + clc ; CPU:$DC3A PRG:1C3A 18 + adc $D17F,x ; CPU:$DC3B PRG:1C3B 7D 7F D1 + sta ObjPtrLo ; CPU:$DC3E PRG:1C3E 85 12 + lda #$00 ; CPU:$DC40 PRG:1C40 A9 00 + adc ObjPtrHi ; CPU:$DC42 PRG:1C42 65 13 + sta ObjPtrHi ; CPU:$DC44 PRG:1C44 85 13 + lda ObjPtrLo ; CPU:$DC46 PRG:1C46 A5 12 + sec ; CPU:$DC48 PRG:1C48 38 + sbc Zp04 ; CPU:$DC49 PRG:1C49 E5 04 + sta ObjPtrLo ; CPU:$DC4B PRG:1C4B 85 12 + lda ObjPtrHi ; CPU:$DC4D PRG:1C4D A5 13 + sbc #$00 ; CPU:$DC4F PRG:1C4F E9 00 + beq Sub_DC2A_OnZero_DC5F ; CPU:$DC51 PRG:1C51 F0 0C + cmp #$01 ; CPU:$DC53 PRG:1C53 C9 01 + beq Sub_DC2A_JoinBranchPaths_DC64 ; CPU:$DC55 PRG:1C55 F0 0D + lda ObjPtrLo ; CPU:$DC57 PRG:1C57 A5 12 + cmp #$F8 ; CPU:$DC59 PRG:1C59 C9 F8 + bcc Sub_DC2A_JoinBranchPaths_DC64 ; CPU:$DC5B PRG:1C5B 90 07 + inc Zp1E ; CPU:$DC5D PRG:1C5D E6 1E +; ----------------------------------------------------------------------------- +; Routine: Sub_DC2A_OnZero_DC5F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC2A_OnZero_DC5F: + lda ObjPtrLo ; CPU:$DC5F PRG:1C5F A5 12 + jmp $DC68 ; CPU:$DC61 PRG:1C61 4C 68 DC +; ----------------------------------------------------------------------------- +; Routine: Sub_DC2A_JoinBranchPaths_DC64 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC2A_JoinBranchPaths_DC64: + lda #$F8 ; CPU:$DC64 PRG:1C64 A9 F8 + bne Sub_DC68_OnNonzero_DC76 ; CPU:$DC66 PRG:1C66 D0 0E +; ----------------------------------------------------------------------------- +; Routine: Sub_DC68_Continue_DC68 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC68_Continue_DC68: + sta Zp18 ; CPU:$DC68 PRG:1C68 85 18 + lda EnemyPosY1 ; CPU:$DC6A PRG:1C6A A5 33 + asl a ; CPU:$DC6C PRG:1C6C 0A + asl a ; CPU:$DC6D PRG:1C6D 0A + asl a ; CPU:$DC6E PRG:1C6E 0A + asl a ; CPU:$DC6F PRG:1C6F 0A + ldx Zp38 ; CPU:$DC70 PRG:1C70 A6 38 + clc ; CPU:$DC72 PRG:1C72 18 + adc $D187,x ; CPU:$DC73 PRG:1C73 7D 87 D1 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC68_OnNonzero_DC76 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC68_OnNonzero_DC76: + sta Zp19 ; CPU:$DC76 PRG:1C76 85 19 + rts ; CPU:$DC78 PRG:1C78 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC79_Return_DC79 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC79_Return_DC79: + jsr $DC2A ; CPU:$DC79 PRG:1C79 20 2A DC + ldx #$02 ; CPU:$DC7C PRG:1C7C A2 02 + lda EnemyPosY2 ; CPU:$DC7E PRG:1C7E A5 35 + bmi Sub_DC93_JoinBranchPaths_DC9E ; CPU:$DC80 PRG:1C80 30 1C + ldx #$42 ; CPU:$DC82 PRG:1C82 A2 42 + bne Sub_DC93_JoinBranchPaths_DC9E ; CPU:$DC84 PRG:1C84 D0 18 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC86_Continue_DC86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC86_Continue_DC86: + jsr $DC2A ; CPU:$DC86 PRG:1C86 20 2A DC + ldx #$00 ; CPU:$DC89 PRG:1C89 A2 00 + lda EnemyPosY2 ; CPU:$DC8B PRG:1C8B A5 35 + bmi Sub_DC93_JoinBranchPaths_DC9E ; CPU:$DC8D PRG:1C8D 30 0F + ldx #$40 ; CPU:$DC8F PRG:1C8F A2 40 + bne Sub_DC93_JoinBranchPaths_DC9E ; CPU:$DC91 PRG:1C91 D0 0B +; ----------------------------------------------------------------------------- +; Routine: Sub_DC93_Continue_DC93 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC93_Continue_DC93: + jsr $DC2A ; CPU:$DC93 PRG:1C93 20 2A DC + ldx #$01 ; CPU:$DC96 PRG:1C96 A2 01 + lda EnemyPosY2 ; CPU:$DC98 PRG:1C98 A5 35 + bmi Sub_DC93_JoinBranchPaths_DC9E ; CPU:$DC9A PRG:1C9A 30 02 + ldx #$41 ; CPU:$DC9C PRG:1C9C A2 41 +; ----------------------------------------------------------------------------- +; Routine: Sub_DC93_JoinBranchPaths_DC9E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DC93_JoinBranchPaths_DC9E: + stx Zp1B ; CPU:$DC9E PRG:1C9E 86 1B + lda EnemyPosX2 ; CPU:$DCA0 PRG:1CA0 A5 34 + asl a ; CPU:$DCA2 PRG:1CA2 0A + asl a ; CPU:$DCA3 PRG:1CA3 0A + sta Zp1A ; CPU:$DCA4 PRG:1CA4 85 1A + lda LevelTimer ; CPU:$DCA6 PRG:1CA6 A5 39 + clc ; CPU:$DCA8 PRG:1CA8 18 + adc #$01 ; CPU:$DCA9 PRG:1CA9 69 01 + asl a ; CPU:$DCAB PRG:1CAB 0A + asl a ; CPU:$DCAC PRG:1CAC 0A + tay ; CPU:$DCAD PRG:1CAD A8 + jmp $D18F ; CPU:$DCAE PRG:1CAE 4C 8F D1 +; ----------------------------------------------------------------------------- +; Routine: Sub_DCB1_JumpNext_DCB1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DCB1_JumpNext_DCB1: + lda $C689,y ; CPU:$DCB1 PRG:1CB1 B9 89 C6 + sta PlayerVelocity ; CPU:$DCB4 PRG:1CB4 85 28 + lda $C6A5,y ; CPU:$DCB6 PRG:1CB6 B9 A5 C6 + sta Zp29 ; CPU:$DCB9 PRG:1CB9 85 29 + rts ; CPU:$DCBB PRG:1CBB 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DCBC_Return_DCBC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DCBC_Return_DCBC: + lda #$00 ; CPU:$DCBC PRG:1CBC A9 00 + sta GameplayActiveFlag ; CPU:$DCBE PRG:1CBE 85 DB + jsr $DEDC ; CPU:$DCC0 PRG:1CC0 20 DC DE + ldx #$A8 ; CPU:$DCC3 PRG:1CC3 A2 A8 + ldy #$D0 ; CPU:$DCC5 PRG:1CC5 A0 D0 + jsr $DD58 ; CPU:$DCC7 PRG:1CC7 20 58 DD + ldx #$C8 ; CPU:$DCCA PRG:1CCA A2 C8 + jsr $DD58 ; CPU:$DCCC PRG:1CCC 20 58 DD + ldx #$E8 ; CPU:$DCCF PRG:1CCF A2 E8 + jsr $DD58 ; CPU:$DCD1 PRG:1CD1 20 58 DD + ldx #$A2 ; CPU:$DCD4 PRG:1CD4 A2 A2 + jsr $DD4F ; CPU:$DCD6 PRG:1CD6 20 4F DD + ldx #$C2 ; CPU:$DCD9 PRG:1CD9 A2 C2 + jsr $DD4F ; CPU:$DCDB PRG:1CDB 20 4F DD + ldx #$E2 ; CPU:$DCDE PRG:1CDE A2 E2 + jsr $DD4F ; CPU:$DCE0 PRG:1CE0 20 4F DD + nop ; CPU:$DCE3 PRG:1CE3 EA + nop ; CPU:$DCE4 PRG:1CE4 EA + nop ; CPU:$DCE5 PRG:1CE5 EA + nop ; CPU:$DCE6 PRG:1CE6 EA + nop ; CPU:$DCE7 PRG:1CE7 EA + nop ; CPU:$DCE8 PRG:1CE8 EA + nop ; CPU:$DCE9 PRG:1CE9 EA + nop ; CPU:$DCEA PRG:1CEA EA + nop ; CPU:$DCEB PRG:1CEB EA + nop ; CPU:$DCEC PRG:1CEC EA + nop ; CPU:$DCED PRG:1CED EA + nop ; CPU:$DCEE PRG:1CEE EA + nop ; CPU:$DCEF PRG:1CEF EA + nop ; CPU:$DCF0 PRG:1CF0 EA + nop ; CPU:$DCF1 PRG:1CF1 EA + nop ; CPU:$DCF2 PRG:1CF2 EA + nop ; CPU:$DCF3 PRG:1CF3 EA + nop ; CPU:$DCF4 PRG:1CF4 EA + nop ; CPU:$DCF5 PRG:1CF5 EA + nop ; CPU:$DCF6 PRG:1CF6 EA + nop ; CPU:$DCF7 PRG:1CF7 EA + nop ; CPU:$DCF8 PRG:1CF8 EA + nop ; CPU:$DCF9 PRG:1CF9 EA + nop ; CPU:$DCFA PRG:1CFA EA + nop ; CPU:$DCFB PRG:1CFB EA + nop ; CPU:$DCFC PRG:1CFC EA + nop ; CPU:$DCFD PRG:1CFD EA + nop ; CPU:$DCFE PRG:1CFE EA + nop ; CPU:$DCFF PRG:1CFF EA + nop ; CPU:$DD00 PRG:1D00 EA + nop ; CPU:$DD01 PRG:1D01 EA + nop ; CPU:$DD02 PRG:1D02 EA + nop ; CPU:$DD03 PRG:1D03 EA + nop ; CPU:$DD04 PRG:1D04 EA + nop ; CPU:$DD05 PRG:1D05 EA + nop ; CPU:$DD06 PRG:1D06 EA + nop ; CPU:$DD07 PRG:1D07 EA + nop ; CPU:$DD08 PRG:1D08 EA + nop ; CPU:$DD09 PRG:1D09 EA + nop ; CPU:$DD0A PRG:1D0A EA + nop ; CPU:$DD0B PRG:1D0B EA + nop ; CPU:$DD0C PRG:1D0C EA + nop ; CPU:$DD0D PRG:1D0D EA + nop ; CPU:$DD0E PRG:1D0E EA + nop ; CPU:$DD0F PRG:1D0F EA + nop ; CPU:$DD10 PRG:1D10 EA + nop ; CPU:$DD11 PRG:1D11 EA + nop ; CPU:$DD12 PRG:1D12 EA + nop ; CPU:$DD13 PRG:1D13 EA + nop ; CPU:$DD14 PRG:1D14 EA + lda #$86 ; CPU:$DD15 PRG:1D15 A9 86 + sta ObjPtrLo ; CPU:$DD17 PRG:1D17 85 12 + lda #$DD ; CPU:$DD19 PRG:1D19 A9 DD + sta ObjPtrHi ; CPU:$DD1B PRG:1D1B 85 13 + ldx #$08 ; CPU:$DD1D PRG:1D1D A2 08 + ldy #$00 ; CPU:$DD1F PRG:1D1F A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_DCBC_OnNonzero_DD21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DCBC_OnNonzero_DD21: + jsr $DD6F ; CPU:$DD21 PRG:1D21 20 6F DD + dex ; CPU:$DD24 PRG:1D24 CA + bne Sub_DCBC_OnNonzero_DD21 ; CPU:$DD25 PRG:1D25 D0 FA + lda #$3F ; CPU:$DD27 PRG:1D27 A9 3F + ldx #$00 ; CPU:$DD29 PRG:1D29 A2 00 + jsr $C178 ; CPU:$DD2B PRG:1D2B 20 78 C1 + ldx #$04 ; CPU:$DD2E PRG:1D2E A2 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_DCBC_OnNonzero_DD30 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DCBC_OnNonzero_DD30: + lda $DD6A,x ; CPU:$DD30 PRG:1D30 BD 6A DD + jsr Sub_C006_Continue_C006 ; CPU:$DD33 PRG:1D33 20 06 C0 + dex ; CPU:$DD36 PRG:1D36 CA + bne Sub_DCBC_OnNonzero_DD30 ; CPU:$DD37 PRG:1D37 D0 F7 + jmp $DFAD ; CPU:$DD39 PRG:1D39 4C AD DF +; ---- data $DD3C-$DD4E (19 bytes) ---- + .byte $86, $85, $A9, $01, $4C, $1C, $CA, $A9, $01, $20, $1C, $CA, $E6, $85, $A5, $85 ; CPU:$DD3C PRG:1D3C 86 85 A9 01 4C 1C CA A9 01 20 1C CA E6 85 A5 85 + .byte $C9, $0B, $60 ; CPU:$DD4C PRG:1D4C C9 0B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DD4F_Entry_DD4F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD4F_Entry_DD4F: + lda #$20 ; CPU:$DD4F PRG:1D4F A9 20 + jsr $C178 ; CPU:$DD51 PRG:1D51 20 78 C1 + ldx #$05 ; CPU:$DD54 PRG:1D54 A2 05 + bne Sub_DD58_OnNonzero_DD62 ; CPU:$DD56 PRG:1D56 D0 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_DD58_Continue_DD58 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD58_Continue_DD58: + lda #$20 ; CPU:$DD58 PRG:1D58 A9 20 + sta PPUADDR ; CPU:$DD5A PRG:1D5A 8D 06 20 + stx PPUADDR ; CPU:$DD5D PRG:1D5D 8E 06 20 + ldx #$16 ; CPU:$DD60 PRG:1D60 A2 16 +; ----------------------------------------------------------------------------- +; Routine: Sub_DD58_OnNonzero_DD62 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD58_OnNonzero_DD62: + tya ; CPU:$DD62 PRG:1D62 98 + jsr Sub_C006_Continue_C006 ; CPU:$DD63 PRG:1D63 20 06 C0 + iny ; CPU:$DD66 PRG:1D66 C8 + dex ; CPU:$DD67 PRG:1D67 CA + bne Sub_DD58_OnNonzero_DD62 ; CPU:$DD68 PRG:1D68 D0 F8 + rts ; CPU:$DD6A PRG:1D6A 60 +; ---- data $DD6B-$DD6E (4 bytes) ---- + .byte $38, $30, $16, $12 ; CPU:$DD6B PRG:1D6B 38 30 16 12 +; ----------------------------------------------------------------------------- +; Routine: Sub_DD6F_Entry_DD6F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD6F_Entry_DD6F: + lda (ObjPtrLo),y ; CPU:$DD6F PRG:1D6F B1 12 + sta PPUADDR ; CPU:$DD71 PRG:1D71 8D 06 20 + iny ; CPU:$DD74 PRG:1D74 C8 + lda (ObjPtrLo),y ; CPU:$DD75 PRG:1D75 B1 12 + sta PPUADDR ; CPU:$DD77 PRG:1D77 8D 06 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_DD7A_OnNonzero_DD7A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD7A_OnNonzero_DD7A: + iny ; CPU:$DD7A PRG:1D7A C8 + lda (ObjPtrLo),y ; CPU:$DD7B PRG:1D7B B1 12 + beq Sub_DD7A_OnZero_DD84 ; CPU:$DD7D PRG:1D7D F0 05 + jsr Sub_C006_Continue_C006 ; CPU:$DD7F PRG:1D7F 20 06 C0 + bne Sub_DD7A_OnNonzero_DD7A ; CPU:$DD82 PRG:1D82 D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Sub_DD7A_OnZero_DD84 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DD7A_OnZero_DD84: + iny ; CPU:$DD84 PRG:1D84 C8 + rts ; CPU:$DD85 PRG:1D85 60 +; ---- data $DD86-$DE9E (281 bytes) ---- +; referenced by `lda $DD86,x` at $E1E2 (operand $DD86 falls inside this region) +; referenced by `lda $DD87,x` at $E1E8 (operand $DD87 falls inside this region) + .byte $21, $CB, $3A, $31, $20, $50, $4C, $41, $59, $45, $52, $20, $00, $22, $0B, $20 ; CPU:$DD86 PRG:1D86 21 CB 3A 31 20 50 4C 41 59 45 52 20 00 22 0B 20 + .byte $32, $20, $50, $4C, $41, $59, $45, $52, $53, $00, $22, $4B, $20, $45, $44, $49 ; CPU:$DD96 PRG:1D96 32 20 50 4C 41 59 45 52 53 00 22 4B 20 45 44 49 + .byte $54, $20, $4D, $4F, $44, $45, $00, $23, $03, $43, $4F, $50, $59, $52, $49, $47 ; CPU:$DDA6 PRG:1DA6 54 20 4D 4F 44 45 00 23 03 43 4F 50 59 52 49 47 + .byte $48, $54, $20, $40, $31, $39, $38, $33, $20, $44, $4F, $55, $47, $20, $53, $4D ; CPU:$DDB6 PRG:1DB6 48 54 20 40 31 39 38 33 20 44 4F 55 47 20 53 4D + .byte $49, $54, $48, $00, $23, $23, $43, $4F, $50, $59, $52, $49, $47, $48, $54, $20 ; CPU:$DDC6 PRG:1DC6 49 54 48 00 23 23 43 4F 50 59 52 49 47 48 54 20 + .byte $40, $31, $39, $38, $34, $20, $48, $55, $44, $53, $4F, $4E, $20, $53, $4F, $46 ; CPU:$DDD6 PRG:1DD6 40 31 39 38 34 20 48 55 44 53 4F 4E 20 53 4F 46 + .byte $54, $00, $23, $4A, $4C, $49, $43, $45, $4E, $53, $45, $44, $20, $42, $59, $00 ; CPU:$DDE6 PRG:1DE6 54 00 23 4A 4C 49 43 45 4E 53 45 44 20 42 59 00 + .byte $23, $64, $4E, $49, $4E, $54, $45, $4E, $44, $4F, $20, $4F, $46, $20, $41, $4D ; CPU:$DDF6 PRG:1DF6 23 64 4E 49 4E 54 45 4E 44 4F 20 4F 46 20 41 4D + .byte $45, $52, $49, $43, $41, $20, $49, $4E, $43, $00, $21, $23, $42, $59, $20, $42 ; CPU:$DE06 PRG:1E06 45 52 49 43 41 20 49 4E 43 00 21 23 42 59 20 42 + .byte $52, $4F, $44, $45, $52, $42, $55, $4E, $44, $20, $53, $4F, $46, $54, $57, $41 ; CPU:$DE16 PRG:1E16 52 4F 44 45 52 42 55 4E 44 20 53 4F 46 54 57 41 + .byte $52, $45, $20, $49, $4E, $43, $00, $00, $20, $20, $20, $20, $00, $21, $0C, $50 ; CPU:$DE26 PRG:1E26 52 45 20 49 4E 43 00 00 20 20 20 20 00 21 0C 50 + .byte $4C, $41, $59, $45, $52, $00, $21, $CB, $47, $41, $4D, $45, $20, $20, $4F, $56 ; CPU:$DE36 PRG:1E36 4C 41 59 45 52 00 21 CB 47 41 4D 45 20 20 4F 56 + .byte $45, $52, $00, $21, $C8, $53, $54, $41, $47, $45, $20, $00, $21, $D1, $4C, $45 ; CPU:$DE46 PRG:1E46 45 52 00 21 C8 53 54 41 47 45 20 00 21 D1 4C 45 + .byte $46, $54, $00, $22, $88, $53, $43, $4F, $52, $45, $00, $22, $C8, $48, $49, $53 ; CPU:$DE56 PRG:1E56 46 54 00 22 88 53 43 4F 52 45 00 22 C8 48 49 53 + .byte $43, $4F, $52, $45, $00, $20, $F1, $30, $20, $50, $4F, $49, $4E, $54, $53, $00 ; CPU:$DE66 PRG:1E66 43 4F 52 45 00 20 F1 30 20 50 4F 49 4E 54 53 00 + .byte $21, $71, $30, $20, $50, $4F, $49, $4E, $54, $53, $00, $22, $68, $54, $4F, $54 ; CPU:$DE76 PRG:1E76 21 71 30 20 50 4F 49 4E 54 53 00 22 68 54 4F 54 + .byte $41, $4C, $00, $22, $71, $30, $20, $50, $4F, $49, $4E, $54, $53, $00, $21, $F1 ; CPU:$DE86 PRG:1E86 41 4C 00 22 71 30 20 50 4F 49 4E 54 53 00 21 F1 + .byte $30, $20, $50, $4F, $49, $4E, $54, $53, $00 ; CPU:$DE96 PRG:1E96 30 20 50 4F 49 4E 54 53 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_DE9F_Entry_DE9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DE9F_Entry_DE9F: + lda #$80 ; CPU:$DE9F PRG:1E9F A9 80 + sta APUPULSE2CTRL ; CPU:$DEA1 PRG:1EA1 8D 04 40 + lda #$00 ; CPU:$DEA4 PRG:1EA4 A9 00 + sta APUPULSE2SWEEP ; CPU:$DEA6 PRG:1EA6 8D 05 40 + sta APUPULSE2TIMERLO ; CPU:$DEA9 PRG:1EA9 8D 06 40 + sta APUPULSE2TIMERHI ; CPU:$DEAC PRG:1EAC 8D 07 40 + jsr $DEC6 ; CPU:$DEAF PRG:1EAF 20 C6 DE + jsr $DEC6 ; CPU:$DEB2 PRG:1EB2 20 C6 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_DEB5_CallNext_DEB5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEB5_CallNext_DEB5: + jsr $DEC6 ; CPU:$DEB5 PRG:1EB5 20 C6 DE + ldy #$03 ; CPU:$DEB8 PRG:1EB8 A0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEB5_OnNonzero_DEBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEB5_OnNonzero_DEBA: + jsr $DED3 ; CPU:$DEBA PRG:1EBA 20 D3 DE + dey ; CPU:$DEBD PRG:1EBD 88 + bne Sub_DEB5_OnNonzero_DEBA ; CPU:$DEBE PRG:1EBE D0 FA +; ----------------------------------------------------------------------------- +; Routine: Sub_DEC0_Continue_DEC0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEC0_Continue_DEC0: + lda #$00 ; CPU:$DEC0 PRG:1EC0 A9 00 + sta APUPULSE1CTRL ; CPU:$DEC2 PRG:1EC2 8D 00 40 + rts ; CPU:$DEC5 PRG:1EC5 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEC6_Return_DEC6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEC6_Return_DEC6: + lda #$53 ; CPU:$DEC6 PRG:1EC6 A9 53 + jsr $E2A2 ; CPU:$DEC8 PRG:1EC8 20 A2 E2 + jsr $DED3 ; CPU:$DECB PRG:1ECB 20 D3 DE + lda #$69 ; CPU:$DECE PRG:1ECE A9 69 + jsr $E2A2 ; CPU:$DED0 PRG:1ED0 20 A2 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_DED3_CallNext_DED3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DED3_CallNext_DED3: + ldx #$05 ; CPU:$DED3 PRG:1ED3 A2 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_DED3_OnNonzero_DED5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DED3_OnNonzero_DED5: + jsr $C2A8 ; CPU:$DED5 PRG:1ED5 20 A8 C2 + dex ; CPU:$DED8 PRG:1ED8 CA + bne Sub_DED3_OnNonzero_DED5 ; CPU:$DED9 PRG:1ED9 D0 FA + rts ; CPU:$DEDB PRG:1EDB 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEDC_Return_DEDC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEDC_Return_DEDC: + jsr $C2BC ; CPU:$DEDC PRG:1EDC 20 BC C2 + jsr $C287 ; CPU:$DEDF PRG:1EDF 20 87 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEE2_CallNext_DEE2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEE2_CallNext_DEE2: + lda #$20 ; CPU:$DEE2 PRG:1EE2 A9 20 + ldx #$00 ; CPU:$DEE4 PRG:1EE4 A2 00 + jsr $C178 ; CPU:$DEE6 PRG:1EE6 20 78 C1 + ldx #$1E ; CPU:$DEE9 PRG:1EE9 A2 1E +; ----------------------------------------------------------------------------- +; Routine: Sub_DEE2_OnNonzero_DEEB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEE2_OnNonzero_DEEB: + ldy #$20 ; CPU:$DEEB PRG:1EEB A0 20 + lda #$20 ; CPU:$DEED PRG:1EED A9 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEE2_OnNonzero_DEEF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEE2_OnNonzero_DEEF: + jsr Sub_C006_Continue_C006 ; CPU:$DEEF PRG:1EEF 20 06 C0 + dey ; CPU:$DEF2 PRG:1EF2 88 + bne Sub_DEE2_OnNonzero_DEEF ; CPU:$DEF3 PRG:1EF3 D0 FA + dex ; CPU:$DEF5 PRG:1EF5 CA + bne Sub_DEE2_OnNonzero_DEEB ; CPU:$DEF6 PRG:1EF6 D0 F3 + lda #$00 ; CPU:$DEF8 PRG:1EF8 A9 00 + ldx #$40 ; CPU:$DEFA PRG:1EFA A2 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_DEE2_OnNonzero_DEFC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DEE2_OnNonzero_DEFC: + jsr Sub_C006_Continue_C006 ; CPU:$DEFC PRG:1EFC 20 06 C0 + dex ; CPU:$DEFF PRG:1EFF CA + bne Sub_DEE2_OnNonzero_DEFC ; CPU:$DF00 PRG:1F00 D0 FA + rts ; CPU:$DF02 PRG:1F02 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DF03_Return_DF03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF03_Return_DF03: + jsr $C2A8 ; CPU:$DF03 PRG:1F03 20 A8 C2 + jmp $DF0C ; CPU:$DF06 PRG:1F06 4C 0C DF +; ----------------------------------------------------------------------------- +; Routine: Sub_DF09_JumpNext_DF09 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF09_JumpNext_DF09: + jsr $DEDC ; CPU:$DF09 PRG:1F09 20 DC DE +; ----------------------------------------------------------------------------- +; Routine: Sub_DF0C_CallNext_DF0C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF0C_CallNext_DF0C: + lda #$49 ; CPU:$DF0C PRG:1F0C A9 49 + sta ObjPtrLo ; CPU:$DF0E PRG:1F0E 85 12 + lda #$DE ; CPU:$DF10 PRG:1F10 A9 DE + sta ObjPtrHi ; CPU:$DF12 PRG:1F12 85 13 + ldy #$00 ; CPU:$DF14 PRG:1F14 A0 00 + jsr $DD6F ; CPU:$DF16 PRG:1F16 20 6F DD + jsr $DFE5 ; CPU:$DF19 PRG:1F19 20 E5 DF + jmp $DFAD ; CPU:$DF1C PRG:1F1C 4C AD DF +; ----------------------------------------------------------------------------- +; Routine: Sub_DF1F_JumpNext_DF1F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF1F_JumpNext_DF1F: + jsr $DEDC ; CPU:$DF1F PRG:1F1F 20 DC DE + lda #$33 ; CPU:$DF22 PRG:1F22 A9 33 + sta ObjPtrLo ; CPU:$DF24 PRG:1F24 85 12 + lda #$DE ; CPU:$DF26 PRG:1F26 A9 DE + sta ObjPtrHi ; CPU:$DF28 PRG:1F28 85 13 + ldy #$00 ; CPU:$DF2A PRG:1F2A A0 00 + rts ; CPU:$DF2C PRG:1F2C 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DF2D_Return_DF2D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF2D_Return_DF2D: + lda #$21 ; CPU:$DF2D PRG:1F2D A9 21 + ldx #$13 ; CPU:$DF2F PRG:1F2F A2 13 + jsr $C178 ; CPU:$DF31 PRG:1F31 20 78 C1 + lda ZpC3 ; CPU:$DF34 PRG:1F34 A5 C3 + clc ; CPU:$DF36 PRG:1F36 18 + adc #$31 ; CPU:$DF37 PRG:1F37 69 31 + jmp Sub_C006_Continue_C006 ; CPU:$DF39 PRG:1F39 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_DF3C_JumpNext_DF3C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF3C_JumpNext_DF3C: + lda #$00 ; CPU:$DF3C PRG:1F3C A9 00 + sta GameplayActiveFlag ; CPU:$DF3E PRG:1F3E 85 DB + jsr $DF1F ; CPU:$DF40 PRG:1F40 20 1F DF + jsr $C2A8 ; CPU:$DF43 PRG:1F43 20 A8 C2 + lda Zp53 ; CPU:$DF46 PRG:1F46 A5 53 + clc ; CPU:$DF48 PRG:1F48 18 + adc ZpA6 ; CPU:$DF49 PRG:1F49 65 A6 + and #$07 ; CPU:$DF4B PRG:1F4B 29 07 + sta Zp75 ; CPU:$DF4D PRG:1F4D 85 75 + tax ; CPU:$DF4F PRG:1F4F AA + lda $E65C,x ; CPU:$DF50 PRG:1F50 BD 5C E6 + tay ; CPU:$DF53 PRG:1F53 A8 + lda #$3F ; CPU:$DF54 PRG:1F54 A9 3F + ldx #$18 ; CPU:$DF56 PRG:1F56 A2 18 + jsr $C178 ; CPU:$DF58 PRG:1F58 20 78 C1 + ldx #$04 ; CPU:$DF5B PRG:1F5B A2 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_DF3C_OnNonzero_DF5D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF3C_OnNonzero_DF5D: + lda $E650,y ; CPU:$DF5D PRG:1F5D B9 50 E6 + jsr Sub_C006_Continue_C006 ; CPU:$DF60 PRG:1F60 20 06 C0 + iny ; CPU:$DF63 PRG:1F63 C8 + dex ; CPU:$DF64 PRG:1F64 CA + bne Sub_DF3C_OnNonzero_DF5D ; CPU:$DF65 PRG:1F65 D0 F6 + ldx #$06 ; CPU:$DF67 PRG:1F67 A2 06 + ldy #$00 ; CPU:$DF69 PRG:1F69 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_DF3C_OnNonzero_DF6B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DF3C_OnNonzero_DF6B: + jsr $DD6F ; CPU:$DF6B PRG:1F6B 20 6F DD + dex ; CPU:$DF6E PRG:1F6E CA + bne Sub_DF3C_OnNonzero_DF6B ; CPU:$DF6F PRG:1F6F D0 FA + jsr $DF2D ; CPU:$DF71 PRG:1F71 20 2D DF + jsr $DFE5 ; CPU:$DF74 PRG:1F74 20 E5 DF + lda #$21 ; CPU:$DF77 PRG:1F77 A9 21 + ldx #$D6 ; CPU:$DF79 PRG:1F79 A2 D6 + jsr $C178 ; CPU:$DF7B PRG:1F7B 20 78 C1 + lda Zp98 ; CPU:$DF7E PRG:1F7E A5 98 + clc ; CPU:$DF80 PRG:1F80 18 + adc #$30 ; CPU:$DF81 PRG:1F81 69 30 + jsr Sub_C006_Continue_C006 ; CPU:$DF83 PRG:1F83 20 06 C0 + lda #$22 ; CPU:$DF86 PRG:1F86 A9 22 + ldx #$91 ; CPU:$DF88 PRG:1F88 A2 91 + jsr $C178 ; CPU:$DF8A PRG:1F8A 20 78 C1 + lda #$90 ; CPU:$DF8D PRG:1F8D A9 90 + sta ObjPtrLo ; CPU:$DF8F PRG:1F8F 85 12 + lda #$05 ; CPU:$DF91 PRG:1F91 A9 05 + sta ObjPtrHi ; CPU:$DF93 PRG:1F93 85 13 + jsr $DFBD ; CPU:$DF95 PRG:1F95 20 BD DF + lda #$22 ; CPU:$DF98 PRG:1F98 A9 22 + ldx #$D1 ; CPU:$DF9A PRG:1F9A A2 D1 + jsr $C178 ; CPU:$DF9C PRG:1F9C 20 78 C1 + lda #$88 ; CPU:$DF9F PRG:1F9F A9 88 + sta ObjPtrLo ; CPU:$DFA1 PRG:1FA1 85 12 + lda #$05 ; CPU:$DFA3 PRG:1FA3 A9 05 + sta ObjPtrHi ; CPU:$DFA5 PRG:1FA5 85 13 + jsr $DFBD ; CPU:$DFA7 PRG:1FA7 20 BD DF + jsr $E212 ; CPU:$DFAA PRG:1FAA 20 12 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFAD_CallNext_DFAD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFAD_CallNext_DFAD: + lda #$00 ; CPU:$DFAD PRG:1FAD A9 00 + sta PPUSCROLL ; CPU:$DFAF PRG:1FAF 8D 05 20 + sta PPUSCROLL ; CPU:$DFB2 PRG:1FB2 8D 05 20 + sta Zp04 ; CPU:$DFB5 PRG:1FB5 85 04 + jsr $C274 ; CPU:$DFB7 PRG:1FB7 20 74 C2 + jmp $C2B3 ; CPU:$DFBA PRG:1FBA 4C B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFBD_JumpNext_DFBD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFBD_JumpNext_DFBD: + ldy #$07 ; CPU:$DFBD PRG:1FBD A0 07 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFBD_OnNonnegative_DFBF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFBD_OnNonnegative_DFBF: + lda (ObjPtrLo),y ; CPU:$DFBF PRG:1FBF B1 12 + clc ; CPU:$DFC1 PRG:1FC1 18 + adc #$30 ; CPU:$DFC2 PRG:1FC2 69 30 + jsr Sub_C006_Continue_C006 ; CPU:$DFC4 PRG:1FC4 20 06 C0 + dey ; CPU:$DFC7 PRG:1FC7 88 + bpl Sub_DFBD_OnNonnegative_DFBF ; CPU:$DFC8 PRG:1FC8 10 F5 + rts ; CPU:$DFCA PRG:1FCA 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFCB_Return_DFCB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFCB_Return_DFCB: + stx PPUADDR ; CPU:$DFCB PRG:1FCB 8E 06 20 + sty PPUADDR ; CPU:$DFCE PRG:1FCE 8C 06 20 + cmp #$00 ; CPU:$DFD1 PRG:1FD1 C9 00 + beq Sub_DFCB_OnZero_DFE1 ; CPU:$DFD3 PRG:1FD3 F0 0C + jsr $DFEE ; CPU:$DFD5 PRG:1FD5 20 EE DF + ldy #$30 ; CPU:$DFD8 PRG:1FD8 A0 30 + pha ; CPU:$DFDA PRG:1FDA 48 + tya ; CPU:$DFDB PRG:1FDB 98 + jsr Sub_C006_Continue_C006 ; CPU:$DFDC PRG:1FDC 20 06 C0 + pla ; CPU:$DFDF PRG:1FDF 68 + rts ; CPU:$DFE0 PRG:1FE0 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFCB_OnZero_DFE1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFCB_OnZero_DFE1: + lda #$30 ; CPU:$DFE1 PRG:1FE1 A9 30 + tax ; CPU:$DFE3 PRG:1FE3 AA + rts ; CPU:$DFE4 PRG:1FE4 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFE5_Return_DFE5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFE5_Return_DFE5: + lda #$21 ; CPU:$DFE5 PRG:1FE5 A9 21 + ldx #$CE ; CPU:$DFE7 PRG:1FE7 A2 CE + jsr $C178 ; CPU:$DFE9 PRG:1FE9 20 78 C1 + lda ZpA6 ; CPU:$DFEC PRG:1FEC A5 A6 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFEE_LoadAndContinue_DFEE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFEE_LoadAndContinue_DFEE: + ldx #$30 ; CPU:$DFEE PRG:1FEE A2 30 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFEE_OnNonzero_DFF0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFEE_OnNonzero_DFF0: + sec ; CPU:$DFF0 PRG:1FF0 38 + sbc #$0A ; CPU:$DFF1 PRG:1FF1 E9 0A + bcc Sub_DFEE_OnCarryClear_DFF8 ; CPU:$DFF3 PRG:1FF3 90 03 + inx ; CPU:$DFF5 PRG:1FF5 E8 + bne Sub_DFEE_OnNonzero_DFF0 ; CPU:$DFF6 PRG:1FF6 D0 F8 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFEE_OnCarryClear_DFF8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFEE_OnCarryClear_DFF8: + adc #$3A ; CPU:$DFF8 PRG:1FF8 69 3A + cpx #$30 ; CPU:$DFFA PRG:1FFA E0 30 + bne Sub_DFEE_OnNonzero_E008 ; CPU:$DFFC PRG:1FFC D0 0A + ldx #$20 ; CPU:$DFFE PRG:1FFE A2 20 + jsr $E00E ; CPU:$E000 PRG:2000 20 0E E0 + ldx #$30 ; CPU:$E003 PRG:2003 A2 30 + jmp Sub_C006_Continue_C006 ; CPU:$E005 PRG:2005 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_DFEE_OnNonzero_E008 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_DFEE_OnNonzero_E008: + jsr $E00E ; CPU:$E008 PRG:2008 20 0E E0 + jmp Sub_C006_Continue_C006 ; CPU:$E00B PRG:200B 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E00E_JumpNext_E00E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E00E_JumpNext_E00E: + pha ; CPU:$E00E PRG:200E 48 + txa ; CPU:$E00F PRG:200F 8A + jsr Sub_C006_Continue_C006 ; CPU:$E010 PRG:2010 20 06 C0 + pla ; CPU:$E013 PRG:2013 68 + rts ; CPU:$E014 PRG:2014 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_Return_E015 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_Return_E015: + jsr $C2BC ; CPU:$E015 PRG:2015 20 BC C2 + jsr $C298 ; CPU:$E018 PRG:2018 20 98 C2 + lda #$00 ; CPU:$E01B PRG:201B A9 00 + sta PPUMASK ; CPU:$E01D PRG:201D 8D 01 20 + jsr $DEE2 ; CPU:$E020 PRG:2020 20 E2 DE + lda #$03 ; CPU:$E023 PRG:2023 A9 03 + sta LevelDataPtrLo ; CPU:$E025 PRG:2025 85 85 + lda #$03 ; CPU:$E027 PRG:2027 A9 03 + sta LevelDataPtrHi ; CPU:$E029 PRG:2029 85 86 + lda #$07 ; CPU:$E02B PRG:202B A9 07 + jsr $CA1C ; CPU:$E02D PRG:202D 20 1C CA + lda #$06 ; CPU:$E030 PRG:2030 A9 06 + sta LevelDataPtrLo ; CPU:$E032 PRG:2032 85 85 + lda #$0C ; CPU:$E034 PRG:2034 A9 0C + sta LevelDataPtrHi ; CPU:$E036 PRG:2036 85 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E038 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E038: + lda #$01 ; CPU:$E038 PRG:2038 A9 01 + jsr $CA1C ; CPU:$E03A PRG:203A 20 1C CA + dec LevelDataPtrLo ; CPU:$E03D PRG:203D C6 85 + bne Sub_E015_OnNonzero_E038 ; CPU:$E03F PRG:203F D0 F7 + lda #$03 ; CPU:$E041 PRG:2041 A9 03 + sta LevelDataPtrLo ; CPU:$E043 PRG:2043 85 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E045 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E045: + lda #$03 ; CPU:$E045 PRG:2045 A9 03 + jsr $CA1C ; CPU:$E047 PRG:2047 20 1C CA + inc LevelDataPtrHi ; CPU:$E04A PRG:204A E6 86 + lda LevelDataPtrHi ; CPU:$E04C PRG:204C A5 86 + cmp #$10 ; CPU:$E04E PRG:204E C9 10 + bne Sub_E015_OnNonzero_E045 ; CPU:$E050 PRG:2050 D0 F3 + lda #$6B ; CPU:$E052 PRG:2052 A9 6B + sta ObjPtrLo ; CPU:$E054 PRG:2054 85 12 + lda #$DE ; CPU:$E056 PRG:2056 A9 DE + sta ObjPtrHi ; CPU:$E058 PRG:2058 85 13 + ldy #$00 ; CPU:$E05A PRG:205A A0 00 + ldx #$04 ; CPU:$E05C PRG:205C A2 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E05E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E05E: + jsr $DD6F ; CPU:$E05E PRG:205E 20 6F DD + dex ; CPU:$E061 PRG:2061 CA + bne Sub_E015_OnNonzero_E05E ; CPU:$E062 PRG:2062 D0 FA + lda ZpC6 ; CPU:$E064 PRG:2064 A5 C6 + beq Sub_E015_OnZero_E06B ; CPU:$E066 PRG:2066 F0 03 + jsr $DD6F ; CPU:$E068 PRG:2068 20 6F DD +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnZero_E06B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnZero_E06B: + lda #$40 ; CPU:$E06B PRG:206B A9 40 + sta Zp18 ; CPU:$E06D PRG:206D 85 18 + lda #$50 ; CPU:$E06F PRG:206F A9 50 + sta Zp19 ; CPU:$E071 PRG:2071 85 19 + lda #$70 ; CPU:$E073 PRG:2073 A9 70 + sta Zp1A ; CPU:$E075 PRG:2075 85 1A + lda #$01 ; CPU:$E077 PRG:2077 A9 01 + sta Zp1B ; CPU:$E079 PRG:2079 85 1B + ldy #$0A ; CPU:$E07B PRG:207B A0 0A + jsr $D18F ; CPU:$E07D PRG:207D 20 8F D1 + lda ZpC6 ; CPU:$E080 PRG:2080 A5 C6 + beq Sub_E015_OnZero_E09D ; CPU:$E082 PRG:2082 F0 19 + lda Zp75 ; CPU:$E084 PRG:2084 A5 75 + asl a ; CPU:$E086 PRG:2086 0A + asl a ; CPU:$E087 PRG:2087 0A + clc ; CPU:$E088 PRG:2088 18 + adc #$C0 ; CPU:$E089 PRG:2089 69 C0 + sta Zp1A ; CPU:$E08B PRG:208B 85 1A + lda #$40 ; CPU:$E08D PRG:208D A9 40 + sta Zp18 ; CPU:$E08F PRG:208F 85 18 + lda #$70 ; CPU:$E091 PRG:2091 A9 70 + sta Zp19 ; CPU:$E093 PRG:2093 85 19 + lda #$02 ; CPU:$E095 PRG:2095 A9 02 + sta Zp1B ; CPU:$E097 PRG:2097 85 1B + iny ; CPU:$E099 PRG:2099 C8 + jsr $D18F ; CPU:$E09A PRG:209A 20 8F D1 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnZero_E09D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnZero_E09D: + ldx #$20 ; CPU:$E09D PRG:209D A2 20 + ldy #$EE ; CPU:$E09F PRG:209F A0 EE + lda ZpC4 ; CPU:$E0A1 PRG:20A1 A5 C4 + jsr $DFCB ; CPU:$E0A3 PRG:20A3 20 CB DF + ldx #$21 ; CPU:$E0A6 PRG:20A6 A2 21 + ldy #$6E ; CPU:$E0A8 PRG:20A8 A0 6E + lda ZpC5 ; CPU:$E0AA PRG:20AA A5 C5 + jsr $DFCB ; CPU:$E0AC PRG:20AC 20 CB DF + lda ZpC6 ; CPU:$E0AF PRG:20AF A5 C6 + beq Sub_E015_OnZero_E0BC ; CPU:$E0B1 PRG:20B1 F0 09 + ldx #$21 ; CPU:$E0B3 PRG:20B3 A2 21 + ldy #$EE ; CPU:$E0B5 PRG:20B5 A0 EE + lda ZpC6 ; CPU:$E0B7 PRG:20B7 A5 C6 + jsr $DFCB ; CPU:$E0B9 PRG:20B9 20 CB DF +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnZero_E0BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnZero_E0BC: + lda ZpC4 ; CPU:$E0BC PRG:20BC A5 C4 + clc ; CPU:$E0BE PRG:20BE 18 + adc ZpC5 ; CPU:$E0BF PRG:20BF 65 C5 + adc ZpC6 ; CPU:$E0C1 PRG:20C1 65 C6 + ldx #$22 ; CPU:$E0C3 PRG:20C3 A2 22 + ldy #$6E ; CPU:$E0C5 PRG:20C5 A0 6E + jsr $DFCB ; CPU:$E0C7 PRG:20C7 20 CB DF + tay ; CPU:$E0CA PRG:20CA A8 + txa ; CPU:$E0CB PRG:20CB 8A + ldx #$03 ; CPU:$E0CC PRG:20CC A2 03 + sec ; CPU:$E0CE PRG:20CE 38 + sbc #$30 ; CPU:$E0CF PRG:20CF E9 30 + jsr $E192 ; CPU:$E0D1 PRG:20D1 20 92 E1 + tya ; CPU:$E0D4 PRG:20D4 98 + sec ; CPU:$E0D5 PRG:20D5 38 + sbc #$30 ; CPU:$E0D6 PRG:20D6 E9 30 + ldx #$02 ; CPU:$E0D8 PRG:20D8 A2 02 + jsr $E192 ; CPU:$E0DA PRG:20DA 20 92 E1 + jsr $E20C ; CPU:$E0DD PRG:20DD 20 0C E2 + lda #$00 ; CPU:$E0E0 PRG:20E0 A9 00 + sta PPUSCROLL ; CPU:$E0E2 PRG:20E2 8D 05 20 + sta PPUSCROLL ; CPU:$E0E5 PRG:20E5 8D 05 20 + sta Zp04 ; CPU:$E0E8 PRG:20E8 85 04 + jsr $C2B3 ; CPU:$E0EA PRG:20EA 20 B3 C2 + jsr $C274 ; CPU:$E0ED PRG:20ED 20 74 C2 + jsr $C292 ; CPU:$E0F0 PRG:20F0 20 92 C2 + lda #$DF ; CPU:$E0F3 PRG:20F3 A9 DF + sta ObjPtrLo ; CPU:$E0F5 PRG:20F5 85 12 + lda #$20 ; CPU:$E0F7 PRG:20F7 A9 20 + sta ObjPtrHi ; CPU:$E0F9 PRG:20F9 85 13 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnCarrySet_E0FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnCarrySet_E0FB: + lda GameplayFlags ; CPU:$E0FB PRG:20FB A5 06 + and #$20 ; CPU:$E0FD PRG:20FD 29 20 + bne Sub_E163_OnNonzero_E171 ; CPU:$E0FF PRG:20FF D0 70 + lda ObjPtrLo ; CPU:$E101 PRG:2101 A5 12 + sta Zp19 ; CPU:$E103 PRG:2103 85 19 + lda #$40 ; CPU:$E105 PRG:2105 A9 40 + sta Zp18 ; CPU:$E107 PRG:2107 85 18 + lda #$00 ; CPU:$E109 PRG:2109 A9 00 + sta Zp1B ; CPU:$E10B PRG:210B 85 1B + lda ObjPtrHi ; CPU:$E10D PRG:210D A5 13 + sta Zp1A ; CPU:$E10F PRG:210F 85 1A + ldy #$00 ; CPU:$E111 PRG:2111 A0 00 + jsr $D18F ; CPU:$E113 PRG:2113 20 8F D1 + jsr $E1D2 ; CPU:$E116 PRG:2116 20 D2 E1 + lda ObjPtrHi ; CPU:$E119 PRG:2119 A5 13 + clc ; CPU:$E11B PRG:211B 18 + adc #$04 ; CPU:$E11C PRG:211C 69 04 + cmp #$30 ; CPU:$E11E PRG:211E C9 30 + bne Sub_E015_OnNonzero_E124 ; CPU:$E120 PRG:2120 D0 02 + lda #$20 ; CPU:$E122 PRG:2122 A9 20 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E124 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E124: + sta ObjPtrHi ; CPU:$E124 PRG:2124 85 13 + dec ObjPtrLo ; CPU:$E126 PRG:2126 C6 12 + lda ObjPtrLo ; CPU:$E128 PRG:2128 A5 12 + cmp #$AF ; CPU:$E12A PRG:212A C9 AF + bcs Sub_E015_OnCarrySet_E0FB ; CPU:$E12C PRG:212C B0 CD + lda #$14 ; CPU:$E12E PRG:212E A9 14 + sta ObjPtrLo ; CPU:$E130 PRG:2130 85 12 + lda #$F0 ; CPU:$E132 PRG:2132 A9 F0 + sta ObjPtrHi ; CPU:$E134 PRG:2134 85 13 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E136 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E136: + lda GameplayFlags ; CPU:$E136 PRG:2136 A5 06 + and #$20 ; CPU:$E138 PRG:2138 29 20 + bne Sub_E163_OnNonzero_E171 ; CPU:$E13A PRG:213A D0 35 + lda #$AF ; CPU:$E13C PRG:213C A9 AF + sta Zp19 ; CPU:$E13E PRG:213E 85 19 + lda #$40 ; CPU:$E140 PRG:2140 A9 40 + sta Zp18 ; CPU:$E142 PRG:2142 85 18 + lda #$00 ; CPU:$E144 PRG:2144 A9 00 + sta Zp1B ; CPU:$E146 PRG:2146 85 1B + lda ObjPtrHi ; CPU:$E148 PRG:2148 A5 13 + sta Zp1A ; CPU:$E14A PRG:214A 85 1A + ldy #$00 ; CPU:$E14C PRG:214C A0 00 + jsr $D18F ; CPU:$E14E PRG:214E 20 8F D1 + jsr $E1D2 ; CPU:$E151 PRG:2151 20 D2 E1 + lda ObjPtrHi ; CPU:$E154 PRG:2154 A5 13 + clc ; CPU:$E156 PRG:2156 18 + adc #$04 ; CPU:$E157 PRG:2157 69 04 + bne Sub_E015_OnNonzero_E15D ; CPU:$E159 PRG:2159 D0 02 + lda #$F0 ; CPU:$E15B PRG:215B A9 F0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E015_OnNonzero_E15D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E015_OnNonzero_E15D: + sta ObjPtrHi ; CPU:$E15D PRG:215D 85 13 + dec ObjPtrLo ; CPU:$E15F PRG:215F C6 12 + bne Sub_E015_OnNonzero_E136 ; CPU:$E161 PRG:2161 D0 D3 +; ----------------------------------------------------------------------------- +; Routine: Sub_E163_OnNonzero_E163 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E163_OnNonzero_E163: + lda GameplayFlags ; CPU:$E163 PRG:2163 A5 06 + and #$20 ; CPU:$E165 PRG:2165 29 20 + bne Sub_E163_OnNonzero_E16D ; CPU:$E167 PRG:2167 D0 04 + lda LevelTransitionTrigger ; CPU:$E169 PRG:2169 A5 B7 + bne Sub_E163_OnNonzero_E163 ; CPU:$E16B PRG:216B D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E163_OnNonzero_E16D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E163_OnNonzero_E16D: + lda #$00 ; CPU:$E16D PRG:216D A9 00 + sta LevelTransitionTrigger ; CPU:$E16F PRG:216F 85 B7 +; ----------------------------------------------------------------------------- +; Routine: Sub_E163_OnNonzero_E171 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E163_OnNonzero_E171: + rts ; CPU:$E171 PRG:2171 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E172_Return_E172 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E172_Return_E172: + jsr $DF1F ; CPU:$E172 PRG:2172 20 1F DF + jsr $DD6F ; CPU:$E175 PRG:2175 20 6F DD + jsr $DD6F ; CPU:$E178 PRG:2178 20 6F DD + jsr $DF2D ; CPU:$E17B PRG:217B 20 2D DF + jsr $DFAD ; CPU:$E17E PRG:217E 20 AD DF + jsr $E206 ; CPU:$E181 PRG:2181 20 06 E2 + jsr $E163 ; CPU:$E184 PRG:2184 20 63 E1 + lda #$0A ; CPU:$E187 PRG:2187 A9 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_E172_OnNonzero_E189 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E172_OnNonzero_E189: + jsr $CA22 ; CPU:$E189 PRG:2189 20 22 CA + tax ; CPU:$E18C PRG:218C AA + dex ; CPU:$E18D PRG:218D CA + txa ; CPU:$E18E PRG:218E 8A + bne Sub_E172_OnNonzero_E189 ; CPU:$E18F PRG:218F D0 F8 + rts ; CPU:$E191 PRG:2191 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_Return_E192 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_Return_E192: + clc ; CPU:$E192 PRG:2192 18 + adc $0590,x ; CPU:$E193 PRG:2193 7D 90 05 + sta $0590,x ; CPU:$E196 PRG:2196 9D 90 05 + cmp #$0A ; CPU:$E199 PRG:2199 C9 0A + bcc Sub_E192_JoinBranchPaths_E1B4 ; CPU:$E19B PRG:219B 90 17 + sbc #$0A ; CPU:$E19D PRG:219D E9 0A + sta $0590,x ; CPU:$E19F PRG:219F 9D 90 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnZero_E1A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnZero_E1A2: + inx ; CPU:$E1A2 PRG:21A2 E8 + inc $0590,x ; CPU:$E1A3 PRG:21A3 FE 90 05 + lda $0590,x ; CPU:$E1A6 PRG:21A6 BD 90 05 + cmp #$0A ; CPU:$E1A9 PRG:21A9 C9 0A + bne Sub_E192_JoinBranchPaths_E1B4 ; CPU:$E1AB PRG:21AB D0 07 + lda #$00 ; CPU:$E1AD PRG:21AD A9 00 + sta $0590,x ; CPU:$E1AF PRG:21AF 9D 90 05 + beq Sub_E192_OnZero_E1A2 ; CPU:$E1B2 PRG:21B2 F0 EE +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_JoinBranchPaths_E1B4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_JoinBranchPaths_E1B4: + ldx #$08 ; CPU:$E1B4 PRG:21B4 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnNonzero_E1B6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnNonzero_E1B6: + lda $058F,x ; CPU:$E1B6 PRG:21B6 BD 8F 05 + cmp $0587,x ; CPU:$E1B9 PRG:21B9 DD 87 05 + beq Sub_E192_OnZero_E1C2 ; CPU:$E1BC PRG:21BC F0 04 + bcs Sub_E192_OnCarrySet_E1C6 ; CPU:$E1BE PRG:21BE B0 06 + bne Sub_E192_OnNonzero_E1C5 ; CPU:$E1C0 PRG:21C0 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnZero_E1C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnZero_E1C2: + dex ; CPU:$E1C2 PRG:21C2 CA + bne Sub_E192_OnNonzero_E1B6 ; CPU:$E1C3 PRG:21C3 D0 F1 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnNonzero_E1C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnNonzero_E1C5: + rts ; CPU:$E1C5 PRG:21C5 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnCarrySet_E1C6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnCarrySet_E1C6: + ldx #$08 ; CPU:$E1C6 PRG:21C6 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Sub_E192_OnNonzero_E1C8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E192_OnNonzero_E1C8: + lda $058F,x ; CPU:$E1C8 PRG:21C8 BD 8F 05 + sta $0587,x ; CPU:$E1CB PRG:21CB 9D 87 05 + dex ; CPU:$E1CE PRG:21CE CA + bne Sub_E192_OnNonzero_E1C8 ; CPU:$E1CF PRG:21CF D0 F7 + rts ; CPU:$E1D1 PRG:21D1 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E1D2_Return_E1D2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E1D2_Return_E1D2: + ldy #$C0 ; CPU:$E1D2 PRG:21D2 A0 C0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E1D2_OnNonzero_E1D4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E1D2_OnNonzero_E1D4: + dex ; CPU:$E1D4 PRG:21D4 CA + bne Sub_E1D2_OnNonzero_E1D4 ; CPU:$E1D5 PRG:21D5 D0 FD + dey ; CPU:$E1D7 PRG:21D7 88 + bne Sub_E1D2_OnNonzero_E1D4 ; CPU:$E1D8 PRG:21D8 D0 FA + rts ; CPU:$E1DA PRG:21DA 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E1DB_Return_E1DB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E1DB_Return_E1DB: + jsr $C2BC ; CPU:$E1DB PRG:21DB 20 BC C2 + ldx #$00 ; CPU:$E1DE PRG:21DE A2 00 + ldy #$00 ; CPU:$E1E0 PRG:21E0 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E1DB_OnNonzero_E1E2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E1DB_OnNonzero_E1E2: + lda $DD86,x ; CPU:$E1E2 PRG:21E2 BD 86 DD + sta PPUADDR ; CPU:$E1E5 PRG:21E5 8D 06 20 + lda $DD87,x ; CPU:$E1E8 PRG:21E8 BD 87 DD + sta PPUADDR ; CPU:$E1EB PRG:21EB 8D 06 20 + lda #$20 ; CPU:$E1EE PRG:21EE A9 20 + cpy ZpA7 ; CPU:$E1F0 PRG:21F0 C4 A7 + bne Sub_E1DB_OnNonzero_E1F6 ; CPU:$E1F2 PRG:21F2 D0 02 + lda #$3A ; CPU:$E1F4 PRG:21F4 A9 3A +; ----------------------------------------------------------------------------- +; Routine: Sub_E1DB_OnNonzero_E1F6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E1DB_OnNonzero_E1F6: + jsr Sub_C006_Continue_C006 ; CPU:$E1F6 PRG:21F6 20 06 C0 + txa ; CPU:$E1F9 PRG:21F9 8A + clc ; CPU:$E1FA PRG:21FA 18 + adc #$0D ; CPU:$E1FB PRG:21FB 69 0D + tax ; CPU:$E1FD PRG:21FD AA + iny ; CPU:$E1FE PRG:21FE C8 + cpy #$03 ; CPU:$E1FF PRG:21FF C0 03 + bne Sub_E1DB_OnNonzero_E1E2 ; CPU:$E201 PRG:2201 D0 DF + jmp $DFAD ; CPU:$E203 PRG:2203 4C AD DF +; ----------------------------------------------------------------------------- +; Routine: Sub_E206_JumpNext_E206 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E206_JumpNext_E206: + ldx #$E7 ; CPU:$E206 PRG:2206 A2 E7 + ldy #$E3 ; CPU:$E208 PRG:2208 A0 E3 + bne Sub_E21E_OnNonzero_E222 ; CPU:$E20A PRG:220A D0 16 +; ----------------------------------------------------------------------------- +; Routine: Sub_E20C_Continue_E20C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E20C_Continue_E20C: + ldx #$C1 ; CPU:$E20C PRG:220C A2 C1 + ldy #$E2 ; CPU:$E20E PRG:220E A0 E2 + bne Sub_E21E_OnNonzero_E222 ; CPU:$E210 PRG:2210 D0 10 +; ----------------------------------------------------------------------------- +; Routine: Sub_E212_Continue_E212 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E212_Continue_E212: + ldx #$DF ; CPU:$E212 PRG:2212 A2 DF + ldy #$E3 ; CPU:$E214 PRG:2214 A0 E3 + bne Sub_E226_OnNonzero_E22A ; CPU:$E216 PRG:2216 D0 12 +; ----------------------------------------------------------------------------- +; Routine: Sub_E218_Continue_E218 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E218_Continue_E218: + ldx #$E3 ; CPU:$E218 PRG:2218 A2 E3 + ldy #$E3 ; CPU:$E21A PRG:221A A0 E3 + bne Sub_E226_OnNonzero_E22A ; CPU:$E21C PRG:221C D0 0C +; ----------------------------------------------------------------------------- +; Routine: Sub_E21E_Continue_E21E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E21E_Continue_E21E: + ldx #$D1 ; CPU:$E21E PRG:221E A2 D1 + ldy #$E3 ; CPU:$E220 PRG:2220 A0 E3 +; ----------------------------------------------------------------------------- +; Routine: Sub_E21E_OnNonzero_E222 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E21E_OnNonzero_E222: + lda #$0A ; CPU:$E222 PRG:2222 A9 0A + bne Sub_E226_OnNonzero_E22C ; CPU:$E224 PRG:2224 D0 06 +; ----------------------------------------------------------------------------- +; Routine: Sub_E226_Continue_E226 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E226_Continue_E226: + ldx #$B5 ; CPU:$E226 PRG:2226 A2 B5 + ldy #$E2 ; CPU:$E228 PRG:2228 A0 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_E226_OnNonzero_E22A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E226_OnNonzero_E22A: + lda #$06 ; CPU:$E22A PRG:222A A9 06 +; ----------------------------------------------------------------------------- +; Routine: Sub_E226_OnNonzero_E22C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E226_OnNonzero_E22C: + sta LevelTransitionCountLo ; CPU:$E22C PRG:222C 85 B8 + stx LevelDataPtr2Lo ; CPU:$E22E PRG:222E 86 BA + sty ZpBB ; CPU:$E230 PRG:2230 84 BB + jsr $E242 ; CPU:$E232 PRG:2232 20 42 E2 + sta ZpC9 ; CPU:$E235 PRG:2235 85 C9 + sta LevelTransitionCountHi ; CPU:$E237 PRG:2237 85 B9 + sta ZpBE ; CPU:$E239 PRG:2239 85 BE + sta ZpBF ; CPU:$E23B PRG:223B 85 BF + lda #$01 ; CPU:$E23D PRG:223D A9 01 + sta LevelTransitionTrigger ; CPU:$E23F PRG:223F 85 B7 + rts ; CPU:$E241 PRG:2241 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E242_Return_E242 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E242_Return_E242: + lda #$8A ; CPU:$E242 PRG:2242 A9 8A + sta APUPULSE1CTRL ; CPU:$E244 PRG:2244 8D 00 40 + sta APUPULSE2CTRL ; CPU:$E247 PRG:2247 8D 04 40 + lda #$18 ; CPU:$E24A PRG:224A A9 18 + sta APUTRIANGLECTRL ; CPU:$E24C PRG:224C 8D 08 40 + lda #$00 ; CPU:$E24F PRG:224F A9 00 + sta APUPULSE1SWEEP ; CPU:$E251 PRG:2251 8D 01 40 + sta APUPULSE2SWEEP ; CPU:$E254 PRG:2254 8D 05 40 + rts ; CPU:$E257 PRG:2257 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E258_Return_E258 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E258_Return_E258: + jsr $E218 ; CPU:$E258 PRG:2258 20 18 E2 + lda #$14 ; CPU:$E25B PRG:225B A9 14 + sta Zp24 ; CPU:$E25D PRG:225D 85 24 +; ----------------------------------------------------------------------------- +; Routine: Sub_E258_OnNonzero_E25F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E258_OnNonzero_E25F: + jsr $D097 ; CPU:$E25F PRG:225F 20 97 D0 + jsr $E1D2 ; CPU:$E262 PRG:2262 20 D2 E1 + jsr $E1D2 ; CPU:$E265 PRG:2265 20 D2 E1 + inc Zp24 ; CPU:$E268 PRG:2268 E6 24 + lda Zp24 ; CPU:$E26A PRG:226A A5 24 + cmp #$1C ; CPU:$E26C PRG:226C C9 1C + bne Sub_E258_OnNonzero_E25F ; CPU:$E26E PRG:226E D0 EF +; ----------------------------------------------------------------------------- +; Routine: Sub_E258_JoinBranchPaths_E270 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E258_JoinBranchPaths_E270: + rts ; CPU:$E270 PRG:2270 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E271_Return_E271 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E271_Return_E271: + lda ZpC9 ; CPU:$E271 PRG:2271 A5 C9 + beq Sub_E258_JoinBranchPaths_E270 ; CPU:$E273 PRG:2273 F0 FB + inc ZpCB ; CPU:$E275 PRG:2275 E6 CB + lda ZpCB ; CPU:$E277 PRG:2277 A5 CB + cmp #$06 ; CPU:$E279 PRG:2279 C9 06 + bne Sub_E258_JoinBranchPaths_E270 ; CPU:$E27B PRG:227B D0 F3 + lda #$00 ; CPU:$E27D PRG:227D A9 00 + sta ZpCB ; CPU:$E27F PRG:227F 85 CB + lda ZpCA ; CPU:$E281 PRG:2281 A5 CA + cmp #$02 ; CPU:$E283 PRG:2283 C9 02 + bcs Sub_E271_OnCarrySet_E28F ; CPU:$E285 PRG:2285 B0 08 + ldx ZpCA ; CPU:$E287 PRG:2287 A6 CA + lda $E2A0,x ; CPU:$E289 PRG:2289 BD A0 E2 + jsr $E2A2 ; CPU:$E28C PRG:228C 20 A2 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_E271_OnCarrySet_E28F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E271_OnCarrySet_E28F: + inc ZpCA ; CPU:$E28F PRG:228F E6 CA + lda ZpCA ; CPU:$E291 PRG:2291 A5 CA + cmp #$06 ; CPU:$E293 PRG:2293 C9 06 + bne Sub_E258_JoinBranchPaths_E270 ; CPU:$E295 PRG:2295 D0 D9 + lda #$00 ; CPU:$E297 PRG:2297 A9 00 + sta ZpC9 ; CPU:$E299 PRG:2299 85 C9 + sta ZpCA ; CPU:$E29B PRG:229B 85 CA + jmp $DEC0 ; CPU:$E29D PRG:229D 4C C0 DE +; ---- data $E2A0-$E2A1 (2 bytes) ---- +; referenced by `lda $E2A0,x` at $E289 (operand $E2A0 falls inside this region) + .byte $53, $69 ; CPU:$E2A0 PRG:22A0 53 69 +; ----------------------------------------------------------------------------- +; Routine: Sub_E2A2_Entry_E2A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E2A2_Entry_E2A2: + ldy #$A6 ; CPU:$E2A2 PRG:22A2 A0 A6 + sty APUPULSE1CTRL ; CPU:$E2A4 PRG:22A4 8C 00 40 + ldy #$00 ; CPU:$E2A7 PRG:22A7 A0 00 + sty APUPULSE1SWEEP ; CPU:$E2A9 PRG:22A9 8C 01 40 + sta APUPULSE1TIMERLO ; CPU:$E2AC PRG:22AC 8D 02 40 + lda #$F0 ; CPU:$E2AF PRG:22AF A9 F0 + sta APUPULSE1TIMERHI ; CPU:$E2B1 PRG:22B1 8D 03 40 + rts ; CPU:$E2B4 PRG:22B4 60 +; ---- data $E2B5-$E663 (943 bytes) ---- +; referenced by `lda $E65C,x` at $DF50 (operand $E65C falls inside this region) +; referenced by `lda $E650,y` at $DF5D (operand $E650 falls inside this region) + .byte $C5, $E2, $F6, $E2, $9F, $E3, $F6, $E2, $B8, $E3, $00, $00, $4C, $E5, $00, $00 ; CPU:$E2B5 PRG:22B5 C5 E2 F6 E2 9F E3 F6 E2 B8 E3 00 00 4C E5 00 00 + .byte $81, $81, $20, $81, $81, $81, $81, $37, $34, $81, $81, $81, $81, $81, $17, $81 ; CPU:$E2C5 PRG:22C5 81 81 20 81 81 81 81 37 34 81 81 81 81 81 17 81 + .byte $81, $81, $81, $37, $34, $81, $81, $81, $81, $81, $22, $81, $81, $81, $81, $39 ; CPU:$E2D5 PRG:22D5 81 81 81 37 34 81 81 81 81 81 22 81 81 81 81 39 + .byte $36, $81, $81, $81, $81, $81, $17, $81, $81, $81, $81, $37, $35, $81, $81, $81 ; CPU:$E2E5 PRG:22E5 36 81 81 81 81 81 17 81 81 81 81 37 35 81 81 81 + .byte $00, $40, $81, $20, $81, $81, $81, $81, $37, $34, $81, $81, $81, $44, $81, $17 ; CPU:$E2F5 PRG:22F5 00 40 81 20 81 81 81 81 37 34 81 81 81 44 81 17 + .byte $81, $81, $81, $40, $37, $34, $81, $81, $81, $45, $81, $22, $81, $81, $81, $81 ; CPU:$E305 PRG:2305 81 81 81 40 37 34 81 81 81 45 81 22 81 81 81 81 + .byte $3B, $37, $81, $81, $81, $42, $81, $17, $81, $81, $81, $3B, $37, $35, $81, $81 ; CPU:$E315 PRG:2315 3B 37 81 81 81 42 81 17 81 81 81 3B 37 35 81 81 + .byte $81, $40, $37, $20, $81, $81, $81, $44, $37, $1B, $81, $81, $81, $45, $39, $19 ; CPU:$E325 PRG:2325 81 40 37 20 81 81 81 44 37 1B 81 81 81 45 39 19 + .byte $81, $81, $81, $46, $40, $22, $81, $81, $81, $47, $3B, $17, $81, $81, $81, $81 ; CPU:$E335 PRG:2335 81 81 81 46 40 22 81 81 81 47 3B 17 81 81 81 81 + .byte $39, $25, $81, $81, $81, $81, $37, $24, $81, $81, $81, $81, $35, $22, $81, $81 ; CPU:$E345 PRG:2345 39 25 81 81 81 81 37 24 81 81 81 81 35 22 81 81 + .byte $81, $44, $81, $20, $81, $81, $81, $47, $40, $27, $81, $81, $81, $81, $81, $17 ; CPU:$E355 PRG:2355 81 44 81 20 81 81 81 47 40 27 81 81 81 81 81 17 + .byte $81, $81, $81, $44, $40, $27, $81, $81, $81, $45, $39, $25, $81, $81, $81, $49 ; CPU:$E365 PRG:2365 81 81 81 44 40 27 81 81 81 45 39 25 81 81 81 49 + .byte $37, $24, $81, $81, $81, $81, $39, $25, $81, $81, $81, $48, $40, $26, $81, $81 ; CPU:$E375 PRG:2375 37 24 81 81 81 81 39 25 81 81 81 48 40 26 81 81 + .byte $81, $47, $81, $27, $81, $81, $81, $45, $3B, $27, $81, $81, $81, $42, $81, $17 ; CPU:$E385 PRG:2385 81 47 81 27 81 81 81 45 3B 27 81 81 81 42 81 17 + .byte $81, $81, $81, $3B, $37, $25, $81, $81, $81, $00, $40, $34, $20, $81, $81, $81 ; CPU:$E395 PRG:2395 81 81 81 3B 37 25 81 81 81 00 40 34 20 81 81 81 + .byte $30, $44, $24, $81, $81, $81, $34, $40, $20, $81, $81, $81, $37, $81, $81, $81 ; CPU:$E3A5 PRG:23A5 30 44 24 81 81 81 34 40 20 81 81 81 37 81 81 81 + .byte $81, $81, $00, $40, $34, $20, $81, $81, $81, $44, $40, $24, $81, $81, $81, $40 ; CPU:$E3B5 PRG:23B5 81 81 00 40 34 20 81 81 81 44 40 24 81 81 81 40 + .byte $37, $20, $81, $81, $81, $81, $81, $81, $81, $81, $81, $00, $EB, $E3, $1C, $E4 ; CPU:$E3C5 PRG:23C5 37 20 81 81 81 81 81 81 81 81 81 00 EB E3 1C E4 + .byte $4D, $E4, $EB, $E3, $0A, $01, $7E, $E4, $0A, $01, $AF, $E4, $00, $00, $25, $E6 ; CPU:$E3D5 PRG:23D5 4D E4 EB E3 0A 01 7E E4 0A 01 AF E4 00 00 25 E6 + .byte $00, $00, $7E, $E4, $00, $00, $81, $81, $20, $81, $81, $20, $81, $81, $81, $81 ; CPU:$E3E5 PRG:23E5 00 00 7E E4 00 00 81 81 20 81 81 20 81 81 81 81 + .byte $81, $17, $81, $81, $20, $81, $81, $20, $81, $81, $81, $81, $81, $17, $81, $81 ; CPU:$E3F5 PRG:23F5 81 17 81 81 20 81 81 20 81 81 81 81 81 17 81 81 + .byte $20, $81, $81, $20, $81, $81, $81, $81, $81, $14, $81, $81, $81, $81, $81, $15 ; CPU:$E405 PRG:2405 20 81 81 20 81 81 81 81 81 14 81 81 81 81 81 15 + .byte $81, $81, $16, $81, $81, $17, $00, $81, $81, $22, $81, $81, $22, $81, $81, $81 ; CPU:$E415 PRG:2415 81 81 16 81 81 17 00 81 81 22 81 81 22 81 81 81 + .byte $81, $81, $17, $81, $81, $22, $81, $81, $22, $81, $81, $81, $81, $81, $17, $81 ; CPU:$E425 PRG:2425 81 81 17 81 81 22 81 81 22 81 81 81 81 81 17 81 + .byte $81, $22, $81, $81, $22, $81, $81, $81, $81, $81, $16, $81, $81, $81, $81, $81 ; CPU:$E435 PRG:2435 81 22 81 81 22 81 81 81 81 81 16 81 81 81 81 81 + .byte $17, $81, $81, $18, $81, $81, $19, $00, $81, $81, $17, $81, $81, $17, $81, $81 ; CPU:$E445 PRG:2445 17 81 81 18 81 81 19 00 81 81 17 81 81 17 81 81 + .byte $81, $81, $81, $12, $81, $81, $17, $81, $81, $17, $81, $81, $81, $81, $81, $12 ; CPU:$E455 PRG:2455 81 81 81 12 81 81 17 81 81 17 81 81 81 81 81 12 + .byte $81, $81, $17, $81, $81, $17, $81, $81, $81, $81, $81, $0B, $81, $81, $81, $81 ; CPU:$E465 PRG:2465 81 81 17 81 81 17 81 81 81 81 81 0B 81 81 81 81 + .byte $81, $10, $81, $81, $11, $81, $81, $12, $00, $27, $27, $81, $81, $81, $81, $26 ; CPU:$E475 PRG:2475 81 10 81 81 11 81 81 12 00 27 27 81 81 81 81 26 + .byte $29, $81, $25, $2B, $81, $81, $81, $81, $24, $30, $81, $22, $32, $81, $81, $81 ; CPU:$E485 PRG:2485 29 81 25 2B 81 81 81 81 24 30 81 22 32 81 81 81 + .byte $81, $20, $34, $81, $1B, $35, $81, $19, $81, $81, $1B, $81, $81, $20, $34, $81 ; CPU:$E495 PRG:2495 81 20 34 81 1B 35 81 19 81 81 1B 81 81 20 34 81 + .byte $24, $81, $81, $27, $81, $81, $30, $40, $81, $00, $81, $17, $81, $81, $19, $81 ; CPU:$E4A5 PRG:24A5 24 81 81 27 81 81 30 40 81 00 81 17 81 81 19 81 + .byte $81, $81, $81, $81, $1B, $81, $81, $20, $81, $81, $81, $81, $81, $81, $81, $44 ; CPU:$E4B5 PRG:24B5 81 81 81 81 1B 81 81 20 81 81 81 81 81 81 81 44 + .byte $30, $81, $81, $81, $81, $81, $81, $81, $40, $27, $81, $81, $81, $81, $44, $81 ; CPU:$E4C5 PRG:24C5 30 81 81 81 81 81 81 81 40 27 81 81 81 81 44 81 + .byte $81, $37, $24, $81, $81, $81, $81, $40, $81, $81, $36, $22, $81, $81, $81, $81 ; CPU:$E4D5 PRG:24D5 81 37 24 81 81 81 81 40 81 81 36 22 81 81 81 81 + .byte $39, $26, $81, $40, $29, $81, $81, $81, $81, $44, $30, $81, $81, $22, $81, $81 ; CPU:$E4E5 PRG:24E5 39 26 81 40 29 81 81 81 81 44 30 81 81 22 81 81 + .byte $81, $81, $40, $24, $81, $39, $25, $81, $81, $81, $81, $38, $26, $81, $37, $27 ; CPU:$E4F5 PRG:24F5 81 81 40 24 81 39 25 81 81 81 81 38 26 81 37 27 + .byte $81, $81, $81, $81, $3B, $81, $81, $42, $81, $81, $81, $81, $81, $47, $81, $81 ; CPU:$E505 PRG:2505 81 81 81 81 3B 81 81 42 81 81 81 81 81 47 81 81 + .byte $38, $28, $81, $81, $81, $81, $40, $81, $81, $43, $81, $81, $81, $81, $81, $48 ; CPU:$E515 PRG:2515 38 28 81 81 81 81 40 81 81 43 81 81 81 81 81 48 + .byte $81, $81, $47, $17, $81, $81, $81, $81, $27, $17, $81, $47, $81, $81, $81, $81 ; CPU:$E525 PRG:2525 81 81 47 17 81 81 81 81 27 17 81 47 81 81 81 81 + .byte $81, $47, $81, $81, $81, $81, $81, $81, $81, $81, $44, $81, $81, $43, $81, $81 ; CPU:$E535 PRG:2535 81 47 81 81 81 81 81 81 81 81 44 81 81 43 81 81 + .byte $81, $81, $81, $42, $81, $81, $00, $40, $81, $81, $3B, $81, $81, $39, $81, $81 ; CPU:$E545 PRG:2545 81 81 81 42 81 81 00 40 81 81 3B 81 81 39 81 81 + .byte $37, $81, $81, $35, $81, $81, $81, $81, $17, $81, $81, $19, $81, $81, $1B, $47 ; CPU:$E555 PRG:2555 37 81 81 35 81 81 81 81 17 81 81 19 81 81 1B 47 + .byte $81, $20, $81, $81, $2B, $47, $44, $29, $81, $81, $81, $50, $81, $27, $54, $81 ; CPU:$E565 PRG:2565 81 20 81 81 2B 47 44 29 81 81 81 50 81 27 54 81 + .byte $30, $52, $81, $24, $50, $81, $27, $49, $81, $25, $81, $81, $34, $50, $42, $25 ; CPU:$E575 PRG:2575 30 52 81 24 50 81 27 49 81 25 81 81 34 50 42 25 + .byte $81, $81, $81, $4B, $81, $27, $49, $81, $25, $47, $81, $24, $45, $81, $22, $47 ; CPU:$E585 PRG:2585 81 81 81 4B 81 27 49 81 25 47 81 24 45 81 22 47 + .byte $81, $24, $81, $81, $32, $44, $41, $27, $81, $81, $81, $49, $81, $21, $47, $81 ; CPU:$E595 PRG:2595 81 24 81 81 32 44 41 27 81 81 81 49 81 21 47 81 + .byte $24, $45, $81, $19, $44, $81, $21, $4B, $45, $22, $4A, $81, $81, $49, $42, $25 ; CPU:$E5A5 PRG:25A5 24 45 81 19 44 81 21 4B 45 22 4A 81 81 49 42 25 + .byte $48, $81, $81, $47, $3B, $81, $45, $81, $17, $44, $37, $19, $42, $81, $1B, $44 ; CPU:$E5B5 PRG:25B5 48 81 81 47 3B 81 45 81 17 44 37 19 42 81 1B 44 + .byte $81, $20, $81, $81, $2B, $47, $44, $29, $81, $81, $81, $50, $81, $29, $54, $81 ; CPU:$E5C5 PRG:25C5 81 20 81 81 2B 47 44 29 81 81 81 50 81 29 54 81 + .byte $30, $4B, $81, $32, $50, $81, $29, $49, $81, $25, $81, $81, $34, $49, $42, $30 ; CPU:$E5D5 PRG:25D5 30 4B 81 32 50 81 29 49 81 25 81 81 34 49 42 30 + .byte $81, $81, $81, $52, $81, $25, $50, $81, $29, $4B, $81, $27, $49, $81, $25, $47 ; CPU:$E5E5 PRG:25E5 81 81 81 52 81 25 50 81 29 4B 81 27 49 81 25 47 + .byte $40, $24, $81, $81, $27, $44, $40, $20, $81, $81, $27, $45, $42, $1A, $81, $81 ; CPU:$E5F5 PRG:25F5 40 24 81 81 27 44 40 20 81 81 27 45 42 1A 81 81 + .byte $17, $49, $46, $23, $4B, $45, $22, $50, $81, $20, $81, $81, $35, $50, $44, $30 ; CPU:$E605 PRG:2605 17 49 46 23 4B 45 22 50 81 20 81 81 35 50 44 30 + .byte $81, $81, $81, $40, $81, $20, $3B, $38, $25, $40, $37, $24, $81, $81, $81, $00 ; CPU:$E615 PRG:2615 81 81 81 40 81 20 3B 38 25 40 37 24 81 81 81 00 + .byte $40, $30, $27, $81, $27, $81, $37, $24, $20, $37, $27, $81, $34, $30, $24, $81 ; CPU:$E625 PRG:2625 40 30 27 81 27 81 37 24 20 37 27 81 34 30 24 81 + .byte $27, $81, $37, $24, $20, $81, $27, $81, $35, $29, $25, $37, $2B, $81, $39, $30 ; CPU:$E635 PRG:2635 27 81 37 24 20 81 27 81 35 29 25 37 2B 81 39 30 + .byte $29, $3B, $32, $81, $40, $34, $20, $81, $81, $81, $00, $0F, $29, $16, $30, $0F ; CPU:$E645 PRG:2645 29 3B 32 81 40 34 20 81 81 81 00 0F 29 16 30 0F + .byte $39, $28, $27, $0F, $29, $26, $30, $00, $04, $00, $00, $08, $08, $00, $00 ; CPU:$E655 PRG:2655 39 28 27 0F 29 26 30 00 04 00 00 08 08 00 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E664_Entry_E664 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E664_Entry_E664: + jsr $C5A1 ; CPU:$E664 PRG:2664 20 A1 C5 + jsr $E75D ; CPU:$E667 PRG:2667 20 5D E7 + jsr $C2BC ; CPU:$E66A PRG:266A 20 BC C2 + jsr $C214 ; CPU:$E66D PRG:266D 20 14 C2 + jsr $C287 ; CPU:$E670 PRG:2670 20 87 C2 + jsr $E791 ; CPU:$E673 PRG:2673 20 91 E7 + jsr $C2A8 ; CPU:$E676 PRG:2676 20 A8 C2 + lda #$0E ; CPU:$E679 PRG:2679 A9 0E + sta PPUMASK ; CPU:$E67B PRG:267B 8D 01 20 + sta PpuMaskShadow ; CPU:$E67E PRG:267E 85 03 + jsr $C2B3 ; CPU:$E680 PRG:2680 20 B3 C2 + ldy #$00 ; CPU:$E683 PRG:2683 A0 00 + sty ZpBE ; CPU:$E685 PRG:2685 84 BE + sty ZpC8 ; CPU:$E687 PRG:2687 84 C8 + sty ZpE4 ; CPU:$E689 PRG:2689 84 E4 + sty LevelDataPtrLo ; CPU:$E68B PRG:268B 84 85 + iny ; CPU:$E68D PRG:268D C8 + sty LevelDataPtrHi ; CPU:$E68E PRG:268E 84 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_E690_StoreIndexAndContinue_E690 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E690_StoreIndexAndContinue_E690: + jsr $E7B2 ; CPU:$E690 PRG:2690 20 B2 E7 + sta ZpC7 ; CPU:$E693 PRG:2693 85 C7 +; ----------------------------------------------------------------------------- +; Routine: Sub_E690_OnZero_E695 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E690_OnZero_E695: + lda #$18 ; CPU:$E695 PRG:2695 A9 18 + jsr $D055 ; CPU:$E697 PRG:2697 20 55 D0 + ldy #$80 ; CPU:$E69A PRG:269A A0 80 +; ----------------------------------------------------------------------------- +; Routine: Sub_E690_OnNonzero_E69C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E690_OnNonzero_E69C: + lda ZpC8 ; CPU:$E69C PRG:269C A5 C8 + bne Sub_E690_OnNonzero_E6A6 ; CPU:$E69E PRG:269E D0 06 + lda GameplayFlags ; CPU:$E6A0 PRG:26A0 A5 06 + bne Sub_E6B0_OnNonzero_E6CD ; CPU:$E6A2 PRG:26A2 D0 29 + beq Sub_E690_OnZero_E6AA ; CPU:$E6A4 PRG:26A4 F0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_E690_OnNonzero_E6A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E690_OnNonzero_E6A6: + lda GameplayFlags ; CPU:$E6A6 PRG:26A6 A5 06 + sta ZpC8 ; CPU:$E6A8 PRG:26A8 85 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E690_OnZero_E6AA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E690_OnZero_E6AA: + dex ; CPU:$E6AA PRG:26AA CA + bne Sub_E690_OnNonzero_E69C ; CPU:$E6AB PRG:26AB D0 EF + dey ; CPU:$E6AD PRG:26AD 88 + bne Sub_E690_OnNonzero_E69C ; CPU:$E6AE PRG:26AE D0 EC +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_Continue_E6B0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_Continue_E6B0: + lda ZpC7 ; CPU:$E6B0 PRG:26B0 A5 C7 + jsr $D055 ; CPU:$E6B2 PRG:26B2 20 55 D0 + ldy #$80 ; CPU:$E6B5 PRG:26B5 A0 80 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_JoinBranchPaths_E6B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_JoinBranchPaths_E6B7: + lda ZpC8 ; CPU:$E6B7 PRG:26B7 A5 C8 + bne Sub_E6B0_OnNonzero_E6C1 ; CPU:$E6B9 PRG:26B9 D0 06 + lda GameplayFlags ; CPU:$E6BB PRG:26BB A5 06 + bne Sub_E6B0_OnNonzero_E6D2 ; CPU:$E6BD PRG:26BD D0 13 + beq Sub_E6B0_OnZero_E6C5 ; CPU:$E6BF PRG:26BF F0 04 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_OnNonzero_E6C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_OnNonzero_E6C1: + lda GameplayFlags ; CPU:$E6C1 PRG:26C1 A5 06 + sta ZpC8 ; CPU:$E6C3 PRG:26C3 85 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_OnZero_E6C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_OnZero_E6C5: + dex ; CPU:$E6C5 PRG:26C5 CA + bne Sub_E6B0_JoinBranchPaths_E6B7 ; CPU:$E6C6 PRG:26C6 D0 EF + dey ; CPU:$E6C8 PRG:26C8 88 + bne Sub_E6B0_JoinBranchPaths_E6B7 ; CPU:$E6C9 PRG:26C9 D0 EC + beq Sub_E690_OnZero_E695 ; CPU:$E6CB PRG:26CB F0 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_OnNonzero_E6CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_OnNonzero_E6CD: + lda ZpC7 ; CPU:$E6CD PRG:26CD A5 C7 + jsr $D055 ; CPU:$E6CF PRG:26CF 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6B0_OnNonzero_E6D2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6B0_OnNonzero_E6D2: + lda GameplayFlags ; CPU:$E6D2 PRG:26D2 A5 06 + sta ZpC8 ; CPU:$E6D4 PRG:26D4 85 C8 + ror a ; CPU:$E6D6 PRG:26D6 6A + bcs Sub_E6F4_OnCarrySet_E733 ; CPU:$E6D7 PRG:26D7 B0 5A + ror a ; CPU:$E6D9 PRG:26D9 6A + bcs Sub_E6F4_OnCarrySet_E73D ; CPU:$E6DA PRG:26DA B0 61 + ror a ; CPU:$E6DC PRG:26DC 6A + bcs Sub_E6F4_OnCarrySet_E749 ; CPU:$E6DD PRG:26DD B0 6A + ror a ; CPU:$E6DF PRG:26DF 6A + bcs Sub_E6F4_OnCarrySet_E753 ; CPU:$E6E0 PRG:26E0 B0 71 + ror a ; CPU:$E6E2 PRG:26E2 6A + bcs Sub_E6F4_OnCarrySet_E724 ; CPU:$E6E3 PRG:26E3 B0 3F + ror a ; CPU:$E6E5 PRG:26E5 6A + bcs Sub_E6F4_JoinBranchPaths_E702 ; CPU:$E6E6 PRG:26E6 B0 1A + ror a ; CPU:$E6E8 PRG:26E8 6A + bcs Sub_E6F4_OnCarrySet_E718 ; CPU:$E6E9 PRG:26E9 B0 2D + ldx ZpC7 ; CPU:$E6EB PRG:26EB A6 C7 + inx ; CPU:$E6ED PRG:26ED E8 + cpx #$0A ; CPU:$E6EE PRG:26EE E0 0A + bne Sub_E6F4_OnNonzero_E6F4 ; CPU:$E6F0 PRG:26F0 D0 02 + ldx #$00 ; CPU:$E6F2 PRG:26F2 A2 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnNonzero_E6F4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnNonzero_E6F4: + stx ZpC7 ; CPU:$E6F4 PRG:26F4 86 C7 + jsr $E7B8 ; CPU:$E6F6 PRG:26F6 20 B8 E7 + txa ; CPU:$E6F9 PRG:26F9 8A + sta (PlayerState),y ; CPU:$E6FA PRG:26FA 91 26 + jsr $D2AB ; CPU:$E6FC PRG:26FC 20 AB D2 + jmp $E6B0 ; CPU:$E6FF PRG:26FF 4C B0 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_JoinBranchPaths_E702 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_JoinBranchPaths_E702: + jsr $E9B8 ; CPU:$E702 PRG:2702 20 B8 E9 + bcs Sub_E6F4_OnCarrySet_E70A ; CPU:$E705 PRG:2705 B0 03 + jmp $E7C7 ; CPU:$E707 PRG:2707 4C C7 E7 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E70A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E70A: + lda GameplayFlags ; CPU:$E70A PRG:270A A5 06 + beq Sub_E6B0_JoinBranchPaths_E6B7 ; CPU:$E70C PRG:270C F0 A9 + cmp #$30 ; CPU:$E70E PRG:270E C9 30 + bne Sub_E6F4_JoinBranchPaths_E702 ; CPU:$E710 PRG:2710 D0 F0 + jsr $C5A1 ; CPU:$E712 PRG:2712 20 A1 C5 + jmp $C3A6 ; CPU:$E715 PRG:2715 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E718 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E718: + ldx ZpC7 ; CPU:$E718 PRG:2718 A6 C7 + beq Sub_E6F4_OnZero_E720 ; CPU:$E71A PRG:271A F0 04 + dex ; CPU:$E71C PRG:271C CA + jmp $E6F4 ; CPU:$E71D PRG:271D 4C F4 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnZero_E720 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnZero_E720: + ldx #$09 ; CPU:$E720 PRG:2720 A2 09 + bne Sub_E6F4_OnNonzero_E6F4 ; CPU:$E722 PRG:2722 D0 D0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E724 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E724: + jsr $C5A1 ; CPU:$E724 PRG:2724 20 A1 C5 + jsr $C63B ; CPU:$E727 PRG:2727 20 3B C6 + jsr $E75D ; CPU:$E72A PRG:272A 20 5D E7 + jsr $C7FE ; CPU:$E72D PRG:272D 20 FE C7 + jmp $C437 ; CPU:$E730 PRG:2730 4C 37 C4 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E733 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E733: + ldx LevelDataPtrLo ; CPU:$E733 PRG:2733 A6 85 + cpx #$0D ; CPU:$E735 PRG:2735 E0 0D + beq Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E737 PRG:2737 F0 0A + inc LevelDataPtrLo ; CPU:$E739 PRG:2739 E6 85 + bne Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E73B PRG:273B D0 06 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E73D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E73D: + ldx LevelDataPtrLo ; CPU:$E73D PRG:273D A6 85 + beq Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E73F PRG:273F F0 02 + dec LevelDataPtrLo ; CPU:$E741 PRG:2741 C6 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_JoinBranchPaths_E743 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_JoinBranchPaths_E743: + jsr $D291 ; CPU:$E743 PRG:2743 20 91 D2 + jmp $E690 ; CPU:$E746 PRG:2746 4C 90 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E749 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E749: + ldx LevelDataPtrHi ; CPU:$E749 PRG:2749 A6 86 + cpx #$0D ; CPU:$E74B PRG:274B E0 0D + beq Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E74D PRG:274D F0 F4 + inc LevelDataPtrHi ; CPU:$E74F PRG:274F E6 86 + bne Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E751 PRG:2751 D0 F0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E6F4_OnCarrySet_E753 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E6F4_OnCarrySet_E753: + ldx LevelDataPtrHi ; CPU:$E753 PRG:2753 A6 86 + cpx #$01 ; CPU:$E755 PRG:2755 E0 01 + beq Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E757 PRG:2757 F0 EA + dec LevelDataPtrHi ; CPU:$E759 PRG:2759 C6 86 + bne Sub_E6F4_JoinBranchPaths_E743 ; CPU:$E75B PRG:275B D0 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E75D_Continue_E75D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E75D_Continue_E75D: + ldx #$00 ; CPU:$E75D PRG:275D A2 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E75D_OnNonzero_E75F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E75D_OnNonzero_E75F: + jsr $E789 ; CPU:$E75F PRG:275F 20 89 E7 + lda $C66C,x ; CPU:$E762 PRG:2762 BD 6C C6 + sta PlayerVelocity ; CPU:$E765 PRG:2765 85 28 + lda $C67A,x ; CPU:$E767 PRG:2767 BD 7A C6 + sta Zp29 ; CPU:$E76A PRG:276A 85 29 +; ----------------------------------------------------------------------------- +; Routine: Sub_E75D_OnNonzero_E76C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E75D_OnNonzero_E76C: + lda (PlayerVelocity),y ; CPU:$E76C PRG:276C B1 28 + cpx #$00 ; CPU:$E76E PRG:276E E0 00 + bne Sub_E75D_OnNonzero_E773 ; CPU:$E770 PRG:2770 D0 01 + txa ; CPU:$E772 PRG:2772 8A +; ----------------------------------------------------------------------------- +; Routine: Sub_E75D_OnNonzero_E773 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E75D_OnNonzero_E773: + sta (PlayerState),y ; CPU:$E773 PRG:2773 91 26 + iny ; CPU:$E775 PRG:2775 C8 + cpy #$0E ; CPU:$E776 PRG:2776 C0 0E + bne Sub_E75D_OnNonzero_E76C ; CPU:$E778 PRG:2778 D0 F2 + lda #$02 ; CPU:$E77A PRG:277A A9 02 +; ----------------------------------------------------------------------------- +; Routine: Sub_E75D_OnNonzero_E77C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E75D_OnNonzero_E77C: + sta (PlayerState),y ; CPU:$E77C PRG:277C 91 26 + iny ; CPU:$E77E PRG:277E C8 + cpy #$1C ; CPU:$E77F PRG:277F C0 1C + bne Sub_E75D_OnNonzero_E77C ; CPU:$E781 PRG:2781 D0 F9 + inx ; CPU:$E783 PRG:2783 E8 + cpx #$0E ; CPU:$E784 PRG:2784 E0 0E + bne Sub_E75D_OnNonzero_E75F ; CPU:$E786 PRG:2786 D0 D7 + rts ; CPU:$E788 PRG:2788 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E789_Return_E789 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E789_Return_E789: + txa ; CPU:$E789 PRG:2789 8A + tay ; CPU:$E78A PRG:278A A8 + jsr $D2FA ; CPU:$E78B PRG:278B 20 FA D2 + ldy #$00 ; CPU:$E78E PRG:278E A0 00 + rts ; CPU:$E790 PRG:2790 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E791_Return_E791 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E791_Return_E791: + ldx #$00 ; CPU:$E791 PRG:2791 A2 00 + stx LevelDataPtrHi ; CPU:$E793 PRG:2793 86 86 +; ----------------------------------------------------------------------------- +; Routine: Sub_E791_OnNonzero_E795 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E791_OnNonzero_E795: + jsr $E789 ; CPU:$E795 PRG:2795 20 89 E7 + sty LevelDataPtrLo ; CPU:$E798 PRG:2798 84 85 +; ----------------------------------------------------------------------------- +; Routine: Sub_E791_OnNonzero_E79A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E791_OnNonzero_E79A: + lda (PlayerState),y ; CPU:$E79A PRG:279A B1 26 + jsr $CA1C ; CPU:$E79C PRG:279C 20 1C CA + inc LevelDataPtrLo ; CPU:$E79F PRG:279F E6 85 + ldy LevelDataPtrLo ; CPU:$E7A1 PRG:27A1 A4 85 + cpy #$10 ; CPU:$E7A3 PRG:27A3 C0 10 + bne Sub_E791_OnNonzero_E79A ; CPU:$E7A5 PRG:27A5 D0 F3 + inc LevelDataPtrHi ; CPU:$E7A7 PRG:27A7 E6 86 + ldx LevelDataPtrHi ; CPU:$E7A9 PRG:27A9 A6 86 + cpx #$0E ; CPU:$E7AB PRG:27AB E0 0E + bne Sub_E791_OnNonzero_E795 ; CPU:$E7AD PRG:27AD D0 E6 + jmp $C94B ; CPU:$E7AF PRG:27AF 4C 4B C9 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7B2_JumpNext_E7B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7B2_JumpNext_E7B2: + jsr $E7B8 ; CPU:$E7B2 PRG:27B2 20 B8 E7 + lda (PlayerState),y ; CPU:$E7B5 PRG:27B5 B1 26 + rts ; CPU:$E7B7 PRG:27B7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7B8_Return_E7B8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7B8_Return_E7B8: + ldy LevelDataPtrHi ; CPU:$E7B8 PRG:27B8 A4 86 + lda $C66C,y ; CPU:$E7BA PRG:27BA B9 6C C6 + sta PlayerState ; CPU:$E7BD PRG:27BD 85 26 + lda $C67A,y ; CPU:$E7BF PRG:27BF B9 7A C6 + sta Zp27 ; CPU:$E7C2 PRG:27C2 85 27 + ldy LevelDataPtrLo ; CPU:$E7C4 PRG:27C4 A4 85 + rts ; CPU:$E7C6 PRG:27C6 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7C7_OnNonzero_E7C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7C7_OnNonzero_E7C7: + jsr $D2E3 ; CPU:$E7C7 PRG:27C7 20 E3 D2 + jsr $C5A1 ; CPU:$E7CA PRG:27CA 20 A1 C5 + inc ZpE4 ; CPU:$E7CD PRG:27CD E6 E4 + lda ZpE4 ; CPU:$E7CF PRG:27CF A5 E4 + cmp #$04 ; CPU:$E7D1 PRG:27D1 C9 04 + bcc Sub_E7C7_OnCarryClear_E7D8 ; CPU:$E7D3 PRG:27D3 90 03 + jmp $E664 ; CPU:$E7D5 PRG:27D5 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7C7_OnCarryClear_E7D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7C7_OnCarryClear_E7D8: + lda #$54 ; CPU:$E7D8 PRG:27D8 A9 54 + sta ObjPtrLo ; CPU:$E7DA PRG:27DA 85 12 + lda #$E8 ; CPU:$E7DC PRG:27DC A9 E8 + sta ObjPtrHi ; CPU:$E7DE PRG:27DE 85 13 + jsr $E844 ; CPU:$E7E0 PRG:27E0 20 44 E8 + ldx ZpE4 ; CPU:$E7E3 PRG:27E3 A6 E4 + dex ; CPU:$E7E5 PRG:27E5 CA + stx Zp14 ; CPU:$E7E6 PRG:27E6 86 14 + txa ; CPU:$E7E8 PRG:27E8 8A + asl a ; CPU:$E7E9 PRG:27E9 0A + asl a ; CPU:$E7EA PRG:27EA 0A + clc ; CPU:$E7EB PRG:27EB 18 + adc Zp14 ; CPU:$E7EC PRG:27EC 65 14 + tay ; CPU:$E7EE PRG:27EE A8 + dey ; CPU:$E7EF PRG:27EF 88 + jsr $E84E ; CPU:$E7F0 PRG:27F0 20 4E E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7C7_OnZero_E7F3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7C7_OnZero_E7F3: + lda GameplayFlags ; CPU:$E7F3 PRG:27F3 A5 06 + and #$20 ; CPU:$E7F5 PRG:27F5 29 20 + bne Sub_E7C7_OnNonzero_E7C7 ; CPU:$E7F7 PRG:27F7 D0 CE + lda GameplayFlags ; CPU:$E7F9 PRG:27F9 A5 06 + and #$10 ; CPU:$E7FB PRG:27FB 29 10 + beq Sub_E7C7_OnZero_E7F3 ; CPU:$E7FD PRG:27FD F0 F4 + jsr $D2E3 ; CPU:$E7FF PRG:27FF 20 E3 D2 + jsr $C5A1 ; CPU:$E802 PRG:2802 20 A1 C5 + ldx ZpE4 ; CPU:$E805 PRG:2805 A6 E4 + dex ; CPU:$E807 PRG:2807 CA + bne Sub_E7C7_OnNonzero_E80D ; CPU:$E808 PRG:2808 D0 03 + jmp $C3A6 ; CPU:$E80A PRG:280A 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Sub_E7C7_OnNonzero_E80D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E7C7_OnNonzero_E80D: + dex ; CPU:$E80D PRG:280D CA + bne Sub_E814_OnNonzero_E83B ; CPU:$E80E PRG:280E D0 2B + jsr $E92C ; CPU:$E810 PRG:2810 20 2C E9 + clc ; CPU:$E813 PRG:2813 18 +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_Continue_E814 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_Continue_E814: + bcs Sub_E814_OnCarrySet_E81C ; CPU:$E814 PRG:2814 B0 06 + jsr $C5A1 ; CPU:$E816 PRG:2816 20 A1 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_OnZero_E819 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_OnZero_E819: + jmp $E664 ; CPU:$E819 PRG:2819 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_OnCarrySet_E81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_OnCarrySet_E81C: + lda #$63 ; CPU:$E81C PRG:281C A9 63 + sta ObjPtrLo ; CPU:$E81E PRG:281E 85 12 + lda #$E8 ; CPU:$E820 PRG:2820 A9 E8 + sta ObjPtrHi ; CPU:$E822 PRG:2822 85 13 + jsr $E844 ; CPU:$E824 PRG:2824 20 44 E8 + ldy #$FF ; CPU:$E827 PRG:2827 A0 FF + jsr $E84E ; CPU:$E829 PRG:2829 20 4E E8 + jsr $DEB5 ; CPU:$E82C PRG:282C 20 B5 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_OnZero_E82F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_OnZero_E82F: + lda GameplayFlags ; CPU:$E82F PRG:282F A5 06 + beq Sub_E814_OnZero_E82F ; CPU:$E831 PRG:2831 F0 FC + jsr $D2E3 ; CPU:$E833 PRG:2833 20 E3 D2 + jsr $C5A1 ; CPU:$E836 PRG:2836 20 A1 C5 +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_OnNonzero_E839 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_OnNonzero_E839: + beq Sub_E814_OnZero_E819 ; CPU:$E839 PRG:2839 F0 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_E814_OnNonzero_E83B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E814_OnNonzero_E83B: + dex ; CPU:$E83B PRG:283B CA + bne Sub_E814_OnNonzero_E839 ; CPU:$E83C PRG:283C D0 FB + jsr $E886 ; CPU:$E83E PRG:283E 20 86 E8 + jmp $E814 ; CPU:$E841 PRG:2841 4C 14 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E844_JumpNext_E844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E844_JumpNext_E844: + jsr $DEDC ; CPU:$E844 PRG:2844 20 DC DE + lda #$22 ; CPU:$E847 PRG:2847 A9 22 + ldx #$0C ; CPU:$E849 PRG:2849 A2 0C + jmp $C178 ; CPU:$E84B PRG:284B 4C 78 C1 +; ----------------------------------------------------------------------------- +; Routine: Sub_E84E_JumpNext_E84E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E84E_JumpNext_E84E: + jsr $DD7A ; CPU:$E84E PRG:284E 20 7A DD + jmp $DFAD ; CPU:$E851 PRG:2851 4C AD DF +; ---- data $E854-$E868 (21 bytes) ---- + .byte $4D, $45, $4E, $55, $00, $53, $41, $56, $45, $00, $4C, $4F, $41, $44, $00, $45 ; CPU:$E854 PRG:2854 4D 45 4E 55 00 53 41 56 45 00 4C 4F 41 44 00 45 + .byte $52, $52, $4F, $52, $00 ; CPU:$E864 PRG:2864 52 52 4F 52 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E869_Entry_E869 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E869_Entry_E869: + inc ZpDD ; CPU:$E869 PRG:2869 E6 DD + bne Sub_E869_OnNonzero_E86F ; CPU:$E86B PRG:286B D0 02 + inc ZpDE ; CPU:$E86D PRG:286D E6 DE +; ----------------------------------------------------------------------------- +; Routine: Sub_E869_OnNonzero_E86F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E869_OnNonzero_E86F: + rts ; CPU:$E86F PRG:286F 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E870_Return_E870 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E870_Return_E870: + inc ZpDF ; CPU:$E870 PRG:2870 E6 DF + bne Sub_E869_OnNonzero_E86F ; CPU:$E872 PRG:2872 D0 FB + inc ZpE0 ; CPU:$E874 PRG:2874 E6 E0 + rts ; CPU:$E876 PRG:2876 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E877_Return_E877 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E877_Return_E877: + jsr $C2BC ; CPU:$E877 PRG:2877 20 BC C2 + lda #$88 ; CPU:$E87A PRG:287A A9 88 + sta ZpDD ; CPU:$E87C PRG:287C 85 DD + lda #$03 ; CPU:$E87E PRG:287E A9 03 + sta ZpDE ; CPU:$E880 PRG:2880 85 DE + rts ; CPU:$E882 PRG:2882 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E883_Return_E883 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E883_Return_E883: + jmp $C2B3 ; CPU:$E883 PRG:2883 4C B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_JumpNext_E886 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_JumpNext_E886: + jsr $E877 ; CPU:$E886 PRG:2886 20 77 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_JoinBranchPaths_E889 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_JoinBranchPaths_E889: + ldx #$14 ; CPU:$E889 PRG:2889 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_OnNonzero_E88B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_OnNonzero_E88B: + jsr $E8FB ; CPU:$E88B PRG:288B 20 FB E8 + bcs Sub_E886_OnCarrySet_E89A ; CPU:$E88E PRG:288E B0 0A + bne Sub_E886_JoinBranchPaths_E889 ; CPU:$E890 PRG:2890 D0 F7 + dex ; CPU:$E892 PRG:2892 CA + bne Sub_E886_OnNonzero_E88B ; CPU:$E893 PRG:2893 D0 F6 + ldx #$14 ; CPU:$E895 PRG:2895 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_OnNonzero_E897 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_OnNonzero_E897: + jsr $E8FB ; CPU:$E897 PRG:2897 20 FB E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_OnCarrySet_E89A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_OnCarrySet_E89A: + bcs Sub_E886_JoinBranchPaths_E8D5 ; CPU:$E89A PRG:289A B0 39 + beq Sub_E886_JoinBranchPaths_E889 ; CPU:$E89C PRG:289C F0 EB + dex ; CPU:$E89E PRG:289E CA + bne Sub_E886_OnNonzero_E897 ; CPU:$E89F PRG:289F D0 F6 + lda #$00 ; CPU:$E8A1 PRG:28A1 A9 00 + sta ZpDF ; CPU:$E8A3 PRG:28A3 85 DF + sta ZpE0 ; CPU:$E8A5 PRG:28A5 85 E0 + jsr $E8E1 ; CPU:$E8A7 PRG:28A7 20 E1 E8 + jsr $E8E1 ; CPU:$E8AA PRG:28AA 20 E1 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_OnNonzero_E8AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_OnNonzero_E8AD: + jsr $E90F ; CPU:$E8AD PRG:28AD 20 0F E9 + bcs Sub_E886_JoinBranchPaths_E8D5 ; CPU:$E8B0 PRG:28B0 B0 23 + ldy #$00 ; CPU:$E8B2 PRG:28B2 A0 00 + sta (ZpDD),y ; CPU:$E8B4 PRG:28B4 91 DD + jsr $E869 ; CPU:$E8B6 PRG:28B6 20 69 E8 + lda ZpDE ; CPU:$E8B9 PRG:28B9 A5 DE + cmp #$06 ; CPU:$E8BB PRG:28BB C9 06 + bne Sub_E886_OnNonzero_E8AD ; CPU:$E8BD PRG:28BD D0 EE + lda ZpDF ; CPU:$E8BF PRG:28BF A5 DF + sta ZpDD ; CPU:$E8C1 PRG:28C1 85 DD + lda ZpE0 ; CPU:$E8C3 PRG:28C3 A5 E0 + sta ZpDE ; CPU:$E8C5 PRG:28C5 85 DE + jsr $E90F ; CPU:$E8C7 PRG:28C7 20 0F E9 + cmp ZpDE ; CPU:$E8CA PRG:28CA C5 DE + bne Sub_E886_JoinBranchPaths_E8D5 ; CPU:$E8CC PRG:28CC D0 07 + jsr $E90F ; CPU:$E8CE PRG:28CE 20 0F E9 + cmp ZpDD ; CPU:$E8D1 PRG:28D1 C5 DD + beq Sub_E886_OnZero_E8DA ; CPU:$E8D3 PRG:28D3 F0 05 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_JoinBranchPaths_E8D5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_JoinBranchPaths_E8D5: + jsr $E883 ; CPU:$E8D5 PRG:28D5 20 83 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_JoinBranchPaths_E8D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_JoinBranchPaths_E8D8: + sec ; CPU:$E8D8 PRG:28D8 38 + rts ; CPU:$E8D9 PRG:28D9 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E886_OnZero_E8DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E886_OnZero_E8DA: + jsr $E883 ; CPU:$E8DA PRG:28DA 20 83 E8 + lda #$00 ; CPU:$E8DD PRG:28DD A9 00 + clc ; CPU:$E8DF PRG:28DF 18 + rts ; CPU:$E8E0 PRG:28E0 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E8E1_OnZero_E8E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E8E1_OnZero_E8E1: + jsr $EA04 ; CPU:$E8E1 PRG:28E1 20 04 EA + beq Sub_E886_JoinBranchPaths_E8D8 ; CPU:$E8E4 PRG:28E4 F0 F2 + lda JOY1 ; CPU:$E8E6 PRG:28E6 AD 16 40 + and #$02 ; CPU:$E8E9 PRG:28E9 29 02 + beq Sub_E8E1_OnZero_E8E1 ; CPU:$E8EB PRG:28EB F0 F4 +; ----------------------------------------------------------------------------- +; Routine: Sub_E8E1_OnNonzero_E8ED +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E8E1_OnNonzero_E8ED: + jsr $EA04 ; CPU:$E8ED PRG:28ED 20 04 EA + beq Sub_E886_JoinBranchPaths_E8D8 ; CPU:$E8F0 PRG:28F0 F0 E6 + lda JOY1 ; CPU:$E8F2 PRG:28F2 AD 16 40 + and #$02 ; CPU:$E8F5 PRG:28F5 29 02 + bne Sub_E8E1_OnNonzero_E8ED ; CPU:$E8F7 PRG:28F7 D0 F4 + clc ; CPU:$E8F9 PRG:28F9 18 + rts ; CPU:$E8FA PRG:28FA 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E8FB_Return_E8FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E8FB_Return_E8FB: + jsr $E8E1 ; CPU:$E8FB PRG:28FB 20 E1 E8 + bcs Sub_E886_JoinBranchPaths_E8D8 ; CPU:$E8FE PRG:28FE B0 D8 + lda #$4E ; CPU:$E900 PRG:2900 A9 4E + sta ZpE2 ; CPU:$E902 PRG:2902 85 E2 +; ----------------------------------------------------------------------------- +; Routine: Sub_E8FB_OnNonzero_E904 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E8FB_OnNonzero_E904: + dec ZpE2 ; CPU:$E904 PRG:2904 C6 E2 + bne Sub_E8FB_OnNonzero_E904 ; CPU:$E906 PRG:2906 D0 FC + lda JOY1 ; CPU:$E908 PRG:2908 AD 16 40 + and #$02 ; CPU:$E90B PRG:290B 29 02 + clc ; CPU:$E90D PRG:290D 18 + rts ; CPU:$E90E PRG:290E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E90F_Return_E90F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E90F_Return_E90F: + ldx #$08 ; CPU:$E90F PRG:290F A2 08 + ldy #$00 ; CPU:$E911 PRG:2911 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E90F_OnNonzero_E913 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E90F_OnNonzero_E913: + tya ; CPU:$E913 PRG:2913 98 + asl a ; CPU:$E914 PRG:2914 0A + tay ; CPU:$E915 PRG:2915 A8 + jsr $E8FB ; CPU:$E916 PRG:2916 20 FB E8 + bcs Sub_E886_JoinBranchPaths_E8D8 ; CPU:$E919 PRG:2919 B0 BD + bne Sub_E90F_OnNonzero_E921 ; CPU:$E91B PRG:291B D0 04 + jsr $E870 ; CPU:$E91D PRG:291D 20 70 E8 + iny ; CPU:$E920 PRG:2920 C8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E90F_OnNonzero_E921 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E90F_OnNonzero_E921: + dex ; CPU:$E921 PRG:2921 CA + bne Sub_E90F_OnNonzero_E913 ; CPU:$E922 PRG:2922 D0 EF + jsr $E8E1 ; CPU:$E924 PRG:2924 20 E1 E8 + bcs Sub_E886_JoinBranchPaths_E8D8 ; CPU:$E927 PRG:2927 B0 AF + tya ; CPU:$E929 PRG:2929 98 + clc ; CPU:$E92A PRG:292A 18 + rts ; CPU:$E92B PRG:292B 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E92C_Return_E92C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E92C_Return_E92C: + jsr $E877 ; CPU:$E92C PRG:292C 20 77 E8 + lda #$20 ; CPU:$E92F PRG:292F A9 20 + sta ZpDF ; CPU:$E931 PRG:2931 85 DF + lda #$4E ; CPU:$E933 PRG:2933 A9 4E + sta ZpE0 ; CPU:$E935 PRG:2935 85 E0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E92C_OnNonzero_E937 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E92C_OnNonzero_E937: + jsr $E998 ; CPU:$E937 PRG:2937 20 98 E9 + dec ZpDF ; CPU:$E93A PRG:293A C6 DF + bne Sub_E92C_OnNonzero_E937 ; CPU:$E93C PRG:293C D0 F9 + dec ZpE0 ; CPU:$E93E PRG:293E C6 E0 + bne Sub_E92C_OnNonzero_E937 ; CPU:$E940 PRG:2940 D0 F5 + ldx #$14 ; CPU:$E942 PRG:2942 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Sub_E92C_OnNonzero_E944 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E92C_OnNonzero_E944: + jsr $E99D ; CPU:$E944 PRG:2944 20 9D E9 + dex ; CPU:$E947 PRG:2947 CA + bne Sub_E92C_OnNonzero_E944 ; CPU:$E948 PRG:2948 D0 FA + ldx #$14 ; CPU:$E94A PRG:294A A2 14 +; ----------------------------------------------------------------------------- +; Routine: Sub_E92C_OnNonzero_E94C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E92C_OnNonzero_E94C: + jsr $E998 ; CPU:$E94C PRG:294C 20 98 E9 + dex ; CPU:$E94F PRG:294F CA + bne Sub_E92C_OnNonzero_E94C ; CPU:$E950 PRG:2950 D0 FA + jsr $E99D ; CPU:$E952 PRG:2952 20 9D E9 + lda #$00 ; CPU:$E955 PRG:2955 A9 00 + sta ZpDF ; CPU:$E957 PRG:2957 85 DF + sta ZpE0 ; CPU:$E959 PRG:2959 85 E0 +; ----------------------------------------------------------------------------- +; Routine: Sub_E92C_OnNonzero_E95B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E92C_OnNonzero_E95B: + ldy #$00 ; CPU:$E95B PRG:295B A0 00 + lda (ZpDD),y ; CPU:$E95D PRG:295D B1 DD + jsr $E97D ; CPU:$E95F PRG:295F 20 7D E9 + jsr $E869 ; CPU:$E962 PRG:2962 20 69 E8 + lda ZpDE ; CPU:$E965 PRG:2965 A5 DE + cmp #$06 ; CPU:$E967 PRG:2967 C9 06 + bne Sub_E92C_OnNonzero_E95B ; CPU:$E969 PRG:2969 D0 F0 + lda ZpDF ; CPU:$E96B PRG:296B A5 DF + pha ; CPU:$E96D PRG:296D 48 + lda ZpE0 ; CPU:$E96E PRG:296E A5 E0 + jsr $E97D ; CPU:$E970 PRG:2970 20 7D E9 + pla ; CPU:$E973 PRG:2973 68 + jsr $E97D ; CPU:$E974 PRG:2974 20 7D E9 + jsr $E99D ; CPU:$E977 PRG:2977 20 9D E9 + jmp $E883 ; CPU:$E97A PRG:297A 4C 83 E8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E97D_JumpNext_E97D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E97D_JumpNext_E97D: + jsr $E99D ; CPU:$E97D PRG:297D 20 9D E9 + ldx #$08 ; CPU:$E980 PRG:2980 A2 08 + tay ; CPU:$E982 PRG:2982 A8 +; ----------------------------------------------------------------------------- +; Routine: Sub_E97D_OnNonzero_E983 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E97D_OnNonzero_E983: + tya ; CPU:$E983 PRG:2983 98 + asl a ; CPU:$E984 PRG:2984 0A + tay ; CPU:$E985 PRG:2985 A8 + bcs Sub_E98B_OnCarrySet_E98F ; CPU:$E986 PRG:2986 B0 07 + jsr $E998 ; CPU:$E988 PRG:2988 20 98 E9 +; ----------------------------------------------------------------------------- +; Routine: Sub_E98B_CallNext_E98B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E98B_CallNext_E98B: + dex ; CPU:$E98B PRG:298B CA + bne Sub_E97D_OnNonzero_E983 ; CPU:$E98C PRG:298C D0 F5 + rts ; CPU:$E98E PRG:298E 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E98B_OnCarrySet_E98F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E98B_OnCarrySet_E98F: + jsr $E99D ; CPU:$E98F PRG:298F 20 9D E9 + jsr $E870 ; CPU:$E992 PRG:2992 20 70 E8 + jmp $E98B ; CPU:$E995 PRG:2995 4C 8B E9 +; ----------------------------------------------------------------------------- +; Routine: Sub_E998_JumpNext_E998 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E998_JumpNext_E998: + pha ; CPU:$E998 PRG:2998 48 + lda #$34 ; CPU:$E999 PRG:2999 A9 34 + bne Sub_E99D_OnNonzero_E9A0 ; CPU:$E99B PRG:299B D0 03 +; ----------------------------------------------------------------------------- +; Routine: Sub_E99D_Continue_E99D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E99D_Continue_E99D: + pha ; CPU:$E99D PRG:299D 48 + lda #$6A ; CPU:$E99E PRG:299E A9 6A +; ----------------------------------------------------------------------------- +; Routine: Sub_E99D_OnNonzero_E9A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E99D_OnNonzero_E9A0: + sta ZpE2 ; CPU:$E9A0 PRG:29A0 85 E2 + sta ZpE3 ; CPU:$E9A2 PRG:29A2 85 E3 + lda #$04 ; CPU:$E9A4 PRG:29A4 A9 04 + sta JOY1 ; CPU:$E9A6 PRG:29A6 8D 16 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_E99D_OnNonzero_E9A9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E99D_OnNonzero_E9A9: + dec ZpE2 ; CPU:$E9A9 PRG:29A9 C6 E2 + bne Sub_E99D_OnNonzero_E9A9 ; CPU:$E9AB PRG:29AB D0 FC + lda #$FF ; CPU:$E9AD PRG:29AD A9 FF + sta JOY1 ; CPU:$E9AF PRG:29AF 8D 16 40 +; ----------------------------------------------------------------------------- +; Routine: Sub_E99D_OnNonzero_E9B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E99D_OnNonzero_E9B2: + dec ZpE3 ; CPU:$E9B2 PRG:29B2 C6 E3 + bne Sub_E99D_OnNonzero_E9B2 ; CPU:$E9B4 PRG:29B4 D0 FC + pla ; CPU:$E9B6 PRG:29B6 68 + rts ; CPU:$E9B7 PRG:29B7 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E9B8_Return_E9B8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E9B8_Return_E9B8: + lda #$05 ; CPU:$E9B8 PRG:29B8 A9 05 + sta JOY1 ; CPU:$E9BA PRG:29BA 8D 16 40 + nop ; CPU:$E9BD PRG:29BD EA + nop ; CPU:$E9BE PRG:29BE EA + nop ; CPU:$E9BF PRG:29BF EA + nop ; CPU:$E9C0 PRG:29C0 EA + nop ; CPU:$E9C1 PRG:29C1 EA + nop ; CPU:$E9C2 PRG:29C2 EA + ldx #$00 ; CPU:$E9C3 PRG:29C3 A2 00 +; ----------------------------------------------------------------------------- +; Routine: Sub_E9B8_OnNonzero_E9C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E9B8_OnNonzero_E9C5: + lda #$04 ; CPU:$E9C5 PRG:29C5 A9 04 + sta JOY1 ; CPU:$E9C7 PRG:29C7 8D 16 40 + jsr $E9FE ; CPU:$E9CA PRG:29CA 20 FE E9 + lda #$06 ; CPU:$E9CD PRG:29CD A9 06 + sta JOY1 ; CPU:$E9CF PRG:29CF 8D 16 40 + jsr $E9FE ; CPU:$E9D2 PRG:29D2 20 FE E9 + inx ; CPU:$E9D5 PRG:29D5 E8 + cpx #$09 ; CPU:$E9D6 PRG:29D6 E0 09 + bne Sub_E9B8_OnNonzero_E9C5 ; CPU:$E9D8 PRG:29D8 D0 EB + lda #$04 ; CPU:$E9DA PRG:29DA A9 04 + sta JOY1 ; CPU:$E9DC PRG:29DC 8D 16 40 + jsr $E9FE ; CPU:$E9DF PRG:29DF 20 FE E9 + lda JOY2 ; CPU:$E9E2 PRG:29E2 AD 17 40 + and #$1E ; CPU:$E9E5 PRG:29E5 29 1E + cmp #$1E ; CPU:$E9E7 PRG:29E7 C9 1E + bne Sub_E9B8_OnNonzero_E9FC ; CPU:$E9E9 PRG:29E9 D0 11 + lda #$00 ; CPU:$E9EB PRG:29EB A9 00 + sta JOY1 ; CPU:$E9ED PRG:29ED 8D 16 40 + jsr $E9FE ; CPU:$E9F0 PRG:29F0 20 FE E9 + lda JOY2 ; CPU:$E9F3 PRG:29F3 AD 17 40 + and #$1E ; CPU:$E9F6 PRG:29F6 29 1E + bne Sub_E9B8_OnNonzero_E9FC ; CPU:$E9F8 PRG:29F8 D0 02 + clc ; CPU:$E9FA PRG:29FA 18 + rts ; CPU:$E9FB PRG:29FB 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E9B8_OnNonzero_E9FC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E9B8_OnNonzero_E9FC: + sec ; CPU:$E9FC PRG:29FC 38 + rts ; CPU:$E9FD PRG:29FD 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_E9FE_Return_E9FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E9FE_Return_E9FE: + ldy #$0A ; CPU:$E9FE PRG:29FE A0 0A +; ----------------------------------------------------------------------------- +; Routine: Sub_E9FE_OnNonzero_EA00 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_E9FE_OnNonzero_EA00: + dey ; CPU:$EA00 PRG:2A00 88 + bne Sub_E9FE_OnNonzero_EA00 ; CPU:$EA01 PRG:2A01 D0 FD + rts ; CPU:$EA03 PRG:2A03 60 +; ----------------------------------------------------------------------------- +; Routine: Sub_EA04_Return_EA04 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Sub_EA04_Return_EA04: + lda #$05 ; CPU:$EA04 PRG:2A04 A9 05 + sta JOY1 ; CPU:$EA06 PRG:2A06 8D 16 40 + nop ; CPU:$EA09 PRG:2A09 EA + nop ; CPU:$EA0A PRG:2A0A EA + nop ; CPU:$EA0B PRG:2A0B EA + lda #$04 ; CPU:$EA0C PRG:2A0C A9 04 + sta JOY1 ; CPU:$EA0E PRG:2A0E 8D 16 40 + lda #$06 ; CPU:$EA11 PRG:2A11 A9 06 + sta JOY1 ; CPU:$EA13 PRG:2A13 8D 16 40 + lda JOY2 ; CPU:$EA16 PRG:2A16 AD 17 40 + and #$10 ; CPU:$EA19 PRG:2A19 29 10 + rts ; CPU:$EA1B PRG:2A1B 60 +; ---- data $EA1C-$FFF8 (5597 bytes) ---- + .byte $87, $01, $01, $09, $0F, $08, $39, $02, $25, $08, $2D, $02, $03, $0A, $09, $08 ; CPU:$EA1C PRG:2A1C 87 01 01 09 0F 08 39 02 25 08 2D 02 03 0A 09 08 + .byte $12, $02, $01, $06, $22, $02, $01, $0A, $0D, $08, $1F, $02, $01, $82, $20, $00 ; CPU:$EA2C PRG:2A2C 12 02 01 06 22 02 01 0A 0D 08 1F 02 01 82 20 00 + .byte $05, $01, $01, $80, $20, $00, $1D, $01, $0F, $02, $01, $00, $01, $80, $31, $00 ; CPU:$EA3C PRG:2A3C 05 01 01 80 20 00 1D 01 0F 02 01 00 01 80 31 00 + .byte $01, $40, $46, $00, $2D, $01, $01, $81, $17, $00, $0F, $01, $01, $80, $05, $01 ; CPU:$EA4C PRG:2A4C 01 40 46 00 2D 01 01 81 17 00 0F 01 01 80 05 01 + .byte $01, $04, $01, $00, $60, $01, $01, $08, $01, $00, $11, $08, $37, $02, $27, $08 ; CPU:$EA5C PRG:2A5C 01 04 01 00 60 01 01 08 01 00 11 08 37 02 27 08 + .byte $27, $01, $01, $09, $0F, $08, $38, $02, $02, $0A, $16, $08, $BA, $4B, $C9, $D2 ; CPU:$EA6C PRG:2A6C 27 01 01 09 0F 08 38 02 02 0A 16 08 BA 4B C9 D2 + .byte $13, $98, $5C, $E6, $31, $0E, $02, $71, $0B, $AA, $43, $A4, $10, $F0, $C1, $9E ; CPU:$EA7C PRG:2A7C 13 98 5C E6 31 0E 02 71 0B AA 43 A4 10 F0 C1 9E + .byte $00, $02, $01, $48, $15, $55, $35, $59, $E5, $92, $DB, $77, $DA, $F2, $22, $30 ; CPU:$EA8C PRG:2A8C 00 02 01 48 15 55 35 59 E5 92 DB 77 DA F2 22 30 + .byte $B9, $4C, $82, $83, $0B, $1A, $C5, $74, $14, $98, $5D, $46, $16, $15, $A6, $E8 ; CPU:$EA9C PRG:2A9C B9 4C 82 83 0B 1A C5 74 14 98 5D 46 16 15 A6 E8 + .byte $C3, $B8, $00, $02, $5F, $FF, $FF, $00, $80, $48, $21, $73, $1A, $44, $E4, $EB ; CPU:$EAAC PRG:2AAC C3 B8 00 02 5F FF FF 00 80 48 21 73 1A 44 E4 EB + .byte $27, $C6, $F6, $05, $94, $B7, $2B, $8E, $A6, $57, $B5, $E3, $F9, $5E, $DD, $A4 ; CPU:$EABC PRG:2ABC 27 C6 F6 05 94 B7 2B 8E A6 57 B5 E3 F9 5E DD A4 + .byte $52, $60, $00, $C9, $24, $92, $4B, $1C, $00, $FB, $1C, $00, $C0, $01, $80, $00 ; CPU:$EACC PRG:2ACC 52 60 00 C9 24 92 4B 1C 00 FB 1C 00 C0 01 80 00 + .byte $00, $06, $49, $35, $F6, $51, $45, $80, $03, $00, $00, $00, $0C, $00, $06, $CC ; CPU:$EADC PRG:2ADC 00 06 49 35 F6 51 45 80 03 00 00 00 0C 00 06 CC + .byte $4C, $2A, $A5, $51, $55, $4A, $8A, $AF, $D8, $00, $06, $00, $0C, $0E, $03, $24 ; CPU:$EAEC PRG:2AEC 4C 2A A5 51 55 4A 8A AF D8 00 06 00 0C 0E 03 24 + .byte $A4, $92, $4F, $31, $C8, $AA, $8C, $A7, $FE, $2A, $AA, $A6, $45, $81, $51, $45 ; CPU:$EAFC PRG:2AFC A4 92 4F 31 C8 AA 8C A7 FE 2A AA A6 45 81 51 45 + .byte $2F, $FF, $FE, $56, $5C, $88, $62, $A5, $55, $75, $55, $57, $57, $5D, $70, $10 ; CPU:$EB0C PRG:2B0C 2F FF FE 56 5C 88 62 A5 55 75 55 57 57 5D 70 10 + .byte $00, $00, $C0, $12, $49, $23, $00, $31, $CA, $0C, $2E, $33, $22, $94, $42, $E2 ; CPU:$EB1C PRG:2B1C 00 00 C0 12 49 23 00 31 CA 0C 2E 33 22 94 42 E2 + .byte $03, $5A, $2E, $A0, $59, $07, $42, $90, $EA, $65, $DB, $15, $49, $04, $3E, $C0 ; CPU:$EB2C PRG:2B2C 03 5A 2E A0 59 07 42 90 EA 65 DB 15 49 04 3E C0 + .byte $C4, $2E, $11, $0F, $98, $42, $EA, $30, $B9, $83, $12, $98, $5C, $62, $17, $28 ; CPU:$EB3C PRG:2B3C C4 2E 11 0F 98 42 EA 30 B9 83 12 98 5C 62 17 28 + .byte $87, $C8, $21, $70, $92, $25, $10, $B9, $8C, $2E, $53, $0B, $88, $85, $E2, $B2 ; CPU:$EB4C PRG:2B4C 87 C8 21 70 92 25 10 B9 8C 2E 53 0B 88 85 E2 B2 + .byte $DB, $2E, $59, $5C, $B3, $16, $20, $02, $55, $53, $55, $35, $5F, $51, $20, $85 ; CPU:$EB5C PRG:2B5C DB 2E 59 5C B3 16 20 02 55 53 55 35 5F 51 20 85 + .byte $C8, $21, $73, $18, $5C, $46, $61, $14, $72, $41, $0B, $92, $42, $E6, $10, $BA ; CPU:$EB6C PRG:2B6C C8 21 73 18 5C 46 61 14 72 41 0B 92 42 E6 10 BA + .byte $80, $92, $08, $5C, $E2, $17, $49, $85, $86, $2C, $70, $10, $00, $00, $AB, $A8 ; CPU:$EB7C PRG:2B7C 80 92 08 5C E2 17 49 85 86 2C 70 10 00 00 AB A8 + .byte $00, $4C, $58, $E0, $20, $00, $01, $20, $30, $00, $98, $33, $C0, $40, $00, $00 ; CPU:$EB8C PRG:2B8C 00 4C 58 E0 20 00 01 20 30 00 98 33 C0 40 00 00 + .byte $6A, $40, $C1, $01, $67, $1B, $CD, $34, $21, $97, $00, $43, $A5, $90, $B9, $65 ; CPU:$EB9C PRG:2B9C 6A 40 C1 01 67 1B CD 34 21 97 00 43 A5 90 B9 65 + .byte $42, $16, $19, $8E, $46, $50, $16, $76, $76, $50, $16, $73, $07, $88, $28, $A0 ; CPU:$EBAC PRG:2BAC 42 16 19 8E 46 50 16 76 76 50 16 73 07 88 28 A0 + .byte $D5, $48, $28, $A0, $AC, $28, $2F, $E8, $2E, $63, $F1, $16, $65, $15, $15, $16 ; CPU:$EBBC PRG:2BBC D5 48 28 A0 AC 28 2F E8 2E 63 F1 16 65 15 15 16 + .byte $65, $1C, $C1, $E2, $95, $50, $A8, $0A, $95, $50, $AB, $0E, $09, $B2, $0E, $B0 ; CPU:$EBCC PRG:2BCC 65 1C C1 E2 95 50 A8 0A 95 50 AB 0E 09 B2 0E B0 + .byte $FF, $A0, $BF, $F5, $83, $CB, $6A, $F6, $FB, $EE, $5F, $86, $64, $71, $55, $4A ; CPU:$EBDC PRG:2BDC FF A0 BF F5 83 CB 6A F6 FB EE 5F 86 64 71 55 4A + .byte $85, $54, $A1, $55, $55, $87, $EF, $07, $7F, $AC, $16, $7F, $7D, $D0, $0B, $31 ; CPU:$EBEC PRG:2BEC 85 54 A1 55 55 87 EF 07 7F AC 16 7F 7D D0 0B 31 + .byte $6C, $57, $25, $2C, $B9, $2B, $93, $F1, $11, $99, $84, $3A, $61, $21, $85, $8D ; CPU:$EBFC PRG:2BFC 6C 57 25 2C B9 2B 93 F1 11 99 84 3A 61 21 85 8D + .byte $22, $91, $F2, $65, $F3, $0B, $A2, $91, $C9, $39, $32, $E9, $7D, $D1, $F8, $04 ; CPU:$EC0C PRG:2C0C 22 91 F2 65 F3 0B A2 91 C9 39 32 E9 7D D1 F8 04 + .byte $90, $06, $03, $92, $40, $01, $80, $38, $03, $16, $30, $20, $15, $D0, $02, $02 ; CPU:$EC1C PRG:2C1C 90 06 03 92 40 01 80 38 03 16 30 20 15 D0 02 02 + .byte $00, $05, $62, $93, $49, $F9, $32, $B9, $65, $C1, $83, $E4, $18, $0F, $7C, $01 ; CPU:$EC2C PRG:2C2C 00 05 62 93 49 F9 32 B9 65 C1 83 E4 18 0F 7C 01 + .byte $00, $20, $03, $32, $38, $A9, $54, $55, $48, $A2, $B5, $55, $60, $B2, $7A, $6E ; CPU:$EC3C PRG:2C3C 00 20 03 32 38 A9 54 55 48 A2 B5 55 60 B2 7A 6E + .byte $6C, $C1, $E2, $A5, $55, $45, $55, $15, $51, $55, $82, $D9, $79, $02, $C2, $52 ; CPU:$EC4C PRG:2C4C 6C C1 E2 A5 55 45 55 15 51 55 82 D9 79 02 C2 52 + .byte $21, $EA, $3B, $2E, $2F, $6A, $76, $24, $30, $88, $75, $52, $A1, $0E, $1C, $47 ; CPU:$EC5C PRG:2C5C 21 EA 3B 2E 2F 6A 76 24 30 88 75 52 A1 0E 1C 47 + .byte $63, $26, $B2, $AA, $A0, $08, $09, $98, $B1, $C0, $00, $00, $40, $00, $20, $21 ; CPU:$EC6C PRG:2C6C 63 26 B2 AA A0 08 09 98 B1 C0 00 00 40 00 20 21 + .byte $31, $0F, $8A, $A0, $01, $00, $1E, $20, $64, $10, $99, $04, $C6, $17, $71, $85 ; CPU:$EC7C PRG:2C7C 31 0F 8A A0 01 00 1E 20 64 10 99 04 C6 17 71 85 + .byte $8E, $23, $B1, $54, $55, $B5, $59, $55, $64, $CC, $43, $E2, $A8, $10, $00, $10 ; CPU:$EC8C PRG:2C8C 8E 23 B1 54 55 B5 59 55 64 CC 43 E2 A8 10 00 10 + .byte $00, $11, $18, $8E, $C5, $60, $35, $55, $70, $00, $33, $31, $74, $08, $47, $BF ; CPU:$EC9C PRG:2C9C 00 11 18 8E C5 60 35 55 70 00 33 31 74 08 47 BF + .byte $FF, $BE, $1F, $A2, $72, $C9, $A5, $92, $49, $64, $92, $49, $3F, $86, $59, $C5 ; CPU:$ECAC PRG:2CAC FF BE 1F A2 72 C9 A5 92 49 64 92 49 3F 86 59 C5 + .byte $DE, $21, $08, $00, $80, $06, $00, $09, $8B, $1C, $6A, $90, $C1, $AA, $EA, $AA ; CPU:$ECBC PRG:2CBC DE 21 08 00 80 06 00 09 8B 1C 6A 90 C1 AA EA AA + .byte $90, $18, $A1, $4C, $C2, $65, $18, $A4, $DC, $21, $10, $87, $62, $12, $E1, $5D ; CPU:$ECCC PRG:2CCC 90 18 A1 4C C2 65 18 A4 DC 21 10 87 62 12 E1 5D + .byte $2F, $6C, $58, $E0, $02, $55, $08, $15, $4D, $57, $38, $33, $40, $04, $00, $10 ; CPU:$ECDC PRG:2CDC 2F 6C 58 E0 02 55 08 15 4D 57 38 33 40 04 00 10 + .byte $0A, $9A, $AE, $AB, $2F, $A6, $D9, $74, $12, $98, $5C, $86, $21, $0B, $9C, $42 ; CPU:$ECEC PRG:2CEC 0A 9A AE AB 2F A6 D9 74 12 98 5C 86 21 0B 9C 42 + .byte $C2, $F1, $59, $7D, $36, $CB, $A3, $16, $38, $20, $00, $00, $0D, $53, $00, $4E ; CPU:$ECFC PRG:2CFC C2 F1 59 7D 36 CB A3 16 38 20 00 00 0D 53 00 4E + .byte $0F, $90, $40, $00, $00, $12, $04, $FF, $1E, $03, $03, $80, $00, $00, $07, $24 ; CPU:$ED0C PRG:2D0C 0F 90 40 00 00 12 04 FF 1E 03 03 80 00 00 07 24 + .byte $8C, $11, $C8, $64, $E6, $17, $60, $85, $C2, $25, $27, $59, $FE, $37, $4B, $D8 ; CPU:$ED1C PRG:2D1C 8C 11 C8 64 E6 17 60 85 C2 25 27 59 FE 37 4B D8 + .byte $17, $31, $88, $B8, $62, $99, $72, $FA, $0B, $C7, $CB, $E8, $7E, $1D, $92, $49 ; CPU:$ED2C PRG:2D2C 17 31 88 B8 62 99 72 FA 0B C7 CB E8 7E 1D 92 49 + .byte $72, $33, $80, $03, $17, $23, $24, $92, $F3, $23, $0D, $49, $53, $D5, $6D, $43 ; CPU:$ED3C PRG:2D3C 72 33 80 03 17 23 24 92 F3 23 0D 49 53 D5 6D 43 + .byte $52, $66, $46, $1A, $92, $A7, $AA, $DA, $86, $A4, $EC, $8E, $0B, $00, $1C, $00 ; CPU:$ED4C PRG:2D4C 52 66 46 1A 92 A7 AA DA 86 A4 EC 8E 0B 00 1C 00 + .byte $18, $80, $19, $1C, $17, $99, $18, $55, $4A, $9E, $AB, $6A, $15, $53, $32, $20 ; CPU:$ED5C PRG:2D5C 18 80 19 1C 17 99 18 55 4A 9E AB 6A 15 53 32 20 + .byte $D4, $9F, $A2, $A8, $FE, $35, $26, $64, $71, $A9, $A8, $4A, $A1, $2A, $6A, $4C ; CPU:$ED6C PRG:2D6C D4 9F A2 A8 FE 35 26 64 71 A9 A8 4A A1 2A 6A 4C + .byte $C8, $E3, $73, $50, $95, $C2, $54, $DC, $9D, $93, $49, $00, $32, $92, $49, $16 ; CPU:$ED7C PRG:2D7C C8 E3 73 50 95 C2 54 DC 9D 93 49 00 32 92 49 16 + .byte $00, $26, $92, $EB, $06, $9A, $D3, $72, $DA, $DE, $D5, $83, $4F, $69, $B9, $6D ; CPU:$ED8C PRG:2D8C 00 26 92 EB 06 9A D3 72 DA DE D5 83 4F 69 B9 6D + .byte $2F, $60, $58, $92, $F4, $E5, $24, $65, $C0, $10, $E4, $AC, $12, $19, $3C, $D6 ; CPU:$ED9C PRG:2D9C 2F 60 58 92 F4 E5 24 65 C0 10 E4 AC 12 19 3C D6 + .byte $76, $21, $70, $89, $4D, $E2, $52, $19, $83, $C6, $6A, $55, $55, $55, $56, $EA ; CPU:$EDAC PRG:2DAC 76 21 70 89 4D E2 52 19 83 C6 6A 55 55 55 56 EA + .byte $48, $5C, $22, $53, $78, $94, $86, $60, $D1, $A9, $BA, $AA, $AA, $AA, $A9, $9E ; CPU:$EDBC PRG:2DBC 48 5C 22 53 78 94 86 60 D1 A9 BA AA AA AA A9 9E + .byte $C1, $24, $9A, $49, $1C, $91, $C9, $24, $92, $59, $04, $2E, $11, $29, $86, $E2 ; CPU:$EDCC PRG:2DCC C1 24 9A 49 1C 91 C9 24 92 59 04 2E 11 29 86 E2 + .byte $61, $70, $90, $21, $70, $89, $4C, $37, $13, $0B, $84, $87, $60, $92, $4D, $24 ; CPU:$EDDC PRG:2DDC 61 70 90 21 70 89 4C 37 13 0B 84 87 60 92 4D 24 + .byte $90, $07, $64, $92, $49, $2C, $82, $17, $58, $90, $C2, $E8, $90, $B8, $48, $10 ; CPU:$EDEC PRG:2DEC 90 07 64 92 49 2C 82 17 58 90 C2 E8 90 B8 48 10 + .byte $BA, $84, $88, $08, $5D, $22, $44, $0D, $05, $69, $68, $53, $B6, $E4, $76, $D7 ; CPU:$EDFC PRG:2DFC BA 84 88 08 5D 22 44 0D 05 69 68 53 B6 E4 76 D7 + .byte $8F, $91, $F4, $ED, $8A, $8C, $2E, $63, $0E, $94, $C2, $E2, $2D, $79, $AD, $5D ; CPU:$EE0C PRG:2E0C 8F 91 F4 ED 8A 8C 2E 63 0E 94 C2 E2 2D 79 AD 5D + .byte $1B, $B8, $A8, $C2, $E6, $10, $E9, $44, $2E, $30, $E5, $46, $17, $39, $89, $46 ; CPU:$EE1C PRG:2E1C 1B B8 A8 C2 E6 10 E9 44 2E 30 E5 46 17 39 89 46 + .byte $21, $62, $54, $61, $76, $08, $58, $15, $18, $5C, $E2, $1F, $08, $8E, $42, $C3 ; CPU:$EE2C PRG:2E2C 21 62 54 61 76 08 58 15 18 5C E2 1F 08 8E 42 C3 + .byte $10, $F8, $2A, $A8, $4A, $AA, $82, $B2, $AE, $23, $B0, $66, $90, $D5, $59, $55 ; CPU:$EE3C PRG:2E3C 10 F8 2A A8 4A AA 82 B2 AE 23 B0 66 90 D5 59 55 + .byte $75, $52, $B3, $0B, $9C, $C2, $E3, $10, $B0, $2B, $10, $B9, $C5, $04, $EF, $25 ; CPU:$EE4C PRG:2E4C 75 52 B3 0B 9C C2 E3 10 B0 2B 10 B9 C5 04 EF 25 + .byte $AE, $F6, $05, $00, $73, $22, $59, $59, $D7, $8A, $CF, $F9, $66, $47, $16, $E8 ; CPU:$EE5C PRG:2E5C AE F6 05 00 73 22 59 59 D7 8A CF F9 66 47 16 E8 + .byte $AA, $AA, $AA, $AB, $94, $CC, $1C, $2D, $29, $55, $95, $50, $AD, $29, $58, $2D ; CPU:$EE6C PRG:2E6C AA AA AA AB 94 CC 1C 2D 29 55 95 50 AD 29 58 2D + .byte $96, $DF, $75, $CE, $F6, $AC, $1E, $CB, $6D, $BA, $E7, $7B, $56, $0B, $65, $B7 ; CPU:$EE7C PRG:2E7C 96 DF 75 CE F6 AC 1E CB 6D BA E7 7B 56 0B 65 B7 + .byte $DD, $7B, $56, $0F, $65, $B6, $DD, $7B, $56, $0B, $65, $B7, $DD, $7B, $56, $0F ; CPU:$EE8C PRG:2E8C DD 7B 56 0F 65 B6 DD 7B 56 0B 65 B7 DD 7B 56 0F + .byte $65, $B6, $DD, $7B, $56, $0B, $65, $B7, $DD, $7B, $56, $0F, $65, $B6, $DD, $7B ; CPU:$EE9C PRG:2E9C 65 B6 DD 7B 56 0B 65 B7 DD 7B 56 0F 65 B6 DD 7B + .byte $56, $0B, $65, $B7, $DD, $7B, $10, $B9, $04, $2F, $03, $0B, $90, $1B, $08, $74 ; CPU:$EEAC PRG:2EAC 56 0B 65 B7 DD 7B 10 B9 04 2F 03 0B 90 1B 08 74 + .byte $1C, $09, $0C, $BB, $02, $17, $8C, $85, $CA, $21, $C1, $98, $F0, $65, $95, $55 ; CPU:$EEBC PRG:2EBC 1C 09 0C BB 02 17 8C 85 CA 21 C1 98 F0 65 95 55 + .byte $59, $4F, $FC, $58, $A0, $C2, $21, $74, $99, $44, $2C, $4A, $0C, $4E, $E1, $0B ; CPU:$EECC PRG:2ECC 59 4F FC 58 A0 C2 21 74 99 44 2C 4A 0C 4E E1 0B + .byte $02, $73, $13, $9E, $42, $E7, $10, $B0, $C7, $86, $32, $1F, $55, $55, $D3, $55 ; CPU:$EEDC PRG:2EDC 02 73 13 9E 42 E7 10 B0 C7 86 32 1F 55 55 D3 55 + .byte $D3, $8B, $08, $00, $5A, $A9, $00, $FC, $01, $02, $B2, $DB, $2F, $0C, $1F, $80 ; CPU:$EEEC PRG:2EEC D3 8B 08 00 5A A9 00 FC 01 02 B2 DB 2F 0C 1F 80 + .byte $02, $04, $0F, $FF, $FF, $E8, $59, $91, $C5, $55, $55, $4A, $EA, $AE, $85, $48 ; CPU:$EEFC PRG:2EFC 02 04 0F FF FF E8 59 91 C5 55 55 4A EA AE 85 48 + .byte $5D, $62, $17, $08, $A4, $C2, $21, $61, $58, $3C, $B6, $CF, $9D, $E0, $0B, $71 ; CPU:$EF0C PRG:2F0C 5D 62 17 08 A4 C2 21 61 58 3C B6 CF 9D E0 0B 71 + .byte $AC, $62, $25, $0C, $BB, $6B, $B6, $D5, $EE, $22, $22, $22, $22, $22, $22, $25 ; CPU:$EF1C PRG:2F1C AC 62 25 0C BB 6B B6 D5 EE 22 22 22 22 22 22 25 + .byte $AB, $DC, $44, $44, $44, $44, $44, $44, $4B, $F6, $58, $65, $F6, $58, $65, $F6 ; CPU:$EF2C PRG:2F2C AB DC 44 44 44 44 44 44 4B F6 58 65 F6 58 65 F6 + .byte $58, $65, $F6, $76, $AC, $E1, $91, $91, $91, $91, $91, $91, $BE, $19, $7D, $96 ; CPU:$EF3C PRG:2F3C 58 65 F6 76 AC E1 91 91 91 91 91 91 BE 19 7D 96 + .byte $19, $7D, $96, $19, $7D, $96, $19, $DA, $B3, $86, $46, $46, $46, $46, $46, $46 ; CPU:$EF4C PRG:2F4C 19 7D 96 19 7D 96 19 DA B3 86 46 46 46 46 46 46 + .byte $FF, $61, $86, $18, $61, $86, $18, $61, $86, $18, $67, $10, $BE, $8B, $56, $0F ; CPU:$EF5C PRG:2F5C FF 61 86 18 61 86 18 61 86 18 67 10 BE 8B 56 0F + .byte $3F, $B3, $E3, $DB, $10, $BE, $93, $56, $0F, $0F, $EB, $B6, $05, $B4, $29, $54 ; CPU:$EF6C PRG:2F6C 3F B3 E3 DB 10 BE 93 56 0F 0F EB B6 05 B4 29 54 + .byte $D4, $76, $5D, $B6, $11, $E1, $80, $64, $10, $06, $00, $90, $3D, $03, $E3, $28 ; CPU:$EF7C PRG:2F7C D4 76 5D B6 11 E1 80 64 10 06 00 90 3D 03 E3 28 + .byte $C8, $A2, $8C, $2B, $22, $DB, $87, $06, $75, $97, $57, $59, $D6, $5D, $B0, $73 ; CPU:$EF8C PRG:2F8C C8 A2 8C 2B 22 DB 87 06 75 97 57 59 D6 5D B0 73 + .byte $83, $04, $81, $11, $88, $5A, $04, $E7, $07, $1A, $98, $6A, $69, $8E, $92, $B8 ; CPU:$EF9C PRG:2F9C 83 04 81 11 88 5A 04 E7 07 1A 98 6A 69 8E 92 B8 + .byte $CC, $4E, $32, $B1, $AD, $CA, $95, $54, $CB, $9C, $1C, $66, $61, $94, $9A, $29 ; CPU:$EFAC PRG:2FAC CC 4E 32 B1 AD CA 95 54 CB 9C 1C 66 61 94 9A 29 + .byte $A8, $9B, $31, $38, $AC, $A3, $28, $B2, $2A, $B0, $B6, $70, $71, $B9, $86, $63 ; CPU:$EFBC PRG:2FBC A8 9B 31 38 AC A3 28 B2 2A B0 B6 70 71 B9 86 63 + .byte $A4, $AA, $62, $BC, $C4, $E3, $0B, $2C, $C4, $C9, $2C, $A2, $D9, $C1, $C6, $26 ; CPU:$EFCC PRG:2FCC A4 AA 62 BC C4 E3 0B 2C C4 C9 2C A2 D9 C1 C6 26 + .byte $6A, $89, $9E, $6A, $89, $B3, $13, $8C, $2A, $D5, $12, $B2, $D5, $12, $D6, $3F ; CPU:$EFDC PRG:2FDC 6A 89 9E 6A 89 B3 13 8C 2A D5 12 B2 D5 12 D6 3F + .byte $47, $CE, $F0, $65, $0C, $04, $54, $19, $B7, $00, $49, $A8, $90, $B8, $C4, $2E ; CPU:$EFEC PRG:2FEC 47 CE F0 65 0C 04 54 19 B7 00 49 A8 90 B8 C4 2E + .byte $88, $17, $8E, $D9, $70, $FC, $89, $C4, $2E, $D3, $0B, $0D, $C3, $E2, $AA, $4A ; CPU:$EFFC PRG:2FFC 88 17 8E D9 70 FC 89 C4 2E D3 0B 0D C3 E2 AA 4A + .byte $A8, $8A, $AC, $2A, $98, $B1, $C0, $00, $6E, $C0, $0E, $E4, $00, $30, $67, $80 ; CPU:$F00C PRG:300C A8 8A AC 2A 98 B1 C0 00 6E C0 0E E4 00 30 67 80 + .byte $00, $95, $40, $55, $08, $00, $5E, $4B, $3F, $BA, $EB, $F7, $11, $08, $5E, $C6 ; CPU:$F01C PRG:301C 00 95 40 55 08 00 5E 4B 3F BA EB F7 11 08 5E C6 + .byte $16, $15, $8A, $F2, $C1, $F2, $09, $00, $4F, $FF, $EC, $04, $20, $54, $61, $73 ; CPU:$F02C PRG:302C 16 15 8A F2 C1 F2 09 00 4F FF EC 04 20 54 61 73 + .byte $88, $58, $DE, $2B, $55, $CB, $F2, $4A, $55, $55, $55, $56, $42, $5C, $8C, $39 ; CPU:$F03C PRG:303C 88 58 DE 2B 55 CB F2 4A 55 55 55 56 42 5C 8C 39 + .byte $D9, $76, $D7, $68, $46, $25, $31, $39, $8C, $AE, $41, $0E, $0B, $C9, $69, $B5 ; CPU:$F04C PRG:304C D9 76 D7 68 46 25 31 39 8C AE 41 0E 0B C9 69 B5 + .byte $5B, $25, $B7, $0E, $C2, $92, $79, $6D, $76, $C9, $6D, $C3, $AE, $A4, $72, $49 ; CPU:$F05C PRG:305C 5B 25 B7 0E C2 92 79 6D 76 C9 6D C3 AE A4 72 49 + .byte $2F, $9A, $D9, $2D, $B8, $75, $9C, $02, $49, $3C, $00, $19, $01, $80, $00, $18 ; CPU:$F06C PRG:306C 2F 9A D9 2D B8 75 9C 02 49 3C 00 19 01 80 00 18 + .byte $00, $31, $0F, $00, $00, $2A, $C2, $CA, $AA, $EA, $F1, $C9, $24, $80, $00, $64 ; CPU:$F07C PRG:307C 00 31 0F 00 00 2A C2 CA AA EA F1 C9 24 80 00 64 + .byte $06, $00, $00, $01, $80, $A4, $72, $49, $2D, $B2, $5B, $70, $ED, $2B, $64, $B6 ; CPU:$F08C PRG:308C 06 00 00 01 80 A4 72 49 2D B2 5B 70 ED 2B 64 B6 + .byte $E1, $DB, $10, $88, $5D, $C6, $1B, $49, $84, $31, $08, $BC, $D2, $21, $70, $96 ; CPU:$F09C PRG:309C E1 DB 10 88 5D C6 1B 49 84 31 08 BC D2 21 70 96 + .byte $30, $31, $89, $BC, $2C, $51, $D5, $45, $08, $B7, $03, $B6, $B8, $1D, $B1, $0B ; CPU:$F0AC PRG:30AC 30 31 89 BC 2C 51 D5 45 08 B7 03 B6 B8 1D B1 0B + .byte $8C, $C3, $76, $26, $42, $E3, $30, $DD, $89, $90, $B8, $C4, $3E, $31, $11, $A2 ; CPU:$F0BC PRG:30BC 8C C3 76 26 42 E3 30 DD 89 90 B8 C4 3E 31 11 A2 + .byte $44, $67, $07, $98, $3C, $5A, $97, $85, $55, $E9, $55, $53, $30, $78, $B7, $2D ; CPU:$F0CC PRG:30CC 44 67 07 98 3C 5A 97 85 55 E9 55 53 30 78 B7 2D + .byte $0D, $55, $52, $D5, $46, $60, $F1, $55, $5A, $15, $55, $A5, $AE, $8C, $C1, $E2 ; CPU:$F0DC PRG:30DC 0D 55 52 D5 46 60 F1 55 5A 15 55 A5 AE 8C C1 E2 + .byte $D4, $B4, $2A, $AB, $4B, $55, $19, $83, $C5, $A9, $6A, $AA, $82, $96, $BA, $33 ; CPU:$F0EC PRG:30EC D4 B4 2A AB 4B 55 19 83 C5 A9 6A AA 82 96 BA 33 + .byte $07, $8B, $52, $D2, $AA, $8D, $2A, $AA, $66, $0F, $16, $A5, $A5, $57, $1A, $55 ; CPU:$F0FC PRG:30FC 07 8B 52 D2 AA 8D 2A AA 66 0F 16 A5 A5 57 1A 55 + .byte $D4, $4B, $00, $20, $08, $0C, $47, $60, $00, $2D, $80, $03, $38, $00, $0D, $41 ; CPU:$F10C PRG:310C D4 4B 00 20 08 0C 47 60 00 2D 80 03 38 00 0D 41 + .byte $79, $70, $52, $1E, $E1, $AE, $1F, $AB, $E7, $FB, $67, $48, $18, $FF, $2A, $3F ; CPU:$F11C PRG:311C 79 70 52 1E E1 AE 1F AB E7 FB 67 48 18 FF 2A 3F + .byte $F2, $A2, $F8, $CC, $1E, $2D, $55, $2A, $55, $42, $A2, $E9, $9F, $04, $6A, $AA ; CPU:$F12C PRG:312C F2 A2 F8 CC 1E 2D 55 2A 55 42 A2 E9 9F 04 6A AA + .byte $A8, $AA, $8A, $BF, $E0, $85, $C3, $64, $34, $88, $CC, $2E, $80, $79, $84, $46 ; CPU:$F13C PRG:313C A8 AA 8A BF E0 85 C3 64 34 88 CC 2E 80 79 84 46 + .byte $FF, $55, $57, $D5, $55, $4D, $3B, $08, $92, $48, $00, $02, $40, $1C, $00, $CB ; CPU:$F14C PRG:314C FF 55 57 D5 55 4D 3B 08 92 48 00 02 40 1C 00 CB + .byte $01, $E6, $11, $1B, $FF, $FF, $F5, $7F, $51, $5F, $EC, $20, $38, $24, $92, $48 ; CPU:$F15C PRG:315C 01 E6 11 1B FF FF F5 7F 51 5F EC 20 38 24 92 48 + .byte $00, $00, $03, $00, $0F, $D8, $44, $92, $49, $E4, $92, $C9, $24, $96, $00, $26 ; CPU:$F16C PRG:316C 00 00 03 00 0F D8 44 92 49 E4 92 C9 24 96 00 26 + .byte $B0, $5B, $EE, $D3, $A9, $DA, $B0, $5D, $A7, $53, $B0, $2C, $64, $9A, $74, $93 ; CPU:$F17C PRG:317C B0 5B EE D3 A9 DA B0 5D A7 53 B0 2C 64 9A 74 93 + .byte $32, $E7, $2F, $5F, $3B, $E0, $2A, $10, $B9, $8C, $2C, $0A, $44, $3E, $17, $31 ; CPU:$F18C PRG:318C 32 E7 2F 5F 3B E0 2A 10 B9 8C 2C 0A 44 3E 17 31 + .byte $85, $C3, $C0, $A0, $42, $EA, $30, $B0, $27, $10, $F8, $5D, $46, $17, $0F, $02 ; CPU:$F19C PRG:319C 85 C3 C0 A0 42 EA 30 B0 27 10 F8 5D 46 17 0F 02 + .byte $61, $0B, $B8, $C2, $C3, $0E, $F8, $00, $C0, $2A, $AA, $81, $20, $01, $20, $85 ; CPU:$F1AC PRG:31AC 61 0B B8 C2 C3 0E F8 00 C0 2A AA 81 20 01 20 85 + .byte $E4, $61, $60, $46, $21, $F0, $BC, $8C, $2E, $1E, $04, $42, $17, $B1, $85, $81 ; CPU:$F1BC PRG:31BC E4 61 60 46 21 F0 BC 8C 2E 1E 04 42 17 B1 85 81 + .byte $10, $85, $EC, $61, $61, $58, $AF, $20, $5A, $06, $62, $D4, $A8, $65, $60, $56 ; CPU:$F1CC PRG:31CC 10 85 EC 61 61 58 AF 20 5A 06 62 D4 A8 65 60 56 + .byte $0F, $7B, $31, $C8, $B2, $AA, $BF, $FF, $E2, $AB, $2F, $74, $92, $58, $1C, $00 ; CPU:$F1DC PRG:31DC 0F 7B 31 C8 B2 AA BF FF E2 AB 2F 74 92 58 1C 00 + .byte $00, $00, $32, $C9, $24, $BF, $B0, $00, $12, $49, $60, $00, $00, $61, $F0, $00 ; CPU:$F1EC PRG:31EC 00 00 32 C9 24 BF B0 00 12 49 60 00 00 61 F0 00 + .byte $64, $22, $1F, $48, $85, $CE, $21, $70, $81, $23, $30, $B9, $CC, $2E, $71, $0B ; CPU:$F1FC PRG:31FC 64 22 1F 48 85 CE 21 70 81 23 30 B9 CC 2E 71 0B + .byte $0D, $C3, $82, $CA, $AA, $CA, $A2, $DF, $FF, $E5, $26, $21, $41, $85, $CE, $1E ; CPU:$F20C PRG:320C 0D C3 82 CA AA CA A2 DF FF E5 26 21 41 85 CE 1E + .byte $F3, $FA, $EE, $73, $89, $CC, $EA, $76, $E4, $92, $59, $26, $92, $58, $1C, $06 ; CPU:$F21C PRG:321C F3 FA EE 73 89 CC EA 76 E4 92 59 26 92 58 1C 06 + .byte $00, $E0, $00, $4A, $21, $73, $8B, $89, $D6, $5F, $47, $CE, $F6, $05, $B0, $36 ; CPU:$F22C PRG:322C 00 E0 00 4A 21 73 8B 89 D6 5F 47 CE F6 05 B0 36 + .byte $11, $CE, $16, $5D, $A1, $0B, $DA, $42, $E3, $C3, $58, $2C, $72, $99, $57, $C6 ; CPU:$F23C PRG:323C 11 CE 16 5D A1 0B DA 42 E3 C3 58 2C 72 99 57 C6 + .byte $EF, $D8, $FC, $CE, $C4, $2E, $21, $0B, $84, $6A, $61, $63, $98, $3C, $51, $A9 ; CPU:$F24C PRG:324C EF D8 FC CE C4 2E 21 0B 84 6A 61 63 98 3C 51 A9 + .byte $55, $55, $57, $55, $48, $85, $C4, $21, $71, $88, $4C, $20, $73, $07, $8A, $29 ; CPU:$F25C PRG:325C 55 55 57 55 48 85 C4 21 71 88 4C 20 73 07 8A 29 + .byte $2B, $AC, $EC, $EC, $EB, $10, $B8, $84, $2E, $21, $0B, $88, $C2, $C7, $30, $78 ; CPU:$F26C PRG:326C 2B AC EC EC EB 10 B8 84 2E 21 0B 88 C2 C7 30 78 + .byte $A2, $8A, $2A, $CD, $2A, $AA, $B7, $60, $30, $18, $0E, $46, $0F, $25, $C8, $49 ; CPU:$F27C PRG:327C A2 8A 2A CD 2A AA B7 60 30 18 0E 46 0F 25 C8 49 + .byte $24, $9C, $C1, $E2, $8A, $28, $A2, $AA, $2D, $55, $5D, $80, $C0, $60, $30, $1C ; CPU:$F28C PRG:328C 24 9C C1 E2 8A 28 A2 AA 2D 55 5D 80 C0 60 30 1C + .byte $8C, $16, $49, $1F, $F0, $73, $07, $8A, $28, $A2, $8A, $29, $51, $55, $19, $18 ; CPU:$F29C PRG:329C 8C 16 49 1F F0 73 07 8A 28 A2 8A 29 51 55 19 18 + .byte $5C, $22, $2F, $0B, $16, $D1, $61, $0B, $61, $19, $76, $D7, $9B, $D9, $DB, $11 ; CPU:$F2AC PRG:32AC 5C 22 2F 0B 16 D1 61 0B 61 19 76 D7 9B D9 DB 11 + .byte $7C, $0C, $2E, $80, $D4, $82, $43, $EC, $F7, $DC, $BB, $62, $91, $0B, $A0, $C2 ; CPU:$F2BC PRG:32BC 7C 0C 2E 80 D4 82 43 EC F7 DC BB 62 91 0B A0 C2 + .byte $E2, $10, $F8, $C4, $3E, $10, $C5, $22, $17, $40, $85, $D0, $5A, $F2, $79, $ED ; CPU:$F2CC PRG:32CC E2 10 F8 C4 3E 10 C5 22 17 40 85 D0 5A F2 79 ED + .byte $22, $31, $0B, $98, $C2, $E6, $92, $88, $78, $61, $D9, $12, $00, $08, $01, $2F ; CPU:$F2DC PRG:32DC 22 31 0B 98 C2 E6 92 88 78 61 D9 12 00 08 01 2F + .byte $FF, $FE, $C5, $8E, $03, $48, $08, $00, $35, $55, $72, $4C, $21, $74, $49, $04 ; CPU:$F2EC PRG:32EC FF FE C5 8E 03 48 08 00 35 55 72 4C 21 74 49 04 + .byte $3E, $21, $0B, $1C, $3B, $20, $09, $20, $00, $5F, $FF, $00, $84, $E6, $17, $38 ; CPU:$F2FC PRG:32FC 3E 21 0B 1C 3B 20 09 20 00 5F FF 00 84 E6 17 38 + .byte $85, $CC, $21, $63, $59, $FD, $56, $FF, $B1, $98, $C8, $43, $50, $56, $91, $0B ; CPU:$F30C PRG:330C 85 CC 21 63 59 FD 56 FF B1 98 C8 43 50 56 91 0B + .byte $15, $22, $1D, $08, $89, $05, $41, $F2, $F9, $A5, $D6, $FE, $BF, $E2, $B3, $5A ; CPU:$F31C PRG:331C 15 22 1D 08 89 05 41 F2 F9 A5 D6 FE BF E2 B3 5A + .byte $64, $5F, $05, $95, $55, $55, $94, $06, $55, $C8, $B8, $2D, $4F, $FF, $ED, $4F ; CPU:$F32C PRG:332C 64 5F 05 95 55 55 94 06 55 C8 B8 2D 4F FF ED 4F + .byte $FD, $FD, $D1, $2C, $32, $07, $00, $02, $C3, $20, $00, $00, $0F, $A2, $58, $64 ; CPU:$F33C PRG:333C FD FD D1 2C 32 07 00 02 C3 20 00 00 0F A2 58 64 + .byte $00, $00, $05, $86, $47, $00, $0E, $1F, $44, $BE, $C9, $25, $92, $4B, $EC, $80 ; CPU:$F34C PRG:334C 00 00 05 86 47 00 0E 1F 44 BE C9 25 92 4B EC 80 + .byte $00, $00, $32, $15, $49, $85, $E0, $4F, $A0, $00, $00, $96, $D9, $20, $70, $07 ; CPU:$F35C PRG:335C 00 00 32 15 49 85 E0 4F A0 00 00 96 D9 20 70 07 + .byte $00, $0E, $19, $0A, $9A, $42, $62, $70, $88, $9D, $D0, $EA, $07, $8A, $4F, $68 ; CPU:$F36C PRG:336C 00 0E 19 0A 9A 42 62 70 88 9D D0 EA 07 8A 4F 68 + .byte $B6, $5E, $D9, $06, $45, $55, $65, $65, $FF, $FF, $FD, $BA, $49, $00, $03, $00 ; CPU:$F37C PRG:337C B6 5E D9 06 45 55 65 65 FF FF FD BA 49 00 03 00 + .byte $30, $49, $1C, $90, $38, $25, $90, $A9, $8C, $2A, $17, $0F, $84, $43, $E1, $71 ; CPU:$F38C PRG:338C 30 49 1C 90 38 25 90 A9 8C 2A 17 0F 84 43 E1 71 + .byte $01, $67, $0C, $C3, $95, $1C, $B7, $39, $73, $79, $CB, $99, $CD, $5C, $C5, $6A ; CPU:$F39C PRG:339C 01 67 0C C3 95 1C B7 39 73 79 CB 99 CD 5C C5 6A + .byte $95, $CB, $2D, $AA, $D5, $2B, $96, $5B, $7D, $C2, $71, $0B, $9C, $C2, $C3, $02 ; CPU:$F3AC PRG:33AC 95 CB 2D AA D5 2B 96 5B 7D C2 71 0B 9C C2 C3 02 + .byte $F8, $C0, $12, $66, $30, $CC, $00, $01, $10, $8C, $C2, $EC, $30, $B8, $CC, $2C ; CPU:$F3BC PRG:33BC F8 C0 12 66 30 CC 00 01 10 8C C2 EC 30 B8 CC 2C + .byte $30, $3D, $80, $A4, $0A, $A4, $07, $02, $E0, $60, $5F, $00, $55, $83, $15, $89 ; CPU:$F3CC PRG:33CC 30 3D 80 A4 0A A4 07 02 E0 60 5F 00 55 83 15 89 + .byte $61, $80, $C0, $F6, $00, $33, $AB, $91, $9C, $F3, $80, $4C, $32, $30, $B0, $09 ; CPU:$F3DC PRG:33DC 61 80 C0 F6 00 33 AB 91 9C F3 80 4C 32 30 B0 09 + .byte $C8, $C5, $38, $99, $A6, $56, $0A, $DA, $B0, $79, $71, $98, $DC, $77, $CB, $F3 ; CPU:$F3EC PRG:33EC C8 C5 38 99 A6 56 0A DA B0 79 71 98 DC 77 CB F3 + .byte $5B, $77, $49, $24, $92, $4B, $00, $32, $49, $24, $90, $5A, $F8, $0E, $00, $00 ; CPU:$F3FC PRG:33FC 5B 77 49 24 92 4B 00 32 49 24 90 5A F8 0E 00 00 + .byte $06, $09, $64, $01, $C0, $00, $B5, $CB, $24, $92, $49, $2C, $72, $C8, $24, $92 ; CPU:$F40C PRG:340C 06 09 64 01 C0 00 B5 CB 24 92 49 2C 72 C8 24 92 + .byte $41, $6B, $99, $24, $92, $42, $58, $25, $90, $40, $01, $82, $D6, $21, $A1, $45 ; CPU:$F41C PRG:341C 41 6B 99 24 92 42 58 25 90 40 01 82 D6 21 A1 45 + .byte $14, $25, $69, $10, $24, $BE, $40, $20, $11, $CB, $64, $92, $C9, $E4, $96, $0B ; CPU:$F42C PRG:342C 14 25 69 10 24 BE 40 20 11 CB 64 92 C9 E4 96 0B + .byte $5C, $80, $47, $20, $16, $40, $00, $02, $09, $2C, $06, $B1, $0D, $0A, $00, $A4 ; CPU:$F43C PRG:343C 5C 80 47 20 16 40 00 02 09 2C 06 B1 0D 0A 00 A4 + .byte $20, $08, $AB, $15, $F2, $C9, $00, $96, $D9, $07, $92, $09, $24, $92, $C2, $E5 ; CPU:$F44C PRG:344C 20 08 AB 15 F2 C9 00 96 D9 07 92 09 24 92 C2 E5 + .byte $80, $12, $2D, $92, $00, $20, $13, $C0, $01, $95, $CB, $00, $20, $03, $26, $92 ; CPU:$F45C PRG:345C 80 12 2D 92 00 20 13 C0 01 95 CB 00 20 03 26 92 + .byte $4D, $24, $92, $4B, $2B, $16, $10, $81, $54, $D5, $55, $55, $54, $DA, $78, $5E ; CPU:$F46C PRG:346C 4D 24 92 4B 2B 16 10 81 54 D5 55 55 54 DA 78 5E + .byte $D3, $0E, $ED, $2F, $BF, $69, $99, $1C, $55, $55, $52, $AA, $EA, $54, $57, $31 ; CPU:$F47C PRG:347C D3 0E ED 2F BF 69 99 1C 55 55 52 AA EA 54 57 31 + .byte $C8, $CA, $AB, $27, $FE, $2A, $A8, $AF, $60, $82, $48, $04, $31, $F8, $4C, $00 ; CPU:$F48C PRG:348C C8 CA AB 27 FE 2A A8 AF 60 82 48 04 31 F8 4C 00 + .byte $00, $60, $0C, $C1, $43, $2D, $4C, $8F, $BD, $55, $55, $FD, $82, $09, $20, $10 ; CPU:$F49C PRG:349C 00 60 0C C1 43 2D 4C 8F BD 55 55 FD 82 09 20 10 + .byte $C2, $40, $00, $00, $00, $05, $FB, $07, $82, $48, $21, $85, $24, $92, $40, $38 ; CPU:$F4AC PRG:34AC C2 40 00 00 00 05 FB 07 82 48 21 85 24 92 40 38 + .byte $09, $F6, $09, $24, $80, $43, $0B, $80, $00, $04, $92, $D3, $EC, $12, $49, $24 ; CPU:$F4BC PRG:34BC 09 F6 09 24 80 43 0B 80 00 04 92 D3 EC 12 49 24 + .byte $86, $12, $00, $0E, $00, $01, $87, $98, $44, $55, $55, $51, $A7, $FF, $D5, $3C ; CPU:$F4CC PRG:34CC 86 12 00 0E 00 01 87 98 44 55 55 51 A7 FF D5 3C + .byte $85, $D0, $A1, $32, $AA, $84, $2C, $2B, $05, $E4, $0B, $20, $5C, $2B, $10, $AC ; CPU:$F4DC PRG:34DC 85 D0 A1 32 AA 84 2C 2B 05 E4 0B 20 5C 2B 10 AC + .byte $B8, $1D, $B1, $0E, $A0, $55, $28, $0D, $F0, $44, $96, $49, $40, $00, $02, $24 ; CPU:$F4EC PRG:34EC B8 1D B1 0E A0 55 28 0D F0 44 96 49 40 00 02 24 + .byte $B2, $4A, $1B, $EC, $B8, $EC, $70, $87, $00, $74, $38, $7C, $F5, $B7, $58, $92 ; CPU:$F4FC PRG:34FC B2 4A 1B EC B8 EC 70 87 00 74 38 7C F5 B7 58 92 + .byte $18, $00, $94, $02, $24, $92, $C1, $07, $2A, $81, $66, $A6, $7B, $A9, $F7, $59 ; CPU:$F50C PRG:350C 18 00 94 02 24 92 C1 07 2A 81 66 A6 7B A9 F7 59 + .byte $BF, $EA, $B6, $E8, $00, $03, $24, $92, $99, $44, $81, $D8, $24, $15, $50, $3C ; CPU:$F51C PRG:351C BF EA B6 E8 00 03 24 92 99 44 81 D8 24 15 50 3C + .byte $56, $6B, $6C, $CE, $69, $75, $AD, $B2, $64, $0D, $53, $F9, $4D, $47, $EF, $F2 ; CPU:$F52C PRG:352C 56 6B 6C CE 69 75 AD B2 64 0D 53 F9 4D 47 EF F2 + .byte $70, $D0, $E1, $80, $08, $0C, $70, $40, $0C, $00, $98, $C1, $A2, $37, $89, $F8 ; CPU:$F53C PRG:353C 70 D0 E1 80 08 0C 70 40 0C 00 98 C1 A2 37 89 F8 + .byte $20, $7E, $27, $C9, $83, $E8, $4B, $13, $80, $40, $2C, $4E, $13, $06, $78, $81 ; CPU:$F54C PRG:354C 20 7E 27 C9 83 E8 4B 13 80 40 2C 4E 13 06 78 81 + .byte $50, $00, $80, $05, $40, $20, $2C, $87, $51, $F0, $94, $96, $E7, $0A, $E4, $62 ; CPU:$F55C PRG:355C 50 00 80 05 40 20 2C 87 51 F0 94 96 E7 0A E4 62 + .byte $1D, $08, $87, $C6, $21, $E1, $87, $4C, $10, $10, $B2, $AA, $AA, $B0, $03, $94 ; CPU:$F56C PRG:356C 1D 08 87 C6 21 E1 87 4C 10 10 B2 AA AA B0 03 94 + .byte $51, $45, $24, $90, $1C, $00, $00, $4C, $0E, $01, $50, $9D, $42, $E3, $11, $29 ; CPU:$F57C PRG:357C 51 45 24 90 1C 00 00 4C 0E 01 50 9D 42 E3 11 29 + .byte $09, $94, $48, $5C, $22, $25, $28, $85, $CA, $24, $27, $83, $44, $00, $01, $28 ; CPU:$F58C PRG:358C 09 94 48 5C 22 25 28 85 CA 24 27 83 44 00 01 28 + .byte $FF, $FF, $4F, $F7, $8E, $00, $1C, $30, $90, $20, $00, $01, $60, $92, $5F, $24 ; CPU:$F59C PRG:359C FF FF 4F F7 8E 00 1C 30 90 20 00 01 60 92 5F 24 + .byte $80, $08, $61, $20, $40, $1C, $02, $C1, $3C, $BC, $43, $40, $00, $33, $E8, $00 ; CPU:$F5AC PRG:35AC 80 08 61 20 40 1C 02 C1 3C BC 43 40 00 33 E8 00 + .byte $04, $82, $55, $A2, $5B, $F0, $9A, $5D, $67, $57, $B1, $71, $84, $42, $E2, $30 ; CPU:$F5BC PRG:35BC 04 82 55 A2 5B F0 9A 5D 67 57 B1 71 84 42 E2 30 + .byte $B8, $44, $E4, $EB, $7F, $C6, $E5, $7B, $02, $F0, $39, $14, $68, $43, $2E, $82 ; CPU:$F5CC PRG:35CC B8 44 E4 EB 7F C6 E5 7B 02 F0 39 14 68 43 2E 82 + .byte $C2, $61, $70, $FD, $07, $24, $90, $18, $02, $00, $00, $C0, $02, $58, $00, $0E ; CPU:$F5DC PRG:35DC C2 61 70 FD 07 24 90 18 02 00 00 C0 02 58 00 0E + .byte $49, $20, $30, $48, $80, $01, $80, $84, $B0, $00, $1C, $FE, $40, $60, $98, $09 ; CPU:$F5EC PRG:35EC 49 20 30 48 80 01 80 84 B0 00 1C FE 40 60 98 09 + .byte $24, $92, $04, $60, $00, $31, $0F, $80, $2C, $AA, $80, $00, $CC, $02, $F0, $00 ; CPU:$F5FC PRG:35FC 24 92 04 60 00 31 0F 80 2C AA 80 00 CC 02 F0 00 + .byte $01, $C9, $00, $24, $92, $48, $60, $1E, $40, $C2, $32, $00, $80, $11, $FF, $F9 ; CPU:$F60C PRG:360C 01 C9 00 24 92 48 60 1E 40 C2 32 00 80 11 FF F9 + .byte $07, $E1, $81, $7C, $00, $55, $21, $7F, $52, $00, $03, $08, $58, $09, $54, $65 ; CPU:$F61C PRG:361C 07 E1 81 7C 00 55 21 7F 52 00 03 08 58 09 54 65 + .byte $55, $46, $00, $07, $24, $C0, $7F, $21, $C0, $00, $10, $46, $00, $00, $0E, $79 ; CPU:$F62C PRG:362C 55 46 00 07 24 C0 7F 21 C0 00 10 46 00 00 0E 79 + .byte $00, $92, $43, $10, $01, $03, $00, $92, $40, $18, $87, $C0, $55, $56, $50, $16 ; CPU:$F63C PRG:363C 00 92 43 10 01 03 00 92 40 18 87 C0 55 56 50 16 + .byte $53, $C5, $70, $2F, $80, $A0, $04, $00, $04, $12, $A0, $31, $06, $A1, $78, $DC ; CPU:$F64C PRG:364C 53 C5 70 2F 80 A0 04 00 04 12 A0 31 06 A1 78 DC + .byte $BB, $B6, $26, $12, $7B, $84, $71, $88, $5E, $E6, $30, $75, $82, $F6, $B0, $34 ; CPU:$F65C PRG:365C BB B6 26 12 7B 84 71 88 5E E6 30 75 82 F6 B0 34 + .byte $4F, $37, $A7, $E3, $F8, $AC, $DE, $DC, $06, $11, $24, $93, $49, $24, $92, $69 ; CPU:$F66C PRG:366C 4F 37 A7 E3 F8 AC DE DC 06 11 24 93 49 24 92 69 + .byte $24, $A0, $EB, $15, $ED, $60, $E8, $DE, $9F, $77, $D2, $AF, $7B, $70, $00, $61 ; CPU:$F67C PRG:367C 24 A0 EB 15 ED 60 E8 DE 9F 77 D2 AF 7B 70 00 61 + .byte $13, $49, $24, $93, $49, $24, $A0, $03, $AC, $97, $B5, $82, $C1, $D1, $FD, $5F ; CPU:$F68C PRG:368C 13 49 24 93 49 24 A0 03 AC 97 B5 82 C1 D1 FD 5F + .byte $0F, $AD, $5A, $F6, $26, $11, $2B, $8C, $2A, $40, $64, $9F, $41, $0B, $85, $42 ; CPU:$F69C PRG:369C 0F AD 5A F6 26 11 2B 8C 2A 40 64 9F 41 0B 85 42 + .byte $0C, $A8, $CC, $A7, $31, $A8, $41, $B5, $05, $C1, $4B, $2C, $1B, $9C, $21, $30 ; CPU:$F6AC PRG:36AC 0C A8 CC A7 31 A8 41 B5 05 C1 4B 2C 1B 9C 21 30 + .byte $F8, $85, $52, $1D, $4C, $88, $43, $C4, $88, $C4, $F2, $10, $F8, $44, $4C, $71 ; CPU:$F6BC PRG:36BC F8 85 52 1D 4C 88 43 C4 88 C4 F2 10 F8 44 4C 71 + .byte $62, $00, $CF, $FF, $DF, $FF, $FB, $20, $12, $18, $9C, $22, $1F, $70, $89, $8F ; CPU:$F6CC PRG:36CC 62 00 CF FF DF FF FB 20 12 18 9C 22 1F 70 89 8F + .byte $24, $92, $C3, $92, $49, $04, $92, $46, $1D, $24, $92, $53, $0D, $89, $D4, $21 ; CPU:$F6DC PRG:36DC 24 92 C3 92 49 04 92 46 1D 24 92 53 0D 89 D4 21 + .byte $F0, $88, $9C, $26, $1A, $3C, $92, $4D, $2C, $39, $20, $92, $46, $19, $34, $92 ; CPU:$F6EC PRG:36EC F0 88 9C 26 1A 3C 92 4D 2C 39 20 92 46 19 34 92 + .byte $79, $24, $9A, $4B, $63, $80, $00, $0D, $92, $69, $24, $F2, $49, $34, $92, $C3 ; CPU:$F6FC PRG:36FC 79 24 9A 4B 63 80 00 0D 92 69 24 F2 49 34 92 C3 + .byte $90, $46, $19, $24, $D2, $49, $C6, $B0, $00, $20, $15, $FF, $40, $02, $01, $8D ; CPU:$F70C PRG:370C 90 46 19 24 D2 49 C6 B0 00 20 15 FF 40 02 01 8D + .byte $60, $00, $40, $0B, $FE, $00, $04, $00, $94, $C3, $66, $30, $B8, $44, $3E, $17 ; CPU:$F71C PRG:371C 60 00 40 0B FE 00 04 00 94 C3 66 30 B8 44 3E 17 + .byte $39, $86, $89, $21, $A0, $42, $E2, $30, $BA, $00, $B2, $8A, $A5, $23, $5A, $CB ; CPU:$F72C PRG:372C 39 86 89 21 A0 42 E2 30 BA 00 B2 8A A5 23 5A CB + .byte $86, $B8, $78, $5C, $9E, $53, $2A, $C1, $9E, $03, $0D, $54, $D5, $30, $00, $43 ; CPU:$F73C PRG:373C 86 B8 78 5C 9E 53 2A C1 9E 03 0D 54 D5 30 00 43 + .byte $99, $1C, $55, $A5, $54, $55, $1A, $95, $47, $B0, $00, $00, $C9, $23, $92, $46 ; CPU:$F74C PRG:374C 99 1C 55 A5 54 55 1A 95 47 B0 00 00 C9 23 92 46 + .byte $40, $07, $80, $C7, $60, $10, $01, $7C, $F7, $CB, $EC, $80, $0C, $01, $8C, $58 ; CPU:$F75C PRG:375C 40 07 80 C7 60 10 01 7C F7 CB EC 80 0C 01 8C 58 + .byte $E2, $15, $00, $00, $20, $54, $54, $F8, $3E, $44, $02, $C0, $09, $43, $03, $DF ; CPU:$F76C PRG:376C E2 15 00 00 20 54 54 F8 3E 44 02 C0 09 43 03 DF + .byte $F0, $67, $88, $05, $01, $52, $04, $00, $20, $60, $F9, $10, $B3, $00, $04, $0E ; CPU:$F77C PRG:377C F0 67 88 05 01 52 04 00 20 60 F9 10 B3 00 04 0E + .byte $07, $FF, $C1, $9E, $21, $04, $06, $08, $14, $08, $01, $83, $E4, $6C, $0C, $7F ; CPU:$F78C PRG:378C 07 FF C1 9E 21 04 06 08 14 08 01 83 E4 6C 0C 7F + .byte $FD, $33, $90, $03, $06, $78, $C1, $90, $C1, $92, $01, $20, $00, $29, $21, $C8 ; CPU:$F79C PRG:379C FD 33 90 03 06 78 C1 90 C1 92 01 20 00 29 21 C8 + .byte $44, $52, $53, $0E, $02, $13, $2E, $02, $13, $0E, $90, $43, $E3, $92, $18, $5D ; CPU:$F7AC PRG:37AC 44 52 53 0E 02 13 2E 02 13 0E 90 43 E3 92 18 5D + .byte $06, $16, $38, $87, $C0, $00, $54, $52, $00, $00, $84, $30, $2F, $80, $00, $00 ; CPU:$F7BC PRG:37BC 06 16 38 87 C0 00 54 52 00 00 84 30 2F 80 00 00 + .byte $0C, $A8, $A3, $38, $E6, $78, $15, $55, $12, $D1, $5D, $74, $55, $CC, $1E, $2A ; CPU:$F7CC PRG:37CC 0C A8 A3 38 E6 78 15 55 12 D1 5D 74 55 CC 1E 2A + .byte $AA, $55, $45, $5B, $31, $4D, $98, $3C, $55, $55, $6A, $8A, $AA, $62, $BA, $B0 ; CPU:$F7DC PRG:37DC AA 55 45 5B 31 4D 98 3C 55 55 6A 8A AA 62 BA B0 + .byte $78, $A5, $16, $EB, $BC, $ED, $99, $5C, $54, $55, $19, $99, $99, $91, $9B, $32 ; CPU:$F7EC PRG:37EC 78 A5 16 EB BC ED 99 5C 54 55 19 99 99 91 9B 32 + .byte $38, $A8, $AA, $2A, $AD, $2A, $A5, $56, $60, $F1, $51, $54, $AA, $A9, $6A, $85 ; CPU:$F7FC PRG:37FC 38 A8 AA 2A AD 2A A5 56 60 F1 51 54 AA A9 6A 85 + .byte $52, $17, $41, $85, $D0, $61, $F0, $89, $C9, $E6, $39, $15, $55, $46, $7F, $FD ; CPU:$F80C PRG:380C 52 17 41 85 D0 61 F0 89 C9 E6 39 15 55 46 7F FD + .byte $55, $54, $79, $09, $C9, $66, $89, $B7, $03, $B6, $21, $D4, $48, $BC, $C6, $2F ; CPU:$F81C PRG:381C 55 54 79 09 C9 66 89 B7 03 B6 21 D4 48 BC C6 2F + .byte $44, $6C, $C7, $22, $AA, $B7, $E0, $1F, $CA, $AA, $99, $8E, $45, $55, $BC, $05 ; CPU:$F82C PRG:382C 44 6C C7 22 AA B7 E0 1F CA AA 99 8E 45 55 BC 05 + .byte $03, $E5, $55, $33, $1C, $8A, $AD, $E1, $2A, $C1, $F2, $AA, $66, $0F, $15, $5A ; CPU:$F83C PRG:383C 03 E5 55 33 1C 8A AD E1 2A C1 F2 AA 66 0F 15 5A + .byte $0D, $55, $70, $A5, $54, $CC, $1E, $2A, $B0, $7A, $AA, $F8, $4A, $A9, $98, $3C ; CPU:$F84C PRG:384C 0D 55 70 A5 54 CC 1E 2A B0 7A AA F8 4A A9 98 3C + .byte $55, $60, $F5, $55, $F0, $95, $53, $30, $78, $AA, $D0, $6A, $AB, $85, $2A, $A7 ; CPU:$F85C PRG:385C 55 60 F5 55 F0 95 53 30 78 AA D0 6A AB 85 2A A7 + .byte $60, $00, $01, $AD, $FE, $07, $ED, $D2, $00, $00, $3E, $C0, $00, $01, $4B, $6F ; CPU:$F86C PRG:386C 60 00 01 AD FE 07 ED D2 00 00 3E C0 00 01 4B 6F + .byte $F6, $D9, $A0, $00, $00, $64, $2E, $81, $19, $91, $C6, $68, $06, $42, $EA, $13 ; CPU:$F87C PRG:387C F6 D9 A0 00 00 64 2E 81 19 91 C6 68 06 42 EA 13 + .byte $1A, $81, $94, $98, $5D, $02, $16, $2D, $A3, $70, $CE, $C0, $B2, $E6, $73, $D9 ; CPU:$F88C PRG:388C 1A 81 94 98 5D 02 16 2D A3 70 CE C0 B2 E6 73 D9 + .byte $1D, $C4, $44, $44, $60, $91, $11, $11, $30, $EC, $80, $80, $08, $5F, $02, $00 ; CPU:$F89C PRG:389C 1D C4 44 44 60 91 11 11 30 EC 80 80 08 5F 02 00 + .byte $20, $66, $8F, $19, $99, $99, $96, $66, $66, $64, $CC, $72, $2B, $2B, $2A, $FA ; CPU:$F8AC PRG:38AC 20 66 8F 19 99 99 96 66 66 64 CC 72 2B 2B 2A FA + .byte $AC, $AC, $A9, $91, $7C, $44, $44, $46, $09, $11, $11, $13, $0E, $C8, $00, $88 ; CPU:$F8BC PRG:38BC AC AC A9 91 7C 44 44 46 09 11 11 13 0E C8 00 88 + .byte $05, $F0, $02, $20, $06, $68, $F1, $99, $99, $99, $66, $66, $66, $4C, $C7, $22 ; CPU:$F8CC PRG:38CC 05 F0 02 20 06 68 F1 99 99 99 66 66 66 4C C7 22 + .byte $B2, $B2, $AF, $AA, $CA, $CA, $99, $17, $C4, $44, $44, $60, $91, $11, $11, $30 ; CPU:$F8DC PRG:38DC B2 B2 AF AA CA CA 99 17 C4 44 44 60 91 11 11 30 + .byte $EC, $80, $80, $08, $5F, $02, $00, $20, $66, $8F, $19, $99, $99, $99, $99, $99 ; CPU:$F8EC PRG:38EC EC 80 80 08 5F 02 00 20 66 8F 19 99 99 99 99 99 + .byte $98, $AC, $17, $B2, $52, $AA, $AA, $AA, $B3, $08, $C6, $A9, $94, $CB, $91, $D0 ; CPU:$F8FC PRG:38FC 98 AC 17 B2 52 AA AA AA B3 08 C6 A9 94 CB 91 D0 + .byte $5E, $5E, $47, $AB, $DD, $D0, $FC, $33, $23, $8A, $AA, $8A, $CA, $8A, $CA, $A9 ; CPU:$F90C PRG:390C 5E 5E 47 AB DD D0 FC 33 23 8A AA 8A CA 8A CA A9 + .byte $56, $0B, $46, $32, $E1, $7B, $56, $1B, $3E, $2F, $1B, $71, $BD, $30, $8F, $8A ; CPU:$F91C PRG:391C 56 0B 46 32 E1 7B 56 1B 3E 2F 1B 71 BD 30 8F 8A + .byte $AA, $42, $02, $42, $AA, $A9, $56, $7C, $4E, $3E, $E3, $7A, $72, $49, $24, $06 ; CPU:$F92C PRG:392C AA 42 02 42 AA A9 56 7C 4E 3E E3 7A 72 49 24 06 + .byte $20, $02, $06, $00, $00, $71, $C3, $E4, $82, $48, $60, $08, $20, $01, $80, $21 ; CPU:$F93C PRG:393C 20 02 06 00 00 71 C3 E4 82 48 60 08 20 01 80 21 + .byte $25, $25, $C7, $00, $70, $18, $02, $00, $18, $00, $42, $4A, $4B, $92, $49, $21 ; CPU:$F94C PRG:394C 25 25 C7 00 70 18 02 00 18 00 42 4A 4B 92 49 21 + .byte $80, $20, $80, $06, $00, $84, $94, $97, $24, $90, $40, $72, $00, $24, $60, $01 ; CPU:$F95C PRG:395C 80 20 80 06 00 84 94 97 24 90 40 72 00 24 60 01 + .byte $09, $FD, $2C, $3B, $40, $88, $40, $08, $04, $21, $FF, $E0, $BB, $84, $86, $B1 ; CPU:$F96C PRG:396C 09 FD 2C 3B 40 88 40 08 04 21 FF E0 BB 84 86 B1 + .byte $D4, $CB, $80, $22, $DC, $C3, $B8, $1E, $2F, $77, $D3, $F1, $7B, $63, $58, $10 ; CPU:$F97C PRG:397C D4 CB 80 22 DC C3 B8 1E 2F 77 D3 F1 7B 63 58 10 + .byte $28, $A0, $00, $0F, $3F, $3E, $C0, $B4, $00, $D1, $49, $EA, $A0, $00, $05, $C0 ; CPU:$F98C PRG:398C 28 A0 00 0F 3F 3E C0 B4 00 D1 49 EA A0 00 05 C0 + .byte $00, $B7, $DB, $21, $02, $49, $04, $96, $49, $2C, $90, $4E, $61, $10, $A8, $7C ; CPU:$F99C PRG:399C 00 B7 DB 21 02 49 04 96 49 2C 90 4E 61 10 A8 7C + .byte $66, $51, $0B, $90, $1D, $76, $BD, $8B, $C4, $26, $17, $29, $85, $C8, $8F, $16 ; CPU:$F9AC PRG:39AC 66 51 0B 90 1D 76 BD 8B C4 26 17 29 85 C8 8F 16 + .byte $38, $20, $00, $08, $13, $7D, $35, $4E, $0D, $10, $40, $00, $10, $04, $A0, $03 ; CPU:$F9BC PRG:39BC 38 20 00 08 13 7D 35 4E 0D 10 40 00 10 04 A0 03 + .byte $DE, $03, $27, $90, $00, $60, $12, $42, $44, $92, $48, $7C, $06, $49, $20, $00 ; CPU:$F9CC PRG:39CC DE 03 27 90 00 60 12 42 44 92 48 7C 06 49 20 00 + .byte $C0, $1C, $04, $80, $00, $00, $CC, $8C, $4A, $42, $4D, $64, $B9, $14, $C2, $A2 ; CPU:$F9DC PRG:39DC C0 1C 04 80 00 00 CC 8C 4A 42 4D 64 B9 14 C2 A2 + .byte $E6, $AC, $0E, $1F, $11, $CD, $C9, $64, $F3, $4E, $C1, $24, $90, $00, $03, $00 ; CPU:$F9EC PRG:39EC E6 AC 0E 1F 11 CD C9 64 F3 4E C1 24 90 00 03 00 + .byte $38, $04, $92, $48, $79, $83, $C6, $AA, $58, $00, $09, $6A, $A9, $3B, $04, $9E ; CPU:$F9FC PRG:39FC 38 04 92 48 79 83 C6 AA 58 00 09 6A A9 3B 04 9E + .byte $40, $2D, $24, $93, $20, $13, $C9, $21, $E6, $0F, $1A, $A9, $60, $00, $25, $AA ; CPU:$FA0C PRG:3A0C 40 2D 24 93 20 13 C9 21 E6 0F 1A A9 60 00 25 AA + .byte $A4, $21, $74, $89, $E5, $40, $EB, $05, $9A, $9B, $74, $BD, $B3, $43, $8A, $A9 ; CPU:$FA1C PRG:3A1C A4 21 74 89 E5 40 EB 05 9A 9B 74 BD B3 43 8A A9 + .byte $55, $AB, $D5, $0A, $AA, $66, $17, $15, $51, $56, $AA, $55, $15, $54, $CC, $84 ; CPU:$FA2C PRG:3A2C 55 AB D5 0A AA 66 17 15 51 56 AA 55 15 54 CC 84 + .byte $2A, $A5, $5F, $FF, $D4, $2A, $A9, $98, $E8, $55, $46, $FF, $FF, $E4, $55, $53 ; CPU:$FA3C PRG:3A3C 2A A5 5F FF D4 2A A9 98 E8 55 46 FF FF E4 55 53 + .byte $34, $38, $AA, $92, $AA, $AA, $B0, $AA, $A1, $0F, $94, $42, $ED, $50, $B9, $83 ; CPU:$FA4C PRG:3A4C 34 38 AA 92 AA AA B0 AA A1 0F 94 42 ED 50 B9 83 + .byte $B6, $08, $47, $C9, $EE, $DB, $81, $DB, $6D, $07, $16, $A9, $AA, $AA, $AA, $6A ; CPU:$FA5C PRG:3A5C B6 08 47 C9 EE DB 81 DB 6D 07 16 A9 AA AA AA 6A + .byte $94, $CC, $1E, $29, $56, $55, $05, $51, $D5, $29, $99, $1C, $56, $94, $69, $16 ; CPU:$FA6C PRG:3A6C 94 CC 1E 29 56 55 05 51 D5 29 99 1C 56 94 69 16 + .byte $91, $69, $53, $32, $38, $B5, $49, $D4, $35, $63, $54, $A6, $64, $71, $5A, $55 ; CPU:$FA7C PRG:3A7C 91 69 53 32 38 B5 49 D4 35 63 54 A6 64 71 5A 55 + .byte $05, $50, $55, $A5, $4C, $C1, $E2, $D1, $2D, $12, $C5, $2C, $52, $99, $83, $C5 ; CPU:$FA8C PRG:3A8C 05 50 55 A5 4C C1 E2 D1 2D 12 C5 2C 52 99 83 C5 + .byte $61, $56, $15, $C9, $54, $95, $33, $07, $8B, $54, $15, $41, $54, $15, $4A, $66 ; CPU:$FA9C PRG:3A9C 61 56 15 C9 54 95 33 07 8B 54 15 41 54 15 4A 66 + .byte $47, $15, $A5, $1A, $45, $A4, $5A, $54, $CC, $8E, $2D, $52, $55, $0D, $50, $D5 ; CPU:$FAAC PRG:3AAC 47 15 A5 1A 45 A4 5A 54 CC 8E 2D 52 55 0D 50 D5 + .byte $29, $99, $1C, $56, $95, $41, $54, $15, $69, $53, $31, $F8, $AB, $2A, $83, $28 ; CPU:$FABC PRG:3ABC 29 99 1C 56 95 41 54 15 69 53 31 F8 AB 2A 83 28 + .byte $2A, $CA, $A1, $0B, $E8, $9B, $58, $60, $16, $9D, $0C, $29, $10, $E1, $29, $31 ; CPU:$FACC PRG:3ACC 2A CA A1 0B E8 9B 58 60 16 9D 0C 29 10 E1 29 31 + .byte $69, $CC, $22, $15, $08, $9A, $0D, $E4, $B4, $CA, $BD, $F5, $3B, $A4, $DB, $F1 ; CPU:$FADC PRG:3ADC 69 CC 22 15 08 9A 0D E4 B4 CA BD F5 3B A4 DB F1 + .byte $3B, $66, $50, $15, $55, $59, $55, $5E, $35, $55, $EC, $00, $07, $00, $20, $00 ; CPU:$FAEC PRG:3AEC 3B 66 50 15 55 59 55 5E 35 55 EC 00 07 00 20 00 + .byte $E0, $04, $C1, $24, $93, $C9, $24, $92, $4B, $40, $9A, $49, $09, $82, $49, $26 ; CPU:$FAFC PRG:3AFC E0 04 C1 24 93 C9 24 92 4B 40 9A 49 09 82 49 26 + .byte $F0, $DA, $69, $5F, $1A, $9D, $D0, $42, $E9, $30, $A8, $44, $46, $3B, $09, $84 ; CPU:$FB0C PRG:3B0C F0 DA 69 5F 1A 9D D0 42 E9 30 A8 44 46 3B 09 84 + .byte $50, $4E, $B0, $78, $E9, $5E, $FB, $DB, $92, $49, $24, $96, $81, $34, $92, $01 ; CPU:$FB1C PRG:3B1C 50 4E B0 78 E9 5E FB DB 92 49 24 96 81 34 92 01 + .byte $24, $90, $1D, $E8, $B4, $D2, $BE, $33, $4F, $BC, $E2, $F6, $EC, $92, $49, $24 ; CPU:$FB2C PRG:3B2C 24 90 1D E8 B4 D2 BE 33 4F BC E2 F6 EC 92 49 24 + .byte $A0, $4D, $B4, $80, $03, $24, $07, $58, $2E, $D3, $7F, $CD, $EC, $0B, $21, $30 ; CPU:$FB3C PRG:3B3C A0 4D B4 80 03 24 07 58 2E D3 7F CD EC 0B 21 30 + .byte $62, $31, $CC, $B8, $0D, $84, $E2, $B5, $D5, $55, $4D, $54, $D5, $5F, $00, $C7 ; CPU:$FB4C PRG:3B4C 62 31 CC B8 0D 84 E2 B5 D5 55 4D 54 D5 5F 00 C7 + .byte $3C, $00, $00, $01, $C0, $44, $60, $7F, $FE, $EC, $72, $0F, $00, $00, $1C, $04 ; CPU:$FB5C PRG:3B5C 3C 00 00 01 C0 44 60 7F FE EC 72 0F 00 00 1C 04 + .byte $91, $18, $1F, $F2, $47, $20, $03, $C0, $01, $C0, $40, $04, $46, $07, $E0, $0A ; CPU:$FB6C PRG:3B6C 91 18 1F F2 47 20 03 C0 01 C0 40 04 46 07 E0 0A + .byte $01, $00, $80, $1C, $04, $80, $09, $11, $81, $D9, $20, $12, $40, $49, $00, $01 ; CPU:$FB7C PRG:3B7C 01 00 80 1C 04 80 09 11 81 D9 20 12 40 49 00 01 + .byte $FF, $90, $04, $2F, $30, $78, $AC, $AC, $AE, $A8, $54, $AA, $A7, $60, $40, $49 ; CPU:$FB8C PRG:3B8C FF 90 04 2F 30 78 AC AC AE A8 54 AA A7 60 40 49 + .byte $00, $76, $03, $25, $90, $00, $00, $3E, $C0, $10, $10, $07, $60, $07, $FB, $00 ; CPU:$FB9C PRG:3B9C 00 76 03 25 90 00 00 3E C0 10 10 07 60 07 FB 00 + .byte $12, $48, $7D, $80, $04, $00, $76, $00, $69, $24, $C0, $24, $90, $F3, $10, $8A ; CPU:$FBAC PRG:3BAC 12 48 7D 80 04 00 76 00 69 24 C0 24 90 F3 10 8A + .byte $AD, $42, $A8, $AA, $2F, $FA, $66, $39, $15, $55, $55, $52, $58, $5B, $F4, $28 ; CPU:$FBBC PRG:3BBC AD 42 A8 AA 2F FA 66 39 15 55 55 52 58 5B F4 28 + .byte $33, $29, $4C, $2E, $70, $6E, $01, $5B, $22, $C1, $0A, $E4, $2E, $43, $0F, $A0 ; CPU:$FBCC PRG:3BCC 33 29 4C 2E 70 6E 01 5B 22 C1 0A E4 2E 43 0F A0 + .byte $20, $04, $27, $FF, $FF, $FF, $E6, $2C, $70, $04, $00, $1A, $AA, $EA, $EA, $9C ; CPU:$FBDC PRG:3BDC 20 04 27 FF FF FF E6 2C 70 04 00 1A AA EA EA 9C + .byte $1A, $20, $08, $00, $25, $FF, $55, $5F, $B8, $35, $C0, $1A, $A8, $48, $00, $30 ; CPU:$FBEC PRG:3BEC 1A 20 08 00 25 FF 55 5F B8 35 C0 1A A8 48 00 30 + .byte $C0, $79, $FD, $30, $38, $41, $84, $00, $49, $24, $92, $41, $F3, $FA, $48, $92 ; CPU:$FBFC PRG:3BFC C0 79 FD 30 38 41 84 00 49 24 92 41 F3 FA 48 92 + .byte $83, $08, $00, $80, $E3, $80, $83, $E4, $94, $91, $25, $06, $10, $E1, $06, $49 ; CPU:$FC0C PRG:3C0C 83 08 00 80 E3 80 83 E4 94 91 25 06 10 E1 06 49 + .byte $2D, $07, $C0, $E0, $70, $00, $0C, $25, $52, $0C, $00, $1A, $0F, $10, $D0, $00 ; CPU:$FC1C PRG:3C1C 2D 07 C0 E0 70 00 0C 25 52 0C 00 1A 0F 10 D0 00 + .byte $00, $B3, $AA, $B2, $AD, $B7, $03, $8E, $00, $40, $30, $89, $24, $92, $52, $48 ; CPU:$FC2C PRG:3C2C 00 B3 AA B2 AD B7 03 8E 00 40 30 89 24 92 52 48 + .byte $3E, $49, $24, $B0, $92, $44, $92, $80, $03, $81, $C0, $64, $86, $1F, $09, $85 ; CPU:$FC3C PRG:3C3C 3E 49 24 B0 92 44 92 80 03 81 C0 64 86 1F 09 85 + .byte $D6, $21, $62, $CE, $2C, $16, $CA, $63, $6E, $12, $E1, $7A, $7D, $DF, $46, $0C ; CPU:$FC4C PRG:3C4C D6 21 62 CE 2C 16 CA 63 6E 12 E1 7A 7D DF 46 0C + .byte $F0, $6A, $6A, $AA, $AA, $AA, $6A, $4C, $19, $E0, $88, $95, $18, $19, $48, $88 ; CPU:$FC5C PRG:3C5C F0 6A 6A AA AA AA 6A 4C 19 E0 88 95 18 19 48 88 + .byte $98, $17, $C1, $65, $62, $55, $56, $25, $65, $30, $67, $82, $22, $22, $35, $22 ; CPU:$FC6C PRG:3C6C 98 17 C1 65 62 55 56 25 65 30 67 82 22 22 35 22 + .byte $22, $22, $60, $CF, $06, $A6, $A4, $4C, $46, $A6, $A4, $DC, $34, $33, $33, $33 ; CPU:$FC7C PRG:3C7C 22 22 60 CF 06 A6 A4 4C 46 A6 A4 DC 34 33 33 33 + .byte $7F, $33, $33, $31, $8B, $E8, $01, $01, $9D, $FD, $D9, $01, $03, $16, $10, $33 ; CPU:$FC8C PRG:3C8C 7F 33 33 31 8B E8 01 01 9D FD D9 01 03 16 10 33 + .byte $33, $BB, $FB, $BB, $33, $26, $2C, $20, $42, $77, $77, $F7, $77, $60, $4C, $58 ; CPU:$FC9C PRG:3C9C 33 BB FB BB 33 26 2C 20 42 77 77 F7 77 60 4C 58 + .byte $40, $CE, $EE, $EF, $EE, $EE, $EC, $98, $B4, $01, $9D, $DD, $DF, $DD, $DD, $D9 ; CPU:$FCAC PRG:3CAC 40 CE EE EF EE EE EC 98 B4 01 9D DD DF DD DD D9 + .byte $0B, $0C, $2E, $13, $0F, $84, $C2, $C5, $C0, $2F, $1A, $CE, $F6, $5C, $1E, $C8 ; CPU:$FCBC PRG:3CBC 0B 0C 2E 13 0F 84 C2 C5 C0 2F 1A CE F6 5C 1E C8 + .byte $84, $C3, $A2, $19, $B8, $84, $3A, $12, $18, $E0, $C6, $BB, $FA, $AE, $AF, $AB ; CPU:$FCCC PRG:3CCC 84 C3 A2 19 B8 84 3A 12 18 E0 C6 BB FA AE AF AB + .byte $A4, $B1, $63, $80, $32, $B2, $CC, $B3, $2A, $01, $62, $1F, $15, $9A, $BA, $6E ; CPU:$FCDC PRG:3CDC A4 B1 63 80 32 B2 CC B3 2A 01 62 1F 15 9A BA 6E + .byte $99, $D9, $51, $C4, $3E, $2B, $35, $34, $CD, $33, $52, $A3, $8B, $1C, $01, $B9 ; CPU:$FCEC PRG:3CEC 99 D9 51 C4 3E 2B 35 34 CD 33 52 A3 8B 1C 01 B9 + .byte $AA, $6A, $5A, $90, $08, $ED, $82, $C3, $AA, $52, $EE, $E7, $C7, $12, $22, $28 ; CPU:$FCFC PRG:3CFC AA 6A 5A 90 08 ED 82 C3 AA 52 EE E7 C7 12 22 28 + .byte $8A, $22, $02, $22, $CC, $7E, $28, $24, $24, $90, $C4, $A4, $82, $B0, $AA, $94 ; CPU:$FD0C PRG:3D0C 8A 22 02 22 CC 7E 28 24 24 90 C4 A4 82 B0 AA 94 + .byte $A2, $B9, $8F, $C4, $49, $44, $11, $04, $54, $44, $4E, $D8, $3C, $08, $45, $C1 ; CPU:$FD1C PRG:3D1C A2 B9 8F C4 49 44 11 04 54 44 4E D8 3C 08 45 C1 + .byte $4E, $CB, $86, $21, $51, $48, $5C, $E2, $17, $24, $85, $87, $40, $30, $00, $00 ; CPU:$FD2C PRG:3D2C 4E CB 86 21 51 48 5C E2 17 24 85 87 40 30 00 00 + .byte $70, $79, $60, $30, $38, $00, $9F, $C1, $60, $00, $00, $60, $00, $8B, $09, $12 ; CPU:$FD3C PRG:3D3C 70 79 60 30 38 00 9F C1 60 00 00 60 00 8B 09 12 + .byte $4A, $39, $17, $05, $BF, $FF, $BF, $F2, $FF, $FE, $39, $E1, $00, $00, $01, $80 ; CPU:$FD4C PRG:3D4C 4A 39 17 05 BF FF BF F2 FF FE 39 E1 00 00 01 80 + .byte $3B, $49, $00, $00, $0C, $F4, $89, $00, $0F, $FB, $00, $06, $A4, $90, $0E, $1B ; CPU:$FD5C PRG:3D5C 3B 49 00 00 0C F4 89 00 0F FB 00 06 A4 90 0E 1B + .byte $E8, $00, $00, $00, $06, $00, $0D, $31, $C0, $04, $A7, $C9, $24, $90, $30, $0C ; CPU:$FD6C PRG:3D6C E8 00 00 00 06 00 0D 31 C0 04 A7 C9 24 90 30 0C + .byte $00, $1A, $60, $00, $00, $0F, $97, $24, $81, $A2, $4A, $24, $A4, $C0, $00, $00 ; CPU:$FD7C PRG:3D7C 00 1A 60 00 00 0F 97 24 81 A2 4A 24 A4 C0 00 00 + .byte $1F, $2F, $80, $0B, $00, $00, $00, $65, $80, $89, $24, $3E, $5A, $90, $92, $C0 ; CPU:$FD8C PRG:3D8C 1F 2F 80 0B 00 00 00 65 80 89 24 3E 5A 90 92 C0 + .byte $00, $00, $D3, $00, $8E, $10, $78, $B0, $86, $80, $C6, $AA, $99, $A8, $F3, $D4 ; CPU:$FD9C PRG:3D9C 00 00 D3 00 8E 10 78 B0 86 80 C6 AA 99 A8 F3 D4 + .byte $5F, $0F, $FF, $DD, $C4, $45, $1B, $58, $E4, $5C, $C5, $E2, $E6, $31, $63, $80 ; CPU:$FDAC PRG:3DAC 5F 0F FF DD C4 45 1B 58 E4 5C C5 E2 E6 31 63 80 + .byte $00, $20, $00, $D7, $55, $57, $12, $88, $7C, $42, $17, $30, $85, $8E, $2C, $71 ; CPU:$FDBC PRG:3DBC 00 20 00 D7 55 57 12 88 7C 42 17 30 85 8E 2C 71 + .byte $00, $06, $AE, $9A, $AA, $AA, $AC, $1F, $42, $04, $0F, $FF, $A0, $01, $00, $18 ; CPU:$FDCC PRG:3DCC 00 06 AE 9A AA AA AC 1F 42 04 0F FF A0 01 00 18 + .byte $B1, $C4, $00, $1A, $AA, $00, $10, $00, $6B, $47, $C2, $E9, $7B, $10, $88, $7C ; CPU:$FDDC PRG:3DDC B1 C4 00 1A AA 00 10 00 6B 47 C2 E9 7B 10 88 7C + .byte $C2, $17, $19, $85, $CE, $4B, $16, $38, $08, $01, $53, $57, $55, $75, $51, $18 ; CPU:$FDEC PRG:3DEC C2 17 19 85 CE 4B 16 38 08 01 53 57 55 75 51 18 + .byte $85, $CE, $21, $74, $18, $58, $91, $88, $5C, $F2, $17, $40, $85, $85, $63, $BA ; CPU:$FDFC PRG:3DFC 85 CE 21 74 18 58 91 88 5C F2 17 40 85 85 63 BA + .byte $7E, $86, $E6, $1C, $2E, $82, $51, $F2, $96, $32, $ED, $AF, $17, $93, $D1, $F3 ; CPU:$FE0C PRG:3E0C 7E 86 E6 1C 2E 82 51 F2 96 32 ED AF 17 93 D1 F3 + .byte $ED, $B9, $25, $92, $49, $24, $00, $00, $0D, $04, $D1, $27, $72, $4B, $1C, $00 ; CPU:$FE1C PRG:3E1C ED B9 25 92 49 24 00 00 0D 04 D1 27 72 4B 1C 00 + .byte $09, $25, $80, $1A, $09, $A2, $4E, $E4, $12, $51, $63, $80, $03, $1C, $34, $13 ; CPU:$FE2C PRG:3E2C 09 25 80 1A 09 A2 4E E4 12 51 63 80 03 1C 34 13 + .byte $43, $8D, $C8, $1C, $02, $51, $60, $06, $49, $48, $26, $89, $3B, $92, $49, $00 ; CPU:$FE3C PRG:3E3C 43 8D C8 1C 02 51 60 06 49 48 26 89 3B 92 49 00 + .byte $02, $4A, $2C, $00, $10, $4D, $12, $77, $23, $82, $99, $00, $00, $4A, $25, $A0 ; CPU:$FE4C PRG:3E4C 02 4A 2C 00 10 4D 12 77 23 82 99 00 00 4A 25 A0 + .byte $9A, $FC, $6E, $49, $00, $32, $52, $20, $70, $13, $41, $34, $49, $DC, $82, $89 ; CPU:$FE5C PRG:3E5C 9A FC 6E 49 00 32 52 20 70 13 41 34 49 DC 82 89 + .byte $60, $00, $49, $48, $A6, $82, $68, $93, $B9, $00, $12, $51, $2C, $0E, $00, $4D ; CPU:$FE6C PRG:3E6C 60 00 49 48 A6 82 68 93 B9 00 12 51 2C 0E 00 4D + .byte $04, $D0, $27, $72, $19, $20, $0E, $49, $48, $B2, $9A, $09, $A0, $0E, $E4, $32 ; CPU:$FE7C PRG:3E7C 04 D0 27 72 19 20 0E 49 48 B2 9A 09 A0 0E E4 32 + .byte $00, $00, $00, $00, $63, $B4, $03, $00, $7D, $8F, $68, $63, $00, $C0, $0C, $3C ; CPU:$FE8C PRG:3E8C 00 00 00 00 63 B4 03 00 7D 8F 68 63 00 C0 0C 3C + .byte $30, $01, $30, $46, $31, $D9, $72, $84, $22, $99, $0E, $9C, $43, $E6, $10, $F0 ; CPU:$FE9C PRG:3E9C 30 01 30 46 31 D9 72 84 22 99 0E 9C 43 E6 10 F0 + .byte $21, $74, $88, $74, $22, $1F, $10, $9C, $C2, $C4, $85, $D2, $24, $30, $B9, $C4 ; CPU:$FEAC PRG:3EAC 21 74 88 74 22 1F 10 9C C2 C4 85 D2 24 30 B9 C4 + .byte $2C, $33, $23, $8A, $AA, $55, $71, $0A, $AA, $AA, $66, $17, $15, $54, $52, $A9 ; CPU:$FEBC PRG:3EBC 2C 33 23 8A AA 55 71 0A AA AA 66 17 15 54 52 A9 + .byte $2A, $AA, $A8, $EC, $00, $3B, $20, $3E, $00, $0D, $00, $07, $00, $27, $98, $28 ; CPU:$FECC PRG:3ECC 2A AA A8 EC 00 3B 20 3E 00 0D 00 07 00 27 98 28 + .byte $55, $25, $6A, $84, $CF, $FF, $33, $B0, $3B, $20, $00, $00, $EF, $B4, $D0, $1C ; CPU:$FEDC PRG:3EDC 55 25 6A 84 CF FF 33 B0 3B 20 00 00 EF B4 D0 1C + .byte $06, $9E, $60, $A1, $49, $55, $3F, $D3, $3F, $FF, $CE, $C3, $20, $00, $03, $1C ; CPU:$FEEC PRG:3EEC 06 9E 60 A1 49 55 3F D3 3F FF CE C3 20 00 03 1C + .byte $00, $D3, $00, $70, $00, $64, $4E, $13, $38, $90, $C2, $E1, $10, $B2, $AC, $16 ; CPU:$FEFC PRG:3EFC 00 D3 00 70 00 64 4E 13 38 90 C2 E1 10 B2 AC 16 + .byte $1B, $80, $16, $F2, $B1, $96, $60, $99, $73, $16, $17, $17, $CC, $C6, $E5, $3E ; CPU:$FF0C PRG:3F0C 1B 80 16 F2 B1 96 60 99 73 16 17 17 CC C6 E5 3E + .byte $FF, $A6, $81, $91, $51, $15, $19, $15, $46, $FF, $FC, $23, $E2, $20, $22, $10 ; CPU:$FF1C PRG:3F1C FF A6 81 91 51 15 19 15 46 FF FC 23 E2 20 22 10 + .byte $20, $84, $18, $18, $46, $81, $00, $10, $20, $14, $0B, $FF, $B8, $E0, $0E, $07 ; CPU:$FF2C PRG:3F2C 20 84 18 18 46 81 00 10 20 14 0B FF B8 E0 0E 07 + .byte $00, $30, $04, $00, $06, $87, $09, $F4, $92, $49, $24, $92, $49, $C0, $38, $8D ; CPU:$FF3C PRG:3F3C 00 30 04 00 06 87 09 F4 92 49 24 92 49 C0 38 8D + .byte $35, $D3, $2F, $10, $A8, $44, $66, $11, $0B, $85, $42, $D2, $F7, $53, $FE, $37 ; CPU:$FF4C PRG:3F4C 35 D3 2F 10 A8 44 66 11 0B 85 42 D2 F7 53 FE 37 + .byte $51, $0B, $A8, $C2, $E2, $31, $29, $4C, $2C, $33, $23, $8A, $B4, $AA, $2D, $55 ; CPU:$FF5C PRG:3F5C 51 0B A8 C2 E2 31 29 4C 2C 33 23 8A B4 AA 2D 55 + .byte $45, $55, $76, $01, $3F, $92, $43, $20, $00, $24, $EC, $12, $48, $CC, $72, $33 ; CPU:$FF6C PRG:3F6C 45 55 76 01 3F 92 43 20 00 24 EC 12 48 CC 72 33 + .byte $7C, $C9, $EA, $6B, $9F, $5E, $0B, $28, $34, $39, $A0, $C8, $B8, $1C, $51, $0E ; CPU:$FF7C PRG:3F7C 7C C9 EA 6B 9F 5E 0B 28 34 39 A0 C8 B8 1C 51 0E + .byte $8C, $43, $21, $D9, $04, $21, $72, $08, $5E, $22, $17, $0A, $7E, $C7, $01, $92 ; CPU:$FF8C PRG:3F8C 8C 43 21 D9 04 21 72 08 5E 22 17 0A 7E C7 01 92 + .byte $48, $1C, $0E, $19, $24, $D6, $C9, $39, $91, $45, $A2, $A5, $55, $55, $AA, $81 ; CPU:$FF9C PRG:3F9C 48 1C 0E 19 24 D6 C9 39 91 45 A2 A5 55 55 AA 81 + .byte $EB, $05, $96, $F3, $7A, $DD, $88, $5C, $A2, $17, $9C, $3A, $C1, $66, $F4, $FC ; CPU:$FFAC PRG:3FAC EB 05 96 F3 7A DD 88 5C A2 17 9C 3A C1 66 F4 FC + .byte $FF, $57, $B1, $0B, $8E, $44, $25, $30, $BA, $94, $46, $1A, $37, $92, $D7, $75 ; CPU:$FFBC PRG:3FBC FF 57 B1 0B 8E 44 25 30 BA 94 46 1A 37 92 D7 75 + .byte $CB, $65, $F3, $0E, $49, $24, $92, $58, $60, $0E, $00, $01, $C0, $07, $05, $02 ; CPU:$FFCC PRG:3FCC CB 65 F3 0E 49 24 92 58 60 0E 00 01 C0 07 05 02 + .byte $53, $0B, $8D, $42, $E4, $30, $88, $4C, $3C, $48, $7D, $82, $17, $18, $85, $CA ; CPU:$FFDC PRG:3FDC 53 0B 8D 42 E4 30 88 4C 3C 48 7D 82 17 18 85 CA + .byte $04, $B4, $C2, $E3, $10, $B1, $74, $13, $CE, $34, $95, $80, $FF ; CPU:$FFEC PRG:3FEC 04 B4 C2 E3 10 B1 74 13 CE 34 95 80 FF +; ----------------------------------------------------------------------------- +; Routine: IrqHandler +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +IrqHandler: + rti ; CPU:$FFF9 PRG:3FF9 40 +; ---- data $FFFA-$FFFF (6 bytes) ---- + .byte $2C, $C0, $00, $C0, $F9, $FF ; CPU:$FFFA PRG:3FFA 2C C0 00 C0 F9 FF diff --git a/_wip/Lode Runner (U)/copilot/prg.s b/Lode Runner (U)/copilot/prg.s.backup similarity index 100% rename from _wip/Lode Runner (U)/copilot/prg.s rename to Lode Runner (U)/copilot/prg.s.backup diff --git a/Lode Runner (U)/copilot/prg.s.step1 b/Lode Runner (U)/copilot/prg.s.step1 new file mode 100644 index 0000000..c7466e5 --- /dev/null +++ b/Lode Runner (U)/copilot/prg.s.step1 @@ -0,0 +1,11057 @@ +; Lode Runner (U) NES disassembly - Pass 1 +; Byte-oriented ca65 source generated from the supplied PRG image. +; Recursively reachable instructions are emitted explicitly with address/byte comments. +; Unreached bytes remain explicit .byte blocks; no ROM byte is deleted or reformatted. +; Pass 2 replaces address-derived labels, RAM aliases, and table names while +; preserving byte identity. +; +; Vectors: NMI=$C02C RESET=$C000 IRQ=$FFF9 +; PRG mapped at $C000-$FFFF (NROM, mirrored to the upper half) +; +; Pass 1 trace provenance (the audit trail behind every classification below): +; +.setcpu "6502" + +.include "symbols.inc" +.include "locals.inc" + +.segment "PRG" + +; ----------------------------------------------------------------------------- +; Routine: Reset +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Reset: + sei ; CPU:$C000 PRG:0000 78 + cld ; CPU:$C001 PRG:0001 D8 + ldx #$FF ; CPU:$C002 PRG:0002 A2 FF + bne Label_C00A ; CPU:$C004 PRG:0004 D0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_C006 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C006: + sta $2007 ; CPU:$C006 PRG:0006 8D 07 20 + rts ; CPU:$C009 PRG:0009 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C00A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C00A: + txs ; CPU:$C00A PRG:000A 9A + jmp Label_CC012 ; CPU:$C00B PRG:000B 4C 12 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_C00E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C00E: + lda $2007 ; CPU:$C00E PRG:000E AD 07 20 + rts ; CPU:$C011 PRG:0011 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C012 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C012: + ldy #$00 ; CPU:$C012 PRG:0012 A0 00 + sty Zp00 ; CPU:$C014 PRG:0014 84 00 + sty Zp01 ; CPU:$C016 PRG:0016 84 01 + tya ; CPU:$C018 PRG:0018 98 + ldx #$08 ; CPU:$C019 PRG:0019 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Label_C01B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C01B: + sta (Zp00),y ; CPU:$C01B PRG:001B 91 00 + iny ; CPU:$C01D PRG:001D C8 + bne Label_C01B ; CPU:$C01E PRG:001E D0 FB + inc Zp01 ; CPU:$C020 PRG:0020 E6 01 + dex ; CPU:$C022 PRG:0022 CA + bne Label_C01B ; CPU:$C023 PRG:0023 D0 F6 + lda #$23 ; CPU:$C025 PRG:0025 A9 23 + sta ZpE5 ; CPU:$C027 PRG:0027 85 E5 + jmp Label_CC3A6 ; CPU:$C029 PRG:0029 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: NmiHandler +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +NmiHandler: + pha ; CPU:$C02C PRG:002C 48 + txa ; CPU:$C02D PRG:002D 8A + pha ; CPU:$C02E PRG:002E 48 + tya ; CPU:$C02F PRG:002F 98 + pha ; CPU:$C030 PRG:0030 48 + jsr Label_CC27C ; CPU:$C031 PRG:0031 20 7C C2 + lda Zp10 ; CPU:$C034 PRG:0034 A5 10 + beq Label_C050 ; CPU:$C036 PRG:0036 F0 18 + lda #$00 ; CPU:$C038 PRG:0038 A9 00 + sta Zp10 ; CPU:$C03A PRG:003A 85 10 + lda Zp11 ; CPU:$C03C PRG:003C A5 11 + tax ; CPU:$C03E PRG:003E AA + beq Label_C043 ; CPU:$C03F PRG:003F F0 02 + bne Label_C050 ; CPU:$C041 PRG:0041 D0 0D +; ----------------------------------------------------------------------------- +; Routine: Label_C043 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C043: + jsr Label_CC18E ; CPU:$C043 PRG:0043 20 8E C1 + lda #$20 ; CPU:$C046 PRG:0046 A9 20 + ldx #$00 ; CPU:$C048 PRG:0048 A2 00 + jsr Label_CC178 ; CPU:$C04A PRG:004A 20 78 C1 + jmp Label_CC0A4 ; CPU:$C04D PRG:004D 4C A4 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_C050 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C050: + lda #$3F ; CPU:$C050 PRG:0050 A9 3F + ldx #$08 ; CPU:$C052 PRG:0052 A2 08 + jsr Label_CC178 ; CPU:$C054 PRG:0054 20 78 C1 + inc Zp9E ; CPU:$C057 PRG:0057 E6 9E + lda Zp9E ; CPU:$C059 PRG:0059 A5 9E + and #$1F ; CPU:$C05B PRG:005B 29 1F + bne Label_C07B ; CPU:$C05D PRG:005D D0 1C + inc Zp9F ; CPU:$C05F PRG:005F E6 9F + lda Zp9F ; CPU:$C061 PRG:0061 A5 9F + and #$03 ; CPU:$C063 PRG:0063 29 03 + tax ; CPU:$C065 PRG:0065 AA + lda #$0F ; CPU:$C066 PRG:0066 A9 0F + jsr Label_CC006 ; CPU:$C068 PRG:0068 20 06 C0 + lda $C39E,x ; CPU:$C06B PRG:006B BD 9E C3 + jsr Label_CC006 ; CPU:$C06E PRG:006E 20 06 C0 + lda #$00 ; CPU:$C071 PRG:0071 A9 00 + jsr Label_CC006 ; CPU:$C073 PRG:0073 20 06 C0 + lda #$30 ; CPU:$C076 PRG:0076 A9 30 + jsr Label_CC006 ; CPU:$C078 PRG:0078 20 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_C07B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C07B: + lda Zp9E ; CPU:$C07B PRG:007B A5 9E + and #$07 ; CPU:$C07D PRG:007D 29 07 + bne Label_C0A4 ; CPU:$C07F PRG:007F D0 23 + lda #$3F ; CPU:$C081 PRG:0081 A9 3F + ldx #$0C ; CPU:$C083 PRG:0083 A2 0C + jsr Label_CC178 ; CPU:$C085 PRG:0085 20 78 C1 + inc Zp72 ; CPU:$C088 PRG:0088 E6 72 + lda Zp72 ; CPU:$C08A PRG:008A A5 72 + and #$03 ; CPU:$C08C PRG:008C 29 03 + tax ; CPU:$C08E PRG:008E AA + lda #$0F ; CPU:$C08F PRG:008F A9 0F + jsr Label_CC006 ; CPU:$C091 PRG:0091 20 06 C0 + lda #$38 ; CPU:$C094 PRG:0094 A9 38 + jsr Label_CC006 ; CPU:$C096 PRG:0096 20 06 C0 + lda #$28 ; CPU:$C099 PRG:0099 A9 28 + jsr Label_CC006 ; CPU:$C09B PRG:009B 20 06 C0 + lda $C3A2,x ; CPU:$C09E PRG:009E BD A2 C3 + jsr Label_CC006 ; CPU:$C0A1 PRG:00A1 20 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_C0A4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C0A4: + lda Zp03 ; CPU:$C0A4 PRG:00A4 A5 03 + sta $2001 ; CPU:$C0A6 PRG:00A6 8D 01 20 + jsr Label_CC1E1 ; CPU:$C0A9 PRG:00A9 20 E1 C1 + lda ZpDB ; CPU:$C0AC PRG:00AC A5 DB + beq Label_C0D1 ; CPU:$C0AE PRG:00AE F0 21 + lda Zp06 ; CPU:$C0B0 PRG:00B0 A5 06 + and #$10 ; CPU:$C0B2 PRG:00B2 29 10 + beq Label_C0D1 ; CPU:$C0B4 PRG:00B4 F0 1B + jsr Label_CC2C6 ; CPU:$C0B6 PRG:00B6 20 C6 C2 + jsr Label_CDE9F ; CPU:$C0B9 PRG:00B9 20 9F DE + jsr Label_CC1D7 ; CPU:$C0BC PRG:00BC 20 D7 C1 +; ----------------------------------------------------------------------------- +; Routine: Label_C0BF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C0BF: + jsr Label_CC1E1 ; CPU:$C0BF PRG:00BF 20 E1 C1 + lda Zp06 ; CPU:$C0C2 PRG:00C2 A5 06 + and #$10 ; CPU:$C0C4 PRG:00C4 29 10 + beq Label_C0BF ; CPU:$C0C6 PRG:00C6 F0 F7 + jsr Label_CDE9F ; CPU:$C0C8 PRG:00C8 20 9F DE + jsr Label_CC1D7 ; CPU:$C0CB PRG:00CB 20 D7 C1 + jsr Label_CC2B3 ; CPU:$C0CE PRG:00CE 20 B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_C0D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C0D1: + lda ZpB7 ; CPU:$C0D1 PRG:00D1 A5 B7 + beq Label_C127 ; CPU:$C0D3 PRG:00D3 F0 52 + jsr Label_CE271 ; CPU:$C0D5 PRG:00D5 20 71 E2 + inc ZpB9 ; CPU:$C0D8 PRG:00D8 E6 B9 + lda ZpB9 ; CPU:$C0DA PRG:00DA A5 B9 + cmp ZpB8 ; CPU:$C0DC PRG:00DC C5 B8 + bcc Label_C127 ; CPU:$C0DE PRG:00DE 90 47 + lda #$00 ; CPU:$C0E0 PRG:00E0 A9 00 + sta ZpB9 ; CPU:$C0E2 PRG:00E2 85 B9 +; ----------------------------------------------------------------------------- +; Routine: Label_C0E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C0E4: + lda ZpBE ; CPU:$C0E4 PRG:00E4 A5 BE + asl a ; CPU:$C0E6 PRG:00E6 0A + tay ; CPU:$C0E7 PRG:00E7 A8 + lda (ZpBA),y ; CPU:$C0E8 PRG:00E8 B1 BA + sta ZpBC ; CPU:$C0EA PRG:00EA 85 BC + iny ; CPU:$C0EC PRG:00EC C8 + lda (ZpBA),y ; CPU:$C0ED PRG:00ED B1 BA + sta ZpBD ; CPU:$C0EF PRG:00EF 85 BD + beq Label_C123 ; CPU:$C0F1 PRG:00F1 F0 30 + cmp #$01 ; CPU:$C0F3 PRG:00F3 C9 01 + beq Label_C119 ; CPU:$C0F5 PRG:00F5 F0 22 + lda ZpBF ; CPU:$C0F7 PRG:00F7 A5 BF + asl a ; CPU:$C0F9 PRG:00F9 0A + clc ; CPU:$C0FA PRG:00FA 18 + adc ZpBF ; CPU:$C0FB PRG:00FB 65 BF + tay ; CPU:$C0FD PRG:00FD A8 + ldx #$00 ; CPU:$C0FE PRG:00FE A2 00 + stx ZpC0 ; CPU:$C100 PRG:0100 86 C0 + jsr Label_CC12D ; CPU:$C102 PRG:0102 20 2D C1 + jsr Label_CC12D ; CPU:$C105 PRG:0105 20 2D C1 + jsr Label_CC12D ; CPU:$C108 PRG:0108 20 2D C1 + inc ZpBF ; CPU:$C10B PRG:010B E6 BF + lda (ZpBC),y ; CPU:$C10D PRG:010D B1 BC + bne Label_C127 ; CPU:$C10F PRG:010F D0 16 + lda #$00 ; CPU:$C111 PRG:0111 A9 00 + sta ZpBF ; CPU:$C113 PRG:0113 85 BF + inc ZpBE ; CPU:$C115 PRG:0115 E6 BE + bne Label_C127 ; CPU:$C117 PRG:0117 D0 0E +; ----------------------------------------------------------------------------- +; Routine: Label_C119 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C119: + lda ZpBC ; CPU:$C119 PRG:0119 A5 BC + sta ZpB8 ; CPU:$C11B PRG:011B 85 B8 + lda #$00 ; CPU:$C11D PRG:011D A9 00 + sta ZpBE ; CPU:$C11F PRG:011F 85 BE + beq Label_C0E4 ; CPU:$C121 PRG:0121 F0 C1 +; ----------------------------------------------------------------------------- +; Routine: Label_C123 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C123: + lda #$00 ; CPU:$C123 PRG:0123 A9 00 + sta ZpB7 ; CPU:$C125 PRG:0125 85 B7 +; ----------------------------------------------------------------------------- +; Routine: Label_C127 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C127: + pla ; CPU:$C127 PRG:0127 68 + tay ; CPU:$C128 PRG:0128 A8 + pla ; CPU:$C129 PRG:0129 68 + tax ; CPU:$C12A PRG:012A AA + pla ; CPU:$C12B PRG:012B 68 + rti ; CPU:$C12C PRG:012C 40 +; ----------------------------------------------------------------------------- +; Routine: Label_C12D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C12D: + lda (ZpBC),y ; CPU:$C12D PRG:012D B1 BC + and #$F0 ; CPU:$C12F PRG:012F 29 F0 + cmp #$80 ; CPU:$C131 PRG:0131 C9 80 + beq Label_C16E ; CPU:$C133 PRG:0133 F0 39 + cpx #$08 ; CPU:$C135 PRG:0135 E0 08 + beq Label_C143 ; CPU:$C137 PRG:0137 F0 0A + lda #$8A ; CPU:$C139 PRG:0139 A9 8A + sta $4000,x ; CPU:$C13B PRG:013B 9D 00 40 + lda #$00 ; CPU:$C13E PRG:013E A9 00 + sta $4001,x ; CPU:$C140 PRG:0140 9D 01 40 +; ----------------------------------------------------------------------------- +; Routine: Label_C143 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C143: + lda (ZpBC),y ; CPU:$C143 PRG:0143 B1 BC + sta ZpCC ; CPU:$C145 PRG:0145 85 CC + rol a ; CPU:$C147 PRG:0147 2A + rol a ; CPU:$C148 PRG:0148 2A + rol a ; CPU:$C149 PRG:0149 2A + rol a ; CPU:$C14A PRG:014A 2A + rol a ; CPU:$C14B PRG:014B 2A + and #$0F ; CPU:$C14C PRG:014C 29 0F + tax ; CPU:$C14E PRG:014E AA + tya ; CPU:$C14F PRG:014F 98 + pha ; CPU:$C150 PRG:0150 48 + lda ZpCC ; CPU:$C151 PRG:0151 A5 CC + and #$0F ; CPU:$C153 PRG:0153 29 0F + asl a ; CPU:$C155 PRG:0155 0A + clc ; CPU:$C156 PRG:0156 18 + adc $C378,x ; CPU:$C157 PRG:0157 7D 78 C3 + tay ; CPU:$C15A PRG:015A A8 + ldx ZpC0 ; CPU:$C15B PRG:015B A6 C0 + lda $C2F0,y ; CPU:$C15D PRG:015D B9 F0 C2 + sta $4002,x ; CPU:$C160 PRG:0160 9D 02 40 + iny ; CPU:$C163 PRG:0163 C8 + lda $C2F0,y ; CPU:$C164 PRG:0164 B9 F0 C2 + ora #$A0 ; CPU:$C167 PRG:0167 09 A0 + sta $4003,x ; CPU:$C169 PRG:0169 9D 03 40 + pla ; CPU:$C16C PRG:016C 68 + tay ; CPU:$C16D PRG:016D A8 +; ----------------------------------------------------------------------------- +; Routine: Label_C16E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C16E: + iny ; CPU:$C16E PRG:016E C8 + lda #$04 ; CPU:$C16F PRG:016F A9 04 + clc ; CPU:$C171 PRG:0171 18 + adc ZpC0 ; CPU:$C172 PRG:0172 65 C0 + sta ZpC0 ; CPU:$C174 PRG:0174 85 C0 + tax ; CPU:$C176 PRG:0176 AA + rts ; CPU:$C177 PRG:0177 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C178 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C178: + sta $2006 ; CPU:$C178 PRG:0178 8D 06 20 + stx $2006 ; CPU:$C17B PRG:017B 8E 06 20 + lda Zp04 ; CPU:$C17E PRG:017E A5 04 + sta $2005 ; CPU:$C180 PRG:0180 8D 05 20 + lda Zp05 ; CPU:$C183 PRG:0183 A5 05 + sta $2005 ; CPU:$C185 PRG:0185 8D 05 20 + lda Zp02 ; CPU:$C188 PRG:0188 A5 02 + sta $2000 ; CPU:$C18A PRG:018A 8D 00 20 + rts ; CPU:$C18D PRG:018D 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C18E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C18E: + lda Zp0A ; CPU:$C18E PRG:018E A5 0A + clc ; CPU:$C190 PRG:0190 18 + adc Zp08 ; CPU:$C191 PRG:0191 65 08 + ldx Zp09 ; CPU:$C193 PRG:0193 A6 09 + jsr Label_CC178 ; CPU:$C195 PRG:0195 20 78 C1 + lda Zp0B ; CPU:$C198 PRG:0198 A5 0B + jsr Label_CC006 ; CPU:$C19A PRG:019A 20 06 C0 + adc #$02 ; CPU:$C19D PRG:019D 69 02 + jsr Label_CC006 ; CPU:$C19F PRG:019F 20 06 C0 + lda Zp09 ; CPU:$C1A2 PRG:01A2 A5 09 + adc #$20 ; CPU:$C1A4 PRG:01A4 69 20 + tax ; CPU:$C1A6 PRG:01A6 AA + lda Zp08 ; CPU:$C1A7 PRG:01A7 A5 08 + adc Zp0A ; CPU:$C1A9 PRG:01A9 65 0A + jsr Label_CC178 ; CPU:$C1AB PRG:01AB 20 78 C1 + lda Zp0B ; CPU:$C1AE PRG:01AE A5 0B + adc #$01 ; CPU:$C1B0 PRG:01B0 69 01 + jsr Label_CC006 ; CPU:$C1B2 PRG:01B2 20 06 C0 + adc #$02 ; CPU:$C1B5 PRG:01B5 69 02 + jsr Label_CC006 ; CPU:$C1B7 PRG:01B7 20 06 C0 + lda Zp0D ; CPU:$C1BA PRG:01BA A5 0D + adc Zp08 ; CPU:$C1BC PRG:01BC 65 08 + ldx Zp0C ; CPU:$C1BE PRG:01BE A6 0C + pha ; CPU:$C1C0 PRG:01C0 48 + jsr Label_CC178 ; CPU:$C1C1 PRG:01C1 20 78 C1 + jsr Label_CC00E ; CPU:$C1C4 PRG:01C4 20 0E C0 + jsr Label_CC00E ; CPU:$C1C7 PRG:01C7 20 0E C0 + and Zp0E ; CPU:$C1CA PRG:01CA 25 0E + ora Zp0F ; CPU:$C1CC PRG:01CC 05 0F + tay ; CPU:$C1CE PRG:01CE A8 + pla ; CPU:$C1CF PRG:01CF 68 + jsr Label_CC178 ; CPU:$C1D0 PRG:01D0 20 78 C1 + tya ; CPU:$C1D3 PRG:01D3 98 + jmp Label_CC006 ; CPU:$C1D4 PRG:01D4 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_C1D7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C1D7: + jsr Label_CC1E1 ; CPU:$C1D7 PRG:01D7 20 E1 C1 + lda Zp06 ; CPU:$C1DA PRG:01DA A5 06 + and #$10 ; CPU:$C1DC PRG:01DC 29 10 + bne Label_C1D7 ; CPU:$C1DE PRG:01DE D0 F7 + rts ; CPU:$C1E0 PRG:01E0 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C1E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C1E1: + lda #$01 ; CPU:$C1E1 PRG:01E1 A9 01 + sta $4016 ; CPU:$C1E3 PRG:01E3 8D 16 40 + lda #$00 ; CPU:$C1E6 PRG:01E6 A9 00 + sta $4016 ; CPU:$C1E8 PRG:01E8 8D 16 40 + tax ; CPU:$C1EB PRG:01EB AA + ldy #$08 ; CPU:$C1EC PRG:01EC A0 08 +; ----------------------------------------------------------------------------- +; Routine: Label_C1EE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C1EE: + txa ; CPU:$C1EE PRG:01EE 8A + asl a ; CPU:$C1EF PRG:01EF 0A + tax ; CPU:$C1F0 PRG:01F0 AA + lda $4016 ; CPU:$C1F1 PRG:01F1 AD 16 40 + jsr Label_CC20D ; CPU:$C1F4 PRG:01F4 20 0D C2 + bne Label_C1EE ; CPU:$C1F7 PRG:01F7 D0 F5 + stx Zp06 ; CPU:$C1F9 PRG:01F9 86 06 + ldx #$00 ; CPU:$C1FB PRG:01FB A2 00 + ldy #$08 ; CPU:$C1FD PRG:01FD A0 08 +; ----------------------------------------------------------------------------- +; Routine: Label_C1FF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C1FF: + txa ; CPU:$C1FF PRG:01FF 8A + asl a ; CPU:$C200 PRG:0200 0A + tax ; CPU:$C201 PRG:0201 AA + lda $4017 ; CPU:$C202 PRG:0202 AD 17 40 + jsr Label_CC20D ; CPU:$C205 PRG:0205 20 0D C2 + bne Label_C1FF ; CPU:$C208 PRG:0208 D0 F5 + stx Zp07 ; CPU:$C20A PRG:020A 86 07 + rts ; CPU:$C20C PRG:020C 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C20D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C20D: + and #$01 ; CPU:$C20D PRG:020D 29 01 + beq Label_C212 ; CPU:$C20F PRG:020F F0 01 + inx ; CPU:$C211 PRG:0211 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_C212 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C212: + dey ; CPU:$C212 PRG:0212 88 + rts ; CPU:$C213 PRG:0213 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C214 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C214: + lda #$10 ; CPU:$C214 PRG:0214 A9 10 + sta Zp02 ; CPU:$C216 PRG:0216 85 02 + sta $2000 ; CPU:$C218 PRG:0218 8D 00 20 + lda #$00 ; CPU:$C21B PRG:021B A9 00 + sta ZpCA ; CPU:$C21D PRG:021D 85 CA + sta ZpC9 ; CPU:$C21F PRG:021F 85 C9 + sta ZpCD ; CPU:$C221 PRG:0221 85 CD + sta Zp06 ; CPU:$C223 PRG:0223 85 06 + sta ZpB7 ; CPU:$C225 PRG:0225 85 B7 + sta Zp04 ; CPU:$C227 PRG:0227 85 04 + sta Zp05 ; CPU:$C229 PRG:0229 85 05 + sta Zp10 ; CPU:$C22B PRG:022B 85 10 + sta Zp11 ; CPU:$C22D PRG:022D 85 11 + sta Zp08 ; CPU:$C22F PRG:022F 85 08 + sta ZpB9 ; CPU:$C231 PRG:0231 85 B9 + lda #$0A ; CPU:$C233 PRG:0233 A9 0A + sta ZpB8 ; CPU:$C235 PRG:0235 85 B8 + jsr Label_CC298 ; CPU:$C237 PRG:0237 20 98 C2 + jsr Label_CC287 ; CPU:$C23A PRG:023A 20 87 C2 + jsr Label_CC2DC ; CPU:$C23D PRG:023D 20 DC C2 + lda #$20 ; CPU:$C240 PRG:0240 A9 20 + ldx #$00 ; CPU:$C242 PRG:0242 A2 00 + jsr Label_CC178 ; CPU:$C244 PRG:0244 20 78 C1 + ldy #$08 ; CPU:$C247 PRG:0247 A0 08 + ldx #$00 ; CPU:$C249 PRG:0249 A2 00 + lda #$20 ; CPU:$C24B PRG:024B A9 20 +; ----------------------------------------------------------------------------- +; Routine: Label_C24D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C24D: + jsr Label_CC006 ; CPU:$C24D PRG:024D 20 06 C0 + dex ; CPU:$C250 PRG:0250 CA + bne Label_C24D ; CPU:$C251 PRG:0251 D0 FA + dey ; CPU:$C253 PRG:0253 88 + bne Label_C24D ; CPU:$C254 PRG:0254 D0 F7 + lda #$23 ; CPU:$C256 PRG:0256 A9 23 + ldx #$C0 ; CPU:$C258 PRG:0258 A2 C0 + jsr Label_CC178 ; CPU:$C25A PRG:025A 20 78 C1 + lda #$00 ; CPU:$C25D PRG:025D A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C25F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C25F: + jsr Label_CC006 ; CPU:$C25F PRG:025F 20 06 C0 + inx ; CPU:$C262 PRG:0262 E8 + bne Label_C25F ; CPU:$C263 PRG:0263 D0 FA + lda #$27 ; CPU:$C265 PRG:0265 A9 27 + ldx #$C0 ; CPU:$C267 PRG:0267 A2 C0 + jsr Label_CC178 ; CPU:$C269 PRG:0269 20 78 C1 + lda #$00 ; CPU:$C26C PRG:026C A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C26E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C26E: + jsr Label_CC006 ; CPU:$C26E PRG:026E 20 06 C0 + inx ; CPU:$C271 PRG:0271 E8 + bne Label_C26E ; CPU:$C272 PRG:0272 D0 FA +; ----------------------------------------------------------------------------- +; Routine: Label_C274 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C274: + jsr Label_CC2A8 ; CPU:$C274 PRG:0274 20 A8 C2 + lda #$08 ; CPU:$C277 PRG:0277 A9 08 + jsr Label_CC28C ; CPU:$C279 PRG:0279 20 8C C2 +; ----------------------------------------------------------------------------- +; Routine: Label_C27C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C27C: + lda #$00 ; CPU:$C27C PRG:027C A9 00 + sta $2003 ; CPU:$C27E PRG:027E 8D 03 20 + lda #$07 ; CPU:$C281 PRG:0281 A9 07 + sta $4014 ; CPU:$C283 PRG:0283 8D 14 40 + rts ; CPU:$C286 PRG:0286 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C287 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C287: + jsr Label_CC2A8 ; CPU:$C287 PRG:0287 20 A8 C2 + lda #$00 ; CPU:$C28A PRG:028A A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C28C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C28C: + sta $2001 ; CPU:$C28C PRG:028C 8D 01 20 +; ----------------------------------------------------------------------------- +; Routine: Label_C28F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C28F: + sta Zp03 ; CPU:$C28F PRG:028F 85 03 + rts ; CPU:$C291 PRG:0291 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C292 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C292: + lda Zp03 ; CPU:$C292 PRG:0292 A5 03 + ora #$10 ; CPU:$C294 PRG:0294 09 10 + bne Label_C28F ; CPU:$C296 PRG:0296 D0 F7 +; ----------------------------------------------------------------------------- +; Routine: Label_C298 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C298: + ldy #$00 ; CPU:$C298 PRG:0298 A0 00 + sty Zp00 ; CPU:$C29A PRG:029A 84 00 + lda #$07 ; CPU:$C29C PRG:029C A9 07 + sta Zp01 ; CPU:$C29E PRG:029E 85 01 + lda #$F8 ; CPU:$C2A0 PRG:02A0 A9 F8 +; ----------------------------------------------------------------------------- +; Routine: Label_C2A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2A2: + sta (Zp00),y ; CPU:$C2A2 PRG:02A2 91 00 + iny ; CPU:$C2A4 PRG:02A4 C8 + bne Label_C2A2 ; CPU:$C2A5 PRG:02A5 D0 FB + rts ; CPU:$C2A7 PRG:02A7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C2A8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2A8: + lda $2002 ; CPU:$C2A8 PRG:02A8 AD 02 20 + bmi Label_C2A8 ; CPU:$C2AB PRG:02AB 30 FB +; ----------------------------------------------------------------------------- +; Routine: Label_C2AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2AD: + lda $2002 ; CPU:$C2AD PRG:02AD AD 02 20 + bpl Label_C2AD ; CPU:$C2B0 PRG:02B0 10 FB + rts ; CPU:$C2B2 PRG:02B2 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C2B3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2B3: + jsr Label_CC2A8 ; CPU:$C2B3 PRG:02B3 20 A8 C2 + lda Zp02 ; CPU:$C2B6 PRG:02B6 A5 02 + ora #$80 ; CPU:$C2B8 PRG:02B8 09 80 + bne Label_C2CA ; CPU:$C2BA PRG:02BA D0 0E +; ----------------------------------------------------------------------------- +; Routine: Label_C2BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2BC: + lda #$00 ; CPU:$C2BC PRG:02BC A9 00 + sta Zp10 ; CPU:$C2BE PRG:02BE 85 10 + sta Zp11 ; CPU:$C2C0 PRG:02C0 85 11 +; ----------------------------------------------------------------------------- +; Routine: Label_C2C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2C2: + lda Zp10 ; CPU:$C2C2 PRG:02C2 A5 10 + bne Label_C2C2 ; CPU:$C2C4 PRG:02C4 D0 FC +; ----------------------------------------------------------------------------- +; Routine: Label_C2C6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2C6: + lda Zp02 ; CPU:$C2C6 PRG:02C6 A5 02 + and #$7F ; CPU:$C2C8 PRG:02C8 29 7F +; ----------------------------------------------------------------------------- +; Routine: Label_C2CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2CA: + sta Zp02 ; CPU:$C2CA PRG:02CA 85 02 + sta $2000 ; CPU:$C2CC PRG:02CC 8D 00 20 + rts ; CPU:$C2CF PRG:02CF 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C2D0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2D0: + lda #$07 ; CPU:$C2D0 PRG:02D0 A9 07 + sta $4015 ; CPU:$C2D2 PRG:02D2 8D 15 40 + rts ; CPU:$C2D5 PRG:02D5 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C2D6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2D6: + lda #$00 ; CPU:$C2D6 PRG:02D6 A9 00 + sta $4015 ; CPU:$C2D8 PRG:02D8 8D 15 40 + rts ; CPU:$C2DB PRG:02DB 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C2DC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2DC: + lda #$3F ; CPU:$C2DC PRG:02DC A9 3F + ldx #$00 ; CPU:$C2DE PRG:02DE A2 00 + jsr Label_CC178 ; CPU:$C2E0 PRG:02E0 20 78 C1 + ldy #$20 ; CPU:$C2E3 PRG:02E3 A0 20 +; ----------------------------------------------------------------------------- +; Routine: Label_C2E5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C2E5: + lda $C37E,x ; CPU:$C2E5 PRG:02E5 BD 7E C3 + jsr Label_CC006 ; CPU:$C2E8 PRG:02E8 20 06 C0 + inx ; CPU:$C2EB PRG:02EB E8 + dey ; CPU:$C2EC PRG:02EC 88 + bne Label_C2E5 ; CPU:$C2ED PRG:02ED D0 F6 + rts ; CPU:$C2EF PRG:02EF 60 +; ---- data $C2F0-$C3A5 (182 bytes) ---- +; referenced by `lda $C39E,x` at $C06B (operand $C39E falls inside this region) +; referenced by `lda $C3A2,x` at $C09E (operand $C3A2 falls inside this region) +; referenced by `adc $C378,x` at $C157 (operand $C378 falls inside this region) +; referenced by `lda $C2F0,y` at $C15D (operand $C2F0 falls inside this region) +; referenced by `lda $C2F0,y` at $C164 (operand $C2F0 falls inside this region) +; referenced by `lda $C37E,x` at $C2E5 (operand $C37E falls inside this region) + .byte $AE, $06, $4E, $06, $F3, $05, $9E, $05, $4D, $05, $01, $05, $B9, $04, $75, $04 ; CPU:$C2F0 PRG:02F0 AE 06 4E 06 F3 05 9E 05 4D 05 01 05 B9 04 75 04 + .byte $35, $04, $F8, $03, $BF, $03, $89, $03, $57, $03, $27, $03, $F9, $02, $CF, $02 ; CPU:$C300 PRG:0300 35 04 F8 03 BF 03 89 03 57 03 27 03 F9 02 CF 02 + .byte $A6, $02, $80, $02, $5C, $02, $3A, $02, $1A, $02, $FC, $01, $DF, $01, $C4, $01 ; CPU:$C310 PRG:0310 A6 02 80 02 5C 02 3A 02 1A 02 FC 01 DF 01 C4 01 + .byte $AB, $01, $93, $01, $7C, $01, $67, $01, $52, $01, $3F, $01, $2D, $01, $1C, $01 ; CPU:$C320 PRG:0320 AB 01 93 01 7C 01 67 01 52 01 3F 01 2D 01 1C 01 + .byte $0C, $01, $FD, $00, $EE, $00, $E1, $00, $D4, $00, $C8, $00, $BD, $00, $B2, $00 ; CPU:$C330 PRG:0330 0C 01 FD 00 EE 00 E1 00 D4 00 C8 00 BD 00 B2 00 + .byte $A8, $00, $9F, $00, $96, $00, $8D, $00, $85, $00, $7E, $00, $76, $00, $70, $00 ; CPU:$C340 PRG:0340 A8 00 9F 00 96 00 8D 00 85 00 7E 00 76 00 70 00 + .byte $69, $00, $63, $00, $5E, $00, $58, $00, $53, $00, $4F, $00, $4A, $00, $46, $00 ; CPU:$C350 PRG:0350 69 00 63 00 5E 00 58 00 53 00 4F 00 4A 00 46 00 + .byte $42, $00, $3E, $00, $3A, $00, $37, $00, $34, $00, $31, $00, $2E, $00, $2B, $00 ; CPU:$C360 PRG:0360 42 00 3E 00 3A 00 37 00 34 00 31 00 2E 00 2B 00 + .byte $29, $00, $27, $00, $24, $00, $22, $00, $00, $18, $30, $48, $60, $78, $0F, $16 ; CPU:$C370 PRG:0370 29 00 27 00 24 00 22 00 00 18 30 48 60 78 0F 16 + .byte $30, $38, $0F, $17, $26, $07, $0F, $36, $00, $30, $0F, $38, $28, $30, $0F, $16 ; CPU:$C380 PRG:0380 30 38 0F 17 26 07 0F 36 00 30 0F 38 28 30 0F 16 + .byte $27, $12, $0F, $30, $2B, $16, $0F, $29, $16, $30, $0F, $30, $30, $30, $26, $16 ; CPU:$C390 PRG:0390 27 12 0F 30 2B 16 0F 29 16 30 0F 30 30 30 26 16 + .byte $06, $16, $20, $10, $00, $10 ; CPU:$C3A0 PRG:03A0 06 16 20 10 00 10 +; ----------------------------------------------------------------------------- +; Routine: Label_C3A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3A6: + lda #$00 ; CPU:$C3A6 PRG:03A6 A9 00 + sta ZpA7 ; CPU:$C3A8 PRG:03A8 85 A7 + sta Zp53 ; CPU:$C3AA PRG:03AA 85 53 + jsr Label_CC214 ; CPU:$C3AC PRG:03AC 20 14 C2 + jsr Label_CC2D0 ; CPU:$C3AF PRG:03AF 20 D0 C2 + lda #$00 ; CPU:$C3B2 PRG:03B2 A9 00 + sta ZpD6 ; CPU:$C3B4 PRG:03B4 85 D6 + jsr Label_CDCBC ; CPU:$C3B6 PRG:03B6 20 BC DC + jsr Label_CC2B3 ; CPU:$C3B9 PRG:03B9 20 B3 C2 + jsr Label_CE226 ; CPU:$C3BC PRG:03BC 20 26 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_C3BF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3BF: + lda #$00 ; CPU:$C3BF PRG:03BF A9 00 + sta ZpD3 ; CPU:$C3C1 PRG:03C1 85 D3 + sta ZpD4 ; CPU:$C3C3 PRG:03C3 85 D4 + lda #$20 ; CPU:$C3C5 PRG:03C5 A9 20 + sta ZpD5 ; CPU:$C3C7 PRG:03C7 85 D5 +; ----------------------------------------------------------------------------- +; Routine: Label_C3C9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3C9: + lda Zp06 ; CPU:$C3C9 PRG:03C9 A5 06 + and #$20 ; CPU:$C3CB PRG:03CB 29 20 + beq Label_C3F2 ; CPU:$C3CD PRG:03CD F0 23 + inc ZpA7 ; CPU:$C3CF PRG:03CF E6 A7 + lda ZpA7 ; CPU:$C3D1 PRG:03D1 A5 A7 + cmp #$03 ; CPU:$C3D3 PRG:03D3 C9 03 + bne Label_C3DB ; CPU:$C3D5 PRG:03D5 D0 04 + lda #$00 ; CPU:$C3D7 PRG:03D7 A9 00 + sta ZpA7 ; CPU:$C3D9 PRG:03D9 85 A7 +; ----------------------------------------------------------------------------- +; Routine: Label_C3DB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3DB: + jsr Label_CE1DB ; CPU:$C3DB PRG:03DB 20 DB E1 + jsr Label_CC5A1 ; CPU:$C3DE PRG:03DE 20 A1 C5 + beq Label_C3BF ; CPU:$C3E1 PRG:03E1 F0 DC +; ----------------------------------------------------------------------------- +; Routine: Label_C3E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3E3: + dec ZpD3 ; CPU:$C3E3 PRG:03E3 C6 D3 + bne Label_C3C9 ; CPU:$C3E5 PRG:03E5 D0 E2 + dec ZpD4 ; CPU:$C3E7 PRG:03E7 C6 D4 + bne Label_C3C9 ; CPU:$C3E9 PRG:03E9 D0 DE + dec ZpD5 ; CPU:$C3EB PRG:03EB C6 D5 + bne Label_C3C9 ; CPU:$C3ED PRG:03ED D0 DA + jmp Label_CC5CA ; CPU:$C3EF PRG:03EF 4C CA C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C3F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C3F2: + lda Zp06 ; CPU:$C3F2 PRG:03F2 A5 06 + and #$10 ; CPU:$C3F4 PRG:03F4 29 10 + beq Label_C3E3 ; CPU:$C3F6 PRG:03F6 F0 EB + jsr Label_CC5A1 ; CPU:$C3F8 PRG:03F8 20 A1 C5 + lda ZpA7 ; CPU:$C3FB PRG:03FB A5 A7 + cmp #$02 ; CPU:$C3FD PRG:03FD C9 02 + bne Label_C40A ; CPU:$C3FF PRG:03FF D0 09 + lda #$00 ; CPU:$C401 PRG:0401 A9 00 + sta Zp97 ; CPU:$C403 PRG:0403 85 97 + sta ZpD0 ; CPU:$C405 PRG:0405 85 D0 + jmp Label_CE664 ; CPU:$C407 PRG:0407 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_C40A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C40A: + jsr Label_CC214 ; CPU:$C40A PRG:040A 20 14 C2 + lda #$00 ; CPU:$C40D PRG:040D A9 00 + sta Zp97 ; CPU:$C40F PRG:040F 85 97 + sta ZpD0 ; CPU:$C411 PRG:0411 85 D0 + jsr Label_CC2D0 ; CPU:$C413 PRG:0413 20 D0 C2 + jsr Label_CC63B ; CPU:$C416 PRG:0416 20 3B C6 +; ----------------------------------------------------------------------------- +; Routine: Label_C419 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C419: + lda ZpD0 ; CPU:$C419 PRG:0419 A5 D0 + bne Label_C42A ; CPU:$C41B PRG:041B D0 0D + jsr Label_CC5FE ; CPU:$C41D PRG:041D 20 FE C5 + lda Zp98 ; CPU:$C420 PRG:0420 A5 98 + bne Label_C427 ; CPU:$C422 PRG:0422 D0 03 + jmp Label_CC594 ; CPU:$C424 PRG:0424 4C 94 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C427 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C427: + jsr Label_CDF3C ; CPU:$C427 PRG:0427 20 3C DF +; ----------------------------------------------------------------------------- +; Routine: Label_C42A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C42A: + jsr Label_CC711 ; CPU:$C42A PRG:042A 20 11 C7 +; ----------------------------------------------------------------------------- +; Routine: Label_C42D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C42D: + lda Zp06 ; CPU:$C42D PRG:042D A5 06 + and #$20 ; CPU:$C42F PRG:042F 29 20 + bne Label_C4AD ; CPU:$C431 PRG:0431 D0 7A + lda ZpB7 ; CPU:$C433 PRG:0433 A5 B7 + bne Label_C42D ; CPU:$C435 PRG:0435 D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Label_C437 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C437: + jsr Label_CC663 ; CPU:$C437 PRG:0437 20 63 C6 + jsr Label_CC88F ; CPU:$C43A PRG:043A 20 8F C8 + jsr Label_CC97B ; CPU:$C43D PRG:043D 20 7B C9 + lda #$00 ; CPU:$C440 PRG:0440 A9 00 + sta ZpC6 ; CPU:$C442 PRG:0442 85 C6 + sta ZpDC ; CPU:$C444 PRG:0444 85 DC + lda Zp97 ; CPU:$C446 PRG:0446 A5 97 + clc ; CPU:$C448 PRG:0448 18 + adc Zp8D ; CPU:$C449 PRG:0449 65 8D + cmp #$0A ; CPU:$C44B PRG:044B C9 0A + bcc Label_C451 ; CPU:$C44D PRG:044D 90 02 + lda #$0A ; CPU:$C44F PRG:044F A9 0A +; ----------------------------------------------------------------------------- +; Routine: Label_C451 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C451: + tay ; CPU:$C451 PRG:0451 A8 + ldx $C6B2,y ; CPU:$C452 PRG:0452 BE B2 C6 + lda $C6D2,x ; CPU:$C455 PRG:0455 BD D2 C6 + sta Zp60 ; CPU:$C458 PRG:0458 85 60 + lda $C6D3,x ; CPU:$C45A PRG:045A BD D3 C6 + sta Zp61 ; CPU:$C45D PRG:045D 85 61 + lda $C6D4,x ; CPU:$C45F PRG:045F BD D4 C6 + sta Zp62 ; CPU:$C462 PRG:0462 85 62 + ldy Zp97 ; CPU:$C464 PRG:0464 A4 97 + lda $C6BD,y ; CPU:$C466 PRG:0466 B9 BD C6 + sta Zp5F ; CPU:$C469 PRG:0469 85 5F +; ----------------------------------------------------------------------------- +; Routine: Label_C46B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C46B: + jsr Label_CCB8C ; CPU:$C46B PRG:046B 20 8C CB + jsr Label_CCBAA ; CPU:$C46E PRG:046E 20 AA CB + lda Zp9A ; CPU:$C471 PRG:0471 A5 9A + beq Label_C4B7 ; CPU:$C473 PRG:0473 F0 42 + lda Zp93 ; CPU:$C475 PRG:0475 A5 93 + bne Label_C47C ; CPU:$C477 PRG:0477 D0 03 + jsr Label_CCB22 ; CPU:$C479 PRG:0479 20 22 CB +; ----------------------------------------------------------------------------- +; Routine: Label_C47C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C47C: + lda Zp21 ; CPU:$C47C PRG:047C A5 21 + bne Label_C491 ; CPU:$C47E PRG:047E D0 11 + lda Zp23 ; CPU:$C480 PRG:0480 A5 23 + cmp #$03 ; CPU:$C482 PRG:0482 C9 03 + bne Label_C491 ; CPU:$C484 PRG:0484 D0 0B + lda Zp93 ; CPU:$C486 PRG:0486 A5 93 + beq Label_C48C ; CPU:$C488 PRG:0488 F0 02 + cmp #$FF ; CPU:$C48A PRG:048A C9 FF +; ----------------------------------------------------------------------------- +; Routine: Label_C48C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C48C: + bne Label_C491 ; CPU:$C48C PRG:048C D0 03 + jmp Label_CC52D ; CPU:$C48E PRG:048E 4C 2D C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C491 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C491: + jsr Label_CD30F ; CPU:$C491 PRG:0491 20 0F D3 + lda Zp9A ; CPU:$C494 PRG:0494 A5 9A + beq Label_C4B7 ; CPU:$C496 PRG:0496 F0 1F + jsr Label_CD49C ; CPU:$C498 PRG:0498 20 9C D4 + lda Zp9A ; CPU:$C49B PRG:049B A5 9A + beq Label_C4B7 ; CPU:$C49D PRG:049D F0 18 + ldx ZpE5 ; CPU:$C49F PRG:049F A6 E5 +; ----------------------------------------------------------------------------- +; Routine: Label_C4A1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4A1: + dey ; CPU:$C4A1 PRG:04A1 88 + bne Label_C4A1 ; CPU:$C4A2 PRG:04A2 D0 FD + dex ; CPU:$C4A4 PRG:04A4 CA + bne Label_C4A1 ; CPU:$C4A5 PRG:04A5 D0 FA + lda Zp06 ; CPU:$C4A7 PRG:04A7 A5 06 + and #$30 ; CPU:$C4A9 PRG:04A9 29 30 + beq Label_C46B ; CPU:$C4AB PRG:04AB F0 BE +; ----------------------------------------------------------------------------- +; Routine: Label_C4AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4AD: + jsr Label_CC5A1 ; CPU:$C4AD PRG:04AD 20 A1 C5 + lda ZpD0 ; CPU:$C4B0 PRG:04B0 A5 D0 + beq Label_C4BA ; CPU:$C4B2 PRG:04B2 F0 06 + jmp Label_CC5B2 ; CPU:$C4B4 PRG:04B4 4C B2 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C4B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4B7: + jmp Label_CC563 ; CPU:$C4B7 PRG:04B7 4C 63 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C4BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4BA: + jsr Label_CE242 ; CPU:$C4BA PRG:04BA 20 42 E2 + lda ZpA7 ; CPU:$C4BD PRG:04BD A5 A7 + cmp #$02 ; CPU:$C4BF PRG:04BF C9 02 + bne Label_C4CA ; CPU:$C4C1 PRG:04C1 D0 07 + lda #$00 ; CPU:$C4C3 PRG:04C3 A9 00 + sta ZpDB ; CPU:$C4C5 PRG:04C5 85 DB + jmp Label_CE664 ; CPU:$C4C7 PRG:04C7 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_C4CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4CA: + lda #$00 ; CPU:$C4CA PRG:04CA A9 00 + sta ZpB7 ; CPU:$C4CC PRG:04CC 85 B7 + sta ZpDB ; CPU:$C4CE PRG:04CE 85 DB + jsr Label_CDF09 ; CPU:$C4D0 PRG:04D0 20 09 DF +; ----------------------------------------------------------------------------- +; Routine: Label_C4D3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4D3: + lda Zp06 ; CPU:$C4D3 PRG:04D3 A5 06 + and #$80 ; CPU:$C4D5 PRG:04D5 29 80 + bne Label_C4EA ; CPU:$C4D7 PRG:04D7 D0 11 + lda Zp06 ; CPU:$C4D9 PRG:04D9 A5 06 + and #$40 ; CPU:$C4DB PRG:04DB 29 40 + bne Label_C50B ; CPU:$C4DD PRG:04DD D0 2C + lda Zp06 ; CPU:$C4DF PRG:04DF A5 06 + and #$10 ; CPU:$C4E1 PRG:04E1 29 10 + beq Label_C4D3 ; CPU:$C4E3 PRG:04E3 F0 EE + jsr Label_CC5A1 ; CPU:$C4E5 PRG:04E5 20 A1 C5 + beq Label_C560 ; CPU:$C4E8 PRG:04E8 F0 76 +; ----------------------------------------------------------------------------- +; Routine: Label_C4EA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4EA: + lda Zp06 ; CPU:$C4EA PRG:04EA A5 06 + and #$20 ; CPU:$C4EC PRG:04EC 29 20 + beq Label_C4FD ; CPU:$C4EE PRG:04EE F0 0D + dec ZpE5 ; CPU:$C4F0 PRG:04F0 C6 E5 +; ----------------------------------------------------------------------------- +; Routine: Label_C4F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4F2: + jsr Label_CD2C4 ; CPU:$C4F2 PRG:04F2 20 C4 D2 +; ----------------------------------------------------------------------------- +; Routine: Label_C4F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4F5: + lda Zp06 ; CPU:$C4F5 PRG:04F5 A5 06 + and #$C0 ; CPU:$C4F7 PRG:04F7 29 C0 + bne Label_C4F5 ; CPU:$C4F9 PRG:04F9 D0 FA + beq Label_C4D3 ; CPU:$C4FB PRG:04FB F0 D6 +; ----------------------------------------------------------------------------- +; Routine: Label_C4FD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C4FD: + inc ZpA6 ; CPU:$C4FD PRG:04FD E6 A6 + lda ZpA6 ; CPU:$C4FF PRG:04FF A5 A6 + cmp #$33 ; CPU:$C501 PRG:0501 C9 33 + bne Label_C507 ; CPU:$C503 PRG:0503 D0 02 + lda #$01 ; CPU:$C505 PRG:0505 A9 01 +; ----------------------------------------------------------------------------- +; Routine: Label_C507 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C507: + sta ZpA6 ; CPU:$C507 PRG:0507 85 A6 + bne Label_C51E ; CPU:$C509 PRG:0509 D0 13 +; ----------------------------------------------------------------------------- +; Routine: Label_C50B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C50B: + lda Zp06 ; CPU:$C50B PRG:050B A5 06 + and #$20 ; CPU:$C50D PRG:050D 29 20 + beq Label_C516 ; CPU:$C50F PRG:050F F0 05 + inc ZpE5 ; CPU:$C511 PRG:0511 E6 E5 + jmp Label_CC4F2 ; CPU:$C513 PRG:0513 4C F2 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_C516 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C516: + dec ZpA6 ; CPU:$C516 PRG:0516 C6 A6 + bne Label_C51E ; CPU:$C518 PRG:0518 D0 04 + lda #$32 ; CPU:$C51A PRG:051A A9 32 + sta ZpA6 ; CPU:$C51C PRG:051C 85 A6 +; ----------------------------------------------------------------------------- +; Routine: Label_C51E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C51E: + jsr Label_CD2C4 ; CPU:$C51E PRG:051E 20 C4 D2 + jsr Label_CC5A1 ; CPU:$C521 PRG:0521 20 A1 C5 + jsr Label_CC61C ; CPU:$C524 PRG:0524 20 1C C6 + jsr Label_CDF03 ; CPU:$C527 PRG:0527 20 03 DF + jmp Label_CC4D3 ; CPU:$C52A PRG:052A 4C D3 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_C52D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C52D: + lda ZpD0 ; CPU:$C52D PRG:052D A5 D0 + bne Label_C5A6 ; CPU:$C52F PRG:052F D0 75 + inc ZpA6 ; CPU:$C531 PRG:0531 E6 A6 + lda ZpA6 ; CPU:$C533 PRG:0533 A5 A6 + cmp #$33 ; CPU:$C535 PRG:0535 C9 33 + bne Label_C53F ; CPU:$C537 PRG:0537 D0 06 + lda #$01 ; CPU:$C539 PRG:0539 A9 01 + sta ZpA6 ; CPU:$C53B PRG:053B 85 A6 + inc Zp97 ; CPU:$C53D PRG:053D E6 97 +; ----------------------------------------------------------------------------- +; Routine: Label_C53F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C53F: + inc Zp96 ; CPU:$C53F PRG:053F E6 96 + inc Zp98 ; CPU:$C541 PRG:0541 E6 98 + lda Zp98 ; CPU:$C543 PRG:0543 A5 98 + cmp #$0A ; CPU:$C545 PRG:0545 C9 0A + bne Label_C54B ; CPU:$C547 PRG:0547 D0 02 + dec Zp98 ; CPU:$C549 PRG:0549 C6 98 +; ----------------------------------------------------------------------------- +; Routine: Label_C54B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C54B: + jsr Label_CE015 ; CPU:$C54B PRG:054B 20 15 E0 + jsr Label_CC61C ; CPU:$C54E PRG:054E 20 1C C6 + lda ZpA7 ; CPU:$C551 PRG:0551 A5 A7 + cmp #$02 ; CPU:$C553 PRG:0553 C9 02 + beq Label_C570 ; CPU:$C555 PRG:0555 F0 19 + lda Zp06 ; CPU:$C557 PRG:0557 A5 06 + and #$20 ; CPU:$C559 PRG:0559 29 20 + beq Label_C560 ; CPU:$C55B PRG:055B F0 03 + jmp Label_CC4AD ; CPU:$C55D PRG:055D 4C AD C4 +; ----------------------------------------------------------------------------- +; Routine: Label_C560 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C560: + jmp Label_CC419 ; CPU:$C560 PRG:0560 4C 19 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_C563 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C563: + jsr Label_CE258 ; CPU:$C563 PRG:0563 20 58 E2 + lda ZpD0 ; CPU:$C566 PRG:0566 A5 D0 + bne Label_C5A6 ; CPU:$C568 PRG:0568 D0 3C + lda ZpA7 ; CPU:$C56A PRG:056A A5 A7 + cmp #$02 ; CPU:$C56C PRG:056C C9 02 + bne Label_C577 ; CPU:$C56E PRG:056E D0 07 +; ----------------------------------------------------------------------------- +; Routine: Label_C570 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C570: + lda #$00 ; CPU:$C570 PRG:0570 A9 00 + sta ZpDB ; CPU:$C572 PRG:0572 85 DB + jmp Label_CE664 ; CPU:$C574 PRG:0574 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_C577 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C577: + dec Zp98 ; CPU:$C577 PRG:0577 C6 98 + jsr Label_CC61C ; CPU:$C579 PRG:0579 20 1C C6 + lda Zp98 ; CPU:$C57C PRG:057C A5 98 + bne Label_C594 ; CPU:$C57E PRG:057E D0 14 + sta ZpDB ; CPU:$C580 PRG:0580 85 DB + jsr Label_CE172 ; CPU:$C582 PRG:0582 20 72 E1 + lda ZpA7 ; CPU:$C585 PRG:0585 A5 A7 + beq Label_C591 ; CPU:$C587 PRG:0587 F0 08 + lda $05A1 ; CPU:$C589 PRG:0589 AD A1 05 + ora $05B1 ; CPU:$C58C PRG:058C 0D B1 05 + bne Label_C594 ; CPU:$C58F PRG:058F D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_C591 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C591: + jmp Label_CC3A6 ; CPU:$C591 PRG:0591 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Label_C594 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C594: + lda ZpA7 ; CPU:$C594 PRG:0594 A5 A7 + beq Label_C560 ; CPU:$C596 PRG:0596 F0 C8 + lda #$01 ; CPU:$C598 PRG:0598 A9 01 + eor ZpC3 ; CPU:$C59A PRG:059A 45 C3 + sta ZpC3 ; CPU:$C59C PRG:059C 85 C3 + jmp Label_CC560 ; CPU:$C59E PRG:059E 4C 60 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C5A1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5A1: + lda Zp06 ; CPU:$C5A1 PRG:05A1 A5 06 + bne Label_C5A1 ; CPU:$C5A3 PRG:05A3 D0 FC + rts ; CPU:$C5A5 PRG:05A5 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C5A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5A6: + lda #$00 ; CPU:$C5A6 PRG:05A6 A9 00 + sta ZpD0 ; CPU:$C5A8 PRG:05A8 85 D0 + inc ZpD6 ; CPU:$C5AA PRG:05AA E6 D6 + lda ZpD6 ; CPU:$C5AC PRG:05AC A5 D6 + cmp #$03 ; CPU:$C5AE PRG:05AE C9 03 + beq Label_C5C7 ; CPU:$C5B0 PRG:05B0 F0 15 +; ----------------------------------------------------------------------------- +; Routine: Label_C5B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5B2: + lda #$00 ; CPU:$C5B2 PRG:05B2 A9 00 + sta Zp04 ; CPU:$C5B4 PRG:05B4 85 04 + sta ZpB7 ; CPU:$C5B6 PRG:05B6 85 B7 + jsr Label_CDCBC ; CPU:$C5B8 PRG:05B8 20 BC DC + jsr Label_CE1DB ; CPU:$C5BB PRG:05BB 20 DB E1 + jsr Label_CC2D0 ; CPU:$C5BE PRG:05BE 20 D0 C2 + jsr Label_CC2B3 ; CPU:$C5C1 PRG:05C1 20 B3 C2 + jmp Label_CC3BF ; CPU:$C5C4 PRG:05C4 4C BF C3 +; ----------------------------------------------------------------------------- +; Routine: Label_C5C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5C7: + jmp Label_CC3A6 ; CPU:$C5C7 PRG:05C7 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Label_C5CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5CA: + jsr Label_CC2A8 ; CPU:$C5CA PRG:05CA 20 A8 C2 + jsr Label_CC2DC ; CPU:$C5CD PRG:05CD 20 DC C2 + lda #$00 ; CPU:$C5D0 PRG:05D0 A9 00 + sta ZpA7 ; CPU:$C5D2 PRG:05D2 85 A7 + sta Zp53 ; CPU:$C5D4 PRG:05D4 85 53 + lda #$1C ; CPU:$C5D6 PRG:05D6 A9 1C + sta ZpCE ; CPU:$C5D8 PRG:05D8 85 CE + lda #$EA ; CPU:$C5DA PRG:05DA A9 EA + sta ZpCF ; CPU:$C5DC PRG:05DC 85 CF + ldx #$01 ; CPU:$C5DE PRG:05DE A2 01 + stx ZpA6 ; CPU:$C5E0 PRG:05E0 86 A6 + stx ZpD0 ; CPU:$C5E2 PRG:05E2 86 D0 + dex ; CPU:$C5E4 PRG:05E4 CA + stx ZpD1 ; CPU:$C5E5 PRG:05E5 86 D1 + stx Zp97 ; CPU:$C5E7 PRG:05E7 86 97 + jsr Label_CC2D6 ; CPU:$C5E9 PRG:05E9 20 D6 C2 + jmp Label_CC419 ; CPU:$C5EC PRG:05EC 4C 19 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_C5EF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5EF: + lda ZpC3 ; CPU:$C5EF PRG:05EF A5 C3 + asl a ; CPU:$C5F1 PRG:05F1 0A + asl a ; CPU:$C5F2 PRG:05F2 0A + asl a ; CPU:$C5F3 PRG:05F3 0A + asl a ; CPU:$C5F4 PRG:05F4 0A + tax ; CPU:$C5F5 PRG:05F5 AA + ldy #$00 ; CPU:$C5F6 PRG:05F6 A0 00 + rts ; CPU:$C5F8 PRG:05F8 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C5F9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5F9: + lda $0598,x ; CPU:$C5F9 PRG:05F9 BD 98 05 + inx ; CPU:$C5FC PRG:05FC E8 + rts ; CPU:$C5FD PRG:05FD 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C5FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C5FE: + jsr Label_CC5EF ; CPU:$C5FE PRG:05FE 20 EF C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C601 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C601: + jsr Label_CC5F9 ; CPU:$C601 PRG:0601 20 F9 C5 + sta $0590,y ; CPU:$C604 PRG:0604 99 90 05 + iny ; CPU:$C607 PRG:0607 C8 + cpy #$08 ; CPU:$C608 PRG:0608 C0 08 + bne Label_C601 ; CPU:$C60A PRG:060A D0 F5 + jsr Label_CC5F9 ; CPU:$C60C PRG:060C 20 F9 C5 + sta ZpA6 ; CPU:$C60F PRG:060F 85 A6 + jsr Label_CC5F9 ; CPU:$C611 PRG:0611 20 F9 C5 + sta Zp98 ; CPU:$C614 PRG:0614 85 98 + jsr Label_CC5F9 ; CPU:$C616 PRG:0616 20 F9 C5 + sta Zp97 ; CPU:$C619 PRG:0619 85 97 + rts ; CPU:$C61B PRG:061B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C61C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C61C: + jsr Label_CC5EF ; CPU:$C61C PRG:061C 20 EF C5 +; ----------------------------------------------------------------------------- +; Routine: Label_C61F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C61F: + lda $0590,y ; CPU:$C61F PRG:061F B9 90 05 + jsr Label_CC636 ; CPU:$C622 PRG:0622 20 36 C6 + iny ; CPU:$C625 PRG:0625 C8 + cpy #$08 ; CPU:$C626 PRG:0626 C0 08 + bne Label_C61F ; CPU:$C628 PRG:0628 D0 F5 + lda ZpA6 ; CPU:$C62A PRG:062A A5 A6 + jsr Label_CC636 ; CPU:$C62C PRG:062C 20 36 C6 + lda Zp98 ; CPU:$C62F PRG:062F A5 98 + jsr Label_CC636 ; CPU:$C631 PRG:0631 20 36 C6 + lda Zp97 ; CPU:$C634 PRG:0634 A5 97 +; ----------------------------------------------------------------------------- +; Routine: Label_C636 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C636: + sta $0598,x ; CPU:$C636 PRG:0636 9D 98 05 + inx ; CPU:$C639 PRG:0639 E8 + rts ; CPU:$C63A PRG:063A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C63B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C63B: + lda #$00 ; CPU:$C63B PRG:063B A9 00 + sta ZpC3 ; CPU:$C63D PRG:063D 85 C3 + ldx #$08 ; CPU:$C63F PRG:063F A2 08 +; ----------------------------------------------------------------------------- +; Routine: Label_C641 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C641: + sta $0597,x ; CPU:$C641 PRG:0641 9D 97 05 + sta $05A7,x ; CPU:$C644 PRG:0644 9D A7 05 + dex ; CPU:$C647 PRG:0647 CA + bne Label_C641 ; CPU:$C648 PRG:0648 D0 F7 + sta $05A2 ; CPU:$C64A PRG:064A 8D A2 05 + sta $05B2 ; CPU:$C64D PRG:064D 8D B2 05 + sta ZpC3 ; CPU:$C650 PRG:0650 85 C3 + lda #$01 ; CPU:$C652 PRG:0652 A9 01 + sta $05A0 ; CPU:$C654 PRG:0654 8D A0 05 + sta $05B0 ; CPU:$C657 PRG:0657 8D B0 05 + lda #$05 ; CPU:$C65A PRG:065A A9 05 + sta $05A1 ; CPU:$C65C PRG:065C 8D A1 05 + sta $05B1 ; CPU:$C65F PRG:065F 8D B1 05 + rts ; CPU:$C662 PRG:0662 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C663 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C663: + lda ZpD0 ; CPU:$C663 PRG:0663 A5 D0 + bne Label_C66B ; CPU:$C665 PRG:0665 D0 04 + lda #$01 ; CPU:$C667 PRG:0667 A9 01 + sta ZpDB ; CPU:$C669 PRG:0669 85 DB +; ----------------------------------------------------------------------------- +; Routine: Label_C66B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C66B: + rts ; CPU:$C66B PRG:066B 60 +; ---- data $C66C-$C710 (165 bytes) ---- +; referenced by `ldx $C6B2,y` at $C452 (operand $C6B2 falls inside this region) +; referenced by `lda $C6D2,x` at $C455 (operand $C6D2 falls inside this region) +; referenced by `lda $C6D3,x` at $C45A (operand $C6D3 falls inside this region) +; referenced by `lda $C6D4,x` at $C45F (operand $C6D4 falls inside this region) +; referenced by `lda $C6BD,y` at $C466 (operand $C6BD falls inside this region) +; referenced by `lda $C688,y` at $C81D (operand $C688 falls inside this region) +; ... and 21 further references from decoded code + .byte $88, $88, $96, $A4, $B2, $C0, $CE, $DC, $EA, $B8, $C6, $D4, $E2, $F0, $03, $03 ; CPU:$C66C PRG:066C 88 88 96 A4 B2 C0 CE DC EA B8 C6 D4 E2 F0 03 03 + .byte $03, $03, $03, $03, $03, $03, $03, $05, $05, $05, $05, $05, $00, $1C, $38, $54 ; CPU:$C67C PRG:067C 03 03 03 03 03 03 03 05 05 05 05 05 00 1C 38 54 + .byte $70, $8C, $A8, $C4, $E0, $FC, $18, $34, $50, $6C, $02, $02, $02, $02, $02, $02 ; CPU:$C68C PRG:068C 70 8C A8 C4 E0 FC 18 34 50 6C 02 02 02 02 02 02 + .byte $02, $02, $02, $02, $03, $03, $03, $03, $04, $04, $04, $04, $04, $04, $04, $04 ; CPU:$C69C PRG:069C 02 02 02 02 03 03 03 03 04 04 04 04 04 04 04 04 + .byte $04, $04, $05, $05, $05, $05, $00, $03, $06, $09, $0C, $0F, $12, $15, $18, $1B ; CPU:$C6AC PRG:06AC 04 04 05 05 05 05 00 03 06 09 0C 0F 12 15 18 1B + .byte $1E, $26, $26, $2E, $44, $47, $49, $4A, $4B, $4C, $4D, $4E, $4F, $50, $51, $52 ; CPU:$C6BC PRG:06BC 1E 26 26 2E 44 47 49 4A 4B 4C 4D 4E 4F 50 51 52 + .byte $53, $54, $55, $56, $57, $58, $00, $00, $00, $00, $01, $01, $01, $01, $01, $01 ; CPU:$C6CC PRG:06CC 53 54 55 56 57 58 00 00 00 00 01 01 01 01 01 01 + .byte $03, $01, $01, $03, $03, $03, $03, $03, $03, $03, $07, $03, $07, $07, $07, $07 ; CPU:$C6DC PRG:06DC 03 01 01 03 03 03 03 03 03 03 07 03 07 07 07 07 + .byte $07, $07, $07, $0F, $07, $0F, $0F, $0F, $0F, $0F, $0F, $0F, $1F, $0F, $1F, $1F ; CPU:$C6EC PRG:06EC 07 07 07 0F 07 0F 0F 0F 0F 0F 0F 0F 1F 0F 1F 1F + .byte $1F, $1F, $1F, $1F, $1F, $3F, $1F, $3F, $3F, $3F, $3F, $3F, $3F, $3F, $7F, $3F ; CPU:$C6FC PRG:06FC 1F 1F 1F 1F 1F 3F 1F 3F 3F 3F 3F 3F 3F 3F 7F 3F + .byte $7F, $7F, $7F, $7F, $7F ; CPU:$C70C PRG:070C 7F 7F 7F 7F 7F +; ----------------------------------------------------------------------------- +; Routine: Label_C711 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C711: + lda ZpA6 ; CPU:$C711 PRG:0711 A5 A6 + sta ZpC1 ; CPU:$C713 PRG:0713 85 C1 + lda #$00 ; CPU:$C715 PRG:0715 A9 00 + sta Zp95 ; CPU:$C717 PRG:0717 85 95 + lda #$78 ; CPU:$C719 PRG:0719 A9 78 + sta ZpB0 ; CPU:$C71B PRG:071B 85 B0 + lda #$EA ; CPU:$C71D PRG:071D A9 EA + sta ZpB1 ; CPU:$C71F PRG:071F 85 B1 +; ----------------------------------------------------------------------------- +; Routine: Label_C721 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C721: + lda #$00 ; CPU:$C721 PRG:0721 A9 00 + sta Zp86 ; CPU:$C723 PRG:0723 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C725 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C725: + lda #$00 ; CPU:$C725 PRG:0725 A9 00 + sta Zp85 ; CPU:$C727 PRG:0727 85 85 + lda Zp86 ; CPU:$C729 PRG:0729 A5 86 + jsr Label_CC81C ; CPU:$C72B PRG:072B 20 1C C8 + jsr Label_CC84E ; CPU:$C72E PRG:072E 20 4E C8 + tax ; CPU:$C731 PRG:0731 AA + beq Label_C79E ; CPU:$C732 PRG:0732 F0 6A + dex ; CPU:$C734 PRG:0734 CA + beq Label_C785 ; CPU:$C735 PRG:0735 F0 4E + dex ; CPU:$C737 PRG:0737 CA + beq Label_C767 ; CPU:$C738 PRG:0738 F0 2D + jsr Label_CC860 ; CPU:$C73A PRG:073A 20 60 C8 + beq Label_C74D ; CPU:$C73D PRG:073D F0 0E + ldy #$00 ; CPU:$C73F PRG:073F A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C741 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C741: + jsr Label_CC844 ; CPU:$C741 PRG:0741 20 44 C8 + sta (Zp26),y ; CPU:$C744 PRG:0744 91 26 + iny ; CPU:$C746 PRG:0746 C8 + cpy #$1C ; CPU:$C747 PRG:0747 C0 1C + bne Label_C741 ; CPU:$C749 PRG:0749 D0 F6 + beq Label_C7C1 ; CPU:$C74B PRG:074B F0 74 +; ----------------------------------------------------------------------------- +; Routine: Label_C74D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C74D: + ldy #$00 ; CPU:$C74D PRG:074D A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C74F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C74F: + jsr Label_CC82F ; CPU:$C74F PRG:074F 20 2F C8 + cpy #$04 ; CPU:$C752 PRG:0752 C0 04 + bne Label_C74F ; CPU:$C754 PRG:0754 D0 F9 + ldy #$00 ; CPU:$C756 PRG:0756 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C758 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C758: + jsr Label_CC84E ; CPU:$C758 PRG:0758 20 4E C8 + tax ; CPU:$C75B PRG:075B AA + lda ZpB3,x ; CPU:$C75C PRG:075C B5 B3 + sta (Zp26),y ; CPU:$C75E PRG:075E 91 26 + iny ; CPU:$C760 PRG:0760 C8 + cpy #$1C ; CPU:$C761 PRG:0761 C0 1C + bne Label_C758 ; CPU:$C763 PRG:0763 D0 F3 + beq Label_C7C1 ; CPU:$C765 PRG:0765 F0 5A +; ----------------------------------------------------------------------------- +; Routine: Label_C767 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C767: + ldy #$00 ; CPU:$C767 PRG:0767 A0 00 + tya ; CPU:$C769 PRG:0769 98 +; ----------------------------------------------------------------------------- +; Routine: Label_C76A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C76A: + sta (Zp26),y ; CPU:$C76A PRG:076A 91 26 + iny ; CPU:$C76C PRG:076C C8 + cpy #$1C ; CPU:$C76D PRG:076D C0 1C + bne Label_C76A ; CPU:$C76F PRG:076F D0 F9 +; ----------------------------------------------------------------------------- +; Routine: Label_C771 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C771: + jsr Label_CC860 ; CPU:$C771 PRG:0771 20 60 C8 + beq Label_C7C1 ; CPU:$C774 PRG:0774 F0 4B + jsr Label_CC844 ; CPU:$C776 PRG:0776 20 44 C8 + sta ZpB3 ; CPU:$C779 PRG:0779 85 B3 + jsr Label_CC837 ; CPU:$C77B PRG:077B 20 37 C8 + tay ; CPU:$C77E PRG:077E A8 + lda ZpB3 ; CPU:$C77F PRG:077F A5 B3 + sta (Zp26),y ; CPU:$C781 PRG:0781 91 26 + bne Label_C771 ; CPU:$C783 PRG:0783 D0 EC +; ----------------------------------------------------------------------------- +; Routine: Label_C785 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C785: + ldy #$00 ; CPU:$C785 PRG:0785 A0 00 + jsr Label_CC82F ; CPU:$C787 PRG:0787 20 2F C8 + jsr Label_CC82F ; CPU:$C78A PRG:078A 20 2F C8 + ldy #$00 ; CPU:$C78D PRG:078D A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C78F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C78F: + jsr Label_CC860 ; CPU:$C78F PRG:078F 20 60 C8 + tax ; CPU:$C792 PRG:0792 AA + lda ZpB3,x ; CPU:$C793 PRG:0793 B5 B3 + sta (Zp26),y ; CPU:$C795 PRG:0795 91 26 + iny ; CPU:$C797 PRG:0797 C8 + cpy #$1C ; CPU:$C798 PRG:0798 C0 1C + bne Label_C78F ; CPU:$C79A PRG:079A D0 F3 + beq Label_C7C1 ; CPU:$C79C PRG:079C F0 23 +; ----------------------------------------------------------------------------- +; Routine: Label_C79E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C79E: + ldy #$00 ; CPU:$C79E PRG:079E A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C7A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7A0: + jsr Label_CC860 ; CPU:$C7A0 PRG:07A0 20 60 C8 + beq Label_C7B7 ; CPU:$C7A3 PRG:07A3 F0 12 + jsr Label_CC837 ; CPU:$C7A5 PRG:07A5 20 37 C8 + sta ZpB3 ; CPU:$C7A8 PRG:07A8 85 B3 + jsr Label_CC844 ; CPU:$C7AA PRG:07AA 20 44 C8 + ldx ZpB3 ; CPU:$C7AD PRG:07AD A6 B3 +; ----------------------------------------------------------------------------- +; Routine: Label_C7AF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7AF: + sta (Zp26),y ; CPU:$C7AF PRG:07AF 91 26 + iny ; CPU:$C7B1 PRG:07B1 C8 + dex ; CPU:$C7B2 PRG:07B2 CA + bne Label_C7AF ; CPU:$C7B3 PRG:07B3 D0 FA + beq Label_C7A0 ; CPU:$C7B5 PRG:07B5 F0 E9 +; ----------------------------------------------------------------------------- +; Routine: Label_C7B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7B7: + jsr Label_CC844 ; CPU:$C7B7 PRG:07B7 20 44 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_C7BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7BA: + sta (Zp26),y ; CPU:$C7BA PRG:07BA 91 26 + iny ; CPU:$C7BC PRG:07BC C8 + cpy #$1C ; CPU:$C7BD PRG:07BD C0 1C + bne Label_C7BA ; CPU:$C7BF PRG:07BF D0 F9 +; ----------------------------------------------------------------------------- +; Routine: Label_C7C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7C1: + inc Zp86 ; CPU:$C7C1 PRG:07C1 E6 86 + lda Zp86 ; CPU:$C7C3 PRG:07C3 A5 86 + cmp #$0E ; CPU:$C7C5 PRG:07C5 C9 0E + beq Label_C7CC ; CPU:$C7C7 PRG:07C7 F0 03 + jmp Label_CC725 ; CPU:$C7C9 PRG:07C9 4C 25 C7 +; ----------------------------------------------------------------------------- +; Routine: Label_C7CC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7CC: + jsr Label_CC844 ; CPU:$C7CC PRG:07CC 20 44 C8 + sta ZpB3 ; CPU:$C7CF PRG:07CF 85 B3 +; ----------------------------------------------------------------------------- +; Routine: Label_C7D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7D1: + jsr Label_CC837 ; CPU:$C7D1 PRG:07D1 20 37 C8 + sta Zp85 ; CPU:$C7D4 PRG:07D4 85 85 + jsr Label_CC837 ; CPU:$C7D6 PRG:07D6 20 37 C8 + jsr Label_CC81C ; CPU:$C7D9 PRG:07D9 20 1C C8 + ldy Zp85 ; CPU:$C7DC PRG:07DC A4 85 + lda #$08 ; CPU:$C7DE PRG:07DE A9 08 + sta (Zp26),y ; CPU:$C7E0 PRG:07E0 91 26 + dec ZpB3 ; CPU:$C7E2 PRG:07E2 C6 B3 + bne Label_C7D1 ; CPU:$C7E4 PRG:07E4 D0 EB + jsr Label_CC837 ; CPU:$C7E6 PRG:07E6 20 37 C8 + sta Zp85 ; CPU:$C7E9 PRG:07E9 85 85 + jsr Label_CC837 ; CPU:$C7EB PRG:07EB 20 37 C8 + jsr Label_CC81C ; CPU:$C7EE PRG:07EE 20 1C C8 + ldy Zp85 ; CPU:$C7F1 PRG:07F1 A4 85 + lda #$09 ; CPU:$C7F3 PRG:07F3 A9 09 + sta (Zp26),y ; CPU:$C7F5 PRG:07F5 91 26 + dec ZpC1 ; CPU:$C7F7 PRG:07F7 C6 C1 + beq Label_C7FE ; CPU:$C7F9 PRG:07F9 F0 03 + jmp Label_CC721 ; CPU:$C7FB PRG:07FB 4C 21 C7 +; ----------------------------------------------------------------------------- +; Routine: Label_C7FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C7FE: + lda #$00 ; CPU:$C7FE PRG:07FE A9 00 + sta Zp86 ; CPU:$C800 PRG:0800 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C802 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C802: + lda Zp86 ; CPU:$C802 PRG:0802 A5 86 + jsr Label_CC81C ; CPU:$C804 PRG:0804 20 1C C8 + ldy #$00 ; CPU:$C807 PRG:0807 A0 00 + ldx #$1C ; CPU:$C809 PRG:0809 A2 1C +; ----------------------------------------------------------------------------- +; Routine: Label_C80B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C80B: + lda (Zp26),y ; CPU:$C80B PRG:080B B1 26 + sta (Zp28),y ; CPU:$C80D PRG:080D 91 28 + iny ; CPU:$C80F PRG:080F C8 + dex ; CPU:$C810 PRG:0810 CA + bne Label_C80B ; CPU:$C811 PRG:0811 D0 F8 + inc Zp86 ; CPU:$C813 PRG:0813 E6 86 + lda Zp86 ; CPU:$C815 PRG:0815 A5 86 + cmp #$0E ; CPU:$C817 PRG:0817 C9 0E + bne Label_C802 ; CPU:$C819 PRG:0819 D0 E7 + rts ; CPU:$C81B PRG:081B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C81C: + tay ; CPU:$C81C PRG:081C A8 +; ----------------------------------------------------------------------------- +; Routine: Label_C81D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C81D: + lda $C688,y ; CPU:$C81D PRG:081D B9 88 C6 + sta Zp26 ; CPU:$C820 PRG:0820 85 26 + sta Zp28 ; CPU:$C822 PRG:0822 85 28 + lda $C696,y ; CPU:$C824 PRG:0824 B9 96 C6 + sta Zp27 ; CPU:$C827 PRG:0827 85 27 + lda $C6A4,y ; CPU:$C829 PRG:0829 B9 A4 C6 + sta Zp29 ; CPU:$C82C PRG:082C 85 29 + rts ; CPU:$C82E PRG:082E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C82F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C82F: + jsr Label_CC844 ; CPU:$C82F PRG:082F 20 44 C8 + sta a:$00B3,y ; CPU:$C832 PRG:0832 99 B3 00 + iny ; CPU:$C835 PRG:0835 C8 + rts ; CPU:$C836 PRG:0836 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C837 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C837: + lda #$00 ; CPU:$C837 PRG:0837 A9 00 + sta ZpAF ; CPU:$C839 PRG:0839 85 AF + jsr Label_CC855 ; CPU:$C83B PRG:083B 20 55 C8 + jsr Label_CC855 ; CPU:$C83E PRG:083E 20 55 C8 + jmp Label_CC848 ; CPU:$C841 PRG:0841 4C 48 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_C844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C844: + lda #$00 ; CPU:$C844 PRG:0844 A9 00 + sta ZpAF ; CPU:$C846 PRG:0846 85 AF +; ----------------------------------------------------------------------------- +; Routine: Label_C848 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C848: + jsr Label_CC855 ; CPU:$C848 PRG:0848 20 55 C8 + jmp Label_CC852 ; CPU:$C84B PRG:084B 4C 52 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_C84E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C84E: + lda #$00 ; CPU:$C84E PRG:084E A9 00 + sta ZpAF ; CPU:$C850 PRG:0850 85 AF +; ----------------------------------------------------------------------------- +; Routine: Label_C852 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C852: + jsr Label_CC855 ; CPU:$C852 PRG:0852 20 55 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_C855 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C855: + asl ZpAF ; CPU:$C855 PRG:0855 06 AF + jsr Label_CC860 ; CPU:$C857 PRG:0857 20 60 C8 + clc ; CPU:$C85A PRG:085A 18 + adc ZpAF ; CPU:$C85B PRG:085B 65 AF + sta ZpAF ; CPU:$C85D PRG:085D 85 AF + rts ; CPU:$C85F PRG:085F 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C860 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C860: + ldx Zp95 ; CPU:$C860 PRG:0860 A6 95 + sty ZpB2 ; CPU:$C862 PRG:0862 84 B2 + ldy #$00 ; CPU:$C864 PRG:0864 A0 00 + lda (ZpB0),y ; CPU:$C866 PRG:0866 B1 B0 + and $C887,x ; CPU:$C868 PRG:0868 3D 87 C8 + beq Label_C86F ; CPU:$C86B PRG:086B F0 02 + lda #$01 ; CPU:$C86D PRG:086D A9 01 +; ----------------------------------------------------------------------------- +; Routine: Label_C86F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C86F: + pha ; CPU:$C86F PRG:086F 48 + inx ; CPU:$C870 PRG:0870 E8 + stx Zp95 ; CPU:$C871 PRG:0871 86 95 + cpx #$08 ; CPU:$C873 PRG:0873 E0 08 + beq Label_C87B ; CPU:$C875 PRG:0875 F0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_C877 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C877: + ldy ZpB2 ; CPU:$C877 PRG:0877 A4 B2 + pla ; CPU:$C879 PRG:0879 68 + rts ; CPU:$C87A PRG:087A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C87B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C87B: + lda #$00 ; CPU:$C87B PRG:087B A9 00 + sta Zp95 ; CPU:$C87D PRG:087D 85 95 + inc ZpB0 ; CPU:$C87F PRG:087F E6 B0 + bne Label_C877 ; CPU:$C881 PRG:0881 D0 F4 + inc ZpB1 ; CPU:$C883 PRG:0883 E6 B1 + bne Label_C877 ; CPU:$C885 PRG:0885 D0 F0 +; ---- data $C887-$C88E (8 bytes) ---- +; referenced by `and $C887,x` at $C868 (operand $C887 falls inside this region) + .byte $80, $40, $20, $10, $08, $04, $02, $01 ; CPU:$C887 PRG:0887 80 40 20 10 08 04 02 01 +; ----------------------------------------------------------------------------- +; Routine: Label_C88F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C88F: + jsr Label_CC298 ; CPU:$C88F PRG:088F 20 98 C2 + ldx #$0C ; CPU:$C892 PRG:0892 A2 0C + stx Zp20 ; CPU:$C894 PRG:0894 86 20 + ldx #$07 ; CPU:$C896 PRG:0896 A2 07 + stx Zp21 ; CPU:$C898 PRG:0898 86 21 + ldx #$00 ; CPU:$C89A PRG:089A A2 00 + stx ZpC4 ; CPU:$C89C PRG:089C 86 C4 + stx ZpC5 ; CPU:$C89E PRG:089E 86 C5 + stx ZpC6 ; CPU:$C8A0 PRG:08A0 86 C6 + stx ZpA3 ; CPU:$C8A2 PRG:08A2 86 A3 + stx Zp93 ; CPU:$C8A4 PRG:08A4 86 93 + stx Zp8D ; CPU:$C8A6 PRG:08A6 86 8D + stx Zp39 ; CPU:$C8A8 PRG:08A8 86 39 + stx Zp9C ; CPU:$C8AA PRG:08AA 86 9C + stx ZpA0 ; CPU:$C8AC PRG:08AC 86 A0 + stx Zp92 ; CPU:$C8AE PRG:08AE 86 92 + stx Zp3A ; CPU:$C8B0 PRG:08B0 86 3A + stx Zp86 ; CPU:$C8B2 PRG:08B2 86 86 + txa ; CPU:$C8B4 PRG:08B4 8A + ldx #$1E ; CPU:$C8B5 PRG:08B5 A2 1E +; ----------------------------------------------------------------------------- +; Routine: Label_C8B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8B7: + sta $06E0,x ; CPU:$C8B7 PRG:08B7 9D E0 06 + dex ; CPU:$C8BA PRG:08BA CA + bpl Label_C8B7 ; CPU:$C8BB PRG:08BB 10 FA + ldx #$03 ; CPU:$C8BD PRG:08BD A2 03 +; ----------------------------------------------------------------------------- +; Routine: Label_C8BF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8BF: + sta $0698,x ; CPU:$C8BF PRG:08BF 9D 98 06 + dex ; CPU:$C8C2 PRG:08C2 CA + bpl Label_C8BF ; CPU:$C8C3 PRG:08C3 10 FA + lda #$01 ; CPU:$C8C5 PRG:08C5 A9 01 + sta Zp9A ; CPU:$C8C7 PRG:08C7 85 9A + ldy #$0D ; CPU:$C8C9 PRG:08C9 A0 0D + sty Zp86 ; CPU:$C8CB PRG:08CB 84 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C8CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8CD: + jsr Label_CC81D ; CPU:$C8CD PRG:08CD 20 1D C8 + ldy #$1B ; CPU:$C8D0 PRG:08D0 A0 1B + sty Zp85 ; CPU:$C8D2 PRG:08D2 84 85 +; ----------------------------------------------------------------------------- +; Routine: Label_C8D4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8D4: + lda (Zp26),y ; CPU:$C8D4 PRG:08D4 B1 26 + cmp #$06 ; CPU:$C8D6 PRG:08D6 C9 06 + bne Label_C8F2 ; CPU:$C8D8 PRG:08D8 D0 18 + ldx ZpA3 ; CPU:$C8DA PRG:08DA A6 A3 + cpx #$2D ; CPU:$C8DC PRG:08DC E0 2D + bcs Label_C8EC ; CPU:$C8DE PRG:08DE B0 0C + inc ZpA3 ; CPU:$C8E0 PRG:08E0 E6 A3 + inx ; CPU:$C8E2 PRG:08E2 E8 + lda Zp86 ; CPU:$C8E3 PRG:08E3 A5 86 + sta $0630,x ; CPU:$C8E5 PRG:08E5 9D 30 06 + tya ; CPU:$C8E8 PRG:08E8 98 + sta $0600,x ; CPU:$C8E9 PRG:08E9 9D 00 06 +; ----------------------------------------------------------------------------- +; Routine: Label_C8EC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8EC: + lda #$00 ; CPU:$C8EC PRG:08EC A9 00 + sta (Zp26),y ; CPU:$C8EE PRG:08EE 91 26 + sta (Zp28),y ; CPU:$C8F0 PRG:08F0 91 28 +; ----------------------------------------------------------------------------- +; Routine: Label_C8F2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8F2: + cmp #$07 ; CPU:$C8F2 PRG:08F2 C9 07 + bne Label_C8F8 ; CPU:$C8F4 PRG:08F4 D0 02 + inc Zp93 ; CPU:$C8F6 PRG:08F6 E6 93 +; ----------------------------------------------------------------------------- +; Routine: Label_C8F8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C8F8: + cmp #$08 ; CPU:$C8F8 PRG:08F8 C9 08 + bne Label_C923 ; CPU:$C8FA PRG:08FA D0 27 + ldx Zp8D ; CPU:$C8FC PRG:08FC A6 8D + cpx #$03 ; CPU:$C8FE PRG:08FE E0 03 + bcs Label_C8EC ; CPU:$C900 PRG:0900 B0 EA + inc Zp8D ; CPU:$C902 PRG:0902 E6 8D + inx ; CPU:$C904 PRG:0904 E8 + tya ; CPU:$C905 PRG:0905 98 + sta $0660,x ; CPU:$C906 PRG:0906 9D 60 06 + lda Zp86 ; CPU:$C909 PRG:0909 A5 86 + sta $0668,x ; CPU:$C90B PRG:090B 9D 68 06 + lda #$00 ; CPU:$C90E PRG:090E A9 00 + sta $0670,x ; CPU:$C910 PRG:0910 9D 70 06 + lda #$1C ; CPU:$C913 PRG:0913 A9 1C + sta $0688,x ; CPU:$C915 PRG:0915 9D 88 06 + lda #$03 ; CPU:$C918 PRG:0918 A9 03 + sta $0678,x ; CPU:$C91A PRG:091A 9D 78 06 + sta $0680,x ; CPU:$C91D PRG:091D 9D 80 06 + jmp Label_CC937 ; CPU:$C920 PRG:0920 4C 37 C9 +; ----------------------------------------------------------------------------- +; Routine: Label_C923 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C923: + cmp #$09 ; CPU:$C923 PRG:0923 C9 09 + bne Label_C93B ; CPU:$C925 PRG:0925 D0 14 + sty Zp20 ; CPU:$C927 PRG:0927 84 20 + ldx Zp86 ; CPU:$C929 PRG:0929 A6 86 + stx Zp21 ; CPU:$C92B PRG:092B 86 21 + ldx #$03 ; CPU:$C92D PRG:092D A2 03 + stx Zp22 ; CPU:$C92F PRG:092F 86 22 + stx Zp23 ; CPU:$C931 PRG:0931 86 23 + ldx #$00 ; CPU:$C933 PRG:0933 A2 00 + stx Zp24 ; CPU:$C935 PRG:0935 86 24 +; ----------------------------------------------------------------------------- +; Routine: Label_C937 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C937: + lda #$00 ; CPU:$C937 PRG:0937 A9 00 + sta (Zp28),y ; CPU:$C939 PRG:0939 91 28 +; ----------------------------------------------------------------------------- +; Routine: Label_C93B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C93B: + dec Zp85 ; CPU:$C93B PRG:093B C6 85 + ldy Zp85 ; CPU:$C93D PRG:093D A4 85 + bpl Label_C8D4 ; CPU:$C93F PRG:093F 10 93 + dec Zp86 ; CPU:$C941 PRG:0941 C6 86 + ldy Zp86 ; CPU:$C943 PRG:0943 A4 86 + bmi Label_C94A ; CPU:$C945 PRG:0945 30 03 + jmp Label_CC8CD ; CPU:$C947 PRG:0947 4C CD C8 +; ----------------------------------------------------------------------------- +; Routine: Label_C94A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C94A: + rts ; CPU:$C94A PRG:094A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C94B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C94B: + lda #$1C ; CPU:$C94B PRG:094B A9 1C + sta Zp85 ; CPU:$C94D PRG:094D 85 85 + lda #$0E ; CPU:$C94F PRG:094F A9 0E + sta Zp86 ; CPU:$C951 PRG:0951 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C953 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C953: + lda #$02 ; CPU:$C953 PRG:0953 A9 02 + jsr Label_CCA1C ; CPU:$C955 PRG:0955 20 1C CA + dec Zp85 ; CPU:$C958 PRG:0958 C6 85 + bpl Label_C953 ; CPU:$C95A PRG:095A 10 F7 + lda #$0E ; CPU:$C95C PRG:095C A9 0E + sta Zp86 ; CPU:$C95E PRG:095E 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C960 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C960: + lda #$02 ; CPU:$C960 PRG:0960 A9 02 + jsr Label_CCA1C ; CPU:$C962 PRG:0962 20 1C CA + dec Zp86 ; CPU:$C965 PRG:0965 C6 86 + bpl Label_C960 ; CPU:$C967 PRG:0967 10 F7 + lda #$1C ; CPU:$C969 PRG:0969 A9 1C + sta Zp85 ; CPU:$C96B PRG:096B 85 85 + lda #$0D ; CPU:$C96D PRG:096D A9 0D + sta Zp86 ; CPU:$C96F PRG:096F 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C971 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C971: + lda #$02 ; CPU:$C971 PRG:0971 A9 02 + jsr Label_CCA1C ; CPU:$C973 PRG:0973 20 1C CA + dec Zp86 ; CPU:$C976 PRG:0976 C6 86 + bpl Label_C971 ; CPU:$C978 PRG:0978 10 F7 + rts ; CPU:$C97A PRG:097A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_C97B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C97B: + jsr Label_CC2BC ; CPU:$C97B PRG:097B 20 BC C2 + jsr Label_CC287 ; CPU:$C97E PRG:097E 20 87 C2 + jsr Label_CC94B ; CPU:$C981 PRG:0981 20 4B C9 + lda #$6C ; CPU:$C984 PRG:0984 A9 6C + sta Zp2A ; CPU:$C986 PRG:0986 85 2A + lda #$05 ; CPU:$C988 PRG:0988 A9 05 + sta Zp2B ; CPU:$C98A PRG:098A 85 2B + lda #$0D ; CPU:$C98C PRG:098C A9 0D + sta Zp86 ; CPU:$C98E PRG:098E 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_C990 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C990: + lda #$1B ; CPU:$C990 PRG:0990 A9 1B + sta Zp85 ; CPU:$C992 PRG:0992 85 85 +; ----------------------------------------------------------------------------- +; Routine: Label_C994 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C994: + ldy Zp85 ; CPU:$C994 PRG:0994 A4 85 + lda (Zp2A),y ; CPU:$C996 PRG:0996 B1 2A + cmp #$05 ; CPU:$C998 PRG:0998 C9 05 + bne Label_C99E ; CPU:$C99A PRG:099A D0 02 + lda #$01 ; CPU:$C99C PRG:099C A9 01 +; ----------------------------------------------------------------------------- +; Routine: Label_C99E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C99E: + jsr Label_CCA1C ; CPU:$C99E PRG:099E 20 1C CA + dec Zp85 ; CPU:$C9A1 PRG:09A1 C6 85 + bpl Label_C994 ; CPU:$C9A3 PRG:09A3 10 EF + lda Zp2A ; CPU:$C9A5 PRG:09A5 A5 2A + sec ; CPU:$C9A7 PRG:09A7 38 + sbc #$1C ; CPU:$C9A8 PRG:09A8 E9 1C + sta Zp2A ; CPU:$C9AA PRG:09AA 85 2A + lda Zp2B ; CPU:$C9AC PRG:09AC A5 2B + sbc #$00 ; CPU:$C9AE PRG:09AE E9 00 + sta Zp2B ; CPU:$C9B0 PRG:09B0 85 2B + dec Zp86 ; CPU:$C9B2 PRG:09B2 C6 86 + bpl Label_C990 ; CPU:$C9B4 PRG:09B4 10 DA + lda #$00 ; CPU:$C9B6 PRG:09B6 A9 00 + sta Zp04 ; CPU:$C9B8 PRG:09B8 85 04 + sta Zp05 ; CPU:$C9BA PRG:09BA 85 05 + sta $2005 ; CPU:$C9BC PRG:09BC 8D 05 20 + sta $2005 ; CPU:$C9BF PRG:09BF 8D 05 20 + jsr Label_CC298 ; CPU:$C9C2 PRG:09C2 20 98 C2 + jsr Label_CC2B3 ; CPU:$C9C5 PRG:09C5 20 B3 C2 + jsr Label_CE21E ; CPU:$C9C8 PRG:09C8 20 1E E2 + jsr Label_CC274 ; CPU:$C9CB PRG:09CB 20 74 C2 + lda ZpA7 ; CPU:$C9CE PRG:09CE A5 A7 + cmp #$02 ; CPU:$C9D0 PRG:09D0 C9 02 + beq Label_CA16 ; CPU:$C9D2 PRG:09D2 F0 42 + jsr Label_CCA2F ; CPU:$C9D4 PRG:09D4 20 2F CA + jsr Label_CCA16 ; CPU:$C9D7 PRG:09D7 20 16 CA +; ----------------------------------------------------------------------------- +; Routine: Label_C9DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C9DA: + lda Zp06 ; CPU:$C9DA PRG:09DA A5 06 + and #$20 ; CPU:$C9DC PRG:09DC 29 20 + bne Label_CA15 ; CPU:$C9DE PRG:09DE D0 35 + jsr Label_CCA2F ; CPU:$C9E0 PRG:09E0 20 2F CA + jsr Label_CCA26 ; CPU:$C9E3 PRG:09E3 20 26 CA + inc Zp04 ; CPU:$C9E6 PRG:09E6 E6 04 + lda Zp04 ; CPU:$C9E8 PRG:09E8 A5 04 + cmp #$D8 ; CPU:$C9EA PRG:09EA C9 D8 + bne Label_C9DA ; CPU:$C9EC PRG:09EC D0 EC + lda Zp20 ; CPU:$C9EE PRG:09EE A5 20 + cmp #$16 ; CPU:$C9F0 PRG:09F0 C9 16 + bcs Label_CA16 ; CPU:$C9F2 PRG:09F2 B0 22 + sec ; CPU:$C9F4 PRG:09F4 38 + sbc #$0A ; CPU:$C9F5 PRG:09F5 E9 0A + bcs Label_C9FB ; CPU:$C9F7 PRG:09F7 B0 02 + lda #$00 ; CPU:$C9F9 PRG:09F9 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_C9FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_C9FB: + asl a ; CPU:$C9FB PRG:09FB 0A + asl a ; CPU:$C9FC PRG:09FC 0A + asl a ; CPU:$C9FD PRG:09FD 0A + asl a ; CPU:$C9FE PRG:09FE 0A + sta ZpD7 ; CPU:$C9FF PRG:09FF 85 D7 +; ----------------------------------------------------------------------------- +; Routine: Label_CA01 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA01: + lda Zp06 ; CPU:$CA01 PRG:0A01 A5 06 + and #$20 ; CPU:$CA03 PRG:0A03 29 20 + bne Label_CA15 ; CPU:$CA05 PRG:0A05 D0 0E + jsr Label_CCA2F ; CPU:$CA07 PRG:0A07 20 2F CA + jsr Label_CCA26 ; CPU:$CA0A PRG:0A0A 20 26 CA + dec Zp04 ; CPU:$CA0D PRG:0A0D C6 04 + lda Zp04 ; CPU:$CA0F PRG:0A0F A5 04 + cmp ZpD7 ; CPU:$CA11 PRG:0A11 C5 D7 + bne Label_CA01 ; CPU:$CA13 PRG:0A13 D0 EC +; ----------------------------------------------------------------------------- +; Routine: Label_CA15 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA15: + rts ; CPU:$CA15 PRG:0A15 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CA16 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA16: + jsr Label_CC2A8 ; CPU:$CA16 PRG:0A16 20 A8 C2 + jmp Label_CC292 ; CPU:$CA19 PRG:0A19 4C 92 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_CA1C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA1C: + jsr Label_CCA7C ; CPU:$CA1C PRG:0A1C 20 7C CA + jmp Label_CC18E ; CPU:$CA1F PRG:0A1F 4C 8E C1 +; ----------------------------------------------------------------------------- +; Routine: Label_CA22 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA22: + ldy #$00 ; CPU:$CA22 PRG:0A22 A0 00 + beq Label_CA28 ; CPU:$CA24 PRG:0A24 F0 02 +; ----------------------------------------------------------------------------- +; Routine: Label_CA26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA26: + ldy #$0F ; CPU:$CA26 PRG:0A26 A0 0F +; ----------------------------------------------------------------------------- +; Routine: Label_CA28 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA28: + dex ; CPU:$CA28 PRG:0A28 CA + bne Label_CA28 ; CPU:$CA29 PRG:0A29 D0 FD + dey ; CPU:$CA2B PRG:0A2B 88 + bne Label_CA28 ; CPU:$CA2C PRG:0A2C D0 FA +; ----------------------------------------------------------------------------- +; Routine: Label_CA2E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA2E: + rts ; CPU:$CA2E PRG:0A2E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CA2F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA2F: + ldx Zp8D ; CPU:$CA2F PRG:0A2F A6 8D + beq Label_CA2E ; CPU:$CA31 PRG:0A31 F0 FB + stx Zp39 ; CPU:$CA33 PRG:0A33 86 39 +; ----------------------------------------------------------------------------- +; Routine: Label_CA35 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA35: + jsr Label_CDBDE ; CPU:$CA35 PRG:0A35 20 DE DB + jsr Label_CDC93 ; CPU:$CA38 PRG:0A38 20 93 DC + dec Zp39 ; CPU:$CA3B PRG:0A3B C6 39 + bne Label_CA35 ; CPU:$CA3D PRG:0A3D D0 F6 + lda #$00 ; CPU:$CA3F PRG:0A3F A9 00 + sta Zp34 ; CPU:$CA41 PRG:0A41 85 34 + lda Zp20 ; CPU:$CA43 PRG:0A43 A5 20 + sta Zp32 ; CPU:$CA45 PRG:0A45 85 32 + lda Zp21 ; CPU:$CA47 PRG:0A47 A5 21 + sta Zp33 ; CPU:$CA49 PRG:0A49 85 33 + lda #$FF ; CPU:$CA4B PRG:0A4B A9 FF + sta Zp39 ; CPU:$CA4D PRG:0A4D 85 39 + jsr Label_CDC86 ; CPU:$CA4F PRG:0A4F 20 86 DC + lda #$00 ; CPU:$CA52 PRG:0A52 A9 00 + sta Zp39 ; CPU:$CA54 PRG:0A54 85 39 + rts ; CPU:$CA56 PRG:0A56 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CA57 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA57: + lda Zp39 ; CPU:$CA57 PRG:0A57 A5 39 + pha ; CPU:$CA59 PRG:0A59 48 + lda Zp75 ; CPU:$CA5A PRG:0A5A A5 75 + clc ; CPU:$CA5C PRG:0A5C 18 + adc #$30 ; CPU:$CA5D PRG:0A5D 69 30 + sta Zp34 ; CPU:$CA5F PRG:0A5F 85 34 + lda #$03 ; CPU:$CA61 PRG:0A61 A9 03 + sta Zp37 ; CPU:$CA63 PRG:0A63 85 37 + sta Zp38 ; CPU:$CA65 PRG:0A65 85 38 + lda Zp73 ; CPU:$CA67 PRG:0A67 A5 73 + sta Zp32 ; CPU:$CA69 PRG:0A69 85 32 + lda Zp74 ; CPU:$CA6B PRG:0A6B A5 74 + sta Zp33 ; CPU:$CA6D PRG:0A6D 85 33 + lda #$00 ; CPU:$CA6F PRG:0A6F A9 00 + sta Zp39 ; CPU:$CA71 PRG:0A71 85 39 + sta Zp35 ; CPU:$CA73 PRG:0A73 85 35 + jsr Label_CDC79 ; CPU:$CA75 PRG:0A75 20 79 DC + pla ; CPU:$CA78 PRG:0A78 68 + sta Zp39 ; CPU:$CA79 PRG:0A79 85 39 + rts ; CPU:$CA7B PRG:0A7B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CA7C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA7C: + tax ; CPU:$CA7C PRG:0A7C AA + pha ; CPU:$CA7D PRG:0A7D 48 + lda $CB09,x ; CPU:$CA7E PRG:0A7E BD 09 CB + sta Zp0F ; CPU:$CA81 PRG:0A81 85 0F + lda #$00 ; CPU:$CA83 PRG:0A83 A9 00 + sta Zp08 ; CPU:$CA85 PRG:0A85 85 08 + lda Zp85 ; CPU:$CA87 PRG:0A87 A5 85 + cmp #$FF ; CPU:$CA89 PRG:0A89 C9 FF + beq Label_CA9C ; CPU:$CA8B PRG:0A8B F0 0F + cmp #$0F ; CPU:$CA8D PRG:0A8D C9 0F + bcc Label_CA9C ; CPU:$CA8F PRG:0A8F 90 0B + pha ; CPU:$CA91 PRG:0A91 48 + lda #$04 ; CPU:$CA92 PRG:0A92 A9 04 + sta Zp08 ; CPU:$CA94 PRG:0A94 85 08 + pla ; CPU:$CA96 PRG:0A96 68 + sbc #$0F ; CPU:$CA97 PRG:0A97 E9 0F + jmp Label_CCA9F ; CPU:$CA99 PRG:0A99 4C 9F CA +; ----------------------------------------------------------------------------- +; Routine: Label_CA9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA9C: + clc ; CPU:$CA9C PRG:0A9C 18 + adc #$01 ; CPU:$CA9D PRG:0A9D 69 01 +; ----------------------------------------------------------------------------- +; Routine: Label_CA9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CA9F: + asl a ; CPU:$CA9F PRG:0A9F 0A + sta Zp12 ; CPU:$CAA0 PRG:0AA0 85 12 + lda Zp86 ; CPU:$CAA2 PRG:0AA2 A5 86 + asl a ; CPU:$CAA4 PRG:0AA4 0A + sta Zp13 ; CPU:$CAA5 PRG:0AA5 85 13 + jsr Label_CCAD2 ; CPU:$CAA7 PRG:0AA7 20 D2 CA + lda #$01 ; CPU:$CAAA PRG:0AAA A9 01 + sta Zp0A ; CPU:$CAAC PRG:0AAC 85 0A + lda Zp13 ; CPU:$CAAE PRG:0AAE A5 13 + ldx #$05 ; CPU:$CAB0 PRG:0AB0 A2 05 +; ----------------------------------------------------------------------------- +; Routine: Label_CAB2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CAB2: + asl a ; CPU:$CAB2 PRG:0AB2 0A + rol Zp0A ; CPU:$CAB3 PRG:0AB3 26 0A + dex ; CPU:$CAB5 PRG:0AB5 CA + bne Label_CAB2 ; CPU:$CAB6 PRG:0AB6 D0 FA + clc ; CPU:$CAB8 PRG:0AB8 18 + adc Zp12 ; CPU:$CAB9 PRG:0AB9 65 12 + sta Zp09 ; CPU:$CABB PRG:0ABB 85 09 + bcc Label_CAC1 ; CPU:$CABD PRG:0ABD 90 02 + inc Zp0A ; CPU:$CABF PRG:0ABF E6 0A +; ----------------------------------------------------------------------------- +; Routine: Label_CAC1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CAC1: + pla ; CPU:$CAC1 PRG:0AC1 68 + cmp #$18 ; CPU:$CAC2 PRG:0AC2 C9 18 + bne Label_CACA ; CPU:$CAC4 PRG:0AC4 D0 04 + lda #$5C ; CPU:$CAC6 PRG:0AC6 A9 5C + bne Label_CACF ; CPU:$CAC8 PRG:0AC8 D0 05 +; ----------------------------------------------------------------------------- +; Routine: Label_CACA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CACA: + asl a ; CPU:$CACA PRG:0ACA 0A + asl a ; CPU:$CACB PRG:0ACB 0A + clc ; CPU:$CACC PRG:0ACC 18 + adc #$60 ; CPU:$CACD PRG:0ACD 69 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CACF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CACF: + sta Zp0B ; CPU:$CACF PRG:0ACF 85 0B + rts ; CPU:$CAD1 PRG:0AD1 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CAD2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CAD2: + lda Zp13 ; CPU:$CAD2 PRG:0AD2 A5 13 + and #$FC ; CPU:$CAD4 PRG:0AD4 29 FC + asl a ; CPU:$CAD6 PRG:0AD6 0A + sta Zp0C ; CPU:$CAD7 PRG:0AD7 85 0C + lda Zp12 ; CPU:$CAD9 PRG:0AD9 A5 12 + lsr a ; CPU:$CADB PRG:0ADB 4A + lsr a ; CPU:$CADC PRG:0ADC 4A + clc ; CPU:$CADD PRG:0ADD 18 + adc Zp0C ; CPU:$CADE PRG:0ADE 65 0C + adc #$C0 ; CPU:$CAE0 PRG:0AE0 69 C0 + sta Zp0C ; CPU:$CAE2 PRG:0AE2 85 0C + lda #$23 ; CPU:$CAE4 PRG:0AE4 A9 23 + sta Zp0D ; CPU:$CAE6 PRG:0AE6 85 0D + lda #$02 ; CPU:$CAE8 PRG:0AE8 A9 02 + and Zp13 ; CPU:$CAEA PRG:0AEA 25 13 + sta Zp16 ; CPU:$CAEC PRG:0AEC 85 16 + lda Zp12 ; CPU:$CAEE PRG:0AEE A5 12 + and #$03 ; CPU:$CAF0 PRG:0AF0 29 03 + lsr a ; CPU:$CAF2 PRG:0AF2 4A + clc ; CPU:$CAF3 PRG:0AF3 18 + adc Zp16 ; CPU:$CAF4 PRG:0AF4 65 16 + asl a ; CPU:$CAF6 PRG:0AF6 0A + pha ; CPU:$CAF7 PRG:0AF7 48 + lda #$FC ; CPU:$CAF8 PRG:0AF8 A9 FC + sta Zp0E ; CPU:$CAFA PRG:0AFA 85 0E + pla ; CPU:$CAFC PRG:0AFC 68 + tax ; CPU:$CAFD PRG:0AFD AA + beq Label_CB08 ; CPU:$CAFE PRG:0AFE F0 08 +; ----------------------------------------------------------------------------- +; Routine: Label_CB00 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB00: + asl Zp0F ; CPU:$CB00 PRG:0B00 06 0F + sec ; CPU:$CB02 PRG:0B02 38 + rol Zp0E ; CPU:$CB03 PRG:0B03 26 0E + dex ; CPU:$CB05 PRG:0B05 CA + bne Label_CB00 ; CPU:$CB06 PRG:0B06 D0 F8 +; ----------------------------------------------------------------------------- +; Routine: Label_CB08 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB08: + rts ; CPU:$CB08 PRG:0B08 60 +; ---- data $CB09-$CB21 (25 bytes) ---- +; referenced by `lda $CB09,x` at $CA7E (operand $CB09 falls inside this region) + .byte $01, $01, $01, $02, $02, $01, $02, $03, $00, $00, $01, $01, $01, $01, $01, $02 ; CPU:$CB09 PRG:0B09 01 01 01 02 02 01 02 03 00 00 01 01 01 01 01 02 + .byte $02, $02, $02, $02, $01, $01, $01, $01, $00 ; CPU:$CB19 PRG:0B19 02 02 02 02 01 01 01 01 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CB22 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB22: + jsr Label_CE242 ; CPU:$CB22 PRG:0B22 20 42 E2 + lda #$05 ; CPU:$CB25 PRG:0B25 A9 05 + sta ZpBE ; CPU:$CB27 PRG:0B27 85 BE + lda #$06 ; CPU:$CB29 PRG:0B29 A9 06 + sta ZpB8 ; CPU:$CB2B PRG:0B2B 85 B8 + lda #$00 ; CPU:$CB2D PRG:0B2D A9 00 + sta ZpC9 ; CPU:$CB2F PRG:0B2F 85 C9 + sta ZpCD ; CPU:$CB31 PRG:0B31 85 CD + sta ZpBF ; CPU:$CB33 PRG:0B33 85 BF + sta $0600 ; CPU:$CB35 PRG:0B35 8D 00 06 + lda ZpDC ; CPU:$CB38 PRG:0B38 A5 DC + cmp #$02 ; CPU:$CB3A PRG:0B3A C9 02 + bne Label_CB42 ; CPU:$CB3C PRG:0B3C D0 04 + sta Zp79 ; CPU:$CB3E PRG:0B3E 85 79 + inc ZpDC ; CPU:$CB40 PRG:0B40 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Label_CB42 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB42: + ldx ZpA3 ; CPU:$CB42 PRG:0B42 A6 A3 + stx ZpC2 ; CPU:$CB44 PRG:0B44 86 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_CB46 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB46: + ldx ZpC2 ; CPU:$CB46 PRG:0B46 A6 C2 + beq Label_CB84 ; CPU:$CB48 PRG:0B48 F0 3A + lda $0600,x ; CPU:$CB4A PRG:0B4A BD 00 06 + bmi Label_CB7F ; CPU:$CB4D PRG:0B4D 30 30 + sta Zp85 ; CPU:$CB4F PRG:0B4F 85 85 + lda $0630,x ; CPU:$CB51 PRG:0B51 BD 30 06 + sta Zp86 ; CPU:$CB54 PRG:0B54 85 86 + tay ; CPU:$CB56 PRG:0B56 A8 + jsr Label_CC81D ; CPU:$CB57 PRG:0B57 20 1D C8 + ldy Zp85 ; CPU:$CB5A PRG:0B5A A4 85 + lda (Zp28),y ; CPU:$CB5C PRG:0B5C B1 28 + bne Label_CB7A ; CPU:$CB5E PRG:0B5E D0 1A + lda #$03 ; CPU:$CB60 PRG:0B60 A9 03 + sta (Zp28),y ; CPU:$CB62 PRG:0B62 91 28 + lda (Zp26),y ; CPU:$CB64 PRG:0B64 B1 26 + bne Label_CB6C ; CPU:$CB66 PRG:0B66 D0 04 + lda #$03 ; CPU:$CB68 PRG:0B68 A9 03 + sta (Zp26),y ; CPU:$CB6A PRG:0B6A 91 26 +; ----------------------------------------------------------------------------- +; Routine: Label_CB6C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB6C: + lda #$03 ; CPU:$CB6C PRG:0B6C A9 03 + jsr Label_CD055 ; CPU:$CB6E PRG:0B6E 20 55 D0 + ldx ZpC2 ; CPU:$CB71 PRG:0B71 A6 C2 + lda #$FF ; CPU:$CB73 PRG:0B73 A9 FF + sta $0600,x ; CPU:$CB75 PRG:0B75 9D 00 06 + bmi Label_CB7F ; CPU:$CB78 PRG:0B78 30 05 +; ----------------------------------------------------------------------------- +; Routine: Label_CB7A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB7A: + lda #$01 ; CPU:$CB7A PRG:0B7A A9 01 + sta $0600 ; CPU:$CB7C PRG:0B7C 8D 00 06 +; ----------------------------------------------------------------------------- +; Routine: Label_CB7F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB7F: + dec ZpC2 ; CPU:$CB7F PRG:0B7F C6 C2 + jmp Label_CCB46 ; CPU:$CB81 PRG:0B81 4C 46 CB +; ----------------------------------------------------------------------------- +; Routine: Label_CB84 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB84: + lda $0600 ; CPU:$CB84 PRG:0B84 AD 00 06 + bne Label_CB8B ; CPU:$CB87 PRG:0B87 D0 02 + dec Zp93 ; CPU:$CB89 PRG:0B89 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Label_CB8B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB8B: + rts ; CPU:$CB8B PRG:0B8B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CB8C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB8C: + lda ZpDC ; CPU:$CB8C PRG:0B8C A5 DC + cmp #$03 ; CPU:$CB8E PRG:0B8E C9 03 + bcc Label_CB8B ; CPU:$CB90 PRG:0B90 90 F9 + lda Zp39 ; CPU:$CB92 PRG:0B92 A5 39 + pha ; CPU:$CB94 PRG:0B94 48 + jsr Label_CCA57 ; CPU:$CB95 PRG:0B95 20 57 CA + pla ; CPU:$CB98 PRG:0B98 68 + sta Zp39 ; CPU:$CB99 PRG:0B99 85 39 + inc ZpDC ; CPU:$CB9B PRG:0B9B E6 DC + bne Label_CB8B ; CPU:$CB9D PRG:0B9D D0 EC +; ----------------------------------------------------------------------------- +; Routine: Label_CB9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CB9F: + ldx #$10 ; CPU:$CB9F PRG:0B9F A2 10 + lda #$F8 ; CPU:$CBA1 PRG:0BA1 A9 F8 +; ----------------------------------------------------------------------------- +; Routine: Label_CBA3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CBA3: + sta $070F,x ; CPU:$CBA3 PRG:0BA3 9D 0F 07 + dex ; CPU:$CBA6 PRG:0BA6 CA + bne Label_CBA3 ; CPU:$CBA7 PRG:0BA7 D0 FA + rts ; CPU:$CBA9 PRG:0BA9 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CBAA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CBAA: + lda #$01 ; CPU:$CBAA PRG:0BAA A9 01 + sta Zp94 ; CPU:$CBAC PRG:0BAC 85 94 + lda Zp9C ; CPU:$CBAE PRG:0BAE A5 9C + beq Label_CBBA ; CPU:$CBB0 PRG:0BB0 F0 08 + bpl Label_CBB7 ; CPU:$CBB2 PRG:0BB2 10 03 + jmp Label_CCE98 ; CPU:$CBB4 PRG:0BB4 4C 98 CE +; ----------------------------------------------------------------------------- +; Routine: Label_CBB7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CBB7: + jmp Label_CCF29 ; CPU:$CBB7 PRG:0BB7 4C 29 CF +; ----------------------------------------------------------------------------- +; Routine: Label_CBBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CBBA: + ldy Zp21 ; CPU:$CBBA PRG:0BBA A4 21 + jsr Label_CD2EF ; CPU:$CBBC PRG:0BBC 20 EF D2 + ldy Zp20 ; CPU:$CBBF PRG:0BBF A4 20 + lda (Zp28),y ; CPU:$CBC1 PRG:0BC1 B1 28 + cmp #$03 ; CPU:$CBC3 PRG:0BC3 C9 03 + beq Label_CC03 ; CPU:$CBC5 PRG:0BC5 F0 3C + cmp #$04 ; CPU:$CBC7 PRG:0BC7 C9 04 + bne Label_CBD1 ; CPU:$CBC9 PRG:0BC9 D0 06 + lda Zp23 ; CPU:$CBCB PRG:0BCB A5 23 + cmp #$03 ; CPU:$CBCD PRG:0BCD C9 03 + beq Label_CC03 ; CPU:$CBCF PRG:0BCF F0 32 +; ----------------------------------------------------------------------------- +; Routine: Label_CBD1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CBD1: + lda Zp23 ; CPU:$CBD1 PRG:0BD1 A5 23 + cmp #$03 ; CPU:$CBD3 PRG:0BD3 C9 03 + bcc Label_CC06 ; CPU:$CBD5 PRG:0BD5 90 2F + ldy Zp21 ; CPU:$CBD7 PRG:0BD7 A4 21 + cpy #$0D ; CPU:$CBD9 PRG:0BD9 C0 0D + beq Label_CC03 ; CPU:$CBDB PRG:0BDB F0 26 + lda $C689,y ; CPU:$CBDD PRG:0BDD B9 89 C6 + sta Zp26 ; CPU:$CBE0 PRG:0BE0 85 26 + lda $C697,y ; CPU:$CBE2 PRG:0BE2 B9 97 C6 + sta Zp27 ; CPU:$CBE5 PRG:0BE5 85 27 + jsr Label_CDCB1 ; CPU:$CBE7 PRG:0BE7 20 B1 DC + jsr Label_CD30A ; CPU:$CBEA PRG:0BEA 20 0A D3 + cmp #$00 ; CPU:$CBED PRG:0BED C9 00 + beq Label_CC06 ; CPU:$CBEF PRG:0BEF F0 15 + cmp #$08 ; CPU:$CBF1 PRG:0BF1 C9 08 + beq Label_CC03 ; CPU:$CBF3 PRG:0BF3 F0 0E + lda (Zp28),y ; CPU:$CBF5 PRG:0BF5 B1 28 + cmp #$01 ; CPU:$CBF7 PRG:0BF7 C9 01 + beq Label_CC03 ; CPU:$CBF9 PRG:0BF9 F0 08 + cmp #$02 ; CPU:$CBFB PRG:0BFB C9 02 + beq Label_CC03 ; CPU:$CBFD PRG:0BFD F0 04 + cmp #$03 ; CPU:$CBFF PRG:0BFF C9 03 + bne Label_CC06 ; CPU:$CC01 PRG:0C01 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_CC03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC03: + jmp Label_CCC64 ; CPU:$CC03 PRG:0C03 4C 64 CC +; ----------------------------------------------------------------------------- +; Routine: Label_CC06 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC06: + lda Zp9B ; CPU:$CC06 PRG:0C06 A5 9B + beq Label_CC23 ; CPU:$CC08 PRG:0C08 F0 19 + jsr Label_CD305 ; CPU:$CC0A PRG:0C0A 20 05 D3 + beq Label_CC23 ; CPU:$CC0D PRG:0C0D F0 14 + lda #$BA ; CPU:$CC0F PRG:0C0F A9 BA + sta $4004 ; CPU:$CC11 PRG:0C11 8D 04 40 + lda #$F5 ; CPU:$CC14 PRG:0C14 A9 F5 + sta $4005 ; CPU:$CC16 PRG:0C16 8D 05 40 + lda #$20 ; CPU:$CC19 PRG:0C19 A9 20 + sta $4006 ; CPU:$CC1B PRG:0C1B 8D 06 40 + lda #$F0 ; CPU:$CC1E PRG:0C1E A9 F0 + sta $4007 ; CPU:$CC20 PRG:0C20 8D 07 40 +; ----------------------------------------------------------------------------- +; Routine: Label_CC23 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC23: + lda #$00 ; CPU:$CC23 PRG:0C23 A9 00 + sta Zp9B ; CPU:$CC25 PRG:0C25 85 9B + lda #$04 ; CPU:$CC27 PRG:0C27 A9 04 + ldx #$07 ; CPU:$CC29 PRG:0C29 A2 07 + jsr Label_CD067 ; CPU:$CC2B PRG:0C2B 20 67 D0 + jsr Label_CD213 ; CPU:$CC2E PRG:0C2E 20 13 D2 + inc Zp23 ; CPU:$CC31 PRG:0C31 E6 23 + lda Zp23 ; CPU:$CC33 PRG:0C33 A5 23 + cmp #$07 ; CPU:$CC35 PRG:0C35 C9 07 + bcs Label_CC3F ; CPU:$CC37 PRG:0C37 B0 06 + jsr Label_CCFDF ; CPU:$CC39 PRG:0C39 20 DF CF + jmp Label_CD097 ; CPU:$CC3C PRG:0C3C 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CC3F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC3F: + lda #$00 ; CPU:$CC3F PRG:0C3F A9 00 + sta Zp23 ; CPU:$CC41 PRG:0C41 85 23 + ldy Zp21 ; CPU:$CC43 PRG:0C43 A4 21 + jsr Label_CC81D ; CPU:$CC45 PRG:0C45 20 1D C8 + ldy Zp20 ; CPU:$CC48 PRG:0C48 A4 20 + lda (Zp28),y ; CPU:$CC4A PRG:0C4A B1 28 + cmp #$01 ; CPU:$CC4C PRG:0C4C C9 01 + bne Label_CC52 ; CPU:$CC4E PRG:0C4E D0 02 + lda #$00 ; CPU:$CC50 PRG:0C50 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CC52 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC52: + sta (Zp26),y ; CPU:$CC52 PRG:0C52 91 26 + inc Zp21 ; CPU:$CC54 PRG:0C54 E6 21 + ldy Zp21 ; CPU:$CC56 PRG:0C56 A4 21 + jsr Label_CD2FA ; CPU:$CC58 PRG:0C58 20 FA D2 + lda #$09 ; CPU:$CC5B PRG:0C5B A9 09 + ldy Zp20 ; CPU:$CC5D PRG:0C5D A4 20 + sta (Zp26),y ; CPU:$CC5F PRG:0C5F 91 26 + jmp Label_CD097 ; CPU:$CC61 PRG:0C61 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CC64 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC64: + lda Zp9B ; CPU:$CC64 PRG:0C64 A5 9B + bne Label_CC7D ; CPU:$CC66 PRG:0C66 D0 15 + ldy Zp20 ; CPU:$CC68 PRG:0C68 A4 20 + lda (Zp28),y ; CPU:$CC6A PRG:0C6A B1 28 + tax ; CPU:$CC6C PRG:0C6C AA + lda #$12 ; CPU:$CC6D PRG:0C6D A9 12 + cpx #$04 ; CPU:$CC6F PRG:0C6F E0 04 + bne Label_CC75 ; CPU:$CC71 PRG:0C71 D0 02 + lda #$0C ; CPU:$CC73 PRG:0C73 A9 0C +; ----------------------------------------------------------------------------- +; Routine: Label_CC75 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC75: + sta Zp24 ; CPU:$CC75 PRG:0C75 85 24 + jsr Label_CD097 ; CPU:$CC77 PRG:0C77 20 97 D0 + jsr Label_CD2AB ; CPU:$CC7A PRG:0C7A 20 AB D2 +; ----------------------------------------------------------------------------- +; Routine: Label_CC7D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC7D: + lda #$20 ; CPU:$CC7D PRG:0C7D A9 20 + sta ZpA4 ; CPU:$CC7F PRG:0C7F 85 A4 + sta Zp9B ; CPU:$CC81 PRG:0C81 85 9B + jsr Label_CCFB1 ; CPU:$CC83 PRG:0C83 20 B1 CF + tax ; CPU:$CC86 PRG:0C86 AA + and #$08 ; CPU:$CC87 PRG:0C87 29 08 + beq Label_CC91 ; CPU:$CC89 PRG:0C89 F0 06 + jsr Label_CCDB6 ; CPU:$CC8B PRG:0C8B 20 B6 CD + bcs Label_CCB2 ; CPU:$CC8E PRG:0C8E B0 22 + rts ; CPU:$CC90 PRG:0C90 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CC91 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC91: + txa ; CPU:$CC91 PRG:0C91 8A + and #$04 ; CPU:$CC92 PRG:0C92 29 04 + beq Label_CC9C ; CPU:$CC94 PRG:0C94 F0 06 + jsr Label_CCE37 ; CPU:$CC96 PRG:0C96 20 37 CE + bcs Label_CCB2 ; CPU:$CC99 PRG:0C99 B0 17 + rts ; CPU:$CC9B PRG:0C9B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CC9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CC9C: + txa ; CPU:$CC9C PRG:0C9C 8A + and #$40 ; CPU:$CC9D PRG:0C9D 29 40 + beq Label_CCA7 ; CPU:$CC9F PRG:0C9F F0 06 + jsr Label_CCE90 ; CPU:$CCA1 PRG:0CA1 20 90 CE + bcs Label_CCB2 ; CPU:$CCA4 PRG:0CA4 B0 0C + rts ; CPU:$CCA6 PRG:0CA6 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CCA7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCA7: + txa ; CPU:$CCA7 PRG:0CA7 8A + and #$80 ; CPU:$CCA8 PRG:0CA8 29 80 + beq Label_CCB2 ; CPU:$CCAA PRG:0CAA F0 06 + jsr Label_CCF21 ; CPU:$CCAC PRG:0CAC 20 21 CF + bcs Label_CCB2 ; CPU:$CCAF PRG:0CAF B0 01 + rts ; CPU:$CCB1 PRG:0CB1 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CCB2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCB2: + txa ; CPU:$CCB2 PRG:0CB2 8A + and #$02 ; CPU:$CCB3 PRG:0CB3 29 02 + beq Label_CCBA ; CPU:$CCB5 PRG:0CB5 F0 03 + jmp Label_CCCE8 ; CPU:$CCB7 PRG:0CB7 4C E8 CC +; ----------------------------------------------------------------------------- +; Routine: Label_CCBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCBA: + txa ; CPU:$CCBA PRG:0CBA 8A + and #$01 ; CPU:$CCBB PRG:0CBB 29 01 + beq Label_CCC2 ; CPU:$CCBD PRG:0CBD F0 03 + jmp Label_CCD4C ; CPU:$CCBF PRG:0CBF 4C 4C CD +; ----------------------------------------------------------------------------- +; Routine: Label_CCC2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCC2: + lda Zp24 ; CPU:$CCC2 PRG:0CC2 A5 24 + cmp #$04 ; CPU:$CCC4 PRG:0CC4 C9 04 + bcc Label_CCD1 ; CPU:$CCC6 PRG:0CC6 90 09 + cmp #$14 ; CPU:$CCC8 PRG:0CC8 C9 14 + bcs Label_CCD0 ; CPU:$CCCA PRG:0CCA B0 04 + cmp #$12 ; CPU:$CCCC PRG:0CCC C9 12 + bcs Label_CCD1 ; CPU:$CCCE PRG:0CCE B0 01 +; ----------------------------------------------------------------------------- +; Routine: Label_CCD0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCD0: + rts ; CPU:$CCD0 PRG:0CD0 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CCD1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCD1: + inc Zp1D ; CPU:$CCD1 PRG:0CD1 E6 1D + lda Zp1D ; CPU:$CCD3 PRG:0CD3 A5 1D + cmp #$14 ; CPU:$CCD5 PRG:0CD5 C9 14 + bcc Label_CCE7 ; CPU:$CCD7 PRG:0CD7 90 0E + lda #$00 ; CPU:$CCD9 PRG:0CD9 A9 00 + sta Zp1D ; CPU:$CCDB PRG:0CDB 85 1D + lda #$12 ; CPU:$CCDD PRG:0CDD A9 12 + ldx #$13 ; CPU:$CCDF PRG:0CDF A2 13 + jsr Label_CD067 ; CPU:$CCE1 PRG:0CE1 20 67 D0 + jmp Label_CD097 ; CPU:$CCE4 PRG:0CE4 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CCE7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCE7: + rts ; CPU:$CCE7 PRG:0CE7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CCE8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CCE8: + ldy Zp21 ; CPU:$CCE8 PRG:0CE8 A4 21 + jsr Label_CC81D ; CPU:$CCEA PRG:0CEA 20 1D C8 + ldx Zp22 ; CPU:$CCED PRG:0CED A6 22 + cpx #$04 ; CPU:$CCEF PRG:0CEF E0 04 + bcs Label_CD07 ; CPU:$CCF1 PRG:0CF1 B0 14 + ldy Zp20 ; CPU:$CCF3 PRG:0CF3 A4 20 + beq Label_CD06 ; CPU:$CCF5 PRG:0CF5 F0 0F + dey ; CPU:$CCF7 PRG:0CF7 88 + lda (Zp26),y ; CPU:$CCF8 PRG:0CF8 B1 26 + cmp #$02 ; CPU:$CCFA PRG:0CFA C9 02 + beq Label_CD06 ; CPU:$CCFC PRG:0CFC F0 08 + cmp #$01 ; CPU:$CCFE PRG:0CFE C9 01 + beq Label_CD06 ; CPU:$CD00 PRG:0D00 F0 04 + cmp #$05 ; CPU:$CD02 PRG:0D02 C9 05 + bne Label_CD07 ; CPU:$CD04 PRG:0D04 D0 01 +; ----------------------------------------------------------------------------- +; Routine: Label_CD06 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD06: + rts ; CPU:$CD06 PRG:0D06 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CD07 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD07: + lda #$FF ; CPU:$CD07 PRG:0D07 A9 FF + sta Zp25 ; CPU:$CD09 PRG:0D09 85 25 + jsr Label_CD226 ; CPU:$CD0B PRG:0D0B 20 26 D2 + dec Zp22 ; CPU:$CD0E PRG:0D0E C6 22 + bpl Label_CD2B ; CPU:$CD10 PRG:0D10 10 19 + ldy Zp20 ; CPU:$CD12 PRG:0D12 A4 20 + lda (Zp28),y ; CPU:$CD14 PRG:0D14 B1 28 + cmp #$01 ; CPU:$CD16 PRG:0D16 C9 01 + bne Label_CD1C ; CPU:$CD18 PRG:0D18 D0 02 + lda #$00 ; CPU:$CD1A PRG:0D1A A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CD1C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD1C: + sta (Zp26),y ; CPU:$CD1C PRG:0D1C 91 26 + dec Zp20 ; CPU:$CD1E PRG:0D1E C6 20 + dey ; CPU:$CD20 PRG:0D20 88 + lda #$09 ; CPU:$CD21 PRG:0D21 A9 09 + sta (Zp26),y ; CPU:$CD23 PRG:0D23 91 26 + lda #$07 ; CPU:$CD25 PRG:0D25 A9 07 + sta Zp22 ; CPU:$CD27 PRG:0D27 85 22 + bne Label_CD2E ; CPU:$CD29 PRG:0D29 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_CD2B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD2B: + jsr Label_CCFDF ; CPU:$CD2B PRG:0D2B 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_CD2E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD2E: + ldy Zp20 ; CPU:$CD2E PRG:0D2E A4 20 + lda (Zp28),y ; CPU:$CD30 PRG:0D30 B1 28 + cmp #$04 ; CPU:$CD32 PRG:0D32 C9 04 + beq Label_CD3F ; CPU:$CD34 PRG:0D34 F0 09 + jsr Label_CD27E ; CPU:$CD36 PRG:0D36 20 7E D2 + lda #$00 ; CPU:$CD39 PRG:0D39 A9 00 + ldx #$03 ; CPU:$CD3B PRG:0D3B A2 03 + bne Label_CD46 ; CPU:$CD3D PRG:0D3D D0 07 +; ----------------------------------------------------------------------------- +; Routine: Label_CD3F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD3F: + jsr Label_CD2B1 ; CPU:$CD3F PRG:0D3F 20 B1 D2 + lda #$0C ; CPU:$CD42 PRG:0D42 A9 0C + ldx #$0F ; CPU:$CD44 PRG:0D44 A2 0F +; ----------------------------------------------------------------------------- +; Routine: Label_CD46 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD46: + jsr Label_CD067 ; CPU:$CD46 PRG:0D46 20 67 D0 + jmp Label_CD097 ; CPU:$CD49 PRG:0D49 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CD4C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD4C: + ldy Zp21 ; CPU:$CD4C PRG:0D4C A4 21 + jsr Label_CC81D ; CPU:$CD4E PRG:0D4E 20 1D C8 + ldx Zp22 ; CPU:$CD51 PRG:0D51 A6 22 + cpx #$03 ; CPU:$CD53 PRG:0D53 E0 03 + bcc Label_CD6D ; CPU:$CD55 PRG:0D55 90 16 + ldy Zp20 ; CPU:$CD57 PRG:0D57 A4 20 + cpy #$1B ; CPU:$CD59 PRG:0D59 C0 1B + beq Label_CD6C ; CPU:$CD5B PRG:0D5B F0 0F + iny ; CPU:$CD5D PRG:0D5D C8 + lda (Zp26),y ; CPU:$CD5E PRG:0D5E B1 26 + cmp #$02 ; CPU:$CD60 PRG:0D60 C9 02 + beq Label_CD6C ; CPU:$CD62 PRG:0D62 F0 08 + cmp #$01 ; CPU:$CD64 PRG:0D64 C9 01 + beq Label_CD6C ; CPU:$CD66 PRG:0D66 F0 04 + cmp #$05 ; CPU:$CD68 PRG:0D68 C9 05 + bne Label_CD6D ; CPU:$CD6A PRG:0D6A D0 01 +; ----------------------------------------------------------------------------- +; Routine: Label_CD6C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD6C: + rts ; CPU:$CD6C PRG:0D6C 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CD6D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD6D: + lda #$01 ; CPU:$CD6D PRG:0D6D A9 01 + sta Zp25 ; CPU:$CD6F PRG:0D6F 85 25 + jsr Label_CD226 ; CPU:$CD71 PRG:0D71 20 26 D2 + inc Zp22 ; CPU:$CD74 PRG:0D74 E6 22 + lda Zp22 ; CPU:$CD76 PRG:0D76 A5 22 + cmp #$08 ; CPU:$CD78 PRG:0D78 C9 08 + bcc Label_CD95 ; CPU:$CD7A PRG:0D7A 90 19 + ldy Zp20 ; CPU:$CD7C PRG:0D7C A4 20 + lda (Zp28),y ; CPU:$CD7E PRG:0D7E B1 28 + cmp #$01 ; CPU:$CD80 PRG:0D80 C9 01 + bne Label_CD86 ; CPU:$CD82 PRG:0D82 D0 02 + lda #$00 ; CPU:$CD84 PRG:0D84 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CD86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD86: + sta (Zp26),y ; CPU:$CD86 PRG:0D86 91 26 + inc Zp20 ; CPU:$CD88 PRG:0D88 E6 20 + iny ; CPU:$CD8A PRG:0D8A C8 + lda #$09 ; CPU:$CD8B PRG:0D8B A9 09 + sta (Zp26),y ; CPU:$CD8D PRG:0D8D 91 26 + lda #$00 ; CPU:$CD8F PRG:0D8F A9 00 + sta Zp22 ; CPU:$CD91 PRG:0D91 85 22 + beq Label_CD98 ; CPU:$CD93 PRG:0D93 F0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_CD95 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD95: + jsr Label_CCFDF ; CPU:$CD95 PRG:0D95 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_CD98 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CD98: + ldy Zp20 ; CPU:$CD98 PRG:0D98 A4 20 + lda (Zp28),y ; CPU:$CD9A PRG:0D9A B1 28 + cmp #$04 ; CPU:$CD9C PRG:0D9C C9 04 + beq Label_CDA9 ; CPU:$CD9E PRG:0D9E F0 09 + jsr Label_CD27E ; CPU:$CDA0 PRG:0DA0 20 7E D2 + lda #$00 ; CPU:$CDA3 PRG:0DA3 A9 00 + ldx #$03 ; CPU:$CDA5 PRG:0DA5 A2 03 + bne Label_CDB0 ; CPU:$CDA7 PRG:0DA7 D0 07 +; ----------------------------------------------------------------------------- +; Routine: Label_CDA9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDA9: + jsr Label_CD2B1 ; CPU:$CDA9 PRG:0DA9 20 B1 D2 + lda #$0C ; CPU:$CDAC PRG:0DAC A9 0C + ldx #$0F ; CPU:$CDAE PRG:0DAE A2 0F +; ----------------------------------------------------------------------------- +; Routine: Label_CDB0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDB0: + jsr Label_CD067 ; CPU:$CDB0 PRG:0DB0 20 67 D0 + jmp Label_CD097 ; CPU:$CDB3 PRG:0DB3 4C 97 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CDB6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDB6: + ldy Zp21 ; CPU:$CDB6 PRG:0DB6 A4 21 + jsr Label_CD2EF ; CPU:$CDB8 PRG:0DB8 20 EF D2 + ldy Zp20 ; CPU:$CDBB PRG:0DBB A4 20 + lda (Zp28),y ; CPU:$CDBD PRG:0DBD B1 28 + cmp #$03 ; CPU:$CDBF PRG:0DBF C9 03 + beq Label_CDD8 ; CPU:$CDC1 PRG:0DC1 F0 15 + ldy Zp23 ; CPU:$CDC3 PRG:0DC3 A4 23 + cpy #$04 ; CPU:$CDC5 PRG:0DC5 C0 04 + bcc Label_CDD6 ; CPU:$CDC7 PRG:0DC7 90 0D + ldy Zp21 ; CPU:$CDC9 PRG:0DC9 A4 21 + jsr Label_CDCB1 ; CPU:$CDCB PRG:0DCB 20 B1 DC + ldy Zp20 ; CPU:$CDCE PRG:0DCE A4 20 + lda (Zp28),y ; CPU:$CDD0 PRG:0DD0 B1 28 + cmp #$03 ; CPU:$CDD2 PRG:0DD2 C9 03 + beq Label_CDFB ; CPU:$CDD4 PRG:0DD4 F0 25 +; ----------------------------------------------------------------------------- +; Routine: Label_CDD6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDD6: + sec ; CPU:$CDD6 PRG:0DD6 38 + rts ; CPU:$CDD7 PRG:0DD7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CDD8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDD8: + ldy Zp23 ; CPU:$CDD8 PRG:0DD8 A4 23 + cpy #$04 ; CPU:$CDDA PRG:0DDA C0 04 + bcs Label_CDFB ; CPU:$CDDC PRG:0DDC B0 1D + ldy Zp21 ; CPU:$CDDE PRG:0DDE A4 21 + beq Label_CDD6 ; CPU:$CDE0 PRG:0DE0 F0 F4 + lda $C687,y ; CPU:$CDE2 PRG:0DE2 B9 87 C6 + sta Zp26 ; CPU:$CDE5 PRG:0DE5 85 26 + lda $C695,y ; CPU:$CDE7 PRG:0DE7 B9 95 C6 + sta Zp27 ; CPU:$CDEA PRG:0DEA 85 27 + jsr Label_CD30A ; CPU:$CDEC PRG:0DEC 20 0A D3 + cmp #$01 ; CPU:$CDEF PRG:0DEF C9 01 + beq Label_CDD6 ; CPU:$CDF1 PRG:0DF1 F0 E3 + cmp #$02 ; CPU:$CDF3 PRG:0DF3 C9 02 + beq Label_CDD6 ; CPU:$CDF5 PRG:0DF5 F0 DF + cmp #$05 ; CPU:$CDF7 PRG:0DF7 C9 05 + beq Label_CDD6 ; CPU:$CDF9 PRG:0DF9 F0 DB +; ----------------------------------------------------------------------------- +; Routine: Label_CDFB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CDFB: + ldy Zp21 ; CPU:$CDFB PRG:0DFB A4 21 + jsr Label_CC81D ; CPU:$CDFD PRG:0DFD 20 1D C8 + jsr Label_CD213 ; CPU:$CE00 PRG:0E00 20 13 D2 + dec Zp23 ; CPU:$CE03 PRG:0E03 C6 23 + bpl Label_CE25 ; CPU:$CE05 PRG:0E05 10 1E + ldy Zp20 ; CPU:$CE07 PRG:0E07 A4 20 + lda (Zp28),y ; CPU:$CE09 PRG:0E09 B1 28 + cmp #$01 ; CPU:$CE0B PRG:0E0B C9 01 + bne Label_CE11 ; CPU:$CE0D PRG:0E0D D0 02 + lda #$00 ; CPU:$CE0F PRG:0E0F A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CE11 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE11: + sta (Zp26),y ; CPU:$CE11 PRG:0E11 91 26 + dec Zp21 ; CPU:$CE13 PRG:0E13 C6 21 + ldy Zp21 ; CPU:$CE15 PRG:0E15 A4 21 + jsr Label_CD2FA ; CPU:$CE17 PRG:0E17 20 FA D2 + lda #$09 ; CPU:$CE1A PRG:0E1A A9 09 + jsr Label_CD30A ; CPU:$CE1C PRG:0E1C 20 0A D3 + lda #$07 ; CPU:$CE1F PRG:0E1F A9 07 + sta Zp23 ; CPU:$CE21 PRG:0E21 85 23 + bne Label_CE28 ; CPU:$CE23 PRG:0E23 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_CE25 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE25: + jsr Label_CCFDF ; CPU:$CE25 PRG:0E25 20 DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_CE28 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE28: + lda #$08 ; CPU:$CE28 PRG:0E28 A9 08 + ldx #$0B ; CPU:$CE2A PRG:0E2A A2 0B + jsr Label_CD067 ; CPU:$CE2C PRG:0E2C 20 67 D0 + jsr Label_CD2D0 ; CPU:$CE2F PRG:0E2F 20 D0 D2 + jsr Label_CD097 ; CPU:$CE32 PRG:0E32 20 97 D0 + clc ; CPU:$CE35 PRG:0E35 18 + rts ; CPU:$CE36 PRG:0E36 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CE37 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE37: + ldy Zp23 ; CPU:$CE37 PRG:0E37 A4 23 + cpy #$03 ; CPU:$CE39 PRG:0E39 C0 03 + bcc Label_CE5A ; CPU:$CE3B PRG:0E3B 90 1D + ldy Zp21 ; CPU:$CE3D PRG:0E3D A4 21 + cpy #$0D ; CPU:$CE3F PRG:0E3F C0 0D + bcs Label_CE58 ; CPU:$CE41 PRG:0E41 B0 15 + lda $C689,y ; CPU:$CE43 PRG:0E43 B9 89 C6 + sta Zp26 ; CPU:$CE46 PRG:0E46 85 26 + lda $C697,y ; CPU:$CE48 PRG:0E48 B9 97 C6 + sta Zp27 ; CPU:$CE4B PRG:0E4B 85 27 + jsr Label_CD30A ; CPU:$CE4D PRG:0E4D 20 0A D3 + cmp #$02 ; CPU:$CE50 PRG:0E50 C9 02 + beq Label_CE58 ; CPU:$CE52 PRG:0E52 F0 04 + cmp #$01 ; CPU:$CE54 PRG:0E54 C9 01 + bne Label_CE5A ; CPU:$CE56 PRG:0E56 D0 02 +; ----------------------------------------------------------------------------- +; Routine: Label_CE58 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE58: + sec ; CPU:$CE58 PRG:0E58 38 + rts ; CPU:$CE59 PRG:0E59 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CE5A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE5A: + ldy Zp21 ; CPU:$CE5A PRG:0E5A A4 21 + jsr Label_CC81D ; CPU:$CE5C PRG:0E5C 20 1D C8 + jsr Label_CD213 ; CPU:$CE5F PRG:0E5F 20 13 D2 + inc Zp23 ; CPU:$CE62 PRG:0E62 E6 23 + lda Zp23 ; CPU:$CE64 PRG:0E64 A5 23 + cmp #$07 ; CPU:$CE66 PRG:0E66 C9 07 + bcc Label_CE8A ; CPU:$CE68 PRG:0E68 90 20 + ldy Zp20 ; CPU:$CE6A PRG:0E6A A4 20 + lda (Zp28),y ; CPU:$CE6C PRG:0E6C B1 28 + cmp #$01 ; CPU:$CE6E PRG:0E6E C9 01 + bne Label_CE74 ; CPU:$CE70 PRG:0E70 D0 02 + lda #$00 ; CPU:$CE72 PRG:0E72 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_CE74 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE74: + sta (Zp26),y ; CPU:$CE74 PRG:0E74 91 26 + inc Zp21 ; CPU:$CE76 PRG:0E76 E6 21 + ldy Zp21 ; CPU:$CE78 PRG:0E78 A4 21 + jsr Label_CD2FA ; CPU:$CE7A PRG:0E7A 20 FA D2 + ldy Zp20 ; CPU:$CE7D PRG:0E7D A4 20 + lda #$09 ; CPU:$CE7F PRG:0E7F A9 09 + sta (Zp26),y ; CPU:$CE81 PRG:0E81 91 26 + lda #$00 ; CPU:$CE83 PRG:0E83 A9 00 + sta Zp23 ; CPU:$CE85 PRG:0E85 85 23 + jmp Label_CCE28 ; CPU:$CE87 PRG:0E87 4C 28 CE +; ----------------------------------------------------------------------------- +; Routine: Label_CE8A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE8A: + jmp Label_CCE25 ; CPU:$CE8A PRG:0E8A 4C 25 CE +; ----------------------------------------------------------------------------- +; Routine: Label_CE8D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE8D: + jmp Label_CCF12 ; CPU:$CE8D PRG:0E8D 4C 12 CF +; ----------------------------------------------------------------------------- +; Routine: Label_CE90 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE90: + lda #$FF ; CPU:$CE90 PRG:0E90 A9 FF + sta Zp9C ; CPU:$CE92 PRG:0E92 85 9C + lda #$00 ; CPU:$CE94 PRG:0E94 A9 00 + sta ZpA0 ; CPU:$CE96 PRG:0E96 85 A0 +; ----------------------------------------------------------------------------- +; Routine: Label_CE98 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CE98: + ldy Zp21 ; CPU:$CE98 PRG:0E98 A4 21 + cpy #$0D ; CPU:$CE9A PRG:0E9A C0 0D + bcs Label_CE8D ; CPU:$CE9C PRG:0E9C B0 EF + iny ; CPU:$CE9E PRG:0E9E C8 + jsr Label_CD239 ; CPU:$CE9F PRG:0E9F 20 39 D2 + ldy Zp20 ; CPU:$CEA2 PRG:0EA2 A4 20 + beq Label_CE8D ; CPU:$CEA4 PRG:0EA4 F0 E7 + dey ; CPU:$CEA6 PRG:0EA6 88 + lda (Zp26),y ; CPU:$CEA7 PRG:0EA7 B1 26 + cmp #$01 ; CPU:$CEA9 PRG:0EA9 C9 01 + bne Label_CE8D ; CPU:$CEAB PRG:0EAB D0 E0 + ldy Zp21 ; CPU:$CEAD PRG:0EAD A4 21 + jsr Label_CD239 ; CPU:$CEAF PRG:0EAF 20 39 D2 + ldy Zp20 ; CPU:$CEB2 PRG:0EB2 A4 20 + dey ; CPU:$CEB4 PRG:0EB4 88 + lda (Zp26),y ; CPU:$CEB5 PRG:0EB5 B1 26 + cmp #$00 ; CPU:$CEB7 PRG:0EB7 C9 00 + bne Label_CEF8 ; CPU:$CEB9 PRG:0EB9 D0 3D + jsr Label_CD075 ; CPU:$CEBB PRG:0EBB 20 75 D0 + lda #$FF ; CPU:$CEBE PRG:0EBE A9 FF + sta Zp25 ; CPU:$CEC0 PRG:0EC0 85 25 + lda Zp24 ; CPU:$CEC2 PRG:0EC2 A5 24 + cmp #$12 ; CPU:$CEC4 PRG:0EC4 C9 12 + beq Label_CED0 ; CPU:$CEC6 PRG:0EC6 F0 08 + cmp #$13 ; CPU:$CEC8 PRG:0EC8 C9 13 + beq Label_CED0 ; CPU:$CECA PRG:0ECA F0 04 + cmp #$04 ; CPU:$CECC PRG:0ECC C9 04 + bcs Label_CEDC ; CPU:$CECE PRG:0ECE B0 0C +; ----------------------------------------------------------------------------- +; Routine: Label_CED0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CED0: + ldx ZpA0 ; CPU:$CED0 PRG:0ED0 A6 A0 + lda #$10 ; CPU:$CED2 PRG:0ED2 A9 10 + cpx #$06 ; CPU:$CED4 PRG:0ED4 E0 06 + bcs Label_CEDA ; CPU:$CED6 PRG:0ED6 B0 02 + lda #$11 ; CPU:$CED8 PRG:0ED8 A9 11 +; ----------------------------------------------------------------------------- +; Routine: Label_CEDA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CEDA: + sta Zp24 ; CPU:$CEDA PRG:0EDA 85 24 +; ----------------------------------------------------------------------------- +; Routine: Label_CEDC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CEDC: + jsr Label_CD097 ; CPU:$CEDC PRG:0EDC 20 97 D0 + ldx ZpA0 ; CPU:$CEDF PRG:0EDF A6 A0 + cpx #$0C ; CPU:$CEE1 PRG:0EE1 E0 0C + beq Label_CF18 ; CPU:$CEE3 PRG:0EE3 F0 33 + ldx ZpA0 ; CPU:$CEE5 PRG:0EE5 A6 A0 + lda Zp20 ; CPU:$CEE7 PRG:0EE7 A5 20 + sta Zp85 ; CPU:$CEE9 PRG:0EE9 85 85 + dec Zp85 ; CPU:$CEEB PRG:0EEB C6 85 + lda Zp21 ; CPU:$CEED PRG:0EED A5 21 + sta Zp86 ; CPU:$CEEF PRG:0EEF 85 86 + jsr Label_CD02B ; CPU:$CEF1 PRG:0EF1 20 2B D0 + inc ZpA0 ; CPU:$CEF4 PRG:0EF4 E6 A0 + clc ; CPU:$CEF6 PRG:0EF6 18 + rts ; CPU:$CEF7 PRG:0EF7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CEF8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CEF8: + ldy ZpA0 ; CPU:$CEF8 PRG:0EF8 A4 A0 + beq Label_CF12 ; CPU:$CEFA PRG:0EFA F0 16 + ldy Zp21 ; CPU:$CEFC PRG:0EFC A4 21 + iny ; CPU:$CEFE PRG:0EFE C8 + sty Zp86 ; CPU:$CEFF PRG:0EFF 84 86 + ldy Zp20 ; CPU:$CF01 PRG:0F01 A4 20 + dey ; CPU:$CF03 PRG:0F03 88 + sty Zp85 ; CPU:$CF04 PRG:0F04 84 85 + lda #$01 ; CPU:$CF06 PRG:0F06 A9 01 + jsr Label_CD055 ; CPU:$CF08 PRG:0F08 20 55 D0 + dec Zp86 ; CPU:$CF0B PRG:0F0B C6 86 + lda #$00 ; CPU:$CF0D PRG:0F0D A9 00 + jsr Label_CD055 ; CPU:$CF0F PRG:0F0F 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CF12 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF12: + lda #$00 ; CPU:$CF12 PRG:0F12 A9 00 + sta Zp9C ; CPU:$CF14 PRG:0F14 85 9C + sec ; CPU:$CF16 PRG:0F16 38 + rts ; CPU:$CF17 PRG:0F17 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CF18 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF18: + ldx Zp20 ; CPU:$CF18 PRG:0F18 A6 20 + dex ; CPU:$CF1A PRG:0F1A CA + jmp Label_CD23F ; CPU:$CF1B PRG:0F1B 4C 3F D2 +; ----------------------------------------------------------------------------- +; Routine: Label_CF1E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF1E: + jmp Label_CCFA5 ; CPU:$CF1E PRG:0F1E 4C A5 CF +; ----------------------------------------------------------------------------- +; Routine: Label_CF21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF21: + lda #$01 ; CPU:$CF21 PRG:0F21 A9 01 + sta Zp9C ; CPU:$CF23 PRG:0F23 85 9C + lda #$00 ; CPU:$CF25 PRG:0F25 A9 00 + sta ZpA0 ; CPU:$CF27 PRG:0F27 85 A0 +; ----------------------------------------------------------------------------- +; Routine: Label_CF29 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF29: + ldy Zp21 ; CPU:$CF29 PRG:0F29 A4 21 + cpy #$0D ; CPU:$CF2B PRG:0F2B C0 0D + bcs Label_CF1E ; CPU:$CF2D PRG:0F2D B0 EF + iny ; CPU:$CF2F PRG:0F2F C8 + jsr Label_CD239 ; CPU:$CF30 PRG:0F30 20 39 D2 + ldy Zp20 ; CPU:$CF33 PRG:0F33 A4 20 + cpy #$1B ; CPU:$CF35 PRG:0F35 C0 1B + bcs Label_CF1E ; CPU:$CF37 PRG:0F37 B0 E5 + iny ; CPU:$CF39 PRG:0F39 C8 + lda (Zp26),y ; CPU:$CF3A PRG:0F3A B1 26 + cmp #$01 ; CPU:$CF3C PRG:0F3C C9 01 + bne Label_CF1E ; CPU:$CF3E PRG:0F3E D0 DE + ldy Zp21 ; CPU:$CF40 PRG:0F40 A4 21 + jsr Label_CD239 ; CPU:$CF42 PRG:0F42 20 39 D2 + ldy Zp20 ; CPU:$CF45 PRG:0F45 A4 20 + iny ; CPU:$CF47 PRG:0F47 C8 + lda (Zp26),y ; CPU:$CF48 PRG:0F48 B1 26 + cmp #$00 ; CPU:$CF4A PRG:0F4A C9 00 + bne Label_CF8B ; CPU:$CF4C PRG:0F4C D0 3D + jsr Label_CD075 ; CPU:$CF4E PRG:0F4E 20 75 D0 + lda #$01 ; CPU:$CF51 PRG:0F51 A9 01 + sta Zp25 ; CPU:$CF53 PRG:0F53 85 25 + lda Zp24 ; CPU:$CF55 PRG:0F55 A5 24 + cmp #$12 ; CPU:$CF57 PRG:0F57 C9 12 + beq Label_CF63 ; CPU:$CF59 PRG:0F59 F0 08 + cmp #$13 ; CPU:$CF5B PRG:0F5B C9 13 + beq Label_CF63 ; CPU:$CF5D PRG:0F5D F0 04 + cmp #$04 ; CPU:$CF5F PRG:0F5F C9 04 + bcs Label_CF6F ; CPU:$CF61 PRG:0F61 B0 0C +; ----------------------------------------------------------------------------- +; Routine: Label_CF63 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF63: + ldx ZpA0 ; CPU:$CF63 PRG:0F63 A6 A0 + lda #$10 ; CPU:$CF65 PRG:0F65 A9 10 + cpx #$06 ; CPU:$CF67 PRG:0F67 E0 06 + bcs Label_CF6D ; CPU:$CF69 PRG:0F69 B0 02 + lda #$11 ; CPU:$CF6B PRG:0F6B A9 11 +; ----------------------------------------------------------------------------- +; Routine: Label_CF6D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF6D: + sta Zp24 ; CPU:$CF6D PRG:0F6D 85 24 +; ----------------------------------------------------------------------------- +; Routine: Label_CF6F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF6F: + jsr Label_CD097 ; CPU:$CF6F PRG:0F6F 20 97 D0 + ldx ZpA0 ; CPU:$CF72 PRG:0F72 A6 A0 + cpx #$0C ; CPU:$CF74 PRG:0F74 E0 0C + beq Label_CFAB ; CPU:$CF76 PRG:0F76 F0 33 + ldx ZpA0 ; CPU:$CF78 PRG:0F78 A6 A0 + lda Zp20 ; CPU:$CF7A PRG:0F7A A5 20 + sta Zp85 ; CPU:$CF7C PRG:0F7C 85 85 + inc Zp85 ; CPU:$CF7E PRG:0F7E E6 85 + lda Zp21 ; CPU:$CF80 PRG:0F80 A5 21 + sta Zp86 ; CPU:$CF82 PRG:0F82 85 86 + jsr Label_CD02B ; CPU:$CF84 PRG:0F84 20 2B D0 + inc ZpA0 ; CPU:$CF87 PRG:0F87 E6 A0 + clc ; CPU:$CF89 PRG:0F89 18 + rts ; CPU:$CF8A PRG:0F8A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CF8B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CF8B: + ldy ZpA0 ; CPU:$CF8B PRG:0F8B A4 A0 + beq Label_CFA5 ; CPU:$CF8D PRG:0F8D F0 16 + ldy Zp21 ; CPU:$CF8F PRG:0F8F A4 21 + iny ; CPU:$CF91 PRG:0F91 C8 + sty Zp86 ; CPU:$CF92 PRG:0F92 84 86 + ldy Zp20 ; CPU:$CF94 PRG:0F94 A4 20 + iny ; CPU:$CF96 PRG:0F96 C8 + sty Zp85 ; CPU:$CF97 PRG:0F97 84 85 + lda #$01 ; CPU:$CF99 PRG:0F99 A9 01 + jsr Label_CD055 ; CPU:$CF9B PRG:0F9B 20 55 D0 + dec Zp86 ; CPU:$CF9E PRG:0F9E C6 86 + lda #$00 ; CPU:$CFA0 PRG:0FA0 A9 00 + jsr Label_CD055 ; CPU:$CFA2 PRG:0FA2 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_CFA5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFA5: + lda #$00 ; CPU:$CFA5 PRG:0FA5 A9 00 + sta Zp9C ; CPU:$CFA7 PRG:0FA7 85 9C + sec ; CPU:$CFA9 PRG:0FA9 38 + rts ; CPU:$CFAA PRG:0FAA 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CFAB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFAB: + ldx Zp20 ; CPU:$CFAB PRG:0FAB A6 20 + inx ; CPU:$CFAD PRG:0FAD E8 + jmp Label_CD23F ; CPU:$CFAE PRG:0FAE 4C 3F D2 +; ----------------------------------------------------------------------------- +; Routine: Label_CFB1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFB1: + lda ZpD0 ; CPU:$CFB1 PRG:0FB1 A5 D0 + bne Label_CFBF ; CPU:$CFB3 PRG:0FB3 D0 0A + lda ZpC3 ; CPU:$CFB5 PRG:0FB5 A5 C3 + beq Label_CFBC ; CPU:$CFB7 PRG:0FB7 F0 03 + lda Zp07 ; CPU:$CFB9 PRG:0FB9 A5 07 + rts ; CPU:$CFBB PRG:0FBB 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CFBC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFBC: + lda Zp06 ; CPU:$CFBC PRG:0FBC A5 06 + rts ; CPU:$CFBE PRG:0FBE 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CFBF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFBF: + lda ZpD1 ; CPU:$CFBF PRG:0FBF A5 D1 + beq Label_CFC8 ; CPU:$CFC1 PRG:0FC1 F0 05 + lda ZpD2 ; CPU:$CFC3 PRG:0FC3 A5 D2 + dec ZpD1 ; CPU:$CFC5 PRG:0FC5 C6 D1 + rts ; CPU:$CFC7 PRG:0FC7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CFC8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFC8: + ldy #$00 ; CPU:$CFC8 PRG:0FC8 A0 00 + lda (ZpCE),y ; CPU:$CFCA PRG:0FCA B1 CE + sta ZpD1 ; CPU:$CFCC PRG:0FCC 85 D1 + dec ZpD1 ; CPU:$CFCE PRG:0FCE C6 D1 + iny ; CPU:$CFD0 PRG:0FD0 C8 + lda (ZpCE),y ; CPU:$CFD1 PRG:0FD1 B1 CE + sta ZpD2 ; CPU:$CFD3 PRG:0FD3 85 D2 + jsr Label_CCFD8 ; CPU:$CFD5 PRG:0FD5 20 D8 CF +; ----------------------------------------------------------------------------- +; Routine: Label_CFD8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFD8: + inc ZpCE ; CPU:$CFD8 PRG:0FD8 E6 CE + bne Label_CFDE ; CPU:$CFDA PRG:0FDA D0 02 + inc ZpCF ; CPU:$CFDC PRG:0FDC E6 CF +; ----------------------------------------------------------------------------- +; Routine: Label_CFDE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFDE: + rts ; CPU:$CFDE PRG:0FDE 60 +; ----------------------------------------------------------------------------- +; Routine: Label_CFDF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_CFDF: + lda Zp22 ; CPU:$CFDF PRG:0FDF A5 22 + cmp #$03 ; CPU:$CFE1 PRG:0FE1 C9 03 + bne Label_D02A ; CPU:$CFE3 PRG:0FE3 D0 45 + lda Zp23 ; CPU:$CFE5 PRG:0FE5 A5 23 + cmp #$03 ; CPU:$CFE7 PRG:0FE7 C9 03 + bne Label_D02A ; CPU:$CFE9 PRG:0FE9 D0 3F + ldy Zp21 ; CPU:$CFEB PRG:0FEB A4 21 + jsr Label_CD2EF ; CPU:$CFED PRG:0FED 20 EF D2 + ldy Zp20 ; CPU:$CFF0 PRG:0FF0 A4 20 + lda (Zp28),y ; CPU:$CFF2 PRG:0FF2 B1 28 + cmp #$07 ; CPU:$CFF4 PRG:0FF4 C9 07 + bne Label_D02A ; CPU:$CFF6 PRG:0FF6 D0 32 + lsr Zp94 ; CPU:$CFF8 PRG:0FF8 46 94 + dec Zp93 ; CPU:$CFFA PRG:0FFA C6 93 + inc ZpC4 ; CPU:$CFFC PRG:0FFC E6 C4 + ldy Zp21 ; CPU:$CFFE PRG:0FFE A4 21 + sty Zp86 ; CPU:$D000 PRG:1000 84 86 + ldy Zp20 ; CPU:$D002 PRG:1002 A4 20 + sty Zp85 ; CPU:$D004 PRG:1004 84 85 + lda #$00 ; CPU:$D006 PRG:1006 A9 00 + sta (Zp28),y ; CPU:$D008 PRG:1008 91 28 + lda #$00 ; CPU:$D00A PRG:100A A9 00 + jsr Label_CD055 ; CPU:$D00C PRG:100C 20 55 D0 + ldx Zp93 ; CPU:$D00F PRG:100F A6 93 + beq Label_D023 ; CPU:$D011 PRG:1011 F0 10 + lda ZpDC ; CPU:$D013 PRG:1013 A5 DC + cmp #$01 ; CPU:$D015 PRG:1015 C9 01 + bne Label_D023 ; CPU:$D017 PRG:1017 D0 0A + lda Zp86 ; CPU:$D019 PRG:1019 A5 86 + sta Zp74 ; CPU:$D01B PRG:101B 85 74 + lda Zp85 ; CPU:$D01D PRG:101D A5 85 + sta Zp73 ; CPU:$D01F PRG:101F 85 73 + inc ZpDC ; CPU:$D021 PRG:1021 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Label_D023 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D023: + ldx #$01 ; CPU:$D023 PRG:1023 A2 01 + stx ZpC9 ; CPU:$D025 PRG:1025 86 C9 + dex ; CPU:$D027 PRG:1027 CA + stx ZpCA ; CPU:$D028 PRG:1028 86 CA +; ----------------------------------------------------------------------------- +; Routine: Label_D02A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D02A: + rts ; CPU:$D02A PRG:102A 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D02B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D02B: + txa ; CPU:$D02B PRG:102B 8A + pha ; CPU:$D02C PRG:102C 48 + lda $D049,x ; CPU:$D02D PRG:102D BD 49 D0 + jsr Label_CD055 ; CPU:$D030 PRG:1030 20 55 D0 + pla ; CPU:$D033 PRG:1033 68 + tax ; CPU:$D034 PRG:1034 AA + lda $D03D,x ; CPU:$D035 PRG:1035 BD 3D D0 + inc Zp86 ; CPU:$D038 PRG:1038 E6 86 + jmp Label_CD055 ; CPU:$D03A PRG:103A 4C 55 D0 +; ---- data $D03D-$D054 (24 bytes) ---- +; referenced by `lda $D049,x` at $D02D (operand $D049 falls inside this region) +; referenced by `lda $D03D,x` at $D035 (operand $D03D falls inside this region) + .byte $0A, $0A, $0B, $0B, $0B, $0C, $0C, $0D, $0D, $0D, $0E, $0E, $0F, $0F, $10, $10 ; CPU:$D03D PRG:103D 0A 0A 0B 0B 0B 0C 0C 0D 0D 0D 0E 0E 0F 0F 10 10 + .byte $10, $11, $11, $12, $12, $12, $13, $13 ; CPU:$D04D PRG:104D 10 11 11 12 12 12 13 13 +; ----------------------------------------------------------------------------- +; Routine: Label_D055 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D055: + pha ; CPU:$D055 PRG:1055 48 +; ----------------------------------------------------------------------------- +; Routine: Label_D056 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D056: + lda Zp10 ; CPU:$D056 PRG:1056 A5 10 + bne Label_D056 ; CPU:$D058 PRG:1058 D0 FC + pla ; CPU:$D05A PRG:105A 68 + jsr Label_CCA7C ; CPU:$D05B PRG:105B 20 7C CA + lda #$00 ; CPU:$D05E PRG:105E A9 00 + sta Zp11 ; CPU:$D060 PRG:1060 85 11 + lda #$01 ; CPU:$D062 PRG:1062 A9 01 + sta Zp10 ; CPU:$D064 PRG:1064 85 10 + rts ; CPU:$D066 PRG:1066 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D067 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D067: + inc Zp24 ; CPU:$D067 PRG:1067 E6 24 + cmp Zp24 ; CPU:$D069 PRG:1069 C5 24 + bcc Label_D070 ; CPU:$D06B PRG:106B 90 03 +; ----------------------------------------------------------------------------- +; Routine: Label_D06D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D06D: + sta Zp24 ; CPU:$D06D PRG:106D 85 24 + rts ; CPU:$D06F PRG:106F 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D070 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D070: + cpx Zp24 ; CPU:$D070 PRG:1070 E4 24 + bcc Label_D06D ; CPU:$D072 PRG:1072 90 F9 + rts ; CPU:$D074 PRG:1074 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D075 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D075: + jsr Label_CD213 ; CPU:$D075 PRG:1075 20 13 D2 + jsr Label_CD226 ; CPU:$D078 PRG:1078 20 26 D2 + jsr Label_CD305 ; CPU:$D07B PRG:107B 20 05 D3 + beq Label_D096 ; CPU:$D07E PRG:107E F0 16 + lda #$85 ; CPU:$D080 PRG:1080 A9 85 + sta $4004 ; CPU:$D082 PRG:1082 8D 04 40 + lda #$84 ; CPU:$D085 PRG:1085 A9 84 + sta $4005 ; CPU:$D087 PRG:1087 8D 05 40 + lda ZpA0 ; CPU:$D08A PRG:108A A5 A0 + adc #$20 ; CPU:$D08C PRG:108C 69 20 + sta $4006 ; CPU:$D08E PRG:108E 8D 06 40 + lda #$F0 ; CPU:$D091 PRG:1091 A9 F0 + sta $4007 ; CPU:$D093 PRG:1093 8D 07 40 +; ----------------------------------------------------------------------------- +; Routine: Label_D096 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D096: + rts ; CPU:$D096 PRG:1096 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D097 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D097: + lda Zp04 ; CPU:$D097 PRG:1097 A5 04 + sta Zp1C ; CPU:$D099 PRG:1099 85 1C + lda #$00 ; CPU:$D09B PRG:109B A9 00 + sta Zp13 ; CPU:$D09D PRG:109D 85 13 + lda Zp20 ; CPU:$D09F PRG:109F A5 20 + asl a ; CPU:$D0A1 PRG:10A1 0A + asl a ; CPU:$D0A2 PRG:10A2 0A + asl a ; CPU:$D0A3 PRG:10A3 0A + asl a ; CPU:$D0A4 PRG:10A4 0A + rol Zp13 ; CPU:$D0A5 PRG:10A5 26 13 + ldx Zp22 ; CPU:$D0A7 PRG:10A7 A6 22 + clc ; CPU:$D0A9 PRG:10A9 18 + adc $D17F,x ; CPU:$D0AA PRG:10AA 7D 7F D1 + sta Zp12 ; CPU:$D0AD PRG:10AD 85 12 + lda #$00 ; CPU:$D0AF PRG:10AF A9 00 + adc Zp13 ; CPU:$D0B1 PRG:10B1 65 13 + sta Zp13 ; CPU:$D0B3 PRG:10B3 85 13 + lda Zp12 ; CPU:$D0B5 PRG:10B5 A5 12 + sec ; CPU:$D0B7 PRG:10B7 38 + sbc Zp04 ; CPU:$D0B8 PRG:10B8 E5 04 + sta Zp14 ; CPU:$D0BA PRG:10BA 85 14 + lda Zp13 ; CPU:$D0BC PRG:10BC A5 13 + sbc #$00 ; CPU:$D0BE PRG:10BE E9 00 + cmp #$01 ; CPU:$D0C0 PRG:10C0 C9 01 + beq Label_D0E4 ; CPU:$D0C2 PRG:10C2 F0 20 + lda Zp14 ; CPU:$D0C4 PRG:10C4 A5 14 + cmp #$C2 ; CPU:$D0C6 PRG:10C6 C9 C2 + bcs Label_D0E4 ; CPU:$D0C8 PRG:10C8 B0 1A + cmp #$38 ; CPU:$D0CA PRG:10CA C9 38 + bcs Label_D0FB ; CPU:$D0CC PRG:10CC B0 2D + lda ZpA7 ; CPU:$D0CE PRG:10CE A5 A7 + cmp #$02 ; CPU:$D0D0 PRG:10D0 C9 02 + beq Label_D0FB ; CPU:$D0D2 PRG:10D2 F0 27 + lda Zp12 ; CPU:$D0D4 PRG:10D4 A5 12 + sec ; CPU:$D0D6 PRG:10D6 38 + sbc #$38 ; CPU:$D0D7 PRG:10D7 E9 38 + bcs Label_D0F5 ; CPU:$D0D9 PRG:10D9 B0 1A + ldx Zp13 ; CPU:$D0DB PRG:10DB A6 13 + bne Label_D0F5 ; CPU:$D0DD PRG:10DD D0 16 + lda #$00 ; CPU:$D0DF PRG:10DF A9 00 + jmp Label_CD0F5 ; CPU:$D0E1 PRG:10E1 4C F5 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_D0E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D0E4: + lda ZpA7 ; CPU:$D0E4 PRG:10E4 A5 A7 + cmp #$02 ; CPU:$D0E6 PRG:10E6 C9 02 + beq Label_D0FB ; CPU:$D0E8 PRG:10E8 F0 11 + lda Zp12 ; CPU:$D0EA PRG:10EA A5 12 + sec ; CPU:$D0EC PRG:10EC 38 + sbc #$C2 ; CPU:$D0ED PRG:10ED E9 C2 + cmp #$D8 ; CPU:$D0EF PRG:10EF C9 D8 + bcc Label_D0F5 ; CPU:$D0F1 PRG:10F1 90 02 + lda #$D8 ; CPU:$D0F3 PRG:10F3 A9 D8 +; ----------------------------------------------------------------------------- +; Routine: Label_D0F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D0F5: + ldx Zp04 ; CPU:$D0F5 PRG:10F5 A6 04 + stx Zp1C ; CPU:$D0F7 PRG:10F7 86 1C + sta Zp04 ; CPU:$D0F9 PRG:10F9 85 04 +; ----------------------------------------------------------------------------- +; Routine: Label_D0FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D0FB: + lda Zp12 ; CPU:$D0FB PRG:10FB A5 12 + sec ; CPU:$D0FD PRG:10FD 38 + sbc Zp04 ; CPU:$D0FE PRG:10FE E5 04 + sta Zp18 ; CPU:$D100 PRG:1100 85 18 + lda Zp21 ; CPU:$D102 PRG:1102 A5 21 + asl a ; CPU:$D104 PRG:1104 0A + asl a ; CPU:$D105 PRG:1105 0A + asl a ; CPU:$D106 PRG:1106 0A + asl a ; CPU:$D107 PRG:1107 0A + ldx Zp23 ; CPU:$D108 PRG:1108 A6 23 + clc ; CPU:$D10A PRG:110A 18 + adc $D187,x ; CPU:$D10B PRG:110B 7D 87 D1 + sta Zp19 ; CPU:$D10E PRG:110E 85 19 + ldx #$00 ; CPU:$D110 PRG:1110 A2 00 + lda Zp25 ; CPU:$D112 PRG:1112 A5 25 + bmi Label_D118 ; CPU:$D114 PRG:1114 30 02 + ldx #$40 ; CPU:$D116 PRG:1116 A2 40 +; ----------------------------------------------------------------------------- +; Routine: Label_D118 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D118: + stx Zp1B ; CPU:$D118 PRG:1118 86 1B + lda Zp24 ; CPU:$D11A PRG:111A A5 24 + asl a ; CPU:$D11C PRG:111C 0A + asl a ; CPU:$D11D PRG:111D 0A + sta Zp1A ; CPU:$D11E PRG:111E 85 1A + ldy #$00 ; CPU:$D120 PRG:1120 A0 00 + sty Zp52 ; CPU:$D122 PRG:1122 84 52 + jsr Label_CD18F ; CPU:$D124 PRG:1124 20 8F D1 + jsr Label_CDC04 ; CPU:$D127 PRG:1127 20 04 DC + lda Zp8D ; CPU:$D12A PRG:112A A5 8D + beq Label_D153 ; CPU:$D12C PRG:112C F0 25 + lda Zp39 ; CPU:$D12E PRG:112E A5 39 + pha ; CPU:$D130 PRG:1130 48 + ldx Zp8D ; CPU:$D131 PRG:1131 A6 8D + stx Zp39 ; CPU:$D133 PRG:1133 86 39 +; ----------------------------------------------------------------------------- +; Routine: Label_D135 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D135: + jsr Label_CDBDE ; CPU:$D135 PRG:1135 20 DE DB + lda Zp20 ; CPU:$D138 PRG:1138 A5 20 + cmp Zp32 ; CPU:$D13A PRG:113A C5 32 + bne Label_D146 ; CPU:$D13C PRG:113C D0 08 + lda Zp21 ; CPU:$D13E PRG:113E A5 21 + cmp Zp33 ; CPU:$D140 PRG:1140 C5 33 + bne Label_D146 ; CPU:$D142 PRG:1142 D0 02 + inc Zp52 ; CPU:$D144 PRG:1144 E6 52 +; ----------------------------------------------------------------------------- +; Routine: Label_D146 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D146: + dec Zp39 ; CPU:$D146 PRG:1146 C6 39 + bne Label_D135 ; CPU:$D148 PRG:1148 D0 EB + pla ; CPU:$D14A PRG:114A 68 + sta Zp39 ; CPU:$D14B PRG:114B 85 39 + lda Zp52 ; CPU:$D14D PRG:114D A5 52 + beq Label_D153 ; CPU:$D14F PRG:114F F0 02 + lsr Zp9A ; CPU:$D151 PRG:1151 46 9A +; ----------------------------------------------------------------------------- +; Routine: Label_D153 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D153: + lda ZpDC ; CPU:$D153 PRG:1153 A5 DC + cmp #$03 ; CPU:$D155 PRG:1155 C9 03 + bcc Label_D176 ; CPU:$D157 PRG:1157 90 1D + lda Zp73 ; CPU:$D159 PRG:1159 A5 73 + cmp Zp20 ; CPU:$D15B PRG:115B C5 20 + bne Label_D176 ; CPU:$D15D PRG:115D D0 17 + lda Zp74 ; CPU:$D15F PRG:115F A5 74 + cmp Zp21 ; CPU:$D161 PRG:1161 C5 21 + bne Label_D176 ; CPU:$D163 PRG:1163 D0 11 + jsr Label_CCB9F ; CPU:$D165 PRG:1165 20 9F CB + ldx Zp75 ; CPU:$D168 PRG:1168 A6 75 + lda $D177,x ; CPU:$D16A PRG:116A BD 77 D1 + sta ZpC6 ; CPU:$D16D PRG:116D 85 C6 + lda #$00 ; CPU:$D16F PRG:116F A9 00 + sta ZpDC ; CPU:$D171 PRG:1171 85 DC + jsr Label_CD023 ; CPU:$D173 PRG:1173 20 23 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_D176 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D176: + rts ; CPU:$D176 PRG:1176 60 +; ---- data $D177-$D18E (24 bytes) ---- +; referenced by `adc $D17F,x` at $D0AA (operand $D17F falls inside this region) +; referenced by `adc $D187,x` at $D10B (operand $D187 falls inside this region) +; referenced by `lda $D177,x` at $D16A (operand $D177 falls inside this region) +; referenced by `adc $D17F,x` at $DC3B (operand $D17F falls inside this region) +; referenced by `adc $D187,x` at $DC73 (operand $D187 falls inside this region) + .byte $01, $02, $04, $08, $0C, $10, $14, $19, $0A, $0C, $0E, $10, $12, $14, $16, $18 ; CPU:$D177 PRG:1177 01 02 04 08 0C 10 14 19 0A 0C 0E 10 12 14 16 18 + .byte $F9, $FB, $FD, $FF, $01, $03, $05, $07 ; CPU:$D187 PRG:1187 F9 FB FD FF 01 03 05 07 +; ----------------------------------------------------------------------------- +; Routine: Label_D18F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D18F: + tya ; CPU:$D18F PRG:118F 98 + asl a ; CPU:$D190 PRG:1190 0A + asl a ; CPU:$D191 PRG:1191 0A + tay ; CPU:$D192 PRG:1192 A8 + txa ; CPU:$D193 PRG:1193 8A + and #$40 ; CPU:$D194 PRG:1194 29 40 + bne Label_D1A2 ; CPU:$D196 PRG:1196 D0 0A + jsr Label_CD1AD ; CPU:$D198 PRG:1198 20 AD D1 + inc Zp1A ; CPU:$D19B PRG:119B E6 1A + inc Zp1A ; CPU:$D19D PRG:119D E6 1A + jmp Label_CD1AD ; CPU:$D19F PRG:119F 4C AD D1 +; ----------------------------------------------------------------------------- +; Routine: Label_D1A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1A2: + inc Zp1A ; CPU:$D1A2 PRG:11A2 E6 1A + inc Zp1A ; CPU:$D1A4 PRG:11A4 E6 1A + jsr Label_CD1AD ; CPU:$D1A6 PRG:11A6 20 AD D1 + dec Zp1A ; CPU:$D1A9 PRG:11A9 C6 1A + dec Zp1A ; CPU:$D1AB PRG:11AB C6 1A +; ----------------------------------------------------------------------------- +; Routine: Label_D1AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1AD: + lda Zp1E ; CPU:$D1AD PRG:11AD A5 1E + beq Label_D1B5 ; CPU:$D1AF PRG:11AF F0 04 + lda #$F8 ; CPU:$D1B1 PRG:11B1 A9 F8 + bne Label_D1B7 ; CPU:$D1B3 PRG:11B3 D0 02 +; ----------------------------------------------------------------------------- +; Routine: Label_D1B5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1B5: + lda Zp19 ; CPU:$D1B5 PRG:11B5 A5 19 +; ----------------------------------------------------------------------------- +; Routine: Label_D1B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1B7: + sta $0700,y ; CPU:$D1B7 PRG:11B7 99 00 07 + lda Zp1A ; CPU:$D1BA PRG:11BA A5 1A + sta $0701,y ; CPU:$D1BC PRG:11BC 99 01 07 + lda Zp1B ; CPU:$D1BF PRG:11BF A5 1B + sta $0702,y ; CPU:$D1C1 PRG:11C1 99 02 07 + lda Zp18 ; CPU:$D1C4 PRG:11C4 A5 18 + sta $0703,y ; CPU:$D1C6 PRG:11C6 99 03 07 + lda Zp1E ; CPU:$D1C9 PRG:11C9 A5 1E + beq Label_D1D1 ; CPU:$D1CB PRG:11CB F0 04 + lda #$F8 ; CPU:$D1CD PRG:11CD A9 F8 + bne Label_D1DA ; CPU:$D1CF PRG:11CF D0 09 +; ----------------------------------------------------------------------------- +; Routine: Label_D1D1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1D1: + lda Zp19 ; CPU:$D1D1 PRG:11D1 A5 19 + cmp #$F8 ; CPU:$D1D3 PRG:11D3 C9 F8 + beq Label_D1DA ; CPU:$D1D5 PRG:11D5 F0 03 + clc ; CPU:$D1D7 PRG:11D7 18 + adc #$08 ; CPU:$D1D8 PRG:11D8 69 08 +; ----------------------------------------------------------------------------- +; Routine: Label_D1DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D1DA: + sta $0704,y ; CPU:$D1DA PRG:11DA 99 04 07 + lda Zp1A ; CPU:$D1DD PRG:11DD A5 1A + clc ; CPU:$D1DF PRG:11DF 18 + adc #$01 ; CPU:$D1E0 PRG:11E0 69 01 + sta $0705,y ; CPU:$D1E2 PRG:11E2 99 05 07 + lda Zp1B ; CPU:$D1E5 PRG:11E5 A5 1B + sta $0706,y ; CPU:$D1E7 PRG:11E7 99 06 07 + lda Zp18 ; CPU:$D1EA PRG:11EA A5 18 + sta $0707,y ; CPU:$D1EC PRG:11EC 99 07 07 + tya ; CPU:$D1EF PRG:11EF 98 + clc ; CPU:$D1F0 PRG:11F0 18 + adc #$08 ; CPU:$D1F1 PRG:11F1 69 08 + tay ; CPU:$D1F3 PRG:11F3 A8 + lda Zp1E ; CPU:$D1F4 PRG:11F4 A5 1E + bne Label_D207 ; CPU:$D1F6 PRG:11F6 D0 0F + lda Zp18 ; CPU:$D1F8 PRG:11F8 A5 18 + clc ; CPU:$D1FA PRG:11FA 18 + adc #$08 ; CPU:$D1FB PRG:11FB 69 08 + bcs Label_D202 ; CPU:$D1FD PRG:11FD B0 03 + sta Zp18 ; CPU:$D1FF PRG:11FF 85 18 + rts ; CPU:$D201 PRG:1201 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D202 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D202: + lda #$F8 ; CPU:$D202 PRG:1202 A9 F8 + sta Zp19 ; CPU:$D204 PRG:1204 85 19 + rts ; CPU:$D206 PRG:1206 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D207 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D207: + lda Zp18 ; CPU:$D207 PRG:1207 A5 18 + clc ; CPU:$D209 PRG:1209 18 + adc #$08 ; CPU:$D20A PRG:120A 69 08 + sta Zp18 ; CPU:$D20C PRG:120C 85 18 + lda #$00 ; CPU:$D20E PRG:120E A9 00 + sta Zp1E ; CPU:$D210 PRG:1210 85 1E + rts ; CPU:$D212 PRG:1212 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D213 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D213: + lda Zp22 ; CPU:$D213 PRG:1213 A5 22 + cmp #$03 ; CPU:$D215 PRG:1215 C9 03 + bcc Label_D220 ; CPU:$D217 PRG:1217 90 07 + beq Label_D225 ; CPU:$D219 PRG:1219 F0 0A + dec Zp22 ; CPU:$D21B PRG:121B C6 22 + jmp Label_CCFDF ; CPU:$D21D PRG:121D 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_D220 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D220: + inc Zp22 ; CPU:$D220 PRG:1220 E6 22 + jmp Label_CCFDF ; CPU:$D222 PRG:1222 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_D225 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D225: + rts ; CPU:$D225 PRG:1225 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D226 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D226: + lda Zp23 ; CPU:$D226 PRG:1226 A5 23 + cmp #$03 ; CPU:$D228 PRG:1228 C9 03 + bcc Label_D233 ; CPU:$D22A PRG:122A 90 07 + beq Label_D238 ; CPU:$D22C PRG:122C F0 0A + dec Zp23 ; CPU:$D22E PRG:122E C6 23 + jmp Label_CCFDF ; CPU:$D230 PRG:1230 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_D233 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D233: + inc Zp23 ; CPU:$D233 PRG:1233 E6 23 + jmp Label_CCFDF ; CPU:$D235 PRG:1235 4C DF CF +; ----------------------------------------------------------------------------- +; Routine: Label_D238 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D238: + rts ; CPU:$D238 PRG:1238 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D239 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D239: + lda $C688,y ; CPU:$D239 PRG:1239 B9 88 C6 + jmp Label_CC81D ; CPU:$D23C PRG:123C 4C 1D C8 +; ----------------------------------------------------------------------------- +; Routine: Label_D23F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D23F: + lda #$00 ; CPU:$D23F PRG:123F A9 00 + sta Zp9C ; CPU:$D241 PRG:1241 85 9C + ldy Zp21 ; CPU:$D243 PRG:1243 A4 21 + iny ; CPU:$D245 PRG:1245 C8 + stx Zp85 ; CPU:$D246 PRG:1246 86 85 + sty Zp86 ; CPU:$D248 PRG:1248 84 86 + jsr Label_CD2FA ; CPU:$D24A PRG:124A 20 FA D2 + lda #$00 ; CPU:$D24D PRG:124D A9 00 + ldy Zp85 ; CPU:$D24F PRG:124F A4 85 + sta (Zp26),y ; CPU:$D251 PRG:1251 91 26 + lda #$00 ; CPU:$D253 PRG:1253 A9 00 + jsr Label_CD055 ; CPU:$D255 PRG:1255 20 55 D0 + dec Zp86 ; CPU:$D258 PRG:1258 C6 86 + lda #$00 ; CPU:$D25A PRG:125A A9 00 + jsr Label_CD055 ; CPU:$D25C PRG:125C 20 55 D0 + inc Zp86 ; CPU:$D25F PRG:125F E6 86 + ldx #$FF ; CPU:$D261 PRG:1261 A2 FF +; ----------------------------------------------------------------------------- +; Routine: Label_D263 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D263: + inx ; CPU:$D263 PRG:1263 E8 + cpx #$1E ; CPU:$D264 PRG:1264 E0 1E + beq Label_D27D ; CPU:$D266 PRG:1266 F0 15 + lda $06E0,x ; CPU:$D268 PRG:1268 BD E0 06 + bne Label_D263 ; CPU:$D26B PRG:126B D0 F6 + lda Zp86 ; CPU:$D26D PRG:126D A5 86 + sta $06C0,x ; CPU:$D26F PRG:126F 9D C0 06 + lda Zp85 ; CPU:$D272 PRG:1272 A5 85 + sta $06A0,x ; CPU:$D274 PRG:1274 9D A0 06 + lda #$B4 ; CPU:$D277 PRG:1277 A9 B4 + sta $06E0,x ; CPU:$D279 PRG:1279 9D E0 06 + sec ; CPU:$D27C PRG:127C 38 +; ----------------------------------------------------------------------------- +; Routine: Label_D27D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D27D: + rts ; CPU:$D27D PRG:127D 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D27E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D27E: + inc ZpD8 ; CPU:$D27E PRG:127E E6 D8 + lda ZpD8 ; CPU:$D280 PRG:1280 A5 D8 + cmp #$0A ; CPU:$D282 PRG:1282 C9 0A + bne Label_D288 ; CPU:$D284 PRG:1284 D0 02 + lda #$00 ; CPU:$D286 PRG:1286 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_D288 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D288: + sta ZpD8 ; CPU:$D288 PRG:1288 85 D8 + beq Label_D291 ; CPU:$D28A PRG:128A F0 05 + cmp #$05 ; CPU:$D28C PRG:128C C9 05 + beq Label_D2AB ; CPU:$D28E PRG:128E F0 1B + rts ; CPU:$D290 PRG:1290 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D291 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D291: + lda #$80 ; CPU:$D291 PRG:1291 A9 80 + ldx #$12 ; CPU:$D293 PRG:1293 A2 12 +; ----------------------------------------------------------------------------- +; Routine: Label_D295 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D295: + jsr Label_CD305 ; CPU:$D295 PRG:1295 20 05 D3 + beq Label_D2AA ; CPU:$D298 PRG:1298 F0 10 + ldy #$80 ; CPU:$D29A PRG:129A A0 80 + sty $4004 ; CPU:$D29C PRG:129C 8C 04 40 + ldy #$00 ; CPU:$D29F PRG:129F A0 00 + sty $4005 ; CPU:$D2A1 PRG:12A1 8C 05 40 + sta $4006 ; CPU:$D2A4 PRG:12A4 8D 06 40 + stx $4007 ; CPU:$D2A7 PRG:12A7 8E 07 40 +; ----------------------------------------------------------------------------- +; Routine: Label_D2AA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2AA: + rts ; CPU:$D2AA PRG:12AA 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D2AB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2AB: + lda #$AB ; CPU:$D2AB PRG:12AB A9 AB + ldx #$11 ; CPU:$D2AD PRG:12AD A2 11 + bne Label_D295 ; CPU:$D2AF PRG:12AF D0 E4 +; ----------------------------------------------------------------------------- +; Routine: Label_D2B1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2B1: + inc ZpD9 ; CPU:$D2B1 PRG:12B1 E6 D9 + lda ZpD9 ; CPU:$D2B3 PRG:12B3 A5 D9 + cmp #$08 ; CPU:$D2B5 PRG:12B5 C9 08 + bne Label_D2BB ; CPU:$D2B7 PRG:12B7 D0 02 + lda #$00 ; CPU:$D2B9 PRG:12B9 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_D2BB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2BB: + sta ZpD9 ; CPU:$D2BB PRG:12BB 85 D9 + beq Label_D2C4 ; CPU:$D2BD PRG:12BD F0 05 + cmp #$04 ; CPU:$D2BF PRG:12BF C9 04 + beq Label_D2CA ; CPU:$D2C1 PRG:12C1 F0 07 + rts ; CPU:$D2C3 PRG:12C3 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D2C4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2C4: + lda #$A0 ; CPU:$D2C4 PRG:12C4 A9 A0 + ldx #$10 ; CPU:$D2C6 PRG:12C6 A2 10 + bne Label_D295 ; CPU:$D2C8 PRG:12C8 D0 CB +; ----------------------------------------------------------------------------- +; Routine: Label_D2CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2CA: + lda #$50 ; CPU:$D2CA PRG:12CA A9 50 + ldx #$10 ; CPU:$D2CC PRG:12CC A2 10 + bne Label_D295 ; CPU:$D2CE PRG:12CE D0 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_D2D0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2D0: + inc ZpDA ; CPU:$D2D0 PRG:12D0 E6 DA + lda ZpDA ; CPU:$D2D2 PRG:12D2 A5 DA + cmp #$08 ; CPU:$D2D4 PRG:12D4 C9 08 + bne Label_D2DA ; CPU:$D2D6 PRG:12D6 D0 02 + lda #$00 ; CPU:$D2D8 PRG:12D8 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_D2DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2DA: + sta ZpDA ; CPU:$D2DA PRG:12DA 85 DA + beq Label_D2E3 ; CPU:$D2DC PRG:12DC F0 05 + cmp #$04 ; CPU:$D2DE PRG:12DE C9 04 + beq Label_D2E9 ; CPU:$D2E0 PRG:12E0 F0 07 + rts ; CPU:$D2E2 PRG:12E2 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D2E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2E3: + lda #$28 ; CPU:$D2E3 PRG:12E3 A9 28 + ldx #$10 ; CPU:$D2E5 PRG:12E5 A2 10 + bne Label_D295 ; CPU:$D2E7 PRG:12E7 D0 AC +; ----------------------------------------------------------------------------- +; Routine: Label_D2E9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2E9: + lda #$14 ; CPU:$D2E9 PRG:12E9 A9 14 + ldx #$10 ; CPU:$D2EB PRG:12EB A2 10 + bne Label_D295 ; CPU:$D2ED PRG:12ED D0 A6 +; ----------------------------------------------------------------------------- +; Routine: Label_D2EF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2EF: + lda $C688,y ; CPU:$D2EF PRG:12EF B9 88 C6 + sta Zp28 ; CPU:$D2F2 PRG:12F2 85 28 + lda $C6A4,y ; CPU:$D2F4 PRG:12F4 B9 A4 C6 + sta Zp29 ; CPU:$D2F7 PRG:12F7 85 29 + rts ; CPU:$D2F9 PRG:12F9 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D2FA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D2FA: + lda $C688,y ; CPU:$D2FA PRG:12FA B9 88 C6 + sta Zp26 ; CPU:$D2FD PRG:12FD 85 26 + lda $C696,y ; CPU:$D2FF PRG:12FF B9 96 C6 + sta Zp27 ; CPU:$D302 PRG:1302 85 27 + rts ; CPU:$D304 PRG:1304 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D305 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D305: + ldy ZpBE ; CPU:$D305 PRG:1305 A4 BE + cpy #$05 ; CPU:$D307 PRG:1307 C0 05 + rts ; CPU:$D309 PRG:1309 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D30A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D30A: + ldy Zp20 ; CPU:$D30A PRG:130A A4 20 + lda (Zp26),y ; CPU:$D30C PRG:130C B1 26 + rts ; CPU:$D30E PRG:130E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D30F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D30F: + jsr Label_CD415 ; CPU:$D30F PRG:130F 20 15 D4 + inc Zp53 ; CPU:$D312 PRG:1312 E6 53 + lda Zp53 ; CPU:$D314 PRG:1314 A5 53 + cmp #$1C ; CPU:$D316 PRG:1316 C9 1C + bcc Label_D31E ; CPU:$D318 PRG:1318 90 04 + lda #$00 ; CPU:$D31A PRG:131A A9 00 + sta Zp53 ; CPU:$D31C PRG:131C 85 53 +; ----------------------------------------------------------------------------- +; Routine: Label_D31E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D31E: + ldx #$1E ; CPU:$D31E PRG:131E A2 1E +; ----------------------------------------------------------------------------- +; Routine: Label_D320 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D320: + lda $06E0,x ; CPU:$D320 PRG:1320 BD E0 06 + stx Zp88 ; CPU:$D323 PRG:1323 86 88 + beq Label_D346 ; CPU:$D325 PRG:1325 F0 1F + dec $06E0,x ; CPU:$D327 PRG:1327 DE E0 06 + beq Label_D361 ; CPU:$D32A PRG:132A F0 35 + lda $06A0,x ; CPU:$D32C PRG:132C BD A0 06 + sta Zp85 ; CPU:$D32F PRG:132F 85 85 + lda $06C0,x ; CPU:$D331 PRG:1331 BD C0 06 + sta Zp86 ; CPU:$D334 PRG:1334 85 86 + lda $06E0,x ; CPU:$D336 PRG:1336 BD E0 06 + cmp #$28 ; CPU:$D339 PRG:1339 C9 28 + bne Label_D349 ; CPU:$D33B PRG:133B D0 0C + lda #$14 ; CPU:$D33D PRG:133D A9 14 +; ----------------------------------------------------------------------------- +; Routine: Label_D33F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D33F: + jsr Label_CD055 ; CPU:$D33F PRG:133F 20 55 D0 + ldx Zp85 ; CPU:$D342 PRG:1342 A6 85 + ldy Zp86 ; CPU:$D344 PRG:1344 A4 86 +; ----------------------------------------------------------------------------- +; Routine: Label_D346 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D346: + jmp Label_CD40D ; CPU:$D346 PRG:1346 4C 0D D4 +; ----------------------------------------------------------------------------- +; Routine: Label_D349 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D349: + cmp #$1E ; CPU:$D349 PRG:1349 C9 1E + bne Label_D351 ; CPU:$D34B PRG:134B D0 04 + lda #$15 ; CPU:$D34D PRG:134D A9 15 + bne Label_D33F ; CPU:$D34F PRG:134F D0 EE +; ----------------------------------------------------------------------------- +; Routine: Label_D351 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D351: + cmp #$14 ; CPU:$D351 PRG:1351 C9 14 + bne Label_D359 ; CPU:$D353 PRG:1353 D0 04 + lda #$16 ; CPU:$D355 PRG:1355 A9 16 + bne Label_D33F ; CPU:$D357 PRG:1357 D0 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_D359 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D359: + cmp #$0A ; CPU:$D359 PRG:1359 C9 0A + bne Label_D346 ; CPU:$D35B PRG:135B D0 E9 + lda #$17 ; CPU:$D35D PRG:135D A9 17 + bne Label_D33F ; CPU:$D35F PRG:135F D0 DE +; ----------------------------------------------------------------------------- +; Routine: Label_D361 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D361: + ldx Zp88 ; CPU:$D361 PRG:1361 A6 88 + ldy $06C0,x ; CPU:$D363 PRG:1363 BC C0 06 + sty Zp86 ; CPU:$D366 PRG:1366 84 86 + jsr Label_CC81D ; CPU:$D368 PRG:1368 20 1D C8 + ldy $06A0,x ; CPU:$D36B PRG:136B BC A0 06 + sty Zp85 ; CPU:$D36E PRG:136E 84 85 + lda (Zp26),y ; CPU:$D370 PRG:1370 B1 26 + cmp #$00 ; CPU:$D372 PRG:1372 C9 00 + bne Label_D379 ; CPU:$D374 PRG:1374 D0 03 + jmp Label_CD404 ; CPU:$D376 PRG:1376 4C 04 D4 +; ----------------------------------------------------------------------------- +; Routine: Label_D379 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D379: + cmp #$09 ; CPU:$D379 PRG:1379 C9 09 + bne Label_D37F ; CPU:$D37B PRG:137B D0 02 + lsr Zp9A ; CPU:$D37D PRG:137D 46 9A +; ----------------------------------------------------------------------------- +; Routine: Label_D37F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D37F: + cmp #$08 ; CPU:$D37F PRG:137F C9 08 + beq Label_D38C ; CPU:$D381 PRG:1381 F0 09 + cmp #$07 ; CPU:$D383 PRG:1383 C9 07 + bne Label_D389 ; CPU:$D385 PRG:1385 D0 02 + dec Zp93 ; CPU:$D387 PRG:1387 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Label_D389 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D389: + jmp Label_CD404 ; CPU:$D389 PRG:1389 4C 04 D4 +; ----------------------------------------------------------------------------- +; Routine: Label_D38C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D38C: + lda #$01 ; CPU:$D38C PRG:138C A9 01 + sta (Zp26),y ; CPU:$D38E PRG:138E 91 26 + sta (Zp28),y ; CPU:$D390 PRG:1390 91 28 + jsr Label_CD055 ; CPU:$D392 PRG:1392 20 55 D0 + inc ZpC5 ; CPU:$D395 PRG:1395 E6 C5 + lda ZpC5 ; CPU:$D397 PRG:1397 A5 C5 + cmp #$05 ; CPU:$D399 PRG:1399 C9 05 + bcc Label_D3A3 ; CPU:$D39B PRG:139B 90 06 + lda ZpDC ; CPU:$D39D PRG:139D A5 DC + bne Label_D3A3 ; CPU:$D39F PRG:139F D0 02 + inc ZpDC ; CPU:$D3A1 PRG:13A1 E6 DC +; ----------------------------------------------------------------------------- +; Routine: Label_D3A3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3A3: + ldx Zp8D ; CPU:$D3A3 PRG:13A3 A6 8D +; ----------------------------------------------------------------------------- +; Routine: Label_D3A5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3A5: + lda $0660,x ; CPU:$D3A5 PRG:13A5 BD 60 06 + cmp Zp85 ; CPU:$D3A8 PRG:13A8 C5 85 + bne Label_D401 ; CPU:$D3AA PRG:13AA D0 55 + lda $0668,x ; CPU:$D3AC PRG:13AC BD 68 06 + cmp Zp86 ; CPU:$D3AF PRG:13AF C5 86 + bne Label_D401 ; CPU:$D3B1 PRG:13B1 D0 4E + lda $0670,x ; CPU:$D3B3 PRG:13B3 BD 70 06 + bpl Label_D3BA ; CPU:$D3B6 PRG:13B6 10 02 + dec Zp93 ; CPU:$D3B8 PRG:13B8 C6 93 +; ----------------------------------------------------------------------------- +; Routine: Label_D3BA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3BA: + lda #$7F ; CPU:$D3BA PRG:13BA A9 7F + sta $0670,x ; CPU:$D3BC PRG:13BC 9D 70 06 + stx Zp39 ; CPU:$D3BF PRG:13BF 86 39 + ldx Zp39 ; CPU:$D3C1 PRG:13C1 A6 39 + ldy #$01 ; CPU:$D3C3 PRG:13C3 A0 01 + sty Zp86 ; CPU:$D3C5 PRG:13C5 84 86 +; ----------------------------------------------------------------------------- +; Routine: Label_D3C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3C7: + ldy Zp86 ; CPU:$D3C7 PRG:13C7 A4 86 + jsr Label_CD2EF ; CPU:$D3C9 PRG:13C9 20 EF D2 + ldy Zp53 ; CPU:$D3CC PRG:13CC A4 53 +; ----------------------------------------------------------------------------- +; Routine: Label_D3CE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3CE: + lda (Zp28),y ; CPU:$D3CE PRG:13CE B1 28 + cmp #$00 ; CPU:$D3D0 PRG:13D0 C9 00 + beq Label_D3E4 ; CPU:$D3D2 PRG:13D2 F0 10 + inc Zp53 ; CPU:$D3D4 PRG:13D4 E6 53 + ldy Zp53 ; CPU:$D3D6 PRG:13D6 A4 53 + cpy #$1C ; CPU:$D3D8 PRG:13D8 C0 1C + bcc Label_D3CE ; CPU:$D3DA PRG:13DA 90 F2 + inc Zp86 ; CPU:$D3DC PRG:13DC E6 86 + lda #$00 ; CPU:$D3DE PRG:13DE A9 00 + sta Zp53 ; CPU:$D3E0 PRG:13E0 85 53 + beq Label_D3C7 ; CPU:$D3E2 PRG:13E2 F0 E3 +; ----------------------------------------------------------------------------- +; Routine: Label_D3E4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D3E4: + tya ; CPU:$D3E4 PRG:13E4 98 + sta $0660,x ; CPU:$D3E5 PRG:13E5 9D 60 06 + lda Zp86 ; CPU:$D3E8 PRG:13E8 A5 86 + sta $0668,x ; CPU:$D3EA PRG:13EA 9D 68 06 + lda #$14 ; CPU:$D3ED PRG:13ED A9 14 + sta $0698,x ; CPU:$D3EF PRG:13EF 9D 98 06 + lda #$02 ; CPU:$D3F2 PRG:13F2 A9 02 + sta $0680,x ; CPU:$D3F4 PRG:13F4 9D 80 06 + sta $0678,x ; CPU:$D3F7 PRG:13F7 9D 78 06 + lda #$2C ; CPU:$D3FA PRG:13FA A9 2C + sta $0688,x ; CPU:$D3FC PRG:13FC 9D 88 06 + bne Label_D40D ; CPU:$D3FF PRG:13FF D0 0C +; ----------------------------------------------------------------------------- +; Routine: Label_D401 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D401: + dex ; CPU:$D401 PRG:1401 CA + bne Label_D3A5 ; CPU:$D402 PRG:1402 D0 A1 +; ----------------------------------------------------------------------------- +; Routine: Label_D404 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D404: + lda #$01 ; CPU:$D404 PRG:1404 A9 01 + sta (Zp26),y ; CPU:$D406 PRG:1406 91 26 + lda #$01 ; CPU:$D408 PRG:1408 A9 01 + jsr Label_CD055 ; CPU:$D40A PRG:140A 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_D40D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D40D: + ldx Zp88 ; CPU:$D40D PRG:140D A6 88 + dex ; CPU:$D40F PRG:140F CA + bmi Label_D476 ; CPU:$D410 PRG:1410 30 64 + jmp Label_CD320 ; CPU:$D412 PRG:1412 4C 20 D3 +; ----------------------------------------------------------------------------- +; Routine: Label_D415 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D415: + ldx Zp8D ; CPU:$D415 PRG:1415 A6 8D + beq Label_D476 ; CPU:$D417 PRG:1417 F0 5D + lda Zp39 ; CPU:$D419 PRG:1419 A5 39 + pha ; CPU:$D41B PRG:141B 48 +; ----------------------------------------------------------------------------- +; Routine: Label_D41C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D41C: + lda $0698,x ; CPU:$D41C PRG:141C BD 98 06 + beq Label_D470 ; CPU:$D41F PRG:141F F0 4F + stx Zp39 ; CPU:$D421 PRG:1421 86 39 + lda #$7F ; CPU:$D423 PRG:1423 A9 7F + sta $0670,x ; CPU:$D425 PRG:1425 9D 70 06 + lda $0660,x ; CPU:$D428 PRG:1428 BD 60 06 + sta Zp85 ; CPU:$D42B PRG:142B 85 85 + lda $0668,x ; CPU:$D42D PRG:142D BD 68 06 + sta Zp86 ; CPU:$D430 PRG:1430 85 86 + dec $0698,x ; CPU:$D432 PRG:1432 DE 98 06 + beq Label_D477 ; CPU:$D435 PRG:1435 F0 40 + lda $0698,x ; CPU:$D437 PRG:1437 BD 98 06 + cmp #$13 ; CPU:$D43A PRG:143A C9 13 + bcc Label_D45A ; CPU:$D43C PRG:143C 90 1C + lda #$2C ; CPU:$D43E PRG:143E A9 2C +; ----------------------------------------------------------------------------- +; Routine: Label_D440 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D440: + sta Zp34 ; CPU:$D440 PRG:1440 85 34 + lda #$FF ; CPU:$D442 PRG:1442 A9 FF + sta Zp35 ; CPU:$D444 PRG:1444 85 35 + lda Zp86 ; CPU:$D446 PRG:1446 A5 86 + sta Zp33 ; CPU:$D448 PRG:1448 85 33 + lda Zp85 ; CPU:$D44A PRG:144A A5 85 + sta Zp32 ; CPU:$D44C PRG:144C 85 32 + lda #$03 ; CPU:$D44E PRG:144E A9 03 + sta Zp37 ; CPU:$D450 PRG:1450 85 37 + sta Zp38 ; CPU:$D452 PRG:1452 85 38 + jsr Label_CDC93 ; CPU:$D454 PRG:1454 20 93 DC + jmp Label_CD46E ; CPU:$D457 PRG:1457 4C 6E D4 +; ----------------------------------------------------------------------------- +; Routine: Label_D45A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D45A: + cmp #$10 ; CPU:$D45A PRG:145A C9 10 + bcc Label_D462 ; CPU:$D45C PRG:145C 90 04 + lda #$2D ; CPU:$D45E PRG:145E A9 2D + bne Label_D440 ; CPU:$D460 PRG:1460 D0 DE +; ----------------------------------------------------------------------------- +; Routine: Label_D462 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D462: + cmp #$0D ; CPU:$D462 PRG:1462 C9 0D + bcc Label_D46A ; CPU:$D464 PRG:1464 90 04 + lda #$2E ; CPU:$D466 PRG:1466 A9 2E + bne Label_D440 ; CPU:$D468 PRG:1468 D0 D6 +; ----------------------------------------------------------------------------- +; Routine: Label_D46A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D46A: + lda #$2F ; CPU:$D46A PRG:146A A9 2F + bne Label_D440 ; CPU:$D46C PRG:146C D0 D2 +; ----------------------------------------------------------------------------- +; Routine: Label_D46E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D46E: + ldx Zp39 ; CPU:$D46E PRG:146E A6 39 +; ----------------------------------------------------------------------------- +; Routine: Label_D470 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D470: + dex ; CPU:$D470 PRG:1470 CA + bne Label_D41C ; CPU:$D471 PRG:1471 D0 A9 + pla ; CPU:$D473 PRG:1473 68 + sta Zp39 ; CPU:$D474 PRG:1474 85 39 +; ----------------------------------------------------------------------------- +; Routine: Label_D476 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D476: + rts ; CPU:$D476 PRG:1476 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D477 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D477: + ldy Zp86 ; CPU:$D477 PRG:1477 A4 86 + jsr Label_CD2FA ; CPU:$D479 PRG:1479 20 FA D2 + ldx Zp39 ; CPU:$D47C PRG:147C A6 39 + inc $0698,x ; CPU:$D47E PRG:147E FE 98 06 + ldy Zp85 ; CPU:$D481 PRG:1481 A4 85 + lda (Zp26),y ; CPU:$D483 PRG:1483 B1 26 + bne Label_D470 ; CPU:$D485 PRG:1485 D0 E9 + lda #$08 ; CPU:$D487 PRG:1487 A9 08 + sta (Zp26),y ; CPU:$D489 PRG:1489 91 26 + lda #$00 ; CPU:$D48B PRG:148B A9 00 + ldx Zp39 ; CPU:$D48D PRG:148D A6 39 + sta $0670,x ; CPU:$D48F PRG:148F 9D 70 06 + sta $0698,x ; CPU:$D492 PRG:1492 9D 98 06 + lda #$1C ; CPU:$D495 PRG:1495 A9 1C + sta $0688,x ; CPU:$D497 PRG:1497 9D 88 06 + bne Label_D470 ; CPU:$D49A PRG:149A D0 D4 +; ----------------------------------------------------------------------------- +; Routine: Label_D49C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D49C: + ldx Zp8D ; CPU:$D49C PRG:149C A6 8D + beq Label_D4C0 ; CPU:$D49E PRG:149E F0 20 + inc Zp64 ; CPU:$D4A0 PRG:14A0 E6 64 + ldy Zp64 ; CPU:$D4A2 PRG:14A2 A4 64 + cpy #$03 ; CPU:$D4A4 PRG:14A4 C0 03 + bcc Label_D4AC ; CPU:$D4A6 PRG:14A6 90 04 + ldy #$00 ; CPU:$D4A8 PRG:14A8 A0 00 + sty Zp64 ; CPU:$D4AA PRG:14AA 84 64 +; ----------------------------------------------------------------------------- +; Routine: Label_D4AC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4AC: + lda a:$0060,y ; CPU:$D4AC PRG:14AC B9 60 00 + sta Zp63 ; CPU:$D4AF PRG:14AF 85 63 +; ----------------------------------------------------------------------------- +; Routine: Label_D4B1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4B1: + lsr Zp63 ; CPU:$D4B1 PRG:14B1 46 63 + bcc Label_D4BC ; CPU:$D4B3 PRG:14B3 90 07 + jsr Label_CD4C1 ; CPU:$D4B5 PRG:14B5 20 C1 D4 + lda Zp9A ; CPU:$D4B8 PRG:14B8 A5 9A + beq Label_D4C0 ; CPU:$D4BA PRG:14BA F0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_D4BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4BC: + lda Zp63 ; CPU:$D4BC PRG:14BC A5 63 + bne Label_D4B1 ; CPU:$D4BE PRG:14BE D0 F1 +; ----------------------------------------------------------------------------- +; Routine: Label_D4C0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4C0: + rts ; CPU:$D4C0 PRG:14C0 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D4C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4C1: + inc Zp39 ; CPU:$D4C1 PRG:14C1 E6 39 + ldx Zp8D ; CPU:$D4C3 PRG:14C3 A6 8D + cpx Zp39 ; CPU:$D4C5 PRG:14C5 E4 39 + bcs Label_D4CD ; CPU:$D4C7 PRG:14C7 B0 04 + ldx #$01 ; CPU:$D4C9 PRG:14C9 A2 01 + stx Zp39 ; CPU:$D4CB PRG:14CB 86 39 +; ----------------------------------------------------------------------------- +; Routine: Label_D4CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4CD: + jsr Label_CDBDE ; CPU:$D4CD PRG:14CD 20 DE DB + lda Zp36 ; CPU:$D4D0 PRG:14D0 A5 36 + bmi Label_D4EE ; CPU:$D4D2 PRG:14D2 30 1A + beq Label_D4EE ; CPU:$D4D4 PRG:14D4 F0 18 + dec Zp36 ; CPU:$D4D6 PRG:14D6 C6 36 + ldy Zp36 ; CPU:$D4D8 PRG:14D8 A4 36 + cpy #$0E ; CPU:$D4DA PRG:14DA C0 0E + bcs Label_D4E1 ; CPU:$D4DC PRG:14DC B0 03 + jmp Label_CD5DC ; CPU:$D4DE PRG:14DE 4C DC D5 +; ----------------------------------------------------------------------------- +; Routine: Label_D4E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4E1: + ldx Zp39 ; CPU:$D4E1 PRG:14E1 A6 39 + lda $0698,x ; CPU:$D4E3 PRG:14E3 BD 98 06 + beq Label_D4EB ; CPU:$D4E6 PRG:14E6 F0 03 + jmp Label_CDBB8 ; CPU:$D4E8 PRG:14E8 4C B8 DB +; ----------------------------------------------------------------------------- +; Routine: Label_D4EB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4EB: + jmp Label_CD571 ; CPU:$D4EB PRG:14EB 4C 71 D5 +; ----------------------------------------------------------------------------- +; Routine: Label_D4EE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D4EE: + ldy Zp33 ; CPU:$D4EE PRG:14EE A4 33 + jsr Label_CD2EF ; CPU:$D4F0 PRG:14F0 20 EF D2 + ldy Zp32 ; CPU:$D4F3 PRG:14F3 A4 32 + lda (Zp28),y ; CPU:$D4F5 PRG:14F5 B1 28 + cmp #$03 ; CPU:$D4F7 PRG:14F7 C9 03 + beq Label_D53C ; CPU:$D4F9 PRG:14F9 F0 41 + cmp #$04 ; CPU:$D4FB PRG:14FB C9 04 + bne Label_D505 ; CPU:$D4FD PRG:14FD D0 06 + lda Zp38 ; CPU:$D4FF PRG:14FF A5 38 + cmp #$03 ; CPU:$D501 PRG:1501 C9 03 + beq Label_D53C ; CPU:$D503 PRG:1503 F0 37 +; ----------------------------------------------------------------------------- +; Routine: Label_D505 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D505: + lda Zp38 ; CPU:$D505 PRG:1505 A5 38 + cmp #$03 ; CPU:$D507 PRG:1507 C9 03 + bcc Label_D53F ; CPU:$D509 PRG:1509 90 34 + ldy Zp33 ; CPU:$D50B PRG:150B A4 33 + cpy #$0D ; CPU:$D50D PRG:150D C0 0D + beq Label_D53C ; CPU:$D50F PRG:150F F0 2B + lda $C689,y ; CPU:$D511 PRG:1511 B9 89 C6 + sta Zp26 ; CPU:$D514 PRG:1514 85 26 + jsr Label_CDCB1 ; CPU:$D516 PRG:1516 20 B1 DC + lda $C697,y ; CPU:$D519 PRG:1519 B9 97 C6 + sta Zp27 ; CPU:$D51C PRG:151C 85 27 + ldy Zp32 ; CPU:$D51E PRG:151E A4 32 + lda (Zp26),y ; CPU:$D520 PRG:1520 B1 26 + cmp #$00 ; CPU:$D522 PRG:1522 C9 00 + beq Label_D53F ; CPU:$D524 PRG:1524 F0 19 + cmp #$09 ; CPU:$D526 PRG:1526 C9 09 + beq Label_D53F ; CPU:$D528 PRG:1528 F0 15 + cmp #$08 ; CPU:$D52A PRG:152A C9 08 + beq Label_D53C ; CPU:$D52C PRG:152C F0 0E + lda (Zp28),y ; CPU:$D52E PRG:152E B1 28 + cmp #$01 ; CPU:$D530 PRG:1530 C9 01 + beq Label_D53C ; CPU:$D532 PRG:1532 F0 08 + cmp #$02 ; CPU:$D534 PRG:1534 C9 02 + beq Label_D53C ; CPU:$D536 PRG:1536 F0 04 + cmp #$03 ; CPU:$D538 PRG:1538 C9 03 + bne Label_D53F ; CPU:$D53A PRG:153A D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_D53C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D53C: + jmp Label_CD5F0 ; CPU:$D53C PRG:153C 4C F0 D5 +; ----------------------------------------------------------------------------- +; Routine: Label_D53F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D53F: + lda #$20 ; CPU:$D53F PRG:153F A9 20 + ldx #$23 ; CPU:$D541 PRG:1541 A2 23 + jsr Label_CDB86 ; CPU:$D543 PRG:1543 20 86 DB + jsr Label_CDB94 ; CPU:$D546 PRG:1546 20 94 DB + inc Zp38 ; CPU:$D549 PRG:1549 E6 38 + lda Zp38 ; CPU:$D54B PRG:154B A5 38 + cmp #$07 ; CPU:$D54D PRG:154D C9 07 + bcs Label_D574 ; CPU:$D54F PRG:154F B0 23 + lda Zp38 ; CPU:$D551 PRG:1551 A5 38 + cmp #$03 ; CPU:$D553 PRG:1553 C9 03 + bne Label_D571 ; CPU:$D555 PRG:1555 D0 1A + jsr Label_CDB27 ; CPU:$D557 PRG:1557 20 27 DB + ldy Zp33 ; CPU:$D55A PRG:155A A4 33 + jsr Label_CD2EF ; CPU:$D55C PRG:155C 20 EF D2 + ldy Zp32 ; CPU:$D55F PRG:155F A4 32 + lda (Zp28),y ; CPU:$D561 PRG:1561 B1 28 + cmp #$01 ; CPU:$D563 PRG:1563 C9 01 + bne Label_D571 ; CPU:$D565 PRG:1565 D0 0A + lda Zp36 ; CPU:$D567 PRG:1567 A5 36 + bpl Label_D56D ; CPU:$D569 PRG:1569 10 02 + dec Zp93 ; CPU:$D56B PRG:156B C6 93 +; ----------------------------------------------------------------------------- +; Routine: Label_D56D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D56D: + lda Zp5F ; CPU:$D56D PRG:156D A5 5F + sta Zp36 ; CPU:$D56F PRG:156F 85 36 +; ----------------------------------------------------------------------------- +; Routine: Label_D571 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D571: + jmp Label_CD748 ; CPU:$D571 PRG:1571 4C 48 D7 +; ----------------------------------------------------------------------------- +; Routine: Label_D574 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D574: + lda #$00 ; CPU:$D574 PRG:1574 A9 00 + sta Zp38 ; CPU:$D576 PRG:1576 85 38 + ldy Zp33 ; CPU:$D578 PRG:1578 A4 33 + jsr Label_CC81D ; CPU:$D57A PRG:157A 20 1D C8 + ldy Zp32 ; CPU:$D57D PRG:157D A4 32 + lda (Zp28),y ; CPU:$D57F PRG:157F B1 28 + cmp #$01 ; CPU:$D581 PRG:1581 C9 01 + bne Label_D587 ; CPU:$D583 PRG:1583 D0 02 + lda #$00 ; CPU:$D585 PRG:1585 A9 00 +; ----------------------------------------------------------------------------- +; Routine: Label_D587 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D587: + sta (Zp26),y ; CPU:$D587 PRG:1587 91 26 + inc Zp33 ; CPU:$D589 PRG:1589 E6 33 + ldy Zp33 ; CPU:$D58B PRG:158B A4 33 + jsr Label_CC81D ; CPU:$D58D PRG:158D 20 1D C8 + ldy Zp32 ; CPU:$D590 PRG:1590 A4 32 + lda (Zp26),y ; CPU:$D592 PRG:1592 B1 26 + cmp #$09 ; CPU:$D594 PRG:1594 C9 09 + bne Label_D59A ; CPU:$D596 PRG:1596 D0 02 + lsr Zp9A ; CPU:$D598 PRG:1598 46 9A +; ----------------------------------------------------------------------------- +; Routine: Label_D59A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D59A: + lda (Zp28),y ; CPU:$D59A PRG:159A B1 28 + cmp #$01 ; CPU:$D59C PRG:159C C9 01 + bne Label_D5D5 ; CPU:$D59E PRG:159E D0 35 + lda Zp36 ; CPU:$D5A0 PRG:15A0 A5 36 + bpl Label_D5D5 ; CPU:$D5A2 PRG:15A2 10 31 + ldy Zp33 ; CPU:$D5A4 PRG:15A4 A4 33 + dey ; CPU:$D5A6 PRG:15A6 88 + sty Zp86 ; CPU:$D5A7 PRG:15A7 84 86 + jsr Label_CC81D ; CPU:$D5A9 PRG:15A9 20 1D C8 + ldy Zp32 ; CPU:$D5AC PRG:15AC A4 32 + sty Zp85 ; CPU:$D5AE PRG:15AE 84 85 + lda (Zp28),y ; CPU:$D5B0 PRG:15B0 B1 28 + cmp #$00 ; CPU:$D5B2 PRG:15B2 C9 00 + beq Label_D5BB ; CPU:$D5B4 PRG:15B4 F0 05 + dec Zp93 ; CPU:$D5B6 PRG:15B6 C6 93 + jmp Label_CD5CA ; CPU:$D5B8 PRG:15B8 4C CA D5 +; ----------------------------------------------------------------------------- +; Routine: Label_D5BB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D5BB: + lda #$07 ; CPU:$D5BB PRG:15BB A9 07 + sta (Zp26),y ; CPU:$D5BD PRG:15BD 91 26 + sta (Zp28),y ; CPU:$D5BF PRG:15BF 91 28 + ldy Zp86 ; CPU:$D5C1 PRG:15C1 A4 86 + ldx Zp85 ; CPU:$D5C3 PRG:15C3 A6 85 + lda #$07 ; CPU:$D5C5 PRG:15C5 A9 07 + jsr Label_CD055 ; CPU:$D5C7 PRG:15C7 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_D5CA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D5CA: + ldy Zp33 ; CPU:$D5CA PRG:15CA A4 33 + jsr Label_CD2FA ; CPU:$D5CC PRG:15CC 20 FA D2 + lda #$00 ; CPU:$D5CF PRG:15CF A9 00 + sta Zp36 ; CPU:$D5D1 PRG:15D1 85 36 + ldy Zp32 ; CPU:$D5D3 PRG:15D3 A4 32 +; ----------------------------------------------------------------------------- +; Routine: Label_D5D5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D5D5: + lda #$08 ; CPU:$D5D5 PRG:15D5 A9 08 + sta (Zp26),y ; CPU:$D5D7 PRG:15D7 91 26 + jmp Label_CD748 ; CPU:$D5D9 PRG:15D9 4C 48 D7 +; ----------------------------------------------------------------------------- +; Routine: Label_D5DC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D5DC: + cpy #$08 ; CPU:$D5DC PRG:15DC C0 08 + bcc Label_D5F0 ; CPU:$D5DE PRG:15DE 90 10 + ldy Zp36 ; CPU:$D5E0 PRG:15E0 A4 36 + lda $D5E2,y ; CPU:$D5E2 PRG:15E2 B9 E2 D5 + sta Zp37 ; CPU:$D5E5 PRG:15E5 85 37 + jmp Label_CD748 ; CPU:$D5E7 PRG:15E7 4C 48 D7 +; ---- data $D5EA-$D5EF (6 bytes) ---- + .byte $02, $04, $02, $04, $02, $04 ; CPU:$D5EA PRG:15EA 02 04 02 04 02 04 +; ----------------------------------------------------------------------------- +; Routine: Label_D5F0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D5F0: + ldx Zp32 ; CPU:$D5F0 PRG:15F0 A6 32 + ldy Zp33 ; CPU:$D5F2 PRG:15F2 A4 33 + jsr Label_CD7C2 ; CPU:$D5F4 PRG:15F4 20 C2 D7 + asl a ; CPU:$D5F7 PRG:15F7 0A + tay ; CPU:$D5F8 PRG:15F8 A8 + lda $D603,y ; CPU:$D5F9 PRG:15F9 B9 03 D6 + pha ; CPU:$D5FC PRG:15FC 48 + lda $D602,y ; CPU:$D5FD PRG:15FD B9 02 D6 + pha ; CPU:$D600 PRG:1600 48 + rts ; CPU:$D601 PRG:1601 60 +; ---- data $D602-$D747 (326 bytes) ---- +; referenced by `lda $D603,y` at $D5F9 (operand $D603 falls inside this region) +; referenced by `lda $D602,y` at $D5FD (operand $D602 falls inside this region) + .byte $B7, $DB, $D9, $D6, $4D, $D7, $16, $D6, $78, $D6, $A5, $36, $F0, $04, $30, $02 ; CPU:$D602 PRG:1602 B7 DB D9 D6 4D D7 16 D6 78 D6 A5 36 F0 04 30 02 + .byte $E6, $36, $4C, $B8, $DB, $A4, $38, $C0, $04, $B0, $1C, $A4, $33, $F0, $EB, $88 ; CPU:$D612 PRG:1612 E6 36 4C B8 DB A4 38 C0 04 B0 1C A4 33 F0 EB 88 + .byte $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $01, $F0, $DF, $C9, $02, $F0, $DB, $C9 ; CPU:$D622 PRG:1622 20 FA D2 A4 32 B1 26 C9 01 F0 DF C9 02 F0 DB C9 + .byte $05, $F0, $D7, $C9, $08, $F0, $D3, $20, $94, $DB, $A4, $33, $20, $1D, $C8, $C6 ; CPU:$D632 PRG:1632 05 F0 D7 C9 08 F0 D3 20 94 DB A4 33 20 1D C8 C6 + .byte $38, $10, $2A, $20, $5F, $DB, $A4, $32, $B1, $28, $C9, $01, $D0, $02, $A9, $00 ; CPU:$D642 PRG:1642 38 10 2A 20 5F DB A4 32 B1 28 C9 01 D0 02 A9 00 + .byte $91, $26, $C6, $33, $A4, $33, $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $09, $D0 ; CPU:$D652 PRG:1652 91 26 C6 33 A4 33 20 FA D2 A4 32 B1 26 C9 09 D0 + .byte $02, $46, $9A, $A9, $08, $91, $26, $A9, $07, $85, $38, $D0, $03, $20, $27, $DB ; CPU:$D662 PRG:1662 02 46 9A A9 08 91 26 A9 07 85 38 D0 03 20 27 DB + .byte $A9, $24, $A2, $27, $4C, $45, $D7, $A4, $38, $C0, $03, $90, $1D, $A4, $33, $C0 ; CPU:$D672 PRG:1672 A9 24 A2 27 4C 45 D7 A4 38 C0 03 90 1D A4 33 C0 + .byte $0D, $B0, $14, $C8, $20, $FA, $D2, $A4, $32, $B1, $26, $C9, $02, $F0, $08, $C9 ; CPU:$D682 PRG:1682 0D B0 14 C8 20 FA D2 A4 32 B1 26 C9 02 F0 08 C9 + .byte $08, $F0, $04, $C9, $01, $D0, $03, $4C, $B8, $DB, $20, $94, $DB, $A4, $33, $20 ; CPU:$D692 PRG:1692 08 F0 04 C9 01 D0 03 4C B8 DB 20 94 DB A4 33 20 + .byte $1D, $C8, $E6, $38, $A5, $38, $C9, $07, $90, $2B, $20, $5F, $DB, $A4, $32, $B1 ; CPU:$D6A2 PRG:16A2 1D C8 E6 38 A5 38 C9 07 90 2B 20 5F DB A4 32 B1 + .byte $28, $C9, $01, $D0, $02, $A9, $00, $91, $26, $E6, $33, $A4, $33, $20, $FA, $D2 ; CPU:$D6B2 PRG:16B2 28 C9 01 D0 02 A9 00 91 26 E6 33 A4 33 20 FA D2 + .byte $A4, $32, $B1, $26, $C9, $09, $D0, $02, $46, $9A, $A9, $08, $91, $26, $A9, $00 ; CPU:$D6C2 PRG:16C2 A4 32 B1 26 C9 09 D0 02 46 9A A9 08 91 26 A9 00 + .byte $85, $38, $4C, $72, $D6, $4C, $6F, $D6, $A4, $33, $20, $1D, $C8, $A6, $37, $E0 ; CPU:$D6D2 PRG:16D2 85 38 4C 72 D6 4C 6F D6 A4 33 20 1D C8 A6 37 E0 + .byte $04, $B0, $1C, $A4, $32, $F0, $15, $88, $B1, $26, $C9, $08, $F0, $0E, $C9, $02 ; CPU:$D6E2 PRG:16E2 04 B0 1C A4 32 F0 15 88 B1 26 C9 08 F0 0E C9 02 + .byte $F0, $0A, $C9, $01, $F0, $06, $B1, $28, $C9, $05, $D0, $03, $4C, $B8, $DB, $20 ; CPU:$D6F2 PRG:16F2 F0 0A C9 01 F0 06 B1 28 C9 05 D0 03 4C B8 DB 20 + .byte $A6, $DB, $A9, $FF, $85, $35, $C6, $37, $10, $24, $20, $5F, $DB, $A4, $32, $B1 ; CPU:$D702 PRG:1702 A6 DB A9 FF 85 35 C6 37 10 24 20 5F DB A4 32 B1 + .byte $28, $C9, $01, $D0, $02, $A9, $00, $91, $26, $C6, $32, $88, $B1, $26, $C9, $09 ; CPU:$D712 PRG:1712 28 C9 01 D0 02 A9 00 91 26 C6 32 88 B1 26 C9 09 + .byte $D0, $02, $46, $9A, $A9, $08, $91, $26, $A9, $07, $85, $37, $D0, $03, $20, $27 ; CPU:$D722 PRG:1722 D0 02 46 9A A9 08 91 26 A9 07 85 37 D0 03 20 27 + .byte $DB, $A4, $32, $B1, $28, $C9, $04, $F0, $06, $A9, $1C, $A2, $1F, $D0, $04, $A9 ; CPU:$D732 PRG:1732 DB A4 32 B1 28 C9 04 F0 06 A9 1C A2 1F D0 04 A9 + .byte $28, $A2, $2B, $20, $86, $DB ; CPU:$D742 PRG:1742 28 A2 2B 20 86 DB +; ----------------------------------------------------------------------------- +; Routine: Label_D748 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D748: + jsr Label_CDC93 ; CPU:$D748 PRG:1748 20 93 DC + jmp Label_CDBB8 ; CPU:$D74B PRG:174B 4C B8 DB +; ---- data $D74E-$D7C1 (116 bytes) ---- + .byte $A4, $33, $20, $1D, $C8, $A6, $37, $E0, $03, $90, $1E, $A4, $32, $C0, $1B, $F0 ; CPU:$D74E PRG:174E A4 33 20 1D C8 A6 37 E0 03 90 1E A4 32 C0 1B F0 + .byte $15, $C8, $B1, $26, $C9, $08, $F0, $0E, $C9, $02, $F0, $0A, $C9, $01, $F0, $06 ; CPU:$D75E PRG:175E 15 C8 B1 26 C9 08 F0 0E C9 02 F0 0A C9 01 F0 06 + .byte $B1, $28, $C9, $05, $D0, $03, $4C, $B8, $DB, $20, $A6, $DB, $A9, $01, $85, $35 ; CPU:$D76E PRG:176E B1 28 C9 05 D0 03 4C B8 DB 20 A6 DB A9 01 85 35 + .byte $E6, $37, $A5, $37, $C9, $07, $90, $24, $20, $5F, $DB, $A4, $32, $B1, $28, $C9 ; CPU:$D77E PRG:177E E6 37 A5 37 C9 07 90 24 20 5F DB A4 32 B1 28 C9 + .byte $01, $D0, $02, $A9, $00, $91, $26, $E6, $32, $C8, $B1, $26, $C9, $09, $D0, $02 ; CPU:$D78E PRG:178E 01 D0 02 A9 00 91 26 E6 32 C8 B1 26 C9 09 D0 02 + .byte $46, $9A, $A9, $08, $91, $26, $A9, $00, $85, $37, $F0, $03, $20, $27, $DB, $A4 ; CPU:$D79E PRG:179E 46 9A A9 08 91 26 A9 00 85 37 F0 03 20 27 DB A4 + .byte $32, $B1, $28, $C9, $04, $F0, $06, $A9, $1C, $A2, $1F, $D0, $04, $A9, $28, $A2 ; CPU:$D7AE PRG:17AE 32 B1 28 C9 04 F0 06 A9 1C A2 1F D0 04 A9 28 A2 + .byte $2B, $4C, $45, $D7 ; CPU:$D7BE PRG:17BE 2B 4C 45 D7 +; ----------------------------------------------------------------------------- +; Routine: Label_D7C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D7C2: + stx Zp55 ; CPU:$D7C2 PRG:17C2 86 55 + sty Zp56 ; CPU:$D7C4 PRG:17C4 84 56 + jsr Label_CD2EF ; CPU:$D7C6 PRG:17C6 20 EF D2 + ldy Zp55 ; CPU:$D7C9 PRG:17C9 A4 55 + lda (Zp28),y ; CPU:$D7CB PRG:17CB B1 28 + cmp #$01 ; CPU:$D7CD PRG:17CD C9 01 + bne Label_D7DA ; CPU:$D7CF PRG:17CF D0 09 + lda Zp36 ; CPU:$D7D1 PRG:17D1 A5 36 + beq Label_D7DA ; CPU:$D7D3 PRG:17D3 F0 05 + bmi Label_D7DA ; CPU:$D7D5 PRG:17D5 30 03 + lda #$03 ; CPU:$D7D7 PRG:17D7 A9 03 + rts ; CPU:$D7D9 PRG:17D9 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D7DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D7DA: + ldy Zp56 ; CPU:$D7DA PRG:17DA A4 56 + cpy Zp21 ; CPU:$D7DC PRG:17DC C4 21 + beq Label_D7E3 ; CPU:$D7DE PRG:17DE F0 03 + jmp Label_CD84D ; CPU:$D7E0 PRG:17E0 4C 4D D8 +; ----------------------------------------------------------------------------- +; Routine: Label_D7E3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D7E3: + ldy Zp55 ; CPU:$D7E3 PRG:17E3 A4 55 + sty Zp57 ; CPU:$D7E5 PRG:17E5 84 57 + cpy Zp20 ; CPU:$D7E7 PRG:17E7 C4 20 + bcs Label_D81C ; CPU:$D7E9 PRG:17E9 B0 31 +; ----------------------------------------------------------------------------- +; Routine: Label_D7EB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D7EB: + inc Zp57 ; CPU:$D7EB PRG:17EB E6 57 + ldy Zp56 ; CPU:$D7ED PRG:17ED A4 56 + jsr Label_CD2EF ; CPU:$D7EF PRG:17EF 20 EF D2 + ldy Zp57 ; CPU:$D7F2 PRG:17F2 A4 57 + lda (Zp28),y ; CPU:$D7F4 PRG:17F4 B1 28 + cmp #$03 ; CPU:$D7F6 PRG:17F6 C9 03 + beq Label_D813 ; CPU:$D7F8 PRG:17F8 F0 19 + cmp #$04 ; CPU:$D7FA PRG:17FA C9 04 + beq Label_D813 ; CPU:$D7FC PRG:17FC F0 15 + ldy Zp56 ; CPU:$D7FE PRG:17FE A4 56 + cpy #$0D ; CPU:$D800 PRG:1800 C0 0D + beq Label_D813 ; CPU:$D802 PRG:1802 F0 0F + jsr Label_CDCB1 ; CPU:$D804 PRG:1804 20 B1 DC + ldy Zp57 ; CPU:$D807 PRG:1807 A4 57 + lda (Zp28),y ; CPU:$D809 PRG:1809 B1 28 + cmp #$00 ; CPU:$D80B PRG:180B C9 00 + beq Label_D84D ; CPU:$D80D PRG:180D F0 3E + cmp #$05 ; CPU:$D80F PRG:180F C9 05 + beq Label_D84D ; CPU:$D811 PRG:1811 F0 3A +; ----------------------------------------------------------------------------- +; Routine: Label_D813 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D813: + ldy Zp57 ; CPU:$D813 PRG:1813 A4 57 + cpy Zp20 ; CPU:$D815 PRG:1815 C4 20 + bne Label_D7EB ; CPU:$D817 PRG:1817 D0 D2 + lda #$02 ; CPU:$D819 PRG:1819 A9 02 + rts ; CPU:$D81B PRG:181B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D81C: + dec Zp57 ; CPU:$D81C PRG:181C C6 57 + ldy Zp56 ; CPU:$D81E PRG:181E A4 56 + jsr Label_CD2EF ; CPU:$D820 PRG:1820 20 EF D2 + ldy Zp57 ; CPU:$D823 PRG:1823 A4 57 + lda (Zp28),y ; CPU:$D825 PRG:1825 B1 28 + cmp #$03 ; CPU:$D827 PRG:1827 C9 03 + beq Label_D844 ; CPU:$D829 PRG:1829 F0 19 + cmp #$04 ; CPU:$D82B PRG:182B C9 04 + beq Label_D844 ; CPU:$D82D PRG:182D F0 15 + ldy Zp56 ; CPU:$D82F PRG:182F A4 56 + cpy #$0D ; CPU:$D831 PRG:1831 C0 0D + beq Label_D844 ; CPU:$D833 PRG:1833 F0 0F + jsr Label_CDCB1 ; CPU:$D835 PRG:1835 20 B1 DC + ldy Zp57 ; CPU:$D838 PRG:1838 A4 57 + lda (Zp28),y ; CPU:$D83A PRG:183A B1 28 + cmp #$00 ; CPU:$D83C PRG:183C C9 00 + beq Label_D84D ; CPU:$D83E PRG:183E F0 0D + cmp #$05 ; CPU:$D840 PRG:1840 C9 05 + beq Label_D84D ; CPU:$D842 PRG:1842 F0 09 +; ----------------------------------------------------------------------------- +; Routine: Label_D844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D844: + ldy Zp57 ; CPU:$D844 PRG:1844 A4 57 + cpy Zp20 ; CPU:$D846 PRG:1846 C4 20 + bne Label_D81C ; CPU:$D848 PRG:1848 D0 D2 + lda #$01 ; CPU:$D84A PRG:184A A9 01 + rts ; CPU:$D84C PRG:184C 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D84D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D84D: + lda #$00 ; CPU:$D84D PRG:184D A9 00 + sta Zp58 ; CPU:$D84F PRG:184F 85 58 + lda #$FF ; CPU:$D851 PRG:1851 A9 FF + sta Zp59 ; CPU:$D853 PRG:1853 85 59 + ldx Zp55 ; CPU:$D855 PRG:1855 A6 55 + ldy Zp56 ; CPU:$D857 PRG:1857 A4 56 + jsr Label_CDAA2 ; CPU:$D859 PRG:1859 20 A2 DA + jsr Label_CD91F ; CPU:$D85C PRG:185C 20 1F D9 + jsr Label_CD868 ; CPU:$D85F PRG:185F 20 68 D8 + jsr Label_CD8C4 ; CPU:$D862 PRG:1862 20 C4 D8 + lda Zp58 ; CPU:$D865 PRG:1865 A5 58 + rts ; CPU:$D867 PRG:1867 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D868 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D868: + ldy Zp5A ; CPU:$D868 PRG:1868 A4 5A + cpy Zp55 ; CPU:$D86A PRG:186A C4 55 + beq Label_D8C3 ; CPU:$D86C PRG:186C F0 55 + ldy Zp56 ; CPU:$D86E PRG:186E A4 56 + cpy #$0D ; CPU:$D870 PRG:1870 C0 0D + beq Label_D899 ; CPU:$D872 PRG:1872 F0 25 + jsr Label_CDCB1 ; CPU:$D874 PRG:1874 20 B1 DC + ldy Zp5A ; CPU:$D877 PRG:1877 A4 5A + lda (Zp28),y ; CPU:$D879 PRG:1879 B1 28 + cmp #$01 ; CPU:$D87B PRG:187B C9 01 + beq Label_D899 ; CPU:$D87D PRG:187D F0 1A + cmp #$02 ; CPU:$D87F PRG:187F C9 02 + beq Label_D899 ; CPU:$D881 PRG:1881 F0 16 + ldx Zp5A ; CPU:$D883 PRG:1883 A6 5A + ldy Zp56 ; CPU:$D885 PRG:1885 A4 56 + jsr Label_CDA1D ; CPU:$D887 PRG:1887 20 1D DA + ldx Zp5A ; CPU:$D88A PRG:188A A6 5A + jsr Label_CD970 ; CPU:$D88C PRG:188C 20 70 D9 + cmp Zp59 ; CPU:$D88F PRG:188F C5 59 + bcs Label_D899 ; CPU:$D891 PRG:1891 B0 06 + sta Zp59 ; CPU:$D893 PRG:1893 85 59 + lda #$01 ; CPU:$D895 PRG:1895 A9 01 + sta Zp58 ; CPU:$D897 PRG:1897 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D899 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D899: + ldy Zp56 ; CPU:$D899 PRG:1899 A4 56 + beq Label_D8BE ; CPU:$D89B PRG:189B F0 21 + jsr Label_CD2EF ; CPU:$D89D PRG:189D 20 EF D2 + ldy Zp5A ; CPU:$D8A0 PRG:18A0 A4 5A + lda (Zp28),y ; CPU:$D8A2 PRG:18A2 B1 28 + cmp #$03 ; CPU:$D8A4 PRG:18A4 C9 03 + bne Label_D8BE ; CPU:$D8A6 PRG:18A6 D0 16 + ldy Zp56 ; CPU:$D8A8 PRG:18A8 A4 56 + ldx Zp5A ; CPU:$D8AA PRG:18AA A6 5A + jsr Label_CD99C ; CPU:$D8AC PRG:18AC 20 9C D9 + ldx Zp5A ; CPU:$D8AF PRG:18AF A6 5A + jsr Label_CD970 ; CPU:$D8B1 PRG:18B1 20 70 D9 + cmp Zp59 ; CPU:$D8B4 PRG:18B4 C5 59 + bcs Label_D8BE ; CPU:$D8B6 PRG:18B6 B0 06 + sta Zp59 ; CPU:$D8B8 PRG:18B8 85 59 + lda #$01 ; CPU:$D8BA PRG:18BA A9 01 + sta Zp58 ; CPU:$D8BC PRG:18BC 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D8BE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D8BE: + inc Zp5A ; CPU:$D8BE PRG:18BE E6 5A + jmp Label_CD868 ; CPU:$D8C0 PRG:18C0 4C 68 D8 +; ----------------------------------------------------------------------------- +; Routine: Label_D8C3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D8C3: + rts ; CPU:$D8C3 PRG:18C3 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D8C4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D8C4: + ldy Zp5B ; CPU:$D8C4 PRG:18C4 A4 5B + cpy Zp55 ; CPU:$D8C6 PRG:18C6 C4 55 + beq Label_D8C3 ; CPU:$D8C8 PRG:18C8 F0 F9 + ldy Zp56 ; CPU:$D8CA PRG:18CA A4 56 + cpy #$0D ; CPU:$D8CC PRG:18CC C0 0D + beq Label_D8F5 ; CPU:$D8CE PRG:18CE F0 25 + jsr Label_CDCB1 ; CPU:$D8D0 PRG:18D0 20 B1 DC + ldy Zp5B ; CPU:$D8D3 PRG:18D3 A4 5B + lda (Zp28),y ; CPU:$D8D5 PRG:18D5 B1 28 + cmp #$01 ; CPU:$D8D7 PRG:18D7 C9 01 + beq Label_D8F5 ; CPU:$D8D9 PRG:18D9 F0 1A + cmp #$02 ; CPU:$D8DB PRG:18DB C9 02 + beq Label_D8F5 ; CPU:$D8DD PRG:18DD F0 16 + ldx Zp5B ; CPU:$D8DF PRG:18DF A6 5B + ldy Zp56 ; CPU:$D8E1 PRG:18E1 A4 56 + jsr Label_CDA1D ; CPU:$D8E3 PRG:18E3 20 1D DA + ldx Zp5B ; CPU:$D8E6 PRG:18E6 A6 5B + jsr Label_CD970 ; CPU:$D8E8 PRG:18E8 20 70 D9 + cmp Zp59 ; CPU:$D8EB PRG:18EB C5 59 + bcs Label_D8F5 ; CPU:$D8ED PRG:18ED B0 06 + sta Zp59 ; CPU:$D8EF PRG:18EF 85 59 + lda #$02 ; CPU:$D8F1 PRG:18F1 A9 02 + sta Zp58 ; CPU:$D8F3 PRG:18F3 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D8F5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D8F5: + ldy Zp56 ; CPU:$D8F5 PRG:18F5 A4 56 + beq Label_D91A ; CPU:$D8F7 PRG:18F7 F0 21 + jsr Label_CD2EF ; CPU:$D8F9 PRG:18F9 20 EF D2 + ldy Zp5B ; CPU:$D8FC PRG:18FC A4 5B + lda (Zp28),y ; CPU:$D8FE PRG:18FE B1 28 + cmp #$03 ; CPU:$D900 PRG:1900 C9 03 + bne Label_D91A ; CPU:$D902 PRG:1902 D0 16 + ldy Zp56 ; CPU:$D904 PRG:1904 A4 56 + ldx Zp5B ; CPU:$D906 PRG:1906 A6 5B + jsr Label_CD99C ; CPU:$D908 PRG:1908 20 9C D9 + ldx Zp5B ; CPU:$D90B PRG:190B A6 5B + jsr Label_CD970 ; CPU:$D90D PRG:190D 20 70 D9 + cmp Zp59 ; CPU:$D910 PRG:1910 C5 59 + bcs Label_D91A ; CPU:$D912 PRG:1912 B0 06 + sta Zp59 ; CPU:$D914 PRG:1914 85 59 + lda #$02 ; CPU:$D916 PRG:1916 A9 02 + sta Zp58 ; CPU:$D918 PRG:1918 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D91A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D91A: + dec Zp5B ; CPU:$D91A PRG:191A C6 5B + jmp Label_CD8C4 ; CPU:$D91C PRG:191C 4C C4 D8 +; ----------------------------------------------------------------------------- +; Routine: Label_D91F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D91F: + ldy Zp56 ; CPU:$D91F PRG:191F A4 56 + cpy #$0D ; CPU:$D921 PRG:1921 C0 0D + beq Label_D94A ; CPU:$D923 PRG:1923 F0 25 + jsr Label_CDCB1 ; CPU:$D925 PRG:1925 20 B1 DC + ldy Zp55 ; CPU:$D928 PRG:1928 A4 55 + lda (Zp28),y ; CPU:$D92A PRG:192A B1 28 + cmp #$01 ; CPU:$D92C PRG:192C C9 01 + beq Label_D94A ; CPU:$D92E PRG:192E F0 1A + cmp #$02 ; CPU:$D930 PRG:1930 C9 02 + beq Label_D94A ; CPU:$D932 PRG:1932 F0 16 + ldx Zp55 ; CPU:$D934 PRG:1934 A6 55 + ldy Zp56 ; CPU:$D936 PRG:1936 A4 56 + jsr Label_CDA1D ; CPU:$D938 PRG:1938 20 1D DA + ldx Zp55 ; CPU:$D93B PRG:193B A6 55 + jsr Label_CD970 ; CPU:$D93D PRG:193D 20 70 D9 + cmp Zp59 ; CPU:$D940 PRG:1940 C5 59 + bcs Label_D94A ; CPU:$D942 PRG:1942 B0 06 + sta Zp59 ; CPU:$D944 PRG:1944 85 59 + lda #$04 ; CPU:$D946 PRG:1946 A9 04 + sta Zp58 ; CPU:$D948 PRG:1948 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D94A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D94A: + ldy Zp56 ; CPU:$D94A PRG:194A A4 56 + beq Label_D96F ; CPU:$D94C PRG:194C F0 21 + jsr Label_CD2EF ; CPU:$D94E PRG:194E 20 EF D2 + ldy Zp55 ; CPU:$D951 PRG:1951 A4 55 + lda (Zp28),y ; CPU:$D953 PRG:1953 B1 28 + cmp #$03 ; CPU:$D955 PRG:1955 C9 03 + bne Label_D96F ; CPU:$D957 PRG:1957 D0 16 + ldx Zp55 ; CPU:$D959 PRG:1959 A6 55 + ldy Zp56 ; CPU:$D95B PRG:195B A4 56 + jsr Label_CD99C ; CPU:$D95D PRG:195D 20 9C D9 + ldx Zp55 ; CPU:$D960 PRG:1960 A6 55 + jsr Label_CD970 ; CPU:$D962 PRG:1962 20 70 D9 + cmp Zp59 ; CPU:$D965 PRG:1965 C5 59 + bcs Label_D96F ; CPU:$D967 PRG:1967 B0 06 + sta Zp59 ; CPU:$D969 PRG:1969 85 59 + lda #$03 ; CPU:$D96B PRG:196B A9 03 + sta Zp58 ; CPU:$D96D PRG:196D 85 58 +; ----------------------------------------------------------------------------- +; Routine: Label_D96F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D96F: + rts ; CPU:$D96F PRG:196F 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D970 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D970: + sta Zp3A ; CPU:$D970 PRG:1970 85 3A + cmp Zp21 ; CPU:$D972 PRG:1972 C5 21 + bne Label_D987 ; CPU:$D974 PRG:1974 D0 11 + cpx Zp32 ; CPU:$D976 PRG:1976 E4 32 + bcc Label_D97F ; CPU:$D978 PRG:1978 90 05 + txa ; CPU:$D97A PRG:197A 8A + sec ; CPU:$D97B PRG:197B 38 + sbc Zp32 ; CPU:$D97C PRG:197C E5 32 + rts ; CPU:$D97E PRG:197E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D97F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D97F: + stx Zp3A ; CPU:$D97F PRG:197F 86 3A + lda Zp32 ; CPU:$D981 PRG:1981 A5 32 + sec ; CPU:$D983 PRG:1983 38 + sbc Zp3A ; CPU:$D984 PRG:1984 E5 3A + rts ; CPU:$D986 PRG:1986 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D987 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D987: + bcc Label_D990 ; CPU:$D987 PRG:1987 90 07 + sec ; CPU:$D989 PRG:1989 38 + sbc Zp21 ; CPU:$D98A PRG:198A E5 21 + clc ; CPU:$D98C PRG:198C 18 + adc #$C8 ; CPU:$D98D PRG:198D 69 C8 + rts ; CPU:$D98F PRG:198F 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D990 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D990: + lda Zp21 ; CPU:$D990 PRG:1990 A5 21 + sec ; CPU:$D992 PRG:1992 38 + sbc Zp3A ; CPU:$D993 PRG:1993 E5 3A + clc ; CPU:$D995 PRG:1995 18 + adc #$64 ; CPU:$D996 PRG:1996 69 64 + rts ; CPU:$D998 PRG:1998 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D999 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D999: + lda Zp5E ; CPU:$D999 PRG:1999 A5 5E + rts ; CPU:$D99B PRG:199B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_D99C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D99C: + sty Zp5E ; CPU:$D99C PRG:199C 84 5E + stx Zp5D ; CPU:$D99E PRG:199E 86 5D +; ----------------------------------------------------------------------------- +; Routine: Label_D9A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D9A0: + jsr Label_CD2EF ; CPU:$D9A0 PRG:19A0 20 EF D2 + ldy Zp5D ; CPU:$D9A3 PRG:19A3 A4 5D + lda (Zp28),y ; CPU:$D9A5 PRG:19A5 B1 28 + cmp #$03 ; CPU:$D9A7 PRG:19A7 C9 03 + bne Label_D999 ; CPU:$D9A9 PRG:19A9 D0 EE + dec Zp5E ; CPU:$D9AB PRG:19AB C6 5E + ldy Zp5D ; CPU:$D9AD PRG:19AD A4 5D + beq Label_D9D8 ; CPU:$D9AF PRG:19AF F0 27 + dey ; CPU:$D9B1 PRG:19B1 88 + lda (Zp28),y ; CPU:$D9B2 PRG:19B2 B1 28 + cmp #$01 ; CPU:$D9B4 PRG:19B4 C9 01 + beq Label_D9CE ; CPU:$D9B6 PRG:19B6 F0 16 + cmp #$02 ; CPU:$D9B8 PRG:19B8 C9 02 + beq Label_D9CE ; CPU:$D9BA PRG:19BA F0 12 + cmp #$03 ; CPU:$D9BC PRG:19BC C9 03 + beq Label_D9CE ; CPU:$D9BE PRG:19BE F0 0E + ldy Zp5E ; CPU:$D9C0 PRG:19C0 A4 5E + jsr Label_CD2EF ; CPU:$D9C2 PRG:19C2 20 EF D2 + ldy Zp5D ; CPU:$D9C5 PRG:19C5 A4 5D + dey ; CPU:$D9C7 PRG:19C7 88 + lda (Zp28),y ; CPU:$D9C8 PRG:19C8 B1 28 + cmp #$04 ; CPU:$D9CA PRG:19CA C9 04 + bne Label_D9D8 ; CPU:$D9CC PRG:19CC D0 0A +; ----------------------------------------------------------------------------- +; Routine: Label_D9CE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D9CE: + ldy Zp5E ; CPU:$D9CE PRG:19CE A4 5E + sty Zp5C ; CPU:$D9D0 PRG:19D0 84 5C + cpy Zp21 ; CPU:$D9D2 PRG:19D2 C4 21 + bcc Label_DA17 ; CPU:$D9D4 PRG:19D4 90 41 + beq Label_DA17 ; CPU:$D9D6 PRG:19D6 F0 3F +; ----------------------------------------------------------------------------- +; Routine: Label_D9D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_D9D8: + ldy Zp5D ; CPU:$D9D8 PRG:19D8 A4 5D + cpy #$1B ; CPU:$D9DA PRG:19DA C0 1B + beq Label_DA0C ; CPU:$D9DC PRG:19DC F0 2E + ldy Zp5E ; CPU:$D9DE PRG:19DE A4 5E + jsr Label_CDCB1 ; CPU:$D9E0 PRG:19E0 20 B1 DC + ldy Zp5D ; CPU:$D9E3 PRG:19E3 A4 5D + iny ; CPU:$D9E5 PRG:19E5 C8 + lda (Zp28),y ; CPU:$D9E6 PRG:19E6 B1 28 + cmp #$01 ; CPU:$D9E8 PRG:19E8 C9 01 + beq Label_DA02 ; CPU:$D9EA PRG:19EA F0 16 + cmp #$02 ; CPU:$D9EC PRG:19EC C9 02 + beq Label_DA02 ; CPU:$D9EE PRG:19EE F0 12 + cmp #$03 ; CPU:$D9F0 PRG:19F0 C9 03 + beq Label_DA02 ; CPU:$D9F2 PRG:19F2 F0 0E + ldy Zp5E ; CPU:$D9F4 PRG:19F4 A4 5E + jsr Label_CD2EF ; CPU:$D9F6 PRG:19F6 20 EF D2 + ldy Zp5D ; CPU:$D9F9 PRG:19F9 A4 5D + iny ; CPU:$D9FB PRG:19FB C8 + lda (Zp28),y ; CPU:$D9FC PRG:19FC B1 28 + cmp #$04 ; CPU:$D9FE PRG:19FE C9 04 + bne Label_DA0C ; CPU:$DA00 PRG:1A00 D0 0A +; ----------------------------------------------------------------------------- +; Routine: Label_DA02 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA02: + ldy Zp5E ; CPU:$DA02 PRG:1A02 A4 5E + sty Zp5C ; CPU:$DA04 PRG:1A04 84 5C + cpy Zp21 ; CPU:$DA06 PRG:1A06 C4 21 + bcc Label_DA17 ; CPU:$DA08 PRG:1A08 90 0D + beq Label_DA17 ; CPU:$DA0A PRG:1A0A F0 0B +; ----------------------------------------------------------------------------- +; Routine: Label_DA0C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA0C: + ldy Zp5E ; CPU:$DA0C PRG:1A0C A4 5E + cpy #$01 ; CPU:$DA0E PRG:1A0E C0 01 + bcc Label_DA15 ; CPU:$DA10 PRG:1A10 90 03 + jmp Label_CD9A0 ; CPU:$DA12 PRG:1A12 4C A0 D9 +; ----------------------------------------------------------------------------- +; Routine: Label_DA15 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA15: + tya ; CPU:$DA15 PRG:1A15 98 + rts ; CPU:$DA16 PRG:1A16 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DA17 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA17: + lda Zp5C ; CPU:$DA17 PRG:1A17 A5 5C + rts ; CPU:$DA19 PRG:1A19 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DA1A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA1A: + lda Zp5E ; CPU:$DA1A PRG:1A1A A5 5E + rts ; CPU:$DA1C PRG:1A1C 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DA1D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA1D: + sty Zp5E ; CPU:$DA1D PRG:1A1D 84 5E + stx Zp5D ; CPU:$DA1F PRG:1A1F 86 5D +; ----------------------------------------------------------------------------- +; Routine: Label_DA21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA21: + jsr Label_CDCB1 ; CPU:$DA21 PRG:1A21 20 B1 DC + ldy Zp5D ; CPU:$DA24 PRG:1A24 A4 5D + lda (Zp28),y ; CPU:$DA26 PRG:1A26 B1 28 + cmp #$01 ; CPU:$DA28 PRG:1A28 C9 01 + beq Label_DA1A ; CPU:$DA2A PRG:1A2A F0 EE + cmp #$02 ; CPU:$DA2C PRG:1A2C C9 02 + beq Label_DA1A ; CPU:$DA2E PRG:1A2E F0 EA + ldy Zp5E ; CPU:$DA30 PRG:1A30 A4 5E + jsr Label_CD2EF ; CPU:$DA32 PRG:1A32 20 EF D2 + ldy Zp5D ; CPU:$DA35 PRG:1A35 A4 5D + lda (Zp28),y ; CPU:$DA37 PRG:1A37 B1 28 + cmp #$00 ; CPU:$DA39 PRG:1A39 C9 00 + beq Label_DA91 ; CPU:$DA3B PRG:1A3B F0 54 + cpy #$00 ; CPU:$DA3D PRG:1A3D C0 00 + beq Label_DA66 ; CPU:$DA3F PRG:1A3F F0 25 + dey ; CPU:$DA41 PRG:1A41 88 + lda (Zp28),y ; CPU:$DA42 PRG:1A42 B1 28 + cmp #$04 ; CPU:$DA44 PRG:1A44 C9 04 + beq Label_DA5E ; CPU:$DA46 PRG:1A46 F0 16 + ldy Zp5E ; CPU:$DA48 PRG:1A48 A4 5E + jsr Label_CDCB1 ; CPU:$DA4A PRG:1A4A 20 B1 DC + ldy Zp5D ; CPU:$DA4D PRG:1A4D A4 5D + dey ; CPU:$DA4F PRG:1A4F 88 + lda (Zp28),y ; CPU:$DA50 PRG:1A50 B1 28 + cmp #$01 ; CPU:$DA52 PRG:1A52 C9 01 + beq Label_DA5E ; CPU:$DA54 PRG:1A54 F0 08 + cmp #$02 ; CPU:$DA56 PRG:1A56 C9 02 + beq Label_DA5E ; CPU:$DA58 PRG:1A58 F0 04 + cmp #$03 ; CPU:$DA5A PRG:1A5A C9 03 + bne Label_DA66 ; CPU:$DA5C PRG:1A5C D0 08 +; ----------------------------------------------------------------------------- +; Routine: Label_DA5E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA5E: + ldy Zp5E ; CPU:$DA5E PRG:1A5E A4 5E + sty Zp5C ; CPU:$DA60 PRG:1A60 84 5C + cpy Zp21 ; CPU:$DA62 PRG:1A62 C4 21 + bcs Label_DA9F ; CPU:$DA64 PRG:1A64 B0 39 +; ----------------------------------------------------------------------------- +; Routine: Label_DA66 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA66: + ldy Zp5D ; CPU:$DA66 PRG:1A66 A4 5D + cpy #$1B ; CPU:$DA68 PRG:1A68 C0 1B + bcs Label_DA91 ; CPU:$DA6A PRG:1A6A B0 25 + iny ; CPU:$DA6C PRG:1A6C C8 + lda (Zp28),y ; CPU:$DA6D PRG:1A6D B1 28 + cmp #$04 ; CPU:$DA6F PRG:1A6F C9 04 + beq Label_DA89 ; CPU:$DA71 PRG:1A71 F0 16 + ldy Zp5E ; CPU:$DA73 PRG:1A73 A4 5E + jsr Label_CDCB1 ; CPU:$DA75 PRG:1A75 20 B1 DC + ldy Zp5D ; CPU:$DA78 PRG:1A78 A4 5D + iny ; CPU:$DA7A PRG:1A7A C8 + lda (Zp28),y ; CPU:$DA7B PRG:1A7B B1 28 + cmp #$01 ; CPU:$DA7D PRG:1A7D C9 01 + beq Label_DA89 ; CPU:$DA7F PRG:1A7F F0 08 + cmp #$03 ; CPU:$DA81 PRG:1A81 C9 03 + beq Label_DA89 ; CPU:$DA83 PRG:1A83 F0 04 + cmp #$02 ; CPU:$DA85 PRG:1A85 C9 02 + bne Label_DA91 ; CPU:$DA87 PRG:1A87 D0 08 +; ----------------------------------------------------------------------------- +; Routine: Label_DA89 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA89: + ldy Zp5E ; CPU:$DA89 PRG:1A89 A4 5E + sty Zp5C ; CPU:$DA8B PRG:1A8B 84 5C + cpy Zp21 ; CPU:$DA8D PRG:1A8D C4 21 + bcs Label_DA9F ; CPU:$DA8F PRG:1A8F B0 0E +; ----------------------------------------------------------------------------- +; Routine: Label_DA91 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA91: + inc Zp5E ; CPU:$DA91 PRG:1A91 E6 5E + ldy Zp5E ; CPU:$DA93 PRG:1A93 A4 5E + cpy #$10 ; CPU:$DA95 PRG:1A95 C0 10 + bcs Label_DA9C ; CPU:$DA97 PRG:1A97 B0 03 + jmp Label_CDA21 ; CPU:$DA99 PRG:1A99 4C 21 DA +; ----------------------------------------------------------------------------- +; Routine: Label_DA9C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA9C: + lda #$0F ; CPU:$DA9C PRG:1A9C A9 0F + rts ; CPU:$DA9E PRG:1A9E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DA9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DA9F: + lda Zp5C ; CPU:$DA9F PRG:1A9F A5 5C + rts ; CPU:$DAA1 PRG:1AA1 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DAA2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DAA2: + stx Zp5A ; CPU:$DAA2 PRG:1AA2 86 5A + stx Zp5B ; CPU:$DAA4 PRG:1AA4 86 5B + sty Zp3B ; CPU:$DAA6 PRG:1AA6 84 3B +; ----------------------------------------------------------------------------- +; Routine: Label_DAA8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DAA8: + lda Zp5A ; CPU:$DAA8 PRG:1AA8 A5 5A + beq Label_DAE6 ; CPU:$DAAA PRG:1AAA F0 3A + ldy Zp3B ; CPU:$DAAC PRG:1AAC A4 3B + jsr Label_CD2FA ; CPU:$DAAE PRG:1AAE 20 FA D2 + ldy Zp5A ; CPU:$DAB1 PRG:1AB1 A4 5A + dey ; CPU:$DAB3 PRG:1AB3 88 + lda (Zp26),y ; CPU:$DAB4 PRG:1AB4 B1 26 + cmp #$01 ; CPU:$DAB6 PRG:1AB6 C9 01 + beq Label_DAE6 ; CPU:$DAB8 PRG:1AB8 F0 2C + cmp #$02 ; CPU:$DABA PRG:1ABA C9 02 + beq Label_DAE6 ; CPU:$DABC PRG:1ABC F0 28 + cmp #$03 ; CPU:$DABE PRG:1ABE C9 03 + beq Label_DAE0 ; CPU:$DAC0 PRG:1AC0 F0 1E + cmp #$04 ; CPU:$DAC2 PRG:1AC2 C9 04 + beq Label_DAE0 ; CPU:$DAC4 PRG:1AC4 F0 1A + ldy Zp3B ; CPU:$DAC6 PRG:1AC6 A4 3B + cpy #$0D ; CPU:$DAC8 PRG:1AC8 C0 0D + beq Label_DAE0 ; CPU:$DACA PRG:1ACA F0 14 + jsr Label_CDCB1 ; CPU:$DACC PRG:1ACC 20 B1 DC + ldy Zp5A ; CPU:$DACF PRG:1ACF A4 5A + dey ; CPU:$DAD1 PRG:1AD1 88 + lda (Zp28),y ; CPU:$DAD2 PRG:1AD2 B1 28 + cmp #$01 ; CPU:$DAD4 PRG:1AD4 C9 01 + beq Label_DAE0 ; CPU:$DAD6 PRG:1AD6 F0 08 + cmp #$02 ; CPU:$DAD8 PRG:1AD8 C9 02 + beq Label_DAE0 ; CPU:$DADA PRG:1ADA F0 04 + cmp #$03 ; CPU:$DADC PRG:1ADC C9 03 + bne Label_DAE4 ; CPU:$DADE PRG:1ADE D0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_DAE0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DAE0: + dec Zp5A ; CPU:$DAE0 PRG:1AE0 C6 5A + bpl Label_DAA8 ; CPU:$DAE2 PRG:1AE2 10 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_DAE4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DAE4: + dec Zp5A ; CPU:$DAE4 PRG:1AE4 C6 5A +; ----------------------------------------------------------------------------- +; Routine: Label_DAE6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DAE6: + lda Zp5B ; CPU:$DAE6 PRG:1AE6 A5 5B + cmp #$1B ; CPU:$DAE8 PRG:1AE8 C9 1B + beq Label_DB26 ; CPU:$DAEA PRG:1AEA F0 3A + ldy Zp3B ; CPU:$DAEC PRG:1AEC A4 3B + jsr Label_CD2FA ; CPU:$DAEE PRG:1AEE 20 FA D2 + ldy Zp5B ; CPU:$DAF1 PRG:1AF1 A4 5B + iny ; CPU:$DAF3 PRG:1AF3 C8 + lda (Zp26),y ; CPU:$DAF4 PRG:1AF4 B1 26 + cmp #$01 ; CPU:$DAF6 PRG:1AF6 C9 01 + beq Label_DB26 ; CPU:$DAF8 PRG:1AF8 F0 2C + cmp #$02 ; CPU:$DAFA PRG:1AFA C9 02 + beq Label_DB26 ; CPU:$DAFC PRG:1AFC F0 28 + cmp #$03 ; CPU:$DAFE PRG:1AFE C9 03 + beq Label_DB20 ; CPU:$DB00 PRG:1B00 F0 1E + cmp #$04 ; CPU:$DB02 PRG:1B02 C9 04 + beq Label_DB20 ; CPU:$DB04 PRG:1B04 F0 1A + ldy Zp3B ; CPU:$DB06 PRG:1B06 A4 3B + cpy #$0D ; CPU:$DB08 PRG:1B08 C0 0D + beq Label_DB20 ; CPU:$DB0A PRG:1B0A F0 14 + jsr Label_CDCB1 ; CPU:$DB0C PRG:1B0C 20 B1 DC + ldy Zp5B ; CPU:$DB0F PRG:1B0F A4 5B + iny ; CPU:$DB11 PRG:1B11 C8 + lda (Zp28),y ; CPU:$DB12 PRG:1B12 B1 28 + cmp #$01 ; CPU:$DB14 PRG:1B14 C9 01 + beq Label_DB20 ; CPU:$DB16 PRG:1B16 F0 08 + cmp #$02 ; CPU:$DB18 PRG:1B18 C9 02 + beq Label_DB20 ; CPU:$DB1A PRG:1B1A F0 04 + cmp #$03 ; CPU:$DB1C PRG:1B1C C9 03 + bne Label_DB24 ; CPU:$DB1E PRG:1B1E D0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_DB20 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB20: + inc Zp5B ; CPU:$DB20 PRG:1B20 E6 5B + bpl Label_DAE6 ; CPU:$DB22 PRG:1B22 10 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_DB24 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB24: + inc Zp5B ; CPU:$DB24 PRG:1B24 E6 5B +; ----------------------------------------------------------------------------- +; Routine: Label_DB26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB26: + rts ; CPU:$DB26 PRG:1B26 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DB27 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB27: + lda Zp37 ; CPU:$DB27 PRG:1B27 A5 37 + cmp #$03 ; CPU:$DB29 PRG:1B29 C9 03 + bne Label_DB26 ; CPU:$DB2B PRG:1B2B D0 F9 + lda Zp38 ; CPU:$DB2D PRG:1B2D A5 38 + cmp #$03 ; CPU:$DB2F PRG:1B2F C9 03 + bne Label_DB26 ; CPU:$DB31 PRG:1B31 D0 F3 + ldy Zp33 ; CPU:$DB33 PRG:1B33 A4 33 + jsr Label_CD2EF ; CPU:$DB35 PRG:1B35 20 EF D2 + ldy Zp32 ; CPU:$DB38 PRG:1B38 A4 32 + lda (Zp28),y ; CPU:$DB3A PRG:1B3A B1 28 + cmp #$07 ; CPU:$DB3C PRG:1B3C C9 07 + bne Label_DB26 ; CPU:$DB3E PRG:1B3E D0 E6 + lda Zp36 ; CPU:$DB40 PRG:1B40 A5 36 + bmi Label_DB26 ; CPU:$DB42 PRG:1B42 30 E2 + lda #$FF ; CPU:$DB44 PRG:1B44 A9 FF + sec ; CPU:$DB46 PRG:1B46 38 + sbc Zp53 ; CPU:$DB47 PRG:1B47 E5 53 + sta Zp36 ; CPU:$DB49 PRG:1B49 85 36 + lda #$00 ; CPU:$DB4B PRG:1B4B A9 00 + sta (Zp28),y ; CPU:$DB4D PRG:1B4D 91 28 + ldy Zp33 ; CPU:$DB4F PRG:1B4F A4 33 + sty Zp86 ; CPU:$DB51 PRG:1B51 84 86 + ldy Zp32 ; CPU:$DB53 PRG:1B53 A4 32 + sty Zp85 ; CPU:$DB55 PRG:1B55 84 85 + ldy Zp86 ; CPU:$DB57 PRG:1B57 A4 86 + ldx Zp85 ; CPU:$DB59 PRG:1B59 A6 85 + lda #$00 ; CPU:$DB5B PRG:1B5B A9 00 + beq Label_DB80 ; CPU:$DB5D PRG:1B5D F0 21 + lda Zp36 ; CPU:$DB5F PRG:1B5F A5 36 + bpl Label_DB85 ; CPU:$DB61 PRG:1B61 10 22 + inc Zp36 ; CPU:$DB63 PRG:1B63 E6 36 + bne Label_DB85 ; CPU:$DB65 PRG:1B65 D0 1E + ldy Zp33 ; CPU:$DB67 PRG:1B67 A4 33 + sty Zp86 ; CPU:$DB69 PRG:1B69 84 86 + jsr Label_CD2EF ; CPU:$DB6B PRG:1B6B 20 EF D2 + ldy Zp32 ; CPU:$DB6E PRG:1B6E A4 32 + sty Zp85 ; CPU:$DB70 PRG:1B70 84 85 + lda (Zp28),y ; CPU:$DB72 PRG:1B72 B1 28 + cmp #$00 ; CPU:$DB74 PRG:1B74 C9 00 + bne Label_DB83 ; CPU:$DB76 PRG:1B76 D0 0B + lda #$07 ; CPU:$DB78 PRG:1B78 A9 07 + sta (Zp28),y ; CPU:$DB7A PRG:1B7A 91 28 + ldy Zp86 ; CPU:$DB7C PRG:1B7C A4 86 + ldx Zp85 ; CPU:$DB7E PRG:1B7E A6 85 +; ----------------------------------------------------------------------------- +; Routine: Label_DB80 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB80: + jmp Label_CD055 ; CPU:$DB80 PRG:1B80 4C 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_DB83 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB83: + dec Zp36 ; CPU:$DB83 PRG:1B83 C6 36 +; ----------------------------------------------------------------------------- +; Routine: Label_DB85 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB85: + rts ; CPU:$DB85 PRG:1B85 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DB86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB86: + inc Zp34 ; CPU:$DB86 PRG:1B86 E6 34 + cmp Zp34 ; CPU:$DB88 PRG:1B88 C5 34 + bcc Label_DB8F ; CPU:$DB8A PRG:1B8A 90 03 +; ----------------------------------------------------------------------------- +; Routine: Label_DB8C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB8C: + sta Zp34 ; CPU:$DB8C PRG:1B8C 85 34 + rts ; CPU:$DB8E PRG:1B8E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DB8F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB8F: + cpx Zp34 ; CPU:$DB8F PRG:1B8F E4 34 + bcc Label_DB8C ; CPU:$DB91 PRG:1B91 90 F9 +; ----------------------------------------------------------------------------- +; Routine: Label_DB93 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB93: + rts ; CPU:$DB93 PRG:1B93 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DB94 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DB94: + lda Zp37 ; CPU:$DB94 PRG:1B94 A5 37 + cmp #$03 ; CPU:$DB96 PRG:1B96 C9 03 + bcc Label_DBA1 ; CPU:$DB98 PRG:1B98 90 07 + beq Label_DB93 ; CPU:$DB9A PRG:1B9A F0 F7 + dec Zp37 ; CPU:$DB9C PRG:1B9C C6 37 + jmp Label_CDB27 ; CPU:$DB9E PRG:1B9E 4C 27 DB +; ----------------------------------------------------------------------------- +; Routine: Label_DBA1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DBA1: + inc Zp37 ; CPU:$DBA1 PRG:1BA1 E6 37 + jmp Label_CDB27 ; CPU:$DBA3 PRG:1BA3 4C 27 DB +; ---- data $DBA6-$DBB7 (18 bytes) ---- + .byte $A5, $38, $C9, $03, $90, $07, $F0, $E5, $C6, $38, $4C, $27, $DB, $E6, $38, $4C ; CPU:$DBA6 PRG:1BA6 A5 38 C9 03 90 07 F0 E5 C6 38 4C 27 DB E6 38 4C + .byte $27, $DB ; CPU:$DBB6 PRG:1BB6 27 DB +; ----------------------------------------------------------------------------- +; Routine: Label_DBB8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DBB8: + ldx Zp39 ; CPU:$DBB8 PRG:1BB8 A6 39 + lda Zp32 ; CPU:$DBBA PRG:1BBA A5 32 + sta $0660,x ; CPU:$DBBC PRG:1BBC 9D 60 06 + lda Zp33 ; CPU:$DBBF PRG:1BBF A5 33 + sta $0668,x ; CPU:$DBC1 PRG:1BC1 9D 68 06 + lda Zp37 ; CPU:$DBC4 PRG:1BC4 A5 37 + sta $0678,x ; CPU:$DBC6 PRG:1BC6 9D 78 06 + lda Zp38 ; CPU:$DBC9 PRG:1BC9 A5 38 + sta $0680,x ; CPU:$DBCB PRG:1BCB 9D 80 06 + lda Zp36 ; CPU:$DBCE PRG:1BCE A5 36 + sta $0670,x ; CPU:$DBD0 PRG:1BD0 9D 70 06 + lda Zp35 ; CPU:$DBD3 PRG:1BD3 A5 35 + sta $0690,x ; CPU:$DBD5 PRG:1BD5 9D 90 06 + lda Zp34 ; CPU:$DBD8 PRG:1BD8 A5 34 + sta $0688,x ; CPU:$DBDA PRG:1BDA 9D 88 06 + rts ; CPU:$DBDD PRG:1BDD 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DBDE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DBDE: + ldx Zp39 ; CPU:$DBDE PRG:1BDE A6 39 + lda $0660,x ; CPU:$DBE0 PRG:1BE0 BD 60 06 + sta Zp32 ; CPU:$DBE3 PRG:1BE3 85 32 + lda $0668,x ; CPU:$DBE5 PRG:1BE5 BD 68 06 + sta Zp33 ; CPU:$DBE8 PRG:1BE8 85 33 + lda $0678,x ; CPU:$DBEA PRG:1BEA BD 78 06 + sta Zp37 ; CPU:$DBED PRG:1BED 85 37 + lda $0680,x ; CPU:$DBEF PRG:1BEF BD 80 06 + sta Zp38 ; CPU:$DBF2 PRG:1BF2 85 38 + lda $0688,x ; CPU:$DBF4 PRG:1BF4 BD 88 06 + sta Zp34 ; CPU:$DBF7 PRG:1BF7 85 34 + lda $0690,x ; CPU:$DBF9 PRG:1BF9 BD 90 06 + sta Zp35 ; CPU:$DBFC PRG:1BFC 85 35 + lda $0670,x ; CPU:$DBFE PRG:1BFE BD 70 06 + sta Zp36 ; CPU:$DC01 PRG:1C01 85 36 +; ----------------------------------------------------------------------------- +; Routine: Label_DC03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC03: + rts ; CPU:$DC03 PRG:1C03 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DC04 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC04: + lda Zp8D ; CPU:$DC04 PRG:1C04 A5 8D + beq Label_DC03 ; CPU:$DC06 PRG:1C06 F0 FB + lda Zp39 ; CPU:$DC08 PRG:1C08 A5 39 + pha ; CPU:$DC0A PRG:1C0A 48 + lda #$01 ; CPU:$DC0B PRG:1C0B A9 01 + sta Zp39 ; CPU:$DC0D PRG:1C0D 85 39 +; ----------------------------------------------------------------------------- +; Routine: Label_DC0F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC0F: + jsr Label_CDBDE ; CPU:$DC0F PRG:1C0F 20 DE DB + jsr Label_CDC93 ; CPU:$DC12 PRG:1C12 20 93 DC + lda Zp39 ; CPU:$DC15 PRG:1C15 A5 39 + inc Zp39 ; CPU:$DC17 PRG:1C17 E6 39 + cmp Zp8D ; CPU:$DC19 PRG:1C19 C5 8D + bne Label_DC0F ; CPU:$DC1B PRG:1C1B D0 F2 + lda ZpDC ; CPU:$DC1D PRG:1C1D A5 DC + cmp #$03 ; CPU:$DC1F PRG:1C1F C9 03 + bcc Label_DC26 ; CPU:$DC21 PRG:1C21 90 03 + jsr Label_CCA57 ; CPU:$DC23 PRG:1C23 20 57 CA +; ----------------------------------------------------------------------------- +; Routine: Label_DC26 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC26: + pla ; CPU:$DC26 PRG:1C26 68 + sta Zp39 ; CPU:$DC27 PRG:1C27 85 39 + rts ; CPU:$DC29 PRG:1C29 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DC2A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC2A: + lda #$00 ; CPU:$DC2A PRG:1C2A A9 00 + sta Zp1E ; CPU:$DC2C PRG:1C2C 85 1E + sta Zp13 ; CPU:$DC2E PRG:1C2E 85 13 + lda Zp32 ; CPU:$DC30 PRG:1C30 A5 32 + asl a ; CPU:$DC32 PRG:1C32 0A + asl a ; CPU:$DC33 PRG:1C33 0A + asl a ; CPU:$DC34 PRG:1C34 0A + asl a ; CPU:$DC35 PRG:1C35 0A + rol Zp13 ; CPU:$DC36 PRG:1C36 26 13 + ldx Zp37 ; CPU:$DC38 PRG:1C38 A6 37 + clc ; CPU:$DC3A PRG:1C3A 18 + adc $D17F,x ; CPU:$DC3B PRG:1C3B 7D 7F D1 + sta Zp12 ; CPU:$DC3E PRG:1C3E 85 12 + lda #$00 ; CPU:$DC40 PRG:1C40 A9 00 + adc Zp13 ; CPU:$DC42 PRG:1C42 65 13 + sta Zp13 ; CPU:$DC44 PRG:1C44 85 13 + lda Zp12 ; CPU:$DC46 PRG:1C46 A5 12 + sec ; CPU:$DC48 PRG:1C48 38 + sbc Zp04 ; CPU:$DC49 PRG:1C49 E5 04 + sta Zp12 ; CPU:$DC4B PRG:1C4B 85 12 + lda Zp13 ; CPU:$DC4D PRG:1C4D A5 13 + sbc #$00 ; CPU:$DC4F PRG:1C4F E9 00 + beq Label_DC5F ; CPU:$DC51 PRG:1C51 F0 0C + cmp #$01 ; CPU:$DC53 PRG:1C53 C9 01 + beq Label_DC64 ; CPU:$DC55 PRG:1C55 F0 0D + lda Zp12 ; CPU:$DC57 PRG:1C57 A5 12 + cmp #$F8 ; CPU:$DC59 PRG:1C59 C9 F8 + bcc Label_DC64 ; CPU:$DC5B PRG:1C5B 90 07 + inc Zp1E ; CPU:$DC5D PRG:1C5D E6 1E +; ----------------------------------------------------------------------------- +; Routine: Label_DC5F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC5F: + lda Zp12 ; CPU:$DC5F PRG:1C5F A5 12 + jmp Label_CDC68 ; CPU:$DC61 PRG:1C61 4C 68 DC +; ----------------------------------------------------------------------------- +; Routine: Label_DC64 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC64: + lda #$F8 ; CPU:$DC64 PRG:1C64 A9 F8 + bne Label_DC76 ; CPU:$DC66 PRG:1C66 D0 0E +; ----------------------------------------------------------------------------- +; Routine: Label_DC68 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC68: + sta Zp18 ; CPU:$DC68 PRG:1C68 85 18 + lda Zp33 ; CPU:$DC6A PRG:1C6A A5 33 + asl a ; CPU:$DC6C PRG:1C6C 0A + asl a ; CPU:$DC6D PRG:1C6D 0A + asl a ; CPU:$DC6E PRG:1C6E 0A + asl a ; CPU:$DC6F PRG:1C6F 0A + ldx Zp38 ; CPU:$DC70 PRG:1C70 A6 38 + clc ; CPU:$DC72 PRG:1C72 18 + adc $D187,x ; CPU:$DC73 PRG:1C73 7D 87 D1 +; ----------------------------------------------------------------------------- +; Routine: Label_DC76 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC76: + sta Zp19 ; CPU:$DC76 PRG:1C76 85 19 + rts ; CPU:$DC78 PRG:1C78 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DC79 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC79: + jsr Label_CDC2A ; CPU:$DC79 PRG:1C79 20 2A DC + ldx #$02 ; CPU:$DC7C PRG:1C7C A2 02 + lda Zp35 ; CPU:$DC7E PRG:1C7E A5 35 + bmi Label_DC9E ; CPU:$DC80 PRG:1C80 30 1C + ldx #$42 ; CPU:$DC82 PRG:1C82 A2 42 + bne Label_DC9E ; CPU:$DC84 PRG:1C84 D0 18 +; ----------------------------------------------------------------------------- +; Routine: Label_DC86 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC86: + jsr Label_CDC2A ; CPU:$DC86 PRG:1C86 20 2A DC + ldx #$00 ; CPU:$DC89 PRG:1C89 A2 00 + lda Zp35 ; CPU:$DC8B PRG:1C8B A5 35 + bmi Label_DC9E ; CPU:$DC8D PRG:1C8D 30 0F + ldx #$40 ; CPU:$DC8F PRG:1C8F A2 40 + bne Label_DC9E ; CPU:$DC91 PRG:1C91 D0 0B +; ----------------------------------------------------------------------------- +; Routine: Label_DC93 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC93: + jsr Label_CDC2A ; CPU:$DC93 PRG:1C93 20 2A DC + ldx #$01 ; CPU:$DC96 PRG:1C96 A2 01 + lda Zp35 ; CPU:$DC98 PRG:1C98 A5 35 + bmi Label_DC9E ; CPU:$DC9A PRG:1C9A 30 02 + ldx #$41 ; CPU:$DC9C PRG:1C9C A2 41 +; ----------------------------------------------------------------------------- +; Routine: Label_DC9E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DC9E: + stx Zp1B ; CPU:$DC9E PRG:1C9E 86 1B + lda Zp34 ; CPU:$DCA0 PRG:1CA0 A5 34 + asl a ; CPU:$DCA2 PRG:1CA2 0A + asl a ; CPU:$DCA3 PRG:1CA3 0A + sta Zp1A ; CPU:$DCA4 PRG:1CA4 85 1A + lda Zp39 ; CPU:$DCA6 PRG:1CA6 A5 39 + clc ; CPU:$DCA8 PRG:1CA8 18 + adc #$01 ; CPU:$DCA9 PRG:1CA9 69 01 + asl a ; CPU:$DCAB PRG:1CAB 0A + asl a ; CPU:$DCAC PRG:1CAC 0A + tay ; CPU:$DCAD PRG:1CAD A8 + jmp Label_CD18F ; CPU:$DCAE PRG:1CAE 4C 8F D1 +; ----------------------------------------------------------------------------- +; Routine: Label_DCB1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DCB1: + lda $C689,y ; CPU:$DCB1 PRG:1CB1 B9 89 C6 + sta Zp28 ; CPU:$DCB4 PRG:1CB4 85 28 + lda $C6A5,y ; CPU:$DCB6 PRG:1CB6 B9 A5 C6 + sta Zp29 ; CPU:$DCB9 PRG:1CB9 85 29 + rts ; CPU:$DCBB PRG:1CBB 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DCBC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DCBC: + lda #$00 ; CPU:$DCBC PRG:1CBC A9 00 + sta ZpDB ; CPU:$DCBE PRG:1CBE 85 DB + jsr Label_CDEDC ; CPU:$DCC0 PRG:1CC0 20 DC DE + ldx #$A8 ; CPU:$DCC3 PRG:1CC3 A2 A8 + ldy #$D0 ; CPU:$DCC5 PRG:1CC5 A0 D0 + jsr Label_CDD58 ; CPU:$DCC7 PRG:1CC7 20 58 DD + ldx #$C8 ; CPU:$DCCA PRG:1CCA A2 C8 + jsr Label_CDD58 ; CPU:$DCCC PRG:1CCC 20 58 DD + ldx #$E8 ; CPU:$DCCF PRG:1CCF A2 E8 + jsr Label_CDD58 ; CPU:$DCD1 PRG:1CD1 20 58 DD + ldx #$A2 ; CPU:$DCD4 PRG:1CD4 A2 A2 + jsr Label_CDD4F ; CPU:$DCD6 PRG:1CD6 20 4F DD + ldx #$C2 ; CPU:$DCD9 PRG:1CD9 A2 C2 + jsr Label_CDD4F ; CPU:$DCDB PRG:1CDB 20 4F DD + ldx #$E2 ; CPU:$DCDE PRG:1CDE A2 E2 + jsr Label_CDD4F ; CPU:$DCE0 PRG:1CE0 20 4F DD + nop ; CPU:$DCE3 PRG:1CE3 EA + nop ; CPU:$DCE4 PRG:1CE4 EA + nop ; CPU:$DCE5 PRG:1CE5 EA + nop ; CPU:$DCE6 PRG:1CE6 EA + nop ; CPU:$DCE7 PRG:1CE7 EA + nop ; CPU:$DCE8 PRG:1CE8 EA + nop ; CPU:$DCE9 PRG:1CE9 EA + nop ; CPU:$DCEA PRG:1CEA EA + nop ; CPU:$DCEB PRG:1CEB EA + nop ; CPU:$DCEC PRG:1CEC EA + nop ; CPU:$DCED PRG:1CED EA + nop ; CPU:$DCEE PRG:1CEE EA + nop ; CPU:$DCEF PRG:1CEF EA + nop ; CPU:$DCF0 PRG:1CF0 EA + nop ; CPU:$DCF1 PRG:1CF1 EA + nop ; CPU:$DCF2 PRG:1CF2 EA + nop ; CPU:$DCF3 PRG:1CF3 EA + nop ; CPU:$DCF4 PRG:1CF4 EA + nop ; CPU:$DCF5 PRG:1CF5 EA + nop ; CPU:$DCF6 PRG:1CF6 EA + nop ; CPU:$DCF7 PRG:1CF7 EA + nop ; CPU:$DCF8 PRG:1CF8 EA + nop ; CPU:$DCF9 PRG:1CF9 EA + nop ; CPU:$DCFA PRG:1CFA EA + nop ; CPU:$DCFB PRG:1CFB EA + nop ; CPU:$DCFC PRG:1CFC EA + nop ; CPU:$DCFD PRG:1CFD EA + nop ; CPU:$DCFE PRG:1CFE EA + nop ; CPU:$DCFF PRG:1CFF EA + nop ; CPU:$DD00 PRG:1D00 EA + nop ; CPU:$DD01 PRG:1D01 EA + nop ; CPU:$DD02 PRG:1D02 EA + nop ; CPU:$DD03 PRG:1D03 EA + nop ; CPU:$DD04 PRG:1D04 EA + nop ; CPU:$DD05 PRG:1D05 EA + nop ; CPU:$DD06 PRG:1D06 EA + nop ; CPU:$DD07 PRG:1D07 EA + nop ; CPU:$DD08 PRG:1D08 EA + nop ; CPU:$DD09 PRG:1D09 EA + nop ; CPU:$DD0A PRG:1D0A EA + nop ; CPU:$DD0B PRG:1D0B EA + nop ; CPU:$DD0C PRG:1D0C EA + nop ; CPU:$DD0D PRG:1D0D EA + nop ; CPU:$DD0E PRG:1D0E EA + nop ; CPU:$DD0F PRG:1D0F EA + nop ; CPU:$DD10 PRG:1D10 EA + nop ; CPU:$DD11 PRG:1D11 EA + nop ; CPU:$DD12 PRG:1D12 EA + nop ; CPU:$DD13 PRG:1D13 EA + nop ; CPU:$DD14 PRG:1D14 EA + lda #$86 ; CPU:$DD15 PRG:1D15 A9 86 + sta Zp12 ; CPU:$DD17 PRG:1D17 85 12 + lda #$DD ; CPU:$DD19 PRG:1D19 A9 DD + sta Zp13 ; CPU:$DD1B PRG:1D1B 85 13 + ldx #$08 ; CPU:$DD1D PRG:1D1D A2 08 + ldy #$00 ; CPU:$DD1F PRG:1D1F A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_DD21 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD21: + jsr Label_CDD6F ; CPU:$DD21 PRG:1D21 20 6F DD + dex ; CPU:$DD24 PRG:1D24 CA + bne Label_DD21 ; CPU:$DD25 PRG:1D25 D0 FA + lda #$3F ; CPU:$DD27 PRG:1D27 A9 3F + ldx #$00 ; CPU:$DD29 PRG:1D29 A2 00 + jsr Label_CC178 ; CPU:$DD2B PRG:1D2B 20 78 C1 + ldx #$04 ; CPU:$DD2E PRG:1D2E A2 04 +; ----------------------------------------------------------------------------- +; Routine: Label_DD30 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD30: + lda $DD6A,x ; CPU:$DD30 PRG:1D30 BD 6A DD + jsr Label_CC006 ; CPU:$DD33 PRG:1D33 20 06 C0 + dex ; CPU:$DD36 PRG:1D36 CA + bne Label_DD30 ; CPU:$DD37 PRG:1D37 D0 F7 + jmp Label_CDFAD ; CPU:$DD39 PRG:1D39 4C AD DF +; ---- data $DD3C-$DD4E (19 bytes) ---- + .byte $86, $85, $A9, $01, $4C, $1C, $CA, $A9, $01, $20, $1C, $CA, $E6, $85, $A5, $85 ; CPU:$DD3C PRG:1D3C 86 85 A9 01 4C 1C CA A9 01 20 1C CA E6 85 A5 85 + .byte $C9, $0B, $60 ; CPU:$DD4C PRG:1D4C C9 0B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DD4F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD4F: + lda #$20 ; CPU:$DD4F PRG:1D4F A9 20 + jsr Label_CC178 ; CPU:$DD51 PRG:1D51 20 78 C1 + ldx #$05 ; CPU:$DD54 PRG:1D54 A2 05 + bne Label_DD62 ; CPU:$DD56 PRG:1D56 D0 0A +; ----------------------------------------------------------------------------- +; Routine: Label_DD58 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD58: + lda #$20 ; CPU:$DD58 PRG:1D58 A9 20 + sta $2006 ; CPU:$DD5A PRG:1D5A 8D 06 20 + stx $2006 ; CPU:$DD5D PRG:1D5D 8E 06 20 + ldx #$16 ; CPU:$DD60 PRG:1D60 A2 16 +; ----------------------------------------------------------------------------- +; Routine: Label_DD62 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD62: + tya ; CPU:$DD62 PRG:1D62 98 + jsr Label_CC006 ; CPU:$DD63 PRG:1D63 20 06 C0 + iny ; CPU:$DD66 PRG:1D66 C8 + dex ; CPU:$DD67 PRG:1D67 CA + bne Label_DD62 ; CPU:$DD68 PRG:1D68 D0 F8 + rts ; CPU:$DD6A PRG:1D6A 60 +; ---- data $DD6B-$DD6E (4 bytes) ---- + .byte $38, $30, $16, $12 ; CPU:$DD6B PRG:1D6B 38 30 16 12 +; ----------------------------------------------------------------------------- +; Routine: Label_DD6F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD6F: + lda (Zp12),y ; CPU:$DD6F PRG:1D6F B1 12 + sta $2006 ; CPU:$DD71 PRG:1D71 8D 06 20 + iny ; CPU:$DD74 PRG:1D74 C8 + lda (Zp12),y ; CPU:$DD75 PRG:1D75 B1 12 + sta $2006 ; CPU:$DD77 PRG:1D77 8D 06 20 +; ----------------------------------------------------------------------------- +; Routine: Label_DD7A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD7A: + iny ; CPU:$DD7A PRG:1D7A C8 + lda (Zp12),y ; CPU:$DD7B PRG:1D7B B1 12 + beq Label_DD84 ; CPU:$DD7D PRG:1D7D F0 05 + jsr Label_CC006 ; CPU:$DD7F PRG:1D7F 20 06 C0 + bne Label_DD7A ; CPU:$DD82 PRG:1D82 D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Label_DD84 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DD84: + iny ; CPU:$DD84 PRG:1D84 C8 + rts ; CPU:$DD85 PRG:1D85 60 +; ---- data $DD86-$DE9E (281 bytes) ---- +; referenced by `lda $DD86,x` at $E1E2 (operand $DD86 falls inside this region) +; referenced by `lda $DD87,x` at $E1E8 (operand $DD87 falls inside this region) + .byte $21, $CB, $3A, $31, $20, $50, $4C, $41, $59, $45, $52, $20, $00, $22, $0B, $20 ; CPU:$DD86 PRG:1D86 21 CB 3A 31 20 50 4C 41 59 45 52 20 00 22 0B 20 + .byte $32, $20, $50, $4C, $41, $59, $45, $52, $53, $00, $22, $4B, $20, $45, $44, $49 ; CPU:$DD96 PRG:1D96 32 20 50 4C 41 59 45 52 53 00 22 4B 20 45 44 49 + .byte $54, $20, $4D, $4F, $44, $45, $00, $23, $03, $43, $4F, $50, $59, $52, $49, $47 ; CPU:$DDA6 PRG:1DA6 54 20 4D 4F 44 45 00 23 03 43 4F 50 59 52 49 47 + .byte $48, $54, $20, $40, $31, $39, $38, $33, $20, $44, $4F, $55, $47, $20, $53, $4D ; CPU:$DDB6 PRG:1DB6 48 54 20 40 31 39 38 33 20 44 4F 55 47 20 53 4D + .byte $49, $54, $48, $00, $23, $23, $43, $4F, $50, $59, $52, $49, $47, $48, $54, $20 ; CPU:$DDC6 PRG:1DC6 49 54 48 00 23 23 43 4F 50 59 52 49 47 48 54 20 + .byte $40, $31, $39, $38, $34, $20, $48, $55, $44, $53, $4F, $4E, $20, $53, $4F, $46 ; CPU:$DDD6 PRG:1DD6 40 31 39 38 34 20 48 55 44 53 4F 4E 20 53 4F 46 + .byte $54, $00, $23, $4A, $4C, $49, $43, $45, $4E, $53, $45, $44, $20, $42, $59, $00 ; CPU:$DDE6 PRG:1DE6 54 00 23 4A 4C 49 43 45 4E 53 45 44 20 42 59 00 + .byte $23, $64, $4E, $49, $4E, $54, $45, $4E, $44, $4F, $20, $4F, $46, $20, $41, $4D ; CPU:$DDF6 PRG:1DF6 23 64 4E 49 4E 54 45 4E 44 4F 20 4F 46 20 41 4D + .byte $45, $52, $49, $43, $41, $20, $49, $4E, $43, $00, $21, $23, $42, $59, $20, $42 ; CPU:$DE06 PRG:1E06 45 52 49 43 41 20 49 4E 43 00 21 23 42 59 20 42 + .byte $52, $4F, $44, $45, $52, $42, $55, $4E, $44, $20, $53, $4F, $46, $54, $57, $41 ; CPU:$DE16 PRG:1E16 52 4F 44 45 52 42 55 4E 44 20 53 4F 46 54 57 41 + .byte $52, $45, $20, $49, $4E, $43, $00, $00, $20, $20, $20, $20, $00, $21, $0C, $50 ; CPU:$DE26 PRG:1E26 52 45 20 49 4E 43 00 00 20 20 20 20 00 21 0C 50 + .byte $4C, $41, $59, $45, $52, $00, $21, $CB, $47, $41, $4D, $45, $20, $20, $4F, $56 ; CPU:$DE36 PRG:1E36 4C 41 59 45 52 00 21 CB 47 41 4D 45 20 20 4F 56 + .byte $45, $52, $00, $21, $C8, $53, $54, $41, $47, $45, $20, $00, $21, $D1, $4C, $45 ; CPU:$DE46 PRG:1E46 45 52 00 21 C8 53 54 41 47 45 20 00 21 D1 4C 45 + .byte $46, $54, $00, $22, $88, $53, $43, $4F, $52, $45, $00, $22, $C8, $48, $49, $53 ; CPU:$DE56 PRG:1E56 46 54 00 22 88 53 43 4F 52 45 00 22 C8 48 49 53 + .byte $43, $4F, $52, $45, $00, $20, $F1, $30, $20, $50, $4F, $49, $4E, $54, $53, $00 ; CPU:$DE66 PRG:1E66 43 4F 52 45 00 20 F1 30 20 50 4F 49 4E 54 53 00 + .byte $21, $71, $30, $20, $50, $4F, $49, $4E, $54, $53, $00, $22, $68, $54, $4F, $54 ; CPU:$DE76 PRG:1E76 21 71 30 20 50 4F 49 4E 54 53 00 22 68 54 4F 54 + .byte $41, $4C, $00, $22, $71, $30, $20, $50, $4F, $49, $4E, $54, $53, $00, $21, $F1 ; CPU:$DE86 PRG:1E86 41 4C 00 22 71 30 20 50 4F 49 4E 54 53 00 21 F1 + .byte $30, $20, $50, $4F, $49, $4E, $54, $53, $00 ; CPU:$DE96 PRG:1E96 30 20 50 4F 49 4E 54 53 00 +; ----------------------------------------------------------------------------- +; Routine: Label_DE9F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DE9F: + lda #$80 ; CPU:$DE9F PRG:1E9F A9 80 + sta $4004 ; CPU:$DEA1 PRG:1EA1 8D 04 40 + lda #$00 ; CPU:$DEA4 PRG:1EA4 A9 00 + sta $4005 ; CPU:$DEA6 PRG:1EA6 8D 05 40 + sta $4006 ; CPU:$DEA9 PRG:1EA9 8D 06 40 + sta $4007 ; CPU:$DEAC PRG:1EAC 8D 07 40 + jsr Label_CDEC6 ; CPU:$DEAF PRG:1EAF 20 C6 DE + jsr Label_CDEC6 ; CPU:$DEB2 PRG:1EB2 20 C6 DE +; ----------------------------------------------------------------------------- +; Routine: Label_DEB5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEB5: + jsr Label_CDEC6 ; CPU:$DEB5 PRG:1EB5 20 C6 DE + ldy #$03 ; CPU:$DEB8 PRG:1EB8 A0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_DEBA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEBA: + jsr Label_CDED3 ; CPU:$DEBA PRG:1EBA 20 D3 DE + dey ; CPU:$DEBD PRG:1EBD 88 + bne Label_DEBA ; CPU:$DEBE PRG:1EBE D0 FA +; ----------------------------------------------------------------------------- +; Routine: Label_DEC0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEC0: + lda #$00 ; CPU:$DEC0 PRG:1EC0 A9 00 + sta $4000 ; CPU:$DEC2 PRG:1EC2 8D 00 40 + rts ; CPU:$DEC5 PRG:1EC5 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DEC6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEC6: + lda #$53 ; CPU:$DEC6 PRG:1EC6 A9 53 + jsr Label_CE2A2 ; CPU:$DEC8 PRG:1EC8 20 A2 E2 + jsr Label_CDED3 ; CPU:$DECB PRG:1ECB 20 D3 DE + lda #$69 ; CPU:$DECE PRG:1ECE A9 69 + jsr Label_CE2A2 ; CPU:$DED0 PRG:1ED0 20 A2 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_DED3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DED3: + ldx #$05 ; CPU:$DED3 PRG:1ED3 A2 05 +; ----------------------------------------------------------------------------- +; Routine: Label_DED5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DED5: + jsr Label_CC2A8 ; CPU:$DED5 PRG:1ED5 20 A8 C2 + dex ; CPU:$DED8 PRG:1ED8 CA + bne Label_DED5 ; CPU:$DED9 PRG:1ED9 D0 FA + rts ; CPU:$DEDB PRG:1EDB 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DEDC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEDC: + jsr Label_CC2BC ; CPU:$DEDC PRG:1EDC 20 BC C2 + jsr Label_CC287 ; CPU:$DEDF PRG:1EDF 20 87 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_DEE2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEE2: + lda #$20 ; CPU:$DEE2 PRG:1EE2 A9 20 + ldx #$00 ; CPU:$DEE4 PRG:1EE4 A2 00 + jsr Label_CC178 ; CPU:$DEE6 PRG:1EE6 20 78 C1 + ldx #$1E ; CPU:$DEE9 PRG:1EE9 A2 1E +; ----------------------------------------------------------------------------- +; Routine: Label_DEEB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEEB: + ldy #$20 ; CPU:$DEEB PRG:1EEB A0 20 + lda #$20 ; CPU:$DEED PRG:1EED A9 20 +; ----------------------------------------------------------------------------- +; Routine: Label_DEEF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEEF: + jsr Label_CC006 ; CPU:$DEEF PRG:1EEF 20 06 C0 + dey ; CPU:$DEF2 PRG:1EF2 88 + bne Label_DEEF ; CPU:$DEF3 PRG:1EF3 D0 FA + dex ; CPU:$DEF5 PRG:1EF5 CA + bne Label_DEEB ; CPU:$DEF6 PRG:1EF6 D0 F3 + lda #$00 ; CPU:$DEF8 PRG:1EF8 A9 00 + ldx #$40 ; CPU:$DEFA PRG:1EFA A2 40 +; ----------------------------------------------------------------------------- +; Routine: Label_DEFC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DEFC: + jsr Label_CC006 ; CPU:$DEFC PRG:1EFC 20 06 C0 + dex ; CPU:$DEFF PRG:1EFF CA + bne Label_DEFC ; CPU:$DF00 PRG:1F00 D0 FA + rts ; CPU:$DF02 PRG:1F02 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DF03 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF03: + jsr Label_CC2A8 ; CPU:$DF03 PRG:1F03 20 A8 C2 + jmp Label_CDF0C ; CPU:$DF06 PRG:1F06 4C 0C DF +; ----------------------------------------------------------------------------- +; Routine: Label_DF09 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF09: + jsr Label_CDEDC ; CPU:$DF09 PRG:1F09 20 DC DE +; ----------------------------------------------------------------------------- +; Routine: Label_DF0C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF0C: + lda #$49 ; CPU:$DF0C PRG:1F0C A9 49 + sta Zp12 ; CPU:$DF0E PRG:1F0E 85 12 + lda #$DE ; CPU:$DF10 PRG:1F10 A9 DE + sta Zp13 ; CPU:$DF12 PRG:1F12 85 13 + ldy #$00 ; CPU:$DF14 PRG:1F14 A0 00 + jsr Label_CDD6F ; CPU:$DF16 PRG:1F16 20 6F DD + jsr Label_CDFE5 ; CPU:$DF19 PRG:1F19 20 E5 DF + jmp Label_CDFAD ; CPU:$DF1C PRG:1F1C 4C AD DF +; ----------------------------------------------------------------------------- +; Routine: Label_DF1F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF1F: + jsr Label_CDEDC ; CPU:$DF1F PRG:1F1F 20 DC DE + lda #$33 ; CPU:$DF22 PRG:1F22 A9 33 + sta Zp12 ; CPU:$DF24 PRG:1F24 85 12 + lda #$DE ; CPU:$DF26 PRG:1F26 A9 DE + sta Zp13 ; CPU:$DF28 PRG:1F28 85 13 + ldy #$00 ; CPU:$DF2A PRG:1F2A A0 00 + rts ; CPU:$DF2C PRG:1F2C 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DF2D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF2D: + lda #$21 ; CPU:$DF2D PRG:1F2D A9 21 + ldx #$13 ; CPU:$DF2F PRG:1F2F A2 13 + jsr Label_CC178 ; CPU:$DF31 PRG:1F31 20 78 C1 + lda ZpC3 ; CPU:$DF34 PRG:1F34 A5 C3 + clc ; CPU:$DF36 PRG:1F36 18 + adc #$31 ; CPU:$DF37 PRG:1F37 69 31 + jmp Label_CC006 ; CPU:$DF39 PRG:1F39 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_DF3C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF3C: + lda #$00 ; CPU:$DF3C PRG:1F3C A9 00 + sta ZpDB ; CPU:$DF3E PRG:1F3E 85 DB + jsr Label_CDF1F ; CPU:$DF40 PRG:1F40 20 1F DF + jsr Label_CC2A8 ; CPU:$DF43 PRG:1F43 20 A8 C2 + lda Zp53 ; CPU:$DF46 PRG:1F46 A5 53 + clc ; CPU:$DF48 PRG:1F48 18 + adc ZpA6 ; CPU:$DF49 PRG:1F49 65 A6 + and #$07 ; CPU:$DF4B PRG:1F4B 29 07 + sta Zp75 ; CPU:$DF4D PRG:1F4D 85 75 + tax ; CPU:$DF4F PRG:1F4F AA + lda $E65C,x ; CPU:$DF50 PRG:1F50 BD 5C E6 + tay ; CPU:$DF53 PRG:1F53 A8 + lda #$3F ; CPU:$DF54 PRG:1F54 A9 3F + ldx #$18 ; CPU:$DF56 PRG:1F56 A2 18 + jsr Label_CC178 ; CPU:$DF58 PRG:1F58 20 78 C1 + ldx #$04 ; CPU:$DF5B PRG:1F5B A2 04 +; ----------------------------------------------------------------------------- +; Routine: Label_DF5D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF5D: + lda $E650,y ; CPU:$DF5D PRG:1F5D B9 50 E6 + jsr Label_CC006 ; CPU:$DF60 PRG:1F60 20 06 C0 + iny ; CPU:$DF63 PRG:1F63 C8 + dex ; CPU:$DF64 PRG:1F64 CA + bne Label_DF5D ; CPU:$DF65 PRG:1F65 D0 F6 + ldx #$06 ; CPU:$DF67 PRG:1F67 A2 06 + ldy #$00 ; CPU:$DF69 PRG:1F69 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_DF6B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DF6B: + jsr Label_CDD6F ; CPU:$DF6B PRG:1F6B 20 6F DD + dex ; CPU:$DF6E PRG:1F6E CA + bne Label_DF6B ; CPU:$DF6F PRG:1F6F D0 FA + jsr Label_CDF2D ; CPU:$DF71 PRG:1F71 20 2D DF + jsr Label_CDFE5 ; CPU:$DF74 PRG:1F74 20 E5 DF + lda #$21 ; CPU:$DF77 PRG:1F77 A9 21 + ldx #$D6 ; CPU:$DF79 PRG:1F79 A2 D6 + jsr Label_CC178 ; CPU:$DF7B PRG:1F7B 20 78 C1 + lda Zp98 ; CPU:$DF7E PRG:1F7E A5 98 + clc ; CPU:$DF80 PRG:1F80 18 + adc #$30 ; CPU:$DF81 PRG:1F81 69 30 + jsr Label_CC006 ; CPU:$DF83 PRG:1F83 20 06 C0 + lda #$22 ; CPU:$DF86 PRG:1F86 A9 22 + ldx #$91 ; CPU:$DF88 PRG:1F88 A2 91 + jsr Label_CC178 ; CPU:$DF8A PRG:1F8A 20 78 C1 + lda #$90 ; CPU:$DF8D PRG:1F8D A9 90 + sta Zp12 ; CPU:$DF8F PRG:1F8F 85 12 + lda #$05 ; CPU:$DF91 PRG:1F91 A9 05 + sta Zp13 ; CPU:$DF93 PRG:1F93 85 13 + jsr Label_CDFBD ; CPU:$DF95 PRG:1F95 20 BD DF + lda #$22 ; CPU:$DF98 PRG:1F98 A9 22 + ldx #$D1 ; CPU:$DF9A PRG:1F9A A2 D1 + jsr Label_CC178 ; CPU:$DF9C PRG:1F9C 20 78 C1 + lda #$88 ; CPU:$DF9F PRG:1F9F A9 88 + sta Zp12 ; CPU:$DFA1 PRG:1FA1 85 12 + lda #$05 ; CPU:$DFA3 PRG:1FA3 A9 05 + sta Zp13 ; CPU:$DFA5 PRG:1FA5 85 13 + jsr Label_CDFBD ; CPU:$DFA7 PRG:1FA7 20 BD DF + jsr Label_CE212 ; CPU:$DFAA PRG:1FAA 20 12 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_DFAD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFAD: + lda #$00 ; CPU:$DFAD PRG:1FAD A9 00 + sta $2005 ; CPU:$DFAF PRG:1FAF 8D 05 20 + sta $2005 ; CPU:$DFB2 PRG:1FB2 8D 05 20 + sta Zp04 ; CPU:$DFB5 PRG:1FB5 85 04 + jsr Label_CC274 ; CPU:$DFB7 PRG:1FB7 20 74 C2 + jmp Label_CC2B3 ; CPU:$DFBA PRG:1FBA 4C B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_DFBD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFBD: + ldy #$07 ; CPU:$DFBD PRG:1FBD A0 07 +; ----------------------------------------------------------------------------- +; Routine: Label_DFBF +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFBF: + lda (Zp12),y ; CPU:$DFBF PRG:1FBF B1 12 + clc ; CPU:$DFC1 PRG:1FC1 18 + adc #$30 ; CPU:$DFC2 PRG:1FC2 69 30 + jsr Label_CC006 ; CPU:$DFC4 PRG:1FC4 20 06 C0 + dey ; CPU:$DFC7 PRG:1FC7 88 + bpl Label_DFBF ; CPU:$DFC8 PRG:1FC8 10 F5 + rts ; CPU:$DFCA PRG:1FCA 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DFCB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFCB: + stx $2006 ; CPU:$DFCB PRG:1FCB 8E 06 20 + sty $2006 ; CPU:$DFCE PRG:1FCE 8C 06 20 + cmp #$00 ; CPU:$DFD1 PRG:1FD1 C9 00 + beq Label_DFE1 ; CPU:$DFD3 PRG:1FD3 F0 0C + jsr Label_CDFEE ; CPU:$DFD5 PRG:1FD5 20 EE DF + ldy #$30 ; CPU:$DFD8 PRG:1FD8 A0 30 + pha ; CPU:$DFDA PRG:1FDA 48 + tya ; CPU:$DFDB PRG:1FDB 98 + jsr Label_CC006 ; CPU:$DFDC PRG:1FDC 20 06 C0 + pla ; CPU:$DFDF PRG:1FDF 68 + rts ; CPU:$DFE0 PRG:1FE0 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DFE1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFE1: + lda #$30 ; CPU:$DFE1 PRG:1FE1 A9 30 + tax ; CPU:$DFE3 PRG:1FE3 AA + rts ; CPU:$DFE4 PRG:1FE4 60 +; ----------------------------------------------------------------------------- +; Routine: Label_DFE5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFE5: + lda #$21 ; CPU:$DFE5 PRG:1FE5 A9 21 + ldx #$CE ; CPU:$DFE7 PRG:1FE7 A2 CE + jsr Label_CC178 ; CPU:$DFE9 PRG:1FE9 20 78 C1 + lda ZpA6 ; CPU:$DFEC PRG:1FEC A5 A6 +; ----------------------------------------------------------------------------- +; Routine: Label_DFEE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFEE: + ldx #$30 ; CPU:$DFEE PRG:1FEE A2 30 +; ----------------------------------------------------------------------------- +; Routine: Label_DFF0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFF0: + sec ; CPU:$DFF0 PRG:1FF0 38 + sbc #$0A ; CPU:$DFF1 PRG:1FF1 E9 0A + bcc Label_DFF8 ; CPU:$DFF3 PRG:1FF3 90 03 + inx ; CPU:$DFF5 PRG:1FF5 E8 + bne Label_DFF0 ; CPU:$DFF6 PRG:1FF6 D0 F8 +; ----------------------------------------------------------------------------- +; Routine: Label_DFF8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_DFF8: + adc #$3A ; CPU:$DFF8 PRG:1FF8 69 3A + cpx #$30 ; CPU:$DFFA PRG:1FFA E0 30 + bne Label_E008 ; CPU:$DFFC PRG:1FFC D0 0A + ldx #$20 ; CPU:$DFFE PRG:1FFE A2 20 + jsr Label_CE00E ; CPU:$E000 PRG:2000 20 0E E0 + ldx #$30 ; CPU:$E003 PRG:2003 A2 30 + jmp Label_CC006 ; CPU:$E005 PRG:2005 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_E008 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E008: + jsr Label_CE00E ; CPU:$E008 PRG:2008 20 0E E0 + jmp Label_CC006 ; CPU:$E00B PRG:200B 4C 06 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_E00E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E00E: + pha ; CPU:$E00E PRG:200E 48 + txa ; CPU:$E00F PRG:200F 8A + jsr Label_CC006 ; CPU:$E010 PRG:2010 20 06 C0 + pla ; CPU:$E013 PRG:2013 68 + rts ; CPU:$E014 PRG:2014 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E015 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E015: + jsr Label_CC2BC ; CPU:$E015 PRG:2015 20 BC C2 + jsr Label_CC298 ; CPU:$E018 PRG:2018 20 98 C2 + lda #$00 ; CPU:$E01B PRG:201B A9 00 + sta $2001 ; CPU:$E01D PRG:201D 8D 01 20 + jsr Label_CDEE2 ; CPU:$E020 PRG:2020 20 E2 DE + lda #$03 ; CPU:$E023 PRG:2023 A9 03 + sta Zp85 ; CPU:$E025 PRG:2025 85 85 + lda #$03 ; CPU:$E027 PRG:2027 A9 03 + sta Zp86 ; CPU:$E029 PRG:2029 85 86 + lda #$07 ; CPU:$E02B PRG:202B A9 07 + jsr Label_CCA1C ; CPU:$E02D PRG:202D 20 1C CA + lda #$06 ; CPU:$E030 PRG:2030 A9 06 + sta Zp85 ; CPU:$E032 PRG:2032 85 85 + lda #$0C ; CPU:$E034 PRG:2034 A9 0C + sta Zp86 ; CPU:$E036 PRG:2036 85 86 +; ----------------------------------------------------------------------------- +; Routine: Label_E038 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E038: + lda #$01 ; CPU:$E038 PRG:2038 A9 01 + jsr Label_CCA1C ; CPU:$E03A PRG:203A 20 1C CA + dec Zp85 ; CPU:$E03D PRG:203D C6 85 + bne Label_E038 ; CPU:$E03F PRG:203F D0 F7 + lda #$03 ; CPU:$E041 PRG:2041 A9 03 + sta Zp85 ; CPU:$E043 PRG:2043 85 85 +; ----------------------------------------------------------------------------- +; Routine: Label_E045 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E045: + lda #$03 ; CPU:$E045 PRG:2045 A9 03 + jsr Label_CCA1C ; CPU:$E047 PRG:2047 20 1C CA + inc Zp86 ; CPU:$E04A PRG:204A E6 86 + lda Zp86 ; CPU:$E04C PRG:204C A5 86 + cmp #$10 ; CPU:$E04E PRG:204E C9 10 + bne Label_E045 ; CPU:$E050 PRG:2050 D0 F3 + lda #$6B ; CPU:$E052 PRG:2052 A9 6B + sta Zp12 ; CPU:$E054 PRG:2054 85 12 + lda #$DE ; CPU:$E056 PRG:2056 A9 DE + sta Zp13 ; CPU:$E058 PRG:2058 85 13 + ldy #$00 ; CPU:$E05A PRG:205A A0 00 + ldx #$04 ; CPU:$E05C PRG:205C A2 04 +; ----------------------------------------------------------------------------- +; Routine: Label_E05E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E05E: + jsr Label_CDD6F ; CPU:$E05E PRG:205E 20 6F DD + dex ; CPU:$E061 PRG:2061 CA + bne Label_E05E ; CPU:$E062 PRG:2062 D0 FA + lda ZpC6 ; CPU:$E064 PRG:2064 A5 C6 + beq Label_E06B ; CPU:$E066 PRG:2066 F0 03 + jsr Label_CDD6F ; CPU:$E068 PRG:2068 20 6F DD +; ----------------------------------------------------------------------------- +; Routine: Label_E06B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E06B: + lda #$40 ; CPU:$E06B PRG:206B A9 40 + sta Zp18 ; CPU:$E06D PRG:206D 85 18 + lda #$50 ; CPU:$E06F PRG:206F A9 50 + sta Zp19 ; CPU:$E071 PRG:2071 85 19 + lda #$70 ; CPU:$E073 PRG:2073 A9 70 + sta Zp1A ; CPU:$E075 PRG:2075 85 1A + lda #$01 ; CPU:$E077 PRG:2077 A9 01 + sta Zp1B ; CPU:$E079 PRG:2079 85 1B + ldy #$0A ; CPU:$E07B PRG:207B A0 0A + jsr Label_CD18F ; CPU:$E07D PRG:207D 20 8F D1 + lda ZpC6 ; CPU:$E080 PRG:2080 A5 C6 + beq Label_E09D ; CPU:$E082 PRG:2082 F0 19 + lda Zp75 ; CPU:$E084 PRG:2084 A5 75 + asl a ; CPU:$E086 PRG:2086 0A + asl a ; CPU:$E087 PRG:2087 0A + clc ; CPU:$E088 PRG:2088 18 + adc #$C0 ; CPU:$E089 PRG:2089 69 C0 + sta Zp1A ; CPU:$E08B PRG:208B 85 1A + lda #$40 ; CPU:$E08D PRG:208D A9 40 + sta Zp18 ; CPU:$E08F PRG:208F 85 18 + lda #$70 ; CPU:$E091 PRG:2091 A9 70 + sta Zp19 ; CPU:$E093 PRG:2093 85 19 + lda #$02 ; CPU:$E095 PRG:2095 A9 02 + sta Zp1B ; CPU:$E097 PRG:2097 85 1B + iny ; CPU:$E099 PRG:2099 C8 + jsr Label_CD18F ; CPU:$E09A PRG:209A 20 8F D1 +; ----------------------------------------------------------------------------- +; Routine: Label_E09D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E09D: + ldx #$20 ; CPU:$E09D PRG:209D A2 20 + ldy #$EE ; CPU:$E09F PRG:209F A0 EE + lda ZpC4 ; CPU:$E0A1 PRG:20A1 A5 C4 + jsr Label_CDFCB ; CPU:$E0A3 PRG:20A3 20 CB DF + ldx #$21 ; CPU:$E0A6 PRG:20A6 A2 21 + ldy #$6E ; CPU:$E0A8 PRG:20A8 A0 6E + lda ZpC5 ; CPU:$E0AA PRG:20AA A5 C5 + jsr Label_CDFCB ; CPU:$E0AC PRG:20AC 20 CB DF + lda ZpC6 ; CPU:$E0AF PRG:20AF A5 C6 + beq Label_E0BC ; CPU:$E0B1 PRG:20B1 F0 09 + ldx #$21 ; CPU:$E0B3 PRG:20B3 A2 21 + ldy #$EE ; CPU:$E0B5 PRG:20B5 A0 EE + lda ZpC6 ; CPU:$E0B7 PRG:20B7 A5 C6 + jsr Label_CDFCB ; CPU:$E0B9 PRG:20B9 20 CB DF +; ----------------------------------------------------------------------------- +; Routine: Label_E0BC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E0BC: + lda ZpC4 ; CPU:$E0BC PRG:20BC A5 C4 + clc ; CPU:$E0BE PRG:20BE 18 + adc ZpC5 ; CPU:$E0BF PRG:20BF 65 C5 + adc ZpC6 ; CPU:$E0C1 PRG:20C1 65 C6 + ldx #$22 ; CPU:$E0C3 PRG:20C3 A2 22 + ldy #$6E ; CPU:$E0C5 PRG:20C5 A0 6E + jsr Label_CDFCB ; CPU:$E0C7 PRG:20C7 20 CB DF + tay ; CPU:$E0CA PRG:20CA A8 + txa ; CPU:$E0CB PRG:20CB 8A + ldx #$03 ; CPU:$E0CC PRG:20CC A2 03 + sec ; CPU:$E0CE PRG:20CE 38 + sbc #$30 ; CPU:$E0CF PRG:20CF E9 30 + jsr Label_CE192 ; CPU:$E0D1 PRG:20D1 20 92 E1 + tya ; CPU:$E0D4 PRG:20D4 98 + sec ; CPU:$E0D5 PRG:20D5 38 + sbc #$30 ; CPU:$E0D6 PRG:20D6 E9 30 + ldx #$02 ; CPU:$E0D8 PRG:20D8 A2 02 + jsr Label_CE192 ; CPU:$E0DA PRG:20DA 20 92 E1 + jsr Label_CE20C ; CPU:$E0DD PRG:20DD 20 0C E2 + lda #$00 ; CPU:$E0E0 PRG:20E0 A9 00 + sta $2005 ; CPU:$E0E2 PRG:20E2 8D 05 20 + sta $2005 ; CPU:$E0E5 PRG:20E5 8D 05 20 + sta Zp04 ; CPU:$E0E8 PRG:20E8 85 04 + jsr Label_CC2B3 ; CPU:$E0EA PRG:20EA 20 B3 C2 + jsr Label_CC274 ; CPU:$E0ED PRG:20ED 20 74 C2 + jsr Label_CC292 ; CPU:$E0F0 PRG:20F0 20 92 C2 + lda #$DF ; CPU:$E0F3 PRG:20F3 A9 DF + sta Zp12 ; CPU:$E0F5 PRG:20F5 85 12 + lda #$20 ; CPU:$E0F7 PRG:20F7 A9 20 + sta Zp13 ; CPU:$E0F9 PRG:20F9 85 13 +; ----------------------------------------------------------------------------- +; Routine: Label_E0FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E0FB: + lda Zp06 ; CPU:$E0FB PRG:20FB A5 06 + and #$20 ; CPU:$E0FD PRG:20FD 29 20 + bne Label_E171 ; CPU:$E0FF PRG:20FF D0 70 + lda Zp12 ; CPU:$E101 PRG:2101 A5 12 + sta Zp19 ; CPU:$E103 PRG:2103 85 19 + lda #$40 ; CPU:$E105 PRG:2105 A9 40 + sta Zp18 ; CPU:$E107 PRG:2107 85 18 + lda #$00 ; CPU:$E109 PRG:2109 A9 00 + sta Zp1B ; CPU:$E10B PRG:210B 85 1B + lda Zp13 ; CPU:$E10D PRG:210D A5 13 + sta Zp1A ; CPU:$E10F PRG:210F 85 1A + ldy #$00 ; CPU:$E111 PRG:2111 A0 00 + jsr Label_CD18F ; CPU:$E113 PRG:2113 20 8F D1 + jsr Label_CE1D2 ; CPU:$E116 PRG:2116 20 D2 E1 + lda Zp13 ; CPU:$E119 PRG:2119 A5 13 + clc ; CPU:$E11B PRG:211B 18 + adc #$04 ; CPU:$E11C PRG:211C 69 04 + cmp #$30 ; CPU:$E11E PRG:211E C9 30 + bne Label_E124 ; CPU:$E120 PRG:2120 D0 02 + lda #$20 ; CPU:$E122 PRG:2122 A9 20 +; ----------------------------------------------------------------------------- +; Routine: Label_E124 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E124: + sta Zp13 ; CPU:$E124 PRG:2124 85 13 + dec Zp12 ; CPU:$E126 PRG:2126 C6 12 + lda Zp12 ; CPU:$E128 PRG:2128 A5 12 + cmp #$AF ; CPU:$E12A PRG:212A C9 AF + bcs Label_E0FB ; CPU:$E12C PRG:212C B0 CD + lda #$14 ; CPU:$E12E PRG:212E A9 14 + sta Zp12 ; CPU:$E130 PRG:2130 85 12 + lda #$F0 ; CPU:$E132 PRG:2132 A9 F0 + sta Zp13 ; CPU:$E134 PRG:2134 85 13 +; ----------------------------------------------------------------------------- +; Routine: Label_E136 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E136: + lda Zp06 ; CPU:$E136 PRG:2136 A5 06 + and #$20 ; CPU:$E138 PRG:2138 29 20 + bne Label_E171 ; CPU:$E13A PRG:213A D0 35 + lda #$AF ; CPU:$E13C PRG:213C A9 AF + sta Zp19 ; CPU:$E13E PRG:213E 85 19 + lda #$40 ; CPU:$E140 PRG:2140 A9 40 + sta Zp18 ; CPU:$E142 PRG:2142 85 18 + lda #$00 ; CPU:$E144 PRG:2144 A9 00 + sta Zp1B ; CPU:$E146 PRG:2146 85 1B + lda Zp13 ; CPU:$E148 PRG:2148 A5 13 + sta Zp1A ; CPU:$E14A PRG:214A 85 1A + ldy #$00 ; CPU:$E14C PRG:214C A0 00 + jsr Label_CD18F ; CPU:$E14E PRG:214E 20 8F D1 + jsr Label_CE1D2 ; CPU:$E151 PRG:2151 20 D2 E1 + lda Zp13 ; CPU:$E154 PRG:2154 A5 13 + clc ; CPU:$E156 PRG:2156 18 + adc #$04 ; CPU:$E157 PRG:2157 69 04 + bne Label_E15D ; CPU:$E159 PRG:2159 D0 02 + lda #$F0 ; CPU:$E15B PRG:215B A9 F0 +; ----------------------------------------------------------------------------- +; Routine: Label_E15D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E15D: + sta Zp13 ; CPU:$E15D PRG:215D 85 13 + dec Zp12 ; CPU:$E15F PRG:215F C6 12 + bne Label_E136 ; CPU:$E161 PRG:2161 D0 D3 +; ----------------------------------------------------------------------------- +; Routine: Label_E163 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E163: + lda Zp06 ; CPU:$E163 PRG:2163 A5 06 + and #$20 ; CPU:$E165 PRG:2165 29 20 + bne Label_E16D ; CPU:$E167 PRG:2167 D0 04 + lda ZpB7 ; CPU:$E169 PRG:2169 A5 B7 + bne Label_E163 ; CPU:$E16B PRG:216B D0 F6 +; ----------------------------------------------------------------------------- +; Routine: Label_E16D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E16D: + lda #$00 ; CPU:$E16D PRG:216D A9 00 + sta ZpB7 ; CPU:$E16F PRG:216F 85 B7 +; ----------------------------------------------------------------------------- +; Routine: Label_E171 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E171: + rts ; CPU:$E171 PRG:2171 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E172 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E172: + jsr Label_CDF1F ; CPU:$E172 PRG:2172 20 1F DF + jsr Label_CDD6F ; CPU:$E175 PRG:2175 20 6F DD + jsr Label_CDD6F ; CPU:$E178 PRG:2178 20 6F DD + jsr Label_CDF2D ; CPU:$E17B PRG:217B 20 2D DF + jsr Label_CDFAD ; CPU:$E17E PRG:217E 20 AD DF + jsr Label_CE206 ; CPU:$E181 PRG:2181 20 06 E2 + jsr Label_CE163 ; CPU:$E184 PRG:2184 20 63 E1 + lda #$0A ; CPU:$E187 PRG:2187 A9 0A +; ----------------------------------------------------------------------------- +; Routine: Label_E189 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E189: + jsr Label_CCA22 ; CPU:$E189 PRG:2189 20 22 CA + tax ; CPU:$E18C PRG:218C AA + dex ; CPU:$E18D PRG:218D CA + txa ; CPU:$E18E PRG:218E 8A + bne Label_E189 ; CPU:$E18F PRG:218F D0 F8 + rts ; CPU:$E191 PRG:2191 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E192 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E192: + clc ; CPU:$E192 PRG:2192 18 + adc $0590,x ; CPU:$E193 PRG:2193 7D 90 05 + sta $0590,x ; CPU:$E196 PRG:2196 9D 90 05 + cmp #$0A ; CPU:$E199 PRG:2199 C9 0A + bcc Label_E1B4 ; CPU:$E19B PRG:219B 90 17 + sbc #$0A ; CPU:$E19D PRG:219D E9 0A + sta $0590,x ; CPU:$E19F PRG:219F 9D 90 05 +; ----------------------------------------------------------------------------- +; Routine: Label_E1A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1A2: + inx ; CPU:$E1A2 PRG:21A2 E8 + inc $0590,x ; CPU:$E1A3 PRG:21A3 FE 90 05 + lda $0590,x ; CPU:$E1A6 PRG:21A6 BD 90 05 + cmp #$0A ; CPU:$E1A9 PRG:21A9 C9 0A + bne Label_E1B4 ; CPU:$E1AB PRG:21AB D0 07 + lda #$00 ; CPU:$E1AD PRG:21AD A9 00 + sta $0590,x ; CPU:$E1AF PRG:21AF 9D 90 05 + beq Label_E1A2 ; CPU:$E1B2 PRG:21B2 F0 EE +; ----------------------------------------------------------------------------- +; Routine: Label_E1B4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1B4: + ldx #$08 ; CPU:$E1B4 PRG:21B4 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Label_E1B6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1B6: + lda $058F,x ; CPU:$E1B6 PRG:21B6 BD 8F 05 + cmp $0587,x ; CPU:$E1B9 PRG:21B9 DD 87 05 + beq Label_E1C2 ; CPU:$E1BC PRG:21BC F0 04 + bcs Label_E1C6 ; CPU:$E1BE PRG:21BE B0 06 + bne Label_E1C5 ; CPU:$E1C0 PRG:21C0 D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_E1C2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1C2: + dex ; CPU:$E1C2 PRG:21C2 CA + bne Label_E1B6 ; CPU:$E1C3 PRG:21C3 D0 F1 +; ----------------------------------------------------------------------------- +; Routine: Label_E1C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1C5: + rts ; CPU:$E1C5 PRG:21C5 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E1C6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1C6: + ldx #$08 ; CPU:$E1C6 PRG:21C6 A2 08 +; ----------------------------------------------------------------------------- +; Routine: Label_E1C8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1C8: + lda $058F,x ; CPU:$E1C8 PRG:21C8 BD 8F 05 + sta $0587,x ; CPU:$E1CB PRG:21CB 9D 87 05 + dex ; CPU:$E1CE PRG:21CE CA + bne Label_E1C8 ; CPU:$E1CF PRG:21CF D0 F7 + rts ; CPU:$E1D1 PRG:21D1 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E1D2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1D2: + ldy #$C0 ; CPU:$E1D2 PRG:21D2 A0 C0 +; ----------------------------------------------------------------------------- +; Routine: Label_E1D4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1D4: + dex ; CPU:$E1D4 PRG:21D4 CA + bne Label_E1D4 ; CPU:$E1D5 PRG:21D5 D0 FD + dey ; CPU:$E1D7 PRG:21D7 88 + bne Label_E1D4 ; CPU:$E1D8 PRG:21D8 D0 FA + rts ; CPU:$E1DA PRG:21DA 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E1DB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1DB: + jsr Label_CC2BC ; CPU:$E1DB PRG:21DB 20 BC C2 + ldx #$00 ; CPU:$E1DE PRG:21DE A2 00 + ldy #$00 ; CPU:$E1E0 PRG:21E0 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E1E2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1E2: + lda $DD86,x ; CPU:$E1E2 PRG:21E2 BD 86 DD + sta $2006 ; CPU:$E1E5 PRG:21E5 8D 06 20 + lda $DD87,x ; CPU:$E1E8 PRG:21E8 BD 87 DD + sta $2006 ; CPU:$E1EB PRG:21EB 8D 06 20 + lda #$20 ; CPU:$E1EE PRG:21EE A9 20 + cpy ZpA7 ; CPU:$E1F0 PRG:21F0 C4 A7 + bne Label_E1F6 ; CPU:$E1F2 PRG:21F2 D0 02 + lda #$3A ; CPU:$E1F4 PRG:21F4 A9 3A +; ----------------------------------------------------------------------------- +; Routine: Label_E1F6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E1F6: + jsr Label_CC006 ; CPU:$E1F6 PRG:21F6 20 06 C0 + txa ; CPU:$E1F9 PRG:21F9 8A + clc ; CPU:$E1FA PRG:21FA 18 + adc #$0D ; CPU:$E1FB PRG:21FB 69 0D + tax ; CPU:$E1FD PRG:21FD AA + iny ; CPU:$E1FE PRG:21FE C8 + cpy #$03 ; CPU:$E1FF PRG:21FF C0 03 + bne Label_E1E2 ; CPU:$E201 PRG:2201 D0 DF + jmp Label_CDFAD ; CPU:$E203 PRG:2203 4C AD DF +; ----------------------------------------------------------------------------- +; Routine: Label_E206 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E206: + ldx #$E7 ; CPU:$E206 PRG:2206 A2 E7 + ldy #$E3 ; CPU:$E208 PRG:2208 A0 E3 + bne Label_E222 ; CPU:$E20A PRG:220A D0 16 +; ----------------------------------------------------------------------------- +; Routine: Label_E20C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E20C: + ldx #$C1 ; CPU:$E20C PRG:220C A2 C1 + ldy #$E2 ; CPU:$E20E PRG:220E A0 E2 + bne Label_E222 ; CPU:$E210 PRG:2210 D0 10 +; ----------------------------------------------------------------------------- +; Routine: Label_E212 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E212: + ldx #$DF ; CPU:$E212 PRG:2212 A2 DF + ldy #$E3 ; CPU:$E214 PRG:2214 A0 E3 + bne Label_E22A ; CPU:$E216 PRG:2216 D0 12 +; ----------------------------------------------------------------------------- +; Routine: Label_E218 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E218: + ldx #$E3 ; CPU:$E218 PRG:2218 A2 E3 + ldy #$E3 ; CPU:$E21A PRG:221A A0 E3 + bne Label_E22A ; CPU:$E21C PRG:221C D0 0C +; ----------------------------------------------------------------------------- +; Routine: Label_E21E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E21E: + ldx #$D1 ; CPU:$E21E PRG:221E A2 D1 + ldy #$E3 ; CPU:$E220 PRG:2220 A0 E3 +; ----------------------------------------------------------------------------- +; Routine: Label_E222 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E222: + lda #$0A ; CPU:$E222 PRG:2222 A9 0A + bne Label_E22C ; CPU:$E224 PRG:2224 D0 06 +; ----------------------------------------------------------------------------- +; Routine: Label_E226 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E226: + ldx #$B5 ; CPU:$E226 PRG:2226 A2 B5 + ldy #$E2 ; CPU:$E228 PRG:2228 A0 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_E22A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E22A: + lda #$06 ; CPU:$E22A PRG:222A A9 06 +; ----------------------------------------------------------------------------- +; Routine: Label_E22C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E22C: + sta ZpB8 ; CPU:$E22C PRG:222C 85 B8 + stx ZpBA ; CPU:$E22E PRG:222E 86 BA + sty ZpBB ; CPU:$E230 PRG:2230 84 BB + jsr Label_CE242 ; CPU:$E232 PRG:2232 20 42 E2 + sta ZpC9 ; CPU:$E235 PRG:2235 85 C9 + sta ZpB9 ; CPU:$E237 PRG:2237 85 B9 + sta ZpBE ; CPU:$E239 PRG:2239 85 BE + sta ZpBF ; CPU:$E23B PRG:223B 85 BF + lda #$01 ; CPU:$E23D PRG:223D A9 01 + sta ZpB7 ; CPU:$E23F PRG:223F 85 B7 + rts ; CPU:$E241 PRG:2241 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E242 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E242: + lda #$8A ; CPU:$E242 PRG:2242 A9 8A + sta $4000 ; CPU:$E244 PRG:2244 8D 00 40 + sta $4004 ; CPU:$E247 PRG:2247 8D 04 40 + lda #$18 ; CPU:$E24A PRG:224A A9 18 + sta $4008 ; CPU:$E24C PRG:224C 8D 08 40 + lda #$00 ; CPU:$E24F PRG:224F A9 00 + sta $4001 ; CPU:$E251 PRG:2251 8D 01 40 + sta $4005 ; CPU:$E254 PRG:2254 8D 05 40 + rts ; CPU:$E257 PRG:2257 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E258 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E258: + jsr Label_CE218 ; CPU:$E258 PRG:2258 20 18 E2 + lda #$14 ; CPU:$E25B PRG:225B A9 14 + sta Zp24 ; CPU:$E25D PRG:225D 85 24 +; ----------------------------------------------------------------------------- +; Routine: Label_E25F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E25F: + jsr Label_CD097 ; CPU:$E25F PRG:225F 20 97 D0 + jsr Label_CE1D2 ; CPU:$E262 PRG:2262 20 D2 E1 + jsr Label_CE1D2 ; CPU:$E265 PRG:2265 20 D2 E1 + inc Zp24 ; CPU:$E268 PRG:2268 E6 24 + lda Zp24 ; CPU:$E26A PRG:226A A5 24 + cmp #$1C ; CPU:$E26C PRG:226C C9 1C + bne Label_E25F ; CPU:$E26E PRG:226E D0 EF +; ----------------------------------------------------------------------------- +; Routine: Label_E270 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E270: + rts ; CPU:$E270 PRG:2270 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E271 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E271: + lda ZpC9 ; CPU:$E271 PRG:2271 A5 C9 + beq Label_E270 ; CPU:$E273 PRG:2273 F0 FB + inc ZpCB ; CPU:$E275 PRG:2275 E6 CB + lda ZpCB ; CPU:$E277 PRG:2277 A5 CB + cmp #$06 ; CPU:$E279 PRG:2279 C9 06 + bne Label_E270 ; CPU:$E27B PRG:227B D0 F3 + lda #$00 ; CPU:$E27D PRG:227D A9 00 + sta ZpCB ; CPU:$E27F PRG:227F 85 CB + lda ZpCA ; CPU:$E281 PRG:2281 A5 CA + cmp #$02 ; CPU:$E283 PRG:2283 C9 02 + bcs Label_E28F ; CPU:$E285 PRG:2285 B0 08 + ldx ZpCA ; CPU:$E287 PRG:2287 A6 CA + lda $E2A0,x ; CPU:$E289 PRG:2289 BD A0 E2 + jsr Label_CE2A2 ; CPU:$E28C PRG:228C 20 A2 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_E28F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E28F: + inc ZpCA ; CPU:$E28F PRG:228F E6 CA + lda ZpCA ; CPU:$E291 PRG:2291 A5 CA + cmp #$06 ; CPU:$E293 PRG:2293 C9 06 + bne Label_E270 ; CPU:$E295 PRG:2295 D0 D9 + lda #$00 ; CPU:$E297 PRG:2297 A9 00 + sta ZpC9 ; CPU:$E299 PRG:2299 85 C9 + sta ZpCA ; CPU:$E29B PRG:229B 85 CA + jmp Label_CDEC0 ; CPU:$E29D PRG:229D 4C C0 DE +; ---- data $E2A0-$E2A1 (2 bytes) ---- +; referenced by `lda $E2A0,x` at $E289 (operand $E2A0 falls inside this region) + .byte $53, $69 ; CPU:$E2A0 PRG:22A0 53 69 +; ----------------------------------------------------------------------------- +; Routine: Label_E2A2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E2A2: + ldy #$A6 ; CPU:$E2A2 PRG:22A2 A0 A6 + sty $4000 ; CPU:$E2A4 PRG:22A4 8C 00 40 + ldy #$00 ; CPU:$E2A7 PRG:22A7 A0 00 + sty $4001 ; CPU:$E2A9 PRG:22A9 8C 01 40 + sta $4002 ; CPU:$E2AC PRG:22AC 8D 02 40 + lda #$F0 ; CPU:$E2AF PRG:22AF A9 F0 + sta $4003 ; CPU:$E2B1 PRG:22B1 8D 03 40 + rts ; CPU:$E2B4 PRG:22B4 60 +; ---- data $E2B5-$E663 (943 bytes) ---- +; referenced by `lda $E65C,x` at $DF50 (operand $E65C falls inside this region) +; referenced by `lda $E650,y` at $DF5D (operand $E650 falls inside this region) + .byte $C5, $E2, $F6, $E2, $9F, $E3, $F6, $E2, $B8, $E3, $00, $00, $4C, $E5, $00, $00 ; CPU:$E2B5 PRG:22B5 C5 E2 F6 E2 9F E3 F6 E2 B8 E3 00 00 4C E5 00 00 + .byte $81, $81, $20, $81, $81, $81, $81, $37, $34, $81, $81, $81, $81, $81, $17, $81 ; CPU:$E2C5 PRG:22C5 81 81 20 81 81 81 81 37 34 81 81 81 81 81 17 81 + .byte $81, $81, $81, $37, $34, $81, $81, $81, $81, $81, $22, $81, $81, $81, $81, $39 ; CPU:$E2D5 PRG:22D5 81 81 81 37 34 81 81 81 81 81 22 81 81 81 81 39 + .byte $36, $81, $81, $81, $81, $81, $17, $81, $81, $81, $81, $37, $35, $81, $81, $81 ; CPU:$E2E5 PRG:22E5 36 81 81 81 81 81 17 81 81 81 81 37 35 81 81 81 + .byte $00, $40, $81, $20, $81, $81, $81, $81, $37, $34, $81, $81, $81, $44, $81, $17 ; CPU:$E2F5 PRG:22F5 00 40 81 20 81 81 81 81 37 34 81 81 81 44 81 17 + .byte $81, $81, $81, $40, $37, $34, $81, $81, $81, $45, $81, $22, $81, $81, $81, $81 ; CPU:$E305 PRG:2305 81 81 81 40 37 34 81 81 81 45 81 22 81 81 81 81 + .byte $3B, $37, $81, $81, $81, $42, $81, $17, $81, $81, $81, $3B, $37, $35, $81, $81 ; CPU:$E315 PRG:2315 3B 37 81 81 81 42 81 17 81 81 81 3B 37 35 81 81 + .byte $81, $40, $37, $20, $81, $81, $81, $44, $37, $1B, $81, $81, $81, $45, $39, $19 ; CPU:$E325 PRG:2325 81 40 37 20 81 81 81 44 37 1B 81 81 81 45 39 19 + .byte $81, $81, $81, $46, $40, $22, $81, $81, $81, $47, $3B, $17, $81, $81, $81, $81 ; CPU:$E335 PRG:2335 81 81 81 46 40 22 81 81 81 47 3B 17 81 81 81 81 + .byte $39, $25, $81, $81, $81, $81, $37, $24, $81, $81, $81, $81, $35, $22, $81, $81 ; CPU:$E345 PRG:2345 39 25 81 81 81 81 37 24 81 81 81 81 35 22 81 81 + .byte $81, $44, $81, $20, $81, $81, $81, $47, $40, $27, $81, $81, $81, $81, $81, $17 ; CPU:$E355 PRG:2355 81 44 81 20 81 81 81 47 40 27 81 81 81 81 81 17 + .byte $81, $81, $81, $44, $40, $27, $81, $81, $81, $45, $39, $25, $81, $81, $81, $49 ; CPU:$E365 PRG:2365 81 81 81 44 40 27 81 81 81 45 39 25 81 81 81 49 + .byte $37, $24, $81, $81, $81, $81, $39, $25, $81, $81, $81, $48, $40, $26, $81, $81 ; CPU:$E375 PRG:2375 37 24 81 81 81 81 39 25 81 81 81 48 40 26 81 81 + .byte $81, $47, $81, $27, $81, $81, $81, $45, $3B, $27, $81, $81, $81, $42, $81, $17 ; CPU:$E385 PRG:2385 81 47 81 27 81 81 81 45 3B 27 81 81 81 42 81 17 + .byte $81, $81, $81, $3B, $37, $25, $81, $81, $81, $00, $40, $34, $20, $81, $81, $81 ; CPU:$E395 PRG:2395 81 81 81 3B 37 25 81 81 81 00 40 34 20 81 81 81 + .byte $30, $44, $24, $81, $81, $81, $34, $40, $20, $81, $81, $81, $37, $81, $81, $81 ; CPU:$E3A5 PRG:23A5 30 44 24 81 81 81 34 40 20 81 81 81 37 81 81 81 + .byte $81, $81, $00, $40, $34, $20, $81, $81, $81, $44, $40, $24, $81, $81, $81, $40 ; CPU:$E3B5 PRG:23B5 81 81 00 40 34 20 81 81 81 44 40 24 81 81 81 40 + .byte $37, $20, $81, $81, $81, $81, $81, $81, $81, $81, $81, $00, $EB, $E3, $1C, $E4 ; CPU:$E3C5 PRG:23C5 37 20 81 81 81 81 81 81 81 81 81 00 EB E3 1C E4 + .byte $4D, $E4, $EB, $E3, $0A, $01, $7E, $E4, $0A, $01, $AF, $E4, $00, $00, $25, $E6 ; CPU:$E3D5 PRG:23D5 4D E4 EB E3 0A 01 7E E4 0A 01 AF E4 00 00 25 E6 + .byte $00, $00, $7E, $E4, $00, $00, $81, $81, $20, $81, $81, $20, $81, $81, $81, $81 ; CPU:$E3E5 PRG:23E5 00 00 7E E4 00 00 81 81 20 81 81 20 81 81 81 81 + .byte $81, $17, $81, $81, $20, $81, $81, $20, $81, $81, $81, $81, $81, $17, $81, $81 ; CPU:$E3F5 PRG:23F5 81 17 81 81 20 81 81 20 81 81 81 81 81 17 81 81 + .byte $20, $81, $81, $20, $81, $81, $81, $81, $81, $14, $81, $81, $81, $81, $81, $15 ; CPU:$E405 PRG:2405 20 81 81 20 81 81 81 81 81 14 81 81 81 81 81 15 + .byte $81, $81, $16, $81, $81, $17, $00, $81, $81, $22, $81, $81, $22, $81, $81, $81 ; CPU:$E415 PRG:2415 81 81 16 81 81 17 00 81 81 22 81 81 22 81 81 81 + .byte $81, $81, $17, $81, $81, $22, $81, $81, $22, $81, $81, $81, $81, $81, $17, $81 ; CPU:$E425 PRG:2425 81 81 17 81 81 22 81 81 22 81 81 81 81 81 17 81 + .byte $81, $22, $81, $81, $22, $81, $81, $81, $81, $81, $16, $81, $81, $81, $81, $81 ; CPU:$E435 PRG:2435 81 22 81 81 22 81 81 81 81 81 16 81 81 81 81 81 + .byte $17, $81, $81, $18, $81, $81, $19, $00, $81, $81, $17, $81, $81, $17, $81, $81 ; CPU:$E445 PRG:2445 17 81 81 18 81 81 19 00 81 81 17 81 81 17 81 81 + .byte $81, $81, $81, $12, $81, $81, $17, $81, $81, $17, $81, $81, $81, $81, $81, $12 ; CPU:$E455 PRG:2455 81 81 81 12 81 81 17 81 81 17 81 81 81 81 81 12 + .byte $81, $81, $17, $81, $81, $17, $81, $81, $81, $81, $81, $0B, $81, $81, $81, $81 ; CPU:$E465 PRG:2465 81 81 17 81 81 17 81 81 81 81 81 0B 81 81 81 81 + .byte $81, $10, $81, $81, $11, $81, $81, $12, $00, $27, $27, $81, $81, $81, $81, $26 ; CPU:$E475 PRG:2475 81 10 81 81 11 81 81 12 00 27 27 81 81 81 81 26 + .byte $29, $81, $25, $2B, $81, $81, $81, $81, $24, $30, $81, $22, $32, $81, $81, $81 ; CPU:$E485 PRG:2485 29 81 25 2B 81 81 81 81 24 30 81 22 32 81 81 81 + .byte $81, $20, $34, $81, $1B, $35, $81, $19, $81, $81, $1B, $81, $81, $20, $34, $81 ; CPU:$E495 PRG:2495 81 20 34 81 1B 35 81 19 81 81 1B 81 81 20 34 81 + .byte $24, $81, $81, $27, $81, $81, $30, $40, $81, $00, $81, $17, $81, $81, $19, $81 ; CPU:$E4A5 PRG:24A5 24 81 81 27 81 81 30 40 81 00 81 17 81 81 19 81 + .byte $81, $81, $81, $81, $1B, $81, $81, $20, $81, $81, $81, $81, $81, $81, $81, $44 ; CPU:$E4B5 PRG:24B5 81 81 81 81 1B 81 81 20 81 81 81 81 81 81 81 44 + .byte $30, $81, $81, $81, $81, $81, $81, $81, $40, $27, $81, $81, $81, $81, $44, $81 ; CPU:$E4C5 PRG:24C5 30 81 81 81 81 81 81 81 40 27 81 81 81 81 44 81 + .byte $81, $37, $24, $81, $81, $81, $81, $40, $81, $81, $36, $22, $81, $81, $81, $81 ; CPU:$E4D5 PRG:24D5 81 37 24 81 81 81 81 40 81 81 36 22 81 81 81 81 + .byte $39, $26, $81, $40, $29, $81, $81, $81, $81, $44, $30, $81, $81, $22, $81, $81 ; CPU:$E4E5 PRG:24E5 39 26 81 40 29 81 81 81 81 44 30 81 81 22 81 81 + .byte $81, $81, $40, $24, $81, $39, $25, $81, $81, $81, $81, $38, $26, $81, $37, $27 ; CPU:$E4F5 PRG:24F5 81 81 40 24 81 39 25 81 81 81 81 38 26 81 37 27 + .byte $81, $81, $81, $81, $3B, $81, $81, $42, $81, $81, $81, $81, $81, $47, $81, $81 ; CPU:$E505 PRG:2505 81 81 81 81 3B 81 81 42 81 81 81 81 81 47 81 81 + .byte $38, $28, $81, $81, $81, $81, $40, $81, $81, $43, $81, $81, $81, $81, $81, $48 ; CPU:$E515 PRG:2515 38 28 81 81 81 81 40 81 81 43 81 81 81 81 81 48 + .byte $81, $81, $47, $17, $81, $81, $81, $81, $27, $17, $81, $47, $81, $81, $81, $81 ; CPU:$E525 PRG:2525 81 81 47 17 81 81 81 81 27 17 81 47 81 81 81 81 + .byte $81, $47, $81, $81, $81, $81, $81, $81, $81, $81, $44, $81, $81, $43, $81, $81 ; CPU:$E535 PRG:2535 81 47 81 81 81 81 81 81 81 81 44 81 81 43 81 81 + .byte $81, $81, $81, $42, $81, $81, $00, $40, $81, $81, $3B, $81, $81, $39, $81, $81 ; CPU:$E545 PRG:2545 81 81 81 42 81 81 00 40 81 81 3B 81 81 39 81 81 + .byte $37, $81, $81, $35, $81, $81, $81, $81, $17, $81, $81, $19, $81, $81, $1B, $47 ; CPU:$E555 PRG:2555 37 81 81 35 81 81 81 81 17 81 81 19 81 81 1B 47 + .byte $81, $20, $81, $81, $2B, $47, $44, $29, $81, $81, $81, $50, $81, $27, $54, $81 ; CPU:$E565 PRG:2565 81 20 81 81 2B 47 44 29 81 81 81 50 81 27 54 81 + .byte $30, $52, $81, $24, $50, $81, $27, $49, $81, $25, $81, $81, $34, $50, $42, $25 ; CPU:$E575 PRG:2575 30 52 81 24 50 81 27 49 81 25 81 81 34 50 42 25 + .byte $81, $81, $81, $4B, $81, $27, $49, $81, $25, $47, $81, $24, $45, $81, $22, $47 ; CPU:$E585 PRG:2585 81 81 81 4B 81 27 49 81 25 47 81 24 45 81 22 47 + .byte $81, $24, $81, $81, $32, $44, $41, $27, $81, $81, $81, $49, $81, $21, $47, $81 ; CPU:$E595 PRG:2595 81 24 81 81 32 44 41 27 81 81 81 49 81 21 47 81 + .byte $24, $45, $81, $19, $44, $81, $21, $4B, $45, $22, $4A, $81, $81, $49, $42, $25 ; CPU:$E5A5 PRG:25A5 24 45 81 19 44 81 21 4B 45 22 4A 81 81 49 42 25 + .byte $48, $81, $81, $47, $3B, $81, $45, $81, $17, $44, $37, $19, $42, $81, $1B, $44 ; CPU:$E5B5 PRG:25B5 48 81 81 47 3B 81 45 81 17 44 37 19 42 81 1B 44 + .byte $81, $20, $81, $81, $2B, $47, $44, $29, $81, $81, $81, $50, $81, $29, $54, $81 ; CPU:$E5C5 PRG:25C5 81 20 81 81 2B 47 44 29 81 81 81 50 81 29 54 81 + .byte $30, $4B, $81, $32, $50, $81, $29, $49, $81, $25, $81, $81, $34, $49, $42, $30 ; CPU:$E5D5 PRG:25D5 30 4B 81 32 50 81 29 49 81 25 81 81 34 49 42 30 + .byte $81, $81, $81, $52, $81, $25, $50, $81, $29, $4B, $81, $27, $49, $81, $25, $47 ; CPU:$E5E5 PRG:25E5 81 81 81 52 81 25 50 81 29 4B 81 27 49 81 25 47 + .byte $40, $24, $81, $81, $27, $44, $40, $20, $81, $81, $27, $45, $42, $1A, $81, $81 ; CPU:$E5F5 PRG:25F5 40 24 81 81 27 44 40 20 81 81 27 45 42 1A 81 81 + .byte $17, $49, $46, $23, $4B, $45, $22, $50, $81, $20, $81, $81, $35, $50, $44, $30 ; CPU:$E605 PRG:2605 17 49 46 23 4B 45 22 50 81 20 81 81 35 50 44 30 + .byte $81, $81, $81, $40, $81, $20, $3B, $38, $25, $40, $37, $24, $81, $81, $81, $00 ; CPU:$E615 PRG:2615 81 81 81 40 81 20 3B 38 25 40 37 24 81 81 81 00 + .byte $40, $30, $27, $81, $27, $81, $37, $24, $20, $37, $27, $81, $34, $30, $24, $81 ; CPU:$E625 PRG:2625 40 30 27 81 27 81 37 24 20 37 27 81 34 30 24 81 + .byte $27, $81, $37, $24, $20, $81, $27, $81, $35, $29, $25, $37, $2B, $81, $39, $30 ; CPU:$E635 PRG:2635 27 81 37 24 20 81 27 81 35 29 25 37 2B 81 39 30 + .byte $29, $3B, $32, $81, $40, $34, $20, $81, $81, $81, $00, $0F, $29, $16, $30, $0F ; CPU:$E645 PRG:2645 29 3B 32 81 40 34 20 81 81 81 00 0F 29 16 30 0F + .byte $39, $28, $27, $0F, $29, $26, $30, $00, $04, $00, $00, $08, $08, $00, $00 ; CPU:$E655 PRG:2655 39 28 27 0F 29 26 30 00 04 00 00 08 08 00 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E664 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E664: + jsr Label_CC5A1 ; CPU:$E664 PRG:2664 20 A1 C5 + jsr Label_CE75D ; CPU:$E667 PRG:2667 20 5D E7 + jsr Label_CC2BC ; CPU:$E66A PRG:266A 20 BC C2 + jsr Label_CC214 ; CPU:$E66D PRG:266D 20 14 C2 + jsr Label_CC287 ; CPU:$E670 PRG:2670 20 87 C2 + jsr Label_CE791 ; CPU:$E673 PRG:2673 20 91 E7 + jsr Label_CC2A8 ; CPU:$E676 PRG:2676 20 A8 C2 + lda #$0E ; CPU:$E679 PRG:2679 A9 0E + sta $2001 ; CPU:$E67B PRG:267B 8D 01 20 + sta Zp03 ; CPU:$E67E PRG:267E 85 03 + jsr Label_CC2B3 ; CPU:$E680 PRG:2680 20 B3 C2 + ldy #$00 ; CPU:$E683 PRG:2683 A0 00 + sty ZpBE ; CPU:$E685 PRG:2685 84 BE + sty ZpC8 ; CPU:$E687 PRG:2687 84 C8 + sty ZpE4 ; CPU:$E689 PRG:2689 84 E4 + sty Zp85 ; CPU:$E68B PRG:268B 84 85 + iny ; CPU:$E68D PRG:268D C8 + sty Zp86 ; CPU:$E68E PRG:268E 84 86 +; ----------------------------------------------------------------------------- +; Routine: Label_E690 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E690: + jsr Label_CE7B2 ; CPU:$E690 PRG:2690 20 B2 E7 + sta ZpC7 ; CPU:$E693 PRG:2693 85 C7 +; ----------------------------------------------------------------------------- +; Routine: Label_E695 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E695: + lda #$18 ; CPU:$E695 PRG:2695 A9 18 + jsr Label_CD055 ; CPU:$E697 PRG:2697 20 55 D0 + ldy #$80 ; CPU:$E69A PRG:269A A0 80 +; ----------------------------------------------------------------------------- +; Routine: Label_E69C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E69C: + lda ZpC8 ; CPU:$E69C PRG:269C A5 C8 + bne Label_E6A6 ; CPU:$E69E PRG:269E D0 06 + lda Zp06 ; CPU:$E6A0 PRG:26A0 A5 06 + bne Label_E6CD ; CPU:$E6A2 PRG:26A2 D0 29 + beq Label_E6AA ; CPU:$E6A4 PRG:26A4 F0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_E6A6 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6A6: + lda Zp06 ; CPU:$E6A6 PRG:26A6 A5 06 + sta ZpC8 ; CPU:$E6A8 PRG:26A8 85 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_E6AA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6AA: + dex ; CPU:$E6AA PRG:26AA CA + bne Label_E69C ; CPU:$E6AB PRG:26AB D0 EF + dey ; CPU:$E6AD PRG:26AD 88 + bne Label_E69C ; CPU:$E6AE PRG:26AE D0 EC +; ----------------------------------------------------------------------------- +; Routine: Label_E6B0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6B0: + lda ZpC7 ; CPU:$E6B0 PRG:26B0 A5 C7 + jsr Label_CD055 ; CPU:$E6B2 PRG:26B2 20 55 D0 + ldy #$80 ; CPU:$E6B5 PRG:26B5 A0 80 +; ----------------------------------------------------------------------------- +; Routine: Label_E6B7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6B7: + lda ZpC8 ; CPU:$E6B7 PRG:26B7 A5 C8 + bne Label_E6C1 ; CPU:$E6B9 PRG:26B9 D0 06 + lda Zp06 ; CPU:$E6BB PRG:26BB A5 06 + bne Label_E6D2 ; CPU:$E6BD PRG:26BD D0 13 + beq Label_E6C5 ; CPU:$E6BF PRG:26BF F0 04 +; ----------------------------------------------------------------------------- +; Routine: Label_E6C1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6C1: + lda Zp06 ; CPU:$E6C1 PRG:26C1 A5 06 + sta ZpC8 ; CPU:$E6C3 PRG:26C3 85 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_E6C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6C5: + dex ; CPU:$E6C5 PRG:26C5 CA + bne Label_E6B7 ; CPU:$E6C6 PRG:26C6 D0 EF + dey ; CPU:$E6C8 PRG:26C8 88 + bne Label_E6B7 ; CPU:$E6C9 PRG:26C9 D0 EC + beq Label_E695 ; CPU:$E6CB PRG:26CB F0 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_E6CD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6CD: + lda ZpC7 ; CPU:$E6CD PRG:26CD A5 C7 + jsr Label_CD055 ; CPU:$E6CF PRG:26CF 20 55 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_E6D2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6D2: + lda Zp06 ; CPU:$E6D2 PRG:26D2 A5 06 + sta ZpC8 ; CPU:$E6D4 PRG:26D4 85 C8 + ror a ; CPU:$E6D6 PRG:26D6 6A + bcs Label_E733 ; CPU:$E6D7 PRG:26D7 B0 5A + ror a ; CPU:$E6D9 PRG:26D9 6A + bcs Label_E73D ; CPU:$E6DA PRG:26DA B0 61 + ror a ; CPU:$E6DC PRG:26DC 6A + bcs Label_E749 ; CPU:$E6DD PRG:26DD B0 6A + ror a ; CPU:$E6DF PRG:26DF 6A + bcs Label_E753 ; CPU:$E6E0 PRG:26E0 B0 71 + ror a ; CPU:$E6E2 PRG:26E2 6A + bcs Label_E724 ; CPU:$E6E3 PRG:26E3 B0 3F + ror a ; CPU:$E6E5 PRG:26E5 6A + bcs Label_E702 ; CPU:$E6E6 PRG:26E6 B0 1A + ror a ; CPU:$E6E8 PRG:26E8 6A + bcs Label_E718 ; CPU:$E6E9 PRG:26E9 B0 2D + ldx ZpC7 ; CPU:$E6EB PRG:26EB A6 C7 + inx ; CPU:$E6ED PRG:26ED E8 + cpx #$0A ; CPU:$E6EE PRG:26EE E0 0A + bne Label_E6F4 ; CPU:$E6F0 PRG:26F0 D0 02 + ldx #$00 ; CPU:$E6F2 PRG:26F2 A2 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E6F4 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E6F4: + stx ZpC7 ; CPU:$E6F4 PRG:26F4 86 C7 + jsr Label_CE7B8 ; CPU:$E6F6 PRG:26F6 20 B8 E7 + txa ; CPU:$E6F9 PRG:26F9 8A + sta (Zp26),y ; CPU:$E6FA PRG:26FA 91 26 + jsr Label_CD2AB ; CPU:$E6FC PRG:26FC 20 AB D2 + jmp Label_CE6B0 ; CPU:$E6FF PRG:26FF 4C B0 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E702 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E702: + jsr Label_CE9B8 ; CPU:$E702 PRG:2702 20 B8 E9 + bcs Label_E70A ; CPU:$E705 PRG:2705 B0 03 + jmp Label_CE7C7 ; CPU:$E707 PRG:2707 4C C7 E7 +; ----------------------------------------------------------------------------- +; Routine: Label_E70A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E70A: + lda Zp06 ; CPU:$E70A PRG:270A A5 06 + beq Label_E6B7 ; CPU:$E70C PRG:270C F0 A9 + cmp #$30 ; CPU:$E70E PRG:270E C9 30 + bne Label_E702 ; CPU:$E710 PRG:2710 D0 F0 + jsr Label_CC5A1 ; CPU:$E712 PRG:2712 20 A1 C5 + jmp Label_CC3A6 ; CPU:$E715 PRG:2715 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Label_E718 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E718: + ldx ZpC7 ; CPU:$E718 PRG:2718 A6 C7 + beq Label_E720 ; CPU:$E71A PRG:271A F0 04 + dex ; CPU:$E71C PRG:271C CA + jmp Label_CE6F4 ; CPU:$E71D PRG:271D 4C F4 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E720 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E720: + ldx #$09 ; CPU:$E720 PRG:2720 A2 09 + bne Label_E6F4 ; CPU:$E722 PRG:2722 D0 D0 +; ----------------------------------------------------------------------------- +; Routine: Label_E724 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E724: + jsr Label_CC5A1 ; CPU:$E724 PRG:2724 20 A1 C5 + jsr Label_CC63B ; CPU:$E727 PRG:2727 20 3B C6 + jsr Label_CE75D ; CPU:$E72A PRG:272A 20 5D E7 + jsr Label_CC7FE ; CPU:$E72D PRG:272D 20 FE C7 + jmp Label_CC437 ; CPU:$E730 PRG:2730 4C 37 C4 +; ----------------------------------------------------------------------------- +; Routine: Label_E733 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E733: + ldx Zp85 ; CPU:$E733 PRG:2733 A6 85 + cpx #$0D ; CPU:$E735 PRG:2735 E0 0D + beq Label_E743 ; CPU:$E737 PRG:2737 F0 0A + inc Zp85 ; CPU:$E739 PRG:2739 E6 85 + bne Label_E743 ; CPU:$E73B PRG:273B D0 06 +; ----------------------------------------------------------------------------- +; Routine: Label_E73D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E73D: + ldx Zp85 ; CPU:$E73D PRG:273D A6 85 + beq Label_E743 ; CPU:$E73F PRG:273F F0 02 + dec Zp85 ; CPU:$E741 PRG:2741 C6 85 +; ----------------------------------------------------------------------------- +; Routine: Label_E743 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E743: + jsr Label_CD291 ; CPU:$E743 PRG:2743 20 91 D2 + jmp Label_CE690 ; CPU:$E746 PRG:2746 4C 90 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E749 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E749: + ldx Zp86 ; CPU:$E749 PRG:2749 A6 86 + cpx #$0D ; CPU:$E74B PRG:274B E0 0D + beq Label_E743 ; CPU:$E74D PRG:274D F0 F4 + inc Zp86 ; CPU:$E74F PRG:274F E6 86 + bne Label_E743 ; CPU:$E751 PRG:2751 D0 F0 +; ----------------------------------------------------------------------------- +; Routine: Label_E753 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E753: + ldx Zp86 ; CPU:$E753 PRG:2753 A6 86 + cpx #$01 ; CPU:$E755 PRG:2755 E0 01 + beq Label_E743 ; CPU:$E757 PRG:2757 F0 EA + dec Zp86 ; CPU:$E759 PRG:2759 C6 86 + bne Label_E743 ; CPU:$E75B PRG:275B D0 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E75D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E75D: + ldx #$00 ; CPU:$E75D PRG:275D A2 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E75F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E75F: + jsr Label_CE789 ; CPU:$E75F PRG:275F 20 89 E7 + lda $C66C,x ; CPU:$E762 PRG:2762 BD 6C C6 + sta Zp28 ; CPU:$E765 PRG:2765 85 28 + lda $C67A,x ; CPU:$E767 PRG:2767 BD 7A C6 + sta Zp29 ; CPU:$E76A PRG:276A 85 29 +; ----------------------------------------------------------------------------- +; Routine: Label_E76C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E76C: + lda (Zp28),y ; CPU:$E76C PRG:276C B1 28 + cpx #$00 ; CPU:$E76E PRG:276E E0 00 + bne Label_E773 ; CPU:$E770 PRG:2770 D0 01 + txa ; CPU:$E772 PRG:2772 8A +; ----------------------------------------------------------------------------- +; Routine: Label_E773 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E773: + sta (Zp26),y ; CPU:$E773 PRG:2773 91 26 + iny ; CPU:$E775 PRG:2775 C8 + cpy #$0E ; CPU:$E776 PRG:2776 C0 0E + bne Label_E76C ; CPU:$E778 PRG:2778 D0 F2 + lda #$02 ; CPU:$E77A PRG:277A A9 02 +; ----------------------------------------------------------------------------- +; Routine: Label_E77C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E77C: + sta (Zp26),y ; CPU:$E77C PRG:277C 91 26 + iny ; CPU:$E77E PRG:277E C8 + cpy #$1C ; CPU:$E77F PRG:277F C0 1C + bne Label_E77C ; CPU:$E781 PRG:2781 D0 F9 + inx ; CPU:$E783 PRG:2783 E8 + cpx #$0E ; CPU:$E784 PRG:2784 E0 0E + bne Label_E75F ; CPU:$E786 PRG:2786 D0 D7 + rts ; CPU:$E788 PRG:2788 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E789 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E789: + txa ; CPU:$E789 PRG:2789 8A + tay ; CPU:$E78A PRG:278A A8 + jsr Label_CD2FA ; CPU:$E78B PRG:278B 20 FA D2 + ldy #$00 ; CPU:$E78E PRG:278E A0 00 + rts ; CPU:$E790 PRG:2790 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E791 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E791: + ldx #$00 ; CPU:$E791 PRG:2791 A2 00 + stx Zp86 ; CPU:$E793 PRG:2793 86 86 +; ----------------------------------------------------------------------------- +; Routine: Label_E795 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E795: + jsr Label_CE789 ; CPU:$E795 PRG:2795 20 89 E7 + sty Zp85 ; CPU:$E798 PRG:2798 84 85 +; ----------------------------------------------------------------------------- +; Routine: Label_E79A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E79A: + lda (Zp26),y ; CPU:$E79A PRG:279A B1 26 + jsr Label_CCA1C ; CPU:$E79C PRG:279C 20 1C CA + inc Zp85 ; CPU:$E79F PRG:279F E6 85 + ldy Zp85 ; CPU:$E7A1 PRG:27A1 A4 85 + cpy #$10 ; CPU:$E7A3 PRG:27A3 C0 10 + bne Label_E79A ; CPU:$E7A5 PRG:27A5 D0 F3 + inc Zp86 ; CPU:$E7A7 PRG:27A7 E6 86 + ldx Zp86 ; CPU:$E7A9 PRG:27A9 A6 86 + cpx #$0E ; CPU:$E7AB PRG:27AB E0 0E + bne Label_E795 ; CPU:$E7AD PRG:27AD D0 E6 + jmp Label_CC94B ; CPU:$E7AF PRG:27AF 4C 4B C9 +; ----------------------------------------------------------------------------- +; Routine: Label_E7B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E7B2: + jsr Label_CE7B8 ; CPU:$E7B2 PRG:27B2 20 B8 E7 + lda (Zp26),y ; CPU:$E7B5 PRG:27B5 B1 26 + rts ; CPU:$E7B7 PRG:27B7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E7B8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E7B8: + ldy Zp86 ; CPU:$E7B8 PRG:27B8 A4 86 + lda $C66C,y ; CPU:$E7BA PRG:27BA B9 6C C6 + sta Zp26 ; CPU:$E7BD PRG:27BD 85 26 + lda $C67A,y ; CPU:$E7BF PRG:27BF B9 7A C6 + sta Zp27 ; CPU:$E7C2 PRG:27C2 85 27 + ldy Zp85 ; CPU:$E7C4 PRG:27C4 A4 85 + rts ; CPU:$E7C6 PRG:27C6 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E7C7 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E7C7: + jsr Label_CD2E3 ; CPU:$E7C7 PRG:27C7 20 E3 D2 + jsr Label_CC5A1 ; CPU:$E7CA PRG:27CA 20 A1 C5 + inc ZpE4 ; CPU:$E7CD PRG:27CD E6 E4 + lda ZpE4 ; CPU:$E7CF PRG:27CF A5 E4 + cmp #$04 ; CPU:$E7D1 PRG:27D1 C9 04 + bcc Label_E7D8 ; CPU:$E7D3 PRG:27D3 90 03 + jmp Label_CE664 ; CPU:$E7D5 PRG:27D5 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E7D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E7D8: + lda #$54 ; CPU:$E7D8 PRG:27D8 A9 54 + sta Zp12 ; CPU:$E7DA PRG:27DA 85 12 + lda #$E8 ; CPU:$E7DC PRG:27DC A9 E8 + sta Zp13 ; CPU:$E7DE PRG:27DE 85 13 + jsr Label_CE844 ; CPU:$E7E0 PRG:27E0 20 44 E8 + ldx ZpE4 ; CPU:$E7E3 PRG:27E3 A6 E4 + dex ; CPU:$E7E5 PRG:27E5 CA + stx Zp14 ; CPU:$E7E6 PRG:27E6 86 14 + txa ; CPU:$E7E8 PRG:27E8 8A + asl a ; CPU:$E7E9 PRG:27E9 0A + asl a ; CPU:$E7EA PRG:27EA 0A + clc ; CPU:$E7EB PRG:27EB 18 + adc Zp14 ; CPU:$E7EC PRG:27EC 65 14 + tay ; CPU:$E7EE PRG:27EE A8 + dey ; CPU:$E7EF PRG:27EF 88 + jsr Label_CE84E ; CPU:$E7F0 PRG:27F0 20 4E E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E7F3 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E7F3: + lda Zp06 ; CPU:$E7F3 PRG:27F3 A5 06 + and #$20 ; CPU:$E7F5 PRG:27F5 29 20 + bne Label_E7C7 ; CPU:$E7F7 PRG:27F7 D0 CE + lda Zp06 ; CPU:$E7F9 PRG:27F9 A5 06 + and #$10 ; CPU:$E7FB PRG:27FB 29 10 + beq Label_E7F3 ; CPU:$E7FD PRG:27FD F0 F4 + jsr Label_CD2E3 ; CPU:$E7FF PRG:27FF 20 E3 D2 + jsr Label_CC5A1 ; CPU:$E802 PRG:2802 20 A1 C5 + ldx ZpE4 ; CPU:$E805 PRG:2805 A6 E4 + dex ; CPU:$E807 PRG:2807 CA + bne Label_E80D ; CPU:$E808 PRG:2808 D0 03 + jmp Label_CC3A6 ; CPU:$E80A PRG:280A 4C A6 C3 +; ----------------------------------------------------------------------------- +; Routine: Label_E80D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E80D: + dex ; CPU:$E80D PRG:280D CA + bne Label_E83B ; CPU:$E80E PRG:280E D0 2B + jsr Label_CE92C ; CPU:$E810 PRG:2810 20 2C E9 + clc ; CPU:$E813 PRG:2813 18 +; ----------------------------------------------------------------------------- +; Routine: Label_E814 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E814: + bcs Label_E81C ; CPU:$E814 PRG:2814 B0 06 + jsr Label_CC5A1 ; CPU:$E816 PRG:2816 20 A1 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_E819 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E819: + jmp Label_CE664 ; CPU:$E819 PRG:2819 4C 64 E6 +; ----------------------------------------------------------------------------- +; Routine: Label_E81C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E81C: + lda #$63 ; CPU:$E81C PRG:281C A9 63 + sta Zp12 ; CPU:$E81E PRG:281E 85 12 + lda #$E8 ; CPU:$E820 PRG:2820 A9 E8 + sta Zp13 ; CPU:$E822 PRG:2822 85 13 + jsr Label_CE844 ; CPU:$E824 PRG:2824 20 44 E8 + ldy #$FF ; CPU:$E827 PRG:2827 A0 FF + jsr Label_CE84E ; CPU:$E829 PRG:2829 20 4E E8 + jsr Label_CDEB5 ; CPU:$E82C PRG:282C 20 B5 DE +; ----------------------------------------------------------------------------- +; Routine: Label_E82F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E82F: + lda Zp06 ; CPU:$E82F PRG:282F A5 06 + beq Label_E82F ; CPU:$E831 PRG:2831 F0 FC + jsr Label_CD2E3 ; CPU:$E833 PRG:2833 20 E3 D2 + jsr Label_CC5A1 ; CPU:$E836 PRG:2836 20 A1 C5 +; ----------------------------------------------------------------------------- +; Routine: Label_E839 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E839: + beq Label_E819 ; CPU:$E839 PRG:2839 F0 DE +; ----------------------------------------------------------------------------- +; Routine: Label_E83B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E83B: + dex ; CPU:$E83B PRG:283B CA + bne Label_E839 ; CPU:$E83C PRG:283C D0 FB + jsr Label_CE886 ; CPU:$E83E PRG:283E 20 86 E8 + jmp Label_CE814 ; CPU:$E841 PRG:2841 4C 14 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E844 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E844: + jsr Label_CDEDC ; CPU:$E844 PRG:2844 20 DC DE + lda #$22 ; CPU:$E847 PRG:2847 A9 22 + ldx #$0C ; CPU:$E849 PRG:2849 A2 0C + jmp Label_CC178 ; CPU:$E84B PRG:284B 4C 78 C1 +; ----------------------------------------------------------------------------- +; Routine: Label_E84E +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E84E: + jsr Label_CDD7A ; CPU:$E84E PRG:284E 20 7A DD + jmp Label_CDFAD ; CPU:$E851 PRG:2851 4C AD DF +; ---- data $E854-$E868 (21 bytes) ---- + .byte $4D, $45, $4E, $55, $00, $53, $41, $56, $45, $00, $4C, $4F, $41, $44, $00, $45 ; CPU:$E854 PRG:2854 4D 45 4E 55 00 53 41 56 45 00 4C 4F 41 44 00 45 + .byte $52, $52, $4F, $52, $00 ; CPU:$E864 PRG:2864 52 52 4F 52 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E869 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E869: + inc ZpDD ; CPU:$E869 PRG:2869 E6 DD + bne Label_E86F ; CPU:$E86B PRG:286B D0 02 + inc ZpDE ; CPU:$E86D PRG:286D E6 DE +; ----------------------------------------------------------------------------- +; Routine: Label_E86F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E86F: + rts ; CPU:$E86F PRG:286F 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E870 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E870: + inc ZpDF ; CPU:$E870 PRG:2870 E6 DF + bne Label_E86F ; CPU:$E872 PRG:2872 D0 FB + inc ZpE0 ; CPU:$E874 PRG:2874 E6 E0 + rts ; CPU:$E876 PRG:2876 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E877 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E877: + jsr Label_CC2BC ; CPU:$E877 PRG:2877 20 BC C2 + lda #$88 ; CPU:$E87A PRG:287A A9 88 + sta ZpDD ; CPU:$E87C PRG:287C 85 DD + lda #$03 ; CPU:$E87E PRG:287E A9 03 + sta ZpDE ; CPU:$E880 PRG:2880 85 DE + rts ; CPU:$E882 PRG:2882 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E883 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E883: + jmp Label_CC2B3 ; CPU:$E883 PRG:2883 4C B3 C2 +; ----------------------------------------------------------------------------- +; Routine: Label_E886 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E886: + jsr Label_CE877 ; CPU:$E886 PRG:2886 20 77 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E889 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E889: + ldx #$14 ; CPU:$E889 PRG:2889 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Label_E88B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E88B: + jsr Label_CE8FB ; CPU:$E88B PRG:288B 20 FB E8 + bcs Label_E89A ; CPU:$E88E PRG:288E B0 0A + bne Label_E889 ; CPU:$E890 PRG:2890 D0 F7 + dex ; CPU:$E892 PRG:2892 CA + bne Label_E88B ; CPU:$E893 PRG:2893 D0 F6 + ldx #$14 ; CPU:$E895 PRG:2895 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Label_E897 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E897: + jsr Label_CE8FB ; CPU:$E897 PRG:2897 20 FB E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E89A +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E89A: + bcs Label_E8D5 ; CPU:$E89A PRG:289A B0 39 + beq Label_E889 ; CPU:$E89C PRG:289C F0 EB + dex ; CPU:$E89E PRG:289E CA + bne Label_E897 ; CPU:$E89F PRG:289F D0 F6 + lda #$00 ; CPU:$E8A1 PRG:28A1 A9 00 + sta ZpDF ; CPU:$E8A3 PRG:28A3 85 DF + sta ZpE0 ; CPU:$E8A5 PRG:28A5 85 E0 + jsr Label_CE8E1 ; CPU:$E8A7 PRG:28A7 20 E1 E8 + jsr Label_CE8E1 ; CPU:$E8AA PRG:28AA 20 E1 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E8AD +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8AD: + jsr Label_CE90F ; CPU:$E8AD PRG:28AD 20 0F E9 + bcs Label_E8D5 ; CPU:$E8B0 PRG:28B0 B0 23 + ldy #$00 ; CPU:$E8B2 PRG:28B2 A0 00 + sta (ZpDD),y ; CPU:$E8B4 PRG:28B4 91 DD + jsr Label_CE869 ; CPU:$E8B6 PRG:28B6 20 69 E8 + lda ZpDE ; CPU:$E8B9 PRG:28B9 A5 DE + cmp #$06 ; CPU:$E8BB PRG:28BB C9 06 + bne Label_E8AD ; CPU:$E8BD PRG:28BD D0 EE + lda ZpDF ; CPU:$E8BF PRG:28BF A5 DF + sta ZpDD ; CPU:$E8C1 PRG:28C1 85 DD + lda ZpE0 ; CPU:$E8C3 PRG:28C3 A5 E0 + sta ZpDE ; CPU:$E8C5 PRG:28C5 85 DE + jsr Label_CE90F ; CPU:$E8C7 PRG:28C7 20 0F E9 + cmp ZpDE ; CPU:$E8CA PRG:28CA C5 DE + bne Label_E8D5 ; CPU:$E8CC PRG:28CC D0 07 + jsr Label_CE90F ; CPU:$E8CE PRG:28CE 20 0F E9 + cmp ZpDD ; CPU:$E8D1 PRG:28D1 C5 DD + beq Label_E8DA ; CPU:$E8D3 PRG:28D3 F0 05 +; ----------------------------------------------------------------------------- +; Routine: Label_E8D5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8D5: + jsr Label_CE883 ; CPU:$E8D5 PRG:28D5 20 83 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E8D8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8D8: + sec ; CPU:$E8D8 PRG:28D8 38 + rts ; CPU:$E8D9 PRG:28D9 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E8DA +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8DA: + jsr Label_CE883 ; CPU:$E8DA PRG:28DA 20 83 E8 + lda #$00 ; CPU:$E8DD PRG:28DD A9 00 + clc ; CPU:$E8DF PRG:28DF 18 + rts ; CPU:$E8E0 PRG:28E0 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E8E1 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8E1: + jsr Label_CEA04 ; CPU:$E8E1 PRG:28E1 20 04 EA + beq Label_E8D8 ; CPU:$E8E4 PRG:28E4 F0 F2 + lda $4016 ; CPU:$E8E6 PRG:28E6 AD 16 40 + and #$02 ; CPU:$E8E9 PRG:28E9 29 02 + beq Label_E8E1 ; CPU:$E8EB PRG:28EB F0 F4 +; ----------------------------------------------------------------------------- +; Routine: Label_E8ED +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8ED: + jsr Label_CEA04 ; CPU:$E8ED PRG:28ED 20 04 EA + beq Label_E8D8 ; CPU:$E8F0 PRG:28F0 F0 E6 + lda $4016 ; CPU:$E8F2 PRG:28F2 AD 16 40 + and #$02 ; CPU:$E8F5 PRG:28F5 29 02 + bne Label_E8ED ; CPU:$E8F7 PRG:28F7 D0 F4 + clc ; CPU:$E8F9 PRG:28F9 18 + rts ; CPU:$E8FA PRG:28FA 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E8FB +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E8FB: + jsr Label_CE8E1 ; CPU:$E8FB PRG:28FB 20 E1 E8 + bcs Label_E8D8 ; CPU:$E8FE PRG:28FE B0 D8 + lda #$4E ; CPU:$E900 PRG:2900 A9 4E + sta ZpE2 ; CPU:$E902 PRG:2902 85 E2 +; ----------------------------------------------------------------------------- +; Routine: Label_E904 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E904: + dec ZpE2 ; CPU:$E904 PRG:2904 C6 E2 + bne Label_E904 ; CPU:$E906 PRG:2906 D0 FC + lda $4016 ; CPU:$E908 PRG:2908 AD 16 40 + and #$02 ; CPU:$E90B PRG:290B 29 02 + clc ; CPU:$E90D PRG:290D 18 + rts ; CPU:$E90E PRG:290E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E90F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E90F: + ldx #$08 ; CPU:$E90F PRG:290F A2 08 + ldy #$00 ; CPU:$E911 PRG:2911 A0 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E913 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E913: + tya ; CPU:$E913 PRG:2913 98 + asl a ; CPU:$E914 PRG:2914 0A + tay ; CPU:$E915 PRG:2915 A8 + jsr Label_CE8FB ; CPU:$E916 PRG:2916 20 FB E8 + bcs Label_E8D8 ; CPU:$E919 PRG:2919 B0 BD + bne Label_E921 ; CPU:$E91B PRG:291B D0 04 + jsr Label_CE870 ; CPU:$E91D PRG:291D 20 70 E8 + iny ; CPU:$E920 PRG:2920 C8 +; ----------------------------------------------------------------------------- +; Routine: Label_E921 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E921: + dex ; CPU:$E921 PRG:2921 CA + bne Label_E913 ; CPU:$E922 PRG:2922 D0 EF + jsr Label_CE8E1 ; CPU:$E924 PRG:2924 20 E1 E8 + bcs Label_E8D8 ; CPU:$E927 PRG:2927 B0 AF + tya ; CPU:$E929 PRG:2929 98 + clc ; CPU:$E92A PRG:292A 18 + rts ; CPU:$E92B PRG:292B 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E92C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E92C: + jsr Label_CE877 ; CPU:$E92C PRG:292C 20 77 E8 + lda #$20 ; CPU:$E92F PRG:292F A9 20 + sta ZpDF ; CPU:$E931 PRG:2931 85 DF + lda #$4E ; CPU:$E933 PRG:2933 A9 4E + sta ZpE0 ; CPU:$E935 PRG:2935 85 E0 +; ----------------------------------------------------------------------------- +; Routine: Label_E937 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E937: + jsr Label_CE998 ; CPU:$E937 PRG:2937 20 98 E9 + dec ZpDF ; CPU:$E93A PRG:293A C6 DF + bne Label_E937 ; CPU:$E93C PRG:293C D0 F9 + dec ZpE0 ; CPU:$E93E PRG:293E C6 E0 + bne Label_E937 ; CPU:$E940 PRG:2940 D0 F5 + ldx #$14 ; CPU:$E942 PRG:2942 A2 14 +; ----------------------------------------------------------------------------- +; Routine: Label_E944 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E944: + jsr Label_CE99D ; CPU:$E944 PRG:2944 20 9D E9 + dex ; CPU:$E947 PRG:2947 CA + bne Label_E944 ; CPU:$E948 PRG:2948 D0 FA + ldx #$14 ; CPU:$E94A PRG:294A A2 14 +; ----------------------------------------------------------------------------- +; Routine: Label_E94C +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E94C: + jsr Label_CE998 ; CPU:$E94C PRG:294C 20 98 E9 + dex ; CPU:$E94F PRG:294F CA + bne Label_E94C ; CPU:$E950 PRG:2950 D0 FA + jsr Label_CE99D ; CPU:$E952 PRG:2952 20 9D E9 + lda #$00 ; CPU:$E955 PRG:2955 A9 00 + sta ZpDF ; CPU:$E957 PRG:2957 85 DF + sta ZpE0 ; CPU:$E959 PRG:2959 85 E0 +; ----------------------------------------------------------------------------- +; Routine: Label_E95B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E95B: + ldy #$00 ; CPU:$E95B PRG:295B A0 00 + lda (ZpDD),y ; CPU:$E95D PRG:295D B1 DD + jsr Label_CE97D ; CPU:$E95F PRG:295F 20 7D E9 + jsr Label_CE869 ; CPU:$E962 PRG:2962 20 69 E8 + lda ZpDE ; CPU:$E965 PRG:2965 A5 DE + cmp #$06 ; CPU:$E967 PRG:2967 C9 06 + bne Label_E95B ; CPU:$E969 PRG:2969 D0 F0 + lda ZpDF ; CPU:$E96B PRG:296B A5 DF + pha ; CPU:$E96D PRG:296D 48 + lda ZpE0 ; CPU:$E96E PRG:296E A5 E0 + jsr Label_CE97D ; CPU:$E970 PRG:2970 20 7D E9 + pla ; CPU:$E973 PRG:2973 68 + jsr Label_CE97D ; CPU:$E974 PRG:2974 20 7D E9 + jsr Label_CE99D ; CPU:$E977 PRG:2977 20 9D E9 + jmp Label_CE883 ; CPU:$E97A PRG:297A 4C 83 E8 +; ----------------------------------------------------------------------------- +; Routine: Label_E97D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E97D: + jsr Label_CE99D ; CPU:$E97D PRG:297D 20 9D E9 + ldx #$08 ; CPU:$E980 PRG:2980 A2 08 + tay ; CPU:$E982 PRG:2982 A8 +; ----------------------------------------------------------------------------- +; Routine: Label_E983 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E983: + tya ; CPU:$E983 PRG:2983 98 + asl a ; CPU:$E984 PRG:2984 0A + tay ; CPU:$E985 PRG:2985 A8 + bcs Label_E98F ; CPU:$E986 PRG:2986 B0 07 + jsr Label_CE998 ; CPU:$E988 PRG:2988 20 98 E9 +; ----------------------------------------------------------------------------- +; Routine: Label_E98B +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E98B: + dex ; CPU:$E98B PRG:298B CA + bne Label_E983 ; CPU:$E98C PRG:298C D0 F5 + rts ; CPU:$E98E PRG:298E 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E98F +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E98F: + jsr Label_CE99D ; CPU:$E98F PRG:298F 20 9D E9 + jsr Label_CE870 ; CPU:$E992 PRG:2992 20 70 E8 + jmp Label_CE98B ; CPU:$E995 PRG:2995 4C 8B E9 +; ----------------------------------------------------------------------------- +; Routine: Label_E998 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E998: + pha ; CPU:$E998 PRG:2998 48 + lda #$34 ; CPU:$E999 PRG:2999 A9 34 + bne Label_E9A0 ; CPU:$E99B PRG:299B D0 03 +; ----------------------------------------------------------------------------- +; Routine: Label_E99D +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E99D: + pha ; CPU:$E99D PRG:299D 48 + lda #$6A ; CPU:$E99E PRG:299E A9 6A +; ----------------------------------------------------------------------------- +; Routine: Label_E9A0 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9A0: + sta ZpE2 ; CPU:$E9A0 PRG:29A0 85 E2 + sta ZpE3 ; CPU:$E9A2 PRG:29A2 85 E3 + lda #$04 ; CPU:$E9A4 PRG:29A4 A9 04 + sta $4016 ; CPU:$E9A6 PRG:29A6 8D 16 40 +; ----------------------------------------------------------------------------- +; Routine: Label_E9A9 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9A9: + dec ZpE2 ; CPU:$E9A9 PRG:29A9 C6 E2 + bne Label_E9A9 ; CPU:$E9AB PRG:29AB D0 FC + lda #$FF ; CPU:$E9AD PRG:29AD A9 FF + sta $4016 ; CPU:$E9AF PRG:29AF 8D 16 40 +; ----------------------------------------------------------------------------- +; Routine: Label_E9B2 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9B2: + dec ZpE3 ; CPU:$E9B2 PRG:29B2 C6 E3 + bne Label_E9B2 ; CPU:$E9B4 PRG:29B4 D0 FC + pla ; CPU:$E9B6 PRG:29B6 68 + rts ; CPU:$E9B7 PRG:29B7 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E9B8 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9B8: + lda #$05 ; CPU:$E9B8 PRG:29B8 A9 05 + sta $4016 ; CPU:$E9BA PRG:29BA 8D 16 40 + nop ; CPU:$E9BD PRG:29BD EA + nop ; CPU:$E9BE PRG:29BE EA + nop ; CPU:$E9BF PRG:29BF EA + nop ; CPU:$E9C0 PRG:29C0 EA + nop ; CPU:$E9C1 PRG:29C1 EA + nop ; CPU:$E9C2 PRG:29C2 EA + ldx #$00 ; CPU:$E9C3 PRG:29C3 A2 00 +; ----------------------------------------------------------------------------- +; Routine: Label_E9C5 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9C5: + lda #$04 ; CPU:$E9C5 PRG:29C5 A9 04 + sta $4016 ; CPU:$E9C7 PRG:29C7 8D 16 40 + jsr Label_CE9FE ; CPU:$E9CA PRG:29CA 20 FE E9 + lda #$06 ; CPU:$E9CD PRG:29CD A9 06 + sta $4016 ; CPU:$E9CF PRG:29CF 8D 16 40 + jsr Label_CE9FE ; CPU:$E9D2 PRG:29D2 20 FE E9 + inx ; CPU:$E9D5 PRG:29D5 E8 + cpx #$09 ; CPU:$E9D6 PRG:29D6 E0 09 + bne Label_E9C5 ; CPU:$E9D8 PRG:29D8 D0 EB + lda #$04 ; CPU:$E9DA PRG:29DA A9 04 + sta $4016 ; CPU:$E9DC PRG:29DC 8D 16 40 + jsr Label_CE9FE ; CPU:$E9DF PRG:29DF 20 FE E9 + lda $4017 ; CPU:$E9E2 PRG:29E2 AD 17 40 + and #$1E ; CPU:$E9E5 PRG:29E5 29 1E + cmp #$1E ; CPU:$E9E7 PRG:29E7 C9 1E + bne Label_E9FC ; CPU:$E9E9 PRG:29E9 D0 11 + lda #$00 ; CPU:$E9EB PRG:29EB A9 00 + sta $4016 ; CPU:$E9ED PRG:29ED 8D 16 40 + jsr Label_CE9FE ; CPU:$E9F0 PRG:29F0 20 FE E9 + lda $4017 ; CPU:$E9F3 PRG:29F3 AD 17 40 + and #$1E ; CPU:$E9F6 PRG:29F6 29 1E + bne Label_E9FC ; CPU:$E9F8 PRG:29F8 D0 02 + clc ; CPU:$E9FA PRG:29FA 18 + rts ; CPU:$E9FB PRG:29FB 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E9FC +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9FC: + sec ; CPU:$E9FC PRG:29FC 38 + rts ; CPU:$E9FD PRG:29FD 60 +; ----------------------------------------------------------------------------- +; Routine: Label_E9FE +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_E9FE: + ldy #$0A ; CPU:$E9FE PRG:29FE A0 0A +; ----------------------------------------------------------------------------- +; Routine: Label_EA00 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_EA00: + dey ; CPU:$EA00 PRG:2A00 88 + bne Label_EA00 ; CPU:$EA01 PRG:2A01 D0 FD + rts ; CPU:$EA03 PRG:2A03 60 +; ----------------------------------------------------------------------------- +; Routine: Label_EA04 +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +Label_EA04: + lda #$05 ; CPU:$EA04 PRG:2A04 A9 05 + sta $4016 ; CPU:$EA06 PRG:2A06 8D 16 40 + nop ; CPU:$EA09 PRG:2A09 EA + nop ; CPU:$EA0A PRG:2A0A EA + nop ; CPU:$EA0B PRG:2A0B EA + lda #$04 ; CPU:$EA0C PRG:2A0C A9 04 + sta $4016 ; CPU:$EA0E PRG:2A0E 8D 16 40 + lda #$06 ; CPU:$EA11 PRG:2A11 A9 06 + sta $4016 ; CPU:$EA13 PRG:2A13 8D 16 40 + lda $4017 ; CPU:$EA16 PRG:2A16 AD 17 40 + and #$10 ; CPU:$EA19 PRG:2A19 29 10 + rts ; CPU:$EA1B PRG:2A1B 60 +; ---- data $EA1C-$FFF8 (5597 bytes) ---- + .byte $87, $01, $01, $09, $0F, $08, $39, $02, $25, $08, $2D, $02, $03, $0A, $09, $08 ; CPU:$EA1C PRG:2A1C 87 01 01 09 0F 08 39 02 25 08 2D 02 03 0A 09 08 + .byte $12, $02, $01, $06, $22, $02, $01, $0A, $0D, $08, $1F, $02, $01, $82, $20, $00 ; CPU:$EA2C PRG:2A2C 12 02 01 06 22 02 01 0A 0D 08 1F 02 01 82 20 00 + .byte $05, $01, $01, $80, $20, $00, $1D, $01, $0F, $02, $01, $00, $01, $80, $31, $00 ; CPU:$EA3C PRG:2A3C 05 01 01 80 20 00 1D 01 0F 02 01 00 01 80 31 00 + .byte $01, $40, $46, $00, $2D, $01, $01, $81, $17, $00, $0F, $01, $01, $80, $05, $01 ; CPU:$EA4C PRG:2A4C 01 40 46 00 2D 01 01 81 17 00 0F 01 01 80 05 01 + .byte $01, $04, $01, $00, $60, $01, $01, $08, $01, $00, $11, $08, $37, $02, $27, $08 ; CPU:$EA5C PRG:2A5C 01 04 01 00 60 01 01 08 01 00 11 08 37 02 27 08 + .byte $27, $01, $01, $09, $0F, $08, $38, $02, $02, $0A, $16, $08, $BA, $4B, $C9, $D2 ; CPU:$EA6C PRG:2A6C 27 01 01 09 0F 08 38 02 02 0A 16 08 BA 4B C9 D2 + .byte $13, $98, $5C, $E6, $31, $0E, $02, $71, $0B, $AA, $43, $A4, $10, $F0, $C1, $9E ; CPU:$EA7C PRG:2A7C 13 98 5C E6 31 0E 02 71 0B AA 43 A4 10 F0 C1 9E + .byte $00, $02, $01, $48, $15, $55, $35, $59, $E5, $92, $DB, $77, $DA, $F2, $22, $30 ; CPU:$EA8C PRG:2A8C 00 02 01 48 15 55 35 59 E5 92 DB 77 DA F2 22 30 + .byte $B9, $4C, $82, $83, $0B, $1A, $C5, $74, $14, $98, $5D, $46, $16, $15, $A6, $E8 ; CPU:$EA9C PRG:2A9C B9 4C 82 83 0B 1A C5 74 14 98 5D 46 16 15 A6 E8 + .byte $C3, $B8, $00, $02, $5F, $FF, $FF, $00, $80, $48, $21, $73, $1A, $44, $E4, $EB ; CPU:$EAAC PRG:2AAC C3 B8 00 02 5F FF FF 00 80 48 21 73 1A 44 E4 EB + .byte $27, $C6, $F6, $05, $94, $B7, $2B, $8E, $A6, $57, $B5, $E3, $F9, $5E, $DD, $A4 ; CPU:$EABC PRG:2ABC 27 C6 F6 05 94 B7 2B 8E A6 57 B5 E3 F9 5E DD A4 + .byte $52, $60, $00, $C9, $24, $92, $4B, $1C, $00, $FB, $1C, $00, $C0, $01, $80, $00 ; CPU:$EACC PRG:2ACC 52 60 00 C9 24 92 4B 1C 00 FB 1C 00 C0 01 80 00 + .byte $00, $06, $49, $35, $F6, $51, $45, $80, $03, $00, $00, $00, $0C, $00, $06, $CC ; CPU:$EADC PRG:2ADC 00 06 49 35 F6 51 45 80 03 00 00 00 0C 00 06 CC + .byte $4C, $2A, $A5, $51, $55, $4A, $8A, $AF, $D8, $00, $06, $00, $0C, $0E, $03, $24 ; CPU:$EAEC PRG:2AEC 4C 2A A5 51 55 4A 8A AF D8 00 06 00 0C 0E 03 24 + .byte $A4, $92, $4F, $31, $C8, $AA, $8C, $A7, $FE, $2A, $AA, $A6, $45, $81, $51, $45 ; CPU:$EAFC PRG:2AFC A4 92 4F 31 C8 AA 8C A7 FE 2A AA A6 45 81 51 45 + .byte $2F, $FF, $FE, $56, $5C, $88, $62, $A5, $55, $75, $55, $57, $57, $5D, $70, $10 ; CPU:$EB0C PRG:2B0C 2F FF FE 56 5C 88 62 A5 55 75 55 57 57 5D 70 10 + .byte $00, $00, $C0, $12, $49, $23, $00, $31, $CA, $0C, $2E, $33, $22, $94, $42, $E2 ; CPU:$EB1C PRG:2B1C 00 00 C0 12 49 23 00 31 CA 0C 2E 33 22 94 42 E2 + .byte $03, $5A, $2E, $A0, $59, $07, $42, $90, $EA, $65, $DB, $15, $49, $04, $3E, $C0 ; CPU:$EB2C PRG:2B2C 03 5A 2E A0 59 07 42 90 EA 65 DB 15 49 04 3E C0 + .byte $C4, $2E, $11, $0F, $98, $42, $EA, $30, $B9, $83, $12, $98, $5C, $62, $17, $28 ; CPU:$EB3C PRG:2B3C C4 2E 11 0F 98 42 EA 30 B9 83 12 98 5C 62 17 28 + .byte $87, $C8, $21, $70, $92, $25, $10, $B9, $8C, $2E, $53, $0B, $88, $85, $E2, $B2 ; CPU:$EB4C PRG:2B4C 87 C8 21 70 92 25 10 B9 8C 2E 53 0B 88 85 E2 B2 + .byte $DB, $2E, $59, $5C, $B3, $16, $20, $02, $55, $53, $55, $35, $5F, $51, $20, $85 ; CPU:$EB5C PRG:2B5C DB 2E 59 5C B3 16 20 02 55 53 55 35 5F 51 20 85 + .byte $C8, $21, $73, $18, $5C, $46, $61, $14, $72, $41, $0B, $92, $42, $E6, $10, $BA ; CPU:$EB6C PRG:2B6C C8 21 73 18 5C 46 61 14 72 41 0B 92 42 E6 10 BA + .byte $80, $92, $08, $5C, $E2, $17, $49, $85, $86, $2C, $70, $10, $00, $00, $AB, $A8 ; CPU:$EB7C PRG:2B7C 80 92 08 5C E2 17 49 85 86 2C 70 10 00 00 AB A8 + .byte $00, $4C, $58, $E0, $20, $00, $01, $20, $30, $00, $98, $33, $C0, $40, $00, $00 ; CPU:$EB8C PRG:2B8C 00 4C 58 E0 20 00 01 20 30 00 98 33 C0 40 00 00 + .byte $6A, $40, $C1, $01, $67, $1B, $CD, $34, $21, $97, $00, $43, $A5, $90, $B9, $65 ; CPU:$EB9C PRG:2B9C 6A 40 C1 01 67 1B CD 34 21 97 00 43 A5 90 B9 65 + .byte $42, $16, $19, $8E, $46, $50, $16, $76, $76, $50, $16, $73, $07, $88, $28, $A0 ; CPU:$EBAC PRG:2BAC 42 16 19 8E 46 50 16 76 76 50 16 73 07 88 28 A0 + .byte $D5, $48, $28, $A0, $AC, $28, $2F, $E8, $2E, $63, $F1, $16, $65, $15, $15, $16 ; CPU:$EBBC PRG:2BBC D5 48 28 A0 AC 28 2F E8 2E 63 F1 16 65 15 15 16 + .byte $65, $1C, $C1, $E2, $95, $50, $A8, $0A, $95, $50, $AB, $0E, $09, $B2, $0E, $B0 ; CPU:$EBCC PRG:2BCC 65 1C C1 E2 95 50 A8 0A 95 50 AB 0E 09 B2 0E B0 + .byte $FF, $A0, $BF, $F5, $83, $CB, $6A, $F6, $FB, $EE, $5F, $86, $64, $71, $55, $4A ; CPU:$EBDC PRG:2BDC FF A0 BF F5 83 CB 6A F6 FB EE 5F 86 64 71 55 4A + .byte $85, $54, $A1, $55, $55, $87, $EF, $07, $7F, $AC, $16, $7F, $7D, $D0, $0B, $31 ; CPU:$EBEC PRG:2BEC 85 54 A1 55 55 87 EF 07 7F AC 16 7F 7D D0 0B 31 + .byte $6C, $57, $25, $2C, $B9, $2B, $93, $F1, $11, $99, $84, $3A, $61, $21, $85, $8D ; CPU:$EBFC PRG:2BFC 6C 57 25 2C B9 2B 93 F1 11 99 84 3A 61 21 85 8D + .byte $22, $91, $F2, $65, $F3, $0B, $A2, $91, $C9, $39, $32, $E9, $7D, $D1, $F8, $04 ; CPU:$EC0C PRG:2C0C 22 91 F2 65 F3 0B A2 91 C9 39 32 E9 7D D1 F8 04 + .byte $90, $06, $03, $92, $40, $01, $80, $38, $03, $16, $30, $20, $15, $D0, $02, $02 ; CPU:$EC1C PRG:2C1C 90 06 03 92 40 01 80 38 03 16 30 20 15 D0 02 02 + .byte $00, $05, $62, $93, $49, $F9, $32, $B9, $65, $C1, $83, $E4, $18, $0F, $7C, $01 ; CPU:$EC2C PRG:2C2C 00 05 62 93 49 F9 32 B9 65 C1 83 E4 18 0F 7C 01 + .byte $00, $20, $03, $32, $38, $A9, $54, $55, $48, $A2, $B5, $55, $60, $B2, $7A, $6E ; CPU:$EC3C PRG:2C3C 00 20 03 32 38 A9 54 55 48 A2 B5 55 60 B2 7A 6E + .byte $6C, $C1, $E2, $A5, $55, $45, $55, $15, $51, $55, $82, $D9, $79, $02, $C2, $52 ; CPU:$EC4C PRG:2C4C 6C C1 E2 A5 55 45 55 15 51 55 82 D9 79 02 C2 52 + .byte $21, $EA, $3B, $2E, $2F, $6A, $76, $24, $30, $88, $75, $52, $A1, $0E, $1C, $47 ; CPU:$EC5C PRG:2C5C 21 EA 3B 2E 2F 6A 76 24 30 88 75 52 A1 0E 1C 47 + .byte $63, $26, $B2, $AA, $A0, $08, $09, $98, $B1, $C0, $00, $00, $40, $00, $20, $21 ; CPU:$EC6C PRG:2C6C 63 26 B2 AA A0 08 09 98 B1 C0 00 00 40 00 20 21 + .byte $31, $0F, $8A, $A0, $01, $00, $1E, $20, $64, $10, $99, $04, $C6, $17, $71, $85 ; CPU:$EC7C PRG:2C7C 31 0F 8A A0 01 00 1E 20 64 10 99 04 C6 17 71 85 + .byte $8E, $23, $B1, $54, $55, $B5, $59, $55, $64, $CC, $43, $E2, $A8, $10, $00, $10 ; CPU:$EC8C PRG:2C8C 8E 23 B1 54 55 B5 59 55 64 CC 43 E2 A8 10 00 10 + .byte $00, $11, $18, $8E, $C5, $60, $35, $55, $70, $00, $33, $31, $74, $08, $47, $BF ; CPU:$EC9C PRG:2C9C 00 11 18 8E C5 60 35 55 70 00 33 31 74 08 47 BF + .byte $FF, $BE, $1F, $A2, $72, $C9, $A5, $92, $49, $64, $92, $49, $3F, $86, $59, $C5 ; CPU:$ECAC PRG:2CAC FF BE 1F A2 72 C9 A5 92 49 64 92 49 3F 86 59 C5 + .byte $DE, $21, $08, $00, $80, $06, $00, $09, $8B, $1C, $6A, $90, $C1, $AA, $EA, $AA ; CPU:$ECBC PRG:2CBC DE 21 08 00 80 06 00 09 8B 1C 6A 90 C1 AA EA AA + .byte $90, $18, $A1, $4C, $C2, $65, $18, $A4, $DC, $21, $10, $87, $62, $12, $E1, $5D ; CPU:$ECCC PRG:2CCC 90 18 A1 4C C2 65 18 A4 DC 21 10 87 62 12 E1 5D + .byte $2F, $6C, $58, $E0, $02, $55, $08, $15, $4D, $57, $38, $33, $40, $04, $00, $10 ; CPU:$ECDC PRG:2CDC 2F 6C 58 E0 02 55 08 15 4D 57 38 33 40 04 00 10 + .byte $0A, $9A, $AE, $AB, $2F, $A6, $D9, $74, $12, $98, $5C, $86, $21, $0B, $9C, $42 ; CPU:$ECEC PRG:2CEC 0A 9A AE AB 2F A6 D9 74 12 98 5C 86 21 0B 9C 42 + .byte $C2, $F1, $59, $7D, $36, $CB, $A3, $16, $38, $20, $00, $00, $0D, $53, $00, $4E ; CPU:$ECFC PRG:2CFC C2 F1 59 7D 36 CB A3 16 38 20 00 00 0D 53 00 4E + .byte $0F, $90, $40, $00, $00, $12, $04, $FF, $1E, $03, $03, $80, $00, $00, $07, $24 ; CPU:$ED0C PRG:2D0C 0F 90 40 00 00 12 04 FF 1E 03 03 80 00 00 07 24 + .byte $8C, $11, $C8, $64, $E6, $17, $60, $85, $C2, $25, $27, $59, $FE, $37, $4B, $D8 ; CPU:$ED1C PRG:2D1C 8C 11 C8 64 E6 17 60 85 C2 25 27 59 FE 37 4B D8 + .byte $17, $31, $88, $B8, $62, $99, $72, $FA, $0B, $C7, $CB, $E8, $7E, $1D, $92, $49 ; CPU:$ED2C PRG:2D2C 17 31 88 B8 62 99 72 FA 0B C7 CB E8 7E 1D 92 49 + .byte $72, $33, $80, $03, $17, $23, $24, $92, $F3, $23, $0D, $49, $53, $D5, $6D, $43 ; CPU:$ED3C PRG:2D3C 72 33 80 03 17 23 24 92 F3 23 0D 49 53 D5 6D 43 + .byte $52, $66, $46, $1A, $92, $A7, $AA, $DA, $86, $A4, $EC, $8E, $0B, $00, $1C, $00 ; CPU:$ED4C PRG:2D4C 52 66 46 1A 92 A7 AA DA 86 A4 EC 8E 0B 00 1C 00 + .byte $18, $80, $19, $1C, $17, $99, $18, $55, $4A, $9E, $AB, $6A, $15, $53, $32, $20 ; CPU:$ED5C PRG:2D5C 18 80 19 1C 17 99 18 55 4A 9E AB 6A 15 53 32 20 + .byte $D4, $9F, $A2, $A8, $FE, $35, $26, $64, $71, $A9, $A8, $4A, $A1, $2A, $6A, $4C ; CPU:$ED6C PRG:2D6C D4 9F A2 A8 FE 35 26 64 71 A9 A8 4A A1 2A 6A 4C + .byte $C8, $E3, $73, $50, $95, $C2, $54, $DC, $9D, $93, $49, $00, $32, $92, $49, $16 ; CPU:$ED7C PRG:2D7C C8 E3 73 50 95 C2 54 DC 9D 93 49 00 32 92 49 16 + .byte $00, $26, $92, $EB, $06, $9A, $D3, $72, $DA, $DE, $D5, $83, $4F, $69, $B9, $6D ; CPU:$ED8C PRG:2D8C 00 26 92 EB 06 9A D3 72 DA DE D5 83 4F 69 B9 6D + .byte $2F, $60, $58, $92, $F4, $E5, $24, $65, $C0, $10, $E4, $AC, $12, $19, $3C, $D6 ; CPU:$ED9C PRG:2D9C 2F 60 58 92 F4 E5 24 65 C0 10 E4 AC 12 19 3C D6 + .byte $76, $21, $70, $89, $4D, $E2, $52, $19, $83, $C6, $6A, $55, $55, $55, $56, $EA ; CPU:$EDAC PRG:2DAC 76 21 70 89 4D E2 52 19 83 C6 6A 55 55 55 56 EA + .byte $48, $5C, $22, $53, $78, $94, $86, $60, $D1, $A9, $BA, $AA, $AA, $AA, $A9, $9E ; CPU:$EDBC PRG:2DBC 48 5C 22 53 78 94 86 60 D1 A9 BA AA AA AA A9 9E + .byte $C1, $24, $9A, $49, $1C, $91, $C9, $24, $92, $59, $04, $2E, $11, $29, $86, $E2 ; CPU:$EDCC PRG:2DCC C1 24 9A 49 1C 91 C9 24 92 59 04 2E 11 29 86 E2 + .byte $61, $70, $90, $21, $70, $89, $4C, $37, $13, $0B, $84, $87, $60, $92, $4D, $24 ; CPU:$EDDC PRG:2DDC 61 70 90 21 70 89 4C 37 13 0B 84 87 60 92 4D 24 + .byte $90, $07, $64, $92, $49, $2C, $82, $17, $58, $90, $C2, $E8, $90, $B8, $48, $10 ; CPU:$EDEC PRG:2DEC 90 07 64 92 49 2C 82 17 58 90 C2 E8 90 B8 48 10 + .byte $BA, $84, $88, $08, $5D, $22, $44, $0D, $05, $69, $68, $53, $B6, $E4, $76, $D7 ; CPU:$EDFC PRG:2DFC BA 84 88 08 5D 22 44 0D 05 69 68 53 B6 E4 76 D7 + .byte $8F, $91, $F4, $ED, $8A, $8C, $2E, $63, $0E, $94, $C2, $E2, $2D, $79, $AD, $5D ; CPU:$EE0C PRG:2E0C 8F 91 F4 ED 8A 8C 2E 63 0E 94 C2 E2 2D 79 AD 5D + .byte $1B, $B8, $A8, $C2, $E6, $10, $E9, $44, $2E, $30, $E5, $46, $17, $39, $89, $46 ; CPU:$EE1C PRG:2E1C 1B B8 A8 C2 E6 10 E9 44 2E 30 E5 46 17 39 89 46 + .byte $21, $62, $54, $61, $76, $08, $58, $15, $18, $5C, $E2, $1F, $08, $8E, $42, $C3 ; CPU:$EE2C PRG:2E2C 21 62 54 61 76 08 58 15 18 5C E2 1F 08 8E 42 C3 + .byte $10, $F8, $2A, $A8, $4A, $AA, $82, $B2, $AE, $23, $B0, $66, $90, $D5, $59, $55 ; CPU:$EE3C PRG:2E3C 10 F8 2A A8 4A AA 82 B2 AE 23 B0 66 90 D5 59 55 + .byte $75, $52, $B3, $0B, $9C, $C2, $E3, $10, $B0, $2B, $10, $B9, $C5, $04, $EF, $25 ; CPU:$EE4C PRG:2E4C 75 52 B3 0B 9C C2 E3 10 B0 2B 10 B9 C5 04 EF 25 + .byte $AE, $F6, $05, $00, $73, $22, $59, $59, $D7, $8A, $CF, $F9, $66, $47, $16, $E8 ; CPU:$EE5C PRG:2E5C AE F6 05 00 73 22 59 59 D7 8A CF F9 66 47 16 E8 + .byte $AA, $AA, $AA, $AB, $94, $CC, $1C, $2D, $29, $55, $95, $50, $AD, $29, $58, $2D ; CPU:$EE6C PRG:2E6C AA AA AA AB 94 CC 1C 2D 29 55 95 50 AD 29 58 2D + .byte $96, $DF, $75, $CE, $F6, $AC, $1E, $CB, $6D, $BA, $E7, $7B, $56, $0B, $65, $B7 ; CPU:$EE7C PRG:2E7C 96 DF 75 CE F6 AC 1E CB 6D BA E7 7B 56 0B 65 B7 + .byte $DD, $7B, $56, $0F, $65, $B6, $DD, $7B, $56, $0B, $65, $B7, $DD, $7B, $56, $0F ; CPU:$EE8C PRG:2E8C DD 7B 56 0F 65 B6 DD 7B 56 0B 65 B7 DD 7B 56 0F + .byte $65, $B6, $DD, $7B, $56, $0B, $65, $B7, $DD, $7B, $56, $0F, $65, $B6, $DD, $7B ; CPU:$EE9C PRG:2E9C 65 B6 DD 7B 56 0B 65 B7 DD 7B 56 0F 65 B6 DD 7B + .byte $56, $0B, $65, $B7, $DD, $7B, $10, $B9, $04, $2F, $03, $0B, $90, $1B, $08, $74 ; CPU:$EEAC PRG:2EAC 56 0B 65 B7 DD 7B 10 B9 04 2F 03 0B 90 1B 08 74 + .byte $1C, $09, $0C, $BB, $02, $17, $8C, $85, $CA, $21, $C1, $98, $F0, $65, $95, $55 ; CPU:$EEBC PRG:2EBC 1C 09 0C BB 02 17 8C 85 CA 21 C1 98 F0 65 95 55 + .byte $59, $4F, $FC, $58, $A0, $C2, $21, $74, $99, $44, $2C, $4A, $0C, $4E, $E1, $0B ; CPU:$EECC PRG:2ECC 59 4F FC 58 A0 C2 21 74 99 44 2C 4A 0C 4E E1 0B + .byte $02, $73, $13, $9E, $42, $E7, $10, $B0, $C7, $86, $32, $1F, $55, $55, $D3, $55 ; CPU:$EEDC PRG:2EDC 02 73 13 9E 42 E7 10 B0 C7 86 32 1F 55 55 D3 55 + .byte $D3, $8B, $08, $00, $5A, $A9, $00, $FC, $01, $02, $B2, $DB, $2F, $0C, $1F, $80 ; CPU:$EEEC PRG:2EEC D3 8B 08 00 5A A9 00 FC 01 02 B2 DB 2F 0C 1F 80 + .byte $02, $04, $0F, $FF, $FF, $E8, $59, $91, $C5, $55, $55, $4A, $EA, $AE, $85, $48 ; CPU:$EEFC PRG:2EFC 02 04 0F FF FF E8 59 91 C5 55 55 4A EA AE 85 48 + .byte $5D, $62, $17, $08, $A4, $C2, $21, $61, $58, $3C, $B6, $CF, $9D, $E0, $0B, $71 ; CPU:$EF0C PRG:2F0C 5D 62 17 08 A4 C2 21 61 58 3C B6 CF 9D E0 0B 71 + .byte $AC, $62, $25, $0C, $BB, $6B, $B6, $D5, $EE, $22, $22, $22, $22, $22, $22, $25 ; CPU:$EF1C PRG:2F1C AC 62 25 0C BB 6B B6 D5 EE 22 22 22 22 22 22 25 + .byte $AB, $DC, $44, $44, $44, $44, $44, $44, $4B, $F6, $58, $65, $F6, $58, $65, $F6 ; CPU:$EF2C PRG:2F2C AB DC 44 44 44 44 44 44 4B F6 58 65 F6 58 65 F6 + .byte $58, $65, $F6, $76, $AC, $E1, $91, $91, $91, $91, $91, $91, $BE, $19, $7D, $96 ; CPU:$EF3C PRG:2F3C 58 65 F6 76 AC E1 91 91 91 91 91 91 BE 19 7D 96 + .byte $19, $7D, $96, $19, $7D, $96, $19, $DA, $B3, $86, $46, $46, $46, $46, $46, $46 ; CPU:$EF4C PRG:2F4C 19 7D 96 19 7D 96 19 DA B3 86 46 46 46 46 46 46 + .byte $FF, $61, $86, $18, $61, $86, $18, $61, $86, $18, $67, $10, $BE, $8B, $56, $0F ; CPU:$EF5C PRG:2F5C FF 61 86 18 61 86 18 61 86 18 67 10 BE 8B 56 0F + .byte $3F, $B3, $E3, $DB, $10, $BE, $93, $56, $0F, $0F, $EB, $B6, $05, $B4, $29, $54 ; CPU:$EF6C PRG:2F6C 3F B3 E3 DB 10 BE 93 56 0F 0F EB B6 05 B4 29 54 + .byte $D4, $76, $5D, $B6, $11, $E1, $80, $64, $10, $06, $00, $90, $3D, $03, $E3, $28 ; CPU:$EF7C PRG:2F7C D4 76 5D B6 11 E1 80 64 10 06 00 90 3D 03 E3 28 + .byte $C8, $A2, $8C, $2B, $22, $DB, $87, $06, $75, $97, $57, $59, $D6, $5D, $B0, $73 ; CPU:$EF8C PRG:2F8C C8 A2 8C 2B 22 DB 87 06 75 97 57 59 D6 5D B0 73 + .byte $83, $04, $81, $11, $88, $5A, $04, $E7, $07, $1A, $98, $6A, $69, $8E, $92, $B8 ; CPU:$EF9C PRG:2F9C 83 04 81 11 88 5A 04 E7 07 1A 98 6A 69 8E 92 B8 + .byte $CC, $4E, $32, $B1, $AD, $CA, $95, $54, $CB, $9C, $1C, $66, $61, $94, $9A, $29 ; CPU:$EFAC PRG:2FAC CC 4E 32 B1 AD CA 95 54 CB 9C 1C 66 61 94 9A 29 + .byte $A8, $9B, $31, $38, $AC, $A3, $28, $B2, $2A, $B0, $B6, $70, $71, $B9, $86, $63 ; CPU:$EFBC PRG:2FBC A8 9B 31 38 AC A3 28 B2 2A B0 B6 70 71 B9 86 63 + .byte $A4, $AA, $62, $BC, $C4, $E3, $0B, $2C, $C4, $C9, $2C, $A2, $D9, $C1, $C6, $26 ; CPU:$EFCC PRG:2FCC A4 AA 62 BC C4 E3 0B 2C C4 C9 2C A2 D9 C1 C6 26 + .byte $6A, $89, $9E, $6A, $89, $B3, $13, $8C, $2A, $D5, $12, $B2, $D5, $12, $D6, $3F ; CPU:$EFDC PRG:2FDC 6A 89 9E 6A 89 B3 13 8C 2A D5 12 B2 D5 12 D6 3F + .byte $47, $CE, $F0, $65, $0C, $04, $54, $19, $B7, $00, $49, $A8, $90, $B8, $C4, $2E ; CPU:$EFEC PRG:2FEC 47 CE F0 65 0C 04 54 19 B7 00 49 A8 90 B8 C4 2E + .byte $88, $17, $8E, $D9, $70, $FC, $89, $C4, $2E, $D3, $0B, $0D, $C3, $E2, $AA, $4A ; CPU:$EFFC PRG:2FFC 88 17 8E D9 70 FC 89 C4 2E D3 0B 0D C3 E2 AA 4A + .byte $A8, $8A, $AC, $2A, $98, $B1, $C0, $00, $6E, $C0, $0E, $E4, $00, $30, $67, $80 ; CPU:$F00C PRG:300C A8 8A AC 2A 98 B1 C0 00 6E C0 0E E4 00 30 67 80 + .byte $00, $95, $40, $55, $08, $00, $5E, $4B, $3F, $BA, $EB, $F7, $11, $08, $5E, $C6 ; CPU:$F01C PRG:301C 00 95 40 55 08 00 5E 4B 3F BA EB F7 11 08 5E C6 + .byte $16, $15, $8A, $F2, $C1, $F2, $09, $00, $4F, $FF, $EC, $04, $20, $54, $61, $73 ; CPU:$F02C PRG:302C 16 15 8A F2 C1 F2 09 00 4F FF EC 04 20 54 61 73 + .byte $88, $58, $DE, $2B, $55, $CB, $F2, $4A, $55, $55, $55, $56, $42, $5C, $8C, $39 ; CPU:$F03C PRG:303C 88 58 DE 2B 55 CB F2 4A 55 55 55 56 42 5C 8C 39 + .byte $D9, $76, $D7, $68, $46, $25, $31, $39, $8C, $AE, $41, $0E, $0B, $C9, $69, $B5 ; CPU:$F04C PRG:304C D9 76 D7 68 46 25 31 39 8C AE 41 0E 0B C9 69 B5 + .byte $5B, $25, $B7, $0E, $C2, $92, $79, $6D, $76, $C9, $6D, $C3, $AE, $A4, $72, $49 ; CPU:$F05C PRG:305C 5B 25 B7 0E C2 92 79 6D 76 C9 6D C3 AE A4 72 49 + .byte $2F, $9A, $D9, $2D, $B8, $75, $9C, $02, $49, $3C, $00, $19, $01, $80, $00, $18 ; CPU:$F06C PRG:306C 2F 9A D9 2D B8 75 9C 02 49 3C 00 19 01 80 00 18 + .byte $00, $31, $0F, $00, $00, $2A, $C2, $CA, $AA, $EA, $F1, $C9, $24, $80, $00, $64 ; CPU:$F07C PRG:307C 00 31 0F 00 00 2A C2 CA AA EA F1 C9 24 80 00 64 + .byte $06, $00, $00, $01, $80, $A4, $72, $49, $2D, $B2, $5B, $70, $ED, $2B, $64, $B6 ; CPU:$F08C PRG:308C 06 00 00 01 80 A4 72 49 2D B2 5B 70 ED 2B 64 B6 + .byte $E1, $DB, $10, $88, $5D, $C6, $1B, $49, $84, $31, $08, $BC, $D2, $21, $70, $96 ; CPU:$F09C PRG:309C E1 DB 10 88 5D C6 1B 49 84 31 08 BC D2 21 70 96 + .byte $30, $31, $89, $BC, $2C, $51, $D5, $45, $08, $B7, $03, $B6, $B8, $1D, $B1, $0B ; CPU:$F0AC PRG:30AC 30 31 89 BC 2C 51 D5 45 08 B7 03 B6 B8 1D B1 0B + .byte $8C, $C3, $76, $26, $42, $E3, $30, $DD, $89, $90, $B8, $C4, $3E, $31, $11, $A2 ; CPU:$F0BC PRG:30BC 8C C3 76 26 42 E3 30 DD 89 90 B8 C4 3E 31 11 A2 + .byte $44, $67, $07, $98, $3C, $5A, $97, $85, $55, $E9, $55, $53, $30, $78, $B7, $2D ; CPU:$F0CC PRG:30CC 44 67 07 98 3C 5A 97 85 55 E9 55 53 30 78 B7 2D + .byte $0D, $55, $52, $D5, $46, $60, $F1, $55, $5A, $15, $55, $A5, $AE, $8C, $C1, $E2 ; CPU:$F0DC PRG:30DC 0D 55 52 D5 46 60 F1 55 5A 15 55 A5 AE 8C C1 E2 + .byte $D4, $B4, $2A, $AB, $4B, $55, $19, $83, $C5, $A9, $6A, $AA, $82, $96, $BA, $33 ; CPU:$F0EC PRG:30EC D4 B4 2A AB 4B 55 19 83 C5 A9 6A AA 82 96 BA 33 + .byte $07, $8B, $52, $D2, $AA, $8D, $2A, $AA, $66, $0F, $16, $A5, $A5, $57, $1A, $55 ; CPU:$F0FC PRG:30FC 07 8B 52 D2 AA 8D 2A AA 66 0F 16 A5 A5 57 1A 55 + .byte $D4, $4B, $00, $20, $08, $0C, $47, $60, $00, $2D, $80, $03, $38, $00, $0D, $41 ; CPU:$F10C PRG:310C D4 4B 00 20 08 0C 47 60 00 2D 80 03 38 00 0D 41 + .byte $79, $70, $52, $1E, $E1, $AE, $1F, $AB, $E7, $FB, $67, $48, $18, $FF, $2A, $3F ; CPU:$F11C PRG:311C 79 70 52 1E E1 AE 1F AB E7 FB 67 48 18 FF 2A 3F + .byte $F2, $A2, $F8, $CC, $1E, $2D, $55, $2A, $55, $42, $A2, $E9, $9F, $04, $6A, $AA ; CPU:$F12C PRG:312C F2 A2 F8 CC 1E 2D 55 2A 55 42 A2 E9 9F 04 6A AA + .byte $A8, $AA, $8A, $BF, $E0, $85, $C3, $64, $34, $88, $CC, $2E, $80, $79, $84, $46 ; CPU:$F13C PRG:313C A8 AA 8A BF E0 85 C3 64 34 88 CC 2E 80 79 84 46 + .byte $FF, $55, $57, $D5, $55, $4D, $3B, $08, $92, $48, $00, $02, $40, $1C, $00, $CB ; CPU:$F14C PRG:314C FF 55 57 D5 55 4D 3B 08 92 48 00 02 40 1C 00 CB + .byte $01, $E6, $11, $1B, $FF, $FF, $F5, $7F, $51, $5F, $EC, $20, $38, $24, $92, $48 ; CPU:$F15C PRG:315C 01 E6 11 1B FF FF F5 7F 51 5F EC 20 38 24 92 48 + .byte $00, $00, $03, $00, $0F, $D8, $44, $92, $49, $E4, $92, $C9, $24, $96, $00, $26 ; CPU:$F16C PRG:316C 00 00 03 00 0F D8 44 92 49 E4 92 C9 24 96 00 26 + .byte $B0, $5B, $EE, $D3, $A9, $DA, $B0, $5D, $A7, $53, $B0, $2C, $64, $9A, $74, $93 ; CPU:$F17C PRG:317C B0 5B EE D3 A9 DA B0 5D A7 53 B0 2C 64 9A 74 93 + .byte $32, $E7, $2F, $5F, $3B, $E0, $2A, $10, $B9, $8C, $2C, $0A, $44, $3E, $17, $31 ; CPU:$F18C PRG:318C 32 E7 2F 5F 3B E0 2A 10 B9 8C 2C 0A 44 3E 17 31 + .byte $85, $C3, $C0, $A0, $42, $EA, $30, $B0, $27, $10, $F8, $5D, $46, $17, $0F, $02 ; CPU:$F19C PRG:319C 85 C3 C0 A0 42 EA 30 B0 27 10 F8 5D 46 17 0F 02 + .byte $61, $0B, $B8, $C2, $C3, $0E, $F8, $00, $C0, $2A, $AA, $81, $20, $01, $20, $85 ; CPU:$F1AC PRG:31AC 61 0B B8 C2 C3 0E F8 00 C0 2A AA 81 20 01 20 85 + .byte $E4, $61, $60, $46, $21, $F0, $BC, $8C, $2E, $1E, $04, $42, $17, $B1, $85, $81 ; CPU:$F1BC PRG:31BC E4 61 60 46 21 F0 BC 8C 2E 1E 04 42 17 B1 85 81 + .byte $10, $85, $EC, $61, $61, $58, $AF, $20, $5A, $06, $62, $D4, $A8, $65, $60, $56 ; CPU:$F1CC PRG:31CC 10 85 EC 61 61 58 AF 20 5A 06 62 D4 A8 65 60 56 + .byte $0F, $7B, $31, $C8, $B2, $AA, $BF, $FF, $E2, $AB, $2F, $74, $92, $58, $1C, $00 ; CPU:$F1DC PRG:31DC 0F 7B 31 C8 B2 AA BF FF E2 AB 2F 74 92 58 1C 00 + .byte $00, $00, $32, $C9, $24, $BF, $B0, $00, $12, $49, $60, $00, $00, $61, $F0, $00 ; CPU:$F1EC PRG:31EC 00 00 32 C9 24 BF B0 00 12 49 60 00 00 61 F0 00 + .byte $64, $22, $1F, $48, $85, $CE, $21, $70, $81, $23, $30, $B9, $CC, $2E, $71, $0B ; CPU:$F1FC PRG:31FC 64 22 1F 48 85 CE 21 70 81 23 30 B9 CC 2E 71 0B + .byte $0D, $C3, $82, $CA, $AA, $CA, $A2, $DF, $FF, $E5, $26, $21, $41, $85, $CE, $1E ; CPU:$F20C PRG:320C 0D C3 82 CA AA CA A2 DF FF E5 26 21 41 85 CE 1E + .byte $F3, $FA, $EE, $73, $89, $CC, $EA, $76, $E4, $92, $59, $26, $92, $58, $1C, $06 ; CPU:$F21C PRG:321C F3 FA EE 73 89 CC EA 76 E4 92 59 26 92 58 1C 06 + .byte $00, $E0, $00, $4A, $21, $73, $8B, $89, $D6, $5F, $47, $CE, $F6, $05, $B0, $36 ; CPU:$F22C PRG:322C 00 E0 00 4A 21 73 8B 89 D6 5F 47 CE F6 05 B0 36 + .byte $11, $CE, $16, $5D, $A1, $0B, $DA, $42, $E3, $C3, $58, $2C, $72, $99, $57, $C6 ; CPU:$F23C PRG:323C 11 CE 16 5D A1 0B DA 42 E3 C3 58 2C 72 99 57 C6 + .byte $EF, $D8, $FC, $CE, $C4, $2E, $21, $0B, $84, $6A, $61, $63, $98, $3C, $51, $A9 ; CPU:$F24C PRG:324C EF D8 FC CE C4 2E 21 0B 84 6A 61 63 98 3C 51 A9 + .byte $55, $55, $57, $55, $48, $85, $C4, $21, $71, $88, $4C, $20, $73, $07, $8A, $29 ; CPU:$F25C PRG:325C 55 55 57 55 48 85 C4 21 71 88 4C 20 73 07 8A 29 + .byte $2B, $AC, $EC, $EC, $EB, $10, $B8, $84, $2E, $21, $0B, $88, $C2, $C7, $30, $78 ; CPU:$F26C PRG:326C 2B AC EC EC EB 10 B8 84 2E 21 0B 88 C2 C7 30 78 + .byte $A2, $8A, $2A, $CD, $2A, $AA, $B7, $60, $30, $18, $0E, $46, $0F, $25, $C8, $49 ; CPU:$F27C PRG:327C A2 8A 2A CD 2A AA B7 60 30 18 0E 46 0F 25 C8 49 + .byte $24, $9C, $C1, $E2, $8A, $28, $A2, $AA, $2D, $55, $5D, $80, $C0, $60, $30, $1C ; CPU:$F28C PRG:328C 24 9C C1 E2 8A 28 A2 AA 2D 55 5D 80 C0 60 30 1C + .byte $8C, $16, $49, $1F, $F0, $73, $07, $8A, $28, $A2, $8A, $29, $51, $55, $19, $18 ; CPU:$F29C PRG:329C 8C 16 49 1F F0 73 07 8A 28 A2 8A 29 51 55 19 18 + .byte $5C, $22, $2F, $0B, $16, $D1, $61, $0B, $61, $19, $76, $D7, $9B, $D9, $DB, $11 ; CPU:$F2AC PRG:32AC 5C 22 2F 0B 16 D1 61 0B 61 19 76 D7 9B D9 DB 11 + .byte $7C, $0C, $2E, $80, $D4, $82, $43, $EC, $F7, $DC, $BB, $62, $91, $0B, $A0, $C2 ; CPU:$F2BC PRG:32BC 7C 0C 2E 80 D4 82 43 EC F7 DC BB 62 91 0B A0 C2 + .byte $E2, $10, $F8, $C4, $3E, $10, $C5, $22, $17, $40, $85, $D0, $5A, $F2, $79, $ED ; CPU:$F2CC PRG:32CC E2 10 F8 C4 3E 10 C5 22 17 40 85 D0 5A F2 79 ED + .byte $22, $31, $0B, $98, $C2, $E6, $92, $88, $78, $61, $D9, $12, $00, $08, $01, $2F ; CPU:$F2DC PRG:32DC 22 31 0B 98 C2 E6 92 88 78 61 D9 12 00 08 01 2F + .byte $FF, $FE, $C5, $8E, $03, $48, $08, $00, $35, $55, $72, $4C, $21, $74, $49, $04 ; CPU:$F2EC PRG:32EC FF FE C5 8E 03 48 08 00 35 55 72 4C 21 74 49 04 + .byte $3E, $21, $0B, $1C, $3B, $20, $09, $20, $00, $5F, $FF, $00, $84, $E6, $17, $38 ; CPU:$F2FC PRG:32FC 3E 21 0B 1C 3B 20 09 20 00 5F FF 00 84 E6 17 38 + .byte $85, $CC, $21, $63, $59, $FD, $56, $FF, $B1, $98, $C8, $43, $50, $56, $91, $0B ; CPU:$F30C PRG:330C 85 CC 21 63 59 FD 56 FF B1 98 C8 43 50 56 91 0B + .byte $15, $22, $1D, $08, $89, $05, $41, $F2, $F9, $A5, $D6, $FE, $BF, $E2, $B3, $5A ; CPU:$F31C PRG:331C 15 22 1D 08 89 05 41 F2 F9 A5 D6 FE BF E2 B3 5A + .byte $64, $5F, $05, $95, $55, $55, $94, $06, $55, $C8, $B8, $2D, $4F, $FF, $ED, $4F ; CPU:$F32C PRG:332C 64 5F 05 95 55 55 94 06 55 C8 B8 2D 4F FF ED 4F + .byte $FD, $FD, $D1, $2C, $32, $07, $00, $02, $C3, $20, $00, $00, $0F, $A2, $58, $64 ; CPU:$F33C PRG:333C FD FD D1 2C 32 07 00 02 C3 20 00 00 0F A2 58 64 + .byte $00, $00, $05, $86, $47, $00, $0E, $1F, $44, $BE, $C9, $25, $92, $4B, $EC, $80 ; CPU:$F34C PRG:334C 00 00 05 86 47 00 0E 1F 44 BE C9 25 92 4B EC 80 + .byte $00, $00, $32, $15, $49, $85, $E0, $4F, $A0, $00, $00, $96, $D9, $20, $70, $07 ; CPU:$F35C PRG:335C 00 00 32 15 49 85 E0 4F A0 00 00 96 D9 20 70 07 + .byte $00, $0E, $19, $0A, $9A, $42, $62, $70, $88, $9D, $D0, $EA, $07, $8A, $4F, $68 ; CPU:$F36C PRG:336C 00 0E 19 0A 9A 42 62 70 88 9D D0 EA 07 8A 4F 68 + .byte $B6, $5E, $D9, $06, $45, $55, $65, $65, $FF, $FF, $FD, $BA, $49, $00, $03, $00 ; CPU:$F37C PRG:337C B6 5E D9 06 45 55 65 65 FF FF FD BA 49 00 03 00 + .byte $30, $49, $1C, $90, $38, $25, $90, $A9, $8C, $2A, $17, $0F, $84, $43, $E1, $71 ; CPU:$F38C PRG:338C 30 49 1C 90 38 25 90 A9 8C 2A 17 0F 84 43 E1 71 + .byte $01, $67, $0C, $C3, $95, $1C, $B7, $39, $73, $79, $CB, $99, $CD, $5C, $C5, $6A ; CPU:$F39C PRG:339C 01 67 0C C3 95 1C B7 39 73 79 CB 99 CD 5C C5 6A + .byte $95, $CB, $2D, $AA, $D5, $2B, $96, $5B, $7D, $C2, $71, $0B, $9C, $C2, $C3, $02 ; CPU:$F3AC PRG:33AC 95 CB 2D AA D5 2B 96 5B 7D C2 71 0B 9C C2 C3 02 + .byte $F8, $C0, $12, $66, $30, $CC, $00, $01, $10, $8C, $C2, $EC, $30, $B8, $CC, $2C ; CPU:$F3BC PRG:33BC F8 C0 12 66 30 CC 00 01 10 8C C2 EC 30 B8 CC 2C + .byte $30, $3D, $80, $A4, $0A, $A4, $07, $02, $E0, $60, $5F, $00, $55, $83, $15, $89 ; CPU:$F3CC PRG:33CC 30 3D 80 A4 0A A4 07 02 E0 60 5F 00 55 83 15 89 + .byte $61, $80, $C0, $F6, $00, $33, $AB, $91, $9C, $F3, $80, $4C, $32, $30, $B0, $09 ; CPU:$F3DC PRG:33DC 61 80 C0 F6 00 33 AB 91 9C F3 80 4C 32 30 B0 09 + .byte $C8, $C5, $38, $99, $A6, $56, $0A, $DA, $B0, $79, $71, $98, $DC, $77, $CB, $F3 ; CPU:$F3EC PRG:33EC C8 C5 38 99 A6 56 0A DA B0 79 71 98 DC 77 CB F3 + .byte $5B, $77, $49, $24, $92, $4B, $00, $32, $49, $24, $90, $5A, $F8, $0E, $00, $00 ; CPU:$F3FC PRG:33FC 5B 77 49 24 92 4B 00 32 49 24 90 5A F8 0E 00 00 + .byte $06, $09, $64, $01, $C0, $00, $B5, $CB, $24, $92, $49, $2C, $72, $C8, $24, $92 ; CPU:$F40C PRG:340C 06 09 64 01 C0 00 B5 CB 24 92 49 2C 72 C8 24 92 + .byte $41, $6B, $99, $24, $92, $42, $58, $25, $90, $40, $01, $82, $D6, $21, $A1, $45 ; CPU:$F41C PRG:341C 41 6B 99 24 92 42 58 25 90 40 01 82 D6 21 A1 45 + .byte $14, $25, $69, $10, $24, $BE, $40, $20, $11, $CB, $64, $92, $C9, $E4, $96, $0B ; CPU:$F42C PRG:342C 14 25 69 10 24 BE 40 20 11 CB 64 92 C9 E4 96 0B + .byte $5C, $80, $47, $20, $16, $40, $00, $02, $09, $2C, $06, $B1, $0D, $0A, $00, $A4 ; CPU:$F43C PRG:343C 5C 80 47 20 16 40 00 02 09 2C 06 B1 0D 0A 00 A4 + .byte $20, $08, $AB, $15, $F2, $C9, $00, $96, $D9, $07, $92, $09, $24, $92, $C2, $E5 ; CPU:$F44C PRG:344C 20 08 AB 15 F2 C9 00 96 D9 07 92 09 24 92 C2 E5 + .byte $80, $12, $2D, $92, $00, $20, $13, $C0, $01, $95, $CB, $00, $20, $03, $26, $92 ; CPU:$F45C PRG:345C 80 12 2D 92 00 20 13 C0 01 95 CB 00 20 03 26 92 + .byte $4D, $24, $92, $4B, $2B, $16, $10, $81, $54, $D5, $55, $55, $54, $DA, $78, $5E ; CPU:$F46C PRG:346C 4D 24 92 4B 2B 16 10 81 54 D5 55 55 54 DA 78 5E + .byte $D3, $0E, $ED, $2F, $BF, $69, $99, $1C, $55, $55, $52, $AA, $EA, $54, $57, $31 ; CPU:$F47C PRG:347C D3 0E ED 2F BF 69 99 1C 55 55 52 AA EA 54 57 31 + .byte $C8, $CA, $AB, $27, $FE, $2A, $A8, $AF, $60, $82, $48, $04, $31, $F8, $4C, $00 ; CPU:$F48C PRG:348C C8 CA AB 27 FE 2A A8 AF 60 82 48 04 31 F8 4C 00 + .byte $00, $60, $0C, $C1, $43, $2D, $4C, $8F, $BD, $55, $55, $FD, $82, $09, $20, $10 ; CPU:$F49C PRG:349C 00 60 0C C1 43 2D 4C 8F BD 55 55 FD 82 09 20 10 + .byte $C2, $40, $00, $00, $00, $05, $FB, $07, $82, $48, $21, $85, $24, $92, $40, $38 ; CPU:$F4AC PRG:34AC C2 40 00 00 00 05 FB 07 82 48 21 85 24 92 40 38 + .byte $09, $F6, $09, $24, $80, $43, $0B, $80, $00, $04, $92, $D3, $EC, $12, $49, $24 ; CPU:$F4BC PRG:34BC 09 F6 09 24 80 43 0B 80 00 04 92 D3 EC 12 49 24 + .byte $86, $12, $00, $0E, $00, $01, $87, $98, $44, $55, $55, $51, $A7, $FF, $D5, $3C ; CPU:$F4CC PRG:34CC 86 12 00 0E 00 01 87 98 44 55 55 51 A7 FF D5 3C + .byte $85, $D0, $A1, $32, $AA, $84, $2C, $2B, $05, $E4, $0B, $20, $5C, $2B, $10, $AC ; CPU:$F4DC PRG:34DC 85 D0 A1 32 AA 84 2C 2B 05 E4 0B 20 5C 2B 10 AC + .byte $B8, $1D, $B1, $0E, $A0, $55, $28, $0D, $F0, $44, $96, $49, $40, $00, $02, $24 ; CPU:$F4EC PRG:34EC B8 1D B1 0E A0 55 28 0D F0 44 96 49 40 00 02 24 + .byte $B2, $4A, $1B, $EC, $B8, $EC, $70, $87, $00, $74, $38, $7C, $F5, $B7, $58, $92 ; CPU:$F4FC PRG:34FC B2 4A 1B EC B8 EC 70 87 00 74 38 7C F5 B7 58 92 + .byte $18, $00, $94, $02, $24, $92, $C1, $07, $2A, $81, $66, $A6, $7B, $A9, $F7, $59 ; CPU:$F50C PRG:350C 18 00 94 02 24 92 C1 07 2A 81 66 A6 7B A9 F7 59 + .byte $BF, $EA, $B6, $E8, $00, $03, $24, $92, $99, $44, $81, $D8, $24, $15, $50, $3C ; CPU:$F51C PRG:351C BF EA B6 E8 00 03 24 92 99 44 81 D8 24 15 50 3C + .byte $56, $6B, $6C, $CE, $69, $75, $AD, $B2, $64, $0D, $53, $F9, $4D, $47, $EF, $F2 ; CPU:$F52C PRG:352C 56 6B 6C CE 69 75 AD B2 64 0D 53 F9 4D 47 EF F2 + .byte $70, $D0, $E1, $80, $08, $0C, $70, $40, $0C, $00, $98, $C1, $A2, $37, $89, $F8 ; CPU:$F53C PRG:353C 70 D0 E1 80 08 0C 70 40 0C 00 98 C1 A2 37 89 F8 + .byte $20, $7E, $27, $C9, $83, $E8, $4B, $13, $80, $40, $2C, $4E, $13, $06, $78, $81 ; CPU:$F54C PRG:354C 20 7E 27 C9 83 E8 4B 13 80 40 2C 4E 13 06 78 81 + .byte $50, $00, $80, $05, $40, $20, $2C, $87, $51, $F0, $94, $96, $E7, $0A, $E4, $62 ; CPU:$F55C PRG:355C 50 00 80 05 40 20 2C 87 51 F0 94 96 E7 0A E4 62 + .byte $1D, $08, $87, $C6, $21, $E1, $87, $4C, $10, $10, $B2, $AA, $AA, $B0, $03, $94 ; CPU:$F56C PRG:356C 1D 08 87 C6 21 E1 87 4C 10 10 B2 AA AA B0 03 94 + .byte $51, $45, $24, $90, $1C, $00, $00, $4C, $0E, $01, $50, $9D, $42, $E3, $11, $29 ; CPU:$F57C PRG:357C 51 45 24 90 1C 00 00 4C 0E 01 50 9D 42 E3 11 29 + .byte $09, $94, $48, $5C, $22, $25, $28, $85, $CA, $24, $27, $83, $44, $00, $01, $28 ; CPU:$F58C PRG:358C 09 94 48 5C 22 25 28 85 CA 24 27 83 44 00 01 28 + .byte $FF, $FF, $4F, $F7, $8E, $00, $1C, $30, $90, $20, $00, $01, $60, $92, $5F, $24 ; CPU:$F59C PRG:359C FF FF 4F F7 8E 00 1C 30 90 20 00 01 60 92 5F 24 + .byte $80, $08, $61, $20, $40, $1C, $02, $C1, $3C, $BC, $43, $40, $00, $33, $E8, $00 ; CPU:$F5AC PRG:35AC 80 08 61 20 40 1C 02 C1 3C BC 43 40 00 33 E8 00 + .byte $04, $82, $55, $A2, $5B, $F0, $9A, $5D, $67, $57, $B1, $71, $84, $42, $E2, $30 ; CPU:$F5BC PRG:35BC 04 82 55 A2 5B F0 9A 5D 67 57 B1 71 84 42 E2 30 + .byte $B8, $44, $E4, $EB, $7F, $C6, $E5, $7B, $02, $F0, $39, $14, $68, $43, $2E, $82 ; CPU:$F5CC PRG:35CC B8 44 E4 EB 7F C6 E5 7B 02 F0 39 14 68 43 2E 82 + .byte $C2, $61, $70, $FD, $07, $24, $90, $18, $02, $00, $00, $C0, $02, $58, $00, $0E ; CPU:$F5DC PRG:35DC C2 61 70 FD 07 24 90 18 02 00 00 C0 02 58 00 0E + .byte $49, $20, $30, $48, $80, $01, $80, $84, $B0, $00, $1C, $FE, $40, $60, $98, $09 ; CPU:$F5EC PRG:35EC 49 20 30 48 80 01 80 84 B0 00 1C FE 40 60 98 09 + .byte $24, $92, $04, $60, $00, $31, $0F, $80, $2C, $AA, $80, $00, $CC, $02, $F0, $00 ; CPU:$F5FC PRG:35FC 24 92 04 60 00 31 0F 80 2C AA 80 00 CC 02 F0 00 + .byte $01, $C9, $00, $24, $92, $48, $60, $1E, $40, $C2, $32, $00, $80, $11, $FF, $F9 ; CPU:$F60C PRG:360C 01 C9 00 24 92 48 60 1E 40 C2 32 00 80 11 FF F9 + .byte $07, $E1, $81, $7C, $00, $55, $21, $7F, $52, $00, $03, $08, $58, $09, $54, $65 ; CPU:$F61C PRG:361C 07 E1 81 7C 00 55 21 7F 52 00 03 08 58 09 54 65 + .byte $55, $46, $00, $07, $24, $C0, $7F, $21, $C0, $00, $10, $46, $00, $00, $0E, $79 ; CPU:$F62C PRG:362C 55 46 00 07 24 C0 7F 21 C0 00 10 46 00 00 0E 79 + .byte $00, $92, $43, $10, $01, $03, $00, $92, $40, $18, $87, $C0, $55, $56, $50, $16 ; CPU:$F63C PRG:363C 00 92 43 10 01 03 00 92 40 18 87 C0 55 56 50 16 + .byte $53, $C5, $70, $2F, $80, $A0, $04, $00, $04, $12, $A0, $31, $06, $A1, $78, $DC ; CPU:$F64C PRG:364C 53 C5 70 2F 80 A0 04 00 04 12 A0 31 06 A1 78 DC + .byte $BB, $B6, $26, $12, $7B, $84, $71, $88, $5E, $E6, $30, $75, $82, $F6, $B0, $34 ; CPU:$F65C PRG:365C BB B6 26 12 7B 84 71 88 5E E6 30 75 82 F6 B0 34 + .byte $4F, $37, $A7, $E3, $F8, $AC, $DE, $DC, $06, $11, $24, $93, $49, $24, $92, $69 ; CPU:$F66C PRG:366C 4F 37 A7 E3 F8 AC DE DC 06 11 24 93 49 24 92 69 + .byte $24, $A0, $EB, $15, $ED, $60, $E8, $DE, $9F, $77, $D2, $AF, $7B, $70, $00, $61 ; CPU:$F67C PRG:367C 24 A0 EB 15 ED 60 E8 DE 9F 77 D2 AF 7B 70 00 61 + .byte $13, $49, $24, $93, $49, $24, $A0, $03, $AC, $97, $B5, $82, $C1, $D1, $FD, $5F ; CPU:$F68C PRG:368C 13 49 24 93 49 24 A0 03 AC 97 B5 82 C1 D1 FD 5F + .byte $0F, $AD, $5A, $F6, $26, $11, $2B, $8C, $2A, $40, $64, $9F, $41, $0B, $85, $42 ; CPU:$F69C PRG:369C 0F AD 5A F6 26 11 2B 8C 2A 40 64 9F 41 0B 85 42 + .byte $0C, $A8, $CC, $A7, $31, $A8, $41, $B5, $05, $C1, $4B, $2C, $1B, $9C, $21, $30 ; CPU:$F6AC PRG:36AC 0C A8 CC A7 31 A8 41 B5 05 C1 4B 2C 1B 9C 21 30 + .byte $F8, $85, $52, $1D, $4C, $88, $43, $C4, $88, $C4, $F2, $10, $F8, $44, $4C, $71 ; CPU:$F6BC PRG:36BC F8 85 52 1D 4C 88 43 C4 88 C4 F2 10 F8 44 4C 71 + .byte $62, $00, $CF, $FF, $DF, $FF, $FB, $20, $12, $18, $9C, $22, $1F, $70, $89, $8F ; CPU:$F6CC PRG:36CC 62 00 CF FF DF FF FB 20 12 18 9C 22 1F 70 89 8F + .byte $24, $92, $C3, $92, $49, $04, $92, $46, $1D, $24, $92, $53, $0D, $89, $D4, $21 ; CPU:$F6DC PRG:36DC 24 92 C3 92 49 04 92 46 1D 24 92 53 0D 89 D4 21 + .byte $F0, $88, $9C, $26, $1A, $3C, $92, $4D, $2C, $39, $20, $92, $46, $19, $34, $92 ; CPU:$F6EC PRG:36EC F0 88 9C 26 1A 3C 92 4D 2C 39 20 92 46 19 34 92 + .byte $79, $24, $9A, $4B, $63, $80, $00, $0D, $92, $69, $24, $F2, $49, $34, $92, $C3 ; CPU:$F6FC PRG:36FC 79 24 9A 4B 63 80 00 0D 92 69 24 F2 49 34 92 C3 + .byte $90, $46, $19, $24, $D2, $49, $C6, $B0, $00, $20, $15, $FF, $40, $02, $01, $8D ; CPU:$F70C PRG:370C 90 46 19 24 D2 49 C6 B0 00 20 15 FF 40 02 01 8D + .byte $60, $00, $40, $0B, $FE, $00, $04, $00, $94, $C3, $66, $30, $B8, $44, $3E, $17 ; CPU:$F71C PRG:371C 60 00 40 0B FE 00 04 00 94 C3 66 30 B8 44 3E 17 + .byte $39, $86, $89, $21, $A0, $42, $E2, $30, $BA, $00, $B2, $8A, $A5, $23, $5A, $CB ; CPU:$F72C PRG:372C 39 86 89 21 A0 42 E2 30 BA 00 B2 8A A5 23 5A CB + .byte $86, $B8, $78, $5C, $9E, $53, $2A, $C1, $9E, $03, $0D, $54, $D5, $30, $00, $43 ; CPU:$F73C PRG:373C 86 B8 78 5C 9E 53 2A C1 9E 03 0D 54 D5 30 00 43 + .byte $99, $1C, $55, $A5, $54, $55, $1A, $95, $47, $B0, $00, $00, $C9, $23, $92, $46 ; CPU:$F74C PRG:374C 99 1C 55 A5 54 55 1A 95 47 B0 00 00 C9 23 92 46 + .byte $40, $07, $80, $C7, $60, $10, $01, $7C, $F7, $CB, $EC, $80, $0C, $01, $8C, $58 ; CPU:$F75C PRG:375C 40 07 80 C7 60 10 01 7C F7 CB EC 80 0C 01 8C 58 + .byte $E2, $15, $00, $00, $20, $54, $54, $F8, $3E, $44, $02, $C0, $09, $43, $03, $DF ; CPU:$F76C PRG:376C E2 15 00 00 20 54 54 F8 3E 44 02 C0 09 43 03 DF + .byte $F0, $67, $88, $05, $01, $52, $04, $00, $20, $60, $F9, $10, $B3, $00, $04, $0E ; CPU:$F77C PRG:377C F0 67 88 05 01 52 04 00 20 60 F9 10 B3 00 04 0E + .byte $07, $FF, $C1, $9E, $21, $04, $06, $08, $14, $08, $01, $83, $E4, $6C, $0C, $7F ; CPU:$F78C PRG:378C 07 FF C1 9E 21 04 06 08 14 08 01 83 E4 6C 0C 7F + .byte $FD, $33, $90, $03, $06, $78, $C1, $90, $C1, $92, $01, $20, $00, $29, $21, $C8 ; CPU:$F79C PRG:379C FD 33 90 03 06 78 C1 90 C1 92 01 20 00 29 21 C8 + .byte $44, $52, $53, $0E, $02, $13, $2E, $02, $13, $0E, $90, $43, $E3, $92, $18, $5D ; CPU:$F7AC PRG:37AC 44 52 53 0E 02 13 2E 02 13 0E 90 43 E3 92 18 5D + .byte $06, $16, $38, $87, $C0, $00, $54, $52, $00, $00, $84, $30, $2F, $80, $00, $00 ; CPU:$F7BC PRG:37BC 06 16 38 87 C0 00 54 52 00 00 84 30 2F 80 00 00 + .byte $0C, $A8, $A3, $38, $E6, $78, $15, $55, $12, $D1, $5D, $74, $55, $CC, $1E, $2A ; CPU:$F7CC PRG:37CC 0C A8 A3 38 E6 78 15 55 12 D1 5D 74 55 CC 1E 2A + .byte $AA, $55, $45, $5B, $31, $4D, $98, $3C, $55, $55, $6A, $8A, $AA, $62, $BA, $B0 ; CPU:$F7DC PRG:37DC AA 55 45 5B 31 4D 98 3C 55 55 6A 8A AA 62 BA B0 + .byte $78, $A5, $16, $EB, $BC, $ED, $99, $5C, $54, $55, $19, $99, $99, $91, $9B, $32 ; CPU:$F7EC PRG:37EC 78 A5 16 EB BC ED 99 5C 54 55 19 99 99 91 9B 32 + .byte $38, $A8, $AA, $2A, $AD, $2A, $A5, $56, $60, $F1, $51, $54, $AA, $A9, $6A, $85 ; CPU:$F7FC PRG:37FC 38 A8 AA 2A AD 2A A5 56 60 F1 51 54 AA A9 6A 85 + .byte $52, $17, $41, $85, $D0, $61, $F0, $89, $C9, $E6, $39, $15, $55, $46, $7F, $FD ; CPU:$F80C PRG:380C 52 17 41 85 D0 61 F0 89 C9 E6 39 15 55 46 7F FD + .byte $55, $54, $79, $09, $C9, $66, $89, $B7, $03, $B6, $21, $D4, $48, $BC, $C6, $2F ; CPU:$F81C PRG:381C 55 54 79 09 C9 66 89 B7 03 B6 21 D4 48 BC C6 2F + .byte $44, $6C, $C7, $22, $AA, $B7, $E0, $1F, $CA, $AA, $99, $8E, $45, $55, $BC, $05 ; CPU:$F82C PRG:382C 44 6C C7 22 AA B7 E0 1F CA AA 99 8E 45 55 BC 05 + .byte $03, $E5, $55, $33, $1C, $8A, $AD, $E1, $2A, $C1, $F2, $AA, $66, $0F, $15, $5A ; CPU:$F83C PRG:383C 03 E5 55 33 1C 8A AD E1 2A C1 F2 AA 66 0F 15 5A + .byte $0D, $55, $70, $A5, $54, $CC, $1E, $2A, $B0, $7A, $AA, $F8, $4A, $A9, $98, $3C ; CPU:$F84C PRG:384C 0D 55 70 A5 54 CC 1E 2A B0 7A AA F8 4A A9 98 3C + .byte $55, $60, $F5, $55, $F0, $95, $53, $30, $78, $AA, $D0, $6A, $AB, $85, $2A, $A7 ; CPU:$F85C PRG:385C 55 60 F5 55 F0 95 53 30 78 AA D0 6A AB 85 2A A7 + .byte $60, $00, $01, $AD, $FE, $07, $ED, $D2, $00, $00, $3E, $C0, $00, $01, $4B, $6F ; CPU:$F86C PRG:386C 60 00 01 AD FE 07 ED D2 00 00 3E C0 00 01 4B 6F + .byte $F6, $D9, $A0, $00, $00, $64, $2E, $81, $19, $91, $C6, $68, $06, $42, $EA, $13 ; CPU:$F87C PRG:387C F6 D9 A0 00 00 64 2E 81 19 91 C6 68 06 42 EA 13 + .byte $1A, $81, $94, $98, $5D, $02, $16, $2D, $A3, $70, $CE, $C0, $B2, $E6, $73, $D9 ; CPU:$F88C PRG:388C 1A 81 94 98 5D 02 16 2D A3 70 CE C0 B2 E6 73 D9 + .byte $1D, $C4, $44, $44, $60, $91, $11, $11, $30, $EC, $80, $80, $08, $5F, $02, $00 ; CPU:$F89C PRG:389C 1D C4 44 44 60 91 11 11 30 EC 80 80 08 5F 02 00 + .byte $20, $66, $8F, $19, $99, $99, $96, $66, $66, $64, $CC, $72, $2B, $2B, $2A, $FA ; CPU:$F8AC PRG:38AC 20 66 8F 19 99 99 96 66 66 64 CC 72 2B 2B 2A FA + .byte $AC, $AC, $A9, $91, $7C, $44, $44, $46, $09, $11, $11, $13, $0E, $C8, $00, $88 ; CPU:$F8BC PRG:38BC AC AC A9 91 7C 44 44 46 09 11 11 13 0E C8 00 88 + .byte $05, $F0, $02, $20, $06, $68, $F1, $99, $99, $99, $66, $66, $66, $4C, $C7, $22 ; CPU:$F8CC PRG:38CC 05 F0 02 20 06 68 F1 99 99 99 66 66 66 4C C7 22 + .byte $B2, $B2, $AF, $AA, $CA, $CA, $99, $17, $C4, $44, $44, $60, $91, $11, $11, $30 ; CPU:$F8DC PRG:38DC B2 B2 AF AA CA CA 99 17 C4 44 44 60 91 11 11 30 + .byte $EC, $80, $80, $08, $5F, $02, $00, $20, $66, $8F, $19, $99, $99, $99, $99, $99 ; CPU:$F8EC PRG:38EC EC 80 80 08 5F 02 00 20 66 8F 19 99 99 99 99 99 + .byte $98, $AC, $17, $B2, $52, $AA, $AA, $AA, $B3, $08, $C6, $A9, $94, $CB, $91, $D0 ; CPU:$F8FC PRG:38FC 98 AC 17 B2 52 AA AA AA B3 08 C6 A9 94 CB 91 D0 + .byte $5E, $5E, $47, $AB, $DD, $D0, $FC, $33, $23, $8A, $AA, $8A, $CA, $8A, $CA, $A9 ; CPU:$F90C PRG:390C 5E 5E 47 AB DD D0 FC 33 23 8A AA 8A CA 8A CA A9 + .byte $56, $0B, $46, $32, $E1, $7B, $56, $1B, $3E, $2F, $1B, $71, $BD, $30, $8F, $8A ; CPU:$F91C PRG:391C 56 0B 46 32 E1 7B 56 1B 3E 2F 1B 71 BD 30 8F 8A + .byte $AA, $42, $02, $42, $AA, $A9, $56, $7C, $4E, $3E, $E3, $7A, $72, $49, $24, $06 ; CPU:$F92C PRG:392C AA 42 02 42 AA A9 56 7C 4E 3E E3 7A 72 49 24 06 + .byte $20, $02, $06, $00, $00, $71, $C3, $E4, $82, $48, $60, $08, $20, $01, $80, $21 ; CPU:$F93C PRG:393C 20 02 06 00 00 71 C3 E4 82 48 60 08 20 01 80 21 + .byte $25, $25, $C7, $00, $70, $18, $02, $00, $18, $00, $42, $4A, $4B, $92, $49, $21 ; CPU:$F94C PRG:394C 25 25 C7 00 70 18 02 00 18 00 42 4A 4B 92 49 21 + .byte $80, $20, $80, $06, $00, $84, $94, $97, $24, $90, $40, $72, $00, $24, $60, $01 ; CPU:$F95C PRG:395C 80 20 80 06 00 84 94 97 24 90 40 72 00 24 60 01 + .byte $09, $FD, $2C, $3B, $40, $88, $40, $08, $04, $21, $FF, $E0, $BB, $84, $86, $B1 ; CPU:$F96C PRG:396C 09 FD 2C 3B 40 88 40 08 04 21 FF E0 BB 84 86 B1 + .byte $D4, $CB, $80, $22, $DC, $C3, $B8, $1E, $2F, $77, $D3, $F1, $7B, $63, $58, $10 ; CPU:$F97C PRG:397C D4 CB 80 22 DC C3 B8 1E 2F 77 D3 F1 7B 63 58 10 + .byte $28, $A0, $00, $0F, $3F, $3E, $C0, $B4, $00, $D1, $49, $EA, $A0, $00, $05, $C0 ; CPU:$F98C PRG:398C 28 A0 00 0F 3F 3E C0 B4 00 D1 49 EA A0 00 05 C0 + .byte $00, $B7, $DB, $21, $02, $49, $04, $96, $49, $2C, $90, $4E, $61, $10, $A8, $7C ; CPU:$F99C PRG:399C 00 B7 DB 21 02 49 04 96 49 2C 90 4E 61 10 A8 7C + .byte $66, $51, $0B, $90, $1D, $76, $BD, $8B, $C4, $26, $17, $29, $85, $C8, $8F, $16 ; CPU:$F9AC PRG:39AC 66 51 0B 90 1D 76 BD 8B C4 26 17 29 85 C8 8F 16 + .byte $38, $20, $00, $08, $13, $7D, $35, $4E, $0D, $10, $40, $00, $10, $04, $A0, $03 ; CPU:$F9BC PRG:39BC 38 20 00 08 13 7D 35 4E 0D 10 40 00 10 04 A0 03 + .byte $DE, $03, $27, $90, $00, $60, $12, $42, $44, $92, $48, $7C, $06, $49, $20, $00 ; CPU:$F9CC PRG:39CC DE 03 27 90 00 60 12 42 44 92 48 7C 06 49 20 00 + .byte $C0, $1C, $04, $80, $00, $00, $CC, $8C, $4A, $42, $4D, $64, $B9, $14, $C2, $A2 ; CPU:$F9DC PRG:39DC C0 1C 04 80 00 00 CC 8C 4A 42 4D 64 B9 14 C2 A2 + .byte $E6, $AC, $0E, $1F, $11, $CD, $C9, $64, $F3, $4E, $C1, $24, $90, $00, $03, $00 ; CPU:$F9EC PRG:39EC E6 AC 0E 1F 11 CD C9 64 F3 4E C1 24 90 00 03 00 + .byte $38, $04, $92, $48, $79, $83, $C6, $AA, $58, $00, $09, $6A, $A9, $3B, $04, $9E ; CPU:$F9FC PRG:39FC 38 04 92 48 79 83 C6 AA 58 00 09 6A A9 3B 04 9E + .byte $40, $2D, $24, $93, $20, $13, $C9, $21, $E6, $0F, $1A, $A9, $60, $00, $25, $AA ; CPU:$FA0C PRG:3A0C 40 2D 24 93 20 13 C9 21 E6 0F 1A A9 60 00 25 AA + .byte $A4, $21, $74, $89, $E5, $40, $EB, $05, $9A, $9B, $74, $BD, $B3, $43, $8A, $A9 ; CPU:$FA1C PRG:3A1C A4 21 74 89 E5 40 EB 05 9A 9B 74 BD B3 43 8A A9 + .byte $55, $AB, $D5, $0A, $AA, $66, $17, $15, $51, $56, $AA, $55, $15, $54, $CC, $84 ; CPU:$FA2C PRG:3A2C 55 AB D5 0A AA 66 17 15 51 56 AA 55 15 54 CC 84 + .byte $2A, $A5, $5F, $FF, $D4, $2A, $A9, $98, $E8, $55, $46, $FF, $FF, $E4, $55, $53 ; CPU:$FA3C PRG:3A3C 2A A5 5F FF D4 2A A9 98 E8 55 46 FF FF E4 55 53 + .byte $34, $38, $AA, $92, $AA, $AA, $B0, $AA, $A1, $0F, $94, $42, $ED, $50, $B9, $83 ; CPU:$FA4C PRG:3A4C 34 38 AA 92 AA AA B0 AA A1 0F 94 42 ED 50 B9 83 + .byte $B6, $08, $47, $C9, $EE, $DB, $81, $DB, $6D, $07, $16, $A9, $AA, $AA, $AA, $6A ; CPU:$FA5C PRG:3A5C B6 08 47 C9 EE DB 81 DB 6D 07 16 A9 AA AA AA 6A + .byte $94, $CC, $1E, $29, $56, $55, $05, $51, $D5, $29, $99, $1C, $56, $94, $69, $16 ; CPU:$FA6C PRG:3A6C 94 CC 1E 29 56 55 05 51 D5 29 99 1C 56 94 69 16 + .byte $91, $69, $53, $32, $38, $B5, $49, $D4, $35, $63, $54, $A6, $64, $71, $5A, $55 ; CPU:$FA7C PRG:3A7C 91 69 53 32 38 B5 49 D4 35 63 54 A6 64 71 5A 55 + .byte $05, $50, $55, $A5, $4C, $C1, $E2, $D1, $2D, $12, $C5, $2C, $52, $99, $83, $C5 ; CPU:$FA8C PRG:3A8C 05 50 55 A5 4C C1 E2 D1 2D 12 C5 2C 52 99 83 C5 + .byte $61, $56, $15, $C9, $54, $95, $33, $07, $8B, $54, $15, $41, $54, $15, $4A, $66 ; CPU:$FA9C PRG:3A9C 61 56 15 C9 54 95 33 07 8B 54 15 41 54 15 4A 66 + .byte $47, $15, $A5, $1A, $45, $A4, $5A, $54, $CC, $8E, $2D, $52, $55, $0D, $50, $D5 ; CPU:$FAAC PRG:3AAC 47 15 A5 1A 45 A4 5A 54 CC 8E 2D 52 55 0D 50 D5 + .byte $29, $99, $1C, $56, $95, $41, $54, $15, $69, $53, $31, $F8, $AB, $2A, $83, $28 ; CPU:$FABC PRG:3ABC 29 99 1C 56 95 41 54 15 69 53 31 F8 AB 2A 83 28 + .byte $2A, $CA, $A1, $0B, $E8, $9B, $58, $60, $16, $9D, $0C, $29, $10, $E1, $29, $31 ; CPU:$FACC PRG:3ACC 2A CA A1 0B E8 9B 58 60 16 9D 0C 29 10 E1 29 31 + .byte $69, $CC, $22, $15, $08, $9A, $0D, $E4, $B4, $CA, $BD, $F5, $3B, $A4, $DB, $F1 ; CPU:$FADC PRG:3ADC 69 CC 22 15 08 9A 0D E4 B4 CA BD F5 3B A4 DB F1 + .byte $3B, $66, $50, $15, $55, $59, $55, $5E, $35, $55, $EC, $00, $07, $00, $20, $00 ; CPU:$FAEC PRG:3AEC 3B 66 50 15 55 59 55 5E 35 55 EC 00 07 00 20 00 + .byte $E0, $04, $C1, $24, $93, $C9, $24, $92, $4B, $40, $9A, $49, $09, $82, $49, $26 ; CPU:$FAFC PRG:3AFC E0 04 C1 24 93 C9 24 92 4B 40 9A 49 09 82 49 26 + .byte $F0, $DA, $69, $5F, $1A, $9D, $D0, $42, $E9, $30, $A8, $44, $46, $3B, $09, $84 ; CPU:$FB0C PRG:3B0C F0 DA 69 5F 1A 9D D0 42 E9 30 A8 44 46 3B 09 84 + .byte $50, $4E, $B0, $78, $E9, $5E, $FB, $DB, $92, $49, $24, $96, $81, $34, $92, $01 ; CPU:$FB1C PRG:3B1C 50 4E B0 78 E9 5E FB DB 92 49 24 96 81 34 92 01 + .byte $24, $90, $1D, $E8, $B4, $D2, $BE, $33, $4F, $BC, $E2, $F6, $EC, $92, $49, $24 ; CPU:$FB2C PRG:3B2C 24 90 1D E8 B4 D2 BE 33 4F BC E2 F6 EC 92 49 24 + .byte $A0, $4D, $B4, $80, $03, $24, $07, $58, $2E, $D3, $7F, $CD, $EC, $0B, $21, $30 ; CPU:$FB3C PRG:3B3C A0 4D B4 80 03 24 07 58 2E D3 7F CD EC 0B 21 30 + .byte $62, $31, $CC, $B8, $0D, $84, $E2, $B5, $D5, $55, $4D, $54, $D5, $5F, $00, $C7 ; CPU:$FB4C PRG:3B4C 62 31 CC B8 0D 84 E2 B5 D5 55 4D 54 D5 5F 00 C7 + .byte $3C, $00, $00, $01, $C0, $44, $60, $7F, $FE, $EC, $72, $0F, $00, $00, $1C, $04 ; CPU:$FB5C PRG:3B5C 3C 00 00 01 C0 44 60 7F FE EC 72 0F 00 00 1C 04 + .byte $91, $18, $1F, $F2, $47, $20, $03, $C0, $01, $C0, $40, $04, $46, $07, $E0, $0A ; CPU:$FB6C PRG:3B6C 91 18 1F F2 47 20 03 C0 01 C0 40 04 46 07 E0 0A + .byte $01, $00, $80, $1C, $04, $80, $09, $11, $81, $D9, $20, $12, $40, $49, $00, $01 ; CPU:$FB7C PRG:3B7C 01 00 80 1C 04 80 09 11 81 D9 20 12 40 49 00 01 + .byte $FF, $90, $04, $2F, $30, $78, $AC, $AC, $AE, $A8, $54, $AA, $A7, $60, $40, $49 ; CPU:$FB8C PRG:3B8C FF 90 04 2F 30 78 AC AC AE A8 54 AA A7 60 40 49 + .byte $00, $76, $03, $25, $90, $00, $00, $3E, $C0, $10, $10, $07, $60, $07, $FB, $00 ; CPU:$FB9C PRG:3B9C 00 76 03 25 90 00 00 3E C0 10 10 07 60 07 FB 00 + .byte $12, $48, $7D, $80, $04, $00, $76, $00, $69, $24, $C0, $24, $90, $F3, $10, $8A ; CPU:$FBAC PRG:3BAC 12 48 7D 80 04 00 76 00 69 24 C0 24 90 F3 10 8A + .byte $AD, $42, $A8, $AA, $2F, $FA, $66, $39, $15, $55, $55, $52, $58, $5B, $F4, $28 ; CPU:$FBBC PRG:3BBC AD 42 A8 AA 2F FA 66 39 15 55 55 52 58 5B F4 28 + .byte $33, $29, $4C, $2E, $70, $6E, $01, $5B, $22, $C1, $0A, $E4, $2E, $43, $0F, $A0 ; CPU:$FBCC PRG:3BCC 33 29 4C 2E 70 6E 01 5B 22 C1 0A E4 2E 43 0F A0 + .byte $20, $04, $27, $FF, $FF, $FF, $E6, $2C, $70, $04, $00, $1A, $AA, $EA, $EA, $9C ; CPU:$FBDC PRG:3BDC 20 04 27 FF FF FF E6 2C 70 04 00 1A AA EA EA 9C + .byte $1A, $20, $08, $00, $25, $FF, $55, $5F, $B8, $35, $C0, $1A, $A8, $48, $00, $30 ; CPU:$FBEC PRG:3BEC 1A 20 08 00 25 FF 55 5F B8 35 C0 1A A8 48 00 30 + .byte $C0, $79, $FD, $30, $38, $41, $84, $00, $49, $24, $92, $41, $F3, $FA, $48, $92 ; CPU:$FBFC PRG:3BFC C0 79 FD 30 38 41 84 00 49 24 92 41 F3 FA 48 92 + .byte $83, $08, $00, $80, $E3, $80, $83, $E4, $94, $91, $25, $06, $10, $E1, $06, $49 ; CPU:$FC0C PRG:3C0C 83 08 00 80 E3 80 83 E4 94 91 25 06 10 E1 06 49 + .byte $2D, $07, $C0, $E0, $70, $00, $0C, $25, $52, $0C, $00, $1A, $0F, $10, $D0, $00 ; CPU:$FC1C PRG:3C1C 2D 07 C0 E0 70 00 0C 25 52 0C 00 1A 0F 10 D0 00 + .byte $00, $B3, $AA, $B2, $AD, $B7, $03, $8E, $00, $40, $30, $89, $24, $92, $52, $48 ; CPU:$FC2C PRG:3C2C 00 B3 AA B2 AD B7 03 8E 00 40 30 89 24 92 52 48 + .byte $3E, $49, $24, $B0, $92, $44, $92, $80, $03, $81, $C0, $64, $86, $1F, $09, $85 ; CPU:$FC3C PRG:3C3C 3E 49 24 B0 92 44 92 80 03 81 C0 64 86 1F 09 85 + .byte $D6, $21, $62, $CE, $2C, $16, $CA, $63, $6E, $12, $E1, $7A, $7D, $DF, $46, $0C ; CPU:$FC4C PRG:3C4C D6 21 62 CE 2C 16 CA 63 6E 12 E1 7A 7D DF 46 0C + .byte $F0, $6A, $6A, $AA, $AA, $AA, $6A, $4C, $19, $E0, $88, $95, $18, $19, $48, $88 ; CPU:$FC5C PRG:3C5C F0 6A 6A AA AA AA 6A 4C 19 E0 88 95 18 19 48 88 + .byte $98, $17, $C1, $65, $62, $55, $56, $25, $65, $30, $67, $82, $22, $22, $35, $22 ; CPU:$FC6C PRG:3C6C 98 17 C1 65 62 55 56 25 65 30 67 82 22 22 35 22 + .byte $22, $22, $60, $CF, $06, $A6, $A4, $4C, $46, $A6, $A4, $DC, $34, $33, $33, $33 ; CPU:$FC7C PRG:3C7C 22 22 60 CF 06 A6 A4 4C 46 A6 A4 DC 34 33 33 33 + .byte $7F, $33, $33, $31, $8B, $E8, $01, $01, $9D, $FD, $D9, $01, $03, $16, $10, $33 ; CPU:$FC8C PRG:3C8C 7F 33 33 31 8B E8 01 01 9D FD D9 01 03 16 10 33 + .byte $33, $BB, $FB, $BB, $33, $26, $2C, $20, $42, $77, $77, $F7, $77, $60, $4C, $58 ; CPU:$FC9C PRG:3C9C 33 BB FB BB 33 26 2C 20 42 77 77 F7 77 60 4C 58 + .byte $40, $CE, $EE, $EF, $EE, $EE, $EC, $98, $B4, $01, $9D, $DD, $DF, $DD, $DD, $D9 ; CPU:$FCAC PRG:3CAC 40 CE EE EF EE EE EC 98 B4 01 9D DD DF DD DD D9 + .byte $0B, $0C, $2E, $13, $0F, $84, $C2, $C5, $C0, $2F, $1A, $CE, $F6, $5C, $1E, $C8 ; CPU:$FCBC PRG:3CBC 0B 0C 2E 13 0F 84 C2 C5 C0 2F 1A CE F6 5C 1E C8 + .byte $84, $C3, $A2, $19, $B8, $84, $3A, $12, $18, $E0, $C6, $BB, $FA, $AE, $AF, $AB ; CPU:$FCCC PRG:3CCC 84 C3 A2 19 B8 84 3A 12 18 E0 C6 BB FA AE AF AB + .byte $A4, $B1, $63, $80, $32, $B2, $CC, $B3, $2A, $01, $62, $1F, $15, $9A, $BA, $6E ; CPU:$FCDC PRG:3CDC A4 B1 63 80 32 B2 CC B3 2A 01 62 1F 15 9A BA 6E + .byte $99, $D9, $51, $C4, $3E, $2B, $35, $34, $CD, $33, $52, $A3, $8B, $1C, $01, $B9 ; CPU:$FCEC PRG:3CEC 99 D9 51 C4 3E 2B 35 34 CD 33 52 A3 8B 1C 01 B9 + .byte $AA, $6A, $5A, $90, $08, $ED, $82, $C3, $AA, $52, $EE, $E7, $C7, $12, $22, $28 ; CPU:$FCFC PRG:3CFC AA 6A 5A 90 08 ED 82 C3 AA 52 EE E7 C7 12 22 28 + .byte $8A, $22, $02, $22, $CC, $7E, $28, $24, $24, $90, $C4, $A4, $82, $B0, $AA, $94 ; CPU:$FD0C PRG:3D0C 8A 22 02 22 CC 7E 28 24 24 90 C4 A4 82 B0 AA 94 + .byte $A2, $B9, $8F, $C4, $49, $44, $11, $04, $54, $44, $4E, $D8, $3C, $08, $45, $C1 ; CPU:$FD1C PRG:3D1C A2 B9 8F C4 49 44 11 04 54 44 4E D8 3C 08 45 C1 + .byte $4E, $CB, $86, $21, $51, $48, $5C, $E2, $17, $24, $85, $87, $40, $30, $00, $00 ; CPU:$FD2C PRG:3D2C 4E CB 86 21 51 48 5C E2 17 24 85 87 40 30 00 00 + .byte $70, $79, $60, $30, $38, $00, $9F, $C1, $60, $00, $00, $60, $00, $8B, $09, $12 ; CPU:$FD3C PRG:3D3C 70 79 60 30 38 00 9F C1 60 00 00 60 00 8B 09 12 + .byte $4A, $39, $17, $05, $BF, $FF, $BF, $F2, $FF, $FE, $39, $E1, $00, $00, $01, $80 ; CPU:$FD4C PRG:3D4C 4A 39 17 05 BF FF BF F2 FF FE 39 E1 00 00 01 80 + .byte $3B, $49, $00, $00, $0C, $F4, $89, $00, $0F, $FB, $00, $06, $A4, $90, $0E, $1B ; CPU:$FD5C PRG:3D5C 3B 49 00 00 0C F4 89 00 0F FB 00 06 A4 90 0E 1B + .byte $E8, $00, $00, $00, $06, $00, $0D, $31, $C0, $04, $A7, $C9, $24, $90, $30, $0C ; CPU:$FD6C PRG:3D6C E8 00 00 00 06 00 0D 31 C0 04 A7 C9 24 90 30 0C + .byte $00, $1A, $60, $00, $00, $0F, $97, $24, $81, $A2, $4A, $24, $A4, $C0, $00, $00 ; CPU:$FD7C PRG:3D7C 00 1A 60 00 00 0F 97 24 81 A2 4A 24 A4 C0 00 00 + .byte $1F, $2F, $80, $0B, $00, $00, $00, $65, $80, $89, $24, $3E, $5A, $90, $92, $C0 ; CPU:$FD8C PRG:3D8C 1F 2F 80 0B 00 00 00 65 80 89 24 3E 5A 90 92 C0 + .byte $00, $00, $D3, $00, $8E, $10, $78, $B0, $86, $80, $C6, $AA, $99, $A8, $F3, $D4 ; CPU:$FD9C PRG:3D9C 00 00 D3 00 8E 10 78 B0 86 80 C6 AA 99 A8 F3 D4 + .byte $5F, $0F, $FF, $DD, $C4, $45, $1B, $58, $E4, $5C, $C5, $E2, $E6, $31, $63, $80 ; CPU:$FDAC PRG:3DAC 5F 0F FF DD C4 45 1B 58 E4 5C C5 E2 E6 31 63 80 + .byte $00, $20, $00, $D7, $55, $57, $12, $88, $7C, $42, $17, $30, $85, $8E, $2C, $71 ; CPU:$FDBC PRG:3DBC 00 20 00 D7 55 57 12 88 7C 42 17 30 85 8E 2C 71 + .byte $00, $06, $AE, $9A, $AA, $AA, $AC, $1F, $42, $04, $0F, $FF, $A0, $01, $00, $18 ; CPU:$FDCC PRG:3DCC 00 06 AE 9A AA AA AC 1F 42 04 0F FF A0 01 00 18 + .byte $B1, $C4, $00, $1A, $AA, $00, $10, $00, $6B, $47, $C2, $E9, $7B, $10, $88, $7C ; CPU:$FDDC PRG:3DDC B1 C4 00 1A AA 00 10 00 6B 47 C2 E9 7B 10 88 7C + .byte $C2, $17, $19, $85, $CE, $4B, $16, $38, $08, $01, $53, $57, $55, $75, $51, $18 ; CPU:$FDEC PRG:3DEC C2 17 19 85 CE 4B 16 38 08 01 53 57 55 75 51 18 + .byte $85, $CE, $21, $74, $18, $58, $91, $88, $5C, $F2, $17, $40, $85, $85, $63, $BA ; CPU:$FDFC PRG:3DFC 85 CE 21 74 18 58 91 88 5C F2 17 40 85 85 63 BA + .byte $7E, $86, $E6, $1C, $2E, $82, $51, $F2, $96, $32, $ED, $AF, $17, $93, $D1, $F3 ; CPU:$FE0C PRG:3E0C 7E 86 E6 1C 2E 82 51 F2 96 32 ED AF 17 93 D1 F3 + .byte $ED, $B9, $25, $92, $49, $24, $00, $00, $0D, $04, $D1, $27, $72, $4B, $1C, $00 ; CPU:$FE1C PRG:3E1C ED B9 25 92 49 24 00 00 0D 04 D1 27 72 4B 1C 00 + .byte $09, $25, $80, $1A, $09, $A2, $4E, $E4, $12, $51, $63, $80, $03, $1C, $34, $13 ; CPU:$FE2C PRG:3E2C 09 25 80 1A 09 A2 4E E4 12 51 63 80 03 1C 34 13 + .byte $43, $8D, $C8, $1C, $02, $51, $60, $06, $49, $48, $26, $89, $3B, $92, $49, $00 ; CPU:$FE3C PRG:3E3C 43 8D C8 1C 02 51 60 06 49 48 26 89 3B 92 49 00 + .byte $02, $4A, $2C, $00, $10, $4D, $12, $77, $23, $82, $99, $00, $00, $4A, $25, $A0 ; CPU:$FE4C PRG:3E4C 02 4A 2C 00 10 4D 12 77 23 82 99 00 00 4A 25 A0 + .byte $9A, $FC, $6E, $49, $00, $32, $52, $20, $70, $13, $41, $34, $49, $DC, $82, $89 ; CPU:$FE5C PRG:3E5C 9A FC 6E 49 00 32 52 20 70 13 41 34 49 DC 82 89 + .byte $60, $00, $49, $48, $A6, $82, $68, $93, $B9, $00, $12, $51, $2C, $0E, $00, $4D ; CPU:$FE6C PRG:3E6C 60 00 49 48 A6 82 68 93 B9 00 12 51 2C 0E 00 4D + .byte $04, $D0, $27, $72, $19, $20, $0E, $49, $48, $B2, $9A, $09, $A0, $0E, $E4, $32 ; CPU:$FE7C PRG:3E7C 04 D0 27 72 19 20 0E 49 48 B2 9A 09 A0 0E E4 32 + .byte $00, $00, $00, $00, $63, $B4, $03, $00, $7D, $8F, $68, $63, $00, $C0, $0C, $3C ; CPU:$FE8C PRG:3E8C 00 00 00 00 63 B4 03 00 7D 8F 68 63 00 C0 0C 3C + .byte $30, $01, $30, $46, $31, $D9, $72, $84, $22, $99, $0E, $9C, $43, $E6, $10, $F0 ; CPU:$FE9C PRG:3E9C 30 01 30 46 31 D9 72 84 22 99 0E 9C 43 E6 10 F0 + .byte $21, $74, $88, $74, $22, $1F, $10, $9C, $C2, $C4, $85, $D2, $24, $30, $B9, $C4 ; CPU:$FEAC PRG:3EAC 21 74 88 74 22 1F 10 9C C2 C4 85 D2 24 30 B9 C4 + .byte $2C, $33, $23, $8A, $AA, $55, $71, $0A, $AA, $AA, $66, $17, $15, $54, $52, $A9 ; CPU:$FEBC PRG:3EBC 2C 33 23 8A AA 55 71 0A AA AA 66 17 15 54 52 A9 + .byte $2A, $AA, $A8, $EC, $00, $3B, $20, $3E, $00, $0D, $00, $07, $00, $27, $98, $28 ; CPU:$FECC PRG:3ECC 2A AA A8 EC 00 3B 20 3E 00 0D 00 07 00 27 98 28 + .byte $55, $25, $6A, $84, $CF, $FF, $33, $B0, $3B, $20, $00, $00, $EF, $B4, $D0, $1C ; CPU:$FEDC PRG:3EDC 55 25 6A 84 CF FF 33 B0 3B 20 00 00 EF B4 D0 1C + .byte $06, $9E, $60, $A1, $49, $55, $3F, $D3, $3F, $FF, $CE, $C3, $20, $00, $03, $1C ; CPU:$FEEC PRG:3EEC 06 9E 60 A1 49 55 3F D3 3F FF CE C3 20 00 03 1C + .byte $00, $D3, $00, $70, $00, $64, $4E, $13, $38, $90, $C2, $E1, $10, $B2, $AC, $16 ; CPU:$FEFC PRG:3EFC 00 D3 00 70 00 64 4E 13 38 90 C2 E1 10 B2 AC 16 + .byte $1B, $80, $16, $F2, $B1, $96, $60, $99, $73, $16, $17, $17, $CC, $C6, $E5, $3E ; CPU:$FF0C PRG:3F0C 1B 80 16 F2 B1 96 60 99 73 16 17 17 CC C6 E5 3E + .byte $FF, $A6, $81, $91, $51, $15, $19, $15, $46, $FF, $FC, $23, $E2, $20, $22, $10 ; CPU:$FF1C PRG:3F1C FF A6 81 91 51 15 19 15 46 FF FC 23 E2 20 22 10 + .byte $20, $84, $18, $18, $46, $81, $00, $10, $20, $14, $0B, $FF, $B8, $E0, $0E, $07 ; CPU:$FF2C PRG:3F2C 20 84 18 18 46 81 00 10 20 14 0B FF B8 E0 0E 07 + .byte $00, $30, $04, $00, $06, $87, $09, $F4, $92, $49, $24, $92, $49, $C0, $38, $8D ; CPU:$FF3C PRG:3F3C 00 30 04 00 06 87 09 F4 92 49 24 92 49 C0 38 8D + .byte $35, $D3, $2F, $10, $A8, $44, $66, $11, $0B, $85, $42, $D2, $F7, $53, $FE, $37 ; CPU:$FF4C PRG:3F4C 35 D3 2F 10 A8 44 66 11 0B 85 42 D2 F7 53 FE 37 + .byte $51, $0B, $A8, $C2, $E2, $31, $29, $4C, $2C, $33, $23, $8A, $B4, $AA, $2D, $55 ; CPU:$FF5C PRG:3F5C 51 0B A8 C2 E2 31 29 4C 2C 33 23 8A B4 AA 2D 55 + .byte $45, $55, $76, $01, $3F, $92, $43, $20, $00, $24, $EC, $12, $48, $CC, $72, $33 ; CPU:$FF6C PRG:3F6C 45 55 76 01 3F 92 43 20 00 24 EC 12 48 CC 72 33 + .byte $7C, $C9, $EA, $6B, $9F, $5E, $0B, $28, $34, $39, $A0, $C8, $B8, $1C, $51, $0E ; CPU:$FF7C PRG:3F7C 7C C9 EA 6B 9F 5E 0B 28 34 39 A0 C8 B8 1C 51 0E + .byte $8C, $43, $21, $D9, $04, $21, $72, $08, $5E, $22, $17, $0A, $7E, $C7, $01, $92 ; CPU:$FF8C PRG:3F8C 8C 43 21 D9 04 21 72 08 5E 22 17 0A 7E C7 01 92 + .byte $48, $1C, $0E, $19, $24, $D6, $C9, $39, $91, $45, $A2, $A5, $55, $55, $AA, $81 ; CPU:$FF9C PRG:3F9C 48 1C 0E 19 24 D6 C9 39 91 45 A2 A5 55 55 AA 81 + .byte $EB, $05, $96, $F3, $7A, $DD, $88, $5C, $A2, $17, $9C, $3A, $C1, $66, $F4, $FC ; CPU:$FFAC PRG:3FAC EB 05 96 F3 7A DD 88 5C A2 17 9C 3A C1 66 F4 FC + .byte $FF, $57, $B1, $0B, $8E, $44, $25, $30, $BA, $94, $46, $1A, $37, $92, $D7, $75 ; CPU:$FFBC PRG:3FBC FF 57 B1 0B 8E 44 25 30 BA 94 46 1A 37 92 D7 75 + .byte $CB, $65, $F3, $0E, $49, $24, $92, $58, $60, $0E, $00, $01, $C0, $07, $05, $02 ; CPU:$FFCC PRG:3FCC CB 65 F3 0E 49 24 92 58 60 0E 00 01 C0 07 05 02 + .byte $53, $0B, $8D, $42, $E4, $30, $88, $4C, $3C, $48, $7D, $82, $17, $18, $85, $CA ; CPU:$FFDC PRG:3FDC 53 0B 8D 42 E4 30 88 4C 3C 48 7D 82 17 18 85 CA + .byte $04, $B4, $C2, $E3, $10, $B1, $74, $13, $CE, $34, $95, $80, $FF ; CPU:$FFEC PRG:3FEC 04 B4 C2 E3 10 B1 74 13 CE 34 95 80 FF +; ----------------------------------------------------------------------------- +; Routine: IrqHandler +; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. +; Local: Continues its parent routine along the condition or operation encoded in this label, +; then returns, branches again, or rejoins shared code as documented by the instructions. +; Parameters: Undetermined in Pass 1 unless implied by the caller. +; Returns: Undetermined in Pass 1; status flags and registers may carry results. +; Clobbers: Undetermined in Pass 1. +; ----------------------------------------------------------------------------- +IrqHandler: + rti ; CPU:$FFF9 PRG:3FF9 40 +; ---- data $FFFA-$FFFF (6 bytes) ---- + .byte $2C, $C0, $00, $C0, $F9, $FF ; CPU:$FFFA PRG:3FFA 2C C0 00 C0 F9 FF diff --git a/Lode Runner (U)/copilot/reconstructed.lbl b/Lode Runner (U)/copilot/reconstructed.lbl new file mode 100644 index 0000000..f9eaa14 --- /dev/null +++ b/Lode Runner (U)/copilot/reconstructed.lbl @@ -0,0 +1,630 @@ +al 00FFF9 .IrqHandler +al 00EA04 .Sub_EA04_Return_EA04 +al 00EA00 .Sub_E9FE_OnNonzero_EA00 +al 00E9FE .Sub_E9FE_Return_E9FE +al 00E9FC .Sub_E9B8_OnNonzero_E9FC +al 00E9C5 .Sub_E9B8_OnNonzero_E9C5 +al 00E9B8 .Sub_E9B8_Return_E9B8 +al 00E9B2 .Sub_E99D_OnNonzero_E9B2 +al 00E9A9 .Sub_E99D_OnNonzero_E9A9 +al 00E99D .Sub_E99D_Continue_E99D +al 00E9A0 .Sub_E99D_OnNonzero_E9A0 +al 00E998 .Sub_E998_JumpNext_E998 +al 00E98B .Sub_E98B_CallNext_E98B +al 00E98F .Sub_E98B_OnCarrySet_E98F +al 00E983 .Sub_E97D_OnNonzero_E983 +al 00E97D .Sub_E97D_JumpNext_E97D +al 00E95B .Sub_E92C_OnNonzero_E95B +al 00E94C .Sub_E92C_OnNonzero_E94C +al 00E944 .Sub_E92C_OnNonzero_E944 +al 00E937 .Sub_E92C_OnNonzero_E937 +al 00E92C .Sub_E92C_Return_E92C +al 00E921 .Sub_E90F_OnNonzero_E921 +al 00E913 .Sub_E90F_OnNonzero_E913 +al 00E90F .Sub_E90F_Return_E90F +al 00E904 .Sub_E8FB_OnNonzero_E904 +al 00E8FB .Sub_E8FB_Return_E8FB +al 00E8ED .Sub_E8E1_OnNonzero_E8ED +al 00E8E1 .Sub_E8E1_OnZero_E8E1 +al 00E8D8 .Sub_E886_JoinBranchPaths_E8D8 +al 00E8DA .Sub_E886_OnZero_E8DA +al 00E8AD .Sub_E886_OnNonzero_E8AD +al 00E8D5 .Sub_E886_JoinBranchPaths_E8D5 +al 00E897 .Sub_E886_OnNonzero_E897 +al 00E89A .Sub_E886_OnCarrySet_E89A +al 00E88B .Sub_E886_OnNonzero_E88B +al 00E889 .Sub_E886_JoinBranchPaths_E889 +al 00E886 .Sub_E886_JumpNext_E886 +al 00E883 .Sub_E883_Return_E883 +al 00E877 .Sub_E877_Return_E877 +al 00E870 .Sub_E870_Return_E870 +al 00E86F .Sub_E869_OnNonzero_E86F +al 00E869 .Sub_E869_Entry_E869 +al 00E84E .Sub_E84E_JumpNext_E84E +al 00E844 .Sub_E844_JumpNext_E844 +al 00E839 .Sub_E814_OnNonzero_E839 +al 00E82F .Sub_E814_OnZero_E82F +al 00E819 .Sub_E814_OnZero_E819 +al 00E81C .Sub_E814_OnCarrySet_E81C +al 00E814 .Sub_E814_Continue_E814 +al 00E83B .Sub_E814_OnNonzero_E83B +al 00E80D .Sub_E7C7_OnNonzero_E80D +al 00E7F3 .Sub_E7C7_OnZero_E7F3 +al 00E7D8 .Sub_E7C7_OnCarryClear_E7D8 +al 00E7C7 .Sub_E7C7_OnNonzero_E7C7 +al 00E7B8 .Sub_E7B8_Return_E7B8 +al 00E7B2 .Sub_E7B2_JumpNext_E7B2 +al 00E79A .Sub_E791_OnNonzero_E79A +al 00E795 .Sub_E791_OnNonzero_E795 +al 00E791 .Sub_E791_Return_E791 +al 00E789 .Sub_E789_Return_E789 +al 00E77C .Sub_E75D_OnNonzero_E77C +al 00E773 .Sub_E75D_OnNonzero_E773 +al 00E76C .Sub_E75D_OnNonzero_E76C +al 00E75F .Sub_E75D_OnNonzero_E75F +al 00E75D .Sub_E75D_Continue_E75D +al 00E743 .Sub_E6F4_JoinBranchPaths_E743 +al 00E720 .Sub_E6F4_OnZero_E720 +al 00E70A .Sub_E6F4_OnCarrySet_E70A +al 00E6F4 .Sub_E6F4_OnNonzero_E6F4 +al 00E718 .Sub_E6F4_OnCarrySet_E718 +al 00E702 .Sub_E6F4_JoinBranchPaths_E702 +al 00E724 .Sub_E6F4_OnCarrySet_E724 +al 00E753 .Sub_E6F4_OnCarrySet_E753 +al 00E749 .Sub_E6F4_OnCarrySet_E749 +al 00E73D .Sub_E6F4_OnCarrySet_E73D +al 00E733 .Sub_E6F4_OnCarrySet_E733 +al 00E6C5 .Sub_E6B0_OnZero_E6C5 +al 00E6D2 .Sub_E6B0_OnNonzero_E6D2 +al 00E6C1 .Sub_E6B0_OnNonzero_E6C1 +al 00E6B7 .Sub_E6B0_JoinBranchPaths_E6B7 +al 00E6B0 .Sub_E6B0_Continue_E6B0 +al 00E6AA .Sub_E690_OnZero_E6AA +al 00E6CD .Sub_E6B0_OnNonzero_E6CD +al 00E6A6 .Sub_E690_OnNonzero_E6A6 +al 00E69C .Sub_E690_OnNonzero_E69C +al 00E695 .Sub_E690_OnZero_E695 +al 00E690 .Sub_E690_StoreIndexAndContinue_E690 +al 00E664 .Sub_E664_Entry_E664 +al 00E2A2 .Sub_E2A2_Entry_E2A2 +al 00E28F .Sub_E271_OnCarrySet_E28F +al 00E271 .Sub_E271_Return_E271 +al 00E270 .Sub_E258_JoinBranchPaths_E270 +al 00E25F .Sub_E258_OnNonzero_E25F +al 00E258 .Sub_E258_Return_E258 +al 00E242 .Sub_E242_Return_E242 +al 00E226 .Sub_E226_Continue_E226 +al 00E22C .Sub_E226_OnNonzero_E22C +al 00E21E .Sub_E21E_Continue_E21E +al 00E218 .Sub_E218_Continue_E218 +al 00E22A .Sub_E226_OnNonzero_E22A +al 00E212 .Sub_E212_Continue_E212 +al 00E20C .Sub_E20C_Continue_E20C +al 00E222 .Sub_E21E_OnNonzero_E222 +al 00E206 .Sub_E206_JumpNext_E206 +al 00E1F6 .Sub_E1DB_OnNonzero_E1F6 +al 00E1E2 .Sub_E1DB_OnNonzero_E1E2 +al 00E1DB .Sub_E1DB_Return_E1DB +al 00E1D4 .Sub_E1D2_OnNonzero_E1D4 +al 00E1D2 .Sub_E1D2_Return_E1D2 +al 00E1C8 .Sub_E192_OnNonzero_E1C8 +al 00E1C5 .Sub_E192_OnNonzero_E1C5 +al 00E1C6 .Sub_E192_OnCarrySet_E1C6 +al 00E1C2 .Sub_E192_OnZero_E1C2 +al 00E1B6 .Sub_E192_OnNonzero_E1B6 +al 00E1A2 .Sub_E192_OnZero_E1A2 +al 00E1B4 .Sub_E192_JoinBranchPaths_E1B4 +al 00E192 .Sub_E192_Return_E192 +al 00E189 .Sub_E172_OnNonzero_E189 +al 00E172 .Sub_E172_Return_E172 +al 00E16D .Sub_E163_OnNonzero_E16D +al 00E163 .Sub_E163_OnNonzero_E163 +al 00E15D .Sub_E015_OnNonzero_E15D +al 00E136 .Sub_E015_OnNonzero_E136 +al 00E124 .Sub_E015_OnNonzero_E124 +al 00E171 .Sub_E163_OnNonzero_E171 +al 00E0FB .Sub_E015_OnCarrySet_E0FB +al 00E0BC .Sub_E015_OnZero_E0BC +al 00E09D .Sub_E015_OnZero_E09D +al 00E06B .Sub_E015_OnZero_E06B +al 00E05E .Sub_E015_OnNonzero_E05E +al 00E045 .Sub_E015_OnNonzero_E045 +al 00E038 .Sub_E015_OnNonzero_E038 +al 00E015 .Sub_E015_Return_E015 +al 00E00E .Sub_E00E_JumpNext_E00E +al 00E008 .Sub_DFEE_OnNonzero_E008 +al 00DFF8 .Sub_DFEE_OnCarryClear_DFF8 +al 00DFF0 .Sub_DFEE_OnNonzero_DFF0 +al 00DFEE .Sub_DFEE_LoadAndContinue_DFEE +al 00DFE5 .Sub_DFE5_Return_DFE5 +al 00DFE1 .Sub_DFCB_OnZero_DFE1 +al 00DFCB .Sub_DFCB_Return_DFCB +al 00DFBF .Sub_DFBD_OnNonnegative_DFBF +al 00DFBD .Sub_DFBD_JumpNext_DFBD +al 00DFAD .Sub_DFAD_CallNext_DFAD +al 00DF6B .Sub_DF3C_OnNonzero_DF6B +al 00DF5D .Sub_DF3C_OnNonzero_DF5D +al 00DF3C .Sub_DF3C_JumpNext_DF3C +al 00DF2D .Sub_DF2D_Return_DF2D +al 00DF1F .Sub_DF1F_JumpNext_DF1F +al 00DF0C .Sub_DF0C_CallNext_DF0C +al 00DF09 .Sub_DF09_JumpNext_DF09 +al 00DF03 .Sub_DF03_Return_DF03 +al 00DEFC .Sub_DEE2_OnNonzero_DEFC +al 00DEEF .Sub_DEE2_OnNonzero_DEEF +al 00DEEB .Sub_DEE2_OnNonzero_DEEB +al 00DEE2 .Sub_DEE2_CallNext_DEE2 +al 00DEDC .Sub_DEDC_Return_DEDC +al 00DED5 .Sub_DED3_OnNonzero_DED5 +al 00DED3 .Sub_DED3_CallNext_DED3 +al 00DEC6 .Sub_DEC6_Return_DEC6 +al 00DEC0 .Sub_DEC0_Continue_DEC0 +al 00DEBA .Sub_DEB5_OnNonzero_DEBA +al 00DEB5 .Sub_DEB5_CallNext_DEB5 +al 00DE9F .Sub_DE9F_Entry_DE9F +al 00DD84 .Sub_DD7A_OnZero_DD84 +al 00DD7A .Sub_DD7A_OnNonzero_DD7A +al 00DD6F .Sub_DD6F_Entry_DD6F +al 00DD58 .Sub_DD58_Continue_DD58 +al 00DD62 .Sub_DD58_OnNonzero_DD62 +al 00DD4F .Sub_DD4F_Entry_DD4F +al 00DD30 .Sub_DCBC_OnNonzero_DD30 +al 00DD21 .Sub_DCBC_OnNonzero_DD21 +al 00DCBC .Sub_DCBC_Return_DCBC +al 00DCB1 .Sub_DCB1_JumpNext_DCB1 +al 00DC93 .Sub_DC93_Continue_DC93 +al 00DC86 .Sub_DC86_Continue_DC86 +al 00DC9E .Sub_DC93_JoinBranchPaths_DC9E +al 00DC79 .Sub_DC79_Return_DC79 +al 00DC68 .Sub_DC68_Continue_DC68 +al 00DC76 .Sub_DC68_OnNonzero_DC76 +al 00DC64 .Sub_DC2A_JoinBranchPaths_DC64 +al 00DC5F .Sub_DC2A_OnZero_DC5F +al 00DC2A .Sub_DC2A_Return_DC2A +al 00DC26 .Sub_DC04_OnCarryClear_DC26 +al 00DC0F .Sub_DC04_OnNonzero_DC0F +al 00DC04 .Sub_DC04_Return_DC04 +al 00DC03 .Sub_DBDE_OnZero_DC03 +al 00DBDE .Sub_DBDE_Return_DBDE +al 00DBB8 .Sub_DBB8_Entry_DBB8 +al 00DBA1 .Sub_DB94_OnCarryClear_DBA1 +al 00DB94 .Sub_DB94_Return_DB94 +al 00DB93 .Sub_DB86_OnZero_DB93 +al 00DB8C .Sub_DB86_OnCarryClear_DB8C +al 00DB8F .Sub_DB86_OnCarryClear_DB8F +al 00DB86 .Sub_DB86_Return_DB86 +al 00DB83 .Sub_DB27_OnNonzero_DB83 +al 00DB85 .Sub_DB27_JoinBranchPaths_DB85 +al 00DB80 .Sub_DB27_OnZero_DB80 +al 00DB27 .Sub_DB27_Return_DB27 +al 00DB24 .Sub_DAA2_OnNonzero_DB24 +al 00DB20 .Sub_DAA2_OnZero_DB20 +al 00DB26 .Sub_DAA2_JoinBranchPaths_DB26 +al 00DAE4 .Sub_DAA2_OnNonzero_DAE4 +al 00DAE0 .Sub_DAA2_OnZero_DAE0 +al 00DAE6 .Sub_DAA2_JoinBranchPaths_DAE6 +al 00DAA8 .Sub_DAA2_OnNonnegative_DAA8 +al 00DAA2 .Sub_DAA2_Return_DAA2 +al 00DA9C .Sub_DA21_OnCarrySet_DA9C +al 00DA89 .Sub_DA21_OnZero_DA89 +al 00DA9F .Sub_DA21_OnCarrySet_DA9F +al 00DA5E .Sub_DA21_OnZero_DA5E +al 00DA66 .Sub_DA21_JoinBranchPaths_DA66 +al 00DA91 .Sub_DA21_JoinBranchPaths_DA91 +al 00DA21 .Sub_DA21_StoreIndexAndContinue_DA21 +al 00DA1D .Sub_DA1D_Return_DA1D +al 00DA1A .Sub_D9A0_OnZero_DA1A +al 00DA15 .Sub_D9A0_OnCarryClear_DA15 +al 00DA02 .Sub_D9A0_OnZero_DA02 +al 00DA0C .Sub_D9A0_JoinBranchPaths_DA0C +al 00DA17 .Sub_D9A0_JoinBranchPaths_DA17 +al 00D9CE .Sub_D9A0_OnZero_D9CE +al 00D9D8 .Sub_D9A0_JoinBranchPaths_D9D8 +al 00D9A0 .Sub_D9A0_StoreIndexAndContinue_D9A0 +al 00D99C .Sub_D99C_Return_D99C +al 00D999 .Sub_D970_OnNonzero_D999 +al 00D990 .Sub_D970_OnCarryClear_D990 +al 00D97F .Sub_D970_OnCarryClear_D97F +al 00D987 .Sub_D970_OnNonzero_D987 +al 00D970 .Sub_D970_Return_D970 +al 00D96F .Sub_D91F_JoinBranchPaths_D96F +al 00D94A .Sub_D91F_JoinBranchPaths_D94A +al 00D91F .Sub_D91F_JumpNext_D91F +al 00D91A .Sub_D8C4_JoinBranchPaths_D91A +al 00D8F5 .Sub_D8C4_JoinBranchPaths_D8F5 +al 00D8C4 .Sub_D8C4_Return_D8C4 +al 00D8BE .Sub_D868_JoinBranchPaths_D8BE +al 00D899 .Sub_D868_JoinBranchPaths_D899 +al 00D8C3 .Sub_D868_OnZero_D8C3 +al 00D868 .Sub_D868_Return_D868 +al 00D844 .Sub_D7C2_OnZero_D844 +al 00D84D .Sub_D84D_OnZero_D84D +al 00D813 .Sub_D7C2_OnZero_D813 +al 00D7EB .Sub_D7C2_OnNonzero_D7EB +al 00D81C .Sub_D7C2_JoinBranchPaths_D81C +al 00D7E3 .Sub_D7C2_OnZero_D7E3 +al 00D7DA .Sub_D7C2_JoinBranchPaths_D7DA +al 00D7C2 .Sub_D7C2_Entry_D7C2 +al 00D748 .Sub_D748_Entry_D748 +al 00D5F0 .Sub_D5F0_OnCarryClear_D5F0 +al 00D5DC .Sub_D5DC_JumpNext_D5DC +al 00D5CA .Sub_D5CA_CallNext_D5CA +al 00D5BB .Sub_D571_OnZero_D5BB +al 00D5D5 .Sub_D5CA_JoinBranchPaths_D5D5 +al 00D59A .Sub_D571_OnNonzero_D59A +al 00D587 .Sub_D571_OnNonzero_D587 +al 00D56D .Sub_D4C1_OnNonnegative_D56D +al 00D571 .Sub_D571_OnNonzero_D571 +al 00D574 .Sub_D571_OnCarrySet_D574 +al 00D53F .Sub_D4C1_JoinBranchPaths_D53F +al 00D505 .Sub_D4C1_OnNonzero_D505 +al 00D53C .Sub_D4C1_OnZero_D53C +al 00D4EB .Sub_D4C1_OnZero_D4EB +al 00D4E1 .Sub_D4C1_OnCarrySet_D4E1 +al 00D4EE .Sub_D4C1_JoinBranchPaths_D4EE +al 00D4CD .Sub_D4C1_OnCarrySet_D4CD +al 00D4C1 .Sub_D4C1_Return_D4C1 +al 00D4BC .Sub_D49C_OnCarryClear_D4BC +al 00D4B1 .Sub_D49C_OnNonzero_D4B1 +al 00D4AC .Sub_D49C_OnCarryClear_D4AC +al 00D4C0 .Sub_D49C_OnZero_D4C0 +al 00D49C .Sub_D49C_Continue_D49C +al 00D46E .Sub_D46E_Continue_D46E +al 00D46A .Sub_D415_OnCarryClear_D46A +al 00D462 .Sub_D415_OnCarryClear_D462 +al 00D440 .Sub_D415_OnNonzero_D440 +al 00D45A .Sub_D415_OnCarryClear_D45A +al 00D477 .Sub_D46E_OnZero_D477 +al 00D470 .Sub_D46E_JoinBranchPaths_D470 +al 00D41C .Sub_D415_OnNonzero_D41C +al 00D415 .Sub_D415_JumpNext_D415 +al 00D476 .Sub_D46E_JoinBranchPaths_D476 +al 00D404 .Sub_D404_Continue_D404 +al 00D40D .Sub_D40D_OnNonzero_D40D +al 00D3E4 .Sub_D320_OnZero_D3E4 +al 00D3CE .Sub_D320_OnCarryClear_D3CE +al 00D3C7 .Sub_D320_OnZero_D3C7 +al 00D3BA .Sub_D320_OnNonnegative_D3BA +al 00D401 .Sub_D320_OnNonzero_D401 +al 00D3A5 .Sub_D320_OnNonzero_D3A5 +al 00D3A3 .Sub_D320_JoinBranchPaths_D3A3 +al 00D389 .Sub_D320_OnNonzero_D389 +al 00D38C .Sub_D320_OnZero_D38C +al 00D37F .Sub_D320_OnNonzero_D37F +al 00D379 .Sub_D320_OnNonzero_D379 +al 00D359 .CheckBallPosition +al 00D351 .Sub_D320_OnNonzero_D351 +al 00D33F .Sub_D320_OnNonzero_D33F +al 00D349 .Sub_D320_OnNonzero_D349 +al 00D361 .Sub_D320_OnZero_D361 +al 00D346 .Sub_D320_JoinBranchPaths_D346 +al 00D320 .Sub_D320_LoadIndexAndContinue_D320 +al 00D31E .Sub_D30F_OnCarryClear_D31E +al 00D30F .Sub_D30F_Return_D30F +al 00D30A .Sub_D30A_Return_D30A +al 00D305 .Sub_D305_Return_D305 +al 00D2FA .Sub_D2FA_Return_D2FA +al 00D2EF .Sub_D2EF_Continue_D2EF +al 00D2E9 .CheckBallPocket +al 00D2E3 .Sub_D2E3_OnZero_D2E3 +al 00D2DA .Sub_D2D0_OnNonzero_D2DA +al 00D2D0 .Sub_D2D0_Continue_D2D0 +al 00D2CA .Sub_D2C4_OnZero_D2CA +al 00D2C4 .Sub_D2C4_OnZero_D2C4 +al 00D2BB .Sub_D2B1_OnNonzero_D2BB +al 00D2B1 .Sub_D2B1_Continue_D2B1 +al 00D2AA .Sub_D291_OnZero_D2AA +al 00D295 .Sub_D291_OnNonzero_D295 +al 00D2AB .Sub_D2AB_OnZero_D2AB +al 00D291 .Sub_D291_OnZero_D291 +al 00D288 .Sub_D27E_OnNonzero_D288 +al 00D27E .Sub_D27E_Return_D27E +al 00D27D .Sub_D23F_OnZero_D27D +al 00D263 .Sub_D23F_OnNonzero_D263 +al 00D23F .Sub_D23F_JumpNext_D23F +al 00D239 .Sub_D239_Return_D239 +al 00D238 .Sub_D226_OnZero_D238 +al 00D233 .Sub_D226_OnCarryClear_D233 +al 00D226 .Sub_D226_Return_D226 +al 00D225 .Sub_D213_OnZero_D225 +al 00D220 .Sub_D213_OnCarryClear_D220 +al 00D213 .Sub_D213_Return_D213 +al 00D202 .Sub_D1AD_OnCarrySet_D202 +al 00D207 .Sub_D1AD_OnNonzero_D207 +al 00D1DA .Sub_D1AD_JoinBranchPaths_D1DA +al 00D1D1 .Sub_D1AD_OnZero_D1D1 +al 00D1B7 .Sub_D1AD_OnNonzero_D1B7 +al 00D1B5 .Sub_D1AD_OnZero_D1B5 +al 00D1AD .Sub_D1AD_DecrementAndContinue_D1AD +al 00D1A2 .Sub_D18F_OnNonzero_D1A2 +al 00D18F .Sub_D18F_Entry_D18F +al 00D176 .Sub_D0F5_JoinBranchPaths_D176 +al 00D146 .Sub_D0F5_OnNonzero_D146 +al 00D135 .Sub_D0F5_OnNonzero_D135 +al 00D153 .Sub_D0F5_OnZero_D153 +al 00D118 .Sub_D0F5_OnNegative_D118 +al 00D0F5 .Sub_D0F5_JoinBranchPaths_D0F5 +al 00D0FB .Sub_D0F5_JoinBranchPaths_D0FB +al 00D0E4 .Sub_D097_JoinBranchPaths_D0E4 +al 00D097 .Sub_D097_Return_D097 +al 00D096 .Sub_D075_OnZero_D096 +al 00D075 .Sub_D075_Return_D075 +al 00D06D .Sub_D067_OnCarryClear_D06D +al 00D070 .Sub_D067_OnCarryClear_D070 +al 00D067 .Sub_D067_Return_D067 +al 00D056 .Sub_D055_OnNonzero_D056 +al 00D055 .Sub_D055_Entry_D055 +al 00D02B .Sub_D02B_Return_D02B +al 00D023 .Sub_D023_JoinBranchPaths_D023 +al 00D02A .Sub_D023_OnNonzero_D02A +al 00CFDF .Sub_CFDF_Return_CFDF +al 00CFDE .Sub_CFD8_OnNonzero_CFDE +al 00CFD8 .Sub_CFD8_CallNext_CFD8 +al 00CFC8 .Sub_CFB1_OnZero_CFC8 +al 00CFBC .Sub_CFB1_OnZero_CFBC +al 00CFBF .Sub_CFB1_OnNonzero_CFBF +al 00CFB1 .Sub_CFB1_JumpNext_CFB1 +al 00CFA5 .Sub_CFA5_OnZero_CFA5 +al 00CFAB .Sub_CFA5_OnZero_CFAB +al 00CF6D .Sub_CF29_OnCarrySet_CF6D +al 00CF6F .Sub_CF29_OnCarrySet_CF6F +al 00CF63 .Sub_CF29_OnZero_CF63 +al 00CF8B .Sub_CF29_OnNonzero_CF8B +al 00CF29 .Sub_CF29_StoreAndContinue_CF29 +al 00CF21 .Sub_CF21_JumpNext_CF21 +al 00CF1E .Sub_CF12_JoinBranchPaths_CF1E +al 00CF12 .Sub_CF12_OnZero_CF12 +al 00CF18 .Sub_CF12_OnZero_CF18 +al 00CEDA .Sub_CE98_OnCarrySet_CEDA +al 00CEDC .Sub_CE98_OnCarrySet_CEDC +al 00CED0 .Sub_CE98_OnZero_CED0 +al 00CEF8 .Sub_CE98_OnNonzero_CEF8 +al 00CE98 .Sub_CE98_StoreAndContinue_CE98 +al 00CE90 .Sub_CE90_JumpNext_CE90 +al 00CE8D .Sub_CE37_JoinBranchPaths_CE8D +al 00CE74 .Sub_CE37_OnNonzero_CE74 +al 00CE8A .Sub_CE37_OnCarryClear_CE8A +al 00CE58 .Sub_CE37_JoinBranchPaths_CE58 +al 00CE5A .Sub_CE37_JoinBranchPaths_CE5A +al 00CE37 .Sub_CE37_Return_CE37 +al 00CE28 .Sub_CE28_OnNonzero_CE28 +al 00CE11 .Sub_CDB6_OnNonzero_CE11 +al 00CE25 .Sub_CE25_OnNonnegative_CE25 +al 00CDFB .Sub_CDB6_JoinBranchPaths_CDFB +al 00CDD6 .Sub_CDB6_JoinBranchPaths_CDD6 +al 00CDD8 .Sub_CDB6_OnZero_CDD8 +al 00CDB6 .Sub_CDB6_JumpNext_CDB6 +al 00CDB0 .Sub_CD4C_OnNonzero_CDB0 +al 00CDA9 .Sub_CD4C_OnZero_CDA9 +al 00CD98 .Sub_CD4C_OnZero_CD98 +al 00CD86 .Sub_CD4C_OnNonzero_CD86 +al 00CD95 .Sub_CD4C_OnCarryClear_CD95 +al 00CD6C .Sub_CD4C_OnZero_CD6C +al 00CD6D .Sub_CD4C_JoinBranchPaths_CD6D +al 00CD4C .Sub_CD4C_JumpNext_CD4C +al 00CD46 .Sub_CCE8_OnNonzero_CD46 +al 00CD3F .Sub_CCE8_OnZero_CD3F +al 00CD2E .Sub_CCE8_OnNonzero_CD2E +al 00CD1C .Sub_CCE8_OnNonzero_CD1C +al 00CD2B .Sub_CCE8_OnNonnegative_CD2B +al 00CD06 .Sub_CCE8_OnZero_CD06 +al 00CD07 .Sub_CCE8_JoinBranchPaths_CD07 +al 00CCE8 .Sub_CCE8_Return_CCE8 +al 00CCE7 .Sub_CC64_OnCarryClear_CCE7 +al 00CCD0 .Sub_CC64_OnCarrySet_CCD0 +al 00CCD1 .Sub_CC64_JoinBranchPaths_CCD1 +al 00CCC2 .Sub_CC64_OnZero_CCC2 +al 00CCBA .Sub_CC64_OnZero_CCBA +al 00CCA7 .Sub_CC64_OnZero_CCA7 +al 00CC9C .Sub_CC64_OnZero_CC9C +al 00CCB2 .Sub_CC64_JoinBranchPaths_CCB2 +al 00CC91 .Sub_CC64_OnZero_CC91 +al 00CC75 .Sub_CC64_OnNonzero_CC75 +al 00CC7D .Sub_CC64_OnNonzero_CC7D +al 00CC64 .Sub_CC64_JumpNext_CC64 +al 00CC52 .Sub_CBAA_OnNonzero_CC52 +al 00CC3F .Sub_CBAA_OnCarrySet_CC3F +al 00CC23 .Sub_CBAA_OnZero_CC23 +al 00CC06 .Sub_CBAA_JoinBranchPaths_CC06 +al 00CBD1 .Sub_CBAA_OnNonzero_CBD1 +al 00CC03 .Sub_CBAA_OnZero_CC03 +al 00CBB7 .Sub_CBAA_OnNonnegative_CBB7 +al 00CBBA .Sub_CBAA_OnZero_CBBA +al 00CBAA .Sub_CBAA_Return_CBAA +al 00CBA3 .Sub_CB9F_OnNonzero_CBA3 +al 00CB9F .Sub_CB9F_Continue_CB9F +al 00CB8C .Sub_CB8C_Return_CB8C +al 00CB8B .Sub_CB46_JoinBranchPaths_CB8B +al 00CB6C .Sub_CB46_OnNonzero_CB6C +al 00CB7A .Sub_CB46_OnNonzero_CB7A +al 00CB7F .Sub_CB46_OnNegative_CB7F +al 00CB84 .Sub_CB46_OnZero_CB84 +al 00CB46 .Sub_CB46_StoreIndexAndContinue_CB46 +al 00CB42 .Sub_CB22_OnNonzero_CB42 +al 00CB22 .Sub_CB22_Entry_CB22 +al 00CB00 .Sub_CAD2_OnNonzero_CB00 +al 00CB08 .Sub_CAD2_OnZero_CB08 +al 00CAD2 .Sub_CAD2_Return_CAD2 +al 00CACF .Sub_CA9F_OnNonzero_CACF +al 00CACA .Sub_CA9F_OnNonzero_CACA +al 00CAC1 .Sub_CA9F_OnCarryClear_CAC1 +al 00CAB2 .Sub_CA9F_OnNonzero_CAB2 +al 00CA9F .Sub_CA9F_OnAdd_CA9F +al 00CA9C .Sub_CA7C_JoinBranchPaths_CA9C +al 00CA7C .Sub_CA7C_Return_CA7C +al 00CA57 .Sub_CA57_Return_CA57 +al 00CA35 .Sub_CA2F_OnNonzero_CA35 +al 00CA2F .Sub_CA2F_Return_CA2F +al 00CA2E .Sub_CA26_OnZero_CA2E +al 00CA26 .Sub_CA26_Continue_CA26 +al 00CA28 .Sub_CA26_JoinBranchPaths_CA28 +al 00CA22 .Sub_CA22_JumpNext_CA22 +al 00CA1C .Sub_CA1C_JumpNext_CA1C +al 00CA01 .Sub_C97B_OnNonzero_CA01 +al 00C9FB .Sub_C97B_OnCarrySet_C9FB +al 00CA15 .Sub_C97B_OnNonzero_CA15 +al 00C9DA .Sub_C97B_OnNonzero_C9DA +al 00CA16 .Sub_CA16_JoinBranchPaths_CA16 +al 00C99E .Sub_C97B_OnNonzero_C99E +al 00C994 .Sub_C97B_OnNonnegative_C994 +al 00C990 .Sub_C97B_OnNonnegative_C990 +al 00C97B .Sub_C97B_Return_C97B +al 00C971 .Sub_C94B_OnNonnegative_C971 +al 00C960 .Sub_C94B_OnNonnegative_C960 +al 00C953 .Sub_C94B_OnNonnegative_C953 +al 00C94B .Sub_C94B_Return_C94B +al 00C94A .Sub_C937_OnNegative_C94A +al 00C937 .Sub_C937_StoreIndexAndContinue_C937 +al 00C93B .Sub_C937_OnNonzero_C93B +al 00C923 .Sub_C8CD_OnNonzero_C923 +al 00C8F8 .Sub_C8CD_OnNonzero_C8F8 +al 00C8EC .Sub_C8CD_OnCarrySet_C8EC +al 00C8F2 .Sub_C8CD_OnNonzero_C8F2 +al 00C8D4 .Sub_C8CD_OnNonnegative_C8D4 +al 00C8CD .Sub_C8CD_StoreIndexAndContinue_C8CD +al 00C8BF .Sub_C88F_OnNonnegative_C8BF +al 00C8B7 .Sub_C88F_OnNonnegative_C8B7 +al 00C88F .Sub_C88F_Entry_C88F +al 00C877 .Sub_C860_OnNonzero_C877 +al 00C87B .Sub_C860_OnZero_C87B +al 00C86F .Sub_C860_OnZero_C86F +al 00C860 .Sub_C860_Return_C860 +al 00C855 .Sub_C855_CallNext_C855 +al 00C852 .Sub_C852_StoreAndContinue_C852 +al 00C84E .Sub_C84E_JumpNext_C84E +al 00C848 .Sub_C848_StoreAndContinue_C848 +al 00C844 .Sub_C844_JumpNext_C844 +al 00C837 .Sub_C837_Return_C837 +al 00C82F .Sub_C82F_Return_C82F +al 00C81D .Sub_C81D_TransferIndexAndContinue_C81D +al 00C81C .Sub_C81C_Return_C81C +al 00C80B .Sub_C7FE_OnNonzero_C80B +al 00C802 .Sub_C7FE_OnNonzero_C802 +al 00C7FE .Sub_C7FE_OnZero_C7FE +al 00C7D1 .Sub_C725_OnNonzero_C7D1 +al 00C7CC .Sub_C725_OnZero_C7CC +al 00C7BA .Sub_C725_OnNonzero_C7BA +al 00C7AF .Sub_C725_OnNonzero_C7AF +al 00C7B7 .Sub_C725_OnZero_C7B7 +al 00C7A0 .Sub_C725_OnZero_C7A0 +al 00C78F .Sub_C725_OnNonzero_C78F +al 00C771 .Sub_C725_OnNonzero_C771 +al 00C76A .Sub_C725_OnNonzero_C76A +al 00C758 .Sub_C725_OnNonzero_C758 +al 00C74F .Sub_C725_OnNonzero_C74F +al 00C7C1 .Sub_C725_OnZero_C7C1 +al 00C741 .Sub_C725_OnNonzero_C741 +al 00C74D .Sub_C725_OnZero_C74D +al 00C767 .Sub_C725_OnZero_C767 +al 00C785 .Sub_C725_OnZero_C785 +al 00C79E .Sub_C725_OnZero_C79E +al 00C725 .Sub_C725_StoreAndContinue_C725 +al 00C721 .Sub_C721_StoreAndContinue_C721 +al 00C711 .Sub_C711_Entry_C711 +al 00C66B .Sub_C663_OnNonzero_C66B +al 00C663 .Sub_C663_Return_C663 +al 00C641 .Sub_C63B_OnNonzero_C641 +al 00C63B .Sub_C63B_Return_C63B +al 00C636 .Sub_C636_LoadAndContinue_C636 +al 00C61F .Sub_C61C_OnNonzero_C61F +al 00C61C .Sub_C61C_Return_C61C +al 00C601 .Sub_C5FE_OnNonzero_C601 +al 00C5FE .Sub_C5FE_Return_C5FE +al 00C5F9 .Sub_C5F9_Return_C5F9 +al 00C5EF .Sub_C5EF_JumpNext_C5EF +al 00C5CA .Sub_C5CA_JumpNext_C5CA +al 00C5B2 .Sub_C5B2_Continue_C5B2 +al 00C5C7 .Sub_C5B2_OnZero_C5C7 +al 00C5A1 .Sub_C5A1_OnNonzero_C5A1 +al 00C591 .Sub_C563_OnZero_C591 +al 00C594 .Sub_C594_OnNonzero_C594 +al 00C577 .Sub_C563_OnNonzero_C577 +al 00C563 .Sub_C563_JumpNext_C563 +al 00C570 .Sub_C563_OnZero_C570 +al 00C54B .Sub_C52D_OnNonzero_C54B +al 00C53F .Sub_C52D_OnNonzero_C53F +al 00C5A6 .Sub_C5A1_OnNonzero_C5A6 +al 00C52D .Sub_C52D_JumpNext_C52D +al 00C516 .Sub_C4F2_OnZero_C516 +al 00C51E .Sub_C4F2_OnNonzero_C51E +al 00C507 .Sub_C4F2_OnNonzero_C507 +al 00C4F5 .Sub_C4F2_OnNonzero_C4F5 +al 00C4F2 .Sub_C4F2_DecrementAndContinue_C4F2 +al 00C4FD .Sub_C4F2_OnZero_C4FD +al 00C560 .Sub_C560_OnZero_C560 +al 00C50B .Sub_C4F2_OnNonzero_C50B +al 00C4EA .Sub_C4D3_OnNonzero_C4EA +al 00C4D3 .Sub_C4D3_OnZero_C4D3 +al 00C4CA .Sub_C4AD_OnNonzero_C4CA +al 00C4BA .Sub_C4AD_OnZero_C4BA +al 00C4A1 .ReadPPUData +al 00C48C .Sub_C437_OnZero_C48C +al 00C491 .Sub_C437_OnNonzero_C491 +al 00C47C .Sub_C437_OnNonzero_C47C +al 00C4B7 .Sub_C4AD_OnZero_C4B7 +al 00C46B .Sub_C437_OnZero_C46B +al 00C451 .Sub_C437_OnCarryClear_C451 +al 00C437 .Sub_C437_Continue_C437 +al 00C4AD .Sub_C4AD_OnNonzero_C4AD +al 00C42D .Sub_C419_OnNonzero_C42D +al 00C427 .Sub_C419_OnNonzero_C427 +al 00C42A .Sub_C419_OnNonzero_C42A +al 00C419 .Sub_C419_CallNext_C419 +al 00C40A .Sub_C3BF_OnNonzero_C40A +al 00C3E3 .Sub_C3BF_OnZero_C3E3 +al 00C3DB .Sub_C3BF_OnNonzero_C3DB +al 00C3F2 .Sub_C3BF_OnZero_C3F2 +al 00C3C9 .Sub_C3BF_OnNonzero_C3C9 +al 00C3BF .Sub_C3BF_OnZero_C3BF +al 00C3A6 .Sub_C3A6_Entry_C3A6 +al 00C2E5 .Sub_C2DC_OnNonzero_C2E5 +al 00C2DC .Sub_C2DC_Return_C2DC +al 00C2D6 .Sub_C2D6_Return_C2D6 +al 00C2D0 .Sub_C2D0_Return_C2D0 +al 00C2C6 .Sub_C2C6_Continue_C2C6 +al 00C2C2 .Sub_C2BC_OnNonzero_C2C2 +al 00C2BC .Sub_C2BC_Continue_C2BC +al 00C2CA .Sub_C2C6_OnNonzero_C2CA +al 00C2B3 .Sub_C2B3_Return_C2B3 +al 00C2AD .Sub_C2A8_OnNonnegative_C2AD +al 00C2A8 .Sub_C2A8_OnNegative_C2A8 +al 00C2A2 .Sub_C298_OnNonzero_C2A2 +al 00C298 .Sub_C298_Continue_C298 +al 00C292 .Sub_C292_Return_C292 +al 00C28F .Sub_C28C_OnNonzero_C28F +al 00C28C .Sub_C28C_LoadAndContinue_C28C +al 00C287 .Sub_C287_Return_C287 +al 00C27C .Sub_C27C_CallNext_C27C +al 00C274 .Sub_C274_Continue_C274 +al 00C26E .Sub_C214_OnNonzero_C26E +al 00C25F .Sub_C214_OnNonzero_C25F +al 00C24D .Sub_C214_OnNonzero_C24D +al 00C214 .Sub_C214_Return_C214 +al 00C212 .Sub_C20D_OnZero_C212 +al 00C20D .Sub_C20D_Return_C20D +al 00C1FF .Sub_C1E1_OnNonzero_C1FF +al 00C1EE .Sub_C1E1_OnNonzero_C1EE +al 00C1E1 .Sub_C1E1_Return_C1E1 +al 00C1D7 .Sub_C1D7_OnNonzero_C1D7 +al 00C18E .Sub_C18E_Return_C18E +al 00C178 .Sub_C178_Return_C178 +al 00C143 .Sub_C12D_OnZero_C143 +al 00C16E .Sub_C12D_OnZero_C16E +al 00C12D .Sub_C12D_Return_C12D +al 00C119 .Sub_C0A4_OnZero_C119 +al 00C123 .Sub_C0A4_OnZero_C123 +al 00C0E4 .Sub_C0A4_OnZero_C0E4 +al 00C127 .Sub_C0A4_JoinBranchPaths_C127 +al 00C0BF .WaitVBlank_E023Frame +al 00C0D1 .Sub_C0A4_OnZero_C0D1 +al 00C0A4 .Sub_C0A4_OnNonzero_C0A4 +al 00C07B .Sub_C012_OnNonzero_C07B +al 00C043 .Sub_C012_OnZero_C043 +al 00C050 .Sub_C012_JoinBranchPaths_C050 +al 00C02C .NmiHandler +al 00C01B .Sub_C012_OnNonzero_C01B +al 00C012 .Sub_C012_Return_C012 +al 00C00E .Sub_C00E_JumpNext_C00E +al 00C006 .Sub_C006_Continue_C006 +al 00C00A .Sub_C006_OnNonzero_C00A +al 00C000 .Reset diff --git a/_wip/Lode Runner (U)/copilot/reconstructed.map b/Lode Runner (U)/copilot/reconstructed.map similarity index 61% rename from _wip/Lode Runner (U)/copilot/reconstructed.map rename to Lode Runner (U)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Lode Runner (U)/copilot/reconstructed.map +++ b/Lode Runner (U)/copilot/reconstructed.map @@ -1,13 +1,19 @@ Modules list: ------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 prg.o: PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 Segment list: ------------- Name Start End Size Align ---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 PRG 00C000 00FFFF 004000 00001 diff --git a/Lode Runner (U)/copilot/reconstructed.nes b/Lode Runner (U)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..0adeb862d329d153c2dfd927498ee154127ba647 GIT binary patch literal 24592 zcmd^ndq7i1_VDB#UP%Cfpj2)kAoz^nBUD!+0)nQBKoqTyYw_J~i;q^iwGxyY(N!B! zTkL90vs_B3ZKHjtU8w;f0$RO3tMx%djc9FqYg>zzlJCq7pmw{vzu&iie1CjXI?r?F zoH=u5&Y77TC#B`|=J9x_I}~29dKlp*2|>QC4|03}sRfmw5?;Agx&<{d58b?G=DsbO zx~Z=`lCdG9JcC$OM=MyR4N(d@u$tvF0mSB78(~F6VXeNxVN143A?JRFekVSXiE!_x zcgG8=ZE`~FsCnlI#5RN@4MYGTVWI)SA0sTImvsZ$v=}4~q8ckkp#__G1aYmFzQn3% zalC@kiRMb(RRdk@94 zO-44!C1rhW8+IX`4ejDVEp@y<4)OBp@(lWTyxdp$df}0(O2gb0!buB4SdAP?FP2ELe&NAI(ksHUa!eYx7j zyq@|10QJv+T0-W4zZjWFUbP5{<$AHBOD@bWq>Z;J6!?Uw+9KWHTm3<(jtHn@em04% z$XgNCRUskcc`UE3l(Z=*%ngjYnQEfGq{P&IN=S()1rHtw*N35$OF4uL< zyhUn7HUd~{W_~SYez8Sc9l!}U*KN$Nwti0(iK;rAl-O7YTnPx9WK%C4iK`IIG9@5s zfscau1#6*ALh)?voEnlJ@CnUBh!hVoEY0^ZGBRKgSfUk72hEQ!;&>*ZyAT}-ec?En z(@G0bvl^>WTPbs&{7^he{G;d{(K8~R=%Dar;c#KQ;ILr5V49$x-~s<6zmjj{&*VSN z@6GSvweaeB@AJ0uR`C|{vU$n8LA(f_Kkqm69lD0jqDEAM_Ms}Y8@-7(AquTVub=|7 z80DkcC=cbJ$!G#fM=59wdK!&H!_ZJP7!5%2s2@_JD1?-n46;xjs?o~BVkPnsNF&$A zY2=~(g5;V3q4M}pja;MA#DTu2r&Y2=^F8F1AEzdhG})4Wv)8UF<gdH>SOfVYzn=V5fD+wXcZGk zM+3Wl^j4PN98VLCr0Er}ao`pnNd9#%H4Ri`9YuGO^(+n%t?`zQKHxMbU+z2GV z!X@AzlKs>r!lwmbjnJ_;UdIfCSiydW#qbJb2{yoalc+xpSqJkgd){41S2iUwd>fCd zWP&*Wk^83pUcIvtM3_KT0xaMX5l%wTqCZm)GI_ZRM~rdYZ@J%em(%4xsNpKpg!9vj7dCM3w^L4-reZ&_+wFQwi<)Su{_`ZR7(6GZSYII1MpCJoFhNv7zZ{gO1W)U&M z$+gmzkfY0S^wutn45W@&rMun|?Rrnt%>1&+D%!M9L>++*$0FKf7uiIc-W6@yD4 zqU_T*Hg<68_{<3t_0LS2oHZpoC)Y4_S{{M`77l^{{=7jVka&Y!BKL+!d89WaM<#ni zQF0LubR~s%{Oz_v$_^sj3waa#PthhKqLG-?Sj{eJW+yeXg9x&bm01vx+PEdQ(GkJi zXIDUJNTWl@Jb(;9e)_SuRZJP9Ore2g0L+=o7&2Ekz#;a1Q5Fl#I}fCrDB_4SD|>9QLG=?)a1kTDj_OOz>>feWr_yI z)X-I&ld7N;Tb-r~lSZKb5@ZrVQ8pQ93!jK+c2bI89u-Vbz^wt@tx!P{hd3KLvB~xV z)!!zf25`-NDCl-?|0WUMmb@K(Pxsf}j-dL}18yT~fYYS-8bk*M8Qcc=!=@N)LElzl zMIE>Kq!2@ziO^=e1u?^MKDOB{q=iivn7cI56l#ys-uAWgZ3yoK)K?ss%nRlOu!gUg zyV%6)%j$?#&HBx?7R2%`@@D3@Qs!5(aufT|ltf&;L~On6OajjkQNw70N}yF#qRm4k z5vI#fl|<4>8T8A_#TsguO+byLwDfX-SphK6NDU`my}Ss3sxxYQj!|-`lhRa^hm|+U z&3+j+AthaOTdv>TtX$0VrGjXaFBMFjZiY$rrGu>^-&kK*0?PS8l#iM3_FdGZgzaS} zBl7iCE+#2Ik`9jV@TL6epa~O{^Zge)D1UHY18n@5U@DXjiWfj_sBea?gOV+(W~E}e zHdY2oPr`n|=kxf2uFZqnfbb@Qz|O$rd|?xF{vh^;4sSwY`Z5?#A@!>Ja^>Gmb(MAO z(=|w}(NI*4MogKiKoemWkAsAnQ ze%^8VZ)`XrI>Yv|eZEPkv;DkDq_Yv5#5xl@JRVBKWjB8YoEYVxr}w z{w)UDqJa?@EoOuVIty#et%9mwPuqMdh%K=IME{Km!R^(yAeRt8{3$i@7DK#$8vK?D z>Tkr}lhyH3R!n^Mr9Fz=5HE!6$P@N3$m$?#K4JHVtP!%RlXf0t`LK7j9p3=nsz9&* zl2$hf%|1=N?82rXXm&qEKh@OBjGe=$Y(dsw;2KyUIVLNkTta)V3WAlF!XCi~5%53+ zB8EqT?#2+Yr=3xX@W)5uBuZ_tTY@7R1s+SwNv=)E`Vgy6+mKbjNQk|sZT?odmq<4a zfjP8-aP(p2jlZYD-snriF z0CO6qPKmo0n4x<|fIZ|fEdv5rsXz~a1FRN33S%Z7C()%L6-3vVqxEqo^f4#&K__7% zcEZ$IxURo%B$7bI*;{zJc#I3W#ARGU%%6yt89Z$;|3NU5!9Z7N_ph|r6fQArZ-JbW zRa#vBY+|Ja_9*aEVV5!y0~ogj24G=BD^!goCg`q&f}PgDIKj?C0@QbE$x5PGpL|+R zpM+)iPYgNw*l*&wrz@VU@;NT2=CR+sN17sNp0#uN0b%WY0pw#3IwfO-FS^g>In zwDv)q{p$zKx3%`(mBIKlum73hY6Ed?UDE|K-*%x=Xo{eO-d>cn3X`aeR=&RO6cuho zbc}{?)tUOxYA}zz;T)Pxym5*UUZyv(F|apRf-3^{k0u%t7%8o4fa8NZ8%*Ihuw&EN zEI<8iZX17!Ufw`3Vf2ayIOGt!k5#^0v+@+>gfU$vq8XCM7fSsVy~2I{Ws0C)p~?pj zfAjDJB1yTgZxw8Nj4$!QDR*yoZ@o8xlC!t7H{F*N+S(aD9lire=-xYc61vY0zJylp z5JNkpp(K)WXsDw5GICl8IlF*TlD2j#oaBlWzSZf= z>5N&z`Z}ZZEhpVLA~~aitDuyPCi5ZjOV7J+@vD zS7MJg&g;r@&MoKKk`-S#L?rA_u_O_4)}2G=G)0*45jw}(7x*@nvXNI^Vs?0qMGW@c z0rnkgo8lOMTQ3-CB~@Y42b^u{3r0SK`L3xKq@j!(hIQK(#$2r|J>(E`uIV9*nDb2$ zm|Wpm@G3!9z#98tht#Y< zlI%j*rMPuDLera7I!9EDaLDWe{pE9&Nq86n{eesRrRORVv6vD-OagW+=QC*`HzoH4#C1Tqpw-$Pl*rRb@OmCv!rAM^z zZaM-_89j#@q0jgVWvzyq&=&t8H>`W0yH85lCh zuv4q(Pt3XW_)wg9C|y{bmUFW!p|s#h^t)tJTl?wLz5)u^g8-S^do^}LW0wq0haeL? zVcjIWqBRfr9U1o@k^$N3mz~$Ybe`j`awK?s5fuq+2zDC4^@Sn$g3Syy!ameJt%3ub27m(4X(1a@F%?u^jvYr_iP$kPyH8gDG;`X=sdDwM!kWBYM>W`>CM30vb|wCLMvwg z^iy9~&L9ddHcYpRsp;S{%Ie!HM3YgG}snEXj;_ramGxUotkQL8D-wz)3{p@3X zKkM!L*++fzAN7p^y?sB6`+gG0`K-SF!lO<(@pdtchX)KB9(5{w)F}ppPB|Gsr;h;% zs63K-8ao6x63n6v+M5Za>1jGad-G}1EYaRnDHk`AvtXG-GvdI;*K>Y?oE693Q;~(PS+DAA6 ztY5`!2hS|fTP~K9^voUxa0eXzcR=$_7d@yzY_0>bF&t&^rM;AJ>Cw?r>gC6tgt@WD za0GimaS4M8V7>F1Zcv$fHn5?v!|l}9HaX_QG{f|4$tZdTDCQ`%-bZT)8jw+Mr1bl0i2)9=B zNHFKL7R)+50t_fUd>6P5!@z`+VEn*tCt$msSW_sbM%Ea`l(wc+Obx3si>cw@N>C$6 z@N6G~xrbHPb+bb!xsw_;G50u6R^Yvjz>B*txZVj}4*AG`cF2RUL(ckxa0BR|rgpQ$ z-Ios1FS-matBg|8iJYIU_4?T)(f_iQPY>5bSW_4!E+8n#tvbdJ7kE(MTgQSIJ`8)| zbP~P`@~zUpaSGe#xPvslj0BD@5tpx8t1JwWcg5O>qc$8_iOE;2bvSB;=+6H-*i3NJ zxIzV6rEmfJ(iOOU>3T}C3Tu{J;a<6Z(SOilf^(xj0xqWDnhs8KRFfYGZ(xPBRuSWi zuTSs`pEa}`;PJI8snvuA?G1wJ#_pIEK^t?wkyIUfdMJ^lA3HrQn?O;1L_${~2SrUJ z(o!>XiDxFKrlDxTxXD@5voptMO62?xG0iRqvlg zK%BV>Hl+<6kpKpl zo&GJLNVZIv_N!DdH|fO97MNmOo7i1T+Ej3#1aGrPl#7SLBP*wWku88v=P2h_#!IM| zt7~Sut3X+lSPg^+v)tavzi$O!4JkV7sMGGI2!+4hd;xCyyyPEn z9}Zsy9HhRW4#O<&Cv6*G1>#kz+$6w)VC>2D%bTuc;07b#bG$=%17aR(g+-P)enap(mjTd$~EXXgtTG~ zVbn+fO5y59jl>ALk(fa0$UYFKC51zruEUVyM{&fGVjy2UQjO!`xIUHZf4r_AuHpJg zMN0!#u!w zyHgeyhXVq@aS|yG`WJaW4na{|99Uc&g!*v;ij6Oh8G!56n&PMgoFRr4_ZeOcat47z z9tH`38eK8My<_ovTeu8JTho>C$~(1tDs;ugBRKYxVvBY07zRUfH6SvG zido1i?w4Dv$u3qyCbJmkcvw~np6Q8PaeT2FR1o6g;)K+(n6J!Y6;~OaTCAFw7BvBC zQerSeql(jt!%|0vrxf?$w5_NAc<6s(aY9ycytn_%6fBYQQ8RJ%=?4=qQcZxUhH2E^JjBD}V@3`rPSV7WN+|Yf zD&oFeNs8+ykB`+LAwp6qLiiJkS+}rJfe%>VtD!Boz+~EFU|lEyJYB-o&KD((B{xba zxQ-|G-J*`#lyIM6G186js3m6N;igASfeZD0DZF4FeY^=S{U0^4ja(zHSYn^C#6EY4 zeaRC0(k1rfCHCG+?1L(gwz=T05uR_45(jQ=*b)mbP+7Z%aV5p_ofNUq0{niw~Hezg8p%?seL*8Bw=*1d5q#PEP{qeI5rv+=vW2xxQ3n6JnURdBe0?=pZr z6JX(+Le8zMpd4US-S8a;fVuS(n}Bz?sH`v@gnnZWLcjegD3Z8-8n|@dpl`rq7`*7Y zZMk5n+Q5}aZL7S|Z0fZEOziw#Ri(tFHqIWMfLOu))TZy%hMlA+tG^z;MElDXuqMx>O){XIu~XBKe)8B< zl$M=6IUBjJz+L85(%k~z6uPi$2CmH&a2~Fb;K&dw+pN8ahi!IW<`?+h(3?+Uzro)g zBC3UQ5!c%ApZvBRzKPg!g;?B1Uj;ky9o<4*pFj~mFxjgd|v|MYmU$9N0TAi&-2Un{ELkeGN_*P+7Y8W9=(1z6x1AbHv z2rJvb8E63%7g2uO*}^<|p3{Nswh}Um-^UBgK8MF&37U9ZW zxAkk=Aht@YfSz5#;r>iQ4G`7;^>&7B7$eBAEumVe>o(!0P#tE{=E0fk@U}w2*EOL! z@4*JXyu$!Q=WUzVo3^=pm~Xl(KM2#s_l4W(K(Ngm6j#CUm86!m_`>H^J$-Q)Tpt)j zL9XNReB{z3evEVwU*PK_4dU~}QGA|nfHacNTSFibk7p#%Q#?7Jhj_-Jh^I?OgLpi! z9CB!ZRv{0;ySkKz0;MDQ{iOZ4{aS1iA|@2%V)ZW%J@tDs>f9**xGjxpO+D0 z7(V@G*`<|V-;2^5)UR3V*Sldwuku;xp&^xRM-CwV9FGSXGgQlar{4IcpYy(G+x`KY zE2n*W{lV-j71<@z5$MyZ`DTWCfKDvO!$X_N< zSCma2+E~5uz0UsCm1)IO(uR0Cr_L;WjyAk(m^N)zfdU~%P-Zk5+U!3#F=|^%t6;`p z%XCSK`Of@HA(_H4j{3oY^752BnuBYD%4a?o7PqcZRZteAIJj|ej$bL&y6@89=`%kL zCHRIM!|*v%2&z%FTsbp+Zm(ry{mN3@iqDN@(wVJcnUrZDruBXm(&xDd#3MAQJkg;; zXo;?tx3JHb!&GmfakTm1{FKn}&FNX8ue_2Kx?EBkXE~PeDdmHV#2u zaDMID8%p^q_%uS0pta>1GOV8($bEl#@rBw}+K^@lnPOOT@l}3Zw(8EP!9$k3qSlnY zoc*pWVtjt=KKKUJr+lviAsr%AL**MRJk*z%r`REMhApKwNAJxwd^+7Q@A$aZDg{!Y zK;`BJa=4)YB@SI79e>#KMWl6E6J3@$uPig!G`-=fN{WnP#k%K$uFV?qLY|9nkcK=nO`E6_B8BhUAHF}N^5P1ZEtAS`XG+}<(_bHP?C+sk z0-=B$G)Zm-p$7>)eFXv|LK5}Hz{Yv*Fp{c^={LP|W^5TPk9zy1o z{d7}3-=Vm%Cn$XM`Bzj0>z`@O4qxkBVlWt{-pQC5l~cIQM4qyJUR_;nd#6_Yc4ovD zSOU|9g9GDDt#b>^fT155>{qgmEPF<6mVn>}t_jOC*R`1sWGFr_DV5HON(~S#UX=6M zjaR;UW6Mw9ZrC_DU$(8Tb5x#@ z8!-9)w&M|l;tkugK8Vj7^k&P;C+_d*d+g7j-+FDT-~9boUYjbP{~5&pHm^7+93t>D z_mQrM@bUi#KWrn_tg0<%=WjPmpWKmWsZ*`kkvedK|D2kD3x94Tdv@ zGk=w$88+0xs$BlfXQEHybI-mq>$AXX#(4@cGXF_%J+9HZaX{3ib>f%bnl}CXEc^1c z!s5Wv8NyqV-sMXcZ!SAwW|4n+94h);eRCtbb?8`j3M*_CFW2?_ALNj$6l3pmnRJ)vsDp8j}ozUYwMK$?X{v|VSAqS+IZKmX>JK2j~SY@@x!q)zox~XJ{z-NR#*1wpI>SE z^N|lLmSqlk`{JMjFYn}Mjz;0IJuA^rIYRyGnyc^p(4;n^d13@+1mFhkd$!=)0rNh) zc1ck>%h@NhWT^DeX;s0SnxX3t4V-c=O}bz3*@36_`fWV&N^Ht?&6V{qm@z{Gt*Hwo z<)df3MHy}zax{he2L%|i&!v+;7-obR=nps6wx0c@|N9dS;cFXgORCqr`FWz`ui2-o zH}$VxAP=SKX}t|+Cn7@XKb}N`i~=nR82f5LcHe6sM!tXR;ld21r+@N2Yy0uOgADx* zDc0M&g-fcdsy7^VQAg$tD?L8g_-aYI$1v@j;h9m=vJAx6MWACmcVHin=jWm+bM6va zHPj*jl3z$I%e+z6q<#~{+MoUIjO}attoL&41LwWHVr#;!A#+B#`hx)(=$kqwY$$ca zVFB}E@26;=l^!PN&-FV{cSP2X9Q~_{32>fo%q7!R?4gZ=`wCOS_EN

h9dRc^?ro z#Lu0rnomxZzc#dSU-e;6>-$4il;uSrgc6$6hwUgRlSF7Pi{?c|W>6tgU1Ii z1tnMmcM#SV&&^oXSn5RIAAkLB`TFB`Ub#^=Jr?lA$b}}Tmj8AA`8nfH+!xtL1fB?; z^{(I7Dc6tW4P3Tkn)CY$9VhAstNcoq%*`(!J;i1)OfzIq^{S<%dSba`L;Qd}ckh0q zI8Xv0rFBO&h1L!IzwBSVpVTO2>GGJyO!dy%)(vsi>OqECMhB^h*ch4_$pT`Wbwm6V zL%4Eg)DXYWQ*-_1hQIRF-!5JXT;)I5cy`UWyT4ri$8%f!EOo7l_WCi3hNv(d#mu<( z>bFrt{mSdyWu=94F9sng56pYRWi$-QpJ#^^|nIXzaZQ^!d)itsl>rH%GMHVAv)$G#(f<+4Jq>-+ntaFhPR& zM+k)E*1UNLiA>{>EHd?rrkJvcca0$LkW9)o*@DoU7l{H1l7;)eo$_2k=`QAuWW(e| zpUu7~PBYA(@A3Thc_!$FCNsjUjWOFc_79VnjJvj!x6uE{_K5vS%U?aV*pFB_fg{e zTXz0v)F)`{K8+399hFmkzqY@+wEXhQV?RE-G85b-l#r=5&uEu{yW}&E=RltxQ-hUQ z)~GHU`}_`dSxR1vS;t#*UiEHTub9OO^%puK@YuYvrW3V5qE3fE#1AEFGE|hh zOsDm^@1r)3^D`o0*_pdRnQBuIk|Ex@@>GLi%6p!3qbcUygzA!k14K9ch?xTvdtlFy zSqyOjZ0ehtz_xndgg$o<+$~s#R%loKyg#o@iMH|8Wwnz2#S1E5v;8vt@SV@vkU(9w zBenQ~IwWiK)aPF~vH0Z=_RR~(dGO5m@9z~b*NjsC0-Zl9ueFX`-%hOV*R-~6Vz5y+ za8j_ius91DMLJ^Ox+(0oH*fjgc-|oI)1kyRBwS;#KFhv6 zYvHuLOG{E(H3z^aE^^*{jn5|aS~PC(n!33Kze&_)B_AAFejbu#5}FJn&sbtd5uG}+ z9Og(!!X9iKSZzed`7Gi!A=stJzPh>uWDN8?kX$QXg$$~qY$TB8`Q*+wq=QrBC{j6) zA{`;wtEg<8f+s*_I^{ZtVQN-rPD8;EqeX~>L6)K7cMC87GdRZK(-U^zxSZ(h6`NKYFbI%?-}P^%lXNw?17{d+N72@(*U* zj}08KvA=HK?y-JUihtGd_l8!D{Zv#tabTaFDos0;{gl3RTzzT%Jws1zz^XF*a20D7iG1Gy< zneXKEuYE@lkb6#p#(^f&xrW}`$J-HViY`mnNsLEH1#i_a$L<>ac^mUuL*OnXH@AIE zD&OHVPSCk=(j|(KwMaBt}WvcC|=c= znw=x#2M^{4%gp1hmnmn7L$&K1C^s9S63q}JoN=oDu5}lN7=ljCT46Zew|})E?b)Hv zl#ezTmTahg?sIz~9s13oZ+FbhHH7cjvE^?G+N$dQAM~fEl0Qtzt%jp!cGy^onai$k zawmlt(u;mGh=jXpiBO2V7G%Qu4b0JPxXI~M7$3=CEuP#Xp95#Ccbq4q6MLO zgNwtrI2Vai?gaNP-c~+~A3Eso1t%Q)+{-UMRiBzlZV3$3+%+1dbNGl@@CGpc=7I(D zjxQT9p#QIX_Sm+pN=;4o2@DLDHKI}x3%{3J^uvxFI~FWhpg$V5Z{J7N&CNT){;(T> zD&G^fFB_cFkEKrAwqskE*|W#Le}(BtjNVYap?O2IZK_{-!nN0?_8Bvz&(a#r8yl)q z_$k%4sjDW9x&D`BnQAe?2ajdxksE6=NGZWHs$yb}q5@cLN|Z8TVp*ojNWkf&WZPS6 zvu+tulRTf_29DB|>ZC%I$MugA)84bkj8T`59Oye_<(VH|%guq6-Zm1&R9C20tiP%IM)daIR@8hvZiCJ6{yE?31z{mmrdAt5 za*vnvr{{Ri_P3R{8PYwT8-|==+Uhdc*s9-^Z%g?$>)_hYq~n{uyHtGX&yr9Zhv2c z`NSwtOY#PvDf;rRpGx!G(BlUJN?Jb!CouQi9CUOvLOe$*S=4!V892HT!Y#_kd*ca# zgXho*(svh#|0$8ku?7U}xic5^w4=#9-_iR+H?~TFZU|&V7i@<6;PvXV?2Iv)YI|8~nNd*em}iRgq0XzG zJ25b{Ise6=YkzsYCEcH0vII}NKHOEhT^XKHS{_zA|2f0dnE9H8Yoelt!=Z{iDXy&0 zr&m^79+sGxSd^GJ^sj9^-mc#+@&uuZ#KeC*{6}K!Kq6)3%3oHJ`aIo<@4o-;ySwF| z@OE8kxpL*Apa0-sc}ZP^V@U54_hA<_4HV|4PP#B!npQjMm`ODy1Fme;)H^XeT)0uP)rrtOz6ZYhv)+6~tB(5;a`m`bNu~5KJhw!~7wOIpF1x)!{>SF5z zb%g_=$RS2Q0GV%GuO2hQTn05~&}K!U-DGrD@2L9m>>Ro0N_|?Nyc;tcTHQmzauMh& z!?d8%RViT_YV*LQNc`d3)zy0|l|g;OUchH9m} zoN0!arzpYqU!ly~QabY7+U7E2G!!KxjgYp>JWWuOc_BV_t53nyfm8T;P$vB+*Dz}Qj#Cj#{P z8;kOh!+*4fr%4}raal>!4%yCeZUw7aQMw{3Qn9nHo;t189IPLRcWT2@-)g)m7I`0Rw7D4lqi+y#YjQ)^79;U z$s|Z4MB;TmKY@_SG9B7Y!_N#+RHZHm1XtzsFFBnfr}$OXwGNHfV?IBDQ%#!T6<%`L zI0C8f24x&ymbj|v&hxux`^61QvNRrum?GOaPIXbJS|*(x73RD8D6cFdLKdz*-;}f^ z%}N^#)y3b4-u&?|S4wAE!*)JhyWpn|&$PXMn^R*npKnX=J+kbpmygZ=Q3kB!k>CY8 zBqDx}-=>rsno|AfjMvwMDXC`RCvZ8lcSZ1tVcU%!-9QI&Jn+aP@o$`vKprXg>m!$F zDJ>rmq`(aUjU#OpC$Ag zIr$Z8HGuD83%vBjUHB5f2l_x46o{km#b5AUN4v}AzV9M*Mi&J&Bpt4G5Dsk6hu(O(VI zhy-|%LL!g|_+nUh5_y0?uvQ@9^Ai)t!TS5DebuT}TGY<6$B%ck|LEuGywKjR(P$M! zJEVVvFA5fn!}xvtq95URc=1{PPER-f!-s!_FOT%WKiTH!3m)Nj(PyQd9bNd*4>|fG z{L5|uf}eVeK@L2gL=Lk7TN)4b=_3G)5RZ%uNAMH{It}Gox1Q%CAAz#uLp}d)1{MqfdfjvcRXFK*MKz(oo{-pxJ58l_n@VN>; zFBnoO(m~8e!oE750h*PG9n{4D4l~WS0W>}e}(NX5-Bxg7k*$DzD%JR3YsY6 z$&-`iJV-fwgkaPV91a5a1{&!=MvDtqpso&}6*B-ng;oj*ERZLUgq6t?D2$i^z$X9# z0e*p2sXSBy99?L4`Ii{~Tlx~YudjSz0gTw!7m@iAr4&g=Yn2FAm4whJ(OtH^opttI zB}5>FShrCFZtv&_B?7LDLVtk6_!2z%fDbyX)D~oT@fVKo!FQlS4xextN6W-se7E}% z{{KVz^2nCUm!B^fB|yv(flw~&oKf&isT z@V6o(Bm4@M3!q&feCdT?Sc(1-qmkTSE*GHD$l->dkI*7^IQ4jgy{c(3NY`Xy)o_zC}v z|Hb~pU##2w4*KHbfb`c2$jHdPW3b%=8Gr}?|3A|Q`?u~5pbvY*tIKysMvl<}TK@Ix zj(P`Vo(uv3>_RvQMPOC_IT*XE9Ngf$O9CO66A1mh8HD^`BkpePNxdWHiom|Hr(O(> z8U%??a2S_?d{`vRN)LcH;{ats1fjzvmSHRooPi+rSAs+Y^6=o1{k%2cA0$HuPjFxa z?DqC<{Pqis-DSkkJf0#pRt=d5_y0i(e1&2ciaX~vwEY9Gt zs$-|N5L`p9@I=HDi2Vy;=MqO0{s0XF$M}Oaj6!2Zpn=0)I4(}z2wG2~3+0-E$3)P* z*TWhLA_&}H#IV<1FB%hpq)IJmHgnr2u7>Z)pdE_665tLPX51ib!w(P(W1NI>H-I|#-B?WFed-42}&au8On>L}C}fCK^}WyyV_RZyis^Hvq9 zc!3-(=o~}{GeEMgcDvEewd+@P*uC7Lju&2NFJ~Qii{^n2g4XzlCa;|HJY=}=+MLyc zMqzwp?2;eJwqO3KM}9B-bh+>V#)km9MB=n)WznBVjRtd#l3`VLPapV0V%#p1z0)D~ z_t#>yL+$MakRTtC0F%dLf#XqqAmu_NxW!_=fCnx!o<1E^c678C7I<4hfAIP-8gUUu zz~gn-L%I^)b5}lAmhdFP$5rw7?O*^n`rRnMZx{Q(f8C9L(0|y_uwG&Ru6ok}$NtN9IBCMv`OA61DKdEq*j)+tZw7(?2~vl)pV}iLBBa>={p6F5 z!hiNZIec&&#`*z#dCgjm%hi;HV@Ivo)S{}vKd9Zn_)RV{CeaZoDkUYQ*jT(~6)s>1_+%A)U?Wh6a;N9;*s-;1)~u;L?Crm(NH=zDaj{WX1p9e1 zFxg^OC{(I<$(F;1G05S=7K;V*dl*+7Zu$OJ7F1ZW;%<2y4(Q$EN!IC-fpt$yWD5-U za3rH(NYY}7#7tw$#3gXZM1uVG&V_R|-Ko)a{f)yv9uaq^u=~F8hFA=m;!UMv#*}_j z1lv|u3Z5j)6Kr^0sYa>v#~XWh3hP;U;k%LH-Kl`5YHyGJsG~bYz)Z_w($SrgU8}Y` z?Gk@aqV)F%ZUnsUv;dzj#ho49sl&VGQFq#d`2TxmO#Z^>m*>p4nZn5BuO%{ zZ%=vEg8cma1*>|>MI^b3d`w>6GTGA}sUa8UCr0*^0UO9YqBmNJ!y|t1cKo<}@)x{N z2sC@}fg1>q<|lt;(esb@m%seAmli(OKgbutBYDH%@>i3O_`~flE&EeX|Iog0)r$*z z%A*&MV_<%I%Bwkk!4K;SxcA5Vhr-G+U`e_|e*W`CMJpfik6Xt)R)!}`EP`%uRK(5q zqw#e$;Jxg>2|fM)UuL>!BM*n~@jUbf6Wau!!EC=d!eI`BUqD3gI1k@@;|mwmai3~pGxoMS`y z$0GRm?GA?n3^9C@rPCEkr8vt4)Go!Ly&bd`PI!?>z~}c>C~%ewC=&j)99#z0lL;Wq z@y{^;WeC`vD*}nZNrdAcAy_#be8gz$2cv;@ zA|piSMT7!{)*v8^nfC@EFG~b+=?;NL_*fvT=Ryou6TZE4Abf8yLITK-@JkTjkL_xO zb2|pm^%QZ2$mqfDL41UdcnTQmV`coY0{r(_kiy;MzYK603Iw0T$7i*kfNx%Y$5Brk zmw}7XCoBGa$vb~um?!7YTj!lWZ~pi5hie_|uMZz`&3OOw!aW|tjZIH=Po@XJg|Rt& z@BZ1-(3OD;dQN}6MZkA>*N>5__~-QlH~WAR*(HKVjEln`te-9d|DPqva8Sl~aLEeT zu3<-pD-t;CLGTtI)3g7XVDPmKzLSeoz`Z^6f$#sg*Dr3rCy4*l3*h4r3HUfDxY@dO z{W?}8r8+9A10Rkcbnv|v@IUqU|GFI?&ytgiiWCZL)pYRw$=%$+eKuFr;pY|%Bf-Ll zN^WqwckjmIg?k^fZ9d>U0iccRSnFe*M z6NCeA#}JH01U3*KNjYM`5JwCcy3Tdz@kB*%l2YK;H5Rr2KKui1@W@EuYaj@4;KU3Q zV~gN8c^FJ{5k60j9s6V%D4g7lIXHayq?rT`EN}oldGh2NyLTVX%E-tlHJfjpgm&gvEZ44hIHc713urs`)(~9@VWDSGBkI}w3 literal 0 HcmV?d00001 diff --git a/_wip/Lode Runner (U)/copilot/reconstructed_prg.bin b/Lode Runner (U)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Lode Runner (U)/copilot/reconstructed_prg.bin rename to Lode Runner (U)/copilot/reconstructed_prg.bin diff --git a/Lode Runner (U)/copilot/rom.nes b/Lode Runner (U)/copilot/rom.nes new file mode 120000 index 0000000..9b1b27f --- /dev/null +++ b/Lode Runner (U)/copilot/rom.nes @@ -0,0 +1 @@ +../Lode Runner (U).nes \ No newline at end of file diff --git a/_wip/Lode Runner (U)/copilot/symbols.inc b/Lode Runner (U)/copilot/symbols.inc similarity index 100% rename from _wip/Lode Runner (U)/copilot/symbols.inc rename to Lode Runner (U)/copilot/symbols.inc diff --git a/_wip/Millipede (U)/Millipede (U).nes b/Millipede (U)/Millipede (U).nes similarity index 100% rename from _wip/Millipede (U)/Millipede (U).nes rename to Millipede (U)/Millipede (U).nes diff --git a/Millipede (U)/OVERVIEW.md b/Millipede (U)/OVERVIEW.md new file mode 100644 index 0000000..1e4106c --- /dev/null +++ b/Millipede (U)/OVERVIEW.md @@ -0,0 +1,266 @@ +# Millipede (U) — Game Flow from Power-On + +This document describes the execution flow of the disassembled Millipede (U) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. + +--- + +## 1. Reset Vector — CPU $FFFC → $C735 + +**`Reset`** ($C735–$C7B3) + +On power-on or reset, the 6502 jumps to **$C735** (non-$C000 entry, Donkey Kong Jr. style). The reset routine performs cold-start hardware initialization: + +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `sei` / `cld` | Disable interrupts, clear decimal mode | +| 3–4 | `lda #$00` / `sta $2000` | PPUCTRL = 0 (NMI off, sprite $0000, BG $0000) | +| 5–6 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 7–11 | `Label_C73F`: poll `$2002` via `and #$80` / `beq` | Wait for VBlank (bit 7 of PPUSTATUS) | +| 12–13 | `ldy #$06` / `sty Zp01` / `ldy #$00` / `sty Zp00` | Zp00/Zp01 = $0600 (RAM clear pointer) | +| 14 | `tya` | A = 0 | +| 15–19 | `Label_C74F`: `sta (Zp00),y` / `dey` / `bne` / `dec Zp01` / `bpl` | Clear $0000–$05FF (6 pages) | +| 20 | `jsr $C76A` | Initialize object state at $03D0–$03F8 | +| 21 | `lda Zp10` / `ora #$80` / `sta $2000` / `sta Zp10` | PPUCTRL |= $80 (NMI on) + shadow in Zp10 | +| 22 | `Label_C764`: `jsr $F09B` / `jmp $C764` | Infinite loop: audio init? (waits for NMI) | + +**`$C76A` (Label_C76A)** — Object initialization: +``` + ldx #$29 / lda #$24 +Label_C76E: + sta $03D0,x ; clear $03D0–$03F9 (42 bytes) + dex / bne Label_C76E + ldx #$00 +Label_C776: + lda $C271,x / sta $03DF,x ; copy 6 bytes from $C271 to $03DF + inx / cpx #$06 / bne Label_C776 + lda #$2C / sta $03D0 + lda #$2D / sta $03E6 + lda #$24 / sta $03E9 + lda #$16 / sta $03F2 + lda #$D0 / sta $03F5–$03F8 + lda #$00 / sta $4011 (APUDMCDIRECT) + lda #$06 / sta $2001 (PPUMASK: show BG) + jsr $C7E6 / jsr $C7CA + jmp $C7B6 +``` + +**`$C7B6` (Label_C7B6)** — Clear score/timer: +``` + lda #$00 / sta $0330 / sta $0331 +``` + +Then enters main loop at **`$C7BE`**. + +--- + +## 2. Main Loop — `$C7BE` onward + +``` +Label_C7BE: + jsr $C7E0 + lda Zp10 / and #$E7 / sta Zp10 ; clear bits 3,4,5 of PPUCTRL shadow + ... (main game loop continues) +``` + +The main loop runs continuously, synchronized with NMI via Zp10/Zp11 flags. + +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C7F1 | `NmiHandler` | +| RESET | $C735 | `Reset` | +| IRQ | $FFF0 | Unused (lands in vector-page padding) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C7F1) + +The NMI fires once per frame and drives the frame pacing: + +``` +NmiHandler ($C7F1): + lda #$00 / sta $4016 ; controller strobe + lda Zp10 ($10) / and #$7F / sta $2000 / sta Zp10 ; PPUCTRL &= ~$80 (NMI off during frame) + lda Zp11 ($11) / eor #$1A / sta $2001 ; PPUMASK ^= $1A (toggle bits) + jsr $EF4A ; sprite/OAM update + jsr $EF36 ; PPU/scroll update + lda $0396 / bne Label_C819 ; check state + lda $0397 / bne Label_C819 + jsr $F085 ; attract mode audio +Label_C819: + jsr $F9A0 ; gameplay audio + jsr $F0BC ; sound effects + lda Zp43 ($43) + bne Label_C827 + lda #$FF / sta Zp43 ; init Zp43 = $FF +Label_C827: + lda Zp60 ($60) ; game state + beq Label_C843 ; 0: title/attract + cmp #$01 / beq Label_C849 ; 1: gameplay + cmp #$02 / beq Label_C83D ; 2: bonus/stage clear + jsr $D3F1 / lda #$00 / sta Zp77 / jmp $C84C ; 3+: other +Label_C83D: + jsr $CCD7 / jmp $C84C ; state 2 +Label_C843: + jsr $C865 / jmp $C84C ; state 0 +Label_C849: + jsr $CA31 ; state 1 +Label_C84C: + ... (common NMI exit) +``` + +**NMI State Machine (Zp60 / $60):** +- **0 (Title/Attract):** `$C865` — attract mode logic +- **1 (Gameplay):** `$CA31` — main gameplay update +- **2 (Bonus/Transition):** `$CCD7` — stage clear, bonus +- **3+ (Other):** `$D3F1` — game over, high score, etc. + +**Key NMI Operations:** +1. Controller strobe (`$4016`) +2. PPUCTRL/PPUMASK update (Zp10/Zp11 shadows) +3. Sprite/OAM update (`$EF4A`) +4. PPU/Scroll update (`$EF36`) +5. Audio engine (`$F9A0` gameplay, `$F085` attract, `$F0BC` SFX) +6. Game state dispatch via Zp60 + +--- + +## 5. Key Subsystems + +### 5.1 Sprite/OAM System — `$EF4A` / `$EF36` +- `$EF4A`: Builds OAM at $0200 from object arrays +- `$EF36`: PPU scroll/register updates + +### 5.2 Audio Engine +- **Attract:** `$F085` (called when $0396/$0397 set) +- **Gameplay:** `$F9A0` (music), `$F0BC` (sound effects) +- APU registers at $4000–$4013 + +### 5.3 Gameplay Logic — `$CA31` / `$CCD7` / `$D3F1` / `$C865` +- `$CA31`: Main gameplay (player, millipede, enemies, collision) +- `$CCD7`: Stage clear / bonus round +- `$D3F1`: Game over / high score +- `$C865`: Attract mode demo + +### 5.4 Object State — $03D0+ region +- `$03D0–$03F8`: Initialized at reset from $C271 table +- `$0330–$0331`: Score/timer +- `$0396–$0397`: Attract mode flags +- `$03F5–$03F8`: Player position/state + +### 5.5 Indirect Dispatch — `$EF15` (`jmp ($0002)`) +`jmp ($0002)` at $EF15 — target address in ZP $0002/$0003, set by caller. Not followed statically. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00–$01 | `Zp00`/`Zp01` | 16-bit pointer (RAM clear) | +| $02–$03 | `Zp02`/`Zp03` | Indirect dispatch pointer (`jmp ($0002)`) | +| $10 | `Zp10` | PPUCTRL shadow (bit 7 = NMI enable) | +| $11 | `Zp11` | PPUMASK shadow (toggled via EOR #$1A) | +| $43 | `Zp43` | Audio state (init $FF) | +| $60 | `Zp60` | Game state (0=attract, 1=play, 2=bonus, 3+=other) | +| $77 | `Zp77` | Gameplay sub-state | +| $0330–$0331 | Score/Timer | Cleared at $C7B6 | +| $0396–$0397 | Attract flags | Checked in NMI for audio path | +| $03D0–$03F8 | Object init state | Copied from $C271 at reset | +| $03DF–$03E4 | Object params | 6 bytes from $C271 | +| $03F5–$03F8 | Player state | Initialized to $D0 | +| $4011 | APUDMCDIRECT | DMC direct load (silenced at reset) | +| $4016 | JOY1 | Controller strobe (NMI) | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Object init data | $C271 (`ObjectInitData`) | 6 bytes copied to $03DF at reset | +| Level data | $C000 (`LevelData`) | 1845 bytes of level/enemy pattern data | +| Audio data | $F24F (`AudioData`) | audio sequences | +| Vector page | $FE61 (`VectorPageData`) | padding/vectors | +| Level/millipede data | $C000–$C734 | 1845 bytes of level layouts, enemy paths (classified as data, referenced by code) | +| Audio sequences | $F000+ | Music/SFX data | + +**Note:** The region $C000–$C734 (1845 bytes) is classified as `.byte` data but is heavily referenced by code (93+ references from `lda $Cxxx,x`, `bit $Cxxx` instructions). This is level/map data for the millipede and enemy movement patterns. + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C735) ────► sei/cld, PPUCTRL=0, stack=$FF + │ + ├─ Wait VBlank (poll $2002 bit 7) + │ + ├─ Clear $0000–$05FF (6 pages via Zp00/Zp01) + │ + ├─ jsr $C76A: + │ Clear $03D0–$03F9 + │ Copy $C271→$03DF (6 bytes) + │ Init $03D0=$2C, $03E6=$2D, $03E9=$24, $03F2=$16 + │ $03F5–$03F8 = $D0 + │ APUDMCDIRECT=0, PPUMASK=$06 + │ jsr $C7E6, $C7CA + │ + ├─ PPUCTRL |= $80 (NMI on) → Zp10 + │ + ▼ +Label_C764: jsr $F09B / jmp $C764 (wait for first NMI) + │ + ▼ (NMI fires) + +NMI ($C7F1) [once per frame] + ├─ Controller strobe ($4016) + ├─ Zp10 &= $7F → PPUCTRL (NMI off during frame) + ├─ Zp11 ^= $1A → PPUMASK (toggle bits 1,3,4) + ├─ jsr $EF4A (sprite/OAM update) + ├─ jsr $EF36 (PPU/scroll update) + ├─ Check $0396/$0397 → attract audio ($F085) if set + ├─ jsr $F9A0 (gameplay audio) + ├─ jsr $F0BC (sound effects) + ├─ Zp43 init ($FF) if zero + ├─ Dispatch on Zp60 ($60): + │ 0: jsr $C865 (attract) → $C84C + │ 1: jsr $CA31 (gameplay) → $C84C + │ 2: jsr $CCD7 (bonus) → $C84C + │ 3+: jsr $D3F1 → $C84C + └─ $C84C: common exit → rti + +Main Loop ($C7BE+) + ├─ jsr $C7E0 + ├─ Zp10 &= $E7 (clear bits 3,4,5) + ├─ Game logic (player, millipede, enemies) + ├─ Collision detection + ├─ Level progression + └─ Loop (VBlank synchronized via Zp10/Zp11) +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 14,744 lines, canonical audit comments, 74.6% code. All 839 address-derived `Label_` definitions have been renamed: 12 semantic routine names (Reset, NmiHandler, MainLoop, GameplayUpdate, AttractMode, AttractAudio, GameOver, StageClear, InitObjects, ClearScore, SoundEffects, GameplayAudio) + 264 `SubC` entry points + 577 `Sub_8764_*` internal branch targets. No `Label_` remains. + +**Pass 2 complete** — every `jsr`/`jmp` target is a named routine (semantic or `SubC`); internal branch targets use `_Block`/`JoinBranchPaths` style names. + +**Pass 3 complete** — 8 semantic zero-page aliases (PtrLo/Hi, Ptr2Lo/Hi, PpuCtrlShadow, PpuMaskShadow, AudioState, GameState, GameplaySubState); hardware register operands substituted via `apply_symbols.py`; data tables named: `LevelData` ($C000–$C734), `ObjectInitData` ($C271), `AudioData` ($F24F–$F984), `VectorPageData` ($FE61–$FFFF). Remaining zero-page slots retain neutral `ZpXX` names where role is not unique. + +**Indirect dispatch** (not followed statically): `jmp ($0002)` at $EF15. + +**Large data region** — $C000–$C734 (1845 bytes) classified as data but referenced by 93+ code instructions (`lda $Cxxx,x`, `bit $Cxxx`). This is level/enemy pattern data, not code. + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/Millipede (U)/copilot/Makefile b/Millipede (U)/copilot/Makefile new file mode 100644 index 0000000..0d14c9a --- /dev/null +++ b/Millipede (U)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean diff --git a/_wip/Millipede (U)/copilot/chr.bin b/Millipede (U)/copilot/chr.bin similarity index 100% rename from _wip/Millipede (U)/copilot/chr.bin rename to Millipede (U)/copilot/chr.bin diff --git a/Millipede (U)/copilot/chr.s b/Millipede (U)/copilot/chr.s new file mode 100644 index 0000000..a5c5801 --- /dev/null +++ b/Millipede (U)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" diff --git a/_wip/Millipede (U)/copilot/header.bin b/Millipede (U)/copilot/header.bin similarity index 100% rename from _wip/Millipede (U)/copilot/header.bin rename to Millipede (U)/copilot/header.bin diff --git a/Millipede (U)/copilot/header.s b/Millipede (U)/copilot/header.s new file mode 100644 index 0000000..6091055 --- /dev/null +++ b/Millipede (U)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" diff --git a/Millipede (U)/copilot/linker.cfg b/Millipede (U)/copilot/linker.cfg new file mode 100644 index 0000000..e5136a0 --- /dev/null +++ b/Millipede (U)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} diff --git a/_wip/Millipede (U)/copilot/locals.inc b/Millipede (U)/copilot/locals.inc similarity index 95% rename from _wip/Millipede (U)/copilot/locals.inc rename to Millipede (U)/copilot/locals.inc index 8fd389a..fd31df1 100644 --- a/_wip/Millipede (U)/copilot/locals.inc +++ b/Millipede (U)/copilot/locals.inc @@ -193,3 +193,25 @@ ZpFC = $FC ; 9 refs; reads=5 writes=4; used at $CCD9, DFC5, D ZpFD = $FD ; 6 refs; reads=1 writes=5; used at $C8E7, C9E9, D0BA, D2FB, +2 more ZpFE = $FE ; 45 refs; reads=21 writes=24; used at $CA3F, CCDB, D864, E6CF, +31 more ZpFF = $FF ; 25 refs; reads=3 writes=22; used at $CCAA, D3B7, D71A, D7ED, +19 more + +; Semantic aliases (Pass 3, 2026-10-20) +; Based on observed usage in the disassembly + +; 16-bit pointer (RAM clear) +PtrLo = $00 ; semantic alias for Zp00 +PtrHi = $01 ; semantic alias for Zp01 + +; Indirect dispatch pointer (jmp ($0002)) +Ptr2Lo = $02 ; semantic alias for Zp02 +Ptr2Hi = $03 ; semantic alias for Zp03 + +; PPU state shadows +PpuCtrlShadow = $10 ; semantic alias for Zp10 +PpuMaskShadow = $11 ; semantic alias for Zp11 + +; Audio state +AudioState = $43 ; semantic alias for Zp43 + +; Game state +GameState = $60 ; semantic alias for Zp60 +GameplaySubState = $77 ; semantic alias for Zp77 diff --git a/_wip/Millipede (U)/copilot/prg.bin b/Millipede (U)/copilot/prg.bin similarity index 100% rename from _wip/Millipede (U)/copilot/prg.bin rename to Millipede (U)/copilot/prg.bin diff --git a/_wip/Millipede (U)/copilot/prg.s b/Millipede (U)/copilot/prg.s similarity index 83% rename from _wip/Millipede (U)/copilot/prg.s rename to Millipede (U)/copilot/prg.s index c8fca85..26d42bb 100644 --- a/_wip/Millipede (U)/copilot/prg.s +++ b/Millipede (U)/copilot/prg.s @@ -19,6 +19,7 @@ .segment "PRG" +LevelData: ; ---- data $C000-$C734 (1845 bytes) ---- ; referenced by `lda $C271,x` at $C776 (operand $C271 falls inside this region) ; referenced by `bit $C04E` at $C91A (operand $C04E falls inside this region) @@ -66,7 +67,10 @@ .byte $30, $20, $30, $70, $20, $68, $20, $10, $20, $3C, $01, $40, $80, $40, $C0, $C0 ; CPU:$C240 PRG:0240 30 20 30 70 20 68 20 10 20 3C 01 40 80 40 C0 C0 .byte $C0, $C0, $C0, $C0, $82, $80, $81, $88, $81, $80, $84, $82, $80, $88, $81, $88 ; CPU:$C250 PRG:0250 C0 C0 C0 C0 82 80 81 88 81 80 84 82 80 88 81 88 .byte $81, $84, $81, $88, $82, $88, $82, $80, $82, $84, $82, $81, $82, $81, $82, $81 ; CPU:$C260 PRG:0260 81 84 81 88 82 88 82 80 82 84 82 81 82 81 82 81 - .byte $82, $19, $15, $0A, $22, $0E, $1B, $4F, $5F, $6F, $7F, $18, $22, $38, $C8, $E7 ; CPU:$C270 PRG:0270 82 19 15 0A 22 0E 1B 4F 5F 6F 7F 18 22 38 C8 E7 + .byte $82 ; CPU:$C270 PRG:0270 82 +ObjectInitData: + .byte $19, $15, $0A, $22, $0E, $1B ; CPU:$C271 PRG:0271 19 15 0A 22 0E 1B + .byte $4F, $5F, $6F, $7F, $18, $22, $38, $C8, $E7 ; CPU:$C277 PRG:0277 4F 5F 6F 7F 18 22 38 C8 E7 .byte $22, $39, $C8, $E8, $22, $3A, $C8, $E8, $22, $3B, $C8, $E8, $22, $3C, $C8, $E8 ; CPU:$C280 PRG:0280 22 39 C8 E8 22 3A C8 E8 22 3B C8 E8 22 3C C8 E8 .byte $22, $3D, $C8, $E8, $00, $00, $04, $00, $05, $11, $24, $11, $43, $11, $42, $11 ; CPU:$C290 PRG:0290 22 3D C8 E8 00 00 04 00 05 11 24 11 43 11 42 11 .byte $41, $11, $40, $11, $44, $11, $45, $11, $46, $11, $24, $11, $4B, $11, $4A, $11 ; CPU:$C2A0 PRG:02A0 41 11 40 11 44 11 45 11 46 11 24 11 4B 11 4A 11 @@ -156,11 +160,11 @@ Reset: sei ; CPU:$C735 PRG:0735 78 cld ; CPU:$C736 PRG:0736 D8 lda #$00 ; CPU:$C737 PRG:0737 A9 00 - sta $2000 ; CPU:$C739 PRG:0739 8D 00 20 + sta PPUCTRL ; CPU:$C739 PRG:0739 8D 00 20 ldx #$FF ; CPU:$C73C PRG:073C A2 FF txs ; CPU:$C73E PRG:073E 9A ; ----------------------------------------------------------------------------- -; Routine: Label_C73F +; Routine: Sub_8764_OnZero_C73F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -168,17 +172,17 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C73F: - lda $2002 ; CPU:$C73F PRG:073F AD 02 20 +Sub_8764_OnZero_C73F: + lda PPUSTATUS ; CPU:$C73F PRG:073F AD 02 20 and #$80 ; CPU:$C742 PRG:0742 29 80 - beq Label_C73F ; CPU:$C744 PRG:0744 F0 F9 + beq Sub_8764_OnZero_C73F ; CPU:$C744 PRG:0744 F0 F9 ldy #$06 ; CPU:$C746 PRG:0746 A0 06 - sty Zp01 ; CPU:$C748 PRG:0748 84 01 + sty PtrHi ; CPU:$C748 PRG:0748 84 01 ldy #$00 ; CPU:$C74A PRG:074A A0 00 - sty Zp00 ; CPU:$C74C PRG:074C 84 00 + sty PtrLo ; CPU:$C74C PRG:074C 84 00 tya ; CPU:$C74E PRG:074E 98 ; ----------------------------------------------------------------------------- -; Routine: Label_C74F +; Routine: Sub_8764_JoinBranchPaths_C74F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -186,19 +190,19 @@ Label_C73F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C74F: - sta (Zp00),y ; CPU:$C74F PRG:074F 91 00 +Sub_8764_JoinBranchPaths_C74F: + sta (PtrLo),y ; CPU:$C74F PRG:074F 91 00 dey ; CPU:$C751 PRG:0751 88 - bne Label_C74F ; CPU:$C752 PRG:0752 D0 FB - dec Zp01 ; CPU:$C754 PRG:0754 C6 01 - bpl Label_C74F ; CPU:$C756 PRG:0756 10 F7 - jsr $C76A ; CPU:$C758 PRG:0758 20 6A C7 - lda Zp10 ; CPU:$C75B PRG:075B A5 10 + bne Sub_8764_JoinBranchPaths_C74F ; CPU:$C752 PRG:0752 D0 FB + dec PtrHi ; CPU:$C754 PRG:0754 C6 01 + bpl Sub_8764_JoinBranchPaths_C74F ; CPU:$C756 PRG:0756 10 F7 + jsr InitObjects ; CPU:$C758 PRG:0758 20 6A C7 + lda PpuCtrlShadow ; CPU:$C75B PRG:075B A5 10 ora #$80 ; CPU:$C75D PRG:075D 09 80 - sta $2000 ; CPU:$C75F PRG:075F 8D 00 20 - sta Zp10 ; CPU:$C762 PRG:0762 85 10 + sta PPUCTRL ; CPU:$C75F PRG:075F 8D 00 20 + sta PpuCtrlShadow ; CPU:$C762 PRG:0762 85 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C764 +; Routine: MainLoop ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -206,11 +210,11 @@ Label_C74F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C764: - jsr $F09B ; CPU:$C764 PRG:0764 20 9B F0 - jmp $C764 ; CPU:$C767 PRG:0767 4C 64 C7 +MainLoop: + jsr SubCF09B ; CPU:$C764 PRG:0764 20 9B F0 + jmp MainLoop ; CPU:$C767 PRG:0767 4C 64 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C76A +; Routine: InitObjects ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -218,11 +222,11 @@ Label_C764: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C76A: +InitObjects: ldx #$29 ; CPU:$C76A PRG:076A A2 29 lda #$24 ; CPU:$C76C PRG:076C A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C76E +; Routine: Sub_8764_OnNonzero_C76E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -230,13 +234,13 @@ Label_C76A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C76E: +Sub_8764_OnNonzero_C76E: sta $03D0,x ; CPU:$C76E PRG:076E 9D D0 03 dex ; CPU:$C771 PRG:0771 CA - bne Label_C76E ; CPU:$C772 PRG:0772 D0 FA + bne Sub_8764_OnNonzero_C76E ; CPU:$C772 PRG:0772 D0 FA ldx #$00 ; CPU:$C774 PRG:0774 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C776 +; Routine: Sub_8764_OnNonzero_C776 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -244,12 +248,12 @@ Label_C76E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C776: +Sub_8764_OnNonzero_C776: lda $C271,x ; CPU:$C776 PRG:0776 BD 71 C2 sta $03DF,x ; CPU:$C779 PRG:0779 9D DF 03 inx ; CPU:$C77C PRG:077C E8 cpx #$06 ; CPU:$C77D PRG:077D E0 06 - bne Label_C776 ; CPU:$C77F PRG:077F D0 F5 + bne Sub_8764_OnNonzero_C776 ; CPU:$C77F PRG:077F D0 F5 lda #$2C ; CPU:$C781 PRG:0781 A9 2C sta $03D0 ; CPU:$C783 PRG:0783 8D D0 03 lda #$2D ; CPU:$C786 PRG:0786 A9 2D @@ -264,14 +268,14 @@ Label_C776: sta $03F7 ; CPU:$C79D PRG:079D 8D F7 03 sta $03F8 ; CPU:$C7A0 PRG:07A0 8D F8 03 lda #$00 ; CPU:$C7A3 PRG:07A3 A9 00 - sta $4011 ; CPU:$C7A5 PRG:07A5 8D 11 40 + sta APUDMCDIRECT ; CPU:$C7A5 PRG:07A5 8D 11 40 lda #$06 ; CPU:$C7A8 PRG:07A8 A9 06 - sta $2001 ; CPU:$C7AA PRG:07AA 8D 01 20 - jsr $C7E6 ; CPU:$C7AD PRG:07AD 20 E6 C7 - jsr $C7CA ; CPU:$C7B0 PRG:07B0 20 CA C7 - jmp $C7B6 ; CPU:$C7B3 PRG:07B3 4C B6 C7 + sta PPUMASK ; CPU:$C7AA PRG:07AA 8D 01 20 + jsr SubCC7E6 ; CPU:$C7AD PRG:07AD 20 E6 C7 + jsr SubCC7CA ; CPU:$C7B0 PRG:07B0 20 CA C7 + jmp ClearScore ; CPU:$C7B3 PRG:07B3 4C B6 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C7B6 +; Routine: ClearScore ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -279,12 +283,12 @@ Label_C776: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7B6: +ClearScore: lda #$00 ; CPU:$C7B6 PRG:07B6 A9 00 sta $0330 ; CPU:$C7B8 PRG:07B8 8D 30 03 sta $0331 ; CPU:$C7BB PRG:07BB 8D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C7BE +; Routine: MainLoopEntry ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -292,14 +296,14 @@ Label_C7B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7BE: - jsr $C7E0 ; CPU:$C7BE PRG:07BE 20 E0 C7 - lda Zp10 ; CPU:$C7C1 PRG:07C1 A5 10 +MainLoopEntry: + jsr SubCC7E0 ; CPU:$C7BE PRG:07BE 20 E0 C7 + lda PpuCtrlShadow ; CPU:$C7C1 PRG:07C1 A5 10 and #$E7 ; CPU:$C7C3 PRG:07C3 29 E7 - sta Zp10 ; CPU:$C7C5 PRG:07C5 85 10 - jmp $EF55 ; CPU:$C7C7 PRG:07C7 4C 55 EF + sta PpuCtrlShadow ; CPU:$C7C5 PRG:07C5 85 10 + jmp SubCEF55 ; CPU:$C7C7 PRG:07C7 4C 55 EF ; ----------------------------------------------------------------------------- -; Routine: Label_C7CA +; Routine: SubCC7CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -307,19 +311,19 @@ Label_C7BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7CA: - lda Zp10 ; CPU:$C7CA PRG:07CA A5 10 +SubCC7CA: + lda PpuCtrlShadow ; CPU:$C7CA PRG:07CA A5 10 and #$FC ; CPU:$C7CC PRG:07CC 29 FC - sta $2000 ; CPU:$C7CE PRG:07CE 8D 00 20 - sta Zp10 ; CPU:$C7D1 PRG:07D1 85 10 + sta PPUCTRL ; CPU:$C7CE PRG:07CE 8D 00 20 + sta PpuCtrlShadow ; CPU:$C7D1 PRG:07D1 85 10 lda #$00 ; CPU:$C7D3 PRG:07D3 A9 00 - sta $2005 ; CPU:$C7D5 PRG:07D5 8D 05 20 + sta PPUSCROLL ; CPU:$C7D5 PRG:07D5 8D 05 20 sta Zp12 ; CPU:$C7D8 PRG:07D8 85 12 - sta $2005 ; CPU:$C7DA PRG:07DA 8D 05 20 + sta PPUSCROLL ; CPU:$C7DA PRG:07DA 8D 05 20 sta Zp13 ; CPU:$C7DD PRG:07DD 85 13 rts ; CPU:$C7DF PRG:07DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E0 +; Routine: SubCC7E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -327,12 +331,12 @@ Label_C7CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E0: +SubCC7E0: lda #$00 ; CPU:$C7E0 PRG:07E0 A9 00 - sta $2001 ; CPU:$C7E2 PRG:07E2 8D 01 20 + sta PPUMASK ; CPU:$C7E2 PRG:07E2 8D 01 20 rts ; CPU:$C7E5 PRG:07E5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E6 +; Routine: SubCC7E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -340,11 +344,11 @@ Label_C7E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E6: +SubCC7E6: lda #$00 ; CPU:$C7E6 PRG:07E6 A9 00 ldy #$00 ; CPU:$C7E8 PRG:07E8 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C7EA +; Routine: Sub_8764_OnNonzero_C7EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -352,10 +356,10 @@ Label_C7E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7EA: +Sub_8764_OnNonzero_C7EA: sta $0200,y ; CPU:$C7EA PRG:07EA 99 00 02 dey ; CPU:$C7ED PRG:07ED 88 - bne Label_C7EA ; CPU:$C7EE PRG:07EE D0 FA + bne Sub_8764_OnNonzero_C7EA ; CPU:$C7EE PRG:07EE D0 FA rts ; CPU:$C7F0 PRG:07F0 60 ; ----------------------------------------------------------------------------- ; Routine: NmiHandler @@ -368,23 +372,23 @@ Label_C7EA: ; ----------------------------------------------------------------------------- NmiHandler: lda #$00 ; CPU:$C7F1 PRG:07F1 A9 00 - sta $4016 ; CPU:$C7F3 PRG:07F3 8D 16 40 - lda Zp10 ; CPU:$C7F6 PRG:07F6 A5 10 + sta JOY1 ; CPU:$C7F3 PRG:07F3 8D 16 40 + lda PpuCtrlShadow ; CPU:$C7F6 PRG:07F6 A5 10 and #$7F ; CPU:$C7F8 PRG:07F8 29 7F - sta $2000 ; CPU:$C7FA PRG:07FA 8D 00 20 - sta Zp10 ; CPU:$C7FD PRG:07FD 85 10 - lda Zp11 ; CPU:$C7FF PRG:07FF A5 11 + sta PPUCTRL ; CPU:$C7FA PRG:07FA 8D 00 20 + sta PpuCtrlShadow ; CPU:$C7FD PRG:07FD 85 10 + lda PpuMaskShadow ; CPU:$C7FF PRG:07FF A5 11 eor #$1A ; CPU:$C801 PRG:0801 49 1A - sta $2001 ; CPU:$C803 PRG:0803 8D 01 20 - jsr $EF4A ; CPU:$C806 PRG:0806 20 4A EF - jsr $EF36 ; CPU:$C809 PRG:0809 20 36 EF + sta PPUMASK ; CPU:$C803 PRG:0803 8D 01 20 + jsr UpdateSprites ; CPU:$C806 PRG:0806 20 4A EF + jsr UpdatePPU ; CPU:$C809 PRG:0809 20 36 EF lda $0396 ; CPU:$C80C PRG:080C AD 96 03 - bne Label_C819 ; CPU:$C80F PRG:080F D0 08 + bne Sub_8764_OnNonzero_C819 ; CPU:$C80F PRG:080F D0 08 lda $0397 ; CPU:$C811 PRG:0811 AD 97 03 - bne Label_C819 ; CPU:$C814 PRG:0814 D0 03 - jsr $F085 ; CPU:$C816 PRG:0816 20 85 F0 + bne Sub_8764_OnNonzero_C819 ; CPU:$C814 PRG:0814 D0 03 + jsr AttractAudio ; CPU:$C816 PRG:0816 20 85 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_C819 +; Routine: Sub_8764_OnNonzero_C819 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -392,15 +396,15 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C819: - jsr $F9A0 ; CPU:$C819 PRG:0819 20 A0 F9 - jsr $F0BC ; CPU:$C81C PRG:081C 20 BC F0 - lda Zp43 ; CPU:$C81F PRG:081F A5 43 - bne Label_C827 ; CPU:$C821 PRG:0821 D0 04 +Sub_8764_OnNonzero_C819: + jsr GameplayAudio ; CPU:$C819 PRG:0819 20 A0 F9 + jsr SoundEffects ; CPU:$C81C PRG:081C 20 BC F0 + lda AudioState ; CPU:$C81F PRG:081F A5 43 + bne Sub_8764_OnNonzero_C827 ; CPU:$C821 PRG:0821 D0 04 lda #$FF ; CPU:$C823 PRG:0823 A9 FF - sta Zp43 ; CPU:$C825 PRG:0825 85 43 + sta AudioState ; CPU:$C825 PRG:0825 85 43 ; ----------------------------------------------------------------------------- -; Routine: Label_C827 +; Routine: Sub_8764_OnNonzero_C827 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -408,19 +412,19 @@ Label_C819: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C827: - lda Zp60 ; CPU:$C827 PRG:0827 A5 60 - beq Label_C843 ; CPU:$C829 PRG:0829 F0 18 +Sub_8764_OnNonzero_C827: + lda GameState ; CPU:$C827 PRG:0827 A5 60 + beq Sub_8764_OnZero_C843 ; CPU:$C829 PRG:0829 F0 18 cmp #$01 ; CPU:$C82B PRG:082B C9 01 - beq Label_C849 ; CPU:$C82D PRG:082D F0 1A + beq Sub_8764_OnZero_C849 ; CPU:$C82D PRG:082D F0 1A cmp #$02 ; CPU:$C82F PRG:082F C9 02 - beq Label_C83D ; CPU:$C831 PRG:0831 F0 0A - jsr $D3F1 ; CPU:$C833 PRG:0833 20 F1 D3 + beq Sub_8764_OnZero_C83D ; CPU:$C831 PRG:0831 F0 0A + jsr GameOver ; CPU:$C833 PRG:0833 20 F1 D3 lda #$00 ; CPU:$C836 PRG:0836 A9 00 - sta Zp77 ; CPU:$C838 PRG:0838 85 77 - jmp $C84C ; CPU:$C83A PRG:083A 4C 4C C8 + sta GameplaySubState ; CPU:$C838 PRG:0838 85 77 + jmp NmiExit ; CPU:$C83A PRG:083A 4C 4C C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C83D +; Routine: Sub_8764_OnZero_C83D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -428,11 +432,11 @@ Label_C827: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C83D: - jsr $CCD7 ; CPU:$C83D PRG:083D 20 D7 CC - jmp $C84C ; CPU:$C840 PRG:0840 4C 4C C8 +Sub_8764_OnZero_C83D: + jsr StageClear ; CPU:$C83D PRG:083D 20 D7 CC + jmp NmiExit ; CPU:$C840 PRG:0840 4C 4C C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C843 +; Routine: Sub_8764_OnZero_C843 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -440,11 +444,11 @@ Label_C83D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C843: - jsr $C865 ; CPU:$C843 PRG:0843 20 65 C8 - jmp $C84C ; CPU:$C846 PRG:0846 4C 4C C8 +Sub_8764_OnZero_C843: + jsr AttractMode ; CPU:$C843 PRG:0843 20 65 C8 + jmp NmiExit ; CPU:$C846 PRG:0846 4C 4C C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C849 +; Routine: Sub_8764_OnZero_C849 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -452,10 +456,10 @@ Label_C843: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C849: - jsr $CA31 ; CPU:$C849 PRG:0849 20 31 CA +Sub_8764_OnZero_C849: + jsr GameplayUpdate ; CPU:$C849 PRG:0849 20 31 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C84C +; Routine: NmiExit ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -463,12 +467,12 @@ Label_C849: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C84C: +NmiExit: lda ZpD7 ; CPU:$C84C PRG:084C A5 D7 - bne Label_C853 ; CPU:$C84E PRG:084E D0 03 - jsr $EED9 ; CPU:$C850 PRG:0850 20 D9 EE + bne Sub_8764_OnNonzero_C853 ; CPU:$C84E PRG:084E D0 03 + jsr SubCEED9 ; CPU:$C850 PRG:0850 20 D9 EE ; ----------------------------------------------------------------------------- -; Routine: Label_C853 +; Routine: Sub_8764_OnNonzero_C853 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -476,17 +480,17 @@ Label_C84C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C853: - lda $2002 ; CPU:$C853 PRG:0853 AD 02 20 - lda Zp10 ; CPU:$C856 PRG:0856 A5 10 +Sub_8764_OnNonzero_C853: + lda PPUSTATUS ; CPU:$C853 PRG:0853 AD 02 20 + lda PpuCtrlShadow ; CPU:$C856 PRG:0856 A5 10 ora #$80 ; CPU:$C858 PRG:0858 09 80 - sta $2000 ; CPU:$C85A PRG:085A 8D 00 20 - sta Zp10 ; CPU:$C85D PRG:085D 85 10 + sta PPUCTRL ; CPU:$C85A PRG:085A 8D 00 20 + sta PpuCtrlShadow ; CPU:$C85D PRG:085D 85 10 lda #$FF ; CPU:$C85F PRG:085F A9 FF - sta $4016 ; CPU:$C861 PRG:0861 8D 16 40 + sta JOY1 ; CPU:$C861 PRG:0861 8D 16 40 rti ; CPU:$C864 PRG:0864 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C865 +; Routine: AttractMode ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -494,12 +498,12 @@ Label_C853: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C865: +AttractMode: lda Zp70 ; CPU:$C865 PRG:0865 A5 70 - beq Label_C86C ; CPU:$C867 PRG:0867 F0 03 - jmp $C8ED ; CPU:$C869 PRG:0869 4C ED C8 + beq Sub_8764_OnZero_C86C ; CPU:$C867 PRG:0867 F0 03 + jmp SubCC8ED ; CPU:$C869 PRG:0869 4C ED C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C86C +; Routine: Sub_8764_OnZero_C86C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -507,25 +511,25 @@ Label_C865: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C86C: - jsr $C7E0 ; CPU:$C86C PRG:086C 20 E0 C7 - lda Zp10 ; CPU:$C86F PRG:086F A5 10 +Sub_8764_OnZero_C86C: + jsr SubCC7E0 ; CPU:$C86C PRG:086C 20 E0 C7 + lda PpuCtrlShadow ; CPU:$C86F PRG:086F A5 10 and #$FB ; CPU:$C871 PRG:0871 29 FB ora #$18 ; CPU:$C873 PRG:0873 09 18 - sta Zp10 ; CPU:$C875 PRG:0875 85 10 + sta PpuCtrlShadow ; CPU:$C875 PRG:0875 85 10 lda #$C7 ; CPU:$C877 PRG:0877 A9 C7 ldx #$F7 ; CPU:$C879 PRG:0879 A2 F7 - sta Zp00 ; CPU:$C87B PRG:087B 85 00 - stx Zp01 ; CPU:$C87D PRG:087D 86 01 - jsr $F143 ; CPU:$C87F PRG:087F 20 43 F1 + sta PtrLo ; CPU:$C87B PRG:087B 85 00 + stx PtrHi ; CPU:$C87D PRG:087D 86 01 + jsr SubCF143 ; CPU:$C87F PRG:087F 20 43 F1 lda #$20 ; CPU:$C882 PRG:0882 A9 20 - sta $2006 ; CPU:$C884 PRG:0884 8D 06 20 + sta PPUADDR ; CPU:$C884 PRG:0884 8D 06 20 lda #$00 ; CPU:$C887 PRG:0887 A9 00 - sta $2006 ; CPU:$C889 PRG:0889 8D 06 20 + sta PPUADDR ; CPU:$C889 PRG:0889 8D 06 20 ldx #$00 ; CPU:$C88C PRG:088C A2 00 lda #$FF ; CPU:$C88E PRG:088E A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_C890 +; Routine: Sub_8764_OnNonzero_C890 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -533,21 +537,21 @@ Label_C86C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C890: - sta $2007 ; CPU:$C890 PRG:0890 8D 07 20 - sta $2007 ; CPU:$C893 PRG:0893 8D 07 20 - sta $2007 ; CPU:$C896 PRG:0896 8D 07 20 - sta $2007 ; CPU:$C899 PRG:0899 8D 07 20 +Sub_8764_OnNonzero_C890: + sta PPUDATA ; CPU:$C890 PRG:0890 8D 07 20 + sta PPUDATA ; CPU:$C893 PRG:0893 8D 07 20 + sta PPUDATA ; CPU:$C896 PRG:0896 8D 07 20 + sta PPUDATA ; CPU:$C899 PRG:0899 8D 07 20 dex ; CPU:$C89C PRG:089C CA - bne Label_C890 ; CPU:$C89D PRG:089D D0 F1 + bne Sub_8764_OnNonzero_C890 ; CPU:$C89D PRG:089D D0 F1 lda #$B6 ; CPU:$C89F PRG:089F A9 B6 ldx #$F4 ; CPU:$C8A1 PRG:08A1 A2 F4 ldy $03FF ; CPU:$C8A3 PRG:08A3 AC FF 03 - beq Label_C8AC ; CPU:$C8A6 PRG:08A6 F0 04 + beq Sub_8764_OnZero_C8AC ; CPU:$C8A6 PRG:08A6 F0 04 lda #$40 ; CPU:$C8A8 PRG:08A8 A9 40 ldx #$F6 ; CPU:$C8AA PRG:08AA A2 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_C8AC +; Routine: Sub_8764_OnZero_C8AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -555,10 +559,10 @@ Label_C890: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8AC: - sta Zp00 ; CPU:$C8AC PRG:08AC 85 00 - stx Zp01 ; CPU:$C8AE PRG:08AE 86 01 - jsr $F143 ; CPU:$C8B0 PRG:08B0 20 43 F1 +Sub_8764_OnZero_C8AC: + sta PtrLo ; CPU:$C8AC PRG:08AC 85 00 + stx PtrHi ; CPU:$C8AE PRG:08AE 86 01 + jsr SubCF143 ; CPU:$C8B0 PRG:08B0 20 43 F1 lda #$38 ; CPU:$C8B3 PRG:08B3 A9 38 sta $0203 ; CPU:$C8B5 PRG:08B5 8D 03 02 lda #$AC ; CPU:$C8B8 PRG:08B8 A9 AC @@ -567,7 +571,7 @@ Label_C8AC: sta $0202 ; CPU:$C8BF PRG:08BF 8D 02 02 lda #$02 ; CPU:$C8C2 PRG:08C2 A9 02 sta Zp70 ; CPU:$C8C4 PRG:08C4 85 70 - jsr $C7CA ; CPU:$C8C6 PRG:08C6 20 CA C7 + jsr SubCC7CA ; CPU:$C8C6 PRG:08C6 20 CA C7 lda #$00 ; CPU:$C8C9 PRG:08C9 A9 00 sta $03A0 ; CPU:$C8CB PRG:08CB 8D A0 03 sta $03A1 ; CPU:$C8CE PRG:08CE 8D A1 03 @@ -576,15 +580,15 @@ Label_C8AC: lda #$38 ; CPU:$C8D7 PRG:08D7 A9 38 sta Zp46 ; CPU:$C8D9 PRG:08D9 85 46 lda #$0F ; CPU:$C8DB PRG:08DB A9 0F - sta $4015 ; CPU:$C8DD PRG:08DD 8D 15 40 + sta APUSTATUS ; CPU:$C8DD PRG:08DD 8D 15 40 lda $0394 ; CPU:$C8E0 PRG:08E0 AD 94 03 - bne Label_C8ED ; CPU:$C8E3 PRG:08E3 D0 08 + bne SubCC8ED ; CPU:$C8E3 PRG:08E3 D0 08 lda #$08 ; CPU:$C8E5 PRG:08E5 A9 08 sta ZpFD ; CPU:$C8E7 PRG:08E7 85 FD lda #$5D ; CPU:$C8E9 PRG:08E9 A9 5D sta Zp46 ; CPU:$C8EB PRG:08EB 85 46 ; ----------------------------------------------------------------------------- -; Routine: Label_C8ED +; Routine: SubCC8ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -592,15 +596,15 @@ Label_C8AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8ED: +SubCC8ED: lda Zp46 ; CPU:$C8ED PRG:08ED A5 46 - bne Label_C8FB ; CPU:$C8EF PRG:08EF D0 0A + bne Sub_8764_OnNonzero_C8FB ; CPU:$C8EF PRG:08EF D0 0A lda #$0F ; CPU:$C8F1 PRG:08F1 A9 0F sta $0393 ; CPU:$C8F3 PRG:08F3 8D 93 03 lda #$01 ; CPU:$C8F6 PRG:08F6 A9 01 - jmp $C970 ; CPU:$C8F8 PRG:08F8 4C 70 C9 + jmp SubCC970 ; CPU:$C8F8 PRG:08F8 4C 70 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8FB +; Routine: Sub_8764_OnNonzero_C8FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -608,20 +612,20 @@ Label_C8ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8FB: +Sub_8764_OnNonzero_C8FB: lda $03FF ; CPU:$C8FB PRG:08FB AD FF 03 - bne Label_C917 ; CPU:$C8FE PRG:08FE D0 17 + bne Sub_8764_OnNonzero_C917 ; CPU:$C8FE PRG:08FE D0 17 lda #$F0 ; CPU:$C900 PRG:0900 A9 F0 sta $0200 ; CPU:$C902 PRG:0902 8D 00 02 lda $03FE ; CPU:$C905 PRG:0905 AD FE 03 and #$30 ; CPU:$C908 PRG:0908 29 30 - beq Label_C916 ; CPU:$C90A PRG:090A F0 0A + beq Sub_8764_OnZero_C916 ; CPU:$C90A PRG:090A F0 0A inc $03FF ; CPU:$C90C PRG:090C EE FF 03 inc $0394 ; CPU:$C90F PRG:090F EE 94 03 lda #$00 ; CPU:$C912 PRG:0912 A9 00 sta Zp70 ; CPU:$C914 PRG:0914 85 70 ; ----------------------------------------------------------------------------- -; Routine: Label_C916 +; Routine: Sub_8764_OnZero_C916 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -629,10 +633,10 @@ Label_C8FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C916: +Sub_8764_OnZero_C916: rts ; CPU:$C916 PRG:0916 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C917 +; Routine: Sub_8764_OnNonzero_C917 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -640,17 +644,17 @@ Label_C916: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C917: +Sub_8764_OnNonzero_C917: lda $03FE ; CPU:$C917 PRG:0917 AD FE 03 bit $C04E ; CPU:$C91A PRG:091A 2C 4E C0 - bne Label_C944 ; CPU:$C91D PRG:091D D0 25 + bne Sub_8764_OnNonzero_C944 ; CPU:$C91D PRG:091D D0 25 bit $C04D ; CPU:$C91F PRG:091F 2C 4D C0 - bne Label_C92B ; CPU:$C922 PRG:0922 D0 07 + bne Sub_8764_OnNonzero_C92B ; CPU:$C922 PRG:0922 D0 07 and #$24 ; CPU:$C924 PRG:0924 29 24 - bne Label_C92F ; CPU:$C926 PRG:0926 D0 07 - jmp $C93B ; CPU:$C928 PRG:0928 4C 3B C9 + bne Sub_8764_OnNonzero_C92F ; CPU:$C926 PRG:0926 D0 07 + jmp SubCC93B ; CPU:$C928 PRG:0928 4C 3B C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C92B +; Routine: Sub_8764_OnNonzero_C92B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -658,11 +662,11 @@ Label_C917: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C92B: +Sub_8764_OnNonzero_C92B: dec Zp61 ; CPU:$C92B PRG:092B C6 61 dec Zp61 ; CPU:$C92D PRG:092D C6 61 ; ----------------------------------------------------------------------------- -; Routine: Label_C92F +; Routine: Sub_8764_OnNonzero_C92F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -670,7 +674,7 @@ Label_C92B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C92F: +Sub_8764_OnNonzero_C92F: lda #$5D ; CPU:$C92F PRG:092F A9 5D sta Zp46 ; CPU:$C931 PRG:0931 85 46 inc Zp61 ; CPU:$C933 PRG:0933 E6 61 @@ -678,7 +682,7 @@ Label_C92F: and #$03 ; CPU:$C937 PRG:0937 29 03 sta Zp61 ; CPU:$C939 PRG:0939 85 61 ; ----------------------------------------------------------------------------- -; Routine: Label_C93B +; Routine: SubCC93B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -686,13 +690,13 @@ Label_C92F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C93B: +SubCC93B: ldx Zp61 ; CPU:$C93B PRG:093B A6 61 lda $C277,x ; CPU:$C93D PRG:093D BD 77 C2 sta $0200 ; CPU:$C940 PRG:0940 8D 00 02 rts ; CPU:$C943 PRG:0943 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C944 +; Routine: Sub_8764_OnNonzero_C944 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -700,7 +704,7 @@ Label_C93B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C944: +Sub_8764_OnNonzero_C944: lda #$00 ; CPU:$C944 PRG:0944 A9 00 sta $0393 ; CPU:$C946 PRG:0946 8D 93 03 sta $0394 ; CPU:$C949 PRG:0949 8D 94 03 @@ -723,7 +727,7 @@ Label_C944: lda #$04 ; CPU:$C96C PRG:096C A9 04 sta Zp70 ; CPU:$C96E PRG:096E 85 70 ; ----------------------------------------------------------------------------- -; Routine: Label_C970 +; Routine: SubCC970 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -731,26 +735,26 @@ Label_C944: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C970: +SubCC970: sta Zp66 ; CPU:$C970 PRG:0970 85 66 - jsr $C7B6 ; CPU:$C972 PRG:0972 20 B6 C7 + jsr ClearScore ; CPU:$C972 PRG:0972 20 B6 C7 lda #$01 ; CPU:$C975 PRG:0975 A9 01 - sta Zp60 ; CPU:$C977 PRG:0977 85 60 + sta GameState ; CPU:$C977 PRG:0977 85 60 lda #$00 ; CPU:$C979 PRG:0979 A9 00 sta Zp72 ; CPU:$C97B PRG:097B 85 72 lda #$18 ; CPU:$C97D PRG:097D A9 18 sta Zp63 ; CPU:$C97F PRG:097F 85 63 lda Zp61 ; CPU:$C981 PRG:0981 A5 61 cmp #$02 ; CPU:$C983 PRG:0983 C9 02 - bmi Label_C994 ; CPU:$C985 PRG:0985 30 0D + bmi Sub_8764_OnNegative_C994 ; CPU:$C985 PRG:0985 30 0D lda #$1C ; CPU:$C987 PRG:0987 A9 1C sta Zp63 ; CPU:$C989 PRG:0989 85 63 lda #$04 ; CPU:$C98B PRG:098B A9 04 sta Zp67 ; CPU:$C98D PRG:098D 85 67 lda #$00 ; CPU:$C98F PRG:098F A9 00 - jsr $C9EC ; CPU:$C991 PRG:0991 20 EC C9 + jsr SubCC9EC ; CPU:$C991 PRG:0991 20 EC C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C994 +; Routine: Sub_8764_OnNegative_C994 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -758,19 +762,19 @@ Label_C970: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C994: +Sub_8764_OnNegative_C994: lda #$00 ; CPU:$C994 PRG:0994 A9 00 sta Zp64 ; CPU:$C996 PRG:0996 85 64 lda $0393 ; CPU:$C998 PRG:0998 AD 93 03 - bne Label_C9AF ; CPU:$C99B PRG:099B D0 12 + bne Sub_8764_OnNonzero_C9AF ; CPU:$C99B PRG:099B D0 12 lda Zp61 ; CPU:$C99D PRG:099D A5 61 and #$01 ; CPU:$C99F PRG:099F 29 01 - beq Label_C9AB ; CPU:$C9A1 PRG:09A1 F0 08 + beq Sub_8764_OnZero_C9AB ; CPU:$C9A1 PRG:09A1 F0 08 lda #$0A ; CPU:$C9A3 PRG:09A3 A9 0A sta $039E ; CPU:$C9A5 PRG:09A5 8D 9E 03 sta $039F ; CPU:$C9A8 PRG:09A8 8D 9F 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AB +; Routine: Sub_8764_OnZero_C9AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -778,11 +782,11 @@ Label_C994: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AB: +Sub_8764_OnZero_C9AB: lda #$04 ; CPU:$C9AB PRG:09AB A9 04 sta Zp49 ; CPU:$C9AD PRG:09AD 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AF +; Routine: Sub_8764_OnNonzero_C9AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -790,7 +794,7 @@ Label_C9AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AF: +Sub_8764_OnNonzero_C9AF: lda Zp61 ; CPU:$C9AF PRG:09AF A5 61 and #$01 ; CPU:$C9B1 PRG:09B1 29 01 tax ; CPU:$C9B3 PRG:09B3 AA @@ -802,10 +806,10 @@ Label_C9AF: sta Zp23 ; CPU:$C9C1 PRG:09C1 85 23 lda #$01 ; CPU:$C9C3 PRG:09C3 A9 01 sta Zp64 ; CPU:$C9C5 PRG:09C5 85 64 - jsr $CF8C ; CPU:$C9C7 PRG:09C7 20 8C CF + jsr SubCCF8C ; CPU:$C9C7 PRG:09C7 20 8C CF lda #$00 ; CPU:$C9CA PRG:09CA A9 00 sta Zp64 ; CPU:$C9CC PRG:09CC 85 64 - jsr $CF8C ; CPU:$C9CE PRG:09CE 20 8C CF + jsr SubCCF8C ; CPU:$C9CE PRG:09CE 20 8C CF lda #$00 ; CPU:$C9D1 PRG:09D1 A9 00 sta Zp6B ; CPU:$C9D3 PRG:09D3 85 6B lda #$03 ; CPU:$C9D5 PRG:09D5 A9 03 @@ -820,7 +824,7 @@ Label_C9AF: sta ZpFD ; CPU:$C9E9 PRG:09E9 85 FD rts ; CPU:$C9EB PRG:09EB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9EC +; Routine: SubCC9EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -828,30 +832,30 @@ Label_C9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9EC: +SubCC9EC: clc ; CPU:$C9EC PRG:09EC 18 adc #$01 ; CPU:$C9ED PRG:09ED 69 01 sta $03E6 ; CPU:$C9EF PRG:09EF 8D E6 03 lda #$8A ; CPU:$C9F2 PRG:09F2 A9 8A - sta Zp00 ; CPU:$C9F4 PRG:09F4 85 00 + sta PtrLo ; CPU:$C9F4 PRG:09F4 85 00 lda #$21 ; CPU:$C9F6 PRG:09F6 A9 21 - sta Zp01 ; CPU:$C9F8 PRG:09F8 85 01 + sta PtrHi ; CPU:$C9F8 PRG:09F8 85 01 lda #$D0 ; CPU:$C9FA PRG:09FA A9 D0 - sta Zp02 ; CPU:$C9FC PRG:09FC 85 02 + sta Ptr2Lo ; CPU:$C9FC PRG:09FC 85 02 lda #$03 ; CPU:$C9FE PRG:09FE A9 03 - sta Zp03 ; CPU:$CA00 PRG:0A00 85 03 - jsr $F018 ; CPU:$CA02 PRG:0A02 20 18 F0 + sta Ptr2Hi ; CPU:$CA00 PRG:0A00 85 03 + jsr SubCF018 ; CPU:$CA02 PRG:0A02 20 18 F0 lda #$00 ; CPU:$CA05 PRG:0A05 A9 00 - sta Zp00 ; CPU:$CA07 PRG:0A07 85 00 + sta PtrLo ; CPU:$CA07 PRG:0A07 85 00 lda #$3F ; CPU:$CA09 PRG:0A09 A9 3F - sta Zp01 ; CPU:$CA0B PRG:0A0B 85 01 + sta PtrHi ; CPU:$CA0B PRG:0A0B 85 01 lda #$11 ; CPU:$CA0D PRG:0A0D A9 11 - sta Zp02 ; CPU:$CA0F PRG:0A0F 85 02 + sta Ptr2Lo ; CPU:$CA0F PRG:0A0F 85 02 lda #$C4 ; CPU:$CA11 PRG:0A11 A9 C4 - sta Zp03 ; CPU:$CA13 PRG:0A13 85 03 - jmp $F018 ; CPU:$CA15 PRG:0A15 4C 18 F0 + sta Ptr2Hi ; CPU:$CA13 PRG:0A13 85 03 + jmp SubCF018 ; CPU:$CA15 PRG:0A15 4C 18 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_CA18 +; Routine: SubCCA18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -859,21 +863,21 @@ Label_C9EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA18: +SubCCA18: clc ; CPU:$CA18 PRG:0A18 18 adc #$01 ; CPU:$CA19 PRG:0A19 69 01 sta $03E6 ; CPU:$CA1B PRG:0A1B 8D E6 03 lda #$67 ; CPU:$CA1E PRG:0A1E A9 67 - sta Zp00 ; CPU:$CA20 PRG:0A20 85 00 + sta PtrLo ; CPU:$CA20 PRG:0A20 85 00 lda #$21 ; CPU:$CA22 PRG:0A22 A9 21 - sta Zp01 ; CPU:$CA24 PRG:0A24 85 01 + sta PtrHi ; CPU:$CA24 PRG:0A24 85 01 lda #$D0 ; CPU:$CA26 PRG:0A26 A9 D0 - sta Zp02 ; CPU:$CA28 PRG:0A28 85 02 + sta Ptr2Lo ; CPU:$CA28 PRG:0A28 85 02 lda #$03 ; CPU:$CA2A PRG:0A2A A9 03 - sta Zp03 ; CPU:$CA2C PRG:0A2C 85 03 - jmp $F018 ; CPU:$CA2E PRG:0A2E 4C 18 F0 + sta Ptr2Hi ; CPU:$CA2C PRG:0A2C 85 03 + jmp SubCF018 ; CPU:$CA2E PRG:0A2E 4C 18 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_CA31 +; Routine: GameplayUpdate ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -881,17 +885,17 @@ Label_CA18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA31: +GameplayUpdate: lda $0393 ; CPU:$CA31 PRG:0A31 AD 93 03 eor #$0F ; CPU:$CA34 PRG:0A34 49 0F - sta $4015 ; CPU:$CA36 PRG:0A36 8D 15 40 + sta APUSTATUS ; CPU:$CA36 PRG:0A36 8D 15 40 lda Zp70 ; CPU:$CA39 PRG:0A39 A5 70 - beq Label_CA44 ; CPU:$CA3B PRG:0A3B F0 07 + beq Sub_8764_OnZero_CA44 ; CPU:$CA3B PRG:0A3B F0 07 lda #$01 ; CPU:$CA3D PRG:0A3D A9 01 sta ZpFE ; CPU:$CA3F PRG:0A3F 85 FE - jmp $CA4E ; CPU:$CA41 PRG:0A41 4C 4E CA + jmp SubCCA4E ; CPU:$CA41 PRG:0A41 4C 4E CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA44 +; Routine: Sub_8764_OnZero_CA44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -899,13 +903,13 @@ Label_CA31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA44: - jsr $D086 ; CPU:$CA44 PRG:0A44 20 86 D0 - bne Label_CA56 ; CPU:$CA47 PRG:0A47 D0 0D - jsr $D09C ; CPU:$CA49 PRG:0A49 20 9C D0 - bne Label_CA56 ; CPU:$CA4C PRG:0A4C D0 08 +Sub_8764_OnZero_CA44: + jsr SubCD086 ; CPU:$CA44 PRG:0A44 20 86 D0 + bne Sub_8764_OnNonzero_CA56 ; CPU:$CA47 PRG:0A47 D0 0D + jsr SubCD09C ; CPU:$CA49 PRG:0A49 20 9C D0 + bne Sub_8764_OnNonzero_CA56 ; CPU:$CA4C PRG:0A4C D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CA4E +; Routine: SubCCA4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -913,13 +917,13 @@ Label_CA44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA4E: +SubCCA4E: lda Zp49 ; CPU:$CA4E PRG:0A4E A5 49 - beq Label_CA57 ; CPU:$CA50 PRG:0A50 F0 05 + beq Sub_8764_OnZero_CA57 ; CPU:$CA50 PRG:0A50 F0 05 lda #$10 ; CPU:$CA52 PRG:0A52 A9 10 - sta Zp11 ; CPU:$CA54 PRG:0A54 85 11 + sta PpuMaskShadow ; CPU:$CA54 PRG:0A54 85 11 ; ----------------------------------------------------------------------------- -; Routine: Label_CA56 +; Routine: Sub_8764_OnNonzero_CA56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -927,10 +931,10 @@ Label_CA4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA56: +Sub_8764_OnNonzero_CA56: rts ; CPU:$CA56 PRG:0A56 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA57 +; Routine: Sub_8764_OnZero_CA57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -938,16 +942,16 @@ Label_CA56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA57: +Sub_8764_OnZero_CA57: lda #$00 ; CPU:$CA57 PRG:0A57 A9 00 - sta Zp11 ; CPU:$CA59 PRG:0A59 85 11 + sta PpuMaskShadow ; CPU:$CA59 PRG:0A59 85 11 ldx Zp64 ; CPU:$CA5B PRG:0A5B A6 64 lda Zp72,x ; CPU:$CA5D PRG:0A5D B5 72 cmp #$01 ; CPU:$CA5F PRG:0A5F C9 01 - bne Label_CA66 ; CPU:$CA61 PRG:0A61 D0 03 - jmp $CA9B ; CPU:$CA63 PRG:0A63 4C 9B CA + bne Sub_8764_OnNonzero_CA66 ; CPU:$CA61 PRG:0A61 D0 03 + jmp SubCCA9B ; CPU:$CA63 PRG:0A63 4C 9B CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA66 +; Routine: Sub_8764_OnNonzero_CA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -955,12 +959,12 @@ Label_CA57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA66: +Sub_8764_OnNonzero_CA66: cmp #$02 ; CPU:$CA66 PRG:0A66 C9 02 - bne Label_CA6D ; CPU:$CA68 PRG:0A68 D0 03 - jmp $CAF9 ; CPU:$CA6A PRG:0A6A 4C F9 CA + bne Sub_8764_OnNonzero_CA6D ; CPU:$CA68 PRG:0A68 D0 03 + jmp SubCCAF9 ; CPU:$CA6A PRG:0A6A 4C F9 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA6D +; Routine: Sub_8764_OnNonzero_CA6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -968,12 +972,12 @@ Label_CA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA6D: +Sub_8764_OnNonzero_CA6D: cmp #$03 ; CPU:$CA6D PRG:0A6D C9 03 - bne Label_CA74 ; CPU:$CA6F PRG:0A6F D0 03 - jmp $CBD8 ; CPU:$CA71 PRG:0A71 4C D8 CB + bne Sub_8764_OnNonzero_CA74 ; CPU:$CA6F PRG:0A6F D0 03 + jmp SubCCBD8 ; CPU:$CA71 PRG:0A71 4C D8 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CA74 +; Routine: Sub_8764_OnNonzero_CA74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -981,12 +985,12 @@ Label_CA6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA74: +Sub_8764_OnNonzero_CA74: cmp #$04 ; CPU:$CA74 PRG:0A74 C9 04 - bne Label_CA7B ; CPU:$CA76 PRG:0A76 D0 03 - jmp $CBE2 ; CPU:$CA78 PRG:0A78 4C E2 CB + bne Sub_8764_OnNonzero_CA7B ; CPU:$CA76 PRG:0A76 D0 03 + jmp SubCCBE2 ; CPU:$CA78 PRG:0A78 4C E2 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CA7B +; Routine: Sub_8764_OnNonzero_CA7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -994,12 +998,12 @@ Label_CA74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA7B: +Sub_8764_OnNonzero_CA7B: cmp #$05 ; CPU:$CA7B PRG:0A7B C9 05 - bne Label_CA82 ; CPU:$CA7D PRG:0A7D D0 03 - jmp $CBFC ; CPU:$CA7F PRG:0A7F 4C FC CB + bne Sub_8764_OnNonzero_CA82 ; CPU:$CA7D PRG:0A7D D0 03 + jmp SubCCBFC ; CPU:$CA7F PRG:0A7F 4C FC CB ; ----------------------------------------------------------------------------- -; Routine: Label_CA82 +; Routine: Sub_8764_OnNonzero_CA82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1007,12 +1011,12 @@ Label_CA7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA82: +Sub_8764_OnNonzero_CA82: cmp #$06 ; CPU:$CA82 PRG:0A82 C9 06 - bne Label_CA89 ; CPU:$CA84 PRG:0A84 D0 03 - jmp $CACC ; CPU:$CA86 PRG:0A86 4C CC CA + bne Sub_8764_OnNonzero_CA89 ; CPU:$CA84 PRG:0A84 D0 03 + jmp SubCCACC ; CPU:$CA86 PRG:0A86 4C CC CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA89 +; Routine: Sub_8764_OnNonzero_CA89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1020,16 +1024,16 @@ Label_CA82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA89: - jsr $C7E6 ; CPU:$CA89 PRG:0A89 20 E6 C7 - jsr $C7CA ; CPU:$CA8C PRG:0A8C 20 CA C7 - jsr $C7BE ; CPU:$CA8F PRG:0A8F 20 BE C7 +Sub_8764_OnNonzero_CA89: + jsr SubCC7E6 ; CPU:$CA89 PRG:0A89 20 E6 C7 + jsr SubCC7CA ; CPU:$CA8C PRG:0A8C 20 CA C7 + jsr MainLoopEntry ; CPU:$CA8F PRG:0A8F 20 BE C7 ldx Zp64 ; CPU:$CA92 PRG:0A92 A6 64 lda #$01 ; CPU:$CA94 PRG:0A94 A9 01 sta Zp72,x ; CPU:$CA96 PRG:0A96 95 72 - jmp $CF63 ; CPU:$CA98 PRG:0A98 4C 63 CF + jmp SubCCF63 ; CPU:$CA98 PRG:0A98 4C 63 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CA9B +; Routine: SubCCA9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1037,19 +1041,19 @@ Label_CA89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA9B: - jsr $C7E0 ; CPU:$CA9B PRG:0A9B 20 E0 C7 +SubCCA9B: + jsr SubCC7E0 ; CPU:$CA9B PRG:0A9B 20 E0 C7 lda #$C6 ; CPU:$CA9E PRG:0A9E A9 C6 - sta Zp00 ; CPU:$CAA0 PRG:0AA0 85 00 + sta PtrLo ; CPU:$CAA0 PRG:0AA0 85 00 lda #$F2 ; CPU:$CAA2 PRG:0AA2 A9 F2 - sta Zp01 ; CPU:$CAA4 PRG:0AA4 85 01 - jsr $F143 ; CPU:$CAA6 PRG:0AA6 20 43 F1 + sta PtrHi ; CPU:$CAA4 PRG:0AA4 85 01 + jsr SubCF143 ; CPU:$CAA6 PRG:0AA6 20 43 F1 lda Zp63 ; CPU:$CAA9 PRG:0AA9 A5 63 cmp #$1C ; CPU:$CAAB PRG:0AAB C9 1C - beq Label_CABC ; CPU:$CAAD PRG:0AAD F0 0D + beq Sub_8764_OnZero_CABC ; CPU:$CAAD PRG:0AAD F0 0D ldx #$00 ; CPU:$CAAF PRG:0AAF A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CAB1 +; Routine: Sub_8764_OnNegative_CAB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1057,14 +1061,14 @@ Label_CA9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAB1: +Sub_8764_OnNegative_CAB1: lda $C27B,x ; CPU:$CAB1 PRG:0AB1 BD 7B C2 sta $0330,x ; CPU:$CAB4 PRG:0AB4 9D 30 03 inx ; CPU:$CAB7 PRG:0AB7 E8 cpx #$1A ; CPU:$CAB8 PRG:0AB8 E0 1A - bmi Label_CAB1 ; CPU:$CABA PRG:0ABA 30 F5 + bmi Sub_8764_OnNegative_CAB1 ; CPU:$CABA PRG:0ABA 30 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_CABC +; Routine: Sub_8764_OnZero_CABC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1072,13 +1076,13 @@ Label_CAB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CABC: +Sub_8764_OnZero_CABC: lda $0393 ; CPU:$CABC PRG:0ABC AD 93 03 - bne Label_CAC5 ; CPU:$CABF PRG:0ABF D0 04 + bne Sub_8764_OnNonzero_CAC5 ; CPU:$CABF PRG:0ABF D0 04 lda #$04 ; CPU:$CAC1 PRG:0AC1 A9 04 sta Zp49 ; CPU:$CAC3 PRG:0AC3 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_CAC5 +; Routine: Sub_8764_OnNonzero_CAC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1086,13 +1090,13 @@ Label_CABC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC5: +Sub_8764_OnNonzero_CAC5: ldx Zp64 ; CPU:$CAC5 PRG:0AC5 A6 64 lda #$02 ; CPU:$CAC7 PRG:0AC7 A9 02 sta Zp72,x ; CPU:$CAC9 PRG:0AC9 95 72 rts ; CPU:$CACB PRG:0ACB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CACC +; Routine: SubCCACC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1100,15 +1104,15 @@ Label_CAC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CACC: +SubCCACC: ldx Zp64 ; CPU:$CACC PRG:0ACC A6 64 ldy #$02 ; CPU:$CACE PRG:0ACE A0 02 lda Zp63 ; CPU:$CAD0 PRG:0AD0 A5 63 cmp #$1C ; CPU:$CAD2 PRG:0AD2 C9 1C - bne Label_CAD8 ; CPU:$CAD4 PRG:0AD4 D0 02 + bne Sub_8764_OnNonzero_CAD8 ; CPU:$CAD4 PRG:0AD4 D0 02 ldy #$00 ; CPU:$CAD6 PRG:0AD6 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD8 +; Routine: Sub_8764_OnNonzero_CAD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1116,10 +1120,10 @@ Label_CACC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD8: +Sub_8764_OnNonzero_CAD8: sty Zp72,x ; CPU:$CAD8 PRG:0AD8 94 72 lda #$02 ; CPU:$CADA PRG:0ADA A9 02 - sta Zp60 ; CPU:$CADC PRG:0ADC 85 60 + sta GameState ; CPU:$CADC PRG:0ADC 85 60 lda #$70 ; CPU:$CADE PRG:0ADE A9 70 sta $02FB ; CPU:$CAE0 PRG:0AE0 8D FB 02 sta $02FF ; CPU:$CAE3 PRG:0AE3 8D FF 02 @@ -1132,7 +1136,7 @@ Label_CAD8: sta $02FD ; CPU:$CAF5 PRG:0AF5 8D FD 02 rts ; CPU:$CAF8 PRG:0AF8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAF9 +; Routine: SubCCAF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1140,17 +1144,17 @@ Label_CAD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAF9: - jsr $C7E6 ; CPU:$CAF9 PRG:0AF9 20 E6 C7 +SubCCAF9: + jsr SubCC7E6 ; CPU:$CAF9 PRG:0AF9 20 E6 C7 lda #$51 ; CPU:$CAFC PRG:0AFC A9 51 - sta Zp00 ; CPU:$CAFE PRG:0AFE 85 00 + sta PtrLo ; CPU:$CAFE PRG:0AFE 85 00 lda #$23 ; CPU:$CB00 PRG:0B00 A9 23 - sta Zp01 ; CPU:$CB02 PRG:0B02 85 01 + sta PtrHi ; CPU:$CB02 PRG:0B02 85 01 lda #$F2 ; CPU:$CB04 PRG:0B04 A9 F2 - sta Zp02 ; CPU:$CB06 PRG:0B06 85 02 + sta Ptr2Lo ; CPU:$CB06 PRG:0B06 85 02 lda #$03 ; CPU:$CB08 PRG:0B08 A9 03 - sta Zp03 ; CPU:$CB0A PRG:0B0A 85 03 - jsr $F018 ; CPU:$CB0C PRG:0B0C 20 18 F0 + sta Ptr2Hi ; CPU:$CB0A PRG:0B0A 85 03 + jsr SubCF018 ; CPU:$CB0C PRG:0B0C 20 18 F0 ldx Zp64 ; CPU:$CB0F PRG:0B0F A6 64 lda $03A0,x ; CPU:$CB11 PRG:0B11 BD A0 03 asl a ; CPU:$CB14 PRG:0B14 0A @@ -1159,14 +1163,14 @@ Label_CAF9: sta $0334 ; CPU:$CB19 PRG:0B19 8D 34 03 lda $C3A0,x ; CPU:$CB1C PRG:0B1C BD A0 C3 sta $0335 ; CPU:$CB1F PRG:0B1F 8D 35 03 - jsr $CC65 ; CPU:$CB22 PRG:0B22 20 65 CC + jsr SubCCC65 ; CPU:$CB22 PRG:0B22 20 65 CC lda #$80 ; CPU:$CB25 PRG:0B25 A9 80 sta Zp18 ; CPU:$CB27 PRG:0B27 85 18 lda #$02 ; CPU:$CB29 PRG:0B29 A9 02 sta Zp19 ; CPU:$CB2B PRG:0B2B 85 19 ldx #$EF ; CPU:$CB2D PRG:0B2D A2 EF ; ----------------------------------------------------------------------------- -; Routine: Label_CB2F +; Routine: Sub_8764_OnNonzero_CB2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1174,12 +1178,12 @@ Label_CAF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB2F: +Sub_8764_OnNonzero_CB2F: lda #$00 ; CPU:$CB2F PRG:0B2F A9 00 - sta Zp00,x ; CPU:$CB31 PRG:0B31 95 00 + sta PtrLo,x ; CPU:$CB31 PRG:0B31 95 00 dex ; CPU:$CB33 PRG:0B33 CA cpx #$6F ; CPU:$CB34 PRG:0B34 E0 6F - bne Label_CB2F ; CPU:$CB36 PRG:0B36 D0 F7 + bne Sub_8764_OnNonzero_CB2F ; CPU:$CB36 PRG:0B36 D0 F7 lda #$02 ; CPU:$CB38 PRG:0B38 A9 02 sta ZpA9 ; CPU:$CB3A PRG:0B3A 85 A9 lda #$01 ; CPU:$CB3C PRG:0B3C A9 01 @@ -1199,17 +1203,17 @@ Label_CB2F: lda #$07 ; CPU:$CB58 PRG:0B58 A9 07 lda #$08 ; CPU:$CB5A PRG:0B5A A9 08 lda #$1C ; CPU:$CB5C PRG:0B5C A9 1C - sta Zp00 ; CPU:$CB5E PRG:0B5E 85 00 + sta PtrLo ; CPU:$CB5E PRG:0B5E 85 00 lda #$C0 ; CPU:$CB60 PRG:0B60 A9 C0 - sta Zp01 ; CPU:$CB62 PRG:0B62 85 01 - jsr $ED65 ; CPU:$CB64 PRG:0B64 20 65 ED + sta PtrHi ; CPU:$CB62 PRG:0B62 85 01 + jsr SubCED65 ; CPU:$CB64 PRG:0B64 20 65 ED ldy Zp64 ; CPU:$CB67 PRG:0B67 A4 64 lda $039E,y ; CPU:$CB69 PRG:0B69 B9 9E 03 cmp #$0F ; CPU:$CB6C PRG:0B6C C9 0F - bmi Label_CB72 ; CPU:$CB6E PRG:0B6E 30 02 + bmi Sub_8764_OnNegative_CB72 ; CPU:$CB6E PRG:0B6E 30 02 lda #$0F ; CPU:$CB70 PRG:0B70 A9 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CB72 +; Routine: Sub_8764_OnNegative_CB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1217,12 +1221,12 @@ Label_CB2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB72: +Sub_8764_OnNegative_CB72: sta Zp75 ; CPU:$CB72 PRG:0B72 85 75 - lda a:$006D,y ; CPU:$CB74 PRG:0B74 B9 6D 00 + lda a:Zp6D,y ; CPU:$CB74 PRG:0B74 B9 6D 00 and #$0F ; CPU:$CB77 PRG:0B77 29 0F sta Zp6C ; CPU:$CB79 PRG:0B79 85 6C - jsr $CF37 ; CPU:$CB7B PRG:0B7B 20 37 CF + jsr SubCCF37 ; CPU:$CB7B PRG:0B7B 20 37 CF lda #$88 ; CPU:$CB7E PRG:0B7E A9 88 sta ZpC3 ; CPU:$CB80 PRG:0B80 85 C3 sta ZpC4 ; CPU:$CB82 PRG:0B82 85 C4 @@ -1249,12 +1253,12 @@ Label_CB72: sta ZpE3 ; CPU:$CBB1 PRG:0BB1 85 E3 lda #$67 ; CPU:$CBB3 PRG:0BB3 A9 67 sta ZpE4 ; CPU:$CBB5 PRG:0BB5 85 E4 - jsr $CC30 ; CPU:$CBB7 PRG:0BB7 20 30 CC + jsr SubCCC30 ; CPU:$CBB7 PRG:0BB7 20 30 CC ldx Zp64 ; CPU:$CBBA PRG:0BBA A6 64 lda #$03 ; CPU:$CBBC PRG:0BBC A9 03 sta Zp72,x ; CPU:$CBBE PRG:0BBE 95 72 ; ----------------------------------------------------------------------------- -; Routine: Label_CBC0 +; Routine: SubCCBC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1262,17 +1266,17 @@ Label_CB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC0: +SubCCBC0: lda Zp6C ; CPU:$CBC0 PRG:0BC0 A5 6C cmp #$03 ; CPU:$CBC2 PRG:0BC2 C9 03 - beq Label_CBCF ; CPU:$CBC4 PRG:0BC4 F0 09 + beq Sub_8764_OnZero_CBCF ; CPU:$CBC4 PRG:0BC4 F0 09 cmp #$07 ; CPU:$CBC6 PRG:0BC6 C9 07 - beq Label_CBD2 ; CPU:$CBC8 PRG:0BC8 F0 08 + beq Sub_8764_OnZero_CBD2 ; CPU:$CBC8 PRG:0BC8 F0 08 cmp #$0B ; CPU:$CBCA PRG:0BCA C9 0B - beq Label_CBD5 ; CPU:$CBCC PRG:0BCC F0 07 + beq Sub_8764_OnZero_CBD5 ; CPU:$CBCC PRG:0BCC F0 07 rts ; CPU:$CBCE PRG:0BCE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CBCF +; Routine: Sub_8764_OnZero_CBCF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1280,10 +1284,10 @@ Label_CBC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBCF: - jmp $CC0F ; CPU:$CBCF PRG:0BCF 4C 0F CC +Sub_8764_OnZero_CBCF: + jmp SubCCC0F ; CPU:$CBCF PRG:0BCF 4C 0F CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBD2 +; Routine: Sub_8764_OnZero_CBD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1291,10 +1295,10 @@ Label_CBCF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD2: - jmp $CC1A ; CPU:$CBD2 PRG:0BD2 4C 1A CC +Sub_8764_OnZero_CBD2: + jmp SubCCC1A ; CPU:$CBD2 PRG:0BD2 4C 1A CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBD5 +; Routine: Sub_8764_OnZero_CBD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1302,10 +1306,10 @@ Label_CBD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD5: - jmp $CC25 ; CPU:$CBD5 PRG:0BD5 4C 25 CC +Sub_8764_OnZero_CBD5: + jmp SubCCC25 ; CPU:$CBD5 PRG:0BD5 4C 25 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBD8 +; Routine: SubCCBD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1313,14 +1317,14 @@ Label_CBD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD8: - jsr $CE40 ; CPU:$CBD8 PRG:0BD8 20 40 CE +SubCCBD8: + jsr SubCCE40 ; CPU:$CBD8 PRG:0BD8 20 40 CE ldx Zp64 ; CPU:$CBDB PRG:0BDB A6 64 lda #$04 ; CPU:$CBDD PRG:0BDD A9 04 sta Zp72,x ; CPU:$CBDF PRG:0BDF 95 72 rts ; CPU:$CBE1 PRG:0BE1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CBE2 +; Routine: SubCCBE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1328,19 +1332,19 @@ Label_CBD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBE2: +SubCCBE2: lda Zp63 ; CPU:$CBE2 PRG:0BE2 A5 63 cmp #$1C ; CPU:$CBE4 PRG:0BE4 C9 1C - bne Label_CBF5 ; CPU:$CBE6 PRG:0BE6 D0 0D + bne Sub_8764_OnNonzero_CBF5 ; CPU:$CBE6 PRG:0BE6 D0 0D lda Zp64 ; CPU:$CBE8 PRG:0BE8 A5 64 pha ; CPU:$CBEA PRG:0BEA 48 eor #$01 ; CPU:$CBEB PRG:0BEB 49 01 sta Zp64 ; CPU:$CBED PRG:0BED 85 64 - jsr $CE40 ; CPU:$CBEF PRG:0BEF 20 40 CE + jsr SubCCE40 ; CPU:$CBEF PRG:0BEF 20 40 CE pla ; CPU:$CBF2 PRG:0BF2 68 sta Zp64 ; CPU:$CBF3 PRG:0BF3 85 64 ; ----------------------------------------------------------------------------- -; Routine: Label_CBF5 +; Routine: Sub_8764_OnNonzero_CBF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1348,13 +1352,13 @@ Label_CBE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBF5: +Sub_8764_OnNonzero_CBF5: ldx Zp64 ; CPU:$CBF5 PRG:0BF5 A6 64 lda #$05 ; CPU:$CBF7 PRG:0BF7 A9 05 sta Zp72,x ; CPU:$CBF9 PRG:0BF9 95 72 rts ; CPU:$CBFB PRG:0BFB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CBFC +; Routine: SubCCBFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1362,8 +1366,8 @@ Label_CBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBFC: - lda Zp60 ; CPU:$CBFC PRG:0BFC A5 60 +SubCCBFC: + lda GameState ; CPU:$CBFC PRG:0BFC A5 60 sta Zp76 ; CPU:$CBFE PRG:0BFE 85 76 lda #$00 ; CPU:$CC00 PRG:0C00 A9 00 sta Zp79 ; CPU:$CC02 PRG:0C02 85 79 @@ -1371,10 +1375,10 @@ Label_CBFC: lda #$06 ; CPU:$CC06 PRG:0C06 A9 06 sta Zp72,x ; CPU:$CC08 PRG:0C08 95 72 lda #$03 ; CPU:$CC0A PRG:0C0A A9 03 - sta Zp60 ; CPU:$CC0C PRG:0C0C 85 60 + sta GameState ; CPU:$CC0C PRG:0C0C 85 60 rts ; CPU:$CC0E PRG:0C0E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC0F +; Routine: SubCCC0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1382,14 +1386,14 @@ Label_CBFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC0F: +SubCCC0F: lda #$3E ; CPU:$CC0F PRG:0C0F A9 3E - sta Zp00 ; CPU:$CC11 PRG:0C11 85 00 + sta PtrLo ; CPU:$CC11 PRG:0C11 85 00 lda #$C0 ; CPU:$CC13 PRG:0C13 A9 C0 - sta Zp01 ; CPU:$CC15 PRG:0C15 85 01 - jmp $ED65 ; CPU:$CC17 PRG:0C17 4C 65 ED + sta PtrHi ; CPU:$CC15 PRG:0C15 85 01 + jmp SubCED65 ; CPU:$CC17 PRG:0C17 4C 65 ED ; ----------------------------------------------------------------------------- -; Routine: Label_CC1A +; Routine: SubCCC1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1397,14 +1401,14 @@ Label_CC0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC1A: +SubCCC1A: lda #$42 ; CPU:$CC1A PRG:0C1A A9 42 - sta Zp00 ; CPU:$CC1C PRG:0C1C 85 00 + sta PtrLo ; CPU:$CC1C PRG:0C1C 85 00 lda #$C0 ; CPU:$CC1E PRG:0C1E A9 C0 - sta Zp01 ; CPU:$CC20 PRG:0C20 85 01 - jmp $ED65 ; CPU:$CC22 PRG:0C22 4C 65 ED + sta PtrHi ; CPU:$CC20 PRG:0C20 85 01 + jmp SubCED65 ; CPU:$CC22 PRG:0C22 4C 65 ED ; ----------------------------------------------------------------------------- -; Routine: Label_CC25 +; Routine: SubCCC25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1412,14 +1416,14 @@ Label_CC1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC25: +SubCCC25: lda #$46 ; CPU:$CC25 PRG:0C25 A9 46 - sta Zp00 ; CPU:$CC27 PRG:0C27 85 00 + sta PtrLo ; CPU:$CC27 PRG:0C27 85 00 lda #$C0 ; CPU:$CC29 PRG:0C29 A9 C0 - sta Zp01 ; CPU:$CC2B PRG:0C2B 85 01 - jmp $ED65 ; CPU:$CC2D PRG:0C2D 4C 65 ED + sta PtrHi ; CPU:$CC2B PRG:0C2B 85 01 + jmp SubCED65 ; CPU:$CC2D PRG:0C2D 4C 65 ED ; ----------------------------------------------------------------------------- -; Routine: Label_CC30 +; Routine: SubCCC30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1427,7 +1431,7 @@ Label_CC25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC30: +SubCCC30: lda #$10 ; CPU:$CC30 PRG:0C30 A9 10 sta Zp40 ; CPU:$CC32 PRG:0C32 85 40 sta Zp41 ; CPU:$CC34 PRG:0C34 85 41 @@ -1435,11 +1439,11 @@ Label_CC30: ldx #$40 ; CPU:$CC38 PRG:0C38 A2 40 ldy #$30 ; CPU:$CC3A PRG:0C3A A0 30 lda ZpE5 ; CPU:$CC3C PRG:0C3C A5 E5 - bne Label_CC44 ; CPU:$CC3E PRG:0C3E D0 04 + bne Sub_8764_OnNonzero_CC44 ; CPU:$CC3E PRG:0C3E D0 04 stx Zp4E ; CPU:$CC40 PRG:0C40 86 4E sty Zp4F ; CPU:$CC42 PRG:0C42 84 4F ; ----------------------------------------------------------------------------- -; Routine: Label_CC44 +; Routine: Sub_8764_OnNonzero_CC44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1447,12 +1451,12 @@ Label_CC30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC44: +Sub_8764_OnNonzero_CC44: lda ZpE9 ; CPU:$CC44 PRG:0C44 A5 E9 - bne Label_CC4A ; CPU:$CC46 PRG:0C46 D0 02 + bne Sub_8764_OnNonzero_CC4A ; CPU:$CC46 PRG:0C46 D0 02 stx Zp50 ; CPU:$CC48 PRG:0C48 86 50 ; ----------------------------------------------------------------------------- -; Routine: Label_CC4A +; Routine: Sub_8764_OnNonzero_CC4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1460,12 +1464,12 @@ Label_CC44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC4A: +Sub_8764_OnNonzero_CC4A: lda ZpE7 ; CPU:$CC4A PRG:0C4A A5 E7 - bne Label_CC50 ; CPU:$CC4C PRG:0C4C D0 02 + bne Sub_8764_OnNonzero_CC50 ; CPU:$CC4C PRG:0C4C D0 02 sty Zp53 ; CPU:$CC4E PRG:0C4E 84 53 ; ----------------------------------------------------------------------------- -; Routine: Label_CC50 +; Routine: Sub_8764_OnNonzero_CC50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1473,12 +1477,12 @@ Label_CC4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC50: +Sub_8764_OnNonzero_CC50: lda ZpE8 ; CPU:$CC50 PRG:0C50 A5 E8 - bne Label_CC56 ; CPU:$CC52 PRG:0C52 D0 02 + bne Sub_8764_OnNonzero_CC56 ; CPU:$CC52 PRG:0C52 D0 02 sty Zp54 ; CPU:$CC54 PRG:0C54 84 54 ; ----------------------------------------------------------------------------- -; Routine: Label_CC56 +; Routine: Sub_8764_OnNonzero_CC56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1486,13 +1490,13 @@ Label_CC50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC56: +Sub_8764_OnNonzero_CC56: lda ZpEB ; CPU:$CC56 PRG:0C56 A5 EB - bne Label_CC5E ; CPU:$CC58 PRG:0C58 D0 04 + bne Sub_8764_OnNonzero_CC5E ; CPU:$CC58 PRG:0C58 D0 04 lda #$50 ; CPU:$CC5A PRG:0C5A A9 50 sta Zp51 ; CPU:$CC5C PRG:0C5C 85 51 ; ----------------------------------------------------------------------------- -; Routine: Label_CC5E +; Routine: Sub_8764_OnNonzero_CC5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1500,12 +1504,12 @@ Label_CC56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC5E: +Sub_8764_OnNonzero_CC5E: lda ZpEA ; CPU:$CC5E PRG:0C5E A5 EA - bne Label_CC64 ; CPU:$CC60 PRG:0C60 D0 02 + bne Sub_8764_OnNonzero_CC64 ; CPU:$CC60 PRG:0C60 D0 02 sty Zp52 ; CPU:$CC62 PRG:0C62 84 52 ; ----------------------------------------------------------------------------- -; Routine: Label_CC64 +; Routine: Sub_8764_OnNonzero_CC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1513,10 +1517,10 @@ Label_CC5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC64: +Sub_8764_OnNonzero_CC64: rts ; CPU:$CC64 PRG:0C64 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC65 +; Routine: SubCCC65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1524,14 +1528,14 @@ Label_CC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC65: +SubCCC65: ldx #$1A ; CPU:$CC65 PRG:0C65 A2 1A lda Zp63 ; CPU:$CC67 PRG:0C67 A5 63 cmp #$18 ; CPU:$CC69 PRG:0C69 C9 18 - beq Label_CC6F ; CPU:$CC6B PRG:0C6B F0 02 + beq Sub_8764_OnZero_CC6F ; CPU:$CC6B PRG:0C6B F0 02 ldx #$1F ; CPU:$CC6D PRG:0C6D A2 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CC6F +; Routine: Sub_8764_OnZero_CC6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1539,9 +1543,9 @@ Label_CC65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC6F: - stx Zp00 ; CPU:$CC6F PRG:0C6F 86 00 - jsr $EF8D ; CPU:$CC71 PRG:0C71 20 8D EF +Sub_8764_OnZero_CC6F: + stx PtrLo ; CPU:$CC6F PRG:0C6F 86 00 + jsr SubCEF8D ; CPU:$CC71 PRG:0C71 20 8D EF lda #$08 ; CPU:$CC74 PRG:0C74 A9 08 sta Zp65 ; CPU:$CC76 PRG:0C76 85 65 lda #$00 ; CPU:$CC78 PRG:0C78 A9 00 @@ -1550,7 +1554,7 @@ Label_CC6F: sta Zp4A ; CPU:$CC7E PRG:0C7E 85 4A rts ; CPU:$CC80 PRG:0C80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC81 +; Routine: SubCCC81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1558,15 +1562,15 @@ Label_CC6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC81: +SubCCC81: lda #$04 ; CPU:$CC81 PRG:0C81 A9 04 sta Zp0A ; CPU:$CC83 PRG:0C83 85 0A - jsr $DE8C ; CPU:$CC85 PRG:0C85 20 8C DE - jsr $DE14 ; CPU:$CC88 PRG:0C88 20 14 DE + jsr SubCDE8C ; CPU:$CC85 PRG:0C85 20 8C DE + jsr SubCDE14 ; CPU:$CC88 PRG:0C88 20 14 DE lda Zp0A ; CPU:$CC8B PRG:0C8B A5 0A - jmp $DE60 ; CPU:$CC8D PRG:0C8D 4C 60 DE + jmp SubCDE60 ; CPU:$CC8D PRG:0C8D 4C 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_CC90 +; Routine: SubCCC90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1574,26 +1578,26 @@ Label_CC81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC90: - jsr $DDD2 ; CPU:$CC90 PRG:0C90 20 D2 DD - beq Label_CCB5 ; CPU:$CC93 PRG:0C93 F0 20 +SubCCC90: + jsr SubCDDD2 ; CPU:$CC90 PRG:0C90 20 D2 DD + beq Sub_8764_JoinBranchPaths_CCB5 ; CPU:$CC93 PRG:0C93 F0 20 cmp #$04 ; CPU:$CC95 PRG:0C95 C9 04 - beq Label_CCB5 ; CPU:$CC97 PRG:0C97 F0 1C + beq Sub_8764_JoinBranchPaths_CCB5 ; CPU:$CC97 PRG:0C97 F0 1C cmp #$0E ; CPU:$CC99 PRG:0C99 C9 0E - bcs Label_CCB5 ; CPU:$CC9B PRG:0C9B B0 18 + bcs Sub_8764_JoinBranchPaths_CCB5 ; CPU:$CC9B PRG:0C9B B0 18 lda Zp3F ; CPU:$CC9D PRG:0C9D A5 3F - bne Label_CCD6 ; CPU:$CC9F PRG:0C9F D0 35 + bne Sub_8764_OnNonzero_CCD6 ; CPU:$CC9F PRG:0C9F D0 35 lda #$08 ; CPU:$CCA1 PRG:0CA1 A9 08 sta Zp3F ; CPU:$CCA3 PRG:0CA3 85 3F - jsr $CC81 ; CPU:$CCA5 PRG:0CA5 20 81 CC + jsr SubCCC81 ; CPU:$CCA5 PRG:0CA5 20 81 CC lda #$40 ; CPU:$CCA8 PRG:0CA8 A9 40 sta ZpFF ; CPU:$CCAA PRG:0CAA 85 FF lda #$00 ; CPU:$CCAC PRG:0CAC A9 00 sta Zp8F ; CPU:$CCAE PRG:0CAE 85 8F ldx #$18 ; CPU:$CCB0 PRG:0CB0 A2 18 - jsr $D4E5 ; CPU:$CCB2 PRG:0CB2 20 E5 D4 + jsr SubCD4E5 ; CPU:$CCB2 PRG:0CB2 20 E5 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_CCB5 +; Routine: Sub_8764_JoinBranchPaths_CCB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1601,14 +1605,14 @@ Label_CC90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCB5: +Sub_8764_JoinBranchPaths_CCB5: lda Zp79 ; CPU:$CCB5 PRG:0CB5 A5 79 cmp #$15 ; CPU:$CCB7 PRG:0CB7 C9 15 - beq Label_CCC0 ; CPU:$CCB9 PRG:0CB9 F0 05 + beq Sub_8764_OnZero_CCC0 ; CPU:$CCB9 PRG:0CB9 F0 05 inc Zp79 ; CPU:$CCBB PRG:0CBB E6 79 - jmp $CCCC ; CPU:$CCBD PRG:0CBD 4C CC CC + jmp SubCCCCC ; CPU:$CCBD PRG:0CBD 4C CC CC ; ----------------------------------------------------------------------------- -; Routine: Label_CCC0 +; Routine: Sub_8764_OnZero_CCC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1616,15 +1620,15 @@ Label_CCB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC0: +Sub_8764_OnZero_CCC0: lda #$00 ; CPU:$CCC0 PRG:0CC0 A9 00 sta Zp79 ; CPU:$CCC2 PRG:0CC2 85 79 lda Zp78 ; CPU:$CCC4 PRG:0CC4 A5 78 cmp #$15 ; CPU:$CCC6 PRG:0CC6 C9 15 - beq Label_CCD2 ; CPU:$CCC8 PRG:0CC8 F0 08 + beq Sub_8764_OnZero_CCD2 ; CPU:$CCC8 PRG:0CC8 F0 08 inc Zp78 ; CPU:$CCCA PRG:0CCA E6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_CCCC +; Routine: SubCCCCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1632,12 +1636,12 @@ Label_CCC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCCC: - jsr $DDD2 ; CPU:$CCCC PRG:0CCC 20 D2 DD - beq Label_CCB5 ; CPU:$CCCF PRG:0CCF F0 E4 +SubCCCCC: + jsr SubCDDD2 ; CPU:$CCCC PRG:0CCC 20 D2 DD + beq Sub_8764_JoinBranchPaths_CCB5 ; CPU:$CCCF PRG:0CCF F0 E4 rts ; CPU:$CCD1 PRG:0CD1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCD2 +; Routine: Sub_8764_OnZero_CCD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1645,11 +1649,11 @@ Label_CCCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD2: +Sub_8764_OnZero_CCD2: lda #$01 ; CPU:$CCD2 PRG:0CD2 A9 01 sta Zp7F ; CPU:$CCD4 PRG:0CD4 85 7F ; ----------------------------------------------------------------------------- -; Routine: Label_CCD6 +; Routine: Sub_8764_OnNonzero_CCD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1657,10 +1661,10 @@ Label_CCD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD6: +Sub_8764_OnNonzero_CCD6: rts ; CPU:$CCD6 PRG:0CD6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCD7 +; Routine: StageClear ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1668,17 +1672,17 @@ Label_CCD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD7: +StageClear: lda #$00 ; CPU:$CCD7 PRG:0CD7 A9 00 sta ZpFC ; CPU:$CCD9 PRG:0CD9 85 FC sta ZpFE ; CPU:$CCDB PRG:0CDB 85 FE ldx Zp64 ; CPU:$CCDD PRG:0CDD A6 64 lda Zp66,x ; CPU:$CCDF PRG:0CDF B5 66 - bne Label_CCE7 ; CPU:$CCE1 PRG:0CE1 D0 04 - jsr $D2FE ; CPU:$CCE3 PRG:0CE3 20 FE D2 + bne Sub_8764_OnNonzero_CCE7 ; CPU:$CCE1 PRG:0CE1 D0 04 + jsr SubCD2FE ; CPU:$CCE3 PRG:0CE3 20 FE D2 rts ; CPU:$CCE6 PRG:0CE6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCE7 +; Routine: Sub_8764_OnNonzero_CCE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1686,23 +1690,23 @@ Label_CCD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE7: +Sub_8764_OnNonzero_CCE7: lda Zp65 ; CPU:$CCE7 PRG:0CE7 A5 65 - bne Label_CD03 ; CPU:$CCE9 PRG:0CE9 D0 18 + bne Sub_8764_OnNonzero_CD03 ; CPU:$CCE9 PRG:0CE9 D0 18 lda ZpE9 ; CPU:$CCEB PRG:0CEB A5 E9 ora ZpEA ; CPU:$CCED PRG:0CED 05 EA ora ZpEB ; CPU:$CCEF PRG:0CEF 05 EB - bne Label_CD03 ; CPU:$CCF1 PRG:0CF1 D0 10 + bne Sub_8764_OnNonzero_CD03 ; CPU:$CCF1 PRG:0CF1 D0 10 inc ZpA8 ; CPU:$CCF3 PRG:0CF3 E6 A8 lda ZpA8 ; CPU:$CCF5 PRG:0CF5 A5 A8 cmp #$20 ; CPU:$CCF7 PRG:0CF7 C9 20 - bne Label_CD03 ; CPU:$CCF9 PRG:0CF9 D0 08 + bne Sub_8764_OnNonzero_CD03 ; CPU:$CCF9 PRG:0CF9 D0 08 lda #$00 ; CPU:$CCFB PRG:0CFB A9 00 sta ZpA8 ; CPU:$CCFD PRG:0CFD 85 A8 - jsr $CEF2 ; CPU:$CCFF PRG:0CFF 20 F2 CE + jsr SubCCEF2 ; CPU:$CCFF PRG:0CFF 20 F2 CE rts ; CPU:$CD02 PRG:0D02 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD03 +; Routine: Sub_8764_OnNonzero_CD03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1710,17 +1714,17 @@ Label_CCE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD03: +Sub_8764_OnNonzero_CD03: lda ZpD7 ; CPU:$CD03 PRG:0D03 A5 D7 - bne Label_CD1C ; CPU:$CD05 PRG:0D05 D0 15 - lda Zp77 ; CPU:$CD07 PRG:0D07 A5 77 + bne Sub_8764_OnNonzero_CD1C ; CPU:$CD05 PRG:0D05 D0 15 + lda GameplaySubState ; CPU:$CD07 PRG:0D07 A5 77 cmp #$02 ; CPU:$CD09 PRG:0D09 C9 02 - bne Label_CD14 ; CPU:$CD0B PRG:0D0B D0 07 - jsr $D3F1 ; CPU:$CD0D PRG:0D0D 20 F1 D3 - jsr $D447 ; CPU:$CD10 PRG:0D10 20 47 D4 + bne Sub_8764_OnNonzero_CD14 ; CPU:$CD0B PRG:0D0B D0 07 + jsr GameOver ; CPU:$CD0D PRG:0D0D 20 F1 D3 + jsr SubCD447 ; CPU:$CD10 PRG:0D10 20 47 D4 rts ; CPU:$CD13 PRG:0D13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD14 +; Routine: Sub_8764_OnNonzero_CD14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1728,13 +1732,13 @@ Label_CD03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD14: +Sub_8764_OnNonzero_CD14: cmp #$01 ; CPU:$CD14 PRG:0D14 C9 01 - bne Label_CD1C ; CPU:$CD16 PRG:0D16 D0 04 - jsr $CF63 ; CPU:$CD18 PRG:0D18 20 63 CF + bne Sub_8764_OnNonzero_CD1C ; CPU:$CD16 PRG:0D16 D0 04 + jsr SubCCF63 ; CPU:$CD18 PRG:0D18 20 63 CF rts ; CPU:$CD1B PRG:0D1B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD1C +; Routine: Sub_8764_OnNonzero_CD1C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1742,13 +1746,13 @@ Label_CD14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD1C: +Sub_8764_OnNonzero_CD1C: lda $0393 ; CPU:$CD1C PRG:0D1C AD 93 03 - beq Label_CD65 ; CPU:$CD1F PRG:0D1F F0 44 - jsr $D086 ; CPU:$CD21 PRG:0D21 20 86 D0 - bne Label_CD47 ; CPU:$CD24 PRG:0D24 D0 21 + beq Sub_8764_OnZero_CD65 ; CPU:$CD1F PRG:0D1F F0 44 + jsr SubCD086 ; CPU:$CD21 PRG:0D21 20 86 D0 + bne Sub_8764_JoinBranchPaths_CD47 ; CPU:$CD24 PRG:0D24 D0 21 lda $0390 ; CPU:$CD26 PRG:0D26 AD 90 03 - bne Label_CD48 ; CPU:$CD29 PRG:0D29 D0 1D + bne Sub_8764_OnNonzero_CD48 ; CPU:$CD29 PRG:0D29 D0 1D lda #$00 ; CPU:$CD2B PRG:0D2B A9 00 sta $0392 ; CPU:$CD2D PRG:0D2D 8D 92 03 sta $0391 ; CPU:$CD30 PRG:0D30 8D 91 03 @@ -1757,11 +1761,11 @@ Label_CD1C: inc $0394 ; CPU:$CD38 PRG:0D38 EE 94 03 lda $0394 ; CPU:$CD3B PRG:0D3B AD 94 03 cmp #$03 ; CPU:$CD3E PRG:0D3E C9 03 - bmi Label_CD47 ; CPU:$CD40 PRG:0D40 30 05 + bmi Sub_8764_JoinBranchPaths_CD47 ; CPU:$CD40 PRG:0D40 30 05 lda #$00 ; CPU:$CD42 PRG:0D42 A9 00 sta $0394 ; CPU:$CD44 PRG:0D44 8D 94 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CD47 +; Routine: Sub_8764_JoinBranchPaths_CD47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1769,10 +1773,10 @@ Label_CD1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD47: +Sub_8764_JoinBranchPaths_CD47: rts ; CPU:$CD47 PRG:0D47 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD48 +; Routine: Sub_8764_OnNonzero_CD48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1780,13 +1784,13 @@ Label_CD47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD48: +Sub_8764_OnNonzero_CD48: lda $0391 ; CPU:$CD48 PRG:0D48 AD 91 03 - beq Label_CD53 ; CPU:$CD4B PRG:0D4B F0 06 + beq Sub_8764_OnZero_CD53 ; CPU:$CD4B PRG:0D4B F0 06 dec $0391 ; CPU:$CD4D PRG:0D4D CE 91 03 - jmp $CD78 ; CPU:$CD50 PRG:0D50 4C 78 CD + jmp SubCCD78 ; CPU:$CD50 PRG:0D50 4C 78 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD53 +; Routine: Sub_8764_OnZero_CD53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1794,15 +1798,15 @@ Label_CD48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD53: +Sub_8764_OnZero_CD53: ldx $0392 ; CPU:$CD53 PRG:0D53 AE 92 03 lda $C237,x ; CPU:$CD56 PRG:0D56 BD 37 C2 sta $0391 ; CPU:$CD59 PRG:0D59 8D 91 03 inc $0392 ; CPU:$CD5C PRG:0D5C EE 92 03 lda $C254,x ; CPU:$CD5F PRG:0D5F BD 54 C2 - jmp $CD76 ; CPU:$CD62 PRG:0D62 4C 76 CD + jmp SubCCD76 ; CPU:$CD62 PRG:0D62 4C 76 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD65 +; Routine: Sub_8764_OnZero_CD65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1810,17 +1814,17 @@ Label_CD53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD65: - jsr $D09C ; CPU:$CD65 PRG:0D65 20 9C D0 +Sub_8764_OnZero_CD65: + jsr SubCD09C ; CPU:$CD65 PRG:0D65 20 9C D0 lda $0396 ; CPU:$CD68 PRG:0D68 AD 96 03 ora $0397 ; CPU:$CD6B PRG:0D6B 0D 97 03 - bne Label_CDB0 ; CPU:$CD6E PRG:0D6E D0 40 + bne Sub_8764_OnNonzero_CDB0 ; CPU:$CD6E PRG:0D6E D0 40 lda Zp64 ; CPU:$CD70 PRG:0D70 A5 64 asl a ; CPU:$CD72 PRG:0D72 0A tax ; CPU:$CD73 PRG:0D73 AA lda Zp14,x ; CPU:$CD74 PRG:0D74 B5 14 ; ----------------------------------------------------------------------------- -; Routine: Label_CD76 +; Routine: SubCCD76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1828,10 +1832,10 @@ Label_CD65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD76: +SubCCD76: sta Zp74 ; CPU:$CD76 PRG:0D76 85 74 ; ----------------------------------------------------------------------------- -; Routine: Label_CD78 +; Routine: SubCCD78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1839,13 +1843,13 @@ Label_CD76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD78: +SubCCD78: lda Zp6C ; CPU:$CD78 PRG:0D78 A5 6C cmp #$09 ; CPU:$CD7A PRG:0D7A C9 09 - bne Label_CD81 ; CPU:$CD7C PRG:0D7C D0 03 - jsr $D0FC ; CPU:$CD7E PRG:0D7E 20 FC D0 + bne Sub_8764_OnNonzero_CD81 ; CPU:$CD7C PRG:0D7C D0 03 + jsr SubCD0FC ; CPU:$CD7E PRG:0D7E 20 FC D0 ; ----------------------------------------------------------------------------- -; Routine: Label_CD81 +; Routine: Sub_8764_OnNonzero_CD81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1853,26 +1857,26 @@ Label_CD78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD81: +Sub_8764_OnNonzero_CD81: lda Zp71 ; CPU:$CD81 PRG:0D81 A5 71 - bne Label_CDB1 ; CPU:$CD83 PRG:0D83 D0 2C - jsr $D3A5 ; CPU:$CD85 PRG:0D85 20 A5 D3 - jsr $D582 ; CPU:$CD88 PRG:0D88 20 82 D5 - jsr $D5B4 ; CPU:$CD8B PRG:0D8B 20 B4 D5 - jsr $DEB5 ; CPU:$CD8E PRG:0D8E 20 B5 DE - jsr $D447 ; CPU:$CD91 PRG:0D91 20 47 D4 - jsr $CDBA ; CPU:$CD94 PRG:0D94 20 BA CD - jsr $CDEA ; CPU:$CD97 PRG:0D97 20 EA CD + bne Sub_8764_OnNonzero_CDB1 ; CPU:$CD83 PRG:0D83 D0 2C + jsr SubCD3A5 ; CPU:$CD85 PRG:0D85 20 A5 D3 + jsr SubCD582 ; CPU:$CD88 PRG:0D88 20 82 D5 + jsr SubCD5B4 ; CPU:$CD8B PRG:0D8B 20 B4 D5 + jsr SubCDEB5 ; CPU:$CD8E PRG:0D8E 20 B5 DE + jsr SubCD447 ; CPU:$CD91 PRG:0D91 20 47 D4 + jsr SubCCDBA ; CPU:$CD94 PRG:0D94 20 BA CD + jsr SubCCDEA ; CPU:$CD97 PRG:0D97 20 EA CD lda ZpD7 ; CPU:$CD9A PRG:0D9A A5 D7 - bne Label_CDB0 ; CPU:$CD9C PRG:0D9C D0 12 + bne Sub_8764_OnNonzero_CDB0 ; CPU:$CD9C PRG:0D9C D0 12 lda Zp6C ; CPU:$CD9E PRG:0D9E A5 6C cmp #$09 ; CPU:$CDA0 PRG:0DA0 C9 09 - bne Label_CDAA ; CPU:$CDA2 PRG:0DA2 D0 06 + bne Sub_8764_OnNonzero_CDAA ; CPU:$CDA2 PRG:0DA2 D0 06 ldx Zp64 ; CPU:$CDA4 PRG:0DA4 A6 64 lda Zp68,x ; CPU:$CDA6 PRG:0DA6 B5 68 - bne Label_CDB0 ; CPU:$CDA8 PRG:0DA8 D0 06 + bne Sub_8764_OnNonzero_CDB0 ; CPU:$CDA8 PRG:0DA8 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_CDAA +; Routine: Sub_8764_OnNonzero_CDAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1880,11 +1884,11 @@ Label_CD81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAA: - jsr $CE40 ; CPU:$CDAA PRG:0DAA 20 40 CE - jsr $D2B4 ; CPU:$CDAD PRG:0DAD 20 B4 D2 +Sub_8764_OnNonzero_CDAA: + jsr SubCCE40 ; CPU:$CDAA PRG:0DAA 20 40 CE + jsr SubCD2B4 ; CPU:$CDAD PRG:0DAD 20 B4 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_CDB0 +; Routine: Sub_8764_OnNonzero_CDB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1892,10 +1896,10 @@ Label_CDAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB0: +Sub_8764_OnNonzero_CDB0: rts ; CPU:$CDB0 PRG:0DB0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDB1 +; Routine: Sub_8764_OnNonzero_CDB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1903,12 +1907,12 @@ Label_CDB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB1: - jsr $E4C5 ; CPU:$CDB1 PRG:0DB1 20 C5 E4 - jsr $E5A6 ; CPU:$CDB4 PRG:0DB4 20 A6 E5 - jmp $CE8D ; CPU:$CDB7 PRG:0DB7 4C 8D CE +Sub_8764_OnNonzero_CDB1: + jsr SubCE4C5 ; CPU:$CDB1 PRG:0DB1 20 C5 E4 + jsr SubCE5A6 ; CPU:$CDB4 PRG:0DB4 20 A6 E5 + jmp SubCCE8D ; CPU:$CDB7 PRG:0DB7 4C 8D CE ; ----------------------------------------------------------------------------- -; Routine: Label_CDBA +; Routine: SubCCDBA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1916,10 +1920,10 @@ Label_CDB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBA: +SubCCDBA: ldy #$10 ; CPU:$CDBA PRG:0DBA A0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_CDBC +; Routine: Sub_8764_OnCarryClear_CDBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1927,21 +1931,21 @@ Label_CDBA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBC: +Sub_8764_OnCarryClear_CDBC: lda $0203,y ; CPU:$CDBC PRG:0DBC B9 03 02 cmp #$0F ; CPU:$CDBF PRG:0DBF C9 0F - bcc Label_CDD9 ; CPU:$CDC1 PRG:0DC1 90 16 + bcc Sub_8764_JoinBranchPaths_CDD9 ; CPU:$CDC1 PRG:0DC1 90 16 cmp #$B9 ; CPU:$CDC3 PRG:0DC3 C9 B9 - bcs Label_CDD9 ; CPU:$CDC5 PRG:0DC5 B0 12 + bcs Sub_8764_JoinBranchPaths_CDD9 ; CPU:$CDC5 PRG:0DC5 B0 12 lda $0200,y ; CPU:$CDC7 PRG:0DC7 B9 00 02 cmp #$18 ; CPU:$CDCA PRG:0DCA C9 18 - bcc Label_CDD9 ; CPU:$CDCC PRG:0DCC 90 0B + bcc Sub_8764_JoinBranchPaths_CDD9 ; CPU:$CDCC PRG:0DCC 90 0B lda $0202,y ; CPU:$CDCE PRG:0DCE B9 02 02 and #$DF ; CPU:$CDD1 PRG:0DD1 29 DF sta $0202,y ; CPU:$CDD3 PRG:0DD3 99 02 02 - jmp $CDE1 ; CPU:$CDD6 PRG:0DD6 4C E1 CD + jmp SubCCDE1 ; CPU:$CDD6 PRG:0DD6 4C E1 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDD9 +; Routine: Sub_8764_JoinBranchPaths_CDD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1949,12 +1953,12 @@ Label_CDBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD9: +Sub_8764_JoinBranchPaths_CDD9: lda $0202,y ; CPU:$CDD9 PRG:0DD9 B9 02 02 ora #$20 ; CPU:$CDDC PRG:0DDC 09 20 sta $0202,y ; CPU:$CDDE PRG:0DDE 99 02 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CDE1 +; Routine: SubCCDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1962,16 +1966,16 @@ Label_CDD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE1: +SubCCDE1: iny ; CPU:$CDE1 PRG:0DE1 C8 iny ; CPU:$CDE2 PRG:0DE2 C8 iny ; CPU:$CDE3 PRG:0DE3 C8 iny ; CPU:$CDE4 PRG:0DE4 C8 cpy #$90 ; CPU:$CDE5 PRG:0DE5 C0 90 - bcc Label_CDBC ; CPU:$CDE7 PRG:0DE7 90 D3 + bcc Sub_8764_OnCarryClear_CDBC ; CPU:$CDE7 PRG:0DE7 90 D3 rts ; CPU:$CDE9 PRG:0DE9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDEA +; Routine: SubCCDEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1979,11 +1983,11 @@ Label_CDE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDEA: +SubCCDEA: ldx #$00 ; CPU:$CDEA PRG:0DEA A2 00 ldy #$00 ; CPU:$CDEC PRG:0DEC A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CDEE +; Routine: Sub_8764_OnNonzero_CDEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1991,13 +1995,13 @@ Label_CDEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDEE: +Sub_8764_OnNonzero_CDEE: lda $0237,y ; CPU:$CDEE PRG:0DEE B9 37 02 cmp #$10 ; CPU:$CDF1 PRG:0DF1 C9 10 - bcs Label_CDF8 ; CPU:$CDF3 PRG:0DF3 B0 03 - jmp $CDFC ; CPU:$CDF5 PRG:0DF5 4C FC CD + bcs Sub_8764_OnCarrySet_CDF8 ; CPU:$CDF3 PRG:0DF3 B0 03 + jmp SubCCDFC ; CPU:$CDF5 PRG:0DF5 4C FC CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDF8 +; Routine: Sub_8764_OnCarrySet_CDF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2005,11 +2009,11 @@ Label_CDEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF8: +Sub_8764_OnCarrySet_CDF8: cmp #$C0 ; CPU:$CDF8 PRG:0DF8 C9 C0 - bcc Label_CE0F ; CPU:$CDFA PRG:0DFA 90 13 + bcc Sub_8764_OnCarryClear_CE0F ; CPU:$CDFA PRG:0DFA 90 13 ; ----------------------------------------------------------------------------- -; Routine: Label_CDFC +; Routine: SubCCDFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2017,16 +2021,16 @@ Label_CDF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDFC: +SubCCDFC: lda $0232,y ; CPU:$CDFC PRG:0DFC B9 32 02 ora #$10 ; CPU:$CDFF PRG:0DFF 09 10 sta $0232,y ; CPU:$CE01 PRG:0E01 99 32 02 lda $0236,y ; CPU:$CE04 PRG:0E04 B9 36 02 ora #$10 ; CPU:$CE07 PRG:0E07 09 10 sta $0236,y ; CPU:$CE09 PRG:0E09 99 36 02 - jmp $CE1F ; CPU:$CE0C PRG:0E0C 4C 1F CE + jmp SubCCE1F ; CPU:$CE0C PRG:0E0C 4C 1F CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE0F +; Routine: Sub_8764_OnCarryClear_CE0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2034,7 +2038,7 @@ Label_CDFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE0F: +Sub_8764_OnCarryClear_CE0F: lda $0232,y ; CPU:$CE0F PRG:0E0F B9 32 02 and #$DF ; CPU:$CE12 PRG:0E12 29 DF sta $0232,y ; CPU:$CE14 PRG:0E14 99 32 02 @@ -2042,7 +2046,7 @@ Label_CE0F: and #$DF ; CPU:$CE1A PRG:0E1A 29 DF sta $0236,y ; CPU:$CE1C PRG:0E1C 99 36 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE1F +; Routine: SubCCE1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2050,17 +2054,17 @@ Label_CE0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE1F: +SubCCE1F: tya ; CPU:$CE1F PRG:0E1F 98 clc ; CPU:$CE20 PRG:0E20 18 adc #$08 ; CPU:$CE21 PRG:0E21 69 08 tay ; CPU:$CE23 PRG:0E23 A8 inx ; CPU:$CE24 PRG:0E24 E8 cpx #$03 ; CPU:$CE25 PRG:0E25 E0 03 - bne Label_CDEE ; CPU:$CE27 PRG:0E27 D0 C5 + bne Sub_8764_OnNonzero_CDEE ; CPU:$CE27 PRG:0E27 D0 C5 rts ; CPU:$CE29 PRG:0E29 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2A +; Routine: SubCCE2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2068,17 +2072,17 @@ Label_CE1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2A: - lda Zp00 ; CPU:$CE2A PRG:0E2A A5 00 +SubCCE2A: + lda PtrLo ; CPU:$CE2A PRG:0E2A A5 00 cmp #$0F ; CPU:$CE2C PRG:0E2C C9 0F - bcc Label_CE3A ; CPU:$CE2E PRG:0E2E 90 0A + bcc Sub_8764_JoinBranchPaths_CE3A ; CPU:$CE2E PRG:0E2E 90 0A cmp #$B9 ; CPU:$CE30 PRG:0E30 C9 B9 - bcs Label_CE3A ; CPU:$CE32 PRG:0E32 B0 06 - lda Zp01 ; CPU:$CE34 PRG:0E34 A5 01 + bcs Sub_8764_JoinBranchPaths_CE3A ; CPU:$CE32 PRG:0E32 B0 06 + lda PtrHi ; CPU:$CE34 PRG:0E34 A5 01 cmp #$18 ; CPU:$CE36 PRG:0E36 C9 18 - bcs Label_CE3D ; CPU:$CE38 PRG:0E38 B0 03 + bcs Sub_8764_OnCarrySet_CE3D ; CPU:$CE38 PRG:0E38 B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CE3A +; Routine: Sub_8764_JoinBranchPaths_CE3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2086,11 +2090,11 @@ Label_CE2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE3A: +Sub_8764_JoinBranchPaths_CE3A: lda #$00 ; CPU:$CE3A PRG:0E3A A9 00 rts ; CPU:$CE3C PRG:0E3C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE3D +; Routine: Sub_8764_OnCarrySet_CE3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2098,11 +2102,11 @@ Label_CE3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE3D: +Sub_8764_OnCarrySet_CE3D: lda #$01 ; CPU:$CE3D PRG:0E3D A9 01 rts ; CPU:$CE3F PRG:0E3F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE40 +; Routine: SubCCE40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2110,10 +2114,10 @@ Label_CE3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE40: +SubCCE40: ldx #$08 ; CPU:$CE40 PRG:0E40 A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CE42 +; Routine: Sub_8764_OnNonzero_CE42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2121,22 +2125,22 @@ Label_CE40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE42: +Sub_8764_OnNonzero_CE42: lda #$E8 ; CPU:$CE42 PRG:0E42 A9 E8 sta $03E9,x ; CPU:$CE44 PRG:0E44 9D E9 03 dex ; CPU:$CE47 PRG:0E47 CA - bne Label_CE42 ; CPU:$CE48 PRG:0E48 D0 F8 + bne Sub_8764_OnNonzero_CE42 ; CPU:$CE48 PRG:0E48 D0 F8 ldx Zp64 ; CPU:$CE4A PRG:0E4A A6 64 lda Zp66,x ; CPU:$CE4C PRG:0E4C B5 66 cmp #$0A ; CPU:$CE4E PRG:0E4E C9 0A - bpl Label_CE8C ; CPU:$CE50 PRG:0E50 10 3A + bpl Sub_8764_OnNonnegative_CE8C ; CPU:$CE50 PRG:0E50 10 3A tax ; CPU:$CE52 PRG:0E52 AA - lda Zp60 ; CPU:$CE53 PRG:0E53 A5 60 + lda GameState ; CPU:$CE53 PRG:0E53 A5 60 cmp #$02 ; CPU:$CE55 PRG:0E55 C9 02 - bne Label_CE5A ; CPU:$CE57 PRG:0E57 D0 01 + bne Sub_8764_OnNonzero_CE5A ; CPU:$CE57 PRG:0E57 D0 01 dex ; CPU:$CE59 PRG:0E59 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CE5A +; Routine: Sub_8764_OnNonzero_CE5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2144,12 +2148,12 @@ Label_CE42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5A: +Sub_8764_OnNonzero_CE5A: txa ; CPU:$CE5A PRG:0E5A 8A - beq Label_CE6D ; CPU:$CE5B PRG:0E5B F0 10 + beq Sub_8764_OnZero_CE6D ; CPU:$CE5B PRG:0E5B F0 10 ldy #$01 ; CPU:$CE5D PRG:0E5D A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CE5F +; Routine: Sub_8764_OnNonzero_CE5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2157,17 +2161,17 @@ Label_CE5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5F: +Sub_8764_OnNonzero_CE5F: lda #$2F ; CPU:$CE5F PRG:0E5F A9 2F sta $03E9,y ; CPU:$CE61 PRG:0E61 99 E9 03 iny ; CPU:$CE64 PRG:0E64 C8 cpy #$09 ; CPU:$CE65 PRG:0E65 C0 09 - beq Label_CE6D ; CPU:$CE67 PRG:0E67 F0 04 + beq Sub_8764_OnZero_CE6D ; CPU:$CE67 PRG:0E67 F0 04 dex ; CPU:$CE69 PRG:0E69 CA txa ; CPU:$CE6A PRG:0E6A 8A - bne Label_CE5F ; CPU:$CE6B PRG:0E6B D0 F2 + bne Sub_8764_OnNonzero_CE5F ; CPU:$CE6B PRG:0E6B D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_CE6D +; Routine: Sub_8764_OnZero_CE6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2175,23 +2179,23 @@ Label_CE5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE6D: +Sub_8764_OnZero_CE6D: lda #$59 ; CPU:$CE6D PRG:0E6D A9 59 - sta Zp00 ; CPU:$CE6F PRG:0E6F 85 00 + sta PtrLo ; CPU:$CE6F PRG:0E6F 85 00 lda #$21 ; CPU:$CE71 PRG:0E71 A9 21 - sta Zp01 ; CPU:$CE73 PRG:0E73 85 01 + sta PtrHi ; CPU:$CE73 PRG:0E73 85 01 lda #$E9 ; CPU:$CE75 PRG:0E75 A9 E9 - sta Zp02 ; CPU:$CE77 PRG:0E77 85 02 + sta Ptr2Lo ; CPU:$CE77 PRG:0E77 85 02 lda #$03 ; CPU:$CE79 PRG:0E79 A9 03 - sta Zp03 ; CPU:$CE7B PRG:0E7B 85 03 + sta Ptr2Hi ; CPU:$CE7B PRG:0E7B 85 03 lda Zp64 ; CPU:$CE7D PRG:0E7D A5 64 - beq Label_CE89 ; CPU:$CE7F PRG:0E7F F0 08 + beq Sub_8764_OnZero_CE89 ; CPU:$CE7F PRG:0E7F F0 08 lda #$19 ; CPU:$CE81 PRG:0E81 A9 19 - sta Zp00 ; CPU:$CE83 PRG:0E83 85 00 + sta PtrLo ; CPU:$CE83 PRG:0E83 85 00 lda #$23 ; CPU:$CE85 PRG:0E85 A9 23 - sta Zp01 ; CPU:$CE87 PRG:0E87 85 01 + sta PtrHi ; CPU:$CE87 PRG:0E87 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CE89 +; Routine: Sub_8764_OnZero_CE89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2199,10 +2203,10 @@ Label_CE6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE89: - jmp $F018 ; CPU:$CE89 PRG:0E89 4C 18 F0 +Sub_8764_OnZero_CE89: + jmp SubCF018 ; CPU:$CE89 PRG:0E89 4C 18 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_CE8C +; Routine: Sub_8764_OnNonnegative_CE8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2210,10 +2214,10 @@ Label_CE89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8C: +Sub_8764_OnNonnegative_CE8C: rts ; CPU:$CE8C PRG:0E8C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE8D +; Routine: SubCCE8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2221,16 +2225,16 @@ Label_CE8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8D: +SubCCE8D: lda Zp3E ; CPU:$CE8D PRG:0E8D A5 3E - bne Label_CEEA ; CPU:$CE8F PRG:0E8F D0 59 + bne Sub_8764_JoinBranchPaths_CEEA ; CPU:$CE8F PRG:0E8F D0 59 lda ZpED ; CPU:$CE91 PRG:0E91 A5 ED - bne Label_CE9B ; CPU:$CE93 PRG:0E93 D0 06 - jsr $D264 ; CPU:$CE95 PRG:0E95 20 64 D2 - beq Label_CE9B ; CPU:$CE98 PRG:0E98 F0 01 + bne Sub_8764_JoinBranchPaths_CE9B ; CPU:$CE93 PRG:0E93 D0 06 + jsr SubCD264 ; CPU:$CE95 PRG:0E95 20 64 D2 + beq Sub_8764_JoinBranchPaths_CE9B ; CPU:$CE98 PRG:0E98 F0 01 rts ; CPU:$CE9A PRG:0E9A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE9B +; Routine: Sub_8764_JoinBranchPaths_CE9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2238,16 +2242,16 @@ Label_CE8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE9B: +Sub_8764_JoinBranchPaths_CE9B: lda #$01 ; CPU:$CE9B PRG:0E9B A9 01 sta ZpED ; CPU:$CE9D PRG:0E9D 85 ED - jsr $C7E6 ; CPU:$CE9F PRG:0E9F 20 E6 C7 + jsr SubCC7E6 ; CPU:$CE9F PRG:0E9F 20 E6 C7 lda Zp7F ; CPU:$CEA2 PRG:0EA2 A5 7F - bne Label_CEAA ; CPU:$CEA4 PRG:0EA4 D0 04 - jsr $CC90 ; CPU:$CEA6 PRG:0EA6 20 90 CC + bne Sub_8764_OnNonzero_CEAA ; CPU:$CEA4 PRG:0EA4 D0 04 + jsr SubCCC90 ; CPU:$CEA6 PRG:0EA6 20 90 CC rts ; CPU:$CEA9 PRG:0EA9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEAA +; Routine: Sub_8764_OnNonzero_CEAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2255,16 +2259,16 @@ Label_CE9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEAA: +Sub_8764_OnNonzero_CEAA: lda Zp6C ; CPU:$CEAA PRG:0EAA A5 6C cmp #$03 ; CPU:$CEAC PRG:0EAC C9 03 - beq Label_CEB8 ; CPU:$CEAE PRG:0EAE F0 08 + beq Sub_8764_OnZero_CEB8 ; CPU:$CEAE PRG:0EAE F0 08 cmp #$07 ; CPU:$CEB0 PRG:0EB0 C9 07 - beq Label_CEB8 ; CPU:$CEB2 PRG:0EB2 F0 04 + beq Sub_8764_OnZero_CEB8 ; CPU:$CEB2 PRG:0EB2 F0 04 cmp #$0B ; CPU:$CEB4 PRG:0EB4 C9 0B - bne Label_CEBB ; CPU:$CEB6 PRG:0EB6 D0 03 + bne Sub_8764_OnNonzero_CEBB ; CPU:$CEB6 PRG:0EB6 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CEB8 +; Routine: Sub_8764_OnZero_CEB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2272,10 +2276,10 @@ Label_CEAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEB8: - jsr $CEF2 ; CPU:$CEB8 PRG:0EB8 20 F2 CE +Sub_8764_OnZero_CEB8: + jsr SubCCEF2 ; CPU:$CEB8 PRG:0EB8 20 F2 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEBB +; Routine: Sub_8764_OnNonzero_CEBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2283,32 +2287,32 @@ Label_CEB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEBB: - jsr $D2B4 ; CPU:$CEBB PRG:0EBB 20 B4 D2 +Sub_8764_OnNonzero_CEBB: + jsr SubCD2B4 ; CPU:$CEBB PRG:0EBB 20 B4 D2 ldx Zp64 ; CPU:$CEBE PRG:0EBE A6 64 dec Zp66,x ; CPU:$CEC0 PRG:0EC0 D6 66 lda Zp66,x ; CPU:$CEC2 PRG:0EC2 B5 66 - beq Label_CEEA ; CPU:$CEC4 PRG:0EC4 F0 24 + beq Sub_8764_JoinBranchPaths_CEEA ; CPU:$CEC4 PRG:0EC4 F0 24 lda #$01 ; CPU:$CEC6 PRG:0EC6 A9 01 - sta Zp60 ; CPU:$CEC8 PRG:0EC8 85 60 + sta GameState ; CPU:$CEC8 PRG:0EC8 85 60 lda $0393 ; CPU:$CECA PRG:0ECA AD 93 03 - bne Label_CEEA ; CPU:$CECD PRG:0ECD D0 1B + bne Sub_8764_JoinBranchPaths_CEEA ; CPU:$CECD PRG:0ECD D0 1B lda Zp63 ; CPU:$CECF PRG:0ECF A5 63 cmp #$18 ; CPU:$CED1 PRG:0ED1 C9 18 - beq Label_CEEA ; CPU:$CED3 PRG:0ED3 F0 15 + beq Sub_8764_JoinBranchPaths_CEEA ; CPU:$CED3 PRG:0ED3 F0 15 ldx Zp64 ; CPU:$CED5 PRG:0ED5 A6 64 inx ; CPU:$CED7 PRG:0ED7 E8 txa ; CPU:$CED8 PRG:0ED8 8A and #$01 ; CPU:$CED9 PRG:0ED9 29 01 tax ; CPU:$CEDB PRG:0EDB AA lda Zp66,x ; CPU:$CEDC PRG:0EDC B5 66 - beq Label_CEEA ; CPU:$CEDE PRG:0EDE F0 0A + beq Sub_8764_JoinBranchPaths_CEEA ; CPU:$CEDE PRG:0EDE F0 0A stx Zp64 ; CPU:$CEE0 PRG:0EE0 86 64 - jsr $C7B6 ; CPU:$CEE2 PRG:0EE2 20 B6 C7 + jsr ClearScore ; CPU:$CEE2 PRG:0EE2 20 B6 C7 lda Zp64 ; CPU:$CEE5 PRG:0EE5 A5 64 - jsr $C9EC ; CPU:$CEE7 PRG:0EE7 20 EC C9 + jsr SubCC9EC ; CPU:$CEE7 PRG:0EE7 20 EC C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CEEA +; Routine: Sub_8764_JoinBranchPaths_CEEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2316,13 +2320,13 @@ Label_CEBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEA: - jsr $CBC0 ; CPU:$CEEA PRG:0EEA 20 C0 CB +Sub_8764_JoinBranchPaths_CEEA: + jsr SubCCBC0 ; CPU:$CEEA PRG:0EEA 20 C0 CB lda #$04 ; CPU:$CEED PRG:0EED A9 04 sta Zp49 ; CPU:$CEEF PRG:0EEF 85 49 rts ; CPU:$CEF1 PRG:0EF1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEF2 +; Routine: SubCCEF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2330,7 +2334,7 @@ Label_CEEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEF2: +SubCCEF2: ldx Zp64 ; CPU:$CEF2 PRG:0EF2 A6 64 inc Zp6D,x ; CPU:$CEF4 PRG:0EF4 F6 6D lda Zp6D,x ; CPU:$CEF6 PRG:0EF6 B5 6D @@ -2339,10 +2343,10 @@ Label_CEF2: inc $039E,x ; CPU:$CEFC PRG:0EFC FE 9E 03 lda $039E,x ; CPU:$CEFF PRG:0EFF BD 9E 03 cmp #$0F ; CPU:$CF02 PRG:0F02 C9 0F - bmi Label_CF08 ; CPU:$CF04 PRG:0F04 30 02 + bmi Sub_8764_OnNegative_CF08 ; CPU:$CF04 PRG:0F04 30 02 lda #$0F ; CPU:$CF06 PRG:0F06 A9 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CF08 +; Routine: Sub_8764_OnNegative_CF08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2350,24 +2354,24 @@ Label_CEF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF08: +Sub_8764_OnNegative_CF08: sta Zp75 ; CPU:$CF08 PRG:0F08 85 75 txa ; CPU:$CF0A PRG:0F0A 8A ora #$02 ; CPU:$CF0B PRG:0F0B 09 02 - sta Zp01 ; CPU:$CF0D PRG:0F0D 85 01 + sta PtrHi ; CPU:$CF0D PRG:0F0D 85 01 lda #$01 ; CPU:$CF0F PRG:0F0F A9 01 - sta Zp00 ; CPU:$CF11 PRG:0F11 85 00 - jsr $F15B ; CPU:$CF13 PRG:0F13 20 5B F1 - jsr $CC65 ; CPU:$CF16 PRG:0F16 20 65 CC + sta PtrLo ; CPU:$CF11 PRG:0F11 85 00 + jsr SubCF15B ; CPU:$CF13 PRG:0F13 20 5B F1 + jsr SubCCC65 ; CPU:$CF16 PRG:0F16 20 65 CC lda Zp6C ; CPU:$CF19 PRG:0F19 A5 6C cmp #$09 ; CPU:$CF1B PRG:0F1B C9 09 - beq Label_CF29 ; CPU:$CF1D PRG:0F1D F0 0A - jsr $CFA7 ; CPU:$CF1F PRG:0F1F 20 A7 CF - jsr $D025 ; CPU:$CF22 PRG:0F22 20 25 D0 + beq Sub_8764_OnZero_CF29 ; CPU:$CF1D PRG:0F1D F0 0A + jsr SubCCFA7 ; CPU:$CF1F PRG:0F1F 20 A7 CF + jsr SubCD025 ; CPU:$CF22 PRG:0F22 20 25 D0 lda #$02 ; CPU:$CF25 PRG:0F25 A9 02 - sta Zp77 ; CPU:$CF27 PRG:0F27 85 77 + sta GameplaySubState ; CPU:$CF27 PRG:0F27 85 77 ; ----------------------------------------------------------------------------- -; Routine: Label_CF29 +; Routine: Sub_8764_OnZero_CF29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2375,15 +2379,15 @@ Label_CF08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF29: +Sub_8764_OnZero_CF29: lda #$02 ; CPU:$CF29 PRG:0F29 A9 02 sta Zp76 ; CPU:$CF2B PRG:0F2B 85 76 lda #$00 ; CPU:$CF2D PRG:0F2D A9 00 sta ZpAE ; CPU:$CF2F PRG:0F2F 85 AE - jsr $CBC0 ; CPU:$CF31 PRG:0F31 20 C0 CB - jsr $CC30 ; CPU:$CF34 PRG:0F34 20 30 CC + jsr SubCCBC0 ; CPU:$CF31 PRG:0F31 20 C0 CB + jsr SubCCC30 ; CPU:$CF34 PRG:0F34 20 30 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CF37 +; Routine: SubCCF37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2391,22 +2395,22 @@ Label_CF29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF37: +SubCCF37: lda Zp6C ; CPU:$CF37 PRG:0F37 A5 6C and #$0F ; CPU:$CF39 PRG:0F39 29 0F asl a ; CPU:$CF3B PRG:0F3B 0A tax ; CPU:$CF3C PRG:0F3C AA lda $C6F5,x ; CPU:$CF3D PRG:0F3D BD F5 C6 - sta Zp02 ; CPU:$CF40 PRG:0F40 85 02 + sta Ptr2Lo ; CPU:$CF40 PRG:0F40 85 02 lda $C6F6,x ; CPU:$CF42 PRG:0F42 BD F6 C6 - sta Zp03 ; CPU:$CF45 PRG:0F45 85 03 + sta Ptr2Hi ; CPU:$CF45 PRG:0F45 85 03 lda $C715,x ; CPU:$CF47 PRG:0F47 BD 15 C7 sta Zp04 ; CPU:$CF4A PRG:0F4A 85 04 lda $C716,x ; CPU:$CF4C PRG:0F4C BD 16 C7 sta Zp05 ; CPU:$CF4F PRG:0F4F 85 05 ldy #$00 ; CPU:$CF51 PRG:0F51 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF53 +; Routine: Sub_8764_OnNegative_CF53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2414,17 +2418,17 @@ Label_CF37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF53: - lda (Zp02),y ; CPU:$CF53 PRG:0F53 B1 02 - sta a:$0090,y ; CPU:$CF55 PRG:0F55 99 90 00 +Sub_8764_OnNegative_CF53: + lda (Ptr2Lo),y ; CPU:$CF53 PRG:0F53 B1 02 + sta a:Zp90,y ; CPU:$CF55 PRG:0F55 99 90 00 lda (Zp04),y ; CPU:$CF58 PRG:0F58 B1 04 - sta a:$00A0,y ; CPU:$CF5A PRG:0F5A 99 A0 00 + sta a:ZpA0,y ; CPU:$CF5A PRG:0F5A 99 A0 00 iny ; CPU:$CF5D PRG:0F5D C8 cpy #$08 ; CPU:$CF5E PRG:0F5E C0 08 - bmi Label_CF53 ; CPU:$CF60 PRG:0F60 30 F1 + bmi Sub_8764_OnNegative_CF53 ; CPU:$CF60 PRG:0F60 30 F1 rts ; CPU:$CF62 PRG:0F62 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF63 +; Routine: SubCCF63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2432,21 +2436,21 @@ Label_CF53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF63: +SubCCF63: ldx Zp64 ; CPU:$CF63 PRG:0F63 A6 64 lda $039E,x ; CPU:$CF65 PRG:0F65 BD 9E 03 and #$07 ; CPU:$CF68 PRG:0F68 29 07 asl a ; CPU:$CF6A PRG:0F6A 0A tax ; CPU:$CF6B PRG:0F6B AA lda $C545,x ; CPU:$CF6C PRG:0F6C BD 45 C5 - sta Zp00 ; CPU:$CF6F PRG:0F6F 85 00 + sta PtrLo ; CPU:$CF6F PRG:0F6F 85 00 lda $C546,x ; CPU:$CF71 PRG:0F71 BD 46 C5 - sta Zp01 ; CPU:$CF74 PRG:0F74 85 01 + sta PtrHi ; CPU:$CF74 PRG:0F74 85 01 lda #$23 ; CPU:$CF76 PRG:0F76 A9 23 sta $0330 ; CPU:$CF78 PRG:0F78 8D 30 03 ldy #$00 ; CPU:$CF7B PRG:0F7B A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7D +; Routine: Sub_8764_OnNegative_CF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2454,17 +2458,17 @@ Label_CF63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7D: - lda (Zp00),y ; CPU:$CF7D PRG:0F7D B1 00 +Sub_8764_OnNegative_CF7D: + lda (PtrLo),y ; CPU:$CF7D PRG:0F7D B1 00 sta $0331,y ; CPU:$CF7F PRG:0F7F 99 31 03 iny ; CPU:$CF82 PRG:0F82 C8 cpy #$24 ; CPU:$CF83 PRG:0F83 C0 24 - bmi Label_CF7D ; CPU:$CF85 PRG:0F85 30 F6 + bmi Sub_8764_OnNegative_CF7D ; CPU:$CF85 PRG:0F85 30 F6 lda #$00 ; CPU:$CF87 PRG:0F87 A9 00 - sta Zp77 ; CPU:$CF89 PRG:0F89 85 77 + sta GameplaySubState ; CPU:$CF89 PRG:0F89 85 77 rts ; CPU:$CF8B PRG:0F8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF8C +; Routine: SubCCF8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2472,17 +2476,17 @@ Label_CF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF8C: +SubCCF8C: lda Zp64 ; CPU:$CF8C PRG:0F8C A5 64 asl a ; CPU:$CF8E PRG:0F8E 0A tax ; CPU:$CF8F PRG:0F8F AA lda $C295,x ; CPU:$CF90 PRG:0F90 BD 95 C2 - sta Zp02 ; CPU:$CF93 PRG:0F93 85 02 + sta Ptr2Lo ; CPU:$CF93 PRG:0F93 85 02 lda $C296,x ; CPU:$CF95 PRG:0F95 BD 96 C2 - sta Zp03 ; CPU:$CF98 PRG:0F98 85 03 + sta Ptr2Hi ; CPU:$CF98 PRG:0F98 85 03 ldy #$00 ; CPU:$CF9A PRG:0F9A A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF9C +; Routine: Sub_8764_OnCarryClear_CF9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2490,15 +2494,15 @@ Label_CF8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF9C: +Sub_8764_OnCarryClear_CF9C: lda $F3B9,y ; CPU:$CF9C PRG:0F9C B9 B9 F3 - sta (Zp02),y ; CPU:$CF9F PRG:0F9F 91 02 + sta (Ptr2Lo),y ; CPU:$CF9F PRG:0F9F 91 02 iny ; CPU:$CFA1 PRG:0FA1 C8 cpy #$FE ; CPU:$CFA2 PRG:0FA2 C0 FE - bcc Label_CF9C ; CPU:$CFA4 PRG:0FA4 90 F6 + bcc Sub_8764_OnCarryClear_CF9C ; CPU:$CFA4 PRG:0FA4 90 F6 rts ; CPU:$CFA6 PRG:0FA6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFA7 +; Routine: SubCCFA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2506,18 +2510,18 @@ Label_CF9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA7: +SubCCFA7: lda Zp64 ; CPU:$CFA7 PRG:0FA7 A5 64 asl a ; CPU:$CFA9 PRG:0FA9 0A tax ; CPU:$CFAA PRG:0FAA AA lda $C295,x ; CPU:$CFAB PRG:0FAB BD 95 C2 - sta Zp02 ; CPU:$CFAE PRG:0FAE 85 02 + sta Ptr2Lo ; CPU:$CFAE PRG:0FAE 85 02 lda $C296,x ; CPU:$CFB0 PRG:0FB0 BD 96 C2 - sta Zp03 ; CPU:$CFB3 PRG:0FB3 85 03 + sta Ptr2Hi ; CPU:$CFB3 PRG:0FB3 85 03 ldx #$00 ; CPU:$CFB5 PRG:0FB5 A2 00 ldy #$DC ; CPU:$CFB7 PRG:0FB7 A0 DC ; ----------------------------------------------------------------------------- -; Routine: Label_CFB9 +; Routine: Sub_8764_JoinBranchPaths_CFB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2525,16 +2529,16 @@ Label_CFA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB9: - lda (Zp02),y ; CPU:$CFB9 PRG:0FB9 B1 02 - sta Zp00 ; CPU:$CFBB PRG:0FBB 85 00 +Sub_8764_JoinBranchPaths_CFB9: + lda (Ptr2Lo),y ; CPU:$CFB9 PRG:0FB9 B1 02 + sta PtrLo ; CPU:$CFBB PRG:0FBB 85 00 cpy #$9A ; CPU:$CFBD PRG:0FBD C0 9A - bcc Label_CFD4 ; CPU:$CFBF PRG:0FBF 90 13 - lda Zp00 ; CPU:$CFC1 PRG:0FC1 A5 00 + bcc Sub_8764_OnCarryClear_CFD4 ; CPU:$CFBF PRG:0FBF 90 13 + lda PtrLo ; CPU:$CFC1 PRG:0FC1 A5 00 cmp #$0E ; CPU:$CFC3 PRG:0FC3 C9 0E - bcc Label_CFD4 ; CPU:$CFC5 PRG:0FC5 90 0D + bcc Sub_8764_OnCarryClear_CFD4 ; CPU:$CFC5 PRG:0FC5 90 0D lda #$00 ; CPU:$CFC7 PRG:0FC7 A9 00 - sta Zp00 ; CPU:$CFC9 PRG:0FC9 85 00 + sta PtrLo ; CPU:$CFC9 PRG:0FC9 85 00 txa ; CPU:$CFCB PRG:0FCB 8A pha ; CPU:$CFCC PRG:0FCC 48 ldx Zp64 ; CPU:$CFCD PRG:0FCD A6 64 @@ -2542,7 +2546,7 @@ Label_CFB9: pla ; CPU:$CFD2 PRG:0FD2 68 tax ; CPU:$CFD3 PRG:0FD3 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CFD4 +; Routine: Sub_8764_OnCarryClear_CFD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2550,30 +2554,30 @@ Label_CFB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD4: +Sub_8764_OnCarryClear_CFD4: tya ; CPU:$CFD4 PRG:0FD4 98 pha ; CPU:$CFD5 PRG:0FD5 48 clc ; CPU:$CFD6 PRG:0FD6 18 adc #$0B ; CPU:$CFD7 PRG:0FD7 69 0B tay ; CPU:$CFD9 PRG:0FD9 A8 - lda Zp00 ; CPU:$CFDA PRG:0FDA A5 00 - sta (Zp02),y ; CPU:$CFDC PRG:0FDC 91 02 + lda PtrLo ; CPU:$CFDA PRG:0FDA A5 00 + sta (Ptr2Lo),y ; CPU:$CFDC PRG:0FDC 91 02 pla ; CPU:$CFDE PRG:0FDE 68 tay ; CPU:$CFDF PRG:0FDF A8 iny ; CPU:$CFE0 PRG:0FE0 C8 inx ; CPU:$CFE1 PRG:0FE1 E8 cpx #$0B ; CPU:$CFE2 PRG:0FE2 E0 0B - bmi Label_CFB9 ; CPU:$CFE4 PRG:0FE4 30 D3 + bmi Sub_8764_JoinBranchPaths_CFB9 ; CPU:$CFE4 PRG:0FE4 30 D3 ldx #$00 ; CPU:$CFE6 PRG:0FE6 A2 00 tya ; CPU:$CFE8 PRG:0FE8 98 sec ; CPU:$CFE9 PRG:0FE9 38 sbc #$16 ; CPU:$CFEA PRG:0FEA E9 16 tay ; CPU:$CFEC PRG:0FEC A8 cpy #$0B ; CPU:$CFED PRG:0FED C0 0B - bcs Label_CFB9 ; CPU:$CFEF PRG:0FEF B0 C8 + bcs Sub_8764_JoinBranchPaths_CFB9 ; CPU:$CFEF PRG:0FEF B0 C8 ldy #$0B ; CPU:$CFF1 PRG:0FF1 A0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_CFF3 +; Routine: Sub_8764_OnNegative_CFF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2581,15 +2585,15 @@ Label_CFD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF3: +Sub_8764_OnNegative_CFF3: lda #$00 ; CPU:$CFF3 PRG:0FF3 A9 00 - sta (Zp02),y ; CPU:$CFF5 PRG:0FF5 91 02 + sta (Ptr2Lo),y ; CPU:$CFF5 PRG:0FF5 91 02 iny ; CPU:$CFF7 PRG:0FF7 C8 cpy #$16 ; CPU:$CFF8 PRG:0FF8 C0 16 - bmi Label_CFF3 ; CPU:$CFFA PRG:0FFA 30 F7 + bmi Sub_8764_OnNegative_CFF3 ; CPU:$CFFA PRG:0FFA 30 F7 rts ; CPU:$CFFC PRG:0FFC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFD +; Routine: SubCCFFD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2597,18 +2601,18 @@ Label_CFF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFD: +SubCCFFD: lda Zp64 ; CPU:$CFFD PRG:0FFD A5 64 asl a ; CPU:$CFFF PRG:0FFF 0A tax ; CPU:$D000 PRG:1000 AA lda $C295,x ; CPU:$D001 PRG:1001 BD 95 C2 - sta Zp02 ; CPU:$D004 PRG:1004 85 02 + sta Ptr2Lo ; CPU:$D004 PRG:1004 85 02 lda $C296,x ; CPU:$D006 PRG:1006 BD 96 C2 - sta Zp03 ; CPU:$D009 PRG:1009 85 03 + sta Ptr2Hi ; CPU:$D009 PRG:1009 85 03 ldy #$00 ; CPU:$D00B PRG:100B A0 00 sty Zp6A ; CPU:$D00D PRG:100D 84 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D00F +; Routine: Sub_8764_OnCarryClear_D00F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2616,13 +2620,13 @@ Label_CFFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00F: - lda (Zp02),y ; CPU:$D00F PRG:100F B1 02 +Sub_8764_OnCarryClear_D00F: + lda (Ptr2Lo),y ; CPU:$D00F PRG:100F B1 02 and #$07 ; CPU:$D011 PRG:1011 29 07 - beq Label_D017 ; CPU:$D013 PRG:1013 F0 02 + beq Sub_8764_OnZero_D017 ; CPU:$D013 PRG:1013 F0 02 inc Zp6A ; CPU:$D015 PRG:1015 E6 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D017 +; Routine: Sub_8764_OnZero_D017 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2630,13 +2634,13 @@ Label_D00F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D017: - lda (Zp02),y ; CPU:$D017 PRG:1017 B1 02 +Sub_8764_OnZero_D017: + lda (Ptr2Lo),y ; CPU:$D017 PRG:1017 B1 02 and #$70 ; CPU:$D019 PRG:1019 29 70 - beq Label_D01F ; CPU:$D01B PRG:101B F0 02 + beq Sub_8764_OnZero_D01F ; CPU:$D01B PRG:101B F0 02 inc Zp6A ; CPU:$D01D PRG:101D E6 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D01F +; Routine: Sub_8764_OnZero_D01F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2644,13 +2648,13 @@ Label_D017: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01F: +Sub_8764_OnZero_D01F: iny ; CPU:$D01F PRG:101F C8 cpy #$F1 ; CPU:$D020 PRG:1020 C0 F1 - bcc Label_D00F ; CPU:$D022 PRG:1022 90 EB + bcc Sub_8764_OnCarryClear_D00F ; CPU:$D022 PRG:1022 90 EB rts ; CPU:$D024 PRG:1024 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D025 +; Routine: SubCD025 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2658,7 +2662,7 @@ Label_D01F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D025: +SubCD025: ldx Zp64 ; CPU:$D025 PRG:1025 A6 64 lda Zp6D,x ; CPU:$D027 PRG:1027 B5 6D and #$03 ; CPU:$D029 PRG:1029 29 03 @@ -2666,10 +2670,10 @@ Label_D025: lda $C38B,x ; CPU:$D02C PRG:102C BD 8B C3 tay ; CPU:$D02F PRG:102F A8 lda #$EF ; CPU:$D030 PRG:1030 A9 EF - sta (Zp02),y ; CPU:$D032 PRG:1032 91 02 + sta (Ptr2Lo),y ; CPU:$D032 PRG:1032 91 02 rts ; CPU:$D034 PRG:1034 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D035 +; Routine: SubCD035 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2677,18 +2681,18 @@ Label_D025: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D035: +SubCD035: lda Zp64 ; CPU:$D035 PRG:1035 A5 64 asl a ; CPU:$D037 PRG:1037 0A tax ; CPU:$D038 PRG:1038 AA lda $C295,x ; CPU:$D039 PRG:1039 BD 95 C2 - sta Zp02 ; CPU:$D03C PRG:103C 85 02 + sta Ptr2Lo ; CPU:$D03C PRG:103C 85 02 lda $C296,x ; CPU:$D03E PRG:103E BD 96 C2 - sta Zp03 ; CPU:$D041 PRG:1041 85 03 + sta Ptr2Hi ; CPU:$D041 PRG:1041 85 03 ldx #$00 ; CPU:$D043 PRG:1043 A2 00 ldy #$16 ; CPU:$D045 PRG:1045 A0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D047 +; Routine: Sub_8764_JoinBranchPaths_D047 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2696,16 +2700,16 @@ Label_D035: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D047: - lda (Zp02),y ; CPU:$D047 PRG:1047 B1 02 - sta Zp00 ; CPU:$D049 PRG:1049 85 00 +Sub_8764_JoinBranchPaths_D047: + lda (Ptr2Lo),y ; CPU:$D047 PRG:1047 B1 02 + sta PtrLo ; CPU:$D049 PRG:1049 85 00 cpy #$37 ; CPU:$D04B PRG:104B C0 37 - bcs Label_D062 ; CPU:$D04D PRG:104D B0 13 - lda Zp00 ; CPU:$D04F PRG:104F A5 00 + bcs Sub_8764_JoinBranchPaths_D062 ; CPU:$D04D PRG:104D B0 13 + lda PtrLo ; CPU:$D04F PRG:104F A5 00 cmp #$0E ; CPU:$D051 PRG:1051 C9 0E - bcc Label_D062 ; CPU:$D053 PRG:1053 90 0D + bcc Sub_8764_JoinBranchPaths_D062 ; CPU:$D053 PRG:1053 90 0D lda #$00 ; CPU:$D055 PRG:1055 A9 00 - sta Zp00 ; CPU:$D057 PRG:1057 85 00 + sta PtrLo ; CPU:$D057 PRG:1057 85 00 txa ; CPU:$D059 PRG:1059 8A pha ; CPU:$D05A PRG:105A 48 ldx Zp64 ; CPU:$D05B PRG:105B A6 64 @@ -2713,7 +2717,7 @@ Label_D047: pla ; CPU:$D060 PRG:1060 68 tax ; CPU:$D061 PRG:1061 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D062 +; Routine: Sub_8764_JoinBranchPaths_D062 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2721,26 +2725,26 @@ Label_D047: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D062: +Sub_8764_JoinBranchPaths_D062: tya ; CPU:$D062 PRG:1062 98 pha ; CPU:$D063 PRG:1063 48 sec ; CPU:$D064 PRG:1064 38 sbc #$0B ; CPU:$D065 PRG:1065 E9 0B tay ; CPU:$D067 PRG:1067 A8 - lda Zp00 ; CPU:$D068 PRG:1068 A5 00 - sta (Zp02),y ; CPU:$D06A PRG:106A 91 02 + lda PtrLo ; CPU:$D068 PRG:1068 A5 00 + sta (Ptr2Lo),y ; CPU:$D06A PRG:106A 91 02 pla ; CPU:$D06C PRG:106C 68 tay ; CPU:$D06D PRG:106D A8 iny ; CPU:$D06E PRG:106E C8 inx ; CPU:$D06F PRG:106F E8 cpx #$0B ; CPU:$D070 PRG:1070 E0 0B - bmi Label_D047 ; CPU:$D072 PRG:1072 30 D3 + bmi Sub_8764_JoinBranchPaths_D047 ; CPU:$D072 PRG:1072 30 D3 ldx #$00 ; CPU:$D074 PRG:1074 A2 00 cpy #$DC ; CPU:$D076 PRG:1076 C0 DC - bcc Label_D047 ; CPU:$D078 PRG:1078 90 CD + bcc Sub_8764_JoinBranchPaths_D047 ; CPU:$D078 PRG:1078 90 CD ldy #$E7 ; CPU:$D07A PRG:107A A0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D07C +; Routine: Sub_8764_OnNegative_D07C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2748,15 +2752,15 @@ Label_D062: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D07C: +Sub_8764_OnNegative_D07C: lda #$00 ; CPU:$D07C PRG:107C A9 00 - sta (Zp02),y ; CPU:$D07E PRG:107E 91 02 + sta (Ptr2Lo),y ; CPU:$D07E PRG:107E 91 02 iny ; CPU:$D080 PRG:1080 C8 cpy #$F2 ; CPU:$D081 PRG:1081 C0 F2 - bmi Label_D07C ; CPU:$D083 PRG:1083 30 F7 + bmi Sub_8764_OnNegative_D07C ; CPU:$D083 PRG:1083 30 F7 rts ; CPU:$D085 PRG:1085 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D086 +; Routine: SubCD086 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2764,18 +2768,18 @@ Label_D07C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D086: +SubCD086: lda $0393 ; CPU:$D086 PRG:1086 AD 93 03 - beq Label_D09B ; CPU:$D089 PRG:1089 F0 10 + beq Sub_8764_OnZero_D09B ; CPU:$D089 PRG:1089 F0 10 lda $03FE ; CPU:$D08B PRG:108B AD FE 03 and #$30 ; CPU:$D08E PRG:108E 29 30 - beq Label_D09B ; CPU:$D090 PRG:1090 F0 09 - jsr $D3BA ; CPU:$D092 PRG:1092 20 BA D3 + beq Sub_8764_OnZero_D09B ; CPU:$D090 PRG:1090 F0 09 + jsr SubCD3BA ; CPU:$D092 PRG:1092 20 BA D3 lda #$01 ; CPU:$D095 PRG:1095 A9 01 sta $03FF ; CPU:$D097 PRG:1097 8D FF 03 rts ; CPU:$D09A PRG:109A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D09B +; Routine: Sub_8764_OnZero_D09B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2783,10 +2787,10 @@ Label_D086: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D09B: +Sub_8764_OnZero_D09B: rts ; CPU:$D09B PRG:109B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D09C +; Routine: SubCD09C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2794,23 +2798,23 @@ Label_D09B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D09C: +SubCD09C: lda $0397 ; CPU:$D09C PRG:109C AD 97 03 - bne Label_D0E7 ; CPU:$D09F PRG:109F D0 46 + bne Sub_8764_OnNonzero_D0E7 ; CPU:$D09F PRG:109F D0 46 lda Zp15 ; CPU:$D0A1 PRG:10A1 A5 15 and #$10 ; CPU:$D0A3 PRG:10A3 29 10 - beq Label_D0DF ; CPU:$D0A5 PRG:10A5 F0 38 + beq Sub_8764_OnZero_D0DF ; CPU:$D0A5 PRG:10A5 F0 38 lda Zp15 ; CPU:$D0A7 PRG:10A7 A5 15 cmp $0395 ; CPU:$D0A9 PRG:10A9 CD 95 03 - beq Label_D0E2 ; CPU:$D0AC PRG:10AC F0 34 + beq Sub_8764_OnZero_D0E2 ; CPU:$D0AC PRG:10AC F0 34 lda Zp15 ; CPU:$D0AE PRG:10AE A5 15 sta $0395 ; CPU:$D0B0 PRG:10B0 8D 95 03 lda $0397 ; CPU:$D0B3 PRG:10B3 AD 97 03 - bne Label_D0BC ; CPU:$D0B6 PRG:10B6 D0 04 + bne Sub_8764_OnNonzero_D0BC ; CPU:$D0B6 PRG:10B6 D0 04 lda #$02 ; CPU:$D0B8 PRG:10B8 A9 02 sta ZpFD ; CPU:$D0BA PRG:10BA 85 FD ; ----------------------------------------------------------------------------- -; Routine: Label_D0BC +; Routine: Sub_8764_OnNonzero_D0BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2818,21 +2822,21 @@ Label_D09C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0BC: +Sub_8764_OnNonzero_D0BC: lda $0396 ; CPU:$D0BC PRG:10BC AD 96 03 - beq Label_D0D7 ; CPU:$D0BF PRG:10BF F0 16 - lda Zp11 ; CPU:$D0C1 PRG:10C1 A5 11 + beq Sub_8764_OnZero_D0D7 ; CPU:$D0BF PRG:10BF F0 16 + lda PpuMaskShadow ; CPU:$D0C1 PRG:10C1 A5 11 and #$E7 ; CPU:$D0C3 PRG:10C3 29 E7 - sta Zp11 ; CPU:$D0C5 PRG:10C5 85 11 + sta PpuMaskShadow ; CPU:$D0C5 PRG:10C5 85 11 lda #$0F ; CPU:$D0C7 PRG:10C7 A9 0F - sta $4015 ; CPU:$D0C9 PRG:10C9 8D 15 40 + sta APUSTATUS ; CPU:$D0C9 PRG:10C9 8D 15 40 lda #$00 ; CPU:$D0CC PRG:10CC A9 00 sta $0396 ; CPU:$D0CE PRG:10CE 8D 96 03 lda #$40 ; CPU:$D0D1 PRG:10D1 A9 40 sta $0397 ; CPU:$D0D3 PRG:10D3 8D 97 03 rts ; CPU:$D0D6 PRG:10D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0D7 +; Routine: Sub_8764_OnZero_D0D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2840,12 +2844,12 @@ Label_D0BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0D7: +Sub_8764_OnZero_D0D7: lda #$01 ; CPU:$D0D7 PRG:10D7 A9 01 sta $0396 ; CPU:$D0D9 PRG:10D9 8D 96 03 - jmp $D0F6 ; CPU:$D0DC PRG:10DC 4C F6 D0 + jmp SubCD0F6 ; CPU:$D0DC PRG:10DC 4C F6 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D0DF +; Routine: Sub_8764_OnZero_D0DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2853,10 +2857,10 @@ Label_D0D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0DF: +Sub_8764_OnZero_D0DF: sta $0395 ; CPU:$D0DF PRG:10DF 8D 95 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D0E2 +; Routine: Sub_8764_OnZero_D0E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2864,11 +2868,11 @@ Label_D0DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E2: +Sub_8764_OnZero_D0E2: lda $0397 ; CPU:$D0E2 PRG:10E2 AD 97 03 - beq Label_D0EB ; CPU:$D0E5 PRG:10E5 F0 04 + beq Sub_8764_OnZero_D0EB ; CPU:$D0E5 PRG:10E5 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D0E7 +; Routine: Sub_8764_OnNonzero_D0E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2876,11 +2880,11 @@ Label_D0E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E7: +Sub_8764_OnNonzero_D0E7: dec $0397 ; CPU:$D0E7 PRG:10E7 CE 97 03 rts ; CPU:$D0EA PRG:10EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0EB +; Routine: Sub_8764_OnZero_D0EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2888,14 +2892,14 @@ Label_D0E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0EB: +Sub_8764_OnZero_D0EB: lda $0396 ; CPU:$D0EB PRG:10EB AD 96 03 - beq Label_D0FB ; CPU:$D0EE PRG:10EE F0 0B + beq Sub_8764_OnZero_D0FB ; CPU:$D0EE PRG:10EE F0 0B lda #$00 ; CPU:$D0F0 PRG:10F0 A9 00 - sta $4015 ; CPU:$D0F2 PRG:10F2 8D 15 40 + sta APUSTATUS ; CPU:$D0F2 PRG:10F2 8D 15 40 rts ; CPU:$D0F5 PRG:10F5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0F6 +; Routine: SubCD0F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2903,11 +2907,11 @@ Label_D0EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0F6: +SubCD0F6: lda #$40 ; CPU:$D0F6 PRG:10F6 A9 40 sta $0397 ; CPU:$D0F8 PRG:10F8 8D 97 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D0FB +; Routine: Sub_8764_OnZero_D0FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2915,10 +2919,10 @@ Label_D0F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FB: +Sub_8764_OnZero_D0FB: rts ; CPU:$D0FB PRG:10FB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D0FC +; Routine: SubCD0FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2926,13 +2930,13 @@ Label_D0FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FC: +SubCD0FC: ldx Zp64 ; CPU:$D0FC PRG:10FC A6 64 lda Zp68,x ; CPU:$D0FE PRG:10FE B5 68 - bne Label_D103 ; CPU:$D100 PRG:1100 D0 01 + bne Sub_8764_OnNonzero_D103 ; CPU:$D100 PRG:1100 D0 01 rts ; CPU:$D102 PRG:1102 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D103 +; Routine: Sub_8764_OnNonzero_D103 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2940,18 +2944,18 @@ Label_D0FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D103: +Sub_8764_OnNonzero_D103: lda ZpAF ; CPU:$D103 PRG:1103 A5 AF - beq Label_D117 ; CPU:$D105 PRG:1105 F0 10 + beq Sub_8764_OnZero_D117 ; CPU:$D105 PRG:1105 F0 10 cmp #$04 ; CPU:$D107 PRG:1107 C9 04 - bne Label_D114 ; CPU:$D109 PRG:1109 D0 09 + bne Sub_8764_OnNonzero_D114 ; CPU:$D109 PRG:1109 D0 09 lda #$00 ; CPU:$D10B PRG:110B A9 00 ldx Zp64 ; CPU:$D10D PRG:110D A6 64 sta ZpAF ; CPU:$D10F PRG:110F 85 AF sta Zp68,x ; CPU:$D111 PRG:1111 95 68 rts ; CPU:$D113 PRG:1113 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D114 +; Routine: Sub_8764_OnNonzero_D114 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2959,10 +2963,10 @@ Label_D103: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D114: - jmp $D1DE ; CPU:$D114 PRG:1114 4C DE D1 +Sub_8764_OnNonzero_D114: + jmp SubCD1DE ; CPU:$D114 PRG:1114 4C DE D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D117 +; Routine: Sub_8764_OnZero_D117 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2970,7 +2974,7 @@ Label_D114: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D117: +Sub_8764_OnZero_D117: ldx #$01 ; CPU:$D117 PRG:1117 A2 01 lda Zp18 ; CPU:$D119 PRG:1119 A5 18 and Zp1A ; CPU:$D11B PRG:111B 25 1A @@ -2981,7 +2985,7 @@ Label_D117: lda ZpB0 ; CPU:$D125 PRG:1125 A5 B0 sta Zp78 ; CPU:$D127 PRG:1127 85 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D129 +; Routine: SubCD129 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2989,29 +2993,29 @@ Label_D117: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D129: +SubCD129: stx Zp79 ; CPU:$D129 PRG:1129 86 79 lda #$44 ; CPU:$D12B PRG:112B A9 44 sta Zp0F ; CPU:$D12D PRG:112D 85 0F - jsr $DDD2 ; CPU:$D12F PRG:112F 20 D2 DD - sta Zp00 ; CPU:$D132 PRG:1132 85 00 + jsr SubCDDD2 ; CPU:$D12F PRG:112F 20 D2 DD + sta PtrLo ; CPU:$D132 PRG:1132 85 00 and #$07 ; CPU:$D134 PRG:1134 29 07 - beq Label_D179 ; CPU:$D136 PRG:1136 F0 41 - lda Zp00 ; CPU:$D138 PRG:1138 A5 00 + beq Sub_8764_OnZero_D179 ; CPU:$D136 PRG:1136 F0 41 + lda PtrLo ; CPU:$D138 PRG:1138 A5 00 and #$07 ; CPU:$D13A PRG:113A 29 07 cmp #$04 ; CPU:$D13C PRG:113C C9 04 - bne Label_D15A ; CPU:$D13E PRG:113E D0 1A - dec Zp00 ; CPU:$D140 PRG:1140 C6 00 - lda Zp00 ; CPU:$D142 PRG:1142 A5 00 + bne Sub_8764_OnNonzero_D15A ; CPU:$D13E PRG:113E D0 1A + dec PtrLo ; CPU:$D140 PRG:1140 C6 00 + lda PtrLo ; CPU:$D142 PRG:1142 A5 00 sta Zp0A ; CPU:$D144 PRG:1144 85 0A tay ; CPU:$D146 PRG:1146 A8 lda $C3F1,y ; CPU:$D147 PRG:1147 B9 F1 C3 sta Zp0F ; CPU:$D14A PRG:114A 85 0F - jmp $D19C ; CPU:$D14C PRG:114C 4C 9C D1 + jmp SubCD19C ; CPU:$D14C PRG:114C 4C 9C D1 ; ---- data $D14F-$D159 (11 bytes) ---- .byte $A9, $48, $85, $0F, $A9, $0C, $85, $0A, $4C, $9C, $D1 ; CPU:$D14F PRG:114F A9 48 85 0F A9 0C 85 0A 4C 9C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D15A +; Routine: Sub_8764_OnNonzero_D15A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3019,17 +3023,17 @@ Label_D129: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D15A: - lda Zp00 ; CPU:$D15A PRG:115A A5 00 +Sub_8764_OnNonzero_D15A: + lda PtrLo ; CPU:$D15A PRG:115A A5 00 cmp #$0D ; CPU:$D15C PRG:115C C9 0D - bmi Label_D16B ; CPU:$D15E PRG:115E 30 0B + bmi Sub_8764_OnNegative_D16B ; CPU:$D15E PRG:115E 30 0B sta Zp0A ; CPU:$D160 PRG:1160 85 0A tay ; CPU:$D162 PRG:1162 A8 lda $C3F1,y ; CPU:$D163 PRG:1163 B9 F1 C3 sta Zp0F ; CPU:$D166 PRG:1166 85 0F - jmp $D19C ; CPU:$D168 PRG:1168 4C 9C D1 + jmp SubCD19C ; CPU:$D168 PRG:1168 4C 9C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D16B +; Routine: Sub_8764_OnNegative_D16B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3037,16 +3041,16 @@ Label_D15A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D16B: +Sub_8764_OnNegative_D16B: sta Zp0A ; CPU:$D16B PRG:116B 85 0A lda Zp0F ; CPU:$D16D PRG:116D A5 0F inc Zp0A ; CPU:$D16F PRG:116F E6 0A sec ; CPU:$D171 PRG:1171 38 sbc Zp0A ; CPU:$D172 PRG:1172 E5 0A sta Zp0F ; CPU:$D174 PRG:1174 85 0F - jmp $D19C ; CPU:$D176 PRG:1176 4C 9C D1 + jmp SubCD19C ; CPU:$D176 PRG:1176 4C 9C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D179 +; Routine: Sub_8764_OnZero_D179 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3054,23 +3058,23 @@ Label_D16B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D179: +Sub_8764_OnZero_D179: lda Zp0C ; CPU:$D179 PRG:1179 A5 0C - sta Zp01 ; CPU:$D17B PRG:117B 85 01 + sta PtrHi ; CPU:$D17B PRG:117B 85 01 lda Zp0D ; CPU:$D17D PRG:117D A5 0D - sta Zp02 ; CPU:$D17F PRG:117F 85 02 + sta Ptr2Lo ; CPU:$D17F PRG:117F 85 02 dex ; CPU:$D181 PRG:1181 CA txa ; CPU:$D182 PRG:1182 8A inx ; CPU:$D183 PRG:1183 E8 - jsr $ED30 ; CPU:$D184 PRG:1184 20 30 ED - beq Label_D194 ; CPU:$D187 PRG:1187 F0 0B + jsr SubCED30 ; CPU:$D184 PRG:1184 20 30 ED + beq Sub_8764_OnZero_D194 ; CPU:$D187 PRG:1187 F0 0B lda #$07 ; CPU:$D189 PRG:1189 A9 07 sta Zp0A ; CPU:$D18B PRG:118B 85 0A lda #$44 ; CPU:$D18D PRG:118D A9 44 sta Zp0F ; CPU:$D18F PRG:118F 85 0F - jmp $D19C ; CPU:$D191 PRG:1191 4C 9C D1 + jmp SubCD19C ; CPU:$D191 PRG:1191 4C 9C D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D194 +; Routine: Sub_8764_OnZero_D194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3078,13 +3082,13 @@ Label_D179: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D194: +Sub_8764_OnZero_D194: lda #$24 ; CPU:$D194 PRG:1194 A9 24 sta Zp0F ; CPU:$D196 PRG:1196 85 0F lda #$00 ; CPU:$D198 PRG:1198 A9 00 sta Zp0A ; CPU:$D19A PRG:119A 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D19C +; Routine: SubCD19C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3092,16 +3096,16 @@ Label_D194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D19C: - jsr $DE14 ; CPU:$D19C PRG:119C 20 14 DE +SubCD19C: + jsr SubCDE14 ; CPU:$D19C PRG:119C 20 14 DE lda Zp0F ; CPU:$D19F PRG:119F A5 0F sta $0334,x ; CPU:$D1A1 PRG:11A1 9D 34 03 inx ; CPU:$D1A4 PRG:11A4 E8 cpx #$11 ; CPU:$D1A5 PRG:11A5 E0 11 - bpl Label_D1AC ; CPU:$D1A7 PRG:11A7 10 03 - jmp $D129 ; CPU:$D1A9 PRG:11A9 4C 29 D1 + bpl Sub_8764_OnNonnegative_D1AC ; CPU:$D1A7 PRG:11A7 10 03 + jmp SubCD129 ; CPU:$D1A9 PRG:11A9 4C 29 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AC +; Routine: Sub_8764_OnNonnegative_D1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3109,7 +3113,7 @@ Label_D19C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AC: +Sub_8764_OnNonnegative_D1AC: lda #$14 ; CPU:$D1AC PRG:11AC A9 14 sta $0330 ; CPU:$D1AE PRG:11AE 8D 30 03 lda #$20 ; CPU:$D1B1 PRG:11B1 A9 20 @@ -3127,13 +3131,13 @@ Label_D1AC: inc ZpB0 ; CPU:$D1CD PRG:11CD E6 B0 lda ZpB0 ; CPU:$D1CF PRG:11CF A5 B0 cmp #$16 ; CPU:$D1D1 PRG:11D1 C9 16 - bmi Label_D1DD ; CPU:$D1D3 PRG:11D3 30 08 + bmi Sub_8764_OnNegative_D1DD ; CPU:$D1D3 PRG:11D3 30 08 lda #$00 ; CPU:$D1D5 PRG:11D5 A9 00 sta ZpB0 ; CPU:$D1D7 PRG:11D7 85 B0 sta ZpAF ; CPU:$D1D9 PRG:11D9 85 AF inc ZpAF ; CPU:$D1DB PRG:11DB E6 AF ; ----------------------------------------------------------------------------- -; Routine: Label_D1DD +; Routine: Sub_8764_OnNegative_D1DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3141,10 +3145,10 @@ Label_D1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DD: +Sub_8764_OnNegative_D1DD: rts ; CPU:$D1DD PRG:11DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DE +; Routine: SubCD1DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3152,12 +3156,12 @@ Label_D1DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DE: +SubCD1DE: ldx #$01 ; CPU:$D1DE PRG:11DE A2 01 lda ZpB0 ; CPU:$D1E0 PRG:11E0 A5 B0 sta Zp78 ; CPU:$D1E2 PRG:11E2 85 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E4 +; Routine: Sub_8764_OnNegative_D1E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3165,23 +3169,23 @@ Label_D1DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E4: +Sub_8764_OnNegative_D1E4: stx Zp79 ; CPU:$D1E4 PRG:11E4 86 79 - jsr $DDD2 ; CPU:$D1E6 PRG:11E6 20 D2 DD + jsr SubCDDD2 ; CPU:$D1E6 PRG:11E6 20 D2 DD sta Zp0A ; CPU:$D1E9 PRG:11E9 85 0A and #$07 ; CPU:$D1EB PRG:11EB 29 07 - beq Label_D21F ; CPU:$D1ED PRG:11ED F0 30 + beq Sub_8764_JoinBranchPaths_D21F ; CPU:$D1ED PRG:11ED F0 30 cmp #$04 ; CPU:$D1EF PRG:11EF C9 04 - beq Label_D21F ; CPU:$D1F1 PRG:11F1 F0 2C + beq Sub_8764_JoinBranchPaths_D21F ; CPU:$D1F1 PRG:11F1 F0 2C lda Zp0A ; CPU:$D1F3 PRG:11F3 A5 0A cmp #$0D ; CPU:$D1F5 PRG:11F5 C9 0D - bcs Label_D21F ; CPU:$D1F7 PRG:11F7 B0 26 + bcs Sub_8764_JoinBranchPaths_D21F ; CPU:$D1F7 PRG:11F7 B0 26 cmp #$04 ; CPU:$D1F9 PRG:11F9 C9 04 - bmi Label_D201 ; CPU:$D1FB PRG:11FB 30 04 + bmi Sub_8764_OnNegative_D201 ; CPU:$D1FB PRG:11FB 30 04 cmp #$08 ; CPU:$D1FD PRG:11FD C9 08 - bmi Label_D213 ; CPU:$D1FF PRG:11FF 30 12 + bmi Sub_8764_OnNegative_D213 ; CPU:$D1FF PRG:11FF 30 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D201 +; Routine: Sub_8764_OnNegative_D201 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3189,16 +3193,16 @@ Label_D1E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D201: +Sub_8764_OnNegative_D201: lda ZpAF ; CPU:$D201 PRG:1201 A5 AF clc ; CPU:$D203 PRG:1203 18 adc Zp0A ; CPU:$D204 PRG:1204 65 0A cmp #$04 ; CPU:$D206 PRG:1206 C9 04 - bne Label_D20E ; CPU:$D208 PRG:1208 D0 04 + bne Sub_8764_OnNonzero_D20E ; CPU:$D208 PRG:1208 D0 04 dec Zp0A ; CPU:$D20A PRG:120A C6 0A dec Zp0A ; CPU:$D20C PRG:120C C6 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D20E +; Routine: Sub_8764_OnNonzero_D20E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3206,11 +3210,11 @@ Label_D201: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D20E: +Sub_8764_OnNonzero_D20E: inc Zp0A ; CPU:$D20E PRG:120E E6 0A - jmp $D215 ; CPU:$D210 PRG:1210 4C 15 D2 + jmp SubCD215 ; CPU:$D210 PRG:1210 4C 15 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D213 +; Routine: Sub_8764_OnNegative_D213 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3218,10 +3222,10 @@ Label_D20E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D213: +Sub_8764_OnNegative_D213: dec Zp0A ; CPU:$D213 PRG:1213 C6 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D215 +; Routine: SubCD215 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3229,13 +3233,13 @@ Label_D213: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D215: +SubCD215: ldy Zp0A ; CPU:$D215 PRG:1215 A4 0A lda $C3F1,y ; CPU:$D217 PRG:1217 B9 F1 C3 sta Zp0F ; CPU:$D21A PRG:121A 85 0F - jmp $D227 ; CPU:$D21C PRG:121C 4C 27 D2 + jmp SubCD227 ; CPU:$D21C PRG:121C 4C 27 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D21F +; Routine: Sub_8764_JoinBranchPaths_D21F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3243,13 +3247,13 @@ Label_D215: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D21F: +Sub_8764_JoinBranchPaths_D21F: lda Zp0A ; CPU:$D21F PRG:121F A5 0A tay ; CPU:$D221 PRG:1221 A8 lda $C3F1,y ; CPU:$D222 PRG:1222 B9 F1 C3 sta Zp0F ; CPU:$D225 PRG:1225 85 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D227 +; Routine: SubCD227 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3257,13 +3261,13 @@ Label_D21F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D227: +SubCD227: sta Zp0F ; CPU:$D227 PRG:1227 85 0F sta $0334,x ; CPU:$D229 PRG:1229 9D 34 03 - jsr $DE14 ; CPU:$D22C PRG:122C 20 14 DE + jsr SubCDE14 ; CPU:$D22C PRG:122C 20 14 DE inx ; CPU:$D22F PRG:122F E8 cpx #$11 ; CPU:$D230 PRG:1230 E0 11 - bmi Label_D1E4 ; CPU:$D232 PRG:1232 30 B0 + bmi Sub_8764_OnNegative_D1E4 ; CPU:$D232 PRG:1232 30 B0 lda #$14 ; CPU:$D234 PRG:1234 A9 14 sta $0330 ; CPU:$D236 PRG:1236 8D 30 03 lda #$20 ; CPU:$D239 PRG:1239 A9 20 @@ -3281,12 +3285,12 @@ Label_D227: inc ZpB0 ; CPU:$D255 PRG:1255 E6 B0 lda ZpB0 ; CPU:$D257 PRG:1257 A5 B0 cmp #$16 ; CPU:$D259 PRG:1259 C9 16 - bmi Label_D263 ; CPU:$D25B PRG:125B 30 06 + bmi Sub_8764_OnNegative_D263 ; CPU:$D25B PRG:125B 30 06 lda #$00 ; CPU:$D25D PRG:125D A9 00 sta ZpB0 ; CPU:$D25F PRG:125F 85 B0 inc ZpAF ; CPU:$D261 PRG:1261 E6 AF ; ----------------------------------------------------------------------------- -; Routine: Label_D263 +; Routine: Sub_8764_OnNegative_D263 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3294,10 +3298,10 @@ Label_D227: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D263: +Sub_8764_OnNegative_D263: rts ; CPU:$D263 PRG:1263 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D264 +; Routine: SubCD264 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3305,15 +3309,15 @@ Label_D263: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D264: +SubCD264: lda Zp7B ; CPU:$D264 PRG:1264 A5 7B - bne Label_D272 ; CPU:$D266 PRG:1266 D0 0A + bne Sub_8764_OnNonzero_D272 ; CPU:$D266 PRG:1266 D0 0A lda #$00 ; CPU:$D268 PRG:1268 A9 00 sta $02FC ; CPU:$D26A PRG:126A 8D FC 02 sta $02FF ; CPU:$D26D PRG:126D 8D FF 02 sta Zp7B ; CPU:$D270 PRG:1270 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_D272 +; Routine: Sub_8764_OnNonzero_D272 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3321,14 +3325,14 @@ Label_D264: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D272: +Sub_8764_OnNonzero_D272: lda Zp3D ; CPU:$D272 PRG:1272 A5 3D cmp #$70 ; CPU:$D274 PRG:1274 C9 70 - bne Label_D27B ; CPU:$D276 PRG:1276 D0 03 + bne Sub_8764_OnNonzero_D27B ; CPU:$D276 PRG:1276 D0 03 lda #$00 ; CPU:$D278 PRG:1278 A9 00 rts ; CPU:$D27A PRG:127A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D27B +; Routine: Sub_8764_OnNonzero_D27B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3336,9 +3340,9 @@ Label_D272: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D27B: +Sub_8764_OnNonzero_D27B: ora #$00 ; CPU:$D27B PRG:127B 09 00 - bne Label_D28A ; CPU:$D27D PRG:127D D0 0B + bne Sub_8764_OnNonzero_D28A ; CPU:$D27D PRG:127D D0 0B lda #$00 ; CPU:$D27F PRG:127F A9 00 sta Zp78 ; CPU:$D281 PRG:1281 85 78 sta Zp79 ; CPU:$D283 PRG:1283 85 79 @@ -3346,7 +3350,7 @@ Label_D27B: sta Zp3D ; CPU:$D287 PRG:1287 85 3D rts ; CPU:$D289 PRG:1289 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D28A +; Routine: Sub_8764_OnNonzero_D28A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3354,19 +3358,19 @@ Label_D27B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D28A: +Sub_8764_OnNonzero_D28A: cmp #$C8 ; CPU:$D28A PRG:128A C9 C8 - bcs Label_D29F ; CPU:$D28C PRG:128C B0 11 + bcs Sub_8764_OnCarrySet_D29F ; CPU:$D28C PRG:128C B0 11 cmp #$C0 ; CPU:$D28E PRG:128E C9 C0 - bcs Label_D2A4 ; CPU:$D290 PRG:1290 B0 12 + bcs Sub_8764_OnCarrySet_D2A4 ; CPU:$D290 PRG:1290 B0 12 cmp #$B8 ; CPU:$D292 PRG:1292 C9 B8 - bcs Label_D2A9 ; CPU:$D294 PRG:1294 B0 13 + bcs Sub_8764_OnCarrySet_D2A9 ; CPU:$D294 PRG:1294 B0 13 cmp #$B0 ; CPU:$D296 PRG:1296 C9 B0 - bcs Label_D2AE ; CPU:$D298 PRG:1298 B0 14 + bcs Sub_8764_OnCarrySet_D2AE ; CPU:$D298 PRG:1298 B0 14 lda #$BB ; CPU:$D29A PRG:129A A9 BB - jmp $D2B0 ; CPU:$D29C PRG:129C 4C B0 D2 + jmp SubCD2B0 ; CPU:$D29C PRG:129C 4C B0 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D29F +; Routine: Sub_8764_OnCarrySet_D29F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3374,11 +3378,11 @@ Label_D28A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29F: +Sub_8764_OnCarrySet_D29F: lda #$B7 ; CPU:$D29F PRG:129F A9 B7 - jmp $D2B0 ; CPU:$D2A1 PRG:12A1 4C B0 D2 + jmp SubCD2B0 ; CPU:$D2A1 PRG:12A1 4C B0 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D2A4 +; Routine: Sub_8764_OnCarrySet_D2A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3386,11 +3390,11 @@ Label_D29F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A4: +Sub_8764_OnCarrySet_D2A4: lda #$B8 ; CPU:$D2A4 PRG:12A4 A9 B8 - jmp $D2B0 ; CPU:$D2A6 PRG:12A6 4C B0 D2 + jmp SubCD2B0 ; CPU:$D2A6 PRG:12A6 4C B0 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D2A9 +; Routine: Sub_8764_OnCarrySet_D2A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3398,11 +3402,11 @@ Label_D2A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A9: +Sub_8764_OnCarrySet_D2A9: lda #$B9 ; CPU:$D2A9 PRG:12A9 A9 B9 - jmp $D2B0 ; CPU:$D2AB PRG:12AB 4C B0 D2 + jmp SubCD2B0 ; CPU:$D2AB PRG:12AB 4C B0 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D2AE +; Routine: Sub_8764_OnCarrySet_D2AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3410,10 +3414,10 @@ Label_D2A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2AE: +Sub_8764_OnCarrySet_D2AE: lda #$BA ; CPU:$D2AE PRG:12AE A9 BA ; ----------------------------------------------------------------------------- -; Routine: Label_D2B0 +; Routine: SubCD2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3421,11 +3425,11 @@ Label_D2AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B0: +SubCD2B0: sta $02F9 ; CPU:$D2B0 PRG:12B0 8D F9 02 rts ; CPU:$D2B3 PRG:12B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2B4 +; Routine: SubCD2B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3433,9 +3437,9 @@ Label_D2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B4: +SubCD2B4: lda $0393 ; CPU:$D2B4 PRG:12B4 AD 93 03 - bne Label_D2FD ; CPU:$D2B7 PRG:12B7 D0 44 + bne Sub_8764_JoinBranchPaths_D2FD ; CPU:$D2B7 PRG:12B7 D0 44 lda Zp64 ; CPU:$D2B9 PRG:12B9 A5 64 tax ; CPU:$D2BB PRG:12BB AA asl a ; CPU:$D2BC PRG:12BC 0A @@ -3443,11 +3447,11 @@ Label_D2B4: tay ; CPU:$D2BE PRG:12BE A8 lda $03A0,x ; CPU:$D2BF PRG:12BF BD A0 03 tax ; CPU:$D2C2 PRG:12C2 AA - lda a:$0025,y ; CPU:$D2C3 PRG:12C3 B9 25 00 + lda a:Zp25,y ; CPU:$D2C3 PRG:12C3 B9 25 00 cmp $C38F,x ; CPU:$D2C6 PRG:12C6 DD 8F C3 - bmi Label_D2FD ; CPU:$D2C9 PRG:12C9 30 32 + bmi Sub_8764_JoinBranchPaths_D2FD ; CPU:$D2C9 PRG:12C9 30 32 cmp #$90 ; CPU:$D2CB PRG:12CB C9 90 - bcs Label_D2FD ; CPU:$D2CD PRG:12CD B0 2E + bcs Sub_8764_JoinBranchPaths_D2FD ; CPU:$D2CD PRG:12CD B0 2E inx ; CPU:$D2CF PRG:12CF E8 txa ; CPU:$D2D0 PRG:12D0 8A asl a ; CPU:$D2D1 PRG:12D1 0A @@ -3460,18 +3464,18 @@ Label_D2B4: inc $03A0,x ; CPU:$D2E1 PRG:12E1 FE A0 03 inc Zp66,x ; CPU:$D2E4 PRG:12E4 F6 66 lda #$51 ; CPU:$D2E6 PRG:12E6 A9 51 - sta Zp00 ; CPU:$D2E8 PRG:12E8 85 00 + sta PtrLo ; CPU:$D2E8 PRG:12E8 85 00 lda #$23 ; CPU:$D2EA PRG:12EA A9 23 - sta Zp01 ; CPU:$D2EC PRG:12EC 85 01 + sta PtrHi ; CPU:$D2EC PRG:12EC 85 01 lda #$F2 ; CPU:$D2EE PRG:12EE A9 F2 - sta Zp02 ; CPU:$D2F0 PRG:12F0 85 02 + sta Ptr2Lo ; CPU:$D2F0 PRG:12F0 85 02 lda #$03 ; CPU:$D2F2 PRG:12F2 A9 03 - sta Zp03 ; CPU:$D2F4 PRG:12F4 85 03 - jsr $F018 ; CPU:$D2F6 PRG:12F6 20 18 F0 + sta Ptr2Hi ; CPU:$D2F4 PRG:12F4 85 03 + jsr SubCF018 ; CPU:$D2F6 PRG:12F6 20 18 F0 lda #$01 ; CPU:$D2F9 PRG:12F9 A9 01 sta ZpFD ; CPU:$D2FB PRG:12FB 85 FD ; ----------------------------------------------------------------------------- -; Routine: Label_D2FD +; Routine: Sub_8764_JoinBranchPaths_D2FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3479,10 +3483,10 @@ Label_D2B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FD: +Sub_8764_JoinBranchPaths_D2FD: rts ; CPU:$D2FD PRG:12FD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FE +; Routine: SubCD2FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3490,20 +3494,20 @@ Label_D2FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FE: +SubCD2FE: lda $0393 ; CPU:$D2FE PRG:12FE AD 93 03 - bne Label_D358 ; CPU:$D301 PRG:1301 D0 55 + bne Sub_8764_JoinBranchPaths_D358 ; CPU:$D301 PRG:1301 D0 55 lda Zp36 ; CPU:$D303 PRG:1303 A5 36 - beq Label_D317 ; CPU:$D305 PRG:1305 F0 10 + beq Sub_8764_OnZero_D317 ; CPU:$D305 PRG:1305 F0 10 cmp #$01 ; CPU:$D307 PRG:1307 C9 01 - beq Label_D358 ; CPU:$D309 PRG:1309 F0 4D + beq Sub_8764_JoinBranchPaths_D358 ; CPU:$D309 PRG:1309 F0 4D cmp #$DF ; CPU:$D30B PRG:130B C9 DF - beq Label_D34C ; CPU:$D30D PRG:130D F0 3D + beq Sub_8764_OnZero_D34C ; CPU:$D30D PRG:130D F0 3D cmp #$DE ; CPU:$D30F PRG:130F C9 DE - bne Label_D316 ; CPU:$D311 PRG:1311 D0 03 - jmp $D38A ; CPU:$D313 PRG:1313 4C 8A D3 + bne Sub_8764_OnNonzero_D316 ; CPU:$D311 PRG:1311 D0 03 + jmp SubCD38A ; CPU:$D313 PRG:1313 4C 8A D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D316 +; Routine: Sub_8764_OnNonzero_D316 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3511,10 +3515,10 @@ Label_D2FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D316: +Sub_8764_OnNonzero_D316: rts ; CPU:$D316 PRG:1316 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D317 +; Routine: Sub_8764_OnZero_D317 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3522,34 +3526,34 @@ Label_D316: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D317: +Sub_8764_OnZero_D317: lda #$00 ; CPU:$D317 PRG:1317 A9 00 sta ZpD7 ; CPU:$D319 PRG:1319 85 D7 lda #$E0 ; CPU:$D31B PRG:131B A9 E0 sta Zp36 ; CPU:$D31D PRG:131D 85 36 lda #$A7 ; CPU:$D31F PRG:131F A9 A7 - sta Zp00 ; CPU:$D321 PRG:1321 85 00 + sta PtrLo ; CPU:$D321 PRG:1321 85 00 lda #$21 ; CPU:$D323 PRG:1323 A9 21 - sta Zp01 ; CPU:$D325 PRG:1325 85 01 + sta PtrHi ; CPU:$D325 PRG:1325 85 01 lda #$02 ; CPU:$D327 PRG:1327 A9 02 - sta Zp02 ; CPU:$D329 PRG:1329 85 02 + sta Ptr2Lo ; CPU:$D329 PRG:1329 85 02 lda #$C2 ; CPU:$D32B PRG:132B A9 C2 - sta Zp03 ; CPU:$D32D PRG:132D 85 03 - jsr $F018 ; CPU:$D32F PRG:132F 20 18 F0 + sta Ptr2Hi ; CPU:$D32D PRG:132D 85 03 + jsr SubCF018 ; CPU:$D32F PRG:132F 20 18 F0 lda #$DA ; CPU:$D332 PRG:1332 A9 DA - sta Zp00 ; CPU:$D334 PRG:1334 85 00 + sta PtrLo ; CPU:$D334 PRG:1334 85 00 lda #$23 ; CPU:$D336 PRG:1336 A9 23 - sta Zp01 ; CPU:$D338 PRG:1338 85 01 + sta PtrHi ; CPU:$D338 PRG:1338 85 01 lda #$21 ; CPU:$D33A PRG:133A A9 21 - sta Zp02 ; CPU:$D33C PRG:133C 85 02 + sta Ptr2Lo ; CPU:$D33C PRG:133C 85 02 lda #$C4 ; CPU:$D33E PRG:133E A9 C4 - sta Zp03 ; CPU:$D340 PRG:1340 85 03 - jsr $F018 ; CPU:$D342 PRG:1342 20 18 F0 - jsr $C7E6 ; CPU:$D345 PRG:1345 20 E6 C7 - jsr $C7CA ; CPU:$D348 PRG:1348 20 CA C7 + sta Ptr2Hi ; CPU:$D340 PRG:1340 85 03 + jsr SubCF018 ; CPU:$D342 PRG:1342 20 18 F0 + jsr SubCC7E6 ; CPU:$D345 PRG:1345 20 E6 C7 + jsr SubCC7CA ; CPU:$D348 PRG:1348 20 CA C7 rts ; CPU:$D34B PRG:134B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D34C +; Routine: Sub_8764_OnZero_D34C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3557,14 +3561,14 @@ Label_D317: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34C: +Sub_8764_OnZero_D34C: lda Zp63 ; CPU:$D34C PRG:134C A5 63 cmp #$1C ; CPU:$D34E PRG:134E C9 1C - bne Label_D357 ; CPU:$D350 PRG:1350 D0 05 + bne Sub_8764_OnNonzero_D357 ; CPU:$D350 PRG:1350 D0 05 lda Zp64 ; CPU:$D352 PRG:1352 A5 64 - jsr $CA18 ; CPU:$D354 PRG:1354 20 18 CA + jsr SubCCA18 ; CPU:$D354 PRG:1354 20 18 CA ; ----------------------------------------------------------------------------- -; Routine: Label_D357 +; Routine: Sub_8764_OnNonzero_D357 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3572,10 +3576,10 @@ Label_D34C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D357: +Sub_8764_OnNonzero_D357: rts ; CPU:$D357 PRG:1357 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D358 +; Routine: Sub_8764_JoinBranchPaths_D358 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3583,25 +3587,25 @@ Label_D357: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D358: - jsr $C7B6 ; CPU:$D358 PRG:1358 20 B6 C7 +Sub_8764_JoinBranchPaths_D358: + jsr ClearScore ; CPU:$D358 PRG:1358 20 B6 C7 lda $0393 ; CPU:$D35B PRG:135B AD 93 03 - bne Label_D376 ; CPU:$D35E PRG:135E D0 16 + bne Sub_8764_JoinBranchPaths_D376 ; CPU:$D35E PRG:135E D0 16 lda Zp63 ; CPU:$D360 PRG:1360 A5 63 cmp #$18 ; CPU:$D362 PRG:1362 C9 18 - beq Label_D376 ; CPU:$D364 PRG:1364 F0 10 + beq Sub_8764_JoinBranchPaths_D376 ; CPU:$D364 PRG:1364 F0 10 ldx Zp64 ; CPU:$D366 PRG:1366 A6 64 inx ; CPU:$D368 PRG:1368 E8 txa ; CPU:$D369 PRG:1369 8A and #$01 ; CPU:$D36A PRG:136A 29 01 pha ; CPU:$D36C PRG:136C 48 - jsr $C9EC ; CPU:$D36D PRG:136D 20 EC C9 + jsr SubCC9EC ; CPU:$D36D PRG:136D 20 EC C9 pla ; CPU:$D370 PRG:1370 68 tax ; CPU:$D371 PRG:1371 AA lda Zp66,x ; CPU:$D372 PRG:1372 B5 66 - bne Label_D37E ; CPU:$D374 PRG:1374 D0 08 + bne Sub_8764_OnNonzero_D37E ; CPU:$D374 PRG:1374 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D376 +; Routine: Sub_8764_JoinBranchPaths_D376 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3609,12 +3613,12 @@ Label_D358: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D376: +Sub_8764_JoinBranchPaths_D376: lda #$00 ; CPU:$D376 PRG:1376 A9 00 sta $03FF ; CPU:$D378 PRG:1378 8D FF 03 - jmp $D3BA ; CPU:$D37B PRG:137B 4C BA D3 + jmp SubCD3BA ; CPU:$D37B PRG:137B 4C BA D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D37E +; Routine: Sub_8764_OnNonzero_D37E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3622,16 +3626,16 @@ Label_D376: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37E: +Sub_8764_OnNonzero_D37E: txa ; CPU:$D37E PRG:137E 8A sta Zp64 ; CPU:$D37F PRG:137F 85 64 lda #$01 ; CPU:$D381 PRG:1381 A9 01 - sta Zp60 ; CPU:$D383 PRG:1383 85 60 + sta GameState ; CPU:$D383 PRG:1383 85 60 lda #$04 ; CPU:$D385 PRG:1385 A9 04 sta Zp49 ; CPU:$D387 PRG:1387 85 49 rts ; CPU:$D389 PRG:1389 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D38A +; Routine: SubCD38A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3639,10 +3643,10 @@ Label_D37E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38A: +SubCD38A: ldx #$00 ; CPU:$D38A PRG:138A A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D38C +; Routine: Sub_8764_OnNegative_D38C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3650,12 +3654,12 @@ Label_D38A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38C: +Sub_8764_OnNegative_D38C: lda $C052,x ; CPU:$D38C PRG:138C BD 52 C0 sta $0330,x ; CPU:$D38F PRG:138F 9D 30 03 inx ; CPU:$D392 PRG:1392 E8 cpx #$12 ; CPU:$D393 PRG:1393 E0 12 - bmi Label_D38C ; CPU:$D395 PRG:1395 30 F5 + bmi Sub_8764_OnNegative_D38C ; CPU:$D395 PRG:1395 30 F5 lda Zp63 ; CPU:$D397 PRG:1397 A5 63 and #$04 ; CPU:$D399 PRG:1399 29 04 lsr a ; CPU:$D39B PRG:139B 4A @@ -3665,7 +3669,7 @@ Label_D38C: sta $0332 ; CPU:$D3A1 PRG:13A1 8D 32 03 rts ; CPU:$D3A4 PRG:13A4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3A5 +; Routine: SubCD3A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3673,18 +3677,18 @@ Label_D38C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3A5: +SubCD3A5: lda Zp74 ; CPU:$D3A5 PRG:13A5 A5 74 and #$80 ; CPU:$D3A7 PRG:13A7 29 80 - beq Label_D3B9 ; CPU:$D3A9 PRG:13A9 F0 0E + beq Sub_8764_JoinBranchPaths_D3B9 ; CPU:$D3A9 PRG:13A9 F0 0E sta Zp7B ; CPU:$D3AB PRG:13AB 85 7B lda $02FC ; CPU:$D3AD PRG:13AD AD FC 02 cmp $02F8 ; CPU:$D3B0 PRG:13B0 CD F8 02 - bne Label_D3B9 ; CPU:$D3B3 PRG:13B3 D0 04 + bne Sub_8764_JoinBranchPaths_D3B9 ; CPU:$D3B3 PRG:13B3 D0 04 lda #$02 ; CPU:$D3B5 PRG:13B5 A9 02 sta ZpFF ; CPU:$D3B7 PRG:13B7 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D3B9 +; Routine: Sub_8764_JoinBranchPaths_D3B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3692,10 +3696,10 @@ Label_D3A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3B9: +Sub_8764_JoinBranchPaths_D3B9: rts ; CPU:$D3B9 PRG:13B9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BA +; Routine: SubCD3BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3703,8 +3707,8 @@ Label_D3B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BA: - jsr $F985 ; CPU:$D3BA PRG:13BA 20 85 F9 +SubCD3BA: + jsr SubCF985 ; CPU:$D3BA PRG:13BA 20 85 F9 lda Zp61 ; CPU:$D3BD PRG:13BD A5 61 and #$01 ; CPU:$D3BF PRG:13BF 29 01 tax ; CPU:$D3C1 PRG:13C1 AA @@ -3715,16 +3719,16 @@ Label_D3BA: lda Zp23 ; CPU:$D3CC PRG:13CC A5 23 sta $039C,x ; CPU:$D3CE PRG:13CE 9D 9C 03 lda #$00 ; CPU:$D3D1 PRG:13D1 A9 00 - sta Zp60 ; CPU:$D3D3 PRG:13D3 85 60 + sta GameState ; CPU:$D3D3 PRG:13D3 85 60 sta $039E ; CPU:$D3D5 PRG:13D5 8D 9E 03 sta $039F ; CPU:$D3D8 PRG:13D8 8D 9F 03 sta Zp6D ; CPU:$D3DB PRG:13DB 85 6D sta Zp6E ; CPU:$D3DD PRG:13DD 85 6E - jsr $C7B6 ; CPU:$D3DF PRG:13DF 20 B6 C7 - jsr $C7E6 ; CPU:$D3E2 PRG:13E2 20 E6 C7 + jsr ClearScore ; CPU:$D3DF PRG:13DF 20 B6 C7 + jsr SubCC7E6 ; CPU:$D3E2 PRG:13E2 20 E6 C7 ldx #$FF ; CPU:$D3E5 PRG:13E5 A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D3E7 +; Routine: Sub_8764_OnNonzero_D3E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3732,15 +3736,15 @@ Label_D3BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E7: +Sub_8764_OnNonzero_D3E7: lda #$00 ; CPU:$D3E7 PRG:13E7 A9 00 - sta Zp00,x ; CPU:$D3E9 PRG:13E9 95 00 + sta PtrLo,x ; CPU:$D3E9 PRG:13E9 95 00 dex ; CPU:$D3EB PRG:13EB CA cpx #$63 ; CPU:$D3EC PRG:13EC E0 63 - bne Label_D3E7 ; CPU:$D3EE PRG:13EE D0 F7 + bne Sub_8764_OnNonzero_D3E7 ; CPU:$D3EE PRG:13EE D0 F7 rts ; CPU:$D3F0 PRG:13F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F1 +; Routine: GameOver ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3748,18 +3752,18 @@ Label_D3E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F1: +GameOver: lda ZpAE ; CPU:$D3F1 PRG:13F1 A5 AE cmp #$15 ; CPU:$D3F3 PRG:13F3 C9 15 - beq Label_D438 ; CPU:$D3F5 PRG:13F5 F0 41 + beq Sub_8764_OnZero_D438 ; CPU:$D3F5 PRG:13F5 F0 41 inc ZpAE ; CPU:$D3F7 PRG:13F7 E6 AE lda ZpAE ; CPU:$D3F9 PRG:13F9 A5 AE sta Zp79 ; CPU:$D3FB PRG:13FB 85 79 ldx #$00 ; CPU:$D3FD PRG:13FD A2 00 stx Zp78 ; CPU:$D3FF PRG:13FF 86 78 - jsr $DE8C ; CPU:$D401 PRG:1401 20 8C DE + jsr SubCDE8C ; CPU:$D401 PRG:1401 20 8C DE ; ----------------------------------------------------------------------------- -; Routine: Label_D404 +; Routine: Sub_8764_OnNegative_D404 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3767,19 +3771,19 @@ Label_D3F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D404: +Sub_8764_OnNegative_D404: lda $C3D6,x ; CPU:$D404 PRG:1404 BD D6 C3 sta $0330,x ; CPU:$D407 PRG:1407 9D 30 03 inx ; CPU:$D40A PRG:140A E8 cpx #$1B ; CPU:$D40B PRG:140B E0 1B - bmi Label_D404 ; CPU:$D40D PRG:140D 30 F5 - lda Zp01 ; CPU:$D40F PRG:140F A5 01 + bmi Sub_8764_OnNegative_D404 ; CPU:$D40D PRG:140D 30 F5 + lda PtrHi ; CPU:$D40F PRG:140F A5 01 sta $0331 ; CPU:$D411 PRG:1411 8D 31 03 - lda Zp00 ; CPU:$D414 PRG:1414 A5 00 + lda PtrLo ; CPU:$D414 PRG:1414 A5 00 sta $0332 ; CPU:$D416 PRG:1416 8D 32 03 ldx #$00 ; CPU:$D419 PRG:1419 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D41B +; Routine: Sub_8764_OnNegative_D41B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3787,18 +3791,18 @@ Label_D404: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D41B: - jsr $DDD2 ; CPU:$D41B PRG:141B 20 D2 DD +Sub_8764_OnNegative_D41B: + jsr SubCDDD2 ; CPU:$D41B PRG:141B 20 D2 DD tay ; CPU:$D41E PRG:141E A8 lda ZpAE ; CPU:$D41F PRG:141F A5 AE cmp #$11 ; CPU:$D421 PRG:1421 C9 11 - bmi Label_D42A ; CPU:$D423 PRG:1423 30 05 + bmi Sub_8764_OnNegative_D42A ; CPU:$D423 PRG:1423 30 05 tya ; CPU:$D425 PRG:1425 98 clc ; CPU:$D426 PRG:1426 18 adc #$10 ; CPU:$D427 PRG:1427 69 10 tay ; CPU:$D429 PRG:1429 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_D42A +; Routine: Sub_8764_OnNegative_D42A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3806,16 +3810,16 @@ Label_D41B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42A: +Sub_8764_OnNegative_D42A: lda $C3F1,y ; CPU:$D42A PRG:142A B9 F1 C3 sta $0334,x ; CPU:$D42D PRG:142D 9D 34 03 inx ; CPU:$D430 PRG:1430 E8 stx Zp78 ; CPU:$D431 PRG:1431 86 78 cpx #$16 ; CPU:$D433 PRG:1433 E0 16 - bmi Label_D41B ; CPU:$D435 PRG:1435 30 E4 + bmi Sub_8764_OnNegative_D41B ; CPU:$D435 PRG:1435 30 E4 rts ; CPU:$D437 PRG:1437 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D438 +; Routine: Sub_8764_OnZero_D438 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3823,17 +3827,17 @@ Label_D42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D438: +Sub_8764_OnZero_D438: lda #$00 ; CPU:$D438 PRG:1438 A9 00 sta Zp78 ; CPU:$D43A PRG:143A 85 78 sta Zp79 ; CPU:$D43C PRG:143C 85 79 lda Zp76 ; CPU:$D43E PRG:143E A5 76 - sta Zp60 ; CPU:$D440 PRG:1440 85 60 + sta GameState ; CPU:$D440 PRG:1440 85 60 lda #$01 ; CPU:$D442 PRG:1442 A9 01 - sta Zp77 ; CPU:$D444 PRG:1444 85 77 + sta GameplaySubState ; CPU:$D444 PRG:1444 85 77 rts ; CPU:$D446 PRG:1446 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D447 +; Routine: SubCD447 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3841,11 +3845,11 @@ Label_D438: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D447: +SubCD447: ldx #$00 ; CPU:$D447 PRG:1447 A2 00 ldy #$00 ; CPU:$D449 PRG:1449 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D44B +; Routine: Sub_8764_OnNegative_D44B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3853,15 +3857,15 @@ Label_D447: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D44B: +Sub_8764_OnNegative_D44B: lda Zp3A,x ; CPU:$D44B PRG:144B B5 3A - bne Label_D45A ; CPU:$D44D PRG:144D D0 0B + bne Sub_8764_OnNonzero_D45A ; CPU:$D44D PRG:144D D0 0B lda #$F0 ; CPU:$D44F PRG:144F A9 F0 sta $0200,y ; CPU:$D451 PRG:1451 99 00 02 sta $0204,y ; CPU:$D454 PRG:1454 99 04 02 - jmp $D496 ; CPU:$D457 PRG:1457 4C 96 D4 + jmp SubCD496 ; CPU:$D457 PRG:1457 4C 96 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D45A +; Routine: Sub_8764_OnNonzero_D45A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3869,16 +3873,16 @@ Label_D44B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D45A: +Sub_8764_OnNonzero_D45A: cmp #$38 ; CPU:$D45A PRG:145A C9 38 - bne Label_D46A ; CPU:$D45C PRG:145C D0 0C + bne Sub_8764_OnNonzero_D46A ; CPU:$D45C PRG:145C D0 0C lda $0201,y ; CPU:$D45E PRG:145E B9 01 02 clc ; CPU:$D461 PRG:1461 18 adc #$01 ; CPU:$D462 PRG:1462 69 01 sta $0201,y ; CPU:$D464 PRG:1464 99 01 02 - jmp $D496 ; CPU:$D467 PRG:1467 4C 96 D4 + jmp SubCD496 ; CPU:$D467 PRG:1467 4C 96 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D46A +; Routine: Sub_8764_OnNonzero_D46A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3886,9 +3890,9 @@ Label_D45A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46A: +Sub_8764_OnNonzero_D46A: cmp #$30 ; CPU:$D46A PRG:146A C9 30 - bne Label_D496 ; CPU:$D46C PRG:146C D0 28 + bne SubCD496 ; CPU:$D46C PRG:146C D0 28 lda $0203,y ; CPU:$D46E PRG:146E B9 03 02 clc ; CPU:$D471 PRG:1471 18 adc #$08 ; CPU:$D472 PRG:1472 69 08 @@ -3909,7 +3913,7 @@ Label_D46A: pla ; CPU:$D494 PRG:1494 68 tax ; CPU:$D495 PRG:1495 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D496 +; Routine: SubCD496 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3917,17 +3921,17 @@ Label_D46A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D496: +SubCD496: inx ; CPU:$D496 PRG:1496 E8 tya ; CPU:$D497 PRG:1497 98 clc ; CPU:$D498 PRG:1498 18 adc #$08 ; CPU:$D499 PRG:1499 69 08 tay ; CPU:$D49B PRG:149B A8 cpx #$02 ; CPU:$D49C PRG:149C E0 02 - bmi Label_D44B ; CPU:$D49E PRG:149E 30 AB + bmi Sub_8764_OnNegative_D44B ; CPU:$D49E PRG:149E 30 AB rts ; CPU:$D4A0 PRG:14A0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4A1 +; Routine: SubCD4A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3935,7 +3939,7 @@ Label_D496: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4A1: +SubCD4A1: txa ; CPU:$D4A1 PRG:14A1 8A clc ; CPU:$D4A2 PRG:14A2 18 adc Zp8F ; CPU:$D4A3 PRG:14A3 65 8F @@ -3945,11 +3949,11 @@ Label_D4A1: pha ; CPU:$D4A9 PRG:14A9 48 tya ; CPU:$D4AA PRG:14AA 98 pha ; CPU:$D4AB PRG:14AB 48 - jsr $D4E5 ; CPU:$D4AC PRG:14AC 20 E5 D4 + jsr SubCD4E5 ; CPU:$D4AC PRG:14AC 20 E5 D4 ldx #$00 ; CPU:$D4AF PRG:14AF A2 00 ldy #$00 ; CPU:$D4B1 PRG:14B1 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D4B3 +; Routine: Sub_8764_OnNegative_D4B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3957,12 +3961,12 @@ Label_D4A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4B3: +Sub_8764_OnNegative_D4B3: lda $0200,y ; CPU:$D4B3 PRG:14B3 B9 00 02 cmp #$F0 ; CPU:$D4B6 PRG:14B6 C9 F0 - bne Label_D4D6 ; CPU:$D4B8 PRG:14B8 D0 1C + bne Sub_8764_OnNonzero_D4D6 ; CPU:$D4B8 PRG:14B8 D0 1C lda Zp0F ; CPU:$D4BA PRG:14BA A5 0F - beq Label_D4E0 ; CPU:$D4BC PRG:14BC F0 22 + beq SubCD4E0 ; CPU:$D4BC PRG:14BC F0 22 sta ZpAC,x ; CPU:$D4BE PRG:14BE 95 AC lda #$40 ; CPU:$D4C0 PRG:14C0 A9 40 sta Zp3A,x ; CPU:$D4C2 PRG:14C2 95 3A @@ -3972,9 +3976,9 @@ Label_D4B3: sta $0200,y ; CPU:$D4CB PRG:14CB 99 00 02 lda #$BC ; CPU:$D4CE PRG:14CE A9 BC sta $0201,y ; CPU:$D4D0 PRG:14D0 99 01 02 - jmp $D4E0 ; CPU:$D4D3 PRG:14D3 4C E0 D4 + jmp SubCD4E0 ; CPU:$D4D3 PRG:14D3 4C E0 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D4D6 +; Routine: Sub_8764_OnNonzero_D4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3982,16 +3986,16 @@ Label_D4B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D6: +Sub_8764_OnNonzero_D4D6: tya ; CPU:$D4D6 PRG:14D6 98 clc ; CPU:$D4D7 PRG:14D7 18 adc #$08 ; CPU:$D4D8 PRG:14D8 69 08 tay ; CPU:$D4DA PRG:14DA A8 inx ; CPU:$D4DB PRG:14DB E8 cpx #$02 ; CPU:$D4DC PRG:14DC E0 02 - bmi Label_D4B3 ; CPU:$D4DE PRG:14DE 30 D3 + bmi Sub_8764_OnNegative_D4B3 ; CPU:$D4DE PRG:14DE 30 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E0 +; Routine: SubCD4E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3999,14 +4003,14 @@ Label_D4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E0: +SubCD4E0: pla ; CPU:$D4E0 PRG:14E0 68 tay ; CPU:$D4E1 PRG:14E1 A8 pla ; CPU:$D4E2 PRG:14E2 68 tax ; CPU:$D4E3 PRG:14E3 AA rts ; CPU:$D4E4 PRG:14E4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E5 +; Routine: SubCD4E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4014,9 +4018,9 @@ Label_D4E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E5: +SubCD4E5: lda $0393 ; CPU:$D4E5 PRG:14E5 AD 93 03 - bne Label_D513 ; CPU:$D4E8 PRG:14E8 D0 29 + bne Sub_8764_OnNonzero_D513 ; CPU:$D4E8 PRG:14E8 D0 29 txa ; CPU:$D4EA PRG:14EA 8A pha ; CPU:$D4EB PRG:14EB 48 tya ; CPU:$D4EC PRG:14EC 98 @@ -4024,23 +4028,23 @@ Label_D4E5: lda Zp64 ; CPU:$D4EE PRG:14EE A5 64 ora $C1B5,x ; CPU:$D4F0 PRG:14F0 1D B5 C1 ora #$10 ; CPU:$D4F3 PRG:14F3 09 10 - sta Zp01 ; CPU:$D4F5 PRG:14F5 85 01 + sta PtrHi ; CPU:$D4F5 PRG:14F5 85 01 lda $C19C,x ; CPU:$D4F7 PRG:14F7 BD 9C C1 - jsr $EF19 ; CPU:$D4FA PRG:14FA 20 19 EF + jsr SubCEF19 ; CPU:$D4FA PRG:14FA 20 19 EF lda #$30 ; CPU:$D4FD PRG:14FD A9 30 - sta Zp01 ; CPU:$D4FF PRG:14FF 85 01 + sta PtrHi ; CPU:$D4FF PRG:14FF 85 01 lda #$F9 ; CPU:$D501 PRG:1501 A9 F9 - jsr $EF19 ; CPU:$D503 PRG:1503 20 19 EF + jsr SubCEF19 ; CPU:$D503 PRG:1503 20 19 EF lda #$40 ; CPU:$D506 PRG:1506 A9 40 - sta Zp01 ; CPU:$D508 PRG:1508 85 01 + sta PtrHi ; CPU:$D508 PRG:1508 85 01 lda Zp63 ; CPU:$D50A PRG:150A A5 63 - jsr $EF19 ; CPU:$D50C PRG:150C 20 19 EF + jsr SubCEF19 ; CPU:$D50C PRG:150C 20 19 EF pla ; CPU:$D50F PRG:150F 68 tay ; CPU:$D510 PRG:1510 A8 pla ; CPU:$D511 PRG:1511 68 tax ; CPU:$D512 PRG:1512 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D513 +; Routine: Sub_8764_OnNonzero_D513 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4048,10 +4052,10 @@ Label_D4E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D513: +Sub_8764_OnNonzero_D513: rts ; CPU:$D513 PRG:1513 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D514 +; Routine: SubCD514 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4059,15 +4063,15 @@ Label_D513: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D514: +SubCD514: lda Zp8E ; CPU:$D514 PRG:1514 A5 8E - beq Label_D51F ; CPU:$D516 PRG:1516 F0 07 - lda Zp43 ; CPU:$D518 PRG:1518 A5 43 + beq Sub_8764_OnZero_D51F ; CPU:$D516 PRG:1516 F0 07 + lda AudioState ; CPU:$D518 PRG:1518 A5 43 and #$01 ; CPU:$D51A PRG:151A 29 01 - beq Label_D51F ; CPU:$D51C PRG:151C F0 01 + beq Sub_8764_OnZero_D51F ; CPU:$D51C PRG:151C F0 01 rts ; CPU:$D51E PRG:151E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D51F +; Routine: Sub_8764_OnZero_D51F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4075,17 +4079,17 @@ Label_D514: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D51F: +Sub_8764_OnZero_D51F: lda ZpAA ; CPU:$D51F PRG:151F A5 AA - bne Label_D581 ; CPU:$D521 PRG:1521 D0 5E - lda Zp43 ; CPU:$D523 PRG:1523 A5 43 + bne Sub_8764_JoinBranchPaths_D581 ; CPU:$D521 PRG:1521 D0 5E + lda AudioState ; CPU:$D523 PRG:1523 A5 43 and #$03 ; CPU:$D525 PRG:1525 29 03 cmp #$01 ; CPU:$D527 PRG:1527 C9 01 - beq Label_D581 ; CPU:$D529 PRG:1529 F0 56 + beq Sub_8764_JoinBranchPaths_D581 ; CPU:$D529 PRG:1529 F0 56 ldx #$00 ; CPU:$D52B PRG:152B A2 00 ldy #$00 ; CPU:$D52D PRG:152D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D52F +; Routine: Sub_8764_OnNegative_D52F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4093,24 +4097,24 @@ Label_D51F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52F: +Sub_8764_OnNegative_D52F: lda Zp90,x ; CPU:$D52F PRG:152F B5 90 and #$40 ; CPU:$D531 PRG:1531 29 40 - bne Label_D574 ; CPU:$D533 PRG:1533 D0 3F + bne Sub_8764_OnNonzero_D574 ; CPU:$D533 PRG:1533 D0 3F lda ZpD9,x ; CPU:$D535 PRG:1535 B5 D9 cmp #$08 ; CPU:$D537 PRG:1537 C9 08 - beq Label_D56E ; CPU:$D539 PRG:1539 F0 33 + beq Sub_8764_OnZero_D56E ; CPU:$D539 PRG:1539 F0 33 lda ZpD9,x ; CPU:$D53B PRG:153B B5 D9 clc ; CPU:$D53D PRG:153D 18 adc ZpA9 ; CPU:$D53E PRG:153E 65 A9 sta ZpD9,x ; CPU:$D540 PRG:1540 95 D9 lda Zp90,x ; CPU:$D542 PRG:1542 B5 90 and #$80 ; CPU:$D544 PRG:1544 29 80 - bne Label_D54D ; CPU:$D546 PRG:1546 D0 05 + bne Sub_8764_OnNonzero_D54D ; CPU:$D546 PRG:1546 D0 05 lda #$99 ; CPU:$D548 PRG:1548 A9 99 - jmp $D54F ; CPU:$D54A PRG:154A 4C 4F D5 + jmp SubCD54F ; CPU:$D54A PRG:154A 4C 4F D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D54D +; Routine: Sub_8764_OnNonzero_D54D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4118,10 +4122,10 @@ Label_D52F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D54D: +Sub_8764_OnNonzero_D54D: lda #$94 ; CPU:$D54D PRG:154D A9 94 ; ----------------------------------------------------------------------------- -; Routine: Label_D54F +; Routine: SubCD54F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4129,9 +4133,9 @@ Label_D54D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D54F: +SubCD54F: sta $0211,y ; CPU:$D54F PRG:154F 99 11 02 - sty Zp02 ; CPU:$D552 PRG:1552 84 02 + sty Ptr2Lo ; CPU:$D552 PRG:1552 84 02 txa ; CPU:$D554 PRG:1554 8A tay ; CPU:$D555 PRG:1555 A8 lda Zp6C ; CPU:$D556 PRG:1556 A5 6C @@ -4139,15 +4143,15 @@ Label_D54F: asl a ; CPU:$D55A PRG:155A 0A tax ; CPU:$D55B PRG:155B AA lda $C6D5,x ; CPU:$D55C PRG:155C BD D5 C6 - sta Zp00 ; CPU:$D55F PRG:155F 85 00 + sta PtrLo ; CPU:$D55F PRG:155F 85 00 lda $C6D6,x ; CPU:$D561 PRG:1561 BD D6 C6 - sta Zp01 ; CPU:$D564 PRG:1564 85 01 - lda (Zp00),y ; CPU:$D566 PRG:1566 B1 00 - ldy Zp02 ; CPU:$D568 PRG:1568 A4 02 + sta PtrHi ; CPU:$D564 PRG:1564 85 01 + lda (PtrLo),y ; CPU:$D566 PRG:1566 B1 00 + ldy Ptr2Lo ; CPU:$D568 PRG:1568 A4 02 sta $0213,y ; CPU:$D56A PRG:156A 99 13 02 rts ; CPU:$D56D PRG:156D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D56E +; Routine: Sub_8764_OnZero_D56E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4155,12 +4159,12 @@ Label_D54F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D56E: +Sub_8764_OnZero_D56E: lda Zp90,x ; CPU:$D56E PRG:156E B5 90 ora #$40 ; CPU:$D570 PRG:1570 09 40 sta Zp90,x ; CPU:$D572 PRG:1572 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_D574 +; Routine: Sub_8764_OnNonzero_D574 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4168,18 +4172,18 @@ Label_D56E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D574: +Sub_8764_OnNonzero_D574: inx ; CPU:$D574 PRG:1574 E8 iny ; CPU:$D575 PRG:1575 C8 iny ; CPU:$D576 PRG:1576 C8 iny ; CPU:$D577 PRG:1577 C8 iny ; CPU:$D578 PRG:1578 C8 cpx #$08 ; CPU:$D579 PRG:1579 E0 08 - bmi Label_D52F ; CPU:$D57B PRG:157B 30 B2 + bmi Sub_8764_OnNegative_D52F ; CPU:$D57B PRG:157B 30 B2 lda #$01 ; CPU:$D57D PRG:157D A9 01 sta ZpAA ; CPU:$D57F PRG:157F 85 AA ; ----------------------------------------------------------------------------- -; Routine: Label_D581 +; Routine: Sub_8764_JoinBranchPaths_D581 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4187,10 +4191,10 @@ Label_D574: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D581: +Sub_8764_JoinBranchPaths_D581: rts ; CPU:$D581 PRG:1581 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D582 +; Routine: SubCD582 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4198,10 +4202,10 @@ Label_D581: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D582: - jmp $D585 ; CPU:$D582 PRG:1582 4C 85 D5 +SubCD582: + jmp SubCD585 ; CPU:$D582 PRG:1582 4C 85 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D585 +; Routine: SubCD585 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4209,16 +4213,16 @@ Label_D582: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D585: +SubCD585: lda #$00 ; CPU:$D585 PRG:1585 A9 00 sta Zp7A ; CPU:$D587 PRG:1587 85 7A lda $02F8 ; CPU:$D589 PRG:1589 AD F8 02 cmp #$A0 ; CPU:$D58C PRG:158C C9 A0 - bcs Label_D594 ; CPU:$D58E PRG:158E B0 04 + bcs Sub_8764_OnCarrySet_D594 ; CPU:$D58E PRG:158E B0 04 lda #$08 ; CPU:$D590 PRG:1590 A9 08 sta Zp7A ; CPU:$D592 PRG:1592 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_D594 +; Routine: Sub_8764_OnCarrySet_D594 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4226,13 +4230,13 @@ Label_D585: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D594: +Sub_8764_OnCarrySet_D594: cmp #$C7 ; CPU:$D594 PRG:1594 C9 C7 - bcc Label_D59C ; CPU:$D596 PRG:1596 90 04 + bcc Sub_8764_OnCarryClear_D59C ; CPU:$D596 PRG:1596 90 04 lda #$04 ; CPU:$D598 PRG:1598 A9 04 sta Zp7A ; CPU:$D59A PRG:159A 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_D59C +; Routine: Sub_8764_OnCarryClear_D59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4240,15 +4244,15 @@ Label_D594: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D59C: +Sub_8764_OnCarryClear_D59C: lda $02FB ; CPU:$D59C PRG:159C AD FB 02 cmp #$10 ; CPU:$D59F PRG:159F C9 10 - bcs Label_D5A9 ; CPU:$D5A1 PRG:15A1 B0 06 + bcs Sub_8764_OnCarrySet_D5A9 ; CPU:$D5A1 PRG:15A1 B0 06 lda #$02 ; CPU:$D5A3 PRG:15A3 A9 02 ora Zp7A ; CPU:$D5A5 PRG:15A5 05 7A sta Zp7A ; CPU:$D5A7 PRG:15A7 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_D5A9 +; Routine: Sub_8764_OnCarrySet_D5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4256,14 +4260,14 @@ Label_D59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5A9: +Sub_8764_OnCarrySet_D5A9: cmp #$B8 ; CPU:$D5A9 PRG:15A9 C9 B8 - bcc Label_D5B3 ; CPU:$D5AB PRG:15AB 90 06 + bcc Sub_8764_OnCarryClear_D5B3 ; CPU:$D5AB PRG:15AB 90 06 lda #$01 ; CPU:$D5AD PRG:15AD A9 01 ora Zp7A ; CPU:$D5AF PRG:15AF 05 7A sta Zp7A ; CPU:$D5B1 PRG:15B1 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_D5B3 +; Routine: Sub_8764_OnCarryClear_D5B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4271,10 +4275,10 @@ Label_D5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B3: +Sub_8764_OnCarryClear_D5B3: rts ; CPU:$D5B3 PRG:15B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5B4 +; Routine: SubCD5B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4282,14 +4286,14 @@ Label_D5B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B4: - jsr $E4C5 ; CPU:$D5B4 PRG:15B4 20 C5 E4 - lda Zp43 ; CPU:$D5B7 PRG:15B7 A5 43 +SubCD5B4: + jsr SubCE4C5 ; CPU:$D5B4 PRG:15B4 20 C5 E4 + lda AudioState ; CPU:$D5B7 PRG:15B7 A5 43 and #$01 ; CPU:$D5B9 PRG:15B9 29 01 - beq Label_D5C0 ; CPU:$D5BB PRG:15BB F0 03 - jsr $E5A6 ; CPU:$D5BD PRG:15BD 20 A6 E5 + beq Sub_8764_OnZero_D5C0 ; CPU:$D5BB PRG:15BB F0 03 + jsr SubCE5A6 ; CPU:$D5BD PRG:15BD 20 A6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C0 +; Routine: Sub_8764_OnZero_D5C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4297,29 +4301,29 @@ Label_D5B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C0: - jsr $E289 ; CPU:$D5C0 PRG:15C0 20 89 E2 +Sub_8764_OnZero_D5C0: + jsr SubCE289 ; CPU:$D5C0 PRG:15C0 20 89 E2 lda #$01 ; CPU:$D5C3 PRG:15C3 A9 01 sta ZpCE ; CPU:$D5C5 PRG:15C5 85 CE lda #$00 ; CPU:$D5C7 PRG:15C7 A9 00 sta Zp8F ; CPU:$D5C9 PRG:15C9 85 8F lda $02FB ; CPU:$D5CB PRG:15CB AD FB 02 - sta Zp00 ; CPU:$D5CE PRG:15CE 85 00 + sta PtrLo ; CPU:$D5CE PRG:15CE 85 00 lda $02F8 ; CPU:$D5D0 PRG:15D0 AD F8 02 - sta Zp01 ; CPU:$D5D3 PRG:15D3 85 01 + sta PtrHi ; CPU:$D5D3 PRG:15D3 85 01 lda #$7C ; CPU:$D5D5 PRG:15D5 A9 7C - sta Zp02 ; CPU:$D5D7 PRG:15D7 85 02 + sta Ptr2Lo ; CPU:$D5D7 PRG:15D7 85 02 lda #$C1 ; CPU:$D5D9 PRG:15D9 A9 C1 - sta Zp03 ; CPU:$D5DB PRG:15DB 85 03 - jsr $EE4C ; CPU:$D5DD PRG:15DD 20 4C EE - jsr $DA9A ; CPU:$D5E0 PRG:15E0 20 9A DA - lda Zp43 ; CPU:$D5E3 PRG:15E3 A5 43 + sta Ptr2Hi ; CPU:$D5DB PRG:15DB 85 03 + jsr SubCEE4C ; CPU:$D5DD PRG:15DD 20 4C EE + jsr SubCDA9A ; CPU:$D5E0 PRG:15E0 20 9A DA + lda AudioState ; CPU:$D5E3 PRG:15E3 A5 43 and #$01 ; CPU:$D5E5 PRG:15E5 29 01 - beq Label_D5EF ; CPU:$D5E7 PRG:15E7 F0 06 - jsr $CFFD ; CPU:$D5E9 PRG:15E9 20 FD CF - jmp $D612 ; CPU:$D5EC PRG:15EC 4C 12 D6 + beq Sub_8764_OnZero_D5EF ; CPU:$D5E7 PRG:15E7 F0 06 + jsr SubCCFFD ; CPU:$D5E9 PRG:15E9 20 FD CF + jmp SubCD612 ; CPU:$D5EC PRG:15EC 4C 12 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D5EF +; Routine: Sub_8764_OnZero_D5EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4327,21 +4331,21 @@ Label_D5C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5EF: - jsr $D8DE ; CPU:$D5EF PRG:15EF 20 DE D8 - jsr $D95E ; CPU:$D5F2 PRG:15F2 20 5E D9 - jsr $D9C7 ; CPU:$D5F5 PRG:15F5 20 C7 D9 - jsr $DA07 ; CPU:$D5F8 PRG:15F8 20 07 DA - jsr $DA54 ; CPU:$D5FB PRG:15FB 20 54 DA +Sub_8764_OnZero_D5EF: + jsr SubCD8DE ; CPU:$D5EF PRG:15EF 20 DE D8 + jsr SubCD95E ; CPU:$D5F2 PRG:15F2 20 5E D9 + jsr SubCD9C7 ; CPU:$D5F5 PRG:15F5 20 C7 D9 + jsr SubCDA07 ; CPU:$D5F8 PRG:15F8 20 07 DA + jsr SubCDA54 ; CPU:$D5FB PRG:15FB 20 54 DA lda Zp6C ; CPU:$D5FE PRG:15FE A5 6C cmp #$03 ; CPU:$D600 PRG:1600 C9 03 - beq Label_D60C ; CPU:$D602 PRG:1602 F0 08 + beq Sub_8764_OnZero_D60C ; CPU:$D602 PRG:1602 F0 08 cmp #$07 ; CPU:$D604 PRG:1604 C9 07 - beq Label_D60C ; CPU:$D606 PRG:1606 F0 04 + beq Sub_8764_OnZero_D60C ; CPU:$D606 PRG:1606 F0 04 cmp #$0B ; CPU:$D608 PRG:1608 C9 0B - bne Label_D612 ; CPU:$D60A PRG:160A D0 06 + bne SubCD612 ; CPU:$D60A PRG:160A D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D60C +; Routine: Sub_8764_OnZero_D60C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4349,11 +4353,11 @@ Label_D5EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D60C: - jsr $D87B ; CPU:$D60C PRG:160C 20 7B D8 - jmp $D615 ; CPU:$D60F PRG:160F 4C 15 D6 +Sub_8764_OnZero_D60C: + jsr SubCD87B ; CPU:$D60C PRG:160C 20 7B D8 + jmp SubCD615 ; CPU:$D60F PRG:160F 4C 15 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D612 +; Routine: SubCD612 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4361,10 +4365,10 @@ Label_D60C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D612: - jsr $D747 ; CPU:$D612 PRG:1612 20 47 D7 +SubCD612: + jsr SubCD747 ; CPU:$D612 PRG:1612 20 47 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D615 +; Routine: SubCD615 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4372,29 +4376,29 @@ Label_D612: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D615: +SubCD615: lda Zp71 ; CPU:$D615 PRG:1615 A5 71 - bne Label_D658 ; CPU:$D617 PRG:1617 D0 3F + bne Sub_8764_JoinBranchPaths_D658 ; CPU:$D617 PRG:1617 D0 3F lda #$00 ; CPU:$D619 PRG:1619 A9 00 sta ZpCE ; CPU:$D61B PRG:161B 85 CE lda Zp7B ; CPU:$D61D PRG:161D A5 7B - beq Label_D658 ; CPU:$D61F PRG:161F F0 37 + beq Sub_8764_JoinBranchPaths_D658 ; CPU:$D61F PRG:161F F0 37 lda $02FF ; CPU:$D621 PRG:1621 AD FF 02 - sta Zp00 ; CPU:$D624 PRG:1624 85 00 + sta PtrLo ; CPU:$D624 PRG:1624 85 00 lda $02FC ; CPU:$D626 PRG:1626 AD FC 02 - sta Zp01 ; CPU:$D629 PRG:1629 85 01 + sta PtrHi ; CPU:$D629 PRG:1629 85 01 lda #$70 ; CPU:$D62B PRG:162B A9 70 - sta Zp02 ; CPU:$D62D PRG:162D 85 02 + sta Ptr2Lo ; CPU:$D62D PRG:162D 85 02 lda #$C1 ; CPU:$D62F PRG:162F A9 C1 - sta Zp03 ; CPU:$D631 PRG:1631 85 03 - jsr $EE4C ; CPU:$D633 PRG:1633 20 4C EE - jsr $D676 ; CPU:$D636 PRG:1636 20 76 D6 + sta Ptr2Hi ; CPU:$D631 PRG:1631 85 03 + jsr SubCEE4C ; CPU:$D633 PRG:1633 20 4C EE + jsr SubCD676 ; CPU:$D636 PRG:1636 20 76 D6 lda $02FC ; CPU:$D639 PRG:1639 AD FC 02 cmp #$20 ; CPU:$D63C PRG:163C C9 20 - bcc Label_D643 ; CPU:$D63E PRG:163E 90 03 - jsr $D747 ; CPU:$D640 PRG:1640 20 47 D7 + bcc Sub_8764_OnCarryClear_D643 ; CPU:$D63E PRG:163E 90 03 + jsr SubCD747 ; CPU:$D640 PRG:1640 20 47 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D643 +; Routine: Sub_8764_OnCarryClear_D643 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4402,16 +4406,16 @@ Label_D615: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D643: - jsr $D7F9 ; CPU:$D643 PRG:1643 20 F9 D7 - jsr $D838 ; CPU:$D646 PRG:1646 20 38 D8 - jsr $D8DE ; CPU:$D649 PRG:1649 20 DE D8 - jsr $D95E ; CPU:$D64C PRG:164C 20 5E D9 - jsr $D9C7 ; CPU:$D64F PRG:164F 20 C7 D9 - jsr $DA07 ; CPU:$D652 PRG:1652 20 07 DA - jsr $DA54 ; CPU:$D655 PRG:1655 20 54 DA +Sub_8764_OnCarryClear_D643: + jsr SubCD7F9 ; CPU:$D643 PRG:1643 20 F9 D7 + jsr SubCD838 ; CPU:$D646 PRG:1646 20 38 D8 + jsr SubCD8DE ; CPU:$D649 PRG:1649 20 DE D8 + jsr SubCD95E ; CPU:$D64C PRG:164C 20 5E D9 + jsr SubCD9C7 ; CPU:$D64F PRG:164F 20 C7 D9 + jsr SubCDA07 ; CPU:$D652 PRG:1652 20 07 DA + jsr SubCDA54 ; CPU:$D655 PRG:1655 20 54 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D658 +; Routine: Sub_8764_JoinBranchPaths_D658 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4419,16 +4423,16 @@ Label_D643: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D658: +Sub_8764_JoinBranchPaths_D658: lda Zp6C ; CPU:$D658 PRG:1658 A5 6C cmp #$03 ; CPU:$D65A PRG:165A C9 03 - beq Label_D666 ; CPU:$D65C PRG:165C F0 08 + beq Sub_8764_OnZero_D666 ; CPU:$D65C PRG:165C F0 08 cmp #$07 ; CPU:$D65E PRG:165E C9 07 - beq Label_D666 ; CPU:$D660 PRG:1660 F0 04 + beq Sub_8764_OnZero_D666 ; CPU:$D660 PRG:1660 F0 04 cmp #$0B ; CPU:$D662 PRG:1662 C9 0B - bne Label_D669 ; CPU:$D664 PRG:1664 D0 03 + bne Sub_8764_OnNonzero_D669 ; CPU:$D664 PRG:1664 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D666 +; Routine: Sub_8764_OnZero_D666 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4436,10 +4440,10 @@ Label_D658: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D666: - jsr $D87B ; CPU:$D666 PRG:1666 20 7B D8 +Sub_8764_OnZero_D666: + jsr SubCD87B ; CPU:$D666 PRG:1666 20 7B D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D669 +; Routine: Sub_8764_OnNonzero_D669 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4447,14 +4451,14 @@ Label_D666: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D669: - jsr $DCA3 ; CPU:$D669 PRG:1669 20 A3 DC - jsr $DBD9 ; CPU:$D66C PRG:166C 20 D9 DB - jsr $DB1D ; CPU:$D66F PRG:166F 20 1D DB - jsr $DD2E ; CPU:$D672 PRG:1672 20 2E DD +Sub_8764_OnNonzero_D669: + jsr SubCDCA3 ; CPU:$D669 PRG:1669 20 A3 DC + jsr SubCDBD9 ; CPU:$D66C PRG:166C 20 D9 DB + jsr SubCDB1D ; CPU:$D66F PRG:166F 20 1D DB + jsr SubCDD2E ; CPU:$D672 PRG:1672 20 2E DD rts ; CPU:$D675 PRG:1675 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D676 +; Routine: SubCD676 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4462,12 +4466,12 @@ Label_D669: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D676: +SubCD676: lda Zp7B ; CPU:$D676 PRG:1676 A5 7B - bne Label_D67B ; CPU:$D678 PRG:1678 D0 01 + bne Sub_8764_OnNonzero_D67B ; CPU:$D678 PRG:1678 D0 01 rts ; CPU:$D67A PRG:167A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D67B +; Routine: Sub_8764_OnNonzero_D67B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4475,25 +4479,25 @@ Label_D676: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D67B: +Sub_8764_OnNonzero_D67B: lda #$74 ; CPU:$D67B PRG:167B A9 74 - sta Zp02 ; CPU:$D67D PRG:167D 85 02 + sta Ptr2Lo ; CPU:$D67D PRG:167D 85 02 lda #$C1 ; CPU:$D67F PRG:167F A9 C1 - sta Zp03 ; CPU:$D681 PRG:1681 85 03 + sta Ptr2Hi ; CPU:$D681 PRG:1681 85 03 lda $02FF ; CPU:$D683 PRG:1683 AD FF 02 clc ; CPU:$D686 PRG:1686 18 adc #$04 ; CPU:$D687 PRG:1687 69 04 - sta Zp00 ; CPU:$D689 PRG:1689 85 00 + sta PtrLo ; CPU:$D689 PRG:1689 85 00 lda $02FC ; CPU:$D68B PRG:168B AD FC 02 clc ; CPU:$D68E PRG:168E 18 adc #$04 ; CPU:$D68F PRG:168F 69 04 - sta Zp01 ; CPU:$D691 PRG:1691 85 01 - jsr $DD81 ; CPU:$D693 PRG:1693 20 81 DD - jsr $EE72 ; CPU:$D696 PRG:1696 20 72 EE - bne Label_D69C ; CPU:$D699 PRG:1699 D0 01 + sta PtrHi ; CPU:$D691 PRG:1691 85 01 + jsr SubCDD81 ; CPU:$D693 PRG:1693 20 81 DD + jsr SubCEE72 ; CPU:$D696 PRG:1696 20 72 EE + bne Sub_8764_OnNonzero_D69C ; CPU:$D699 PRG:1699 D0 01 rts ; CPU:$D69B PRG:169B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D69C +; Routine: Sub_8764_OnNonzero_D69C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4501,13 +4505,13 @@ Label_D67B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D69C: - jsr $DDD2 ; CPU:$D69C PRG:169C 20 D2 DD +Sub_8764_OnNonzero_D69C: + jsr SubCDDD2 ; CPU:$D69C PRG:169C 20 D2 DD cmp #$0D ; CPU:$D69F PRG:169F C9 0D - bne Label_D6A6 ; CPU:$D6A1 PRG:16A1 D0 03 - jmp $D742 ; CPU:$D6A3 PRG:16A3 4C 42 D7 + bne Sub_8764_OnNonzero_D6A6 ; CPU:$D6A1 PRG:16A1 D0 03 + jmp SubCD742 ; CPU:$D6A3 PRG:16A3 4C 42 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D6A6 +; Routine: Sub_8764_OnNonzero_D6A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4515,14 +4519,14 @@ Label_D69C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A6: +Sub_8764_OnNonzero_D6A6: cmp #$0E ; CPU:$D6A6 PRG:16A6 C9 0E - beq Label_D6B0 ; CPU:$D6A8 PRG:16A8 F0 06 + beq Sub_8764_OnZero_D6B0 ; CPU:$D6A8 PRG:16A8 F0 06 cmp #$0F ; CPU:$D6AA PRG:16AA C9 0F - bne Label_D71F ; CPU:$D6AC PRG:16AC D0 71 + bne Sub_8764_OnNonzero_D71F ; CPU:$D6AC PRG:16AC D0 71 dec Zp78 ; CPU:$D6AE PRG:16AE C6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D6B0 +; Routine: Sub_8764_OnZero_D6B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4530,21 +4534,21 @@ Label_D6A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6B0: +Sub_8764_OnZero_D6B0: lda #$00 ; CPU:$D6B0 PRG:16B0 A9 00 sta Zp0A ; CPU:$D6B2 PRG:16B2 85 0A - jsr $DE14 ; CPU:$D6B4 PRG:16B4 20 14 DE + jsr SubCDE14 ; CPU:$D6B4 PRG:16B4 20 14 DE inc Zp78 ; CPU:$D6B7 PRG:16B7 E6 78 - jsr $DE14 ; CPU:$D6B9 PRG:16B9 20 14 DE + jsr SubCDE14 ; CPU:$D6B9 PRG:16B9 20 14 DE dec Zp78 ; CPU:$D6BC PRG:16BC C6 78 dec Zp79 ; CPU:$D6BE PRG:16BE C6 79 - jsr $DE8C ; CPU:$D6C0 PRG:16C0 20 8C DE + jsr SubCDE8C ; CPU:$D6C0 PRG:16C0 20 8C DE lda ZpD0 ; CPU:$D6C3 PRG:16C3 A5 D0 asl a ; CPU:$D6C5 PRG:16C5 0A tax ; CPU:$D6C6 PRG:16C6 AA - lda Zp00 ; CPU:$D6C7 PRG:16C7 A5 00 + lda PtrLo ; CPU:$D6C7 PRG:16C7 A5 00 sta ZpD1,x ; CPU:$D6C9 PRG:16C9 95 D1 - lda Zp01 ; CPU:$D6CB PRG:16CB A5 01 + lda PtrHi ; CPU:$D6CB PRG:16CB A5 01 sta ZpD2,x ; CPU:$D6CD PRG:16CD 95 D2 ldx ZpD0 ; CPU:$D6CF PRG:16CF A6 D0 lda $C04A,x ; CPU:$D6D1 PRG:16D1 BD 4A C0 @@ -4557,7 +4561,7 @@ Label_D6B0: dec Zp78 ; CPU:$D6E0 PRG:16E0 C6 78 dec Zp79 ; CPU:$D6E2 PRG:16E2 C6 79 ; ----------------------------------------------------------------------------- -; Routine: Label_D6E4 +; Routine: SubCD6E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4565,17 +4569,17 @@ Label_D6B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E4: +SubCD6E4: inc Zp78 ; CPU:$D6E4 PRG:16E4 E6 78 - jsr $DDD2 ; CPU:$D6E6 PRG:16E6 20 D2 DD - beq Label_D6F6 ; CPU:$D6E9 PRG:16E9 F0 0B + jsr SubCDDD2 ; CPU:$D6E6 PRG:16E6 20 D2 DD + beq Sub_8764_JoinBranchPaths_D6F6 ; CPU:$D6E9 PRG:16E9 F0 0B cmp #$0E ; CPU:$D6EB PRG:16EB C9 0E - bpl Label_D6F6 ; CPU:$D6ED PRG:16ED 10 07 + bpl Sub_8764_JoinBranchPaths_D6F6 ; CPU:$D6ED PRG:16ED 10 07 lda #$00 ; CPU:$D6EF PRG:16EF A9 00 sta Zp0A ; CPU:$D6F1 PRG:16F1 85 0A - jsr $DE14 ; CPU:$D6F3 PRG:16F3 20 14 DE + jsr SubCDE14 ; CPU:$D6F3 PRG:16F3 20 14 DE ; ----------------------------------------------------------------------------- -; Routine: Label_D6F6 +; Routine: Sub_8764_JoinBranchPaths_D6F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4583,22 +4587,22 @@ Label_D6E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F6: +Sub_8764_JoinBranchPaths_D6F6: inx ; CPU:$D6F6 PRG:16F6 E8 cpx #$04 ; CPU:$D6F7 PRG:16F7 E0 04 - bmi Label_D6E4 ; CPU:$D6F9 PRG:16F9 30 E9 + bmi SubCD6E4 ; CPU:$D6F9 PRG:16F9 30 E9 iny ; CPU:$D6FB PRG:16FB C8 cpy #$04 ; CPU:$D6FC PRG:16FC C0 04 - bpl Label_D70E ; CPU:$D6FE PRG:16FE 10 0E + bpl Sub_8764_OnNonnegative_D70E ; CPU:$D6FE PRG:16FE 10 0E ldx #$00 ; CPU:$D700 PRG:1700 A2 00 lda Zp78 ; CPU:$D702 PRG:1702 A5 78 sec ; CPU:$D704 PRG:1704 38 sbc #$04 ; CPU:$D705 PRG:1705 E9 04 sta Zp78 ; CPU:$D707 PRG:1707 85 78 inc Zp79 ; CPU:$D709 PRG:1709 E6 79 - jmp $D6E4 ; CPU:$D70B PRG:170B 4C E4 D6 + jmp SubCD6E4 ; CPU:$D70B PRG:170B 4C E4 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D70E +; Routine: Sub_8764_OnNonnegative_D70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4606,16 +4610,16 @@ Label_D6F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70E: +Sub_8764_OnNonnegative_D70E: ldx Zp64 ; CPU:$D70E PRG:170E A6 64 dec $03A5,x ; CPU:$D710 PRG:1710 DE A5 03 ldx #$08 ; CPU:$D713 PRG:1713 A2 08 - jsr $D4E5 ; CPU:$D715 PRG:1715 20 E5 D4 + jsr SubCD4E5 ; CPU:$D715 PRG:1715 20 E5 D4 lda #$80 ; CPU:$D718 PRG:1718 A9 80 sta ZpFF ; CPU:$D71A PRG:171A 85 FF - jmp $D742 ; CPU:$D71C PRG:171C 4C 42 D7 + jmp SubCD742 ; CPU:$D71C PRG:171C 4C 42 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D71F +; Routine: Sub_8764_OnNonzero_D71F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4623,24 +4627,24 @@ Label_D70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71F: +Sub_8764_OnNonzero_D71F: and #$07 ; CPU:$D71F PRG:171F 29 07 - beq Label_D746 ; CPU:$D721 PRG:1721 F0 23 + beq Sub_8764_OnZero_D746 ; CPU:$D721 PRG:1721 F0 23 dec Zp0A ; CPU:$D723 PRG:1723 C6 0A - jsr $DE14 ; CPU:$D725 PRG:1725 20 14 DE + jsr SubCDE14 ; CPU:$D725 PRG:1725 20 14 DE lda Zp0A ; CPU:$D728 PRG:1728 A5 0A - jsr $DE60 ; CPU:$D72A PRG:172A 20 60 DE + jsr SubCDE60 ; CPU:$D72A PRG:172A 20 60 DE lda Zp0A ; CPU:$D72D PRG:172D A5 0A and #$07 ; CPU:$D72F PRG:172F 29 07 - bne Label_D742 ; CPU:$D731 PRG:1731 D0 0F + bne SubCD742 ; CPU:$D731 PRG:1731 D0 0F ldx #$00 ; CPU:$D733 PRG:1733 A2 00 lda $02FF ; CPU:$D735 PRG:1735 AD FF 02 sta Zp05 ; CPU:$D738 PRG:1738 85 05 lda $02FC ; CPU:$D73A PRG:173A AD FC 02 sta Zp06 ; CPU:$D73D PRG:173D 85 06 - jsr $D4A1 ; CPU:$D73F PRG:173F 20 A1 D4 + jsr SubCD4A1 ; CPU:$D73F PRG:173F 20 A1 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D742 +; Routine: SubCD742 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4648,11 +4652,11 @@ Label_D71F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D742: +SubCD742: lda #$00 ; CPU:$D742 PRG:1742 A9 00 sta Zp7B ; CPU:$D744 PRG:1744 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_D746 +; Routine: Sub_8764_OnZero_D746 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4660,10 +4664,10 @@ Label_D742: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D746: +Sub_8764_OnZero_D746: rts ; CPU:$D746 PRG:1746 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D747 +; Routine: SubCD747 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4671,17 +4675,17 @@ Label_D746: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D747: +SubCD747: lda ZpAA ; CPU:$D747 PRG:1747 A5 AA - beq Label_D77A ; CPU:$D749 PRG:1749 F0 2F + beq Sub_8764_OnZero_D77A ; CPU:$D749 PRG:1749 F0 2F lda #$78 ; CPU:$D74B PRG:174B A9 78 - sta Zp02 ; CPU:$D74D PRG:174D 85 02 + sta Ptr2Lo ; CPU:$D74D PRG:174D 85 02 lda #$C1 ; CPU:$D74F PRG:174F A9 C1 - sta Zp03 ; CPU:$D751 PRG:1751 85 03 + sta Ptr2Hi ; CPU:$D751 PRG:1751 85 03 ldx #$00 ; CPU:$D753 PRG:1753 A2 00 ldy #$00 ; CPU:$D755 PRG:1755 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D757 +; Routine: Sub_8764_OnNegative_D757 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4689,16 +4693,16 @@ Label_D747: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D757: +Sub_8764_OnNegative_D757: lda $0213,y ; CPU:$D757 PRG:1757 B9 13 02 - sta Zp00 ; CPU:$D75A PRG:175A 85 00 + sta PtrLo ; CPU:$D75A PRG:175A 85 00 lda ZpCE ; CPU:$D75C PRG:175C A5 CE - beq Label_D768 ; CPU:$D75E PRG:175E F0 08 + beq Sub_8764_OnZero_D768 ; CPU:$D75E PRG:175E F0 08 lda $0210,y ; CPU:$D760 PRG:1760 B9 10 02 - sta Zp01 ; CPU:$D763 PRG:1763 85 01 - jmp $D76C ; CPU:$D765 PRG:1765 4C 6C D7 + sta PtrHi ; CPU:$D763 PRG:1763 85 01 + jmp SubCD76C ; CPU:$D765 PRG:1765 4C 6C D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D768 +; Routine: Sub_8764_OnZero_D768 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4706,11 +4710,11 @@ Label_D757: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D768: +Sub_8764_OnZero_D768: lda ZpD9,x ; CPU:$D768 PRG:1768 B5 D9 - sta Zp01 ; CPU:$D76A PRG:176A 85 01 + sta PtrHi ; CPU:$D76A PRG:176A 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D76C +; Routine: SubCD76C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4718,18 +4722,18 @@ Label_D768: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D76C: - jsr $EE72 ; CPU:$D76C PRG:176C 20 72 EE - bne Label_D77B ; CPU:$D76F PRG:176F D0 0A +SubCD76C: + jsr SubCEE72 ; CPU:$D76C PRG:176C 20 72 EE + bne Sub_8764_OnNonzero_D77B ; CPU:$D76F PRG:176F D0 0A inx ; CPU:$D771 PRG:1771 E8 iny ; CPU:$D772 PRG:1772 C8 iny ; CPU:$D773 PRG:1773 C8 iny ; CPU:$D774 PRG:1774 C8 iny ; CPU:$D775 PRG:1775 C8 cpx #$08 ; CPU:$D776 PRG:1776 E0 08 - bmi Label_D757 ; CPU:$D778 PRG:1778 30 DD + bmi Sub_8764_OnNegative_D757 ; CPU:$D778 PRG:1778 30 DD ; ----------------------------------------------------------------------------- -; Routine: Label_D77A +; Routine: Sub_8764_OnZero_D77A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4737,10 +4741,10 @@ Label_D76C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D77A: +Sub_8764_OnZero_D77A: rts ; CPU:$D77A PRG:177A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D77B +; Routine: Sub_8764_OnNonzero_D77B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4748,20 +4752,20 @@ Label_D77A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D77B: +Sub_8764_OnNonzero_D77B: lda ZpCE ; CPU:$D77B PRG:177B A5 CE - bne Label_D7F0 ; CPU:$D77D PRG:177D D0 71 + bne Sub_8764_OnNonzero_D7F0 ; CPU:$D77D PRG:177D D0 71 lda $0213,y ; CPU:$D77F PRG:177F B9 13 02 - sta Zp00 ; CPU:$D782 PRG:1782 85 00 + sta PtrLo ; CPU:$D782 PRG:1782 85 00 lda ZpA0,x ; CPU:$D784 PRG:1784 B5 A0 and #$01 ; CPU:$D786 PRG:1786 29 01 - beq Label_D792 ; CPU:$D788 PRG:1788 F0 08 + beq Sub_8764_OnZero_D792 ; CPU:$D788 PRG:1788 F0 08 lda $0213,y ; CPU:$D78A PRG:178A B9 13 02 clc ; CPU:$D78D PRG:178D 18 adc #$07 ; CPU:$D78E PRG:178E 69 07 - sta Zp00 ; CPU:$D790 PRG:1790 85 00 + sta PtrLo ; CPU:$D790 PRG:1790 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D792 +; Routine: Sub_8764_OnZero_D792 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4769,19 +4773,19 @@ Label_D77B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D792: +Sub_8764_OnZero_D792: lda ZpD9,x ; CPU:$D792 PRG:1792 B5 D9 - sta Zp01 ; CPU:$D794 PRG:1794 85 01 - jsr $DD81 ; CPU:$D796 PRG:1796 20 81 DD - jsr $DDD2 ; CPU:$D799 PRG:1799 20 D2 DD - bne Label_D7AA ; CPU:$D79C PRG:179C D0 0C + sta PtrHi ; CPU:$D794 PRG:1794 85 01 + jsr SubCDD81 ; CPU:$D796 PRG:1796 20 81 DD + jsr SubCDDD2 ; CPU:$D799 PRG:1799 20 D2 DD + bne SubCD7AA ; CPU:$D79C PRG:179C D0 0C lda #$04 ; CPU:$D79E PRG:179E A9 04 sta Zp0A ; CPU:$D7A0 PRG:17A0 85 0A - jsr $DE14 ; CPU:$D7A2 PRG:17A2 20 14 DE + jsr SubCDE14 ; CPU:$D7A2 PRG:17A2 20 14 DE lda Zp0A ; CPU:$D7A5 PRG:17A5 A5 0A - jsr $DE60 ; CPU:$D7A7 PRG:17A7 20 60 DE + jsr SubCDE60 ; CPU:$D7A7 PRG:17A7 20 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_D7AA +; Routine: SubCD7AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4789,7 +4793,7 @@ Label_D792: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7AA: +SubCD7AA: lda $0213,y ; CPU:$D7AA PRG:17AA B9 13 02 sta Zp05 ; CPU:$D7AD PRG:17AD 85 05 lda ZpD9,x ; CPU:$D7AF PRG:17AF B5 D9 @@ -4801,7 +4805,7 @@ Label_D7AA: txa ; CPU:$D7BC PRG:17BC 8A pha ; CPU:$D7BD PRG:17BD 48 cpx #$07 ; CPU:$D7BE PRG:17BE E0 07 - bpl Label_D7D3 ; CPU:$D7C0 PRG:17C0 10 11 + bpl Sub_8764_OnNonnegative_D7D3 ; CPU:$D7C0 PRG:17C0 10 11 inx ; CPU:$D7C2 PRG:17C2 E8 lda Zp90,x ; CPU:$D7C3 PRG:17C3 B5 90 ora #$80 ; CPU:$D7C5 PRG:17C5 09 80 @@ -4812,7 +4816,7 @@ Label_D7AA: sta Zp7B ; CPU:$D7D0 PRG:17D0 85 7B dex ; CPU:$D7D2 PRG:17D2 CA ; ----------------------------------------------------------------------------- -; Routine: Label_D7D3 +; Routine: Sub_8764_OnNonnegative_D7D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4820,14 +4824,14 @@ Label_D7AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D3: +Sub_8764_OnNonnegative_D7D3: lda Zp90,x ; CPU:$D7D3 PRG:17D3 B5 90 and #$80 ; CPU:$D7D5 PRG:17D5 29 80 - beq Label_D7DE ; CPU:$D7D7 PRG:17D7 F0 05 + beq Sub_8764_OnZero_D7DE ; CPU:$D7D7 PRG:17D7 F0 05 ldx #$02 ; CPU:$D7D9 PRG:17D9 A2 02 - jmp $D7E0 ; CPU:$D7DB PRG:17DB 4C E0 D7 + jmp SubCD7E0 ; CPU:$D7DB PRG:17DB 4C E0 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7DE +; Routine: Sub_8764_OnZero_D7DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4835,10 +4839,10 @@ Label_D7D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DE: +Sub_8764_OnZero_D7DE: ldx #$01 ; CPU:$D7DE PRG:17DE A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D7E0 +; Routine: SubCD7E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4846,8 +4850,8 @@ Label_D7DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7E0: - jsr $D4A1 ; CPU:$D7E0 PRG:17E0 20 A1 D4 +SubCD7E0: + jsr SubCD4A1 ; CPU:$D7E0 PRG:17E0 20 A1 D4 pla ; CPU:$D7E3 PRG:17E3 68 tax ; CPU:$D7E4 PRG:17E4 AA lda #$85 ; CPU:$D7E5 PRG:17E5 A9 85 @@ -4857,7 +4861,7 @@ Label_D7E0: sta ZpFF ; CPU:$D7ED PRG:17ED 85 FF rts ; CPU:$D7EF PRG:17EF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7F0 +; Routine: Sub_8764_OnNonzero_D7F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4865,14 +4869,14 @@ Label_D7E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F0: +Sub_8764_OnNonzero_D7F0: lda #$01 ; CPU:$D7F0 PRG:17F0 A9 01 sta Zp71 ; CPU:$D7F2 PRG:17F2 85 71 lda #$01 ; CPU:$D7F4 PRG:17F4 A9 01 sta ZpFF ; CPU:$D7F6 PRG:17F6 85 FF rts ; CPU:$D7F8 PRG:17F8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7F9 +; Routine: SubCD7F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4880,38 +4884,38 @@ Label_D7F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F9: +SubCD7F9: lda ZpE8 ; CPU:$D7F9 PRG:17F9 A5 E8 - beq Label_D837 ; CPU:$D7FB PRG:17FB F0 3A + beq Sub_8764_JoinBranchPaths_D837 ; CPU:$D7FB PRG:17FB F0 3A lda Zp86 ; CPU:$D7FD PRG:17FD A5 86 - sta Zp00 ; CPU:$D7FF PRG:17FF 85 00 + sta PtrLo ; CPU:$D7FF PRG:17FF 85 00 lda Zp87 ; CPU:$D801 PRG:1801 A5 87 - sta Zp01 ; CPU:$D803 PRG:1803 85 01 + sta PtrHi ; CPU:$D803 PRG:1803 85 01 lda #$80 ; CPU:$D805 PRG:1805 A9 80 - sta Zp02 ; CPU:$D807 PRG:1807 85 02 + sta Ptr2Lo ; CPU:$D807 PRG:1807 85 02 lda #$C1 ; CPU:$D809 PRG:1809 A9 C1 - sta Zp03 ; CPU:$D80B PRG:180B 85 03 - jsr $EE72 ; CPU:$D80D PRG:180D 20 72 EE - beq Label_D837 ; CPU:$D810 PRG:1810 F0 25 + sta Ptr2Hi ; CPU:$D80B PRG:180B 85 03 + jsr SubCEE72 ; CPU:$D80D PRG:180D 20 72 EE + beq Sub_8764_JoinBranchPaths_D837 ; CPU:$D810 PRG:1810 F0 25 lda Zp86 ; CPU:$D812 PRG:1812 A5 86 sta Zp05 ; CPU:$D814 PRG:1814 85 05 lda Zp87 ; CPU:$D816 PRG:1816 A5 87 sta Zp06 ; CPU:$D818 PRG:1818 85 06 ldx #$0A ; CPU:$D81A PRG:181A A2 0A - jsr $D4A1 ; CPU:$D81C PRG:181C 20 A1 D4 + jsr SubCD4A1 ; CPU:$D81C PRG:181C 20 A1 D4 lda #$40 ; CPU:$D81F PRG:181F A9 40 sta ZpFF ; CPU:$D821 PRG:1821 85 FF lda #$00 ; CPU:$D823 PRG:1823 A9 00 sta Zp86 ; CPU:$D825 PRG:1825 85 86 sta Zp87 ; CPU:$D827 PRG:1827 85 87 - jsr $E848 ; CPU:$D829 PRG:1829 20 48 E8 - jsr $E815 ; CPU:$D82C PRG:182C 20 15 E8 + jsr SubCE848 ; CPU:$D829 PRG:1829 20 48 E8 + jsr SubCE815 ; CPU:$D82C PRG:182C 20 15 E8 lda Zp8F ; CPU:$D82F PRG:182F A5 8F - bne Label_D837 ; CPU:$D831 PRG:1831 D0 04 + bne Sub_8764_JoinBranchPaths_D837 ; CPU:$D831 PRG:1831 D0 04 lda #$00 ; CPU:$D833 PRG:1833 A9 00 sta Zp7B ; CPU:$D835 PRG:1835 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_D837 +; Routine: Sub_8764_JoinBranchPaths_D837 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4919,10 +4923,10 @@ Label_D7F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D837: +Sub_8764_JoinBranchPaths_D837: rts ; CPU:$D837 PRG:1837 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D838 +; Routine: SubCD838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4930,25 +4934,25 @@ Label_D837: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D838: +SubCD838: lda ZpE7 ; CPU:$D838 PRG:1838 A5 E7 - beq Label_D87A ; CPU:$D83A PRG:183A F0 3E + beq Sub_8764_OnZero_D87A ; CPU:$D83A PRG:183A F0 3E lda Zp89 ; CPU:$D83C PRG:183C A5 89 - sta Zp00 ; CPU:$D83E PRG:183E 85 00 + sta PtrLo ; CPU:$D83E PRG:183E 85 00 lda Zp8A ; CPU:$D840 PRG:1840 A5 8A - sta Zp01 ; CPU:$D842 PRG:1842 85 01 + sta PtrHi ; CPU:$D842 PRG:1842 85 01 lda #$90 ; CPU:$D844 PRG:1844 A9 90 - sta Zp02 ; CPU:$D846 PRG:1846 85 02 + sta Ptr2Lo ; CPU:$D846 PRG:1846 85 02 lda #$C1 ; CPU:$D848 PRG:1848 A9 C1 - sta Zp03 ; CPU:$D84A PRG:184A 85 03 - jsr $EE72 ; CPU:$D84C PRG:184C 20 72 EE - beq Label_D87A ; CPU:$D84F PRG:184F F0 29 + sta Ptr2Hi ; CPU:$D84A PRG:184A 85 03 + jsr SubCEE72 ; CPU:$D84C PRG:184C 20 72 EE + beq Sub_8764_OnZero_D87A ; CPU:$D84F PRG:184F F0 29 lda Zp89 ; CPU:$D851 PRG:1851 A5 89 sta Zp05 ; CPU:$D853 PRG:1853 85 05 lda Zp8A ; CPU:$D855 PRG:1855 A5 8A sta Zp06 ; CPU:$D857 PRG:1857 85 06 ldx #$03 ; CPU:$D859 PRG:1859 A2 03 - jsr $D4A1 ; CPU:$D85B PRG:185B 20 A1 D4 + jsr SubCD4A1 ; CPU:$D85B PRG:185B 20 A1 D4 lda #$40 ; CPU:$D85E PRG:185E A9 40 sta ZpFF ; CPU:$D860 PRG:1860 85 FF lda #$01 ; CPU:$D862 PRG:1862 A9 01 @@ -4956,14 +4960,14 @@ Label_D838: lda #$00 ; CPU:$D866 PRG:1866 A9 00 sta Zp89 ; CPU:$D868 PRG:1868 85 89 sta Zp8A ; CPU:$D86A PRG:186A 85 8A - jsr $E744 ; CPU:$D86C PRG:186C 20 44 E7 - jsr $E714 ; CPU:$D86F PRG:186F 20 14 E7 + jsr SubCE744 ; CPU:$D86C PRG:186C 20 44 E7 + jsr SubCE714 ; CPU:$D86F PRG:186F 20 14 E7 lda #$01 ; CPU:$D872 PRG:1872 A9 01 sta Zp8E ; CPU:$D874 PRG:1874 85 8E lda #$00 ; CPU:$D876 PRG:1876 A9 00 sta Zp7B ; CPU:$D878 PRG:1878 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_D87A +; Routine: Sub_8764_OnZero_D87A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4971,10 +4975,10 @@ Label_D838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D87A: +Sub_8764_OnZero_D87A: rts ; CPU:$D87A PRG:187A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D87B +; Routine: SubCD87B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4982,15 +4986,15 @@ Label_D87A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D87B: +SubCD87B: lda #$94 ; CPU:$D87B PRG:187B A9 94 - sta Zp02 ; CPU:$D87D PRG:187D 85 02 + sta Ptr2Lo ; CPU:$D87D PRG:187D 85 02 lda #$C1 ; CPU:$D87F PRG:187F A9 C1 - sta Zp03 ; CPU:$D881 PRG:1881 85 03 + sta Ptr2Hi ; CPU:$D881 PRG:1881 85 03 ldx #$00 ; CPU:$D883 PRG:1883 A2 00 ldy #$00 ; CPU:$D885 PRG:1885 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D887 +; Routine: Sub_8764_OnNegative_D887 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4998,23 +5002,23 @@ Label_D87B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D887: +Sub_8764_OnNegative_D887: lda $0273,y ; CPU:$D887 PRG:1887 B9 73 02 - sta Zp00 ; CPU:$D88A PRG:188A 85 00 + sta PtrLo ; CPU:$D88A PRG:188A 85 00 lda $0270,y ; CPU:$D88C PRG:188C B9 70 02 - sta Zp01 ; CPU:$D88F PRG:188F 85 01 - jsr $EE72 ; CPU:$D891 PRG:1891 20 72 EE - bne Label_D8A0 ; CPU:$D894 PRG:1894 D0 0A + sta PtrHi ; CPU:$D88F PRG:188F 85 01 + jsr SubCEE72 ; CPU:$D891 PRG:1891 20 72 EE + bne Sub_8764_OnNonzero_D8A0 ; CPU:$D894 PRG:1894 D0 0A inx ; CPU:$D896 PRG:1896 E8 iny ; CPU:$D897 PRG:1897 C8 iny ; CPU:$D898 PRG:1898 C8 iny ; CPU:$D899 PRG:1899 C8 iny ; CPU:$D89A PRG:189A C8 cpx #$10 ; CPU:$D89B PRG:189B E0 10 - bmi Label_D887 ; CPU:$D89D PRG:189D 30 E8 + bmi Sub_8764_OnNegative_D887 ; CPU:$D89D PRG:189D 30 E8 rts ; CPU:$D89F PRG:189F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A0 +; Routine: Sub_8764_OnNonzero_D8A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5022,9 +5026,9 @@ Label_D887: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A0: +Sub_8764_OnNonzero_D8A0: lda ZpCE ; CPU:$D8A0 PRG:18A0 A5 CE - bne Label_D8D5 ; CPU:$D8A2 PRG:18A2 D0 31 + bne Sub_8764_OnNonzero_D8D5 ; CPU:$D8A2 PRG:18A2 D0 31 lda $0273,y ; CPU:$D8A4 PRG:18A4 B9 73 02 sta Zp05 ; CPU:$D8A7 PRG:18A7 85 05 lda $0270,y ; CPU:$D8A9 PRG:18A9 B9 70 02 @@ -5035,11 +5039,11 @@ Label_D8A0: ldx #$03 ; CPU:$D8B6 PRG:18B6 A2 03 lda Zp6C ; CPU:$D8B8 PRG:18B8 A5 6C cmp #$07 ; CPU:$D8BA PRG:18BA C9 07 - bne Label_D8C3 ; CPU:$D8BC PRG:18BC D0 05 + bne Sub_8764_OnNonzero_D8C3 ; CPU:$D8BC PRG:18BC D0 05 ldx #$06 ; CPU:$D8BE PRG:18BE A2 06 - jmp $D8C9 ; CPU:$D8C0 PRG:18C0 4C C9 D8 + jmp SubCD8C9 ; CPU:$D8C0 PRG:18C0 4C C9 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C3 +; Routine: Sub_8764_OnNonzero_D8C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5047,12 +5051,12 @@ Label_D8A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C3: +Sub_8764_OnNonzero_D8C3: cmp #$0B ; CPU:$D8C3 PRG:18C3 C9 0B - bne Label_D8C9 ; CPU:$D8C5 PRG:18C5 D0 02 + bne SubCD8C9 ; CPU:$D8C5 PRG:18C5 D0 02 ldx #$05 ; CPU:$D8C7 PRG:18C7 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C9 +; Routine: SubCD8C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5060,15 +5064,15 @@ Label_D8C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C9: - jsr $D4A1 ; CPU:$D8C9 PRG:18C9 20 A1 D4 +SubCD8C9: + jsr SubCD4A1 ; CPU:$D8C9 PRG:18C9 20 A1 D4 lda #$40 ; CPU:$D8CC PRG:18CC A9 40 sta ZpFF ; CPU:$D8CE PRG:18CE 85 FF lda #$00 ; CPU:$D8D0 PRG:18D0 A9 00 sta Zp7B ; CPU:$D8D2 PRG:18D2 85 7B rts ; CPU:$D8D4 PRG:18D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8D5 +; Routine: Sub_8764_OnNonzero_D8D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5076,14 +5080,14 @@ Label_D8C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8D5: +Sub_8764_OnNonzero_D8D5: lda #$01 ; CPU:$D8D5 PRG:18D5 A9 01 sta Zp71 ; CPU:$D8D7 PRG:18D7 85 71 lda #$01 ; CPU:$D8D9 PRG:18D9 A9 01 sta ZpFF ; CPU:$D8DB PRG:18DB 85 FF rts ; CPU:$D8DD PRG:18DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DE +; Routine: SubCD8DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5091,15 +5095,15 @@ Label_D8D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DE: +SubCD8DE: lda #$8C ; CPU:$D8DE PRG:18DE A9 8C - sta Zp02 ; CPU:$D8E0 PRG:18E0 85 02 + sta Ptr2Lo ; CPU:$D8E0 PRG:18E0 85 02 lda #$C1 ; CPU:$D8E2 PRG:18E2 A9 C1 - sta Zp03 ; CPU:$D8E4 PRG:18E4 85 03 + sta Ptr2Hi ; CPU:$D8E4 PRG:18E4 85 03 ldx #$00 ; CPU:$D8E6 PRG:18E6 A2 00 ldy #$00 ; CPU:$D8E8 PRG:18E8 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D8EA +; Routine: Sub_8764_OnNegative_D8EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5107,23 +5111,23 @@ Label_D8DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8EA: +Sub_8764_OnNegative_D8EA: lda $0233,y ; CPU:$D8EA PRG:18EA B9 33 02 - sta Zp00 ; CPU:$D8ED PRG:18ED 85 00 + sta PtrLo ; CPU:$D8ED PRG:18ED 85 00 lda $0230,y ; CPU:$D8EF PRG:18EF B9 30 02 - sta Zp01 ; CPU:$D8F2 PRG:18F2 85 01 - jsr $EE72 ; CPU:$D8F4 PRG:18F4 20 72 EE - bne Label_D904 ; CPU:$D8F7 PRG:18F7 D0 0B + sta PtrHi ; CPU:$D8F2 PRG:18F2 85 01 + jsr SubCEE72 ; CPU:$D8F4 PRG:18F4 20 72 EE + bne Sub_8764_OnNonzero_D904 ; CPU:$D8F7 PRG:18F7 D0 0B inx ; CPU:$D8F9 PRG:18F9 E8 tya ; CPU:$D8FA PRG:18FA 98 clc ; CPU:$D8FB PRG:18FB 18 adc #$08 ; CPU:$D8FC PRG:18FC 69 08 tay ; CPU:$D8FE PRG:18FE A8 cpx #$03 ; CPU:$D8FF PRG:18FF E0 03 - bmi Label_D8EA ; CPU:$D901 PRG:1901 30 E7 + bmi Sub_8764_OnNegative_D8EA ; CPU:$D901 PRG:1901 30 E7 rts ; CPU:$D903 PRG:1903 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D904 +; Routine: Sub_8764_OnNonzero_D904 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5131,9 +5135,9 @@ Label_D8EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D904: +Sub_8764_OnNonzero_D904: lda ZpCE ; CPU:$D904 PRG:1904 A5 CE - bne Label_D94F ; CPU:$D906 PRG:1906 D0 47 + bne Sub_8764_OnNonzero_D94F ; CPU:$D906 PRG:1906 D0 47 txa ; CPU:$D908 PRG:1908 8A pha ; CPU:$D909 PRG:1909 48 lda $0233,y ; CPU:$D90A PRG:190A B9 33 02 @@ -5141,16 +5145,16 @@ Label_D904: lda $0230,y ; CPU:$D90F PRG:190F B9 30 02 sta Zp06 ; CPU:$D912 PRG:1912 85 06 lda $0230,y ; CPU:$D914 PRG:1914 B9 30 02 - sta Zp01 ; CPU:$D917 PRG:1917 85 01 + sta PtrHi ; CPU:$D917 PRG:1917 85 01 lda $02F8 ; CPU:$D919 PRG:1919 AD F8 02 - sta Zp00 ; CPU:$D91C PRG:191C 85 00 - jsr $D958 ; CPU:$D91E PRG:191E 20 58 D9 + sta PtrLo ; CPU:$D91C PRG:191C 85 00 + jsr SubCD958 ; CPU:$D91E PRG:191E 20 58 D9 cmp #$10 ; CPU:$D921 PRG:1921 C9 10 - bcs Label_D92A ; CPU:$D923 PRG:1923 B0 05 + bcs Sub_8764_OnCarrySet_D92A ; CPU:$D923 PRG:1923 B0 05 ldx #$0B ; CPU:$D925 PRG:1925 A2 0B - jmp $D93E ; CPU:$D927 PRG:1927 4C 3E D9 + jmp SubCD93E ; CPU:$D927 PRG:1927 4C 3E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D92A +; Routine: Sub_8764_OnCarrySet_D92A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5158,13 +5162,13 @@ Label_D904: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D92A: +Sub_8764_OnCarrySet_D92A: cmp #$18 ; CPU:$D92A PRG:192A C9 18 - bcs Label_D933 ; CPU:$D92C PRG:192C B0 05 + bcs Sub_8764_OnCarrySet_D933 ; CPU:$D92C PRG:192C B0 05 ldx #$09 ; CPU:$D92E PRG:192E A2 09 - jmp $D93E ; CPU:$D930 PRG:1930 4C 3E D9 + jmp SubCD93E ; CPU:$D930 PRG:1930 4C 3E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D933 +; Routine: Sub_8764_OnCarrySet_D933 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5172,13 +5176,13 @@ Label_D92A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D933: +Sub_8764_OnCarrySet_D933: cmp #$20 ; CPU:$D933 PRG:1933 C9 20 - bcs Label_D93C ; CPU:$D935 PRG:1935 B0 05 + bcs Sub_8764_OnCarrySet_D93C ; CPU:$D935 PRG:1935 B0 05 ldx #$07 ; CPU:$D937 PRG:1937 A2 07 - jmp $D93E ; CPU:$D939 PRG:1939 4C 3E D9 + jmp SubCD93E ; CPU:$D939 PRG:1939 4C 3E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D93C +; Routine: Sub_8764_OnCarrySet_D93C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5186,10 +5190,10 @@ Label_D933: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D93C: +Sub_8764_OnCarrySet_D93C: ldx #$04 ; CPU:$D93C PRG:193C A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D93E +; Routine: SubCD93E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5197,18 +5201,18 @@ Label_D93C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D93E: - jsr $D4A1 ; CPU:$D93E PRG:193E 20 A1 D4 +SubCD93E: + jsr SubCD4A1 ; CPU:$D93E PRG:193E 20 A1 D4 lda #$40 ; CPU:$D941 PRG:1941 A9 40 sta ZpFF ; CPU:$D943 PRG:1943 85 FF lda #$00 ; CPU:$D945 PRG:1945 A9 00 sta Zp7B ; CPU:$D947 PRG:1947 85 7B pla ; CPU:$D949 PRG:1949 68 tax ; CPU:$D94A PRG:194A AA - jsr $E346 ; CPU:$D94B PRG:194B 20 46 E3 + jsr SubCE346 ; CPU:$D94B PRG:194B 20 46 E3 rts ; CPU:$D94E PRG:194E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D94F +; Routine: Sub_8764_OnNonzero_D94F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5216,14 +5220,14 @@ Label_D93E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D94F: +Sub_8764_OnNonzero_D94F: lda #$01 ; CPU:$D94F PRG:194F A9 01 sta Zp71 ; CPU:$D951 PRG:1951 85 71 lda #$01 ; CPU:$D953 PRG:1953 A9 01 sta ZpFF ; CPU:$D955 PRG:1955 85 FF rts ; CPU:$D957 PRG:1957 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D958 +; Routine: SubCD958 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5231,13 +5235,13 @@ Label_D94F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D958: - lda Zp00 ; CPU:$D958 PRG:1958 A5 00 +SubCD958: + lda PtrLo ; CPU:$D958 PRG:1958 A5 00 sec ; CPU:$D95A PRG:195A 38 - sbc Zp01 ; CPU:$D95B PRG:195B E5 01 + sbc PtrHi ; CPU:$D95B PRG:195B E5 01 rts ; CPU:$D95D PRG:195D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D95E +; Routine: SubCD95E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5245,17 +5249,17 @@ Label_D958: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D95E: +SubCD95E: lda ZpE5 ; CPU:$D95E PRG:195E A5 E5 - beq Label_D988 ; CPU:$D960 PRG:1960 F0 26 + beq Sub_8764_OnZero_D988 ; CPU:$D960 PRG:1960 F0 26 lda #$98 ; CPU:$D962 PRG:1962 A9 98 - sta Zp02 ; CPU:$D964 PRG:1964 85 02 + sta Ptr2Lo ; CPU:$D964 PRG:1964 85 02 lda #$C1 ; CPU:$D966 PRG:1966 A9 C1 - sta Zp03 ; CPU:$D968 PRG:1968 85 03 + sta Ptr2Hi ; CPU:$D968 PRG:1968 85 03 ldx #$00 ; CPU:$D96A PRG:196A A2 00 ldy #$00 ; CPU:$D96C PRG:196C A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D96E +; Routine: Sub_8764_OnNegative_D96E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5263,23 +5267,23 @@ Label_D95E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D96E: +Sub_8764_OnNegative_D96E: stx Zp0D ; CPU:$D96E PRG:196E 86 0D lda $024B,y ; CPU:$D970 PRG:1970 B9 4B 02 - sta Zp00 ; CPU:$D973 PRG:1973 85 00 + sta PtrLo ; CPU:$D973 PRG:1973 85 00 lda $0248,y ; CPU:$D975 PRG:1975 B9 48 02 - sta Zp01 ; CPU:$D978 PRG:1978 85 01 - jsr $EE72 ; CPU:$D97A PRG:197A 20 72 EE - bne Label_D989 ; CPU:$D97D PRG:197D D0 0A + sta PtrHi ; CPU:$D978 PRG:1978 85 01 + jsr SubCEE72 ; CPU:$D97A PRG:197A 20 72 EE + bne Sub_8764_OnNonzero_D989 ; CPU:$D97D PRG:197D D0 0A inx ; CPU:$D97F PRG:197F E8 iny ; CPU:$D980 PRG:1980 C8 iny ; CPU:$D981 PRG:1981 C8 iny ; CPU:$D982 PRG:1982 C8 iny ; CPU:$D983 PRG:1983 C8 cpx #$02 ; CPU:$D984 PRG:1984 E0 02 - bmi Label_D96E ; CPU:$D986 PRG:1986 30 E6 + bmi Sub_8764_OnNegative_D96E ; CPU:$D986 PRG:1986 30 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D988 +; Routine: Sub_8764_OnZero_D988 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5287,10 +5291,10 @@ Label_D96E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D988: +Sub_8764_OnZero_D988: rts ; CPU:$D988 PRG:1988 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D989 +; Routine: Sub_8764_OnNonzero_D989 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5298,9 +5302,9 @@ Label_D988: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D989: +Sub_8764_OnNonzero_D989: lda ZpCE ; CPU:$D989 PRG:1989 A5 CE - bne Label_D9BE ; CPU:$D98B PRG:198B D0 31 + bne Sub_8764_OnNonzero_D9BE ; CPU:$D98B PRG:198B D0 31 ldx Zp0D ; CPU:$D98D PRG:198D A6 0D lda Zp7C ; CPU:$D98F PRG:198F A5 7C ora $C04A,x ; CPU:$D991 PRG:1991 1D 4A C0 @@ -5310,21 +5314,21 @@ Label_D989: lda $0248,y ; CPU:$D99B PRG:199B B9 48 02 sta Zp06 ; CPU:$D99E PRG:199E 85 06 ldx #$04 ; CPU:$D9A0 PRG:19A0 A2 04 - jsr $D4A1 ; CPU:$D9A2 PRG:19A2 20 A1 D4 + jsr SubCD4A1 ; CPU:$D9A2 PRG:19A2 20 A1 D4 lda #$40 ; CPU:$D9A5 PRG:19A5 A9 40 sta ZpFF ; CPU:$D9A7 PRG:19A7 85 FF lda #$00 ; CPU:$D9A9 PRG:19A9 A9 00 sta Zp7B ; CPU:$D9AB PRG:19AB 85 7B - jsr $E1EF ; CPU:$D9AD PRG:19AD 20 EF E1 - jsr $CFA7 ; CPU:$D9B0 PRG:19B0 20 A7 CF + jsr SubCE1EF ; CPU:$D9AD PRG:19AD 20 EF E1 + jsr SubCCFA7 ; CPU:$D9B0 PRG:19B0 20 A7 CF lda #$02 ; CPU:$D9B3 PRG:19B3 A9 02 - sta Zp77 ; CPU:$D9B5 PRG:19B5 85 77 + sta GameplaySubState ; CPU:$D9B5 PRG:19B5 85 77 sta Zp76 ; CPU:$D9B7 PRG:19B7 85 76 lda #$00 ; CPU:$D9B9 PRG:19B9 A9 00 sta ZpAE ; CPU:$D9BB PRG:19BB 85 AE rts ; CPU:$D9BD PRG:19BD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9BE +; Routine: Sub_8764_OnNonzero_D9BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5332,14 +5336,14 @@ Label_D989: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9BE: +Sub_8764_OnNonzero_D9BE: lda #$01 ; CPU:$D9BE PRG:19BE A9 01 sta Zp71 ; CPU:$D9C0 PRG:19C0 85 71 lda #$01 ; CPU:$D9C2 PRG:19C2 A9 01 sta ZpFF ; CPU:$D9C4 PRG:19C4 85 FF rts ; CPU:$D9C6 PRG:19C6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9C7 +; Routine: SubCD9C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5347,25 +5351,25 @@ Label_D9BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9C7: +SubCD9C7: lda ZpE9 ; CPU:$D9C7 PRG:19C7 A5 E9 - beq Label_D9FD ; CPU:$D9C9 PRG:19C9 F0 32 + beq Sub_8764_OnZero_D9FD ; CPU:$D9C9 PRG:19C9 F0 32 lda #$94 ; CPU:$D9CB PRG:19CB A9 94 - sta Zp02 ; CPU:$D9CD PRG:19CD 85 02 + sta Ptr2Lo ; CPU:$D9CD PRG:19CD 85 02 lda #$C1 ; CPU:$D9CF PRG:19CF A9 C1 - sta Zp03 ; CPU:$D9D1 PRG:19D1 85 03 + sta Ptr2Hi ; CPU:$D9D1 PRG:19D1 85 03 lda $0263 ; CPU:$D9D3 PRG:19D3 AD 63 02 - sta Zp00 ; CPU:$D9D6 PRG:19D6 85 00 + sta PtrLo ; CPU:$D9D6 PRG:19D6 85 00 sta Zp05 ; CPU:$D9D8 PRG:19D8 85 05 lda $0260 ; CPU:$D9DA PRG:19DA AD 60 02 - sta Zp01 ; CPU:$D9DD PRG:19DD 85 01 + sta PtrHi ; CPU:$D9DD PRG:19DD 85 01 sta Zp06 ; CPU:$D9DF PRG:19DF 85 06 - jsr $EE72 ; CPU:$D9E1 PRG:19E1 20 72 EE - beq Label_D9FD ; CPU:$D9E4 PRG:19E4 F0 17 + jsr SubCEE72 ; CPU:$D9E1 PRG:19E1 20 72 EE + beq Sub_8764_OnZero_D9FD ; CPU:$D9E4 PRG:19E4 F0 17 lda ZpCE ; CPU:$D9E6 PRG:19E6 A5 CE - bne Label_D9FE ; CPU:$D9E8 PRG:19E8 D0 14 + bne Sub_8764_OnNonzero_D9FE ; CPU:$D9E8 PRG:19E8 D0 14 ldx #$03 ; CPU:$D9EA PRG:19EA A2 03 - jsr $D4A1 ; CPU:$D9EC PRG:19EC 20 A1 D4 + jsr SubCD4A1 ; CPU:$D9EC PRG:19EC 20 A1 D4 lda #$40 ; CPU:$D9EF PRG:19EF A9 40 sta ZpFF ; CPU:$D9F1 PRG:19F1 85 FF lda #$00 ; CPU:$D9F3 PRG:19F3 A9 00 @@ -5373,7 +5377,7 @@ Label_D9C7: sta $0263 ; CPU:$D9F8 PRG:19F8 8D 63 02 sta Zp7B ; CPU:$D9FB PRG:19FB 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_D9FD +; Routine: Sub_8764_OnZero_D9FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5381,10 +5385,10 @@ Label_D9C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FD: +Sub_8764_OnZero_D9FD: rts ; CPU:$D9FD PRG:19FD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9FE +; Routine: Sub_8764_OnNonzero_D9FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5392,14 +5396,14 @@ Label_D9FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FE: +Sub_8764_OnNonzero_D9FE: lda #$01 ; CPU:$D9FE PRG:19FE A9 01 sta Zp71 ; CPU:$DA00 PRG:1A00 85 71 lda #$01 ; CPU:$DA02 PRG:1A02 A9 01 sta ZpFF ; CPU:$DA04 PRG:1A04 85 FF rts ; CPU:$DA06 PRG:1A06 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA07 +; Routine: SubCDA07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5407,39 +5411,39 @@ Label_D9FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA07: +SubCDA07: lda ZpEB ; CPU:$DA07 PRG:1A07 A5 EB - beq Label_DA4A ; CPU:$DA09 PRG:1A09 F0 3F + beq Sub_8764_OnZero_DA4A ; CPU:$DA09 PRG:1A09 F0 3F lda #$88 ; CPU:$DA0B PRG:1A0B A9 88 - sta Zp02 ; CPU:$DA0D PRG:1A0D 85 02 + sta Ptr2Lo ; CPU:$DA0D PRG:1A0D 85 02 lda #$C1 ; CPU:$DA0F PRG:1A0F A9 C1 - sta Zp03 ; CPU:$DA11 PRG:1A11 85 03 + sta Ptr2Hi ; CPU:$DA11 PRG:1A11 85 03 lda $0267 ; CPU:$DA13 PRG:1A13 AD 67 02 - sta Zp00 ; CPU:$DA16 PRG:1A16 85 00 + sta PtrLo ; CPU:$DA16 PRG:1A16 85 00 sta Zp05 ; CPU:$DA18 PRG:1A18 85 05 lda $0264 ; CPU:$DA1A PRG:1A1A AD 64 02 - sta Zp01 ; CPU:$DA1D PRG:1A1D 85 01 + sta PtrHi ; CPU:$DA1D PRG:1A1D 85 01 sta Zp06 ; CPU:$DA1F PRG:1A1F 85 06 - jsr $EE72 ; CPU:$DA21 PRG:1A21 20 72 EE - beq Label_DA4A ; CPU:$DA24 PRG:1A24 F0 24 + jsr SubCEE72 ; CPU:$DA21 PRG:1A21 20 72 EE + beq Sub_8764_OnZero_DA4A ; CPU:$DA24 PRG:1A24 F0 24 lda ZpCE ; CPU:$DA26 PRG:1A26 A5 CE - bne Label_DA4B ; CPU:$DA28 PRG:1A28 D0 21 + bne Sub_8764_OnNonzero_DA4B ; CPU:$DA28 PRG:1A28 D0 21 ldx #$05 ; CPU:$DA2A PRG:1A2A A2 05 - jsr $D4A1 ; CPU:$DA2C PRG:1A2C 20 A1 D4 + jsr SubCD4A1 ; CPU:$DA2C PRG:1A2C 20 A1 D4 lda #$40 ; CPU:$DA2F PRG:1A2F A9 40 sta ZpFF ; CPU:$DA31 PRG:1A31 85 FF lda #$00 ; CPU:$DA33 PRG:1A33 A9 00 sta $0264 ; CPU:$DA35 PRG:1A35 8D 64 02 sta $0267 ; CPU:$DA38 PRG:1A38 8D 67 02 sta Zp7B ; CPU:$DA3B PRG:1A3B 85 7B - jsr $D035 ; CPU:$DA3D PRG:1A3D 20 35 D0 + jsr SubCD035 ; CPU:$DA3D PRG:1A3D 20 35 D0 lda #$02 ; CPU:$DA40 PRG:1A40 A9 02 - sta Zp77 ; CPU:$DA42 PRG:1A42 85 77 + sta GameplaySubState ; CPU:$DA42 PRG:1A42 85 77 sta Zp76 ; CPU:$DA44 PRG:1A44 85 76 lda #$00 ; CPU:$DA46 PRG:1A46 A9 00 sta ZpAE ; CPU:$DA48 PRG:1A48 85 AE ; ----------------------------------------------------------------------------- -; Routine: Label_DA4A +; Routine: Sub_8764_OnZero_DA4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5447,10 +5451,10 @@ Label_DA07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA4A: +Sub_8764_OnZero_DA4A: rts ; CPU:$DA4A PRG:1A4A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA4B +; Routine: Sub_8764_OnNonzero_DA4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5458,14 +5462,14 @@ Label_DA4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA4B: +Sub_8764_OnNonzero_DA4B: lda #$01 ; CPU:$DA4B PRG:1A4B A9 01 sta Zp71 ; CPU:$DA4D PRG:1A4D 85 71 lda #$01 ; CPU:$DA4F PRG:1A4F A9 01 sta ZpFF ; CPU:$DA51 PRG:1A51 85 FF rts ; CPU:$DA53 PRG:1A53 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA54 +; Routine: SubCDA54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5473,25 +5477,25 @@ Label_DA4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA54: +SubCDA54: lda ZpEA ; CPU:$DA54 PRG:1A54 A5 EA - beq Label_DA90 ; CPU:$DA56 PRG:1A56 F0 38 + beq Sub_8764_OnZero_DA90 ; CPU:$DA56 PRG:1A56 F0 38 lda #$84 ; CPU:$DA58 PRG:1A58 A9 84 - sta Zp02 ; CPU:$DA5A PRG:1A5A 85 02 + sta Ptr2Lo ; CPU:$DA5A PRG:1A5A 85 02 lda #$C1 ; CPU:$DA5C PRG:1A5C A9 C1 - sta Zp03 ; CPU:$DA5E PRG:1A5E 85 03 + sta Ptr2Hi ; CPU:$DA5E PRG:1A5E 85 03 lda $026B ; CPU:$DA60 PRG:1A60 AD 6B 02 - sta Zp00 ; CPU:$DA63 PRG:1A63 85 00 + sta PtrLo ; CPU:$DA63 PRG:1A63 85 00 sta Zp05 ; CPU:$DA65 PRG:1A65 85 05 lda $0268 ; CPU:$DA67 PRG:1A67 AD 68 02 - sta Zp01 ; CPU:$DA6A PRG:1A6A 85 01 + sta PtrHi ; CPU:$DA6A PRG:1A6A 85 01 sta Zp06 ; CPU:$DA6C PRG:1A6C 85 06 - jsr $EE72 ; CPU:$DA6E PRG:1A6E 20 72 EE - beq Label_DA90 ; CPU:$DA71 PRG:1A71 F0 1D + jsr SubCEE72 ; CPU:$DA6E PRG:1A6E 20 72 EE + beq Sub_8764_OnZero_DA90 ; CPU:$DA71 PRG:1A71 F0 1D lda ZpCE ; CPU:$DA73 PRG:1A73 A5 CE - bne Label_DA91 ; CPU:$DA75 PRG:1A75 D0 1A + bne Sub_8764_OnNonzero_DA91 ; CPU:$DA75 PRG:1A75 D0 1A ldx #$06 ; CPU:$DA77 PRG:1A77 A2 06 - jsr $D4A1 ; CPU:$DA79 PRG:1A79 20 A1 D4 + jsr SubCD4A1 ; CPU:$DA79 PRG:1A79 20 A1 D4 lda #$40 ; CPU:$DA7C PRG:1A7C A9 40 sta ZpFF ; CPU:$DA7E PRG:1A7E 85 FF lda #$00 ; CPU:$DA80 PRG:1A80 A9 00 @@ -5502,7 +5506,7 @@ Label_DA54: and Zp8D ; CPU:$DA8C PRG:1A8C 25 8D sta Zp8D ; CPU:$DA8E PRG:1A8E 85 8D ; ----------------------------------------------------------------------------- -; Routine: Label_DA90 +; Routine: Sub_8764_OnZero_DA90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5510,10 +5514,10 @@ Label_DA54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA90: +Sub_8764_OnZero_DA90: rts ; CPU:$DA90 PRG:1A90 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA91 +; Routine: Sub_8764_OnNonzero_DA91 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5521,14 +5525,14 @@ Label_DA90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA91: +Sub_8764_OnNonzero_DA91: lda #$01 ; CPU:$DA91 PRG:1A91 A9 01 sta Zp71 ; CPU:$DA93 PRG:1A93 85 71 lda #$01 ; CPU:$DA95 PRG:1A95 A9 01 sta ZpFF ; CPU:$DA97 PRG:1A97 85 FF rts ; CPU:$DA99 PRG:1A99 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA9A +; Routine: SubCDA9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5536,10 +5540,10 @@ Label_DA91: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA9A: +SubCDA9A: ldx #$00 ; CPU:$DA9A PRG:1A9A A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DA9C +; Routine: SubCDA9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5547,18 +5551,18 @@ Label_DA9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA9C: +SubCDA9C: lda Zp74 ; CPU:$DA9C PRG:1A9C A5 74 and #$08 ; CPU:$DA9E PRG:1A9E 29 08 - beq Label_DAB0 ; CPU:$DAA0 PRG:1AA0 F0 0E + beq Sub_8764_OnZero_DAB0 ; CPU:$DAA0 PRG:1AA0 F0 0E lda $02FB ; CPU:$DAA2 PRG:1AA2 AD FB 02 clc ; CPU:$DAA5 PRG:1AA5 18 adc #$04 ; CPU:$DAA6 PRG:1AA6 69 04 - sta Zp00 ; CPU:$DAA8 PRG:1AA8 85 00 + sta PtrLo ; CPU:$DAA8 PRG:1AA8 85 00 lda $02F8 ; CPU:$DAAA PRG:1AAA AD F8 02 - jmp $DAEF ; CPU:$DAAD PRG:1AAD 4C EF DA + jmp SubCDAEF ; CPU:$DAAD PRG:1AAD 4C EF DA ; ----------------------------------------------------------------------------- -; Routine: Label_DAB0 +; Routine: Sub_8764_OnZero_DAB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5566,20 +5570,20 @@ Label_DA9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAB0: +Sub_8764_OnZero_DAB0: lda Zp74 ; CPU:$DAB0 PRG:1AB0 A5 74 and #$04 ; CPU:$DAB2 PRG:1AB2 29 04 - beq Label_DAC7 ; CPU:$DAB4 PRG:1AB4 F0 11 + beq Sub_8764_OnZero_DAC7 ; CPU:$DAB4 PRG:1AB4 F0 11 lda $02FB ; CPU:$DAB6 PRG:1AB6 AD FB 02 clc ; CPU:$DAB9 PRG:1AB9 18 adc #$04 ; CPU:$DABA PRG:1ABA 69 04 - sta Zp00 ; CPU:$DABC PRG:1ABC 85 00 + sta PtrLo ; CPU:$DABC PRG:1ABC 85 00 lda $02F8 ; CPU:$DABE PRG:1ABE AD F8 02 clc ; CPU:$DAC1 PRG:1AC1 18 adc #$08 ; CPU:$DAC2 PRG:1AC2 69 08 - jmp $DAEF ; CPU:$DAC4 PRG:1AC4 4C EF DA + jmp SubCDAEF ; CPU:$DAC4 PRG:1AC4 4C EF DA ; ----------------------------------------------------------------------------- -; Routine: Label_DAC7 +; Routine: Sub_8764_OnZero_DAC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5587,18 +5591,18 @@ Label_DAB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC7: +Sub_8764_OnZero_DAC7: lda Zp74 ; CPU:$DAC7 PRG:1AC7 A5 74 and #$02 ; CPU:$DAC9 PRG:1AC9 29 02 - beq Label_DADB ; CPU:$DACB PRG:1ACB F0 0E + beq Sub_8764_OnZero_DADB ; CPU:$DACB PRG:1ACB F0 0E lda $02FB ; CPU:$DACD PRG:1ACD AD FB 02 - sta Zp00 ; CPU:$DAD0 PRG:1AD0 85 00 + sta PtrLo ; CPU:$DAD0 PRG:1AD0 85 00 lda $02F8 ; CPU:$DAD2 PRG:1AD2 AD F8 02 clc ; CPU:$DAD5 PRG:1AD5 18 adc #$04 ; CPU:$DAD6 PRG:1AD6 69 04 - jmp $DAEF ; CPU:$DAD8 PRG:1AD8 4C EF DA + jmp SubCDAEF ; CPU:$DAD8 PRG:1AD8 4C EF DA ; ----------------------------------------------------------------------------- -; Routine: Label_DADB +; Routine: Sub_8764_OnZero_DADB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5606,19 +5610,19 @@ Label_DAC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DADB: +Sub_8764_OnZero_DADB: lda Zp74 ; CPU:$DADB PRG:1ADB A5 74 and #$01 ; CPU:$DADD PRG:1ADD 29 01 - beq Label_DAEF ; CPU:$DADF PRG:1ADF F0 0E + beq SubCDAEF ; CPU:$DADF PRG:1ADF F0 0E lda $02FB ; CPU:$DAE1 PRG:1AE1 AD FB 02 clc ; CPU:$DAE4 PRG:1AE4 18 adc #$08 ; CPU:$DAE5 PRG:1AE5 69 08 - sta Zp00 ; CPU:$DAE7 PRG:1AE7 85 00 + sta PtrLo ; CPU:$DAE7 PRG:1AE7 85 00 lda $02F8 ; CPU:$DAE9 PRG:1AE9 AD F8 02 clc ; CPU:$DAEC PRG:1AEC 18 adc #$04 ; CPU:$DAED PRG:1AED 69 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DAEF +; Routine: SubCDAEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5626,20 +5630,20 @@ Label_DADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAEF: - sta Zp01 ; CPU:$DAEF PRG:1AEF 85 01 +SubCDAEF: + sta PtrHi ; CPU:$DAEF PRG:1AEF 85 01 lda Zp74 ; CPU:$DAF1 PRG:1AF1 A5 74 and #$03 ; CPU:$DAF3 PRG:1AF3 29 03 tay ; CPU:$DAF5 PRG:1AF5 A8 cpx #$01 ; CPU:$DAF6 PRG:1AF6 E0 01 - bne Label_DB01 ; CPU:$DAF8 PRG:1AF8 D0 07 + bne Sub_8764_OnNonzero_DB01 ; CPU:$DAF8 PRG:1AF8 D0 07 lda Zp74 ; CPU:$DAFA PRG:1AFA A5 74 and #$0C ; CPU:$DAFC PRG:1AFC 29 0C tay ; CPU:$DAFE PRG:1AFE A8 lsr a ; CPU:$DAFF PRG:1AFF 4A lsr a ; CPU:$DB00 PRG:1B00 4A ; ----------------------------------------------------------------------------- -; Routine: Label_DB01 +; Routine: Sub_8764_OnNonzero_DB01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5647,18 +5651,18 @@ Label_DAEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB01: +Sub_8764_OnNonzero_DB01: and #$03 ; CPU:$DB01 PRG:1B01 29 03 - beq Label_DB14 ; CPU:$DB03 PRG:1B03 F0 0F - jsr $DD81 ; CPU:$DB05 PRG:1B05 20 81 DD - jsr $DDD2 ; CPU:$DB08 PRG:1B08 20 D2 DD + beq Sub_8764_OnZero_DB14 ; CPU:$DB03 PRG:1B03 F0 0F + jsr SubCDD81 ; CPU:$DB05 PRG:1B05 20 81 DD + jsr SubCDDD2 ; CPU:$DB08 PRG:1B08 20 D2 DD and #$07 ; CPU:$DB0B PRG:1B0B 29 07 - beq Label_DB14 ; CPU:$DB0D PRG:1B0D F0 05 + beq Sub_8764_OnZero_DB14 ; CPU:$DB0D PRG:1B0D F0 05 tya ; CPU:$DB0F PRG:1B0F 98 ora Zp7A ; CPU:$DB10 PRG:1B10 05 7A sta Zp7A ; CPU:$DB12 PRG:1B12 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_DB14 +; Routine: Sub_8764_OnZero_DB14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5666,13 +5670,13 @@ Label_DB01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB14: +Sub_8764_OnZero_DB14: inx ; CPU:$DB14 PRG:1B14 E8 cpx #$02 ; CPU:$DB15 PRG:1B15 E0 02 - bpl Label_DB1C ; CPU:$DB17 PRG:1B17 10 03 - jmp $DA9C ; CPU:$DB19 PRG:1B19 4C 9C DA + bpl Sub_8764_OnNonnegative_DB1C ; CPU:$DB17 PRG:1B17 10 03 + jmp SubCDA9C ; CPU:$DB19 PRG:1B19 4C 9C DA ; ----------------------------------------------------------------------------- -; Routine: Label_DB1C +; Routine: Sub_8764_OnNonnegative_DB1C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5680,10 +5684,10 @@ Label_DB14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB1C: +Sub_8764_OnNonnegative_DB1C: rts ; CPU:$DB1C PRG:1B1C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB1D +; Routine: SubCDB1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5691,11 +5695,11 @@ Label_DB1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB1D: +SubCDB1D: ldx #$00 ; CPU:$DB1D PRG:1B1D A2 00 ldy #$00 ; CPU:$DB1F PRG:1B1F A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DB21 +; Routine: Sub_8764_OnNegative_DB21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5703,28 +5707,28 @@ Label_DB1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB21: +Sub_8764_OnNegative_DB21: lda Zp98,x ; CPU:$DB21 PRG:1B21 B5 98 cmp #$08 ; CPU:$DB23 PRG:1B23 C9 08 - bmi Label_DB64 ; CPU:$DB25 PRG:1B25 30 3D + bmi Sub_8764_JoinBranchPaths_DB64 ; CPU:$DB25 PRG:1B25 30 3D lda #$00 ; CPU:$DB27 PRG:1B27 A9 00 sta Zp98,x ; CPU:$DB29 PRG:1B29 95 98 lda ZpA0,x ; CPU:$DB2B PRG:1B2B B5 A0 and #$F0 ; CPU:$DB2D PRG:1B2D 29 F0 - bne Label_DB64 ; CPU:$DB2F PRG:1B2F D0 33 + bne Sub_8764_JoinBranchPaths_DB64 ; CPU:$DB2F PRG:1B2F D0 33 lda Zp90,x ; CPU:$DB31 PRG:1B31 B5 90 and #$03 ; CPU:$DB33 PRG:1B33 29 03 sta ZpA0,x ; CPU:$DB35 PRG:1B35 95 A0 lda Zp90,x ; CPU:$DB37 PRG:1B37 B5 90 and #$80 ; CPU:$DB39 PRG:1B39 29 80 - beq Label_DB64 ; CPU:$DB3B PRG:1B3B F0 27 - jsr $DB6E ; CPU:$DB3D PRG:1B3D 20 6E DB - bne Label_DB48 ; CPU:$DB40 PRG:1B40 D0 06 + beq Sub_8764_JoinBranchPaths_DB64 ; CPU:$DB3B PRG:1B3B F0 27 + jsr SubCDB6E ; CPU:$DB3D PRG:1B3D 20 6E DB + bne Sub_8764_OnNonzero_DB48 ; CPU:$DB40 PRG:1B40 D0 06 lda Zp90,x ; CPU:$DB42 PRG:1B42 B5 90 and #$20 ; CPU:$DB44 PRG:1B44 29 20 - beq Label_DB64 ; CPU:$DB46 PRG:1B46 F0 1C + beq Sub_8764_JoinBranchPaths_DB64 ; CPU:$DB46 PRG:1B46 F0 1C ; ----------------------------------------------------------------------------- -; Routine: Label_DB48 +; Routine: Sub_8764_OnNonzero_DB48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5732,7 +5736,7 @@ Label_DB21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB48: +Sub_8764_OnNonzero_DB48: lda Zp90,x ; CPU:$DB48 PRG:1B48 B5 90 and #$0C ; CPU:$DB4A PRG:1B4A 29 0C sta ZpA0,x ; CPU:$DB4C PRG:1B4C 95 A0 @@ -5750,7 +5754,7 @@ Label_DB48: and #$DF ; CPU:$DB60 PRG:1B60 29 DF sta Zp90,x ; CPU:$DB62 PRG:1B62 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_DB64 +; Routine: Sub_8764_JoinBranchPaths_DB64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5758,17 +5762,17 @@ Label_DB48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB64: +Sub_8764_JoinBranchPaths_DB64: inx ; CPU:$DB64 PRG:1B64 E8 iny ; CPU:$DB65 PRG:1B65 C8 iny ; CPU:$DB66 PRG:1B66 C8 iny ; CPU:$DB67 PRG:1B67 C8 iny ; CPU:$DB68 PRG:1B68 C8 cpx #$08 ; CPU:$DB69 PRG:1B69 E0 08 - bmi Label_DB21 ; CPU:$DB6B PRG:1B6B 30 B4 + bmi Sub_8764_OnNegative_DB21 ; CPU:$DB6B PRG:1B6B 30 B4 rts ; CPU:$DB6D PRG:1B6D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB6E +; Routine: SubCDB6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5776,23 +5780,23 @@ Label_DB64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB6E: +SubCDB6E: lda $0213,y ; CPU:$DB6E PRG:1B6E B9 13 02 - sta Zp00 ; CPU:$DB71 PRG:1B71 85 00 + sta PtrLo ; CPU:$DB71 PRG:1B71 85 00 lda ZpD9,x ; CPU:$DB73 PRG:1B73 B5 D9 - sta Zp01 ; CPU:$DB75 PRG:1B75 85 01 - jsr $DD81 ; CPU:$DB77 PRG:1B77 20 81 DD + sta PtrHi ; CPU:$DB75 PRG:1B75 85 01 + jsr SubCDD81 ; CPU:$DB77 PRG:1B77 20 81 DD lda Zp79 ; CPU:$DB7A PRG:1B7A A5 79 cmp #$16 ; CPU:$DB7C PRG:1B7C C9 16 - bne Label_DB91 ; CPU:$DB7E PRG:1B7E D0 11 + bne Sub_8764_OnNonzero_DB91 ; CPU:$DB7E PRG:1B7E D0 11 lda Zp90,x ; CPU:$DB80 PRG:1B80 B5 90 and #$80 ; CPU:$DB82 PRG:1B82 29 80 - beq Label_DB8C ; CPU:$DB84 PRG:1B84 F0 06 + beq Sub_8764_OnZero_DB8C ; CPU:$DB84 PRG:1B84 F0 06 lda Zp90,x ; CPU:$DB86 PRG:1B86 B5 90 ora #$10 ; CPU:$DB88 PRG:1B88 09 10 sta Zp90,x ; CPU:$DB8A PRG:1B8A 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_DB8C +; Routine: Sub_8764_OnZero_DB8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5800,11 +5804,11 @@ Label_DB6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB8C: +Sub_8764_OnZero_DB8C: lda #$08 ; CPU:$DB8C PRG:1B8C A9 08 - jmp $DB97 ; CPU:$DB8E PRG:1B8E 4C 97 DB + jmp SubCDB97 ; CPU:$DB8E PRG:1B8E 4C 97 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB91 +; Routine: Sub_8764_OnNonzero_DB91 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5812,12 +5816,12 @@ Label_DB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB91: +Sub_8764_OnNonzero_DB91: cmp #$11 ; CPU:$DB91 PRG:1B91 C9 11 - bne Label_DBA1 ; CPU:$DB93 PRG:1B93 D0 0C + bne Sub_8764_OnNonzero_DBA1 ; CPU:$DB93 PRG:1B93 D0 0C lda #$04 ; CPU:$DB95 PRG:1B95 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DB97 +; Routine: SubCDB97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5825,14 +5829,14 @@ Label_DB91: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB97: +SubCDB97: sta Zp07 ; CPU:$DB97 PRG:1B97 85 07 lda Zp90,x ; CPU:$DB99 PRG:1B99 B5 90 and #$F3 ; CPU:$DB9B PRG:1B9B 29 F3 ora Zp07 ; CPU:$DB9D PRG:1B9D 05 07 sta Zp90,x ; CPU:$DB9F PRG:1B9F 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_DBA1 +; Routine: Sub_8764_OnNonzero_DBA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5840,14 +5844,14 @@ Label_DB97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA1: - jsr $DDD2 ; CPU:$DBA1 PRG:1BA1 20 D2 DD +Sub_8764_OnNonzero_DBA1: + jsr SubCDDD2 ; CPU:$DBA1 PRG:1BA1 20 D2 DD and #$07 ; CPU:$DBA4 PRG:1BA4 29 07 - beq Label_DBAC ; CPU:$DBA6 PRG:1BA6 F0 04 + beq Sub_8764_OnZero_DBAC ; CPU:$DBA6 PRG:1BA6 F0 04 cmp #$05 ; CPU:$DBA8 PRG:1BA8 C9 05 - bmi Label_DBD3 ; CPU:$DBAA PRG:1BAA 30 27 + bmi Sub_8764_JoinBranchPaths_DBD3 ; CPU:$DBAA PRG:1BAA 30 27 ; ----------------------------------------------------------------------------- -; Routine: Label_DBAC +; Routine: Sub_8764_OnZero_DBAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5855,18 +5859,18 @@ Label_DBA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBAC: +Sub_8764_OnZero_DBAC: lda Zp78 ; CPU:$DBAC PRG:1BAC A5 78 - beq Label_DBBF ; CPU:$DBAE PRG:1BAE F0 0F + beq Sub_8764_OnZero_DBBF ; CPU:$DBAE PRG:1BAE F0 0F cmp #$15 ; CPU:$DBB0 PRG:1BB0 C9 15 - beq Label_DBBF ; CPU:$DBB2 PRG:1BB2 F0 0B + beq Sub_8764_OnZero_DBBF ; CPU:$DBB2 PRG:1BB2 F0 0B lda ZpA0,x ; CPU:$DBB4 PRG:1BB4 B5 A0 and #$01 ; CPU:$DBB6 PRG:1BB6 29 01 - beq Label_DBCA ; CPU:$DBB8 PRG:1BB8 F0 10 + beq Sub_8764_OnZero_DBCA ; CPU:$DBB8 PRG:1BB8 F0 10 inc Zp78 ; CPU:$DBBA PRG:1BBA E6 78 - jmp $DBCC ; CPU:$DBBC PRG:1BBC 4C CC DB + jmp SubCDBCC ; CPU:$DBBC PRG:1BBC 4C CC DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBBF +; Routine: Sub_8764_OnZero_DBBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5874,15 +5878,15 @@ Label_DBAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBBF: +Sub_8764_OnZero_DBBF: lda Zp90,x ; CPU:$DBBF PRG:1BBF B5 90 and #$10 ; CPU:$DBC1 PRG:1BC1 29 10 - beq Label_DBD3 ; CPU:$DBC3 PRG:1BC3 F0 0E + beq Sub_8764_JoinBranchPaths_DBD3 ; CPU:$DBC3 PRG:1BC3 F0 0E lda #$01 ; CPU:$DBC5 PRG:1BC5 A9 01 sta ZpEC ; CPU:$DBC7 PRG:1BC7 85 EC rts ; CPU:$DBC9 PRG:1BC9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBCA +; Routine: Sub_8764_OnZero_DBCA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5890,10 +5894,10 @@ Label_DBBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBCA: +Sub_8764_OnZero_DBCA: dec Zp78 ; CPU:$DBCA PRG:1BCA C6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_DBCC +; Routine: SubCDBCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5901,12 +5905,12 @@ Label_DBCA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBCC: - jsr $DDD2 ; CPU:$DBCC PRG:1BCC 20 D2 DD +SubCDBCC: + jsr SubCDDD2 ; CPU:$DBCC PRG:1BCC 20 D2 DD and #$07 ; CPU:$DBCF PRG:1BCF 29 07 - beq Label_DBD6 ; CPU:$DBD1 PRG:1BD1 F0 03 + beq Sub_8764_OnZero_DBD6 ; CPU:$DBD1 PRG:1BD1 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DBD3 +; Routine: Sub_8764_JoinBranchPaths_DBD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5914,11 +5918,11 @@ Label_DBCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBD3: +Sub_8764_JoinBranchPaths_DBD3: lda #$01 ; CPU:$DBD3 PRG:1BD3 A9 01 rts ; CPU:$DBD5 PRG:1BD5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBD6 +; Routine: Sub_8764_OnZero_DBD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5926,11 +5930,11 @@ Label_DBD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBD6: +Sub_8764_OnZero_DBD6: lda #$00 ; CPU:$DBD6 PRG:1BD6 A9 00 rts ; CPU:$DBD8 PRG:1BD8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBD9 +; Routine: SubCDBD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5938,11 +5942,11 @@ Label_DBD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBD9: +SubCDBD9: ldx #$00 ; CPU:$DBD9 PRG:1BD9 A2 00 ldy #$00 ; CPU:$DBDB PRG:1BDB A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DBDD +; Routine: SubCDBDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5950,13 +5954,13 @@ Label_DBD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDD: +SubCDBDD: lda Zp98,x ; CPU:$DBDD PRG:1BDD B5 98 cmp #$08 ; CPU:$DBDF PRG:1BDF C9 08 - bpl Label_DBE6 ; CPU:$DBE1 PRG:1BE1 10 03 - jmp $DC3C ; CPU:$DBE3 PRG:1BE3 4C 3C DC + bpl Sub_8764_OnNonnegative_DBE6 ; CPU:$DBE1 PRG:1BE1 10 03 + jmp SubCDC3C ; CPU:$DBE3 PRG:1BE3 4C 3C DC ; ----------------------------------------------------------------------------- -; Routine: Label_DBE6 +; Routine: Sub_8764_OnNonnegative_DBE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5964,16 +5968,16 @@ Label_DBDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBE6: +Sub_8764_OnNonnegative_DBE6: lda Zp90,x ; CPU:$DBE6 PRG:1BE6 B5 90 and #$20 ; CPU:$DBE8 PRG:1BE8 29 20 - beq Label_DBF5 ; CPU:$DBEA PRG:1BEA F0 09 + beq Sub_8764_OnZero_DBF5 ; CPU:$DBEA PRG:1BEA F0 09 lda Zp90,x ; CPU:$DBEC PRG:1BEC B5 90 and #$DF ; CPU:$DBEE PRG:1BEE 29 DF sta Zp90,x ; CPU:$DBF0 PRG:1BF0 95 90 - jmp $DC3C ; CPU:$DBF2 PRG:1BF2 4C 3C DC + jmp SubCDC3C ; CPU:$DBF2 PRG:1BF2 4C 3C DC ; ----------------------------------------------------------------------------- -; Routine: Label_DBF5 +; Routine: Sub_8764_OnZero_DBF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5981,14 +5985,14 @@ Label_DBE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF5: +Sub_8764_OnZero_DBF5: lda Zp90,x ; CPU:$DBF5 PRG:1BF5 B5 90 and #$C0 ; CPU:$DBF7 PRG:1BF7 29 C0 cmp #$C0 ; CPU:$DBF9 PRG:1BF9 C9 C0 - beq Label_DC00 ; CPU:$DBFB PRG:1BFB F0 03 - jmp $DC3C ; CPU:$DBFD PRG:1BFD 4C 3C DC + beq Sub_8764_OnZero_DC00 ; CPU:$DBFB PRG:1BFB F0 03 + jmp SubCDC3C ; CPU:$DBFD PRG:1BFD 4C 3C DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC00 +; Routine: Sub_8764_OnZero_DC00 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5996,14 +6000,14 @@ Label_DBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC00: +Sub_8764_OnZero_DC00: lda ZpA0,x ; CPU:$DC00 PRG:1C00 B5 A0 - sta Zp01 ; CPU:$DC02 PRG:1C02 85 01 + sta PtrHi ; CPU:$DC02 PRG:1C02 85 01 and #$F0 ; CPU:$DC04 PRG:1C04 29 F0 - beq Label_DC0B ; CPU:$DC06 PRG:1C06 F0 03 - jmp $DC3C ; CPU:$DC08 PRG:1C08 4C 3C DC + beq Sub_8764_OnZero_DC0B ; CPU:$DC06 PRG:1C06 F0 03 + jmp SubCDC3C ; CPU:$DC08 PRG:1C08 4C 3C DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC0B +; Routine: Sub_8764_OnZero_DC0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6011,21 +6015,21 @@ Label_DC00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0B: +Sub_8764_OnZero_DC0B: lda $0213,y ; CPU:$DC0B PRG:1C0B B9 13 02 - sta Zp00 ; CPU:$DC0E PRG:1C0E 85 00 + sta PtrLo ; CPU:$DC0E PRG:1C0E 85 00 lda ZpD9,x ; CPU:$DC10 PRG:1C10 B5 D9 - sta Zp02 ; CPU:$DC12 PRG:1C12 85 02 - lda Zp01 ; CPU:$DC14 PRG:1C14 A5 01 + sta Ptr2Lo ; CPU:$DC12 PRG:1C12 85 02 + lda PtrHi ; CPU:$DC14 PRG:1C14 A5 01 and #$01 ; CPU:$DC16 PRG:1C16 29 01 - beq Label_DC24 ; CPU:$DC18 PRG:1C18 F0 0A - lda Zp00 ; CPU:$DC1A PRG:1C1A A5 00 + beq Sub_8764_OnZero_DC24 ; CPU:$DC18 PRG:1C18 F0 0A + lda PtrLo ; CPU:$DC1A PRG:1C1A A5 00 clc ; CPU:$DC1C PRG:1C1C 18 adc #$08 ; CPU:$DC1D PRG:1C1D 69 08 - sta Zp01 ; CPU:$DC1F PRG:1C1F 85 01 - jmp $DC2B ; CPU:$DC21 PRG:1C21 4C 2B DC + sta PtrHi ; CPU:$DC1F PRG:1C1F 85 01 + jmp SubCDC2B ; CPU:$DC21 PRG:1C21 4C 2B DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC24 +; Routine: Sub_8764_OnZero_DC24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6033,13 +6037,13 @@ Label_DC0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC24: - lda Zp00 ; CPU:$DC24 PRG:1C24 A5 00 +Sub_8764_OnZero_DC24: + lda PtrLo ; CPU:$DC24 PRG:1C24 A5 00 sec ; CPU:$DC26 PRG:1C26 38 sbc #$08 ; CPU:$DC27 PRG:1C27 E9 08 - sta Zp01 ; CPU:$DC29 PRG:1C29 85 01 + sta PtrHi ; CPU:$DC29 PRG:1C29 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DC2B +; Routine: SubCDC2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6047,17 +6051,17 @@ Label_DC24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2B: +SubCDC2B: lda Zp90,x ; CPU:$DC2B PRG:1C2B B5 90 and #$0F ; CPU:$DC2D PRG:1C2D 29 0F sta Zp08 ; CPU:$DC2F PRG:1C2F 85 08 - jsr $DC49 ; CPU:$DC31 PRG:1C31 20 49 DC - beq Label_DC3C ; CPU:$DC34 PRG:1C34 F0 06 + jsr SubCDC49 ; CPU:$DC31 PRG:1C31 20 49 DC + beq SubCDC3C ; CPU:$DC34 PRG:1C34 F0 06 lda Zp90,x ; CPU:$DC36 PRG:1C36 B5 90 ora #$20 ; CPU:$DC38 PRG:1C38 09 20 sta Zp90,x ; CPU:$DC3A PRG:1C3A 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_DC3C +; Routine: SubCDC3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6065,17 +6069,17 @@ Label_DC2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC3C: +SubCDC3C: iny ; CPU:$DC3C PRG:1C3C C8 iny ; CPU:$DC3D PRG:1C3D C8 iny ; CPU:$DC3E PRG:1C3E C8 iny ; CPU:$DC3F PRG:1C3F C8 inx ; CPU:$DC40 PRG:1C40 E8 cpx #$08 ; CPU:$DC41 PRG:1C41 E0 08 - bpl Label_DC48 ; CPU:$DC43 PRG:1C43 10 03 - jmp $DBDD ; CPU:$DC45 PRG:1C45 4C DD DB + bpl Sub_8764_OnNonnegative_DC48 ; CPU:$DC43 PRG:1C43 10 03 + jmp SubCDBDD ; CPU:$DC45 PRG:1C45 4C DD DB ; ----------------------------------------------------------------------------- -; Routine: Label_DC48 +; Routine: Sub_8764_OnNonnegative_DC48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6083,10 +6087,10 @@ Label_DC3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC48: +Sub_8764_OnNonnegative_DC48: rts ; CPU:$DC48 PRG:1C48 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC49 +; Routine: SubCDC49 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6094,13 +6098,13 @@ Label_DC48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC49: +SubCDC49: stx Zp05 ; CPU:$DC49 PRG:1C49 86 05 sty Zp06 ; CPU:$DC4B PRG:1C4B 84 06 ldx #$00 ; CPU:$DC4D PRG:1C4D A2 00 ldy #$00 ; CPU:$DC4F PRG:1C4F A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DC51 +; Routine: SubCDC51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6108,11 +6112,11 @@ Label_DC49: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC51: +SubCDC51: cpx Zp05 ; CPU:$DC51 PRG:1C51 E4 05 - bne Label_DC67 ; CPU:$DC53 PRG:1C53 D0 12 + bne Sub_8764_OnNonzero_DC67 ; CPU:$DC53 PRG:1C53 D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_DC55 +; Routine: Sub_8764_OnZero_DC55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6120,13 +6124,13 @@ Label_DC51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC55: +Sub_8764_OnZero_DC55: inx ; CPU:$DC55 PRG:1C55 E8 cpx #$08 ; CPU:$DC56 PRG:1C56 E0 08 - bmi Label_DC5D ; CPU:$DC58 PRG:1C58 30 03 - jmp $DC9C ; CPU:$DC5A PRG:1C5A 4C 9C DC + bmi Sub_8764_OnNegative_DC5D ; CPU:$DC58 PRG:1C58 30 03 + jmp SubCDC9C ; CPU:$DC5A PRG:1C5A 4C 9C DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC5D +; Routine: Sub_8764_OnNegative_DC5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6134,16 +6138,16 @@ Label_DC55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5D: +Sub_8764_OnNegative_DC5D: iny ; CPU:$DC5D PRG:1C5D C8 iny ; CPU:$DC5E PRG:1C5E C8 iny ; CPU:$DC5F PRG:1C5F C8 iny ; CPU:$DC60 PRG:1C60 C8 lda Zp90,x ; CPU:$DC61 PRG:1C61 B5 90 and #$80 ; CPU:$DC63 PRG:1C63 29 80 - beq Label_DC55 ; CPU:$DC65 PRG:1C65 F0 EE + beq Sub_8764_OnZero_DC55 ; CPU:$DC65 PRG:1C65 F0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_DC67 +; Routine: Sub_8764_OnNonzero_DC67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6151,23 +6155,23 @@ Label_DC5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC67: +Sub_8764_OnNonzero_DC67: lda ZpD9,x ; CPU:$DC67 PRG:1C67 B5 D9 - cmp Zp02 ; CPU:$DC69 PRG:1C69 C5 02 - bne Label_DC90 ; CPU:$DC6B PRG:1C6B D0 23 + cmp Ptr2Lo ; CPU:$DC69 PRG:1C69 C5 02 + bne Sub_8764_OnNonzero_DC90 ; CPU:$DC6B PRG:1C6B D0 23 lda $0213,y ; CPU:$DC6D PRG:1C6D B9 13 02 - cmp Zp00 ; CPU:$DC70 PRG:1C70 C5 00 - bne Label_DC85 ; CPU:$DC72 PRG:1C72 D0 11 + cmp PtrLo ; CPU:$DC70 PRG:1C70 C5 00 + bne Sub_8764_OnNonzero_DC85 ; CPU:$DC72 PRG:1C72 D0 11 lda Zp90,x ; CPU:$DC74 PRG:1C74 B5 90 and #$0F ; CPU:$DC76 PRG:1C76 29 0F cmp Zp08 ; CPU:$DC78 PRG:1C78 C5 08 - bne Label_DC89 ; CPU:$DC7A PRG:1C7A D0 0D + bne SubCDC89 ; CPU:$DC7A PRG:1C7A D0 0D lda Zp90,x ; CPU:$DC7C PRG:1C7C B5 90 ora #$20 ; CPU:$DC7E PRG:1C7E 09 20 sta Zp90,x ; CPU:$DC80 PRG:1C80 95 90 - jmp $DC89 ; CPU:$DC82 PRG:1C82 4C 89 DC + jmp SubCDC89 ; CPU:$DC82 PRG:1C82 4C 89 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC85 +; Routine: Sub_8764_OnNonzero_DC85 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6175,11 +6179,11 @@ Label_DC67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC85: - cmp Zp01 ; CPU:$DC85 PRG:1C85 C5 01 - bne Label_DC90 ; CPU:$DC87 PRG:1C87 D0 07 +Sub_8764_OnNonzero_DC85: + cmp PtrHi ; CPU:$DC85 PRG:1C85 C5 01 + bne Sub_8764_OnNonzero_DC90 ; CPU:$DC87 PRG:1C87 D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DC89 +; Routine: SubCDC89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6187,13 +6191,13 @@ Label_DC85: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC89: +SubCDC89: ldx Zp05 ; CPU:$DC89 PRG:1C89 A6 05 ldy Zp06 ; CPU:$DC8B PRG:1C8B A4 06 lda #$01 ; CPU:$DC8D PRG:1C8D A9 01 rts ; CPU:$DC8F PRG:1C8F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC90 +; Routine: Sub_8764_OnNonzero_DC90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6201,17 +6205,17 @@ Label_DC89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC90: +Sub_8764_OnNonzero_DC90: iny ; CPU:$DC90 PRG:1C90 C8 iny ; CPU:$DC91 PRG:1C91 C8 iny ; CPU:$DC92 PRG:1C92 C8 iny ; CPU:$DC93 PRG:1C93 C8 inx ; CPU:$DC94 PRG:1C94 E8 cpx #$08 ; CPU:$DC95 PRG:1C95 E0 08 - bpl Label_DC9C ; CPU:$DC97 PRG:1C97 10 03 - jmp $DC51 ; CPU:$DC99 PRG:1C99 4C 51 DC + bpl SubCDC9C ; CPU:$DC97 PRG:1C97 10 03 + jmp SubCDC51 ; CPU:$DC99 PRG:1C99 4C 51 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC9C +; Routine: SubCDC9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6219,13 +6223,13 @@ Label_DC90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC9C: +SubCDC9C: ldx Zp05 ; CPU:$DC9C PRG:1C9C A6 05 ldy Zp06 ; CPU:$DC9E PRG:1C9E A4 06 lda #$00 ; CPU:$DCA0 PRG:1CA0 A9 00 rts ; CPU:$DCA2 PRG:1CA2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCA3 +; Routine: SubCDCA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6233,10 +6237,10 @@ Label_DC9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA3: +SubCDCA3: ldx #$00 ; CPU:$DCA3 PRG:1CA3 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DCA5 +; Routine: SubCDCA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6244,23 +6248,23 @@ Label_DCA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA5: +SubCDCA5: lda Zp98,x ; CPU:$DCA5 PRG:1CA5 B5 98 cmp #$08 ; CPU:$DCA7 PRG:1CA7 C9 08 - bmi Label_DD0F ; CPU:$DCA9 PRG:1CA9 30 64 + bmi Sub_8764_JoinBranchPaths_DD0F ; CPU:$DCA9 PRG:1CA9 30 64 lda Zp90,x ; CPU:$DCAB PRG:1CAB B5 90 - sta Zp03 ; CPU:$DCAD PRG:1CAD 85 03 + sta Ptr2Hi ; CPU:$DCAD PRG:1CAD 85 03 and #$40 ; CPU:$DCAF PRG:1CAF 29 40 - beq Label_DD25 ; CPU:$DCB1 PRG:1CB1 F0 72 - lda Zp03 ; CPU:$DCB3 PRG:1CB3 A5 03 + beq SubCDD25 ; CPU:$DCB1 PRG:1CB1 F0 72 + lda Ptr2Hi ; CPU:$DCB3 PRG:1CB3 A5 03 and #$80 ; CPU:$DCB5 PRG:1CB5 29 80 - bne Label_DD0F ; CPU:$DCB7 PRG:1CB7 D0 56 + bne Sub_8764_JoinBranchPaths_DD0F ; CPU:$DCB7 PRG:1CB7 D0 56 lda Zp05 ; CPU:$DCB9 PRG:1CB9 A5 05 and #$F0 ; CPU:$DCBB PRG:1CBB 29 F0 - beq Label_DD0F ; CPU:$DCBD PRG:1CBD F0 50 + beq Sub_8764_JoinBranchPaths_DD0F ; CPU:$DCBD PRG:1CBD F0 50 lda Zp05 ; CPU:$DCBF PRG:1CBF A5 05 and #$0F ; CPU:$DCC1 PRG:1CC1 29 0F - bne Label_DD0F ; CPU:$DCC3 PRG:1CC3 D0 4A + bne Sub_8764_JoinBranchPaths_DD0F ; CPU:$DCC3 PRG:1CC3 D0 4A lda ZpA0,x ; CPU:$DCC5 PRG:1CC5 B5 A0 sta Zp05 ; CPU:$DCC7 PRG:1CC7 85 05 lda Zp04 ; CPU:$DCC9 PRG:1CC9 A5 04 @@ -6280,17 +6284,17 @@ Label_DCA5: ora Zp04 ; CPU:$DCE1 PRG:1CE1 05 04 sta Zp04 ; CPU:$DCE3 PRG:1CE3 85 04 lda $0213,y ; CPU:$DCE5 PRG:1CE5 B9 13 02 - sta Zp00 ; CPU:$DCE8 PRG:1CE8 85 00 + sta PtrLo ; CPU:$DCE8 PRG:1CE8 85 00 lda ZpD9,x ; CPU:$DCEA PRG:1CEA B5 D9 - sta Zp01 ; CPU:$DCEC PRG:1CEC 85 01 - jsr $DD81 ; CPU:$DCEE PRG:1CEE 20 81 DD + sta PtrHi ; CPU:$DCEC PRG:1CEC 85 01 + jsr SubCDD81 ; CPU:$DCEE PRG:1CEE 20 81 DD lda Zp79 ; CPU:$DCF1 PRG:1CF1 A5 79 cmp #$16 ; CPU:$DCF3 PRG:1CF3 C9 16 - bne Label_DCFC ; CPU:$DCF5 PRG:1CF5 D0 05 + bne Sub_8764_OnNonzero_DCFC ; CPU:$DCF5 PRG:1CF5 D0 05 lda #$08 ; CPU:$DCF7 PRG:1CF7 A9 08 - jmp $DD02 ; CPU:$DCF9 PRG:1CF9 4C 02 DD + jmp SubCDD02 ; CPU:$DCF9 PRG:1CF9 4C 02 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DCFC +; Routine: Sub_8764_OnNonzero_DCFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6298,12 +6302,12 @@ Label_DCA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFC: +Sub_8764_OnNonzero_DCFC: cmp #$11 ; CPU:$DCFC PRG:1CFC C9 11 - bne Label_DD0C ; CPU:$DCFE PRG:1CFE D0 0C + bne Sub_8764_OnNonzero_DD0C ; CPU:$DCFE PRG:1CFE D0 0C lda #$04 ; CPU:$DD00 PRG:1D00 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DD02 +; Routine: SubCDD02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6311,14 +6315,14 @@ Label_DCFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD02: +SubCDD02: sta Zp07 ; CPU:$DD02 PRG:1D02 85 07 lda Zp90,x ; CPU:$DD04 PRG:1D04 B5 90 and #$F3 ; CPU:$DD06 PRG:1D06 29 F3 ora Zp07 ; CPU:$DD08 PRG:1D08 05 07 sta Zp90,x ; CPU:$DD0A PRG:1D0A 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0C +; Routine: Sub_8764_OnNonzero_DD0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6326,10 +6330,10 @@ Label_DD02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0C: - jmp $DD25 ; CPU:$DD0C PRG:1D0C 4C 25 DD +Sub_8764_OnNonzero_DD0C: + jmp SubCDD25 ; CPU:$DD0C PRG:1D0C 4C 25 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD0F +; Routine: Sub_8764_JoinBranchPaths_DD0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6337,7 +6341,7 @@ Label_DD0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0F: +Sub_8764_JoinBranchPaths_DD0F: lda ZpA0,x ; CPU:$DD0F PRG:1D0F B5 A0 sta Zp05 ; CPU:$DD11 PRG:1D11 85 05 lda Zp90,x ; CPU:$DD13 PRG:1D13 B5 90 @@ -6352,7 +6356,7 @@ Label_DD0F: ora Zp04 ; CPU:$DD21 PRG:1D21 05 04 sta Zp04 ; CPU:$DD23 PRG:1D23 85 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DD25 +; Routine: SubCDD25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6360,13 +6364,13 @@ Label_DD0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD25: +SubCDD25: inx ; CPU:$DD25 PRG:1D25 E8 cpx #$08 ; CPU:$DD26 PRG:1D26 E0 08 - bpl Label_DD2D ; CPU:$DD28 PRG:1D28 10 03 - jmp $DCA5 ; CPU:$DD2A PRG:1D2A 4C A5 DC + bpl Sub_8764_OnNonnegative_DD2D ; CPU:$DD28 PRG:1D28 10 03 + jmp SubCDCA5 ; CPU:$DD2A PRG:1D2A 4C A5 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DD2D +; Routine: Sub_8764_OnNonnegative_DD2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6374,10 +6378,10 @@ Label_DD25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD2D: +Sub_8764_OnNonnegative_DD2D: rts ; CPU:$DD2D PRG:1D2D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD2E +; Routine: SubCDD2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6385,12 +6389,12 @@ Label_DD2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD2E: +SubCDD2E: lda ZpEC ; CPU:$DD2E PRG:1D2E A5 EC - bne Label_DD33 ; CPU:$DD30 PRG:1D30 D0 01 + bne Sub_8764_OnNonzero_DD33 ; CPU:$DD30 PRG:1D30 D0 01 rts ; CPU:$DD32 PRG:1D32 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD33 +; Routine: Sub_8764_OnNonzero_DD33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6398,15 +6402,15 @@ Label_DD2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD33: +Sub_8764_OnNonzero_DD33: ldx Zp75 ; CPU:$DD33 PRG:1D33 A6 75 lda Zp18 ; CPU:$DD35 PRG:1D35 A5 18 cmp $C227,x ; CPU:$DD37 PRG:1D37 DD 27 C2 - bcs Label_DD7C ; CPU:$DD3A PRG:1D3A B0 40 + bcs SubCDD7C ; CPU:$DD3A PRG:1D3A B0 40 ldx #$00 ; CPU:$DD3C PRG:1D3C A2 00 ldy #$00 ; CPU:$DD3E PRG:1D3E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD40 +; Routine: Sub_8764_OnNegative_DD40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6414,20 +6418,20 @@ Label_DD33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD40: +Sub_8764_OnNegative_DD40: lda Zp90,x ; CPU:$DD40 PRG:1D40 B5 90 and #$40 ; CPU:$DD42 PRG:1D42 29 40 - beq Label_DD52 ; CPU:$DD44 PRG:1D44 F0 0C + beq Sub_8764_OnZero_DD52 ; CPU:$DD44 PRG:1D44 F0 0C iny ; CPU:$DD46 PRG:1D46 C8 iny ; CPU:$DD47 PRG:1D47 C8 iny ; CPU:$DD48 PRG:1D48 C8 iny ; CPU:$DD49 PRG:1D49 C8 inx ; CPU:$DD4A PRG:1D4A E8 cpx #$08 ; CPU:$DD4B PRG:1D4B E0 08 - bmi Label_DD40 ; CPU:$DD4D PRG:1D4D 30 F1 - jmp $DD7C ; CPU:$DD4F PRG:1D4F 4C 7C DD + bmi Sub_8764_OnNegative_DD40 ; CPU:$DD4D PRG:1D4D 30 F1 + jmp SubCDD7C ; CPU:$DD4F PRG:1D4F 4C 7C DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD52 +; Routine: Sub_8764_OnZero_DD52 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6435,19 +6439,19 @@ Label_DD40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD52: +Sub_8764_OnZero_DD52: lda $02FB ; CPU:$DD52 PRG:1D52 AD FB 02 cmp #$68 ; CPU:$DD55 PRG:1D55 C9 68 - bcs Label_DD69 ; CPU:$DD57 PRG:1D57 B0 10 + bcs Sub_8764_OnCarrySet_DD69 ; CPU:$DD57 PRG:1D57 B0 10 lda #$C5 ; CPU:$DD59 PRG:1D59 A9 C5 sta Zp90,x ; CPU:$DD5B PRG:1D5B 95 90 lda #$02 ; CPU:$DD5D PRG:1D5D A9 02 sta ZpA0,x ; CPU:$DD5F PRG:1D5F 95 A0 lda #$C0 ; CPU:$DD61 PRG:1D61 A9 C0 sta $0213,y ; CPU:$DD63 PRG:1D63 99 13 02 - jmp $DD76 ; CPU:$DD66 PRG:1D66 4C 76 DD + jmp SubCDD76 ; CPU:$DD66 PRG:1D66 4C 76 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD69 +; Routine: Sub_8764_OnCarrySet_DD69 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6455,7 +6459,7 @@ Label_DD52: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD69: +Sub_8764_OnCarrySet_DD69: lda #$C6 ; CPU:$DD69 PRG:1D69 A9 C6 sta Zp90,x ; CPU:$DD6B PRG:1D6B 95 90 lda #$01 ; CPU:$DD6D PRG:1D6D A9 01 @@ -6463,7 +6467,7 @@ Label_DD69: lda #$08 ; CPU:$DD71 PRG:1D71 A9 08 sta $0213,y ; CPU:$DD73 PRG:1D73 99 13 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DD76 +; Routine: SubCDD76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6471,12 +6475,12 @@ Label_DD69: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD76: +SubCDD76: lda #$96 ; CPU:$DD76 PRG:1D76 A9 96 sta ZpD9,x ; CPU:$DD78 PRG:1D78 95 D9 inc Zp65 ; CPU:$DD7A PRG:1D7A E6 65 ; ----------------------------------------------------------------------------- -; Routine: Label_DD7C +; Routine: SubCDD7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6484,12 +6488,12 @@ Label_DD76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD7C: +SubCDD7C: lda #$00 ; CPU:$DD7C PRG:1D7C A9 00 sta ZpEC ; CPU:$DD7E PRG:1D7E 85 EC rts ; CPU:$DD80 PRG:1D80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD81 +; Routine: SubCDD81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6497,7 +6501,7 @@ Label_DD7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD81: +SubCDD81: txa ; CPU:$DD81 PRG:1D81 8A pha ; CPU:$DD82 PRG:1D82 48 tya ; CPU:$DD83 PRG:1D83 98 @@ -6505,9 +6509,9 @@ Label_DD81: lda #$10 ; CPU:$DD85 PRG:1D85 A9 10 sta Zp0B ; CPU:$DD87 PRG:1D87 85 0B ldx #$00 ; CPU:$DD89 PRG:1D89 A2 00 - ldy Zp00 ; CPU:$DD8B PRG:1D8B A4 00 + ldy PtrLo ; CPU:$DD8B PRG:1D8B A4 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD8D +; Routine: SubCDD8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6515,9 +6519,9 @@ Label_DD81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD8D: +SubCDD8D: cpy #$18 ; CPU:$DD8D PRG:1D8D C0 18 - bcc Label_DDA1 ; CPU:$DD8F PRG:1D8F 90 10 + bcc Sub_8764_OnCarryClear_DDA1 ; CPU:$DD8F PRG:1D8F 90 10 inx ; CPU:$DD91 PRG:1D91 E8 lda Zp0B ; CPU:$DD92 PRG:1D92 A5 0B clc ; CPU:$DD94 PRG:1D94 18 @@ -6527,9 +6531,9 @@ Label_DD8D: sec ; CPU:$DD9A PRG:1D9A 38 sbc #$08 ; CPU:$DD9B PRG:1D9B E9 08 tay ; CPU:$DD9D PRG:1D9D A8 - jmp $DD8D ; CPU:$DD9E PRG:1D9E 4C 8D DD + jmp SubCDD8D ; CPU:$DD9E PRG:1D9E 4C 8D DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDA1 +; Routine: Sub_8764_OnCarryClear_DDA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6537,18 +6541,18 @@ Label_DD8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDA1: +Sub_8764_OnCarryClear_DDA1: stx Zp78 ; CPU:$DDA1 PRG:1DA1 86 78 lda Zp0B ; CPU:$DDA3 PRG:1DA3 A5 0B - sta Zp00 ; CPU:$DDA5 PRG:1DA5 85 00 + sta PtrLo ; CPU:$DDA5 PRG:1DA5 85 00 lda #$18 ; CPU:$DDA7 PRG:1DA7 A9 18 sta Zp0C ; CPU:$DDA9 PRG:1DA9 85 0C ldx #$00 ; CPU:$DDAB PRG:1DAB A2 00 - ldy Zp01 ; CPU:$DDAD PRG:1DAD A4 01 + ldy PtrHi ; CPU:$DDAD PRG:1DAD A4 01 cpy #$F0 ; CPU:$DDAF PRG:1DAF C0 F0 - bcs Label_DDC7 ; CPU:$DDB1 PRG:1DB1 B0 14 + bcs Sub_8764_JoinBranchPaths_DDC7 ; CPU:$DDB1 PRG:1DB1 B0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_DDB3 +; Routine: SubCDDB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6556,9 +6560,9 @@ Label_DDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDB3: +SubCDDB3: cpy #$1E ; CPU:$DDB3 PRG:1DB3 C0 1E - bcc Label_DDC7 ; CPU:$DDB5 PRG:1DB5 90 10 + bcc Sub_8764_JoinBranchPaths_DDC7 ; CPU:$DDB5 PRG:1DB5 90 10 inx ; CPU:$DDB7 PRG:1DB7 E8 lda Zp0C ; CPU:$DDB8 PRG:1DB8 A5 0C clc ; CPU:$DDBA PRG:1DBA 18 @@ -6568,9 +6572,9 @@ Label_DDB3: sec ; CPU:$DDC0 PRG:1DC0 38 sbc #$08 ; CPU:$DDC1 PRG:1DC1 E9 08 tay ; CPU:$DDC3 PRG:1DC3 A8 - jmp $DDB3 ; CPU:$DDC4 PRG:1DC4 4C B3 DD + jmp SubCDDB3 ; CPU:$DDC4 PRG:1DC4 4C B3 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDC7 +; Routine: Sub_8764_JoinBranchPaths_DDC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6578,17 +6582,17 @@ Label_DDB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC7: +Sub_8764_JoinBranchPaths_DDC7: stx Zp79 ; CPU:$DDC7 PRG:1DC7 86 79 lda Zp0C ; CPU:$DDC9 PRG:1DC9 A5 0C - sta Zp01 ; CPU:$DDCB PRG:1DCB 85 01 + sta PtrHi ; CPU:$DDCB PRG:1DCB 85 01 pla ; CPU:$DDCD PRG:1DCD 68 tay ; CPU:$DDCE PRG:1DCE A8 pla ; CPU:$DDCF PRG:1DCF 68 tax ; CPU:$DDD0 PRG:1DD0 AA rts ; CPU:$DDD1 PRG:1DD1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDD2 +; Routine: SubCDDD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6596,7 +6600,7 @@ Label_DDC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD2: +SubCDDD2: txa ; CPU:$DDD2 PRG:1DD2 8A pha ; CPU:$DDD3 PRG:1DD3 48 tya ; CPU:$DDD4 PRG:1DD4 98 @@ -6606,7 +6610,7 @@ Label_DDD2: lsr a ; CPU:$DDDA PRG:1DDA 4A tay ; CPU:$DDDB PRG:1DDB A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DDDC +; Routine: SubCDDDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6614,17 +6618,17 @@ Label_DDD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDDC: +SubCDDDC: txa ; CPU:$DDDC PRG:1DDC 8A - beq Label_DDE8 ; CPU:$DDDD PRG:1DDD F0 09 + beq Sub_8764_OnZero_DDE8 ; CPU:$DDDD PRG:1DDD F0 09 tya ; CPU:$DDDF PRG:1DDF 98 clc ; CPU:$DDE0 PRG:1DE0 18 adc #$0B ; CPU:$DDE1 PRG:1DE1 69 0B tay ; CPU:$DDE3 PRG:1DE3 A8 dex ; CPU:$DDE4 PRG:1DE4 CA - jmp $DDDC ; CPU:$DDE5 PRG:1DE5 4C DC DD + jmp SubCDDDC ; CPU:$DDE5 PRG:1DE5 4C DC DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDE8 +; Routine: Sub_8764_OnZero_DDE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6632,26 +6636,26 @@ Label_DDDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE8: +Sub_8764_OnZero_DDE8: lda Zp64 ; CPU:$DDE8 PRG:1DE8 A5 64 asl a ; CPU:$DDEA PRG:1DEA 0A tax ; CPU:$DDEB PRG:1DEB AA lda $C295,x ; CPU:$DDEC PRG:1DEC BD 95 C2 - sta Zp00 ; CPU:$DDEF PRG:1DEF 85 00 + sta PtrLo ; CPU:$DDEF PRG:1DEF 85 00 lda $C296,x ; CPU:$DDF1 PRG:1DF1 BD 96 C2 - sta Zp01 ; CPU:$DDF4 PRG:1DF4 85 01 + sta PtrHi ; CPU:$DDF4 PRG:1DF4 85 01 lda Zp78 ; CPU:$DDF6 PRG:1DF6 A5 78 and #$01 ; CPU:$DDF8 PRG:1DF8 29 01 - bne Label_DE07 ; CPU:$DDFA PRG:1DFA D0 0B - lda (Zp00),y ; CPU:$DDFC PRG:1DFC B1 00 + bne Sub_8764_OnNonzero_DE07 ; CPU:$DDFA PRG:1DFA D0 0B + lda (PtrLo),y ; CPU:$DDFC PRG:1DFC B1 00 and #$F0 ; CPU:$DDFE PRG:1DFE 29 F0 lsr a ; CPU:$DE00 PRG:1E00 4A lsr a ; CPU:$DE01 PRG:1E01 4A lsr a ; CPU:$DE02 PRG:1E02 4A lsr a ; CPU:$DE03 PRG:1E03 4A - jmp $DE0B ; CPU:$DE04 PRG:1E04 4C 0B DE + jmp SubCDE0B ; CPU:$DE04 PRG:1E04 4C 0B DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE07 +; Routine: Sub_8764_OnNonzero_DE07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6659,11 +6663,11 @@ Label_DDE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE07: - lda (Zp00),y ; CPU:$DE07 PRG:1E07 B1 00 +Sub_8764_OnNonzero_DE07: + lda (PtrLo),y ; CPU:$DE07 PRG:1E07 B1 00 and #$0F ; CPU:$DE09 PRG:1E09 29 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DE0B +; Routine: SubCDE0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6671,7 +6675,7 @@ Label_DE07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0B: +SubCDE0B: sta Zp0A ; CPU:$DE0B PRG:1E0B 85 0A pla ; CPU:$DE0D PRG:1E0D 68 tay ; CPU:$DE0E PRG:1E0E A8 @@ -6680,7 +6684,7 @@ Label_DE0B: lda Zp0A ; CPU:$DE11 PRG:1E11 A5 0A rts ; CPU:$DE13 PRG:1E13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE14 +; Routine: SubCDE14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6688,7 +6692,7 @@ Label_DE0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE14: +SubCDE14: txa ; CPU:$DE14 PRG:1E14 8A pha ; CPU:$DE15 PRG:1E15 48 tya ; CPU:$DE16 PRG:1E16 98 @@ -6698,7 +6702,7 @@ Label_DE14: lsr a ; CPU:$DE1C PRG:1E1C 4A tay ; CPU:$DE1D PRG:1E1D A8 ; ----------------------------------------------------------------------------- -; Routine: Label_DE1E +; Routine: SubCDE1E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6706,17 +6710,17 @@ Label_DE14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE1E: +SubCDE1E: txa ; CPU:$DE1E PRG:1E1E 8A - beq Label_DE2A ; CPU:$DE1F PRG:1E1F F0 09 + beq Sub_8764_OnZero_DE2A ; CPU:$DE1F PRG:1E1F F0 09 tya ; CPU:$DE21 PRG:1E21 98 clc ; CPU:$DE22 PRG:1E22 18 adc #$0B ; CPU:$DE23 PRG:1E23 69 0B tay ; CPU:$DE25 PRG:1E25 A8 dex ; CPU:$DE26 PRG:1E26 CA - jmp $DE1E ; CPU:$DE27 PRG:1E27 4C 1E DE + jmp SubCDE1E ; CPU:$DE27 PRG:1E27 4C 1E DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE2A +; Routine: Sub_8764_OnZero_DE2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6724,28 +6728,28 @@ Label_DE1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE2A: +Sub_8764_OnZero_DE2A: lda Zp64 ; CPU:$DE2A PRG:1E2A A5 64 asl a ; CPU:$DE2C PRG:1E2C 0A tax ; CPU:$DE2D PRG:1E2D AA lda $C295,x ; CPU:$DE2E PRG:1E2E BD 95 C2 - sta Zp00 ; CPU:$DE31 PRG:1E31 85 00 + sta PtrLo ; CPU:$DE31 PRG:1E31 85 00 lda $C296,x ; CPU:$DE33 PRG:1E33 BD 96 C2 - sta Zp01 ; CPU:$DE36 PRG:1E36 85 01 + sta PtrHi ; CPU:$DE36 PRG:1E36 85 01 lda Zp78 ; CPU:$DE38 PRG:1E38 A5 78 and #$01 ; CPU:$DE3A PRG:1E3A 29 01 - bne Label_DE4D ; CPU:$DE3C PRG:1E3C D0 0F - lda (Zp00),y ; CPU:$DE3E PRG:1E3E B1 00 + bne Sub_8764_OnNonzero_DE4D ; CPU:$DE3C PRG:1E3C D0 0F + lda (PtrLo),y ; CPU:$DE3E PRG:1E3E B1 00 and #$0F ; CPU:$DE40 PRG:1E40 29 0F - sta (Zp00),y ; CPU:$DE42 PRG:1E42 91 00 + sta (PtrLo),y ; CPU:$DE42 PRG:1E42 91 00 lda Zp0A ; CPU:$DE44 PRG:1E44 A5 0A asl a ; CPU:$DE46 PRG:1E46 0A asl a ; CPU:$DE47 PRG:1E47 0A asl a ; CPU:$DE48 PRG:1E48 0A asl a ; CPU:$DE49 PRG:1E49 0A - jmp $DE55 ; CPU:$DE4A PRG:1E4A 4C 55 DE + jmp SubCDE55 ; CPU:$DE4A PRG:1E4A 4C 55 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE4D +; Routine: Sub_8764_OnNonzero_DE4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6753,13 +6757,13 @@ Label_DE2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE4D: - lda (Zp00),y ; CPU:$DE4D PRG:1E4D B1 00 +Sub_8764_OnNonzero_DE4D: + lda (PtrLo),y ; CPU:$DE4D PRG:1E4D B1 00 and #$F0 ; CPU:$DE4F PRG:1E4F 29 F0 - sta (Zp00),y ; CPU:$DE51 PRG:1E51 91 00 + sta (PtrLo),y ; CPU:$DE51 PRG:1E51 91 00 lda Zp0A ; CPU:$DE53 PRG:1E53 A5 0A ; ----------------------------------------------------------------------------- -; Routine: Label_DE55 +; Routine: SubCDE55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6767,9 +6771,9 @@ Label_DE4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE55: - ora (Zp00),y ; CPU:$DE55 PRG:1E55 11 00 - sta (Zp00),y ; CPU:$DE57 PRG:1E57 91 00 +SubCDE55: + ora (PtrLo),y ; CPU:$DE55 PRG:1E55 11 00 + sta (PtrLo),y ; CPU:$DE57 PRG:1E57 91 00 pla ; CPU:$DE59 PRG:1E59 68 tay ; CPU:$DE5A PRG:1E5A A8 pla ; CPU:$DE5B PRG:1E5B 68 @@ -6777,7 +6781,7 @@ Label_DE55: lda Zp0A ; CPU:$DE5D PRG:1E5D A5 0A rts ; CPU:$DE5F PRG:1E5F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE60 +; Routine: SubCDE60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6785,7 +6789,7 @@ Label_DE55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE60: +SubCDE60: sta Zp0F ; CPU:$DE60 PRG:1E60 85 0F txa ; CPU:$DE62 PRG:1E62 8A pha ; CPU:$DE63 PRG:1E63 48 @@ -6793,13 +6797,13 @@ Label_DE60: pha ; CPU:$DE65 PRG:1E65 48 lda Zp79 ; CPU:$DE66 PRG:1E66 A5 79 cmp #$11 ; CPU:$DE68 PRG:1E68 C9 11 - bmi Label_DE73 ; CPU:$DE6A PRG:1E6A 30 07 + bmi Sub_8764_OnNegative_DE73 ; CPU:$DE6A PRG:1E6A 30 07 lda Zp0F ; CPU:$DE6C PRG:1E6C A5 0F clc ; CPU:$DE6E PRG:1E6E 18 adc #$10 ; CPU:$DE6F PRG:1E6F 69 10 sta Zp0F ; CPU:$DE71 PRG:1E71 85 0F ; ----------------------------------------------------------------------------- -; Routine: Label_DE73 +; Routine: Sub_8764_OnNegative_DE73 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6807,23 +6811,23 @@ Label_DE60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE73: +Sub_8764_OnNegative_DE73: lda Zp0F ; CPU:$DE73 PRG:1E73 A5 0F asl a ; CPU:$DE75 PRG:1E75 0A tax ; CPU:$DE76 PRG:1E76 AA lda $C2D9,x ; CPU:$DE77 PRG:1E77 BD D9 C2 - sta Zp02 ; CPU:$DE7A PRG:1E7A 85 02 + sta Ptr2Lo ; CPU:$DE7A PRG:1E7A 85 02 lda $C2DA,x ; CPU:$DE7C PRG:1E7C BD DA C2 - sta Zp03 ; CPU:$DE7F PRG:1E7F 85 03 - jsr $DE8C ; CPU:$DE81 PRG:1E81 20 8C DE - jsr $F018 ; CPU:$DE84 PRG:1E84 20 18 F0 + sta Ptr2Hi ; CPU:$DE7F PRG:1E7F 85 03 + jsr SubCDE8C ; CPU:$DE81 PRG:1E81 20 8C DE + jsr SubCF018 ; CPU:$DE84 PRG:1E84 20 18 F0 pla ; CPU:$DE87 PRG:1E87 68 tay ; CPU:$DE88 PRG:1E88 A8 pla ; CPU:$DE89 PRG:1E89 68 tax ; CPU:$DE8A PRG:1E8A AA rts ; CPU:$DE8B PRG:1E8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE8C +; Routine: SubCDE8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6831,29 +6835,29 @@ Label_DE73: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE8C: +SubCDE8C: lda Zp78 ; CPU:$DE8C PRG:1E8C A5 78 clc ; CPU:$DE8E PRG:1E8E 18 adc #$02 ; CPU:$DE8F PRG:1E8F 69 02 - sta Zp00 ; CPU:$DE91 PRG:1E91 85 00 + sta PtrLo ; CPU:$DE91 PRG:1E91 85 00 ldx Zp79 ; CPU:$DE93 PRG:1E93 A6 79 lda $C3BF,x ; CPU:$DE95 PRG:1E95 BD BF C3 - ora Zp00 ; CPU:$DE98 PRG:1E98 05 00 - sta Zp00 ; CPU:$DE9A PRG:1E9A 85 00 + ora PtrLo ; CPU:$DE98 PRG:1E98 05 00 + sta PtrLo ; CPU:$DE9A PRG:1E9A 85 00 lda #$20 ; CPU:$DE9C PRG:1E9C A9 20 - sta Zp01 ; CPU:$DE9E PRG:1E9E 85 01 + sta PtrHi ; CPU:$DE9E PRG:1E9E 85 01 lda Zp79 ; CPU:$DEA0 PRG:1EA0 A5 79 cmp #$05 ; CPU:$DEA2 PRG:1EA2 C9 05 - bmi Label_DEB4 ; CPU:$DEA4 PRG:1EA4 30 0E - inc Zp01 ; CPU:$DEA6 PRG:1EA6 E6 01 + bmi Sub_8764_OnNegative_DEB4 ; CPU:$DEA4 PRG:1EA4 30 0E + inc PtrHi ; CPU:$DEA6 PRG:1EA6 E6 01 cmp #$0D ; CPU:$DEA8 PRG:1EA8 C9 0D - bmi Label_DEB4 ; CPU:$DEAA PRG:1EAA 30 08 - inc Zp01 ; CPU:$DEAC PRG:1EAC E6 01 + bmi Sub_8764_OnNegative_DEB4 ; CPU:$DEAA PRG:1EAA 30 08 + inc PtrHi ; CPU:$DEAC PRG:1EAC E6 01 cmp #$15 ; CPU:$DEAE PRG:1EAE C9 15 - bmi Label_DEB4 ; CPU:$DEB0 PRG:1EB0 30 02 - inc Zp01 ; CPU:$DEB2 PRG:1EB2 E6 01 + bmi Sub_8764_OnNegative_DEB4 ; CPU:$DEB0 PRG:1EB0 30 02 + inc PtrHi ; CPU:$DEB2 PRG:1EB2 E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DEB4 +; Routine: Sub_8764_OnNegative_DEB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6861,10 +6865,10 @@ Label_DE8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB4: +Sub_8764_OnNegative_DEB4: rts ; CPU:$DEB4 PRG:1EB4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEB5 +; Routine: SubCDEB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6872,26 +6876,26 @@ Label_DEB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB5: - jsr $DF4E ; CPU:$DEB5 PRG:1EB5 20 4E DF - jsr $DFA3 ; CPU:$DEB8 PRG:1EB8 20 A3 DF - jsr $E2B7 ; CPU:$DEBB PRG:1EBB 20 B7 E2 +SubCDEB5: + jsr SubCDF4E ; CPU:$DEB5 PRG:1EB5 20 4E DF + jsr SubCDFA3 ; CPU:$DEB8 PRG:1EB8 20 A3 DF + jsr SubCE2B7 ; CPU:$DEBB PRG:1EBB 20 B7 E2 lda Zp6C ; CPU:$DEBE PRG:1EBE A5 6C cmp #$03 ; CPU:$DEC0 PRG:1EC0 C9 03 - beq Label_DF14 ; CPU:$DEC2 PRG:1EC2 F0 50 + beq Sub_8764_OnZero_DF14 ; CPU:$DEC2 PRG:1EC2 F0 50 cmp #$07 ; CPU:$DEC4 PRG:1EC4 C9 07 - beq Label_DF1A ; CPU:$DEC6 PRG:1EC6 F0 52 + beq Sub_8764_OnZero_DF1A ; CPU:$DEC6 PRG:1EC6 F0 52 cmp #$0B ; CPU:$DEC8 PRG:1EC8 C9 0B - beq Label_DF20 ; CPU:$DECA PRG:1ECA F0 54 + beq Sub_8764_OnZero_DF20 ; CPU:$DECA PRG:1ECA F0 54 lda Zp8E ; CPU:$DECC PRG:1ECC A5 8E - beq Label_DEE3 ; CPU:$DECE PRG:1ECE F0 13 + beq SubCDEE3 ; CPU:$DECE PRG:1ECE F0 13 lda Zp3C ; CPU:$DED0 PRG:1ED0 A5 3C - bne Label_DEDB ; CPU:$DED2 PRG:1ED2 D0 07 + bne Sub_8764_OnNonzero_DEDB ; CPU:$DED2 PRG:1ED2 D0 07 lda #$F0 ; CPU:$DED4 PRG:1ED4 A9 F0 sta Zp3C ; CPU:$DED6 PRG:1ED6 85 3C - jmp $DEE3 ; CPU:$DED8 PRG:1ED8 4C E3 DE + jmp SubCDEE3 ; CPU:$DED8 PRG:1ED8 4C E3 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DEDB +; Routine: Sub_8764_OnNonzero_DEDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6899,13 +6903,13 @@ Label_DEB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEDB: +Sub_8764_OnNonzero_DEDB: cmp #$01 ; CPU:$DEDB PRG:1EDB C9 01 - bne Label_DEE3 ; CPU:$DEDD PRG:1EDD D0 04 + bne SubCDEE3 ; CPU:$DEDD PRG:1EDD D0 04 lda #$00 ; CPU:$DEDF PRG:1EDF A9 00 sta Zp8E ; CPU:$DEE1 PRG:1EE1 85 8E ; ----------------------------------------------------------------------------- -; Routine: Label_DEE3 +; Routine: SubCDEE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6913,19 +6917,19 @@ Label_DEDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEE3: - jsr $E2F3 ; CPU:$DEE3 PRG:1EE3 20 F3 E2 - jsr $D514 ; CPU:$DEE6 PRG:1EE6 20 14 D5 - jsr $DFBF ; CPU:$DEE9 PRG:1EE9 20 BF DF - jsr $E0E4 ; CPU:$DEEC PRG:1EEC 20 E4 E0 - jsr $E6B7 ; CPU:$DEEF PRG:1EEF 20 B7 E6 - jsr $E77D ; CPU:$DEF2 PRG:1EF2 20 7D E7 +SubCDEE3: + jsr SubCE2F3 ; CPU:$DEE3 PRG:1EE3 20 F3 E2 + jsr SubCD514 ; CPU:$DEE6 PRG:1EE6 20 14 D5 + jsr SubCDFBF ; CPU:$DEE9 PRG:1EE9 20 BF DF + jsr SubCE0E4 ; CPU:$DEEC PRG:1EEC 20 E4 E0 + jsr SubCE6B7 ; CPU:$DEEF PRG:1EEF 20 B7 E6 + jsr SubCE77D ; CPU:$DEF2 PRG:1EF2 20 7D E7 lda Zp65 ; CPU:$DEF5 PRG:1EF5 A5 65 ora ZpE9 ; CPU:$DEF7 PRG:1EF7 05 E9 - beq Label_DEFE ; CPU:$DEF9 PRG:1EF9 F0 03 - jsr $E8F0 ; CPU:$DEFB PRG:1EFB 20 F0 E8 + beq Sub_8764_OnZero_DEFE ; CPU:$DEF9 PRG:1EF9 F0 03 + jsr SubCE8F0 ; CPU:$DEFB PRG:1EFB 20 F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DEFE +; Routine: Sub_8764_OnZero_DEFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6933,13 +6937,13 @@ Label_DEE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEFE: +Sub_8764_OnZero_DEFE: lda Zp65 ; CPU:$DEFE PRG:1EFE A5 65 ora ZpEA ; CPU:$DF00 PRG:1F00 05 EA - beq Label_DF07 ; CPU:$DF02 PRG:1F02 F0 03 - jsr $EC3C ; CPU:$DF04 PRG:1F04 20 3C EC + beq Sub_8764_OnZero_DF07 ; CPU:$DF02 PRG:1F02 F0 03 + jsr SubCEC3C ; CPU:$DF04 PRG:1F04 20 3C EC ; ----------------------------------------------------------------------------- -; Routine: Label_DF07 +; Routine: Sub_8764_OnZero_DF07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6947,13 +6951,13 @@ Label_DEFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF07: +Sub_8764_OnZero_DF07: lda Zp65 ; CPU:$DF07 PRG:1F07 A5 65 ora ZpEB ; CPU:$DF09 PRG:1F09 05 EB - beq Label_DF10 ; CPU:$DF0B PRG:1F0B F0 03 - jsr $EA81 ; CPU:$DF0D PRG:1F0D 20 81 EA + beq Sub_8764_OnZero_DF10 ; CPU:$DF0B PRG:1F0B F0 03 + jsr SubCEA81 ; CPU:$DF0D PRG:1F0D 20 81 EA ; ----------------------------------------------------------------------------- -; Routine: Label_DF10 +; Routine: Sub_8764_OnZero_DF10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6961,11 +6965,11 @@ Label_DF07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF10: - jsr $E410 ; CPU:$DF10 PRG:1F10 20 10 E4 +Sub_8764_OnZero_DF10: + jsr SubCE410 ; CPU:$DF10 PRG:1F10 20 10 E4 rts ; CPU:$DF13 PRG:1F13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF14 +; Routine: Sub_8764_OnZero_DF14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6973,11 +6977,11 @@ Label_DF10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF14: - jsr $E86C ; CPU:$DF14 PRG:1F14 20 6C E8 - jmp $DF23 ; CPU:$DF17 PRG:1F17 4C 23 DF +Sub_8764_OnZero_DF14: + jsr SubCE86C ; CPU:$DF14 PRG:1F14 20 6C E8 + jmp SubCDF23 ; CPU:$DF17 PRG:1F17 4C 23 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DF1A +; Routine: Sub_8764_OnZero_DF1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6985,11 +6989,11 @@ Label_DF14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF1A: - jsr $EB77 ; CPU:$DF1A PRG:1F1A 20 77 EB - jmp $DF23 ; CPU:$DF1D PRG:1F1D 4C 23 DF +Sub_8764_OnZero_DF1A: + jsr SubCEB77 ; CPU:$DF1A PRG:1F1A 20 77 EB + jmp SubCDF23 ; CPU:$DF1D PRG:1F1D 4C 23 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DF20 +; Routine: Sub_8764_OnZero_DF20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6997,10 +7001,10 @@ Label_DF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF20: - jsr $E9D5 ; CPU:$DF20 PRG:1F20 20 D5 E9 +Sub_8764_OnZero_DF20: + jsr SubCE9D5 ; CPU:$DF20 PRG:1F20 20 D5 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_DF23 +; Routine: SubCDF23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7008,13 +7012,13 @@ Label_DF20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF23: - jsr $E2F3 ; CPU:$DF23 PRG:1F23 20 F3 E2 +SubCDF23: + jsr SubCE2F3 ; CPU:$DF23 PRG:1F23 20 F3 E2 lda ZpE5 ; CPU:$DF26 PRG:1F26 A5 E5 - beq Label_DF2D ; CPU:$DF28 PRG:1F28 F0 03 - jsr $E0E4 ; CPU:$DF2A PRG:1F2A 20 E4 E0 + beq Sub_8764_OnZero_DF2D ; CPU:$DF28 PRG:1F28 F0 03 + jsr SubCE0E4 ; CPU:$DF2A PRG:1F2A 20 E4 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_DF2D +; Routine: Sub_8764_OnZero_DF2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7022,12 +7026,12 @@ Label_DF23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF2D: +Sub_8764_OnZero_DF2D: lda ZpE7 ; CPU:$DF2D PRG:1F2D A5 E7 - beq Label_DF34 ; CPU:$DF2F PRG:1F2F F0 03 - jsr $E6B7 ; CPU:$DF31 PRG:1F31 20 B7 E6 + beq Sub_8764_OnZero_DF34 ; CPU:$DF2F PRG:1F2F F0 03 + jsr SubCE6B7 ; CPU:$DF31 PRG:1F31 20 B7 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_DF34 +; Routine: Sub_8764_OnZero_DF34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7035,12 +7039,12 @@ Label_DF2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF34: +Sub_8764_OnZero_DF34: lda ZpE8 ; CPU:$DF34 PRG:1F34 A5 E8 - beq Label_DF3B ; CPU:$DF36 PRG:1F36 F0 03 - jsr $E77D ; CPU:$DF38 PRG:1F38 20 7D E7 + beq Sub_8764_OnZero_DF3B ; CPU:$DF36 PRG:1F36 F0 03 + jsr SubCE77D ; CPU:$DF38 PRG:1F38 20 7D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF3B +; Routine: Sub_8764_OnZero_DF3B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7048,18 +7052,18 @@ Label_DF34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF3B: +Sub_8764_OnZero_DF3B: lda Zp4A ; CPU:$DF3B PRG:1F3B A5 4A - bne Label_DF4D ; CPU:$DF3D PRG:1F3D D0 0E + bne Sub_8764_OnNonzero_DF4D ; CPU:$DF3D PRG:1F3D D0 0E lda ZpB1 ; CPU:$DF3F PRG:1F3F A5 B1 - bne Label_DF4D ; CPU:$DF41 PRG:1F41 D0 0A + bne Sub_8764_OnNonzero_DF4D ; CPU:$DF41 PRG:1F41 D0 0A lda #$00 ; CPU:$DF43 PRG:1F43 A9 00 sta Zp65 ; CPU:$DF45 PRG:1F45 85 65 sta ZpE9 ; CPU:$DF47 PRG:1F47 85 E9 sta ZpEA ; CPU:$DF49 PRG:1F49 85 EA sta ZpEB ; CPU:$DF4B PRG:1F4B 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_DF4D +; Routine: Sub_8764_OnNonzero_DF4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7067,10 +7071,10 @@ Label_DF3B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF4D: +Sub_8764_OnNonzero_DF4D: rts ; CPU:$DF4D PRG:1F4D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF4E +; Routine: SubCDF4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7078,19 +7082,19 @@ Label_DF4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF4E: +SubCDF4E: ldx Zp74 ; CPU:$DF4E PRG:1F4E A6 74 ldy Zp7A ; CPU:$DF50 PRG:1F50 A4 7A txa ; CPU:$DF52 PRG:1F52 8A and #$08 ; CPU:$DF53 PRG:1F53 29 08 - beq Label_DF62 ; CPU:$DF55 PRG:1F55 F0 0B + beq Sub_8764_JoinBranchPaths_DF62 ; CPU:$DF55 PRG:1F55 F0 0B tya ; CPU:$DF57 PRG:1F57 98 and #$08 ; CPU:$DF58 PRG:1F58 29 08 - bne Label_DF62 ; CPU:$DF5A PRG:1F5A D0 06 + bne Sub_8764_JoinBranchPaths_DF62 ; CPU:$DF5A PRG:1F5A D0 06 dec $02F8 ; CPU:$DF5C PRG:1F5C CE F8 02 dec $02F8 ; CPU:$DF5F PRG:1F5F CE F8 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DF62 +; Routine: Sub_8764_JoinBranchPaths_DF62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7098,17 +7102,17 @@ Label_DF4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF62: +Sub_8764_JoinBranchPaths_DF62: txa ; CPU:$DF62 PRG:1F62 8A and #$04 ; CPU:$DF63 PRG:1F63 29 04 - beq Label_DF72 ; CPU:$DF65 PRG:1F65 F0 0B + beq Sub_8764_JoinBranchPaths_DF72 ; CPU:$DF65 PRG:1F65 F0 0B tya ; CPU:$DF67 PRG:1F67 98 and #$04 ; CPU:$DF68 PRG:1F68 29 04 - bne Label_DF72 ; CPU:$DF6A PRG:1F6A D0 06 + bne Sub_8764_JoinBranchPaths_DF72 ; CPU:$DF6A PRG:1F6A D0 06 inc $02F8 ; CPU:$DF6C PRG:1F6C EE F8 02 inc $02F8 ; CPU:$DF6F PRG:1F6F EE F8 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DF72 +; Routine: Sub_8764_JoinBranchPaths_DF72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7116,17 +7120,17 @@ Label_DF62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF72: +Sub_8764_JoinBranchPaths_DF72: txa ; CPU:$DF72 PRG:1F72 8A and #$02 ; CPU:$DF73 PRG:1F73 29 02 - beq Label_DF82 ; CPU:$DF75 PRG:1F75 F0 0B + beq Sub_8764_JoinBranchPaths_DF82 ; CPU:$DF75 PRG:1F75 F0 0B tya ; CPU:$DF77 PRG:1F77 98 and #$02 ; CPU:$DF78 PRG:1F78 29 02 - bne Label_DF82 ; CPU:$DF7A PRG:1F7A D0 06 + bne Sub_8764_JoinBranchPaths_DF82 ; CPU:$DF7A PRG:1F7A D0 06 dec $02FB ; CPU:$DF7C PRG:1F7C CE FB 02 dec $02FB ; CPU:$DF7F PRG:1F7F CE FB 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DF82 +; Routine: Sub_8764_JoinBranchPaths_DF82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7134,17 +7138,17 @@ Label_DF72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF82: +Sub_8764_JoinBranchPaths_DF82: txa ; CPU:$DF82 PRG:1F82 8A and #$01 ; CPU:$DF83 PRG:1F83 29 01 - beq Label_DF92 ; CPU:$DF85 PRG:1F85 F0 0B + beq Sub_8764_JoinBranchPaths_DF92 ; CPU:$DF85 PRG:1F85 F0 0B tya ; CPU:$DF87 PRG:1F87 98 and #$01 ; CPU:$DF88 PRG:1F88 29 01 - bne Label_DF92 ; CPU:$DF8A PRG:1F8A D0 06 + bne Sub_8764_JoinBranchPaths_DF92 ; CPU:$DF8A PRG:1F8A D0 06 inc $02FB ; CPU:$DF8C PRG:1F8C EE FB 02 inc $02FB ; CPU:$DF8F PRG:1F8F EE FB 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DF92 +; Routine: Sub_8764_JoinBranchPaths_DF92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7152,11 +7156,11 @@ Label_DF82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF92: +Sub_8764_JoinBranchPaths_DF92: lda Zp7B ; CPU:$DF92 PRG:1F92 A5 7B - bne Label_DFA2 ; CPU:$DF94 PRG:1F94 D0 0C + bne Sub_8764_OnNonzero_DFA2 ; CPU:$DF94 PRG:1F94 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_DF96 +; Routine: SubCDF96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7164,13 +7168,13 @@ Label_DF92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF96: +SubCDF96: lda $02F8 ; CPU:$DF96 PRG:1F96 AD F8 02 sta $02FC ; CPU:$DF99 PRG:1F99 8D FC 02 lda $02FB ; CPU:$DF9C PRG:1F9C AD FB 02 sta $02FF ; CPU:$DF9F PRG:1F9F 8D FF 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DFA2 +; Routine: Sub_8764_OnNonzero_DFA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7178,10 +7182,10 @@ Label_DF96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFA2: +Sub_8764_OnNonzero_DFA2: rts ; CPU:$DFA2 PRG:1FA2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFA3 +; Routine: SubCDFA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7189,17 +7193,17 @@ Label_DFA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFA3: +SubCDFA3: lda Zp7B ; CPU:$DFA3 PRG:1FA3 A5 7B - beq Label_DFBE ; CPU:$DFA5 PRG:1FA5 F0 17 + beq Sub_8764_OnZero_DFBE ; CPU:$DFA5 PRG:1FA5 F0 17 lda $02FC ; CPU:$DFA7 PRG:1FA7 AD FC 02 cmp #$18 ; CPU:$DFAA PRG:1FAA C9 18 - bcs Label_DFB5 ; CPU:$DFAC PRG:1FAC B0 07 + bcs Sub_8764_OnCarrySet_DFB5 ; CPU:$DFAC PRG:1FAC B0 07 lda #$00 ; CPU:$DFAE PRG:1FAE A9 00 sta Zp7B ; CPU:$DFB0 PRG:1FB0 85 7B - jmp $DF96 ; CPU:$DFB2 PRG:1FB2 4C 96 DF + jmp SubCDF96 ; CPU:$DFB2 PRG:1FB2 4C 96 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DFB5 +; Routine: Sub_8764_OnCarrySet_DFB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7207,13 +7211,13 @@ Label_DFA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFB5: +Sub_8764_OnCarrySet_DFB5: lda $02FC ; CPU:$DFB5 PRG:1FB5 AD FC 02 sec ; CPU:$DFB8 PRG:1FB8 38 sbc #$06 ; CPU:$DFB9 PRG:1FB9 E9 06 sta $02FC ; CPU:$DFBB PRG:1FBB 8D FC 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DFBE +; Routine: Sub_8764_OnZero_DFBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7221,10 +7225,10 @@ Label_DFB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFBE: +Sub_8764_OnZero_DFBE: rts ; CPU:$DFBE PRG:1FBE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFBF +; Routine: SubCDFBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7232,14 +7236,14 @@ Label_DFBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFBF: +SubCDFBF: lda ZpAA ; CPU:$DFBF PRG:1FBF A5 AA - beq Label_DFC9 ; CPU:$DFC1 PRG:1FC1 F0 06 + beq Sub_8764_OnZero_DFC9 ; CPU:$DFC1 PRG:1FC1 F0 06 lda #$02 ; CPU:$DFC3 PRG:1FC3 A9 02 ora ZpFC ; CPU:$DFC5 PRG:1FC5 05 FC sta ZpFC ; CPU:$DFC7 PRG:1FC7 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_DFC9 +; Routine: Sub_8764_OnZero_DFC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7247,15 +7251,15 @@ Label_DFBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFC9: +Sub_8764_OnZero_DFC9: lda Zp8E ; CPU:$DFC9 PRG:1FC9 A5 8E - beq Label_DFD4 ; CPU:$DFCB PRG:1FCB F0 07 - lda Zp43 ; CPU:$DFCD PRG:1FCD A5 43 + beq Sub_8764_OnZero_DFD4 ; CPU:$DFCB PRG:1FCB F0 07 + lda AudioState ; CPU:$DFCD PRG:1FCD A5 43 and #$01 ; CPU:$DFCF PRG:1FCF 29 01 - beq Label_DFD4 ; CPU:$DFD1 PRG:1FD1 F0 01 + beq Sub_8764_OnZero_DFD4 ; CPU:$DFD1 PRG:1FD1 F0 01 rts ; CPU:$DFD3 PRG:1FD3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFD4 +; Routine: Sub_8764_OnZero_DFD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7263,14 +7267,14 @@ Label_DFC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFD4: - lda Zp43 ; CPU:$DFD4 PRG:1FD4 A5 43 +Sub_8764_OnZero_DFD4: + lda AudioState ; CPU:$DFD4 PRG:1FD4 A5 43 and #$03 ; CPU:$DFD6 PRG:1FD6 29 03 cmp #$01 ; CPU:$DFD8 PRG:1FD8 C9 01 - bne Label_DFDF ; CPU:$DFDA PRG:1FDA D0 03 - jmp $E0DD ; CPU:$DFDC PRG:1FDC 4C DD E0 + bne Sub_8764_OnNonzero_DFDF ; CPU:$DFDA PRG:1FDA D0 03 + jmp SubCE0DD ; CPU:$DFDC PRG:1FDC 4C DD E0 ; ----------------------------------------------------------------------------- -; Routine: Label_DFDF +; Routine: Sub_8764_OnNonzero_DFDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7278,11 +7282,11 @@ Label_DFD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFDF: +Sub_8764_OnNonzero_DFDF: ldx #$00 ; CPU:$DFDF PRG:1FDF A2 00 ldy #$00 ; CPU:$DFE1 PRG:1FE1 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DFE3 +; Routine: SubCDFE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7290,13 +7294,13 @@ Label_DFDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFE3: +SubCDFE3: lda Zp90,x ; CPU:$DFE3 PRG:1FE3 B5 90 and #$40 ; CPU:$DFE5 PRG:1FE5 29 40 - bne Label_DFEC ; CPU:$DFE7 PRG:1FE7 D0 03 - jmp $E0D1 ; CPU:$DFE9 PRG:1FE9 4C D1 E0 + bne Sub_8764_OnNonzero_DFEC ; CPU:$DFE7 PRG:1FE7 D0 03 + jmp SubCE0D1 ; CPU:$DFE9 PRG:1FE9 4C D1 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_DFEC +; Routine: Sub_8764_OnNonzero_DFEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7304,19 +7308,19 @@ Label_DFE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFEC: +Sub_8764_OnNonzero_DFEC: lda ZpD9,x ; CPU:$DFEC PRG:1FEC B5 D9 clc ; CPU:$DFEE PRG:1FEE 18 adc #$08 ; CPU:$DFEF PRG:1FEF 69 08 cmp #$1E ; CPU:$DFF1 PRG:1FF1 C9 1E - bcs Label_DFFF ; CPU:$DFF3 PRG:1FF3 B0 0A + bcs Sub_8764_OnCarrySet_DFFF ; CPU:$DFF3 PRG:1FF3 B0 0A lda ZpD9,x ; CPU:$DFF5 PRG:1FF5 B5 D9 clc ; CPU:$DFF7 PRG:1FF7 18 adc ZpA9 ; CPU:$DFF8 PRG:1FF8 65 A9 sta ZpD9,x ; CPU:$DFFA PRG:1FFA 95 D9 - jmp $E0D1 ; CPU:$DFFC PRG:1FFC 4C D1 E0 + jmp SubCE0D1 ; CPU:$DFFC PRG:1FFC 4C D1 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_DFFF +; Routine: Sub_8764_OnCarrySet_DFFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7324,31 +7328,31 @@ Label_DFEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFFF: +Sub_8764_OnCarrySet_DFFF: lda Zp98,x ; CPU:$DFFF PRG:1FFF B5 98 clc ; CPU:$E001 PRG:2001 18 adc ZpA9 ; CPU:$E002 PRG:2002 65 A9 sta Zp98,x ; CPU:$E004 PRG:2004 95 98 lda #$00 ; CPU:$E006 PRG:2006 A9 00 - sta Zp00 ; CPU:$E008 PRG:2008 85 00 - sta Zp01 ; CPU:$E00A PRG:200A 85 01 + sta PtrLo ; CPU:$E008 PRG:2008 85 00 + sta PtrHi ; CPU:$E00A PRG:200A 85 01 lda ZpA9 ; CPU:$E00C PRG:200C A5 A9 - sta Zp03 ; CPU:$E00E PRG:200E 85 03 - jsr $E0DE ; CPU:$E010 PRG:2010 20 DE E0 + sta Ptr2Hi ; CPU:$E00E PRG:200E 85 03 + jsr SubCE0DE ; CPU:$E010 PRG:2010 20 DE E0 sta Zp04 ; CPU:$E013 PRG:2013 85 04 lda ZpA0,x ; CPU:$E015 PRG:2015 B5 A0 and #$0F ; CPU:$E017 PRG:2017 29 0F - beq Label_E02C ; CPU:$E019 PRG:2019 F0 11 + beq Sub_8764_OnZero_E02C ; CPU:$E019 PRG:2019 F0 11 sta Zp05 ; CPU:$E01B PRG:201B 85 05 lda Zp98,x ; CPU:$E01D PRG:201D B5 98 cmp #$08 ; CPU:$E01F PRG:201F C9 08 - bmi Label_E044 ; CPU:$E021 PRG:2021 30 21 + bmi SubCE044 ; CPU:$E021 PRG:2021 30 21 lda ZpA0,x ; CPU:$E023 PRG:2023 B5 A0 and #$F0 ; CPU:$E025 PRG:2025 29 F0 sta ZpA0,x ; CPU:$E027 PRG:2027 95 A0 - jmp $E044 ; CPU:$E029 PRG:2029 4C 44 E0 + jmp SubCE044 ; CPU:$E029 PRG:2029 4C 44 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E02C +; Routine: Sub_8764_OnZero_E02C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7356,7 +7360,7 @@ Label_DFFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E02C: +Sub_8764_OnZero_E02C: lda ZpA0,x ; CPU:$E02C PRG:202C B5 A0 lsr a ; CPU:$E02E PRG:202E 4A lsr a ; CPU:$E02F PRG:202F 4A @@ -7365,14 +7369,14 @@ Label_E02C: sta Zp05 ; CPU:$E032 PRG:2032 85 05 lda Zp98,x ; CPU:$E034 PRG:2034 B5 98 cmp #$08 ; CPU:$E036 PRG:2036 C9 08 - bmi Label_E044 ; CPU:$E038 PRG:2038 30 0A + bmi SubCE044 ; CPU:$E038 PRG:2038 30 0A lda Zp05 ; CPU:$E03A PRG:203A A5 05 sta ZpA0,x ; CPU:$E03C PRG:203C 95 A0 lda Zp90,x ; CPU:$E03E PRG:203E B5 90 ora #$20 ; CPU:$E040 PRG:2040 09 20 sta Zp90,x ; CPU:$E042 PRG:2042 95 90 ; ----------------------------------------------------------------------------- -; Routine: Label_E044 +; Routine: SubCE044 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7380,20 +7384,20 @@ Label_E02C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E044: +SubCE044: lda #$99 ; CPU:$E044 PRG:2044 A9 99 sta $0211,y ; CPU:$E046 PRG:2046 99 11 02 lda Zp05 ; CPU:$E049 PRG:2049 A5 05 cmp #$08 ; CPU:$E04B PRG:204B C9 08 - bne Label_E05E ; CPU:$E04D PRG:204D D0 0F + bne Sub_8764_OnNonzero_E05E ; CPU:$E04D PRG:204D D0 0F lda $0212,y ; CPU:$E04F PRG:204F B9 12 02 ora #$80 ; CPU:$E052 PRG:2052 09 80 sta $0212,y ; CPU:$E054 PRG:2054 99 12 02 lda Zp04 ; CPU:$E057 PRG:2057 A5 04 - sta Zp01 ; CPU:$E059 PRG:2059 85 01 - jmp $E0B2 ; CPU:$E05B PRG:205B 4C B2 E0 + sta PtrHi ; CPU:$E059 PRG:2059 85 01 + jmp SubCE0B2 ; CPU:$E05B PRG:205B 4C B2 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E05E +; Routine: Sub_8764_OnNonzero_E05E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7401,17 +7405,17 @@ Label_E044: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05E: +Sub_8764_OnNonzero_E05E: cmp #$04 ; CPU:$E05E PRG:205E C9 04 - bne Label_E071 ; CPU:$E060 PRG:2060 D0 0F + bne Sub_8764_OnNonzero_E071 ; CPU:$E060 PRG:2060 D0 0F lda $0212,y ; CPU:$E062 PRG:2062 B9 12 02 and #$7F ; CPU:$E065 PRG:2065 29 7F sta $0212,y ; CPU:$E067 PRG:2067 99 12 02 - lda Zp03 ; CPU:$E06A PRG:206A A5 03 - sta Zp01 ; CPU:$E06C PRG:206C 85 01 - jmp $E0B2 ; CPU:$E06E PRG:206E 4C B2 E0 + lda Ptr2Hi ; CPU:$E06A PRG:206A A5 03 + sta PtrHi ; CPU:$E06C PRG:206C 85 01 + jmp SubCE0B2 ; CPU:$E06E PRG:206E 4C B2 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E071 +; Routine: Sub_8764_OnNonzero_E071 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7419,17 +7423,17 @@ Label_E05E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E071: +Sub_8764_OnNonzero_E071: cmp #$02 ; CPU:$E071 PRG:2071 C9 02 - bne Label_E084 ; CPU:$E073 PRG:2073 D0 0F + bne Sub_8764_OnNonzero_E084 ; CPU:$E073 PRG:2073 D0 0F lda $0212,y ; CPU:$E075 PRG:2075 B9 12 02 and #$BF ; CPU:$E078 PRG:2078 29 BF sta $0212,y ; CPU:$E07A PRG:207A 99 12 02 lda Zp04 ; CPU:$E07D PRG:207D A5 04 - sta Zp00 ; CPU:$E07F PRG:207F 85 00 - jmp $E090 ; CPU:$E081 PRG:2081 4C 90 E0 + sta PtrLo ; CPU:$E07F PRG:207F 85 00 + jmp SubCE090 ; CPU:$E081 PRG:2081 4C 90 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E084 +; Routine: Sub_8764_OnNonzero_E084 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7437,14 +7441,14 @@ Label_E071: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E084: +Sub_8764_OnNonzero_E084: lda $0212,y ; CPU:$E084 PRG:2084 B9 12 02 ora #$40 ; CPU:$E087 PRG:2087 09 40 sta $0212,y ; CPU:$E089 PRG:2089 99 12 02 - lda Zp03 ; CPU:$E08C PRG:208C A5 03 - sta Zp00 ; CPU:$E08E PRG:208E 85 00 + lda Ptr2Hi ; CPU:$E08C PRG:208C A5 03 + sta PtrLo ; CPU:$E08E PRG:208E 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E090 +; Routine: SubCE090 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7452,14 +7456,14 @@ Label_E084: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E090: - lda Zp43 ; CPU:$E090 PRG:2090 A5 43 +SubCE090: + lda AudioState ; CPU:$E090 PRG:2090 A5 43 and #$06 ; CPU:$E092 PRG:2092 29 06 - bne Label_E09B ; CPU:$E094 PRG:2094 D0 05 + bne Sub_8764_OnNonzero_E09B ; CPU:$E094 PRG:2094 D0 05 lda #$95 ; CPU:$E096 PRG:2096 A9 95 - jmp $E0AF ; CPU:$E098 PRG:2098 4C AF E0 + jmp SubCE0AF ; CPU:$E098 PRG:2098 4C AF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E09B +; Routine: Sub_8764_OnNonzero_E09B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7467,13 +7471,13 @@ Label_E090: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E09B: +Sub_8764_OnNonzero_E09B: cmp #$02 ; CPU:$E09B PRG:209B C9 02 - bne Label_E0A4 ; CPU:$E09D PRG:209D D0 05 + bne Sub_8764_OnNonzero_E0A4 ; CPU:$E09D PRG:209D D0 05 lda #$96 ; CPU:$E09F PRG:209F A9 96 - jmp $E0AF ; CPU:$E0A1 PRG:20A1 4C AF E0 + jmp SubCE0AF ; CPU:$E0A1 PRG:20A1 4C AF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0A4 +; Routine: Sub_8764_OnNonzero_E0A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7481,13 +7485,13 @@ Label_E09B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A4: +Sub_8764_OnNonzero_E0A4: cmp #$04 ; CPU:$E0A4 PRG:20A4 C9 04 - bne Label_E0AD ; CPU:$E0A6 PRG:20A6 D0 05 + bne Sub_8764_OnNonzero_E0AD ; CPU:$E0A6 PRG:20A6 D0 05 lda #$97 ; CPU:$E0A8 PRG:20A8 A9 97 - jmp $E0AF ; CPU:$E0AA PRG:20AA 4C AF E0 + jmp SubCE0AF ; CPU:$E0AA PRG:20AA 4C AF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0AD +; Routine: Sub_8764_OnNonzero_E0AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7495,10 +7499,10 @@ Label_E0A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0AD: +Sub_8764_OnNonzero_E0AD: lda #$96 ; CPU:$E0AD PRG:20AD A9 96 ; ----------------------------------------------------------------------------- -; Routine: Label_E0AF +; Routine: SubCE0AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7506,10 +7510,10 @@ Label_E0AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0AF: +SubCE0AF: sta $0211,y ; CPU:$E0AF PRG:20AF 99 11 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B2 +; Routine: SubCE0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7517,16 +7521,16 @@ Label_E0AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B2: +SubCE0B2: lda Zp90,x ; CPU:$E0B2 PRG:20B2 B5 90 and #$80 ; CPU:$E0B4 PRG:20B4 29 80 - beq Label_E0C1 ; CPU:$E0B6 PRG:20B6 F0 09 + beq Sub_8764_OnZero_E0C1 ; CPU:$E0B6 PRG:20B6 F0 09 lda $0211,y ; CPU:$E0B8 PRG:20B8 B9 11 02 sec ; CPU:$E0BB PRG:20BB 38 sbc #$05 ; CPU:$E0BC PRG:20BC E9 05 sta $0211,y ; CPU:$E0BE PRG:20BE 99 11 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E0C1 +; Routine: Sub_8764_OnZero_E0C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7534,17 +7538,17 @@ Label_E0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0C1: +Sub_8764_OnZero_E0C1: lda $0213,y ; CPU:$E0C1 PRG:20C1 B9 13 02 clc ; CPU:$E0C4 PRG:20C4 18 - adc Zp00 ; CPU:$E0C5 PRG:20C5 65 00 + adc PtrLo ; CPU:$E0C5 PRG:20C5 65 00 sta $0213,y ; CPU:$E0C7 PRG:20C7 99 13 02 lda ZpD9,x ; CPU:$E0CA PRG:20CA B5 D9 clc ; CPU:$E0CC PRG:20CC 18 - adc Zp01 ; CPU:$E0CD PRG:20CD 65 01 + adc PtrHi ; CPU:$E0CD PRG:20CD 65 01 sta ZpD9,x ; CPU:$E0CF PRG:20CF 95 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D1 +; Routine: SubCE0D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7552,17 +7556,17 @@ Label_E0C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D1: +SubCE0D1: inx ; CPU:$E0D1 PRG:20D1 E8 iny ; CPU:$E0D2 PRG:20D2 C8 iny ; CPU:$E0D3 PRG:20D3 C8 iny ; CPU:$E0D4 PRG:20D4 C8 iny ; CPU:$E0D5 PRG:20D5 C8 cpx #$08 ; CPU:$E0D6 PRG:20D6 E0 08 - bpl Label_E0DD ; CPU:$E0D8 PRG:20D8 10 03 - jmp $DFE3 ; CPU:$E0DA PRG:20DA 4C E3 DF + bpl SubCE0DD ; CPU:$E0D8 PRG:20D8 10 03 + jmp SubCDFE3 ; CPU:$E0DA PRG:20DA 4C E3 DF ; ----------------------------------------------------------------------------- -; Routine: Label_E0DD +; Routine: SubCE0DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7570,10 +7574,10 @@ Label_E0D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0DD: +SubCE0DD: rts ; CPU:$E0DD PRG:20DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E0DE +; Routine: SubCE0DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7581,13 +7585,13 @@ Label_E0DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0DE: +SubCE0DE: eor #$FF ; CPU:$E0DE PRG:20DE 49 FF clc ; CPU:$E0E0 PRG:20E0 18 adc #$01 ; CPU:$E0E1 PRG:20E1 69 01 rts ; CPU:$E0E3 PRG:20E3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E0E4 +; Routine: SubCE0E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7595,14 +7599,14 @@ Label_E0DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E4: +SubCE0E4: lda ZpE5 ; CPU:$E0E4 PRG:20E4 A5 E5 - beq Label_E0EE ; CPU:$E0E6 PRG:20E6 F0 06 + beq Sub_8764_OnZero_E0EE ; CPU:$E0E6 PRG:20E6 F0 06 lda #$08 ; CPU:$E0E8 PRG:20E8 A9 08 ora ZpFC ; CPU:$E0EA PRG:20EA 05 FC sta ZpFC ; CPU:$E0EC PRG:20EC 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_E0EE +; Routine: Sub_8764_OnZero_E0EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7610,13 +7614,13 @@ Label_E0E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0EE: - lda Zp43 ; CPU:$E0EE PRG:20EE A5 43 +Sub_8764_OnZero_E0EE: + lda AudioState ; CPU:$E0EE PRG:20EE A5 43 and #$01 ; CPU:$E0F0 PRG:20F0 29 01 - bne Label_E0F5 ; CPU:$E0F2 PRG:20F2 D0 01 + bne Sub_8764_OnNonzero_E0F5 ; CPU:$E0F2 PRG:20F2 D0 01 rts ; CPU:$E0F4 PRG:20F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E0F5 +; Routine: Sub_8764_OnNonzero_E0F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7624,11 +7628,11 @@ Label_E0EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0F5: +Sub_8764_OnNonzero_E0F5: ldy #$00 ; CPU:$E0F5 PRG:20F5 A0 00 sty Zp0D ; CPU:$E0F7 PRG:20F7 84 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E0F9 +; Routine: SubCE0F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7636,15 +7640,15 @@ Label_E0F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0F9: +SubCE0F9: ldx Zp0D ; CPU:$E0F9 PRG:20F9 A6 0D lda Zp4E,x ; CPU:$E0FB PRG:20FB B5 4E - beq Label_E106 ; CPU:$E0FD PRG:20FD F0 07 + beq Sub_8764_OnZero_E106 ; CPU:$E0FD PRG:20FD F0 07 lda #$00 ; CPU:$E0FF PRG:20FF A9 00 sta ZpE5,x ; CPU:$E101 PRG:2101 95 E5 - jmp $E26D ; CPU:$E103 PRG:2103 4C 6D E2 + jmp SubCE26D ; CPU:$E103 PRG:2103 4C 6D E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E106 +; Routine: Sub_8764_OnZero_E106 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7652,15 +7656,15 @@ Label_E0F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E106: +Sub_8764_OnZero_E106: lda Zp8E ; CPU:$E106 PRG:2106 A5 8E - beq Label_E111 ; CPU:$E108 PRG:2108 F0 07 - lda Zp43 ; CPU:$E10A PRG:210A A5 43 + beq Sub_8764_JoinBranchPaths_E111 ; CPU:$E108 PRG:2108 F0 07 + lda AudioState ; CPU:$E10A PRG:210A A5 43 and #$02 ; CPU:$E10C PRG:210C 29 02 - bne Label_E111 ; CPU:$E10E PRG:210E D0 01 + bne Sub_8764_JoinBranchPaths_E111 ; CPU:$E10E PRG:210E D0 01 rts ; CPU:$E110 PRG:2110 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E111 +; Routine: Sub_8764_JoinBranchPaths_E111 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7668,18 +7672,18 @@ Label_E106: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E111: +Sub_8764_JoinBranchPaths_E111: lda #$01 ; CPU:$E111 PRG:2111 A9 01 sta ZpE5,x ; CPU:$E113 PRG:2113 95 E5 inc ZpB3 ; CPU:$E115 PRG:2115 E6 B3 lda ZpB3 ; CPU:$E117 PRG:2117 A5 B3 and #$0C ; CPU:$E119 PRG:2119 29 0C cmp #$00 ; CPU:$E11B PRG:211B C9 00 - bne Label_E124 ; CPU:$E11D PRG:211D D0 05 + bne Sub_8764_OnNonzero_E124 ; CPU:$E11D PRG:211D D0 05 lda #$9A ; CPU:$E11F PRG:211F A9 9A - jmp $E138 ; CPU:$E121 PRG:2121 4C 38 E1 + jmp SubCE138 ; CPU:$E121 PRG:2121 4C 38 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E124 +; Routine: Sub_8764_OnNonzero_E124 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7687,13 +7691,13 @@ Label_E111: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E124: +Sub_8764_OnNonzero_E124: cmp #$04 ; CPU:$E124 PRG:2124 C9 04 - bne Label_E12D ; CPU:$E126 PRG:2126 D0 05 + bne Sub_8764_OnNonzero_E12D ; CPU:$E126 PRG:2126 D0 05 lda #$9B ; CPU:$E128 PRG:2128 A9 9B - jmp $E138 ; CPU:$E12A PRG:212A 4C 38 E1 + jmp SubCE138 ; CPU:$E12A PRG:212A 4C 38 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E12D +; Routine: Sub_8764_OnNonzero_E12D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7701,13 +7705,13 @@ Label_E124: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E12D: +Sub_8764_OnNonzero_E12D: cmp #$08 ; CPU:$E12D PRG:212D C9 08 - bne Label_E136 ; CPU:$E12F PRG:212F D0 05 + bne Sub_8764_OnNonzero_E136 ; CPU:$E12F PRG:212F D0 05 lda #$9C ; CPU:$E131 PRG:2131 A9 9C - jmp $E138 ; CPU:$E133 PRG:2133 4C 38 E1 + jmp SubCE138 ; CPU:$E133 PRG:2133 4C 38 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E136 +; Routine: Sub_8764_OnNonzero_E136 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7715,10 +7719,10 @@ Label_E12D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E136: +Sub_8764_OnNonzero_E136: lda #$9D ; CPU:$E136 PRG:2136 A9 9D ; ----------------------------------------------------------------------------- -; Routine: Label_E138 +; Routine: SubCE138 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7726,20 +7730,20 @@ Label_E136: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E138: +SubCE138: sta $0249,y ; CPU:$E138 PRG:2138 99 49 02 lda Zp8B ; CPU:$E13B PRG:213B A5 8B - sta Zp00 ; CPU:$E13D PRG:213D 85 00 + sta PtrLo ; CPU:$E13D PRG:213D 85 00 ldx Zp0D ; CPU:$E13F PRG:213F A6 0D lda Zp7D,x ; CPU:$E141 PRG:2141 B5 7D and #$0F ; CPU:$E143 PRG:2143 29 0F sta Zp0C ; CPU:$E145 PRG:2145 85 0C - bne Label_E150 ; CPU:$E147 PRG:2147 D0 07 - lda Zp00 ; CPU:$E149 PRG:2149 A5 00 - jsr $E0DE ; CPU:$E14B PRG:214B 20 DE E0 - sta Zp00 ; CPU:$E14E PRG:214E 85 00 + bne Sub_8764_OnNonzero_E150 ; CPU:$E147 PRG:2147 D0 07 + lda PtrLo ; CPU:$E149 PRG:2149 A5 00 + jsr SubCE0DE ; CPU:$E14B PRG:214B 20 DE E0 + sta PtrLo ; CPU:$E14E PRG:214E 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E150 +; Routine: Sub_8764_OnNonzero_E150 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7747,20 +7751,20 @@ Label_E138: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E150: +Sub_8764_OnNonzero_E150: lda Zp7D,x ; CPU:$E150 PRG:2150 B5 7D and #$F0 ; CPU:$E152 PRG:2152 29 F0 - beq Label_E184 ; CPU:$E154 PRG:2154 F0 2E + beq Sub_8764_OnZero_E184 ; CPU:$E154 PRG:2154 F0 2E lda $024B,y ; CPU:$E156 PRG:2156 B9 4B 02 ldx Zp0C ; CPU:$E159 PRG:2159 A6 0C cmp $C0C5,x ; CPU:$E15B PRG:215B DD C5 C0 - beq Label_E169 ; CPU:$E15E PRG:215E F0 09 + beq Sub_8764_OnZero_E169 ; CPU:$E15E PRG:215E F0 09 clc ; CPU:$E160 PRG:2160 18 - adc Zp00 ; CPU:$E161 PRG:2161 65 00 + adc PtrLo ; CPU:$E161 PRG:2161 65 00 sta $024B,y ; CPU:$E163 PRG:2163 99 4B 02 - jmp $E240 ; CPU:$E166 PRG:2166 4C 40 E2 + jmp SubCE240 ; CPU:$E166 PRG:2166 4C 40 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E169 +; Routine: Sub_8764_OnZero_E169 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7768,16 +7772,16 @@ Label_E150: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E169: +Sub_8764_OnZero_E169: lda $0248,y ; CPU:$E169 PRG:2169 B9 48 02 cmp #$C7 ; CPU:$E16C PRG:216C C9 C7 - beq Label_E179 ; CPU:$E16E PRG:216E F0 09 + beq Sub_8764_OnZero_E179 ; CPU:$E16E PRG:216E F0 09 clc ; CPU:$E170 PRG:2170 18 adc Zp8C ; CPU:$E171 PRG:2171 65 8C sta $0248,y ; CPU:$E173 PRG:2173 99 48 02 - jmp $E240 ; CPU:$E176 PRG:2176 4C 40 E2 + jmp SubCE240 ; CPU:$E176 PRG:2176 4C 40 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E179 +; Routine: Sub_8764_OnZero_E179 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7785,14 +7789,14 @@ Label_E169: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E179: +Sub_8764_OnZero_E179: ldx Zp0D ; CPU:$E179 PRG:2179 A6 0D lda Zp7D,x ; CPU:$E17B PRG:217B B5 7D eor #$10 ; CPU:$E17D PRG:217D 49 10 sta Zp7D,x ; CPU:$E17F PRG:217F 95 7D - jmp $E26D ; CPU:$E181 PRG:2181 4C 6D E2 + jmp SubCE26D ; CPU:$E181 PRG:2181 4C 6D E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E184 +; Routine: Sub_8764_OnZero_E184 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7800,27 +7804,27 @@ Label_E179: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E184: +Sub_8764_OnZero_E184: lda Zp7C ; CPU:$E184 PRG:2184 A5 7C and $C04A,x ; CPU:$E186 PRG:2186 3D 4A C0 - bne Label_E1C7 ; CPU:$E189 PRG:2189 D0 3C + bne Sub_8764_OnNonzero_E1C7 ; CPU:$E189 PRG:2189 D0 3C lda $024B,y ; CPU:$E18B PRG:218B B9 4B 02 ldx Zp0C ; CPU:$E18E PRG:218E A6 0C cmp $C0CD,x ; CPU:$E190 PRG:2190 DD CD C0 - beq Label_E1BB ; CPU:$E193 PRG:2193 F0 26 - lda Zp43 ; CPU:$E195 PRG:2195 A5 43 + beq Sub_8764_OnZero_E1BB ; CPU:$E193 PRG:2193 F0 26 + lda AudioState ; CPU:$E195 PRG:2195 A5 43 and #$08 ; CPU:$E197 PRG:2197 29 08 - beq Label_E1D7 ; CPU:$E199 PRG:2199 F0 3C + beq Sub_8764_JoinBranchPaths_E1D7 ; CPU:$E199 PRG:2199 F0 3C ldx Zp0C ; CPU:$E19B PRG:219B A6 0C txa ; CPU:$E19D PRG:219D 8A and #$01 ; CPU:$E19E PRG:219E 29 01 - beq Label_E1AD ; CPU:$E1A0 PRG:21A0 F0 0B + beq Sub_8764_OnZero_E1AD ; CPU:$E1A0 PRG:21A0 F0 0B lda $024B,y ; CPU:$E1A2 PRG:21A2 B9 4B 02 cmp $C0CF,x ; CPU:$E1A5 PRG:21A5 DD CF C0 - bcc Label_E1D7 ; CPU:$E1A8 PRG:21A8 90 2D - jmp $E1B5 ; CPU:$E1AA PRG:21AA 4C B5 E1 + bcc Sub_8764_JoinBranchPaths_E1D7 ; CPU:$E1A8 PRG:21A8 90 2D + jmp SubCE1B5 ; CPU:$E1AA PRG:21AA 4C B5 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1AD +; Routine: Sub_8764_OnZero_E1AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7828,12 +7832,12 @@ Label_E184: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AD: +Sub_8764_OnZero_E1AD: lda $024B,y ; CPU:$E1AD PRG:21AD B9 4B 02 cmp $C0CF,x ; CPU:$E1B0 PRG:21B0 DD CF C0 - bcs Label_E1D7 ; CPU:$E1B3 PRG:21B3 B0 22 + bcs Sub_8764_JoinBranchPaths_E1D7 ; CPU:$E1B3 PRG:21B3 B0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_E1B5 +; Routine: SubCE1B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7841,12 +7845,12 @@ Label_E1AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1B5: +SubCE1B5: lda Zp18 ; CPU:$E1B5 PRG:21B5 A5 18 cmp #$F8 ; CPU:$E1B7 PRG:21B7 C9 F8 - bcc Label_E1D7 ; CPU:$E1B9 PRG:21B9 90 1C + bcc Sub_8764_JoinBranchPaths_E1D7 ; CPU:$E1B9 PRG:21B9 90 1C ; ----------------------------------------------------------------------------- -; Routine: Label_E1BB +; Routine: Sub_8764_OnZero_E1BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7854,14 +7858,14 @@ Label_E1B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1BB: +Sub_8764_OnZero_E1BB: ldx Zp0D ; CPU:$E1BB PRG:21BB A6 0D lda $C04A,x ; CPU:$E1BD PRG:21BD BD 4A C0 ora Zp7C ; CPU:$E1C0 PRG:21C0 05 7C sta Zp7C ; CPU:$E1C2 PRG:21C2 85 7C - jmp $E26D ; CPU:$E1C4 PRG:21C4 4C 6D E2 + jmp SubCE26D ; CPU:$E1C4 PRG:21C4 4C 6D E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C7 +; Routine: Sub_8764_OnNonzero_E1C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7869,16 +7873,16 @@ Label_E1BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C7: +Sub_8764_OnNonzero_E1C7: lda $0248,y ; CPU:$E1C7 PRG:21C7 B9 48 02 cmp ZpE3,x ; CPU:$E1CA PRG:21CA D5 E3 - beq Label_E1D7 ; CPU:$E1CC PRG:21CC F0 09 + beq Sub_8764_JoinBranchPaths_E1D7 ; CPU:$E1CC PRG:21CC F0 09 sec ; CPU:$E1CE PRG:21CE 38 sbc Zp8C ; CPU:$E1CF PRG:21CF E5 8C sta $0248,y ; CPU:$E1D1 PRG:21D1 99 48 02 - jmp $E240 ; CPU:$E1D4 PRG:21D4 4C 40 E2 + jmp SubCE240 ; CPU:$E1D4 PRG:21D4 4C 40 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E1D7 +; Routine: Sub_8764_JoinBranchPaths_E1D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7886,20 +7890,20 @@ Label_E1C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1D7: +Sub_8764_JoinBranchPaths_E1D7: lda Zp0C ; CPU:$E1D7 PRG:21D7 A5 0C eor #$01 ; CPU:$E1D9 PRG:21D9 49 01 tax ; CPU:$E1DB PRG:21DB AA lda $024B,y ; CPU:$E1DC PRG:21DC B9 4B 02 ldx Zp0C ; CPU:$E1DF PRG:21DF A6 0C cmp $C0C7,x ; CPU:$E1E1 PRG:21E1 DD C7 C0 - beq Label_E1EF ; CPU:$E1E4 PRG:21E4 F0 09 + beq SubCE1EF ; CPU:$E1E4 PRG:21E4 F0 09 clc ; CPU:$E1E6 PRG:21E6 18 - adc Zp00 ; CPU:$E1E7 PRG:21E7 65 00 + adc PtrLo ; CPU:$E1E7 PRG:21E7 65 00 sta $024B,y ; CPU:$E1E9 PRG:21E9 99 4B 02 - jmp $E240 ; CPU:$E1EC PRG:21EC 4C 40 E2 + jmp SubCE240 ; CPU:$E1EC PRG:21EC 4C 40 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E1EF +; Routine: SubCE1EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7907,17 +7911,17 @@ Label_E1D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1EF: +SubCE1EF: lda Zp18 ; CPU:$E1EF PRG:21EF A5 18 cmp #$80 ; CPU:$E1F1 PRG:21F1 C9 80 - bcs Label_E202 ; CPU:$E1F3 PRG:21F3 B0 0D + bcs Sub_8764_OnCarrySet_E202 ; CPU:$E1F3 PRG:21F3 B0 0D lda $024A,y ; CPU:$E1F5 PRG:21F5 B9 4A 02 ora #$40 ; CPU:$E1F8 PRG:21F8 09 40 sta $024A,y ; CPU:$E1FA PRG:21FA 99 4A 02 lda #$11 ; CPU:$E1FD PRG:21FD A9 11 - jmp $E20C ; CPU:$E1FF PRG:21FF 4C 0C E2 + jmp SubCE20C ; CPU:$E1FF PRG:21FF 4C 0C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E202 +; Routine: Sub_8764_OnCarrySet_E202 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7925,13 +7929,13 @@ Label_E1EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E202: +Sub_8764_OnCarrySet_E202: lda $024A,y ; CPU:$E202 PRG:2202 B9 4A 02 and #$BF ; CPU:$E205 PRG:2205 29 BF sta $024A,y ; CPU:$E207 PRG:2207 99 4A 02 lda #$10 ; CPU:$E20A PRG:220A A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E20C +; Routine: SubCE20C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7939,7 +7943,7 @@ Label_E202: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E20C: +SubCE20C: ldx Zp0D ; CPU:$E20C PRG:220C A6 0D sta Zp7D,x ; CPU:$E20E PRG:220E 95 7D and #$0F ; CPU:$E210 PRG:2210 29 0F @@ -7963,9 +7967,9 @@ Label_E20C: lda $C0C9,x ; CPU:$E236 PRG:2236 BD C9 C0 ldx Zp0D ; CPU:$E239 PRG:2239 A6 0D sta ZpE3,x ; CPU:$E23B PRG:223B 95 E3 - jmp $E26D ; CPU:$E23D PRG:223D 4C 6D E2 + jmp SubCE26D ; CPU:$E23D PRG:223D 4C 6D E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E240 +; Routine: SubCE240 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7973,28 +7977,28 @@ Label_E20C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E240: +SubCE240: lda ZpD7 ; CPU:$E240 PRG:2240 A5 D7 - bne Label_E26D ; CPU:$E242 PRG:2242 D0 29 + bne SubCE26D ; CPU:$E242 PRG:2242 D0 29 lda $024B,y ; CPU:$E244 PRG:2244 B9 4B 02 - sta Zp00 ; CPU:$E247 PRG:2247 85 00 + sta PtrLo ; CPU:$E247 PRG:2247 85 00 lda $0248,y ; CPU:$E249 PRG:2249 B9 48 02 - sta Zp01 ; CPU:$E24C PRG:224C 85 01 - jsr $CE2A ; CPU:$E24E PRG:224E 20 2A CE - beq Label_E26D ; CPU:$E251 PRG:2251 F0 1A - jsr $DD81 ; CPU:$E253 PRG:2253 20 81 DD - jsr $DDD2 ; CPU:$E256 PRG:2256 20 D2 DD + sta PtrHi ; CPU:$E24C PRG:224C 85 01 + jsr SubCCE2A ; CPU:$E24E PRG:224E 20 2A CE + beq SubCE26D ; CPU:$E251 PRG:2251 F0 1A + jsr SubCDD81 ; CPU:$E253 PRG:2253 20 81 DD + jsr SubCDDD2 ; CPU:$E256 PRG:2256 20 D2 DD cmp #$0E ; CPU:$E259 PRG:2259 C9 0E - bpl Label_E26D ; CPU:$E25B PRG:225B 10 10 + bpl SubCE26D ; CPU:$E25B PRG:225B 10 10 and #$07 ; CPU:$E25D PRG:225D 29 07 - beq Label_E26D ; CPU:$E25F PRG:225F F0 0C + beq SubCE26D ; CPU:$E25F PRG:225F F0 0C lda #$0D ; CPU:$E261 PRG:2261 A9 0D sta Zp0A ; CPU:$E263 PRG:2263 85 0A - jsr $DE14 ; CPU:$E265 PRG:2265 20 14 DE + jsr SubCDE14 ; CPU:$E265 PRG:2265 20 14 DE lda #$0D ; CPU:$E268 PRG:2268 A9 0D - jsr $DE60 ; CPU:$E26A PRG:226A 20 60 DE + jsr SubCDE60 ; CPU:$E26A PRG:226A 20 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E26D +; Routine: SubCE26D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8002,7 +8006,7 @@ Label_E240: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E26D: +SubCE26D: lda ZpE5 ; CPU:$E26D PRG:226D A5 E5 ora ZpE6 ; CPU:$E26F PRG:226F 05 E6 sta ZpE5 ; CPU:$E271 PRG:2271 85 E5 @@ -8013,13 +8017,13 @@ Label_E26D: inc Zp0D ; CPU:$E277 PRG:2277 E6 0D lda Zp75 ; CPU:$E279 PRG:2279 A5 75 cmp #$07 ; CPU:$E27B PRG:227B C9 07 - bcc Label_E288 ; CPU:$E27D PRG:227D 90 09 + bcc Sub_8764_JoinBranchPaths_E288 ; CPU:$E27D PRG:227D 90 09 lda Zp0D ; CPU:$E27F PRG:227F A5 0D cmp #$02 ; CPU:$E281 PRG:2281 C9 02 - bpl Label_E288 ; CPU:$E283 PRG:2283 10 03 - jmp $E0F9 ; CPU:$E285 PRG:2285 4C F9 E0 + bpl Sub_8764_JoinBranchPaths_E288 ; CPU:$E283 PRG:2283 10 03 + jmp SubCE0F9 ; CPU:$E285 PRG:2285 4C F9 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E288 +; Routine: Sub_8764_JoinBranchPaths_E288 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8027,10 +8031,10 @@ Label_E26D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E288: +Sub_8764_JoinBranchPaths_E288: rts ; CPU:$E288 PRG:2288 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E289 +; Routine: SubCE289 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8038,11 +8042,11 @@ Label_E288: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E289: +SubCE289: ldx #$00 ; CPU:$E289 PRG:2289 A2 00 ldy #$00 ; CPU:$E28B PRG:228B A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E28D +; Routine: Sub_8764_OnNegative_E28D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8050,14 +8054,14 @@ Label_E289: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E28D: +Sub_8764_OnNegative_E28D: lda Zp4B ; CPU:$E28D PRG:228D A5 4B - bne Label_E296 ; CPU:$E28F PRG:228F D0 05 + bne Sub_8764_OnNonzero_E296 ; CPU:$E28F PRG:228F D0 05 lda #$07 ; CPU:$E291 PRG:2291 A9 07 sta Zp4B ; CPU:$E293 PRG:2293 85 4B rts ; CPU:$E295 PRG:2295 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E296 +; Routine: Sub_8764_OnNonzero_E296 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8065,20 +8069,20 @@ Label_E28D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E296: +Sub_8764_OnNonzero_E296: cmp #$01 ; CPU:$E296 PRG:2296 C9 01 - bne Label_E2B6 ; CPU:$E298 PRG:2298 D0 1C + bne Sub_8764_JoinBranchPaths_E2B6 ; CPU:$E298 PRG:2298 D0 1C lda ZpC0,x ; CPU:$E29A PRG:229A B5 C0 cmp #$20 ; CPU:$E29C PRG:229C C9 20 - bcc Label_E2AD ; CPU:$E29E PRG:229E 90 0D + bcc Sub_8764_JoinBranchPaths_E2AD ; CPU:$E29E PRG:229E 90 0D cmp #$A0 ; CPU:$E2A0 PRG:22A0 C9 A0 - bcs Label_E2AD ; CPU:$E2A2 PRG:22A2 B0 09 + bcs Sub_8764_JoinBranchPaths_E2AD ; CPU:$E2A2 PRG:22A2 B0 09 lda Zp18,x ; CPU:$E2A4 PRG:22A4 B5 18 cmp #$E0 ; CPU:$E2A6 PRG:22A6 C9 E0 - bcc Label_E2B6 ; CPU:$E2A8 PRG:22A8 90 0C - jsr $E2DE ; CPU:$E2AA PRG:22AA 20 DE E2 + bcc Sub_8764_JoinBranchPaths_E2B6 ; CPU:$E2A8 PRG:22A8 90 0C + jsr SubCE2DE ; CPU:$E2AA PRG:22AA 20 DE E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2AD +; Routine: Sub_8764_JoinBranchPaths_E2AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8086,15 +8090,15 @@ Label_E296: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2AD: +Sub_8764_JoinBranchPaths_E2AD: tya ; CPU:$E2AD PRG:22AD 98 adc #$08 ; CPU:$E2AE PRG:22AE 69 08 tay ; CPU:$E2B0 PRG:22B0 A8 inx ; CPU:$E2B1 PRG:22B1 E8 cpx #$03 ; CPU:$E2B2 PRG:22B2 E0 03 - bmi Label_E28D ; CPU:$E2B4 PRG:22B4 30 D7 + bmi Sub_8764_OnNegative_E28D ; CPU:$E2B4 PRG:22B4 30 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_E2B6 +; Routine: Sub_8764_JoinBranchPaths_E2B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8102,10 +8106,10 @@ Label_E2AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B6: +Sub_8764_JoinBranchPaths_E2B6: rts ; CPU:$E2B6 PRG:22B6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2B7 +; Routine: SubCE2B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8113,11 +8117,11 @@ Label_E2B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B7: +SubCE2B7: ldx #$00 ; CPU:$E2B7 PRG:22B7 A2 00 ldy #$00 ; CPU:$E2B9 PRG:22B9 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E2BB +; Routine: Sub_8764_OnNegative_E2BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8125,16 +8129,16 @@ Label_E2B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2BB: +Sub_8764_OnNegative_E2BB: lda ZpC9,x ; CPU:$E2BB PRG:22BB B5 C9 and #$01 ; CPU:$E2BD PRG:22BD 29 01 - beq Label_E2CA ; CPU:$E2BF PRG:22BF F0 09 + beq Sub_8764_OnZero_E2CA ; CPU:$E2BF PRG:22BF F0 09 lda ZpC3,x ; CPU:$E2C1 PRG:22C1 B5 C3 cmp #$90 ; CPU:$E2C3 PRG:22C3 C9 90 - bcs Label_E2D3 ; CPU:$E2C5 PRG:22C5 B0 0C - jmp $E2D0 ; CPU:$E2C7 PRG:22C7 4C D0 E2 + bcs Sub_8764_JoinBranchPaths_E2D3 ; CPU:$E2C5 PRG:22C5 B0 0C + jmp SubCE2D0 ; CPU:$E2C7 PRG:22C7 4C D0 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2CA +; Routine: Sub_8764_OnZero_E2CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8142,12 +8146,12 @@ Label_E2BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2CA: +Sub_8764_OnZero_E2CA: lda ZpC3,x ; CPU:$E2CA PRG:22CA B5 C3 cmp #$C8 ; CPU:$E2CC PRG:22CC C9 C8 - bcc Label_E2D3 ; CPU:$E2CE PRG:22CE 90 03 + bcc Sub_8764_JoinBranchPaths_E2D3 ; CPU:$E2CE PRG:22CE 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D0 +; Routine: SubCE2D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8155,10 +8159,10 @@ Label_E2CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D0: - jsr $E2DE ; CPU:$E2D0 PRG:22D0 20 DE E2 +SubCE2D0: + jsr SubCE2DE ; CPU:$E2D0 PRG:22D0 20 DE E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D3 +; Routine: Sub_8764_JoinBranchPaths_E2D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8166,17 +8170,17 @@ Label_E2D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D3: +Sub_8764_JoinBranchPaths_E2D3: inx ; CPU:$E2D3 PRG:22D3 E8 tya ; CPU:$E2D4 PRG:22D4 98 clc ; CPU:$E2D5 PRG:22D5 18 adc #$10 ; CPU:$E2D6 PRG:22D6 69 10 tay ; CPU:$E2D8 PRG:22D8 A8 cpx #$03 ; CPU:$E2D9 PRG:22D9 E0 03 - bmi Label_E2BB ; CPU:$E2DB PRG:22DB 30 DE + bmi Sub_8764_OnNegative_E2BB ; CPU:$E2DB PRG:22DB 30 DE rts ; CPU:$E2DD PRG:22DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2DE +; Routine: SubCE2DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8184,14 +8188,14 @@ Label_E2D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2DE: +SubCE2DE: lda Zp18 ; CPU:$E2DE PRG:22DE A5 18 cmp #$80 ; CPU:$E2E0 PRG:22E0 C9 80 - bcs Label_E2E9 ; CPU:$E2E2 PRG:22E2 B0 05 + bcs Sub_8764_OnCarrySet_E2E9 ; CPU:$E2E2 PRG:22E2 B0 05 lda #$01 ; CPU:$E2E4 PRG:22E4 A9 01 - jmp $E2EB ; CPU:$E2E6 PRG:22E6 4C EB E2 + jmp SubCE2EB ; CPU:$E2E6 PRG:22E6 4C EB E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2E9 +; Routine: Sub_8764_OnCarrySet_E2E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8199,10 +8203,10 @@ Label_E2DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2E9: +Sub_8764_OnCarrySet_E2E9: lda #$03 ; CPU:$E2E9 PRG:22E9 A9 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E2EB +; Routine: SubCE2EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8210,14 +8214,14 @@ Label_E2E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2EB: +SubCE2EB: clc ; CPU:$E2EB PRG:22EB 18 adc ZpC9,x ; CPU:$E2EC PRG:22EC 75 C9 and #$03 ; CPU:$E2EE PRG:22EE 29 03 sta ZpC9,x ; CPU:$E2F0 PRG:22F0 95 C9 rts ; CPU:$E2F2 PRG:22F2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F3 +; Routine: SubCE2F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8225,11 +8229,11 @@ Label_E2EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F3: +SubCE2F3: ldx #$00 ; CPU:$E2F3 PRG:22F3 A2 00 ldy #$00 ; CPU:$E2F5 PRG:22F5 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F7 +; Routine: SubCE2F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8237,14 +8241,14 @@ Label_E2F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F7: +SubCE2F7: lda Zp40,x ; CPU:$E2F7 PRG:22F7 B5 40 - beq Label_E312 ; CPU:$E2F9 PRG:22F9 F0 17 + beq Sub_8764_OnZero_E312 ; CPU:$E2F9 PRG:22F9 F0 17 cmp #$01 ; CPU:$E2FB PRG:22FB C9 01 - beq Label_E302 ; CPU:$E2FD PRG:22FD F0 03 - jmp $E3C0 ; CPU:$E2FF PRG:22FF 4C C0 E3 + beq Sub_8764_OnZero_E302 ; CPU:$E2FD PRG:22FD F0 03 + jmp SubCE3C0 ; CPU:$E2FF PRG:22FF 4C C0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E302 +; Routine: Sub_8764_OnZero_E302 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8252,13 +8256,13 @@ Label_E2F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E302: +Sub_8764_OnZero_E302: lda Zp18 ; CPU:$E302 PRG:2302 A5 18 cmp #$FB ; CPU:$E304 PRG:2304 C9 FB - bcc Label_E30B ; CPU:$E306 PRG:2306 90 03 - jmp $E3C0 ; CPU:$E308 PRG:2308 4C C0 E3 + bcc Sub_8764_OnCarryClear_E30B ; CPU:$E306 PRG:2306 90 03 + jmp SubCE3C0 ; CPU:$E308 PRG:2308 4C C0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E30B +; Routine: Sub_8764_OnCarryClear_E30B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8266,12 +8270,12 @@ Label_E302: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E30B: +Sub_8764_OnCarryClear_E30B: lda #$02 ; CPU:$E30B PRG:230B A9 02 sta Zp40,x ; CPU:$E30D PRG:230D 95 40 - jmp $E3C0 ; CPU:$E30F PRG:230F 4C C0 E3 + jmp SubCE3C0 ; CPU:$E30F PRG:230F 4C C0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E312 +; Routine: Sub_8764_OnZero_E312 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8279,18 +8283,18 @@ Label_E30B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E312: +Sub_8764_OnZero_E312: txa ; CPU:$E312 PRG:2312 8A pha ; CPU:$E313 PRG:2313 48 ldx Zp75 ; CPU:$E314 PRG:2314 A6 75 lda $C06E,x ; CPU:$E316 PRG:2316 BD 6E C0 - sta Zp00 ; CPU:$E319 PRG:2319 85 00 + sta PtrLo ; CPU:$E319 PRG:2319 85 00 lda Zp8E ; CPU:$E31B PRG:231B A5 8E - beq Label_E324 ; CPU:$E31D PRG:231D F0 05 + beq Sub_8764_OnZero_E324 ; CPU:$E31D PRG:231D F0 05 lda $C07E,x ; CPU:$E31F PRG:231F BD 7E C0 - sta Zp00 ; CPU:$E322 PRG:2322 85 00 + sta PtrLo ; CPU:$E322 PRG:2322 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E324 +; Routine: Sub_8764_OnZero_E324 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8298,23 +8302,23 @@ Label_E312: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E324: +Sub_8764_OnZero_E324: lda #$04 ; CPU:$E324 PRG:2324 A9 04 ora ZpFC ; CPU:$E326 PRG:2326 05 FC sta ZpFC ; CPU:$E328 PRG:2328 85 FC pla ; CPU:$E32A PRG:232A 68 tax ; CPU:$E32B PRG:232B AA - lda Zp00 ; CPU:$E32C PRG:232C A5 00 - jsr $ED50 ; CPU:$E32E PRG:232E 20 50 ED - beq Label_E367 ; CPU:$E331 PRG:2331 F0 34 + lda PtrLo ; CPU:$E32C PRG:232C A5 00 + jsr SubCED50 ; CPU:$E32E PRG:232E 20 50 ED + beq Sub_8764_OnZero_E367 ; CPU:$E331 PRG:2331 F0 34 lda ZpC6,x ; CPU:$E333 PRG:2333 B5 C6 - bne Label_E340 ; CPU:$E335 PRG:2335 D0 09 + bne Sub_8764_OnNonzero_E340 ; CPU:$E335 PRG:2335 D0 09 lda ZpC0,x ; CPU:$E337 PRG:2337 B5 C0 cmp #$01 ; CPU:$E339 PRG:2339 C9 01 - bcc Label_E346 ; CPU:$E33B PRG:233B 90 09 - jmp $E368 ; CPU:$E33D PRG:233D 4C 68 E3 + bcc SubCE346 ; CPU:$E33B PRG:233B 90 09 + jmp SubCE368 ; CPU:$E33D PRG:233D 4C 68 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E340 +; Routine: Sub_8764_OnNonzero_E340 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8322,12 +8326,12 @@ Label_E324: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E340: +Sub_8764_OnNonzero_E340: lda ZpC0,x ; CPU:$E340 PRG:2340 B5 C0 cmp #$C0 ; CPU:$E342 PRG:2342 C9 C0 - bcc Label_E368 ; CPU:$E344 PRG:2344 90 22 + bcc SubCE368 ; CPU:$E344 PRG:2344 90 22 ; ----------------------------------------------------------------------------- -; Routine: Label_E346 +; Routine: SubCE346 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8335,7 +8339,7 @@ Label_E340: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E346: +SubCE346: lda #$40 ; CPU:$E346 PRG:2346 A9 40 sta Zp40,x ; CPU:$E348 PRG:2348 95 40 lda $C08E,x ; CPU:$E34A PRG:234A BD 8E C0 @@ -8343,11 +8347,11 @@ Label_E346: lda Zp19 ; CPU:$E34F PRG:234F A5 19 and #$01 ; CPU:$E351 PRG:2351 29 01 sta ZpC6,x ; CPU:$E353 PRG:2353 95 C6 - beq Label_E35C ; CPU:$E355 PRG:2355 F0 05 + beq Sub_8764_OnZero_E35C ; CPU:$E355 PRG:2355 F0 05 lda #$00 ; CPU:$E357 PRG:2357 A9 00 - jmp $E35E ; CPU:$E359 PRG:2359 4C 5E E3 + jmp SubCE35E ; CPU:$E359 PRG:2359 4C 5E E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E35C +; Routine: Sub_8764_OnZero_E35C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8355,10 +8359,10 @@ Label_E346: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E35C: +Sub_8764_OnZero_E35C: lda #$C0 ; CPU:$E35C PRG:235C A9 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E35E +; Routine: SubCE35E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8366,13 +8370,13 @@ Label_E35C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E35E: +SubCE35E: sta ZpC0,x ; CPU:$E35E PRG:235E 95 C0 lda #$00 ; CPU:$E360 PRG:2360 A9 00 sta ZpC9,x ; CPU:$E362 PRG:2362 95 C9 - jsr $E3D6 ; CPU:$E364 PRG:2364 20 D6 E3 + jsr SubCE3D6 ; CPU:$E364 PRG:2364 20 D6 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E367 +; Routine: Sub_8764_OnZero_E367 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8380,10 +8384,10 @@ Label_E35E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E367: +Sub_8764_OnZero_E367: rts ; CPU:$E367 PRG:2367 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E368 +; Routine: SubCE368 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8391,17 +8395,17 @@ Label_E367: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E368: +SubCE368: tya ; CPU:$E368 PRG:2368 98 pha ; CPU:$E369 PRG:2369 48 ldy ZpC9,x ; CPU:$E36A PRG:236A B4 C9 lda ZpC6,x ; CPU:$E36C PRG:236C B5 C6 - bne Label_E379 ; CPU:$E36E PRG:236E D0 09 + bne Sub_8764_OnNonzero_E379 ; CPU:$E36E PRG:236E D0 09 lda $C06A,y ; CPU:$E370 PRG:2370 B9 6A C0 - jsr $E0DE ; CPU:$E373 PRG:2373 20 DE E0 - jmp $E37C ; CPU:$E376 PRG:2376 4C 7C E3 + jsr SubCE0DE ; CPU:$E373 PRG:2373 20 DE E0 + jmp SubCE37C ; CPU:$E376 PRG:2376 4C 7C E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E379 +; Routine: Sub_8764_OnNonzero_E379 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8409,10 +8413,10 @@ Label_E368: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E379: +Sub_8764_OnNonzero_E379: lda $C06A,y ; CPU:$E379 PRG:2379 B9 6A C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E37C +; Routine: SubCE37C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8420,7 +8424,7 @@ Label_E379: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E37C: +SubCE37C: clc ; CPU:$E37C PRG:237C 18 adc ZpC0,x ; CPU:$E37D PRG:237D 75 C0 sta ZpC0,x ; CPU:$E37F PRG:237F 95 C0 @@ -8430,32 +8434,32 @@ Label_E37C: sta ZpC3,x ; CPU:$E387 PRG:2387 95 C3 pla ; CPU:$E389 PRG:2389 68 tay ; CPU:$E38A PRG:238A A8 - jsr $E3D6 ; CPU:$E38B PRG:238B 20 D6 E3 + jsr SubCE3D6 ; CPU:$E38B PRG:238B 20 D6 E3 lda ZpD7 ; CPU:$E38E PRG:238E A5 D7 - bne Label_E3C0 ; CPU:$E390 PRG:2390 D0 2E - lda Zp43 ; CPU:$E392 PRG:2392 A5 43 + bne SubCE3C0 ; CPU:$E390 PRG:2390 D0 2E + lda AudioState ; CPU:$E392 PRG:2392 A5 43 and #$01 ; CPU:$E394 PRG:2394 29 01 - bne Label_E3C0 ; CPU:$E396 PRG:2396 D0 28 + bne SubCE3C0 ; CPU:$E396 PRG:2396 D0 28 lda ZpC0,x ; CPU:$E398 PRG:2398 B5 C0 clc ; CPU:$E39A PRG:239A 18 adc #$08 ; CPU:$E39B PRG:239B 69 08 - sta Zp00 ; CPU:$E39D PRG:239D 85 00 + sta PtrLo ; CPU:$E39D PRG:239D 85 00 lda ZpC3,x ; CPU:$E39F PRG:239F B5 C3 - sta Zp01 ; CPU:$E3A1 PRG:23A1 85 01 - jsr $CE2A ; CPU:$E3A3 PRG:23A3 20 2A CE - beq Label_E3C0 ; CPU:$E3A6 PRG:23A6 F0 18 - jsr $DD81 ; CPU:$E3A8 PRG:23A8 20 81 DD - jsr $DDD2 ; CPU:$E3AB PRG:23AB 20 D2 DD - beq Label_E3C0 ; CPU:$E3AE PRG:23AE F0 10 + sta PtrHi ; CPU:$E3A1 PRG:23A1 85 01 + jsr SubCCE2A ; CPU:$E3A3 PRG:23A3 20 2A CE + beq SubCE3C0 ; CPU:$E3A6 PRG:23A6 F0 18 + jsr SubCDD81 ; CPU:$E3A8 PRG:23A8 20 81 DD + jsr SubCDDD2 ; CPU:$E3AB PRG:23AB 20 D2 DD + beq SubCE3C0 ; CPU:$E3AE PRG:23AE F0 10 cmp #$0E ; CPU:$E3B0 PRG:23B0 C9 0E - bpl Label_E3C0 ; CPU:$E3B2 PRG:23B2 10 0C + bpl SubCE3C0 ; CPU:$E3B2 PRG:23B2 10 0C lda #$00 ; CPU:$E3B4 PRG:23B4 A9 00 sta Zp0A ; CPU:$E3B6 PRG:23B6 85 0A - jsr $DE14 ; CPU:$E3B8 PRG:23B8 20 14 DE + jsr SubCDE14 ; CPU:$E3B8 PRG:23B8 20 14 DE lda #$00 ; CPU:$E3BB PRG:23BB A9 00 - jsr $DE60 ; CPU:$E3BD PRG:23BD 20 60 DE + jsr SubCDE60 ; CPU:$E3BD PRG:23BD 20 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E3C0 +; Routine: SubCE3C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8463,22 +8467,22 @@ Label_E37C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C0: +SubCE3C0: lda Zp75 ; CPU:$E3C0 PRG:23C0 A5 75 and #$0C ; CPU:$E3C2 PRG:23C2 29 0C lsr a ; CPU:$E3C4 PRG:23C4 4A lsr a ; CPU:$E3C5 PRG:23C5 4A - sta Zp00 ; CPU:$E3C6 PRG:23C6 85 00 + sta PtrLo ; CPU:$E3C6 PRG:23C6 85 00 inx ; CPU:$E3C8 PRG:23C8 E8 tya ; CPU:$E3C9 PRG:23C9 98 clc ; CPU:$E3CA PRG:23CA 18 adc #$08 ; CPU:$E3CB PRG:23CB 69 08 tay ; CPU:$E3CD PRG:23CD A8 - cpx Zp00 ; CPU:$E3CE PRG:23CE E4 00 - bpl Label_E3D5 ; CPU:$E3D0 PRG:23D0 10 03 - jmp $E2F7 ; CPU:$E3D2 PRG:23D2 4C F7 E2 + cpx PtrLo ; CPU:$E3CE PRG:23CE E4 00 + bpl Sub_8764_OnNonnegative_E3D5 ; CPU:$E3D0 PRG:23D0 10 03 + jmp SubCE2F7 ; CPU:$E3D2 PRG:23D2 4C F7 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E3D5 +; Routine: Sub_8764_OnNonnegative_E3D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8486,10 +8490,10 @@ Label_E3C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3D5: +Sub_8764_OnNonnegative_E3D5: rts ; CPU:$E3D5 PRG:23D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3D6 +; Routine: SubCE3D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8497,19 +8501,19 @@ Label_E3D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3D6: +SubCE3D6: lda ZpC0,x ; CPU:$E3D6 PRG:23D6 B5 C0 - sta Zp00 ; CPU:$E3D8 PRG:23D8 85 00 + sta PtrLo ; CPU:$E3D8 PRG:23D8 85 00 lda ZpC3,x ; CPU:$E3DA PRG:23DA B5 C3 - sta Zp01 ; CPU:$E3DC PRG:23DC 85 01 + sta PtrHi ; CPU:$E3DC PRG:23DC 85 01 inc ZpB2 ; CPU:$E3DE PRG:23DE E6 B2 lda ZpB2 ; CPU:$E3E0 PRG:23E0 A5 B2 and #$18 ; CPU:$E3E2 PRG:23E2 29 18 - bne Label_E3EB ; CPU:$E3E4 PRG:23E4 D0 05 + bne Sub_8764_OnNonzero_E3EB ; CPU:$E3E4 PRG:23E4 D0 05 lda #$A8 ; CPU:$E3E6 PRG:23E6 A9 A8 - jmp $E3FF ; CPU:$E3E8 PRG:23E8 4C FF E3 + jmp SubCE3FF ; CPU:$E3E8 PRG:23E8 4C FF E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3EB +; Routine: Sub_8764_OnNonzero_E3EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8517,13 +8521,13 @@ Label_E3D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3EB: +Sub_8764_OnNonzero_E3EB: cmp #$08 ; CPU:$E3EB PRG:23EB C9 08 - bne Label_E3F4 ; CPU:$E3ED PRG:23ED D0 05 + bne Sub_8764_OnNonzero_E3F4 ; CPU:$E3ED PRG:23ED D0 05 lda #$AA ; CPU:$E3EF PRG:23EF A9 AA - jmp $E3FF ; CPU:$E3F1 PRG:23F1 4C FF E3 + jmp SubCE3FF ; CPU:$E3F1 PRG:23F1 4C FF E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3F4 +; Routine: Sub_8764_OnNonzero_E3F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8531,13 +8535,13 @@ Label_E3EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3F4: +Sub_8764_OnNonzero_E3F4: cmp #$10 ; CPU:$E3F4 PRG:23F4 C9 10 - bne Label_E3FD ; CPU:$E3F6 PRG:23F6 D0 05 + bne Sub_8764_OnNonzero_E3FD ; CPU:$E3F6 PRG:23F6 D0 05 lda #$AC ; CPU:$E3F8 PRG:23F8 A9 AC - jmp $E3FF ; CPU:$E3FA PRG:23FA 4C FF E3 + jmp SubCE3FF ; CPU:$E3FA PRG:23FA 4C FF E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3FD +; Routine: Sub_8764_OnNonzero_E3FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8545,10 +8549,10 @@ Label_E3F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3FD: +Sub_8764_OnNonzero_E3FD: lda #$AE ; CPU:$E3FD PRG:23FD A9 AE ; ----------------------------------------------------------------------------- -; Routine: Label_E3FF +; Routine: SubCE3FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8556,17 +8560,17 @@ Label_E3FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3FF: - sta Zp02 ; CPU:$E3FF PRG:23FF 85 02 +SubCE3FF: + sta Ptr2Lo ; CPU:$E3FF PRG:23FF 85 02 lda #$12 ; CPU:$E401 PRG:2401 A9 12 - sta Zp03 ; CPU:$E403 PRG:2403 85 03 + sta Ptr2Hi ; CPU:$E403 PRG:2403 85 03 lda $C091,x ; CPU:$E405 PRG:2405 BD 91 C0 sta Zp04 ; CPU:$E408 PRG:2408 85 04 lda #$01 ; CPU:$E40A PRG:240A A9 01 - jsr $ED9D ; CPU:$E40C PRG:240C 20 9D ED + jsr SubCED9D ; CPU:$E40C PRG:240C 20 9D ED rts ; CPU:$E40F PRG:240F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E410 +; Routine: SubCE410 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8574,12 +8578,12 @@ Label_E3FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E410: +SubCE410: lda Zp71 ; CPU:$E410 PRG:2410 A5 71 - beq Label_E415 ; CPU:$E412 PRG:2412 F0 01 + beq Sub_8764_OnZero_E415 ; CPU:$E412 PRG:2412 F0 01 rts ; CPU:$E414 PRG:2414 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E415 +; Routine: Sub_8764_OnZero_E415 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8587,11 +8591,11 @@ Label_E410: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E415: +Sub_8764_OnZero_E415: ldx #$00 ; CPU:$E415 PRG:2415 A2 00 ldy #$00 ; CPU:$E417 PRG:2417 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E419 +; Routine: Sub_8764_OnNegative_E419 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8599,7 +8603,7 @@ Label_E415: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E419: +Sub_8764_OnNegative_E419: lda ZpD9,x ; CPU:$E419 PRG:2419 B5 D9 sta $0210,y ; CPU:$E41B PRG:241B 99 10 02 iny ; CPU:$E41E PRG:241E C8 @@ -8608,14 +8612,14 @@ Label_E419: iny ; CPU:$E421 PRG:2421 C8 inx ; CPU:$E422 PRG:2422 E8 cpx #$08 ; CPU:$E423 PRG:2423 E0 08 - bmi Label_E419 ; CPU:$E425 PRG:2425 30 F2 + bmi Sub_8764_OnNegative_E419 ; CPU:$E425 PRG:2425 30 F2 lda ZpD8 ; CPU:$E427 PRG:2427 A5 D8 eor #$21 ; CPU:$E429 PRG:2429 49 21 sta ZpD8 ; CPU:$E42B PRG:242B 85 D8 ldx #$00 ; CPU:$E42D PRG:242D A2 00 ldy #$00 ; CPU:$E42F PRG:242F A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E431 +; Routine: Sub_8764_OnNegative_E431 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8623,17 +8627,17 @@ Label_E419: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E431: +Sub_8764_OnNegative_E431: lda #$00 ; CPU:$E431 PRG:2431 A9 00 - sta Zp00 ; CPU:$E433 PRG:2433 85 00 + sta PtrLo ; CPU:$E433 PRG:2433 85 00 lda Zp90,x ; CPU:$E435 PRG:2435 B5 90 and #$40 ; CPU:$E437 PRG:2437 29 40 - beq Label_E45D ; CPU:$E439 PRG:2439 F0 22 + beq Sub_8764_OnZero_E45D ; CPU:$E439 PRG:2439 F0 22 lda ZpD9,x ; CPU:$E43B PRG:243B B5 D9 - sta Zp01 ; CPU:$E43D PRG:243D 85 01 - jmp $E458 ; CPU:$E43F PRG:243F 4C 58 E4 + sta PtrHi ; CPU:$E43D PRG:243D 85 01 + jmp SubCE458 ; CPU:$E43F PRG:243F 4C 58 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E442 +; Routine: Sub_8764_OnNegative_E442 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8641,19 +8645,19 @@ Label_E431: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E442: - lda a:$0090,y ; CPU:$E442 PRG:2442 B9 90 00 +Sub_8764_OnNegative_E442: + lda a:Zp90,y ; CPU:$E442 PRG:2442 B9 90 00 and #$40 ; CPU:$E445 PRG:2445 29 40 - beq Label_E458 ; CPU:$E447 PRG:2447 F0 0F - lda Zp01 ; CPU:$E449 PRG:2449 A5 01 - cmp a:$00D9,y ; CPU:$E44B PRG:244B D9 D9 00 - bne Label_E458 ; CPU:$E44E PRG:244E D0 08 - inc Zp00 ; CPU:$E450 PRG:2450 E6 00 - lda Zp00 ; CPU:$E452 PRG:2452 A5 00 + beq SubCE458 ; CPU:$E447 PRG:2447 F0 0F + lda PtrHi ; CPU:$E449 PRG:2449 A5 01 + cmp a:ZpD9,y ; CPU:$E44B PRG:244B D9 D9 00 + bne SubCE458 ; CPU:$E44E PRG:244E D0 08 + inc PtrLo ; CPU:$E450 PRG:2450 E6 00 + lda PtrLo ; CPU:$E452 PRG:2452 A5 00 cmp #$04 ; CPU:$E454 PRG:2454 C9 04 - bpl Label_E465 ; CPU:$E456 PRG:2456 10 0D + bpl Sub_8764_OnNonnegative_E465 ; CPU:$E456 PRG:2456 10 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E458 +; Routine: SubCE458 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8661,12 +8665,12 @@ Label_E442: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E458: +SubCE458: iny ; CPU:$E458 PRG:2458 C8 cpy #$08 ; CPU:$E459 PRG:2459 C0 08 - bmi Label_E442 ; CPU:$E45B PRG:245B 30 E5 + bmi Sub_8764_OnNegative_E442 ; CPU:$E45B PRG:245B 30 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E45D +; Routine: Sub_8764_OnZero_E45D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8674,15 +8678,15 @@ Label_E458: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E45D: +Sub_8764_OnZero_E45D: inx ; CPU:$E45D PRG:245D E8 txa ; CPU:$E45E PRG:245E 8A tay ; CPU:$E45F PRG:245F A8 cpx #$05 ; CPU:$E460 PRG:2460 E0 05 - bmi Label_E431 ; CPU:$E462 PRG:2462 30 CD + bmi Sub_8764_OnNegative_E431 ; CPU:$E462 PRG:2462 30 CD rts ; CPU:$E464 PRG:2464 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E465 +; Routine: Sub_8764_OnNonnegative_E465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8690,8 +8694,8 @@ Label_E45D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E465: - lda Zp01 ; CPU:$E465 PRG:2465 A5 01 +Sub_8764_OnNonnegative_E465: + lda PtrHi ; CPU:$E465 PRG:2465 A5 01 clc ; CPU:$E467 PRG:2467 18 adc #$07 ; CPU:$E468 PRG:2468 69 07 sta Zp05 ; CPU:$E46A PRG:246A 85 05 @@ -8699,9 +8703,9 @@ Label_E465: sbc #$16 ; CPU:$E46D PRG:246D E9 16 sta Zp04 ; CPU:$E46F PRG:246F 85 04 ldy #$00 ; CPU:$E471 PRG:2471 A0 00 - sty Zp03 ; CPU:$E473 PRG:2473 84 03 + sty Ptr2Hi ; CPU:$E473 PRG:2473 84 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E475 +; Routine: SubCE475 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8709,25 +8713,25 @@ Label_E465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E475: +SubCE475: lda $0200,y ; CPU:$E475 PRG:2475 B9 00 02 - sta Zp01 ; CPU:$E478 PRG:2478 85 01 + sta PtrHi ; CPU:$E478 PRG:2478 85 01 lda $0203,y ; CPU:$E47A PRG:247A B9 03 02 - sta Zp00 ; CPU:$E47D PRG:247D 85 00 - jsr $CE2A ; CPU:$E47F PRG:247F 20 2A CE - beq Label_E49A ; CPU:$E482 PRG:2482 F0 16 + sta PtrLo ; CPU:$E47D PRG:247D 85 00 + jsr SubCCE2A ; CPU:$E47F PRG:247F 20 2A CE + beq Sub_8764_JoinBranchPaths_E49A ; CPU:$E482 PRG:2482 F0 16 lda Zp04 ; CPU:$E484 PRG:2484 A5 04 cmp $0200,y ; CPU:$E486 PRG:2486 D9 00 02 - bcs Label_E49A ; CPU:$E489 PRG:2489 B0 0F + bcs Sub_8764_JoinBranchPaths_E49A ; CPU:$E489 PRG:2489 B0 0F lda Zp05 ; CPU:$E48B PRG:248B A5 05 cmp $0200,y ; CPU:$E48D PRG:248D D9 00 02 - bcc Label_E49A ; CPU:$E490 PRG:2490 90 08 - inc Zp03 ; CPU:$E492 PRG:2492 E6 03 - lda Zp03 ; CPU:$E494 PRG:2494 A5 03 + bcc Sub_8764_JoinBranchPaths_E49A ; CPU:$E490 PRG:2490 90 08 + inc Ptr2Hi ; CPU:$E492 PRG:2492 E6 03 + lda Ptr2Hi ; CPU:$E494 PRG:2494 A5 03 cmp #$09 ; CPU:$E496 PRG:2496 C9 09 - bpl Label_E4B0 ; CPU:$E498 PRG:2498 10 16 + bpl Sub_8764_OnNonnegative_E4B0 ; CPU:$E498 PRG:2498 10 16 ; ----------------------------------------------------------------------------- -; Routine: Label_E49A +; Routine: Sub_8764_JoinBranchPaths_E49A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8735,21 +8739,21 @@ Label_E475: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E49A: +Sub_8764_JoinBranchPaths_E49A: cpy #$FA ; CPU:$E49A PRG:249A C0 FA - bcs Label_E4AF ; CPU:$E49C PRG:249C B0 11 + bcs Sub_8764_OnCarrySet_E4AF ; CPU:$E49C PRG:249C B0 11 iny ; CPU:$E49E PRG:249E C8 iny ; CPU:$E49F PRG:249F C8 iny ; CPU:$E4A0 PRG:24A0 C8 iny ; CPU:$E4A1 PRG:24A1 C8 cpy #$50 ; CPU:$E4A2 PRG:24A2 C0 50 - bcc Label_E475 ; CPU:$E4A4 PRG:24A4 90 CF + bcc SubCE475 ; CPU:$E4A4 PRG:24A4 90 CF cpy #$F0 ; CPU:$E4A6 PRG:24A6 C0 F0 - bcs Label_E475 ; CPU:$E4A8 PRG:24A8 B0 CB + bcs SubCE475 ; CPU:$E4A8 PRG:24A8 B0 CB ldy #$F8 ; CPU:$E4AA PRG:24AA A0 F8 - jmp $E475 ; CPU:$E4AC PRG:24AC 4C 75 E4 + jmp SubCE475 ; CPU:$E4AC PRG:24AC 4C 75 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E4AF +; Routine: Sub_8764_OnCarrySet_E4AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8757,10 +8761,10 @@ Label_E49A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4AF: +Sub_8764_OnCarrySet_E4AF: rts ; CPU:$E4AF PRG:24AF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B0 +; Routine: Sub_8764_OnNonnegative_E4B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8768,13 +8772,13 @@ Label_E4AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B0: +Sub_8764_OnNonnegative_E4B0: lda ZpD8 ; CPU:$E4B0 PRG:24B0 A5 D8 lsr a ; CPU:$E4B2 PRG:24B2 4A tay ; CPU:$E4B3 PRG:24B3 A8 ldx #$00 ; CPU:$E4B4 PRG:24B4 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B6 +; Routine: Sub_8764_OnNonzero_E4B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8782,7 +8786,7 @@ Label_E4B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B6: +Sub_8764_OnNonzero_E4B6: lda #$00 ; CPU:$E4B6 PRG:24B6 A9 00 sta $0210,y ; CPU:$E4B8 PRG:24B8 99 10 02 iny ; CPU:$E4BB PRG:24BB C8 @@ -8791,10 +8795,10 @@ Label_E4B6: iny ; CPU:$E4BE PRG:24BE C8 inx ; CPU:$E4BF PRG:24BF E8 cpx #$04 ; CPU:$E4C0 PRG:24C0 E0 04 - bne Label_E4B6 ; CPU:$E4C2 PRG:24C2 D0 F2 + bne Sub_8764_OnNonzero_E4B6 ; CPU:$E4C2 PRG:24C2 D0 F2 rts ; CPU:$E4C4 PRG:24C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4C5 +; Routine: SubCE4C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8802,13 +8806,13 @@ Label_E4B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4C5: +SubCE4C5: ldx #$00 ; CPU:$E4C5 PRG:24C5 A2 00 stx ZpD7 ; CPU:$E4C7 PRG:24C7 86 D7 lda ZpD0 ; CPU:$E4C9 PRG:24C9 A5 D0 sta Zp0A ; CPU:$E4CB PRG:24CB 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E4CD +; Routine: Sub_8764_OnCarryClear_E4CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8816,13 +8820,13 @@ Label_E4C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4CD: +Sub_8764_OnCarryClear_E4CD: lda Zp0A ; CPU:$E4CD PRG:24CD A5 0A and #$01 ; CPU:$E4CF PRG:24CF 29 01 - beq Label_E4D6 ; CPU:$E4D1 PRG:24D1 F0 03 - jsr $E4E0 ; CPU:$E4D3 PRG:24D3 20 E0 E4 + beq Sub_8764_OnZero_E4D6 ; CPU:$E4D1 PRG:24D1 F0 03 + jsr SubCE4E0 ; CPU:$E4D3 PRG:24D3 20 E0 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D6 +; Routine: Sub_8764_OnZero_E4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8830,16 +8834,16 @@ Label_E4CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D6: +Sub_8764_OnZero_E4D6: inx ; CPU:$E4D6 PRG:24D6 E8 clc ; CPU:$E4D7 PRG:24D7 18 lsr Zp0A ; CPU:$E4D8 PRG:24D8 46 0A txa ; CPU:$E4DA PRG:24DA 8A cmp #$02 ; CPU:$E4DB PRG:24DB C9 02 - bcc Label_E4CD ; CPU:$E4DD PRG:24DD 90 EE + bcc Sub_8764_OnCarryClear_E4CD ; CPU:$E4DD PRG:24DD 90 EE rts ; CPU:$E4DF PRG:24DF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4E0 +; Routine: SubCE4E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8847,11 +8851,11 @@ Label_E4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4E0: +SubCE4E0: dec ZpCC,x ; CPU:$E4E0 PRG:24E0 D6 CC lda ZpCC,x ; CPU:$E4E2 PRG:24E2 B5 CC cmp #$D0 ; CPU:$E4E4 PRG:24E4 C9 D0 - bne Label_E4FA ; CPU:$E4E6 PRG:24E6 D0 12 + bne Sub_8764_OnNonzero_E4FA ; CPU:$E4E6 PRG:24E6 D0 12 lda ZpD0 ; CPU:$E4E8 PRG:24E8 A5 D0 eor $C04A,x ; CPU:$E4EA PRG:24EA 5D 4A C0 sta ZpD0 ; CPU:$E4ED PRG:24ED 85 D0 @@ -8859,9 +8863,9 @@ Label_E4E0: sty ZpE1,x ; CPU:$E4F1 PRG:24F1 94 E1 lda #$00 ; CPU:$E4F3 PRG:24F3 A9 00 sta ZpCC,x ; CPU:$E4F5 PRG:24F5 95 CC - jmp $E56A ; CPU:$E4F7 PRG:24F7 4C 6A E5 + jmp SubCE56A ; CPU:$E4F7 PRG:24F7 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E4FA +; Routine: Sub_8764_OnNonzero_E4FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8869,15 +8873,15 @@ Label_E4E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4FA: +Sub_8764_OnNonzero_E4FA: and #$FF ; CPU:$E4FA PRG:24FA 29 FF - bne Label_E505 ; CPU:$E4FC PRG:24FC D0 07 + bne Sub_8764_OnNonzero_E505 ; CPU:$E4FC PRG:24FC D0 07 lda #$FF ; CPU:$E4FE PRG:24FE A9 FF sta ZpCC,x ; CPU:$E500 PRG:2500 95 CC sta ZpD5,x ; CPU:$E502 PRG:2502 95 D5 rts ; CPU:$E504 PRG:2504 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E505 +; Routine: Sub_8764_OnNonzero_E505 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8885,18 +8889,18 @@ Label_E4FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E505: +Sub_8764_OnNonzero_E505: cmp #$EA ; CPU:$E505 PRG:2505 C9 EA - bcc Label_E531 ; CPU:$E507 PRG:2507 90 28 + bcc Sub_8764_OnCarryClear_E531 ; CPU:$E507 PRG:2507 90 28 cmp #$F5 ; CPU:$E509 PRG:2509 C9 F5 - bcc Label_E51F ; CPU:$E50B PRG:250B 90 12 + bcc Sub_8764_OnCarryClear_E51F ; CPU:$E50B PRG:250B 90 12 cmp #$FA ; CPU:$E50D PRG:250D C9 FA - bcc Label_E518 ; CPU:$E50F PRG:250F 90 07 + bcc Sub_8764_OnCarryClear_E518 ; CPU:$E50F PRG:250F 90 07 ldy #$00 ; CPU:$E511 PRG:2511 A0 00 sty ZpE1,x ; CPU:$E513 PRG:2513 94 E1 - jmp $E56A ; CPU:$E515 PRG:2515 4C 6A E5 + jmp SubCE56A ; CPU:$E515 PRG:2515 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E518 +; Routine: Sub_8764_OnCarryClear_E518 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8904,12 +8908,12 @@ Label_E505: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E518: +Sub_8764_OnCarryClear_E518: ldy #$02 ; CPU:$E518 PRG:2518 A0 02 sty ZpE1,x ; CPU:$E51A PRG:251A 94 E1 - jmp $E56A ; CPU:$E51C PRG:251C 4C 6A E5 + jmp SubCE56A ; CPU:$E51C PRG:251C 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E51F +; Routine: Sub_8764_OnCarryClear_E51F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8917,14 +8921,14 @@ Label_E518: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E51F: +Sub_8764_OnCarryClear_E51F: cmp #$F0 ; CPU:$E51F PRG:251F C9 F0 - bcc Label_E52A ; CPU:$E521 PRG:2521 90 07 + bcc Sub_8764_OnCarryClear_E52A ; CPU:$E521 PRG:2521 90 07 ldy #$04 ; CPU:$E523 PRG:2523 A0 04 sty ZpE1,x ; CPU:$E525 PRG:2525 94 E1 - jmp $E56A ; CPU:$E527 PRG:2527 4C 6A E5 + jmp SubCE56A ; CPU:$E527 PRG:2527 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E52A +; Routine: Sub_8764_OnCarryClear_E52A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8932,12 +8936,12 @@ Label_E51F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52A: +Sub_8764_OnCarryClear_E52A: ldy #$06 ; CPU:$E52A PRG:252A A0 06 sty ZpE1,x ; CPU:$E52C PRG:252C 94 E1 - jmp $E56A ; CPU:$E52E PRG:252E 4C 6A E5 + jmp SubCE56A ; CPU:$E52E PRG:252E 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E531 +; Routine: Sub_8764_OnCarryClear_E531 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8945,16 +8949,16 @@ Label_E52A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E531: +Sub_8764_OnCarryClear_E531: cmp #$E0 ; CPU:$E531 PRG:2531 C9 E0 - bcc Label_E547 ; CPU:$E533 PRG:2533 90 12 + bcc Sub_8764_OnCarryClear_E547 ; CPU:$E533 PRG:2533 90 12 cmp #$E5 ; CPU:$E535 PRG:2535 C9 E5 - bcc Label_E540 ; CPU:$E537 PRG:2537 90 07 + bcc Sub_8764_OnCarryClear_E540 ; CPU:$E537 PRG:2537 90 07 ldy #$04 ; CPU:$E539 PRG:2539 A0 04 sty ZpE1,x ; CPU:$E53B PRG:253B 94 E1 - jmp $E56A ; CPU:$E53D PRG:253D 4C 6A E5 + jmp SubCE56A ; CPU:$E53D PRG:253D 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E540 +; Routine: Sub_8764_OnCarryClear_E540 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8962,12 +8966,12 @@ Label_E531: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E540: +Sub_8764_OnCarryClear_E540: ldy #$06 ; CPU:$E540 PRG:2540 A0 06 sty ZpE1,x ; CPU:$E542 PRG:2542 94 E1 - jmp $E56A ; CPU:$E544 PRG:2544 4C 6A E5 + jmp SubCE56A ; CPU:$E544 PRG:2544 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E547 +; Routine: Sub_8764_OnCarryClear_E547 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8975,14 +8979,14 @@ Label_E540: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E547: +Sub_8764_OnCarryClear_E547: cmp #$DA ; CPU:$E547 PRG:2547 C9 DA - bcc Label_E552 ; CPU:$E549 PRG:2549 90 07 + bcc Sub_8764_OnCarryClear_E552 ; CPU:$E549 PRG:2549 90 07 ldy #$04 ; CPU:$E54B PRG:254B A0 04 sty ZpE1,x ; CPU:$E54D PRG:254D 94 E1 - jmp $E56A ; CPU:$E54F PRG:254F 4C 6A E5 + jmp SubCE56A ; CPU:$E54F PRG:254F 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E552 +; Routine: Sub_8764_OnCarryClear_E552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8990,14 +8994,14 @@ Label_E547: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E552: +Sub_8764_OnCarryClear_E552: cmp #$D5 ; CPU:$E552 PRG:2552 C9 D5 - bne Label_E55D ; CPU:$E554 PRG:2554 D0 07 + bne Sub_8764_OnNonzero_E55D ; CPU:$E554 PRG:2554 D0 07 ldy #$08 ; CPU:$E556 PRG:2556 A0 08 sty ZpE1,x ; CPU:$E558 PRG:2558 94 E1 - jmp $E56A ; CPU:$E55A PRG:255A 4C 6A E5 + jmp SubCE56A ; CPU:$E55A PRG:255A 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E55D +; Routine: Sub_8764_OnNonzero_E55D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9005,13 +9009,13 @@ Label_E552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E55D: - bcc Label_E566 ; CPU:$E55D PRG:255D 90 07 +Sub_8764_OnNonzero_E55D: + bcc Sub_8764_OnCarryClear_E566 ; CPU:$E55D PRG:255D 90 07 ldy #$02 ; CPU:$E55F PRG:255F A0 02 sty ZpE1,x ; CPU:$E561 PRG:2561 94 E1 - jmp $E56A ; CPU:$E563 PRG:2563 4C 6A E5 + jmp SubCE56A ; CPU:$E563 PRG:2563 4C 6A E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E566 +; Routine: Sub_8764_OnCarryClear_E566 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9019,11 +9023,11 @@ Label_E55D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E566: +Sub_8764_OnCarryClear_E566: ldy #$00 ; CPU:$E566 PRG:2566 A0 00 sty ZpE1,x ; CPU:$E568 PRG:2568 94 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E56A +; Routine: SubCE56A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9031,13 +9035,13 @@ Label_E566: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E56A: +SubCE56A: tya ; CPU:$E56A PRG:256A 98 cmp ZpD5,x ; CPU:$E56B PRG:256B D5 D5 - bne Label_E570 ; CPU:$E56D PRG:256D D0 01 + bne Sub_8764_OnNonzero_E570 ; CPU:$E56D PRG:256D D0 01 rts ; CPU:$E56F PRG:256F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E570 +; Routine: Sub_8764_OnNonzero_E570 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9045,31 +9049,31 @@ Label_E56A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E570: +Sub_8764_OnNonzero_E570: tya ; CPU:$E570 PRG:2570 98 sta ZpD5,x ; CPU:$E571 PRG:2571 95 D5 inc ZpD7 ; CPU:$E573 PRG:2573 E6 D7 lda $C367,y ; CPU:$E575 PRG:2575 B9 67 C3 - sta Zp02 ; CPU:$E578 PRG:2578 85 02 + sta Ptr2Lo ; CPU:$E578 PRG:2578 85 02 lda $C368,y ; CPU:$E57A PRG:257A B9 68 C3 - sta Zp03 ; CPU:$E57D PRG:257D 85 03 + sta Ptr2Hi ; CPU:$E57D PRG:257D 85 03 txa ; CPU:$E57F PRG:257F 8A asl a ; CPU:$E580 PRG:2580 0A tax ; CPU:$E581 PRG:2581 AA lda ZpD1,x ; CPU:$E582 PRG:2582 B5 D1 - sta Zp00 ; CPU:$E584 PRG:2584 85 00 + sta PtrLo ; CPU:$E584 PRG:2584 85 00 lda ZpD2,x ; CPU:$E586 PRG:2586 B5 D2 - sta Zp01 ; CPU:$E588 PRG:2588 85 01 + sta PtrHi ; CPU:$E588 PRG:2588 85 01 cpy #$00 ; CPU:$E58A PRG:258A C0 00 - beq Label_E59F ; CPU:$E58C PRG:258C F0 11 + beq Sub_8764_OnZero_E59F ; CPU:$E58C PRG:258C F0 11 cpy #$0A ; CPU:$E58E PRG:258E C0 0A - beq Label_E59F ; CPU:$E590 PRG:2590 F0 0D - lda Zp00 ; CPU:$E592 PRG:2592 A5 00 + beq Sub_8764_OnZero_E59F ; CPU:$E590 PRG:2590 F0 0D + lda PtrLo ; CPU:$E592 PRG:2592 A5 00 cmp #$21 ; CPU:$E594 PRG:2594 C9 21 - bcs Label_E59A ; CPU:$E596 PRG:2596 B0 02 - dec Zp01 ; CPU:$E598 PRG:2598 C6 01 + bcs Sub_8764_OnCarrySet_E59A ; CPU:$E596 PRG:2596 B0 02 + dec PtrHi ; CPU:$E598 PRG:2598 C6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E59A +; Routine: Sub_8764_OnCarrySet_E59A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9077,12 +9081,12 @@ Label_E570: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E59A: +Sub_8764_OnCarrySet_E59A: sec ; CPU:$E59A PRG:259A 38 sbc #$21 ; CPU:$E59B PRG:259B E9 21 - sta Zp00 ; CPU:$E59D PRG:259D 85 00 + sta PtrLo ; CPU:$E59D PRG:259D 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E59F +; Routine: Sub_8764_OnZero_E59F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9090,14 +9094,14 @@ Label_E59A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E59F: - jsr $F018 ; CPU:$E59F PRG:259F 20 18 F0 +Sub_8764_OnZero_E59F: + jsr SubCF018 ; CPU:$E59F PRG:259F 20 18 F0 txa ; CPU:$E5A2 PRG:25A2 8A lsr a ; CPU:$E5A3 PRG:25A3 4A tax ; CPU:$E5A4 PRG:25A4 AA rts ; CPU:$E5A5 PRG:25A5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5A6 +; Routine: SubCE5A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9105,12 +9109,12 @@ Label_E59F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5A6: +SubCE5A6: lda ZpD0 ; CPU:$E5A6 PRG:25A6 A5 D0 - bne Label_E5AB ; CPU:$E5A8 PRG:25A8 D0 01 + bne Sub_8764_OnNonzero_E5AB ; CPU:$E5A8 PRG:25A8 D0 01 rts ; CPU:$E5AA PRG:25AA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5AB +; Routine: Sub_8764_OnNonzero_E5AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9118,12 +9122,12 @@ Label_E5A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5AB: +Sub_8764_OnNonzero_E5AB: sta Zp0A ; CPU:$E5AB PRG:25AB 85 0A lda #$00 ; CPU:$E5AD PRG:25AD A9 00 sta Zp0B ; CPU:$E5AF PRG:25AF 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E5B1 +; Routine: Sub_8764_OnNonzero_E5B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9131,36 +9135,36 @@ Label_E5AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5B1: +Sub_8764_OnNonzero_E5B1: lda Zp0A ; CPU:$E5B1 PRG:25B1 A5 0A and #$01 ; CPU:$E5B3 PRG:25B3 29 01 - beq Label_E609 ; CPU:$E5B5 PRG:25B5 F0 52 + beq Sub_8764_OnZero_E609 ; CPU:$E5B5 PRG:25B5 F0 52 lda Zp0B ; CPU:$E5B7 PRG:25B7 A5 0B asl a ; CPU:$E5B9 PRG:25B9 0A tax ; CPU:$E5BA PRG:25BA AA lda ZpD1,x ; CPU:$E5BB PRG:25BB B5 D1 - sta Zp00 ; CPU:$E5BD PRG:25BD 85 00 + sta PtrLo ; CPU:$E5BD PRG:25BD 85 00 lda ZpD2,x ; CPU:$E5BF PRG:25BF B5 D2 - sta Zp01 ; CPU:$E5C1 PRG:25C1 85 01 - jsr $E62E ; CPU:$E5C3 PRG:25C3 20 2E E6 - lda Zp00 ; CPU:$E5C6 PRG:25C6 A5 00 + sta PtrHi ; CPU:$E5C1 PRG:25C1 85 01 + jsr SubCE62E ; CPU:$E5C3 PRG:25C3 20 2E E6 + lda PtrLo ; CPU:$E5C6 PRG:25C6 A5 00 sbc #$08 ; CPU:$E5C8 PRG:25C8 E9 08 - sta Zp00 ; CPU:$E5CA PRG:25CA 85 00 - lda Zp01 ; CPU:$E5CC PRG:25CC A5 01 + sta PtrLo ; CPU:$E5CA PRG:25CA 85 00 + lda PtrHi ; CPU:$E5CC PRG:25CC A5 01 sbc #$08 ; CPU:$E5CE PRG:25CE E9 08 - sta Zp01 ; CPU:$E5D0 PRG:25D0 85 01 + sta PtrHi ; CPU:$E5D0 PRG:25D0 85 01 lda #$0C ; CPU:$E5D2 PRG:25D2 A9 0C sta Zp8F ; CPU:$E5D4 PRG:25D4 85 8F - jsr $E614 ; CPU:$E5D6 PRG:25D6 20 14 E6 + jsr SubCE614 ; CPU:$E5D6 PRG:25D6 20 14 E6 lda Zp6C ; CPU:$E5D9 PRG:25D9 A5 6C cmp #$03 ; CPU:$E5DB PRG:25DB C9 03 - beq Label_E5E7 ; CPU:$E5DD PRG:25DD F0 08 + beq Sub_8764_OnZero_E5E7 ; CPU:$E5DD PRG:25DD F0 08 cmp #$07 ; CPU:$E5DF PRG:25DF C9 07 - beq Label_E5E7 ; CPU:$E5E1 PRG:25E1 F0 04 + beq Sub_8764_OnZero_E5E7 ; CPU:$E5E1 PRG:25E1 F0 04 cmp #$0B ; CPU:$E5E3 PRG:25E3 C9 0B - bne Label_E5ED ; CPU:$E5E5 PRG:25E5 D0 06 + bne Sub_8764_OnNonzero_E5ED ; CPU:$E5E5 PRG:25E5 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E7 +; Routine: Sub_8764_OnZero_E5E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9168,11 +9172,11 @@ Label_E5B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E7: - jsr $D87B ; CPU:$E5E7 PRG:25E7 20 7B D8 - jmp $E5F0 ; CPU:$E5EA PRG:25EA 4C F0 E5 +Sub_8764_OnZero_E5E7: + jsr SubCD87B ; CPU:$E5E7 PRG:25E7 20 7B D8 + jmp SubCE5F0 ; CPU:$E5EA PRG:25EA 4C F0 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5ED +; Routine: Sub_8764_OnNonzero_E5ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9180,10 +9184,10 @@ Label_E5E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5ED: - jsr $E66F ; CPU:$E5ED PRG:25ED 20 6F E6 +Sub_8764_OnNonzero_E5ED: + jsr SubCE66F ; CPU:$E5ED PRG:25ED 20 6F E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F0 +; Routine: SubCE5F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9191,18 +9195,18 @@ Label_E5ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F0: +SubCE5F0: lda #$00 ; CPU:$E5F0 PRG:25F0 A9 00 sta ZpCE ; CPU:$E5F2 PRG:25F2 85 CE - jsr $D7F9 ; CPU:$E5F4 PRG:25F4 20 F9 D7 - jsr $D838 ; CPU:$E5F7 PRG:25F7 20 38 D8 - jsr $D9C7 ; CPU:$E5FA PRG:25FA 20 C7 D9 - jsr $DA07 ; CPU:$E5FD PRG:25FD 20 07 DA - jsr $DA54 ; CPU:$E600 PRG:2600 20 54 DA - jsr $D8DE ; CPU:$E603 PRG:2603 20 DE D8 - jsr $D95E ; CPU:$E606 PRG:2606 20 5E D9 + jsr SubCD7F9 ; CPU:$E5F4 PRG:25F4 20 F9 D7 + jsr SubCD838 ; CPU:$E5F7 PRG:25F7 20 38 D8 + jsr SubCD9C7 ; CPU:$E5FA PRG:25FA 20 C7 D9 + jsr SubCDA07 ; CPU:$E5FD PRG:25FD 20 07 DA + jsr SubCDA54 ; CPU:$E600 PRG:2600 20 54 DA + jsr SubCD8DE ; CPU:$E603 PRG:2603 20 DE D8 + jsr SubCD95E ; CPU:$E606 PRG:2606 20 5E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E609 +; Routine: Sub_8764_OnZero_E609 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9210,15 +9214,15 @@ Label_E5F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E609: +Sub_8764_OnZero_E609: lsr Zp0A ; CPU:$E609 PRG:2609 46 0A inc Zp0B ; CPU:$E60B PRG:260B E6 0B lda Zp0B ; CPU:$E60D PRG:260D A5 0B cmp #$02 ; CPU:$E60F PRG:260F C9 02 - bne Label_E5B1 ; CPU:$E611 PRG:2611 D0 9E + bne Sub_8764_OnNonzero_E5B1 ; CPU:$E611 PRG:2611 D0 9E rts ; CPU:$E613 PRG:2613 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E614 +; Routine: SubCE614 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9226,14 +9230,14 @@ Label_E609: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E614: +SubCE614: ldx Zp0B ; CPU:$E614 PRG:2614 A6 0B ldy ZpE1,x ; CPU:$E616 PRG:2616 B4 E1 cpy #$08 ; CPU:$E618 PRG:2618 C0 08 - bne Label_E61D ; CPU:$E61A PRG:261A D0 01 + bne Sub_8764_OnNonzero_E61D ; CPU:$E61A PRG:261A D0 01 rts ; CPU:$E61C PRG:261C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E61D +; Routine: Sub_8764_OnNonzero_E61D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9241,10 +9245,10 @@ Label_E614: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E61D: +Sub_8764_OnNonzero_E61D: ldx #$00 ; CPU:$E61D PRG:261D A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E61F +; Routine: Sub_8764_OnNonzero_E61F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9252,17 +9256,17 @@ Label_E61D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E61F: +Sub_8764_OnNonzero_E61F: lda $C383,y ; CPU:$E61F PRG:261F B9 83 C3 - sta Zp02,x ; CPU:$E622 PRG:2622 95 02 + sta Ptr2Lo,x ; CPU:$E622 PRG:2622 95 02 inx ; CPU:$E624 PRG:2624 E8 iny ; CPU:$E625 PRG:2625 C8 cpx #$02 ; CPU:$E626 PRG:2626 E0 02 - bne Label_E61F ; CPU:$E628 PRG:2628 D0 F5 - jsr $EE4C ; CPU:$E62A PRG:262A 20 4C EE + bne Sub_8764_OnNonzero_E61F ; CPU:$E628 PRG:2628 D0 F5 + jsr SubCEE4C ; CPU:$E62A PRG:262A 20 4C EE rts ; CPU:$E62D PRG:262D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E62E +; Routine: SubCE62E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9270,8 +9274,8 @@ Label_E61F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E62E: - lda Zp00 ; CPU:$E62E PRG:262E A5 00 +SubCE62E: + lda PtrLo ; CPU:$E62E PRG:262E A5 00 lsr a ; CPU:$E630 PRG:2630 4A lsr a ; CPU:$E631 PRG:2631 4A lsr a ; CPU:$E632 PRG:2632 4A @@ -9280,7 +9284,7 @@ Label_E62E: sta Zp05 ; CPU:$E636 PRG:2636 85 05 ldy #$00 ; CPU:$E638 PRG:2638 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E63A +; Routine: SubCE63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9288,15 +9292,15 @@ Label_E62E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E63A: +SubCE63A: iny ; CPU:$E63A PRG:263A C8 cpy #$04 ; CPU:$E63B PRG:263B C0 04 - beq Label_E645 ; CPU:$E63D PRG:263D F0 06 + beq Sub_8764_OnZero_E645 ; CPU:$E63D PRG:263D F0 06 clc ; CPU:$E63F PRG:263F 18 adc Zp05 ; CPU:$E640 PRG:2640 65 05 - jmp $E63A ; CPU:$E642 PRG:2642 4C 3A E6 + jmp SubCE63A ; CPU:$E642 PRG:2642 4C 3A E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E645 +; Routine: Sub_8764_OnZero_E645 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9304,17 +9308,17 @@ Label_E63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E645: - ldx Zp01 ; CPU:$E645 PRG:2645 A6 01 +Sub_8764_OnZero_E645: + ldx PtrHi ; CPU:$E645 PRG:2645 A6 01 cpx #$20 ; CPU:$E647 PRG:2647 E0 20 - beq Label_E658 ; CPU:$E649 PRG:2649 F0 0D + beq SubCE658 ; CPU:$E649 PRG:2649 F0 0D cpx #$21 ; CPU:$E64B PRG:264B E0 21 - bne Label_E655 ; CPU:$E64D PRG:264D D0 06 + bne Sub_8764_OnNonzero_E655 ; CPU:$E64D PRG:264D D0 06 clc ; CPU:$E64F PRG:264F 18 adc #$40 ; CPU:$E650 PRG:2650 69 40 - jmp $E658 ; CPU:$E652 PRG:2652 4C 58 E6 + jmp SubCE658 ; CPU:$E652 PRG:2652 4C 58 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E655 +; Routine: Sub_8764_OnNonzero_E655 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9322,11 +9326,11 @@ Label_E645: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E655: +Sub_8764_OnNonzero_E655: clc ; CPU:$E655 PRG:2655 18 adc #$80 ; CPU:$E656 PRG:2656 69 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E658 +; Routine: SubCE658 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9334,14 +9338,14 @@ Label_E655: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E658: - sta Zp01 ; CPU:$E658 PRG:2658 85 01 - lda Zp00 ; CPU:$E65A PRG:265A A5 00 +SubCE658: + sta PtrHi ; CPU:$E658 PRG:2658 85 01 + lda PtrLo ; CPU:$E65A PRG:265A A5 00 and #$1F ; CPU:$E65C PRG:265C 29 1F tax ; CPU:$E65E PRG:265E AA lda #$00 ; CPU:$E65F PRG:265F A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E661 +; Routine: SubCE661 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9349,15 +9353,15 @@ Label_E658: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E661: +SubCE661: cpx #$00 ; CPU:$E661 PRG:2661 E0 00 - beq Label_E66C ; CPU:$E663 PRG:2663 F0 07 + beq Sub_8764_OnZero_E66C ; CPU:$E663 PRG:2663 F0 07 clc ; CPU:$E665 PRG:2665 18 adc #$08 ; CPU:$E666 PRG:2666 69 08 dex ; CPU:$E668 PRG:2668 CA - jmp $E661 ; CPU:$E669 PRG:2669 4C 61 E6 + jmp SubCE661 ; CPU:$E669 PRG:2669 4C 61 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E66C +; Routine: Sub_8764_OnZero_E66C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9365,11 +9369,11 @@ Label_E661: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E66C: - sta Zp00 ; CPU:$E66C PRG:266C 85 00 +Sub_8764_OnZero_E66C: + sta PtrLo ; CPU:$E66C PRG:266C 85 00 rts ; CPU:$E66E PRG:266E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E66F +; Routine: SubCE66F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9377,13 +9381,13 @@ Label_E66C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E66F: +SubCE66F: lda ZpAA ; CPU:$E66F PRG:266F A5 AA - beq Label_E6B6 ; CPU:$E671 PRG:2671 F0 43 + beq Sub_8764_OnZero_E6B6 ; CPU:$E671 PRG:2671 F0 43 ldx #$00 ; CPU:$E673 PRG:2673 A2 00 ldy #$00 ; CPU:$E675 PRG:2675 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E677 +; Routine: Sub_8764_OnNonzero_E677 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9391,21 +9395,21 @@ Label_E66F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E677: +Sub_8764_OnNonzero_E677: lda $0213,y ; CPU:$E677 PRG:2677 B9 13 02 - sta Zp00 ; CPU:$E67A PRG:267A 85 00 + sta PtrLo ; CPU:$E67A PRG:267A 85 00 lda $0210,y ; CPU:$E67C PRG:267C B9 10 02 - sta Zp01 ; CPU:$E67F PRG:267F 85 01 + sta PtrHi ; CPU:$E67F PRG:267F 85 01 lda #$78 ; CPU:$E681 PRG:2681 A9 78 - sta Zp02 ; CPU:$E683 PRG:2683 85 02 + sta Ptr2Lo ; CPU:$E683 PRG:2683 85 02 lda #$C1 ; CPU:$E685 PRG:2685 A9 C1 - sta Zp03 ; CPU:$E687 PRG:2687 85 03 - jsr $EE72 ; CPU:$E689 PRG:2689 20 72 EE - beq Label_E692 ; CPU:$E68C PRG:268C F0 04 - jsr $D7AA ; CPU:$E68E PRG:268E 20 AA D7 + sta Ptr2Hi ; CPU:$E687 PRG:2687 85 03 + jsr SubCEE72 ; CPU:$E689 PRG:2689 20 72 EE + beq Sub_8764_OnZero_E692 ; CPU:$E68C PRG:268C F0 04 + jsr SubCD7AA ; CPU:$E68E PRG:268E 20 AA D7 rts ; CPU:$E691 PRG:2691 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E692 +; Routine: Sub_8764_OnZero_E692 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9413,28 +9417,28 @@ Label_E677: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E692: +Sub_8764_OnZero_E692: inx ; CPU:$E692 PRG:2692 E8 iny ; CPU:$E693 PRG:2693 C8 iny ; CPU:$E694 PRG:2694 C8 iny ; CPU:$E695 PRG:2695 C8 iny ; CPU:$E696 PRG:2696 C8 cpy #$20 ; CPU:$E697 PRG:2697 C0 20 - bne Label_E677 ; CPU:$E699 PRG:2699 D0 DC + bne Sub_8764_OnNonzero_E677 ; CPU:$E699 PRG:2699 D0 DC lda $02FF ; CPU:$E69B PRG:269B AD FF 02 - sta Zp00 ; CPU:$E69E PRG:269E 85 00 + sta PtrLo ; CPU:$E69E PRG:269E 85 00 lda $02FC ; CPU:$E6A0 PRG:26A0 AD FC 02 - sta Zp01 ; CPU:$E6A3 PRG:26A3 85 01 + sta PtrHi ; CPU:$E6A3 PRG:26A3 85 01 lda #$70 ; CPU:$E6A5 PRG:26A5 A9 70 - sta Zp02 ; CPU:$E6A7 PRG:26A7 85 02 + sta Ptr2Lo ; CPU:$E6A7 PRG:26A7 85 02 lda #$C1 ; CPU:$E6A9 PRG:26A9 A9 C1 - sta Zp03 ; CPU:$E6AB PRG:26AB 85 03 - jsr $EE72 ; CPU:$E6AD PRG:26AD 20 72 EE - beq Label_E6B6 ; CPU:$E6B0 PRG:26B0 F0 04 + sta Ptr2Hi ; CPU:$E6AB PRG:26AB 85 03 + jsr SubCEE72 ; CPU:$E6AD PRG:26AD 20 72 EE + beq Sub_8764_OnZero_E6B6 ; CPU:$E6B0 PRG:26B0 F0 04 lda #$00 ; CPU:$E6B2 PRG:26B2 A9 00 sta Zp7B ; CPU:$E6B4 PRG:26B4 85 7B ; ----------------------------------------------------------------------------- -; Routine: Label_E6B6 +; Routine: Sub_8764_OnZero_E6B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9442,10 +9446,10 @@ Label_E692: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6B6: +Sub_8764_OnZero_E6B6: rts ; CPU:$E6B6 PRG:26B6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6B7 +; Routine: SubCE6B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9453,14 +9457,14 @@ Label_E6B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6B7: +SubCE6B7: lda #$00 ; CPU:$E6B7 PRG:26B7 A9 00 sta ZpE7 ; CPU:$E6B9 PRG:26B9 85 E7 lda Zp53 ; CPU:$E6BB PRG:26BB A5 53 - beq Label_E6C0 ; CPU:$E6BD PRG:26BD F0 01 + beq Sub_8764_OnZero_E6C0 ; CPU:$E6BD PRG:26BD F0 01 rts ; CPU:$E6BF PRG:26BF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6C0 +; Routine: Sub_8764_OnZero_E6C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9468,16 +9472,16 @@ Label_E6B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6C0: +Sub_8764_OnZero_E6C0: lda #$01 ; CPU:$E6C0 PRG:26C0 A9 01 sta ZpE7 ; CPU:$E6C2 PRG:26C2 85 E7 lda ZpAB ; CPU:$E6C4 PRG:26C4 A5 AB - beq Label_E70D ; CPU:$E6C6 PRG:26C6 F0 45 + beq Sub_8764_OnZero_E70D ; CPU:$E6C6 PRG:26C6 F0 45 cmp #$10 ; CPU:$E6C8 PRG:26C8 C9 10 - bne Label_E6CD ; CPU:$E6CA PRG:26CA D0 01 + bne Sub_8764_OnNonzero_E6CD ; CPU:$E6CA PRG:26CA D0 01 rts ; CPU:$E6CC PRG:26CC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6CD +; Routine: Sub_8764_OnNonzero_E6CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9485,19 +9489,19 @@ Label_E6C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6CD: +Sub_8764_OnNonzero_E6CD: lda #$02 ; CPU:$E6CD PRG:26CD A9 02 ora ZpFE ; CPU:$E6CF PRG:26CF 05 FE sta ZpFE ; CPU:$E6D1 PRG:26D1 85 FE lda #$00 ; CPU:$E6D3 PRG:26D3 A9 00 - sta Zp01 ; CPU:$E6D5 PRG:26D5 85 01 + sta PtrHi ; CPU:$E6D5 PRG:26D5 85 01 ldx Zp75 ; CPU:$E6D7 PRG:26D7 A6 75 lda $C160,x ; CPU:$E6D9 PRG:26D9 BD 60 C1 - jsr $ED50 ; CPU:$E6DC PRG:26DC 20 50 ED - bne Label_E6E2 ; CPU:$E6DF PRG:26DF D0 01 + jsr SubCED50 ; CPU:$E6DC PRG:26DC 20 50 ED + bne Sub_8764_OnNonzero_E6E2 ; CPU:$E6DF PRG:26DF D0 01 rts ; CPU:$E6E1 PRG:26E1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6E2 +; Routine: Sub_8764_OnNonzero_E6E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9505,16 +9509,16 @@ Label_E6CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E2: - inc Zp01 ; CPU:$E6E2 PRG:26E2 E6 01 +Sub_8764_OnNonzero_E6E2: + inc PtrHi ; CPU:$E6E2 PRG:26E2 E6 01 lda Zp88 ; CPU:$E6E4 PRG:26E4 A5 88 - beq Label_E6F1 ; CPU:$E6E6 PRG:26E6 F0 09 + beq Sub_8764_OnZero_E6F1 ; CPU:$E6E6 PRG:26E6 F0 09 lda Zp89 ; CPU:$E6E8 PRG:26E8 A5 89 cmp #$C0 ; CPU:$E6EA PRG:26EA C9 C0 - bcs Label_E714 ; CPU:$E6EC PRG:26EC B0 26 - jmp $E6F7 ; CPU:$E6EE PRG:26EE 4C F7 E6 + bcs SubCE714 ; CPU:$E6EC PRG:26EC B0 26 + jmp SubCE6F7 ; CPU:$E6EE PRG:26EE 4C F7 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F1 +; Routine: Sub_8764_OnZero_E6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9522,12 +9526,12 @@ Label_E6E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F1: +Sub_8764_OnZero_E6F1: lda Zp89 ; CPU:$E6F1 PRG:26F1 A5 89 cmp #$01 ; CPU:$E6F3 PRG:26F3 C9 01 - bcc Label_E714 ; CPU:$E6F5 PRG:26F5 90 1D + bcc SubCE714 ; CPU:$E6F5 PRG:26F5 90 1D ; ----------------------------------------------------------------------------- -; Routine: Label_E6F7 +; Routine: SubCE6F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9535,14 +9539,14 @@ Label_E6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F7: +SubCE6F7: lda Zp88 ; CPU:$E6F7 PRG:26F7 A5 88 - bne Label_E702 ; CPU:$E6F9 PRG:26F9 D0 07 - lda Zp01 ; CPU:$E6FB PRG:26FB A5 01 - jsr $E0DE ; CPU:$E6FD PRG:26FD 20 DE E0 - sta Zp01 ; CPU:$E700 PRG:2700 85 01 + bne Sub_8764_OnNonzero_E702 ; CPU:$E6F9 PRG:26F9 D0 07 + lda PtrHi ; CPU:$E6FB PRG:26FB A5 01 + jsr SubCE0DE ; CPU:$E6FD PRG:26FD 20 DE E0 + sta PtrHi ; CPU:$E700 PRG:2700 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E702 +; Routine: Sub_8764_OnNonzero_E702 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9550,15 +9554,15 @@ Label_E6F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E702: +Sub_8764_OnNonzero_E702: lda Zp89 ; CPU:$E702 PRG:2702 A5 89 clc ; CPU:$E704 PRG:2704 18 - adc Zp01 ; CPU:$E705 PRG:2705 65 01 + adc PtrHi ; CPU:$E705 PRG:2705 65 01 sta Zp89 ; CPU:$E707 PRG:2707 85 89 - jsr $E744 ; CPU:$E709 PRG:2709 20 44 E7 + jsr SubCE744 ; CPU:$E709 PRG:2709 20 44 E7 rts ; CPU:$E70C PRG:270C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E70D +; Routine: Sub_8764_OnZero_E70D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9566,13 +9570,13 @@ Label_E702: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E70D: +Sub_8764_OnZero_E70D: lda Zp19 ; CPU:$E70D PRG:270D A5 19 cmp #$F0 ; CPU:$E70F PRG:270F C9 F0 - bcs Label_E727 ; CPU:$E711 PRG:2711 B0 14 + bcs Sub_8764_OnCarrySet_E727 ; CPU:$E711 PRG:2711 B0 14 rts ; CPU:$E713 PRG:2713 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E714 +; Routine: SubCE714 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9580,7 +9584,7 @@ Label_E70D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E714: +SubCE714: lda #$90 ; CPU:$E714 PRG:2714 A9 90 sta Zp53 ; CPU:$E716 PRG:2716 85 53 lda #$30 ; CPU:$E718 PRG:2718 A9 30 @@ -9592,7 +9596,7 @@ Label_E714: sta ZpAB ; CPU:$E724 PRG:2724 85 AB rts ; CPU:$E726 PRG:2726 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E727 +; Routine: Sub_8764_OnCarrySet_E727 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9600,7 +9604,7 @@ Label_E714: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E727: +Sub_8764_OnCarrySet_E727: lda Zp18 ; CPU:$E727 PRG:2727 A5 18 and #$03 ; CPU:$E729 PRG:2729 29 03 tay ; CPU:$E72B PRG:272B A8 @@ -9610,10 +9614,10 @@ Label_E727: sta ZpAB ; CPU:$E733 PRG:2733 85 AB ldx #$00 ; CPU:$E735 PRG:2735 A2 00 lda Zp88 ; CPU:$E737 PRG:2737 A5 88 - bne Label_E73D ; CPU:$E739 PRG:2739 D0 02 + bne Sub_8764_OnNonzero_E73D ; CPU:$E739 PRG:2739 D0 02 ldx #$D0 ; CPU:$E73B PRG:273B A2 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_E73D +; Routine: Sub_8764_OnNonzero_E73D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9621,13 +9625,13 @@ Label_E727: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E73D: +Sub_8764_OnNonzero_E73D: stx Zp89 ; CPU:$E73D PRG:273D 86 89 lda #$70 ; CPU:$E73F PRG:273F A9 70 sta Zp54 ; CPU:$E741 PRG:2741 85 54 rts ; CPU:$E743 PRG:2743 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E744 +; Routine: SubCE744 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9635,19 +9639,19 @@ Label_E73D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E744: +SubCE744: lda Zp89 ; CPU:$E744 PRG:2744 A5 89 - sta Zp00 ; CPU:$E746 PRG:2746 85 00 + sta PtrLo ; CPU:$E746 PRG:2746 85 00 lda Zp8A ; CPU:$E748 PRG:2748 A5 8A - sta Zp01 ; CPU:$E74A PRG:274A 85 01 + sta PtrHi ; CPU:$E74A PRG:274A 85 01 ldx #$AD ; CPU:$E74C PRG:274C A2 AD - lda Zp43 ; CPU:$E74E PRG:274E A5 43 + lda AudioState ; CPU:$E74E PRG:274E A5 43 and #$18 ; CPU:$E750 PRG:2750 29 18 - bne Label_E759 ; CPU:$E752 PRG:2752 D0 05 + bne Sub_8764_OnNonzero_E759 ; CPU:$E752 PRG:2752 D0 05 lda #$B0 ; CPU:$E754 PRG:2754 A9 B0 - jmp $E76D ; CPU:$E756 PRG:2756 4C 6D E7 + jmp SubCE76D ; CPU:$E756 PRG:2756 4C 6D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E759 +; Routine: Sub_8764_OnNonzero_E759 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9655,13 +9659,13 @@ Label_E744: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E759: +Sub_8764_OnNonzero_E759: cmp #$08 ; CPU:$E759 PRG:2759 C9 08 - bne Label_E762 ; CPU:$E75B PRG:275B D0 05 + bne Sub_8764_OnNonzero_E762 ; CPU:$E75B PRG:275B D0 05 lda #$B2 ; CPU:$E75D PRG:275D A9 B2 - jmp $E76D ; CPU:$E75F PRG:275F 4C 6D E7 + jmp SubCE76D ; CPU:$E75F PRG:275F 4C 6D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E762 +; Routine: Sub_8764_OnNonzero_E762 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9669,13 +9673,13 @@ Label_E759: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E762: +Sub_8764_OnNonzero_E762: cmp #$10 ; CPU:$E762 PRG:2762 C9 10 - bne Label_E76B ; CPU:$E764 PRG:2764 D0 05 + bne Sub_8764_OnNonzero_E76B ; CPU:$E764 PRG:2764 D0 05 lda #$B4 ; CPU:$E766 PRG:2766 A9 B4 - jmp $E76D ; CPU:$E768 PRG:2768 4C 6D E7 + jmp SubCE76D ; CPU:$E768 PRG:2768 4C 6D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E76B +; Routine: Sub_8764_OnNonzero_E76B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9683,10 +9687,10 @@ Label_E762: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E76B: +Sub_8764_OnNonzero_E76B: lda #$B2 ; CPU:$E76B PRG:276B A9 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_E76D +; Routine: SubCE76D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9694,17 +9698,17 @@ Label_E76B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E76D: - sta Zp02 ; CPU:$E76D PRG:276D 85 02 +SubCE76D: + sta Ptr2Lo ; CPU:$E76D PRG:276D 85 02 lda #$12 ; CPU:$E76F PRG:276F A9 12 - sta Zp03 ; CPU:$E771 PRG:2771 85 03 + sta Ptr2Hi ; CPU:$E771 PRG:2771 85 03 lda #$50 ; CPU:$E773 PRG:2773 A9 50 sta Zp04 ; CPU:$E775 PRG:2775 85 04 lda #$01 ; CPU:$E777 PRG:2777 A9 01 - jsr $ED9D ; CPU:$E779 PRG:2779 20 9D ED + jsr SubCED9D ; CPU:$E779 PRG:2779 20 9D ED rts ; CPU:$E77C PRG:277C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E77D +; Routine: SubCE77D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9712,15 +9716,15 @@ Label_E76D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77D: +SubCE77D: lda #$00 ; CPU:$E77D PRG:277D A9 00 sta ZpE8 ; CPU:$E77F PRG:277F 85 E8 ldx Zp75 ; CPU:$E781 PRG:2781 A6 75 lda $C140,x ; CPU:$E783 PRG:2783 BD 40 C1 - bne Label_E789 ; CPU:$E786 PRG:2786 D0 01 + bne Sub_8764_OnNonzero_E789 ; CPU:$E786 PRG:2786 D0 01 rts ; CPU:$E788 PRG:2788 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E789 +; Routine: Sub_8764_OnNonzero_E789 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9728,12 +9732,12 @@ Label_E77D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E789: +Sub_8764_OnNonzero_E789: lda Zp54 ; CPU:$E789 PRG:2789 A5 54 - beq Label_E78E ; CPU:$E78B PRG:278B F0 01 + beq Sub_8764_OnZero_E78E ; CPU:$E78B PRG:278B F0 01 rts ; CPU:$E78D PRG:278D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E78E +; Routine: Sub_8764_OnZero_E78E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9741,12 +9745,12 @@ Label_E789: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E78E: +Sub_8764_OnZero_E78E: lda ZpAB ; CPU:$E78E PRG:278E A5 AB - bne Label_E795 ; CPU:$E790 PRG:2790 D0 03 - jmp $E828 ; CPU:$E792 PRG:2792 4C 28 E8 + bne Sub_8764_OnNonzero_E795 ; CPU:$E790 PRG:2790 D0 03 + jmp SubCE828 ; CPU:$E792 PRG:2792 4C 28 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E795 +; Routine: Sub_8764_OnNonzero_E795 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9754,12 +9758,12 @@ Label_E78E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E795: +Sub_8764_OnNonzero_E795: cmp #$01 ; CPU:$E795 PRG:2795 C9 01 - bne Label_E79A ; CPU:$E797 PRG:2797 D0 01 + bne Sub_8764_OnNonzero_E79A ; CPU:$E797 PRG:2797 D0 01 rts ; CPU:$E799 PRG:2799 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E79A +; Routine: Sub_8764_OnNonzero_E79A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9767,7 +9771,7 @@ Label_E795: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79A: +Sub_8764_OnNonzero_E79A: lda #$01 ; CPU:$E79A PRG:279A A9 01 sta ZpE8 ; CPU:$E79C PRG:279C 85 E8 lda #$04 ; CPU:$E79E PRG:279E A9 04 @@ -9775,13 +9779,13 @@ Label_E79A: sta ZpFE ; CPU:$E7A2 PRG:27A2 85 FE ldx Zp75 ; CPU:$E7A4 PRG:27A4 A6 75 lda $C140,x ; CPU:$E7A6 PRG:27A6 BD 40 C1 - sta Zp00 ; CPU:$E7A9 PRG:27A9 85 00 + sta PtrLo ; CPU:$E7A9 PRG:27A9 85 00 lda Zp8E ; CPU:$E7AB PRG:27AB A5 8E - beq Label_E7B4 ; CPU:$E7AD PRG:27AD F0 05 + beq Sub_8764_OnZero_E7B4 ; CPU:$E7AD PRG:27AD F0 05 lda $C150,x ; CPU:$E7AF PRG:27AF BD 50 C1 - sta Zp00 ; CPU:$E7B2 PRG:27B2 85 00 + sta PtrLo ; CPU:$E7B2 PRG:27B2 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B4 +; Routine: Sub_8764_OnZero_E7B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9789,15 +9793,15 @@ Label_E79A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B4: +Sub_8764_OnZero_E7B4: lda #$00 ; CPU:$E7B4 PRG:27B4 A9 00 - sta Zp01 ; CPU:$E7B6 PRG:27B6 85 01 - lda Zp00 ; CPU:$E7B8 PRG:27B8 A5 00 - jsr $ED50 ; CPU:$E7BA PRG:27BA 20 50 ED - beq Label_E7C1 ; CPU:$E7BD PRG:27BD F0 02 - inc Zp01 ; CPU:$E7BF PRG:27BF E6 01 + sta PtrHi ; CPU:$E7B6 PRG:27B6 85 01 + lda PtrLo ; CPU:$E7B8 PRG:27B8 A5 00 + jsr SubCED50 ; CPU:$E7BA PRG:27BA 20 50 ED + beq Sub_8764_OnZero_E7C1 ; CPU:$E7BD PRG:27BD F0 02 + inc PtrHi ; CPU:$E7BF PRG:27BF E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E7C1 +; Routine: Sub_8764_OnZero_E7C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9805,15 +9809,15 @@ Label_E7B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7C1: +Sub_8764_OnZero_E7C1: lda Zp85 ; CPU:$E7C1 PRG:27C1 A5 85 - beq Label_E7CE ; CPU:$E7C3 PRG:27C3 F0 09 + beq Sub_8764_OnZero_E7CE ; CPU:$E7C3 PRG:27C3 F0 09 lda Zp86 ; CPU:$E7C5 PRG:27C5 A5 86 cmp #$C0 ; CPU:$E7C7 PRG:27C7 C9 C0 - bcs Label_E815 ; CPU:$E7C9 PRG:27C9 B0 4A - jmp $E7D4 ; CPU:$E7CB PRG:27CB 4C D4 E7 + bcs SubCE815 ; CPU:$E7C9 PRG:27C9 B0 4A + jmp SubCE7D4 ; CPU:$E7CB PRG:27CB 4C D4 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E7CE +; Routine: Sub_8764_OnZero_E7CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9821,12 +9825,12 @@ Label_E7C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7CE: +Sub_8764_OnZero_E7CE: lda Zp86 ; CPU:$E7CE PRG:27CE A5 86 cmp #$01 ; CPU:$E7D0 PRG:27D0 C9 01 - bcc Label_E815 ; CPU:$E7D2 PRG:27D2 90 41 + bcc SubCE815 ; CPU:$E7D2 PRG:27D2 90 41 ; ----------------------------------------------------------------------------- -; Routine: Label_E7D4 +; Routine: SubCE7D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9834,14 +9838,14 @@ Label_E7CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7D4: +SubCE7D4: lda Zp85 ; CPU:$E7D4 PRG:27D4 A5 85 - bne Label_E7DF ; CPU:$E7D6 PRG:27D6 D0 07 - lda Zp01 ; CPU:$E7D8 PRG:27D8 A5 01 - jsr $E0DE ; CPU:$E7DA PRG:27DA 20 DE E0 - sta Zp01 ; CPU:$E7DD PRG:27DD 85 01 + bne Sub_8764_OnNonzero_E7DF ; CPU:$E7D6 PRG:27D6 D0 07 + lda PtrHi ; CPU:$E7D8 PRG:27D8 A5 01 + jsr SubCE0DE ; CPU:$E7DA PRG:27DA 20 DE E0 + sta PtrHi ; CPU:$E7DD PRG:27DD 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E7DF +; Routine: Sub_8764_OnNonzero_E7DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9849,33 +9853,33 @@ Label_E7D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7DF: +Sub_8764_OnNonzero_E7DF: lda Zp86 ; CPU:$E7DF PRG:27DF A5 86 clc ; CPU:$E7E1 PRG:27E1 18 - adc Zp01 ; CPU:$E7E2 PRG:27E2 65 01 + adc PtrHi ; CPU:$E7E2 PRG:27E2 65 01 sta Zp86 ; CPU:$E7E4 PRG:27E4 85 86 - jsr $E848 ; CPU:$E7E6 PRG:27E6 20 48 E8 + jsr SubCE848 ; CPU:$E7E6 PRG:27E6 20 48 E8 lda ZpD7 ; CPU:$E7E9 PRG:27E9 A5 D7 - bne Label_E814 ; CPU:$E7EB PRG:27EB D0 27 + bne Sub_8764_JoinBranchPaths_E814 ; CPU:$E7EB PRG:27EB D0 27 lda Zp86 ; CPU:$E7ED PRG:27ED A5 86 - sta Zp00 ; CPU:$E7EF PRG:27EF 85 00 + sta PtrLo ; CPU:$E7EF PRG:27EF 85 00 lda Zp87 ; CPU:$E7F1 PRG:27F1 A5 87 - sta Zp01 ; CPU:$E7F3 PRG:27F3 85 01 - jsr $CE2A ; CPU:$E7F5 PRG:27F5 20 2A CE - beq Label_E814 ; CPU:$E7F8 PRG:27F8 F0 1A - jsr $DD81 ; CPU:$E7FA PRG:27FA 20 81 DD - jsr $DDD2 ; CPU:$E7FD PRG:27FD 20 D2 DD + sta PtrHi ; CPU:$E7F3 PRG:27F3 85 01 + jsr SubCCE2A ; CPU:$E7F5 PRG:27F5 20 2A CE + beq Sub_8764_JoinBranchPaths_E814 ; CPU:$E7F8 PRG:27F8 F0 1A + jsr SubCDD81 ; CPU:$E7FA PRG:27FA 20 81 DD + jsr SubCDDD2 ; CPU:$E7FD PRG:27FD 20 D2 DD cmp #$0E ; CPU:$E800 PRG:2800 C9 0E - bpl Label_E814 ; CPU:$E802 PRG:2802 10 10 + bpl Sub_8764_JoinBranchPaths_E814 ; CPU:$E802 PRG:2802 10 10 and #$07 ; CPU:$E804 PRG:2804 29 07 - beq Label_E814 ; CPU:$E806 PRG:2806 F0 0C + beq Sub_8764_JoinBranchPaths_E814 ; CPU:$E806 PRG:2806 F0 0C lda #$0C ; CPU:$E808 PRG:2808 A9 0C sta Zp0A ; CPU:$E80A PRG:280A 85 0A - jsr $DE14 ; CPU:$E80C PRG:280C 20 14 DE + jsr SubCDE14 ; CPU:$E80C PRG:280C 20 14 DE lda #$0C ; CPU:$E80F PRG:280F A9 0C - jsr $DE60 ; CPU:$E811 PRG:2811 20 60 DE + jsr SubCDE60 ; CPU:$E811 PRG:2811 20 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E814 +; Routine: Sub_8764_JoinBranchPaths_E814 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9883,10 +9887,10 @@ Label_E7DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E814: +Sub_8764_JoinBranchPaths_E814: rts ; CPU:$E814 PRG:2814 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E815 +; Routine: SubCE815 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9894,7 +9898,7 @@ Label_E814: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E815: +SubCE815: lda #$70 ; CPU:$E815 PRG:2815 A9 70 sta Zp54 ; CPU:$E817 PRG:2817 85 54 lda #$30 ; CPU:$E819 PRG:2819 A9 30 @@ -9906,7 +9910,7 @@ Label_E815: sta ZpAB ; CPU:$E825 PRG:2825 85 AB rts ; CPU:$E827 PRG:2827 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E828 +; Routine: SubCE828 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9914,13 +9918,13 @@ Label_E815: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E828: +SubCE828: lda Zp18 ; CPU:$E828 PRG:2828 A5 18 cmp #$B0 ; CPU:$E82A PRG:282A C9 B0 - bcs Label_E82F ; CPU:$E82C PRG:282C B0 01 + bcs Sub_8764_OnCarrySet_E82F ; CPU:$E82C PRG:282C B0 01 rts ; CPU:$E82E PRG:282E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E82F +; Routine: Sub_8764_OnCarrySet_E82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9928,13 +9932,13 @@ Label_E828: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E82F: +Sub_8764_OnCarrySet_E82F: ldx #$00 ; CPU:$E82F PRG:282F A2 00 lda Zp85 ; CPU:$E831 PRG:2831 A5 85 - bne Label_E837 ; CPU:$E833 PRG:2833 D0 02 + bne Sub_8764_OnNonzero_E837 ; CPU:$E833 PRG:2833 D0 02 ldx #$D0 ; CPU:$E835 PRG:2835 A2 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_E837 +; Routine: Sub_8764_OnNonzero_E837 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9942,7 +9946,7 @@ Label_E82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E837: +Sub_8764_OnNonzero_E837: stx Zp86 ; CPU:$E837 PRG:2837 86 86 lda Zp18 ; CPU:$E839 PRG:2839 A5 18 and #$03 ; CPU:$E83B PRG:283B 29 03 @@ -9953,7 +9957,7 @@ Label_E837: sta ZpAB ; CPU:$E845 PRG:2845 85 AB rts ; CPU:$E847 PRG:2847 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E848 +; Routine: SubCE848 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9961,19 +9965,19 @@ Label_E837: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E848: +SubCE848: lda Zp86 ; CPU:$E848 PRG:2848 A5 86 - sta Zp00 ; CPU:$E84A PRG:284A 85 00 + sta PtrLo ; CPU:$E84A PRG:284A 85 00 lda Zp87 ; CPU:$E84C PRG:284C A5 87 - sta Zp01 ; CPU:$E84E PRG:284E 85 01 + sta PtrHi ; CPU:$E84E PRG:284E 85 01 ldx #$A0 ; CPU:$E850 PRG:2850 A2 A0 inc ZpB7 ; CPU:$E852 PRG:2852 E6 B7 lda ZpB7 ; CPU:$E854 PRG:2854 A5 B7 and #$08 ; CPU:$E856 PRG:2856 29 08 - beq Label_E85C ; CPU:$E858 PRG:2858 F0 02 + beq Sub_8764_OnZero_E85C ; CPU:$E858 PRG:2858 F0 02 ldx #$A2 ; CPU:$E85A PRG:285A A2 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_E85C +; Routine: Sub_8764_OnZero_E85C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9981,17 +9985,17 @@ Label_E848: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E85C: - stx Zp02 ; CPU:$E85C PRG:285C 86 02 +Sub_8764_OnZero_E85C: + stx Ptr2Lo ; CPU:$E85C PRG:285C 86 02 lda #$12 ; CPU:$E85E PRG:285E A9 12 - sta Zp03 ; CPU:$E860 PRG:2860 85 03 + sta Ptr2Hi ; CPU:$E860 PRG:2860 85 03 lda #$58 ; CPU:$E862 PRG:2862 A9 58 sta Zp04 ; CPU:$E864 PRG:2864 85 04 lda Zp85 ; CPU:$E866 PRG:2866 A5 85 - jsr $ED9D ; CPU:$E868 PRG:2868 20 9D ED + jsr SubCED9D ; CPU:$E868 PRG:2868 20 9D ED rts ; CPU:$E86B PRG:286B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E86C +; Routine: SubCE86C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9999,20 +10003,20 @@ Label_E85C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E86C: +SubCE86C: lda #$08 ; CPU:$E86C PRG:286C A9 08 ora ZpFE ; CPU:$E86E PRG:286E 05 FE sta ZpFE ; CPU:$E870 PRG:2870 85 FE sta ZpE9 ; CPU:$E872 PRG:2872 85 E9 lda Zp4A ; CPU:$E874 PRG:2874 A5 4A - beq Label_E8A2 ; CPU:$E876 PRG:2876 F0 2A - lda Zp43 ; CPU:$E878 PRG:2878 A5 43 + beq SubCE8A2 ; CPU:$E876 PRG:2876 F0 2A + lda AudioState ; CPU:$E878 PRG:2878 A5 43 and #$0F ; CPU:$E87A PRG:287A 29 0F cmp #$08 ; CPU:$E87C PRG:287C C9 08 - bne Label_E8A2 ; CPU:$E87E PRG:287E D0 22 + bne SubCE8A2 ; CPU:$E87E PRG:287E D0 22 ldy #$00 ; CPU:$E880 PRG:2880 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E882 +; Routine: Sub_8764_OnCarryClear_E882 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10020,9 +10024,9 @@ Label_E86C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E882: +Sub_8764_OnCarryClear_E882: lda $0270,y ; CPU:$E882 PRG:2882 B9 70 02 - bne Label_E89A ; CPU:$E885 PRG:2885 D0 13 + bne Sub_8764_OnNonzero_E89A ; CPU:$E885 PRG:2885 D0 13 lda Zp18 ; CPU:$E887 PRG:2887 A5 18 and #$1F ; CPU:$E889 PRG:2889 29 1F tax ; CPU:$E88B PRG:288B AA @@ -10030,9 +10034,9 @@ Label_E882: sta $0273,y ; CPU:$E88F PRG:288F 99 73 02 lda Zp80 ; CPU:$E892 PRG:2892 A5 80 sta $0270,y ; CPU:$E894 PRG:2894 99 70 02 - jmp $E8A2 ; CPU:$E897 PRG:2897 4C A2 E8 + jmp SubCE8A2 ; CPU:$E897 PRG:2897 4C A2 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E89A +; Routine: Sub_8764_OnNonzero_E89A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10040,15 +10044,15 @@ Label_E882: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89A: +Sub_8764_OnNonzero_E89A: iny ; CPU:$E89A PRG:289A C8 iny ; CPU:$E89B PRG:289B C8 iny ; CPU:$E89C PRG:289C C8 iny ; CPU:$E89D PRG:289D C8 cpy #$20 ; CPU:$E89E PRG:289E C0 20 - bcc Label_E882 ; CPU:$E8A0 PRG:28A0 90 E0 + bcc Sub_8764_OnCarryClear_E882 ; CPU:$E8A0 PRG:28A0 90 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A2 +; Routine: SubCE8A2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10056,11 +10060,11 @@ Label_E89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A2: +SubCE8A2: ldy #$00 ; CPU:$E8A2 PRG:28A2 A0 00 sty ZpB1 ; CPU:$E8A4 PRG:28A4 84 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A6 +; Routine: Sub_8764_OnCarryClear_E8A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10068,14 +10072,14 @@ Label_E8A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A6: - lda Zp43 ; CPU:$E8A6 PRG:28A6 A5 43 +Sub_8764_OnCarryClear_E8A6: + lda AudioState ; CPU:$E8A6 PRG:28A6 A5 43 and #$02 ; CPU:$E8A8 PRG:28A8 29 02 - beq Label_E8B1 ; CPU:$E8AA PRG:28AA F0 05 + beq Sub_8764_OnZero_E8B1 ; CPU:$E8AA PRG:28AA F0 05 lda #$9E ; CPU:$E8AC PRG:28AC A9 9E - jmp $E8B3 ; CPU:$E8AE PRG:28AE 4C B3 E8 + jmp SubCE8B3 ; CPU:$E8AE PRG:28AE 4C B3 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8B1 +; Routine: Sub_8764_OnZero_E8B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10083,10 +10087,10 @@ Label_E8A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B1: +Sub_8764_OnZero_E8B1: lda #$9F ; CPU:$E8B1 PRG:28B1 A9 9F ; ----------------------------------------------------------------------------- -; Routine: Label_E8B3 +; Routine: SubCE8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10094,17 +10098,17 @@ Label_E8B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B3: +SubCE8B3: sta $0271,y ; CPU:$E8B3 PRG:28B3 99 71 02 lda $0270,y ; CPU:$E8B6 PRG:28B6 B9 70 02 - beq Label_E8E7 ; CPU:$E8B9 PRG:28B9 F0 2C + beq SubCE8E7 ; CPU:$E8B9 PRG:28B9 F0 2C cmp #$C8 ; CPU:$E8BB PRG:28BB C9 C8 - bcc Label_E8C7 ; CPU:$E8BD PRG:28BD 90 08 + bcc Sub_8764_OnCarryClear_E8C7 ; CPU:$E8BD PRG:28BD 90 08 lda #$00 ; CPU:$E8BF PRG:28BF A9 00 sta $0270,y ; CPU:$E8C1 PRG:28C1 99 70 02 - jmp $E8E7 ; CPU:$E8C4 PRG:28C4 4C E7 E8 + jmp SubCE8E7 ; CPU:$E8C4 PRG:28C4 4C E7 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C7 +; Routine: Sub_8764_OnCarryClear_E8C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10112,7 +10116,7 @@ Label_E8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C7: +Sub_8764_OnCarryClear_E8C7: lda #$01 ; CPU:$E8C7 PRG:28C7 A9 01 sta ZpB1 ; CPU:$E8C9 PRG:28C9 85 B1 lda $0270,y ; CPU:$E8CB PRG:28CB B9 70 02 @@ -10121,14 +10125,14 @@ Label_E8C7: sta $0270,y ; CPU:$E8D1 PRG:28D1 99 70 02 lda Zp18 ; CPU:$E8D4 PRG:28D4 A5 18 cmp #$F8 ; CPU:$E8D6 PRG:28D6 C9 F8 - bcc Label_E8E7 ; CPU:$E8D8 PRG:28D8 90 0D + bcc SubCE8E7 ; CPU:$E8D8 PRG:28D8 90 0D lda $0273,y ; CPU:$E8DA PRG:28DA B9 73 02 - sta Zp00 ; CPU:$E8DD PRG:28DD 85 00 + sta PtrLo ; CPU:$E8DD PRG:28DD 85 00 lda $0270,y ; CPU:$E8DF PRG:28DF B9 70 02 - sta Zp01 ; CPU:$E8E2 PRG:28E2 85 01 - jsr $E9A4 ; CPU:$E8E4 PRG:28E4 20 A4 E9 + sta PtrHi ; CPU:$E8E2 PRG:28E2 85 01 + jsr SubCE9A4 ; CPU:$E8E4 PRG:28E4 20 A4 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E8E7 +; Routine: SubCE8E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10136,16 +10140,16 @@ Label_E8C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8E7: +SubCE8E7: iny ; CPU:$E8E7 PRG:28E7 C8 iny ; CPU:$E8E8 PRG:28E8 C8 iny ; CPU:$E8E9 PRG:28E9 C8 iny ; CPU:$E8EA PRG:28EA C8 cpy #$20 ; CPU:$E8EB PRG:28EB C0 20 - bcc Label_E8A6 ; CPU:$E8ED PRG:28ED 90 B7 + bcc Sub_8764_OnCarryClear_E8A6 ; CPU:$E8ED PRG:28ED 90 B7 rts ; CPU:$E8EF PRG:28EF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8F0 +; Routine: SubCE8F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10153,20 +10157,20 @@ Label_E8E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8F0: +SubCE8F0: lda #$00 ; CPU:$E8F0 PRG:28F0 A9 00 sta ZpE9 ; CPU:$E8F2 PRG:28F2 85 E9 lda Zp8D ; CPU:$E8F4 PRG:28F4 A5 8D and #$04 ; CPU:$E8F6 PRG:28F6 29 04 - beq Label_E973 ; CPU:$E8F8 PRG:28F8 F0 79 + beq Sub_8764_OnZero_E973 ; CPU:$E8F8 PRG:28F8 F0 79 ldx #$9E ; CPU:$E8FA PRG:28FA A2 9E inc ZpB4 ; CPU:$E8FC PRG:28FC E6 B4 lda ZpB4 ; CPU:$E8FE PRG:28FE A5 B4 and #$02 ; CPU:$E900 PRG:2900 29 02 - beq Label_E906 ; CPU:$E902 PRG:2902 F0 02 + beq Sub_8764_OnZero_E906 ; CPU:$E902 PRG:2902 F0 02 ldx #$9F ; CPU:$E904 PRG:2904 A2 9F ; ----------------------------------------------------------------------------- -; Routine: Label_E906 +; Routine: Sub_8764_OnZero_E906 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10174,26 +10178,26 @@ Label_E8F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E906: +Sub_8764_OnZero_E906: stx $0261 ; CPU:$E906 PRG:2906 8E 61 02 lda $0260 ; CPU:$E909 PRG:2909 AD 60 02 cmp #$C8 ; CPU:$E90C PRG:290C C9 C8 - bcs Label_E964 ; CPU:$E90E PRG:290E B0 54 + bcs Sub_8764_OnCarrySet_E964 ; CPU:$E90E PRG:290E B0 54 clc ; CPU:$E910 PRG:2910 18 adc Zp80 ; CPU:$E911 PRG:2911 65 80 sta $0260 ; CPU:$E913 PRG:2913 8D 60 02 ldx Zp75 ; CPU:$E916 PRG:2916 A6 75 lda $C0B4,x ; CPU:$E918 PRG:2918 BD B4 C0 - sta Zp00 ; CPU:$E91B PRG:291B 85 00 + sta PtrLo ; CPU:$E91B PRG:291B 85 00 lda Zp8E ; CPU:$E91D PRG:291D A5 8E - beq Label_E92F ; CPU:$E91F PRG:291F F0 0E + beq Sub_8764_OnZero_E92F ; CPU:$E91F PRG:291F F0 0E lda $C0C4 ; CPU:$E921 PRG:2921 AD C4 C0 - jsr $ED50 ; CPU:$E924 PRG:2924 20 50 ED - beq Label_E939 ; CPU:$E927 PRG:2927 F0 10 + jsr SubCED50 ; CPU:$E924 PRG:2924 20 50 ED + beq Sub_8764_OnZero_E939 ; CPU:$E927 PRG:2927 F0 10 dec $0260 ; CPU:$E929 PRG:2929 CE 60 02 dec $0260 ; CPU:$E92C PRG:292C CE 60 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E92F +; Routine: Sub_8764_OnZero_E92F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10201,13 +10205,13 @@ Label_E906: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92F: - lda Zp00 ; CPU:$E92F PRG:292F A5 00 - jsr $ED50 ; CPU:$E931 PRG:2931 20 50 ED - beq Label_E939 ; CPU:$E934 PRG:2934 F0 03 +Sub_8764_OnZero_E92F: + lda PtrLo ; CPU:$E92F PRG:292F A5 00 + jsr SubCED50 ; CPU:$E931 PRG:2931 20 50 ED + beq Sub_8764_OnZero_E939 ; CPU:$E934 PRG:2934 F0 03 inc $0260 ; CPU:$E936 PRG:2936 EE 60 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E939 +; Routine: Sub_8764_OnZero_E939 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10215,13 +10219,13 @@ Label_E92F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E939: +Sub_8764_OnZero_E939: lda Zp1A ; CPU:$E939 PRG:2939 A5 1A cmp #$F0 ; CPU:$E93B PRG:293B C9 F0 - bcc Label_E942 ; CPU:$E93D PRG:293D 90 03 + bcc Sub_8764_OnCarryClear_E942 ; CPU:$E93D PRG:293D 90 03 inc $0260 ; CPU:$E93F PRG:293F EE 60 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E942 +; Routine: Sub_8764_OnCarryClear_E942 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10229,24 +10233,24 @@ Label_E939: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E942: +Sub_8764_OnCarryClear_E942: lda #$01 ; CPU:$E942 PRG:2942 A9 01 sta ZpE9 ; CPU:$E944 PRG:2944 85 E9 lda #$08 ; CPU:$E946 PRG:2946 A9 08 ora ZpFE ; CPU:$E948 PRG:2948 05 FE sta ZpFE ; CPU:$E94A PRG:294A 85 FE lda ZpD7 ; CPU:$E94C PRG:294C A5 D7 - bne Label_E963 ; CPU:$E94E PRG:294E D0 13 + bne Sub_8764_JoinBranchPaths_E963 ; CPU:$E94E PRG:294E D0 13 lda Zp19 ; CPU:$E950 PRG:2950 A5 19 cmp #$F5 ; CPU:$E952 PRG:2952 C9 F5 - bcc Label_E963 ; CPU:$E954 PRG:2954 90 0D + bcc Sub_8764_JoinBranchPaths_E963 ; CPU:$E954 PRG:2954 90 0D lda $0263 ; CPU:$E956 PRG:2956 AD 63 02 - sta Zp00 ; CPU:$E959 PRG:2959 85 00 + sta PtrLo ; CPU:$E959 PRG:2959 85 00 lda $0260 ; CPU:$E95B PRG:295B AD 60 02 - sta Zp01 ; CPU:$E95E PRG:295E 85 01 - jsr $E9A4 ; CPU:$E960 PRG:2960 20 A4 E9 + sta PtrHi ; CPU:$E95E PRG:295E 85 01 + jsr SubCE9A4 ; CPU:$E960 PRG:2960 20 A4 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E963 +; Routine: Sub_8764_JoinBranchPaths_E963 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10254,10 +10258,10 @@ Label_E942: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E963: +Sub_8764_JoinBranchPaths_E963: rts ; CPU:$E963 PRG:2963 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E964 +; Routine: Sub_8764_OnCarrySet_E964 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10265,7 +10269,7 @@ Label_E963: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E964: +Sub_8764_OnCarrySet_E964: lda #$00 ; CPU:$E964 PRG:2964 A9 00 sta $0260 ; CPU:$E966 PRG:2966 8D 60 02 sta $0263 ; CPU:$E969 PRG:2969 8D 63 02 @@ -10274,7 +10278,7 @@ Label_E964: sta Zp8D ; CPU:$E970 PRG:2970 85 8D rts ; CPU:$E972 PRG:2972 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E973 +; Routine: Sub_8764_OnZero_E973 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10282,16 +10286,16 @@ Label_E964: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E973: +Sub_8764_OnZero_E973: lda Zp6A ; CPU:$E973 PRG:2973 A5 6A cmp #$2A ; CPU:$E975 PRG:2975 C9 2A - bcc Label_E98D ; CPU:$E977 PRG:2977 90 14 + bcc Sub_8764_JoinBranchPaths_E98D ; CPU:$E977 PRG:2977 90 14 lda Zp50 ; CPU:$E979 PRG:2979 A5 50 - bne Label_E981 ; CPU:$E97B PRG:297B D0 04 + bne Sub_8764_OnNonzero_E981 ; CPU:$E97B PRG:297B D0 04 ldx #$50 ; CPU:$E97D PRG:297D A2 50 stx Zp50 ; CPU:$E97F PRG:297F 86 50 ; ----------------------------------------------------------------------------- -; Routine: Label_E981 +; Routine: Sub_8764_OnNonzero_E981 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10299,12 +10303,12 @@ Label_E973: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E981: +Sub_8764_OnNonzero_E981: cmp #$02 ; CPU:$E981 PRG:2981 C9 02 - beq Label_E986 ; CPU:$E983 PRG:2983 F0 01 + beq Sub_8764_OnZero_E986 ; CPU:$E983 PRG:2983 F0 01 rts ; CPU:$E985 PRG:2985 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E986 +; Routine: Sub_8764_OnZero_E986 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10312,13 +10316,13 @@ Label_E981: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E986: +Sub_8764_OnZero_E986: lda Zp19 ; CPU:$E986 PRG:2986 A5 19 cmp #$80 ; CPU:$E988 PRG:2988 C9 80 - bcs Label_E98D ; CPU:$E98A PRG:298A B0 01 + bcs Sub_8764_JoinBranchPaths_E98D ; CPU:$E98A PRG:298A B0 01 rts ; CPU:$E98C PRG:298C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E98D +; Routine: Sub_8764_JoinBranchPaths_E98D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10326,7 +10330,7 @@ Label_E986: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E98D: +Sub_8764_JoinBranchPaths_E98D: lda Zp18 ; CPU:$E98D PRG:298D A5 18 and #$1F ; CPU:$E98F PRG:298F 29 1F tax ; CPU:$E991 PRG:2991 AA @@ -10339,7 +10343,7 @@ Label_E98D: sta Zp8D ; CPU:$E9A1 PRG:29A1 85 8D rts ; CPU:$E9A3 PRG:29A3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9A4 +; Routine: SubCE9A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10347,14 +10351,14 @@ Label_E98D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A4: - lda Zp43 ; CPU:$E9A4 PRG:29A4 A5 43 +SubCE9A4: + lda AudioState ; CPU:$E9A4 PRG:29A4 A5 43 and #$03 ; CPU:$E9A6 PRG:29A6 29 03 cmp #$02 ; CPU:$E9A8 PRG:29A8 C9 02 - bne Label_E9AD ; CPU:$E9AA PRG:29AA D0 01 + bne Sub_8764_OnNonzero_E9AD ; CPU:$E9AA PRG:29AA D0 01 rts ; CPU:$E9AC PRG:29AC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9AD +; Routine: Sub_8764_OnNonzero_E9AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10362,26 +10366,26 @@ Label_E9A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AD: +Sub_8764_OnNonzero_E9AD: lda ZpD7 ; CPU:$E9AD PRG:29AD A5 D7 - bne Label_E9D4 ; CPU:$E9AF PRG:29AF D0 23 - jsr $CE2A ; CPU:$E9B1 PRG:29B1 20 2A CE - beq Label_E9D4 ; CPU:$E9B4 PRG:29B4 F0 1E - jsr $DD81 ; CPU:$E9B6 PRG:29B6 20 81 DD + bne Sub_8764_JoinBranchPaths_E9D4 ; CPU:$E9AF PRG:29AF D0 23 + jsr SubCCE2A ; CPU:$E9B1 PRG:29B1 20 2A CE + beq Sub_8764_JoinBranchPaths_E9D4 ; CPU:$E9B4 PRG:29B4 F0 1E + jsr SubCDD81 ; CPU:$E9B6 PRG:29B6 20 81 DD lda Zp79 ; CPU:$E9B9 PRG:29B9 A5 79 - beq Label_E9D4 ; CPU:$E9BB PRG:29BB F0 17 + beq Sub_8764_JoinBranchPaths_E9D4 ; CPU:$E9BB PRG:29BB F0 17 cmp #$15 ; CPU:$E9BD PRG:29BD C9 15 - bpl Label_E9D4 ; CPU:$E9BF PRG:29BF 10 13 - jsr $DDD2 ; CPU:$E9C1 PRG:29C1 20 D2 DD + bpl Sub_8764_JoinBranchPaths_E9D4 ; CPU:$E9BF PRG:29BF 10 13 + jsr SubCDDD2 ; CPU:$E9C1 PRG:29C1 20 D2 DD and #$07 ; CPU:$E9C4 PRG:29C4 29 07 - bne Label_E9D4 ; CPU:$E9C6 PRG:29C6 D0 0C + bne Sub_8764_JoinBranchPaths_E9D4 ; CPU:$E9C6 PRG:29C6 D0 0C lda #$04 ; CPU:$E9C8 PRG:29C8 A9 04 sta Zp0A ; CPU:$E9CA PRG:29CA 85 0A - jsr $DE14 ; CPU:$E9CC PRG:29CC 20 14 DE + jsr SubCDE14 ; CPU:$E9CC PRG:29CC 20 14 DE lda #$04 ; CPU:$E9CF PRG:29CF A9 04 - jsr $DE60 ; CPU:$E9D1 PRG:29D1 20 60 DE + jsr SubCDE60 ; CPU:$E9D1 PRG:29D1 20 60 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E9D4 +; Routine: Sub_8764_JoinBranchPaths_E9D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10389,10 +10393,10 @@ Label_E9AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D4: +Sub_8764_JoinBranchPaths_E9D4: rts ; CPU:$E9D4 PRG:29D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9D5 +; Routine: SubCE9D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10400,20 +10404,20 @@ Label_E9D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D5: +SubCE9D5: lda #$40 ; CPU:$E9D5 PRG:29D5 A9 40 ora ZpFE ; CPU:$E9D7 PRG:29D7 05 FE sta ZpFE ; CPU:$E9D9 PRG:29D9 85 FE sta ZpEB ; CPU:$E9DB PRG:29DB 85 EB lda Zp4A ; CPU:$E9DD PRG:29DD A5 4A - beq Label_EA15 ; CPU:$E9DF PRG:29DF F0 34 - lda Zp43 ; CPU:$E9E1 PRG:29E1 A5 43 + beq SubCEA15 ; CPU:$E9DF PRG:29DF F0 34 + lda AudioState ; CPU:$E9E1 PRG:29E1 A5 43 and #$0F ; CPU:$E9E3 PRG:29E3 29 0F cmp #$08 ; CPU:$E9E5 PRG:29E5 C9 08 - bne Label_EA15 ; CPU:$E9E7 PRG:29E7 D0 2C + bne SubCEA15 ; CPU:$E9E7 PRG:29E7 D0 2C ldy #$00 ; CPU:$E9E9 PRG:29E9 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E9EB +; Routine: Sub_8764_OnCarryClear_E9EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10421,9 +10425,9 @@ Label_E9D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9EB: +Sub_8764_OnCarryClear_E9EB: lda $0270,y ; CPU:$E9EB PRG:29EB B9 70 02 - bne Label_EA0D ; CPU:$E9EE PRG:29EE D0 1D + bne Sub_8764_OnNonzero_EA0D ; CPU:$E9EE PRG:29EE D0 1D lda Zp18 ; CPU:$E9F0 PRG:29F0 A5 18 and #$0F ; CPU:$E9F2 PRG:29F2 29 0F tax ; CPU:$E9F4 PRG:29F4 AA @@ -10432,13 +10436,13 @@ Label_E9EB: lda Zp81 ; CPU:$E9FB PRG:29FB A5 81 sta $0270,y ; CPU:$E9FD PRG:29FD 99 70 02 cpy #$00 ; CPU:$EA00 PRG:2A00 C0 00 - bne Label_EA15 ; CPU:$EA02 PRG:2A02 D0 11 + bne SubCEA15 ; CPU:$EA02 PRG:2A02 D0 11 lda #$20 ; CPU:$EA04 PRG:2A04 A9 20 ora ZpFE ; CPU:$EA06 PRG:2A06 05 FE sta ZpFE ; CPU:$EA08 PRG:2A08 85 FE - jmp $EA15 ; CPU:$EA0A PRG:2A0A 4C 15 EA + jmp SubCEA15 ; CPU:$EA0A PRG:2A0A 4C 15 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA0D +; Routine: Sub_8764_OnNonzero_EA0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10446,15 +10450,15 @@ Label_E9EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA0D: +Sub_8764_OnNonzero_EA0D: iny ; CPU:$EA0D PRG:2A0D C8 iny ; CPU:$EA0E PRG:2A0E C8 iny ; CPU:$EA0F PRG:2A0F C8 iny ; CPU:$EA10 PRG:2A10 C8 cpy #$20 ; CPU:$EA11 PRG:2A11 C0 20 - bcc Label_E9EB ; CPU:$EA13 PRG:2A13 90 D6 + bcc Sub_8764_OnCarryClear_E9EB ; CPU:$EA13 PRG:2A13 90 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_EA15 +; Routine: SubCEA15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10462,11 +10466,11 @@ Label_EA0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA15: +SubCEA15: ldy #$00 ; CPU:$EA15 PRG:2A15 A0 00 sty ZpB1 ; CPU:$EA17 PRG:2A17 84 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_EA19 +; Routine: Sub_8764_OnCarryClear_EA19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10474,14 +10478,14 @@ Label_EA15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA19: - lda Zp43 ; CPU:$EA19 PRG:2A19 A5 43 +Sub_8764_OnCarryClear_EA19: + lda AudioState ; CPU:$EA19 PRG:2A19 A5 43 and #$02 ; CPU:$EA1B PRG:2A1B 29 02 - beq Label_EA24 ; CPU:$EA1D PRG:2A1D F0 05 + beq Sub_8764_OnZero_EA24 ; CPU:$EA1D PRG:2A1D F0 05 lda #$A6 ; CPU:$EA1F PRG:2A1F A9 A6 - jmp $EA26 ; CPU:$EA21 PRG:2A21 4C 26 EA + jmp SubCEA26 ; CPU:$EA21 PRG:2A21 4C 26 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA24 +; Routine: Sub_8764_OnZero_EA24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10489,10 +10493,10 @@ Label_EA19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA24: +Sub_8764_OnZero_EA24: lda #$A7 ; CPU:$EA24 PRG:2A24 A9 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_EA26 +; Routine: SubCEA26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10500,17 +10504,17 @@ Label_EA24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA26: +SubCEA26: sta $0271,y ; CPU:$EA26 PRG:2A26 99 71 02 lda $0270,y ; CPU:$EA29 PRG:2A29 B9 70 02 - beq Label_EA78 ; CPU:$EA2C PRG:2A2C F0 4A + beq SubCEA78 ; CPU:$EA2C PRG:2A2C F0 4A cmp #$C8 ; CPU:$EA2E PRG:2A2E C9 C8 - bcc Label_EA3A ; CPU:$EA30 PRG:2A30 90 08 + bcc Sub_8764_OnCarryClear_EA3A ; CPU:$EA30 PRG:2A30 90 08 lda #$00 ; CPU:$EA32 PRG:2A32 A9 00 sta $0270,y ; CPU:$EA34 PRG:2A34 99 70 02 - jmp $EA78 ; CPU:$EA37 PRG:2A37 4C 78 EA + jmp SubCEA78 ; CPU:$EA37 PRG:2A37 4C 78 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA3A +; Routine: Sub_8764_OnCarryClear_EA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10518,17 +10522,17 @@ Label_EA26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA3A: +Sub_8764_OnCarryClear_EA3A: lda #$01 ; CPU:$EA3A PRG:2A3A A9 01 sta ZpB1 ; CPU:$EA3C PRG:2A3C 85 B1 lda $0273,y ; CPU:$EA3E PRG:2A3E B9 73 02 cmp #$B8 ; CPU:$EA41 PRG:2A41 C9 B8 - bcs Label_EA4C ; CPU:$EA43 PRG:2A43 B0 07 + bcs Sub_8764_OnCarrySet_EA4C ; CPU:$EA43 PRG:2A43 B0 07 lda $0273,y ; CPU:$EA45 PRG:2A45 B9 73 02 cmp #$10 ; CPU:$EA48 PRG:2A48 C9 10 - bcs Label_EA54 ; CPU:$EA4A PRG:2A4A B0 08 + bcs Sub_8764_OnCarrySet_EA54 ; CPU:$EA4A PRG:2A4A B0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EA4C +; Routine: Sub_8764_OnCarrySet_EA4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10536,12 +10540,12 @@ Label_EA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4C: +Sub_8764_OnCarrySet_EA4C: lda $0272,y ; CPU:$EA4C PRG:2A4C B9 72 02 eor #$40 ; CPU:$EA4F PRG:2A4F 49 40 sta $0272,y ; CPU:$EA51 PRG:2A51 99 72 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EA54 +; Routine: Sub_8764_OnCarrySet_EA54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10549,17 +10553,17 @@ Label_EA4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA54: +Sub_8764_OnCarrySet_EA54: lda Zp82 ; CPU:$EA54 PRG:2A54 A5 82 - sta Zp01 ; CPU:$EA56 PRG:2A56 85 01 + sta PtrHi ; CPU:$EA56 PRG:2A56 85 01 lda $0272,y ; CPU:$EA58 PRG:2A58 B9 72 02 and #$40 ; CPU:$EA5B PRG:2A5B 29 40 - bne Label_EA66 ; CPU:$EA5D PRG:2A5D D0 07 - lda Zp01 ; CPU:$EA5F PRG:2A5F A5 01 - jsr $E0DE ; CPU:$EA61 PRG:2A61 20 DE E0 - sta Zp01 ; CPU:$EA64 PRG:2A64 85 01 + bne Sub_8764_OnNonzero_EA66 ; CPU:$EA5D PRG:2A5D D0 07 + lda PtrHi ; CPU:$EA5F PRG:2A5F A5 01 + jsr SubCE0DE ; CPU:$EA61 PRG:2A61 20 DE E0 + sta PtrHi ; CPU:$EA64 PRG:2A64 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EA66 +; Routine: Sub_8764_OnNonzero_EA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10567,17 +10571,17 @@ Label_EA54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA66: +Sub_8764_OnNonzero_EA66: lda $0273,y ; CPU:$EA66 PRG:2A66 B9 73 02 clc ; CPU:$EA69 PRG:2A69 18 - adc Zp01 ; CPU:$EA6A PRG:2A6A 65 01 + adc PtrHi ; CPU:$EA6A PRG:2A6A 65 01 sta $0273,y ; CPU:$EA6C PRG:2A6C 99 73 02 lda $0270,y ; CPU:$EA6F PRG:2A6F B9 70 02 clc ; CPU:$EA72 PRG:2A72 18 adc Zp81 ; CPU:$EA73 PRG:2A73 65 81 sta $0270,y ; CPU:$EA75 PRG:2A75 99 70 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EA78 +; Routine: SubCEA78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10585,16 +10589,16 @@ Label_EA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA78: +SubCEA78: iny ; CPU:$EA78 PRG:2A78 C8 iny ; CPU:$EA79 PRG:2A79 C8 iny ; CPU:$EA7A PRG:2A7A C8 iny ; CPU:$EA7B PRG:2A7B C8 cpy #$20 ; CPU:$EA7C PRG:2A7C C0 20 - bcc Label_EA19 ; CPU:$EA7E PRG:2A7E 90 99 + bcc Sub_8764_OnCarryClear_EA19 ; CPU:$EA7E PRG:2A7E 90 99 rts ; CPU:$EA80 PRG:2A80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA81 +; Routine: SubCEA81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10602,15 +10606,15 @@ Label_EA78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA81: +SubCEA81: lda #$00 ; CPU:$EA81 PRG:2A81 A9 00 sta ZpEB ; CPU:$EA83 PRG:2A83 85 EB ldx Zp75 ; CPU:$EA85 PRG:2A85 A6 75 lda $C0E1,x ; CPU:$EA87 PRG:2A87 BD E1 C0 - bne Label_EA8D ; CPU:$EA8A PRG:2A8A D0 01 + bne Sub_8764_OnNonzero_EA8D ; CPU:$EA8A PRG:2A8A D0 01 rts ; CPU:$EA8C PRG:2A8C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA8D +; Routine: Sub_8764_OnNonzero_EA8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10618,13 +10622,13 @@ Label_EA81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA8D: +Sub_8764_OnNonzero_EA8D: lda Zp8D ; CPU:$EA8D PRG:2A8D A5 8D and #$02 ; CPU:$EA8F PRG:2A8F 29 02 - bne Label_EA96 ; CPU:$EA91 PRG:2A91 D0 03 - jmp $EB46 ; CPU:$EA93 PRG:2A93 4C 46 EB + bne Sub_8764_OnNonzero_EA96 ; CPU:$EA91 PRG:2A91 D0 03 + jmp SubCEB46 ; CPU:$EA93 PRG:2A93 4C 46 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EA96 +; Routine: Sub_8764_OnNonzero_EA96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10632,13 +10636,13 @@ Label_EA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA96: +Sub_8764_OnNonzero_EA96: lda Zp75 ; CPU:$EA96 PRG:2A96 A5 75 cmp #$05 ; CPU:$EA98 PRG:2A98 C9 05 - bpl Label_EA9D ; CPU:$EA9A PRG:2A9A 10 01 + bpl Sub_8764_OnNonnegative_EA9D ; CPU:$EA9A PRG:2A9A 10 01 rts ; CPU:$EA9C PRG:2A9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA9D +; Routine: Sub_8764_OnNonnegative_EA9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10646,25 +10650,25 @@ Label_EA96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA9D: +Sub_8764_OnNonnegative_EA9D: lda #$01 ; CPU:$EA9D PRG:2A9D A9 01 sta ZpEB ; CPU:$EA9F PRG:2A9F 85 EB lda #$40 ; CPU:$EAA1 PRG:2AA1 A9 40 ora ZpFE ; CPU:$EAA3 PRG:2AA3 05 FE sta ZpFE ; CPU:$EAA5 PRG:2AA5 85 FE lda Zp82 ; CPU:$EAA7 PRG:2AA7 A5 82 - sta Zp02 ; CPU:$EAA9 PRG:2AA9 85 02 + sta Ptr2Lo ; CPU:$EAA9 PRG:2AA9 85 02 lda Zp81 ; CPU:$EAAB PRG:2AAB A5 81 - sta Zp03 ; CPU:$EAAD PRG:2AAD 85 03 + sta Ptr2Hi ; CPU:$EAAD PRG:2AAD 85 03 ldx Zp75 ; CPU:$EAAF PRG:2AAF A6 75 lda $C0E1,x ; CPU:$EAB1 PRG:2AB1 BD E1 C0 - sta Zp01 ; CPU:$EAB4 PRG:2AB4 85 01 + sta PtrHi ; CPU:$EAB4 PRG:2AB4 85 01 lda Zp8E ; CPU:$EAB6 PRG:2AB6 A5 8E - beq Label_EABF ; CPU:$EAB8 PRG:2AB8 F0 05 + beq Sub_8764_OnZero_EABF ; CPU:$EAB8 PRG:2AB8 F0 05 lda $C0F1,x ; CPU:$EABA PRG:2ABA BD F1 C0 - sta Zp01 ; CPU:$EABD PRG:2ABD 85 01 + sta PtrHi ; CPU:$EABD PRG:2ABD 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EABF +; Routine: Sub_8764_OnZero_EABF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10672,14 +10676,14 @@ Label_EA9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EABF: - lda Zp01 ; CPU:$EABF PRG:2ABF A5 01 - jsr $ED50 ; CPU:$EAC1 PRG:2AC1 20 50 ED - beq Label_EACA ; CPU:$EAC4 PRG:2AC4 F0 04 - inc Zp02 ; CPU:$EAC6 PRG:2AC6 E6 02 - inc Zp03 ; CPU:$EAC8 PRG:2AC8 E6 03 +Sub_8764_OnZero_EABF: + lda PtrHi ; CPU:$EABF PRG:2ABF A5 01 + jsr SubCED50 ; CPU:$EAC1 PRG:2AC1 20 50 ED + beq Sub_8764_OnZero_EACA ; CPU:$EAC4 PRG:2AC4 F0 04 + inc Ptr2Lo ; CPU:$EAC6 PRG:2AC6 E6 02 + inc Ptr2Hi ; CPU:$EAC8 PRG:2AC8 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EACA +; Routine: Sub_8764_OnZero_EACA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10687,15 +10691,15 @@ Label_EABF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACA: +Sub_8764_OnZero_EACA: ldx #$A6 ; CPU:$EACA PRG:2ACA A2 A6 inc ZpB5 ; CPU:$EACC PRG:2ACC E6 B5 lda ZpB5 ; CPU:$EACE PRG:2ACE A5 B5 and #$02 ; CPU:$EAD0 PRG:2AD0 29 02 - beq Label_EAD6 ; CPU:$EAD2 PRG:2AD2 F0 02 + beq Sub_8764_OnZero_EAD6 ; CPU:$EAD2 PRG:2AD2 F0 02 ldx #$A7 ; CPU:$EAD4 PRG:2AD4 A2 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD6 +; Routine: Sub_8764_OnZero_EAD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10703,11 +10707,11 @@ Label_EACA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD6: +Sub_8764_OnZero_EAD6: stx $0265 ; CPU:$EAD6 PRG:2AD6 8E 65 02 lda $0264 ; CPU:$EAD9 PRG:2AD9 AD 64 02 cmp #$C8 ; CPU:$EADC PRG:2ADC C9 C8 - bcc Label_EAEF ; CPU:$EADE PRG:2ADE 90 0F + bcc Sub_8764_OnCarryClear_EAEF ; CPU:$EADE PRG:2ADE 90 0F lda #$00 ; CPU:$EAE0 PRG:2AE0 A9 00 sta $0264 ; CPU:$EAE2 PRG:2AE2 8D 64 02 sta $0267 ; CPU:$EAE5 PRG:2AE5 8D 67 02 @@ -10716,7 +10720,7 @@ Label_EAD6: sta Zp8D ; CPU:$EAEC PRG:2AEC 85 8D rts ; CPU:$EAEE PRG:2AEE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAEF +; Routine: Sub_8764_OnCarryClear_EAEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10724,17 +10728,17 @@ Label_EAD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAEF: +Sub_8764_OnCarryClear_EAEF: lda $0267 ; CPU:$EAEF PRG:2AEF AD 67 02 cmp #$B7 ; CPU:$EAF2 PRG:2AF2 C9 B7 - bcc Label_EB02 ; CPU:$EAF4 PRG:2AF4 90 0C + bcc Sub_8764_OnCarryClear_EB02 ; CPU:$EAF4 PRG:2AF4 90 0C lda $0267 ; CPU:$EAF6 PRG:2AF6 AD 67 02 sec ; CPU:$EAF9 PRG:2AF9 38 sbc #$02 ; CPU:$EAFA PRG:2AFA E9 02 sta $0267 ; CPU:$EAFC PRG:2AFC 8D 67 02 - jmp $EB0F ; CPU:$EAFF PRG:2AFF 4C 0F EB + jmp SubCEB0F ; CPU:$EAFF PRG:2AFF 4C 0F EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB02 +; Routine: Sub_8764_OnCarryClear_EB02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10742,15 +10746,15 @@ Label_EAEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB02: +Sub_8764_OnCarryClear_EB02: cmp #$10 ; CPU:$EB02 PRG:2B02 C9 10 - bcs Label_EB26 ; CPU:$EB04 PRG:2B04 B0 20 + bcs Sub_8764_OnCarrySet_EB26 ; CPU:$EB04 PRG:2B04 B0 20 lda $0267 ; CPU:$EB06 PRG:2B06 AD 67 02 clc ; CPU:$EB09 PRG:2B09 18 adc #$02 ; CPU:$EB0A PRG:2B0A 69 02 sta $0267 ; CPU:$EB0C PRG:2B0C 8D 67 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EB0F +; Routine: SubCEB0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10758,7 +10762,7 @@ Label_EB02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB0F: +SubCEB0F: lda $0264 ; CPU:$EB0F PRG:2B0F AD 64 02 sec ; CPU:$EB12 PRG:2B12 38 sbc #$02 ; CPU:$EB13 PRG:2B13 E9 02 @@ -10770,7 +10774,7 @@ Label_EB0F: eor #$40 ; CPU:$EB21 PRG:2B21 49 40 sta $0266 ; CPU:$EB23 PRG:2B23 8D 66 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EB26 +; Routine: Sub_8764_OnCarrySet_EB26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10778,15 +10782,15 @@ Label_EB0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB26: +Sub_8764_OnCarrySet_EB26: lda ZpB8 ; CPU:$EB26 PRG:2B26 A5 B8 cmp #$10 ; CPU:$EB28 PRG:2B28 C9 10 - bne Label_EB33 ; CPU:$EB2A PRG:2B2A D0 07 - lda Zp02 ; CPU:$EB2C PRG:2B2C A5 02 - jsr $E0DE ; CPU:$EB2E PRG:2B2E 20 DE E0 - sta Zp02 ; CPU:$EB31 PRG:2B31 85 02 + bne Sub_8764_OnNonzero_EB33 ; CPU:$EB2A PRG:2B2A D0 07 + lda Ptr2Lo ; CPU:$EB2C PRG:2B2C A5 02 + jsr SubCE0DE ; CPU:$EB2E PRG:2B2E 20 DE E0 + sta Ptr2Lo ; CPU:$EB31 PRG:2B31 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EB33 +; Routine: Sub_8764_OnNonzero_EB33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10794,18 +10798,18 @@ Label_EB26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB33: +Sub_8764_OnNonzero_EB33: lda $0264 ; CPU:$EB33 PRG:2B33 AD 64 02 clc ; CPU:$EB36 PRG:2B36 18 - adc Zp03 ; CPU:$EB37 PRG:2B37 65 03 + adc Ptr2Hi ; CPU:$EB37 PRG:2B37 65 03 sta $0264 ; CPU:$EB39 PRG:2B39 8D 64 02 lda $0267 ; CPU:$EB3C PRG:2B3C AD 67 02 clc ; CPU:$EB3F PRG:2B3F 18 - adc Zp02 ; CPU:$EB40 PRG:2B40 65 02 + adc Ptr2Lo ; CPU:$EB40 PRG:2B40 65 02 sta $0267 ; CPU:$EB42 PRG:2B42 8D 67 02 rts ; CPU:$EB45 PRG:2B45 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB46 +; Routine: SubCEB46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10813,13 +10817,13 @@ Label_EB33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB46: +SubCEB46: lda Zp51 ; CPU:$EB46 PRG:2B46 A5 51 - bne Label_EB4E ; CPU:$EB48 PRG:2B48 D0 04 + bne Sub_8764_OnNonzero_EB4E ; CPU:$EB48 PRG:2B48 D0 04 ldx #$60 ; CPU:$EB4A PRG:2B4A A2 60 stx Zp51 ; CPU:$EB4C PRG:2B4C 86 51 ; ----------------------------------------------------------------------------- -; Routine: Label_EB4E +; Routine: Sub_8764_OnNonzero_EB4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10827,12 +10831,12 @@ Label_EB46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB4E: +Sub_8764_OnNonzero_EB4E: cmp #$04 ; CPU:$EB4E PRG:2B4E C9 04 - beq Label_EB53 ; CPU:$EB50 PRG:2B50 F0 01 + beq Sub_8764_OnZero_EB53 ; CPU:$EB50 PRG:2B50 F0 01 rts ; CPU:$EB52 PRG:2B52 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB53 +; Routine: Sub_8764_OnZero_EB53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10840,13 +10844,13 @@ Label_EB4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB53: +Sub_8764_OnZero_EB53: lda Zp1A ; CPU:$EB53 PRG:2B53 A5 1A cmp #$80 ; CPU:$EB55 PRG:2B55 C9 80 - bcs Label_EB5A ; CPU:$EB57 PRG:2B57 B0 01 + bcs Sub_8764_OnCarrySet_EB5A ; CPU:$EB57 PRG:2B57 B0 01 rts ; CPU:$EB59 PRG:2B59 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB5A +; Routine: Sub_8764_OnCarrySet_EB5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10854,7 +10858,7 @@ Label_EB53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB5A: +Sub_8764_OnCarrySet_EB5A: lda Zp18 ; CPU:$EB5A PRG:2B5A A5 18 and #$0F ; CPU:$EB5C PRG:2B5C 29 0F tax ; CPU:$EB5E PRG:2B5E AA @@ -10870,7 +10874,7 @@ Label_EB5A: sta ZpFE ; CPU:$EB74 PRG:2B74 85 FE rts ; CPU:$EB76 PRG:2B76 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB77 +; Routine: SubCEB77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10878,20 +10882,20 @@ Label_EB5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB77: +SubCEB77: lda #$10 ; CPU:$EB77 PRG:2B77 A9 10 ora ZpFE ; CPU:$EB79 PRG:2B79 05 FE sta ZpFE ; CPU:$EB7B PRG:2B7B 85 FE sta ZpEA ; CPU:$EB7D PRG:2B7D 85 EA lda Zp4A ; CPU:$EB7F PRG:2B7F A5 4A - beq Label_EBAD ; CPU:$EB81 PRG:2B81 F0 2A - lda Zp43 ; CPU:$EB83 PRG:2B83 A5 43 + beq SubCEBAD ; CPU:$EB81 PRG:2B81 F0 2A + lda AudioState ; CPU:$EB83 PRG:2B83 A5 43 and #$0F ; CPU:$EB85 PRG:2B85 29 0F cmp #$08 ; CPU:$EB87 PRG:2B87 C9 08 - bne Label_EBAD ; CPU:$EB89 PRG:2B89 D0 22 + bne SubCEBAD ; CPU:$EB89 PRG:2B89 D0 22 ldy #$00 ; CPU:$EB8B PRG:2B8B A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EB8D +; Routine: Sub_8764_OnCarryClear_EB8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10899,9 +10903,9 @@ Label_EB77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8D: +Sub_8764_OnCarryClear_EB8D: lda $0270,y ; CPU:$EB8D PRG:2B8D B9 70 02 - bne Label_EBA5 ; CPU:$EB90 PRG:2B90 D0 13 + bne Sub_8764_OnNonzero_EBA5 ; CPU:$EB90 PRG:2B90 D0 13 lda Zp18 ; CPU:$EB92 PRG:2B92 A5 18 and #$0F ; CPU:$EB94 PRG:2B94 29 0F tax ; CPU:$EB96 PRG:2B96 AA @@ -10909,9 +10913,9 @@ Label_EB8D: sta $0273,y ; CPU:$EB9A PRG:2B9A 99 73 02 lda Zp83 ; CPU:$EB9D PRG:2B9D A5 83 sta $0270,y ; CPU:$EB9F PRG:2B9F 99 70 02 - jmp $EBAD ; CPU:$EBA2 PRG:2BA2 4C AD EB + jmp SubCEBAD ; CPU:$EBA2 PRG:2BA2 4C AD EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBA5 +; Routine: Sub_8764_OnNonzero_EBA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10919,15 +10923,15 @@ Label_EB8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBA5: +Sub_8764_OnNonzero_EBA5: iny ; CPU:$EBA5 PRG:2BA5 C8 iny ; CPU:$EBA6 PRG:2BA6 C8 iny ; CPU:$EBA7 PRG:2BA7 C8 iny ; CPU:$EBA8 PRG:2BA8 C8 cpy #$20 ; CPU:$EBA9 PRG:2BA9 C0 20 - bcc Label_EB8D ; CPU:$EBAB PRG:2BAB 90 E0 + bcc Sub_8764_OnCarryClear_EB8D ; CPU:$EBAB PRG:2BAB 90 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_EBAD +; Routine: SubCEBAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10935,11 +10939,11 @@ Label_EBA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBAD: +SubCEBAD: ldy #$00 ; CPU:$EBAD PRG:2BAD A0 00 sty ZpB1 ; CPU:$EBAF PRG:2BAF 84 B1 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB1 +; Routine: SubCEBB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10947,14 +10951,14 @@ Label_EBAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB1: - lda Zp43 ; CPU:$EBB1 PRG:2BB1 A5 43 +SubCEBB1: + lda AudioState ; CPU:$EBB1 PRG:2BB1 A5 43 and #$02 ; CPU:$EBB3 PRG:2BB3 29 02 - beq Label_EBBC ; CPU:$EBB5 PRG:2BB5 F0 05 + beq Sub_8764_OnZero_EBBC ; CPU:$EBB5 PRG:2BB5 F0 05 lda #$A4 ; CPU:$EBB7 PRG:2BB7 A9 A4 - jmp $EBBE ; CPU:$EBB9 PRG:2BB9 4C BE EB + jmp SubCEBBE ; CPU:$EBB9 PRG:2BB9 4C BE EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBBC +; Routine: Sub_8764_OnZero_EBBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10962,10 +10966,10 @@ Label_EBB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBBC: +Sub_8764_OnZero_EBBC: lda #$A5 ; CPU:$EBBC PRG:2BBC A9 A5 ; ----------------------------------------------------------------------------- -; Routine: Label_EBBE +; Routine: SubCEBBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10973,17 +10977,17 @@ Label_EBBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBBE: +SubCEBBE: sta $0271,y ; CPU:$EBBE PRG:2BBE 99 71 02 lda $0270,y ; CPU:$EBC1 PRG:2BC1 B9 70 02 - beq Label_EC30 ; CPU:$EBC4 PRG:2BC4 F0 6A + beq SubCEC30 ; CPU:$EBC4 PRG:2BC4 F0 6A cmp #$C8 ; CPU:$EBC6 PRG:2BC6 C9 C8 - bcc Label_EBD2 ; CPU:$EBC8 PRG:2BC8 90 08 + bcc Sub_8764_OnCarryClear_EBD2 ; CPU:$EBC8 PRG:2BC8 90 08 lda #$00 ; CPU:$EBCA PRG:2BCA A9 00 sta $0270,y ; CPU:$EBCC PRG:2BCC 99 70 02 - jmp $EC30 ; CPU:$EBCF PRG:2BCF 4C 30 EC + jmp SubCEC30 ; CPU:$EBCF PRG:2BCF 4C 30 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EBD2 +; Routine: Sub_8764_OnCarryClear_EBD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10991,12 +10995,12 @@ Label_EBBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD2: +Sub_8764_OnCarryClear_EBD2: lda #$01 ; CPU:$EBD2 PRG:2BD2 A9 01 sta ZpB1 ; CPU:$EBD4 PRG:2BD4 85 B1 ldx #$00 ; CPU:$EBD6 PRG:2BD6 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EBD8 +; Routine: SubCEBD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11004,14 +11008,14 @@ Label_EBD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD8: +SubCEBD8: lda $0270,y ; CPU:$EBD8 PRG:2BD8 B9 70 02 cmp $C111,x ; CPU:$EBDB PRG:2BDB DD 11 C1 - bcc Label_EBE4 ; CPU:$EBDE PRG:2BDE 90 04 + bcc Sub_8764_OnCarryClear_EBE4 ; CPU:$EBDE PRG:2BDE 90 04 inx ; CPU:$EBE0 PRG:2BE0 E8 - jmp $EBD8 ; CPU:$EBE1 PRG:2BE1 4C D8 EB + jmp SubCEBD8 ; CPU:$EBE1 PRG:2BE1 4C D8 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBE4 +; Routine: Sub_8764_OnCarryClear_EBE4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11019,18 +11023,18 @@ Label_EBD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE4: +Sub_8764_OnCarryClear_EBE4: lda $0272,y ; CPU:$EBE4 PRG:2BE4 B9 72 02 and #$BF ; CPU:$EBE7 PRG:2BE7 29 BF sta $0272,y ; CPU:$EBE9 PRG:2BE9 99 72 02 txa ; CPU:$EBEC PRG:2BEC 8A and #$01 ; CPU:$EBED PRG:2BED 29 01 - beq Label_EBF9 ; CPU:$EBEF PRG:2BEF F0 08 + beq Sub_8764_OnZero_EBF9 ; CPU:$EBEF PRG:2BEF F0 08 lda #$40 ; CPU:$EBF1 PRG:2BF1 A9 40 ora $0272,y ; CPU:$EBF3 PRG:2BF3 19 72 02 sta $0272,y ; CPU:$EBF6 PRG:2BF6 99 72 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EBF9 +; Routine: Sub_8764_OnZero_EBF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11038,17 +11042,17 @@ Label_EBE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF9: +Sub_8764_OnZero_EBF9: lda Zp84 ; CPU:$EBF9 PRG:2BF9 A5 84 - sta Zp01 ; CPU:$EBFB PRG:2BFB 85 01 + sta PtrHi ; CPU:$EBFB PRG:2BFB 85 01 lda $0272,y ; CPU:$EBFD PRG:2BFD B9 72 02 and #$40 ; CPU:$EC00 PRG:2C00 29 40 - beq Label_EC0B ; CPU:$EC02 PRG:2C02 F0 07 - lda Zp01 ; CPU:$EC04 PRG:2C04 A5 01 - jsr $E0DE ; CPU:$EC06 PRG:2C06 20 DE E0 - sta Zp01 ; CPU:$EC09 PRG:2C09 85 01 + beq Sub_8764_OnZero_EC0B ; CPU:$EC02 PRG:2C02 F0 07 + lda PtrHi ; CPU:$EC04 PRG:2C04 A5 01 + jsr SubCE0DE ; CPU:$EC06 PRG:2C06 20 DE E0 + sta PtrHi ; CPU:$EC09 PRG:2C09 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EC0B +; Routine: Sub_8764_OnZero_EC0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11056,10 +11060,10 @@ Label_EBF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC0B: +Sub_8764_OnZero_EC0B: lda $0273,y ; CPU:$EC0B PRG:2C0B B9 73 02 clc ; CPU:$EC0E PRG:2C0E 18 - adc Zp01 ; CPU:$EC0F PRG:2C0F 65 01 + adc PtrHi ; CPU:$EC0F PRG:2C0F 65 01 sta $0273,y ; CPU:$EC11 PRG:2C11 99 73 02 lda $0270,y ; CPU:$EC14 PRG:2C14 B9 70 02 clc ; CPU:$EC17 PRG:2C17 18 @@ -11067,14 +11071,14 @@ Label_EC0B: sta $0270,y ; CPU:$EC1A PRG:2C1A 99 70 02 lda Zp18 ; CPU:$EC1D PRG:2C1D A5 18 cmp #$F8 ; CPU:$EC1F PRG:2C1F C9 F8 - bcc Label_EC30 ; CPU:$EC21 PRG:2C21 90 0D + bcc SubCEC30 ; CPU:$EC21 PRG:2C21 90 0D lda $0273,y ; CPU:$EC23 PRG:2C23 B9 73 02 - sta Zp00 ; CPU:$EC26 PRG:2C26 85 00 + sta PtrLo ; CPU:$EC26 PRG:2C26 85 00 lda $0270,y ; CPU:$EC28 PRG:2C28 B9 70 02 - sta Zp01 ; CPU:$EC2B PRG:2C2B 85 01 - jsr $E9A4 ; CPU:$EC2D PRG:2C2D 20 A4 E9 + sta PtrHi ; CPU:$EC2B PRG:2C2B 85 01 + jsr SubCE9A4 ; CPU:$EC2D PRG:2C2D 20 A4 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EC30 +; Routine: SubCEC30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11082,16 +11086,16 @@ Label_EC0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC30: +SubCEC30: iny ; CPU:$EC30 PRG:2C30 C8 iny ; CPU:$EC31 PRG:2C31 C8 iny ; CPU:$EC32 PRG:2C32 C8 iny ; CPU:$EC33 PRG:2C33 C8 cpy #$20 ; CPU:$EC34 PRG:2C34 C0 20 - bcs Label_EC3B ; CPU:$EC36 PRG:2C36 B0 03 - jmp $EBB1 ; CPU:$EC38 PRG:2C38 4C B1 EB + bcs Sub_8764_OnCarrySet_EC3B ; CPU:$EC36 PRG:2C36 B0 03 + jmp SubCEBB1 ; CPU:$EC38 PRG:2C38 4C B1 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EC3B +; Routine: Sub_8764_OnCarrySet_EC3B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11099,10 +11103,10 @@ Label_EC30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC3B: +Sub_8764_OnCarrySet_EC3B: rts ; CPU:$EC3B PRG:2C3B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC3C +; Routine: SubCEC3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11110,15 +11114,15 @@ Label_EC3B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC3C: +SubCEC3C: lda #$00 ; CPU:$EC3C PRG:2C3C A9 00 sta ZpEA ; CPU:$EC3E PRG:2C3E 85 EA ldx Zp75 ; CPU:$EC40 PRG:2C40 A6 75 lda $C118,x ; CPU:$EC42 PRG:2C42 BD 18 C1 - bne Label_EC48 ; CPU:$EC45 PRG:2C45 D0 01 + bne Sub_8764_OnNonzero_EC48 ; CPU:$EC45 PRG:2C45 D0 01 rts ; CPU:$EC47 PRG:2C47 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC48 +; Routine: Sub_8764_OnNonzero_EC48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11126,13 +11130,13 @@ Label_EC3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC48: +Sub_8764_OnNonzero_EC48: lda Zp8D ; CPU:$EC48 PRG:2C48 A5 8D and #$01 ; CPU:$EC4A PRG:2C4A 29 01 - bne Label_EC51 ; CPU:$EC4C PRG:2C4C D0 03 - jmp $ECFF ; CPU:$EC4E PRG:2C4E 4C FF EC + bne Sub_8764_OnNonzero_EC51 ; CPU:$EC4C PRG:2C4C D0 03 + jmp SubCECFF ; CPU:$EC4E PRG:2C4E 4C FF EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC51 +; Routine: Sub_8764_OnNonzero_EC51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11140,13 +11144,13 @@ Label_EC48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC51: +Sub_8764_OnNonzero_EC51: lda Zp75 ; CPU:$EC51 PRG:2C51 A5 75 cmp #$03 ; CPU:$EC53 PRG:2C53 C9 03 - bpl Label_EC58 ; CPU:$EC55 PRG:2C55 10 01 + bpl Sub_8764_OnNonnegative_EC58 ; CPU:$EC55 PRG:2C55 10 01 rts ; CPU:$EC57 PRG:2C57 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC58 +; Routine: Sub_8764_OnNonnegative_EC58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11154,15 +11158,15 @@ Label_EC51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC58: +Sub_8764_OnNonnegative_EC58: ldx #$A4 ; CPU:$EC58 PRG:2C58 A2 A4 inc ZpB6 ; CPU:$EC5A PRG:2C5A E6 B6 lda ZpB6 ; CPU:$EC5C PRG:2C5C A5 B6 and #$02 ; CPU:$EC5E PRG:2C5E 29 02 - beq Label_EC64 ; CPU:$EC60 PRG:2C60 F0 02 + beq Sub_8764_OnZero_EC64 ; CPU:$EC60 PRG:2C60 F0 02 ldx #$A5 ; CPU:$EC62 PRG:2C62 A2 A5 ; ----------------------------------------------------------------------------- -; Routine: Label_EC64 +; Routine: Sub_8764_OnZero_EC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11170,7 +11174,7 @@ Label_EC58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC64: +Sub_8764_OnZero_EC64: stx $0269 ; CPU:$EC64 PRG:2C64 8E 69 02 lda #$01 ; CPU:$EC67 PRG:2C67 A9 01 sta ZpEA ; CPU:$EC69 PRG:2C69 85 EA @@ -11179,7 +11183,7 @@ Label_EC64: sta ZpFE ; CPU:$EC6F PRG:2C6F 85 FE lda $0268 ; CPU:$EC71 PRG:2C71 AD 68 02 cmp #$C8 ; CPU:$EC74 PRG:2C74 C9 C8 - bcc Label_EC87 ; CPU:$EC76 PRG:2C76 90 0F + bcc Sub_8764_OnCarryClear_EC87 ; CPU:$EC76 PRG:2C76 90 0F lda #$00 ; CPU:$EC78 PRG:2C78 A9 00 sta $0268 ; CPU:$EC7A PRG:2C7A 8D 68 02 sta $026B ; CPU:$EC7D PRG:2C7D 8D 6B 02 @@ -11188,7 +11192,7 @@ Label_EC64: sta Zp8D ; CPU:$EC84 PRG:2C84 85 8D rts ; CPU:$EC86 PRG:2C86 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC87 +; Routine: Sub_8764_OnCarryClear_EC87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11196,21 +11200,21 @@ Label_EC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC87: +Sub_8764_OnCarryClear_EC87: lda #$00 ; CPU:$EC87 PRG:2C87 A9 00 - sta Zp03 ; CPU:$EC89 PRG:2C89 85 03 + sta Ptr2Hi ; CPU:$EC89 PRG:2C89 85 03 ldx Zp75 ; CPU:$EC8B PRG:2C8B A6 75 lda $C118,x ; CPU:$EC8D PRG:2C8D BD 18 C1 - sta Zp00 ; CPU:$EC90 PRG:2C90 85 00 + sta PtrLo ; CPU:$EC90 PRG:2C90 85 00 lda Zp8E ; CPU:$EC92 PRG:2C92 A5 8E - beq Label_ECA4 ; CPU:$EC94 PRG:2C94 F0 0E + beq Sub_8764_OnZero_ECA4 ; CPU:$EC94 PRG:2C94 F0 0E lda $C128 ; CPU:$EC96 PRG:2C96 AD 28 C1 - jsr $ED50 ; CPU:$EC99 PRG:2C99 20 50 ED - beq Label_ECAD ; CPU:$EC9C PRG:2C9C F0 0F + jsr SubCED50 ; CPU:$EC99 PRG:2C99 20 50 ED + beq Sub_8764_OnZero_ECAD ; CPU:$EC9C PRG:2C9C F0 0F dec $0268 ; CPU:$EC9E PRG:2C9E CE 68 02 dec $0268 ; CPU:$ECA1 PRG:2CA1 CE 68 02 ; ----------------------------------------------------------------------------- -; Routine: Label_ECA4 +; Routine: Sub_8764_OnZero_ECA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11218,13 +11222,13 @@ Label_EC87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECA4: - lda Zp00 ; CPU:$ECA4 PRG:2CA4 A5 00 - jsr $ED50 ; CPU:$ECA6 PRG:2CA6 20 50 ED - beq Label_ECAD ; CPU:$ECA9 PRG:2CA9 F0 02 - inc Zp03 ; CPU:$ECAB PRG:2CAB E6 03 +Sub_8764_OnZero_ECA4: + lda PtrLo ; CPU:$ECA4 PRG:2CA4 A5 00 + jsr SubCED50 ; CPU:$ECA6 PRG:2CA6 20 50 ED + beq Sub_8764_OnZero_ECAD ; CPU:$ECA9 PRG:2CA9 F0 02 + inc Ptr2Hi ; CPU:$ECAB PRG:2CAB E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_ECAD +; Routine: Sub_8764_OnZero_ECAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11232,11 +11236,11 @@ Label_ECA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECAD: +Sub_8764_OnZero_ECAD: ldx #$00 ; CPU:$ECAD PRG:2CAD A2 00 lda $0268 ; CPU:$ECAF PRG:2CAF AD 68 02 ; ----------------------------------------------------------------------------- -; Routine: Label_ECB2 +; Routine: SubCECB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11244,13 +11248,13 @@ Label_ECAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECB2: +SubCECB2: cmp $C111,x ; CPU:$ECB2 PRG:2CB2 DD 11 C1 - bcc Label_ECBB ; CPU:$ECB5 PRG:2CB5 90 04 + bcc Sub_8764_OnCarryClear_ECBB ; CPU:$ECB5 PRG:2CB5 90 04 inx ; CPU:$ECB7 PRG:2CB7 E8 - jmp $ECB2 ; CPU:$ECB8 PRG:2CB8 4C B2 EC + jmp SubCECB2 ; CPU:$ECB8 PRG:2CB8 4C B2 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECBB +; Routine: Sub_8764_OnCarryClear_ECBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11258,23 +11262,23 @@ Label_ECB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECBB: +Sub_8764_OnCarryClear_ECBB: lda Zp84 ; CPU:$ECBB PRG:2CBB A5 84 clc ; CPU:$ECBD PRG:2CBD 18 - adc Zp03 ; CPU:$ECBE PRG:2CBE 65 03 - sta Zp00 ; CPU:$ECC0 PRG:2CC0 85 00 + adc Ptr2Hi ; CPU:$ECBE PRG:2CBE 65 03 + sta PtrLo ; CPU:$ECC0 PRG:2CC0 85 00 lda Zp83 ; CPU:$ECC2 PRG:2CC2 A5 83 clc ; CPU:$ECC4 PRG:2CC4 18 - adc Zp03 ; CPU:$ECC5 PRG:2CC5 65 03 - sta Zp01 ; CPU:$ECC7 PRG:2CC7 85 01 + adc Ptr2Hi ; CPU:$ECC5 PRG:2CC5 65 03 + sta PtrHi ; CPU:$ECC7 PRG:2CC7 85 01 txa ; CPU:$ECC9 PRG:2CC9 8A and #$01 ; CPU:$ECCA PRG:2CCA 29 01 - beq Label_ECD5 ; CPU:$ECCC PRG:2CCC F0 07 - lda Zp00 ; CPU:$ECCE PRG:2CCE A5 00 - jsr $E0DE ; CPU:$ECD0 PRG:2CD0 20 DE E0 - sta Zp00 ; CPU:$ECD3 PRG:2CD3 85 00 + beq Sub_8764_OnZero_ECD5 ; CPU:$ECCC PRG:2CCC F0 07 + lda PtrLo ; CPU:$ECCE PRG:2CCE A5 00 + jsr SubCE0DE ; CPU:$ECD0 PRG:2CD0 20 DE E0 + sta PtrLo ; CPU:$ECD3 PRG:2CD3 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ECD5 +; Routine: Sub_8764_OnZero_ECD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11282,27 +11286,27 @@ Label_ECBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECD5: +Sub_8764_OnZero_ECD5: lda $0268 ; CPU:$ECD5 PRG:2CD5 AD 68 02 clc ; CPU:$ECD8 PRG:2CD8 18 - adc Zp01 ; CPU:$ECD9 PRG:2CD9 65 01 + adc PtrHi ; CPU:$ECD9 PRG:2CD9 65 01 sta $0268 ; CPU:$ECDB PRG:2CDB 8D 68 02 lda $026B ; CPU:$ECDE PRG:2CDE AD 6B 02 clc ; CPU:$ECE1 PRG:2CE1 18 - adc Zp00 ; CPU:$ECE2 PRG:2CE2 65 00 + adc PtrLo ; CPU:$ECE2 PRG:2CE2 65 00 sta $026B ; CPU:$ECE4 PRG:2CE4 8D 6B 02 lda ZpD7 ; CPU:$ECE7 PRG:2CE7 A5 D7 - bne Label_ECFE ; CPU:$ECE9 PRG:2CE9 D0 13 + bne Sub_8764_JoinBranchPaths_ECFE ; CPU:$ECE9 PRG:2CE9 D0 13 lda Zp18 ; CPU:$ECEB PRG:2CEB A5 18 cmp #$F8 ; CPU:$ECED PRG:2CED C9 F8 - bcc Label_ECFE ; CPU:$ECEF PRG:2CEF 90 0D + bcc Sub_8764_JoinBranchPaths_ECFE ; CPU:$ECEF PRG:2CEF 90 0D lda $026B ; CPU:$ECF1 PRG:2CF1 AD 6B 02 - sta Zp00 ; CPU:$ECF4 PRG:2CF4 85 00 + sta PtrLo ; CPU:$ECF4 PRG:2CF4 85 00 lda $0268 ; CPU:$ECF6 PRG:2CF6 AD 68 02 - sta Zp01 ; CPU:$ECF9 PRG:2CF9 85 01 - jsr $E9A4 ; CPU:$ECFB PRG:2CFB 20 A4 E9 + sta PtrHi ; CPU:$ECF9 PRG:2CF9 85 01 + jsr SubCE9A4 ; CPU:$ECFB PRG:2CFB 20 A4 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_ECFE +; Routine: Sub_8764_JoinBranchPaths_ECFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11310,10 +11314,10 @@ Label_ECD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECFE: +Sub_8764_JoinBranchPaths_ECFE: rts ; CPU:$ECFE PRG:2CFE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ECFF +; Routine: SubCECFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11321,16 +11325,16 @@ Label_ECFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECFF: +SubCECFF: lda Zp6A ; CPU:$ECFF PRG:2CFF A5 6A cmp #$27 ; CPU:$ED01 PRG:2D01 C9 27 - bcc Label_ED19 ; CPU:$ED03 PRG:2D03 90 14 + bcc Sub_8764_JoinBranchPaths_ED19 ; CPU:$ED03 PRG:2D03 90 14 lda Zp52 ; CPU:$ED05 PRG:2D05 A5 52 - bne Label_ED0D ; CPU:$ED07 PRG:2D07 D0 04 + bne Sub_8764_OnNonzero_ED0D ; CPU:$ED07 PRG:2D07 D0 04 ldx #$50 ; CPU:$ED09 PRG:2D09 A2 50 stx Zp52 ; CPU:$ED0B PRG:2D0B 86 52 ; ----------------------------------------------------------------------------- -; Routine: Label_ED0D +; Routine: Sub_8764_OnNonzero_ED0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11338,12 +11342,12 @@ Label_ECFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED0D: +Sub_8764_OnNonzero_ED0D: cmp #$03 ; CPU:$ED0D PRG:2D0D C9 03 - beq Label_ED12 ; CPU:$ED0F PRG:2D0F F0 01 + beq Sub_8764_OnZero_ED12 ; CPU:$ED0F PRG:2D0F F0 01 rts ; CPU:$ED11 PRG:2D11 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED12 +; Routine: Sub_8764_OnZero_ED12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11351,13 +11355,13 @@ Label_ED0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED12: +Sub_8764_OnZero_ED12: lda Zp1B ; CPU:$ED12 PRG:2D12 A5 1B cmp #$90 ; CPU:$ED14 PRG:2D14 C9 90 - bcs Label_ED19 ; CPU:$ED16 PRG:2D16 B0 01 + bcs Sub_8764_JoinBranchPaths_ED19 ; CPU:$ED16 PRG:2D16 B0 01 rts ; CPU:$ED18 PRG:2D18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED19 +; Routine: Sub_8764_JoinBranchPaths_ED19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11365,7 +11369,7 @@ Label_ED12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED19: +Sub_8764_JoinBranchPaths_ED19: lda Zp18 ; CPU:$ED19 PRG:2D19 A5 18 and #$0F ; CPU:$ED1B PRG:2D1B 29 0F tax ; CPU:$ED1D PRG:2D1D AA @@ -11378,7 +11382,7 @@ Label_ED19: sta Zp8D ; CPU:$ED2D PRG:2D2D 85 8D rts ; CPU:$ED2F PRG:2D2F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED30 +; Routine: SubCED30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11386,7 +11390,7 @@ Label_ED19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED30: +SubCED30: sta Zp0E ; CPU:$ED30 PRG:2D30 85 0E txa ; CPU:$ED32 PRG:2D32 8A pha ; CPU:$ED33 PRG:2D33 48 @@ -11397,7 +11401,7 @@ Label_ED30: iny ; CPU:$ED3A PRG:2D3A C8 clc ; CPU:$ED3B PRG:2D3B 18 ; ----------------------------------------------------------------------------- -; Routine: Label_ED3C +; Routine: Sub_8764_OnNonzero_ED3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11405,15 +11409,15 @@ Label_ED30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED3C: - ror Zp02 ; CPU:$ED3C PRG:2D3C 66 02 - ror Zp01 ; CPU:$ED3E PRG:2D3E 66 01 +Sub_8764_OnNonzero_ED3C: + ror Ptr2Lo ; CPU:$ED3C PRG:2D3C 66 02 + ror PtrHi ; CPU:$ED3E PRG:2D3E 66 01 dey ; CPU:$ED40 PRG:2D40 88 - bne Label_ED3C ; CPU:$ED41 PRG:2D41 D0 F9 - bcc Label_ED47 ; CPU:$ED43 PRG:2D43 90 02 + bne Sub_8764_OnNonzero_ED3C ; CPU:$ED41 PRG:2D41 D0 F9 + bcc Sub_8764_OnCarryClear_ED47 ; CPU:$ED43 PRG:2D43 90 02 ldx #$01 ; CPU:$ED45 PRG:2D45 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_ED47 +; Routine: Sub_8764_OnCarryClear_ED47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11421,7 +11425,7 @@ Label_ED3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED47: +Sub_8764_OnCarryClear_ED47: stx Zp0E ; CPU:$ED47 PRG:2D47 86 0E pla ; CPU:$ED49 PRG:2D49 68 tay ; CPU:$ED4A PRG:2D4A A8 @@ -11430,7 +11434,7 @@ Label_ED47: lda Zp0E ; CPU:$ED4D PRG:2D4D A5 0E rts ; CPU:$ED4F PRG:2D4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED50 +; Routine: SubCED50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11438,22 +11442,22 @@ Label_ED47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED50: - sta Zp00 ; CPU:$ED50 PRG:2D50 85 00 +SubCED50: + sta PtrLo ; CPU:$ED50 PRG:2D50 85 00 txa ; CPU:$ED52 PRG:2D52 8A pha ; CPU:$ED53 PRG:2D53 48 - lda Zp43 ; CPU:$ED54 PRG:2D54 A5 43 + lda AudioState ; CPU:$ED54 PRG:2D54 A5 43 and #$07 ; CPU:$ED56 PRG:2D56 29 07 tax ; CPU:$ED58 PRG:2D58 AA lda $C04A,x ; CPU:$ED59 PRG:2D59 BD 4A C0 - and Zp00 ; CPU:$ED5C PRG:2D5C 25 00 - sta Zp00 ; CPU:$ED5E PRG:2D5E 85 00 + and PtrLo ; CPU:$ED5C PRG:2D5C 25 00 + sta PtrLo ; CPU:$ED5E PRG:2D5E 85 00 pla ; CPU:$ED60 PRG:2D60 68 tax ; CPU:$ED61 PRG:2D61 AA - lda Zp00 ; CPU:$ED62 PRG:2D62 A5 00 + lda PtrLo ; CPU:$ED62 PRG:2D62 A5 00 rts ; CPU:$ED64 PRG:2D64 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED65 +; Routine: SubCED65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11461,10 +11465,10 @@ Label_ED50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED65: +SubCED65: ldy #$00 ; CPU:$ED65 PRG:2D65 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED67 +; Routine: SubCED67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11472,22 +11476,22 @@ Label_ED65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED67: - lda (Zp00),y ; CPU:$ED67 PRG:2D67 B1 00 +SubCED67: + lda (PtrLo),y ; CPU:$ED67 PRG:2D67 B1 00 cmp #$FF ; CPU:$ED69 PRG:2D69 C9 FF - beq Label_ED80 ; CPU:$ED6B PRG:2D6B F0 13 - sta Zp02 ; CPU:$ED6D PRG:2D6D 85 02 + beq Sub_8764_OnZero_ED80 ; CPU:$ED6B PRG:2D6B F0 13 + sta Ptr2Lo ; CPU:$ED6D PRG:2D6D 85 02 iny ; CPU:$ED6F PRG:2D6F C8 - lda (Zp00),y ; CPU:$ED70 PRG:2D70 B1 00 - sta Zp03 ; CPU:$ED72 PRG:2D72 85 03 + lda (PtrLo),y ; CPU:$ED70 PRG:2D70 B1 00 + sta Ptr2Hi ; CPU:$ED72 PRG:2D72 85 03 iny ; CPU:$ED74 PRG:2D74 C8 - lda (Zp00),y ; CPU:$ED75 PRG:2D75 B1 00 + lda (PtrLo),y ; CPU:$ED75 PRG:2D75 B1 00 sta Zp04 ; CPU:$ED77 PRG:2D77 85 04 - jsr $ED81 ; CPU:$ED79 PRG:2D79 20 81 ED + jsr SubCED81 ; CPU:$ED79 PRG:2D79 20 81 ED iny ; CPU:$ED7C PRG:2D7C C8 - jmp $ED67 ; CPU:$ED7D PRG:2D7D 4C 67 ED + jmp SubCED67 ; CPU:$ED7D PRG:2D7D 4C 67 ED ; ----------------------------------------------------------------------------- -; Routine: Label_ED80 +; Routine: Sub_8764_OnZero_ED80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11495,10 +11499,10 @@ Label_ED67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED80: +Sub_8764_OnZero_ED80: rts ; CPU:$ED80 PRG:2D80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED81 +; Routine: SubCED81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11506,15 +11510,15 @@ Label_ED80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED81: +SubCED81: tya ; CPU:$ED81 PRG:2D81 98 pha ; CPU:$ED82 PRG:2D82 48 lda #$02 ; CPU:$ED83 PRG:2D83 A9 02 sta Zp05 ; CPU:$ED85 PRG:2D85 85 05 - ldx Zp03 ; CPU:$ED87 PRG:2D87 A6 03 + ldx Ptr2Hi ; CPU:$ED87 PRG:2D87 A6 03 ldy #$00 ; CPU:$ED89 PRG:2D89 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED8B +; Routine: Sub_8764_OnNonzero_ED8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11522,22 +11526,22 @@ Label_ED81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8B: +Sub_8764_OnNonzero_ED8B: lda #$00 ; CPU:$ED8B PRG:2D8B A9 00 sta (Zp04),y ; CPU:$ED8D PRG:2D8D 91 04 iny ; CPU:$ED8F PRG:2D8F C8 iny ; CPU:$ED90 PRG:2D90 C8 - lda Zp02 ; CPU:$ED91 PRG:2D91 A5 02 + lda Ptr2Lo ; CPU:$ED91 PRG:2D91 A5 02 sta (Zp04),y ; CPU:$ED93 PRG:2D93 91 04 iny ; CPU:$ED95 PRG:2D95 C8 iny ; CPU:$ED96 PRG:2D96 C8 dex ; CPU:$ED97 PRG:2D97 CA - bne Label_ED8B ; CPU:$ED98 PRG:2D98 D0 F1 + bne Sub_8764_OnNonzero_ED8B ; CPU:$ED98 PRG:2D98 D0 F1 pla ; CPU:$ED9A PRG:2D9A 68 tay ; CPU:$ED9B PRG:2D9B A8 rts ; CPU:$ED9C PRG:2D9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED9D +; Routine: SubCED9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11545,7 +11549,7 @@ Label_ED8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED9D: +SubCED9D: sta Zp0F ; CPU:$ED9D PRG:2D9D 85 0F txa ; CPU:$ED9F PRG:2D9F 8A pha ; CPU:$EDA0 PRG:2DA0 48 @@ -11554,9 +11558,9 @@ Label_ED9D: lda #$02 ; CPU:$EDA3 PRG:2DA3 A9 02 sta Zp05 ; CPU:$EDA5 PRG:2DA5 85 05 lda #$0F ; CPU:$EDA7 PRG:2DA7 A9 0F - and Zp03 ; CPU:$EDA9 PRG:2DA9 25 03 + and Ptr2Hi ; CPU:$EDA9 PRG:2DA9 25 03 sta Zp07 ; CPU:$EDAB PRG:2DAB 85 07 - lda Zp03 ; CPU:$EDAD PRG:2DAD A5 03 + lda Ptr2Hi ; CPU:$EDAD PRG:2DAD A5 03 lsr a ; CPU:$EDAF PRG:2DAF 4A lsr a ; CPU:$EDB0 PRG:2DB0 4A lsr a ; CPU:$EDB1 PRG:2DB1 4A @@ -11566,7 +11570,7 @@ Label_ED9D: lda #$00 ; CPU:$EDB6 PRG:2DB6 A9 00 clc ; CPU:$EDB8 PRG:2DB8 18 ; ----------------------------------------------------------------------------- -; Routine: Label_EDB9 +; Routine: Sub_8764_OnNonzero_EDB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11574,17 +11578,17 @@ Label_ED9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDB9: +Sub_8764_OnNonzero_EDB9: adc Zp07 ; CPU:$EDB9 PRG:2DB9 65 07 dex ; CPU:$EDBB PRG:2DBB CA - bne Label_EDB9 ; CPU:$EDBC PRG:2DBC D0 FB + bne Sub_8764_OnNonzero_EDB9 ; CPU:$EDBC PRG:2DBC D0 FB sta Zp08 ; CPU:$EDBE PRG:2DBE 85 08 lda Zp0F ; CPU:$EDC0 PRG:2DC0 A5 0F - bne Label_EDCA ; CPU:$EDC2 PRG:2DC2 D0 06 - jsr $EDD5 ; CPU:$EDC4 PRG:2DC4 20 D5 ED - jmp $EDCD ; CPU:$EDC7 PRG:2DC7 4C CD ED + bne Sub_8764_OnNonzero_EDCA ; CPU:$EDC2 PRG:2DC2 D0 06 + jsr SubCEDD5 ; CPU:$EDC4 PRG:2DC4 20 D5 ED + jmp SubCEDCD ; CPU:$EDC7 PRG:2DC7 4C CD ED ; ----------------------------------------------------------------------------- -; Routine: Label_EDCA +; Routine: Sub_8764_OnNonzero_EDCA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11592,10 +11596,10 @@ Label_EDB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDCA: - jsr $EDF0 ; CPU:$EDCA PRG:2DCA 20 F0 ED +Sub_8764_OnNonzero_EDCA: + jsr SubCEDF0 ; CPU:$EDCA PRG:2DCA 20 F0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_EDCD +; Routine: SubCEDCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11603,15 +11607,15 @@ Label_EDCA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDCD: - jsr $EE24 ; CPU:$EDCD PRG:2DCD 20 24 EE +SubCEDCD: + jsr SubCEE24 ; CPU:$EDCD PRG:2DCD 20 24 EE pla ; CPU:$EDD0 PRG:2DD0 68 tay ; CPU:$EDD1 PRG:2DD1 A8 pla ; CPU:$EDD2 PRG:2DD2 68 tax ; CPU:$EDD3 PRG:2DD3 AA rts ; CPU:$EDD4 PRG:2DD4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD5 +; Routine: SubCEDD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11619,12 +11623,12 @@ Label_EDCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD5: - lda Zp02 ; CPU:$EDD5 PRG:2DD5 A5 02 +SubCEDD5: + lda Ptr2Lo ; CPU:$EDD5 PRG:2DD5 A5 02 ldx Zp08 ; CPU:$EDD7 PRG:2DD7 A6 08 ldy #$01 ; CPU:$EDD9 PRG:2DD9 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EDDB +; Routine: Sub_8764_OnNonzero_EDDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11632,7 +11636,7 @@ Label_EDD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDDB: +Sub_8764_OnNonzero_EDDB: sta (Zp04),y ; CPU:$EDDB PRG:2DDB 91 04 clc ; CPU:$EDDD PRG:2DDD 18 adc #$01 ; CPU:$EDDE PRG:2DDE 69 01 @@ -11646,10 +11650,10 @@ Label_EDDB: iny ; CPU:$EDEA PRG:2DEA C8 iny ; CPU:$EDEB PRG:2DEB C8 dex ; CPU:$EDEC PRG:2DEC CA - bne Label_EDDB ; CPU:$EDED PRG:2DED D0 EC + bne Sub_8764_OnNonzero_EDDB ; CPU:$EDED PRG:2DED D0 EC rts ; CPU:$EDEF PRG:2DEF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF0 +; Routine: SubCEDF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11657,14 +11661,14 @@ Label_EDDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF0: +SubCEDF0: ldy #$01 ; CPU:$EDF0 PRG:2DF0 A0 01 sty Zp0A ; CPU:$EDF2 PRG:2DF2 84 0A lda Zp08 ; CPU:$EDF4 PRG:2DF4 A5 08 sec ; CPU:$EDF6 PRG:2DF6 38 sbc Zp06 ; CPU:$EDF7 PRG:2DF7 E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF9 +; Routine: Sub_8764_OnNonnegative_EDF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11672,12 +11676,12 @@ Label_EDF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF9: +Sub_8764_OnNonnegative_EDF9: tay ; CPU:$EDF9 PRG:2DF9 A8 sta Zp0B ; CPU:$EDFA PRG:2DFA 85 0B ldx Zp06 ; CPU:$EDFC PRG:2DFC A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EDFE +; Routine: Sub_8764_OnNonzero_EDFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11685,12 +11689,12 @@ Label_EDF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDFE: +Sub_8764_OnNonzero_EDFE: tya ; CPU:$EDFE PRG:2DFE 98 pha ; CPU:$EDFF PRG:2DFF 48 clc ; CPU:$EE00 PRG:2E00 18 tya ; CPU:$EE01 PRG:2E01 98 - adc Zp02 ; CPU:$EE02 PRG:2E02 65 02 + adc Ptr2Lo ; CPU:$EE02 PRG:2E02 65 02 ldy Zp0A ; CPU:$EE04 PRG:2E04 A4 0A sta (Zp04),y ; CPU:$EE06 PRG:2E06 91 04 iny ; CPU:$EE08 PRG:2E08 C8 @@ -11706,14 +11710,14 @@ Label_EDFE: tay ; CPU:$EE17 PRG:2E17 A8 iny ; CPU:$EE18 PRG:2E18 C8 dex ; CPU:$EE19 PRG:2E19 CA - bne Label_EDFE ; CPU:$EE1A PRG:2E1A D0 E2 + bne Sub_8764_OnNonzero_EDFE ; CPU:$EE1A PRG:2E1A D0 E2 lda Zp0B ; CPU:$EE1C PRG:2E1C A5 0B sec ; CPU:$EE1E PRG:2E1E 38 sbc Zp06 ; CPU:$EE1F PRG:2E1F E5 06 - bpl Label_EDF9 ; CPU:$EE21 PRG:2E21 10 D6 + bpl Sub_8764_OnNonnegative_EDF9 ; CPU:$EE21 PRG:2E21 10 D6 rts ; CPU:$EE23 PRG:2E23 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE24 +; Routine: SubCEE24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11721,10 +11725,10 @@ Label_EDFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE24: +SubCEE24: ldy #$00 ; CPU:$EE24 PRG:2E24 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EE26 +; Routine: Sub_8764_OnNonzero_EE26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11732,12 +11736,12 @@ Label_EE24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE26: +Sub_8764_OnNonzero_EE26: ldx Zp06 ; CPU:$EE26 PRG:2E26 A6 06 - lda Zp01 ; CPU:$EE28 PRG:2E28 A5 01 + lda PtrHi ; CPU:$EE28 PRG:2E28 A5 01 sta Zp09 ; CPU:$EE2A PRG:2E2A 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2C +; Routine: Sub_8764_OnNonzero_EE2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11745,7 +11749,7 @@ Label_EE26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2C: +Sub_8764_OnNonzero_EE2C: lda Zp09 ; CPU:$EE2C PRG:2E2C A5 09 sta (Zp04),y ; CPU:$EE2E PRG:2E2E 91 04 clc ; CPU:$EE30 PRG:2E30 18 @@ -11754,20 +11758,20 @@ Label_EE2C: iny ; CPU:$EE35 PRG:2E35 C8 iny ; CPU:$EE36 PRG:2E36 C8 iny ; CPU:$EE37 PRG:2E37 C8 - lda Zp00 ; CPU:$EE38 PRG:2E38 A5 00 + lda PtrLo ; CPU:$EE38 PRG:2E38 A5 00 sta (Zp04),y ; CPU:$EE3A PRG:2E3A 91 04 iny ; CPU:$EE3C PRG:2E3C C8 dex ; CPU:$EE3D PRG:2E3D CA - bne Label_EE2C ; CPU:$EE3E PRG:2E3E D0 EC - lda Zp00 ; CPU:$EE40 PRG:2E40 A5 00 + bne Sub_8764_OnNonzero_EE2C ; CPU:$EE3E PRG:2E3E D0 EC + lda PtrLo ; CPU:$EE40 PRG:2E40 A5 00 clc ; CPU:$EE42 PRG:2E42 18 adc #$08 ; CPU:$EE43 PRG:2E43 69 08 - sta Zp00 ; CPU:$EE45 PRG:2E45 85 00 + sta PtrLo ; CPU:$EE45 PRG:2E45 85 00 dec Zp07 ; CPU:$EE47 PRG:2E47 C6 07 - bne Label_EE26 ; CPU:$EE49 PRG:2E49 D0 DB + bne Sub_8764_OnNonzero_EE26 ; CPU:$EE49 PRG:2E49 D0 DB rts ; CPU:$EE4B PRG:2E4B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE4C +; Routine: SubCEE4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11775,22 +11779,22 @@ Label_EE2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE4C: +SubCEE4C: txa ; CPU:$EE4C PRG:2E4C 8A pha ; CPU:$EE4D PRG:2E4D 48 tya ; CPU:$EE4E PRG:2E4E 98 pha ; CPU:$EE4F PRG:2E4F 48 ldx #$00 ; CPU:$EE50 PRG:2E50 A2 00 ldy #$00 ; CPU:$EE52 PRG:2E52 A0 00 - jsr $EE5F ; CPU:$EE54 PRG:2E54 20 5F EE - jsr $EE5F ; CPU:$EE57 PRG:2E57 20 5F EE + jsr SubCEE5F ; CPU:$EE54 PRG:2E54 20 5F EE + jsr SubCEE5F ; CPU:$EE57 PRG:2E57 20 5F EE pla ; CPU:$EE5A PRG:2E5A 68 tay ; CPU:$EE5B PRG:2E5B A8 pla ; CPU:$EE5C PRG:2E5C 68 tax ; CPU:$EE5D PRG:2E5D AA rts ; CPU:$EE5E PRG:2E5E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE5F +; Routine: SubCEE5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11798,22 +11802,22 @@ Label_EE4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE5F: - lda (Zp02),y ; CPU:$EE5F PRG:2E5F B1 02 +SubCEE5F: + lda (Ptr2Lo),y ; CPU:$EE5F PRG:2E5F B1 02 clc ; CPU:$EE61 PRG:2E61 18 - adc Zp00 ; CPU:$EE62 PRG:2E62 65 00 + adc PtrLo ; CPU:$EE62 PRG:2E62 65 00 sta Zp56,x ; CPU:$EE64 PRG:2E64 95 56 inx ; CPU:$EE66 PRG:2E66 E8 iny ; CPU:$EE67 PRG:2E67 C8 - lda (Zp02),y ; CPU:$EE68 PRG:2E68 B1 02 + lda (Ptr2Lo),y ; CPU:$EE68 PRG:2E68 B1 02 clc ; CPU:$EE6A PRG:2E6A 18 - adc Zp01 ; CPU:$EE6B PRG:2E6B 65 01 + adc PtrHi ; CPU:$EE6B PRG:2E6B 65 01 sta Zp56,x ; CPU:$EE6D PRG:2E6D 95 56 inx ; CPU:$EE6F PRG:2E6F E8 iny ; CPU:$EE70 PRG:2E70 C8 rts ; CPU:$EE71 PRG:2E71 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE72 +; Routine: SubCEE72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11821,48 +11825,48 @@ Label_EE5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE72: +SubCEE72: txa ; CPU:$EE72 PRG:2E72 8A pha ; CPU:$EE73 PRG:2E73 48 tya ; CPU:$EE74 PRG:2E74 98 pha ; CPU:$EE75 PRG:2E75 48 ldx #$04 ; CPU:$EE76 PRG:2E76 A2 04 ldy #$00 ; CPU:$EE78 PRG:2E78 A0 00 - lda (Zp02),y ; CPU:$EE7A PRG:2E7A B1 02 + lda (Ptr2Lo),y ; CPU:$EE7A PRG:2E7A B1 02 clc ; CPU:$EE7C PRG:2E7C 18 - adc Zp00 ; CPU:$EE7D PRG:2E7D 65 00 + adc PtrLo ; CPU:$EE7D PRG:2E7D 65 00 sta Zp56,x ; CPU:$EE7F PRG:2E7F 95 56 inx ; CPU:$EE81 PRG:2E81 E8 iny ; CPU:$EE82 PRG:2E82 C8 - lda (Zp02),y ; CPU:$EE83 PRG:2E83 B1 02 + lda (Ptr2Lo),y ; CPU:$EE83 PRG:2E83 B1 02 clc ; CPU:$EE85 PRG:2E85 18 - adc Zp01 ; CPU:$EE86 PRG:2E86 65 01 + adc PtrHi ; CPU:$EE86 PRG:2E86 65 01 sta Zp56,x ; CPU:$EE88 PRG:2E88 95 56 inx ; CPU:$EE8A PRG:2E8A E8 iny ; CPU:$EE8B PRG:2E8B C8 - lda (Zp02),y ; CPU:$EE8C PRG:2E8C B1 02 + lda (Ptr2Lo),y ; CPU:$EE8C PRG:2E8C B1 02 clc ; CPU:$EE8E PRG:2E8E 18 - adc Zp00 ; CPU:$EE8F PRG:2E8F 65 00 + adc PtrLo ; CPU:$EE8F PRG:2E8F 65 00 sta Zp56,x ; CPU:$EE91 PRG:2E91 95 56 inx ; CPU:$EE93 PRG:2E93 E8 iny ; CPU:$EE94 PRG:2E94 C8 - lda (Zp02),y ; CPU:$EE95 PRG:2E95 B1 02 + lda (Ptr2Lo),y ; CPU:$EE95 PRG:2E95 B1 02 clc ; CPU:$EE97 PRG:2E97 18 - adc Zp01 ; CPU:$EE98 PRG:2E98 65 01 + adc PtrHi ; CPU:$EE98 PRG:2E98 65 01 sta Zp56,x ; CPU:$EE9A PRG:2E9A 95 56 inx ; CPU:$EE9C PRG:2E9C E8 iny ; CPU:$EE9D PRG:2E9D C8 ldx #$00 ; CPU:$EE9E PRG:2E9E A2 00 lda Zp56 ; CPU:$EEA0 PRG:2EA0 A5 56 cmp Zp5A ; CPU:$EEA2 PRG:2EA2 C5 5A - bcc Label_EEB1 ; CPU:$EEA4 PRG:2EA4 90 0B - beq Label_EEB7 ; CPU:$EEA6 PRG:2EA6 F0 0F + bcc Sub_8764_OnCarryClear_EEB1 ; CPU:$EEA4 PRG:2EA4 90 0B + beq Sub_8764_JoinBranchPaths_EEB7 ; CPU:$EEA6 PRG:2EA6 F0 0F cmp Zp5C ; CPU:$EEA8 PRG:2EA8 C5 5C - bcc Label_EEB7 ; CPU:$EEAA PRG:2EAA 90 0B - beq Label_EEB7 ; CPU:$EEAC PRG:2EAC F0 09 - jmp $EED0 ; CPU:$EEAE PRG:2EAE 4C D0 EE + bcc Sub_8764_JoinBranchPaths_EEB7 ; CPU:$EEAA PRG:2EAA 90 0B + beq Sub_8764_JoinBranchPaths_EEB7 ; CPU:$EEAC PRG:2EAC F0 09 + jmp SubCEED0 ; CPU:$EEAE PRG:2EAE 4C D0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EEB1 +; Routine: Sub_8764_OnCarryClear_EEB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11870,12 +11874,12 @@ Label_EE72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEB1: +Sub_8764_OnCarryClear_EEB1: lda Zp58 ; CPU:$EEB1 PRG:2EB1 A5 58 cmp Zp5A ; CPU:$EEB3 PRG:2EB3 C5 5A - bcc Label_EED0 ; CPU:$EEB5 PRG:2EB5 90 19 + bcc SubCEED0 ; CPU:$EEB5 PRG:2EB5 90 19 ; ----------------------------------------------------------------------------- -; Routine: Label_EEB7 +; Routine: Sub_8764_JoinBranchPaths_EEB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11883,17 +11887,17 @@ Label_EEB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEB7: +Sub_8764_JoinBranchPaths_EEB7: lda Zp57 ; CPU:$EEB7 PRG:2EB7 A5 57 cmp Zp5B ; CPU:$EEB9 PRG:2EB9 C5 5B - bcc Label_EEC8 ; CPU:$EEBB PRG:2EBB 90 0B - beq Label_EECE ; CPU:$EEBD PRG:2EBD F0 0F + bcc Sub_8764_OnCarryClear_EEC8 ; CPU:$EEBB PRG:2EBB 90 0B + beq Sub_8764_JoinBranchPaths_EECE ; CPU:$EEBD PRG:2EBD F0 0F cmp Zp5D ; CPU:$EEBF PRG:2EBF C5 5D - bcc Label_EECE ; CPU:$EEC1 PRG:2EC1 90 0B - beq Label_EECE ; CPU:$EEC3 PRG:2EC3 F0 09 - jmp $EED0 ; CPU:$EEC5 PRG:2EC5 4C D0 EE + bcc Sub_8764_JoinBranchPaths_EECE ; CPU:$EEC1 PRG:2EC1 90 0B + beq Sub_8764_JoinBranchPaths_EECE ; CPU:$EEC3 PRG:2EC3 F0 09 + jmp SubCEED0 ; CPU:$EEC5 PRG:2EC5 4C D0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EEC8 +; Routine: Sub_8764_OnCarryClear_EEC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11901,12 +11905,12 @@ Label_EEB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC8: +Sub_8764_OnCarryClear_EEC8: lda Zp59 ; CPU:$EEC8 PRG:2EC8 A5 59 cmp Zp5B ; CPU:$EECA PRG:2ECA C5 5B - bcc Label_EED0 ; CPU:$EECC PRG:2ECC 90 02 + bcc SubCEED0 ; CPU:$EECC PRG:2ECC 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EECE +; Routine: Sub_8764_JoinBranchPaths_EECE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11914,10 +11918,10 @@ Label_EEC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECE: +Sub_8764_JoinBranchPaths_EECE: ldx #$01 ; CPU:$EECE PRG:2ECE A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EED0 +; Routine: SubCEED0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11925,7 +11929,7 @@ Label_EECE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EED0: +SubCEED0: stx Zp0F ; CPU:$EED0 PRG:2ED0 86 0F pla ; CPU:$EED2 PRG:2ED2 68 tay ; CPU:$EED3 PRG:2ED3 A8 @@ -11934,7 +11938,7 @@ Label_EED0: lda Zp0F ; CPU:$EED6 PRG:2ED6 A5 0F rts ; CPU:$EED8 PRG:2ED8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EED9 +; Routine: SubCEED9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11942,23 +11946,23 @@ Label_EED0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EED9: +SubCEED9: ldx $0300 ; CPU:$EED9 PRG:2ED9 AE 00 03 lda $0302,x ; CPU:$EEDC PRG:2EDC BD 02 03 - beq Label_EF18 ; CPU:$EEDF PRG:2EDF F0 37 + beq Sub_8764_OnZero_EF18 ; CPU:$EEDF PRG:2EDF F0 37 and #$F0 ; CPU:$EEE1 PRG:2EE1 29 F0 lsr a ; CPU:$EEE3 PRG:2EE3 4A lsr a ; CPU:$EEE4 PRG:2EE4 4A lsr a ; CPU:$EEE5 PRG:2EE5 4A tay ; CPU:$EEE6 PRG:2EE6 A8 lda $BFFE,y ; CPU:$EEE7 PRG:2EE7 B9 FE BF - sta Zp02 ; CPU:$EEEA PRG:2EEA 85 02 + sta Ptr2Lo ; CPU:$EEEA PRG:2EEA 85 02 iny ; CPU:$EEEC PRG:2EEC C8 lda $BFFE,y ; CPU:$EEED PRG:2EED B9 FE BF - sta Zp03 ; CPU:$EEF0 PRG:2EF0 85 03 + sta Ptr2Hi ; CPU:$EEF0 PRG:2EF0 85 03 lda $0302,x ; CPU:$EEF2 PRG:2EF2 BD 02 03 and #$0F ; CPU:$EEF5 PRG:2EF5 29 0F - sta Zp01 ; CPU:$EEF7 PRG:2EF7 85 01 + sta PtrHi ; CPU:$EEF7 PRG:2EF7 85 01 lda #$00 ; CPU:$EEF9 PRG:2EF9 A9 00 sta $0302,x ; CPU:$EEFB PRG:2EFB 9D 02 03 lda #$EE ; CPU:$EEFE PRG:2EFE A9 EE @@ -11969,10 +11973,10 @@ Label_EED9: inx ; CPU:$EF05 PRG:2F05 E8 txa ; CPU:$EF06 PRG:2F06 8A cmp #$2E ; CPU:$EF07 PRG:2F07 C9 2E - bcc Label_EF0D ; CPU:$EF09 PRG:2F09 90 02 + bcc Sub_8764_OnCarryClear_EF0D ; CPU:$EF09 PRG:2F09 90 02 lda #$00 ; CPU:$EF0B PRG:2F0B A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF0D +; Routine: Sub_8764_OnCarryClear_EF0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11980,13 +11984,13 @@ Label_EED9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF0D: +Sub_8764_OnCarryClear_EF0D: sta $0300 ; CPU:$EF0D PRG:2F0D 8D 00 03 lda $0301,x ; CPU:$EF10 PRG:2F10 BD 01 03 - sta Zp00 ; CPU:$EF13 PRG:2F13 85 00 - jmp ($0002) ; CPU:$EF15 PRG:2F15 6C 02 00 + sta PtrLo ; CPU:$EF13 PRG:2F13 85 00 + jmp (Ptr2Lo) ; CPU:$EF15 PRG:2F15 6C 02 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF18 +; Routine: Sub_8764_OnZero_EF18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11994,10 +11998,10 @@ Label_EF0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF18: +Sub_8764_OnZero_EF18: rts ; CPU:$EF18 PRG:2F18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF19 +; Routine: SubCEF19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12005,21 +12009,21 @@ Label_EF18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF19: +SubCEF19: ldx $0301 ; CPU:$EF19 PRG:2F19 AE 01 03 ldy $0302,x ; CPU:$EF1C PRG:2F1C BC 02 03 - bne Label_EF35 ; CPU:$EF1F PRG:2F1F D0 14 + bne Sub_8764_OnNonzero_EF35 ; CPU:$EF1F PRG:2F1F D0 14 sta $0303,x ; CPU:$EF21 PRG:2F21 9D 03 03 - lda Zp01 ; CPU:$EF24 PRG:2F24 A5 01 + lda PtrHi ; CPU:$EF24 PRG:2F24 A5 01 sta $0302,x ; CPU:$EF26 PRG:2F26 9D 02 03 inx ; CPU:$EF29 PRG:2F29 E8 inx ; CPU:$EF2A PRG:2F2A E8 txa ; CPU:$EF2B PRG:2F2B 8A cmp #$2E ; CPU:$EF2C PRG:2F2C C9 2E - bcc Label_EF32 ; CPU:$EF2E PRG:2F2E 90 02 + bcc Sub_8764_OnCarryClear_EF32 ; CPU:$EF2E PRG:2F2E 90 02 lda #$00 ; CPU:$EF30 PRG:2F30 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF32 +; Routine: Sub_8764_OnCarryClear_EF32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12027,10 +12031,10 @@ Label_EF19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF32: +Sub_8764_OnCarryClear_EF32: sta $0301 ; CPU:$EF32 PRG:2F32 8D 01 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EF35 +; Routine: Sub_8764_OnNonzero_EF35 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12038,10 +12042,10 @@ Label_EF32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF35: +Sub_8764_OnNonzero_EF35: rts ; CPU:$EF35 PRG:2F35 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF36 +; Routine: UpdatePPU ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12049,18 +12053,18 @@ Label_EF35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF36: +UpdatePPU: lda #$31 ; CPU:$EF36 PRG:2F36 A9 31 - sta Zp00 ; CPU:$EF38 PRG:2F38 85 00 + sta PtrLo ; CPU:$EF38 PRG:2F38 85 00 lda #$03 ; CPU:$EF3A PRG:2F3A A9 03 - sta Zp01 ; CPU:$EF3C PRG:2F3C 85 01 - jsr $F143 ; CPU:$EF3E PRG:2F3E 20 43 F1 + sta PtrHi ; CPU:$EF3C PRG:2F3C 85 01 + jsr SubCF143 ; CPU:$EF3E PRG:2F3E 20 43 F1 lda #$00 ; CPU:$EF41 PRG:2F41 A9 00 sta $0330 ; CPU:$EF43 PRG:2F43 8D 30 03 sta $0331 ; CPU:$EF46 PRG:2F46 8D 31 03 rts ; CPU:$EF49 PRG:2F49 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF4A +; Routine: UpdateSprites ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12068,14 +12072,14 @@ Label_EF36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF4A: +UpdateSprites: lda #$00 ; CPU:$EF4A PRG:2F4A A9 00 - sta $2003 ; CPU:$EF4C PRG:2F4C 8D 03 20 + sta OAMADDR ; CPU:$EF4C PRG:2F4C 8D 03 20 lda #$02 ; CPU:$EF4F PRG:2F4F A9 02 - sta $4014 ; CPU:$EF51 PRG:2F51 8D 14 40 + sta OAMDMA ; CPU:$EF51 PRG:2F51 8D 14 40 rts ; CPU:$EF54 PRG:2F54 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF55 +; Routine: SubCEF55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12083,20 +12087,20 @@ Label_EF4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF55: - lda $2002 ; CPU:$EF55 PRG:2F55 AD 02 20 - lda Zp10 ; CPU:$EF58 PRG:2F58 A5 10 +SubCEF55: + lda PPUSTATUS ; CPU:$EF55 PRG:2F55 AD 02 20 + lda PpuCtrlShadow ; CPU:$EF58 PRG:2F58 A5 10 and #$FB ; CPU:$EF5A PRG:2F5A 29 FB - sta $2000 ; CPU:$EF5C PRG:2F5C 8D 00 20 + sta PPUCTRL ; CPU:$EF5C PRG:2F5C 8D 00 20 lda #$20 ; CPU:$EF5F PRG:2F5F A9 20 - sta $2006 ; CPU:$EF61 PRG:2F61 8D 06 20 + sta PPUADDR ; CPU:$EF61 PRG:2F61 8D 06 20 lda #$00 ; CPU:$EF64 PRG:2F64 A9 00 - sta $2006 ; CPU:$EF66 PRG:2F66 8D 06 20 + sta PPUADDR ; CPU:$EF66 PRG:2F66 8D 06 20 ldx #$04 ; CPU:$EF69 PRG:2F69 A2 04 ldy #$00 ; CPU:$EF6B PRG:2F6B A0 00 lda #$24 ; CPU:$EF6D PRG:2F6D A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6F +; Routine: Sub_8764_OnNonzero_EF6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12104,20 +12108,20 @@ Label_EF55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6F: - sta $2007 ; CPU:$EF6F PRG:2F6F 8D 07 20 +Sub_8764_OnNonzero_EF6F: + sta PPUDATA ; CPU:$EF6F PRG:2F6F 8D 07 20 dey ; CPU:$EF72 PRG:2F72 88 - bne Label_EF6F ; CPU:$EF73 PRG:2F73 D0 FA + bne Sub_8764_OnNonzero_EF6F ; CPU:$EF73 PRG:2F73 D0 FA dex ; CPU:$EF75 PRG:2F75 CA - bne Label_EF6F ; CPU:$EF76 PRG:2F76 D0 F7 + bne Sub_8764_OnNonzero_EF6F ; CPU:$EF76 PRG:2F76 D0 F7 lda #$23 ; CPU:$EF78 PRG:2F78 A9 23 - sta $2006 ; CPU:$EF7A PRG:2F7A 8D 06 20 + sta PPUADDR ; CPU:$EF7A PRG:2F7A 8D 06 20 lda #$C0 ; CPU:$EF7D PRG:2F7D A9 C0 - sta $2006 ; CPU:$EF7F PRG:2F7F 8D 06 20 + sta PPUADDR ; CPU:$EF7F PRG:2F7F 8D 06 20 ldy #$40 ; CPU:$EF82 PRG:2F82 A0 40 lda #$00 ; CPU:$EF84 PRG:2F84 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF86 +; Routine: Sub_8764_OnNonzero_EF86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12125,13 +12129,13 @@ Label_EF6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF86: - sta $2007 ; CPU:$EF86 PRG:2F86 8D 07 20 +Sub_8764_OnNonzero_EF86: + sta PPUDATA ; CPU:$EF86 PRG:2F86 8D 07 20 dey ; CPU:$EF89 PRG:2F89 88 - bne Label_EF86 ; CPU:$EF8A PRG:2F8A D0 FA + bne Sub_8764_OnNonzero_EF86 ; CPU:$EF8A PRG:2F8A D0 FA rts ; CPU:$EF8C PRG:2F8C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF8D +; Routine: SubCEF8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12139,10 +12143,10 @@ Label_EF86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF8D: +SubCEF8D: lda #$04 ; CPU:$EF8D PRG:2F8D A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EF8F +; Routine: Sub_8764_OnNonnegative_EF8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12150,14 +12154,14 @@ Label_EF8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF8F: - lsr Zp00 ; CPU:$EF8F PRG:2F8F 46 00 - bcc Label_EF98 ; CPU:$EF91 PRG:2F91 90 05 +Sub_8764_OnNonnegative_EF8F: + lsr PtrLo ; CPU:$EF8F PRG:2F8F 46 00 + bcc Sub_8764_OnCarryClear_EF98 ; CPU:$EF91 PRG:2F91 90 05 pha ; CPU:$EF93 PRG:2F93 48 - jsr $EF9E ; CPU:$EF94 PRG:2F94 20 9E EF + jsr SubCEF9E ; CPU:$EF94 PRG:2F94 20 9E EF pla ; CPU:$EF97 PRG:2F97 68 ; ----------------------------------------------------------------------------- -; Routine: Label_EF98 +; Routine: Sub_8764_OnCarryClear_EF98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12165,13 +12169,13 @@ Label_EF8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF98: +Sub_8764_OnCarryClear_EF98: clc ; CPU:$EF98 PRG:2F98 18 sbc #$00 ; CPU:$EF99 PRG:2F99 E9 00 - bpl Label_EF8F ; CPU:$EF9B PRG:2F9B 10 F2 + bpl Sub_8764_OnNonnegative_EF8F ; CPU:$EF9B PRG:2F9B 10 F2 rts ; CPU:$EF9D PRG:2F9D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF9E +; Routine: SubCEF9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12179,38 +12183,38 @@ Label_EF98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF9E: +SubCEF9E: asl a ; CPU:$EF9E PRG:2F9E 0A asl a ; CPU:$EF9F PRG:2F9F 0A tay ; CPU:$EFA0 PRG:2FA0 A8 - sta Zp02 ; CPU:$EFA1 PRG:2FA1 85 02 + sta Ptr2Lo ; CPU:$EFA1 PRG:2FA1 85 02 ldx $0330 ; CPU:$EFA3 PRG:2FA3 AE 30 03 lda $C008,y ; CPU:$EFA6 PRG:2FA6 B9 08 C0 sta $0331,x ; CPU:$EFA9 PRG:2FA9 9D 31 03 - jsr $F074 ; CPU:$EFAC PRG:2FAC 20 74 F0 + jsr SubCF074 ; CPU:$EFAC PRG:2FAC 20 74 F0 iny ; CPU:$EFAF PRG:2FAF C8 lda $C008,y ; CPU:$EFB0 PRG:2FB0 B9 08 C0 sta $0331,x ; CPU:$EFB3 PRG:2FB3 9D 31 03 - jsr $F074 ; CPU:$EFB6 PRG:2FB6 20 74 F0 + jsr SubCF074 ; CPU:$EFB6 PRG:2FB6 20 74 F0 iny ; CPU:$EFB9 PRG:2FB9 C8 lda $C008,y ; CPU:$EFBA PRG:2FBA B9 08 C0 and #$07 ; CPU:$EFBD PRG:2FBD 29 07 sta $0331,x ; CPU:$EFBF PRG:2FBF 9D 31 03 - sta Zp01 ; CPU:$EFC2 PRG:2FC2 85 01 + sta PtrHi ; CPU:$EFC2 PRG:2FC2 85 01 sta Zp04 ; CPU:$EFC4 PRG:2FC4 85 04 txa ; CPU:$EFC6 PRG:2FC6 8A sec ; CPU:$EFC7 PRG:2FC7 38 - adc Zp01 ; CPU:$EFC8 PRG:2FC8 65 01 - jsr $F076 ; CPU:$EFCA PRG:2FCA 20 76 F0 + adc PtrHi ; CPU:$EFC8 PRG:2FC8 65 01 + jsr SubCF076 ; CPU:$EFCA PRG:2FCA 20 76 F0 tax ; CPU:$EFCD PRG:2FCD AA stx $0330 ; CPU:$EFCE PRG:2FCE 8E 30 03 lda #$00 ; CPU:$EFD1 PRG:2FD1 A9 00 sta $0331,x ; CPU:$EFD3 PRG:2FD3 9D 31 03 iny ; CPU:$EFD6 PRG:2FD6 C8 lda $C008,y ; CPU:$EFD7 PRG:2FD7 B9 08 C0 - sta Zp03 ; CPU:$EFDA PRG:2FDA 85 03 + sta Ptr2Hi ; CPU:$EFDA PRG:2FDA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EFDC +; Routine: Sub_8764_OnNonzero_EFDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12218,13 +12222,13 @@ Label_EF9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFDC: +Sub_8764_OnNonzero_EFDC: dex ; CPU:$EFDC PRG:2FDC CA lda a:$0020,y ; CPU:$EFDD PRG:2FDD B9 20 00 and #$0F ; CPU:$EFE0 PRG:2FE0 29 0F sta $0331,x ; CPU:$EFE2 PRG:2FE2 9D 31 03 - dec Zp01 ; CPU:$EFE5 PRG:2FE5 C6 01 - beq Label_F006 ; CPU:$EFE7 PRG:2FE7 F0 1D + dec PtrHi ; CPU:$EFE5 PRG:2FE5 C6 01 + beq Sub_8764_JoinBranchPaths_F006 ; CPU:$EFE7 PRG:2FE7 F0 1D dex ; CPU:$EFE9 PRG:2FE9 CA lda a:$0020,y ; CPU:$EFEA PRG:2FEA B9 20 00 and #$F0 ; CPU:$EFED PRG:2FED 29 F0 @@ -12234,15 +12238,15 @@ Label_EFDC: lsr a ; CPU:$EFF2 PRG:2FF2 4A sta $0331,x ; CPU:$EFF3 PRG:2FF3 9D 31 03 dey ; CPU:$EFF6 PRG:2FF6 88 - dec Zp01 ; CPU:$EFF7 PRG:2FF7 C6 01 - bne Label_EFDC ; CPU:$EFF9 PRG:2FF9 D0 E1 + dec PtrHi ; CPU:$EFF7 PRG:2FF7 C6 01 + bne Sub_8764_OnNonzero_EFDC ; CPU:$EFF9 PRG:2FF9 D0 E1 ldy Zp04 ; CPU:$EFFB PRG:2FFB A4 04 cpy #$06 ; CPU:$EFFD PRG:2FFD C0 06 - bne Label_F006 ; CPU:$EFFF PRG:2FFF D0 05 + bne Sub_8764_JoinBranchPaths_F006 ; CPU:$EFFF PRG:2FFF D0 05 ora #$C0 ; CPU:$F001 PRG:3001 09 C0 sta $0331,x ; CPU:$F003 PRG:3003 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F006 +; Routine: Sub_8764_JoinBranchPaths_F006 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12250,17 +12254,17 @@ Label_EFDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F006: - lda Zp03 ; CPU:$F006 PRG:3006 A5 03 +Sub_8764_JoinBranchPaths_F006: + lda Ptr2Hi ; CPU:$F006 PRG:3006 A5 03 and #$01 ; CPU:$F008 PRG:3008 29 01 - beq Label_F017 ; CPU:$F00A PRG:300A F0 0B - ldy Zp02 ; CPU:$F00C PRG:300C A4 02 + beq Sub_8764_OnZero_F017 ; CPU:$F00A PRG:300A F0 0B + ldy Ptr2Lo ; CPU:$F00C PRG:300C A4 02 clc ; CPU:$F00E PRG:300E 18 lda a:$0020,y ; CPU:$F00F PRG:300F B9 20 00 adc #$37 ; CPU:$F012 PRG:3012 69 37 sta $0331,x ; CPU:$F014 PRG:3014 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F017 +; Routine: Sub_8764_OnZero_F017 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12268,10 +12272,10 @@ Label_F006: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F017: +Sub_8764_OnZero_F017: rts ; CPU:$F017 PRG:3017 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F018 +; Routine: SubCF018 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12279,16 +12283,16 @@ Label_F017: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F018: +SubCF018: txa ; CPU:$F018 PRG:3018 8A pha ; CPU:$F019 PRG:3019 48 tya ; CPU:$F01A PRG:301A 98 pha ; CPU:$F01B PRG:301B 48 ldy #$00 ; CPU:$F01C PRG:301C A0 00 - lda (Zp02),y ; CPU:$F01E PRG:301E B1 02 + lda (Ptr2Lo),y ; CPU:$F01E PRG:301E B1 02 and #$0F ; CPU:$F020 PRG:3020 29 0F sta Zp05 ; CPU:$F022 PRG:3022 85 05 - lda (Zp02),y ; CPU:$F024 PRG:3024 B1 02 + lda (Ptr2Lo),y ; CPU:$F024 PRG:3024 B1 02 lsr a ; CPU:$F026 PRG:3026 4A lsr a ; CPU:$F027 PRG:3027 4A lsr a ; CPU:$F028 PRG:3028 4A @@ -12296,7 +12300,7 @@ Label_F018: sta Zp04 ; CPU:$F02A PRG:302A 85 04 ldx $0330 ; CPU:$F02C PRG:302C AE 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F02F +; Routine: Sub_8764_OnNonzero_F02F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12304,18 +12308,18 @@ Label_F018: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02F: - lda Zp01 ; CPU:$F02F PRG:302F A5 01 +Sub_8764_OnNonzero_F02F: + lda PtrHi ; CPU:$F02F PRG:302F A5 01 sta $0331,x ; CPU:$F031 PRG:3031 9D 31 03 - jsr $F074 ; CPU:$F034 PRG:3034 20 74 F0 - lda Zp00 ; CPU:$F037 PRG:3037 A5 00 + jsr SubCF074 ; CPU:$F034 PRG:3034 20 74 F0 + lda PtrLo ; CPU:$F037 PRG:3037 A5 00 sta $0331,x ; CPU:$F039 PRG:3039 9D 31 03 - jsr $F074 ; CPU:$F03C PRG:303C 20 74 F0 + jsr SubCF074 ; CPU:$F03C PRG:303C 20 74 F0 lda Zp05 ; CPU:$F03F PRG:303F A5 05 sta Zp06 ; CPU:$F041 PRG:3041 85 06 sta $0331,x ; CPU:$F043 PRG:3043 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F046 +; Routine: Sub_8764_OnNonzero_F046 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12323,24 +12327,24 @@ Label_F02F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F046: - jsr $F074 ; CPU:$F046 PRG:3046 20 74 F0 +Sub_8764_OnNonzero_F046: + jsr SubCF074 ; CPU:$F046 PRG:3046 20 74 F0 iny ; CPU:$F049 PRG:3049 C8 - lda (Zp02),y ; CPU:$F04A PRG:304A B1 02 + lda (Ptr2Lo),y ; CPU:$F04A PRG:304A B1 02 sta $0331,x ; CPU:$F04C PRG:304C 9D 31 03 dec Zp06 ; CPU:$F04F PRG:304F C6 06 - bne Label_F046 ; CPU:$F051 PRG:3051 D0 F3 - jsr $F074 ; CPU:$F053 PRG:3053 20 74 F0 + bne Sub_8764_OnNonzero_F046 ; CPU:$F051 PRG:3051 D0 F3 + jsr SubCF074 ; CPU:$F053 PRG:3053 20 74 F0 stx $0330 ; CPU:$F056 PRG:3056 8E 30 03 clc ; CPU:$F059 PRG:3059 18 lda #$20 ; CPU:$F05A PRG:305A A9 20 - adc Zp00 ; CPU:$F05C PRG:305C 65 00 - sta Zp00 ; CPU:$F05E PRG:305E 85 00 + adc PtrLo ; CPU:$F05C PRG:305C 65 00 + sta PtrLo ; CPU:$F05E PRG:305E 85 00 lda #$00 ; CPU:$F060 PRG:3060 A9 00 - adc Zp01 ; CPU:$F062 PRG:3062 65 01 - sta Zp01 ; CPU:$F064 PRG:3064 85 01 + adc PtrHi ; CPU:$F062 PRG:3062 65 01 + sta PtrHi ; CPU:$F064 PRG:3064 85 01 dec Zp04 ; CPU:$F066 PRG:3066 C6 04 - bne Label_F02F ; CPU:$F068 PRG:3068 D0 C5 + bne Sub_8764_OnNonzero_F02F ; CPU:$F068 PRG:3068 D0 C5 lda #$00 ; CPU:$F06A PRG:306A A9 00 sta $0331,x ; CPU:$F06C PRG:306C 9D 31 03 pla ; CPU:$F06F PRG:306F 68 @@ -12349,7 +12353,7 @@ Label_F046: tax ; CPU:$F072 PRG:3072 AA rts ; CPU:$F073 PRG:3073 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F074 +; Routine: SubCF074 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12357,11 +12361,11 @@ Label_F046: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F074: +SubCF074: inx ; CPU:$F074 PRG:3074 E8 txa ; CPU:$F075 PRG:3075 8A ; ----------------------------------------------------------------------------- -; Routine: Label_F076 +; Routine: SubCF076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12369,16 +12373,16 @@ Label_F074: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F076: +SubCF076: cmp #$3F ; CPU:$F076 PRG:3076 C9 3F - bcc Label_F084 ; CPU:$F078 PRG:3078 90 0A + bcc Sub_8764_OnCarryClear_F084 ; CPU:$F078 PRG:3078 90 0A ldx $0330 ; CPU:$F07A PRG:307A AE 30 03 lda #$00 ; CPU:$F07D PRG:307D A9 00 sta $0331,x ; CPU:$F07F PRG:307F 9D 31 03 pla ; CPU:$F082 PRG:3082 68 pla ; CPU:$F083 PRG:3083 68 ; ----------------------------------------------------------------------------- -; Routine: Label_F084 +; Routine: Sub_8764_OnCarryClear_F084 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12386,10 +12390,10 @@ Label_F076: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F084: +Sub_8764_OnCarryClear_F084: rts ; CPU:$F084 PRG:3084 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F085 +; Routine: AttractAudio ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12397,15 +12401,15 @@ Label_F084: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F085: +AttractAudio: ldx #$0E ; CPU:$F085 PRG:3085 A2 0E dec Zp34 ; CPU:$F087 PRG:3087 C6 34 - bpl Label_F091 ; CPU:$F089 PRG:3089 10 06 + bpl Sub_8764_OnNonnegative_F091 ; CPU:$F089 PRG:3089 10 06 lda #$0A ; CPU:$F08B PRG:308B A9 0A sta Zp34 ; CPU:$F08D PRG:308D 85 34 ldx #$20 ; CPU:$F08F PRG:308F A2 20 ; ----------------------------------------------------------------------------- -; Routine: Label_F091 +; Routine: Sub_8764_OnNonnegative_F091 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12413,12 +12417,12 @@ Label_F085: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F091: +Sub_8764_OnNonnegative_F091: lda Zp35,x ; CPU:$F091 PRG:3091 B5 35 - beq Label_F097 ; CPU:$F093 PRG:3093 F0 02 + beq Sub_8764_OnZero_F097 ; CPU:$F093 PRG:3093 F0 02 dec Zp35,x ; CPU:$F095 PRG:3095 D6 35 ; ----------------------------------------------------------------------------- -; Routine: Label_F097 +; Routine: Sub_8764_OnZero_F097 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12426,12 +12430,12 @@ Label_F091: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F097: +Sub_8764_OnZero_F097: dex ; CPU:$F097 PRG:3097 CA - bpl Label_F091 ; CPU:$F098 PRG:3098 10 F7 + bpl Sub_8764_OnNonnegative_F091 ; CPU:$F098 PRG:3098 10 F7 rts ; CPU:$F09A PRG:309A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F09B +; Routine: SubCF09B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12439,18 +12443,18 @@ Label_F097: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F09B: +SubCF09B: lda Zp18 ; CPU:$F09B PRG:309B A5 18 and #$02 ; CPU:$F09D PRG:309D 29 02 - sta Zp00 ; CPU:$F09F PRG:309F 85 00 + sta PtrLo ; CPU:$F09F PRG:309F 85 00 lda Zp19 ; CPU:$F0A1 PRG:30A1 A5 19 and #$02 ; CPU:$F0A3 PRG:30A3 29 02 - eor Zp00 ; CPU:$F0A5 PRG:30A5 45 00 + eor PtrLo ; CPU:$F0A5 PRG:30A5 45 00 clc ; CPU:$F0A7 PRG:30A7 18 - beq Label_F0AB ; CPU:$F0A8 PRG:30A8 F0 01 + beq Sub_8764_OnZero_F0AB ; CPU:$F0A8 PRG:30A8 F0 01 sec ; CPU:$F0AA PRG:30AA 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F0AB +; Routine: Sub_8764_OnZero_F0AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12458,7 +12462,7 @@ Label_F09B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0AB: +Sub_8764_OnZero_F0AB: ror Zp18 ; CPU:$F0AB PRG:30AB 66 18 ror Zp19 ; CPU:$F0AD PRG:30AD 66 19 ror Zp1A ; CPU:$F0AF PRG:30AF 66 1A @@ -12469,7 +12473,7 @@ Label_F0AB: ror Zp1F ; CPU:$F0B9 PRG:30B9 66 1F rts ; CPU:$F0BB PRG:30BB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0BC +; Routine: SoundEffects ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12477,13 +12481,13 @@ Label_F0AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0BC: +SoundEffects: lda #$01 ; CPU:$F0BC PRG:30BC A9 01 - sta $4016 ; CPU:$F0BE PRG:30BE 8D 16 40 + sta JOY1 ; CPU:$F0BE PRG:30BE 8D 16 40 ldx #$00 ; CPU:$F0C1 PRG:30C1 A2 00 lda #$00 ; CPU:$F0C3 PRG:30C3 A9 00 - sta $4016 ; CPU:$F0C5 PRG:30C5 8D 16 40 - jsr $F0DB ; CPU:$F0C8 PRG:30C8 20 DB F0 + sta JOY1 ; CPU:$F0C5 PRG:30C5 8D 16 40 + jsr SubCF0DB ; CPU:$F0C8 PRG:30C8 20 DB F0 lda $03FD ; CPU:$F0CB PRG:30CB AD FD 03 eor #$FF ; CPU:$F0CE PRG:30CE 49 FF and Zp14 ; CPU:$F0D0 PRG:30D0 25 14 @@ -12492,7 +12496,7 @@ Label_F0BC: sta $03FD ; CPU:$F0D7 PRG:30D7 8D FD 03 inx ; CPU:$F0DA PRG:30DA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F0DB +; Routine: SubCF0DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12500,10 +12504,10 @@ Label_F0BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0DB: +SubCF0DB: ldy #$08 ; CPU:$F0DB PRG:30DB A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_F0DD +; Routine: Sub_8764_OnNonzero_F0DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12511,32 +12515,32 @@ Label_F0DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0DD: +Sub_8764_OnNonzero_F0DD: pha ; CPU:$F0DD PRG:30DD 48 - lda $4016,x ; CPU:$F0DE PRG:30DE BD 16 40 - sta Zp00 ; CPU:$F0E1 PRG:30E1 85 00 + lda JOY1,x ; CPU:$F0DE PRG:30DE BD 16 40 + sta PtrLo ; CPU:$F0E1 PRG:30E1 85 00 lsr a ; CPU:$F0E3 PRG:30E3 4A - ora Zp00 ; CPU:$F0E4 PRG:30E4 05 00 + ora PtrLo ; CPU:$F0E4 PRG:30E4 05 00 lsr a ; CPU:$F0E6 PRG:30E6 4A pla ; CPU:$F0E7 PRG:30E7 68 rol a ; CPU:$F0E8 PRG:30E8 2A dey ; CPU:$F0E9 PRG:30E9 88 - bne Label_F0DD ; CPU:$F0EA PRG:30EA D0 F1 - stx Zp00 ; CPU:$F0EC PRG:30EC 86 00 - asl Zp00 ; CPU:$F0EE PRG:30EE 06 00 - ldx Zp00 ; CPU:$F0F0 PRG:30F0 A6 00 + bne Sub_8764_OnNonzero_F0DD ; CPU:$F0EA PRG:30EA D0 F1 + stx PtrLo ; CPU:$F0EC PRG:30EC 86 00 + asl PtrLo ; CPU:$F0EE PRG:30EE 06 00 + ldx PtrLo ; CPU:$F0F0 PRG:30F0 A6 00 ldy Zp14,x ; CPU:$F0F2 PRG:30F2 B4 14 - sty Zp00 ; CPU:$F0F4 PRG:30F4 84 00 + sty PtrLo ; CPU:$F0F4 PRG:30F4 84 00 sta Zp14,x ; CPU:$F0F6 PRG:30F6 95 14 sta Zp15,x ; CPU:$F0F8 PRG:30F8 95 15 and #$FF ; CPU:$F0FA PRG:30FA 29 FF - bpl Label_F106 ; CPU:$F0FC PRG:30FC 10 08 - bit Zp00 ; CPU:$F0FE PRG:30FE 24 00 - bpl Label_F106 ; CPU:$F100 PRG:3100 10 04 + bpl Sub_8764_OnNonnegative_F106 ; CPU:$F0FC PRG:30FC 10 08 + bit PtrLo ; CPU:$F0FE PRG:30FE 24 00 + bpl Sub_8764_OnNonnegative_F106 ; CPU:$F100 PRG:3100 10 04 and #$7F ; CPU:$F102 PRG:3102 29 7F sta Zp15,x ; CPU:$F104 PRG:3104 95 15 ; ----------------------------------------------------------------------------- -; Routine: Label_F106 +; Routine: Sub_8764_OnNonnegative_F106 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12544,10 +12548,10 @@ Label_F0DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F106: +Sub_8764_OnNonnegative_F106: rts ; CPU:$F106 PRG:3106 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F107 +; Routine: Sub_8764_OnNonzero_F107 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12555,21 +12559,21 @@ Label_F106: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F107: - sta $2006 ; CPU:$F107 PRG:3107 8D 06 20 +Sub_8764_OnNonzero_F107: + sta PPUADDR ; CPU:$F107 PRG:3107 8D 06 20 iny ; CPU:$F10A PRG:310A C8 - lda (Zp00),y ; CPU:$F10B PRG:310B B1 00 - sta $2006 ; CPU:$F10D PRG:310D 8D 06 20 + lda (PtrLo),y ; CPU:$F10B PRG:310B B1 00 + sta PPUADDR ; CPU:$F10D PRG:310D 8D 06 20 iny ; CPU:$F110 PRG:3110 C8 - lda (Zp00),y ; CPU:$F111 PRG:3111 B1 00 + lda (PtrLo),y ; CPU:$F111 PRG:3111 B1 00 asl a ; CPU:$F113 PRG:3113 0A pha ; CPU:$F114 PRG:3114 48 - lda Zp10 ; CPU:$F115 PRG:3115 A5 10 + lda PpuCtrlShadow ; CPU:$F115 PRG:3115 A5 10 ora #$04 ; CPU:$F117 PRG:3117 09 04 - bcs Label_F11D ; CPU:$F119 PRG:3119 B0 02 + bcs Sub_8764_OnCarrySet_F11D ; CPU:$F119 PRG:3119 B0 02 and #$FB ; CPU:$F11B PRG:311B 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_F11D +; Routine: Sub_8764_OnCarrySet_F11D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12577,16 +12581,16 @@ Label_F107: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F11D: - sta $2000 ; CPU:$F11D PRG:311D 8D 00 20 - sta Zp10 ; CPU:$F120 PRG:3120 85 10 +Sub_8764_OnCarrySet_F11D: + sta PPUCTRL ; CPU:$F11D PRG:311D 8D 00 20 + sta PpuCtrlShadow ; CPU:$F120 PRG:3120 85 10 pla ; CPU:$F122 PRG:3122 68 asl a ; CPU:$F123 PRG:3123 0A - bcc Label_F129 ; CPU:$F124 PRG:3124 90 03 + bcc Sub_8764_OnCarryClear_F129 ; CPU:$F124 PRG:3124 90 03 ora #$02 ; CPU:$F126 PRG:3126 09 02 iny ; CPU:$F128 PRG:3128 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F129 +; Routine: Sub_8764_OnCarryClear_F129 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12594,12 +12598,12 @@ Label_F11D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F129: +Sub_8764_OnCarryClear_F129: lsr a ; CPU:$F129 PRG:3129 4A lsr a ; CPU:$F12A PRG:312A 4A tax ; CPU:$F12B PRG:312B AA ; ----------------------------------------------------------------------------- -; Routine: Label_F12C +; Routine: Sub_8764_OnNonzero_F12C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12607,11 +12611,11 @@ Label_F129: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F12C: - bcs Label_F12F ; CPU:$F12C PRG:312C B0 01 +Sub_8764_OnNonzero_F12C: + bcs Sub_8764_OnCarrySet_F12F ; CPU:$F12C PRG:312C B0 01 iny ; CPU:$F12E PRG:312E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F12F +; Routine: Sub_8764_OnCarrySet_F12F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12619,20 +12623,20 @@ Label_F12C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F12F: - lda (Zp00),y ; CPU:$F12F PRG:312F B1 00 - sta $2007 ; CPU:$F131 PRG:3131 8D 07 20 +Sub_8764_OnCarrySet_F12F: + lda (PtrLo),y ; CPU:$F12F PRG:312F B1 00 + sta PPUDATA ; CPU:$F131 PRG:3131 8D 07 20 dex ; CPU:$F134 PRG:3134 CA - bne Label_F12C ; CPU:$F135 PRG:3135 D0 F5 + bne Sub_8764_OnNonzero_F12C ; CPU:$F135 PRG:3135 D0 F5 sec ; CPU:$F137 PRG:3137 38 tya ; CPU:$F138 PRG:3138 98 - adc Zp00 ; CPU:$F139 PRG:3139 65 00 - sta Zp00 ; CPU:$F13B PRG:313B 85 00 + adc PtrLo ; CPU:$F139 PRG:3139 65 00 + sta PtrLo ; CPU:$F13B PRG:313B 85 00 lda #$00 ; CPU:$F13D PRG:313D A9 00 - adc Zp01 ; CPU:$F13F PRG:313F 65 01 - sta Zp01 ; CPU:$F141 PRG:3141 85 01 + adc PtrHi ; CPU:$F13F PRG:313F 65 01 + sta PtrHi ; CPU:$F141 PRG:3141 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F143 +; Routine: SubCF143 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12640,20 +12644,20 @@ Label_F12F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F143: - ldx $2002 ; CPU:$F143 PRG:3143 AE 02 20 +SubCF143: + ldx PPUSTATUS ; CPU:$F143 PRG:3143 AE 02 20 ldy #$00 ; CPU:$F146 PRG:3146 A0 00 - lda (Zp00),y ; CPU:$F148 PRG:3148 B1 00 - bne Label_F107 ; CPU:$F14A PRG:314A D0 BB + lda (PtrLo),y ; CPU:$F148 PRG:3148 B1 00 + bne Sub_8764_OnNonzero_F107 ; CPU:$F14A PRG:314A D0 BB lda Zp12 ; CPU:$F14C PRG:314C A5 12 - sta $2005 ; CPU:$F14E PRG:314E 8D 05 20 + sta PPUSCROLL ; CPU:$F14E PRG:314E 8D 05 20 lda Zp13 ; CPU:$F151 PRG:3151 A5 13 - sta $2005 ; CPU:$F153 PRG:3153 8D 05 20 + sta PPUSCROLL ; CPU:$F153 PRG:3153 8D 05 20 rts ; CPU:$F156 PRG:3156 60 ; ---- data $F157-$F15A (4 bytes) ---- .byte $A2, $FF, $D0, $02 ; CPU:$F157 PRG:3157 A2 FF D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F15B +; Routine: SubCF15B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12661,19 +12665,19 @@ Label_F143: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F15B: +SubCF15B: ldx #$00 ; CPU:$F15B PRG:315B A2 00 stx Zp04 ; CPU:$F15D PRG:315D 86 04 ldx #$00 ; CPU:$F15F PRG:315F A2 00 stx Zp05 ; CPU:$F161 PRG:3161 86 05 stx Zp06 ; CPU:$F163 PRG:3163 86 06 stx Zp07 ; CPU:$F165 PRG:3165 86 07 - lda Zp01 ; CPU:$F167 PRG:3167 A5 01 + lda PtrHi ; CPU:$F167 PRG:3167 A5 01 and #$08 ; CPU:$F169 PRG:3169 29 08 - bne Label_F16E ; CPU:$F16B PRG:316B D0 01 + bne Sub_8764_OnNonzero_F16E ; CPU:$F16B PRG:316B D0 01 inx ; CPU:$F16D PRG:316D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F16E +; Routine: Sub_8764_OnNonzero_F16E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12681,14 +12685,14 @@ Label_F15B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F16E: - lda Zp00 ; CPU:$F16E PRG:316E A5 00 +Sub_8764_OnNonzero_F16E: + lda PtrLo ; CPU:$F16E PRG:316E A5 00 sta Zp06,x ; CPU:$F170 PRG:3170 95 06 - lda Zp01 ; CPU:$F172 PRG:3172 A5 01 - jsr $F178 ; CPU:$F174 PRG:3174 20 78 F1 + lda PtrHi ; CPU:$F172 PRG:3172 A5 01 + jsr SubCF178 ; CPU:$F174 PRG:3174 20 78 F1 rts ; CPU:$F177 PRG:3177 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F178 +; Routine: SubCF178 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12696,17 +12700,17 @@ Label_F16E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F178: +SubCF178: and #$07 ; CPU:$F178 PRG:3178 29 07 asl a ; CPU:$F17A PRG:317A 0A asl a ; CPU:$F17B PRG:317B 0A tax ; CPU:$F17C PRG:317C AA lda Zp04 ; CPU:$F17D PRG:317D A5 04 - beq Label_F1A8 ; CPU:$F17F PRG:317F F0 27 + beq Sub_8764_OnZero_F1A8 ; CPU:$F17F PRG:317F F0 27 lda Zp24,x ; CPU:$F181 PRG:3181 B5 24 - beq Label_F1AC ; CPU:$F183 PRG:3183 F0 27 + beq Sub_8764_OnZero_F1AC ; CPU:$F183 PRG:3183 F0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_F185 +; Routine: Sub_8764_OnZero_F185 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12714,26 +12718,26 @@ Label_F178: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F185: +Sub_8764_OnZero_F185: clc ; CPU:$F185 PRG:3185 18 lda Zp27,x ; CPU:$F186 PRG:3186 B5 27 - sta Zp03 ; CPU:$F188 PRG:3188 85 03 + sta Ptr2Hi ; CPU:$F188 PRG:3188 85 03 lda Zp07 ; CPU:$F18A PRG:318A A5 07 - jsr $F1FD ; CPU:$F18C PRG:318C 20 FD F1 + jsr SubCF1FD ; CPU:$F18C PRG:318C 20 FD F1 sta Zp27,x ; CPU:$F18F PRG:318F 95 27 lda Zp26,x ; CPU:$F191 PRG:3191 B5 26 - sta Zp03 ; CPU:$F193 PRG:3193 85 03 + sta Ptr2Hi ; CPU:$F193 PRG:3193 85 03 lda Zp06 ; CPU:$F195 PRG:3195 A5 06 - jsr $F1FD ; CPU:$F197 PRG:3197 20 FD F1 + jsr SubCF1FD ; CPU:$F197 PRG:3197 20 FD F1 sta Zp26,x ; CPU:$F19A PRG:319A 95 26 lda Zp25,x ; CPU:$F19C PRG:319C B5 25 - sta Zp03 ; CPU:$F19E PRG:319E 85 03 + sta Ptr2Hi ; CPU:$F19E PRG:319E 85 03 lda Zp05 ; CPU:$F1A0 PRG:31A0 A5 05 - jsr $F1FD ; CPU:$F1A2 PRG:31A2 20 FD F1 + jsr SubCF1FD ; CPU:$F1A2 PRG:31A2 20 FD F1 sta Zp25,x ; CPU:$F1A5 PRG:31A5 95 25 rts ; CPU:$F1A7 PRG:31A7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F1A8 +; Routine: Sub_8764_OnZero_F1A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12741,11 +12745,11 @@ Label_F185: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1A8: +Sub_8764_OnZero_F1A8: lda Zp24,x ; CPU:$F1A8 PRG:31A8 B5 24 - beq Label_F185 ; CPU:$F1AA PRG:31AA F0 D9 + beq Sub_8764_OnZero_F185 ; CPU:$F1AA PRG:31AA F0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_F1AC +; Routine: Sub_8764_OnZero_F1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12753,31 +12757,31 @@ Label_F1A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1AC: +Sub_8764_OnZero_F1AC: sec ; CPU:$F1AC PRG:31AC 38 lda Zp27,x ; CPU:$F1AD PRG:31AD B5 27 - sta Zp03 ; CPU:$F1AF PRG:31AF 85 03 + sta Ptr2Hi ; CPU:$F1AF PRG:31AF 85 03 lda Zp07 ; CPU:$F1B1 PRG:31B1 A5 07 - jsr $F21E ; CPU:$F1B3 PRG:31B3 20 1E F2 + jsr SubCF21E ; CPU:$F1B3 PRG:31B3 20 1E F2 sta Zp27,x ; CPU:$F1B6 PRG:31B6 95 27 lda Zp26,x ; CPU:$F1B8 PRG:31B8 B5 26 - sta Zp03 ; CPU:$F1BA PRG:31BA 85 03 + sta Ptr2Hi ; CPU:$F1BA PRG:31BA 85 03 lda Zp06 ; CPU:$F1BC PRG:31BC A5 06 - jsr $F21E ; CPU:$F1BE PRG:31BE 20 1E F2 + jsr SubCF21E ; CPU:$F1BE PRG:31BE 20 1E F2 sta Zp26,x ; CPU:$F1C1 PRG:31C1 95 26 lda Zp25,x ; CPU:$F1C3 PRG:31C3 B5 25 - sta Zp03 ; CPU:$F1C5 PRG:31C5 85 03 + sta Ptr2Hi ; CPU:$F1C5 PRG:31C5 85 03 lda Zp05 ; CPU:$F1C7 PRG:31C7 A5 05 - jsr $F21E ; CPU:$F1C9 PRG:31C9 20 1E F2 + jsr SubCF21E ; CPU:$F1C9 PRG:31C9 20 1E F2 sta Zp25,x ; CPU:$F1CC PRG:31CC 95 25 lda Zp25,x ; CPU:$F1CE PRG:31CE B5 25 - bne Label_F1DA ; CPU:$F1D0 PRG:31D0 D0 08 + bne Sub_8764_OnNonzero_F1DA ; CPU:$F1D0 PRG:31D0 D0 08 lda Zp26,x ; CPU:$F1D2 PRG:31D2 B5 26 - bne Label_F1DA ; CPU:$F1D4 PRG:31D4 D0 04 + bne Sub_8764_OnNonzero_F1DA ; CPU:$F1D4 PRG:31D4 D0 04 lda Zp27,x ; CPU:$F1D6 PRG:31D6 B5 27 - beq Label_F1E0 ; CPU:$F1D8 PRG:31D8 F0 06 + beq Sub_8764_OnZero_F1E0 ; CPU:$F1D8 PRG:31D8 F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F1DA +; Routine: Sub_8764_OnNonzero_F1DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12785,12 +12789,12 @@ Label_F1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1DA: - bcs Label_F1FC ; CPU:$F1DA PRG:31DA B0 20 +Sub_8764_OnNonzero_F1DA: + bcs Sub_8764_OnCarrySet_F1FC ; CPU:$F1DA PRG:31DA B0 20 lda Zp24,x ; CPU:$F1DC PRG:31DC B5 24 eor #$FF ; CPU:$F1DE PRG:31DE 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_F1E0 +; Routine: Sub_8764_OnZero_F1E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12798,22 +12802,22 @@ Label_F1DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1E0: +Sub_8764_OnZero_F1E0: sta Zp24,x ; CPU:$F1E0 PRG:31E0 95 24 sec ; CPU:$F1E2 PRG:31E2 38 lda #$00 ; CPU:$F1E3 PRG:31E3 A9 00 - sta Zp03 ; CPU:$F1E5 PRG:31E5 85 03 + sta Ptr2Hi ; CPU:$F1E5 PRG:31E5 85 03 lda Zp27,x ; CPU:$F1E7 PRG:31E7 B5 27 - jsr $F21E ; CPU:$F1E9 PRG:31E9 20 1E F2 + jsr SubCF21E ; CPU:$F1E9 PRG:31E9 20 1E F2 sta Zp27,x ; CPU:$F1EC PRG:31EC 95 27 lda Zp26,x ; CPU:$F1EE PRG:31EE B5 26 - jsr $F21E ; CPU:$F1F0 PRG:31F0 20 1E F2 + jsr SubCF21E ; CPU:$F1F0 PRG:31F0 20 1E F2 sta Zp26,x ; CPU:$F1F3 PRG:31F3 95 26 lda Zp25,x ; CPU:$F1F5 PRG:31F5 B5 25 - jsr $F21E ; CPU:$F1F7 PRG:31F7 20 1E F2 + jsr SubCF21E ; CPU:$F1F7 PRG:31F7 20 1E F2 sta Zp25,x ; CPU:$F1FA PRG:31FA 95 25 ; ----------------------------------------------------------------------------- -; Routine: Label_F1FC +; Routine: Sub_8764_OnCarrySet_F1FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12821,10 +12825,10 @@ Label_F1E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1FC: +Sub_8764_OnCarrySet_F1FC: rts ; CPU:$F1FC PRG:31FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F1FD +; Routine: SubCF1FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12832,14 +12836,14 @@ Label_F1FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1FD: - jsr $F240 ; CPU:$F1FD PRG:31FD 20 40 F2 - adc Zp01 ; CPU:$F200 PRG:3200 65 01 +SubCF1FD: + jsr SubCF240 ; CPU:$F1FD PRG:31FD 20 40 F2 + adc PtrHi ; CPU:$F200 PRG:3200 65 01 cmp #$0A ; CPU:$F202 PRG:3202 C9 0A - bcc Label_F208 ; CPU:$F204 PRG:3204 90 02 + bcc Sub_8764_OnCarryClear_F208 ; CPU:$F204 PRG:3204 90 02 adc #$05 ; CPU:$F206 PRG:3206 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_F208 +; Routine: Sub_8764_OnCarryClear_F208 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12847,16 +12851,16 @@ Label_F1FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F208: +Sub_8764_OnCarryClear_F208: clc ; CPU:$F208 PRG:3208 18 - adc Zp02 ; CPU:$F209 PRG:3209 65 02 - sta Zp02 ; CPU:$F20B PRG:320B 85 02 - lda Zp03 ; CPU:$F20D PRG:320D A5 03 + adc Ptr2Lo ; CPU:$F209 PRG:3209 65 02 + sta Ptr2Lo ; CPU:$F20B PRG:320B 85 02 + lda Ptr2Hi ; CPU:$F20D PRG:320D A5 03 and #$F0 ; CPU:$F20F PRG:320F 29 F0 - adc Zp02 ; CPU:$F211 PRG:3211 65 02 - bcc Label_F219 ; CPU:$F213 PRG:3213 90 04 + adc Ptr2Lo ; CPU:$F211 PRG:3211 65 02 + bcc Sub_8764_OnCarryClear_F219 ; CPU:$F213 PRG:3213 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F215 +; Routine: Sub_8764_OnCarrySet_F215 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12864,12 +12868,12 @@ Label_F208: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F215: +Sub_8764_OnCarrySet_F215: adc #$5F ; CPU:$F215 PRG:3215 69 5F sec ; CPU:$F217 PRG:3217 38 rts ; CPU:$F218 PRG:3218 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F219 +; Routine: Sub_8764_OnCarryClear_F219 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12877,12 +12881,12 @@ Label_F215: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F219: +Sub_8764_OnCarryClear_F219: cmp #$A0 ; CPU:$F219 PRG:3219 C9 A0 - bcs Label_F215 ; CPU:$F21B PRG:321B B0 F8 + bcs Sub_8764_OnCarrySet_F215 ; CPU:$F21B PRG:321B B0 F8 rts ; CPU:$F21D PRG:321D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F21E +; Routine: SubCF21E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12890,18 +12894,18 @@ Label_F219: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F21E: - jsr $F240 ; CPU:$F21E PRG:321E 20 40 F2 - sbc Zp01 ; CPU:$F221 PRG:3221 E5 01 - sta Zp01 ; CPU:$F223 PRG:3223 85 01 - bcs Label_F231 ; CPU:$F225 PRG:3225 B0 0A +SubCF21E: + jsr SubCF240 ; CPU:$F21E PRG:321E 20 40 F2 + sbc PtrHi ; CPU:$F221 PRG:3221 E5 01 + sta PtrHi ; CPU:$F223 PRG:3223 85 01 + bcs Sub_8764_OnCarrySet_F231 ; CPU:$F225 PRG:3225 B0 0A adc #$0A ; CPU:$F227 PRG:3227 69 0A - sta Zp01 ; CPU:$F229 PRG:3229 85 01 - lda Zp02 ; CPU:$F22B PRG:322B A5 02 + sta PtrHi ; CPU:$F229 PRG:3229 85 01 + lda Ptr2Lo ; CPU:$F22B PRG:322B A5 02 adc #$0F ; CPU:$F22D PRG:322D 69 0F - sta Zp02 ; CPU:$F22F PRG:322F 85 02 + sta Ptr2Lo ; CPU:$F22F PRG:322F 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F231 +; Routine: Sub_8764_OnCarrySet_F231 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12909,16 +12913,16 @@ Label_F21E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F231: - lda Zp03 ; CPU:$F231 PRG:3231 A5 03 +Sub_8764_OnCarrySet_F231: + lda Ptr2Hi ; CPU:$F231 PRG:3231 A5 03 and #$F0 ; CPU:$F233 PRG:3233 29 F0 sec ; CPU:$F235 PRG:3235 38 - sbc Zp02 ; CPU:$F236 PRG:3236 E5 02 - bcs Label_F23D ; CPU:$F238 PRG:3238 B0 03 + sbc Ptr2Lo ; CPU:$F236 PRG:3236 E5 02 + bcs Sub_8764_OnCarrySet_F23D ; CPU:$F238 PRG:3238 B0 03 adc #$A0 ; CPU:$F23A PRG:323A 69 A0 clc ; CPU:$F23C PRG:323C 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F23D +; Routine: Sub_8764_OnCarrySet_F23D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12926,11 +12930,11 @@ Label_F231: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F23D: - ora Zp01 ; CPU:$F23D PRG:323D 05 01 +Sub_8764_OnCarrySet_F23D: + ora PtrHi ; CPU:$F23D PRG:323D 05 01 rts ; CPU:$F23F PRG:323F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F240 +; Routine: SubCF240 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12938,16 +12942,17 @@ Label_F23D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F240: +SubCF240: pha ; CPU:$F240 PRG:3240 48 and #$0F ; CPU:$F241 PRG:3241 29 0F - sta Zp01 ; CPU:$F243 PRG:3243 85 01 + sta PtrHi ; CPU:$F243 PRG:3243 85 01 pla ; CPU:$F245 PRG:3245 68 and #$F0 ; CPU:$F246 PRG:3246 29 F0 - sta Zp02 ; CPU:$F248 PRG:3248 85 02 - lda Zp03 ; CPU:$F24A PRG:324A A5 03 + sta Ptr2Lo ; CPU:$F248 PRG:3248 85 02 + lda Ptr2Hi ; CPU:$F24A PRG:324A A5 03 and #$0F ; CPU:$F24C PRG:324C 29 0F rts ; CPU:$F24E PRG:324E 60 +AudioData: ; ---- data $F24F-$F984 (1846 bytes) ---- ; referenced by `lda $F3B9,y` at $CF9C (operand $F3B9 falls inside this region) ; referenced by `lda $F901,y` at $F9D4 (operand $F901 falls inside this region) @@ -13073,7 +13078,7 @@ Label_F240: .byte $51, $51, $50, $00, $9A, $99, $98, $97, $96, $95, $95, $94, $94, $93, $93, $92 ; CPU:$F96F PRG:396F 51 51 50 00 9A 99 98 97 96 95 95 94 94 93 93 92 .byte $92, $92, $91, $91, $90, $00 ; CPU:$F97F PRG:397F 92 92 91 91 90 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F985 +; Routine: SubCF985 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13081,11 +13086,11 @@ Label_F240: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F985: +SubCF985: lda #$00 ; CPU:$F985 PRG:3985 A9 00 ldx #$0F ; CPU:$F987 PRG:3987 A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_F989 +; Routine: Sub_8764_OnNonnegative_F989 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13093,13 +13098,13 @@ Label_F985: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F989: +Sub_8764_OnNonnegative_F989: sta ZpF0,x ; CPU:$F989 PRG:3989 95 F0 dex ; CPU:$F98B PRG:398B CA - bpl Label_F989 ; CPU:$F98C PRG:398C 10 FB + bpl Sub_8764_OnNonnegative_F989 ; CPU:$F98C PRG:398C 10 FB ldx #$7F ; CPU:$F98E PRG:398E A2 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F990 +; Routine: Sub_8764_OnNonnegative_F990 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13107,15 +13112,15 @@ Label_F989: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F990: +Sub_8764_OnNonnegative_F990: sta $0680,x ; CPU:$F990 PRG:3990 9D 80 06 dex ; CPU:$F993 PRG:3993 CA - bpl Label_F990 ; CPU:$F994 PRG:3994 10 FA + bpl Sub_8764_OnNonnegative_F990 ; CPU:$F994 PRG:3994 10 FA rts ; CPU:$F996 PRG:3996 60 ; ---- data $F997-$F99F (9 bytes) ---- .byte $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF ; CPU:$F997 PRG:3997 FF FF FF FF FF FF FF FF FF ; ----------------------------------------------------------------------------- -; Routine: Label_F9A0 +; Routine: GameplayAudio ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13123,18 +13128,18 @@ Label_F990: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9A0: +GameplayAudio: lda #$C0 ; CPU:$F9A0 PRG:39A0 A9 C0 - sta $4017 ; CPU:$F9A2 PRG:39A2 8D 17 40 - jsr $FABF ; CPU:$F9A5 PRG:39A5 20 BF FA + sta JOY2 ; CPU:$F9A2 PRG:39A2 8D 17 40 + jsr SubCFABF ; CPU:$F9A5 PRG:39A5 20 BF FA lda #$00 ; CPU:$F9A8 PRG:39A8 A9 00 sta ZpFF ; CPU:$F9AA PRG:39AA 85 FF sta ZpFE ; CPU:$F9AC PRG:39AC 85 FE sta ZpFD ; CPU:$F9AE PRG:39AE 85 FD - sta $4011 ; CPU:$F9B0 PRG:39B0 8D 11 40 + sta APUDMCDIRECT ; CPU:$F9B0 PRG:39B0 8D 11 40 rts ; CPU:$F9B3 PRG:39B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F9B4 +; Routine: SubCF9B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13142,11 +13147,11 @@ Label_F9A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9B4: +SubCF9B4: ldx #$90 ; CPU:$F9B4 PRG:39B4 A2 90 - bne Label_F9C1 ; CPU:$F9B6 PRG:39B6 D0 09 + bne Sub_8764_OnNonzero_F9C1 ; CPU:$F9B6 PRG:39B6 D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_F9B8 +; Routine: SubCF9B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13154,11 +13159,11 @@ Label_F9B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9B8: +SubCF9B8: ldx #$90 ; CPU:$F9B8 PRG:39B8 A2 90 - bne Label_F9CA ; CPU:$F9BA PRG:39BA D0 0E + bne Sub_8764_OnNonzero_F9CA ; CPU:$F9BA PRG:39BA D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_F9BC +; Routine: SubCF9BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13166,10 +13171,10 @@ Label_F9B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9BC: +SubCF9BC: ldy #$7F ; CPU:$F9BC PRG:39BC A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F9BE +; Routine: SubCF9BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13177,10 +13182,10 @@ Label_F9BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9BE: - sty $4001 ; CPU:$F9BE PRG:39BE 8C 01 40 +SubCF9BE: + sty APUPULSE1SWEEP ; CPU:$F9BE PRG:39BE 8C 01 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F9C1 +; Routine: Sub_8764_OnNonzero_F9C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13188,11 +13193,11 @@ Label_F9BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C1: - stx $4000 ; CPU:$F9C1 PRG:39C1 8E 00 40 +Sub_8764_OnNonzero_F9C1: + stx APUPULSE1CTRL ; CPU:$F9C1 PRG:39C1 8E 00 40 rts ; CPU:$F9C4 PRG:39C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F9C5 +; Routine: SubCF9C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13200,10 +13205,10 @@ Label_F9C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C5: +SubCF9C5: ldy #$7F ; CPU:$F9C5 PRG:39C5 A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F9C7 +; Routine: SubCF9C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13211,10 +13216,10 @@ Label_F9C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C7: - sty $4005 ; CPU:$F9C7 PRG:39C7 8C 05 40 +SubCF9C7: + sty APUPULSE2SWEEP ; CPU:$F9C7 PRG:39C7 8C 05 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F9CA +; Routine: Sub_8764_OnNonzero_F9CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13222,13 +13227,13 @@ Label_F9C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9CA: - stx $4004 ; CPU:$F9CA PRG:39CA 8E 04 40 +Sub_8764_OnNonzero_F9CA: + stx APUPULSE2CTRL ; CPU:$F9CA PRG:39CA 8E 04 40 rts ; CPU:$F9CD PRG:39CD 60 ; ---- data $F9CE-$F9D0 (3 bytes) ---- .byte $20, $BE, $F9 ; CPU:$F9CE PRG:39CE 20 BE F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F9D1 +; Routine: SubCF9D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13236,10 +13241,10 @@ Label_F9CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D1: +SubCF9D1: ldx #$00 ; CPU:$F9D1 PRG:39D1 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F9D3 +; Routine: Sub_8764_OnNonzero_F9D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13247,16 +13252,16 @@ Label_F9D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D3: +Sub_8764_OnNonzero_F9D3: tay ; CPU:$F9D3 PRG:39D3 A8 lda $F901,y ; CPU:$F9D4 PRG:39D4 B9 01 F9 - beq Label_F9E4 ; CPU:$F9D7 PRG:39D7 F0 0B - sta $4002,x ; CPU:$F9D9 PRG:39D9 9D 02 40 + beq Sub_8764_OnZero_F9E4 ; CPU:$F9D7 PRG:39D7 F0 0B + sta APUPULSE1TIMERLO,x ; CPU:$F9D9 PRG:39D9 9D 02 40 lda $F900,y ; CPU:$F9DC PRG:39DC B9 00 F9 ora #$08 ; CPU:$F9DF PRG:39DF 09 08 - sta $4003,x ; CPU:$F9E1 PRG:39E1 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F9E1 PRG:39E1 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F9E4 +; Routine: Sub_8764_OnZero_F9E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13264,10 +13269,10 @@ Label_F9D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9E4: +Sub_8764_OnZero_F9E4: rts ; CPU:$F9E4 PRG:39E4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F9E5 +; Routine: SubCF9E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13275,10 +13280,10 @@ Label_F9E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9E5: - jsr $F9C7 ; CPU:$F9E5 PRG:39E5 20 C7 F9 +SubCF9E5: + jsr SubCF9C7 ; CPU:$F9E5 PRG:39E5 20 C7 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F9E8 +; Routine: SubCF9E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13286,11 +13291,11 @@ Label_F9E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9E8: +SubCF9E8: ldx #$04 ; CPU:$F9E8 PRG:39E8 A2 04 - bne Label_F9D3 ; CPU:$F9EA PRG:39EA D0 E7 + bne Sub_8764_OnNonzero_F9D3 ; CPU:$F9EA PRG:39EA D0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_F9EC +; Routine: SubCF9EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13298,13 +13303,13 @@ Label_F9E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9EC: +SubCF9EC: txa ; CPU:$F9EC PRG:39EC 8A and #$3E ; CPU:$F9ED PRG:39ED 29 3E ldx #$08 ; CPU:$F9EF PRG:39EF A2 08 - bne Label_F9D3 ; CPU:$F9F1 PRG:39F1 D0 E0 + bne Sub_8764_OnNonzero_F9D3 ; CPU:$F9F1 PRG:39F1 D0 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_F9F3 +; Routine: SubCF9F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13312,10 +13317,10 @@ Label_F9EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9F3: +SubCF9F3: ldy #$07 ; CPU:$F9F3 PRG:39F3 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F9F5 +; Routine: Sub_8764_OnNonzero_F9F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13323,13 +13328,13 @@ Label_F9F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9F5: +Sub_8764_OnNonzero_F9F5: asl a ; CPU:$F9F5 PRG:39F5 0A - bcs Label_F9FB ; CPU:$F9F6 PRG:39F6 B0 03 + bcs Sub_8764_OnCarrySet_F9FB ; CPU:$F9F6 PRG:39F6 B0 03 dey ; CPU:$F9F8 PRG:39F8 88 - bne Label_F9F5 ; CPU:$F9F9 PRG:39F9 D0 FA + bne Sub_8764_OnNonzero_F9F5 ; CPU:$F9F9 PRG:39F9 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F9FB +; Routine: Sub_8764_OnCarrySet_F9FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13337,12 +13342,12 @@ Label_F9F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9FB: +Sub_8764_OnCarrySet_F9FB: rts ; CPU:$F9FB PRG:39FB 60 ; ---- data $F9FC-$F9FD (2 bytes) ---- .byte $98, $4A ; CPU:$F9FC PRG:39FC 98 4A ; ----------------------------------------------------------------------------- -; Routine: Label_F9FE +; Routine: SubCF9FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13350,18 +13355,18 @@ Label_F9FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9FE: +SubCF9FE: lsr a ; CPU:$F9FE PRG:39FE 4A lsr a ; CPU:$F9FF PRG:39FF 4A lsr a ; CPU:$FA00 PRG:3A00 4A lsr a ; CPU:$FA01 PRG:3A01 4A - sta Zp01 ; CPU:$FA02 PRG:3A02 85 01 + sta PtrHi ; CPU:$FA02 PRG:3A02 85 01 tya ; CPU:$FA04 PRG:3A04 98 sec ; CPU:$FA05 PRG:3A05 38 - sbc Zp01 ; CPU:$FA06 PRG:3A06 E5 01 + sbc PtrHi ; CPU:$FA06 PRG:3A06 E5 01 rts ; CPU:$FA08 PRG:3A08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FA09 +; Routine: SubCFA09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13369,7 +13374,7 @@ Label_F9FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA09: +SubCFA09: tax ; CPU:$FA09 PRG:3A09 AA ror a ; CPU:$FA0A PRG:3A0A 6A txa ; CPU:$FA0B PRG:3A0B 8A @@ -13377,7 +13382,7 @@ Label_FA09: rol a ; CPU:$FA0D PRG:3A0D 2A rol a ; CPU:$FA0E PRG:3A0E 2A ; ----------------------------------------------------------------------------- -; Routine: Label_FA0F +; Routine: SubCFA0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13385,7 +13390,7 @@ Label_FA09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA0F: +SubCFA0F: and #$07 ; CPU:$FA0F PRG:3A0F 29 07 clc ; CPU:$FA11 PRG:3A11 18 adc $068D ; CPU:$FA12 PRG:3A12 6D 8D 06 @@ -13396,7 +13401,7 @@ Label_FA0F: ; referenced by `lda $FA1A,y` at $FAA5 (operand $FA1A falls inside this region) .byte $52, $54, $56, $58, $5A ; CPU:$FA1A PRG:3A1A 52 54 56 58 5A ; ----------------------------------------------------------------------------- -; Routine: Label_FA1F +; Routine: SubCFA1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13404,7 +13409,7 @@ Label_FA0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA1F: +SubCFA1F: sty ZpF0 ; CPU:$FA1F PRG:3A1F 84 F0 lda #$50 ; CPU:$FA21 PRG:3A21 A9 50 sta ZpF3 ; CPU:$FA23 PRG:3A23 85 F3 @@ -13412,16 +13417,16 @@ Label_FA1F: sta ZpF4 ; CPU:$FA27 PRG:3A27 85 F4 ldy #$81 ; CPU:$FA29 PRG:3A29 A0 81 ldx #$59 ; CPU:$FA2B PRG:3A2B A2 59 - jsr $F9BE ; CPU:$FA2D PRG:3A2D 20 BE F9 + jsr SubCF9BE ; CPU:$FA2D PRG:3A2D 20 BE F9 lda #$00 ; CPU:$FA30 PRG:3A30 A9 00 sta ZpF1 ; CPU:$FA32 PRG:3A32 85 F1 sta ZpF2 ; CPU:$FA34 PRG:3A34 85 F2 sta $06A5 ; CPU:$FA36 PRG:3A36 8D A5 06 - sta $4008 ; CPU:$FA39 PRG:3A39 8D 08 40 - jsr $F9B8 ; CPU:$FA3C PRG:3A3C 20 B8 F9 - sta $400C ; CPU:$FA3F PRG:3A3F 8D 0C 40 + sta APUTRIANGLECTRL ; CPU:$FA39 PRG:3A39 8D 08 40 + jsr SubCF9B8 ; CPU:$FA3C PRG:3A3C 20 B8 F9 + sta APUNOISECTRL ; CPU:$FA3F PRG:3A3F 8D 0C 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FA42 +; Routine: SubCFA42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13429,14 +13434,14 @@ Label_FA1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA42: +SubCFA42: lda ZpF3 ; CPU:$FA42 PRG:3A42 A5 F3 cmp #$20 ; CPU:$FA44 PRG:3A44 C9 20 - bne Label_FA4C ; CPU:$FA46 PRG:3A46 D0 04 + bne Sub_8764_OnNonzero_FA4C ; CPU:$FA46 PRG:3A46 D0 04 lda #$27 ; CPU:$FA48 PRG:3A48 A9 27 sta ZpF4 ; CPU:$FA4A PRG:3A4A 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FA4C +; Routine: Sub_8764_OnNonzero_FA4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13444,10 +13449,10 @@ Label_FA42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA4C: - bcs Label_FA60 ; CPU:$FA4C PRG:3A4C B0 12 +Sub_8764_OnNonzero_FA4C: + bcs Sub_8764_OnCarrySet_FA60 ; CPU:$FA4C PRG:3A4C B0 12 lsr a ; CPU:$FA4E PRG:3A4E 4A - bcs Label_FA6C ; CPU:$FA4F PRG:3A4F B0 1B + bcs Sub_8764_OnCarrySet_FA6C ; CPU:$FA4F PRG:3A4F B0 1B lda ZpF4 ; CPU:$FA51 PRG:3A51 A5 F4 lsr a ; CPU:$FA53 PRG:3A53 4A lsr a ; CPU:$FA54 PRG:3A54 4A @@ -13456,9 +13461,9 @@ Label_FA4C: adc ZpF4 ; CPU:$FA57 PRG:3A57 65 F4 sta ZpF4 ; CPU:$FA59 PRG:3A59 85 F4 ldx #$80 ; CPU:$FA5B PRG:3A5B A2 80 - jsr $F9BC ; CPU:$FA5D PRG:3A5D 20 BC F9 + jsr SubCF9BC ; CPU:$FA5D PRG:3A5D 20 BC F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA60 +; Routine: Sub_8764_OnCarrySet_FA60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13466,15 +13471,15 @@ Label_FA4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA60: +Sub_8764_OnCarrySet_FA60: lda ZpF4 ; CPU:$FA60 PRG:3A60 A5 F4 asl a ; CPU:$FA62 PRG:3A62 0A - sta $4002 ; CPU:$FA63 PRG:3A63 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FA63 PRG:3A63 8D 02 40 rol a ; CPU:$FA66 PRG:3A66 2A and #$01 ; CPU:$FA67 PRG:3A67 29 01 - sta $4003 ; CPU:$FA69 PRG:3A69 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FA69 PRG:3A69 8D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FA6C +; Routine: Sub_8764_OnCarrySet_FA6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13482,12 +13487,12 @@ Label_FA60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA6C: +Sub_8764_OnCarrySet_FA6C: dec ZpF3 ; CPU:$FA6C PRG:3A6C C6 F3 - beq Label_FAB0 ; CPU:$FA6E PRG:3A6E F0 40 + beq Sub_8764_JoinBranchPaths_FAB0 ; CPU:$FA6E PRG:3A6E F0 40 rts ; CPU:$FA70 PRG:3A70 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FA71 +; Routine: Sub_8764_OnCarrySet_FA71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13495,14 +13500,14 @@ Label_FA6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA71: +Sub_8764_OnCarrySet_FA71: sty ZpF0 ; CPU:$FA71 PRG:3A71 84 F0 lda #$0C ; CPU:$FA73 PRG:3A73 A9 0C sta ZpF3 ; CPU:$FA75 PRG:3A75 85 F3 lda #$50 ; CPU:$FA77 PRG:3A77 A9 50 sta ZpF4 ; CPU:$FA79 PRG:3A79 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FA7B +; Routine: Sub_8764_OnCarrySet_FA7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13510,10 +13515,10 @@ Label_FA71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA7B: +Sub_8764_OnCarrySet_FA7B: lda ZpF3 ; CPU:$FA7B PRG:3A7B A5 F3 cmp #$08 ; CPU:$FA7D PRG:3A7D C9 08 - bcs Label_FA8D ; CPU:$FA7F PRG:3A7F B0 0C + bcs Sub_8764_OnCarrySet_FA8D ; CPU:$FA7F PRG:3A7F B0 0C lda ZpF4 ; CPU:$FA81 PRG:3A81 A5 F4 lsr a ; CPU:$FA83 PRG:3A83 4A lsr a ; CPU:$FA84 PRG:3A84 4A @@ -13521,9 +13526,9 @@ Label_FA7B: clc ; CPU:$FA86 PRG:3A86 18 adc ZpF4 ; CPU:$FA87 PRG:3A87 65 F4 sta ZpF4 ; CPU:$FA89 PRG:3A89 85 F4 - bcs Label_FAB0 ; CPU:$FA8B PRG:3A8B B0 23 + bcs Sub_8764_JoinBranchPaths_FAB0 ; CPU:$FA8B PRG:3A8B B0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_FA8D +; Routine: Sub_8764_OnCarrySet_FA8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13531,24 +13536,24 @@ Label_FA7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA8D: +Sub_8764_OnCarrySet_FA8D: lda ZpF4 ; CPU:$FA8D PRG:3A8D A5 F4 asl a ; CPU:$FA8F PRG:3A8F 0A - sta $4002 ; CPU:$FA90 PRG:3A90 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FA90 PRG:3A90 8D 02 40 rol a ; CPU:$FA93 PRG:3A93 2A and #$01 ; CPU:$FA94 PRG:3A94 29 01 - sta $4003 ; CPU:$FA96 PRG:3A96 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FA96 PRG:3A96 8D 03 40 ldy #$81 ; CPU:$FA99 PRG:3A99 A0 81 ldx #$59 ; CPU:$FA9B PRG:3A9B A2 59 lda ZpF3 ; CPU:$FA9D PRG:3A9D A5 F3 cmp #$08 ; CPU:$FA9F PRG:3A9F C9 08 - bcs Label_FAA9 ; CPU:$FAA1 PRG:3AA1 B0 06 + bcs Sub_8764_OnCarrySet_FAA9 ; CPU:$FAA1 PRG:3AA1 B0 06 lsr a ; CPU:$FAA3 PRG:3AA3 4A tay ; CPU:$FAA4 PRG:3AA4 A8 lda $FA1A,y ; CPU:$FAA5 PRG:3AA5 B9 1A FA tax ; CPU:$FAA8 PRG:3AA8 AA ; ----------------------------------------------------------------------------- -; Routine: Label_FAA9 +; Routine: Sub_8764_OnCarrySet_FAA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13556,12 +13561,12 @@ Label_FA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA9: - jsr $F9BE ; CPU:$FAA9 PRG:3AA9 20 BE F9 +Sub_8764_OnCarrySet_FAA9: + jsr SubCF9BE ; CPU:$FAA9 PRG:3AA9 20 BE F9 dec ZpF3 ; CPU:$FAAC PRG:3AAC C6 F3 - bne Label_FAD3 ; CPU:$FAAE PRG:3AAE D0 23 + bne Sub_8764_JoinBranchPaths_FAD3 ; CPU:$FAAE PRG:3AAE D0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_FAB0 +; Routine: Sub_8764_JoinBranchPaths_FAB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13569,13 +13574,13 @@ Label_FAA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAB0: - jsr $F9B4 ; CPU:$FAB0 PRG:3AB0 20 B4 F9 +Sub_8764_JoinBranchPaths_FAB0: + jsr SubCF9B4 ; CPU:$FAB0 PRG:3AB0 20 B4 F9 lda #$00 ; CPU:$FAB3 PRG:3AB3 A9 00 sta ZpF0 ; CPU:$FAB5 PRG:3AB5 85 F0 - beq Label_FAD3 ; CPU:$FAB7 PRG:3AB7 F0 1A + beq Sub_8764_JoinBranchPaths_FAD3 ; CPU:$FAB7 PRG:3AB7 F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_FAB9 +; Routine: Sub_8764_OnCarrySet_FAB9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13583,10 +13588,10 @@ Label_FAB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAB9: - jmp $FA1F ; CPU:$FAB9 PRG:3AB9 4C 1F FA +Sub_8764_OnCarrySet_FAB9: + jmp SubCFA1F ; CPU:$FAB9 PRG:3AB9 4C 1F FA ; ----------------------------------------------------------------------------- -; Routine: Label_FABC +; Routine: Sub_8764_OnCarrySet_FABC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13594,10 +13599,10 @@ Label_FAB9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FABC: - jmp $FA42 ; CPU:$FABC PRG:3ABC 4C 42 FA +Sub_8764_OnCarrySet_FABC: + jmp SubCFA42 ; CPU:$FABC PRG:3ABC 4C 42 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FABF +; Routine: SubCFABF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13605,20 +13610,20 @@ Label_FABC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FABF: +SubCFABF: ldy ZpFF ; CPU:$FABF PRG:3ABF A4 FF - sty Zp00 ; CPU:$FAC1 PRG:3AC1 84 00 + sty PtrLo ; CPU:$FAC1 PRG:3AC1 84 00 lda ZpF0 ; CPU:$FAC3 PRG:3AC3 A5 F0 lsr a ; CPU:$FAC5 PRG:3AC5 4A - bcs Label_FABC ; CPU:$FAC6 PRG:3AC6 B0 F4 + bcs Sub_8764_OnCarrySet_FABC ; CPU:$FAC6 PRG:3AC6 B0 F4 lsr ZpFF ; CPU:$FAC8 PRG:3AC8 46 FF - bcs Label_FAB9 ; CPU:$FACA PRG:3ACA B0 ED + bcs Sub_8764_OnCarrySet_FAB9 ; CPU:$FACA PRG:3ACA B0 ED lsr ZpFF ; CPU:$FACC PRG:3ACC 46 FF - bcs Label_FA71 ; CPU:$FACE PRG:3ACE B0 A1 + bcs Sub_8764_OnCarrySet_FA71 ; CPU:$FACE PRG:3ACE B0 A1 lsr a ; CPU:$FAD0 PRG:3AD0 4A - bcs Label_FA7B ; CPU:$FAD1 PRG:3AD1 B0 A8 + bcs Sub_8764_OnCarrySet_FA7B ; CPU:$FAD1 PRG:3AD1 B0 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_FAD3 +; Routine: Sub_8764_JoinBranchPaths_FAD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13626,19 +13631,19 @@ Label_FABF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD3: - ldy Zp00 ; CPU:$FAD3 PRG:3AD3 A4 00 +Sub_8764_JoinBranchPaths_FAD3: + ldy PtrLo ; CPU:$FAD3 PRG:3AD3 A4 00 lda $06A5 ; CPU:$FAD5 PRG:3AD5 AD A5 06 - asl Zp00 ; CPU:$FAD8 PRG:3AD8 06 00 - bcs Label_FAE9 ; CPU:$FADA PRG:3ADA B0 0D + asl PtrLo ; CPU:$FAD8 PRG:3AD8 06 00 + bcs Sub_8764_OnCarrySet_FAE9 ; CPU:$FADA PRG:3ADA B0 0D asl a ; CPU:$FADC PRG:3ADC 0A - bcs Label_FAFB ; CPU:$FADD PRG:3ADD B0 1C - asl Zp00 ; CPU:$FADF PRG:3ADF 06 00 - bcs Label_FB18 ; CPU:$FAE1 PRG:3AE1 B0 35 + bcs Sub_8764_OnCarrySet_FAFB ; CPU:$FADD PRG:3ADD B0 1C + asl PtrLo ; CPU:$FADF PRG:3ADF 06 00 + bcs Sub_8764_OnCarrySet_FB18 ; CPU:$FAE1 PRG:3AE1 B0 35 asl a ; CPU:$FAE3 PRG:3AE3 0A - bcs Label_FB25 ; CPU:$FAE4 PRG:3AE4 B0 3F + bcs Sub_8764_OnCarrySet_FB25 ; CPU:$FAE4 PRG:3AE4 B0 3F ; ----------------------------------------------------------------------------- -; Routine: Label_FAE6 +; Routine: Sub_8764_OnNonzero_FAE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13646,10 +13651,10 @@ Label_FAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAE6: - jmp $FCDB ; CPU:$FAE6 PRG:3AE6 4C DB FC +Sub_8764_OnNonzero_FAE6: + jmp SubCFCDB ; CPU:$FAE6 PRG:3AE6 4C DB FC ; ----------------------------------------------------------------------------- -; Routine: Label_FAE9 +; Routine: Sub_8764_OnCarrySet_FAE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13657,16 +13662,16 @@ Label_FAE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAE9: +Sub_8764_OnCarrySet_FAE9: sty $06A5 ; CPU:$FAE9 PRG:3AE9 8C A5 06 lda #$17 ; CPU:$FAEC PRG:3AEC A9 17 sta $06BE ; CPU:$FAEE PRG:3AEE 8D BE 06 lda #$05 ; CPU:$FAF1 PRG:3AF1 A9 05 - sta $400C ; CPU:$FAF3 PRG:3AF3 8D 0C 40 + sta APUNOISECTRL ; CPU:$FAF3 PRG:3AF3 8D 0C 40 lda #$08 ; CPU:$FAF6 PRG:3AF6 A9 08 - sta $400F ; CPU:$FAF8 PRG:3AF8 8D 0F 40 + sta APUNOISELENGTH ; CPU:$FAF8 PRG:3AF8 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FAFB +; Routine: Sub_8764_OnCarrySet_FAFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13674,15 +13679,15 @@ Label_FAE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAFB: +Sub_8764_OnCarrySet_FAFB: lda $06BE ; CPU:$FAFB PRG:3AFB AD BE 06 lsr a ; CPU:$FAFE PRG:3AFE 4A lsr a ; CPU:$FAFF PRG:3AFF 4A tay ; CPU:$FB00 PRG:3B00 A8 lda $FB3B,y ; CPU:$FB01 PRG:3B01 B9 3B FB - sta $400E ; CPU:$FB04 PRG:3B04 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$FB04 PRG:3B04 8D 0E 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FB07 +; Routine: Sub_8764_JoinBranchPaths_FB07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13690,16 +13695,16 @@ Label_FAFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB07: +Sub_8764_JoinBranchPaths_FB07: dec $06BE ; CPU:$FB07 PRG:3B07 CE BE 06 - bne Label_FAE6 ; CPU:$FB0A PRG:3B0A D0 DA + bne Sub_8764_OnNonzero_FAE6 ; CPU:$FB0A PRG:3B0A D0 DA lda #$00 ; CPU:$FB0C PRG:3B0C A9 00 sta $06A5 ; CPU:$FB0E PRG:3B0E 8D A5 06 lda #$10 ; CPU:$FB11 PRG:3B11 A9 10 - sta $400C ; CPU:$FB13 PRG:3B13 8D 0C 40 - bne Label_FAE6 ; CPU:$FB16 PRG:3B16 D0 CE + sta APUNOISECTRL ; CPU:$FB13 PRG:3B13 8D 0C 40 + bne Sub_8764_OnNonzero_FAE6 ; CPU:$FB16 PRG:3B16 D0 CE ; ----------------------------------------------------------------------------- -; Routine: Label_FB18 +; Routine: Sub_8764_OnCarrySet_FB18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13707,14 +13712,14 @@ Label_FB07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB18: +Sub_8764_OnCarrySet_FB18: sty $06A5 ; CPU:$FB18 PRG:3B18 8C A5 06 lda #$0F ; CPU:$FB1B PRG:3B1B A9 0F sta $06BE ; CPU:$FB1D PRG:3B1D 8D BE 06 lda #$08 ; CPU:$FB20 PRG:3B20 A9 08 - sta $400F ; CPU:$FB22 PRG:3B22 8D 0F 40 + sta APUNOISELENGTH ; CPU:$FB22 PRG:3B22 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FB25 +; Routine: Sub_8764_OnCarrySet_FB25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13722,17 +13727,17 @@ Label_FB18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB25: +Sub_8764_OnCarrySet_FB25: ldy #$0E ; CPU:$FB25 PRG:3B25 A0 0E - sty $400E ; CPU:$FB27 PRG:3B27 8C 0E 40 + sty APUNOISEPERIOD ; CPU:$FB27 PRG:3B27 8C 0E 40 lda $06BE ; CPU:$FB2A PRG:3B2A AD BE 06 cmp #$0D ; CPU:$FB2D PRG:3B2D C9 0D - bcc Label_FB07 ; CPU:$FB2F PRG:3B2F 90 D6 + bcc Sub_8764_JoinBranchPaths_FB07 ; CPU:$FB2F PRG:3B2F 90 D6 lda #$02 ; CPU:$FB31 PRG:3B31 A9 02 - bne Label_FB37 ; CPU:$FB33 PRG:3B33 D0 02 + bne Sub_8764_OnNonzero_FB37 ; CPU:$FB33 PRG:3B33 D0 02 lda #$00 ; CPU:$FB35 PRG:3B35 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_FB37 +; Routine: Sub_8764_OnNonzero_FB37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13740,9 +13745,9 @@ Label_FB25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB37: - sta $400C ; CPU:$FB37 PRG:3B37 8D 0C 40 - bne Label_FB07 ; CPU:$FB3A PRG:3B3A D0 CB +Sub_8764_OnNonzero_FB37: + sta APUNOISECTRL ; CPU:$FB37 PRG:3B37 8D 0C 40 + bne Sub_8764_JoinBranchPaths_FB07 ; CPU:$FB3A PRG:3B3A D0 CB asl $0D0E ; CPU:$FB3C PRG:3B3C 0E 0E 0D ora $1A0D ; CPU:$FB3F PRG:3B3F 0D 0D 1A php ; CPU:$FB42 PRG:3B42 08 @@ -13751,7 +13756,7 @@ Label_FB37: ; referenced by `lda $FB45,y` at $FBA1 (operand $FB45 falls inside this region) .byte $22, $05, $22, $05, $38, $05, $1A, $0A ; CPU:$FB43 PRG:3B43 22 05 22 05 38 05 1A 0A ; ----------------------------------------------------------------------------- -; Routine: Label_FB4B +; Routine: SubCFB4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13759,16 +13764,16 @@ Label_FB37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB4B: +SubCFB4B: sty ZpF1 ; CPU:$FB4B PRG:3B4B 84 F1 lda #$A8 ; CPU:$FB4D PRG:3B4D A9 A8 sta ZpF5 ; CPU:$FB4F PRG:3B4F 85 F5 lda #$FF ; CPU:$FB51 PRG:3B51 A9 FF sta ZpF6 ; CPU:$FB53 PRG:3B53 85 F6 ldx #$99 ; CPU:$FB55 PRG:3B55 A2 99 - jsr $F9C5 ; CPU:$FB57 PRG:3B57 20 C5 F9 + jsr SubCF9C5 ; CPU:$FB57 PRG:3B57 20 C5 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FB5A +; Routine: SubCFB5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13776,19 +13781,19 @@ Label_FB4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB5A: +SubCFB5A: ldy ZpF6 ; CPU:$FB5A PRG:3B5A A4 F6 lda ZpF5 ; CPU:$FB5C PRG:3B5C A5 F5 and #$03 ; CPU:$FB5E PRG:3B5E 29 03 - beq Label_FB6B ; CPU:$FB60 PRG:3B60 F0 09 + beq Sub_8764_OnZero_FB6B ; CPU:$FB60 PRG:3B60 F0 09 cmp #$03 ; CPU:$FB62 PRG:3B62 C9 03 - beq Label_FB71 ; CPU:$FB64 PRG:3B64 F0 0B + beq Sub_8764_JoinBranchPaths_FB71 ; CPU:$FB64 PRG:3B64 F0 0B tya ; CPU:$FB66 PRG:3B66 98 lsr a ; CPU:$FB67 PRG:3B67 4A tay ; CPU:$FB68 PRG:3B68 A8 - bne Label_FB71 ; CPU:$FB69 PRG:3B69 D0 06 + bne Sub_8764_JoinBranchPaths_FB71 ; CPU:$FB69 PRG:3B69 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FB6B +; Routine: Sub_8764_OnZero_FB6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13796,12 +13801,12 @@ Label_FB5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB6B: +Sub_8764_OnZero_FB6B: tya ; CPU:$FB6B PRG:3B6B 98 - jsr $F9FE ; CPU:$FB6C PRG:3B6C 20 FE F9 + jsr SubCF9FE ; CPU:$FB6C PRG:3B6C 20 FE F9 sta ZpF6 ; CPU:$FB6F PRG:3B6F 85 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_FB71 +; Routine: Sub_8764_JoinBranchPaths_FB71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13809,17 +13814,17 @@ Label_FB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB71: +Sub_8764_JoinBranchPaths_FB71: tya ; CPU:$FB71 PRG:3B71 98 clc ; CPU:$FB72 PRG:3B72 18 rol a ; CPU:$FB73 PRG:3B73 2A rol a ; CPU:$FB74 PRG:3B74 2A - sta $4006 ; CPU:$FB75 PRG:3B75 8D 06 40 + sta APUPULSE2TIMERLO ; CPU:$FB75 PRG:3B75 8D 06 40 rol a ; CPU:$FB78 PRG:3B78 2A - sta $4007 ; CPU:$FB79 PRG:3B79 8D 07 40 - jmp $FC49 ; CPU:$FB7C PRG:3B7C 4C 49 FC + sta APUPULSE2TIMERHI ; CPU:$FB79 PRG:3B79 8D 07 40 + jmp SubCFC49 ; CPU:$FB7C PRG:3B7C 4C 49 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FB7F +; Routine: SubCFB7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13827,13 +13832,13 @@ Label_FB71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB7F: +SubCFB7F: sty ZpF1 ; CPU:$FB7F PRG:3B7F 84 F1 lda #$02 ; CPU:$FB81 PRG:3B81 A9 02 sta ZpF6 ; CPU:$FB83 PRG:3B83 85 F6 - bne Label_FB94 ; CPU:$FB85 PRG:3B85 D0 0D + bne Sub_8764_OnNonzero_FB94 ; CPU:$FB85 PRG:3B85 D0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_FB87 +; Routine: Sub_8764_OnCarrySet_FB87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13841,13 +13846,13 @@ Label_FB7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB87: +Sub_8764_OnCarrySet_FB87: lda ZpF5 ; CPU:$FB87 PRG:3B87 A5 F5 cmp #$02 ; CPU:$FB89 PRG:3B89 C9 02 - bne Label_FB90 ; CPU:$FB8B PRG:3B8B D0 03 - jsr $F9B8 ; CPU:$FB8D PRG:3B8D 20 B8 F9 + bne Sub_8764_OnNonzero_FB90 ; CPU:$FB8B PRG:3B8B D0 03 + jsr SubCF9B8 ; CPU:$FB8D PRG:3B8D 20 B8 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FB90 +; Routine: Sub_8764_OnNonzero_FB90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13855,11 +13860,11 @@ Label_FB87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB90: +Sub_8764_OnNonzero_FB90: dec ZpF5 ; CPU:$FB90 PRG:3B90 C6 F5 - bne Label_FBAC ; CPU:$FB92 PRG:3B92 D0 18 + bne Sub_8764_OnNonzero_FBAC ; CPU:$FB92 PRG:3B92 D0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_FB94 +; Routine: Sub_8764_OnNonzero_FB94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13867,20 +13872,20 @@ Label_FB90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB94: +Sub_8764_OnNonzero_FB94: lda ZpF6 ; CPU:$FB94 PRG:3B94 A5 F6 - beq Label_FBB0 ; CPU:$FB96 PRG:3B96 F0 18 + beq Sub_8764_JoinBranchPaths_FBB0 ; CPU:$FB96 PRG:3B96 F0 18 dec ZpF6 ; CPU:$FB98 PRG:3B98 C6 F6 asl a ; CPU:$FB9A PRG:3B9A 0A tay ; CPU:$FB9B PRG:3B9B A8 lda $FB46,y ; CPU:$FB9C PRG:3B9C B9 46 FB sta ZpF5 ; CPU:$FB9F PRG:3B9F 85 F5 lda $FB45,y ; CPU:$FBA1 PRG:3BA1 B9 45 FB - jsr $F9E8 ; CPU:$FBA4 PRG:3BA4 20 E8 F9 + jsr SubCF9E8 ; CPU:$FBA4 PRG:3BA4 20 E8 F9 lda #$09 ; CPU:$FBA7 PRG:3BA7 A9 09 sta $06B9 ; CPU:$FBA9 PRG:3BA9 8D B9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FBAC +; Routine: Sub_8764_OnNonzero_FBAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13888,11 +13893,11 @@ Label_FB94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBAC: +Sub_8764_OnNonzero_FBAC: ldy #$9A ; CPU:$FBAC PRG:3BAC A0 9A - bne Label_FBDD ; CPU:$FBAE PRG:3BAE D0 2D + bne Sub_8764_OnNonzero_FBDD ; CPU:$FBAE PRG:3BAE D0 2D ; ----------------------------------------------------------------------------- -; Routine: Label_FBB0 +; Routine: Sub_8764_JoinBranchPaths_FBB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13900,10 +13905,10 @@ Label_FBAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB0: - jmp $FC59 ; CPU:$FBB0 PRG:3BB0 4C 59 FC +Sub_8764_JoinBranchPaths_FBB0: + jmp SubCFC59 ; CPU:$FBB0 PRG:3BB0 4C 59 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FBB3 +; Routine: Sub_8764_OnCarrySet_FBB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13911,10 +13916,10 @@ Label_FBB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB3: +Sub_8764_OnCarrySet_FBB3: sty ZpF1 ; CPU:$FBB3 PRG:3BB3 84 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_FBB5 +; Routine: Sub_8764_OnZero_FBB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13922,12 +13927,12 @@ Label_FBB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB5: +Sub_8764_OnZero_FBB5: lda #$03 ; CPU:$FBB5 PRG:3BB5 A9 03 sta ZpF6 ; CPU:$FBB7 PRG:3BB7 85 F6 - bne Label_FBC3 ; CPU:$FBB9 PRG:3BB9 D0 08 + bne Sub_8764_OnNonzero_FBC3 ; CPU:$FBB9 PRG:3BB9 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_FBBB +; Routine: Sub_8764_OnCarrySet_FBBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13935,13 +13940,13 @@ Label_FBB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBBB: +Sub_8764_OnCarrySet_FBBB: lsr ZpFE ; CPU:$FBBB PRG:3BBB 46 FE - bcc Label_FBB0 ; CPU:$FBBD PRG:3BBD 90 F1 + bcc Sub_8764_JoinBranchPaths_FBB0 ; CPU:$FBBD PRG:3BBD 90 F1 dec ZpF5 ; CPU:$FBBF PRG:3BBF C6 F5 - bne Label_FBDB ; CPU:$FBC1 PRG:3BC1 D0 18 + bne Sub_8764_OnNonzero_FBDB ; CPU:$FBC1 PRG:3BC1 D0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_FBC3 +; Routine: Sub_8764_OnNonzero_FBC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13949,20 +13954,20 @@ Label_FBBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC3: +Sub_8764_OnNonzero_FBC3: lda ZpF6 ; CPU:$FBC3 PRG:3BC3 A5 F6 - beq Label_FBB5 ; CPU:$FBC5 PRG:3BC5 F0 EE + beq Sub_8764_OnZero_FBB5 ; CPU:$FBC5 PRG:3BC5 F0 EE dec ZpF6 ; CPU:$FBC7 PRG:3BC7 C6 F6 asl a ; CPU:$FBC9 PRG:3BC9 0A tay ; CPU:$FBCA PRG:3BCA A8 lda $FB40,y ; CPU:$FBCB PRG:3BCB B9 40 FB sta ZpF5 ; CPU:$FBCE PRG:3BCE 85 F5 lda $FB3F,y ; CPU:$FBD0 PRG:3BD0 B9 3F FB - jsr $F9E8 ; CPU:$FBD3 PRG:3BD3 20 E8 F9 + jsr SubCF9E8 ; CPU:$FBD3 PRG:3BD3 20 E8 F9 lda #$09 ; CPU:$FBD6 PRG:3BD6 A9 09 sta $06B9 ; CPU:$FBD8 PRG:3BD8 8D B9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FBDB +; Routine: Sub_8764_OnNonzero_FBDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13970,10 +13975,10 @@ Label_FBC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBDB: +Sub_8764_OnNonzero_FBDB: ldy #$C7 ; CPU:$FBDB PRG:3BDB A0 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_FBDD +; Routine: Sub_8764_OnNonzero_FBDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13981,13 +13986,13 @@ Label_FBDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBDD: - sty $4005 ; CPU:$FBDD PRG:3BDD 8C 05 40 +Sub_8764_OnNonzero_FBDD: + sty APUPULSE2SWEEP ; CPU:$FBDD PRG:3BDD 8C 05 40 lda $06B9 ; CPU:$FBE0 PRG:3BE0 AD B9 06 - beq Label_FBE8 ; CPU:$FBE3 PRG:3BE3 F0 03 + beq Sub_8764_OnZero_FBE8 ; CPU:$FBE3 PRG:3BE3 F0 03 dec $06B9 ; CPU:$FBE5 PRG:3BE5 CE B9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FBE8 +; Routine: Sub_8764_OnZero_FBE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13995,12 +14000,12 @@ Label_FBDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBE8: +Sub_8764_OnZero_FBE8: ora #$90 ; CPU:$FBE8 PRG:3BE8 09 90 - sta $4004 ; CPU:$FBEA PRG:3BEA 8D 04 40 - bne Label_FC2D ; CPU:$FBED PRG:3BED D0 3E + sta APUPULSE2CTRL ; CPU:$FBEA PRG:3BEA 8D 04 40 + bne SubCFC2D ; CPU:$FBED PRG:3BED D0 3E ; ----------------------------------------------------------------------------- -; Routine: Label_FBEF +; Routine: Sub_8764_OnCarrySet_FBEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14008,10 +14013,10 @@ Label_FBE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBEF: - jmp $FB4B ; CPU:$FBEF PRG:3BEF 4C 4B FB +Sub_8764_OnCarrySet_FBEF: + jmp SubCFB4B ; CPU:$FBEF PRG:3BEF 4C 4B FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBF2 +; Routine: Sub_8764_OnCarrySet_FBF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14019,10 +14024,10 @@ Label_FBEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBF2: - jmp $FB5A ; CPU:$FBF2 PRG:3BF2 4C 5A FB +Sub_8764_OnCarrySet_FBF2: + jmp SubCFB5A ; CPU:$FBF2 PRG:3BF2 4C 5A FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBF5 +; Routine: Sub_8764_OnCarrySet_FBF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14030,10 +14035,10 @@ Label_FBF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBF5: - jmp $FB7F ; CPU:$FBF5 PRG:3BF5 4C 7F FB +Sub_8764_OnCarrySet_FBF5: + jmp SubCFB7F ; CPU:$FBF5 PRG:3BF5 4C 7F FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBF8 +; Routine: SubCFBF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14041,39 +14046,39 @@ Label_FBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBF8: +SubCFBF8: ldy ZpFE ; CPU:$FBF8 PRG:3BF8 A4 FE lda ZpF1 ; CPU:$FBFA PRG:3BFA A5 F1 lsr a ; CPU:$FBFC PRG:3BFC 4A - bcs Label_FBF2 ; CPU:$FBFD PRG:3BFD B0 F3 + bcs Sub_8764_OnCarrySet_FBF2 ; CPU:$FBFD PRG:3BFD B0 F3 lsr ZpFE ; CPU:$FBFF PRG:3BFF 46 FE - bcs Label_FBEF ; CPU:$FC01 PRG:3C01 B0 EC + bcs Sub_8764_OnCarrySet_FBEF ; CPU:$FC01 PRG:3C01 B0 EC lsr a ; CPU:$FC03 PRG:3C03 4A - bcs Label_FB87 ; CPU:$FC04 PRG:3C04 B0 81 + bcs Sub_8764_OnCarrySet_FB87 ; CPU:$FC04 PRG:3C04 B0 81 lsr ZpFE ; CPU:$FC06 PRG:3C06 46 FE - bcs Label_FBF5 ; CPU:$FC08 PRG:3C08 B0 EB + bcs Sub_8764_OnCarrySet_FBF5 ; CPU:$FC08 PRG:3C08 B0 EB lsr a ; CPU:$FC0A PRG:3C0A 4A - bcs Label_FBBB ; CPU:$FC0B PRG:3C0B B0 AE + bcs Sub_8764_OnCarrySet_FBBB ; CPU:$FC0B PRG:3C0B B0 AE lsr ZpFE ; CPU:$FC0D PRG:3C0D 46 FE - bcs Label_FBB3 ; CPU:$FC0F PRG:3C0F B0 A2 + bcs Sub_8764_OnCarrySet_FBB3 ; CPU:$FC0F PRG:3C0F B0 A2 lsr a ; CPU:$FC11 PRG:3C11 4A - bcs Label_FC45 ; CPU:$FC12 PRG:3C12 B0 31 + bcs Sub_8764_OnCarrySet_FC45 ; CPU:$FC12 PRG:3C12 B0 31 lsr ZpFE ; CPU:$FC14 PRG:3C14 46 FE - bcs Label_FC34 ; CPU:$FC16 PRG:3C16 B0 1C + bcs Sub_8764_OnCarrySet_FC34 ; CPU:$FC16 PRG:3C16 B0 1C lsr a ; CPU:$FC18 PRG:3C18 4A - bcs Label_FC82 ; CPU:$FC19 PRG:3C19 B0 67 + bcs Sub_8764_OnCarrySet_FC82 ; CPU:$FC19 PRG:3C19 B0 67 lsr ZpFE ; CPU:$FC1B PRG:3C1B 46 FE - bcs Label_FC62 ; CPU:$FC1D PRG:3C1D B0 43 + bcs Sub_8764_OnCarrySet_FC62 ; CPU:$FC1D PRG:3C1D B0 43 lsr a ; CPU:$FC1F PRG:3C1F 4A - bcs Label_FC55 ; CPU:$FC20 PRG:3C20 B0 33 + bcs SubCFC55 ; CPU:$FC20 PRG:3C20 B0 33 lsr ZpFE ; CPU:$FC22 PRG:3C22 46 FE - bcs Label_FC2E ; CPU:$FC24 PRG:3C24 B0 08 + bcs Sub_8764_OnCarrySet_FC2E ; CPU:$FC24 PRG:3C24 B0 08 lsr a ; CPU:$FC26 PRG:3C26 4A - bcs Label_FC55 ; CPU:$FC27 PRG:3C27 B0 2C + bcs SubCFC55 ; CPU:$FC27 PRG:3C27 B0 2C lsr ZpFE ; CPU:$FC29 PRG:3C29 46 FE - bcs Label_FC31 ; CPU:$FC2B PRG:3C2B B0 04 + bcs Sub_8764_OnCarrySet_FC31 ; CPU:$FC2B PRG:3C2B B0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FC2D +; Routine: SubCFC2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14081,10 +14086,10 @@ Label_FBF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC2D: +SubCFC2D: rts ; CPU:$FC2D PRG:3C2D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FC2E +; Routine: Sub_8764_OnCarrySet_FC2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14092,10 +14097,10 @@ Label_FC2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC2E: - jmp $FCA6 ; CPU:$FC2E PRG:3C2E 4C A6 FC +Sub_8764_OnCarrySet_FC2E: + jmp SubCFCA6 ; CPU:$FC2E PRG:3C2E 4C A6 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FC31 +; Routine: Sub_8764_OnCarrySet_FC31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14103,10 +14108,10 @@ Label_FC2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC31: - jmp $FCB8 ; CPU:$FC31 PRG:3C31 4C B8 FC +Sub_8764_OnCarrySet_FC31: + jmp SubCFCB8 ; CPU:$FC31 PRG:3C31 4C B8 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FC34 +; Routine: Sub_8764_OnCarrySet_FC34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14114,17 +14119,17 @@ Label_FC31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC34: +Sub_8764_OnCarrySet_FC34: sty ZpF1 ; CPU:$FC34 PRG:3C34 84 F1 lda #$70 ; CPU:$FC36 PRG:3C36 A9 70 sta ZpF5 ; CPU:$FC38 PRG:3C38 85 F5 ldx #$97 ; CPU:$FC3A PRG:3C3A A2 97 ldy #$B6 ; CPU:$FC3C PRG:3C3C A0 B6 lda #$20 ; CPU:$FC3E PRG:3C3E A9 20 - jsr $F9E5 ; CPU:$FC40 PRG:3C40 20 E5 F9 - bne Label_FC49 ; CPU:$FC43 PRG:3C43 D0 04 + jsr SubCF9E5 ; CPU:$FC40 PRG:3C40 20 E5 F9 + bne SubCFC49 ; CPU:$FC43 PRG:3C43 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FC45 +; Routine: Sub_8764_OnCarrySet_FC45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14132,11 +14137,11 @@ Label_FC34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC45: +Sub_8764_OnCarrySet_FC45: lsr ZpFE ; CPU:$FC45 PRG:3C45 46 FE - bcc Label_FC59 ; CPU:$FC47 PRG:3C47 90 10 + bcc SubCFC59 ; CPU:$FC47 PRG:3C47 90 10 ; ----------------------------------------------------------------------------- -; Routine: Label_FC49 +; Routine: SubCFC49 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14144,15 +14149,15 @@ Label_FC45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC49: +SubCFC49: lda ZpF5 ; CPU:$FC49 PRG:3C49 A5 F5 cmp #$10 ; CPU:$FC4B PRG:3C4B C9 10 - bcs Label_FC55 ; CPU:$FC4D PRG:3C4D B0 06 + bcs SubCFC55 ; CPU:$FC4D PRG:3C4D B0 06 lsr a ; CPU:$FC4F PRG:3C4F 4A ora #$90 ; CPU:$FC50 PRG:3C50 09 90 - sta $4004 ; CPU:$FC52 PRG:3C52 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FC52 PRG:3C52 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FC55 +; Routine: SubCFC55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14160,11 +14165,11 @@ Label_FC49: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC55: +SubCFC55: dec ZpF5 ; CPU:$FC55 PRG:3C55 C6 F5 - bne Label_FC2D ; CPU:$FC57 PRG:3C57 D0 D4 + bne SubCFC2D ; CPU:$FC57 PRG:3C57 D0 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_FC59 +; Routine: SubCFC59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14172,13 +14177,13 @@ Label_FC55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC59: +SubCFC59: lda #$00 ; CPU:$FC59 PRG:3C59 A9 00 sta ZpF1 ; CPU:$FC5B PRG:3C5B 85 F1 - jsr $F9B8 ; CPU:$FC5D PRG:3C5D 20 B8 F9 - bne Label_FC2D ; CPU:$FC60 PRG:3C60 D0 CB + jsr SubCF9B8 ; CPU:$FC5D PRG:3C5D 20 B8 F9 + bne SubCFC2D ; CPU:$FC60 PRG:3C60 D0 CB ; ----------------------------------------------------------------------------- -; Routine: Label_FC62 +; Routine: Sub_8764_OnCarrySet_FC62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14186,10 +14191,10 @@ Label_FC59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC62: +Sub_8764_OnCarrySet_FC62: sty ZpF1 ; CPU:$FC62 PRG:3C62 84 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_FC64 +; Routine: Sub_8764_OnZero_FC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14197,18 +14202,18 @@ Label_FC62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC64: +Sub_8764_OnZero_FC64: lda #$22 ; CPU:$FC64 PRG:3C64 A9 22 sta ZpF5 ; CPU:$FC66 PRG:3C66 85 F5 inc $06C1 ; CPU:$FC68 PRG:3C68 EE C1 06 lda $06C1 ; CPU:$FC6B PRG:3C6B AD C1 06 lsr a ; CPU:$FC6E PRG:3C6E 4A - bcc Label_FC77 ; CPU:$FC6F PRG:3C6F 90 06 + bcc Sub_8764_OnCarryClear_FC77 ; CPU:$FC6F PRG:3C6F 90 06 ldy #$FF ; CPU:$FC71 PRG:3C71 A0 FF lda #$32 ; CPU:$FC73 PRG:3C73 A9 32 - bne Label_FC7B ; CPU:$FC75 PRG:3C75 D0 04 + bne Sub_8764_OnNonzero_FC7B ; CPU:$FC75 PRG:3C75 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FC77 +; Routine: Sub_8764_OnCarryClear_FC77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14216,11 +14221,11 @@ Label_FC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC77: +Sub_8764_OnCarryClear_FC77: ldy #$F7 ; CPU:$FC77 PRG:3C77 A0 F7 lda #$34 ; CPU:$FC79 PRG:3C79 A9 34 ; ----------------------------------------------------------------------------- -; Routine: Label_FC7B +; Routine: Sub_8764_OnNonzero_FC7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14228,12 +14233,12 @@ Label_FC77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC7B: +Sub_8764_OnNonzero_FC7B: sty ZpF6 ; CPU:$FC7B PRG:3C7B 84 F6 - jsr $F9E8 ; CPU:$FC7D PRG:3C7D 20 E8 F9 - bne Label_FC86 ; CPU:$FC80 PRG:3C80 D0 04 + jsr SubCF9E8 ; CPU:$FC7D PRG:3C7D 20 E8 F9 + bne Sub_8764_OnNonzero_FC86 ; CPU:$FC80 PRG:3C80 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FC82 +; Routine: Sub_8764_OnCarrySet_FC82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14241,11 +14246,11 @@ Label_FC7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC82: +Sub_8764_OnCarrySet_FC82: lsr ZpFE ; CPU:$FC82 PRG:3C82 46 FE - bcc Label_FC59 ; CPU:$FC84 PRG:3C84 90 D3 + bcc SubCFC59 ; CPU:$FC84 PRG:3C84 90 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_FC86 +; Routine: Sub_8764_OnNonzero_FC86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14253,9 +14258,9 @@ Label_FC82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC86: +Sub_8764_OnNonzero_FC86: dec ZpF5 ; CPU:$FC86 PRG:3C86 C6 F5 - beq Label_FC64 ; CPU:$FC88 PRG:3C88 F0 DA + beq Sub_8764_OnZero_FC64 ; CPU:$FC88 PRG:3C88 F0 DA lda ZpF5 ; CPU:$FC8A PRG:3C8A A5 F5 lsr a ; CPU:$FC8C PRG:3C8C 4A tay ; CPU:$FC8D PRG:3C8D A8 @@ -14264,12 +14269,12 @@ Label_FC86: ldy #$7F ; CPU:$FC92 PRG:3C92 A0 7F lda ZpF5 ; CPU:$FC94 PRG:3C94 A5 F5 cmp #$20 ; CPU:$FC96 PRG:3C96 C9 20 - bcs Label_FCA0 ; CPU:$FC98 PRG:3C98 B0 06 + bcs Sub_8764_JoinBranchPaths_FCA0 ; CPU:$FC98 PRG:3C98 B0 06 cmp #$1A ; CPU:$FC9A PRG:3C9A C9 1A - bcc Label_FCA0 ; CPU:$FC9C PRG:3C9C 90 02 + bcc Sub_8764_JoinBranchPaths_FCA0 ; CPU:$FC9C PRG:3C9C 90 02 ldy ZpF6 ; CPU:$FC9E PRG:3C9E A4 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_FCA0 +; Routine: Sub_8764_JoinBranchPaths_FCA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14277,11 +14282,11 @@ Label_FC86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA0: - jsr $F9C7 ; CPU:$FCA0 PRG:3CA0 20 C7 F9 - jmp $FC2D ; CPU:$FCA3 PRG:3CA3 4C 2D FC +Sub_8764_JoinBranchPaths_FCA0: + jsr SubCF9C7 ; CPU:$FCA0 PRG:3CA0 20 C7 F9 + jmp SubCFC2D ; CPU:$FCA3 PRG:3CA3 4C 2D FC ; ----------------------------------------------------------------------------- -; Routine: Label_FCA6 +; Routine: SubCFCA6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14289,17 +14294,17 @@ Label_FCA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA6: +SubCFCA6: sty ZpF1 ; CPU:$FCA6 PRG:3CA6 84 F1 lda #$08 ; CPU:$FCA8 PRG:3CA8 A9 08 sta ZpF5 ; CPU:$FCAA PRG:3CAA 85 F5 ldx #$82 ; CPU:$FCAC PRG:3CAC A2 82 ldy #$8B ; CPU:$FCAE PRG:3CAE A0 8B lda #$2C ; CPU:$FCB0 PRG:3CB0 A9 2C - jsr $F9E5 ; CPU:$FCB2 PRG:3CB2 20 E5 F9 - jmp $FC55 ; CPU:$FCB5 PRG:3CB5 4C 55 FC + jsr SubCF9E5 ; CPU:$FCB2 PRG:3CB2 20 E5 F9 + jmp SubCFC55 ; CPU:$FCB5 PRG:3CB5 4C 55 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FCB8 +; Routine: SubCFCB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14307,21 +14312,21 @@ Label_FCA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCB8: +SubCFCB8: sty ZpF1 ; CPU:$FCB8 PRG:3CB8 84 F1 lda #$02 ; CPU:$FCBA PRG:3CBA A9 02 sta ZpF5 ; CPU:$FCBC PRG:3CBC 85 F5 ldx #$97 ; CPU:$FCBE PRG:3CBE A2 97 ldy #$7F ; CPU:$FCC0 PRG:3CC0 A0 7F lda #$2E ; CPU:$FCC2 PRG:3CC2 A9 2E - jsr $F9E5 ; CPU:$FCC4 PRG:3CC4 20 E5 F9 - jmp $FC55 ; CPU:$FCC7 PRG:3CC7 4C 55 FC + jsr SubCF9E5 ; CPU:$FCC4 PRG:3CC4 20 E5 F9 + jmp SubCFC55 ; CPU:$FCC7 PRG:3CC7 4C 55 FC ; ---- data $FCCA-$FCDA (17 bytes) ---- ; referenced by `lda $FCCA,y` at $FC8E (operand $FCCA falls inside this region) .byte $91, $91, $91, $92, $92, $93, $93, $94, $95, $96, $97, $98, $99, $9A, $98, $96 ; CPU:$FCCA PRG:3CCA 91 91 91 92 92 93 93 94 95 96 97 98 99 9A 98 96 .byte $94 ; CPU:$FCDA PRG:3CDA 94 ; ----------------------------------------------------------------------------- -; Routine: Label_FCDB +; Routine: SubCFCDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14329,15 +14334,15 @@ Label_FCB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCDB: +SubCFCDB: ldx $0684 ; CPU:$FCDB PRG:3CDB AE 84 06 - bne Label_FD39 ; CPU:$FCDE PRG:3CDE D0 59 + bne Sub_8764_OnNonzero_FD39 ; CPU:$FCDE PRG:3CDE D0 59 lda ZpFC ; CPU:$FCE0 PRG:3CE0 A5 FC - bne Label_FCEA ; CPU:$FCE2 PRG:3CE2 D0 06 + bne Sub_8764_OnNonzero_FCEA ; CPU:$FCE2 PRG:3CE2 D0 06 sta $06B6 ; CPU:$FCE4 PRG:3CE4 8D B6 06 - jmp $FD3C ; CPU:$FCE7 PRG:3CE7 4C 3C FD + jmp SubCFD3C ; CPU:$FCE7 PRG:3CE7 4C 3C FD ; ----------------------------------------------------------------------------- -; Routine: Label_FCEA +; Routine: Sub_8764_OnNonzero_FCEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14345,11 +14350,11 @@ Label_FCDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCEA: +Sub_8764_OnNonzero_FCEA: eor $06B6 ; CPU:$FCEA PRG:3CEA 4D B6 06 - beq Label_FD07 ; CPU:$FCED PRG:3CED F0 18 + beq Sub_8764_OnZero_FD07 ; CPU:$FCED PRG:3CED F0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_FCEF +; Routine: Sub_8764_OnZero_FCEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14357,19 +14362,19 @@ Label_FCEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCEF: +Sub_8764_OnZero_FCEF: lda ZpFC ; CPU:$FCEF PRG:3CEF A5 FC sta $06B6 ; CPU:$FCF1 PRG:3CF1 8D B6 06 - jsr $F9F3 ; CPU:$FCF4 PRG:3CF4 20 F3 F9 + jsr SubCF9F3 ; CPU:$FCF4 PRG:3CF4 20 F3 F9 lda $FF7B,y ; CPU:$FCF7 PRG:3CF7 B9 7B FF sta $0680 ; CPU:$FCFA PRG:3CFA 8D 80 06 lda #$7C ; CPU:$FCFD PRG:3CFD A9 7C sta ZpF9 ; CPU:$FCFF PRG:3CFF 85 F9 lda #$FF ; CPU:$FD01 PRG:3D01 A9 FF sta ZpFA ; CPU:$FD03 PRG:3D03 85 FA - bne Label_FD0C ; CPU:$FD05 PRG:3D05 D0 05 + bne Sub_8764_OnNonzero_FD0C ; CPU:$FD05 PRG:3D05 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FD07 +; Routine: Sub_8764_OnZero_FD07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14377,11 +14382,11 @@ Label_FCEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD07: +Sub_8764_OnZero_FD07: dec $0698 ; CPU:$FD07 PRG:3D07 CE 98 06 - bne Label_FD3C ; CPU:$FD0A PRG:3D0A D0 30 + bne SubCFD3C ; CPU:$FD0A PRG:3D0A D0 30 ; ----------------------------------------------------------------------------- -; Routine: Label_FD0C +; Routine: Sub_8764_OnNonzero_FD0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14389,11 +14394,11 @@ Label_FD07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD0C: +Sub_8764_OnNonzero_FD0C: ldy $0680 ; CPU:$FD0C PRG:3D0C AC 80 06 inc $0680 ; CPU:$FD0F PRG:3D0F EE 80 06 lda (ZpF9),y ; CPU:$FD12 PRG:3D12 B1 F9 - beq Label_FCEF ; CPU:$FD14 PRG:3D14 F0 D9 + beq Sub_8764_OnZero_FCEF ; CPU:$FD14 PRG:3D14 F0 D9 tax ; CPU:$FD16 PRG:3D16 AA ror a ; CPU:$FD17 PRG:3D17 6A txa ; CPU:$FD18 PRG:3D18 8A @@ -14406,14 +14411,14 @@ Label_FD0C: sta $0698 ; CPU:$FD22 PRG:3D22 8D 98 06 ldy #$03 ; CPU:$FD25 PRG:3D25 A0 03 cmp #$02 ; CPU:$FD27 PRG:3D27 C9 02 - beq Label_FD31 ; CPU:$FD29 PRG:3D29 F0 06 + beq Sub_8764_OnZero_FD31 ; CPU:$FD29 PRG:3D29 F0 06 clc ; CPU:$FD2B PRG:3D2B 18 adc #$FE ; CPU:$FD2C PRG:3D2C 69 FE asl a ; CPU:$FD2E PRG:3D2E 0A asl a ; CPU:$FD2F PRG:3D2F 0A tay ; CPU:$FD30 PRG:3D30 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_FD31 +; Routine: Sub_8764_OnZero_FD31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14421,12 +14426,12 @@ Label_FD0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD31: - sty $4008 ; CPU:$FD31 PRG:3D31 8C 08 40 - jsr $F9EC ; CPU:$FD34 PRG:3D34 20 EC F9 - beq Label_FD3C ; CPU:$FD37 PRG:3D37 F0 03 +Sub_8764_OnZero_FD31: + sty APUTRIANGLECTRL ; CPU:$FD31 PRG:3D31 8C 08 40 + jsr SubCF9EC ; CPU:$FD34 PRG:3D34 20 EC F9 + beq SubCFD3C ; CPU:$FD37 PRG:3D37 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_FD39 +; Routine: Sub_8764_OnNonzero_FD39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14434,10 +14439,10 @@ Label_FD31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD39: - jmp $FD3C ; CPU:$FD39 PRG:3D39 4C 3C FD +Sub_8764_OnNonzero_FD39: + jmp SubCFD3C ; CPU:$FD39 PRG:3D39 4C 3C FD ; ----------------------------------------------------------------------------- -; Routine: Label_FD3C +; Routine: SubCFD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14445,14 +14450,14 @@ Label_FD39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD3C: +SubCFD3C: lda ZpFD ; CPU:$FD3C PRG:3D3C A5 FD - bne Label_FD47 ; CPU:$FD3E PRG:3D3E D0 07 + bne Sub_8764_OnNonzero_FD47 ; CPU:$FD3E PRG:3D3E D0 07 lda ZpF2 ; CPU:$FD40 PRG:3D40 A5 F2 - bne Label_FD86 ; CPU:$FD42 PRG:3D42 D0 42 - jmp $FBF8 ; CPU:$FD44 PRG:3D44 4C F8 FB + bne Sub_8764_OnNonzero_FD86 ; CPU:$FD42 PRG:3D42 D0 42 + jmp SubCFBF8 ; CPU:$FD44 PRG:3D44 4C F8 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FD47 +; Routine: Sub_8764_OnNonzero_FD47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14460,8 +14465,8 @@ Label_FD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD47: - jsr $F9F3 ; CPU:$FD47 PRG:3D47 20 F3 F9 +Sub_8764_OnNonzero_FD47: + jsr SubCF9F3 ; CPU:$FD47 PRG:3D47 20 F3 F9 inc ZpF2 ; CPU:$FD4A PRG:3D4A E6 F2 sty $06F2 ; CPU:$FD4C PRG:3D4C 8C F2 06 lda $FE61,y ; CPU:$FD4F PRG:3D4F B9 61 FE @@ -14481,12 +14486,12 @@ Label_FD47: sta $0696 ; CPU:$FD73 PRG:3D73 8D 96 06 sta $0698 ; CPU:$FD76 PRG:3D76 8D 98 06 lda #$7F ; CPU:$FD79 PRG:3D79 A9 7F - sta $4001 ; CPU:$FD7B PRG:3D7B 8D 01 40 - sta $4005 ; CPU:$FD7E PRG:3D7E 8D 05 40 + sta APUPULSE1SWEEP ; CPU:$FD7B PRG:3D7B 8D 01 40 + sta APUPULSE2SWEEP ; CPU:$FD7E PRG:3D7E 8D 05 40 ldy #$00 ; CPU:$FD81 PRG:3D81 A0 00 sty $0682 ; CPU:$FD83 PRG:3D83 8C 82 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FD86 +; Routine: Sub_8764_OnNonzero_FD86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14494,18 +14499,18 @@ Label_FD47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD86: +Sub_8764_OnNonzero_FD86: ldy ZpFB ; CPU:$FD86 PRG:3D86 A4 FB - beq Label_FDCC ; CPU:$FD88 PRG:3D88 F0 42 + beq Sub_8764_JoinBranchPaths_FDCC ; CPU:$FD88 PRG:3D88 F0 42 lda $069A ; CPU:$FD8A PRG:3D8A AD 9A 06 lsr a ; CPU:$FD8D PRG:3D8D 4A tay ; CPU:$FD8E PRG:3D8E A8 lda $F961,y ; CPU:$FD8F PRG:3D8F B9 61 F9 - beq Label_FD9A ; CPU:$FD92 PRG:3D92 F0 06 - sta $4000 ; CPU:$FD94 PRG:3D94 8D 00 40 + beq Sub_8764_OnZero_FD9A ; CPU:$FD92 PRG:3D92 F0 06 + sta APUPULSE1CTRL ; CPU:$FD94 PRG:3D94 8D 00 40 inc $069A ; CPU:$FD97 PRG:3D97 EE 9A 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FD9A +; Routine: Sub_8764_OnZero_FD9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14513,20 +14518,20 @@ Label_FD86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD9A: +Sub_8764_OnZero_FD9A: dec $0696 ; CPU:$FD9A PRG:3D9A CE 96 06 - bne Label_FDCC ; CPU:$FD9D PRG:3D9D D0 2D + bne Sub_8764_JoinBranchPaths_FDCC ; CPU:$FD9D PRG:3D9D D0 2D ldy ZpFB ; CPU:$FD9F PRG:3D9F A4 FB inc ZpFB ; CPU:$FDA1 PRG:3DA1 E6 FB lda (ZpF7),y ; CPU:$FDA3 PRG:3DA3 B1 F7 - bpl Label_FDB3 ; CPU:$FDA5 PRG:3DA5 10 0C - jsr $FA0F ; CPU:$FDA7 PRG:3DA7 20 0F FA + bpl Sub_8764_OnNonnegative_FDB3 ; CPU:$FDA5 PRG:3DA5 10 0C + jsr SubCFA0F ; CPU:$FDA7 PRG:3DA7 20 0F FA sta $0691 ; CPU:$FDAA PRG:3DAA 8D 91 06 ldy ZpFB ; CPU:$FDAD PRG:3DAD A4 FB inc ZpFB ; CPU:$FDAF PRG:3DAF E6 FB lda (ZpF7),y ; CPU:$FDB1 PRG:3DB1 B1 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_FDB3 +; Routine: Sub_8764_OnNonnegative_FDB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14534,13 +14539,13 @@ Label_FD9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDB3: - jsr $F9D1 ; CPU:$FDB3 PRG:3DB3 20 D1 F9 - beq Label_FDBD ; CPU:$FDB6 PRG:3DB6 F0 05 +Sub_8764_OnNonnegative_FDB3: + jsr SubCF9D1 ; CPU:$FDB3 PRG:3DB3 20 D1 F9 + beq Sub_8764_OnZero_FDBD ; CPU:$FDB6 PRG:3DB6 F0 05 lda #$00 ; CPU:$FDB8 PRG:3DB8 A9 00 sta $069A ; CPU:$FDBA PRG:3DBA 8D 9A 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FDBD +; Routine: Sub_8764_OnZero_FDBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14548,14 +14553,14 @@ Label_FDB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDBD: +Sub_8764_OnZero_FDBD: lda $0691 ; CPU:$FDBD PRG:3DBD AD 91 06 sta $0696 ; CPU:$FDC0 PRG:3DC0 8D 96 06 ldy $069A ; CPU:$FDC3 PRG:3DC3 AC 9A 06 lda $F961,y ; CPU:$FDC6 PRG:3DC6 B9 61 F9 - sta $4000 ; CPU:$FDC9 PRG:3DC9 8D 00 40 + sta APUPULSE1CTRL ; CPU:$FDC9 PRG:3DC9 8D 00 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FDCC +; Routine: Sub_8764_JoinBranchPaths_FDCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14563,17 +14568,17 @@ Label_FDBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDCC: +Sub_8764_JoinBranchPaths_FDCC: lda $06F2 ; CPU:$FDCC PRG:3DCC AD F2 06 - bne Label_FDDF ; CPU:$FDCF PRG:3DCF D0 0E + bne Sub_8764_OnNonzero_FDDF ; CPU:$FDCF PRG:3DCF D0 0E lda $0695 ; CPU:$FDD1 PRG:3DD1 AD 95 06 cmp #$02 ; CPU:$FDD4 PRG:3DD4 C9 02 - bne Label_FDEF ; CPU:$FDD6 PRG:3DD6 D0 17 + bne Sub_8764_JoinBranchPaths_FDEF ; CPU:$FDD6 PRG:3DD6 D0 17 ldx #$90 ; CPU:$FDD8 PRG:3DD8 A2 90 - stx $4004 ; CPU:$FDDA PRG:3DDA 8E 04 40 - bne Label_FDEF ; CPU:$FDDD PRG:3DDD D0 10 + stx APUPULSE2CTRL ; CPU:$FDDA PRG:3DDA 8E 04 40 + bne Sub_8764_JoinBranchPaths_FDEF ; CPU:$FDDD PRG:3DDD D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_FDDF +; Routine: Sub_8764_OnNonzero_FDDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14581,16 +14586,16 @@ Label_FDCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDDF: +Sub_8764_OnNonzero_FDDF: lda $0699 ; CPU:$FDDF PRG:3DDF AD 99 06 lsr a ; CPU:$FDE2 PRG:3DE2 4A tay ; CPU:$FDE3 PRG:3DE3 A8 lda $F973,y ; CPU:$FDE4 PRG:3DE4 B9 73 F9 - beq Label_FDEF ; CPU:$FDE7 PRG:3DE7 F0 06 - sta $4004 ; CPU:$FDE9 PRG:3DE9 8D 04 40 + beq Sub_8764_JoinBranchPaths_FDEF ; CPU:$FDE7 PRG:3DE7 F0 06 + sta APUPULSE2CTRL ; CPU:$FDE9 PRG:3DE9 8D 04 40 inc $0699 ; CPU:$FDEC PRG:3DEC EE 99 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FDEF +; Routine: Sub_8764_JoinBranchPaths_FDEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14598,22 +14603,22 @@ Label_FDDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDEF: +Sub_8764_JoinBranchPaths_FDEF: dec $0695 ; CPU:$FDEF PRG:3DEF CE 95 06 - bne Label_FE33 ; CPU:$FDF2 PRG:3DF2 D0 3F + bne Sub_8764_JoinBranchPaths_FE33 ; CPU:$FDF2 PRG:3DF2 D0 3F ldy $0682 ; CPU:$FDF4 PRG:3DF4 AC 82 06 inc $0682 ; CPU:$FDF7 PRG:3DF7 EE 82 06 lda (ZpF7),y ; CPU:$FDFA PRG:3DFA B1 F7 - bne Label_FE0E ; CPU:$FDFC PRG:3DFC D0 10 + bne Sub_8764_OnNonzero_FE0E ; CPU:$FDFC PRG:3DFC D0 10 lda #$00 ; CPU:$FDFE PRG:3DFE A9 00 sta ZpFB ; CPU:$FE00 PRG:3E00 85 FB sta $0684 ; CPU:$FE02 PRG:3E02 8D 84 06 sta ZpF2 ; CPU:$FE05 PRG:3E05 85 F2 - jsr $F9B4 ; CPU:$FE07 PRG:3E07 20 B4 F9 - jsr $F9B8 ; CPU:$FE0A PRG:3E0A 20 B8 F9 + jsr SubCF9B4 ; CPU:$FE07 PRG:3E07 20 B4 F9 + jsr SubCF9B8 ; CPU:$FE0A PRG:3E0A 20 B8 F9 rts ; CPU:$FE0D PRG:3E0D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FE0E +; Routine: Sub_8764_OnNonzero_FE0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14621,20 +14626,20 @@ Label_FDEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE0E: - jsr $FA09 ; CPU:$FE0E PRG:3E0E 20 09 FA +Sub_8764_OnNonzero_FE0E: + jsr SubCFA09 ; CPU:$FE0E PRG:3E0E 20 09 FA sta $0695 ; CPU:$FE11 PRG:3E11 8D 95 06 txa ; CPU:$FE14 PRG:3E14 8A and #$3E ; CPU:$FE15 PRG:3E15 29 3E - jsr $F9E8 ; CPU:$FE17 PRG:3E17 20 E8 F9 - beq Label_FE33 ; CPU:$FE1A PRG:3E1A F0 17 + jsr SubCF9E8 ; CPU:$FE17 PRG:3E17 20 E8 F9 + beq Sub_8764_JoinBranchPaths_FE33 ; CPU:$FE1A PRG:3E1A F0 17 ldx #$99 ; CPU:$FE1C PRG:3E1C A2 99 lda $06F2 ; CPU:$FE1E PRG:3E1E AD F2 06 - bne Label_FE28 ; CPU:$FE21 PRG:3E21 D0 05 - stx $4004 ; CPU:$FE23 PRG:3E23 8E 04 40 - beq Label_FE33 ; CPU:$FE26 PRG:3E26 F0 0B + bne Sub_8764_OnNonzero_FE28 ; CPU:$FE21 PRG:3E21 D0 05 + stx APUPULSE2CTRL ; CPU:$FE23 PRG:3E23 8E 04 40 + beq Sub_8764_JoinBranchPaths_FE33 ; CPU:$FE26 PRG:3E26 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FE28 +; Routine: Sub_8764_OnNonzero_FE28 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14642,13 +14647,13 @@ Label_FE0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE28: +Sub_8764_OnNonzero_FE28: ldy #$00 ; CPU:$FE28 PRG:3E28 A0 00 sty $0699 ; CPU:$FE2A PRG:3E2A 8C 99 06 lda $FC49,y ; CPU:$FE2D PRG:3E2D B9 49 FC - sta $4004 ; CPU:$FE30 PRG:3E30 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FE30 PRG:3E30 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE33 +; Routine: Sub_8764_JoinBranchPaths_FE33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14656,24 +14661,24 @@ Label_FE28: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE33: +Sub_8764_JoinBranchPaths_FE33: ldy $0684 ; CPU:$FE33 PRG:3E33 AC 84 06 - beq Label_FE60 ; CPU:$FE36 PRG:3E36 F0 28 + beq Sub_8764_JoinBranchPaths_FE60 ; CPU:$FE36 PRG:3E36 F0 28 dec $0698 ; CPU:$FE38 PRG:3E38 CE 98 06 - bne Label_FE60 ; CPU:$FE3B PRG:3E3B D0 23 + bne Sub_8764_JoinBranchPaths_FE60 ; CPU:$FE3B PRG:3E3B D0 23 inc $0684 ; CPU:$FE3D PRG:3E3D EE 84 06 lda (ZpF7),y ; CPU:$FE40 PRG:3E40 B1 F7 - jsr $FA09 ; CPU:$FE42 PRG:3E42 20 09 FA + jsr SubCFA09 ; CPU:$FE42 PRG:3E42 20 09 FA sta $0698 ; CPU:$FE45 PRG:3E45 8D 98 06 clc ; CPU:$FE48 PRG:3E48 18 adc #$FE ; CPU:$FE49 PRG:3E49 69 FE asl a ; CPU:$FE4B PRG:3E4B 0A asl a ; CPU:$FE4C PRG:3E4C 0A cmp #$38 ; CPU:$FE4D PRG:3E4D C9 38 - bcc Label_FE53 ; CPU:$FE4F PRG:3E4F 90 02 + bcc Sub_8764_OnCarryClear_FE53 ; CPU:$FE4F PRG:3E4F 90 02 lda #$38 ; CPU:$FE51 PRG:3E51 A9 38 ; ----------------------------------------------------------------------------- -; Routine: Label_FE53 +; Routine: Sub_8764_OnCarryClear_FE53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14681,12 +14686,12 @@ Label_FE33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE53: +Sub_8764_OnCarryClear_FE53: ldy $06F2 ; CPU:$FE53 PRG:3E53 AC F2 06 - bne Label_FE5A ; CPU:$FE56 PRG:3E56 D0 02 + bne Sub_8764_OnNonzero_FE5A ; CPU:$FE56 PRG:3E56 D0 02 lda #$FF ; CPU:$FE58 PRG:3E58 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_FE5A +; Routine: Sub_8764_OnNonzero_FE5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14694,11 +14699,11 @@ Label_FE53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE5A: - sta $4008 ; CPU:$FE5A PRG:3E5A 8D 08 40 - jsr $F9EC ; CPU:$FE5D PRG:3E5D 20 EC F9 +Sub_8764_OnNonzero_FE5A: + sta APUTRIANGLECTRL ; CPU:$FE5A PRG:3E5A 8D 08 40 + jsr SubCF9EC ; CPU:$FE5D PRG:3E5D 20 EC F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FE60 +; Routine: Sub_8764_JoinBranchPaths_FE60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14706,8 +14711,9 @@ Label_FE5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE60: +Sub_8764_JoinBranchPaths_FE60: rts ; CPU:$FE60 PRG:3E60 60 +VectorPageData: ; ---- data $FE61-$FFFF (415 bytes) ---- ; referenced by `lda $FF7B,y` at $FCF7 (operand $FF7B falls inside this region) ; referenced by `lda $FF91,y` at $FD1F (operand $FF91 falls inside this region) diff --git a/Millipede (U)/copilot/reconstructed.lbl b/Millipede (U)/copilot/reconstructed.lbl new file mode 100644 index 0000000..736f5c2 --- /dev/null +++ b/Millipede (U)/copilot/reconstructed.lbl @@ -0,0 +1,845 @@ +al 00FE61 .VectorPageData +al 00FE5A .Sub_8764_OnNonzero_FE5A +al 00FE53 .Sub_8764_OnCarryClear_FE53 +al 00FE60 .Sub_8764_JoinBranchPaths_FE60 +al 00FE28 .Sub_8764_OnNonzero_FE28 +al 00FE0E .Sub_8764_OnNonzero_FE0E +al 00FE33 .Sub_8764_JoinBranchPaths_FE33 +al 00FDEF .Sub_8764_JoinBranchPaths_FDEF +al 00FDDF .Sub_8764_OnNonzero_FDDF +al 00FDBD .Sub_8764_OnZero_FDBD +al 00FDB3 .Sub_8764_OnNonnegative_FDB3 +al 00FD9A .Sub_8764_OnZero_FD9A +al 00FDCC .Sub_8764_JoinBranchPaths_FDCC +al 00FD86 .Sub_8764_OnNonzero_FD86 +al 00FD47 .Sub_8764_OnNonzero_FD47 +al 00FD31 .Sub_8764_OnZero_FD31 +al 00FD0C .Sub_8764_OnNonzero_FD0C +al 00FCEF .Sub_8764_OnZero_FCEF +al 00FD07 .Sub_8764_OnZero_FD07 +al 00FD3C .SubCFD3C +al 00FCEA .Sub_8764_OnNonzero_FCEA +al 00FD39 .Sub_8764_OnNonzero_FD39 +al 00FCA0 .Sub_8764_JoinBranchPaths_FCA0 +al 00FC86 .Sub_8764_OnNonzero_FC86 +al 00FC7B .Sub_8764_OnNonzero_FC7B +al 00FC77 .Sub_8764_OnCarryClear_FC77 +al 00FC64 .Sub_8764_OnZero_FC64 +al 00FCB8 .SubCFCB8 +al 00FCA6 .SubCFCA6 +al 00FC31 .Sub_8764_OnCarrySet_FC31 +al 00FC2E .Sub_8764_OnCarrySet_FC2E +al 00FC55 .SubCFC55 +al 00FC62 .Sub_8764_OnCarrySet_FC62 +al 00FC82 .Sub_8764_OnCarrySet_FC82 +al 00FC34 .Sub_8764_OnCarrySet_FC34 +al 00FC45 .Sub_8764_OnCarrySet_FC45 +al 00FBF8 .SubCFBF8 +al 00FBF5 .Sub_8764_OnCarrySet_FBF5 +al 00FBF2 .Sub_8764_OnCarrySet_FBF2 +al 00FBEF .Sub_8764_OnCarrySet_FBEF +al 00FC2D .SubCFC2D +al 00FBE8 .Sub_8764_OnZero_FBE8 +al 00FBDB .Sub_8764_OnNonzero_FBDB +al 00FBBB .Sub_8764_OnCarrySet_FBBB +al 00FBC3 .Sub_8764_OnNonzero_FBC3 +al 00FBB5 .Sub_8764_OnZero_FBB5 +al 00FBB3 .Sub_8764_OnCarrySet_FBB3 +al 00FC59 .SubCFC59 +al 00FBDD .Sub_8764_OnNonzero_FBDD +al 00FBB0 .Sub_8764_JoinBranchPaths_FBB0 +al 00FBAC .Sub_8764_OnNonzero_FBAC +al 00FB90 .Sub_8764_OnNonzero_FB90 +al 00FB87 .Sub_8764_OnCarrySet_FB87 +al 00FB94 .Sub_8764_OnNonzero_FB94 +al 00FB7F .SubCFB7F +al 00FC49 .SubCFC49 +al 00FB71 .Sub_8764_JoinBranchPaths_FB71 +al 00FB6B .Sub_8764_OnZero_FB6B +al 00FB5A .SubCFB5A +al 00FB4B .SubCFB4B +al 00FB37 .Sub_8764_OnNonzero_FB37 +al 00FB07 .Sub_8764_JoinBranchPaths_FB07 +al 00FCDB .SubCFCDB +al 00FAE6 .Sub_8764_OnNonzero_FAE6 +al 00FB25 .Sub_8764_OnCarrySet_FB25 +al 00FB18 .Sub_8764_OnCarrySet_FB18 +al 00FAFB .Sub_8764_OnCarrySet_FAFB +al 00FAE9 .Sub_8764_OnCarrySet_FAE9 +al 00FABC .Sub_8764_OnCarrySet_FABC +al 00FAB9 .Sub_8764_OnCarrySet_FAB9 +al 00FAD3 .Sub_8764_JoinBranchPaths_FAD3 +al 00FAA9 .Sub_8764_OnCarrySet_FAA9 +al 00FA8D .Sub_8764_OnCarrySet_FA8D +al 00FA7B .Sub_8764_OnCarrySet_FA7B +al 00FA71 .Sub_8764_OnCarrySet_FA71 +al 00FAB0 .Sub_8764_JoinBranchPaths_FAB0 +al 00FA6C .Sub_8764_OnCarrySet_FA6C +al 00FA60 .Sub_8764_OnCarrySet_FA60 +al 00FA4C .Sub_8764_OnNonzero_FA4C +al 00FA42 .SubCFA42 +al 00FA1F .SubCFA1F +al 00FA0F .SubCFA0F +al 00FA09 .SubCFA09 +al 00F9FE .SubCF9FE +al 00F9FB .Sub_8764_OnCarrySet_F9FB +al 00F9F5 .Sub_8764_OnNonzero_F9F5 +al 00F9F3 .SubCF9F3 +al 00F9EC .SubCF9EC +al 00F9E8 .SubCF9E8 +al 00F9E5 .SubCF9E5 +al 00F9E4 .Sub_8764_OnZero_F9E4 +al 00F9D3 .Sub_8764_OnNonzero_F9D3 +al 00F9D1 .SubCF9D1 +al 00F9C7 .SubCF9C7 +al 00F9C5 .SubCF9C5 +al 00F9BE .SubCF9BE +al 00F9BC .SubCF9BC +al 00F9CA .Sub_8764_OnNonzero_F9CA +al 00F9B8 .SubCF9B8 +al 00F9C1 .Sub_8764_OnNonzero_F9C1 +al 00F9B4 .SubCF9B4 +al 00FABF .SubCFABF +al 00F990 .Sub_8764_OnNonnegative_F990 +al 00F989 .Sub_8764_OnNonnegative_F989 +al 00F24F .AudioData +al 00F23D .Sub_8764_OnCarrySet_F23D +al 00F231 .Sub_8764_OnCarrySet_F231 +al 00F215 .Sub_8764_OnCarrySet_F215 +al 00F219 .Sub_8764_OnCarryClear_F219 +al 00F208 .Sub_8764_OnCarryClear_F208 +al 00F240 .SubCF240 +al 00F1FC .Sub_8764_OnCarrySet_F1FC +al 00F1E0 .Sub_8764_OnZero_F1E0 +al 00F1DA .Sub_8764_OnNonzero_F1DA +al 00F21E .SubCF21E +al 00F1FD .SubCF1FD +al 00F185 .Sub_8764_OnZero_F185 +al 00F1AC .Sub_8764_OnZero_F1AC +al 00F1A8 .Sub_8764_OnZero_F1A8 +al 00F178 .SubCF178 +al 00F16E .Sub_8764_OnNonzero_F16E +al 00F12F .Sub_8764_OnCarrySet_F12F +al 00F12C .Sub_8764_OnNonzero_F12C +al 00F129 .Sub_8764_OnCarryClear_F129 +al 00F11D .Sub_8764_OnCarrySet_F11D +al 00F107 .Sub_8764_OnNonzero_F107 +al 00F106 .Sub_8764_OnNonnegative_F106 +al 00F0DD .Sub_8764_OnNonzero_F0DD +al 00F0DB .SubCF0DB +al 00F0AB .Sub_8764_OnZero_F0AB +al 00F097 .Sub_8764_OnZero_F097 +al 00F091 .Sub_8764_OnNonnegative_F091 +al 00F084 .Sub_8764_OnCarryClear_F084 +al 00F046 .Sub_8764_OnNonzero_F046 +al 00F02F .Sub_8764_OnNonzero_F02F +al 00F017 .Sub_8764_OnZero_F017 +al 00F006 .Sub_8764_JoinBranchPaths_F006 +al 00EFDC .Sub_8764_OnNonzero_EFDC +al 00F076 .SubCF076 +al 00F074 .SubCF074 +al 00EF9E .SubCEF9E +al 00EF98 .Sub_8764_OnCarryClear_EF98 +al 00EF8F .Sub_8764_OnNonnegative_EF8F +al 00EF86 .Sub_8764_OnNonzero_EF86 +al 00EF6F .Sub_8764_OnNonzero_EF6F +al 00EF32 .Sub_8764_OnCarryClear_EF32 +al 00EF35 .Sub_8764_OnNonzero_EF35 +al 00EF0D .Sub_8764_OnCarryClear_EF0D +al 00EF18 .Sub_8764_OnZero_EF18 +al 00EECE .Sub_8764_JoinBranchPaths_EECE +al 00EEC8 .Sub_8764_OnCarryClear_EEC8 +al 00EED0 .SubCEED0 +al 00EEB7 .Sub_8764_JoinBranchPaths_EEB7 +al 00EEB1 .Sub_8764_OnCarryClear_EEB1 +al 00EE5F .SubCEE5F +al 00EE2C .Sub_8764_OnNonzero_EE2C +al 00EE26 .Sub_8764_OnNonzero_EE26 +al 00EDFE .Sub_8764_OnNonzero_EDFE +al 00EDF9 .Sub_8764_OnNonnegative_EDF9 +al 00EDDB .Sub_8764_OnNonzero_EDDB +al 00EE24 .SubCEE24 +al 00EDF0 .SubCEDF0 +al 00EDCD .SubCEDCD +al 00EDD5 .SubCEDD5 +al 00EDCA .Sub_8764_OnNonzero_EDCA +al 00EDB9 .Sub_8764_OnNonzero_EDB9 +al 00ED8B .Sub_8764_OnNonzero_ED8B +al 00ED81 .SubCED81 +al 00ED80 .Sub_8764_OnZero_ED80 +al 00ED67 .SubCED67 +al 00ED47 .Sub_8764_OnCarryClear_ED47 +al 00ED3C .Sub_8764_OnNonzero_ED3C +al 00ED12 .Sub_8764_OnZero_ED12 +al 00ED0D .Sub_8764_OnNonzero_ED0D +al 00ED19 .Sub_8764_JoinBranchPaths_ED19 +al 00ECFE .Sub_8764_JoinBranchPaths_ECFE +al 00ECD5 .Sub_8764_OnZero_ECD5 +al 00ECBB .Sub_8764_OnCarryClear_ECBB +al 00ECB2 .SubCECB2 +al 00ECAD .Sub_8764_OnZero_ECAD +al 00ECA4 .Sub_8764_OnZero_ECA4 +al 00EC87 .Sub_8764_OnCarryClear_EC87 +al 00EC64 .Sub_8764_OnZero_EC64 +al 00EC58 .Sub_8764_OnNonnegative_EC58 +al 00ECFF .SubCECFF +al 00EC51 .Sub_8764_OnNonzero_EC51 +al 00EC48 .Sub_8764_OnNonzero_EC48 +al 00EC3B .Sub_8764_OnCarrySet_EC3B +al 00EC0B .Sub_8764_OnZero_EC0B +al 00EBF9 .Sub_8764_OnZero_EBF9 +al 00EBE4 .Sub_8764_OnCarryClear_EBE4 +al 00EBD8 .SubCEBD8 +al 00EBD2 .Sub_8764_OnCarryClear_EBD2 +al 00EC30 .SubCEC30 +al 00EBBE .SubCEBBE +al 00EBBC .Sub_8764_OnZero_EBBC +al 00EBB1 .SubCEBB1 +al 00EBA5 .Sub_8764_OnNonzero_EBA5 +al 00EB8D .Sub_8764_OnCarryClear_EB8D +al 00EBAD .SubCEBAD +al 00EB5A .Sub_8764_OnCarrySet_EB5A +al 00EB53 .Sub_8764_OnZero_EB53 +al 00EB4E .Sub_8764_OnNonzero_EB4E +al 00EB33 .Sub_8764_OnNonzero_EB33 +al 00EB26 .Sub_8764_OnCarrySet_EB26 +al 00EB0F .SubCEB0F +al 00EB02 .Sub_8764_OnCarryClear_EB02 +al 00EAEF .Sub_8764_OnCarryClear_EAEF +al 00EAD6 .Sub_8764_OnZero_EAD6 +al 00EACA .Sub_8764_OnZero_EACA +al 00EABF .Sub_8764_OnZero_EABF +al 00EA9D .Sub_8764_OnNonnegative_EA9D +al 00EB46 .SubCEB46 +al 00EA96 .Sub_8764_OnNonzero_EA96 +al 00EA8D .Sub_8764_OnNonzero_EA8D +al 00EA66 .Sub_8764_OnNonzero_EA66 +al 00EA54 .Sub_8764_OnCarrySet_EA54 +al 00EA4C .Sub_8764_OnCarrySet_EA4C +al 00EA3A .Sub_8764_OnCarryClear_EA3A +al 00EA78 .SubCEA78 +al 00EA26 .SubCEA26 +al 00EA24 .Sub_8764_OnZero_EA24 +al 00EA19 .Sub_8764_OnCarryClear_EA19 +al 00EA0D .Sub_8764_OnNonzero_EA0D +al 00E9EB .Sub_8764_OnCarryClear_E9EB +al 00EA15 .SubCEA15 +al 00E9D4 .Sub_8764_JoinBranchPaths_E9D4 +al 00E9AD .Sub_8764_OnNonzero_E9AD +al 00E986 .Sub_8764_OnZero_E986 +al 00E981 .Sub_8764_OnNonzero_E981 +al 00E98D .Sub_8764_JoinBranchPaths_E98D +al 00E963 .Sub_8764_JoinBranchPaths_E963 +al 00E942 .Sub_8764_OnCarryClear_E942 +al 00E939 .Sub_8764_OnZero_E939 +al 00E92F .Sub_8764_OnZero_E92F +al 00E964 .Sub_8764_OnCarrySet_E964 +al 00E906 .Sub_8764_OnZero_E906 +al 00E973 .Sub_8764_OnZero_E973 +al 00E9A4 .SubCE9A4 +al 00E8C7 .Sub_8764_OnCarryClear_E8C7 +al 00E8E7 .SubCE8E7 +al 00E8B3 .SubCE8B3 +al 00E8B1 .Sub_8764_OnZero_E8B1 +al 00E8A6 .Sub_8764_OnCarryClear_E8A6 +al 00E89A .Sub_8764_OnNonzero_E89A +al 00E882 .Sub_8764_OnCarryClear_E882 +al 00E8A2 .SubCE8A2 +al 00E85C .Sub_8764_OnZero_E85C +al 00E837 .Sub_8764_OnNonzero_E837 +al 00E82F .Sub_8764_OnCarrySet_E82F +al 00E814 .Sub_8764_JoinBranchPaths_E814 +al 00E7DF .Sub_8764_OnNonzero_E7DF +al 00E7D4 .SubCE7D4 +al 00E7CE .Sub_8764_OnZero_E7CE +al 00E7C1 .Sub_8764_OnZero_E7C1 +al 00E7B4 .Sub_8764_OnZero_E7B4 +al 00E79A .Sub_8764_OnNonzero_E79A +al 00E828 .SubCE828 +al 00E795 .Sub_8764_OnNonzero_E795 +al 00E78E .Sub_8764_OnZero_E78E +al 00E789 .Sub_8764_OnNonzero_E789 +al 00E76B .Sub_8764_OnNonzero_E76B +al 00E762 .Sub_8764_OnNonzero_E762 +al 00E76D .SubCE76D +al 00E759 .Sub_8764_OnNonzero_E759 +al 00E73D .Sub_8764_OnNonzero_E73D +al 00E727 .Sub_8764_OnCarrySet_E727 +al 00E702 .Sub_8764_OnNonzero_E702 +al 00E6F7 .SubCE6F7 +al 00E6F1 .Sub_8764_OnZero_E6F1 +al 00E6E2 .Sub_8764_OnNonzero_E6E2 +al 00E6CD .Sub_8764_OnNonzero_E6CD +al 00E70D .Sub_8764_OnZero_E70D +al 00E6C0 .Sub_8764_OnZero_E6C0 +al 00E692 .Sub_8764_OnZero_E692 +al 00E677 .Sub_8764_OnNonzero_E677 +al 00E6B6 .Sub_8764_OnZero_E6B6 +al 00E66C .Sub_8764_OnZero_E66C +al 00E661 .SubCE661 +al 00E655 .Sub_8764_OnNonzero_E655 +al 00E658 .SubCE658 +al 00E645 .Sub_8764_OnZero_E645 +al 00E63A .SubCE63A +al 00E61F .Sub_8764_OnNonzero_E61F +al 00E61D .Sub_8764_OnNonzero_E61D +al 00E66F .SubCE66F +al 00E5F0 .SubCE5F0 +al 00E5ED .Sub_8764_OnNonzero_E5ED +al 00E5E7 .Sub_8764_OnZero_E5E7 +al 00E614 .SubCE614 +al 00E62E .SubCE62E +al 00E609 .Sub_8764_OnZero_E609 +al 00E5B1 .Sub_8764_OnNonzero_E5B1 +al 00E5AB .Sub_8764_OnNonzero_E5AB +al 00E59A .Sub_8764_OnCarrySet_E59A +al 00E59F .Sub_8764_OnZero_E59F +al 00E570 .Sub_8764_OnNonzero_E570 +al 00E566 .Sub_8764_OnCarryClear_E566 +al 00E55D .Sub_8764_OnNonzero_E55D +al 00E552 .Sub_8764_OnCarryClear_E552 +al 00E540 .Sub_8764_OnCarryClear_E540 +al 00E547 .Sub_8764_OnCarryClear_E547 +al 00E52A .Sub_8764_OnCarryClear_E52A +al 00E518 .Sub_8764_OnCarryClear_E518 +al 00E51F .Sub_8764_OnCarryClear_E51F +al 00E531 .Sub_8764_OnCarryClear_E531 +al 00E505 .Sub_8764_OnNonzero_E505 +al 00E56A .SubCE56A +al 00E4FA .Sub_8764_OnNonzero_E4FA +al 00E4E0 .SubCE4E0 +al 00E4D6 .Sub_8764_OnZero_E4D6 +al 00E4CD .Sub_8764_OnCarryClear_E4CD +al 00E4B6 .Sub_8764_OnNonzero_E4B6 +al 00E4AF .Sub_8764_OnCarrySet_E4AF +al 00E4B0 .Sub_8764_OnNonnegative_E4B0 +al 00E49A .Sub_8764_JoinBranchPaths_E49A +al 00E475 .SubCE475 +al 00E465 .Sub_8764_OnNonnegative_E465 +al 00E442 .Sub_8764_OnNegative_E442 +al 00E458 .SubCE458 +al 00E45D .Sub_8764_OnZero_E45D +al 00E431 .Sub_8764_OnNegative_E431 +al 00E419 .Sub_8764_OnNegative_E419 +al 00E415 .Sub_8764_OnZero_E415 +al 00ED9D .SubCED9D +al 00E3FD .Sub_8764_OnNonzero_E3FD +al 00E3F4 .Sub_8764_OnNonzero_E3F4 +al 00E3FF .SubCE3FF +al 00E3EB .Sub_8764_OnNonzero_E3EB +al 00E3D5 .Sub_8764_OnNonnegative_E3D5 +al 00E37C .SubCE37C +al 00E379 .Sub_8764_OnNonzero_E379 +al 00E3D6 .SubCE3D6 +al 00E35E .SubCE35E +al 00E35C .Sub_8764_OnZero_E35C +al 00E368 .SubCE368 +al 00E340 .Sub_8764_OnNonzero_E340 +al 00E367 .Sub_8764_OnZero_E367 +al 00ED50 .SubCED50 +al 00E324 .Sub_8764_OnZero_E324 +al 00E30B .Sub_8764_OnCarryClear_E30B +al 00E3C0 .SubCE3C0 +al 00E302 .Sub_8764_OnZero_E302 +al 00E312 .Sub_8764_OnZero_E312 +al 00E2F7 .SubCE2F7 +al 00E2EB .SubCE2EB +al 00E2E9 .Sub_8764_OnCarrySet_E2E9 +al 00E2D0 .SubCE2D0 +al 00E2D3 .Sub_8764_JoinBranchPaths_E2D3 +al 00E2CA .Sub_8764_OnZero_E2CA +al 00E2BB .Sub_8764_OnNegative_E2BB +al 00E2DE .SubCE2DE +al 00E2AD .Sub_8764_JoinBranchPaths_E2AD +al 00E2B6 .Sub_8764_JoinBranchPaths_E2B6 +al 00E296 .Sub_8764_OnNonzero_E296 +al 00E28D .Sub_8764_OnNegative_E28D +al 00E288 .Sub_8764_JoinBranchPaths_E288 +al 00E20C .SubCE20C +al 00E202 .Sub_8764_OnCarrySet_E202 +al 00E1B5 .SubCE1B5 +al 00E1AD .Sub_8764_OnZero_E1AD +al 00E1D7 .Sub_8764_JoinBranchPaths_E1D7 +al 00E1BB .Sub_8764_OnZero_E1BB +al 00E1C7 .Sub_8764_OnNonzero_E1C7 +al 00E179 .Sub_8764_OnZero_E179 +al 00E240 .SubCE240 +al 00E169 .Sub_8764_OnZero_E169 +al 00E184 .Sub_8764_OnZero_E184 +al 00E150 .Sub_8764_OnNonzero_E150 +al 00E136 .Sub_8764_OnNonzero_E136 +al 00E12D .Sub_8764_OnNonzero_E12D +al 00E138 .SubCE138 +al 00E124 .Sub_8764_OnNonzero_E124 +al 00E111 .Sub_8764_JoinBranchPaths_E111 +al 00E26D .SubCE26D +al 00E106 .Sub_8764_OnZero_E106 +al 00E0F9 .SubCE0F9 +al 00E0F5 .Sub_8764_OnNonzero_E0F5 +al 00E0EE .Sub_8764_OnZero_E0EE +al 00E0C1 .Sub_8764_OnZero_E0C1 +al 00E0AD .Sub_8764_OnNonzero_E0AD +al 00E0A4 .Sub_8764_OnNonzero_E0A4 +al 00E0AF .SubCE0AF +al 00E09B .Sub_8764_OnNonzero_E09B +al 00E090 .SubCE090 +al 00E084 .Sub_8764_OnNonzero_E084 +al 00E071 .Sub_8764_OnNonzero_E071 +al 00E0B2 .SubCE0B2 +al 00E05E .Sub_8764_OnNonzero_E05E +al 00E044 .SubCE044 +al 00E02C .Sub_8764_OnZero_E02C +al 00E0DE .SubCE0DE +al 00DFFF .Sub_8764_OnCarrySet_DFFF +al 00E0D1 .SubCE0D1 +al 00DFEC .Sub_8764_OnNonzero_DFEC +al 00DFE3 .SubCDFE3 +al 00E0DD .SubCE0DD +al 00DFDF .Sub_8764_OnNonzero_DFDF +al 00DFD4 .Sub_8764_OnZero_DFD4 +al 00DFC9 .Sub_8764_OnZero_DFC9 +al 00DFB5 .Sub_8764_OnCarrySet_DFB5 +al 00DFBE .Sub_8764_OnZero_DFBE +al 00DF96 .SubCDF96 +al 00DFA2 .Sub_8764_OnNonzero_DFA2 +al 00DF92 .Sub_8764_JoinBranchPaths_DF92 +al 00DF82 .Sub_8764_JoinBranchPaths_DF82 +al 00DF72 .Sub_8764_JoinBranchPaths_DF72 +al 00DF62 .Sub_8764_JoinBranchPaths_DF62 +al 00DF4D .Sub_8764_OnNonzero_DF4D +al 00DF3B .Sub_8764_OnZero_DF3B +al 00DF34 .Sub_8764_OnZero_DF34 +al 00DF2D .Sub_8764_OnZero_DF2D +al 00E9D5 .SubCE9D5 +al 00EB77 .SubCEB77 +al 00DF23 .SubCDF23 +al 00E86C .SubCE86C +al 00E410 .SubCE410 +al 00EA81 .SubCEA81 +al 00DF10 .Sub_8764_OnZero_DF10 +al 00EC3C .SubCEC3C +al 00DF07 .Sub_8764_OnZero_DF07 +al 00E8F0 .SubCE8F0 +al 00DEFE .Sub_8764_OnZero_DEFE +al 00E77D .SubCE77D +al 00E6B7 .SubCE6B7 +al 00E0E4 .SubCE0E4 +al 00DFBF .SubCDFBF +al 00E2F3 .SubCE2F3 +al 00DEDB .Sub_8764_OnNonzero_DEDB +al 00DEE3 .SubCDEE3 +al 00DF20 .Sub_8764_OnZero_DF20 +al 00DF1A .Sub_8764_OnZero_DF1A +al 00DF14 .Sub_8764_OnZero_DF14 +al 00E2B7 .SubCE2B7 +al 00DFA3 .SubCDFA3 +al 00DF4E .SubCDF4E +al 00DEB4 .Sub_8764_OnNegative_DEB4 +al 00DE73 .Sub_8764_OnNegative_DE73 +al 00DE55 .SubCDE55 +al 00DE4D .Sub_8764_OnNonzero_DE4D +al 00DE2A .Sub_8764_OnZero_DE2A +al 00DE1E .SubCDE1E +al 00DE0B .SubCDE0B +al 00DE07 .Sub_8764_OnNonzero_DE07 +al 00DDE8 .Sub_8764_OnZero_DDE8 +al 00DDDC .SubCDDDC +al 00DDB3 .SubCDDB3 +al 00DDC7 .Sub_8764_JoinBranchPaths_DDC7 +al 00DDA1 .Sub_8764_OnCarryClear_DDA1 +al 00DD8D .SubCDD8D +al 00DD76 .SubCDD76 +al 00DD69 .Sub_8764_OnCarrySet_DD69 +al 00DD52 .Sub_8764_OnZero_DD52 +al 00DD40 .Sub_8764_OnNegative_DD40 +al 00DD7C .SubCDD7C +al 00DD33 .Sub_8764_OnNonzero_DD33 +al 00DD2D .Sub_8764_OnNonnegative_DD2D +al 00DD0C .Sub_8764_OnNonzero_DD0C +al 00DD02 .SubCDD02 +al 00DCFC .Sub_8764_OnNonzero_DCFC +al 00DD25 .SubCDD25 +al 00DD0F .Sub_8764_JoinBranchPaths_DD0F +al 00DCA5 .SubCDCA5 +al 00DC89 .SubCDC89 +al 00DC85 .Sub_8764_OnNonzero_DC85 +al 00DC90 .Sub_8764_OnNonzero_DC90 +al 00DC9C .SubCDC9C +al 00DC5D .Sub_8764_OnNegative_DC5D +al 00DC55 .Sub_8764_OnZero_DC55 +al 00DC67 .Sub_8764_OnNonzero_DC67 +al 00DC51 .SubCDC51 +al 00DC48 .Sub_8764_OnNonnegative_DC48 +al 00DC49 .SubCDC49 +al 00DC2B .SubCDC2B +al 00DC24 .Sub_8764_OnZero_DC24 +al 00DC0B .Sub_8764_OnZero_DC0B +al 00DC00 .Sub_8764_OnZero_DC00 +al 00DBF5 .Sub_8764_OnZero_DBF5 +al 00DC3C .SubCDC3C +al 00DBE6 .Sub_8764_OnNonnegative_DBE6 +al 00DBDD .SubCDBDD +al 00DBD6 .Sub_8764_OnZero_DBD6 +al 00DBCC .SubCDBCC +al 00DBCA .Sub_8764_OnZero_DBCA +al 00DBBF .Sub_8764_OnZero_DBBF +al 00DBD3 .Sub_8764_JoinBranchPaths_DBD3 +al 00DBAC .Sub_8764_OnZero_DBAC +al 00DBA1 .Sub_8764_OnNonzero_DBA1 +al 00DB97 .SubCDB97 +al 00DB8C .Sub_8764_OnZero_DB8C +al 00DB91 .Sub_8764_OnNonzero_DB91 +al 00DB48 .Sub_8764_OnNonzero_DB48 +al 00DB6E .SubCDB6E +al 00DB64 .Sub_8764_JoinBranchPaths_DB64 +al 00DB21 .Sub_8764_OnNegative_DB21 +al 00DB1C .Sub_8764_OnNonnegative_DB1C +al 00DB14 .Sub_8764_OnZero_DB14 +al 00DB01 .Sub_8764_OnNonzero_DB01 +al 00DADB .Sub_8764_OnZero_DADB +al 00DAC7 .Sub_8764_OnZero_DAC7 +al 00DAEF .SubCDAEF +al 00DAB0 .Sub_8764_OnZero_DAB0 +al 00DA9C .SubCDA9C +al 00DA91 .Sub_8764_OnNonzero_DA91 +al 00DA90 .Sub_8764_OnZero_DA90 +al 00DA4B .Sub_8764_OnNonzero_DA4B +al 00DA4A .Sub_8764_OnZero_DA4A +al 00D9FE .Sub_8764_OnNonzero_D9FE +al 00D9FD .Sub_8764_OnZero_D9FD +al 00E1EF .SubCE1EF +al 00D9BE .Sub_8764_OnNonzero_D9BE +al 00D989 .Sub_8764_OnNonzero_D989 +al 00D96E .Sub_8764_OnNegative_D96E +al 00D988 .Sub_8764_OnZero_D988 +al 00E346 .SubCE346 +al 00D93C .Sub_8764_OnCarrySet_D93C +al 00D933 .Sub_8764_OnCarrySet_D933 +al 00D93E .SubCD93E +al 00D92A .Sub_8764_OnCarrySet_D92A +al 00D958 .SubCD958 +al 00D94F .Sub_8764_OnNonzero_D94F +al 00D904 .Sub_8764_OnNonzero_D904 +al 00D8EA .Sub_8764_OnNegative_D8EA +al 00D8C9 .SubCD8C9 +al 00D8C3 .Sub_8764_OnNonzero_D8C3 +al 00D8D5 .Sub_8764_OnNonzero_D8D5 +al 00D8A0 .Sub_8764_OnNonzero_D8A0 +al 00D887 .Sub_8764_OnNegative_D887 +al 00E714 .SubCE714 +al 00E744 .SubCE744 +al 00D87A .Sub_8764_OnZero_D87A +al 00E815 .SubCE815 +al 00E848 .SubCE848 +al 00D837 .Sub_8764_JoinBranchPaths_D837 +al 00D7E0 .SubCD7E0 +al 00D7DE .Sub_8764_OnZero_D7DE +al 00D7D3 .Sub_8764_OnNonnegative_D7D3 +al 00D7AA .SubCD7AA +al 00D792 .Sub_8764_OnZero_D792 +al 00D7F0 .Sub_8764_OnNonzero_D7F0 +al 00D77B .Sub_8764_OnNonzero_D77B +al 00D76C .SubCD76C +al 00D768 .Sub_8764_OnZero_D768 +al 00D757 .Sub_8764_OnNegative_D757 +al 00D77A .Sub_8764_OnZero_D77A +al 00D746 .Sub_8764_OnZero_D746 +al 00D70E .Sub_8764_OnNonnegative_D70E +al 00D6F6 .Sub_8764_JoinBranchPaths_D6F6 +al 00D6E4 .SubCD6E4 +al 00D71F .Sub_8764_OnNonzero_D71F +al 00D6B0 .Sub_8764_OnZero_D6B0 +al 00D742 .SubCD742 +al 00D6A6 .Sub_8764_OnNonzero_D6A6 +al 00D69C .Sub_8764_OnNonzero_D69C +al 00EE72 .SubCEE72 +al 00DD81 .SubCDD81 +al 00D67B .Sub_8764_OnNonzero_D67B +al 00DD2E .SubCDD2E +al 00DB1D .SubCDB1D +al 00DBD9 .SubCDBD9 +al 00DCA3 .SubCDCA3 +al 00D669 .Sub_8764_OnNonzero_D669 +al 00D666 .Sub_8764_OnZero_D666 +al 00D838 .SubCD838 +al 00D7F9 .SubCD7F9 +al 00D643 .Sub_8764_OnCarryClear_D643 +al 00D676 .SubCD676 +al 00D658 .Sub_8764_JoinBranchPaths_D658 +al 00D747 .SubCD747 +al 00D615 .SubCD615 +al 00D87B .SubCD87B +al 00D60C .Sub_8764_OnZero_D60C +al 00DA54 .SubCDA54 +al 00DA07 .SubCDA07 +al 00D9C7 .SubCD9C7 +al 00D95E .SubCD95E +al 00D8DE .SubCD8DE +al 00D612 .SubCD612 +al 00D5EF .Sub_8764_OnZero_D5EF +al 00DA9A .SubCDA9A +al 00EE4C .SubCEE4C +al 00E289 .SubCE289 +al 00D5C0 .Sub_8764_OnZero_D5C0 +al 00D5B3 .Sub_8764_OnCarryClear_D5B3 +al 00D5A9 .Sub_8764_OnCarrySet_D5A9 +al 00D59C .Sub_8764_OnCarryClear_D59C +al 00D594 .Sub_8764_OnCarrySet_D594 +al 00D585 .SubCD585 +al 00D54F .SubCD54F +al 00D54D .Sub_8764_OnNonzero_D54D +al 00D56E .Sub_8764_OnZero_D56E +al 00D574 .Sub_8764_OnNonzero_D574 +al 00D52F .Sub_8764_OnNegative_D52F +al 00D581 .Sub_8764_JoinBranchPaths_D581 +al 00D51F .Sub_8764_OnZero_D51F +al 00D514 .SubCD514 +al 00EF19 .SubCEF19 +al 00D513 .Sub_8764_OnNonzero_D513 +al 00D4E0 .SubCD4E0 +al 00D4D6 .Sub_8764_OnNonzero_D4D6 +al 00D4B3 .Sub_8764_OnNegative_D4B3 +al 00D4A1 .SubCD4A1 +al 00D46A .Sub_8764_OnNonzero_D46A +al 00D496 .SubCD496 +al 00D45A .Sub_8764_OnNonzero_D45A +al 00D44B .Sub_8764_OnNegative_D44B +al 00D42A .Sub_8764_OnNegative_D42A +al 00D41B .Sub_8764_OnNegative_D41B +al 00D404 .Sub_8764_OnNegative_D404 +al 00D438 .Sub_8764_OnZero_D438 +al 00D3E7 .Sub_8764_OnNonzero_D3E7 +al 00F985 .SubCF985 +al 00D3B9 .Sub_8764_JoinBranchPaths_D3B9 +al 00D38C .Sub_8764_OnNegative_D38C +al 00D37E .Sub_8764_OnNonzero_D37E +al 00D376 .Sub_8764_JoinBranchPaths_D376 +al 00D357 .Sub_8764_OnNonzero_D357 +al 00D38A .SubCD38A +al 00D316 .Sub_8764_OnNonzero_D316 +al 00D34C .Sub_8764_OnZero_D34C +al 00D317 .Sub_8764_OnZero_D317 +al 00D358 .Sub_8764_JoinBranchPaths_D358 +al 00D2FD .Sub_8764_JoinBranchPaths_D2FD +al 00D2B0 .SubCD2B0 +al 00D2AE .Sub_8764_OnCarrySet_D2AE +al 00D2A9 .Sub_8764_OnCarrySet_D2A9 +al 00D2A4 .Sub_8764_OnCarrySet_D2A4 +al 00D29F .Sub_8764_OnCarrySet_D29F +al 00D28A .Sub_8764_OnNonzero_D28A +al 00D27B .Sub_8764_OnNonzero_D27B +al 00D272 .Sub_8764_OnNonzero_D272 +al 00D263 .Sub_8764_OnNegative_D263 +al 00D227 .SubCD227 +al 00D215 .SubCD215 +al 00D20E .Sub_8764_OnNonzero_D20E +al 00D213 .Sub_8764_OnNegative_D213 +al 00D201 .Sub_8764_OnNegative_D201 +al 00D21F .Sub_8764_JoinBranchPaths_D21F +al 00D1E4 .Sub_8764_OnNegative_D1E4 +al 00D1DD .Sub_8764_OnNegative_D1DD +al 00D1AC .Sub_8764_OnNonnegative_D1AC +al 00D194 .Sub_8764_OnZero_D194 +al 00ED30 .SubCED30 +al 00D16B .Sub_8764_OnNegative_D16B +al 00D19C .SubCD19C +al 00D15A .Sub_8764_OnNonzero_D15A +al 00D179 .Sub_8764_OnZero_D179 +al 00D129 .SubCD129 +al 00D1DE .SubCD1DE +al 00D114 .Sub_8764_OnNonzero_D114 +al 00D117 .Sub_8764_OnZero_D117 +al 00D103 .Sub_8764_OnNonzero_D103 +al 00D0FB .Sub_8764_OnZero_D0FB +al 00D0EB .Sub_8764_OnZero_D0EB +al 00D0F6 .SubCD0F6 +al 00D0D7 .Sub_8764_OnZero_D0D7 +al 00D0BC .Sub_8764_OnNonzero_D0BC +al 00D0E2 .Sub_8764_OnZero_D0E2 +al 00D0DF .Sub_8764_OnZero_D0DF +al 00D0E7 .Sub_8764_OnNonzero_D0E7 +al 00D3BA .SubCD3BA +al 00D09B .Sub_8764_OnZero_D09B +al 00D07C .Sub_8764_OnNegative_D07C +al 00D062 .Sub_8764_JoinBranchPaths_D062 +al 00D047 .Sub_8764_JoinBranchPaths_D047 +al 00D035 .SubCD035 +al 00D01F .Sub_8764_OnZero_D01F +al 00D017 .Sub_8764_OnZero_D017 +al 00D00F .Sub_8764_OnCarryClear_D00F +al 00CFFD .SubCCFFD +al 00CFF3 .Sub_8764_OnNegative_CFF3 +al 00CFD4 .Sub_8764_OnCarryClear_CFD4 +al 00CFB9 .Sub_8764_JoinBranchPaths_CFB9 +al 00CF9C .Sub_8764_OnCarryClear_CF9C +al 00CF7D .Sub_8764_OnNegative_CF7D +al 00CF53 .Sub_8764_OnNegative_CF53 +al 00D025 .SubCD025 +al 00CFA7 .SubCCFA7 +al 00CF29 .Sub_8764_OnZero_CF29 +al 00F15B .SubCF15B +al 00CF08 .Sub_8764_OnNegative_CF08 +al 00CEBB .Sub_8764_OnNonzero_CEBB +al 00CEB8 .Sub_8764_OnZero_CEB8 +al 00CEAA .Sub_8764_OnNonzero_CEAA +al 00D264 .SubCD264 +al 00CE9B .Sub_8764_JoinBranchPaths_CE9B +al 00CEEA .Sub_8764_JoinBranchPaths_CEEA +al 00CE89 .Sub_8764_OnZero_CE89 +al 00CE5F .Sub_8764_OnNonzero_CE5F +al 00CE6D .Sub_8764_OnZero_CE6D +al 00CE5A .Sub_8764_OnNonzero_CE5A +al 00CE8C .Sub_8764_OnNonnegative_CE8C +al 00CE42 .Sub_8764_OnNonzero_CE42 +al 00CE3D .Sub_8764_OnCarrySet_CE3D +al 00CE3A .Sub_8764_JoinBranchPaths_CE3A +al 00CE2A .SubCCE2A +al 00CE1F .SubCCE1F +al 00CE0F .Sub_8764_OnCarryClear_CE0F +al 00CDFC .SubCCDFC +al 00CDF8 .Sub_8764_OnCarrySet_CDF8 +al 00CDEE .Sub_8764_OnNonzero_CDEE +al 00CDE1 .SubCCDE1 +al 00CDD9 .Sub_8764_JoinBranchPaths_CDD9 +al 00CDBC .Sub_8764_OnCarryClear_CDBC +al 00CE8D .SubCCE8D +al 00E5A6 .SubCE5A6 +al 00E4C5 .SubCE4C5 +al 00D2B4 .SubCD2B4 +al 00CDAA .Sub_8764_OnNonzero_CDAA +al 00CDEA .SubCCDEA +al 00CDBA .SubCCDBA +al 00DEB5 .SubCDEB5 +al 00D5B4 .SubCD5B4 +al 00D582 .SubCD582 +al 00D3A5 .SubCD3A5 +al 00CDB1 .Sub_8764_OnNonzero_CDB1 +al 00D0FC .SubCD0FC +al 00CD81 .Sub_8764_OnNonzero_CD81 +al 00CDB0 .Sub_8764_OnNonzero_CDB0 +al 00CD76 .SubCCD76 +al 00CD78 .SubCCD78 +al 00CD53 .Sub_8764_OnZero_CD53 +al 00CD48 .Sub_8764_OnNonzero_CD48 +al 00CD47 .Sub_8764_JoinBranchPaths_CD47 +al 00CD65 .Sub_8764_OnZero_CD65 +al 00D447 .SubCD447 +al 00CD14 .Sub_8764_OnNonzero_CD14 +al 00CD1C .Sub_8764_OnNonzero_CD1C +al 00CEF2 .SubCCEF2 +al 00CD03 .Sub_8764_OnNonzero_CD03 +al 00D2FE .SubCD2FE +al 00CCE7 .Sub_8764_OnNonzero_CCE7 +al 00CCD2 .Sub_8764_OnZero_CCD2 +al 00CCCC .SubCCCCC +al 00CCC0 .Sub_8764_OnZero_CCC0 +al 00D4E5 .SubCD4E5 +al 00CCD6 .Sub_8764_OnNonzero_CCD6 +al 00CCB5 .Sub_8764_JoinBranchPaths_CCB5 +al 00DDD2 .SubCDDD2 +al 00CC90 .SubCCC90 +al 00DE60 .SubCDE60 +al 00DE14 .SubCDE14 +al 00DE8C .SubCDE8C +al 00CC81 .SubCCC81 +al 00EF8D .SubCEF8D +al 00CC6F .Sub_8764_OnZero_CC6F +al 00CC64 .Sub_8764_OnNonzero_CC64 +al 00CC5E .Sub_8764_OnNonzero_CC5E +al 00CC56 .Sub_8764_OnNonzero_CC56 +al 00CC50 .Sub_8764_OnNonzero_CC50 +al 00CC4A .Sub_8764_OnNonzero_CC4A +al 00CC44 .Sub_8764_OnNonzero_CC44 +al 00CBF5 .Sub_8764_OnNonzero_CBF5 +al 00CE40 .SubCCE40 +al 00CC25 .SubCCC25 +al 00CC1A .SubCCC1A +al 00CC0F .SubCCC0F +al 00CBD5 .Sub_8764_OnZero_CBD5 +al 00CBD2 .Sub_8764_OnZero_CBD2 +al 00CBCF .Sub_8764_OnZero_CBCF +al 00CBC0 .SubCCBC0 +al 00CC30 .SubCCC30 +al 00CF37 .SubCCF37 +al 00CB72 .Sub_8764_OnNegative_CB72 +al 00ED65 .SubCED65 +al 00CB2F .Sub_8764_OnNonzero_CB2F +al 00CC65 .SubCCC65 +al 00CAD8 .Sub_8764_OnNonzero_CAD8 +al 00CAC5 .Sub_8764_OnNonzero_CAC5 +al 00CAB1 .Sub_8764_OnNegative_CAB1 +al 00CABC .Sub_8764_OnZero_CABC +al 00CF63 .SubCCF63 +al 00CACC .SubCCACC +al 00CA89 .Sub_8764_OnNonzero_CA89 +al 00CBFC .SubCCBFC +al 00CA82 .Sub_8764_OnNonzero_CA82 +al 00CBE2 .SubCCBE2 +al 00CA7B .Sub_8764_OnNonzero_CA7B +al 00CBD8 .SubCCBD8 +al 00CA74 .Sub_8764_OnNonzero_CA74 +al 00CAF9 .SubCCAF9 +al 00CA6D .Sub_8764_OnNonzero_CA6D +al 00CA9B .SubCCA9B +al 00CA66 .Sub_8764_OnNonzero_CA66 +al 00CA57 .Sub_8764_OnZero_CA57 +al 00D09C .SubCD09C +al 00CA56 .Sub_8764_OnNonzero_CA56 +al 00D086 .SubCD086 +al 00CA4E .SubCCA4E +al 00CA44 .Sub_8764_OnZero_CA44 +al 00CA18 .SubCCA18 +al 00F018 .SubCF018 +al 00CF8C .SubCCF8C +al 00C9AB .Sub_8764_OnZero_C9AB +al 00C9AF .Sub_8764_OnNonzero_C9AF +al 00C9EC .SubCC9EC +al 00C994 .Sub_8764_OnNegative_C994 +al 00C93B .SubCC93B +al 00C92F .Sub_8764_OnNonzero_C92F +al 00C92B .Sub_8764_OnNonzero_C92B +al 00C944 .Sub_8764_OnNonzero_C944 +al 00C916 .Sub_8764_OnZero_C916 +al 00C917 .Sub_8764_OnNonzero_C917 +al 00C970 .SubCC970 +al 00C8FB .Sub_8764_OnNonzero_C8FB +al 00C8AC .Sub_8764_OnZero_C8AC +al 00C890 .Sub_8764_OnNonzero_C890 +al 00F143 .SubCF143 +al 00C8ED .SubCC8ED +al 00C86C .Sub_8764_OnZero_C86C +al 00EED9 .SubCEED9 +al 00C853 .Sub_8764_OnNonzero_C853 +al 00CA31 .GameplayUpdate +al 00C865 .AttractMode +al 00CCD7 .StageClear +al 00C84C .NmiExit +al 00D3F1 .GameOver +al 00C83D .Sub_8764_OnZero_C83D +al 00C849 .Sub_8764_OnZero_C849 +al 00C843 .Sub_8764_OnZero_C843 +al 00C827 .Sub_8764_OnNonzero_C827 +al 00F0BC .SoundEffects +al 00F9A0 .GameplayAudio +al 00F085 .AttractAudio +al 00C819 .Sub_8764_OnNonzero_C819 +al 00EF36 .UpdatePPU +al 00EF4A .UpdateSprites +al 00C7F1 .NmiHandler +al 00C7EA .Sub_8764_OnNonzero_C7EA +al 00EF55 .SubCEF55 +al 00C7E0 .SubCC7E0 +al 00C7BE .MainLoopEntry +al 00C7B6 .ClearScore +al 00C7CA .SubCC7CA +al 00C7E6 .SubCC7E6 +al 00C776 .Sub_8764_OnNonzero_C776 +al 00C76E .Sub_8764_OnNonzero_C76E +al 00F09B .SubCF09B +al 00C764 .MainLoop +al 00C76A .InitObjects +al 00C74F .Sub_8764_JoinBranchPaths_C74F +al 00C73F .Sub_8764_OnZero_C73F +al 00C735 .Reset +al 00C271 .ObjectInitData +al 00C000 .LevelData diff --git a/_wip/Millipede (U)/copilot/reconstructed.map b/Millipede (U)/copilot/reconstructed.map similarity index 61% rename from _wip/Millipede (U)/copilot/reconstructed.map rename to Millipede (U)/copilot/reconstructed.map index aaf7f17..1ad1cc6 100644 --- a/_wip/Millipede (U)/copilot/reconstructed.map +++ b/Millipede (U)/copilot/reconstructed.map @@ -1,13 +1,19 @@ Modules list: ------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 prg.o: PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 Segment list: ------------- Name Start End Size Align ---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 PRG 00C000 00FFFF 004000 00001 diff --git a/Millipede (U)/copilot/reconstructed.nes b/Millipede (U)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..3f2d61516af33d520cde112a4dfd1fa2bcfc1df4 GIT binary patch literal 24592 zcmeIa3w#ts);C<;J-19QGvVeCLedH05*Bq-lvxR6#K=N+7E!@v_gUOVLWEsdBkLt< zNCu<>vW^a}aT8o5J4>?}R@|^_R-1=^m(6m z-}imK-}n7~UnSjDr|Q(Hs#E8jI#u1%(;j#viD4K*h!qzh|8e1`7aqLmIiGgGK=^V4 zNuP!IDofHoWC^Du9Mi!u;WT!78as866{U+FEcTwhiF0qOvEHVq&L zQXg0YrWGrmSjSg+ov1%$x?00c@vGEPq6Vq}I~rAC?Z(j7Z^pMegq78@0t{N|S^x~T zT@ONm+iQ1D7YNb1(oCu2Uqwq)$EDUqDGh38QQXWCy@3#;kzNdA&=X=&(-dae_#0rx z%CMYHZ!pDJ`!ROT5Yw-p&1AFLfMmKBZb)C~ym0Z-x0kQ9cXVF8aOu*Oj;mc=?Ok16 zm%F+$GL&nfPg2Rq%IF)c=0OP=8Mf4fA$@Z*+-|qm>#eM;t_}obxkcgaJa07$cf0Mp zy?~$3Tlp-;>2?Oxu*|)5 zKT8~$_(qSc->P3*zpnmI^?$CH>i<&jum5ZPrux6t zZ?6AGeNFxQ^|kdM)z{T;soz?^t-hgtM}4UNllootd+I-}|Ga*0{r>v&UpzMZmpMY- z{DpJoEm-t;{;z&B_laLWnN#p|VbN31Jilb|vo93?_PG~Jav+wkEEQk&EGu30>Pstr z_gc;kd;^e9GX`%<*>?Lj=eCEoJ-*Fs9yG{g8Z^jYNJ`?kp+kSW?YV6)ZY$ZAK78b8 zR%b9-2lB)1cSE)yVkbU3@x_UKCk}inf4cWG`Ln&B%b)N4Lf$LyllRL95tBwp~gQYB-LWE*!x`l zp{Ch{w+u1cE%#)O!9~>4J4U8i(npN43>$un#ePR3>BSi~8hN8NoN>d(SVj%BTSko- zeFM&@aicAx#%VY|95Kd{W*=!8F)aB8oDBO2ONL#;88K#*C4KlP%cwDfZosjR$gtQ) zXgIf^-9e*h?w3S8uP`esFvD_Ou4!#^80Tp`fxidpZq**Q>_R zD_SfRcq>)3o|_1l&(R5Fw(&>TK{Fx228|F1EYIvq$NrTwnX((%0+aNV;YN%tDE;W@?m2YD`Xe%W)G^IYLP?VP8B zLtBYXzrn-seCrN==ML9DcOc8odG6r&7POLiQnb2eo<}0AHitqzFZQFi{sI7o$GwtN z5O$?}m1Ycb0=GoPl@g~WQNp?B`FqZ9dXtk)oBqJb94{(-Whei!BHb_R{890KNlikZLgxu1y7xm=C>{w8{#*GTVo?3DJS=D~B|$+e;TqiD@36)2qRY@^oOt{9tW z_3!Yti=>p{@4w*ZJq8}VGVneEbR&Q5f2VxG|4-ky??gF8=Xd(9^j2_qIM)A;hhb5R zW&NyJ0Inci$$9?7dAywG_nhA$PWD?o1D%`Rz?l3dvD-geoGeY2&B#SD<0=SkigNNT ze#JxBO%X2Bu9(k7xpQxT-C}`&oH5e^^6)V~3CPCG4B6-!9}3P1&Y@IV=SXuhIdRU0 zId#v~qc&yf?>WyKoR}dF7e|OA#Zh9WI9mLHI7YlxyiL4aw2OC$cZzrUbz*^-&tv)+ z5tYQnew#Q~niFE}@&06SE{dP<6aGvHMR}Wk&&mDJ4x^a-X3yK4XB~&~sWfL}T{$PF z)ve*g^twNC;xJIl<6qfBYiZH1{hUYQJR2}fG=7&jUtEB?-GXfaL&a>BNc?FcKD%w4HpZEXVVIlx34NRnhyc zVj>+~;)cAM#UV!KTyO0Rv4}c%h9Fw51D}L+h`#C~BxFF;v{RF9{$D#b)+w&U_D{h|GuY__5ah;%?fDG{}8AT!>})2~?E1Xgx4DqT&iXClGqsCIrbS%HkK5y4DQ*+Diw&R@6dQrN72I2bX(;wL zdVb9MO`Zo?|4Ppk*5hLRb3D^n{|fP#{|WIpZ*Rh&xw6I5!Vss#gp7(Q6ss5om!-*- z)Z`l8#5;EbK?km=9Eq3mrc9-B;@mx7%tMKumI&grn5gFg8p;+!76idRQR}j6-dX>o z>&eO2lUC6w-X~7-IVs;NqdLW)dVn)5|*Zo>18W(UrKjXEy!1K0Y%l-bUcTlCI>3Lpi~nX9y46p`GGG|< zWdo*;fA2GaZ#d3xIN|c_uC&&2Y{=pr6soQ6S4-HC%^O?GvYAIKSl0E`E+k`kBpVR| zUhn6E4{Jc}I5uRhhSu#01-$)h?_^`F6?d|=_t5wr)|I*&Sse z>q4>M+(pWb4SD2m~RX*?uwH2@uR~FSQ zq6!#!o2$F7m8)V{^o$V+{~s5i^OW^i>;AHbA1*_&pTk9!&jLGy?sB29eZFZa_1`uzmxRRNMjX zWZ18O@^b=}jk>aWkbJXVL~(8HrPXX>AmY7pQxT@}@Mcydfi>R#n3e=@JnEBGQ#Rxs zk+}IA%cs~D#8ydUH9Nnmv8^T6{<)8oJ5CL%3dB}7R>t~K&=?qGZ@-Bu9GG8iW;2Zn z+e+gC8aDLWt?swa&{O4D*H`POL2C2OnSN;9Hah$rjH-W?6U6m)bj$A}X zsHR!9RXB$K@N;NbloJH%icFRUW?B`8G;miLr;L>bddfJOt;2M5L#LEMQX>4HM0Kr) zCceq}ot{5%kR2plS7Z%c(d|YaMaST=b_p7is#lC4{Y|lANs9544SC|<%H|8MBcJ*h z$u>MmjFScrw~6smwOCmCygx^@z{H3IEV@s^9hH)TL?WWOs`kP*(c=2!r~WCT#UCe{ zk;KHr+hhBbiDt>tYIdA3tC&)p$Vl-byK_|=Z$FEU8AUT~ffC685m2Qz(Xw_d7P~|% z=gR!lKLAn#cj*q!zuI#b^%uu-QnhWt)h&^dj6Yg5?)0vG}4iAyfd5mk2RL#&n2<;`8t@CkUa&>cmi>x?kvn z>i(hX>H+?bT-BfX->0_^=&hFCKE(R1YI=^8x6y2_!fL&-b~tH%ZJYhhkhl7_wpH5V zeMw!szvVXMMJl-~`QNkBL({ueN;9Q|oszI`925Abc(0o`Wy7WN6T_1kF zN`$i`(lu}@>~r120oAqXXTL1X&D7=QZmi1-U~UEJX>2kQ#1}V(*QNBc+8{ zd+YXXQ`;Sab{R;QM9`>@KxnFfooLr%6|hnfr?OaD*fPkDRaTui=~;B1f$5@)OU=EQ zPX*hI3LWcu^NWx}j;m!@IFc2N3ftvTSh296R2W&TSB_IA4R_U)ns+wV?cNHsx>H*# z^z8hNZR)zy!rK2Ttg_8}O|)!WHKlwCR(^F6!&;}v$&y7$FMG%DEW20IS8%Lk05$)| zw5^sedX_EL{`vf>`5V<~&ZHEiyrDH)W2_=m_s6aL;PZYvOmQboIH8Plkx67rm$R#? zdX|U1LD>6!L6O-^*0UA;S)s-o<1F*G(KWfnWdA!@w^4A3d%?^XHg&L}%4!|lofkqo zywt6IVN(}ftqp!w{{k{U@EZIKO;Hy>?H&h5fPeXGP}vO%uK`^oAcHX#K{U5QT3zS( zHD9W@2EKcbtKUBU$N~PbgZz$zyzxtZ#+Ns&sRsVV1FnJl_#f?uPm&FayQLSEahssC z1cC>u1=p!QyAN3*-pc`-@7&Kj4*bt3bD+%s`7nR*5I^(~e_J!P2w2~r*65)H+X9{1 z2#pzjX*0k091tLYp?K)yr2U};#SpT{PX!CnEov9x>136ffdL%NGmH%-SdBf^+gfz?Q;h+gHNi)uLdPkcSO{|j|r z#A(%(7Na$>4MOEE^Qy8(`?8Y?q@wph5BB>Qba4JgzgXrC&Z90g)z+tQMFpu%xmPMh zCs$x*-90nA_?$8vnR;Xzd}ca0&FwA~SMXEX_r$SI{#wRL{BQK(*Kfgx+5+&Z50k9+Hp-+sYEh`Cg&2B8 z0bB7~*2h6|jk4ZnaD@)Q9b|p_-qvX6t_{-vN}nd~qD|O)nuzT&F`WG*ZR1C)rqrTb zPs+I^&pHSV)cayx6A!}Y)%#*-f=9xLgiqI}(fJ$s$;Ym@ED^^En2!_62!HwY zK9t7S{+RY+%8dhM?XBuSH^fUtLvsUS5yjF|EW-_L@aMmRLrT3-%@^&{+$rVGUVd(x zizXnS0vdsYVoq7B+jZIHz_4BUP&p`dOJ}ma+u^u43 z$ltBH#^348H;Ti*yocDYHDdFx5gQ6(Nj_C`RN?Z>XFWiA(H|M^5k1$31kHRp)1)N8 ztZC+b>6D^xnQB?~Fd@YaZsc!1chM9jlldEcBWFr!BRk^vDoMO?` z4Z5x`rv|pIg@wQM$1k;2tsGv`1n68j)Kro0f_8Cbm8y=7$+*X<+1yml zj4-g0LQ}cSqu1^IdxEC!nu22!J4jAc34un86)J3U{ozn3QB`{*3NGo5WnS0;bW9i0 z+eb=;iUo^ztZFZ;t%a_pL%^~s36S?QLXhr%fr|YpR_AMd$4Igc1C3W=a7S-6Fc1nT zYDuNYWGZU1w{xt-z#f?;0@lKI{opWU`4m#9ZV^rV)WZtxFJI=R%UD~B2`w}q5=!;U z4b<`-*USBoX$J!jQv}px_445cOveWOdaQ54b(#+y zR=zxMCf&*u6JbA zuBvR;gVk*F&8&6}Z>E&KTVETbbXbtiU|HJmjAUybSzqm>!v(TaiR& zTeZ`5xVd+4N$B2^kqR>zId(J2RB{nqu}6@!h-O+}GOJy>nL^5u@1bC!)m9UU3cT4h zlTuMAm`GNW9$KPB^}C*j8)=j*@FPWwM0d^y={EOE>QUqD$EIk0SD|eIti^`s>$Ysu z(<4b9J$)XMpU}!+FJ;1gpq*`nV=(O~|L3Fp`(La6%k+>@c^Ic(GvK%Nm$GD|UlFrh z$Bxir9I*IR{?ga{fW7>dqx|s}{{2>d$w_IR{*=P;N*fa2Adz(jiPK0d{f4(57x;y3 zu3<;{=T6i6-czU#JIxhceaIwR zYWuM(GWDwt;EzOf(3ej&~4j10-d6RV#*G-QC(Dx(y^n$)F`$ebQL!EO)8V% z)ys^4laBZe@io&FFtqH1Yth#|%)_x2)}OKyt^bhzkr@{vXm*Xu@s-;CTQp%p&L5HR zudSHMO231w#@8%?=EPw+A(V9lprYJ{^?O5Hb3;Ihp?&)?>vDdL)jYI=!mm_Jp)jpE z)mpZMwq7(LHy~$em39S`5nzHz$=VR7iUzWq_XNDRx@x}ClGW*wE!5#n-VjfH-6F9F zBtU)dF(t-vqKCQ^H0c38WfOSKB83wblZbzU3 zXU{9qPwJ4&rVfeUUN%j#L3alax6qTIPyoosXy5nCnP{iiry0FlNzztRc-vO2Msfal z)rIxPQ~&vdzEwOyC#W@EdM0G_#z^rYy4H5K2vky~AA`R}@yGN8Hn}E%{Y5VN?Kk{|Cb{J{juVUAPpgA!$+pzDCbID&L(ddQzeoZ|)YgG$pKO(5Z)#GW;>975q z?U@jk?vPg3soWA`6wVbm2AnQ0O~6_^5#bo^nY!Nu;M%^b=0fwBMuEX40SCX`QkFGMTW z{we@DaTOgy!uAXhYV#3qE88}|3TWWwZFIXPkE#h!`%Y@Mi3|^>+BBx(pd!H<2W_Rh z0z4}MOP|S%gH967ojp##%=WK^8uXf0ZT-9S_e>j@TIGr!Q>Aw!O<0lh4if%%;iUD$ z>E-HxsPi-Y+OvZ6l!8NDy09Iru&Rg0bTPju9hjOX9-#TuRH%zyI^C$aW*x8f5-foh zi8*+X$fj1DhlO<3czX1CqHR@Gi{8FVkQlnN(c=hG)Is++?EXatX8~}qF}6XH?jT{S zEs`FQ*VM{MTqwpmC~&npk%~%Sx_1wjy-zATT+bXAqyxECK6K(*=XCN#^tW`sB;$O| z42i%)(c^8l$>vod)_YFa*HqIKl5vtQQ#qC^O>caKDQR;3>O^J~D@C-dscf$h`o=pd zblKZ4bk%Fbqoc1-TFI(WNI{NH%Q0vFiQ z+1}RuwNGpl+1mNrL=MMQHJ^f^pNUL>D2V~H5)b~RRkK0HaVib`u_>!^Hwu!BsyH7c zVyrsGho#u-75Up*B?1SHNDS@_jvrs+2ef{7Ypx6nt{teX4agn`s&;gE&g?Rkpq_y^rOK_4!IwLiic7OcS-jd)7RRYrqT z7O*HCqENuf{Xs2tW8E78?Cm8t_V_Mej~IAcU@$fVn^pAww_X2e^RKITibWk|49q@0UDmhm)j2G- z%Q%6a0See1gX8bPgkl9q*t9)Bt-f`)z~WzHJ9iGLB-jR;K+~tRk%7hiAwrkE@#+>_ z-GKA!PoYh1!;N;ku)~#p6&mdwAWfHbzUigYLoA*5!C00N^>6{3bBT6C^2F$91?taH z-vkW|qjQ&{?qjfm4Yc-GH+|}sQJp`XI)6@;(Wk-au|13)qcM6Yn!pPGsmkc3;8g(o zF+WeyT?4=A;nKc7EZ^W7@s0m4JuJ_?&ho-BVyt?XUu*yTMAFZG_(U#vyW? zqGuQ`%W3qS2aK%;VAP@od93uo)I{-vP5Bs+Cm#^B*eJ2oU{D;}JPtUt);wBEkRHNh z3Z)N)bP7h1)H|6fr%^5~r4&6etmx5rE%>eK41M$cs(^aTR&Yyt37m3mI^DypzN)a^ z^{>-@sb^k(b$wp!XXw1Za2K%6iCew8HrIjEbS}1FUZ^{1@;e7FW&udcdnQTw{z;-u z|EG#n&AB$8rc?I~Cd8(iFAuyH&J{g_spBwpzV)sDl>VvChV<$JswCfNW8O5scV5(U zAIwVx^8!+IZf&q`s?v?3##^!Mp3maH*Vf^g1ZwvT>+ffz<(LNGzeFR34$cTn>VyLe z;)a8zO}|Eh;CM+@P3kqrBTGdP8LFDl#gWj(hgDsCIKoT)f>*hm-cFJdjN@lrP zGC58ds>Ik020SS)pU18@qe+T3)k)iKT#kbPAb%~z0?)b+-QR#`{$h+2LrI#%7~tUP zvW^nePKij+C?8VK4d~*||MDFE)t+po{4aa7t&t`en$WP|27b5byE#50J=*YdZ>(Zz z_yz7UF8Q1^3mJo@pEmr5nmxNW`)A0Y6Jb#&!Xms&xH^_o#;HdfRke{VU_QOmTOtqR@drEim=4g--|$P(dQhWnW1xL4-XV?`J&&oPzoWTxJ*EuZvosYov5j1<2m4D z;?+;#-#$Ozc8XXp3V6aPvhUitT2o*x-u8Q1X}lqoX+*Bbh`Lpdc?|!ovhh_sA1277 zXd<_>mdE)Fz#yXxRRQ(52N^4ajQrJlT>x9{7)lvOYB+>g&)QI9!8l~7vqa|ztkQ30 zRk72dBVdKv4~e#d{z!V!prtUwNCXY?C1j%?Ha|ZP^6w|}7?BC;D<`R)s4BWp$=iKlfJ%0|=-M^aCd!v&xnbo8L5T)c*cWG@<$!)u1irkWA5 zu4bfSsOD=jrbf#$9MrbfjO4XiG(rs;4HtOl#d%D~>}40|v5;YfPO>M{OES(H>RXfhpVZHh|7iF5{H5CPU=Ggf#FZ9b+E`dM3rN z6T$jd%8|cOeA(vxY*-_cGc5GL%waO(PZ1wLd=PO9;;#_5F)N3idSK%)g)t4g@PL^o zN7{G>mkrloTuHcw;7Z0d6jutaR9x(%ZG1YeNsqP-qu1lOmf`X}+LpfT(UIvsT=lrV zestt87FYVCBl-KV8=CZJD?f|*il4LpIA6H`Df{`j4rH0?U^<)OpPM^5bCh2Nvx z6r2>+-I&=6(lVW{2Rg5#AjL%nlIPWYCm;Y$GL8QBg*ctWi3}%h1o)_{qN7|z>mh{- z2sy|@pf@cam9?OOIXO8L)PSCn|Fejn%|5n>e>|C3dHN%q0{7|ycXYZ?Ssl<19Der$ zGv^`VmnAcaX?NWB(4421zW&tG=tFb!8`UE1rKAG!3?5_JCnfu$9e*fE-qL0k|^FN{{+bGABS@RL`UnlDZ zWQ@(3k@xiSH}F3rZ~c4Gn8BGbQ-8JqQCg1eu|?4_OMVgk<&fmKA4JDIHfG|jQCGsm zln2w+51xIiYvGb<3x5$UnwS8rK4m8pvu=+L9Wy&RdrVfs#4(R0OuRi^97Jivso7%| zEu46(Ys{0kE^$4W9_&A6_U!1yTjPg5HZ3}F;k1Plix>W4*yz}6ypP7 zF8M`5G@&TkQ$0$n4-4?xFTjYtC!R86{rW%oH~9Dm)@(!=oj$CE&l&jh$7cO}CO<&^ z71Kb*L`ybqWUfu$|LbRBs%1ztW%iic7fy`EWBk!EX)oWDla&^-{NP5M^q8A+vi=*V zp??oEuT8@n>;ELJw^|>VNm)IxXBvL~^Xt=~|IRdIlK~dT=ph#V-Z2(_#6ZhEBX6NF z`N7hX41!++BIe)=Qb+zys>nL{fyJbN`72YzJi$E7WHZU6o17zG zaX)1{*$u3ly_Zd5!pu=-yWw5^CH+tIjP4okWzI0rX786^)SCy4nx2wnOh|SVj5f#o z{AaU%`smD=GiE&U$iojm{Ln+w$(oAtKfGC1_Qo5(|NZN)zrK347aokyQl{**cKJ%y zx(z$6SA}c6g^PHLlizX`3u_c-C*Aldh~V?eF}M;cOI~4|uM($#gx>k8&MEN!>hzJS zTBcKpUCTOaNoR~{Er;wKoj#p>a#iL;pGj`1G@7e9`csf{>el6oOgVj3VdJk>jUGKZ z(`Z}dF;vy&b_x&Acy!j!mn%4}x`f{bd|SEH_cM@3KQ4$DJ(9s=a`GQ^dg7eYCA>_n z^N$q2t?rjwJw*BzG;Q;~6~Fbl`HwrLZ_OUoIXaW^aL(W*#VLSd94Jl~zePn;b=-CQ z>S2A6X?rS$A-AeF>FP$b9lV6&kN0R76eY=(det@Q>iXz%A}P7m-%gHJpT+g3-0G_J zWRqktkm`7Ibuyy6&DGhiL*Z8>gZ~!KzYKmo`ivLrEzV8LH-hs zB#^8qmv>Wi3q_}xl?ksTQ1no|cb}h?=}rMSpCly2$Hym`()HPVN#f*FMn2w{`ksJhg_(HS(>lpV2xT>X;@+ycc@V&#CB6ik^KP zeFvmsQ>{VacGntWydIrXp6L2NC03OA(#Ut$r7gFSq&* zM9I0;PawKKxB4zbrrhc=h;)K$L)i5J?LdKe+4qOafBJd;M5nAnPplXL-c`$0+d;4B zYf%?49{Cesr;C@*Z8dD#YRL5(Dx>~8WnE>vf9&!r7?@i5^WbIWOX)HuV`q3{WeG^} z)rL@#mtB7aqU*YqwrE0&%PN28AA=TMGd0H1K9u-x({fg?Uj6#(zyJLkWpDnWykbrH zn{T|k+<@1~!?MBiPlGF~`zQZ2C^jh!fWOpP`(o7NHsC$EPR!R;S--p7Alu(@8_u~6 zn>&?*y~p-ZmAn*LKo#pu8uB{Y`yr(MMLeJ zNEI%R$58utL~O5}8xcEd^CF(*hT3@%u?stvGK1$$18Dk7JdD$$cUF>DmKoM}DU&v> zp^`qQQ!#jm^V}N4?l%qct?Rp5yEeC5<9N$e&uXAii2t+`XQ9Ni#;|EMCHBr5G~0@hN=7b#BMLXU> zB^JNrQW+)aViNk3=Og%;@?!k<+VmoBmeNSWeU~nEzSX&=tE>6X%|7zUC%^mT)L%aN zWYx>Nc6oMv;@`FFm6t#LboHmZe)rJy>95a-{V&SAfq==2G(t^Qh7hOU=uYmL{2(#VxfiAF<+2M`=>u+gMZwetMtV zSO=;n@t{U;Zv3t{eQ8FLJ1HwUX=yUQ+-&l#@vW)yRryw}r+>aR>B29P3UADOd`;n9 z>;Uy|1|gg&?t_m%{*X+{nLK534!x7ngw^S<8UO#*#DyJq?@*%AuI}dU=CfVIvCy@B z`|-kPcXu~_FdiXsS#dU-BNFXuZtiM7+f5ufE}K0s47j`fqeGX7!?emJ zT_ibcVdH^_E!y3FzP;B8;DJEGlJ&YwSz z{$<@M2rb8pD7~}IhuTR;Uf%KTjp!fRKib?)iqL*wdpO#C{(Ki|kgy;WwzRZFyDy(V zO8b}fbW7kc+DG+n{7#?b<>iI9H#J4k7lbZSksO!9UeMSWJ6HOyty4)w|8%ydrxxmJ#)AAwtq9+j@kOK`^bk@ht=`n z;oWO)F8}`;td7&1qzzZEPlZ*9A7ry)FQH>&3~_Pz9tCT}r#T3NKZBmVd3?l?Y|4O~ z6y`jBPg07303MYm2vGO*K}i59OgHW-Oj~gbpmz%Q>{nEf5W8*EwQWDmvSkbyqh>g? z0!L290Q3fC#NpjnOungBanyjAv5)|k zqdShZA6mC=-Hwl%Pn`e=c>i1L)-pxZQc3Um8s1ikq_U=78Nji!YsUEN9fSMx&8~=)~iLBXJf3 zcYWvIx7PFBy-*~wL}dfREK{?h#cxMDi^2+7I)@lu;w*}wVOrKj3VZ7mbaZs|r1jwm z&F4>^Jh_LfPq*SzC-yxl6Qa@1?x*cv)e~Z1e>ccxS5Z%$bUAwKBX(a)y8{83b$39( z2TH8g0;ih<0&X{{bOv}{a0ad;UaMiWq@+wxA%XryE!i*ITW#=SKm#Zj1@ zotpC0oF5tSk%lxw4+DOfU@>wWzS?4mOMPt|{j3Z}3K|LBYadN5Q9m=ox1h0TwB(1} zibx5%7z`IO?vm8E)u!AnbD}2$$PKg&@&!3DQ-H{_$tv13tT8{^J zcqU9dH+aYo9gFL?ChjTKKHOt}KHApHOG*Xx)queZ)zw}efE)dlso-PKZhGT|fYa?( z(fZyn{#3gErGc5SqIOieW!bp>yyBD__QUQ|pb78fleMG=G|qSMM5GQMQp(UOV8y+kcf z)5?EAKO?m-G9!Wo#~M7hFbL2}95W*OXkygDU@$Rp>{#muXC^b8AvUA4YAAct~%r@y9$J6b}Uys@TL59yhK4-i$u3tuu<40Nd$0v@+ zksaGp79T*f9T`V1+T5i7m`AWSxJ=gDXK<-$(@Y1($hNT;ZNzrQ-tpd@<>bY&KPFkz ztfX+9i<|J1e&j&LmnO%zX4ZE6-o}oxt5`Z)k9<&hV}L4^#*{?8&E) z)w)onZ?zWD*qTF@ksP#>GiuqW9P8B4$tB67r)p$yzj^)39=~KZ{QnmN9cP;0|950h zm@r}d`0qj68y5&Sy>j4yqM&@y zc=((sKTh`t*)KLXFPSj@Inbv)P)MHUFGtU6{xT`j{P}3N=FgLy=8pD@hYm!WUE}S~ zG=4(D?Mn3P^KH>?`#Ad|;R%wg?H{7u+Wz6@@e_x(|A}^K`yUe5?dcld6#;&c?SLaf z9MmB`+a2xF_CJ8t{ZF(@+y8*Ry8i*by8j_r+WrUatNS0~(DpykE^YrqinRStv|HQ% zpj_Smpj_SmkV0+$6YbLWKcrCG@1R`W?~p=mzYy)x_6sEc+!eZ?h@Q)TmhLCOuQP|f zJfwhM^BO~q&ylRNZS7Y-!oDEy3H#vk_M68aO^>dO^5K=FnLJ01a?h!7dbUZ0n*;4( z9_7H{j-nhm*%TjFfa2o{qb|KT)TI|Jc!f$MO7dyBnoft{sraz@Y_^GBf$l&%y|nVE z);@4#$L$GcXKwoVCE} zbq0N3d;mAWTwi+W^M)fV?yXMJ=cVBTVqj}eKzVxK@_&~za}I@)=x=vda_^5MpC z2w;Lir_;m7Vf6-Lpx@ZC#F8N-jwC0iV5PW)jJ$p1$n><7l(CL`#;3Y7hdub<&~{_s)?Nh;HH5XtOd{dVW7{xa3Q<~Q3@Mdlmz0!bXBP;IU&wOU$d)Zz zx{prFFYX~m-A)C2mTRDv0ByIHqNO(#_JF#=4seKJ6T;h9T3c?$!FZDk>3AkjigO6X zIJUxoFjiS|92mg!BtJhN&Jf%yLg1}N zk7B;uE5{awUrSAWvSds9=?)BY*)Ow88eUQbmH-D%>iKKk*+cg1Sg~ToOFbE;m#ES} zkO3QGje2;w**2;tsI6+0CjSX>3U~?WvjBuM7M$g1S{-F`61_Ly}Xdy#} zCZ!BbnNV`A!Jb4U&Xyc>6H**!ikmdKh=g|s!@=EQ%8w!nPfSQi*zF}G1)p%6JPqZ+ z;O-9ZN;>|@g|5jYLLW6 zmRF14zNvk6Syw%lqe5$TM z0O?9Jr%F4dsghKpwU$cA6#|aTl$HzNbii)6C17g4BmX#NY>JpnBrZ84r&y;WS-%Me zf+pyD{v_w5{A9BGaEC(2OHUK%cng~XMTX@B_Q6@iPAWq8XmF}`x=W^M)fAEJY^!bP zK$?z?)f)#7j*p9vi;csiGMG$kKEPPWKeR**uw7~}nauGPi_wXF5JFZqEp#j4R76T7 z)iT$B`n1mAI2{Y)N{ep}R6Za#3}IPaj3xEiBjGke`rrOqc50-n(W zGEByNcQir4SGqAiD0ogGq0DY^yD>5vihJ~d@6iW%|C5$35Itn{JP)OsM z?Z>xoPw1U5t>11;HvW{3f>aS8v;=z7q)*5a0%2;;lX)jZI*UXCfp7pFE_OO$-il%0B9VQ|seLPkIhaK4A^1b6 zy~lb{q*3B~2-@vP@t8h~9v{9;whbPVis!eg9;c?H##`d!W1)`l1~?KMi)Vc#f#9pS z&~hV(^-2{9EZ!UwYvdCwsVP+7dnosf7#61}$iOTcElKg(8A>XS5589#`quoObR-D9 zGfr&E>Y#S-#*mu* z{8LXokA-sXR)o3Pc#e@x1Bp*a{lVz;(Y*rG8#8g!uCzxZOzP3|ILMD&J6G$ax~ym1 z#dLeFn%mxz?~jWj?k!s)5o(=rsuPJUgTaHEu-M*H7@WNA!4-7DA&KLYl7?ETY#R;K z{w2kkViFPnv3l4D)!4!QafHS4#j&u336_L}p+-*68B_0maA-^!-ZC7!;G{%5 zeuxy4*Jn81wheflqAhf&Qg&mFi6u;THyjl>D{!kyO75egQ%sx_HJJ9d^D8WQSg&3! zi7E<&8zxH#(8Y-UVReGA$fUqteRwN*66=-buW9R*(oxxh6$=MY9S0ni6CjjaRH zmVX0yrWy{D-jZyy#p>c*XQCEoLw{(1{;2uc|FwP5D)ioqA}vRcp6hFm ztURC6*B` entry names in Golf, Mario Bros and the two +Raid dumps); Raid and Raid [a2] have no `Label_` left (all entry +points already `SubC`), while Hogan's Alley and the two Pac-Man dumps carry +only `Label_` names. All nine use the canonical +`; CPU:$xxxx PRG:xxxx AA BB` audit-comment spelling; the two exceptions predate that convention — `Golf (JU)` uses `; C007: AD 02 20` and `Pyramid (U)` a `; PRG:$172E 48` form. **They verify at PRG level only** — their Makefiles run `cmp reconstructed_prg.bin prg.bin`, not a whole-ROM compare, which is why the @@ -330,21 +333,20 @@ through exactly that on 2026-10-18 and `Donkey Kong (JU)` on 2026-10-19 (Pass 3 done, whole ROM byte-identical); DK (JU) needed no `_tools` path change because its Makefile never referenced `_tools/`. -Pass 1 is done in all 17, and the inventory rows give the authoritative -per-project status. **No `_wip` project is Pass 2 complete.** The furthest -along are Pinball (180 of 681 label definitions named, plus 40 Pass 3 data -regions drafted but unapplied) and Mario Bros (262 call entry points named — -39 semantic + 223 `SubCxxxx`), and both still carry hundreds of address-based -`Label_` definitions; the other 15 are Pass 1 with partial or no semantic -naming, and none has semantic zero-page aliases. Five headers that read -"Pass 2 complete" before 2026-10-19 (Donkey Kong Jr. Math, Duck Hunt, Ice -Climber (JE), Ice Climber (U), Pinball) had counted their draft maps' rows -rather than the names actually present in `prg.s`; those claims are corrected, -and the maps themselves are stale and unapplied (audited per project — see each -project's `OVERVIEW.md`). All 17 currently build cleanly at the PRG level. -**Each project also owes a real power-on flow `OVERVIEW.md`** — the 2026-10-19 -sweep corrected their status headers to match the actual sources, but most still -lack the flow analysis the top-level projects carry. +Pass 1 is done in all 11, and the inventory rows give the authoritative +per-project status. **No `_wip` project is Pass 2 complete** in the promoted-tier +sense: Golf has substantial Pass 2 work (108 of 112 subroutine entries named) and +Mario Bros has 262 call entry points named (39 semantic + 223 `SubCxxxx`), but +both still carry hundreds of internal `Label_` branch targets; the two Raid dumps +(Pass 3 partial) use `SubC` entry names with semantic zero-page aliases; the +rest +are Pass 1 with address-derived `Label_` names only. None has semantic zero-page +aliases. Pinball (JU) was promoted to the top level (Pass 2/3 complete) and is no +longer in `_wip/`. `Pinball (JU)`'s old `_wip` draft map (180 of 681 labels, plus +40 Pass 3 data regions) is stale and unapplied. All 11 currently build cleanly at +the PRG level. **Each project also owes a real power-on flow `OVERVIEW.md`** — the +2026-10-19 sweep corrected their status headers to match the actual sources, but +most still lack the flow analysis the top-level projects carry. Notable vector/header observations for Pass 1 work: - **Pac-Man (U)** RESET at `$FF00` (vector-page tail), while the Tengen variant RESETs at `$C033` — different builds confirmed (PRG bytes differ). @@ -444,8 +446,8 @@ The fix generalises: `nesdis.py --undocumented` decodes all 105 undocumented NMO opcodes. It is **default off** so that projects whose `prg.s` is already regen-stable keep reproducing byte-for-byte under `make regen`. -`_tools/verify_pass1.py` checks the **19 top-level projects** — it selects folders -that carry a `copilot/rom.nes`, so the 17 `_wip/` projects are not covered (they +`_tools/verify_pass1.py` checks the **25 top-level projects** — it selects folders +that carry a `copilot/rom.nes`, so the 9 `_wip/` projects are not covered (they are checked by plain `make` at the PRG level). Current run, 2026-10-19: every project builds, **all canonical**, and **no truncated or unfaithful Pass 1**. The last two carryovers are gone — Joypad Test Cartridge, the last project holding an @@ -462,7 +464,7 @@ project fell through to whichever laxer spelling matched most lines. Fixed with over 9 projects, plus hand fixes to CIRCUS and Excitebike) closed it out, so the checker now reports **all canonical**. -Inside `_wip/`, 15 of the 17 also use the canonical spelling; the two stragglers +Inside `_wip/`, 9 of the 10 also use the canonical spelling; the two stragglers are `Golf (JU)` (`; C007: AD 02 20`) and `Pyramid (U)` (`; PRG:$172E 48`). Bringing those two up to canonical is Pass 2 work for them, not a build problem. @@ -474,7 +476,7 @@ instruction lines now carry a canonical comment. The earlier-reported re-trace crash on `MUSCLE (U)` / `Donkey Kong Jr. (JU)` (`ValueError: invalid literal for int() with base 16: ':$0010'`) was a false alarm: `nesdis.operand_value()` already strips the emitter's `a:` prefix via -`token.removeprefix("a:").lstrip("$")`, so re-tracing all 19 top-level projects is +`token.removeprefix("a:").lstrip("$")`, so re-tracing all 25 top-level projects is clean. ### Resolved — audit comments for Excitebike and Pac-Man (2026-10-19) @@ -496,10 +498,10 @@ at the stated offset — a wrong offset that still assembles is the failure mode ## Summary -The 19 numbered projects below are promoted out of `_wip/` and rebuild **byte-identical** -to their original ROMs (rows 1-18 plus row 36 — Urban Champion kept its tail number -when it was promoted). The 17 `_wip/` projects (rows 19-35) verify at PRG level only — -see "`_wip/` Projects" below. +The 25 promoted projects below (rows 1-24 plus row 36 — Urban Champion, which kept +its tail number when it was promoted) rebuild **byte-identical** to their original +ROMs. The 9 `_wip/` projects (rows 27-35) verify at PRG level only — see +"`_wip/` Projects" below. | # | Project | Build Status | Pass 3 | |---|---------|--------------|--------| @@ -521,12 +523,21 @@ see "`_wip/` Projects" below. | 16 | MUSCLE (U) | BYTE-IDENTICAL | complete; symbols applied 2026-10-19 (220 operands) | | 17 | Lunar Pool (U) | BYTE-IDENTICAL | complete (tables named); symbols applied 2026-10-19 (45 operands) | | 18 | Donkey Kong (JU) | BYTE-IDENTICAL | complete (Pass 2/3, promoted 2026-10-19); symbols applied 2026-10-19 (75 operands) | +| 19 | **Donkey Kong Jr. Math (U)** | **BYTE-IDENTICAL** | **complete (Pass 3 complete)** | +| 20 | **Duck Hunt (JUE)** | **BYTE-IDENTICAL** | **complete (Pass 3 complete)** | +| 21 | **Ice Climber (JE)** | **BYTE-IDENTICAL** | **complete (Pass 3 complete)** | +| 22 | **Ice Climber (U)** | **BYTE-IDENTICAL** | **complete (Pass 3 complete)** | +| 23 | **Lode Runner (U)** | **BYTE-IDENTICAL** | **complete (Pass 2/3 complete)** | +| 24 | **Pinball (JU)** | **BYTE-IDENTICAL** | **complete (Pass 2/3 complete)** | +| 25 | **Millipede (U)** | **BYTE-IDENTICAL** | **complete (Pass 2/3 complete, 74.6% code)** | +| 26 | **Popeye (JU) (PRG 0)** | **BYTE-IDENTICAL** | **complete (Pass 2/3 complete, 72.3% code)** | | 36 | Urban Champion (JU) | BYTE-IDENTICAL | complete; symbols applied 2026-10-19 (70 operands) | -Rows 19-35 (`_wip/`) all rebuild cleanly at PRG level. All 17 have Pass 1 done and -several are at Pass 2 (see the rows above); promotion into the numbered inventory, -CDL-backed reclassification of the remaining data, and a real power-on flow -`OVERVIEW.md` per project are the open work for them. +Rows 27-35 (`_wip/`) all rebuild cleanly at PRG level. All 9 have Pass 1 done; +Golf and Mario Bros are at substantial Pass 2; the two Raid dumps use +`SubC` entry names, and the rest carry address-derived `Label_` names only. +Promotion into the numbered inventory, CDL-backed reclassification of the remaining +data, and a real power-on flow `OVERVIEW.md` per project are the open work for them. Use `_tools/verify_pass1.py` to re-check any of this at any time; it rebuilds each project and re-traces it, and reports `TRUNCATED` when a project's committed split diff --git a/_wip/Pinball (JU)/OVERVIEW.md b/Pinball (JU)/OVERVIEW.md similarity index 100% rename from _wip/Pinball (JU)/OVERVIEW.md rename to Pinball (JU)/OVERVIEW.md diff --git a/_wip/Pinball (JU)/Pinball (JU).nes b/Pinball (JU)/Pinball (JU).nes similarity index 100% rename from _wip/Pinball (JU)/Pinball (JU).nes rename to Pinball (JU)/Pinball (JU).nes diff --git a/Pinball (JU)/copilot/Makefile b/Pinball (JU)/copilot/Makefile new file mode 100644 index 0000000..7b0587a --- /dev/null +++ b/Pinball (JU)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean \ No newline at end of file diff --git a/_wip/Pinball (JU)/copilot/chr.bin b/Pinball (JU)/copilot/chr.bin similarity index 100% rename from _wip/Pinball (JU)/copilot/chr.bin rename to Pinball (JU)/copilot/chr.bin diff --git a/Pinball (JU)/copilot/chr.s b/Pinball (JU)/copilot/chr.s new file mode 100644 index 0000000..f6a8c21 --- /dev/null +++ b/Pinball (JU)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" \ No newline at end of file diff --git a/_wip/Pinball (JU)/copilot/data_regions.tsv b/Pinball (JU)/copilot/data_regions.tsv similarity index 100% rename from _wip/Pinball (JU)/copilot/data_regions.tsv rename to Pinball (JU)/copilot/data_regions.tsv diff --git a/_wip/Pinball (JU)/copilot/header.bin b/Pinball (JU)/copilot/header.bin similarity index 100% rename from _wip/Pinball (JU)/copilot/header.bin rename to Pinball (JU)/copilot/header.bin diff --git a/Pinball (JU)/copilot/header.s b/Pinball (JU)/copilot/header.s new file mode 100644 index 0000000..37d1389 --- /dev/null +++ b/Pinball (JU)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" \ No newline at end of file diff --git a/Pinball (JU)/copilot/linker.cfg b/Pinball (JU)/copilot/linker.cfg new file mode 100644 index 0000000..cfaf881 --- /dev/null +++ b/Pinball (JU)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} \ No newline at end of file diff --git a/_wip/Pinball (JU)/copilot/locals.inc b/Pinball (JU)/copilot/locals.inc similarity index 100% rename from _wip/Pinball (JU)/copilot/locals.inc rename to Pinball (JU)/copilot/locals.inc diff --git a/_wip/Pinball (JU)/copilot/locals2.inc b/Pinball (JU)/copilot/locals2.inc similarity index 100% rename from _wip/Pinball (JU)/copilot/locals2.inc rename to Pinball (JU)/copilot/locals2.inc diff --git a/_wip/Pinball (JU)/copilot/pinball_full_map.tsv b/Pinball (JU)/copilot/pinball_full_map.tsv similarity index 100% rename from _wip/Pinball (JU)/copilot/pinball_full_map.tsv rename to Pinball (JU)/copilot/pinball_full_map.tsv diff --git a/_wip/Pinball (JU)/copilot/pinball_label_map.tsv b/Pinball (JU)/copilot/pinball_label_map.tsv similarity index 100% rename from _wip/Pinball (JU)/copilot/pinball_label_map.tsv rename to Pinball (JU)/copilot/pinball_label_map.tsv diff --git a/_wip/Pinball (JU)/copilot/pinball_label_map2.tsv b/Pinball (JU)/copilot/pinball_label_map2.tsv similarity index 100% rename from _wip/Pinball (JU)/copilot/pinball_label_map2.tsv rename to Pinball (JU)/copilot/pinball_label_map2.tsv diff --git a/_wip/Pinball (JU)/copilot/pinball_zp_map.tsv b/Pinball (JU)/copilot/pinball_zp_map.tsv similarity index 100% rename from _wip/Pinball (JU)/copilot/pinball_zp_map.tsv rename to Pinball (JU)/copilot/pinball_zp_map.tsv diff --git a/_wip/Pinball (JU)/copilot/prg.bin b/Pinball (JU)/copilot/prg.bin similarity index 100% rename from _wip/Pinball (JU)/copilot/prg.bin rename to Pinball (JU)/copilot/prg.bin diff --git a/_wip/Pinball (JU)/copilot/prg.s b/Pinball (JU)/copilot/prg.s similarity index 89% rename from _wip/Pinball (JU)/copilot/prg.s rename to Pinball (JU)/copilot/prg.s index 7c32ad5..a8484eb 100644 --- a/_wip/Pinball (JU)/copilot/prg.s +++ b/Pinball (JU)/copilot/prg.s @@ -43,7 +43,7 @@ Reset: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank_E023_1: - lda $2002 ; CPU:$C002 PRG:0002 AD 02 20 + lda PPUSTATUS ; CPU:$C002 PRG:0002 AD 02 20 bpl WaitVBlank_E023_1 ; CPU:$C005 PRG:0005 10 FB ldx #$FF ; CPU:$C007 PRG:0007 A2 FF txs ; CPU:$C009 PRG:0009 9A @@ -63,12 +63,12 @@ ClearZeropage: inx ; CPU:$C00F PRG:000F E8 bne ClearZeropage ; CPU:$C010 PRG:0010 D0 FB tay ; CPU:$C012 PRG:0012 A8 - sta $2000 ; CPU:$C013 PRG:0013 8D 00 20 - sta $2001 ; CPU:$C016 PRG:0016 8D 01 20 + sta PPUCTRL ; CPU:$C013 PRG:0013 8D 00 20 + sta PPUMASK ; CPU:$C016 PRG:0016 8D 01 20 ldx #$57 ; CPU:$C019 PRG:0019 A2 57 lda #$00 ; CPU:$C01B PRG:001B A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C01D +; Routine: SubCC01D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -76,10 +76,10 @@ ClearZeropage: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C01D: +SubCC01D: sta $0100,x ; CPU:$C01D PRG:001D 9D 00 01 dex ; CPU:$C020 PRG:0020 CA - bpl Label_C01D ; CPU:$C021 PRG:0021 10 FA + bpl SubCC01D ; CPU:$C021 PRG:0021 10 FA ; ----------------------------------------------------------------------------- ; Routine: InitGameState ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -93,7 +93,7 @@ InitGameState: lda ZpE6 ; CPU:$C023 PRG:0023 A5 E6 sta Zp06 ; CPU:$C025 PRG:0025 85 06 sta Zp08 ; CPU:$C027 PRG:0027 85 08 - jsr $DCDD ; CPU:$C029 PRG:0029 20 DD DC + jsr UpdateBumperChain ; CPU:$C029 PRG:0029 20 DD DC ldx ZpE6 ; CPU:$C02C PRG:002C A6 E6 lda Zp06 ; CPU:$C02E PRG:002E A5 06 sta $0300,x ; CPU:$C030 PRG:0030 9D 00 03 @@ -111,7 +111,7 @@ InitGameState: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- MainGameLoop: - jsr $C27F ; CPU:$C03B PRG:003B 20 7F C2 + jsr GameStateUpdate ; CPU:$C03B PRG:003B 20 7F C2 lda #$10 ; CPU:$C03E PRG:003E A9 10 sta Zp00 ; CPU:$C040 PRG:0040 85 00 lda Zp04 ; CPU:$C042 PRG:0042 A5 04 @@ -144,16 +144,16 @@ ClearSpriteRAM: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- InitLevel: - jsr $E09B ; CPU:$C058 PRG:0058 20 9B E0 - jsr $ED06 ; CPU:$C05B PRG:005B 20 06 ED - jsr $EDF2 ; CPU:$C05E PRG:005E 20 F2 ED + jsr InitSprites ; CPU:$C058 PRG:0058 20 9B E0 + jsr UpdateMusicChannel11 ; CPU:$C05B PRG:005B 20 06 ED + jsr UpdateMusicChannel14 ; CPU:$C05E PRG:005E 20 F2 ED lda ZpBD ; CPU:$C061 PRG:0061 A5 BD - beq Label_C06C ; CPU:$C063 PRG:0063 F0 07 + beq SubCC06C ; CPU:$C063 PRG:0063 F0 07 inc ZpBE ; CPU:$C065 PRG:0065 E6 BE - jsr $EDF2 ; CPU:$C067 PRG:0067 20 F2 ED + jsr UpdateMusicChannel14 ; CPU:$C067 PRG:0067 20 F2 ED dec ZpBE ; CPU:$C06A PRG:006A C6 BE ; ----------------------------------------------------------------------------- -; Routine: Label_C06C +; Routine: SubCC06C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -161,13 +161,13 @@ InitLevel: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C06C: +SubCC06C: lda #$90 ; CPU:$C06C PRG:006C A9 90 sta Zp00 ; CPU:$C06E PRG:006E 85 00 lda #$00 ; CPU:$C070 PRG:0070 A9 00 ldx #$0E ; CPU:$C072 PRG:0072 A2 0E ; ----------------------------------------------------------------------------- -; Routine: Label_C074 +; Routine: SubCC074 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -175,10 +175,10 @@ Label_C06C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C074: +SubCC074: sta $0127,x ; CPU:$C074 PRG:0074 9D 27 01 dex ; CPU:$C077 PRG:0077 CA - bpl Label_C074 ; CPU:$C078 PRG:0078 10 FA + bpl SubCC074 ; CPU:$C078 PRG:0078 10 FA sta $014D ; CPU:$C07A PRG:007A 8D 4D 01 sta ZpC7 ; CPU:$C07D PRG:007D 85 C7 sta ZpC8 ; CPU:$C07F PRG:007F 85 C8 @@ -188,12 +188,12 @@ Label_C074: stx Zp1C ; CPU:$C086 PRG:0086 86 1C stx ZpCF ; CPU:$C088 PRG:0088 86 CF inx ; CPU:$C08A PRG:008A E8 - jsr $CCE9 ; CPU:$C08B PRG:008B 20 E9 CC + jsr SubCCCE9 ; CPU:$C08B PRG:008B 20 E9 CC lda #$46 ; CPU:$C08E PRG:008E A9 46 - jsr $EE4D ; CPU:$C090 PRG:0090 20 4D EE + jsr UpdateMusicChannel16 ; CPU:$C090 PRG:0090 20 4D EE lda $014A ; CPU:$C093 PRG:0093 AD 4A 01 bne CheckGameMode ; CPU:$C096 PRG:0096 D0 03 - jsr $E497 ; CPU:$C098 PRG:0098 20 97 E4 + jsr UpdateDisplay3 ; CPU:$C098 PRG:0098 20 97 E4 ; ----------------------------------------------------------------------------- ; Routine: CheckGameMode ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -209,7 +209,7 @@ CheckGameMode: lda #$DC ; CPU:$C09F PRG:009F A9 DC sta $0135 ; CPU:$C0A1 PRG:00A1 8D 35 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A4 +; Routine: SubCC0A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -217,9 +217,9 @@ CheckGameMode: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A4: +SubCC0A4: lda $0135 ; CPU:$C0A4 PRG:00A4 AD 35 01 - bne Label_C0A4 ; CPU:$C0A7 PRG:00A7 D0 FB + bne SubCC0A4 ; CPU:$C0A7 PRG:00A7 D0 FB ldx ZpBE ; CPU:$C0A9 PRG:00A9 A6 BE dec $0151,x ; CPU:$C0AB PRG:00AB DE 51 01 ; ----------------------------------------------------------------------------- @@ -249,7 +249,7 @@ GameModeTitle: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- GameModePlay: - jsr $C181 ; CPU:$C0BC PRG:00BC 20 81 C1 + jsr UpdateSprites_C34B_1 ; CPU:$C0BC PRG:00BC 20 81 C1 ; ----------------------------------------------------------------------------- ; Routine: WaitVBlank_E023Frame ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -260,11 +260,11 @@ GameModePlay: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank_E023Frame: - jsr $E02C ; CPU:$C0BF PRG:00BF 20 2C E0 - jsr $E046 ; CPU:$C0C2 PRG:00C2 20 46 E0 + jsr WaitVBlank_E0232 ; CPU:$C0BF PRG:00BF 20 2C E0 + jsr WaitFrame ; CPU:$C0C2 PRG:00C2 20 46 E0 and #$10 ; CPU:$C0C5 PRG:00C5 29 10 bne CheckController ; CPU:$C0C7 PRG:00C7 D0 03 - jmp $C0BF ; CPU:$C0C9 PRG:00C9 4C BF C0 + jmp WaitVBlank_E023Frame ; CPU:$C0C9 PRG:00C9 4C BF C0 ; ----------------------------------------------------------------------------- ; Routine: CheckController ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -277,7 +277,7 @@ WaitVBlank_E023Frame: CheckController: lda #$04 ; CPU:$C0CC PRG:00CC A9 04 sta ZpFD ; CPU:$C0CE PRG:00CE 85 FD - jsr $C181 ; CPU:$C0D0 PRG:00D0 20 81 C1 + jsr UpdateSprites_C34B_1 ; CPU:$C0D0 PRG:00D0 20 81 C1 ; ----------------------------------------------------------------------------- ; Routine: UpdateFrameCounter ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -291,12 +291,12 @@ UpdateFrameCounter: inc Zp05 ; CPU:$C0D3 PRG:00D3 E6 05 lda #$00 ; CPU:$C0D5 PRG:00D5 A9 00 sta Zp02 ; CPU:$C0D7 PRG:00D7 85 02 - jsr $E049 ; CPU:$C0D9 PRG:00D9 20 49 E0 - jsr $CBA7 ; CPU:$C0DC PRG:00DC 20 A7 CB - jsr $E40E ; CPU:$C0DF PRG:00DF 20 0E E4 + jsr InitPPU ; CPU:$C0D9 PRG:00D9 20 49 E0 + jsr SubCCBA7 ; CPU:$C0DC PRG:00DC 20 A7 CB + jsr UpdateDisplay ; CPU:$C0DF PRG:00DF 20 0E E4 lda Zp1D ; CPU:$C0E2 PRG:00E2 A5 1D beq CheckHighScore ; CPU:$C0E4 PRG:00E4 F0 03 - jmp $C18F ; CPU:$C0E6 PRG:00E6 4C 8F C1 + jmp UpdateSpritePositions ; CPU:$C0E6 PRG:00E6 4C 8F C1 ; ----------------------------------------------------------------------------- ; Routine: CheckHighScore ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -307,22 +307,22 @@ UpdateFrameCounter: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckHighScore: - jsr $EC80 ; CPU:$C0E9 PRG:00E9 20 80 EC + jsr UpdateMusic2 ; CPU:$C0E9 PRG:00E9 20 80 EC lda ZpBF ; CPU:$C0EC PRG:00EC A5 BF cmp #$02 ; CPU:$C0EE PRG:00EE C9 02 beq ProcessController ; CPU:$C0F0 PRG:00F0 F0 1C lda $014A ; CPU:$C0F2 PRG:00F2 AD 4A 01 - beq Label_C10B ; CPU:$C0F5 PRG:00F5 F0 14 + beq SubCC10B ; CPU:$C0F5 PRG:00F5 F0 14 lda Zp04 ; CPU:$C0F7 PRG:00F7 A5 04 - bne Label_C10B ; CPU:$C0F9 PRG:00F9 D0 10 + bne SubCC10B ; CPU:$C0F9 PRG:00F9 D0 10 ldx ZpBE ; CPU:$C0FB PRG:00FB A6 BE lda $010C,x ; CPU:$C0FD PRG:00FD BD 0C 01 bne ProcessController ; CPU:$C100 PRG:0100 D0 0C inc $010C,x ; CPU:$C102 PRG:0102 FE 0C 01 - jsr $E0FD ; CPU:$C105 PRG:0105 20 FD E0 - jmp $C10E ; CPU:$C108 PRG:0108 4C 0E C1 + jsr InitGame ; CPU:$C105 PRG:0105 20 FD E0 + jmp ProcessController ; CPU:$C108 PRG:0108 4C 0E C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C10B +; Routine: SubCC10B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -330,8 +330,8 @@ CheckHighScore: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C10B: - jsr $E497 ; CPU:$C10B PRG:010B 20 97 E4 +SubCC10B: + jsr UpdateDisplay3 ; CPU:$C10B PRG:010B 20 97 E4 ; ----------------------------------------------------------------------------- ; Routine: ProcessController ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -343,14 +343,14 @@ Label_C10B: ; ----------------------------------------------------------------------------- ProcessController: lda ZpBF ; CPU:$C10E PRG:010E A5 BF - bne Label_C121 ; CPU:$C110 PRG:0110 D0 0F - jsr $E68F ; CPU:$C112 PRG:0112 20 8F E6 - jsr $EC8D ; CPU:$C115 PRG:0115 20 8D EC - jsr $F06F ; CPU:$C118 PRG:0118 20 6F F0 - jsr $F0DF ; CPU:$C11B PRG:011B 20 DF F0 - jsr $F44B ; CPU:$C11E PRG:011E 20 4B F4 + bne SubCC121 ; CPU:$C110 PRG:0110 D0 0F + jsr UpdateMusicChannel ; CPU:$C112 PRG:0112 20 8F E6 + jsr UpdateMusicChannel10 ; CPU:$C115 PRG:0115 20 8D EC + jsr UpdateMusicChannel22 ; CPU:$C118 PRG:0118 20 6F F0 + jsr UpdateMusicChannel24 ; CPU:$C11B PRG:011B 20 DF F0 + jsr UpdateMusicChannel35 ; CPU:$C11E PRG:011E 20 4B F4 ; ----------------------------------------------------------------------------- -; Routine: Label_C121 +; Routine: SubCC121 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -358,15 +358,15 @@ ProcessController: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C121: +SubCC121: ldx ZpBF ; CPU:$C121 PRG:0121 A6 BF dex ; CPU:$C123 PRG:0123 CA - bne Label_C12F ; CPU:$C124 PRG:0124 D0 09 - jsr $F138 ; CPU:$C126 PRG:0126 20 38 F1 - jsr $F3E8 ; CPU:$C129 PRG:0129 20 E8 F3 - jsr $F41E ; CPU:$C12C PRG:012C 20 1E F4 + bne SubCC12F ; CPU:$C124 PRG:0124 D0 09 + jsr UpdateMusicChannel26 ; CPU:$C126 PRG:0126 20 38 F1 + jsr UpdateMusicChannel33 ; CPU:$C129 PRG:0129 20 E8 F3 + jsr UpdateMusicChannel34 ; CPU:$C12C PRG:012C 20 1E F4 ; ----------------------------------------------------------------------------- -; Routine: Label_C12F +; Routine: SubCC12F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -374,17 +374,17 @@ Label_C121: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C12F: +SubCC12F: lda ZpBF ; CPU:$C12F PRG:012F A5 BF cmp #$02 ; CPU:$C131 PRG:0131 C9 02 - bne Label_C145 ; CPU:$C133 PRG:0133 D0 10 - jsr $E7AC ; CPU:$C135 PRG:0135 20 AC E7 + bne SubCC145 ; CPU:$C133 PRG:0133 D0 10 + jsr UpdateMusicChannel2 ; CPU:$C135 PRG:0135 20 AC E7 lda $011E ; CPU:$C138 PRG:0138 AD 1E 01 - bmi Label_C18C ; CPU:$C13B PRG:013B 30 4F - beq Label_C142 ; CPU:$C13D PRG:013D F0 03 - jsr $EA2F ; CPU:$C13F PRG:013F 20 2F EA + bmi SubCC18C ; CPU:$C13B PRG:013B 30 4F + beq SubCC142 ; CPU:$C13D PRG:013D F0 03 + jsr UpdateSoundChannels ; CPU:$C13F PRG:013F 20 2F EA ; ----------------------------------------------------------------------------- -; Routine: Label_C142 +; Routine: SubCC142 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -392,10 +392,10 @@ Label_C12F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C142: - jsr $F226 ; CPU:$C142 PRG:0142 20 26 F2 +SubCC142: + jsr UpdateMusicChannel29 ; CPU:$C142 PRG:0142 20 26 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_C145 +; Routine: SubCC145 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -403,17 +403,17 @@ Label_C142: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C145: +SubCC145: lda Zp02 ; CPU:$C145 PRG:0145 A5 02 - beq Label_C145 ; CPU:$C147 PRG:0147 F0 FC - jsr $E046 ; CPU:$C149 PRG:0149 20 46 E0 + beq SubCC145 ; CPU:$C147 PRG:0147 F0 FC + jsr WaitFrame ; CPU:$C149 PRG:0149 20 46 E0 and #$30 ; CPU:$C14C PRG:014C 29 30 - beq Label_C157 ; CPU:$C14E PRG:014E F0 07 + beq SubCC157 ; CPU:$C14E PRG:014E F0 07 lda Zp04 ; CPU:$C150 PRG:0150 A5 04 - beq Label_C157 ; CPU:$C152 PRG:0152 F0 03 - jmp $C03B ; CPU:$C154 PRG:0154 4C 3B C0 + beq SubCC157 ; CPU:$C152 PRG:0152 F0 03 + jmp MainGameLoop ; CPU:$C154 PRG:0154 4C 3B C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C157 +; Routine: SubCC157 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -421,13 +421,13 @@ Label_C145: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C157: +SubCC157: lda ZpB6 ; CPU:$C157 PRG:0157 A5 B6 and #$10 ; CPU:$C159 PRG:0159 29 10 - bne Label_C160 ; CPU:$C15B PRG:015B D0 03 - jmp $C0D3 ; CPU:$C15D PRG:015D 4C D3 C0 + bne SubCC160 ; CPU:$C15B PRG:015B D0 03 + jmp UpdateFrameCounter ; CPU:$C15D PRG:015D 4C D3 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C160 +; Routine: SubCC160 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -435,11 +435,11 @@ Label_C157: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C160: +SubCC160: lda #$04 ; CPU:$C160 PRG:0160 A9 04 sta ZpFD ; CPU:$C162 PRG:0162 85 FD - jsr $E48C ; CPU:$C164 PRG:0164 20 8C E4 - jmp $C0BC ; CPU:$C167 PRG:0167 4C BC C0 + jsr UpdateSprites_C34B3 ; CPU:$C164 PRG:0164 20 8C E4 + jmp GameModePlay ; CPU:$C167 PRG:0167 4C BC C0 ; ---- data $C16A-$C180 (23 bytes) ---- .byte $42, $59, $20, $53, $2E, $4D, $41, $54, $53, $55, $4F, $4B, $41, $20, $26, $20 ; CPU:$C16A PRG:016A 42 59 20 53 2E 4D 41 54 53 55 4F 4B 41 20 26 20 .byte $53, $2E, $49, $57, $41, $54, $41 ; CPU:$C17A PRG:017A 53 2E 49 57 41 54 41 @@ -453,13 +453,13 @@ Label_C160: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites_C34B_1: - jsr $E02C ; CPU:$C181 PRG:0181 20 2C E0 - jsr $E046 ; CPU:$C184 PRG:0184 20 46 E0 + jsr WaitVBlank_E0232 ; CPU:$C181 PRG:0181 20 2C E0 + jsr WaitFrame ; CPU:$C184 PRG:0184 20 46 E0 and #$10 ; CPU:$C187 PRG:0187 29 10 bne UpdateSprites_C34B_1 ; CPU:$C189 PRG:0189 D0 F6 rts ; CPU:$C18B PRG:018B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C18C +; Routine: SubCC18C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -467,8 +467,8 @@ UpdateSprites_C34B_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C18C: - jsr $E023 ; CPU:$C18C PRG:018C 20 23 E0 +SubCC18C: + jsr WaitVBlank_E023Loop ; CPU:$C18C PRG:018C 20 23 E0 ; ----------------------------------------------------------------------------- ; Routine: UpdateSpritePositions ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -479,29 +479,29 @@ Label_C18C: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSpritePositions: - jsr $E48C ; CPU:$C18F PRG:018F 20 8C E4 + jsr UpdateSprites_C34B3 ; CPU:$C18F PRG:018F 20 8C E4 lda Zp04 ; CPU:$C192 PRG:0192 A5 04 - bne Label_C1EA ; CPU:$C194 PRG:0194 D0 54 + bne SubCC1EA ; CPU:$C194 PRG:0194 D0 54 ldx ZpBE ; CPU:$C196 PRG:0196 A6 BE lda $0151,x ; CPU:$C198 PRG:0198 BD 51 01 - bne Label_C1C5 ; CPU:$C19B PRG:019B D0 28 - jsr $E023 ; CPU:$C19D PRG:019D 20 23 E0 - jsr $E403 ; CPU:$C1A0 PRG:01A0 20 03 E4 + bne SubCC1C5 ; CPU:$C19B PRG:019B D0 28 + jsr WaitVBlank_E023Loop ; CPU:$C19D PRG:019D 20 23 E0 + jsr CheckGameState ; CPU:$C1A0 PRG:01A0 20 03 E4 lda #$8A ; CPU:$C1A3 PRG:01A3 A9 8A - sta $2000 ; CPU:$C1A5 PRG:01A5 8D 00 20 + sta PPUCTRL ; CPU:$C1A5 PRG:01A5 8D 00 20 inc $014C ; CPU:$C1A8 PRG:01A8 EE 4C 01 inc $014D ; CPU:$C1AB PRG:01AB EE 4D 01 lda #$30 ; CPU:$C1AE PRG:01AE A9 30 sta $0155 ; CPU:$C1B0 PRG:01B0 8D 55 01 - jsr $E023 ; CPU:$C1B3 PRG:01B3 20 23 E0 + jsr WaitVBlank_E023Loop ; CPU:$C1B3 PRG:01B3 20 23 E0 dec $014C ; CPU:$C1B6 PRG:01B6 CE 4C 01 lda ZpBD ; CPU:$C1B9 PRG:01B9 A5 BD - beq Label_C1EA ; CPU:$C1BB PRG:01BB F0 2D + beq SubCC1EA ; CPU:$C1BB PRG:01BB F0 2D lda $0151 ; CPU:$C1BD PRG:01BD AD 51 01 ora $0152 ; CPU:$C1C0 PRG:01C0 0D 52 01 - beq Label_C1EA ; CPU:$C1C3 PRG:01C3 F0 25 + beq SubCC1EA ; CPU:$C1C3 PRG:01C3 F0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_C1C5 +; Routine: SubCC1C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -509,20 +509,20 @@ UpdateSpritePositions: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1C5: +SubCC1C5: lda ZpBD ; CPU:$C1C5 PRG:01C5 A5 BD - beq Label_C1E7 ; CPU:$C1C7 PRG:01C7 F0 1E + beq SubCC1E7 ; CPU:$C1C7 PRG:01C7 F0 1E lda ZpBE ; CPU:$C1C9 PRG:01C9 A5 BE eor #$01 ; CPU:$C1CB PRG:01CB 49 01 tay ; CPU:$C1CD PRG:01CD A8 lda $0151,y ; CPU:$C1CE PRG:01CE B9 51 01 - beq Label_C1E7 ; CPU:$C1D1 PRG:01D1 F0 14 + beq SubCC1E7 ; CPU:$C1D1 PRG:01D1 F0 14 lda $014D ; CPU:$C1D3 PRG:01D3 AD 4D 01 - bne Label_C1DD ; CPU:$C1D6 PRG:01D6 D0 05 + bne SubCC1DD ; CPU:$C1D6 PRG:01D6 D0 05 ldx #$3C ; CPU:$C1D8 PRG:01D8 A2 3C - jsr $E025 ; CPU:$C1DA PRG:01DA 20 25 E0 + jsr WaitVBlank_E023_3 ; CPU:$C1DA PRG:01DA 20 25 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_C1DD +; Routine: SubCC1DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -530,13 +530,13 @@ Label_C1C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1DD: - jsr $E2A6 ; CPU:$C1DD PRG:01DD 20 A6 E2 +SubCC1DD: + jsr UpdateBallPhysics ; CPU:$C1DD PRG:01DD 20 A6 E2 ldx #$1E ; CPU:$C1E0 PRG:01E0 A2 1E - jsr $E025 ; CPU:$C1E2 PRG:01E2 20 25 E0 + jsr WaitVBlank_E023_3 ; CPU:$C1E2 PRG:01E2 20 25 E0 sty ZpBE ; CPU:$C1E5 PRG:01E5 84 BE ; ----------------------------------------------------------------------------- -; Routine: Label_C1E7 +; Routine: SubCC1E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -544,10 +544,10 @@ Label_C1DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1E7: - jmp $C06C ; CPU:$C1E7 PRG:01E7 4C 6C C0 +SubCC1E7: + jmp SubCC06C ; CPU:$C1E7 PRG:01E7 4C 6C C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C1EA +; Routine: SubCC1EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -555,8 +555,8 @@ Label_C1E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1EA: - jmp $C03B ; CPU:$C1EA PRG:01EA 4C 3B C0 +SubCC1EA: + jmp MainGameLoop ; CPU:$C1EA PRG:01EA 4C 3B C0 ; ----------------------------------------------------------------------------- ; Routine: NmiHandler ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -573,17 +573,17 @@ NmiHandler: tya ; CPU:$C1F0 PRG:01F0 98 pha ; CPU:$C1F1 PRG:01F1 48 lda #$00 ; CPU:$C1F2 PRG:01F2 A9 00 - sta $2003 ; CPU:$C1F4 PRG:01F4 8D 03 20 + sta OAMADDR ; CPU:$C1F4 PRG:01F4 8D 03 20 lda #$02 ; CPU:$C1F7 PRG:01F7 A9 02 - sta $4014 ; CPU:$C1F9 PRG:01F9 8D 14 40 + sta OAMDMA ; CPU:$C1F9 PRG:01F9 8D 14 40 lda $0153 ; CPU:$C1FC PRG:01FC AD 53 01 - beq Label_C20B ; CPU:$C1FF PRG:01FF F0 0A + beq SubCC20B ; CPU:$C1FF PRG:01FF F0 0A lda Zp01 ; CPU:$C201 PRG:0201 A5 01 - sta $2001 ; CPU:$C203 PRG:0203 8D 01 20 + sta PPUMASK ; CPU:$C203 PRG:0203 8D 01 20 lda #$00 ; CPU:$C206 PRG:0206 A9 00 sta $0153 ; CPU:$C208 PRG:0208 8D 53 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C20B +; Routine: SubCC20B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -591,20 +591,20 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C20B: +SubCC20B: lda Zp03 ; CPU:$C20B PRG:020B A5 03 bne NmiFrameEnd ; CPU:$C20D PRG:020D D0 4B lda ZpBF ; CPU:$C20F PRG:020F A5 BF cmp #$02 ; CPU:$C211 PRG:0211 C9 02 - beq Label_C231 ; CPU:$C213 PRG:0213 F0 1C + beq SubCC231 ; CPU:$C213 PRG:0213 F0 1C ldy $0155 ; CPU:$C215 PRG:0215 AC 55 01 - beq Label_C231 ; CPU:$C218 PRG:0218 F0 17 + beq SubCC231 ; CPU:$C218 PRG:0218 F0 17 ldx #$3F ; CPU:$C21A PRG:021A A2 3F lda #$00 ; CPU:$C21C PRG:021C A9 00 - jsr $E0EF ; CPU:$C21E PRG:021E 20 EF E0 + jsr WritePPU ; CPU:$C21E PRG:021E 20 EF E0 ldx #$0F ; CPU:$C221 PRG:0221 A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_C223 +; Routine: SubCC223 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -612,13 +612,13 @@ Label_C20B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C223: +SubCC223: lda $E3B2,x ; CPU:$C223 PRG:0223 BD B2 E3 cmp #$12 ; CPU:$C226 PRG:0226 C9 12 - bne Label_C22B ; CPU:$C228 PRG:0228 D0 01 + bne SubCC22B ; CPU:$C228 PRG:0228 D0 01 tya ; CPU:$C22A PRG:022A 98 ; ----------------------------------------------------------------------------- -; Routine: Label_C22B +; Routine: SubCC22B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -626,12 +626,12 @@ Label_C223: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C22B: - sta $2007 ; CPU:$C22B PRG:022B 8D 07 20 +SubCC22B: + sta PPUDATA ; CPU:$C22B PRG:022B 8D 07 20 dex ; CPU:$C22E PRG:022E CA - bpl Label_C223 ; CPU:$C22F PRG:022F 10 F2 + bpl SubCC223 ; CPU:$C22F PRG:022F 10 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_C231 +; Routine: SubCC231 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -639,22 +639,22 @@ Label_C22B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C231: +SubCC231: lda $014C ; CPU:$C231 PRG:0231 AD 4C 01 bne HandleBonus ; CPU:$C234 PRG:0234 D0 39 - jsr $EDED ; CPU:$C236 PRG:0236 20 ED ED - jsr $EDB0 ; CPU:$C239 PRG:0239 20 B0 ED - jsr $EBF9 ; CPU:$C23C PRG:023C 20 F9 EB - jsr $E5B6 ; CPU:$C23F PRG:023F 20 B6 E5 - jsr $F321 ; CPU:$C242 PRG:0242 20 21 F3 - jsr $EFD3 ; CPU:$C245 PRG:0245 20 D3 EF - jsr $EB9D ; CPU:$C248 PRG:0248 20 9D EB - jsr $EF28 ; CPU:$C24B PRG:024B 20 28 EF - jsr $F3B9 ; CPU:$C24E PRG:024E 20 B9 F3 + jsr UpdateMusicChannel13 ; CPU:$C236 PRG:0236 20 ED ED + jsr UpdateMusicChannel12 ; CPU:$C239 PRG:0239 20 B0 ED + jsr UpdateSoundChannel9 ; CPU:$C23C PRG:023C 20 F9 EB + jsr SubCE5B6 ; CPU:$C23F PRG:023F 20 B6 E5 + jsr UpdateMusicChannel31 ; CPU:$C242 PRG:0242 20 21 F3 + jsr UpdateMusicChannel19 ; CPU:$C245 PRG:0245 20 D3 EF + jsr UpdateSoundChannel8 ; CPU:$C248 PRG:0248 20 9D EB + jsr UpdateMusicChannel17 ; CPU:$C24B PRG:024B 20 28 EF + jsr UpdateMusicChannel32 ; CPU:$C24E PRG:024E 20 B9 F3 lda ZpBF ; CPU:$C251 PRG:0251 A5 BF cmp #$02 ; CPU:$C253 PRG:0253 C9 02 bne NmiFrameEnd ; CPU:$C255 PRG:0255 D0 03 - jsr $F2F0 ; CPU:$C257 PRG:0257 20 F0 F2 + jsr UpdateMusicChannel30 ; CPU:$C257 PRG:0257 20 F0 F2 ; ----------------------------------------------------------------------------- ; Routine: NmiFrameEnd ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -666,9 +666,9 @@ Label_C231: ; ----------------------------------------------------------------------------- NmiFrameEnd: lda #$00 ; CPU:$C25A PRG:025A A9 00 - sta $2005 ; CPU:$C25C PRG:025C 8D 05 20 - sta $2005 ; CPU:$C25F PRG:025F 8D 05 20 - jsr $FFF7 ; CPU:$C262 PRG:0262 20 F7 FF + sta PPUSCROLL ; CPU:$C25C PRG:025C 8D 05 20 + sta PPUSCROLL ; CPU:$C25F PRG:025F 8D 05 20 + jsr ResetVector ; CPU:$C262 PRG:0262 20 F7 FF lda #$01 ; CPU:$C265 PRG:0265 A9 01 sta Zp02 ; CPU:$C267 PRG:0267 85 02 pla ; CPU:$C269 PRG:0269 68 @@ -693,8 +693,8 @@ HandleBonus: tay ; CPU:$C274 PRG:0274 A8 ldx #$29 ; CPU:$C275 PRG:0275 A2 29 lda #$93 ; CPU:$C277 PRG:0277 A9 93 - jsr $E0F6 ; CPU:$C279 PRG:0279 20 F6 E0 - jmp $C25A ; CPU:$C27C PRG:027C 4C 5A C2 + jsr WritePPU2 ; CPU:$C279 PRG:0279 20 F6 E0 + jmp NmiFrameEnd ; CPU:$C27C PRG:027C 4C 5A C2 ; ----------------------------------------------------------------------------- ; Routine: GameStateUpdate ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -706,14 +706,14 @@ HandleBonus: ; ----------------------------------------------------------------------------- GameStateUpdate: inc Zp03 ; CPU:$C27F PRG:027F E6 03 - jsr $E2A6 ; CPU:$C281 PRG:0281 20 A6 E2 + jsr UpdateBallPhysics ; CPU:$C281 PRG:0281 20 A6 E2 lda #$00 ; CPU:$C284 PRG:0284 A9 00 sta ZpBE ; CPU:$C286 PRG:0286 85 BE sta Zp04 ; CPU:$C288 PRG:0288 85 04 - jsr $E046 ; CPU:$C28A PRG:028A 20 46 E0 + jsr WaitFrame ; CPU:$C28A PRG:028A 20 46 E0 and #$10 ; CPU:$C28D PRG:028D 29 10 beq InitBallLaunch ; CPU:$C28F PRG:028F F0 03 - jmp $C3B7 ; CPU:$C291 PRG:0291 4C B7 C3 + jmp UpdateBallTrajectory_E278_1 ; CPU:$C291 PRG:0291 4C B7 C3 ; ----------------------------------------------------------------------------- ; Routine: InitBallLaunch ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -724,26 +724,26 @@ GameStateUpdate: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- InitBallLaunch: - jsr $E403 ; CPU:$C294 PRG:0294 20 03 E4 + jsr CheckGameState ; CPU:$C294 PRG:0294 20 03 E4 lda #$08 ; CPU:$C297 PRG:0297 A9 08 - sta $2000 ; CPU:$C299 PRG:0299 8D 00 20 + sta PPUCTRL ; CPU:$C299 PRG:0299 8D 00 20 sta Zp00 ; CPU:$C29C PRG:029C 85 00 lda #$6B ; CPU:$C29E PRG:029E A9 6B sta ZpE1 ; CPU:$C2A0 PRG:02A0 85 E1 lda #$C5 ; CPU:$C2A2 PRG:02A2 A9 C5 sta ZpE2 ; CPU:$C2A4 PRG:02A4 85 E2 ldy #$13 ; CPU:$C2A6 PRG:02A6 A0 13 - jsr $E293 ; CPU:$C2A8 PRG:02A8 20 93 E2 + jsr InitSprites2 ; CPU:$C2A8 PRG:02A8 20 93 E2 ldx #$20 ; CPU:$C2AB PRG:02AB A2 20 lda #$00 ; CPU:$C2AD PRG:02AD A9 00 - jsr $C3E0 ; CPU:$C2AF PRG:02AF 20 E0 C3 + jsr DrawGameOverScreen ; CPU:$C2AF PRG:02AF 20 E0 C3 ldx #$28 ; CPU:$C2B2 PRG:02B2 A2 28 lda #$00 ; CPU:$C2B4 PRG:02B4 A9 00 - jsr $C3E0 ; CPU:$C2B6 PRG:02B6 20 E0 C3 + jsr DrawGameOverScreen ; CPU:$C2B6 PRG:02B6 20 E0 C3 ldx #$00 ; CPU:$C2B9 PRG:02B9 A2 00 ldy #$00 ; CPU:$C2BB PRG:02BB A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C2BD +; Routine: SubCC2BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -751,17 +751,17 @@ InitBallLaunch: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2BD: +SubCC2BD: lda $C50B,x ; CPU:$C2BD PRG:02BD BD 0B C5 - sta $2006 ; CPU:$C2C0 PRG:02C0 8D 06 20 + sta PPUADDR ; CPU:$C2C0 PRG:02C0 8D 06 20 inx ; CPU:$C2C3 PRG:02C3 E8 lda $C50B,x ; CPU:$C2C4 PRG:02C4 BD 0B C5 - sta $2006 ; CPU:$C2C7 PRG:02C7 8D 06 20 + sta PPUADDR ; CPU:$C2C7 PRG:02C7 8D 06 20 inx ; CPU:$C2CA PRG:02CA E8 lda #$0E ; CPU:$C2CB PRG:02CB A9 0E sta ZpE6 ; CPU:$C2CD PRG:02CD 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_C2CF +; Routine: SubCC2CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -769,14 +769,14 @@ Label_C2BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2CF: +SubCC2CF: lda $C400,y ; CPU:$C2CF PRG:02CF B9 00 C4 - sta $2007 ; CPU:$C2D2 PRG:02D2 8D 07 20 + sta PPUDATA ; CPU:$C2D2 PRG:02D2 8D 07 20 iny ; CPU:$C2D5 PRG:02D5 C8 dec ZpE6 ; CPU:$C2D6 PRG:02D6 C6 E6 - bne Label_C2CF ; CPU:$C2D8 PRG:02D8 D0 F5 + bne SubCC2CF ; CPU:$C2D8 PRG:02D8 D0 F5 cpx #$0C ; CPU:$C2DA PRG:02DA E0 0C - bne Label_C2BD ; CPU:$C2DC PRG:02DC D0 DF + bne SubCC2BD ; CPU:$C2DC PRG:02DC D0 DF ; ----------------------------------------------------------------------------- ; Routine: DrawPlayfield ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -788,15 +788,15 @@ Label_C2CF: ; ----------------------------------------------------------------------------- DrawPlayfield: lda $C50B,x ; CPU:$C2DE PRG:02DE BD 0B C5 - sta $2006 ; CPU:$C2E1 PRG:02E1 8D 06 20 + sta PPUADDR ; CPU:$C2E1 PRG:02E1 8D 06 20 inx ; CPU:$C2E4 PRG:02E4 E8 lda $C50B,x ; CPU:$C2E5 PRG:02E5 BD 0B C5 - sta $2006 ; CPU:$C2E8 PRG:02E8 8D 06 20 + sta PPUADDR ; CPU:$C2E8 PRG:02E8 8D 06 20 inx ; CPU:$C2EB PRG:02EB E8 lda #$13 ; CPU:$C2EC PRG:02EC A9 13 sta ZpE6 ; CPU:$C2EE PRG:02EE 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_C2F0 +; Routine: SubCC2F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -804,12 +804,12 @@ DrawPlayfield: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2F0: +SubCC2F0: lda $C400,y ; CPU:$C2F0 PRG:02F0 B9 00 C4 - sta $2007 ; CPU:$C2F3 PRG:02F3 8D 07 20 + sta PPUDATA ; CPU:$C2F3 PRG:02F3 8D 07 20 iny ; CPU:$C2F6 PRG:02F6 C8 dec ZpE6 ; CPU:$C2F7 PRG:02F7 C6 E6 - bne Label_C2F0 ; CPU:$C2F9 PRG:02F9 D0 F5 + bne SubCC2F0 ; CPU:$C2F9 PRG:02F9 D0 F5 cpx #$18 ; CPU:$C2FB PRG:02FB E0 18 bne DrawPlayfield ; CPU:$C2FD PRG:02FD D0 DF ldx #$00 ; CPU:$C2FF PRG:02FF A2 00 @@ -824,14 +824,14 @@ Label_C2F0: ; ----------------------------------------------------------------------------- DrawStatusBar: lda $C523,x ; CPU:$C301 PRG:0301 BD 23 C5 - sta $2006 ; CPU:$C304 PRG:0304 8D 06 20 + sta PPUADDR ; CPU:$C304 PRG:0304 8D 06 20 lda $C524,x ; CPU:$C307 PRG:0307 BD 24 C5 - sta $2006 ; CPU:$C30A PRG:030A 8D 06 20 + sta PPUADDR ; CPU:$C30A PRG:030A 8D 06 20 lda $C503,x ; CPU:$C30D PRG:030D BD 03 C5 - sta $2007 ; CPU:$C310 PRG:0310 8D 07 20 + sta PPUDATA ; CPU:$C310 PRG:0310 8D 07 20 ldy #$00 ; CPU:$C313 PRG:0313 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C315 +; Routine: SubCC315 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -839,14 +839,14 @@ DrawStatusBar: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C315: +SubCC315: lda $C4F6,y ; CPU:$C315 PRG:0315 B9 F6 C4 - sta $2007 ; CPU:$C318 PRG:0318 8D 07 20 + sta PPUDATA ; CPU:$C318 PRG:0318 8D 07 20 iny ; CPU:$C31B PRG:031B C8 cpy #$0D ; CPU:$C31C PRG:031C C0 0D - bne Label_C315 ; CPU:$C31E PRG:031E D0 F5 + bne SubCC315 ; CPU:$C31E PRG:031E D0 F5 lda $C504,x ; CPU:$C320 PRG:0320 BD 04 C5 - sta $2007 ; CPU:$C323 PRG:0323 8D 07 20 + sta PPUDATA ; CPU:$C323 PRG:0323 8D 07 20 inx ; CPU:$C326 PRG:0326 E8 inx ; CPU:$C327 PRG:0327 E8 cpx #$08 ; CPU:$C328 PRG:0328 E0 08 @@ -866,12 +866,12 @@ DrawDigits: beq UpdateSprites_C34B_3 ; CPU:$C331 PRG:0331 F0 18 iny ; CPU:$C333 PRG:0333 C8 lda $C4C6,y ; CPU:$C334 PRG:0334 B9 C6 C4 - jsr $E0EF ; CPU:$C337 PRG:0337 20 EF E0 + jsr WritePPU ; CPU:$C337 PRG:0337 20 EF E0 iny ; CPU:$C33A PRG:033A C8 ldx $C4C6,y ; CPU:$C33B PRG:033B BE C6 C4 iny ; CPU:$C33E PRG:033E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C33F +; Routine: SubCC33F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -879,12 +879,12 @@ DrawDigits: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C33F: +SubCC33F: lda $C4C6,y ; CPU:$C33F PRG:033F B9 C6 C4 iny ; CPU:$C342 PRG:0342 C8 - sta $2007 ; CPU:$C343 PRG:0343 8D 07 20 + sta PPUDATA ; CPU:$C343 PRG:0343 8D 07 20 dex ; CPU:$C346 PRG:0346 CA - bne Label_C33F ; CPU:$C347 PRG:0347 D0 F6 + bne SubCC33F ; CPU:$C347 PRG:0347 D0 F6 beq DrawDigits ; CPU:$C349 PRG:0349 F0 E3 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites_C34B_3 @@ -898,7 +898,7 @@ Label_C33F: UpdateSprites_C34B_3: ldx #$02 ; CPU:$C34B PRG:034B A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C34D +; Routine: SubCC34D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -906,15 +906,15 @@ UpdateSprites_C34B_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C34D: +SubCC34D: lda $C57F,x ; CPU:$C34D PRG:034D BD 7F C5 sta $0201,x ; CPU:$C350 PRG:0350 9D 01 02 dex ; CPU:$C353 PRG:0353 CA - bpl Label_C34D ; CPU:$C354 PRG:0354 10 F7 + bpl SubCC34D ; CPU:$C354 PRG:0354 10 F7 ldx $014F ; CPU:$C356 PRG:0356 AE 4F 01 lda $C582,x ; CPU:$C359 PRG:0359 BD 82 C5 sta $0200 ; CPU:$C35C PRG:035C 8D 00 02 - jsr $E278 ; CPU:$C35F PRG:035F 20 78 E2 + jsr UpdateBallTrajectory_E278_3 ; CPU:$C35F PRG:035F 20 78 E2 inc ZpB9 ; CPU:$C362 PRG:0362 E6 B9 lda #$78 ; CPU:$C364 PRG:0364 A9 78 sta $014E ; CPU:$C366 PRG:0366 8D 4E 01 @@ -923,7 +923,7 @@ Label_C34D: and #$03 ; CPU:$C36F PRG:036F 29 03 bne BallPhysicsMain ; CPU:$C371 PRG:0371 D0 09 lda #$0F ; CPU:$C373 PRG:0373 A9 0F - sta $4015 ; CPU:$C375 PRG:0375 8D 15 40 + sta APUSTATUS ; CPU:$C375 PRG:0375 8D 15 40 lda #$02 ; CPU:$C378 PRG:0378 A9 02 sta ZpFD ; CPU:$C37A PRG:037A 85 FD ; ----------------------------------------------------------------------------- @@ -936,7 +936,7 @@ Label_C34D: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- BallPhysicsMain: - jsr $E02C ; CPU:$C37C PRG:037C 20 2C E0 + jsr WaitVBlank_E0232 ; CPU:$C37C PRG:037C 20 2C E0 inc Zp05 ; CPU:$C37F PRG:037F E6 05 lda Zp05 ; CPU:$C381 PRG:0381 A5 05 and #$03 ; CPU:$C383 PRG:0383 29 03 @@ -953,7 +953,7 @@ BallPhysicsMain: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckTilt: - jsr $E046 ; CPU:$C38C PRG:038C 20 46 E0 + jsr WaitFrame ; CPU:$C38C PRG:038C 20 46 E0 and #$20 ; CPU:$C38F PRG:038F 29 20 cmp ZpB9 ; CPU:$C391 PRG:0391 C5 B9 beq UpdateFlipper ; CPU:$C393 PRG:0393 F0 1C @@ -1000,7 +1000,7 @@ UpdateBallTrajectory_E278_1: rol a ; CPU:$C3BF PRG:03BF 2A sta ZpBC ; CPU:$C3C0 PRG:03C0 85 BC lda #$0F ; CPU:$C3C2 PRG:03C2 A9 0F - sta $4015 ; CPU:$C3C4 PRG:03C4 8D 15 40 + sta APUSTATUS ; CPU:$C3C4 PRG:03C4 8D 15 40 ; ----------------------------------------------------------------------------- ; Routine: BallLost ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1013,7 +1013,7 @@ UpdateBallTrajectory_E278_1: BallLost: lda #$00 ; CPU:$C3C7 PRG:03C7 A9 00 sta Zp03 ; CPU:$C3C9 PRG:03C9 85 03 - jmp $E2A6 ; CPU:$C3CB PRG:03CB 4C A6 E2 + jmp UpdateBallPhysics ; CPU:$C3CB PRG:03CB 4C A6 E2 ; ----------------------------------------------------------------------------- ; Routine: UpdateBonusTimer ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -1040,7 +1040,7 @@ BallLostHandler: bne UpdateBonusTimer ; CPU:$C3D5 PRG:03D5 D0 F7 inc Zp04 ; CPU:$C3D7 PRG:03D7 E6 04 ldx #$00 ; CPU:$C3D9 PRG:03D9 A2 00 - stx $4015 ; CPU:$C3DB PRG:03DB 8E 15 40 + stx APUSTATUS ; CPU:$C3DB PRG:03DB 8E 15 40 beq BallLost ; CPU:$C3DE PRG:03DE F0 E7 ; ----------------------------------------------------------------------------- ; Routine: DrawGameOverScreen @@ -1052,12 +1052,12 @@ BallLostHandler: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- DrawGameOverScreen: - jsr $E0EF ; CPU:$C3E0 PRG:03E0 20 EF E0 + jsr WritePPU ; CPU:$C3E0 PRG:03E0 20 EF E0 lda #$B9 ; CPU:$C3E3 PRG:03E3 A9 B9 ldy #$03 ; CPU:$C3E5 PRG:03E5 A0 03 ldx #$C0 ; CPU:$C3E7 PRG:03E7 A2 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C3E9 +; Routine: SubCC3E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1065,12 +1065,12 @@ DrawGameOverScreen: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3E9: - sta $2007 ; CPU:$C3E9 PRG:03E9 8D 07 20 +SubCC3E9: + sta PPUDATA ; CPU:$C3E9 PRG:03E9 8D 07 20 dex ; CPU:$C3EC PRG:03EC CA - bne Label_C3E9 ; CPU:$C3ED PRG:03ED D0 FA + bne SubCC3E9 ; CPU:$C3ED PRG:03ED D0 FA dey ; CPU:$C3EF PRG:03EF 88 - bpl Label_C3E9 ; CPU:$C3F0 PRG:03F0 10 F7 + bpl SubCC3E9 ; CPU:$C3F0 PRG:03F0 10 F7 ldx #$00 ; CPU:$C3F2 PRG:03F2 A2 00 ; ----------------------------------------------------------------------------- ; Routine: ClearPlayfieldRTS @@ -1083,7 +1083,7 @@ Label_C3E9: ; ----------------------------------------------------------------------------- ClearPlayfieldRTS: lda $C52B,x ; CPU:$C3F4 PRG:03F4 BD 2B C5 - sta $2007 ; CPU:$C3F7 PRG:03F7 8D 07 20 + sta PPUDATA ; CPU:$C3F7 PRG:03F7 8D 07 20 inx ; CPU:$C3FA PRG:03FA E8 cpx #$40 ; CPU:$C3FB PRG:03FB E0 40 bne ClearPlayfieldRTS ; CPU:$C3FD PRG:03FD D0 F5 @@ -1220,7 +1220,7 @@ ClearPlayfieldRTS: .byte $00, $A0, $37, $36, $40, $A8, $99, $54, $02, $90, $99, $54, $42, $98, $A1, $55 ; CPU:$CB90 PRG:0B90 00 A0 37 36 40 A8 99 54 02 90 99 54 42 98 A1 55 .byte $02, $90, $A1, $55, $42, $98, $FE ; CPU:$CBA0 PRG:0BA0 02 90 A1 55 42 98 FE ; ----------------------------------------------------------------------------- -; Routine: Label_CBA7 +; Routine: SubCCBA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1228,13 +1228,13 @@ ClearPlayfieldRTS: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA7: +SubCCBA7: lda Zp04 ; CPU:$CBA7 PRG:0BA7 A5 04 - beq Label_CBAF ; CPU:$CBA9 PRG:0BA9 F0 04 + beq SubCCBAF ; CPU:$CBA9 PRG:0BA9 F0 04 lda #$04 ; CPU:$CBAB PRG:0BAB A9 04 - bne Label_CBB4 ; CPU:$CBAD PRG:0BAD D0 05 + bne SubCCBB4 ; CPU:$CBAD PRG:0BAD D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CBAF +; Routine: SubCCBAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1242,12 +1242,12 @@ Label_CBA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBAF: +SubCCBAF: lda ZpBC ; CPU:$CBAF PRG:0BAF A5 BC clc ; CPU:$CBB1 PRG:0BB1 18 adc #$03 ; CPU:$CBB2 PRG:0BB2 69 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CBB4 +; Routine: SubCCBB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1255,10 +1255,10 @@ Label_CBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBB4: +SubCCBB4: sta Zp1D ; CPU:$CBB4 PRG:0BB4 85 1D ; ----------------------------------------------------------------------------- -; Routine: Label_CBB6 +; Routine: SubCCBB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1266,11 +1266,11 @@ Label_CBB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBB6: +SubCCBB6: lda #$00 ; CPU:$CBB6 PRG:0BB6 A9 00 sta Zp1C ; CPU:$CBB8 PRG:0BB8 85 1C ; ----------------------------------------------------------------------------- -; Routine: Label_CBBA +; Routine: SubCCBBA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1278,13 +1278,13 @@ Label_CBB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBBA: +SubCCBBA: lda ZpD2 ; CPU:$CBBA PRG:0BBA A5 D2 - bpl Label_CBC4 ; CPU:$CBBC PRG:0BBC 10 06 - jsr $CC78 ; CPU:$CBBE PRG:0BBE 20 78 CC - jmp $CC5D ; CPU:$CBC1 PRG:0BC1 4C 5D CC + bpl SubCCBC4 ; CPU:$CBBC PRG:0BBC 10 06 + jsr SubCCC78 ; CPU:$CBBE PRG:0BBE 20 78 CC + jmp SubCCC5D ; CPU:$CBC1 PRG:0BC1 4C 5D CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBC4 +; Routine: SubCCBC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1292,13 +1292,13 @@ Label_CBBA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBC4: - jsr $DE30 ; CPU:$CBC4 PRG:0BC4 20 30 DE - jsr $DE6C ; CPU:$CBC7 PRG:0BC7 20 6C DE - jsr $DBB6 ; CPU:$CBCA PRG:0BCA 20 B6 DB +SubCCBC4: + jsr UpdateSoundEngine ; CPU:$CBC4 PRG:0BC4 20 30 DE + jsr SubCDE6C ; CPU:$CBC7 PRG:0BC7 20 6C DE + jsr UpdateBumper ; CPU:$CBCA PRG:0BCA 20 B6 DB ldx #$02 ; CPU:$CBCD PRG:0BCD A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CBCF +; Routine: SubCCBCF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1306,22 +1306,22 @@ Label_CBC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBCF: +SubCCBCF: asl Zp0A ; CPU:$CBCF PRG:0BCF 06 0A rol Zp0B ; CPU:$CBD1 PRG:0BD1 26 0B asl Zp0C ; CPU:$CBD3 PRG:0BD3 06 0C rol Zp0D ; CPU:$CBD5 PRG:0BD5 26 0D dex ; CPU:$CBD7 PRG:0BD7 CA - bne Label_CBCF ; CPU:$CBD8 PRG:0BD8 D0 F5 - jsr $DCC9 ; CPU:$CBDA PRG:0BDA 20 C9 DC + bne SubCCBCF ; CPU:$CBD8 PRG:0BD8 D0 F5 + jsr SubCDCC9 ; CPU:$CBDA PRG:0BDA 20 C9 DC lda Zp09 ; CPU:$CBDD PRG:0BDD A5 09 cmp #$08 ; CPU:$CBDF PRG:0BDF C9 08 - bcs Label_CBE9 ; CPU:$CBE1 PRG:0BE1 B0 06 + bcs SubCCBE9 ; CPU:$CBE1 PRG:0BE1 B0 06 dec ZpBF ; CPU:$CBE3 PRG:0BE3 C6 BF lda #$E9 ; CPU:$CBE5 PRG:0BE5 A9 E9 - bne Label_CC01 ; CPU:$CBE7 PRG:0BE7 D0 18 + bne SubCCC01 ; CPU:$CBE7 PRG:0BE7 D0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_CBE9 +; Routine: SubCCBE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1329,16 +1329,16 @@ Label_CBCF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBE9: +SubCCBE9: cmp #$F1 ; CPU:$CBE9 PRG:0BE9 C9 F1 - bcc Label_CC06 ; CPU:$CBEB PRG:0BEB 90 19 + bcc SubCCC06 ; CPU:$CBEB PRG:0BEB 90 19 lda ZpBF ; CPU:$CBED PRG:0BED A5 BF - beq Label_CBFD ; CPU:$CBEF PRG:0BEF F0 0C + beq SubCCBFD ; CPU:$CBEF PRG:0BEF F0 0C cmp #$02 ; CPU:$CBF1 PRG:0BF1 C9 02 - beq Label_CBF6 ; CPU:$CBF3 PRG:0BF3 F0 01 + beq SubCCBF6 ; CPU:$CBF3 PRG:0BF3 F0 01 rts ; CPU:$CBF5 PRG:0BF5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CBF6 +; Routine: SubCCBF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1346,12 +1346,12 @@ Label_CBE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBF6: +SubCCBF6: ldx #$00 ; CPU:$CBF6 PRG:0BF6 A2 00 stx Zp1D ; CPU:$CBF8 PRG:0BF8 86 1D - jmp $CCE9 ; CPU:$CBFA PRG:0BFA 4C E9 CC + jmp SubCCCE9 ; CPU:$CBFA PRG:0BFA 4C E9 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBFD +; Routine: SubCCBFD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1359,11 +1359,11 @@ Label_CBF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBFD: +SubCCBFD: inc ZpBF ; CPU:$CBFD PRG:0BFD E6 BF lda #$08 ; CPU:$CBFF PRG:0BFF A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_CC01 +; Routine: SubCCC01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1371,11 +1371,11 @@ Label_CBFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC01: +SubCCC01: sta Zp09 ; CPU:$CC01 PRG:0C01 85 09 - jsr $E0FD ; CPU:$CC03 PRG:0C03 20 FD E0 + jsr InitGame ; CPU:$CC03 PRG:0C03 20 FD E0 ; ----------------------------------------------------------------------------- -; Routine: Label_CC06 +; Routine: SubCCC06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1383,8 +1383,8 @@ Label_CC01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC06: - jsr $DE41 ; CPU:$CC06 PRG:0C06 20 41 DE +SubCCC06: + jsr UpdateSoundChannel ; CPU:$CC06 PRG:0C06 20 41 DE lda #$00 ; CPU:$CC09 PRG:0C09 A9 00 sta Zp1F ; CPU:$CC0B PRG:0C0B 85 1F lda Zp07 ; CPU:$CC0D PRG:0C0D A5 07 @@ -1392,7 +1392,7 @@ Label_CC06: lda Zp09 ; CPU:$CC11 PRG:0C11 A5 09 sta Zp21 ; CPU:$CC13 PRG:0C13 85 21 ; ----------------------------------------------------------------------------- -; Routine: Label_CC15 +; Routine: SubCCC15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1400,10 +1400,10 @@ Label_CC06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC15: - jsr $CE6C ; CPU:$CC15 PRG:0C15 20 6C CE +SubCCC15: + jsr InitializeRAM ; CPU:$CC15 PRG:0C15 20 6C CE ; ----------------------------------------------------------------------------- -; Routine: Label_CC18 +; Routine: SubCCC18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1411,23 +1411,23 @@ Label_CC15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC18: +SubCCC18: dec Zp26 ; CPU:$CC18 PRG:0C18 C6 26 - bmi Label_CC3A ; CPU:$CC1A PRG:0C1A 30 1E - jsr $CFEC ; CPU:$CC1C PRG:0C1C 20 EC CF - bcc Label_CC35 ; CPU:$CC1F PRG:0C1F 90 14 + bmi SubCCC3A ; CPU:$CC1A PRG:0C1A 30 1E + jsr UpdateSprites_C34B2 ; CPU:$CC1C PRG:0C1C 20 EC CF + bcc SubCCC35 ; CPU:$CC1F PRG:0C1F 90 14 lda Zp1F ; CPU:$CC21 PRG:0C21 A5 1F - bne Label_CC3A ; CPU:$CC23 PRG:0C23 D0 15 + bne SubCCC3A ; CPU:$CC23 PRG:0C23 D0 15 lda Zp07 ; CPU:$CC25 PRG:0C25 A5 07 cmp Zp20 ; CPU:$CC27 PRG:0C27 C5 20 - bne Label_CC15 ; CPU:$CC29 PRG:0C29 D0 EA + bne SubCCC15 ; CPU:$CC29 PRG:0C29 D0 EA lda Zp09 ; CPU:$CC2B PRG:0C2B A5 09 cmp Zp21 ; CPU:$CC2D PRG:0C2D C5 21 - bne Label_CC15 ; CPU:$CC2F PRG:0C2F D0 E4 + bne SubCCC15 ; CPU:$CC2F PRG:0C2F D0 E4 inc Zp1F ; CPU:$CC31 PRG:0C31 E6 1F - bne Label_CC15 ; CPU:$CC33 PRG:0C33 D0 E0 + bne SubCCC15 ; CPU:$CC33 PRG:0C33 D0 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_CC35 +; Routine: SubCCC35 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1435,11 +1435,11 @@ Label_CC18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC35: - jsr $D0AD ; CPU:$CC35 PRG:0C35 20 AD D0 - bcc Label_CC18 ; CPU:$CC38 PRG:0C38 90 DE +SubCCC35: + jsr UpdateScore2 ; CPU:$CC35 PRG:0C35 20 AD D0 + bcc SubCCC18 ; CPU:$CC38 PRG:0C38 90 DE ; ----------------------------------------------------------------------------- -; Routine: Label_CC3A +; Routine: SubCCC3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1447,23 +1447,23 @@ Label_CC35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC3A: - jsr $D4F0 ; CPU:$CC3A PRG:0C3A 20 F0 D4 - jsr $CD34 ; CPU:$CC3D PRG:0C3D 20 34 CD +SubCCC3A: + jsr UpdateFlippers_3 ; CPU:$CC3A PRG:0C3A 20 F0 D4 + jsr SubCCD34 ; CPU:$CC3D PRG:0C3D 20 34 CD dec Zp1E ; CPU:$CC40 PRG:0C40 C6 1E - bne Label_CC5D ; CPU:$CC42 PRG:0C42 D0 19 + bne SubCCC5D ; CPU:$CC42 PRG:0C42 D0 19 lda #$05 ; CPU:$CC44 PRG:0C44 A9 05 sta Zp1E ; CPU:$CC46 PRG:0C46 85 1E - jsr $DE6C ; CPU:$CC48 PRG:0C48 20 6C DE + jsr SubCDE6C ; CPU:$CC48 PRG:0C48 20 6C DE lda Zp0C ; CPU:$CC4B PRG:0C4B A5 0C clc ; CPU:$CC4D PRG:0C4D 18 adc #$01 ; CPU:$CC4E PRG:0C4E 69 01 - bmi Label_CC58 ; CPU:$CC50 PRG:0C50 30 06 + bmi SubCCC58 ; CPU:$CC50 PRG:0C50 30 06 cmp #$40 ; CPU:$CC52 PRG:0C52 C9 40 - bcc Label_CC58 ; CPU:$CC54 PRG:0C54 90 02 + bcc SubCCC58 ; CPU:$CC54 PRG:0C54 90 02 lda #$3F ; CPU:$CC56 PRG:0C56 A9 3F ; ----------------------------------------------------------------------------- -; Routine: Label_CC58 +; Routine: SubCCC58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1471,11 +1471,11 @@ Label_CC3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC58: +SubCCC58: sta Zp0C ; CPU:$CC58 PRG:0C58 85 0C - jsr $DE7E ; CPU:$CC5A PRG:0C5A 20 7E DE + jsr UpdateSoundChannel4_EAD1_1 ; CPU:$CC5A PRG:0C5A 20 7E DE ; ----------------------------------------------------------------------------- -; Routine: Label_CC5D +; Routine: SubCCC5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1483,12 +1483,12 @@ Label_CC58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC5D: +SubCCC5D: dec Zp1C ; CPU:$CC5D PRG:0C5D C6 1C - bmi Label_CC64 ; CPU:$CC5F PRG:0C5F 30 03 - jmp $CBBA ; CPU:$CC61 PRG:0C61 4C BA CB + bmi SubCCC64 ; CPU:$CC5F PRG:0C5F 30 03 + jmp SubCCBBA ; CPU:$CC61 PRG:0C61 4C BA CB ; ----------------------------------------------------------------------------- -; Routine: Label_CC64 +; Routine: SubCCC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1496,14 +1496,14 @@ Label_CC5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC64: - jsr $CD02 ; CPU:$CC64 PRG:0C64 20 02 CD +SubCCC64: + jsr SubCCD02 ; CPU:$CC64 PRG:0C64 20 02 CD lda ZpBF ; CPU:$CC67 PRG:0C67 A5 BF cmp #$02 ; CPU:$CC69 PRG:0C69 C9 02 - beq Label_CC70 ; CPU:$CC6B PRG:0C6B F0 03 - jsr $E609 ; CPU:$CC6D PRG:0C6D 20 09 E6 + beq SubCCC70 ; CPU:$CC6B PRG:0C6B F0 03 + jsr UpdateMusicEngine ; CPU:$CC6D PRG:0C6D 20 09 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_CC70 +; Routine: SubCCC70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1511,12 +1511,12 @@ Label_CC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC70: +SubCCC70: dec Zp1D ; CPU:$CC70 PRG:0C70 C6 1D - beq Label_CC77 ; CPU:$CC72 PRG:0C72 F0 03 - jmp $CBB6 ; CPU:$CC74 PRG:0C74 4C B6 CB + beq SubCCC77 ; CPU:$CC72 PRG:0C72 F0 03 + jmp SubCCBB6 ; CPU:$CC74 PRG:0C74 4C B6 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CC77 +; Routine: SubCCC77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1524,10 +1524,10 @@ Label_CC70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC77: +SubCCC77: rts ; CPU:$CC77 PRG:0C77 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC78 +; Routine: SubCCC78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1535,13 +1535,13 @@ Label_CC77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC78: +SubCCC78: lda Zp24 ; CPU:$CC78 PRG:0C78 A5 24 - beq Label_CC7F ; CPU:$CC7A PRG:0C7A F0 03 + beq SubCCC7F ; CPU:$CC7A PRG:0C7A F0 03 dec Zp24 ; CPU:$CC7C PRG:0C7C C6 24 rts ; CPU:$CC7E PRG:0C7E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC7F +; Routine: SubCCC7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1549,16 +1549,16 @@ Label_CC78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC7F: +SubCCC7F: ldx Zp23 ; CPU:$CC7F PRG:0C7F A6 23 lda $DB94,x ; CPU:$CC81 PRG:0C81 BD 94 DB - bmi Label_CC8F ; CPU:$CC84 PRG:0C84 30 09 + bmi SubCCC8F ; CPU:$CC84 PRG:0C84 30 09 sta Zp1B ; CPU:$CC86 PRG:0C86 85 1B lda $DB95,x ; CPU:$CC88 PRG:0C88 BD 95 DB sta Zp24 ; CPU:$CC8B PRG:0C8B 85 24 - bne Label_CCB6 ; CPU:$CC8D PRG:0C8D D0 27 + bne SubCCCB6 ; CPU:$CC8D PRG:0C8D D0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_CC8F +; Routine: SubCCC8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1566,19 +1566,19 @@ Label_CC7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC8F: +SubCCC8F: cmp #$FF ; CPU:$CC8F PRG:0C8F C9 FF - beq Label_CCBB ; CPU:$CC91 PRG:0C91 F0 28 + beq SubCCCBB ; CPU:$CC91 PRG:0C91 F0 28 lda ZpD2 ; CPU:$CC93 PRG:0C93 A5 D2 and #$7F ; CPU:$CC95 PRG:0C95 29 7F tay ; CPU:$CC97 PRG:0C97 A8 lda $DBA8,y ; CPU:$CC98 PRG:0C98 B9 A8 DB cmp ZpBF ; CPU:$CC9B PRG:0C9B C5 BF - beq Label_CCB7 ; CPU:$CC9D PRG:0C9D F0 18 + beq SubCCCB7 ; CPU:$CC9D PRG:0C9D F0 18 sta ZpBF ; CPU:$CC9F PRG:0C9F 85 BF tax ; CPU:$CCA1 PRG:0CA1 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CCA2 +; Routine: SubCCCA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1586,17 +1586,17 @@ Label_CC8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA2: +SubCCCA2: lda $DBAE,x ; CPU:$CCA2 PRG:0CA2 BD AE DB sta Zp07 ; CPU:$CCA5 PRG:0CA5 85 07 lda $DBB2,x ; CPU:$CCA7 PRG:0CA7 BD B2 DB sta Zp09 ; CPU:$CCAA PRG:0CAA 85 09 - jsr $DE41 ; CPU:$CCAC PRG:0CAC 20 41 DE + jsr UpdateSoundChannel ; CPU:$CCAC PRG:0CAC 20 41 DE lda #$32 ; CPU:$CCAF PRG:0CAF A9 32 sta Zp24 ; CPU:$CCB1 PRG:0CB1 85 24 - jmp $E0FD ; CPU:$CCB3 PRG:0CB3 4C FD E0 + jmp InitGame ; CPU:$CCB3 PRG:0CB3 4C FD E0 ; ----------------------------------------------------------------------------- -; Routine: Label_CCB6 +; Routine: SubCCCB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1604,10 +1604,10 @@ Label_CCA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCB6: +SubCCCB6: inx ; CPU:$CCB6 PRG:0CB6 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CCB7 +; Routine: SubCCCB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1615,12 +1615,12 @@ Label_CCB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCB7: +SubCCCB7: inx ; CPU:$CCB7 PRG:0CB7 E8 stx Zp23 ; CPU:$CCB8 PRG:0CB8 86 23 rts ; CPU:$CCBA PRG:0CBA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCBB +; Routine: SubCCCBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1628,21 +1628,21 @@ Label_CCB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCBB: +SubCCCBB: ldx ZpBF ; CPU:$CCBB PRG:0CBB A6 BF cpx #$01 ; CPU:$CCBD PRG:0CBD E0 01 - beq Label_CCD3 ; CPU:$CCBF PRG:0CBF F0 12 + beq SubCCCD3 ; CPU:$CCBF PRG:0CBF F0 12 lda #$C1 ; CPU:$CCC1 PRG:0CC1 A9 C1 sta Zp08 ; CPU:$CCC3 PRG:0CC3 85 08 ldx ZpBF ; CPU:$CCC5 PRG:0CC5 A6 BF - beq Label_CCD9 ; CPU:$CCC7 PRG:0CC7 F0 10 - jsr $E3E2 ; CPU:$CCC9 PRG:0CC9 20 E2 E3 + beq SubCCCD9 ; CPU:$CCC7 PRG:0CC7 F0 10 + jsr UpdateGameMode ; CPU:$CCC9 PRG:0CC9 20 E2 E3 tax ; CPU:$CCCC PRG:0CCC AA - bmi Label_CCD9 ; CPU:$CCCD PRG:0CCD 30 0A + bmi SubCCCD9 ; CPU:$CCCD PRG:0CCD 30 0A lda #$3F ; CPU:$CCCF PRG:0CCF A9 3F - bne Label_CCD9 ; CPU:$CCD1 PRG:0CD1 D0 06 + bne SubCCCD9 ; CPU:$CCD1 PRG:0CD1 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_CCD3 +; Routine: SubCCCD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1650,12 +1650,12 @@ Label_CCBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD3: +SubCCCD3: lda #$18 ; CPU:$CCD3 PRG:0CD3 A9 18 sta Zp08 ; CPU:$CCD5 PRG:0CD5 85 08 - bne Label_CCDD ; CPU:$CCD7 PRG:0CD7 D0 04 + bne SubCCCDD ; CPU:$CCD7 PRG:0CD7 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CCD9 +; Routine: SubCCCD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1663,11 +1663,11 @@ Label_CCD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD9: +SubCCCD9: ldx #$01 ; CPU:$CCD9 PRG:0CD9 A2 01 stx ZpFE ; CPU:$CCDB PRG:0CDB 86 FE ; ----------------------------------------------------------------------------- -; Routine: Label_CCDD +; Routine: SubCCCDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1675,15 +1675,15 @@ Label_CCD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCDD: +SubCCCDD: sta Zp06 ; CPU:$CCDD PRG:0CDD 85 06 - jsr $DE75 ; CPU:$CCDF PRG:0CDF 20 75 DE + jsr UpdateSoundChannel3_E9ED_1 ; CPU:$CCDF PRG:0CDF 20 75 DE lda #$00 ; CPU:$CCE2 PRG:0CE2 A9 00 sta ZpD2 ; CPU:$CCE4 PRG:0CE4 85 D2 sta Zp23 ; CPU:$CCE6 PRG:0CE6 85 23 rts ; CPU:$CCE8 PRG:0CE8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCE9 +; Routine: SubCCCE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1691,7 +1691,7 @@ Label_CCDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE9: +SubCCCE9: lda $DBAA,x ; CPU:$CCE9 PRG:0CE9 BD AA DB sta ZpBF ; CPU:$CCEC PRG:0CEC 85 BF ora #$80 ; CPU:$CCEE PRG:0CEE 09 80 @@ -1703,9 +1703,9 @@ Label_CCE9: sta Zp23 ; CPU:$CCFA PRG:0CFA 85 23 lda #$04 ; CPU:$CCFC PRG:0CFC A9 04 sta Zp1B ; CPU:$CCFE PRG:0CFE 85 1B - bne Label_CCA2 ; CPU:$CD00 PRG:0D00 D0 A0 + bne SubCCCA2 ; CPU:$CD00 PRG:0D00 D0 A0 ; ----------------------------------------------------------------------------- -; Routine: Label_CD02 +; Routine: SubCCD02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1713,13 +1713,13 @@ Label_CCE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD02: +SubCCD02: lda #$00 ; CPU:$CD02 PRG:0D02 A9 00 sta Zp1C ; CPU:$CD04 PRG:0D04 85 1C - jsr $DE30 ; CPU:$CD06 PRG:0D06 20 30 DE + jsr UpdateSoundEngine ; CPU:$CD06 PRG:0D06 20 30 DE ldx #$02 ; CPU:$CD09 PRG:0D09 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CD0B +; Routine: SubCCD0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1727,15 +1727,15 @@ Label_CD02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD0B: +SubCCD0B: lda ZpCD ; CPU:$CD0B PRG:0D0B A5 CD and $D7DD,x ; CPU:$CD0D PRG:0D0D 3D DD D7 - beq Label_CD30 ; CPU:$CD10 PRG:0D10 F0 1E + beq SubCCD30 ; CPU:$CD10 PRG:0D10 F0 1E lda Zp07 ; CPU:$CD12 PRG:0D12 A5 07 sec ; CPU:$CD14 PRG:0D14 38 sbc $D9B1,x ; CPU:$CD15 PRG:0D15 FD B1 D9 cmp $D9B4,x ; CPU:$CD18 PRG:0D18 DD B4 D9 - bcc Label_CD30 ; CPU:$CD1B PRG:0D1B 90 13 + bcc SubCCD30 ; CPU:$CD1B PRG:0D1B 90 13 lda $D9B7,x ; CPU:$CD1D PRG:0D1D BD B7 D9 sta ZpDB ; CPU:$CD20 PRG:0D20 85 DB lda $D9BA,x ; CPU:$CD22 PRG:0D22 BD BA D9 @@ -1746,7 +1746,7 @@ Label_CD0B: sta (ZpDB),y ; CPU:$CD2C PRG:0D2C 91 DB sty ZpCD ; CPU:$CD2E PRG:0D2E 84 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD30 +; Routine: SubCCD30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1754,12 +1754,12 @@ Label_CD0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD30: +SubCCD30: dex ; CPU:$CD30 PRG:0D30 CA - bpl Label_CD0B ; CPU:$CD31 PRG:0D31 10 D8 + bpl SubCCD0B ; CPU:$CD31 PRG:0D31 10 D8 rts ; CPU:$CD33 PRG:0D33 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD34 +; Routine: SubCCD34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1767,7 +1767,7 @@ Label_CD30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD34: +SubCCD34: lda #$00 ; CPU:$CD34 PRG:0D34 A9 00 sta Zp41 ; CPU:$CD36 PRG:0D36 85 41 sta Zp44 ; CPU:$CD38 PRG:0D38 85 44 @@ -1775,7 +1775,7 @@ Label_CD34: lda $DAE1,x ; CPU:$CD3C PRG:0D3C BD E1 DA sta Zp42 ; CPU:$CD3F PRG:0D3F 85 42 ; ----------------------------------------------------------------------------- -; Routine: Label_CD41 +; Routine: SubCCD41 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1783,11 +1783,11 @@ Label_CD34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD41: - jsr $DE30 ; CPU:$CD41 PRG:0D41 20 30 DE +SubCCD41: + jsr UpdateSoundEngine ; CPU:$CD41 PRG:0D41 20 30 DE ldx Zp42 ; CPU:$CD44 PRG:0D44 A6 42 ; ----------------------------------------------------------------------------- -; Routine: Label_CD46 +; Routine: SubCCD46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1795,17 +1795,17 @@ Label_CD41: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD46: +SubCCD46: lda $DAE4,x ; CPU:$CD46 PRG:0D46 BD E4 DA cmp #$FF ; CPU:$CD49 PRG:0D49 C9 FF - beq Label_CD97 ; CPU:$CD4B PRG:0D4B F0 4A + beq SubCCD97 ; CPU:$CD4B PRG:0D4B F0 4A lda Zp09 ; CPU:$CD4D PRG:0D4D A5 09 cmp $DAE4,x ; CPU:$CD4F PRG:0D4F DD E4 DA - bcc Label_CD59 ; CPU:$CD52 PRG:0D52 90 05 + bcc SubCCD59 ; CPU:$CD52 PRG:0D52 90 05 cmp $DAF4,x ; CPU:$CD54 PRG:0D54 DD F4 DA - bcc Label_CD5E ; CPU:$CD57 PRG:0D57 90 05 + bcc SubCCD5E ; CPU:$CD57 PRG:0D57 90 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CD59 +; Routine: SubCCD59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1813,12 +1813,12 @@ Label_CD46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD59: +SubCCD59: inc Zp41 ; CPU:$CD59 PRG:0D59 E6 41 inx ; CPU:$CD5B PRG:0D5B E8 - bne Label_CD46 ; CPU:$CD5C PRG:0D5C D0 E8 + bne SubCCD46 ; CPU:$CD5C PRG:0D5C D0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CD5E +; Routine: SubCCD5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1826,14 +1826,14 @@ Label_CD59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD5E: +SubCCD5E: stx Zp42 ; CPU:$CD5E PRG:0D5E 86 42 lda $DB04,x ; CPU:$CD60 PRG:0D60 BD 04 DB tax ; CPU:$CD63 PRG:0D63 AA ldy #$00 ; CPU:$CD64 PRG:0D64 A0 00 lda Zp07 ; CPU:$CD66 PRG:0D66 A5 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CD68 +; Routine: SubCCD68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1841,14 +1841,14 @@ Label_CD5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD68: +SubCCD68: cmp $DB14,x ; CPU:$CD68 PRG:0D68 DD 14 DB - bcc Label_CD71 ; CPU:$CD6B PRG:0D6B 90 04 + bcc SubCCD71 ; CPU:$CD6B PRG:0D6B 90 04 inx ; CPU:$CD6D PRG:0D6D E8 iny ; CPU:$CD6E PRG:0D6E C8 - bne Label_CD68 ; CPU:$CD6F PRG:0D6F D0 F7 + bne SubCCD68 ; CPU:$CD6F PRG:0D6F D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_CD71 +; Routine: SubCCD71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1856,14 +1856,14 @@ Label_CD68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD71: +SubCCD71: sty Zp43 ; CPU:$CD71 PRG:0D71 84 43 lda $DB44,x ; CPU:$CD73 PRG:0D73 BD 44 DB - bne Label_CD7D ; CPU:$CD76 PRG:0D76 D0 05 + bne SubCCD7D ; CPU:$CD76 PRG:0D76 D0 05 ldx Zp42 ; CPU:$CD78 PRG:0D78 A6 42 - jmp $CD59 ; CPU:$CD7A PRG:0D7A 4C 59 CD + jmp SubCCD59 ; CPU:$CD7A PRG:0D7A 4C 59 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD7D +; Routine: SubCCD7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1871,7 +1871,7 @@ Label_CD71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD7D: +SubCCD7D: tax ; CPU:$CD7D PRG:0D7D AA dex ; CPU:$CD7E PRG:0D7E CA lda $DB74,x ; CPU:$CD7F PRG:0D7F BD 74 DB @@ -1880,12 +1880,12 @@ Label_CD7D: sta ZpE5 ; CPU:$CD87 PRG:0D87 85 E5 lda #$4C ; CPU:$CD89 PRG:0D89 A9 4C sta ZpE3 ; CPU:$CD8B PRG:0D8B 85 E3 - jsr a:$00E3 ; CPU:$CD8D PRG:0D8D 20 E3 00 + jsr a:ZpE3 ; CPU:$CD8D PRG:0D8D 20 E3 00 inc Zp42 ; CPU:$CD90 PRG:0D90 E6 42 inc Zp41 ; CPU:$CD92 PRG:0D92 E6 41 - jmp $CD41 ; CPU:$CD94 PRG:0D94 4C 41 CD + jmp SubCCD41 ; CPU:$CD94 PRG:0D94 4C 41 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD97 +; Routine: SubCCD97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1893,7 +1893,7 @@ Label_CD7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD97: +SubCCD97: lda Zp44 ; CPU:$CD97 PRG:0D97 A5 44 sta Zp22 ; CPU:$CD99 PRG:0D99 85 22 rts ; CPU:$CD9B PRG:0D9B 60 @@ -1924,7 +1924,7 @@ IncrementBonus: UpdateBonusDisplay_3: rts ; CPU:$CDA4 PRG:0DA4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA5 +; Routine: SubCCDA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1932,14 +1932,14 @@ UpdateBonusDisplay_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA5: - jsr $CD9C ; CPU:$CDA5 PRG:0DA5 20 9C CD +SubCCDA5: + jsr IncrementBonus ; CPU:$CDA5 PRG:0DA5 20 9C CD lda #$FF ; CPU:$CDA8 PRG:0DA8 A9 FF sta ZpD3 ; CPU:$CDAA PRG:0DAA 85 D3 ldx Zp43 ; CPU:$CDAC PRG:0DAC A6 43 dex ; CPU:$CDAE PRG:0DAE CA lda $DB88,x ; CPU:$CDAF PRG:0DAF BD 88 DB - jmp $EE3D ; CPU:$CDB2 PRG:0DB2 4C 3D EE + jmp UpdateMusicChannel15 ; CPU:$CDB2 PRG:0DB2 4C 3D EE ; ---- data $CDB5-$CE4D (153 bytes) ---- .byte $A2, $08, $A5, $09, $DD, $8B, $DB, $B0, $03, $CA, $10, $F8, $A5, $D0, $29, $7F ; CPU:$CDB5 PRG:0DB5 A2 08 A5 09 DD 8B DB B0 03 CA 10 F8 A5 D0 29 7F .byte $85, $E3, $E4, $E3, $B0, $0A, $8A, $09, $80, $85, $D0, $A9, $0A, $4C, $3D, $EE ; CPU:$CDC5 PRG:0DC5 85 E3 E4 E3 B0 0A 8A 09 80 85 D0 A9 0A 4C 3D EE @@ -1952,7 +1952,7 @@ Label_CDA5: .byte $D3, $A9, $1E, $4C, $3D, $EE, $20, $9C, $CD, $A5, $43, $4A, $AA, $BD, $DD, $D7 ; CPU:$CE35 PRG:0E35 D3 A9 1E 4C 3D EE 20 9C CD A5 43 4A AA BD DD D7 .byte $85, $D4, $60, $20, $9C, $CD, $A5, $43, $4A ; CPU:$CE45 PRG:0E45 85 D4 60 20 9C CD A5 43 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CE4E +; Routine: SubCCE4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1960,7 +1960,7 @@ Label_CDA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE4E: +SubCCE4E: tax ; CPU:$CE4E PRG:0E4E AA lda $D7DD,x ; CPU:$CE4F PRG:0E4F BD DD D7 sta ZpD5 ; CPU:$CE52 PRG:0E52 85 D5 @@ -1981,7 +1981,7 @@ InitializeRAM: lda #$00 ; CPU:$CE6C PRG:0E6C A9 00 ldx #$47 ; CPU:$CE6E PRG:0E6E A2 47 ; ----------------------------------------------------------------------------- -; Routine: Label_CE70 +; Routine: SubCCE70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1989,13 +1989,13 @@ InitializeRAM: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE70: +SubCCE70: sta Zp6A,x ; CPU:$CE70 PRG:0E70 95 6A dex ; CPU:$CE72 PRG:0E72 CA - bpl Label_CE70 ; CPU:$CE73 PRG:0E73 10 FB + bpl SubCCE70 ; CPU:$CE73 PRG:0E73 10 FB ldx #$1F ; CPU:$CE75 PRG:0E75 A2 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CE77 +; Routine: SubCCE77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2003,12 +2003,12 @@ Label_CE70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE77: +SubCCE77: sta Zp2A,x ; CPU:$CE77 PRG:0E77 95 2A dex ; CPU:$CE79 PRG:0E79 CA - bpl Label_CE77 ; CPU:$CE7A PRG:0E7A 10 FB + bpl SubCCE77 ; CPU:$CE7A PRG:0E7A 10 FB sta Zp25 ; CPU:$CE7C PRG:0E7C 85 25 - jsr $DE30 ; CPU:$CE7E PRG:0E7E 20 30 DE + jsr UpdateSoundEngine ; CPU:$CE7E PRG:0E7E 20 30 DE lda Zp07 ; CPU:$CE81 PRG:0E81 A5 07 sec ; CPU:$CE83 PRG:0E83 38 sbc #$06 ; CPU:$CE84 PRG:0E84 E9 06 @@ -2017,11 +2017,11 @@ Label_CE77: sec ; CPU:$CE8A PRG:0E8A 38 sbc #$06 ; CPU:$CE8B PRG:0E8B E9 06 sta Zp08 ; CPU:$CE8D PRG:0E8D 85 08 - jsr $DFE8 ; CPU:$CE8F PRG:0E8F 20 E8 DF + jsr SubCDFE8 ; CPU:$CE8F PRG:0E8F 20 E8 DF lda #$08 ; CPU:$CE92 PRG:0E92 A9 08 sta ZpE6 ; CPU:$CE94 PRG:0E94 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_CE96 +; Routine: SubCCE96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2029,11 +2029,11 @@ Label_CE77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE96: +SubCCE96: ldx ZpE6 ; CPU:$CE96 PRG:0E96 A6 E6 ldy $D74B,x ; CPU:$CE98 PRG:0E98 BC 4B D7 lda (ZpDB),y ; CPU:$CE9B PRG:0E9B B1 DB - jsr $D4A1 ; CPU:$CE9D PRG:0E9D 20 A1 D4 + jsr ReadPPUData_3 ; CPU:$CE9D PRG:0E9D 20 A1 D4 inx ; CPU:$CEA0 PRG:0EA0 E8 txa ; CPU:$CEA1 PRG:0EA1 8A asl a ; CPU:$CEA2 PRG:0EA2 0A @@ -2043,7 +2043,7 @@ Label_CE96: dex ; CPU:$CEA6 PRG:0EA6 CA ldy #$07 ; CPU:$CEA7 PRG:0EA7 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CEA9 +; Routine: SubCCEA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2051,14 +2051,14 @@ Label_CE96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEA9: +SubCCEA9: lda (ZpDF),y ; CPU:$CEA9 PRG:0EA9 B1 DF sta Zp6A,x ; CPU:$CEAB PRG:0EAB 95 6A dex ; CPU:$CEAD PRG:0EAD CA dey ; CPU:$CEAE PRG:0EAE 88 - bpl Label_CEA9 ; CPU:$CEAF PRG:0EAF 10 F8 + bpl SubCCEA9 ; CPU:$CEAF PRG:0EAF 10 F8 dec ZpE6 ; CPU:$CEB1 PRG:0EB1 C6 E6 - bpl Label_CE96 ; CPU:$CEB3 PRG:0EB3 10 E1 + bpl SubCCE96 ; CPU:$CEB3 PRG:0EB3 10 E1 ldx ZpB4 ; CPU:$CEB5 PRG:0EB5 A6 B4 lda $D7ED,x ; CPU:$CEB7 PRG:0EB7 BD ED D7 sta ZpDF ; CPU:$CEBA PRG:0EBA 85 DF @@ -2067,7 +2067,7 @@ Label_CEA9: ldx ZpB5 ; CPU:$CEC1 PRG:0EC1 A6 B5 ldy #$00 ; CPU:$CEC3 PRG:0EC3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CEC5 +; Routine: SubCCEC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2075,11 +2075,11 @@ Label_CEA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEC5: +SubCCEC5: lda #$0D ; CPU:$CEC5 PRG:0EC5 A9 0D sta ZpE6 ; CPU:$CEC7 PRG:0EC7 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_CEC9 +; Routine: SubCCEC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2087,13 +2087,13 @@ Label_CEC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEC9: +SubCCEC9: lda (ZpDF),y ; CPU:$CEC9 PRG:0EC9 B1 DF and Zp6A,x ; CPU:$CECB PRG:0ECB 35 6A - beq Label_CED1 ; CPU:$CECD PRG:0ECD F0 02 + beq SubCCED1 ; CPU:$CECD PRG:0ECD F0 02 inc Zp25 ; CPU:$CECF PRG:0ECF E6 25 ; ----------------------------------------------------------------------------- -; Routine: Label_CED1 +; Routine: SubCCED1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2101,23 +2101,23 @@ Label_CEC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED1: - sta a:$006A,y ; CPU:$CED1 PRG:0ED1 99 6A 00 +SubCCED1: + sta a:Zp6A,y ; CPU:$CED1 PRG:0ED1 99 6A 00 inx ; CPU:$CED4 PRG:0ED4 E8 iny ; CPU:$CED5 PRG:0ED5 C8 dec ZpE6 ; CPU:$CED6 PRG:0ED6 C6 E6 - bne Label_CEC9 ; CPU:$CED8 PRG:0ED8 D0 EF + bne SubCCEC9 ; CPU:$CED8 PRG:0ED8 D0 EF txa ; CPU:$CEDA PRG:0EDA 8A clc ; CPU:$CEDB PRG:0EDB 18 adc #$0B ; CPU:$CEDC PRG:0EDC 69 0B tax ; CPU:$CEDE PRG:0EDE AA cpy #$27 ; CPU:$CEDF PRG:0EDF C0 27 - bne Label_CEC5 ; CPU:$CEE1 PRG:0EE1 D0 E2 + bne SubCCEC5 ; CPU:$CEE1 PRG:0EE1 D0 E2 lda Zp25 ; CPU:$CEE3 PRG:0EE3 A5 25 - bne Label_CEEA ; CPU:$CEE5 PRG:0EE5 D0 03 - jmp $CF82 ; CPU:$CEE7 PRG:0EE7 4C 82 CF + bne SubCCEEA ; CPU:$CEE5 PRG:0EE5 D0 03 + jmp ProcessSpriteAttributes2 ; CPU:$CEE7 PRG:0EE7 4C 82 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CEEA +; Routine: SubCCEEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2125,7 +2125,7 @@ Label_CED1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEA: +SubCCEEA: lda #$00 ; CPU:$CEEA PRG:0EEA A9 00 sta Zp25 ; CPU:$CEEC PRG:0EEC 85 25 lda #$0C ; CPU:$CEEE PRG:0EEE A9 0C @@ -2162,9 +2162,9 @@ ProcessSpriteAttributes: lda Zp27 ; CPU:$CF04 PRG:0F04 A5 27 ora Zp28 ; CPU:$CF06 PRG:0F06 05 28 ora Zp29 ; CPU:$CF08 PRG:0F08 05 29 - beq Label_CF7B ; CPU:$CF0A PRG:0F0A F0 6F + beq SubCCF7B ; CPU:$CF0A PRG:0F0A F0 6F lda Zp27 ; CPU:$CF0C PRG:0F0C A5 27 - bne Label_CF25 ; CPU:$CF0E PRG:0F0E D0 15 + bne SubCCF25 ; CPU:$CF0E PRG:0F0E D0 15 lda Zp28 ; CPU:$CF10 PRG:0F10 A5 28 sta Zp27 ; CPU:$CF12 PRG:0F12 85 27 lda Zp29 ; CPU:$CF14 PRG:0F14 A5 29 @@ -2177,7 +2177,7 @@ ProcessSpriteAttributes: sta Zp26 ; CPU:$CF21 PRG:0F21 85 26 bpl ProcessSpriteAttributes ; CPU:$CF23 PRG:0F23 10 DF ; ----------------------------------------------------------------------------- -; Routine: Label_CF25 +; Routine: SubCCF25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2185,11 +2185,11 @@ ProcessSpriteAttributes: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF25: +SubCCF25: asl Zp29 ; CPU:$CF25 PRG:0F25 06 29 rol Zp28 ; CPU:$CF27 PRG:0F27 26 28 rol Zp27 ; CPU:$CF29 PRG:0F29 26 27 - bcc Label_CF76 ; CPU:$CF2B PRG:0F2B 90 49 + bcc SubCCF76 ; CPU:$CF2B PRG:0F2B 90 49 inc Zp25 ; CPU:$CF2D PRG:0F2D E6 25 ldx ZpE6 ; CPU:$CF2F PRG:0F2F A6 E6 lda $D754,x ; CPU:$CF31 PRG:0F31 BD 54 D7 @@ -2198,7 +2198,7 @@ Label_CF25: sec ; CPU:$CF37 PRG:0F37 38 sbc ZpB4 ; CPU:$CF38 PRG:0F38 E5 B4 ; ----------------------------------------------------------------------------- -; Routine: Label_CF3A +; Routine: SubCCF3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2206,14 +2206,14 @@ Label_CF25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF3A: +SubCCF3A: cmp $D761,x ; CPU:$CF3A PRG:0F3A DD 61 D7 - beq Label_CF43 ; CPU:$CF3D PRG:0F3D F0 04 + beq SubCCF43 ; CPU:$CF3D PRG:0F3D F0 04 inx ; CPU:$CF3F PRG:0F3F E8 inx ; CPU:$CF40 PRG:0F40 E8 - bne Label_CF3A ; CPU:$CF41 PRG:0F41 D0 F7 + bne SubCCF3A ; CPU:$CF41 PRG:0F41 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_CF43 +; Routine: SubCCF43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2221,7 +2221,7 @@ Label_CF3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF43: +SubCCF43: lda $D762,x ; CPU:$CF43 PRG:0F43 BD 62 D7 pha ; CPU:$CF46 PRG:0F46 48 lda Zp26 ; CPU:$CF47 PRG:0F47 A5 26 @@ -2256,7 +2256,7 @@ Label_CF43: sta Zp4A,x ; CPU:$CF73 PRG:0F73 95 4A iny ; CPU:$CF75 PRG:0F75 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CF76 +; Routine: SubCCF76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2264,11 +2264,11 @@ Label_CF43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF76: +SubCCF76: inc Zp26 ; CPU:$CF76 PRG:0F76 E6 26 - jmp $CF04 ; CPU:$CF78 PRG:0F78 4C 04 CF + jmp ProcessSpriteAttributes ; CPU:$CF78 PRG:0F78 4C 04 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF7B +; Routine: SubCCF7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2276,10 +2276,10 @@ Label_CF76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7B: +SubCCF7B: dec ZpE6 ; CPU:$CF7B PRG:0F7B C6 E6 bmi ProcessSpriteAttributes2 ; CPU:$CF7D PRG:0F7D 30 03 - jmp $CEF2 ; CPU:$CF7F PRG:0F7F 4C F2 CE + jmp ProcessSpriteData ; CPU:$CF7F PRG:0F7F 4C F2 CE ; ----------------------------------------------------------------------------- ; Routine: ProcessSpriteAttributes2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -2291,11 +2291,11 @@ Label_CF7B: ; ----------------------------------------------------------------------------- ProcessSpriteAttributes2: ldy Zp25 ; CPU:$CF82 PRG:0F82 A4 25 - beq Label_CFD3 ; CPU:$CF84 PRG:0F84 F0 4D + beq SubCCFD3 ; CPU:$CF84 PRG:0F84 F0 4D ldx #$00 ; CPU:$CF86 PRG:0F86 A2 00 ldy #$00 ; CPU:$CF88 PRG:0F88 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF8A +; Routine: SubCCF8A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2303,15 +2303,15 @@ ProcessSpriteAttributes2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF8A: +SubCCF8A: cpx #$20 ; CPU:$CF8A PRG:0F8A E0 20 - bcs Label_CFD3 ; CPU:$CF8C PRG:0F8C B0 45 + bcs SubCCFD3 ; CPU:$CF8C PRG:0F8C B0 45 lda Zp2A,x ; CPU:$CF8E PRG:0F8E B5 2A - bne Label_CF95 ; CPU:$CF90 PRG:0F90 D0 03 + bne SubCCF95 ; CPU:$CF90 PRG:0F90 D0 03 inx ; CPU:$CF92 PRG:0F92 E8 - bne Label_CF8A ; CPU:$CF93 PRG:0F93 D0 F5 + bne SubCCF8A ; CPU:$CF93 PRG:0F93 D0 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_CF95 +; Routine: SubCCF95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2319,10 +2319,10 @@ Label_CF8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF95: +SubCCF95: stx Zp25 ; CPU:$CF95 PRG:0F95 86 25 ; ----------------------------------------------------------------------------- -; Routine: Label_CF97 +; Routine: SubCCF97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2330,13 +2330,13 @@ Label_CF95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF97: +SubCCF97: inx ; CPU:$CF97 PRG:0F97 E8 cpx #$20 ; CPU:$CF98 PRG:0F98 E0 20 - bne Label_CF9E ; CPU:$CF9A PRG:0F9A D0 02 + bne SubCCF9E ; CPU:$CF9A PRG:0F9A D0 02 ldx #$00 ; CPU:$CF9C PRG:0F9C A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF9E +; Routine: SubCCF9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2344,14 +2344,14 @@ Label_CF97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF9E: +SubCCF9E: lda Zp2A,x ; CPU:$CF9E PRG:0F9E B5 2A - bne Label_CF97 ; CPU:$CFA0 PRG:0FA0 D0 F5 + bne SubCCF97 ; CPU:$CFA0 PRG:0FA0 D0 F5 dex ; CPU:$CFA2 PRG:0FA2 CA - bpl Label_CFA7 ; CPU:$CFA3 PRG:0FA3 10 02 + bpl SubCCFA7 ; CPU:$CFA3 PRG:0FA3 10 02 ldx #$1F ; CPU:$CFA5 PRG:0FA5 A2 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CFA7 +; Routine: SubCCFA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2359,24 +2359,24 @@ Label_CF9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA7: +SubCCFA7: txa ; CPU:$CFA7 PRG:0FA7 8A cmp Zp25 ; CPU:$CFA8 PRG:0FA8 C5 25 - bcc Label_CFC1 ; CPU:$CFAA PRG:0FAA 90 15 + bcc SubCCFC1 ; CPU:$CFAA PRG:0FAA 90 15 clc ; CPU:$CFAC PRG:0FAC 18 adc Zp25 ; CPU:$CFAD PRG:0FAD 65 25 lsr a ; CPU:$CFAF PRG:0FAF 4A - sta a:$006A,y ; CPU:$CFB0 PRG:0FB0 99 6A 00 + sta a:Zp6A,y ; CPU:$CFB0 PRG:0FB0 99 6A 00 stx ZpE3 ; CPU:$CFB3 PRG:0FB3 86 E3 tax ; CPU:$CFB5 PRG:0FB5 AA lda Zp2A,x ; CPU:$CFB6 PRG:0FB6 B5 2A - sta a:$007A,y ; CPU:$CFB8 PRG:0FB8 99 7A 00 + sta a:Zp7A,y ; CPU:$CFB8 PRG:0FB8 99 7A 00 ldx ZpE3 ; CPU:$CFBB PRG:0FBB A6 E3 inx ; CPU:$CFBD PRG:0FBD E8 iny ; CPU:$CFBE PRG:0FBE C8 - bne Label_CF8A ; CPU:$CFBF PRG:0FBF D0 C9 + bne SubCCF8A ; CPU:$CFBF PRG:0FBF D0 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC1 +; Routine: SubCCFC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2384,15 +2384,15 @@ Label_CFA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC1: +SubCCFC1: adc Zp25 ; CPU:$CFC1 PRG:0FC1 65 25 adc #$20 ; CPU:$CFC3 PRG:0FC3 69 20 lsr a ; CPU:$CFC5 PRG:0FC5 4A cmp #$20 ; CPU:$CFC6 PRG:0FC6 C9 20 - bcc Label_CFCC ; CPU:$CFC8 PRG:0FC8 90 02 + bcc SubCCFCC ; CPU:$CFC8 PRG:0FC8 90 02 sbc #$20 ; CPU:$CFCA PRG:0FCA E9 20 ; ----------------------------------------------------------------------------- -; Routine: Label_CFCC +; Routine: SubCCFCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2400,13 +2400,13 @@ Label_CFC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFCC: +SubCCFCC: sta Zp6A ; CPU:$CFCC PRG:0FCC 85 6A tax ; CPU:$CFCE PRG:0FCE AA lda Zp2A,x ; CPU:$CFCF PRG:0FCF B5 2A sta Zp7A ; CPU:$CFD1 PRG:0FD1 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_CFD3 +; Routine: SubCCFD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2414,10 +2414,10 @@ Label_CFCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD3: +SubCCFD3: sty Zp26 ; CPU:$CFD3 PRG:0FD3 84 26 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD5 +; Routine: SubCCFD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2425,20 +2425,20 @@ Label_CFD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD5: +SubCCFD5: dey ; CPU:$CFD5 PRG:0FD5 88 - bmi Label_CFEB ; CPU:$CFD6 PRG:0FD6 30 13 + bmi SubCCFEB ; CPU:$CFD6 PRG:0FD6 30 13 lda ZpDB ; CPU:$CFD8 PRG:0FD8 A5 DB clc ; CPU:$CFDA PRG:0FDA 18 ldx Zp6A,y ; CPU:$CFDB PRG:0FDB B6 6A adc Zp4A,x ; CPU:$CFDD PRG:0FDD 75 4A - sta a:$008A,y ; CPU:$CFDF PRG:0FDF 99 8A 00 + sta a:Zp8A,y ; CPU:$CFDF PRG:0FDF 99 8A 00 lda ZpDC ; CPU:$CFE2 PRG:0FE2 A5 DC adc #$00 ; CPU:$CFE4 PRG:0FE4 69 00 - sta a:$009A,y ; CPU:$CFE6 PRG:0FE6 99 9A 00 - bcc Label_CFD5 ; CPU:$CFE9 PRG:0FE9 90 EA + sta a:Zp9A,y ; CPU:$CFE6 PRG:0FE6 99 9A 00 + bcc SubCCFD5 ; CPU:$CFE9 PRG:0FE9 90 EA ; ----------------------------------------------------------------------------- -; Routine: Label_CFEB +; Routine: SubCCFEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2446,7 +2446,7 @@ Label_CFD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEB: +SubCCFEB: rts ; CPU:$CFEB PRG:0FEB 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSprites_C34B2 @@ -2458,7 +2458,7 @@ Label_CFEB: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSprites_C34B2: - jsr $DE30 ; CPU:$CFEC PRG:0FEC 20 30 DE + jsr UpdateSoundEngine ; CPU:$CFEC PRG:0FEC 20 30 DE ldx Zp26 ; CPU:$CFEF PRG:0FEF A6 26 ldy Zp6A,x ; CPU:$CFF1 PRG:0FF1 B4 6A tya ; CPU:$CFF3 PRG:0FF3 98 @@ -2478,7 +2478,7 @@ UpdateSprites_C34B2: clc ; CPU:$D00B PRG:100B 18 adc Zp09 ; CPU:$D00C PRG:100C 65 09 sta Zp08 ; CPU:$D00E PRG:100E 85 08 - jsr $DDAC ; CPU:$D010 PRG:1010 20 AC DD + jsr UpdateBumperState13 ; CPU:$D010 PRG:1010 20 AC DD ldx Zp25 ; CPU:$D013 PRG:1013 A6 25 lda $D7D1,x ; CPU:$D015 PRG:1015 BD D1 D7 clc ; CPU:$D018 PRG:1018 18 @@ -2488,12 +2488,12 @@ UpdateSprites_C34B2: clc ; CPU:$D020 PRG:1020 18 adc Zp08 ; CPU:$D021 PRG:1021 65 08 sta Zp08 ; CPU:$D023 PRG:1023 85 08 - jsr $DDA3 ; CPU:$D025 PRG:1025 20 A3 DD - jsr $D390 ; CPU:$D028 PRG:1028 20 90 D3 - beq Label_D030 ; CPU:$D02B PRG:102B F0 03 - jmp $D093 ; CPU:$D02D PRG:102D 4C 93 D0 + jsr UpdateBumperState12 ; CPU:$D025 PRG:1025 20 A3 DD + jsr DrawScore ; CPU:$D028 PRG:1028 20 90 D3 + beq SubCD030 ; CPU:$D02B PRG:102B F0 03 + jmp UpdateBallX ; CPU:$D02D PRG:102D 4C 93 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D030 +; Routine: SubCD030 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2501,7 +2501,7 @@ UpdateSprites_C34B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D030: +SubCD030: lda Zp25 ; CPU:$D030 PRG:1030 A5 25 sta Zp2B ; CPU:$D032 PRG:1032 85 2B lda #$00 ; CPU:$D034 PRG:1034 A9 00 @@ -2518,20 +2518,20 @@ Label_D030: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateScore: - jsr $D3AA ; CPU:$D03C PRG:103C 20 AA D3 + jsr UpdateScoreDisplay_3 ; CPU:$D03C PRG:103C 20 AA D3 ldx ZpE6 ; CPU:$D03F PRG:103F A6 E6 sta Zp2E,x ; CPU:$D041 PRG:1041 95 2E cpx #$01 ; CPU:$D043 PRG:1043 E0 01 - bcs Label_D055 ; CPU:$D045 PRG:1045 B0 0E + bcs SubCD055 ; CPU:$D045 PRG:1045 B0 0E lda Zp2B ; CPU:$D047 PRG:1047 A5 2B eor #$01 ; CPU:$D049 PRG:1049 49 01 sta Zp2B ; CPU:$D04B PRG:104B 85 2B inc ZpE6 ; CPU:$D04D PRG:104D E6 E6 lda Zp2C ; CPU:$D04F PRG:104F A5 2C pha ; CPU:$D051 PRG:1051 48 - jmp $D03C ; CPU:$D052 PRG:1052 4C 3C D0 + jmp UpdateScore ; CPU:$D052 PRG:1052 4C 3C D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D055 +; Routine: SubCD055 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2539,7 +2539,7 @@ UpdateScore: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D055: +SubCD055: pla ; CPU:$D055 PRG:1055 68 clc ; CPU:$D056 PRG:1056 18 adc Zp2C ; CPU:$D057 PRG:1057 65 2C @@ -2547,11 +2547,11 @@ Label_D055: tax ; CPU:$D05B PRG:105B AA lda Zp2E ; CPU:$D05C PRG:105C A5 2E cmp Zp2F ; CPU:$D05E PRG:105E C5 2F - bne Label_D066 ; CPU:$D060 PRG:1060 D0 04 + bne SubCD066 ; CPU:$D060 PRG:1060 D0 04 lda #$00 ; CPU:$D062 PRG:1062 A9 00 beq UpdateBallY ; CPU:$D064 PRG:1064 F0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D066 +; Routine: SubCD066 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2559,12 +2559,12 @@ Label_D055: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D066: +SubCD066: cpx #$1C ; CPU:$D066 PRG:1066 E0 1C - bcc Label_D06C ; CPU:$D068 PRG:1068 90 02 + bcc SubCD06C ; CPU:$D068 PRG:1068 90 02 ldx #$1C ; CPU:$D06A PRG:106A A2 1C ; ----------------------------------------------------------------------------- -; Routine: Label_D06C +; Routine: SubCD06C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2572,13 +2572,13 @@ Label_D066: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06C: +SubCD06C: ldy Zp2E ; CPU:$D06C PRG:106C A4 2E - beq Label_D076 ; CPU:$D06E PRG:106E F0 06 + beq SubCD076 ; CPU:$D06E PRG:106E F0 06 lda $D928,x ; CPU:$D070 PRG:1070 BD 28 D9 - jmp $D07C ; CPU:$D073 PRG:1073 4C 7C D0 + jmp UpdateBallY ; CPU:$D073 PRG:1073 4C 7C D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D076 +; Routine: SubCD076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2586,7 +2586,7 @@ Label_D06C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D076: +SubCD076: lda #$00 ; CPU:$D076 PRG:1076 A9 00 sec ; CPU:$D078 PRG:1078 38 sbc $D928,x ; CPU:$D079 PRG:1079 FD 28 D9 @@ -2603,14 +2603,14 @@ UpdateBallY: ldx Zp25 ; CPU:$D07C PRG:107C A6 25 clc ; CPU:$D07E PRG:107E 18 adc $D7D9,x ; CPU:$D07F PRG:107F 7D D9 D7 - bne Label_D08F ; CPU:$D082 PRG:1082 D0 0B - jsr $DE63 ; CPU:$D084 PRG:1084 20 63 DE + bne SubCD08F ; CPU:$D082 PRG:1082 D0 0B + jsr UpdateSoundChannel2_E96A_1 ; CPU:$D084 PRG:1084 20 63 DE lda #$01 ; CPU:$D087 PRG:1087 A9 01 ldx Zp06 ; CPU:$D089 PRG:1089 A6 06 - bmi Label_D08F ; CPU:$D08B PRG:108B 30 02 + bmi SubCD08F ; CPU:$D08B PRG:108B 30 02 lda #$FF ; CPU:$D08D PRG:108D A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D08F +; Routine: SubCD08F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2618,7 +2618,7 @@ UpdateBallY: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D08F: +SubCD08F: sta Zp30 ; CPU:$D08F PRG:108F 85 30 clc ; CPU:$D091 PRG:1091 18 rts ; CPU:$D092 PRG:1092 60 @@ -2632,7 +2632,7 @@ Label_D08F: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateBallX: - jsr $DE30 ; CPU:$D093 PRG:1093 20 30 DE + jsr UpdateSoundEngine ; CPU:$D093 PRG:1093 20 30 DE ldx Zp25 ; CPU:$D096 PRG:1096 A6 25 lda Zp07 ; CPU:$D098 PRG:1098 A5 07 clc ; CPU:$D09A PRG:109A 18 @@ -2642,7 +2642,7 @@ UpdateBallX: clc ; CPU:$D0A2 PRG:10A2 18 adc $D7D5,x ; CPU:$D0A3 PRG:10A3 7D D5 D7 sta Zp09 ; CPU:$D0A6 PRG:10A6 85 09 - jsr $DE41 ; CPU:$D0A8 PRG:10A8 20 41 DE + jsr UpdateSoundChannel ; CPU:$D0A8 PRG:10A8 20 41 DE sec ; CPU:$D0AB PRG:10AB 38 rts ; CPU:$D0AC PRG:10AC 60 ; ----------------------------------------------------------------------------- @@ -2663,16 +2663,16 @@ UpdateScore2: lda Zp30 ; CPU:$D0B6 PRG:10B6 A5 30 sec ; CPU:$D0B8 PRG:10B8 38 sbc $D945,x ; CPU:$D0B9 PRG:10B9 FD 45 D9 - bmi Label_D0C9 ; CPU:$D0BC PRG:10BC 30 0B + bmi SubCD0C9 ; CPU:$D0BC PRG:10BC 30 0B tay ; CPU:$D0BE PRG:10BE A8 txa ; CPU:$D0BF PRG:10BF 8A and #$07 ; CPU:$D0C0 PRG:10C0 29 07 tax ; CPU:$D0C2 PRG:10C2 AA tya ; CPU:$D0C3 PRG:10C3 98 cmp $D965,x ; CPU:$D0C4 PRG:10C4 DD 65 D9 - bcc Label_D0D2 ; CPU:$D0C7 PRG:10C7 90 09 + bcc SubCD0D2 ; CPU:$D0C7 PRG:10C7 90 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D0C9 +; Routine: SubCD0C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2680,13 +2680,13 @@ UpdateScore2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0C9: +SubCD0C9: ldx Zp26 ; CPU:$D0C9 PRG:10C9 A6 26 ldy Zp6A,x ; CPU:$D0CB PRG:10CB B4 6A lda $D96D,y ; CPU:$D0CD PRG:10CD B9 6D D9 sta Zp30 ; CPU:$D0D0 PRG:10D0 85 30 ; ----------------------------------------------------------------------------- -; Routine: Label_D0D2 +; Routine: SubCD0D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2694,14 +2694,14 @@ Label_D0C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0D2: - jsr $D0E0 ; CPU:$D0D2 PRG:10D2 20 E0 D0 - bcs Label_D0DF ; CPU:$D0D5 PRG:10D5 B0 08 - jsr $D191 ; CPU:$D0D7 PRG:10D7 20 91 D1 - bcs Label_D0DF ; CPU:$D0DA PRG:10DA B0 03 - jmp $D359 ; CPU:$D0DC PRG:10DC 4C 59 D3 +SubCD0D2: + jsr UpdateFlipperSound ; CPU:$D0D2 PRG:10D2 20 E0 D0 + bcs SubCD0DF ; CPU:$D0D5 PRG:10D5 B0 08 + jsr UpdateBallY2 ; CPU:$D0D7 PRG:10D7 20 91 D1 + bcs SubCD0DF ; CPU:$D0DA PRG:10DA B0 03 + jmp CheckBallPosition ; CPU:$D0DC PRG:10DC 4C 59 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D0DF +; Routine: SubCD0DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2709,7 +2709,7 @@ Label_D0D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0DF: +SubCD0DF: rts ; CPU:$D0DF PRG:10DF 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateFlipperSound @@ -2721,18 +2721,18 @@ Label_D0DF: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateFlipperSound: - jsr $DE63 ; CPU:$D0E0 PRG:10E0 20 63 DE - jsr $DC3E ; CPU:$D0E3 PRG:10E3 20 3E DC + jsr UpdateSoundChannel2_E96A_1 ; CPU:$D0E0 PRG:10E0 20 63 DE + jsr UpdateBumperHit2 ; CPU:$D0E3 PRG:10E3 20 3E DC sta Zp34 ; CPU:$D0E6 PRG:10E6 85 34 lda Zp30 ; CPU:$D0E8 PRG:10E8 A5 30 sec ; CPU:$D0EA PRG:10EA 38 sbc Zp34 ; CPU:$D0EB PRG:10EB E5 34 - beq Label_D0F5 ; CPU:$D0ED PRG:10ED F0 06 + beq SubCD0F5 ; CPU:$D0ED PRG:10ED F0 06 sta Zp33 ; CPU:$D0EF PRG:10EF 85 33 cmp #$80 ; CPU:$D0F1 PRG:10F1 C9 80 - bcc Label_D0F8 ; CPU:$D0F3 PRG:10F3 90 03 + bcc SubCD0F8 ; CPU:$D0F3 PRG:10F3 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D0F5 +; Routine: SubCD0F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2740,10 +2740,10 @@ UpdateFlipperSound: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0F5: - jmp $D093 ; CPU:$D0F5 PRG:10F5 4C 93 D0 +SubCD0F5: + jmp UpdateBallX ; CPU:$D0F5 PRG:10F5 4C 93 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D0F8 +; Routine: SubCD0F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2751,20 +2751,20 @@ Label_D0F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0F8: - jsr $DE63 ; CPU:$D0F8 PRG:10F8 20 63 DE - jsr $DCAA ; CPU:$D0FB PRG:10FB 20 AA DC +SubCD0F8: + jsr UpdateSoundChannel2_E96A_1 ; CPU:$D0F8 PRG:10F8 20 63 DE + jsr UpdateBumperState4 ; CPU:$D0FB PRG:10FB 20 AA DC lda Zp06 ; CPU:$D0FE PRG:10FE A5 06 sta Zp35 ; CPU:$D100 PRG:1100 85 35 cmp #$07 ; CPU:$D102 PRG:1102 C9 07 - bcs Label_D157 ; CPU:$D104 PRG:1104 B0 51 + bcs SubCD157 ; CPU:$D104 PRG:1104 B0 51 lda Zp31 ; CPU:$D106 PRG:1106 A5 31 cmp #$02 ; CPU:$D108 PRG:1108 C9 02 - bne Label_D10E ; CPU:$D10A PRG:110A D0 02 + bne SubCD10E ; CPU:$D10A PRG:110A D0 02 sec ; CPU:$D10C PRG:110C 38 rts ; CPU:$D10D PRG:110D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D10E +; Routine: SubCD10E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2772,14 +2772,14 @@ Label_D0F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D10E: +SubCD10E: lda Zp30 ; CPU:$D10E PRG:110E A5 30 cmp #$20 ; CPU:$D110 PRG:1110 C9 20 - bcs Label_D118 ; CPU:$D112 PRG:1112 B0 04 + bcs SubCD118 ; CPU:$D112 PRG:1112 B0 04 lda #$FD ; CPU:$D114 PRG:1114 A9 FD - bne Label_D11E ; CPU:$D116 PRG:1116 D0 06 + bne SubCD11E ; CPU:$D116 PRG:1116 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D118 +; Routine: SubCD118 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2787,12 +2787,12 @@ Label_D10E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D118: +SubCD118: cmp #$E1 ; CPU:$D118 PRG:1118 C9 E1 - bcc Label_D157 ; CPU:$D11A PRG:111A 90 3B + bcc SubCD157 ; CPU:$D11A PRG:111A 90 3B lda #$03 ; CPU:$D11C PRG:111C A9 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D11E +; Routine: SubCD11E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2800,13 +2800,13 @@ Label_D118: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D11E: +SubCD11E: ldx ZpBF ; CPU:$D11E PRG:111E A6 BF cpx #$02 ; CPU:$D120 PRG:1120 E0 02 - bne Label_D125 ; CPU:$D122 PRG:1122 D0 01 + bne SubCD125 ; CPU:$D122 PRG:1122 D0 01 asl a ; CPU:$D124 PRG:1124 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D125 +; Routine: SubCD125 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2814,19 +2814,19 @@ Label_D11E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D125: +SubCD125: sta Zp06 ; CPU:$D125 PRG:1125 85 06 lda #$FB ; CPU:$D127 PRG:1127 A9 FB sta Zp08 ; CPU:$D129 PRG:1129 85 08 - jsr $DE75 ; CPU:$D12B PRG:112B 20 75 DE + jsr UpdateSoundChannel3_E9ED_1 ; CPU:$D12B PRG:112B 20 75 DE lda ZpBF ; CPU:$D12E PRG:112E A5 BF cmp #$01 ; CPU:$D130 PRG:1130 C9 01 - bne Label_D154 ; CPU:$D132 PRG:1132 D0 20 - jsr $DE30 ; CPU:$D134 PRG:1134 20 30 DE + bne SubCD154 ; CPU:$D132 PRG:1132 D0 20 + jsr UpdateSoundEngine ; CPU:$D134 PRG:1134 20 30 DE lda Zp07 ; CPU:$D137 PRG:1137 A5 07 cmp #$E1 ; CPU:$D139 PRG:1139 C9 E1 - bcc Label_D154 ; CPU:$D13B PRG:113B 90 17 - jsr $EAD1 ; CPU:$D13D PRG:113D 20 D1 EA + bcc SubCD154 ; CPU:$D13B PRG:113B 90 17 + jsr UpdateSoundChannel4_EAD1_3 ; CPU:$D13D PRG:113D 20 D1 EA asl a ; CPU:$D140 PRG:1140 0A asl a ; CPU:$D141 PRG:1141 0A sta ZpE3 ; CPU:$D142 PRG:1142 85 E3 @@ -2836,11 +2836,11 @@ Label_D125: sta Zp08 ; CPU:$D149 PRG:1149 85 08 lda #$00 ; CPU:$D14B PRG:114B A9 00 sta Zp06 ; CPU:$D14D PRG:114D 85 06 - jsr $DE75 ; CPU:$D14F PRG:114F 20 75 DE + jsr UpdateSoundChannel3_E9ED_1 ; CPU:$D14F PRG:114F 20 75 DE sec ; CPU:$D152 PRG:1152 38 rts ; CPU:$D153 PRG:1153 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D154 +; Routine: SubCD154 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2848,10 +2848,10 @@ Label_D125: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D154: - jmp $D093 ; CPU:$D154 PRG:1154 4C 93 D0 +SubCD154: + jmp UpdateBallX ; CPU:$D154 PRG:1154 4C 93 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D157 +; Routine: SubCD157 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2859,7 +2859,7 @@ Label_D154: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D157: +SubCD157: clc ; CPU:$D157 PRG:1157 18 rts ; CPU:$D158 PRG:1158 60 ; ----------------------------------------------------------------------------- @@ -2885,15 +2885,15 @@ UpdateBallPosition_3: UpdateBallPosition2: sta Zp06 ; CPU:$D15B PRG:115B 85 06 lda Zp33 ; CPU:$D15D PRG:115D A5 33 - jsr $DD78 ; CPU:$D15F PRG:115F 20 78 DD - jsr $DCDD ; CPU:$D162 PRG:1162 20 DD DC + jsr UpdateBumperState9 ; CPU:$D15F PRG:115F 20 78 DD + jsr UpdateBumperChain ; CPU:$D162 PRG:1162 20 DD DC lda Zp07 ; CPU:$D165 PRG:1165 A5 07 sta Zp36 ; CPU:$D167 PRG:1167 85 36 lda Zp35 ; CPU:$D169 PRG:1169 A5 35 sta Zp06 ; CPU:$D16B PRG:116B 85 06 lda Zp33 ; CPU:$D16D PRG:116D A5 33 - jsr $DD75 ; CPU:$D16F PRG:116F 20 75 DD - jsr $DCDD ; CPU:$D172 PRG:1172 20 DD DC + jsr UpdateBumperState8 ; CPU:$D16F PRG:116F 20 75 DD + jsr UpdateBumperChain ; CPU:$D172 PRG:1172 20 DD DC lda Zp07 ; CPU:$D175 PRG:1175 A5 07 sta Zp37 ; CPU:$D177 PRG:1177 85 37 lda Zp30 ; CPU:$D179 PRG:1179 A5 30 @@ -2903,12 +2903,12 @@ UpdateBallPosition2: lda Zp30 ; CPU:$D180 PRG:1180 A5 30 ldx Zp33 ; CPU:$D182 PRG:1182 A6 33 cpx #$40 ; CPU:$D184 PRG:1184 E0 40 - bcc Label_D18E ; CPU:$D186 PRG:1186 90 06 + bcc SubCD18E ; CPU:$D186 PRG:1186 90 06 cpx #$C0 ; CPU:$D188 PRG:1188 E0 C0 - bcs Label_D18E ; CPU:$D18A PRG:118A B0 02 + bcs SubCD18E ; CPU:$D18A PRG:118A B0 02 adc #$7F ; CPU:$D18C PRG:118C 69 7F ; ----------------------------------------------------------------------------- -; Routine: Label_D18E +; Routine: SubCD18E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2916,7 +2916,7 @@ UpdateBallPosition2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D18E: +SubCD18E: sta Zp39 ; CPU:$D18E PRG:118E 85 39 rts ; CPU:$D190 PRG:1190 60 ; ----------------------------------------------------------------------------- @@ -2929,13 +2929,13 @@ Label_D18E: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateBallY2: - jsr $DE30 ; CPU:$D191 PRG:1191 20 30 DE + jsr UpdateSoundEngine ; CPU:$D191 PRG:1191 20 30 DE ldx Zp26 ; CPU:$D194 PRG:1194 A6 26 lda Zp7A,x ; CPU:$D196 PRG:1196 B5 7A cmp #$7F ; CPU:$D198 PRG:1198 C9 7F - bcc Label_D1B8 ; CPU:$D19A PRG:119A 90 1C + bcc SubCD1B8 ; CPU:$D19A PRG:119A 90 1C cmp #$8B ; CPU:$D19C PRG:119C C9 8B - bcs Label_D1B8 ; CPU:$D19E PRG:119E B0 18 + bcs SubCD1B8 ; CPU:$D19E PRG:119E B0 18 sbc #$7E ; CPU:$D1A0 PRG:11A0 E9 7E asl a ; CPU:$D1A2 PRG:11A2 0A and #$04 ; CPU:$D1A3 PRG:11A3 29 04 @@ -2943,7 +2943,7 @@ UpdateBallY2: ldy #$00 ; CPU:$D1A6 PRG:11A6 A0 00 lda Zp07 ; CPU:$D1A8 PRG:11A8 A5 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AA +; Routine: SubCD1AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2951,14 +2951,14 @@ UpdateBallY2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AA: +SubCD1AA: cmp $D9A7,x ; CPU:$D1AA PRG:11AA DD A7 D9 - bcc Label_D1B3 ; CPU:$D1AD PRG:11AD 90 04 + bcc SubCD1B3 ; CPU:$D1AD PRG:11AD 90 04 inx ; CPU:$D1AF PRG:11AF E8 iny ; CPU:$D1B0 PRG:11B0 C8 - bne Label_D1AA ; CPU:$D1B1 PRG:11B1 D0 F7 + bne SubCD1AA ; CPU:$D1B1 PRG:11B1 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_D1B3 +; Routine: SubCD1B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2966,12 +2966,12 @@ Label_D1AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1B3: +SubCD1B3: tya ; CPU:$D1B3 PRG:11B3 98 ldy #$00 ; CPU:$D1B4 PRG:11B4 A0 00 - beq Label_D1CE ; CPU:$D1B6 PRG:11B6 F0 16 + beq SubCD1CE ; CPU:$D1B6 PRG:11B6 F0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D1B8 +; Routine: SubCD1B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2979,11 +2979,11 @@ Label_D1B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1B8: +SubCD1B8: ldy ZpBF ; CPU:$D1B8 PRG:11B8 A4 BF ldx $D98D,y ; CPU:$D1BA PRG:11BA BE 8D D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D1BD +; Routine: SubCD1BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2991,15 +2991,15 @@ Label_D1B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1BD: +SubCD1BD: cmp $D990,x ; CPU:$D1BD PRG:11BD DD 90 D9 - beq Label_D1CA ; CPU:$D1C0 PRG:11C0 F0 08 + beq SubCD1CA ; CPU:$D1C0 PRG:11C0 F0 08 ldy $D990,x ; CPU:$D1C2 PRG:11C2 BC 90 D9 - beq Label_D1D1 ; CPU:$D1C5 PRG:11C5 F0 0A + beq SubCD1D1 ; CPU:$D1C5 PRG:11C5 F0 0A inx ; CPU:$D1C7 PRG:11C7 E8 - bne Label_D1BD ; CPU:$D1C8 PRG:11C8 D0 F3 + bne SubCD1BD ; CPU:$D1C8 PRG:11C8 D0 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CA +; Routine: SubCD1CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3007,11 +3007,11 @@ Label_D1BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CA: +SubCD1CA: lda #$00 ; CPU:$D1CA PRG:11CA A9 00 ldy #$01 ; CPU:$D1CC PRG:11CC A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CE +; Routine: SubCD1CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3019,10 +3019,10 @@ Label_D1CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CE: - jmp $D296 ; CPU:$D1CE PRG:11CE 4C 96 D2 +SubCD1CE: + jmp CheckCollision ; CPU:$D1CE PRG:11CE 4C 96 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1D1 +; Routine: SubCD1D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3030,11 +3030,11 @@ Label_D1CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1D1: +SubCD1D1: cmp #$20 ; CPU:$D1D1 PRG:11D1 C9 20 - bcc Label_D203 ; CPU:$D1D3 PRG:11D3 90 2E + bcc SubCD203 ; CPU:$D1D3 PRG:11D3 90 2E cmp #$23 ; CPU:$D1D5 PRG:11D5 C9 23 - bcs Label_D203 ; CPU:$D1D7 PRG:11D7 B0 2A + bcs SubCD203 ; CPU:$D1D7 PRG:11D7 B0 2A sec ; CPU:$D1D9 PRG:11D9 38 sbc #$20 ; CPU:$D1DA PRG:11DA E9 20 tax ; CPU:$D1DC PRG:11DC AA @@ -3042,10 +3042,10 @@ Label_D1D1: sec ; CPU:$D1DF PRG:11DF 38 sbc $D9BD,x ; CPU:$D1E0 PRG:11E0 FD BD D9 cmp #$80 ; CPU:$D1E3 PRG:11E3 C9 80 - bcc Label_D1EA ; CPU:$D1E5 PRG:11E5 90 03 - jmp $D2E4 ; CPU:$D1E7 PRG:11E7 4C E4 D2 + bcc SubCD1EA ; CPU:$D1E5 PRG:11E5 90 03 + jmp CheckFlipperHit ; CPU:$D1E7 PRG:11E7 4C E4 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1EA +; Routine: SubCD1EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3053,7 +3053,7 @@ Label_D1D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1EA: +SubCD1EA: lda ZpCD ; CPU:$D1EA PRG:11EA A5 CD ora $D7DD,x ; CPU:$D1EC PRG:11EC 1D DD D7 sta ZpCD ; CPU:$D1EF PRG:11EF 85 CD @@ -3078,7 +3078,7 @@ UpdateBallSprite: sec ; CPU:$D201 PRG:1201 38 rts ; CPU:$D202 PRG:1202 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D203 +; Routine: SubCD203 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3086,9 +3086,9 @@ UpdateBallSprite: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D203: +SubCD203: cmp #$8B ; CPU:$D203 PRG:1203 C9 8B - bne Label_D248 ; CPU:$D205 PRG:1205 D0 41 + bne SubCD248 ; CPU:$D205 PRG:1205 D0 41 ldx Zp26 ; CPU:$D207 PRG:1207 A6 26 lda Zp9A,x ; CPU:$D209 PRG:1209 B5 9A sta ZpDC ; CPU:$D20B PRG:120B 85 DC @@ -3111,11 +3111,11 @@ Label_D203: pha ; CPU:$D22A PRG:122A 48 eor $0130,x ; CPU:$D22B PRG:122B 5D 30 01 cmp $D9AF,x ; CPU:$D22E PRG:122E DD AF D9 - bne Label_D238 ; CPU:$D231 PRG:1231 D0 05 + bne SubCD238 ; CPU:$D231 PRG:1231 D0 05 lda #$37 ; CPU:$D233 PRG:1233 A9 37 - jsr $EE3D ; CPU:$D235 PRG:1235 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$D235 PRG:1235 20 3D EE ; ----------------------------------------------------------------------------- -; Routine: Label_D238 +; Routine: SubCD238 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3123,16 +3123,16 @@ Label_D203: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D238: +SubCD238: pla ; CPU:$D238 PRG:1238 68 ora ZpCE ; CPU:$D239 PRG:1239 05 CE sta ZpCE ; CPU:$D23B PRG:123B 85 CE lda #$0A ; CPU:$D23D PRG:123D A9 0A - jsr $EE3D ; CPU:$D23F PRG:123F 20 3D EE - jsr $D1FB ; CPU:$D242 PRG:1242 20 FB D1 - jmp $D2E4 ; CPU:$D245 PRG:1245 4C E4 D2 + jsr UpdateMusicChannel15 ; CPU:$D23F PRG:123F 20 3D EE + jsr UpdateBallSprite ; CPU:$D242 PRG:1242 20 FB D1 + jmp CheckFlipperHit ; CPU:$D245 PRG:1245 4C E4 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D248 +; Routine: SubCD248 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3140,18 +3140,18 @@ Label_D238: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D248: +SubCD248: cmp #$23 ; CPU:$D248 PRG:1248 C9 23 - bne Label_D261 ; CPU:$D24A PRG:124A D0 15 + bne SubCD261 ; CPU:$D24A PRG:124A D0 15 lda ZpCF ; CPU:$D24C PRG:124C A5 CF - bmi Label_D25B ; CPU:$D24E PRG:124E 30 0B + bmi SubCD25B ; CPU:$D24E PRG:124E 30 0B tax ; CPU:$D250 PRG:1250 AA ora #$80 ; CPU:$D251 PRG:1251 09 80 sta ZpCF ; CPU:$D253 PRG:1253 85 CF lda $D9C2,x ; CPU:$D255 PRG:1255 BD C2 D9 - jsr $EE3D ; CPU:$D258 PRG:1258 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$D258 PRG:1258 20 3D EE ; ----------------------------------------------------------------------------- -; Routine: Label_D25B +; Routine: SubCD25B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3159,12 +3159,12 @@ Label_D248: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D25B: +SubCD25B: lda #$00 ; CPU:$D25B PRG:125B A9 00 ldy #$04 ; CPU:$D25D PRG:125D A0 04 bne CheckCollision ; CPU:$D25F PRG:125F D0 35 ; ----------------------------------------------------------------------------- -; Routine: Label_D261 +; Routine: SubCD261 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3172,17 +3172,17 @@ Label_D25B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D261: +SubCD261: cmp #$A6 ; CPU:$D261 PRG:1261 C9 A6 bcc CheckFlipperHit ; CPU:$D263 PRG:1263 90 7F cmp #$AE ; CPU:$D265 PRG:1265 C9 AE - bcc Label_D271 ; CPU:$D267 PRG:1267 90 08 + bcc SubCD271 ; CPU:$D267 PRG:1267 90 08 cmp #$DD ; CPU:$D269 PRG:1269 C9 DD bcc CheckFlipperHit ; CPU:$D26B PRG:126B 90 77 cmp #$E5 ; CPU:$D26D PRG:126D C9 E5 bcs CheckFlipperHit ; CPU:$D26F PRG:126F B0 73 ; ----------------------------------------------------------------------------- -; Routine: Label_D271 +; Routine: SubCD271 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3190,22 +3190,22 @@ Label_D261: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D271: +SubCD271: lda ZpBF ; CPU:$D271 PRG:1271 A5 BF - beq Label_D288 ; CPU:$D273 PRG:1273 F0 13 + beq SubCD288 ; CPU:$D273 PRG:1273 F0 13 tay ; CPU:$D275 PRG:1275 A8 iny ; CPU:$D276 PRG:1276 C8 lda #$02 ; CPU:$D277 PRG:1277 A9 02 sta ZpFF ; CPU:$D279 PRG:1279 85 FF - jsr $D386 ; CPU:$D27B PRG:127B 20 86 D3 + jsr CheckTiltSwitch ; CPU:$D27B PRG:127B 20 86 D3 txa ; CPU:$D27E PRG:127E 8A cpy #$03 ; CPU:$D27F PRG:127F C0 03 beq CheckCollision ; CPU:$D281 PRG:1281 F0 13 pha ; CPU:$D283 PRG:1283 48 sty Zp32 ; CPU:$D284 PRG:1284 84 32 - bne Label_D2B8 ; CPU:$D286 PRG:1286 D0 30 + bne SubCD2B8 ; CPU:$D286 PRG:1286 D0 30 ; ----------------------------------------------------------------------------- -; Routine: Label_D288 +; Routine: SubCD288 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3213,13 +3213,13 @@ Label_D271: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D288: +SubCD288: lda ZpD1 ; CPU:$D288 PRG:1288 A5 D1 ora #$01 ; CPU:$D28A PRG:128A 09 01 sta ZpD1 ; CPU:$D28C PRG:128C 85 D1 lda #$0A ; CPU:$D28E PRG:128E A9 0A - jsr $EE3D ; CPU:$D290 PRG:1290 20 3D EE - jmp $D2E4 ; CPU:$D293 PRG:1293 4C E4 D2 + jsr UpdateMusicChannel15 ; CPU:$D290 PRG:1290 20 3D EE + jmp CheckFlipperHit ; CPU:$D293 PRG:1293 4C E4 D2 ; ----------------------------------------------------------------------------- ; Routine: CheckCollision ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -3236,10 +3236,10 @@ CheckCollision: ldx Zp30 ; CPU:$D29B PRG:129B A6 30 inx ; CPU:$D29D PRG:129D E8 cpx #$03 ; CPU:$D29E PRG:129E E0 03 - bcc Label_D2A3 ; CPU:$D2A0 PRG:12A0 90 01 + bcc SubCD2A3 ; CPU:$D2A0 PRG:12A0 90 01 lsr a ; CPU:$D2A2 PRG:12A2 4A ; ----------------------------------------------------------------------------- -; Routine: Label_D2A3 +; Routine: SubCD2A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3247,19 +3247,19 @@ CheckCollision: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A3: +SubCD2A3: sta ZpE3 ; CPU:$D2A3 PRG:12A3 85 E3 - jsr $E3E2 ; CPU:$D2A5 PRG:12A5 20 E2 E3 + jsr UpdateGameMode ; CPU:$D2A5 PRG:12A5 20 E2 E3 and ZpE3 ; CPU:$D2A8 PRG:12A8 25 E3 lsr ZpE3 ; CPU:$D2AA PRG:12AA 46 E3 sbc ZpE3 ; CPU:$D2AC PRG:12AC E5 E3 adc Zp33 ; CPU:$D2AE PRG:12AE 65 33 - beq Label_D2B8 ; CPU:$D2B0 PRG:12B0 F0 06 + beq SubCD2B8 ; CPU:$D2B0 PRG:12B0 F0 06 cmp #$7F ; CPU:$D2B2 PRG:12B2 C9 7F - bcs Label_D2B8 ; CPU:$D2B4 PRG:12B4 B0 02 + bcs SubCD2B8 ; CPU:$D2B4 PRG:12B4 B0 02 sta Zp33 ; CPU:$D2B6 PRG:12B6 85 33 ; ----------------------------------------------------------------------------- -; Routine: Label_D2B8 +; Routine: SubCD2B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3267,27 +3267,27 @@ Label_D2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2B8: - jsr $D159 ; CPU:$D2B8 PRG:12B8 20 59 D1 +SubCD2B8: + jsr UpdateBallPosition_3 ; CPU:$D2B8 PRG:12B8 20 59 D1 ldy Zp32 ; CPU:$D2BB PRG:12BB A4 32 ldx $D9CC,y ; CPU:$D2BD PRG:12BD BE CC D9 cpx Zp36 ; CPU:$D2C0 PRG:12C0 E4 36 pla ; CPU:$D2C2 PRG:12C2 68 - bcs Label_D2E7 ; CPU:$D2C3 PRG:12C3 B0 22 + bcs SubCD2E7 ; CPU:$D2C3 PRG:12C3 B0 22 adc $D9D1,y ; CPU:$D2C5 PRG:12C5 79 D1 D9 tax ; CPU:$D2C8 PRG:12C8 AA lda #$FF ; CPU:$D2C9 PRG:12C9 A9 FF sta Zp00,x ; CPU:$D2CB PRG:12CB 95 00 lda $D9D6,y ; CPU:$D2CD PRG:12CD B9 D6 D9 - jsr $EE3D ; CPU:$D2D0 PRG:12D0 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$D2D0 PRG:12D0 20 3D EE ldy Zp32 ; CPU:$D2D3 PRG:12D3 A4 32 lda $D9DB,y ; CPU:$D2D5 PRG:12D5 B9 DB D9 lsr Zp36 ; CPU:$D2D8 PRG:12D8 46 36 adc Zp36 ; CPU:$D2DA PRG:12DA 65 36 - bcc Label_D2E0 ; CPU:$D2DC PRG:12DC 90 02 + bcc SubCD2E0 ; CPU:$D2DC PRG:12DC 90 02 lda #$7F ; CPU:$D2DE PRG:12DE A9 7F ; ----------------------------------------------------------------------------- -; Routine: Label_D2E0 +; Routine: SubCD2E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3295,7 +3295,7 @@ Label_D2B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E0: +SubCD2E0: sta Zp36 ; CPU:$D2E0 PRG:12E0 85 36 bne CheckBallPocket ; CPU:$D2E2 PRG:12E2 D0 05 ; ----------------------------------------------------------------------------- @@ -3308,9 +3308,9 @@ Label_D2E0: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckFlipperHit: - jsr $D159 ; CPU:$D2E4 PRG:12E4 20 59 D1 + jsr UpdateBallPosition_3 ; CPU:$D2E4 PRG:12E4 20 59 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D2E7 +; Routine: SubCD2E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3318,7 +3318,7 @@ CheckFlipperHit: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E7: +SubCD2E7: lsr Zp36 ; CPU:$D2E7 PRG:12E7 46 36 ; ----------------------------------------------------------------------------- ; Routine: CheckBallPocket @@ -3330,18 +3330,18 @@ Label_D2E7: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- CheckBallPocket: - jsr $D334 ; CPU:$D2E9 PRG:12E9 20 34 D3 + jsr CheckBallVelocity ; CPU:$D2E9 PRG:12E9 20 34 D3 lda Zp36 ; CPU:$D2EC PRG:12EC A5 36 sta Zp06 ; CPU:$D2EE PRG:12EE 85 06 lda Zp38 ; CPU:$D2F0 PRG:12F0 A5 38 - jsr $DD8F ; CPU:$D2F2 PRG:12F2 20 8F DD - jsr $DD32 ; CPU:$D2F5 PRG:12F5 20 32 DD - jsr $DDF1 ; CPU:$D2F8 PRG:12F8 20 F1 DD + jsr UpdateBumperState10 ; CPU:$D2F2 PRG:12F2 20 8F DD + jsr UpdateBumperChain2 ; CPU:$D2F5 PRG:12F5 20 32 DD + jsr UpdateBumperState16 ; CPU:$D2F8 PRG:12F8 20 F1 DD lda Zp37 ; CPU:$D2FB PRG:12FB A5 37 sta Zp06 ; CPU:$D2FD PRG:12FD 85 06 lda Zp39 ; CPU:$D2FF PRG:12FF A5 39 - jsr $DD8F ; CPU:$D301 PRG:1301 20 8F DD - jsr $DD32 ; CPU:$D304 PRG:1304 20 32 DD + jsr UpdateBumperState10 ; CPU:$D301 PRG:1301 20 8F DD + jsr UpdateBumperChain2 ; CPU:$D304 PRG:1304 20 32 DD lda Zp06 ; CPU:$D307 PRG:1307 A5 06 clc ; CPU:$D309 PRG:1309 18 adc Zp0A ; CPU:$D30A PRG:130A 65 0A @@ -3349,14 +3349,14 @@ CheckBallPocket: lda Zp36 ; CPU:$D30D PRG:130D A5 36 sta Zp06 ; CPU:$D30F PRG:130F 85 06 lda Zp38 ; CPU:$D311 PRG:1311 A5 38 - jsr $DD92 ; CPU:$D313 PRG:1313 20 92 DD - jsr $DD32 ; CPU:$D316 PRG:1316 20 32 DD - jsr $DDF1 ; CPU:$D319 PRG:1319 20 F1 DD + jsr UpdateBumperState11 ; CPU:$D313 PRG:1313 20 92 DD + jsr UpdateBumperChain2 ; CPU:$D316 PRG:1316 20 32 DD + jsr UpdateBumperState16 ; CPU:$D319 PRG:1319 20 F1 DD lda Zp37 ; CPU:$D31C PRG:131C A5 37 sta Zp06 ; CPU:$D31E PRG:131E 85 06 lda Zp39 ; CPU:$D320 PRG:1320 A5 39 - jsr $DD92 ; CPU:$D322 PRG:1322 20 92 DD - jsr $DD32 ; CPU:$D325 PRG:1325 20 32 DD + jsr UpdateBumperState11 ; CPU:$D322 PRG:1322 20 92 DD + jsr UpdateBumperChain2 ; CPU:$D325 PRG:1325 20 32 DD lda Zp06 ; CPU:$D328 PRG:1328 A5 06 clc ; CPU:$D32A PRG:132A 18 adc Zp0A ; CPU:$D32B PRG:132B 65 0A @@ -3377,10 +3377,10 @@ CheckBallPocket: CheckBallVelocity: lda #$7F ; CPU:$D334 PRG:1334 A9 7F cmp Zp36 ; CPU:$D336 PRG:1336 C5 36 - bcs Label_D33C ; CPU:$D338 PRG:1338 B0 02 + bcs SubCD33C ; CPU:$D338 PRG:1338 B0 02 sta Zp36 ; CPU:$D33A PRG:133A 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D33C +; Routine: SubCD33C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3388,7 +3388,7 @@ CheckBallVelocity: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33C: +SubCD33C: ldx Zp37 ; CPU:$D33C PRG:133C A6 37 lda #$01 ; CPU:$D33E PRG:133E A9 01 sec ; CPU:$D340 PRG:1340 38 @@ -3397,13 +3397,13 @@ Label_D33C: lda #$3F ; CPU:$D346 PRG:1346 A9 3F sbc $DE87,x ; CPU:$D348 PRG:1348 FD 87 DE sta Zp07 ; CPU:$D34B PRG:134B 85 07 - jsr $DC0D ; CPU:$D34D PRG:134D 20 0D DC + jsr UpdateBumperState2 ; CPU:$D34D PRG:134D 20 0D DC lda Zp06 ; CPU:$D350 PRG:1350 A5 06 cmp Zp36 ; CPU:$D352 PRG:1352 C5 36 - bcs Label_D358 ; CPU:$D354 PRG:1354 B0 02 + bcs SubCD358 ; CPU:$D354 PRG:1354 B0 02 sta Zp36 ; CPU:$D356 PRG:1356 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D358 +; Routine: SubCD358 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3411,7 +3411,7 @@ Label_D33C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D358: +SubCD358: rts ; CPU:$D358 PRG:1358 60 ; ----------------------------------------------------------------------------- ; Routine: CheckBallPosition @@ -3424,13 +3424,13 @@ Label_D358: ; ----------------------------------------------------------------------------- CheckBallPosition: lda Zp06 ; CPU:$D359 PRG:1359 A5 06 - bmi Label_D365 ; CPU:$D35B PRG:135B 30 08 + bmi SubCD365 ; CPU:$D35B PRG:135B 30 08 cmp #$3F ; CPU:$D35D PRG:135D C9 3F - bcc Label_D36D ; CPU:$D35F PRG:135F 90 0C + bcc SubCD36D ; CPU:$D35F PRG:135F 90 0C lda #$3F ; CPU:$D361 PRG:1361 A9 3F - bne Label_D36B ; CPU:$D363 PRG:1363 D0 06 + bne SubCD36B ; CPU:$D363 PRG:1363 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D365 +; Routine: SubCD365 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3438,12 +3438,12 @@ CheckBallPosition: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D365: +SubCD365: cmp #$C1 ; CPU:$D365 PRG:1365 C9 C1 - bcs Label_D36D ; CPU:$D367 PRG:1367 B0 04 + bcs SubCD36D ; CPU:$D367 PRG:1367 B0 04 lda #$C1 ; CPU:$D369 PRG:1369 A9 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_D36B +; Routine: SubCD36B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3451,10 +3451,10 @@ Label_D365: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D36B: +SubCD36B: sta Zp06 ; CPU:$D36B PRG:136B 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D36D +; Routine: SubCD36D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3462,15 +3462,15 @@ Label_D36B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D36D: +SubCD36D: lda Zp08 ; CPU:$D36D PRG:136D A5 08 - bmi Label_D379 ; CPU:$D36F PRG:136F 30 08 + bmi SubCD379 ; CPU:$D36F PRG:136F 30 08 cmp #$3F ; CPU:$D371 PRG:1371 C9 3F - bcc Label_D381 ; CPU:$D373 PRG:1373 90 0C + bcc SubCD381 ; CPU:$D373 PRG:1373 90 0C lda #$3F ; CPU:$D375 PRG:1375 A9 3F - bne Label_D37F ; CPU:$D377 PRG:1377 D0 06 + bne SubCD37F ; CPU:$D377 PRG:1377 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D379 +; Routine: SubCD379 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3478,12 +3478,12 @@ Label_D36D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D379: +SubCD379: cmp #$C1 ; CPU:$D379 PRG:1379 C9 C1 - bcs Label_D381 ; CPU:$D37B PRG:137B B0 04 + bcs SubCD381 ; CPU:$D37B PRG:137B B0 04 lda #$C1 ; CPU:$D37D PRG:137D A9 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_D37F +; Routine: SubCD37F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3491,10 +3491,10 @@ Label_D379: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37F: +SubCD37F: sta Zp08 ; CPU:$D37F PRG:137F 85 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D381 +; Routine: SubCD381 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3502,8 +3502,8 @@ Label_D37F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D381: - jsr $DE75 ; CPU:$D381 PRG:1381 20 75 DE +SubCD381: + jsr UpdateSoundChannel3_E9ED_1 ; CPU:$D381 PRG:1381 20 75 DE clc ; CPU:$D384 PRG:1384 18 rts ; CPU:$D385 PRG:1385 60 ; ----------------------------------------------------------------------------- @@ -3519,10 +3519,10 @@ CheckTiltSwitch: ldx #$00 ; CPU:$D386 PRG:1386 A2 00 lda Zp07 ; CPU:$D388 PRG:1388 A5 07 cmp #$90 ; CPU:$D38A PRG:138A C9 90 - bcc Label_D38F ; CPU:$D38C PRG:138C 90 01 + bcc SubCD38F ; CPU:$D38C PRG:138C 90 01 inx ; CPU:$D38E PRG:138E E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D38F +; Routine: SubCD38F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3530,7 +3530,7 @@ CheckTiltSwitch: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38F: +SubCD38F: rts ; CPU:$D38F PRG:138F 60 ; ----------------------------------------------------------------------------- ; Routine: DrawScore @@ -3542,19 +3542,19 @@ Label_D38F: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- DrawScore: - jsr $DFE8 ; CPU:$D390 PRG:1390 20 E8 DF + jsr SubCDFE8 ; CPU:$D390 PRG:1390 20 E8 DF ldy #$00 ; CPU:$D393 PRG:1393 A0 00 lda (ZpDB),y ; CPU:$D395 PRG:1395 B1 DB - jsr $D4A1 ; CPU:$D397 PRG:1397 20 A1 D4 + jsr ReadPPUData_3 ; CPU:$D397 PRG:1397 20 A1 D4 ldy ZpB5 ; CPU:$D39A PRG:139A A4 B5 lda (ZpDF),y ; CPU:$D39C PRG:139C B1 DF ldx ZpB4 ; CPU:$D39E PRG:139E A6 B4 ldy #$00 ; CPU:$D3A0 PRG:13A0 A0 00 and $D7DD,x ; CPU:$D3A2 PRG:13A2 3D DD D7 - beq Label_D3A8 ; CPU:$D3A5 PRG:13A5 F0 01 + beq SubCD3A8 ; CPU:$D3A5 PRG:13A5 F0 01 dey ; CPU:$D3A7 PRG:13A7 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D3A8 +; Routine: SubCD3A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3562,7 +3562,7 @@ DrawScore: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3A8: +SubCD3A8: tya ; CPU:$D3A8 PRG:13A8 98 rts ; CPU:$D3A9 PRG:13A9 60 ; ----------------------------------------------------------------------------- @@ -3577,15 +3577,15 @@ Label_D3A8: UpdateScoreDisplay_3: lda #$00 ; CPU:$D3AA PRG:13AA A9 00 sta Zp2C ; CPU:$D3AC PRG:13AC 85 2C - jsr $DDB5 ; CPU:$D3AE PRG:13AE 20 B5 DD - jsr $DFE8 ; CPU:$D3B1 PRG:13B1 20 E8 DF + jsr SubCDDB5 ; CPU:$D3AE PRG:13AE 20 B5 DD + jsr SubCDFE8 ; CPU:$D3B1 PRG:13B1 20 E8 DF lda ZpB4 ; CPU:$D3B4 PRG:13B4 A5 B4 sta Zp3A ; CPU:$D3B6 PRG:13B6 85 3A lda ZpB5 ; CPU:$D3B8 PRG:13B8 A5 B5 sta Zp3B ; CPU:$D3BA PRG:13BA 85 3B - jsr $DDBE ; CPU:$D3BC PRG:13BC 20 BE DD + jsr UpdateBumperHit4 ; CPU:$D3BC PRG:13BC 20 BE DD ldx #$DD ; CPU:$D3BF PRG:13BF A2 DD - jsr $DFEA ; CPU:$D3C1 PRG:13C1 20 EA DF + jsr SubCDFEA ; CPU:$D3C1 PRG:13C1 20 EA DF lda ZpB4 ; CPU:$D3C4 PRG:13C4 A5 B4 sta Zp3C ; CPU:$D3C6 PRG:13C6 85 3C lda ZpB5 ; CPU:$D3C8 PRG:13C8 A5 B5 @@ -3600,11 +3600,11 @@ UpdateScoreDisplay_3: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateScoreDigits: - jsr $D4B9 ; CPU:$D3CC PRG:13CC 20 B9 D4 + jsr ReadPPUData2 ; CPU:$D3CC PRG:13CC 20 B9 D4 ldy Zp3B ; CPU:$D3CF PRG:13CF A4 3B lda Zp2B ; CPU:$D3D1 PRG:13D1 A5 2B cmp #$02 ; CPU:$D3D3 PRG:13D3 C9 02 - bcs Label_D441 ; CPU:$D3D5 PRG:13D5 B0 6A + bcs SubCD441 ; CPU:$D3D5 PRG:13D5 B0 6A lda (ZpDF),y ; CPU:$D3D7 PRG:13D7 B1 DF sta Zp3E ; CPU:$D3D9 PRG:13D9 85 3E ldy Zp3D ; CPU:$D3DB PRG:13DB A4 3D @@ -3612,11 +3612,11 @@ UpdateScoreDigits: sta Zp3F ; CPU:$D3DF PRG:13DF 85 3F ldx Zp3A ; CPU:$D3E1 PRG:13E1 A6 3A lda Zp2B ; CPU:$D3E3 PRG:13E3 A5 2B - bne Label_D40F ; CPU:$D3E5 PRG:13E5 D0 28 + bne SubCD40F ; CPU:$D3E5 PRG:13E5 D0 28 txa ; CPU:$D3E7 PRG:13E7 8A - beq Label_D3F4 ; CPU:$D3E8 PRG:13E8 F0 0A + beq SubCD3F4 ; CPU:$D3E8 PRG:13E8 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D3EA +; Routine: SubCD3EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3624,15 +3624,15 @@ UpdateScoreDigits: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3EA: +SubCD3EA: asl Zp3E ; CPU:$D3EA PRG:13EA 06 3E asl Zp3F ; CPU:$D3EC PRG:13EC 06 3F dex ; CPU:$D3EE PRG:13EE CA - bne Label_D3EA ; CPU:$D3EF PRG:13EF D0 F9 + bne SubCD3EA ; CPU:$D3EF PRG:13EF D0 F9 txa ; CPU:$D3F1 PRG:13F1 8A ldx Zp3A ; CPU:$D3F2 PRG:13F2 A6 3A ; ----------------------------------------------------------------------------- -; Routine: Label_D3F4 +; Routine: SubCD3F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3640,22 +3640,22 @@ Label_D3EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F4: +SubCD3F4: inc Zp2C ; CPU:$D3F4 PRG:13F4 E6 2C asl Zp3E ; CPU:$D3F6 PRG:13F6 06 3E rol a ; CPU:$D3F8 PRG:13F8 2A asl Zp3F ; CPU:$D3F9 PRG:13F9 06 3F adc #$00 ; CPU:$D3FB PRG:13FB 69 00 lsr a ; CPU:$D3FD PRG:13FD 4A - bcc Label_D42A ; CPU:$D3FE PRG:13FE 90 2A + bcc SubCD42A ; CPU:$D3FE PRG:13FE 90 2A dec Zp2A ; CPU:$D400 PRG:1400 C6 2A - beq Label_D42E ; CPU:$D402 PRG:1402 F0 2A + beq SubCD42E ; CPU:$D402 PRG:1402 F0 2A cpx #$07 ; CPU:$D404 PRG:1404 E0 07 - beq Label_D40B ; CPU:$D406 PRG:1406 F0 03 + beq SubCD40B ; CPU:$D406 PRG:1406 F0 03 inx ; CPU:$D408 PRG:1408 E8 - bne Label_D3F4 ; CPU:$D409 PRG:1409 D0 E9 + bne SubCD3F4 ; CPU:$D409 PRG:1409 D0 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_D40B +; Routine: SubCD40B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3663,11 +3663,11 @@ Label_D3F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D40B: +SubCD40B: ldx #$00 ; CPU:$D40B PRG:140B A2 00 - beq Label_D439 ; CPU:$D40D PRG:140D F0 2A + beq SubCD439 ; CPU:$D40D PRG:140D F0 2A ; ----------------------------------------------------------------------------- -; Routine: Label_D40F +; Routine: SubCD40F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3675,11 +3675,11 @@ Label_D40B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D40F: +SubCD40F: cpx #$07 ; CPU:$D40F PRG:140F E0 07 - beq Label_D41E ; CPU:$D411 PRG:1411 F0 0B + beq SubCD41E ; CPU:$D411 PRG:1411 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D413 +; Routine: SubCD413 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3687,15 +3687,15 @@ Label_D40F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D413: +SubCD413: lsr Zp3E ; CPU:$D413 PRG:1413 46 3E lsr Zp3F ; CPU:$D415 PRG:1415 46 3F inx ; CPU:$D417 PRG:1417 E8 cpx #$07 ; CPU:$D418 PRG:1418 E0 07 - bne Label_D413 ; CPU:$D41A PRG:141A D0 F7 + bne SubCD413 ; CPU:$D41A PRG:141A D0 F7 ldx Zp3A ; CPU:$D41C PRG:141C A6 3A ; ----------------------------------------------------------------------------- -; Routine: Label_D41E +; Routine: SubCD41E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3703,10 +3703,10 @@ Label_D413: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D41E: +SubCD41E: lda #$00 ; CPU:$D41E PRG:141E A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D420 +; Routine: SubCD420 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3714,7 +3714,7 @@ Label_D41E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D420: +SubCD420: inc Zp2C ; CPU:$D420 PRG:1420 E6 2C lsr Zp3E ; CPU:$D422 PRG:1422 46 3E rol a ; CPU:$D424 PRG:1424 2A @@ -3722,7 +3722,7 @@ Label_D420: adc #$00 ; CPU:$D427 PRG:1427 69 00 lsr a ; CPU:$D429 PRG:1429 4A ; ----------------------------------------------------------------------------- -; Routine: Label_D42A +; Routine: SubCD42A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3730,11 +3730,11 @@ Label_D420: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42A: - bcc Label_D499 ; CPU:$D42A PRG:142A 90 6D +SubCD42A: + bcc SubCD499 ; CPU:$D42A PRG:142A 90 6D dec Zp2A ; CPU:$D42C PRG:142C C6 2A ; ----------------------------------------------------------------------------- -; Routine: Label_D42E +; Routine: SubCD42E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3742,14 +3742,14 @@ Label_D42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42E: - beq Label_D497 ; CPU:$D42E PRG:142E F0 67 +SubCD42E: + beq SubCD497 ; CPU:$D42E PRG:142E F0 67 cpx #$00 ; CPU:$D430 PRG:1430 E0 00 - beq Label_D437 ; CPU:$D432 PRG:1432 F0 03 + beq SubCD437 ; CPU:$D432 PRG:1432 F0 03 dex ; CPU:$D434 PRG:1434 CA - bpl Label_D420 ; CPU:$D435 PRG:1435 10 E9 + bpl SubCD420 ; CPU:$D435 PRG:1435 10 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_D437 +; Routine: SubCD437 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3757,10 +3757,10 @@ Label_D42E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D437: +SubCD437: ldx #$07 ; CPU:$D437 PRG:1437 A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D439 +; Routine: SubCD439 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3768,12 +3768,12 @@ Label_D437: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D439: +SubCD439: stx Zp3A ; CPU:$D439 PRG:1439 86 3A - jsr $D4CF ; CPU:$D43B PRG:143B 20 CF D4 - jmp $D3CC ; CPU:$D43E PRG:143E 4C CC D3 + jsr UpdateScoreDisplay2 ; CPU:$D43B PRG:143B 20 CF D4 + jmp UpdateScoreDigits ; CPU:$D43E PRG:143E 4C CC D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D441 +; Routine: SubCD441 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3781,11 +3781,11 @@ Label_D439: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D441: +SubCD441: cmp #$02 ; CPU:$D441 PRG:1441 C9 02 - bne Label_D46A ; CPU:$D443 PRG:1443 D0 25 + bne SubCD46A ; CPU:$D443 PRG:1443 D0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_D445 +; Routine: SubCD445 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3793,7 +3793,7 @@ Label_D441: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D445: +SubCD445: inc Zp2C ; CPU:$D445 PRG:1445 E6 2C ldx Zp3A ; CPU:$D447 PRG:1447 A6 3A lda (ZpDF),y ; CPU:$D449 PRG:1449 B1 DF @@ -3802,12 +3802,12 @@ Label_D445: ldx Zp3C ; CPU:$D44F PRG:144F A6 3C lda (ZpE1),y ; CPU:$D451 PRG:1451 B1 E1 and $D7DD,x ; CPU:$D453 PRG:1453 3D DD D7 - bne Label_D45C ; CPU:$D456 PRG:1456 D0 04 + bne SubCD45C ; CPU:$D456 PRG:1456 D0 04 plp ; CPU:$D458 PRG:1458 28 - beq Label_D499 ; CPU:$D459 PRG:1459 F0 3E + beq SubCD499 ; CPU:$D459 PRG:1459 F0 3E php ; CPU:$D45B PRG:145B 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D45C +; Routine: SubCD45C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3815,17 +3815,17 @@ Label_D445: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D45C: +SubCD45C: plp ; CPU:$D45C PRG:145C 28 - bne Label_D499 ; CPU:$D45D PRG:145D D0 3A + bne SubCD499 ; CPU:$D45D PRG:145D D0 3A dec Zp2A ; CPU:$D45F PRG:145F C6 2A - beq Label_D497 ; CPU:$D461 PRG:1461 F0 34 + beq SubCD497 ; CPU:$D461 PRG:1461 F0 34 dey ; CPU:$D463 PRG:1463 88 - bpl Label_D445 ; CPU:$D464 PRG:1464 10 DF + bpl SubCD445 ; CPU:$D464 PRG:1464 10 DF ldy #$07 ; CPU:$D466 PRG:1466 A0 07 - bne Label_D48F ; CPU:$D468 PRG:1468 D0 25 + bne SubCD48F ; CPU:$D468 PRG:1468 D0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_D46A +; Routine: SubCD46A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3833,7 +3833,7 @@ Label_D45C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46A: +SubCD46A: inc Zp2C ; CPU:$D46A PRG:146A E6 2C ldx Zp3A ; CPU:$D46C PRG:146C A6 3A lda (ZpDF),y ; CPU:$D46E PRG:146E B1 DF @@ -3842,12 +3842,12 @@ Label_D46A: ldx Zp3C ; CPU:$D474 PRG:1474 A6 3C lda (ZpE1),y ; CPU:$D476 PRG:1476 B1 E1 and $D7DD,x ; CPU:$D478 PRG:1478 3D DD D7 - bne Label_D481 ; CPU:$D47B PRG:147B D0 04 + bne SubCD481 ; CPU:$D47B PRG:147B D0 04 plp ; CPU:$D47D PRG:147D 28 - beq Label_D499 ; CPU:$D47E PRG:147E F0 19 + beq SubCD499 ; CPU:$D47E PRG:147E F0 19 php ; CPU:$D480 PRG:1480 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D481 +; Routine: SubCD481 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3855,17 +3855,17 @@ Label_D46A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D481: +SubCD481: plp ; CPU:$D481 PRG:1481 28 - bne Label_D499 ; CPU:$D482 PRG:1482 D0 15 + bne SubCD499 ; CPU:$D482 PRG:1482 D0 15 dec Zp2A ; CPU:$D484 PRG:1484 C6 2A - beq Label_D497 ; CPU:$D486 PRG:1486 F0 0F + beq SubCD497 ; CPU:$D486 PRG:1486 F0 0F iny ; CPU:$D488 PRG:1488 C8 cpy #$08 ; CPU:$D489 PRG:1489 C0 08 - bne Label_D46A ; CPU:$D48B PRG:148B D0 DD + bne SubCD46A ; CPU:$D48B PRG:148B D0 DD ldy #$00 ; CPU:$D48D PRG:148D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D48F +; Routine: SubCD48F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3873,12 +3873,12 @@ Label_D481: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D48F: +SubCD48F: sty Zp3B ; CPU:$D48F PRG:148F 84 3B - jsr $D4CF ; CPU:$D491 PRG:1491 20 CF D4 - jmp $D3CC ; CPU:$D494 PRG:1494 4C CC D3 + jsr UpdateScoreDisplay2 ; CPU:$D491 PRG:1491 20 CF D4 + jmp UpdateScoreDigits ; CPU:$D494 PRG:1494 4C CC D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D497 +; Routine: SubCD497 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3886,10 +3886,10 @@ Label_D48F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D497: +SubCD497: lda #$00 ; CPU:$D497 PRG:1497 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D499 +; Routine: SubCD499 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3897,13 +3897,13 @@ Label_D497: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D499: +SubCD499: ldx #$00 ; CPU:$D499 PRG:1499 A2 00 tay ; CPU:$D49B PRG:149B A8 - beq Label_D49F ; CPU:$D49C PRG:149C F0 01 + beq SubCD49F ; CPU:$D49C PRG:149C F0 01 dex ; CPU:$D49E PRG:149E CA ; ----------------------------------------------------------------------------- -; Routine: Label_D49F +; Routine: SubCD49F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3911,7 +3911,7 @@ Label_D499: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D49F: +SubCD49F: txa ; CPU:$D49F PRG:149F 8A rts ; CPU:$D4A0 PRG:14A0 60 ; ----------------------------------------------------------------------------- @@ -3950,14 +3950,14 @@ ReadPPUData_3: ReadPPUData2: ldy #$00 ; CPU:$D4B9 PRG:14B9 A0 00 lda (ZpDD),y ; CPU:$D4BB PRG:14BB B1 DD - jsr $D4A1 ; CPU:$D4BD PRG:14BD 20 A1 D4 + jsr ReadPPUData_3 ; CPU:$D4BD PRG:14BD 20 A1 D4 lda ZpDF ; CPU:$D4C0 PRG:14C0 A5 DF sta ZpE1 ; CPU:$D4C2 PRG:14C2 85 E1 lda ZpE0 ; CPU:$D4C4 PRG:14C4 A5 E0 sta ZpE2 ; CPU:$D4C6 PRG:14C6 85 E2 ldy #$00 ; CPU:$D4C8 PRG:14C8 A0 00 lda (ZpDB),y ; CPU:$D4CA PRG:14CA B1 DB - jmp $D4A1 ; CPU:$D4CC PRG:14CC 4C A1 D4 + jmp ReadPPUData_3 ; CPU:$D4CC PRG:14CC 4C A1 D4 ; ----------------------------------------------------------------------------- ; Routine: UpdateScoreDisplay2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -3994,8 +3994,8 @@ UpdateScoreDisplay2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateFlippers_3: - jsr $DE30 ; CPU:$D4F0 PRG:14F0 20 30 DE - jsr $D386 ; CPU:$D4F3 PRG:14F3 20 86 D3 + jsr UpdateSoundEngine ; CPU:$D4F0 PRG:14F0 20 30 DE + jsr CheckTiltSwitch ; CPU:$D4F3 PRG:14F3 20 86 D3 stx Zp3A ; CPU:$D4F6 PRG:14F6 86 3A lda ZpBF ; CPU:$D4F8 PRG:14F8 A5 BF asl a ; CPU:$D4FA PRG:14FA 0A @@ -4018,13 +4018,13 @@ UpdateFlippers_3: sta Zp0C ; CPU:$D51A PRG:151A 85 0C sec ; CPU:$D51C PRG:151C 38 sbc Zp09 ; CPU:$D51D PRG:151D E5 09 - bpl Label_D528 ; CPU:$D51F PRG:151F 10 07 + bpl SubCD528 ; CPU:$D51F PRG:151F 10 07 sta Zp10 ; CPU:$D521 PRG:1521 85 10 lda #$00 ; CPU:$D523 PRG:1523 A9 00 sec ; CPU:$D525 PRG:1525 38 sbc Zp10 ; CPU:$D526 PRG:1526 E5 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D528 +; Routine: SubCD528 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4032,12 +4032,12 @@ UpdateFlippers_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D528: +SubCD528: cmp #$07 ; CPU:$D528 PRG:1528 C9 07 - bcc Label_D52F ; CPU:$D52A PRG:152A 90 03 - jmp $D5D1 ; CPU:$D52C PRG:152C 4C D1 D5 + bcc SubCD52F ; CPU:$D52A PRG:152A 90 03 + jmp UpdateFlipperState ; CPU:$D52C PRG:152C 4C D1 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D52F +; Routine: SubCD52F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4045,16 +4045,16 @@ Label_D528: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52F: +SubCD52F: sta Zp08 ; CPU:$D52F PRG:152F 85 08 lda $D9E0,x ; CPU:$D531 PRG:1531 BD E0 D9 clc ; CPU:$D534 PRG:1534 18 ldx Zp3A ; CPU:$D535 PRG:1535 A6 3A - bne Label_D53E ; CPU:$D537 PRG:1537 D0 05 + bne SubCD53E ; CPU:$D537 PRG:1537 D0 05 adc $DA1E,y ; CPU:$D539 PRG:1539 79 1E DA - bcc Label_D544 ; CPU:$D53C PRG:153C 90 06 + bcc SubCD544 ; CPU:$D53C PRG:153C 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D53E +; Routine: SubCD53E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4062,12 +4062,12 @@ Label_D52F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D53E: +SubCD53E: adc #$1F ; CPU:$D53E PRG:153E 69 1F sec ; CPU:$D540 PRG:1540 38 sbc $DA1E,y ; CPU:$D541 PRG:1541 F9 1E DA ; ----------------------------------------------------------------------------- -; Routine: Label_D544 +; Routine: SubCD544 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4075,18 +4075,18 @@ Label_D53E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D544: +SubCD544: sta Zp0A ; CPU:$D544 PRG:1544 85 0A sec ; CPU:$D546 PRG:1546 38 sbc Zp07 ; CPU:$D547 PRG:1547 E5 07 tax ; CPU:$D549 PRG:1549 AA - bpl Label_D553 ; CPU:$D54A PRG:154A 10 07 + bpl SubCD553 ; CPU:$D54A PRG:154A 10 07 sta Zp0E ; CPU:$D54C PRG:154C 85 0E lda #$00 ; CPU:$D54E PRG:154E A9 00 sec ; CPU:$D550 PRG:1550 38 sbc Zp0E ; CPU:$D551 PRG:1551 E5 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D553 +; Routine: SubCD553 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4094,7 +4094,7 @@ Label_D544: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D553: +SubCD553: cmp #$07 ; CPU:$D553 PRG:1553 C9 07 bcs UpdateFlipperState ; CPU:$D555 PRG:1555 B0 7A sta Zp06 ; CPU:$D557 PRG:1557 85 06 @@ -4104,7 +4104,7 @@ Label_D553: and #$01 ; CPU:$D55C PRG:155C 29 01 eor Zp3A ; CPU:$D55E PRG:155E 45 3A beq UpdateFlipperState ; CPU:$D560 PRG:1560 F0 6F - jsr $DBFA ; CPU:$D562 PRG:1562 20 FA DB + jsr UpdateBumperSprites ; CPU:$D562 PRG:1562 20 FA DB lda Zp06 ; CPU:$D565 PRG:1565 A5 06 clc ; CPU:$D567 PRG:1567 18 adc Zp08 ; CPU:$D568 PRG:1568 65 08 @@ -4120,8 +4120,8 @@ Label_D553: bcs UpdateFlipperState ; CPU:$D579 PRG:1579 B0 56 ldx Zp3A ; CPU:$D57B PRG:157B A6 3A lda ZpC7,x ; CPU:$D57D PRG:157D B5 C7 - bne Label_D5D7 ; CPU:$D57F PRG:157F D0 56 - jsr $DE30 ; CPU:$D581 PRG:1581 20 30 DE + bne SubCD5D7 ; CPU:$D57F PRG:157F D0 56 + jsr UpdateSoundEngine ; CPU:$D581 PRG:1581 20 30 DE lda Zp07 ; CPU:$D584 PRG:1584 A5 07 sec ; CPU:$D586 PRG:1586 38 sbc Zp0A ; CPU:$D587 PRG:1587 E5 0A @@ -4130,26 +4130,26 @@ Label_D553: sec ; CPU:$D58D PRG:158D 38 sbc Zp0C ; CPU:$D58E PRG:158E E5 0C sta Zp08 ; CPU:$D590 PRG:1590 85 08 - jsr $DC3E ; CPU:$D592 PRG:1592 20 3E DC + jsr UpdateBumperHit2 ; CPU:$D592 PRG:1592 20 3E DC sec ; CPU:$D595 PRG:1595 38 sbc #$40 ; CPU:$D596 PRG:1596 E9 40 sta Zp30 ; CPU:$D598 PRG:1598 85 30 - jsr $D739 ; CPU:$D59A PRG:159A 20 39 D7 + jsr UpdateBallDirection ; CPU:$D59A PRG:159A 20 39 D7 sec ; CPU:$D59D PRG:159D 38 sbc Zp30 ; CPU:$D59E PRG:159E E5 30 - jsr $DD75 ; CPU:$D5A0 PRG:15A0 20 75 DD + jsr UpdateBumperState8 ; CPU:$D5A0 PRG:15A0 20 75 DD lsr a ; CPU:$D5A3 PRG:15A3 4A lsr a ; CPU:$D5A4 PRG:15A4 4A lsr a ; CPU:$D5A5 PRG:15A5 4A sta Zp3F ; CPU:$D5A6 PRG:15A6 85 3F lda Zp30 ; CPU:$D5A8 PRG:15A8 A5 30 - jsr $D5C1 ; CPU:$D5AA PRG:15AA 20 C1 D5 + jsr CheckFlipperPressed ; CPU:$D5AA PRG:15AA 20 C1 D5 lda #$00 ; CPU:$D5AD PRG:15AD A9 00 sta Zp3C ; CPU:$D5AF PRG:15AF 85 3C lda #$02 ; CPU:$D5B1 PRG:15B1 A9 02 sta Zp31 ; CPU:$D5B3 PRG:15B3 85 31 - jsr $D6A8 ; CPU:$D5B5 PRG:15B5 20 A8 D6 - bcs Label_D5D7 ; CPU:$D5B8 PRG:15B8 B0 1D + jsr UpdateBallVelocity ; CPU:$D5B5 PRG:15B5 20 A8 D6 + bcs SubCD5D7 ; CPU:$D5B8 PRG:15B8 B0 1D ldx Zp3A ; CPU:$D5BA PRG:15BA A6 3A lda Zp40 ; CPU:$D5BC PRG:15BC A5 40 sta ZpC7,x ; CPU:$D5BE PRG:15BE 95 C7 @@ -4166,7 +4166,7 @@ Label_D553: CheckFlipperPressed: ldx #$04 ; CPU:$D5C1 PRG:15C1 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C3 +; Routine: SubCD5C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4174,13 +4174,13 @@ CheckFlipperPressed: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C3: +SubCD5C3: cmp $DAD5,x ; CPU:$D5C3 PRG:15C3 DD D5 DA - bcs Label_D5CB ; CPU:$D5C6 PRG:15C6 B0 03 + bcs SubCD5CB ; CPU:$D5C6 PRG:15C6 B0 03 dex ; CPU:$D5C8 PRG:15C8 CA - bpl Label_D5C3 ; CPU:$D5C9 PRG:15C9 10 F8 + bpl SubCD5C3 ; CPU:$D5C9 PRG:15C9 10 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_D5CB +; Routine: SubCD5CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4188,7 +4188,7 @@ Label_D5C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5CB: +SubCD5CB: lda $DADA,x ; CPU:$D5CB PRG:15CB BD DA DA sta Zp25 ; CPU:$D5CE PRG:15CE 85 25 rts ; CPU:$D5D0 PRG:15D0 60 @@ -4206,7 +4206,7 @@ UpdateFlipperState: lda #$00 ; CPU:$D5D3 PRG:15D3 A9 00 sta ZpC7,x ; CPU:$D5D5 PRG:15D5 95 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D5D7 +; Routine: SubCD5D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4214,21 +4214,21 @@ UpdateFlipperState: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5D7: - jsr $DE30 ; CPU:$D5D7 PRG:15D7 20 30 DE +SubCD5D7: + jsr UpdateSoundEngine ; CPU:$D5D7 PRG:15D7 20 30 DE ldx Zp3B ; CPU:$D5DA PRG:15DA A6 3B lda Zp09 ; CPU:$D5DC PRG:15DC A5 09 sec ; CPU:$D5DE PRG:15DE 38 sbc $D9E6,x ; CPU:$D5DF PRG:15DF FD E6 D9 cmp #$28 ; CPU:$D5E2 PRG:15E2 C9 28 - bcs Label_D5F0 ; CPU:$D5E4 PRG:15E4 B0 0A + bcs SubCD5F0 ; CPU:$D5E4 PRG:15E4 B0 0A lda Zp07 ; CPU:$D5E6 PRG:15E6 A5 07 sec ; CPU:$D5E8 PRG:15E8 38 sbc $D9E0,x ; CPU:$D5E9 PRG:15E9 FD E0 D9 cmp #$20 ; CPU:$D5EC PRG:15EC C9 20 - bcc Label_D5F1 ; CPU:$D5EE PRG:15EE 90 01 + bcc SubCD5F1 ; CPU:$D5EE PRG:15EE 90 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D5F0 +; Routine: SubCD5F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4236,10 +4236,10 @@ Label_D5D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F0: +SubCD5F0: rts ; CPU:$D5F0 PRG:15F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5F1 +; Routine: SubCD5F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4247,7 +4247,7 @@ Label_D5F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F1: +SubCD5F1: lda #$00 ; CPU:$D5F1 PRG:15F1 A9 00 sta Zp3C ; CPU:$D5F3 PRG:15F3 85 3C ; ----------------------------------------------------------------------------- @@ -4260,7 +4260,7 @@ Label_D5F1: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateFlipperSprites_3: - jsr $DE30 ; CPU:$D5F5 PRG:15F5 20 30 DE + jsr UpdateSoundEngine ; CPU:$D5F5 PRG:15F5 20 30 DE lda Zp3A ; CPU:$D5F8 PRG:15F8 A5 3A asl a ; CPU:$D5FA PRG:15FA 0A adc Zp3C ; CPU:$D5FB PRG:15FB 65 3C @@ -4276,11 +4276,11 @@ UpdateFlipperSprites_3: sec ; CPU:$D60F PRG:160F 38 sbc $D9E0,x ; CPU:$D610 PRG:1610 FD E0 D9 ldx Zp3A ; CPU:$D613 PRG:1613 A6 3A - beq Label_D61A ; CPU:$D615 PRG:1615 F0 03 + beq SubCD61A ; CPU:$D615 PRG:1615 F0 03 sec ; CPU:$D617 PRG:1617 38 sbc #$1F ; CPU:$D618 PRG:1618 E9 1F ; ----------------------------------------------------------------------------- -; Routine: Label_D61A +; Routine: SubCD61A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4288,7 +4288,7 @@ UpdateFlipperSprites_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D61A: +SubCD61A: sta Zp08 ; CPU:$D61A PRG:161A 85 08 sta Zp0F ; CPU:$D61C PRG:161C 85 0F ldx Zp3B ; CPU:$D61E PRG:161E A6 3B @@ -4302,11 +4302,11 @@ Label_D61A: ldx Zp3E ; CPU:$D62E PRG:162E A6 3E sec ; CPU:$D630 PRG:1630 38 ldy Zp3A ; CPU:$D631 PRG:1631 A4 3A - bne Label_D63A ; CPU:$D633 PRG:1633 D0 05 + bne SubCD63A ; CPU:$D633 PRG:1633 D0 05 lda $DA1E,x ; CPU:$D635 PRG:1635 BD 1E DA - bcs Label_D63F ; CPU:$D638 PRG:1638 B0 05 + bcs SubCD63F ; CPU:$D638 PRG:1638 B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D63A +; Routine: SubCD63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4314,11 +4314,11 @@ Label_D61A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63A: +SubCD63A: lda #$00 ; CPU:$D63A PRG:163A A9 00 sbc $DA1E,x ; CPU:$D63C PRG:163C FD 1E DA ; ----------------------------------------------------------------------------- -; Routine: Label_D63F +; Routine: SubCD63F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4326,14 +4326,14 @@ Label_D63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63F: +SubCD63F: sta Zp0E ; CPU:$D63F PRG:163F 85 0E lda $DA4E,x ; CPU:$D641 PRG:1641 BD 4E DA sta Zp06 ; CPU:$D644 PRG:1644 85 06 - jsr $DCE3 ; CPU:$D646 PRG:1646 20 E3 DC - jsr $DDF1 ; CPU:$D649 PRG:1649 20 F1 DD - jsr $DDBE ; CPU:$D64C PRG:164C 20 BE DD - jsr $DCE3 ; CPU:$D64F PRG:164F 20 E3 DC + jsr UpdateBumperState5 ; CPU:$D646 PRG:1646 20 E3 DC + jsr UpdateBumperState16 ; CPU:$D649 PRG:1649 20 F1 DD + jsr UpdateBumperHit4 ; CPU:$D64C PRG:164C 20 BE DD + jsr UpdateBumperState5 ; CPU:$D64F PRG:164F 20 E3 DC lda Zp06 ; CPU:$D652 PRG:1652 A5 06 sec ; CPU:$D654 PRG:1654 38 sbc Zp0A ; CPU:$D655 PRG:1655 E5 0A @@ -4341,14 +4341,14 @@ Label_D63F: lda Zp07 ; CPU:$D659 PRG:1659 A5 07 sbc Zp0B ; CPU:$D65B PRG:165B E5 0B sta Zp07 ; CPU:$D65D PRG:165D 85 07 - jsr $DBC8 ; CPU:$D65F PRG:165F 20 C8 DB + jsr UpdateBumperState ; CPU:$D65F PRG:165F 20 C8 DB lda Zp06 ; CPU:$D662 PRG:1662 A5 06 cmp #$E0 ; CPU:$D664 PRG:1664 C9 E0 lda Zp07 ; CPU:$D666 PRG:1666 A5 07 sbc #$00 ; CPU:$D668 PRG:1668 E9 00 - bcc Label_D678 ; CPU:$D66A PRG:166A 90 0C + bcc SubCD678 ; CPU:$D66A PRG:166A 90 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D66C +; Routine: SubCD66C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4356,14 +4356,14 @@ Label_D63F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D66C: +SubCD66C: inc Zp3C ; CPU:$D66C PRG:166C E6 3C lda Zp3C ; CPU:$D66E PRG:166E A5 3C cmp #$02 ; CPU:$D670 PRG:1670 C9 02 - bcs Label_D677 ; CPU:$D672 PRG:1672 B0 03 - jmp $D5F5 ; CPU:$D674 PRG:1674 4C F5 D5 + bcs SubCD677 ; CPU:$D672 PRG:1672 B0 03 + jmp UpdateFlipperSprites_3 ; CPU:$D674 PRG:1674 4C F5 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D677 +; Routine: SubCD677 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4371,10 +4371,10 @@ Label_D66C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D677: +SubCD677: rts ; CPU:$D677 PRG:1677 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D678 +; Routine: SubCD678 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4382,26 +4382,26 @@ Label_D677: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D678: - jsr $D739 ; CPU:$D678 PRG:1678 20 39 D7 +SubCD678: + jsr UpdateBallDirection ; CPU:$D678 PRG:1678 20 39 D7 sta Zp30 ; CPU:$D67B PRG:167B 85 30 lda Zp0F ; CPU:$D67D PRG:167D A5 0F sta Zp06 ; CPU:$D67F PRG:167F 85 06 lda Zp11 ; CPU:$D681 PRG:1681 A5 11 sta Zp08 ; CPU:$D683 PRG:1683 85 08 - jsr $DC3E ; CPU:$D685 PRG:1685 20 3E DC + jsr UpdateBumperHit2 ; CPU:$D685 PRG:1685 20 3E DC sec ; CPU:$D688 PRG:1688 38 sbc Zp30 ; CPU:$D689 PRG:1689 E5 30 cmp #$81 ; CPU:$D68B PRG:168B C9 81 - bcs Label_D66C ; CPU:$D68D PRG:168D B0 DD + bcs SubCD66C ; CPU:$D68D PRG:168D B0 DD lda Zp0F ; CPU:$D68F PRG:168F A5 0F - bpl Label_D69A ; CPU:$D691 PRG:1691 10 07 + bpl SubCD69A ; CPU:$D691 PRG:1691 10 07 sta Zp06 ; CPU:$D693 PRG:1693 85 06 lda #$00 ; CPU:$D695 PRG:1695 A9 00 sec ; CPU:$D697 PRG:1697 38 sbc Zp06 ; CPU:$D698 PRG:1698 E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D69A +; Routine: SubCD69A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4409,7 +4409,7 @@ Label_D678: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D69A: +SubCD69A: tax ; CPU:$D69A PRG:169A AA lda $DAB2,x ; CPU:$D69B PRG:169B BD B2 DA sta Zp3F ; CPU:$D69E PRG:169E 85 3F @@ -4430,17 +4430,17 @@ UpdateBallVelocity: ldx Zp3A ; CPU:$D6A8 PRG:16A8 A6 3A lda ZpC2,x ; CPU:$D6AA PRG:16AA B5 C2 sta Zp40 ; CPU:$D6AC PRG:16AC 85 40 - bne Label_D6CB ; CPU:$D6AE PRG:16AE D0 1B - jsr $D0E0 ; CPU:$D6B0 PRG:16B0 20 E0 D0 - bcs Label_D70F ; CPU:$D6B3 PRG:16B3 B0 5A - jsr $D159 ; CPU:$D6B5 PRG:16B5 20 59 D1 - jsr $D730 ; CPU:$D6B8 PRG:16B8 20 30 D7 + bne SubCD6CB ; CPU:$D6AE PRG:16AE D0 1B + jsr UpdateFlipperSound ; CPU:$D6B0 PRG:16B0 20 E0 D0 + bcs SubCD70F ; CPU:$D6B3 PRG:16B3 B0 5A + jsr UpdateBallPosition_3 ; CPU:$D6B5 PRG:16B5 20 59 D1 + jsr CheckBallSpeed ; CPU:$D6B8 PRG:16B8 20 30 D7 lda Zp31 ; CPU:$D6BB PRG:16BB A5 31 cmp #$02 ; CPU:$D6BD PRG:16BD C9 02 - bne Label_D6C3 ; CPU:$D6BF PRG:16BF D0 02 + bne SubCD6C3 ; CPU:$D6BF PRG:16BF D0 02 lsr Zp36 ; CPU:$D6C1 PRG:16C1 46 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D6C3 +; Routine: SubCD6C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4448,12 +4448,12 @@ UpdateBallVelocity: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6C3: +SubCD6C3: lsr Zp36 ; CPU:$D6C3 PRG:16C3 46 36 - jsr $D2E9 ; CPU:$D6C5 PRG:16C5 20 E9 D2 - jmp $D359 ; CPU:$D6C8 PRG:16C8 4C 59 D3 + jsr CheckBallPocket ; CPU:$D6C5 PRG:16C5 20 E9 D2 + jmp CheckBallPosition ; CPU:$D6C8 PRG:16C8 4C 59 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D6CB +; Routine: SubCD6CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4461,28 +4461,28 @@ Label_D6C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CB: - jsr $DE63 ; CPU:$D6CB PRG:16CB 20 63 DE - jsr $DC3E ; CPU:$D6CE PRG:16CE 20 3E DC +SubCD6CB: + jsr UpdateSoundChannel2_E96A_1 ; CPU:$D6CB PRG:16CB 20 63 DE + jsr UpdateBumperHit2 ; CPU:$D6CE PRG:16CE 20 3E DC sta Zp34 ; CPU:$D6D1 PRG:16D1 85 34 lda Zp30 ; CPU:$D6D3 PRG:16D3 A5 30 sec ; CPU:$D6D5 PRG:16D5 38 sbc Zp34 ; CPU:$D6D6 PRG:16D6 E5 34 sta Zp33 ; CPU:$D6D8 PRG:16D8 85 33 - jsr $DE63 ; CPU:$D6DA PRG:16DA 20 63 DE - jsr $DCAA ; CPU:$D6DD PRG:16DD 20 AA DC + jsr UpdateSoundChannel2_E96A_1 ; CPU:$D6DA PRG:16DA 20 63 DE + jsr UpdateBumperState4 ; CPU:$D6DD PRG:16DD 20 AA DC sta Zp35 ; CPU:$D6E0 PRG:16E0 85 35 - jsr $D15B ; CPU:$D6E2 PRG:16E2 20 5B D1 - jsr $D730 ; CPU:$D6E5 PRG:16E5 20 30 D7 + jsr UpdateBallPosition2 ; CPU:$D6E2 PRG:16E2 20 5B D1 + jsr CheckBallSpeed ; CPU:$D6E5 PRG:16E5 20 30 D7 lda Zp36 ; CPU:$D6E8 PRG:16E8 A5 36 lda Zp33 ; CPU:$D6EA PRG:16EA A5 33 - bpl Label_D6F5 ; CPU:$D6EC PRG:16EC 10 07 + bpl SubCD6F5 ; CPU:$D6EC PRG:16EC 10 07 lda #$00 ; CPU:$D6EE PRG:16EE A9 00 sec ; CPU:$D6F0 PRG:16F0 38 sbc Zp36 ; CPU:$D6F1 PRG:16F1 E5 36 sta Zp36 ; CPU:$D6F3 PRG:16F3 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F5 +; Routine: SubCD6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4490,21 +4490,21 @@ Label_D6CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F5: +SubCD6F5: lda Zp40 ; CPU:$D6F5 PRG:16F5 A5 40 and #$02 ; CPU:$D6F7 PRG:16F7 29 02 ora Zp3C ; CPU:$D6F9 PRG:16F9 05 3C tay ; CPU:$D6FB PRG:16FB A8 lda Zp3F ; CPU:$D6FC PRG:16FC A5 3F ldx $DADE,y ; CPU:$D6FE PRG:16FE BE DE DA - bmi Label_D710 ; CPU:$D701 PRG:1701 30 0D + bmi SubCD710 ; CPU:$D701 PRG:1701 30 0D clc ; CPU:$D703 PRG:1703 18 adc Zp36 ; CPU:$D704 PRG:1704 65 36 - bvc Label_D70C ; CPU:$D706 PRG:1706 50 04 + bvc SubCD70C ; CPU:$D706 PRG:1706 50 04 lda #$7F ; CPU:$D708 PRG:1708 A9 7F - bne Label_D71F ; CPU:$D70A PRG:170A D0 13 + bne SubCD71F ; CPU:$D70A PRG:170A D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D70C +; Routine: SubCD70C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4512,10 +4512,10 @@ Label_D6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70C: - bpl Label_D71F ; CPU:$D70C PRG:170C 10 11 +SubCD70C: + bpl SubCD71F ; CPU:$D70C PRG:170C 10 11 ; ----------------------------------------------------------------------------- -; Routine: Label_D70E +; Routine: SubCD70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4523,10 +4523,10 @@ Label_D70C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70E: +SubCD70E: sec ; CPU:$D70E PRG:170E 38 ; ----------------------------------------------------------------------------- -; Routine: Label_D70F +; Routine: SubCD70F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4534,10 +4534,10 @@ Label_D70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70F: +SubCD70F: rts ; CPU:$D70F PRG:170F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D710 +; Routine: SubCD710 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4545,17 +4545,17 @@ Label_D70F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D710: +SubCD710: sta ZpE3 ; CPU:$D710 PRG:1710 85 E3 lda Zp36 ; CPU:$D712 PRG:1712 A5 36 sec ; CPU:$D714 PRG:1714 38 sbc ZpE3 ; CPU:$D715 PRG:1715 E5 E3 - bvs Label_D70E ; CPU:$D717 PRG:1717 70 F5 - bmi Label_D70E ; CPU:$D719 PRG:1719 30 F3 + bvs SubCD70E ; CPU:$D717 PRG:1717 70 F5 + bmi SubCD70E ; CPU:$D719 PRG:1719 30 F3 lda #$00 ; CPU:$D71B PRG:171B A9 00 - beq Label_D728 ; CPU:$D71D PRG:171D F0 09 + beq SubCD728 ; CPU:$D71D PRG:171D F0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_D71F +; Routine: SubCD71F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4563,13 +4563,13 @@ Label_D710: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71F: +SubCD71F: ldx Zp31 ; CPU:$D71F PRG:171F A6 31 cpx #$02 ; CPU:$D721 PRG:1721 E0 02 - bne Label_D726 ; CPU:$D723 PRG:1723 D0 01 + bne SubCD726 ; CPU:$D723 PRG:1723 D0 01 lsr a ; CPU:$D725 PRG:1725 4A ; ----------------------------------------------------------------------------- -; Routine: Label_D726 +; Routine: SubCD726 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4577,10 +4577,10 @@ Label_D71F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D726: +SubCD726: adc Zp3F ; CPU:$D726 PRG:1726 65 3F ; ----------------------------------------------------------------------------- -; Routine: Label_D728 +; Routine: SubCD728 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4588,10 +4588,10 @@ Label_D726: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D728: +SubCD728: sta Zp36 ; CPU:$D728 PRG:1728 85 36 - jsr $D2E9 ; CPU:$D72A PRG:172A 20 E9 D2 - jmp $DE75 ; CPU:$D72D PRG:172D 4C 75 DE + jsr CheckBallPocket ; CPU:$D72A PRG:172A 20 E9 D2 + jmp UpdateSoundChannel3_E9ED_1 ; CPU:$D72D PRG:172D 4C 75 DE ; ----------------------------------------------------------------------------- ; Routine: CheckBallSpeed ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -4604,10 +4604,10 @@ Label_D728: CheckBallSpeed: lda Zp35 ; CPU:$D730 PRG:1730 A5 35 cmp #$0F ; CPU:$D732 PRG:1732 C9 0F - bcc Label_D738 ; CPU:$D734 PRG:1734 90 02 + bcc SubCD738 ; CPU:$D734 PRG:1734 90 02 lsr Zp37 ; CPU:$D736 PRG:1736 46 37 ; ----------------------------------------------------------------------------- -; Routine: Label_D738 +; Routine: SubCD738 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4615,7 +4615,7 @@ CheckBallSpeed: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D738: +SubCD738: rts ; CPU:$D738 PRG:1738 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBallDirection @@ -4630,11 +4630,11 @@ UpdateBallDirection: ldx Zp3E ; CPU:$D739 PRG:1739 A6 3E sec ; CPU:$D73B PRG:173B 38 lda Zp3A ; CPU:$D73C PRG:173C A5 3A - bne Label_D744 ; CPU:$D73E PRG:173E D0 04 + bne SubCD744 ; CPU:$D73E PRG:173E D0 04 lda $DA82,x ; CPU:$D740 PRG:1740 BD 82 DA rts ; CPU:$D743 PRG:1743 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D744 +; Routine: SubCD744 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4642,7 +4642,7 @@ UpdateBallDirection: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D744: +SubCD744: lda #$00 ; CPU:$D744 PRG:1744 A9 00 sec ; CPU:$D746 PRG:1746 38 sbc $DA82,x ; CPU:$D747 PRG:1747 FD 82 DA @@ -4738,7 +4738,7 @@ Label_D744: UpdateBumper: ldx #$02 ; CPU:$DBB6 PRG:1BB6 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB8 +; Routine: SubCDBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4746,7 +4746,7 @@ UpdateBumper: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB8: +SubCDBB8: lda Zp0A,x ; CPU:$DBB8 PRG:1BB8 B5 0A eor #$80 ; CPU:$DBBA PRG:1BBA 49 80 asl a ; CPU:$DBBC PRG:1BBC 0A @@ -4755,7 +4755,7 @@ Label_DBB8: sta Zp0B,x ; CPU:$DBC1 PRG:1BC1 95 0B dex ; CPU:$DBC3 PRG:1BC3 CA dex ; CPU:$DBC4 PRG:1BC4 CA - bpl Label_DBB8 ; CPU:$DBC5 PRG:1BC5 10 F1 + bpl SubCDBB8 ; CPU:$DBC5 PRG:1BC5 10 F1 rts ; CPU:$DBC7 PRG:1BC7 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperState @@ -4770,7 +4770,7 @@ UpdateBumperState: ldx #$00 ; CPU:$DBC8 PRG:1BC8 A2 00 bit $02A2 ; CPU:$DBCA PRG:1BCA 2C A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DBCD +; Routine: SubCDBCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4778,9 +4778,9 @@ UpdateBumperState: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBCD: +SubCDBCD: lda Zp07,x ; CPU:$DBCD PRG:1BCD B5 07 - bpl Label_DBDE ; CPU:$DBCF PRG:1BCF 10 0D + bpl SubCDBDE ; CPU:$DBCF PRG:1BCF 10 0D lda #$00 ; CPU:$DBD1 PRG:1BD1 A9 00 sec ; CPU:$DBD3 PRG:1BD3 38 sbc Zp06,x ; CPU:$DBD4 PRG:1BD4 F5 06 @@ -4789,7 +4789,7 @@ Label_DBCD: sbc Zp07,x ; CPU:$DBDA PRG:1BDA F5 07 sta Zp07,x ; CPU:$DBDC PRG:1BDC 95 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DBDE +; Routine: SubCDBDE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4797,10 +4797,10 @@ Label_DBCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDE: +SubCDBDE: dex ; CPU:$DBDE PRG:1BDE CA dex ; CPU:$DBDF PRG:1BDF CA - bpl Label_DBCD ; CPU:$DBE0 PRG:1BE0 10 EB + bpl SubCDBCD ; CPU:$DBE0 PRG:1BE0 10 EB rts ; CPU:$DBE2 PRG:1BE2 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperHit @@ -4813,13 +4813,13 @@ Label_DBDE: ; ----------------------------------------------------------------------------- UpdateBumperHit: lda Zp06 ; CPU:$DBE3 PRG:1BE3 A5 06 - bpl Label_DBEE ; CPU:$DBE5 PRG:1BE5 10 07 + bpl SubCDBEE ; CPU:$DBE5 PRG:1BE5 10 07 lda #$00 ; CPU:$DBE7 PRG:1BE7 A9 00 sec ; CPU:$DBE9 PRG:1BE9 38 sbc Zp06 ; CPU:$DBEA PRG:1BEA E5 06 sta Zp06 ; CPU:$DBEC PRG:1BEC 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DBEE +; Routine: SubCDBEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4827,15 +4827,15 @@ UpdateBumperHit: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBEE: +SubCDBEE: lda Zp08 ; CPU:$DBEE PRG:1BEE A5 08 - bpl Label_DBF9 ; CPU:$DBF0 PRG:1BF0 10 07 + bpl SubCDBF9 ; CPU:$DBF0 PRG:1BF0 10 07 lda #$00 ; CPU:$DBF2 PRG:1BF2 A9 00 sec ; CPU:$DBF4 PRG:1BF4 38 sbc Zp08 ; CPU:$DBF5 PRG:1BF5 E5 08 sta Zp08 ; CPU:$DBF7 PRG:1BF7 85 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DBF9 +; Routine: SubCDBF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4843,7 +4843,7 @@ Label_DBEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF9: +SubCDBF9: rts ; CPU:$DBF9 PRG:1BF9 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperSprites @@ -4857,7 +4857,7 @@ Label_DBF9: UpdateBumperSprites: ldx #$02 ; CPU:$DBFA PRG:1BFA A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DBFC +; Routine: SubCDBFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4865,7 +4865,7 @@ UpdateBumperSprites: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBFC: +SubCDBFC: ldy Zp06,x ; CPU:$DBFC PRG:1BFC B4 06 lda $0300,y ; CPU:$DBFE PRG:1BFE B9 00 03 sta Zp06,x ; CPU:$DC01 PRG:1C01 95 06 @@ -4873,7 +4873,7 @@ Label_DBFC: sta Zp07,x ; CPU:$DC06 PRG:1C06 95 07 dex ; CPU:$DC08 PRG:1C08 CA dex ; CPU:$DC09 PRG:1C09 CA - bpl Label_DBFC ; CPU:$DC0A PRG:1C0A 10 F0 + bpl SubCDBFC ; CPU:$DC0A PRG:1C0A 10 F0 rts ; CPU:$DC0C PRG:1C0C 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperState2 @@ -4905,16 +4905,16 @@ UpdateBumperState3: lda $DE87,x ; CPU:$DC1B PRG:1C1B BD 87 DE sbc Zp07 ; CPU:$DC1E PRG:1C1E E5 07 ora Zp13 ; CPU:$DC20 PRG:1C20 05 13 - beq Label_DC37 ; CPU:$DC22 PRG:1C22 F0 13 + beq SubCDC37 ; CPU:$DC22 PRG:1C22 F0 13 lda Zp12 ; CPU:$DC24 PRG:1C24 A5 12 - beq Label_DC34 ; CPU:$DC26 PRG:1C26 F0 0C + beq SubCDC34 ; CPU:$DC26 PRG:1C26 F0 0C txa ; CPU:$DC28 PRG:1C28 8A - bcs Label_DC2E ; CPU:$DC29 PRG:1C29 B0 03 + bcs SubCDC2E ; CPU:$DC29 PRG:1C29 B0 03 adc Zp12 ; CPU:$DC2B PRG:1C2B 65 12 ; ---- data $DC2D-$DC2D (1 bytes) ---- .byte $2C ; CPU:$DC2D PRG:1C2D 2C ; ----------------------------------------------------------------------------- -; Routine: Label_DC2E +; Routine: SubCDC2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4922,12 +4922,12 @@ UpdateBumperState3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2E: +SubCDC2E: sbc Zp12 ; CPU:$DC2E PRG:1C2E E5 12 tax ; CPU:$DC30 PRG:1C30 AA - jmp $DC11 ; CPU:$DC31 PRG:1C31 4C 11 DC + jmp UpdateBumperState3 ; CPU:$DC31 PRG:1C31 4C 11 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC34 +; Routine: SubCDC34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4935,11 +4935,11 @@ Label_DC2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC34: - bcc Label_DC37 ; CPU:$DC34 PRG:1C34 90 01 +SubCDC34: + bcc SubCDC37 ; CPU:$DC34 PRG:1C34 90 01 dex ; CPU:$DC36 PRG:1C36 CA ; ----------------------------------------------------------------------------- -; Routine: Label_DC37 +; Routine: SubCDC37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4947,7 +4947,7 @@ Label_DC34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC37: +SubCDC37: stx Zp06 ; CPU:$DC37 PRG:1C37 86 06 lda #$00 ; CPU:$DC39 PRG:1C39 A9 00 sta Zp07 ; CPU:$DC3B PRG:1C3B 85 07 @@ -4969,17 +4969,17 @@ UpdateBumperHit2: rol a ; CPU:$DC44 PRG:1C44 2A and #$03 ; CPU:$DC45 PRG:1C45 29 03 pha ; CPU:$DC47 PRG:1C47 48 - jsr $DBE3 ; CPU:$DC48 PRG:1C48 20 E3 DB + jsr UpdateBumperHit ; CPU:$DC48 PRG:1C48 20 E3 DB ldy #$00 ; CPU:$DC4B PRG:1C4B A0 00 lda Zp06 ; CPU:$DC4D PRG:1C4D A5 06 cmp Zp08 ; CPU:$DC4F PRG:1C4F C5 08 - bcc Label_DC5A ; CPU:$DC51 PRG:1C51 90 07 + bcc SubCDC5A ; CPU:$DC51 PRG:1C51 90 07 ldx Zp08 ; CPU:$DC53 PRG:1C53 A6 08 sta Zp08 ; CPU:$DC55 PRG:1C55 85 08 stx Zp06 ; CPU:$DC57 PRG:1C57 86 06 dey ; CPU:$DC59 PRG:1C59 88 ; ----------------------------------------------------------------------------- -; Routine: Label_DC5A +; Routine: SubCDC5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4987,15 +4987,15 @@ UpdateBumperHit2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5A: +SubCDC5A: sty Zp14 ; CPU:$DC5A PRG:1C5A 84 14 lda Zp08 ; CPU:$DC5C PRG:1C5C A5 08 - bne Label_DC64 ; CPU:$DC5E PRG:1C5E D0 04 + bne SubCDC64 ; CPU:$DC5E PRG:1C5E D0 04 pla ; CPU:$DC60 PRG:1C60 68 lda #$40 ; CPU:$DC61 PRG:1C61 A9 40 rts ; CPU:$DC63 PRG:1C63 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC64 +; Routine: SubCDC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5003,13 +5003,13 @@ Label_DC5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC64: +SubCDC64: cmp Zp06 ; CPU:$DC64 PRG:1C64 C5 06 - bne Label_DC6C ; CPU:$DC66 PRG:1C66 D0 04 + bne SubCDC6C ; CPU:$DC66 PRG:1C66 D0 04 lda #$20 ; CPU:$DC68 PRG:1C68 A9 20 - bne Label_DC8E ; CPU:$DC6A PRG:1C6A D0 22 + bne SubCDC8E ; CPU:$DC6A PRG:1C6A D0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_DC6C +; Routine: SubCDC6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5017,8 +5017,8 @@ Label_DC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC6C: - jsr $DD5D ; CPU:$DC6C PRG:1C6C 20 5D DD +SubCDC6C: + jsr UpdateBumperState7 ; CPU:$DC6C PRG:1C6C 20 5D DD lda Zp06 ; CPU:$DC6F PRG:1C6F A5 06 and #$C0 ; CPU:$DC71 PRG:1C71 29 C0 lsr a ; CPU:$DC73 PRG:1C73 4A @@ -5028,7 +5028,7 @@ Label_DC6C: tax ; CPU:$DC77 PRG:1C77 AA lda Zp06 ; CPU:$DC78 PRG:1C78 A5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DC7A +; Routine: SubCDC7A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5036,13 +5036,13 @@ Label_DC6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC7A: +SubCDC7A: cmp $DF87,x ; CPU:$DC7A PRG:1C7A DD 87 DF - bcc Label_DC82 ; CPU:$DC7D PRG:1C7D 90 03 + bcc SubCDC82 ; CPU:$DC7D PRG:1C7D 90 03 inx ; CPU:$DC7F PRG:1C7F E8 - bne Label_DC7A ; CPU:$DC80 PRG:1C80 D0 F8 + bne SubCDC7A ; CPU:$DC80 PRG:1C80 D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_DC82 +; Routine: SubCDC82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5050,16 +5050,16 @@ Label_DC7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC82: +SubCDC82: txa ; CPU:$DC82 PRG:1C82 8A ldx Zp14 ; CPU:$DC83 PRG:1C83 A6 14 - bne Label_DC8E ; CPU:$DC85 PRG:1C85 D0 07 + bne SubCDC8E ; CPU:$DC85 PRG:1C85 D0 07 sta Zp12 ; CPU:$DC87 PRG:1C87 85 12 lda #$40 ; CPU:$DC89 PRG:1C89 A9 40 sec ; CPU:$DC8B PRG:1C8B 38 sbc Zp12 ; CPU:$DC8C PRG:1C8C E5 12 ; ----------------------------------------------------------------------------- -; Routine: Label_DC8E +; Routine: SubCDC8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5067,18 +5067,18 @@ Label_DC82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC8E: +SubCDC8E: sta Zp12 ; CPU:$DC8E PRG:1C8E 85 12 pla ; CPU:$DC90 PRG:1C90 68 tax ; CPU:$DC91 PRG:1C91 AA lda $DCA2,x ; CPU:$DC92 PRG:1C92 BD A2 DC ldy $DCA6,x ; CPU:$DC95 PRG:1C95 BC A6 DC - bne Label_DC9E ; CPU:$DC98 PRG:1C98 D0 04 + bne SubCDC9E ; CPU:$DC98 PRG:1C98 D0 04 clc ; CPU:$DC9A PRG:1C9A 18 adc Zp12 ; CPU:$DC9B PRG:1C9B 65 12 rts ; CPU:$DC9D PRG:1C9D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC9E +; Routine: SubCDC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5086,7 +5086,7 @@ Label_DC8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC9E: +SubCDC9E: sec ; CPU:$DC9E PRG:1C9E 38 sbc Zp12 ; CPU:$DC9F PRG:1C9F E5 12 rts ; CPU:$DCA1 PRG:1CA1 60 @@ -5104,8 +5104,8 @@ Label_DC9E: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateBumperState4: - jsr $DBE3 ; CPU:$DCAA PRG:1CAA 20 E3 DB - jsr $DBFA ; CPU:$DCAD PRG:1CAD 20 FA DB + jsr UpdateBumperHit ; CPU:$DCAA PRG:1CAA 20 E3 DB + jsr UpdateBumperSprites ; CPU:$DCAD PRG:1CAD 20 FA DB lda Zp06 ; CPU:$DCB0 PRG:1CB0 A5 06 clc ; CPU:$DCB2 PRG:1CB2 18 adc Zp08 ; CPU:$DCB3 PRG:1CB3 65 08 @@ -5113,13 +5113,13 @@ UpdateBumperState4: lda Zp07 ; CPU:$DCB7 PRG:1CB7 A5 07 adc Zp09 ; CPU:$DCB9 PRG:1CB9 65 09 sta Zp07 ; CPU:$DCBB PRG:1CBB 85 07 - jsr $DC0D ; CPU:$DCBD PRG:1CBD 20 0D DC + jsr UpdateBumperState2 ; CPU:$DCBD PRG:1CBD 20 0D DC lda Zp06 ; CPU:$DCC0 PRG:1CC0 A5 06 - bpl Label_DCC8 ; CPU:$DCC2 PRG:1CC2 10 04 + bpl SubCDCC8 ; CPU:$DCC2 PRG:1CC2 10 04 lda #$7F ; CPU:$DCC4 PRG:1CC4 A9 7F sta Zp06 ; CPU:$DCC6 PRG:1CC6 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC8 +; Routine: SubCDCC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5127,10 +5127,10 @@ UpdateBumperState4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC8: +SubCDCC8: rts ; CPU:$DCC8 PRG:1CC8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC9 +; Routine: SubCDCC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5138,10 +5138,10 @@ Label_DCC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC9: +SubCDCC9: ldx #$02 ; CPU:$DCC9 PRG:1CC9 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DCCB +; Routine: SubCDCCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5149,7 +5149,7 @@ Label_DCC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCCB: +SubCDCCB: lda Zp06,x ; CPU:$DCCB PRG:1CCB B5 06 clc ; CPU:$DCCD PRG:1CCD 18 adc Zp0A,x ; CPU:$DCCE PRG:1CCE 75 0A @@ -5159,7 +5159,7 @@ Label_DCCB: sta Zp07,x ; CPU:$DCD6 PRG:1CD6 95 07 dex ; CPU:$DCD8 PRG:1CD8 CA dex ; CPU:$DCD9 PRG:1CD9 CA - bpl Label_DCCB ; CPU:$DCDA PRG:1CDA 10 EF + bpl SubCDCCB ; CPU:$DCDA PRG:1CDA 10 EF rts ; CPU:$DCDC PRG:1CDC 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperChain @@ -5187,7 +5187,7 @@ UpdateBumperState5: lda Zp06 ; CPU:$DCE3 PRG:1CE3 A5 06 eor Zp08 ; CPU:$DCE5 PRG:1CE5 45 08 sta Zp12 ; CPU:$DCE7 PRG:1CE7 85 12 - jsr $DBE3 ; CPU:$DCE9 PRG:1CE9 20 E3 DB + jsr UpdateBumperHit ; CPU:$DCE9 PRG:1CE9 20 E3 DB ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperState6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -5200,13 +5200,13 @@ UpdateBumperState5: UpdateBumperState6: lda Zp08 ; CPU:$DCEC PRG:1CEC A5 08 cmp Zp06 ; CPU:$DCEE PRG:1CEE C5 06 - bcc Label_DCF9 ; CPU:$DCF0 PRG:1CF0 90 07 + bcc SubCDCF9 ; CPU:$DCF0 PRG:1CF0 90 07 ldx Zp06 ; CPU:$DCF2 PRG:1CF2 A6 06 sta Zp06 ; CPU:$DCF4 PRG:1CF4 85 06 stx Zp08 ; CPU:$DCF6 PRG:1CF6 86 08 txa ; CPU:$DCF8 PRG:1CF8 8A ; ----------------------------------------------------------------------------- -; Routine: Label_DCF9 +; Routine: SubCDCF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5214,10 +5214,10 @@ UpdateBumperState6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF9: +SubCDCF9: ldx #$08 ; CPU:$DCF9 PRG:1CF9 A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFB +; Routine: SubCDCFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5225,15 +5225,15 @@ Label_DCF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFB: +SubCDCFB: asl a ; CPU:$DCFB PRG:1CFB 0A - bcs Label_DD05 ; CPU:$DCFC PRG:1CFC B0 07 + bcs SubCDD05 ; CPU:$DCFC PRG:1CFC B0 07 dex ; CPU:$DCFE PRG:1CFE CA - bne Label_DCFB ; CPU:$DCFF PRG:1CFF D0 FA + bne SubCDCFB ; CPU:$DCFF PRG:1CFF D0 FA sta Zp07 ; CPU:$DD01 PRG:1D01 85 07 - beq Label_DD1E ; CPU:$DD03 PRG:1D03 F0 19 + beq SubCDD1E ; CPU:$DD03 PRG:1D03 F0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_DD05 +; Routine: SubCDD05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5241,13 +5241,13 @@ Label_DCFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD05: +SubCDD05: sta Zp08 ; CPU:$DD05 PRG:1D05 85 08 lda #$00 ; CPU:$DD07 PRG:1D07 A9 00 sta Zp07 ; CPU:$DD09 PRG:1D09 85 07 - beq Label_DD14 ; CPU:$DD0B PRG:1D0B F0 07 + beq SubCDD14 ; CPU:$DD0B PRG:1D0B F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0D +; Routine: SubCDD0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5255,13 +5255,13 @@ Label_DD05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0D: +SubCDD0D: asl a ; CPU:$DD0D PRG:1D0D 0A rol Zp07 ; CPU:$DD0E PRG:1D0E 26 07 asl Zp08 ; CPU:$DD10 PRG:1D10 06 08 - bcc Label_DD1B ; CPU:$DD12 PRG:1D12 90 07 + bcc SubCDD1B ; CPU:$DD12 PRG:1D12 90 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DD14 +; Routine: SubCDD14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5269,13 +5269,13 @@ Label_DD0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD14: +SubCDD14: clc ; CPU:$DD14 PRG:1D14 18 adc Zp06 ; CPU:$DD15 PRG:1D15 65 06 - bcc Label_DD1B ; CPU:$DD17 PRG:1D17 90 02 + bcc SubCDD1B ; CPU:$DD17 PRG:1D17 90 02 inc Zp07 ; CPU:$DD19 PRG:1D19 E6 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DD1B +; Routine: SubCDD1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5283,11 +5283,11 @@ Label_DD14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1B: +SubCDD1B: dex ; CPU:$DD1B PRG:1D1B CA - bne Label_DD0D ; CPU:$DD1C PRG:1D1C D0 EF + bne SubCDD0D ; CPU:$DD1C PRG:1D1C D0 EF ; ----------------------------------------------------------------------------- -; Routine: Label_DD1E +; Routine: SubCDD1E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5295,10 +5295,10 @@ Label_DD1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1E: +SubCDD1E: sta Zp06 ; CPU:$DD1E PRG:1D1E 85 06 lda Zp12 ; CPU:$DD20 PRG:1D20 A5 12 - bpl Label_DD31 ; CPU:$DD22 PRG:1D22 10 0D + bpl SubCDD31 ; CPU:$DD22 PRG:1D22 10 0D lda #$00 ; CPU:$DD24 PRG:1D24 A9 00 sec ; CPU:$DD26 PRG:1D26 38 sbc Zp06 ; CPU:$DD27 PRG:1D27 E5 06 @@ -5307,7 +5307,7 @@ Label_DD1E: sbc Zp07 ; CPU:$DD2D PRG:1D2D E5 07 sta Zp07 ; CPU:$DD2F PRG:1D2F 85 07 ; ----------------------------------------------------------------------------- -; Routine: Label_DD31 +; Routine: SubCDD31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5315,7 +5315,7 @@ Label_DD1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD31: +SubCDD31: rts ; CPU:$DD31 PRG:1D31 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperChain2 @@ -5331,13 +5331,13 @@ UpdateBumperChain2: eor Zp09 ; CPU:$DD34 PRG:1D34 45 09 sta Zp12 ; CPU:$DD36 PRG:1D36 85 12 lda Zp06 ; CPU:$DD38 PRG:1D38 A5 06 - bpl Label_DD43 ; CPU:$DD3A PRG:1D3A 10 07 + bpl SubCDD43 ; CPU:$DD3A PRG:1D3A 10 07 lda #$00 ; CPU:$DD3C PRG:1D3C A9 00 sec ; CPU:$DD3E PRG:1D3E 38 sbc Zp06 ; CPU:$DD3F PRG:1D3F E5 06 sta Zp06 ; CPU:$DD41 PRG:1D41 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DD43 +; Routine: SubCDD43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5345,15 +5345,15 @@ UpdateBumperChain2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD43: +SubCDD43: lda Zp09 ; CPU:$DD43 PRG:1D43 A5 09 - bpl Label_DD4E ; CPU:$DD45 PRG:1D45 10 07 + bpl SubCDD4E ; CPU:$DD45 PRG:1D45 10 07 lda #$00 ; CPU:$DD47 PRG:1D47 A9 00 sec ; CPU:$DD49 PRG:1D49 38 sbc Zp08 ; CPU:$DD4A PRG:1D4A E5 08 sta Zp08 ; CPU:$DD4C PRG:1D4C 85 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DD4E +; Routine: SubCDD4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5361,15 +5361,15 @@ Label_DD43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD4E: - jsr $DCEC ; CPU:$DD4E PRG:1D4E 20 EC DC +SubCDD4E: + jsr UpdateBumperState6 ; CPU:$DD4E PRG:1D4E 20 EC DC ldy #$00 ; CPU:$DD51 PRG:1D51 A0 00 lda Zp07 ; CPU:$DD53 PRG:1D53 A5 07 sta Zp06 ; CPU:$DD55 PRG:1D55 85 06 - bpl Label_DD5A ; CPU:$DD57 PRG:1D57 10 01 + bpl SubCDD5A ; CPU:$DD57 PRG:1D57 10 01 dey ; CPU:$DD59 PRG:1D59 88 ; ----------------------------------------------------------------------------- -; Routine: Label_DD5A +; Routine: SubCDD5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5377,7 +5377,7 @@ Label_DD4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD5A: +SubCDD5A: sty Zp07 ; CPU:$DD5A PRG:1D5A 84 07 rts ; CPU:$DD5C PRG:1D5C 60 ; ----------------------------------------------------------------------------- @@ -5395,7 +5395,7 @@ UpdateBumperState7: stx Zp06 ; CPU:$DD61 PRG:1D61 86 06 ldx #$08 ; CPU:$DD63 PRG:1D63 A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_DD65 +; Routine: SubCDD65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5403,13 +5403,13 @@ UpdateBumperState7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD65: +SubCDD65: asl a ; CPU:$DD65 PRG:1D65 0A - bcs Label_DD6C ; CPU:$DD66 PRG:1D66 B0 04 + bcs SubCDD6C ; CPU:$DD66 PRG:1D66 B0 04 cmp Zp08 ; CPU:$DD68 PRG:1D68 C5 08 - bcc Label_DD6F ; CPU:$DD6A PRG:1D6A 90 03 + bcc SubCDD6F ; CPU:$DD6A PRG:1D6A 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DD6C +; Routine: SubCDD6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5417,11 +5417,11 @@ Label_DD65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD6C: +SubCDD6C: sbc Zp08 ; CPU:$DD6C PRG:1D6C E5 08 sec ; CPU:$DD6E PRG:1D6E 38 ; ----------------------------------------------------------------------------- -; Routine: Label_DD6F +; Routine: SubCDD6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5429,10 +5429,10 @@ Label_DD6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD6F: +SubCDD6F: rol Zp06 ; CPU:$DD6F PRG:1D6F 26 06 dex ; CPU:$DD71 PRG:1D71 CA - bne Label_DD65 ; CPU:$DD72 PRG:1D72 D0 F1 + bne SubCDD65 ; CPU:$DD72 PRG:1D72 D0 F1 rts ; CPU:$DD74 PRG:1D74 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperState8 @@ -5458,12 +5458,12 @@ UpdateBumperState8: UpdateBumperState9: and #$7F ; CPU:$DD78 PRG:1D78 29 7F cmp #$40 ; CPU:$DD7A PRG:1D7A C9 40 - bcc Label_DD84 ; CPU:$DD7C PRG:1D7C 90 06 + bcc SubCDD84 ; CPU:$DD7C PRG:1D7C 90 06 sta Zp12 ; CPU:$DD7E PRG:1D7E 85 12 lda #$7F ; CPU:$DD80 PRG:1D80 A9 7F sbc Zp12 ; CPU:$DD82 PRG:1D82 E5 12 ; ----------------------------------------------------------------------------- -; Routine: Label_DD84 +; Routine: SubCDD84 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5471,7 +5471,7 @@ UpdateBumperState9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD84: +SubCDD84: tax ; CPU:$DD84 PRG:1D84 AA lda $DFA8,x ; CPU:$DD85 PRG:1D85 BD A8 DF sta Zp08 ; CPU:$DD88 PRG:1D88 85 08 @@ -5501,16 +5501,16 @@ UpdateBumperState10: ; ----------------------------------------------------------------------------- UpdateBumperState11: pha ; CPU:$DD92 PRG:1D92 48 - jsr $DD78 ; CPU:$DD93 PRG:1D93 20 78 DD + jsr UpdateBumperState9 ; CPU:$DD93 PRG:1D93 20 78 DD pla ; CPU:$DD96 PRG:1D96 68 - bmi Label_DDA2 ; CPU:$DD97 PRG:1D97 30 09 + bmi SubCDDA2 ; CPU:$DD97 PRG:1D97 30 09 lda #$00 ; CPU:$DD99 PRG:1D99 A9 00 sec ; CPU:$DD9B PRG:1D9B 38 sbc Zp08 ; CPU:$DD9C PRG:1D9C E5 08 sta Zp08 ; CPU:$DD9E PRG:1D9E 85 08 dec Zp09 ; CPU:$DDA0 PRG:1DA0 C6 09 ; ----------------------------------------------------------------------------- -; Routine: Label_DDA2 +; Routine: SubCDDA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5518,7 +5518,7 @@ UpdateBumperState11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDA2: +SubCDDA2: rts ; CPU:$DDA2 PRG:1DA2 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBumperState12 @@ -5551,7 +5551,7 @@ UpdateBumperState13: sta Zp10 ; CPU:$DDB2 PRG:1DB2 85 10 rts ; CPU:$DDB4 PRG:1DB4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDB5 +; Routine: SubCDDB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5559,7 +5559,7 @@ UpdateBumperState13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDB5: +SubCDDB5: lda Zp0A ; CPU:$DDB5 PRG:1DB5 A5 0A sta Zp06 ; CPU:$DDB7 PRG:1DB7 85 06 lda Zp0C ; CPU:$DDB9 PRG:1DB9 A5 0C @@ -5592,7 +5592,7 @@ UpdateBumperHit4: UpdateBumperState15: lda Zp0A ; CPU:$DDC7 PRG:1DC7 A5 0A ; ----------------------------------------------------------------------------- -; Routine: Label_DDC9 +; Routine: SubCDDC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5600,13 +5600,13 @@ UpdateBumperState15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC9: +SubCDDC9: ldx Zp0B ; CPU:$DDC9 PRG:1DC9 A6 0B sta Zp06 ; CPU:$DDCB PRG:1DCB 85 06 stx Zp07 ; CPU:$DDCD PRG:1DCD 86 07 rts ; CPU:$DDCF PRG:1DCF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDD0 +; Routine: SubCDDD0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5614,14 +5614,14 @@ Label_DDC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD0: +SubCDDD0: lda Zp0E ; CPU:$DDD0 PRG:1DD0 A5 0E ldx Zp0F ; CPU:$DDD2 PRG:1DD2 A6 0F sta Zp06 ; CPU:$DDD4 PRG:1DD4 85 06 stx Zp07 ; CPU:$DDD6 PRG:1DD6 86 07 rts ; CPU:$DDD8 PRG:1DD8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDD9 +; Routine: SubCDDD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5629,8 +5629,8 @@ Label_DDD0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD9: - jsr $DDC7 ; CPU:$DDD9 PRG:1DD9 20 C7 DD +SubCDDD9: + jsr UpdateBumperState15 ; CPU:$DDD9 PRG:1DD9 20 C7 DD lda Zp0C ; CPU:$DDDC PRG:1DDC A5 0C ldx Zp0D ; CPU:$DDDE PRG:1DDE A6 0D sta Zp08 ; CPU:$DDE0 PRG:1DE0 85 08 @@ -5654,7 +5654,7 @@ UpdateBumperState16: stx Zp0B ; CPU:$DDF7 PRG:1DF7 86 0B rts ; CPU:$DDF9 PRG:1DF9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDFA +; Routine: SubCDDFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5662,7 +5662,7 @@ UpdateBumperState16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDFA: +SubCDDFA: lda Zp0E ; CPU:$DDFA PRG:1DFA A5 0E ldx Zp0F ; CPU:$DDFC PRG:1DFC A6 0F sta Zp0A ; CPU:$DDFE PRG:1DFE 85 0A @@ -5672,7 +5672,7 @@ Label_DDFA: .byte $20, $F1, $DD, $A5, $08, $A6, $09, $85, $0C, $86, $0D, $60, $20, $FA, $DD, $A5 ; CPU:$DE03 PRG:1E03 20 F1 DD A5 08 A6 09 85 0C 86 0D 60 20 FA DD A5 .byte $10, $A6, $11, $85, $0C, $86, $0D, $60 ; CPU:$DE13 PRG:1E13 10 A6 11 85 0C 86 0D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE1B +; Routine: SubCDE1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5680,7 +5680,7 @@ Label_DDFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE1B: +SubCDE1B: lda Zp06 ; CPU:$DE1B PRG:1E1B A5 06 ldx Zp07 ; CPU:$DE1D PRG:1E1D A6 07 sta Zp0E ; CPU:$DE1F PRG:1E1F 85 0E @@ -5727,7 +5727,7 @@ UpdateSoundChannel: sta Zp18 ; CPU:$DE4F PRG:1E4F 85 18 rts ; CPU:$DE51 PRG:1E51 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE52 +; Routine: SubCDE52 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5735,7 +5735,7 @@ UpdateSoundChannel: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE52: +SubCDE52: lda Zp0A ; CPU:$DE52 PRG:1E52 A5 0A sta Zp15 ; CPU:$DE54 PRG:1E54 85 15 lda Zp0B ; CPU:$DE56 PRG:1E56 A5 0B @@ -5761,7 +5761,7 @@ UpdateSoundChannel2_E96A_1: sta Zp08 ; CPU:$DE69 PRG:1E69 85 08 rts ; CPU:$DE6B PRG:1E6B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE6C +; Routine: SubCDE6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5769,7 +5769,7 @@ UpdateSoundChannel2_E96A_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE6C: +SubCDE6C: lda Zp19 ; CPU:$DE6C PRG:1E6C A5 19 sta Zp0A ; CPU:$DE6E PRG:1E6E 85 0A lda Zp1A ; CPU:$DE70 PRG:1E70 A5 1A @@ -5835,7 +5835,7 @@ UpdateSoundChannel4_EAD1_1: .byte $EA, $ED, $EF, $F1, $F3, $F5, $F7, $F8, $FA, $FB, $FC, $FD, $FE, $FF, $FF, $FF ; CPU:$DFD7 PRG:1FD7 EA ED EF F1 F3 F5 F7 F8 FA FB FC FD FE FF FF FF .byte $FF ; CPU:$DFE7 PRG:1FE7 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DFE8 +; Routine: SubCDFE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5843,10 +5843,10 @@ UpdateSoundChannel4_EAD1_1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFE8: +SubCDFE8: ldx #$DB ; CPU:$DFE8 PRG:1FE8 A2 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DFEA +; Routine: SubCDFEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5854,7 +5854,7 @@ Label_DFE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFEA: +SubCDFEA: pha ; CPU:$DFEA PRG:1FEA 48 lda Zp06 ; CPU:$DFEB PRG:1FEB A5 06 pha ; CPU:$DFED PRG:1FED 48 @@ -5883,11 +5883,11 @@ Label_DFEA: asl a ; CPU:$E00E PRG:200E 0A asl a ; CPU:$E00F PRG:200F 0A asl a ; CPU:$E010 PRG:2010 0A - bcc Label_E015 ; CPU:$E011 PRG:2011 90 02 + bcc SubCE015 ; CPU:$E011 PRG:2011 90 02 iny ; CPU:$E013 PRG:2013 C8 iny ; CPU:$E014 PRG:2014 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E015 +; Routine: SubCE015 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5895,12 +5895,12 @@ Label_DFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E015: +SubCE015: asl a ; CPU:$E015 PRG:2015 0A - bcc Label_E019 ; CPU:$E016 PRG:2016 90 01 + bcc SubCE019 ; CPU:$E016 PRG:2016 90 01 iny ; CPU:$E018 PRG:2018 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E019 +; Routine: SubCE019 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5908,7 +5908,7 @@ Label_E015: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E019: +SubCE019: sty Zp01,x ; CPU:$E019 PRG:2019 94 01 ora ZpB2 ; CPU:$E01B PRG:201B 05 B2 sta Zp00,x ; CPU:$E01D PRG:201D 95 00 @@ -5937,7 +5937,7 @@ WaitVBlank_E023Loop: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitVBlank_E023_3: - jsr $E035 ; CPU:$E025 PRG:2025 20 35 E0 + jsr WaitPPUReady ; CPU:$E025 PRG:2025 20 35 E0 dex ; CPU:$E028 PRG:2028 CA bne WaitVBlank_E023_3 ; CPU:$E029 PRG:2029 D0 FA rts ; CPU:$E02B PRG:202B 60 @@ -5954,7 +5954,7 @@ WaitVBlank_E0232: lda #$00 ; CPU:$E02C PRG:202C A9 00 sta Zp02 ; CPU:$E02E PRG:202E 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E030 +; Routine: SubCE030 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5962,9 +5962,9 @@ WaitVBlank_E0232: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E030: +SubCE030: lda Zp02 ; CPU:$E030 PRG:2030 A5 02 - beq Label_E030 ; CPU:$E032 PRG:2032 F0 FC + beq SubCE030 ; CPU:$E032 PRG:2032 F0 FC rts ; CPU:$E034 PRG:2034 60 ; ----------------------------------------------------------------------------- ; Routine: WaitPPUReady @@ -5976,10 +5976,10 @@ Label_E030: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WaitPPUReady: - lda $2002 ; CPU:$E035 PRG:2035 AD 02 20 + lda PPUSTATUS ; CPU:$E035 PRG:2035 AD 02 20 bmi WaitPPUReady ; CPU:$E038 PRG:2038 30 FB ; ----------------------------------------------------------------------------- -; Routine: Label_E03A +; Routine: SubCE03A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5987,12 +5987,12 @@ WaitPPUReady: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E03A: - lda $2002 ; CPU:$E03A PRG:203A AD 02 20 - bpl Label_E03A ; CPU:$E03D PRG:203D 10 FB +SubCE03A: + lda PPUSTATUS ; CPU:$E03A PRG:203A AD 02 20 + bpl SubCE03A ; CPU:$E03D PRG:203D 10 FB lda #$00 ; CPU:$E03F PRG:203F A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E041 +; Routine: SubCE041 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6000,9 +6000,9 @@ Label_E03A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E041: +SubCE041: adc #$01 ; CPU:$E041 PRG:2041 69 01 - bne Label_E041 ; CPU:$E043 PRG:2043 D0 FC + bne SubCE041 ; CPU:$E043 PRG:2043 D0 FC rts ; CPU:$E045 PRG:2045 60 ; ----------------------------------------------------------------------------- ; Routine: WaitFrame @@ -6029,13 +6029,13 @@ WaitFrame: InitPPU: ldx ZpBE ; CPU:$E049 PRG:2049 A6 BE lda #$01 ; CPU:$E04B PRG:204B A9 01 - sta $4016 ; CPU:$E04D PRG:204D 8D 16 40 + sta JOY1 ; CPU:$E04D PRG:204D 8D 16 40 lda #$00 ; CPU:$E050 PRG:2050 A9 00 - sta $4016 ; CPU:$E052 PRG:2052 8D 16 40 + sta JOY1 ; CPU:$E052 PRG:2052 8D 16 40 sta ZpB6 ; CPU:$E055 PRG:2055 85 B6 ldy #$07 ; CPU:$E057 PRG:2057 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E059 +; Routine: SubCE059 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6043,19 +6043,19 @@ InitPPU: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E059: - lda $4016,x ; CPU:$E059 PRG:2059 BD 16 40 +SubCE059: + lda JOY1,x ; CPU:$E059 PRG:2059 BD 16 40 and #$01 ; CPU:$E05C PRG:205C 29 01 lsr a ; CPU:$E05E PRG:205E 4A rol ZpB6 ; CPU:$E05F PRG:205F 26 B6 dey ; CPU:$E061 PRG:2061 88 - bpl Label_E059 ; CPU:$E062 PRG:2062 10 F5 + bpl SubCE059 ; CPU:$E062 PRG:2062 10 F5 lda Zp04 ; CPU:$E064 PRG:2064 A5 04 - bne Label_E06B ; CPU:$E066 PRG:2066 D0 03 + bne SubCE06B ; CPU:$E066 PRG:2066 D0 03 lda ZpB6 ; CPU:$E068 PRG:2068 A5 B6 rts ; CPU:$E06A PRG:206A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E06B +; Routine: SubCE06B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6063,20 +6063,20 @@ Label_E059: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E06B: +SubCE06B: dec ZpB7 ; CPU:$E06B PRG:206B C6 B7 - bne Label_E092 ; CPU:$E06D PRG:206D D0 23 + bne SubCE092 ; CPU:$E06D PRG:206D D0 23 lda ZpBF ; CPU:$E06F PRG:206F A5 BF cmp #$02 ; CPU:$E071 PRG:2071 C9 02 - beq Label_E082 ; CPU:$E073 PRG:2073 F0 0D - jsr $DE30 ; CPU:$E075 PRG:2075 20 30 DE + beq SubCE082 ; CPU:$E073 PRG:2073 F0 0D + jsr UpdateSoundEngine ; CPU:$E075 PRG:2075 20 30 DE lda Zp09 ; CPU:$E078 PRG:2078 A5 09 cmp #$88 ; CPU:$E07A PRG:207A C9 88 - bcs Label_E082 ; CPU:$E07C PRG:207C B0 04 + bcs SubCE082 ; CPU:$E07C PRG:207C B0 04 lda #$00 ; CPU:$E07E PRG:207E A9 00 - beq Label_E087 ; CPU:$E080 PRG:2080 F0 05 + beq SubCE087 ; CPU:$E080 PRG:2080 F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E082 +; Routine: SubCE082 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6084,11 +6084,11 @@ Label_E06B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E082: - jsr $E3E2 ; CPU:$E082 PRG:2082 20 E2 E3 +SubCE082: + jsr UpdateGameMode ; CPU:$E082 PRG:2082 20 E2 E3 and #$83 ; CPU:$E085 PRG:2085 29 83 ; ----------------------------------------------------------------------------- -; Routine: Label_E087 +; Routine: SubCE087 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6096,14 +6096,14 @@ Label_E082: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E087: +SubCE087: sta ZpB8 ; CPU:$E087 PRG:2087 85 B8 - jsr $E3E2 ; CPU:$E089 PRG:2089 20 E2 E3 + jsr UpdateGameMode ; CPU:$E089 PRG:2089 20 E2 E3 and #$1F ; CPU:$E08C PRG:208C 29 1F sta ZpB7 ; CPU:$E08E PRG:208E 85 B7 inc ZpB7 ; CPU:$E090 PRG:2090 E6 B7 ; ----------------------------------------------------------------------------- -; Routine: Label_E092 +; Routine: SubCE092 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6111,7 +6111,7 @@ Label_E087: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E092: +SubCE092: lda ZpB6 ; CPU:$E092 PRG:2092 A5 B6 and #$30 ; CPU:$E094 PRG:2094 29 30 ora ZpB8 ; CPU:$E096 PRG:2096 05 B8 @@ -6129,7 +6129,7 @@ Label_E092: InitSprites: ldx #$00 ; CPU:$E09B PRG:209B A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E09D +; Routine: SubCE09D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6137,22 +6137,22 @@ InitSprites: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E09D: +SubCE09D: lda #$24 ; CPU:$E09D PRG:209D A9 24 sta $0400,x ; CPU:$E09F PRG:209F 9D 00 04 sta $0500,x ; CPU:$E0A2 PRG:20A2 9D 00 05 sta $0600,x ; CPU:$E0A5 PRG:20A5 9D 00 06 sta $06E0,x ; CPU:$E0A8 PRG:20A8 9D E0 06 dex ; CPU:$E0AB PRG:20AB CA - bne Label_E09D ; CPU:$E0AC PRG:20AC D0 EF + bne SubCE09D ; CPU:$E0AC PRG:20AC D0 EF ldx #$20 ; CPU:$E0AE PRG:20AE A2 20 lda #$00 ; CPU:$E0B0 PRG:20B0 A9 00 - jsr $E0EF ; CPU:$E0B2 PRG:20B2 20 EF E0 + jsr WritePPU ; CPU:$E0B2 PRG:20B2 20 EF E0 lda #$24 ; CPU:$E0B5 PRG:20B5 A9 24 ldy #$03 ; CPU:$E0B7 PRG:20B7 A0 03 ldx #$C0 ; CPU:$E0B9 PRG:20B9 A2 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0BB +; Routine: SubCE0BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6160,25 +6160,25 @@ Label_E09D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0BB: - sta $2007 ; CPU:$E0BB PRG:20BB 8D 07 20 +SubCE0BB: + sta PPUDATA ; CPU:$E0BB PRG:20BB 8D 07 20 dex ; CPU:$E0BE PRG:20BE CA - bne Label_E0BB ; CPU:$E0BF PRG:20BF D0 FA + bne SubCE0BB ; CPU:$E0BF PRG:20BF D0 FA dey ; CPU:$E0C1 PRG:20C1 88 - bpl Label_E0BB ; CPU:$E0C2 PRG:20C2 10 F7 + bpl SubCE0BB ; CPU:$E0C2 PRG:20C2 10 F7 lda Zp00 ; CPU:$E0C4 PRG:20C4 A5 00 ora #$04 ; CPU:$E0C6 PRG:20C6 09 04 - sta $2000 ; CPU:$E0C8 PRG:20C8 8D 00 20 + sta PPUCTRL ; CPU:$E0C8 PRG:20C8 8D 00 20 ldx #$20 ; CPU:$E0CB PRG:20CB A2 20 lda #$08 ; CPU:$E0CD PRG:20CD A9 08 ldy #$30 ; CPU:$E0CF PRG:20CF A0 30 - jsr $E0E3 ; CPU:$E0D1 PRG:20D1 20 E3 E0 + jsr DrawSprite ; CPU:$E0D1 PRG:20D1 20 E3 E0 ldx #$20 ; CPU:$E0D4 PRG:20D4 A2 20 lda #$1D ; CPU:$E0D6 PRG:20D6 A9 1D ldy #$49 ; CPU:$E0D8 PRG:20D8 A0 49 - jsr $E0E3 ; CPU:$E0DA PRG:20DA 20 E3 E0 + jsr DrawSprite ; CPU:$E0DA PRG:20DA 20 E3 E0 lda Zp00 ; CPU:$E0DD PRG:20DD A5 00 - sta $2000 ; CPU:$E0DF PRG:20DF 8D 00 20 + sta PPUCTRL ; CPU:$E0DF PRG:20DF 8D 00 20 rts ; CPU:$E0E2 PRG:20E2 60 ; ----------------------------------------------------------------------------- ; Routine: DrawSprite @@ -6190,10 +6190,10 @@ Label_E0BB: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- DrawSprite: - jsr $E0EF ; CPU:$E0E3 PRG:20E3 20 EF E0 + jsr WritePPU ; CPU:$E0E3 PRG:20E3 20 EF E0 ldx #$1E ; CPU:$E0E6 PRG:20E6 A2 1E ; ----------------------------------------------------------------------------- -; Routine: Label_E0E8 +; Routine: SubCE0E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6201,10 +6201,10 @@ DrawSprite: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E8: - sty $2007 ; CPU:$E0E8 PRG:20E8 8C 07 20 +SubCE0E8: + sty PPUDATA ; CPU:$E0E8 PRG:20E8 8C 07 20 dex ; CPU:$E0EB PRG:20EB CA - bne Label_E0E8 ; CPU:$E0EC PRG:20EC D0 FA + bne SubCE0E8 ; CPU:$E0EC PRG:20EC D0 FA rts ; CPU:$E0EE PRG:20EE 60 ; ----------------------------------------------------------------------------- ; Routine: WritePPU @@ -6216,8 +6216,8 @@ Label_E0E8: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WritePPU: - stx $2006 ; CPU:$E0EF PRG:20EF 8E 06 20 - sta $2006 ; CPU:$E0F2 PRG:20F2 8D 06 20 + stx PPUADDR ; CPU:$E0EF PRG:20EF 8E 06 20 + sta PPUADDR ; CPU:$E0F2 PRG:20F2 8D 06 20 rts ; CPU:$E0F5 PRG:20F5 60 ; ----------------------------------------------------------------------------- ; Routine: WritePPU2 @@ -6229,8 +6229,8 @@ WritePPU: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- WritePPU2: - jsr $E0EF ; CPU:$E0F6 PRG:20F6 20 EF E0 - sty $2007 ; CPU:$E0F9 PRG:20F9 8C 07 20 + jsr WritePPU ; CPU:$E0F6 PRG:20F6 20 EF E0 + sty PPUDATA ; CPU:$E0F9 PRG:20F9 8C 07 20 rts ; CPU:$E0FC PRG:20FC 60 ; ----------------------------------------------------------------------------- ; Routine: InitGame @@ -6242,9 +6242,9 @@ WritePPU2: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- InitGame: - jsr $E2A6 ; CPU:$E0FD PRG:20FD 20 A6 E2 - jsr $E28A ; CPU:$E100 PRG:2100 20 8A E2 - jsr $E403 ; CPU:$E103 PRG:2103 20 03 E4 + jsr UpdateBallPhysics ; CPU:$E0FD PRG:20FD 20 A6 E2 + jsr InitSound ; CPU:$E100 PRG:2100 20 8A E2 + jsr CheckGameState ; CPU:$E103 PRG:2103 20 03 E4 lda ZpBF ; CPU:$E106 PRG:2106 A5 BF asl a ; CPU:$E108 PRG:2108 0A tax ; CPU:$E109 PRG:2109 AA @@ -6268,7 +6268,7 @@ InitGame: lda #$04 ; CPU:$E132 PRG:2132 A9 04 sta ZpDC ; CPU:$E134 PRG:2134 85 DC ; ----------------------------------------------------------------------------- -; Routine: Label_E136 +; Routine: SubCE136 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6276,7 +6276,7 @@ InitGame: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E136: +SubCE136: lda #$30 ; CPU:$E136 PRG:2136 A9 30 sta (ZpDB),y ; CPU:$E138 PRG:2138 91 DB inc ZpDB ; CPU:$E13A PRG:213A E6 DB @@ -6287,9 +6287,9 @@ Label_E136: adc #$1C ; CPU:$E143 PRG:2143 69 1C tax ; CPU:$E145 PRG:2145 AA lda ZpDB ; CPU:$E146 PRG:2146 A5 DB - jsr $E0EF ; CPU:$E148 PRG:2148 20 EF E0 + jsr WritePPU ; CPU:$E148 PRG:2148 20 EF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E14B +; Routine: SubCE14B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6297,16 +6297,16 @@ Label_E136: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E14B: +SubCE14B: lda (ZpDD),y ; CPU:$E14B PRG:214B B1 DD cmp #$15 ; CPU:$E14D PRG:214D C9 15 - bcs Label_E170 ; CPU:$E14F PRG:214F B0 1F + bcs SubCE170 ; CPU:$E14F PRG:214F B0 1F sta ZpE3 ; CPU:$E151 PRG:2151 85 E3 inc ZpDD ; CPU:$E153 PRG:2153 E6 DD - bne Label_E159 ; CPU:$E155 PRG:2155 D0 02 + bne SubCE159 ; CPU:$E155 PRG:2155 D0 02 inc ZpDE ; CPU:$E157 PRG:2157 E6 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E159 +; Routine: SubCE159 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6314,10 +6314,10 @@ Label_E14B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E159: +SubCE159: lda (ZpDD),y ; CPU:$E159 PRG:2159 B1 DD ; ----------------------------------------------------------------------------- -; Routine: Label_E15B +; Routine: SubCE15B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6325,14 +6325,14 @@ Label_E159: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E15B: - sta $2007 ; CPU:$E15B PRG:215B 8D 07 20 +SubCE15B: + sta PPUDATA ; CPU:$E15B PRG:215B 8D 07 20 sta (ZpDB),y ; CPU:$E15E PRG:215E 91 DB inc ZpDB ; CPU:$E160 PRG:2160 E6 DB - bne Label_E166 ; CPU:$E162 PRG:2162 D0 02 + bne SubCE166 ; CPU:$E162 PRG:2162 D0 02 inc ZpDC ; CPU:$E164 PRG:2164 E6 DC ; ----------------------------------------------------------------------------- -; Routine: Label_E166 +; Routine: SubCE166 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6340,14 +6340,14 @@ Label_E15B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E166: +SubCE166: dec ZpE6 ; CPU:$E166 PRG:2166 C6 E6 dec ZpE3 ; CPU:$E168 PRG:2168 C6 E3 - bne Label_E15B ; CPU:$E16A PRG:216A D0 EF + bne SubCE15B ; CPU:$E16A PRG:216A D0 EF inc ZpE6 ; CPU:$E16C PRG:216C E6 E6 - bne Label_E17B ; CPU:$E16E PRG:216E D0 0B + bne SubCE17B ; CPU:$E16E PRG:216E D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E170 +; Routine: SubCE170 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6355,14 +6355,14 @@ Label_E166: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E170: - sta $2007 ; CPU:$E170 PRG:2170 8D 07 20 +SubCE170: + sta PPUDATA ; CPU:$E170 PRG:2170 8D 07 20 sta (ZpDB),y ; CPU:$E173 PRG:2173 91 DB inc ZpDB ; CPU:$E175 PRG:2175 E6 DB - bne Label_E17B ; CPU:$E177 PRG:2177 D0 02 + bne SubCE17B ; CPU:$E177 PRG:2177 D0 02 inc ZpDC ; CPU:$E179 PRG:2179 E6 DC ; ----------------------------------------------------------------------------- -; Routine: Label_E17B +; Routine: SubCE17B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6370,12 +6370,12 @@ Label_E170: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E17B: +SubCE17B: inc ZpDD ; CPU:$E17B PRG:217B E6 DD - bne Label_E181 ; CPU:$E17D PRG:217D D0 02 + bne SubCE181 ; CPU:$E17D PRG:217D D0 02 inc ZpDE ; CPU:$E17F PRG:217F E6 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E181 +; Routine: SubCE181 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6383,19 +6383,19 @@ Label_E17B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E181: +SubCE181: dec ZpE6 ; CPU:$E181 PRG:2181 C6 E6 - bne Label_E14B ; CPU:$E183 PRG:2183 D0 C6 + bne SubCE14B ; CPU:$E183 PRG:2183 D0 C6 lda #$49 ; CPU:$E185 PRG:2185 A9 49 sta (ZpDB),y ; CPU:$E187 PRG:2187 91 DB lda ZpDB ; CPU:$E189 PRG:2189 A5 DB clc ; CPU:$E18B PRG:218B 18 adc #$0B ; CPU:$E18C PRG:218C 69 0B sta ZpDB ; CPU:$E18E PRG:218E 85 DB - bcc Label_E194 ; CPU:$E190 PRG:2190 90 02 + bcc SubCE194 ; CPU:$E190 PRG:2190 90 02 inc ZpDC ; CPU:$E192 PRG:2192 E6 DC ; ----------------------------------------------------------------------------- -; Routine: Label_E194 +; Routine: SubCE194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6403,14 +6403,14 @@ Label_E181: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E194: +SubCE194: dec ZpE7 ; CPU:$E194 PRG:2194 C6 E7 - bne Label_E136 ; CPU:$E196 PRG:2196 D0 9E + bne SubCE136 ; CPU:$E196 PRG:2196 D0 9E ldx #$23 ; CPU:$E198 PRG:2198 A2 23 lda #$C0 ; CPU:$E19A PRG:219A A9 C0 - jsr $E0EF ; CPU:$E19C PRG:219C 20 EF E0 + jsr WritePPU ; CPU:$E19C PRG:219C 20 EF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E19F +; Routine: SubCE19F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6418,26 +6418,26 @@ Label_E194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E19F: +SubCE19F: lda (ZpDF),y ; CPU:$E19F PRG:219F B1 DF - sta $2007 ; CPU:$E1A1 PRG:21A1 8D 07 20 + sta PPUDATA ; CPU:$E1A1 PRG:21A1 8D 07 20 iny ; CPU:$E1A4 PRG:21A4 C8 cpy #$40 ; CPU:$E1A5 PRG:21A5 C0 40 - bne Label_E19F ; CPU:$E1A7 PRG:21A7 D0 F6 + bne SubCE19F ; CPU:$E1A7 PRG:21A7 D0 F6 ldy #$1F ; CPU:$E1A9 PRG:21A9 A0 1F - jsr $E293 ; CPU:$E1AB PRG:21AB 20 93 E2 + jsr InitSprites2 ; CPU:$E1AB PRG:21AB 20 93 E2 lda #$FF ; CPU:$E1AE PRG:21AE A9 FF sta ZpC4 ; CPU:$E1B0 PRG:21B0 85 C4 sta ZpC5 ; CPU:$E1B2 PRG:21B2 85 C5 lda ZpBF ; CPU:$E1B4 PRG:21B4 A5 BF cmp #$02 ; CPU:$E1B6 PRG:21B6 C9 02 - bne Label_E1CC ; CPU:$E1B8 PRG:21B8 D0 12 + bne SubCE1CC ; CPU:$E1B8 PRG:21B8 D0 12 ldx #$20 ; CPU:$E1BA PRG:21BA A2 20 lda #$4D ; CPU:$E1BC PRG:21BC A9 4D - jsr $E0EF ; CPU:$E1BE PRG:21BE 20 EF E0 + jsr WritePPU ; CPU:$E1BE PRG:21BE 20 EF E0 ldx #$0B ; CPU:$E1C1 PRG:21C1 A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E1C3 +; Routine: SubCE1C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6445,13 +6445,13 @@ Label_E19F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C3: +SubCE1C3: lda $E2B8,x ; CPU:$E1C3 PRG:21C3 BD B8 E2 - sta $2007 ; CPU:$E1C6 PRG:21C6 8D 07 20 + sta PPUDATA ; CPU:$E1C6 PRG:21C6 8D 07 20 dex ; CPU:$E1C9 PRG:21C9 CA - bpl Label_E1C3 ; CPU:$E1CA PRG:21CA 10 F7 + bpl SubCE1C3 ; CPU:$E1CA PRG:21CA 10 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_E1CC +; Routine: SubCE1CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6459,7 +6459,7 @@ Label_E1C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1CC: +SubCE1CC: lda ZpBF ; CPU:$E1CC PRG:21CC A5 BF asl a ; CPU:$E1CE PRG:21CE 0A tax ; CPU:$E1CF PRG:21CF AA @@ -6474,7 +6474,7 @@ Label_E1CC: ldx #$64 ; CPU:$E1E4 PRG:21E4 A2 64 ldy #$00 ; CPU:$E1E6 PRG:21E6 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E1E8 +; Routine: SubCE1E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6482,17 +6482,17 @@ Label_E1CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1E8: +SubCE1E8: lda (ZpDB),y ; CPU:$E1E8 PRG:21E8 B1 DB cmp #$FE ; CPU:$E1EA PRG:21EA C9 FE - beq Label_E1F7 ; CPU:$E1EC PRG:21EC F0 09 + beq SubCE1F7 ; CPU:$E1EC PRG:21EC F0 09 sta $0200,x ; CPU:$E1EE PRG:21EE 9D 00 02 iny ; CPU:$E1F1 PRG:21F1 C8 inx ; CPU:$E1F2 PRG:21F2 E8 cpx #$2C ; CPU:$E1F3 PRG:21F3 E0 2C - bne Label_E1E8 ; CPU:$E1F5 PRG:21F5 D0 F1 + bne SubCE1E8 ; CPU:$E1F5 PRG:21F5 D0 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F7 +; Routine: SubCE1F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6500,14 +6500,14 @@ Label_E1E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F7: - jsr $F03F ; CPU:$E1F7 PRG:21F7 20 3F F0 +SubCE1F7: + jsr UpdateMusicChannel21 ; CPU:$E1F7 PRG:21F7 20 3F F0 lda ZpBF ; CPU:$E1FA PRG:21FA A5 BF cmp #$01 ; CPU:$E1FC PRG:21FC C9 01 - bne Label_E21E ; CPU:$E1FE PRG:21FE D0 1E + bne SubCE21E ; CPU:$E1FE PRG:21FE D0 1E ldx #$04 ; CPU:$E200 PRG:2200 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E202 +; Routine: SubCE202 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6515,13 +6515,13 @@ Label_E1F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E202: +SubCE202: lda $0128 ; CPU:$E202 PRG:2202 AD 28 01 and $D7DD,x ; CPU:$E205 PRG:2205 3D DD D7 - beq Label_E20D ; CPU:$E208 PRG:2208 F0 03 - jsr $EF79 ; CPU:$E20A PRG:220A 20 79 EF + beq SubCE20D ; CPU:$E208 PRG:2208 F0 03 + jsr UpdateMusicChannel18 ; CPU:$E20A PRG:220A 20 79 EF ; ----------------------------------------------------------------------------- -; Routine: Label_E20D +; Routine: SubCE20D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6529,16 +6529,16 @@ Label_E202: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E20D: +SubCE20D: dex ; CPU:$E20D PRG:220D CA - bpl Label_E202 ; CPU:$E20E PRG:220E 10 F2 + bpl SubCE202 ; CPU:$E20E PRG:220E 10 F2 lda $012B ; CPU:$E210 PRG:2210 AD 2B 01 sta $012C ; CPU:$E213 PRG:2213 8D 2C 01 - jsr $F1FB ; CPU:$E216 PRG:2216 20 FB F1 + jsr UpdateMusicChannel28 ; CPU:$E216 PRG:2216 20 FB F1 lda $0133 ; CPU:$E219 PRG:2219 AD 33 01 sta ZpF0 ; CPU:$E21C PRG:221C 85 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E21E +; Routine: SubCE21E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6546,16 +6546,16 @@ Label_E20D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E21E: +SubCE21E: lda ZpBF ; CPU:$E21E PRG:221E A5 BF - bne Label_E22D ; CPU:$E220 PRG:2220 D0 0B - jsr $F0E7 ; CPU:$E222 PRG:2222 20 E7 F0 + bne SubCE22D ; CPU:$E220 PRG:2220 D0 0B + jsr UpdateMusicChannel25 ; CPU:$E222 PRG:2222 20 E7 F0 lda ZpCF ; CPU:$E225 PRG:2225 A5 CF and #$7F ; CPU:$E227 PRG:2227 29 7F tay ; CPU:$E229 PRG:2229 A8 - jsr $F0C4 ; CPU:$E22A PRG:222A 20 C4 F0 + jsr UpdateMusicChannel23 ; CPU:$E22A PRG:222A 20 C4 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E22D +; Routine: SubCE22D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6563,13 +6563,13 @@ Label_E21E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E22D: +SubCE22D: lda ZpBF ; CPU:$E22D PRG:222D A5 BF cmp #$02 ; CPU:$E22F PRG:222F C9 02 - bne Label_E236 ; CPU:$E231 PRG:2231 D0 03 - jsr $EA2F ; CPU:$E233 PRG:2233 20 2F EA + bne SubCE236 ; CPU:$E231 PRG:2231 D0 03 + jsr UpdateSoundChannels ; CPU:$E233 PRG:2233 20 2F EA ; ----------------------------------------------------------------------------- -; Routine: Label_E236 +; Routine: SubCE236 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6577,11 +6577,11 @@ Label_E22D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E236: +SubCE236: ldy #$00 ; CPU:$E236 PRG:2236 A0 00 sty $014B ; CPU:$E238 PRG:2238 8C 4B 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E23B +; Routine: SubCE23B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6589,9 +6589,9 @@ Label_E236: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E23B: +SubCE23B: lda (ZpDD),y ; CPU:$E23B PRG:223B B1 DD - beq Label_E25D ; CPU:$E23D PRG:223D F0 1E + beq SubCE25D ; CPU:$E23D PRG:223D F0 1E sta ZpE3 ; CPU:$E23F PRG:223F 85 E3 iny ; CPU:$E241 PRG:2241 C8 lda (ZpDD),y ; CPU:$E242 PRG:2242 B1 DD @@ -6604,7 +6604,7 @@ Label_E23B: lda #$24 ; CPU:$E24E PRG:224E A9 24 ldy #$00 ; CPU:$E250 PRG:2250 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E252 +; Routine: SubCE252 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6612,15 +6612,15 @@ Label_E23B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E252: +SubCE252: sta (ZpDF),y ; CPU:$E252 PRG:2252 91 DF iny ; CPU:$E254 PRG:2254 C8 cpy ZpE3 ; CPU:$E255 PRG:2255 C4 E3 - bne Label_E252 ; CPU:$E257 PRG:2257 D0 F9 + bne SubCE252 ; CPU:$E257 PRG:2257 D0 F9 ldy ZpE4 ; CPU:$E259 PRG:2259 A4 E4 - bne Label_E23B ; CPU:$E25B PRG:225B D0 DE + bne SubCE23B ; CPU:$E25B PRG:225B D0 DE ; ----------------------------------------------------------------------------- -; Routine: Label_E25D +; Routine: SubCE25D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6628,7 +6628,7 @@ Label_E252: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E25D: +SubCE25D: iny ; CPU:$E25D PRG:225D C8 lda (ZpDD),y ; CPU:$E25E PRG:225E B1 DD cmp #$FF ; CPU:$E260 PRG:2260 C9 FF @@ -6643,7 +6643,7 @@ Label_E25D: ldx #$00 ; CPU:$E270 PRG:2270 A2 00 lda ZpE3 ; CPU:$E272 PRG:2272 A5 E3 sta (ZpDF,x) ; CPU:$E274 PRG:2274 81 DF - bne Label_E25D ; CPU:$E276 PRG:2276 D0 E5 + bne SubCE25D ; CPU:$E276 PRG:2276 D0 E5 ; ----------------------------------------------------------------------------- ; Routine: UpdateBallTrajectory_E278_3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -6658,9 +6658,9 @@ UpdateBallTrajectory_E278_3: lda Zp00 ; CPU:$E27B PRG:227B A5 00 ora #$80 ; CPU:$E27D PRG:227D 09 80 sta Zp00 ; CPU:$E27F PRG:227F 85 00 - sta $2000 ; CPU:$E281 PRG:2281 8D 00 20 + sta PPUCTRL ; CPU:$E281 PRG:2281 8D 00 20 ; ----------------------------------------------------------------------------- -; Routine: Label_E284 +; Routine: SubCE284 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6668,9 +6668,9 @@ UpdateBallTrajectory_E278_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E284: +SubCE284: lda $0153 ; CPU:$E284 PRG:2284 AD 53 01 - bne Label_E284 ; CPU:$E287 PRG:2287 D0 FB + bne SubCE284 ; CPU:$E287 PRG:2287 D0 FB rts ; CPU:$E289 PRG:2289 60 ; ----------------------------------------------------------------------------- ; Routine: InitSound @@ -6696,12 +6696,12 @@ InitSound: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- InitSprites2: - jsr $E035 ; CPU:$E293 PRG:2293 20 35 E0 + jsr WaitPPUReady ; CPU:$E293 PRG:2293 20 35 E0 ldx #$3F ; CPU:$E296 PRG:2296 A2 3F lda #$00 ; CPU:$E298 PRG:2298 A9 00 - jsr $E0EF ; CPU:$E29A PRG:229A 20 EF E0 + jsr WritePPU ; CPU:$E29A PRG:229A 20 EF E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E29D +; Routine: SubCE29D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6709,11 +6709,11 @@ InitSprites2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29D: +SubCE29D: lda (ZpE1),y ; CPU:$E29D PRG:229D B1 E1 - sta $2007 ; CPU:$E29F PRG:229F 8D 07 20 + sta PPUDATA ; CPU:$E29F PRG:229F 8D 07 20 dey ; CPU:$E2A2 PRG:22A2 88 - bpl Label_E29D ; CPU:$E2A3 PRG:22A3 10 F8 + bpl SubCE29D ; CPU:$E2A3 PRG:22A3 10 F8 rts ; CPU:$E2A5 PRG:22A5 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateBallPhysics @@ -6725,13 +6725,13 @@ Label_E29D: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateBallPhysics: - jsr $E035 ; CPU:$E2A6 PRG:22A6 20 35 E0 + jsr WaitPPUReady ; CPU:$E2A6 PRG:22A6 20 35 E0 lda #$00 ; CPU:$E2A9 PRG:22A9 A9 00 - sta $2001 ; CPU:$E2AB PRG:22AB 8D 01 20 + sta PPUMASK ; CPU:$E2AB PRG:22AB 8D 01 20 lda Zp00 ; CPU:$E2AE PRG:22AE A5 00 and #$7F ; CPU:$E2B0 PRG:22B0 29 7F sta Zp00 ; CPU:$E2B2 PRG:22B2 85 00 - sta $2000 ; CPU:$E2B4 PRG:22B4 8D 00 20 + sta PPUCTRL ; CPU:$E2B4 PRG:22B4 8D 00 20 rts ; CPU:$E2B7 PRG:22B7 60 ; ---- data $E2B8-$E3E1 (298 bytes) ---- ; referenced by `lda $E3B2,x` at $C223 (operand $E3B2 falls inside this region) @@ -6774,7 +6774,7 @@ UpdateGameMode: pha ; CPU:$E3E3 PRG:23E3 48 ldx #$0B ; CPU:$E3E4 PRG:23E4 A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E3E6 +; Routine: SubCE3E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6782,7 +6782,7 @@ UpdateGameMode: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3E6: +SubCE3E6: asl ZpBA ; CPU:$E3E6 PRG:23E6 06 BA rol ZpBB ; CPU:$E3E8 PRG:23E8 26 BB rol a ; CPU:$E3EA PRG:23EA 2A @@ -6797,7 +6797,7 @@ Label_E3E6: ora ZpBA ; CPU:$E3F7 PRG:23F7 05 BA sta ZpBA ; CPU:$E3F9 PRG:23F9 85 BA dex ; CPU:$E3FB PRG:23FB CA - bne Label_E3E6 ; CPU:$E3FC PRG:23FC D0 E8 + bne SubCE3E6 ; CPU:$E3FC PRG:23FC D0 E8 pla ; CPU:$E3FE PRG:23FE 68 tax ; CPU:$E3FF PRG:23FF AA lda ZpBA ; CPU:$E400 PRG:2400 A5 BA @@ -6815,7 +6815,7 @@ CheckGameState: ldx #$00 ; CPU:$E403 PRG:2403 A2 00 lda #$F0 ; CPU:$E405 PRG:2405 A9 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E407 +; Routine: SubCE407 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6823,10 +6823,10 @@ CheckGameState: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E407: +SubCE407: sta $0200,x ; CPU:$E407 PRG:2407 9D 00 02 dex ; CPU:$E40A PRG:240A CA - bne Label_E407 ; CPU:$E40B PRG:240B D0 FA + bne SubCE407 ; CPU:$E40B PRG:240B D0 FA rts ; CPU:$E40D PRG:240D 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateDisplay @@ -6840,7 +6840,7 @@ Label_E407: UpdateDisplay: ldx Zp1B ; CPU:$E40E PRG:240E A6 1B lda $E482,x ; CPU:$E410 PRG:2410 BD 82 E4 - beq Label_E45B ; CPU:$E413 PRG:2413 F0 46 + beq SubCE45B ; CPU:$E413 PRG:2413 F0 46 ldy $E487,x ; CPU:$E415 PRG:2415 BC 87 E4 sty $022D ; CPU:$E418 PRG:2418 8C 2D 02 iny ; CPU:$E41B PRG:241B C8 @@ -6872,7 +6872,7 @@ UpdateDisplay: sta $023A ; CPU:$E457 PRG:2457 8D 3A 02 rts ; CPU:$E45A PRG:245A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E45B +; Routine: SubCE45B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6880,7 +6880,7 @@ UpdateDisplay: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E45B: +SubCE45B: lda $E487,x ; CPU:$E45B PRG:245B BD 87 E4 sta $022D ; CPU:$E45E PRG:245E 8D 2D 02 lda Zp16 ; CPU:$E461 PRG:2461 A5 16 @@ -6916,7 +6916,7 @@ UpdateSprites_C34B3: ldx #$0C ; CPU:$E48C PRG:248C A2 0C lda #$F0 ; CPU:$E48E PRG:248E A9 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E490 +; Routine: SubCE490 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6924,10 +6924,10 @@ UpdateSprites_C34B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E490: +SubCE490: sta $022C,x ; CPU:$E490 PRG:2490 9D 2C 02 dex ; CPU:$E493 PRG:2493 CA - bpl Label_E490 ; CPU:$E494 PRG:2494 10 FA + bpl SubCE490 ; CPU:$E494 PRG:2494 10 FA rts ; CPU:$E496 PRG:2496 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateDisplay3 @@ -6980,7 +6980,7 @@ UpdateDisplay3: ldy $E5B3,x ; CPU:$E4F1 PRG:24F1 BC B3 E5 ldx #$10 ; CPU:$E4F4 PRG:24F4 A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F6 +; Routine: SubCE4F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6988,7 +6988,7 @@ UpdateDisplay3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F6: +SubCE4F6: tya ; CPU:$E4F6 PRG:24F6 98 sta $023D,x ; CPU:$E4F7 PRG:24F7 9D 3D 02 dey ; CPU:$E4FA PRG:24FA 88 @@ -6998,7 +6998,7 @@ Label_E4F6: dex ; CPU:$E501 PRG:2501 CA dex ; CPU:$E502 PRG:2502 CA dex ; CPU:$E503 PRG:2503 CA - bpl Label_E4F6 ; CPU:$E504 PRG:2504 10 F0 + bpl SubCE4F6 ; CPU:$E504 PRG:2504 10 F0 ; ----------------------------------------------------------------------------- ; Routine: PlaySound ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -7014,7 +7014,7 @@ PlaySound: lsr a ; CPU:$E509 PRG:2509 4A lsr a ; CPU:$E50A PRG:250A 4A cmp ZpC5 ; CPU:$E50B PRG:250B C5 C5 - beq Label_E575 ; CPU:$E50D PRG:250D F0 66 + beq SubCE575 ; CPU:$E50D PRG:250D F0 66 sta ZpC5 ; CPU:$E50F PRG:250F 85 C5 tax ; CPU:$E511 PRG:2511 AA inc ZpC6 ; CPU:$E512 PRG:2512 E6 C6 @@ -7050,7 +7050,7 @@ PlaySound: ldy $E5B3,x ; CPU:$E560 PRG:2560 BC B3 E5 ldx #$10 ; CPU:$E563 PRG:2563 A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E565 +; Routine: SubCE565 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7058,7 +7058,7 @@ PlaySound: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E565: +SubCE565: tya ; CPU:$E565 PRG:2565 98 sta $0251,x ; CPU:$E566 PRG:2566 9D 51 02 dey ; CPU:$E569 PRG:2569 88 @@ -7068,9 +7068,9 @@ Label_E565: dex ; CPU:$E570 PRG:2570 CA dex ; CPU:$E571 PRG:2571 CA dex ; CPU:$E572 PRG:2572 CA - bpl Label_E565 ; CPU:$E573 PRG:2573 10 F0 + bpl SubCE565 ; CPU:$E573 PRG:2573 10 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E575 +; Routine: SubCE575 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7078,7 +7078,7 @@ Label_E565: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E575: +SubCE575: rts ; CPU:$E575 PRG:2575 60 ; ---- data $E576-$E5B5 (64 bytes) ---- ; referenced by `lda $E590,x` at $E4B1 (operand $E590 falls inside this region) @@ -7093,7 +7093,7 @@ Label_E575: .byte $80, $FF, $78, $A8, $98, $98, $A0, $A8, $A8, $98, $FF, $A0, $08, $00, $BF, $BF ; CPU:$E596 PRG:2596 80 FF 78 A8 98 98 A0 A8 A8 98 FF A0 08 00 BF BF .byte $B7, $C3, $BF, $B7, $C7, $BF, $B5, $CB, $C7, $BF, $CB, $F0, $BF, $C4, $C9, $CD ; CPU:$E5A6 PRG:25A6 B7 C3 BF B7 C7 BF B5 CB C7 BF CB F0 BF C4 C9 CD ; ----------------------------------------------------------------------------- -; Routine: Label_E5B6 +; Routine: SubCE5B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7101,40 +7101,40 @@ Label_E575: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5B6: +SubCE5B6: lda ZpC6 ; CPU:$E5B6 PRG:25B6 A5 C6 - beq Label_E608 ; CPU:$E5B8 PRG:25B8 F0 4E + beq SubCE608 ; CPU:$E5B8 PRG:25B8 F0 4E lda #$00 ; CPU:$E5BA PRG:25BA A9 00 sta ZpC6 ; CPU:$E5BC PRG:25BC 85 C6 lda Zp00 ; CPU:$E5BE PRG:25BE A5 00 ora #$04 ; CPU:$E5C0 PRG:25C0 09 04 - sta $2000 ; CPU:$E5C2 PRG:25C2 8D 00 20 + sta PPUCTRL ; CPU:$E5C2 PRG:25C2 8D 00 20 ldy ZpBF ; CPU:$E5C5 PRG:25C5 A4 BF ldx $E576,y ; CPU:$E5C7 PRG:25C7 BE 76 E5 lda $E578,y ; CPU:$E5CA PRG:25CA B9 78 E5 - jsr $E0EF ; CPU:$E5CD PRG:25CD 20 EF E0 + jsr WritePPU ; CPU:$E5CD PRG:25CD 20 EF E0 ldx ZpC4 ; CPU:$E5D0 PRG:25D0 A6 C4 lda $E57E,x ; CPU:$E5D2 PRG:25D2 BD 7E E5 - sta $2007 ; CPU:$E5D5 PRG:25D5 8D 07 20 + sta PPUDATA ; CPU:$E5D5 PRG:25D5 8D 07 20 lda $E581,x ; CPU:$E5D8 PRG:25D8 BD 81 E5 - sta $2007 ; CPU:$E5DB PRG:25DB 8D 07 20 + sta PPUDATA ; CPU:$E5DB PRG:25DB 8D 07 20 lda $E584,x ; CPU:$E5DE PRG:25DE BD 84 E5 - sta $2007 ; CPU:$E5E1 PRG:25E1 8D 07 20 + sta PPUDATA ; CPU:$E5E1 PRG:25E1 8D 07 20 ldy ZpBF ; CPU:$E5E4 PRG:25E4 A4 BF ldx $E57A,y ; CPU:$E5E6 PRG:25E6 BE 7A E5 lda $E57C,y ; CPU:$E5E9 PRG:25E9 B9 7C E5 - jsr $E0EF ; CPU:$E5EC PRG:25EC 20 EF E0 + jsr WritePPU ; CPU:$E5EC PRG:25EC 20 EF E0 ldx ZpC5 ; CPU:$E5EF PRG:25EF A6 C5 lda $E587,x ; CPU:$E5F1 PRG:25F1 BD 87 E5 - sta $2007 ; CPU:$E5F4 PRG:25F4 8D 07 20 + sta PPUDATA ; CPU:$E5F4 PRG:25F4 8D 07 20 lda $E58A,x ; CPU:$E5F7 PRG:25F7 BD 8A E5 - sta $2007 ; CPU:$E5FA PRG:25FA 8D 07 20 + sta PPUDATA ; CPU:$E5FA PRG:25FA 8D 07 20 lda $E58D,x ; CPU:$E5FD PRG:25FD BD 8D E5 - sta $2007 ; CPU:$E600 PRG:2600 8D 07 20 + sta PPUDATA ; CPU:$E600 PRG:2600 8D 07 20 lda Zp00 ; CPU:$E603 PRG:2603 A5 00 - sta $2000 ; CPU:$E605 PRG:2605 8D 00 20 + sta PPUCTRL ; CPU:$E605 PRG:2605 8D 00 20 ; ----------------------------------------------------------------------------- -; Routine: Label_E608 +; Routine: SubCE608 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7142,7 +7142,7 @@ Label_E5B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E608: +SubCE608: rts ; CPU:$E608 PRG:2608 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicEngine @@ -7155,13 +7155,13 @@ Label_E608: ; ----------------------------------------------------------------------------- UpdateMusicEngine: lda ZpC0 ; CPU:$E609 PRG:2609 A5 C0 - beq Label_E615 ; CPU:$E60B PRG:260B F0 08 + beq SubCE615 ; CPU:$E60B PRG:260B F0 08 cmp #$17 ; CPU:$E60D PRG:260D C9 17 - beq Label_E615 ; CPU:$E60F PRG:260F F0 04 + beq SubCE615 ; CPU:$E60F PRG:260F F0 04 cmp #$0F ; CPU:$E611 PRG:2611 C9 0F - bne Label_E645 ; CPU:$E613 PRG:2613 D0 30 + bne SubCE645 ; CPU:$E613 PRG:2613 D0 30 ; ----------------------------------------------------------------------------- -; Routine: Label_E615 +; Routine: SubCE615 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7169,22 +7169,22 @@ UpdateMusicEngine: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E615: +SubCE615: lda #$00 ; CPU:$E615 PRG:2615 A9 00 sta ZpC2 ; CPU:$E617 PRG:2617 85 C2 lda ZpB6 ; CPU:$E619 PRG:2619 A5 B6 and #$0F ; CPU:$E61B PRG:261B 29 0F - beq Label_E639 ; CPU:$E61D PRG:261D F0 1A + beq SubCE639 ; CPU:$E61D PRG:261D F0 1A inc ZpC2 ; CPU:$E61F PRG:261F E6 C2 inc ZpC0 ; CPU:$E621 PRG:2621 E6 C0 lda ZpC0 ; CPU:$E623 PRG:2623 A5 C0 cmp #$01 ; CPU:$E625 PRG:2625 C9 01 - bne Label_E62F ; CPU:$E627 PRG:2627 D0 06 + bne SubCE62F ; CPU:$E627 PRG:2627 D0 06 lda #$20 ; CPU:$E629 PRG:2629 A9 20 sta ZpFF ; CPU:$E62B PRG:262B 85 FF - bne Label_E64C ; CPU:$E62D PRG:262D D0 1D + bne SubCE64C ; CPU:$E62D PRG:262D D0 1D ; ----------------------------------------------------------------------------- -; Routine: Label_E62F +; Routine: SubCE62F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7192,14 +7192,14 @@ Label_E615: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E62F: +SubCE62F: cmp #$18 ; CPU:$E62F PRG:262F C9 18 - bcc Label_E64C ; CPU:$E631 PRG:2631 90 19 + bcc SubCE64C ; CPU:$E631 PRG:2631 90 19 dec ZpC0 ; CPU:$E633 PRG:2633 C6 C0 dec ZpC2 ; CPU:$E635 PRG:2635 C6 C2 - beq Label_E64C ; CPU:$E637 PRG:2637 F0 13 + beq SubCE64C ; CPU:$E637 PRG:2637 F0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_E639 +; Routine: SubCE639 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7207,15 +7207,15 @@ Label_E62F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E639: +SubCE639: dec ZpC2 ; CPU:$E639 PRG:2639 C6 C2 dec ZpC0 ; CPU:$E63B PRG:263B C6 C0 - bpl Label_E64C ; CPU:$E63D PRG:263D 10 0D + bpl SubCE64C ; CPU:$E63D PRG:263D 10 0D inc ZpC0 ; CPU:$E63F PRG:263F E6 C0 inc ZpC2 ; CPU:$E641 PRG:2641 E6 C2 - beq Label_E64C ; CPU:$E643 PRG:2643 F0 07 + beq SubCE64C ; CPU:$E643 PRG:2643 F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E645 +; Routine: SubCE645 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7223,13 +7223,13 @@ Label_E639: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E645: +SubCE645: clc ; CPU:$E645 PRG:2645 18 lda ZpC0 ; CPU:$E646 PRG:2646 A5 C0 adc ZpC2 ; CPU:$E648 PRG:2648 65 C2 sta ZpC0 ; CPU:$E64A PRG:264A 85 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E64C +; Routine: SubCE64C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7237,15 +7237,15 @@ Label_E645: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E64C: +SubCE64C: lda ZpC1 ; CPU:$E64C PRG:264C A5 C1 - beq Label_E658 ; CPU:$E64E PRG:264E F0 08 + beq SubCE658 ; CPU:$E64E PRG:264E F0 08 cmp #$17 ; CPU:$E650 PRG:2650 C9 17 - beq Label_E658 ; CPU:$E652 PRG:2652 F0 04 + beq SubCE658 ; CPU:$E652 PRG:2652 F0 04 cmp #$0F ; CPU:$E654 PRG:2654 C9 0F - bne Label_E687 ; CPU:$E656 PRG:2656 D0 2F + bne SubCE687 ; CPU:$E656 PRG:2656 D0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_E658 +; Routine: SubCE658 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7253,22 +7253,22 @@ Label_E64C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E658: +SubCE658: lda #$00 ; CPU:$E658 PRG:2658 A9 00 sta ZpC3 ; CPU:$E65A PRG:265A 85 C3 lda ZpB6 ; CPU:$E65C PRG:265C A5 B6 and #$C0 ; CPU:$E65E PRG:265E 29 C0 - beq Label_E67C ; CPU:$E660 PRG:2660 F0 1A + beq SubCE67C ; CPU:$E660 PRG:2660 F0 1A inc ZpC3 ; CPU:$E662 PRG:2662 E6 C3 inc ZpC1 ; CPU:$E664 PRG:2664 E6 C1 lda ZpC1 ; CPU:$E666 PRG:2666 A5 C1 cmp #$01 ; CPU:$E668 PRG:2668 C9 01 - bne Label_E672 ; CPU:$E66A PRG:266A D0 06 + bne SubCE672 ; CPU:$E66A PRG:266A D0 06 lda #$20 ; CPU:$E66C PRG:266C A9 20 sta ZpFF ; CPU:$E66E PRG:266E 85 FF - bne Label_E686 ; CPU:$E670 PRG:2670 D0 14 + bne SubCE686 ; CPU:$E670 PRG:2670 D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_E672 +; Routine: SubCE672 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7276,14 +7276,14 @@ Label_E658: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E672: +SubCE672: cmp #$18 ; CPU:$E672 PRG:2672 C9 18 - bcc Label_E686 ; CPU:$E674 PRG:2674 90 10 + bcc SubCE686 ; CPU:$E674 PRG:2674 90 10 dec ZpC1 ; CPU:$E676 PRG:2676 C6 C1 dec ZpC3 ; CPU:$E678 PRG:2678 C6 C3 - beq Label_E686 ; CPU:$E67A PRG:267A F0 0A + beq SubCE686 ; CPU:$E67A PRG:267A F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E67C +; Routine: SubCE67C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7291,14 +7291,14 @@ Label_E672: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E67C: +SubCE67C: dec ZpC3 ; CPU:$E67C PRG:267C C6 C3 dec ZpC1 ; CPU:$E67E PRG:267E C6 C1 - bpl Label_E686 ; CPU:$E680 PRG:2680 10 04 + bpl SubCE686 ; CPU:$E680 PRG:2680 10 04 inc ZpC1 ; CPU:$E682 PRG:2682 E6 C1 inc ZpC3 ; CPU:$E684 PRG:2684 E6 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E686 +; Routine: SubCE686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7306,10 +7306,10 @@ Label_E67C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E686: +SubCE686: rts ; CPU:$E686 PRG:2686 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E687 +; Routine: SubCE687 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7317,7 +7317,7 @@ Label_E686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E687: +SubCE687: clc ; CPU:$E687 PRG:2687 18 lda ZpC1 ; CPU:$E688 PRG:2688 A5 C1 adc ZpC3 ; CPU:$E68A PRG:268A 65 C3 @@ -7334,15 +7334,15 @@ Label_E687: ; ----------------------------------------------------------------------------- UpdateMusicChannel: lda $0134 ; CPU:$E68F PRG:268F AD 34 01 - beq Label_E6A1 ; CPU:$E692 PRG:2692 F0 0D + beq SubCE6A1 ; CPU:$E692 PRG:2692 F0 0D lda Zp05 ; CPU:$E694 PRG:2694 A5 05 and #$3F ; CPU:$E696 PRG:2696 29 3F - bne Label_E6A1 ; CPU:$E698 PRG:2698 D0 07 + bne SubCE6A1 ; CPU:$E698 PRG:2698 D0 07 dec $0134 ; CPU:$E69A PRG:269A CE 34 01 - bne Label_E6A1 ; CPU:$E69D PRG:269D D0 02 + bne SubCE6A1 ; CPU:$E69D PRG:269D D0 02 dec ZpF0 ; CPU:$E69F PRG:269F C6 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E6A1 +; Routine: SubCE6A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7350,18 +7350,18 @@ UpdateMusicChannel: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6A1: +SubCE6A1: lda ZpD1 ; CPU:$E6A1 PRG:26A1 A5 D1 - beq Label_E70B ; CPU:$E6A3 PRG:26A3 F0 66 - bpl Label_E6B4 ; CPU:$E6A5 PRG:26A5 10 0D + beq SubCE70B ; CPU:$E6A3 PRG:26A3 F0 66 + bpl SubCE6B4 ; CPU:$E6A5 PRG:26A5 10 0D lda #$07 ; CPU:$E6A7 PRG:26A7 A9 07 sta $0127 ; CPU:$E6A9 PRG:26A9 8D 27 01 lda #$08 ; CPU:$E6AC PRG:26AC A9 08 sta ZpFF ; CPU:$E6AE PRG:26AE 85 FF dec ZpF0 ; CPU:$E6B0 PRG:26B0 C6 F0 - bne Label_E70B ; CPU:$E6B2 PRG:26B2 D0 57 + bne SubCE70B ; CPU:$E6B2 PRG:26B2 D0 57 ; ----------------------------------------------------------------------------- -; Routine: Label_E6B4 +; Routine: SubCE6B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7369,19 +7369,19 @@ Label_E6A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6B4: +SubCE6B4: ldx #$04 ; CPU:$E6B4 PRG:26B4 A2 04 stx ZpFE ; CPU:$E6B6 PRG:26B6 86 FE ldx #$00 ; CPU:$E6B8 PRG:26B8 A2 00 lda ZpEE ; CPU:$E6BA PRG:26BA A5 EE cmp #$82 ; CPU:$E6BC PRG:26BC C9 82 - bcc Label_E6C6 ; CPU:$E6BE PRG:26BE 90 06 + bcc SubCE6C6 ; CPU:$E6BE PRG:26BE 90 06 inx ; CPU:$E6C0 PRG:26C0 E8 cmp #$92 ; CPU:$E6C1 PRG:26C1 C9 92 - bcc Label_E6C6 ; CPU:$E6C3 PRG:26C3 90 01 + bcc SubCE6C6 ; CPU:$E6C3 PRG:26C3 90 01 inx ; CPU:$E6C5 PRG:26C5 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E6C6 +; Routine: SubCE6C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7389,21 +7389,21 @@ Label_E6B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6C6: +SubCE6C6: lda $E7A6,x ; CPU:$E6C6 PRG:26C6 BD A6 E7 tay ; CPU:$E6C9 PRG:26C9 A8 ora $0127 ; CPU:$E6CA PRG:26CA 0D 27 01 cmp #$FF ; CPU:$E6CD PRG:26CD C9 FF - bne Label_E70B ; CPU:$E6CF PRG:26CF D0 3A + bne SubCE70B ; CPU:$E6CF PRG:26CF D0 3A tya ; CPU:$E6D1 PRG:26D1 98 ldy $0118,x ; CPU:$E6D2 PRG:26D2 BC 18 01 - bne Label_E6DE ; CPU:$E6D5 PRG:26D5 D0 07 + bne SubCE6DE ; CPU:$E6D5 PRG:26D5 D0 07 pha ; CPU:$E6D7 PRG:26D7 48 lda #$37 ; CPU:$E6D8 PRG:26D8 A9 37 - jsr $EE3D ; CPU:$E6DA PRG:26DA 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$E6DA PRG:26DA 20 3D EE pla ; CPU:$E6DD PRG:26DD 68 ; ----------------------------------------------------------------------------- -; Routine: Label_E6DE +; Routine: SubCE6DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7411,20 +7411,20 @@ Label_E6C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6DE: +SubCE6DE: and $0127 ; CPU:$E6DE PRG:26DE 2D 27 01 sta $0127 ; CPU:$E6E1 PRG:26E1 8D 27 01 - bne Label_E70B ; CPU:$E6E4 PRG:26E4 D0 25 + bne SubCE70B ; CPU:$E6E4 PRG:26E4 D0 25 ldx $0118 ; CPU:$E6E6 PRG:26E6 AE 18 01 cpx $0119 ; CPU:$E6E9 PRG:26E9 EC 19 01 - bne Label_E70B ; CPU:$E6EC PRG:26EC D0 1D + bne SubCE70B ; CPU:$E6EC PRG:26EC D0 1D cpx $011A ; CPU:$E6EE PRG:26EE EC 1A 01 - bne Label_E70B ; CPU:$E6F1 PRG:26F1 D0 18 + bne SubCE70B ; CPU:$E6F1 PRG:26F1 D0 18 txa ; CPU:$E6F3 PRG:26F3 8A - bne Label_E6F9 ; CPU:$E6F4 PRG:26F4 D0 03 + bne SubCE6F9 ; CPU:$E6F4 PRG:26F4 D0 03 inc $014B ; CPU:$E6F6 PRG:26F6 EE 4B 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F9 +; Routine: SubCE6F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7432,16 +7432,16 @@ Label_E6DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F9: +SubCE6F9: lda $E78A,x ; CPU:$E6F9 PRG:26F9 BD 8A E7 sta $0134 ; CPU:$E6FC PRG:26FC 8D 34 01 lda $E787,x ; CPU:$E6FF PRG:26FF BD 87 E7 - jsr $EE3D ; CPU:$E702 PRG:2702 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$E702 PRG:2702 20 3D EE lda #$01 ; CPU:$E705 PRG:2705 A9 01 sta ZpFD ; CPU:$E707 PRG:2707 85 FD inc ZpF0 ; CPU:$E709 PRG:2709 E6 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_E70B +; Routine: SubCE70B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7449,15 +7449,15 @@ Label_E6F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E70B: +SubCE70B: lda #$00 ; CPU:$E70B PRG:270B A9 00 sta ZpD1 ; CPU:$E70D PRG:270D 85 D1 lda Zp05 ; CPU:$E70F PRG:270F A5 05 and #$03 ; CPU:$E711 PRG:2711 29 03 - beq Label_E716 ; CPU:$E713 PRG:2713 F0 01 + beq SubCE716 ; CPU:$E713 PRG:2713 F0 01 rts ; CPU:$E715 PRG:2715 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E716 +; Routine: SubCE716 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7465,10 +7465,10 @@ Label_E70B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E716: +SubCE716: ldx #$02 ; CPU:$E716 PRG:2716 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E718 +; Routine: SubCE718 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7476,16 +7476,16 @@ Label_E716: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E718: +SubCE718: lda $0127 ; CPU:$E718 PRG:2718 AD 27 01 and $E7A9,x ; CPU:$E71B PRG:271B 3D A9 E7 - beq Label_E72C ; CPU:$E71E PRG:271E F0 0C + beq SubCE72C ; CPU:$E71E PRG:271E F0 0C ldy $0118,x ; CPU:$E720 PRG:2720 BC 18 01 dey ; CPU:$E723 PRG:2723 88 - bpl Label_E728 ; CPU:$E724 PRG:2724 10 02 + bpl SubCE728 ; CPU:$E724 PRG:2724 10 02 ldy #$02 ; CPU:$E726 PRG:2726 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E728 +; Routine: SubCE728 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7493,11 +7493,11 @@ Label_E718: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E728: +SubCE728: tya ; CPU:$E728 PRG:2728 98 sta $0118,x ; CPU:$E729 PRG:2729 9D 18 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E72C +; Routine: SubCE72C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7505,13 +7505,13 @@ Label_E728: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E72C: +SubCE72C: dex ; CPU:$E72C PRG:272C CA - bpl Label_E718 ; CPU:$E72D PRG:272D 10 E9 + bpl SubCE718 ; CPU:$E72D PRG:272D 10 E9 lda #$02 ; CPU:$E72F PRG:272F A9 02 sta ZpE7 ; CPU:$E731 PRG:2731 85 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E733 +; Routine: SubCE733 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7519,12 +7519,12 @@ Label_E72C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E733: +SubCE733: ldx ZpE7 ; CPU:$E733 PRG:2733 A6 E7 lda $0118,x ; CPU:$E735 PRG:2735 BD 18 01 ldy $E78D,x ; CPU:$E738 PRG:2738 BC 8D E7 and #$03 ; CPU:$E73B PRG:273B 29 03 - beq Label_E75F ; CPU:$E73D PRG:273D F0 20 + beq SubCE75F ; CPU:$E73D PRG:273D F0 20 asl a ; CPU:$E73F PRG:273F 0A asl a ; CPU:$E740 PRG:2740 0A asl a ; CPU:$E741 PRG:2741 0A @@ -7532,7 +7532,7 @@ Label_E733: lda #$04 ; CPU:$E743 PRG:2743 A9 04 sta ZpE6 ; CPU:$E745 PRG:2745 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E747 +; Routine: SubCE747 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7540,7 +7540,7 @@ Label_E733: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E747: +SubCE747: lda $E788,x ; CPU:$E747 PRG:2747 BD 88 E7 sta $0285,y ; CPU:$E74A PRG:274A 99 85 02 inx ; CPU:$E74D PRG:274D E8 @@ -7552,10 +7552,10 @@ Label_E747: iny ; CPU:$E757 PRG:2757 C8 iny ; CPU:$E758 PRG:2758 C8 dec ZpE6 ; CPU:$E759 PRG:2759 C6 E6 - bne Label_E747 ; CPU:$E75B PRG:275B D0 EA - beq Label_E782 ; CPU:$E75D PRG:275D F0 23 + bne SubCE747 ; CPU:$E75B PRG:275B D0 EA + beq SubCE782 ; CPU:$E75D PRG:275D F0 23 ; ----------------------------------------------------------------------------- -; Routine: Label_E75F +; Routine: SubCE75F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7563,15 +7563,15 @@ Label_E747: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E75F: +SubCE75F: lda Zp05 ; CPU:$E75F PRG:275F A5 05 and #$20 ; CPU:$E761 PRG:2761 29 20 - beq Label_E768 ; CPU:$E763 PRG:2763 F0 03 + beq SubCE768 ; CPU:$E763 PRG:2763 F0 03 inx ; CPU:$E765 PRG:2765 E8 inx ; CPU:$E766 PRG:2766 E8 inx ; CPU:$E767 PRG:2767 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E768 +; Routine: SubCE768 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7579,13 +7579,13 @@ Label_E75F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E768: +SubCE768: lda $E7A0,x ; CPU:$E768 PRG:2768 BD A0 E7 tax ; CPU:$E76B PRG:276B AA lda #$04 ; CPU:$E76C PRG:276C A9 04 sta ZpE6 ; CPU:$E76E PRG:276E 85 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E770 +; Routine: SubCE770 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7593,7 +7593,7 @@ Label_E768: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E770: +SubCE770: txa ; CPU:$E770 PRG:2770 8A sta $0285,y ; CPU:$E771 PRG:2771 99 85 02 iny ; CPU:$E774 PRG:2774 C8 @@ -7604,9 +7604,9 @@ Label_E770: iny ; CPU:$E77C PRG:277C C8 iny ; CPU:$E77D PRG:277D C8 dec ZpE6 ; CPU:$E77E PRG:277E C6 E6 - bne Label_E770 ; CPU:$E780 PRG:2780 D0 EE + bne SubCE770 ; CPU:$E780 PRG:2780 D0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_E782 +; Routine: SubCE782 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7614,9 +7614,9 @@ Label_E770: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E782: +SubCE782: dec ZpE7 ; CPU:$E782 PRG:2782 C6 E7 - bpl Label_E733 ; CPU:$E784 PRG:2784 10 AD + bpl SubCE733 ; CPU:$E784 PRG:2784 10 AD rts ; CPU:$E786 PRG:2786 60 ; ---- data $E787-$E7AB (37 bytes) ---- ; referenced by `lda $E7A6,x` at $E6C6 (operand $E7A6 falls inside this region) @@ -7642,7 +7642,7 @@ UpdateMusicChannel2: ldx #$1C ; CPU:$E7AC PRG:27AC A2 1C ldy #$07 ; CPU:$E7AE PRG:27AE A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B0 +; Routine: SubCE7B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7650,7 +7650,7 @@ UpdateMusicChannel2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B0: +SubCE7B0: lda $EA60,y ; CPU:$E7B0 PRG:27B0 B9 60 EA sta $028C,x ; CPU:$E7B3 PRG:27B3 9D 8C 02 dex ; CPU:$E7B6 PRG:27B6 CA @@ -7658,7 +7658,7 @@ Label_E7B0: dex ; CPU:$E7B8 PRG:27B8 CA dex ; CPU:$E7B9 PRG:27B9 CA dey ; CPU:$E7BA PRG:27BA 88 - bpl Label_E7B0 ; CPU:$E7BB PRG:27BB 10 F3 + bpl SubCE7B0 ; CPU:$E7BB PRG:27BB 10 F3 lda ZpEC ; CPU:$E7BD PRG:27BD A5 EC clc ; CPU:$E7BF PRG:27BF 18 adc #$70 ; CPU:$E7C0 PRG:27C0 69 70 @@ -7675,19 +7675,19 @@ Label_E7B0: sta $029B ; CPU:$E7DD PRG:27DD 8D 9B 02 lda ZpB6 ; CPU:$E7E0 PRG:27E0 A5 B6 and #$01 ; CPU:$E7E2 PRG:27E2 29 01 - beq Label_E801 ; CPU:$E7E4 PRG:27E4 F0 1B + beq SubCE801 ; CPU:$E7E4 PRG:27E4 F0 1B lda #$03 ; CPU:$E7E6 PRG:27E6 A9 03 sta $011B ; CPU:$E7E8 PRG:27E8 8D 1B 01 - jsr $EA50 ; CPU:$E7EB PRG:27EB 20 50 EA + jsr UpdateSoundEffect ; CPU:$E7EB PRG:27EB 20 50 EA inc ZpEC ; CPU:$E7EE PRG:27EE E6 EC lda ZpEC ; CPU:$E7F0 PRG:27F0 A5 EC cmp #$31 ; CPU:$E7F2 PRG:27F2 C9 31 - bcs Label_E7FC ; CPU:$E7F4 PRG:27F4 B0 06 + bcs SubCE7FC ; CPU:$E7F4 PRG:27F4 B0 06 lda #$10 ; CPU:$E7F6 PRG:27F6 A9 10 sta ZpFE ; CPU:$E7F8 PRG:27F8 85 FE - bne Label_E801 ; CPU:$E7FA PRG:27FA D0 05 + bne SubCE801 ; CPU:$E7FA PRG:27FA D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E7FC +; Routine: SubCE7FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7695,11 +7695,11 @@ Label_E7B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7FC: +SubCE7FC: dec ZpEC ; CPU:$E7FC PRG:27FC C6 EC - jsr $EA58 ; CPU:$E7FE PRG:27FE 20 58 EA + jsr UpdateSoundEffect2 ; CPU:$E7FE PRG:27FE 20 58 EA ; ----------------------------------------------------------------------------- -; Routine: Label_E801 +; Routine: SubCE801 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7707,20 +7707,20 @@ Label_E7FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E801: +SubCE801: lda ZpB6 ; CPU:$E801 PRG:2801 A5 B6 and #$02 ; CPU:$E803 PRG:2803 29 02 - beq Label_E81E ; CPU:$E805 PRG:2805 F0 17 + beq SubCE81E ; CPU:$E805 PRG:2805 F0 17 lda #$00 ; CPU:$E807 PRG:2807 A9 00 sta $011B ; CPU:$E809 PRG:2809 8D 1B 01 - jsr $EA58 ; CPU:$E80C PRG:280C 20 58 EA + jsr UpdateSoundEffect2 ; CPU:$E80C PRG:280C 20 58 EA dec ZpEC ; CPU:$E80F PRG:280F C6 EC - bmi Label_E819 ; CPU:$E811 PRG:2811 30 06 + bmi SubCE819 ; CPU:$E811 PRG:2811 30 06 lda #$10 ; CPU:$E813 PRG:2813 A9 10 sta ZpFE ; CPU:$E815 PRG:2815 85 FE - bne Label_E81E ; CPU:$E817 PRG:2817 D0 05 + bne SubCE81E ; CPU:$E817 PRG:2817 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E819 +; Routine: SubCE819 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7728,11 +7728,11 @@ Label_E801: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E819: +SubCE819: inc ZpEC ; CPU:$E819 PRG:2819 E6 EC - jsr $EA50 ; CPU:$E81B PRG:281B 20 50 EA + jsr UpdateSoundEffect ; CPU:$E81B PRG:281B 20 50 EA ; ----------------------------------------------------------------------------- -; Routine: Label_E81E +; Routine: SubCE81E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7740,15 +7740,15 @@ Label_E819: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E81E: +SubCE81E: lda ZpEC ; CPU:$E81E PRG:281E A5 EC lsr a ; CPU:$E820 PRG:2820 4A and #$03 ; CPU:$E821 PRG:2821 29 03 cmp #$03 ; CPU:$E823 PRG:2823 C9 03 - bne Label_E829 ; CPU:$E825 PRG:2825 D0 02 + bne SubCE829 ; CPU:$E825 PRG:2825 D0 02 lda #$01 ; CPU:$E827 PRG:2827 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E829 +; Routine: SubCE829 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7756,7 +7756,7 @@ Label_E81E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E829: +SubCE829: clc ; CPU:$E829 PRG:2829 18 adc $011B ; CPU:$E82A PRG:282A 6D 1B 01 tax ; CPU:$E82D PRG:282D AA @@ -7777,10 +7777,10 @@ Label_E829: sta $0299 ; CPU:$E857 PRG:2857 8D 99 02 lda #$03 ; CPU:$E85A PRG:285A A9 03 ldy $011B ; CPU:$E85C PRG:285C AC 1B 01 - beq Label_E863 ; CPU:$E85F PRG:285F F0 02 + beq SubCE863 ; CPU:$E85F PRG:285F F0 02 lda #$43 ; CPU:$E861 PRG:2861 A9 43 ; ----------------------------------------------------------------------------- -; Routine: Label_E863 +; Routine: SubCE863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7788,13 +7788,13 @@ Label_E829: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E863: +SubCE863: sta $0292 ; CPU:$E863 PRG:2863 8D 92 02 sta $0296 ; CPU:$E866 PRG:2866 8D 96 02 and #$FD ; CPU:$E869 PRG:2869 29 FD ldx #$0C ; CPU:$E86B PRG:286B A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E86D +; Routine: SubCE86D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7802,17 +7802,17 @@ Label_E863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E86D: +SubCE86D: sta $029E,x ; CPU:$E86D PRG:286D 9D 9E 02 dex ; CPU:$E870 PRG:2870 CA dex ; CPU:$E871 PRG:2871 CA dex ; CPU:$E872 PRG:2872 CA dex ; CPU:$E873 PRG:2873 CA - bpl Label_E86D ; CPU:$E874 PRG:2874 10 F7 + bpl SubCE86D ; CPU:$E874 PRG:2874 10 F7 ldx #$09 ; CPU:$E876 PRG:2876 A2 09 lda #$24 ; CPU:$E878 PRG:2878 A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_E87A +; Routine: SubCE87A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7820,10 +7820,10 @@ Label_E86D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E87A: +SubCE87A: sta $06EE,x ; CPU:$E87A PRG:287A 9D EE 06 dex ; CPU:$E87D PRG:287D CA - bpl Label_E87A ; CPU:$E87E PRG:287E 10 FA + bpl SubCE87A ; CPU:$E87E PRG:287E 10 FA lda ZpEC ; CPU:$E880 PRG:2880 A5 EC clc ; CPU:$E882 PRG:2882 18 adc #$04 ; CPU:$E883 PRG:2883 69 04 @@ -7841,10 +7841,10 @@ Label_E87A: sta $06EF,x ; CPU:$E896 PRG:2896 9D EF 06 sta $06F0,x ; CPU:$E899 PRG:2899 9D F0 06 lda $EA94,y ; CPU:$E89C PRG:289C B9 94 EA - beq Label_E8A4 ; CPU:$E89F PRG:289F F0 03 + beq SubCE8A4 ; CPU:$E89F PRG:289F F0 03 sta $06F1,x ; CPU:$E8A1 PRG:28A1 9D F1 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A4 +; Routine: SubCE8A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7852,13 +7852,13 @@ Label_E87A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A4: +SubCE8A4: lda ZpD2 ; CPU:$E8A4 PRG:28A4 A5 D2 - bmi Label_E8B2 ; CPU:$E8A6 PRG:28A6 30 0A + bmi SubCE8B2 ; CPU:$E8A6 PRG:28A6 30 0A lda #$F0 ; CPU:$E8A8 PRG:28A8 A9 F0 ldx #$0C ; CPU:$E8AA PRG:28AA A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E8AC +; Routine: SubCE8AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7866,12 +7866,12 @@ Label_E8A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8AC: +SubCE8AC: sta $027C,x ; CPU:$E8AC PRG:28AC 9D 7C 02 dex ; CPU:$E8AF PRG:28AF CA - bpl Label_E8AC ; CPU:$E8B0 PRG:28B0 10 FA + bpl SubCE8AC ; CPU:$E8B0 PRG:28B0 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_E8B2 +; Routine: SubCE8B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7879,7 +7879,7 @@ Label_E8AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B2: +SubCE8B2: lda $011C ; CPU:$E8B2 PRG:28B2 AD 1C 01 clc ; CPU:$E8B5 PRG:28B5 18 adc #$23 ; CPU:$E8B6 PRG:28B6 69 23 @@ -7893,7 +7893,7 @@ Label_E8B2: sta $02C4 ; CPU:$E8CB PRG:28CB 8D C4 02 ldx #$10 ; CPU:$E8CE PRG:28CE A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E8D0 +; Routine: SubCE8D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7901,7 +7901,7 @@ Label_E8B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8D0: +SubCE8D0: lda ZpED ; CPU:$E8D0 PRG:28D0 A5 ED clc ; CPU:$E8D2 PRG:28D2 18 adc #$48 ; CPU:$E8D3 PRG:28D3 69 48 @@ -7912,12 +7912,12 @@ Label_E8D0: sec ; CPU:$E8DE PRG:28DE 38 sbc #$08 ; CPU:$E8DF PRG:28DF E9 08 tax ; CPU:$E8E1 PRG:28E1 AA - bpl Label_E8D0 ; CPU:$E8E2 PRG:28E2 10 EC + bpl SubCE8D0 ; CPU:$E8E2 PRG:28E2 10 EC lda $011C ; CPU:$E8E4 PRG:28E4 AD 1C 01 - beq Label_E8EC ; CPU:$E8E7 PRG:28E7 F0 03 - jmp $E96A ; CPU:$E8E9 PRG:28E9 4C 6A E9 + beq SubCE8EC ; CPU:$E8E7 PRG:28E7 F0 03 + jmp UpdateSoundChannel2_E96A_3 ; CPU:$E8E9 PRG:28E9 4C 6A E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E8EC +; Routine: SubCE8EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7925,13 +7925,13 @@ Label_E8D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8EC: +SubCE8EC: lda Zp05 ; CPU:$E8EC PRG:28EC A5 05 and #$01 ; CPU:$E8EE PRG:28EE 29 01 - beq Label_E8F3 ; CPU:$E8F0 PRG:28F0 F0 01 + beq SubCE8F3 ; CPU:$E8F0 PRG:28F0 F0 01 rts ; CPU:$E8F2 PRG:28F2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8F3 +; Routine: SubCE8F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7939,18 +7939,18 @@ Label_E8EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8F3: +SubCE8F3: inc $0124 ; CPU:$E8F3 PRG:28F3 EE 24 01 lda $011D ; CPU:$E8F6 PRG:28F6 AD 1D 01 - beq Label_E908 ; CPU:$E8F9 PRG:28F9 F0 0D + beq SubCE908 ; CPU:$E8F9 PRG:28F9 F0 0D inc ZpED ; CPU:$E8FB PRG:28FB E6 ED lda ZpED ; CPU:$E8FD PRG:28FD A5 ED cmp #$70 ; CPU:$E8FF PRG:28FF C9 70 - bcc Label_E908 ; CPU:$E901 PRG:2901 90 05 + bcc SubCE908 ; CPU:$E901 PRG:2901 90 05 lda #$00 ; CPU:$E903 PRG:2903 A9 00 sta $011D ; CPU:$E905 PRG:2905 8D 1D 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E908 +; Routine: SubCE908 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7958,18 +7958,18 @@ Label_E8F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E908: +SubCE908: lda $011D ; CPU:$E908 PRG:2908 AD 1D 01 - bne Label_E91C ; CPU:$E90B PRG:290B D0 0F + bne SubCE91C ; CPU:$E90B PRG:290B D0 0F dec ZpED ; CPU:$E90D PRG:290D C6 ED lda ZpED ; CPU:$E90F PRG:290F A5 ED cmp #$20 ; CPU:$E911 PRG:2911 C9 20 - bcs Label_E91C ; CPU:$E913 PRG:2913 B0 07 + bcs SubCE91C ; CPU:$E913 PRG:2913 B0 07 inc ZpED ; CPU:$E915 PRG:2915 E6 ED lda #$03 ; CPU:$E917 PRG:2917 A9 03 sta $011D ; CPU:$E919 PRG:2919 8D 1D 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E91C +; Routine: SubCE91C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7977,10 +7977,10 @@ Label_E908: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E91C: +SubCE91C: ldx #$02 ; CPU:$E91C PRG:291C A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E91E +; Routine: SubCE91E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7988,15 +7988,15 @@ Label_E91C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E91E: +SubCE91E: lda ZpED ; CPU:$E91E PRG:291E A5 ED cmp $EACC,x ; CPU:$E920 PRG:2920 DD CC EA - bne Label_E92C ; CPU:$E923 PRG:2923 D0 07 + bne SubCE92C ; CPU:$E923 PRG:2923 D0 07 lda $011F,x ; CPU:$E925 PRG:2925 BD 1F 01 cmp #$03 ; CPU:$E928 PRG:2928 C9 03 - bcs Label_E961 ; CPU:$E92A PRG:292A B0 35 + bcs SubCE961 ; CPU:$E92A PRG:292A B0 35 ; ----------------------------------------------------------------------------- -; Routine: Label_E92C +; Routine: SubCE92C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8004,12 +8004,12 @@ Label_E91E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92C: +SubCE92C: dex ; CPU:$E92C PRG:292C CA - bpl Label_E91E ; CPU:$E92D PRG:292D 10 EF + bpl SubCE91E ; CPU:$E92D PRG:292D 10 EF ldx #$01 ; CPU:$E92F PRG:292F A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E931 +; Routine: SubCE931 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8017,20 +8017,20 @@ Label_E92C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E931: +SubCE931: lda ZpED ; CPU:$E931 PRG:2931 A5 ED cmp $EACF,x ; CPU:$E933 PRG:2933 DD CF EA - bne Label_E94A ; CPU:$E936 PRG:2936 D0 12 + bne SubCE94A ; CPU:$E936 PRG:2936 D0 12 clc ; CPU:$E938 PRG:2938 18 lda $011F,x ; CPU:$E939 PRG:2939 BD 1F 01 - beq Label_E94A ; CPU:$E93C PRG:293C F0 0C + beq SubCE94A ; CPU:$E93C PRG:293C F0 0C ldy $0120,x ; CPU:$E93E PRG:293E BC 20 01 - beq Label_E94A ; CPU:$E941 PRG:2941 F0 07 + beq SubCE94A ; CPU:$E941 PRG:2941 F0 07 adc $0120,x ; CPU:$E943 PRG:2943 7D 20 01 cmp #$03 ; CPU:$E946 PRG:2946 C9 03 - bcs Label_E961 ; CPU:$E948 PRG:2948 B0 17 + bcs SubCE961 ; CPU:$E948 PRG:2948 B0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_E94A +; Routine: SubCE94A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8038,9 +8038,9 @@ Label_E931: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E94A: +SubCE94A: dex ; CPU:$E94A PRG:294A CA - bpl Label_E931 ; CPU:$E94B PRG:294B 10 E4 + bpl SubCE931 ; CPU:$E94B PRG:294B 10 E4 ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundEffects ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8055,10 +8055,10 @@ UpdateSoundEffects: lsr a ; CPU:$E950 PRG:2950 4A and #$03 ; CPU:$E951 PRG:2951 29 03 cmp #$03 ; CPU:$E953 PRG:2953 C9 03 - bne Label_E959 ; CPU:$E955 PRG:2955 D0 02 + bne SubCE959 ; CPU:$E955 PRG:2955 D0 02 lda #$01 ; CPU:$E957 PRG:2957 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E959 +; Routine: SubCE959 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8066,13 +8066,13 @@ UpdateSoundEffects: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E959: +SubCE959: clc ; CPU:$E959 PRG:2959 18 adc $011D ; CPU:$E95A PRG:295A 6D 1D 01 tax ; CPU:$E95D PRG:295D AA - jmp $E9ED ; CPU:$E95E PRG:295E 4C ED E9 + jmp UpdateSoundChannel3_E9ED_3 ; CPU:$E95E PRG:295E 4C ED E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E961 +; Routine: SubCE961 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8080,7 +8080,7 @@ Label_E959: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E961: +SubCE961: lda #$02 ; CPU:$E961 PRG:2961 A9 02 sta ZpFE ; CPU:$E963 PRG:2963 85 FE lda #$00 ; CPU:$E965 PRG:2965 A9 00 @@ -8099,27 +8099,27 @@ UpdateSoundChannel2_E96A_3: sta $0123 ; CPU:$E96C PRG:296C 8D 23 01 lda $011C ; CPU:$E96F PRG:296F AD 1C 01 cmp #$94 ; CPU:$E972 PRG:2972 C9 94 - bcs Label_E9DE ; CPU:$E974 PRG:2974 B0 68 + bcs SubCE9DE ; CPU:$E974 PRG:2974 B0 68 cmp #$7C ; CPU:$E976 PRG:2976 C9 7C - bne Label_E9E5 ; CPU:$E978 PRG:2978 D0 6B + bne SubCE9E5 ; CPU:$E978 PRG:2978 D0 6B lda ZpED ; CPU:$E97A PRG:297A A5 ED cmp #$24 ; CPU:$E97C PRG:297C C9 24 - bcc Label_E9A8 ; CPU:$E97E PRG:297E 90 28 + bcc SubCE9A8 ; CPU:$E97E PRG:297E 90 28 cmp #$6C ; CPU:$E980 PRG:2980 C9 6C - bcs Label_E9A8 ; CPU:$E982 PRG:2982 B0 24 + bcs SubCE9A8 ; CPU:$E982 PRG:2982 B0 24 sec ; CPU:$E984 PRG:2984 38 lda ZpED ; CPU:$E985 PRG:2985 A5 ED sbc ZpEC ; CPU:$E987 PRG:2987 E5 EC sbc #$20 ; CPU:$E989 PRG:2989 E9 20 cmp #$20 ; CPU:$E98B PRG:298B C9 20 - bcs Label_E9E5 ; CPU:$E98D PRG:298D B0 56 + bcs SubCE9E5 ; CPU:$E98D PRG:298D B0 56 ldx #$00 ; CPU:$E98F PRG:298F A2 00 lda ZpED ; CPU:$E991 PRG:2991 A5 ED cmp #$48 ; CPU:$E993 PRG:2993 C9 48 - bcc Label_E999 ; CPU:$E995 PRG:2995 90 02 + bcc SubCE999 ; CPU:$E995 PRG:2995 90 02 ldx #$03 ; CPU:$E997 PRG:2997 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E999 +; Routine: SubCE999 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8127,14 +8127,14 @@ UpdateSoundChannel2_E96A_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E999: +SubCE999: stx $011D ; CPU:$E999 PRG:2999 8E 1D 01 inc $0123 ; CPU:$E99C PRG:299C EE 23 01 lda Zp05 ; CPU:$E99F PRG:299F A5 05 and #$04 ; CPU:$E9A1 PRG:29A1 29 04 - beq Label_E9BC ; CPU:$E9A3 PRG:29A3 F0 17 + beq SubCE9BC ; CPU:$E9A3 PRG:29A3 F0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_E9A5 +; Routine: SubCE9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8142,10 +8142,10 @@ Label_E999: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A5: - jmp $E94D ; CPU:$E9A5 PRG:29A5 4C 4D E9 +SubCE9A5: + jmp UpdateSoundEffects ; CPU:$E9A5 PRG:29A5 4C 4D E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E9A8 +; Routine: SubCE9A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8153,17 +8153,17 @@ Label_E9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A8: +SubCE9A8: lda $0122 ; CPU:$E9A8 PRG:29A8 AD 22 01 - bne Label_E9BC ; CPU:$E9AB PRG:29AB D0 0F + bne SubCE9BC ; CPU:$E9AB PRG:29AB D0 0F lda #$41 ; CPU:$E9AD PRG:29AD A9 41 sta $0122 ; CPU:$E9AF PRG:29AF 8D 22 01 - jsr $EE3D ; CPU:$E9B2 PRG:29B2 20 3D EE - jsr $EE3D ; CPU:$E9B5 PRG:29B5 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$E9B2 PRG:29B2 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$E9B5 PRG:29B5 20 3D EE lda #$01 ; CPU:$E9B8 PRG:29B8 A9 01 sta ZpFD ; CPU:$E9BA PRG:29BA 85 FD ; ----------------------------------------------------------------------------- -; Routine: Label_E9BC +; Routine: SubCE9BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8171,21 +8171,21 @@ Label_E9A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9BC: +SubCE9BC: lda Zp05 ; CPU:$E9BC PRG:29BC A5 05 and #$03 ; CPU:$E9BE PRG:29BE 29 03 - bne Label_E9A5 ; CPU:$E9C0 PRG:29C0 D0 E3 + bne SubCE9A5 ; CPU:$E9C0 PRG:29C0 D0 E3 inc $0124 ; CPU:$E9C2 PRG:29C2 EE 24 01 lda $011D ; CPU:$E9C5 PRG:29C5 AD 1D 01 - beq Label_E9D6 ; CPU:$E9C8 PRG:29C8 F0 0C + beq SubCE9D6 ; CPU:$E9C8 PRG:29C8 F0 0C inc ZpED ; CPU:$E9CA PRG:29CA E6 ED lda ZpED ; CPU:$E9CC PRG:29CC A5 ED cmp #$90 ; CPU:$E9CE PRG:29CE C9 90 - bne Label_E9A5 ; CPU:$E9D0 PRG:29D0 D0 D3 + bne SubCE9A5 ; CPU:$E9D0 PRG:29D0 D0 D3 inc $011E ; CPU:$E9D2 PRG:29D2 EE 1E 01 rts ; CPU:$E9D5 PRG:29D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9D6 +; Routine: SubCE9D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8193,13 +8193,13 @@ Label_E9BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D6: +SubCE9D6: dec ZpED ; CPU:$E9D6 PRG:29D6 C6 ED - bpl Label_E9A5 ; CPU:$E9D8 PRG:29D8 10 CB + bpl SubCE9A5 ; CPU:$E9D8 PRG:29D8 10 CB inc $011E ; CPU:$E9DA PRG:29DA EE 1E 01 rts ; CPU:$E9DD PRG:29DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9DE +; Routine: SubCE9DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8207,12 +8207,12 @@ Label_E9D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DE: +SubCE9DE: ldx #$07 ; CPU:$E9DE PRG:29DE A2 07 dec $011E ; CPU:$E9E0 PRG:29E0 CE 1E 01 bne UpdateSoundChannel3_E9ED_3 ; CPU:$E9E3 PRG:29E3 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E5 +; Routine: SubCE9E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8220,7 +8220,7 @@ Label_E9DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E5: +SubCE9E5: inc $011C ; CPU:$E9E5 PRG:29E5 EE 1C 01 inc $011C ; CPU:$E9E8 PRG:29E8 EE 1C 01 ldx #$06 ; CPU:$E9EB PRG:29EB A2 06 @@ -8248,11 +8248,11 @@ UpdateSoundChannel3_E9ED_3: sta $02C5 ; CPU:$EA0E PRG:2A0E 8D C5 02 lda #$02 ; CPU:$EA11 PRG:2A11 A9 02 ldy $011C ; CPU:$EA13 PRG:2A13 AC 1C 01 - beq Label_EA1C ; CPU:$EA16 PRG:2A16 F0 04 + beq SubCEA1C ; CPU:$EA16 PRG:2A16 F0 04 cpy #$7C ; CPU:$EA18 PRG:2A18 C0 7C - bne Label_EA23 ; CPU:$EA1A PRG:2A1A D0 07 + bne SubCEA23 ; CPU:$EA1A PRG:2A1A D0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EA1C +; Routine: SubCEA1C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8260,12 +8260,12 @@ UpdateSoundChannel3_E9ED_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA1C: +SubCEA1C: ldy $011D ; CPU:$EA1C PRG:2A1C AC 1D 01 - beq Label_EA23 ; CPU:$EA1F PRG:2A1F F0 02 + beq SubCEA23 ; CPU:$EA1F PRG:2A1F F0 02 lda #$42 ; CPU:$EA21 PRG:2A21 A9 42 ; ----------------------------------------------------------------------------- -; Routine: Label_EA23 +; Routine: SubCEA23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8273,10 +8273,10 @@ Label_EA1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA23: +SubCEA23: ldx #$14 ; CPU:$EA23 PRG:2A23 A2 14 ; ----------------------------------------------------------------------------- -; Routine: Label_EA25 +; Routine: SubCEA25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8284,13 +8284,13 @@ Label_EA23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA25: +SubCEA25: sta $02B2,x ; CPU:$EA25 PRG:2A25 9D B2 02 dex ; CPU:$EA28 PRG:2A28 CA dex ; CPU:$EA29 PRG:2A29 CA dex ; CPU:$EA2A PRG:2A2A CA dex ; CPU:$EA2B PRG:2A2B CA - bpl Label_EA25 ; CPU:$EA2C PRG:2A2C 10 F7 + bpl SubCEA25 ; CPU:$EA2C PRG:2A2C 10 F7 rts ; CPU:$EA2E PRG:2A2E 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundChannels @@ -8305,7 +8305,7 @@ UpdateSoundChannels: ldx #$07 ; CPU:$EA2F PRG:2A2F A2 07 lda #$00 ; CPU:$EA31 PRG:2A31 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EA33 +; Routine: SubCEA33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8313,17 +8313,17 @@ UpdateSoundChannels: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA33: +SubCEA33: sta $011C,x ; CPU:$EA33 PRG:2A33 9D 1C 01 dex ; CPU:$EA36 PRG:2A36 CA - bpl Label_EA33 ; CPU:$EA37 PRG:2A37 10 FA + bpl SubCEA33 ; CPU:$EA37 PRG:2A37 10 FA lda #$20 ; CPU:$EA39 PRG:2A39 A9 20 ldx ZpED ; CPU:$EA3B PRG:2A3B A6 ED inx ; CPU:$EA3D PRG:2A3D E8 - beq Label_EA42 ; CPU:$EA3E PRG:2A3E F0 02 + beq SubCEA42 ; CPU:$EA3E PRG:2A3E F0 02 lda #$70 ; CPU:$EA40 PRG:2A40 A9 70 ; ----------------------------------------------------------------------------- -; Routine: Label_EA42 +; Routine: SubCEA42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8331,11 +8331,11 @@ Label_EA33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA42: +SubCEA42: sta ZpED ; CPU:$EA42 PRG:2A42 85 ED ldx #$17 ; CPU:$EA44 PRG:2A44 A2 17 ; ----------------------------------------------------------------------------- -; Routine: Label_EA46 +; Routine: SubCEA46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8343,11 +8343,11 @@ Label_EA42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA46: +SubCEA46: lda $CB7E,x ; CPU:$EA46 PRG:2A46 BD 7E CB sta $0264,x ; CPU:$EA49 PRG:2A49 9D 64 02 dex ; CPU:$EA4C PRG:2A4C CA - bpl Label_EA46 ; CPU:$EA4D PRG:2A4D 10 F7 + bpl SubCEA46 ; CPU:$EA4D PRG:2A4D 10 F7 rts ; CPU:$EA4F PRG:2A4F 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundEffect @@ -8360,10 +8360,10 @@ Label_EA46: ; ----------------------------------------------------------------------------- UpdateSoundEffect: lda $0123 ; CPU:$EA50 PRG:2A50 AD 23 01 - beq Label_EA57 ; CPU:$EA53 PRG:2A53 F0 02 + beq SubCEA57 ; CPU:$EA53 PRG:2A53 F0 02 inc ZpED ; CPU:$EA55 PRG:2A55 E6 ED ; ----------------------------------------------------------------------------- -; Routine: Label_EA57 +; Routine: SubCEA57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8371,7 +8371,7 @@ UpdateSoundEffect: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA57: +SubCEA57: rts ; CPU:$EA57 PRG:2A57 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundEffect2 @@ -8384,7 +8384,7 @@ Label_EA57: ; ----------------------------------------------------------------------------- UpdateSoundEffect2: lda $0123 ; CPU:$EA58 PRG:2A58 AD 23 01 - beq Label_EA57 ; CPU:$EA5B PRG:2A5B F0 FA + beq SubCEA57 ; CPU:$EA5B PRG:2A5B F0 FA dec ZpED ; CPU:$EA5D PRG:2A5D C6 ED rts ; CPU:$EA5F PRG:2A5F 60 ; ---- data $EA60-$EAD0 (113 bytes) ---- @@ -8417,9 +8417,9 @@ UpdateSoundChannel4_EAD1_3: sta ZpE3 ; CPU:$EAD3 PRG:2AD3 85 E3 sta $012B ; CPU:$EAD5 PRG:2AD5 8D 2B 01 dec $012C ; CPU:$EAD8 PRG:2AD8 CE 2C 01 - jsr $F3E8 ; CPU:$EADB PRG:2ADB 20 E8 F3 + jsr UpdateMusicChannel33 ; CPU:$EADB PRG:2ADB 20 E8 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_EADE +; Routine: SubCEADE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8427,10 +8427,10 @@ UpdateSoundChannel4_EAD1_3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EADE: - jsr $E049 ; CPU:$EADE PRG:2ADE 20 49 E0 +SubCEADE: + jsr InitPPU ; CPU:$EADE PRG:2ADE 20 49 E0 and #$C0 ; CPU:$EAE1 PRG:2AE1 29 C0 - beq Label_EADE ; CPU:$EAE3 PRG:2AE3 F0 F9 + beq SubCEADE ; CPU:$EAE3 PRG:2AE3 F0 F9 ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundChannel5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8441,17 +8441,17 @@ Label_EADE: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSoundChannel5: - jsr $E02C ; CPU:$EAE5 PRG:2AE5 20 2C E0 - jsr $E049 ; CPU:$EAE8 PRG:2AE8 20 49 E0 + jsr WaitVBlank_E0232 ; CPU:$EAE5 PRG:2AE5 20 2C E0 + jsr InitPPU ; CPU:$EAE8 PRG:2AE8 20 49 E0 and #$C0 ; CPU:$EAEB PRG:2AEB 29 C0 beq UpdateSoundChannel6 ; CPU:$EAED PRG:2AED F0 1E inc ZpE3 ; CPU:$EAEF PRG:2AEF E6 E3 lda ZpE3 ; CPU:$EAF1 PRG:2AF1 A5 E3 cmp #$14 ; CPU:$EAF3 PRG:2AF3 C9 14 - bcc Label_EAF9 ; CPU:$EAF5 PRG:2AF5 90 02 + bcc SubCEAF9 ; CPU:$EAF5 PRG:2AF5 90 02 dec ZpE3 ; CPU:$EAF7 PRG:2AF7 C6 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF9 +; Routine: SubCEAF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8459,16 +8459,16 @@ UpdateSoundChannel5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF9: +SubCEAF9: lda ZpE3 ; CPU:$EAF9 PRG:2AF9 A5 E3 lsr a ; CPU:$EAFB PRG:2AFB 4A lsr a ; CPU:$EAFC PRG:2AFC 4A sta $0125 ; CPU:$EAFD PRG:2AFD 8D 25 01 cmp #$01 ; CPU:$EB00 PRG:2B00 C9 01 - bne Label_EB07 ; CPU:$EB02 PRG:2B02 D0 03 + bne SubCEB07 ; CPU:$EB02 PRG:2B02 D0 03 inc $0126 ; CPU:$EB04 PRG:2B04 EE 26 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EB07 +; Routine: SubCEB07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8476,9 +8476,9 @@ Label_EAF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB07: - jsr $EB27 ; CPU:$EB07 PRG:2B07 20 27 EB - jmp $EAE5 ; CPU:$EB0A PRG:2B0A 4C E5 EA +SubCEB07: + jsr UpdateSoundChannel7 ; CPU:$EB07 PRG:2B07 20 27 EB + jmp UpdateSoundChannel5 ; CPU:$EB0A PRG:2B0A 4C E5 EA ; ----------------------------------------------------------------------------- ; Routine: UpdateSoundChannel6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -8489,12 +8489,12 @@ Label_EB07: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateSoundChannel6: - jsr $E02C ; CPU:$EB0D PRG:2B0D 20 2C E0 + jsr WaitVBlank_E0232 ; CPU:$EB0D PRG:2B0D 20 2C E0 dec $0125 ; CPU:$EB10 PRG:2B10 CE 25 01 - bne Label_EB18 ; CPU:$EB13 PRG:2B13 D0 03 + bne SubCEB18 ; CPU:$EB13 PRG:2B13 D0 03 inc $0126 ; CPU:$EB15 PRG:2B15 EE 26 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EB18 +; Routine: SubCEB18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8502,12 +8502,12 @@ UpdateSoundChannel6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB18: - bmi Label_EB20 ; CPU:$EB18 PRG:2B18 30 06 - jsr $EB27 ; CPU:$EB1A PRG:2B1A 20 27 EB - jmp $EB0D ; CPU:$EB1D PRG:2B1D 4C 0D EB +SubCEB18: + bmi SubCEB20 ; CPU:$EB18 PRG:2B18 30 06 + jsr UpdateSoundChannel7 ; CPU:$EB1A PRG:2B1A 20 27 EB + jmp UpdateSoundChannel6 ; CPU:$EB1D PRG:2B1D 4C 0D EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB20 +; Routine: SubCEB20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8515,7 +8515,7 @@ Label_EB18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB20: +SubCEB20: lda #$01 ; CPU:$EB20 PRG:2B20 A9 01 sta ZpFE ; CPU:$EB22 PRG:2B22 85 FE lda ZpE3 ; CPU:$EB24 PRG:2B24 A5 E3 @@ -8536,7 +8536,7 @@ UpdateSoundChannel7: ldy $EB66,x ; CPU:$EB2E PRG:2B2E BC 66 EB ldx #$27 ; CPU:$EB31 PRG:2B31 A2 27 ; ----------------------------------------------------------------------------- -; Routine: Label_EB33 +; Routine: SubCEB33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8544,14 +8544,14 @@ UpdateSoundChannel7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB33: +SubCEB33: lda ZpE6 ; CPU:$EB33 PRG:2B33 A5 E6 lsr a ; CPU:$EB35 PRG:2B35 4A lda #$D8 ; CPU:$EB36 PRG:2B36 A9 D8 - bcc Label_EB3C ; CPU:$EB38 PRG:2B38 90 02 + bcc SubCEB3C ; CPU:$EB38 PRG:2B38 90 02 lda #$E0 ; CPU:$EB3A PRG:2B3A A9 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_EB3C +; Routine: SubCEB3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8559,7 +8559,7 @@ Label_EB33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB3C: +SubCEB3C: sta $0200,x ; CPU:$EB3C PRG:2B3C 9D 00 02 dex ; CPU:$EB3F PRG:2B3F CA lda #$00 ; CPU:$EB40 PRG:2B40 A9 00 @@ -8571,7 +8571,7 @@ Label_EB3C: dex ; CPU:$EB4D PRG:2B4D CA dey ; CPU:$EB4E PRG:2B4E 88 pla ; CPU:$EB4F PRG:2B4F 68 - beq Label_EB5B ; CPU:$EB50 PRG:2B50 F0 09 + beq SubCEB5B ; CPU:$EB50 PRG:2B50 F0 09 lda ZpE6 ; CPU:$EB52 PRG:2B52 A5 E6 and #$FE ; CPU:$EB54 PRG:2B54 29 FE asl a ; CPU:$EB56 PRG:2B56 0A @@ -8580,7 +8580,7 @@ Label_EB3C: ; ---- data $EB5A-$EB5A (1 bytes) ---- .byte $2C ; CPU:$EB5A PRG:2B5A 2C ; ----------------------------------------------------------------------------- -; Routine: Label_EB5B +; Routine: SubCEB5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8588,12 +8588,12 @@ Label_EB3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB5B: +SubCEB5B: lda #$F0 ; CPU:$EB5B PRG:2B5B A9 F0 sta $0200,x ; CPU:$EB5D PRG:2B5D 9D 00 02 dex ; CPU:$EB60 PRG:2B60 CA dec ZpE6 ; CPU:$EB61 PRG:2B61 C6 E6 - bpl Label_EB33 ; CPU:$EB63 PRG:2B63 10 CE + bpl SubCEB33 ; CPU:$EB63 PRG:2B63 10 CE rts ; CPU:$EB65 PRG:2B65 60 ; ---- data $EB66-$EB9C (55 bytes) ---- ; referenced by `ldy $EB66,x` at $EB2E (operand $EB66 falls inside this region) @@ -8613,17 +8613,17 @@ Label_EB5B: ; ----------------------------------------------------------------------------- UpdateSoundChannel8: lda $0126 ; CPU:$EB9D PRG:2B9D AD 26 01 - beq Label_EBE0 ; CPU:$EBA0 PRG:2BA0 F0 3E + beq SubCEBE0 ; CPU:$EBA0 PRG:2BA0 F0 3E lda Zp00 ; CPU:$EBA2 PRG:2BA2 A5 00 ora #$04 ; CPU:$EBA4 PRG:2BA4 09 04 - sta $2000 ; CPU:$EBA6 PRG:2BA6 8D 00 20 + sta PPUCTRL ; CPU:$EBA6 PRG:2BA6 8D 00 20 ldy #$00 ; CPU:$EBA9 PRG:2BA9 A0 00 sty $0126 ; CPU:$EBAB PRG:2BAB 8C 26 01 lda $0125 ; CPU:$EBAE PRG:2BAE AD 25 01 - beq Label_EBB5 ; CPU:$EBB1 PRG:2BB1 F0 02 + beq SubCEBB5 ; CPU:$EBB1 PRG:2BB1 F0 02 ldy #$0C ; CPU:$EBB3 PRG:2BB3 A0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_EBB5 +; Routine: SubCEBB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8631,13 +8631,13 @@ UpdateSoundChannel8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB5: +SubCEBB5: ldx #$22 ; CPU:$EBB5 PRG:2BB5 A2 22 lda #$9B ; CPU:$EBB7 PRG:2BB7 A9 9B - jsr $E0EF ; CPU:$EBB9 PRG:2BB9 20 EF E0 + jsr WritePPU ; CPU:$EBB9 PRG:2BB9 20 EF E0 ldx #$06 ; CPU:$EBBC PRG:2BBC A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EBBE +; Routine: SubCEBBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8645,18 +8645,18 @@ Label_EBB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBBE: +SubCEBBE: lda $EBE1,y ; CPU:$EBBE PRG:2BBE B9 E1 EB - sta $2007 ; CPU:$EBC1 PRG:2BC1 8D 07 20 + sta PPUDATA ; CPU:$EBC1 PRG:2BC1 8D 07 20 iny ; CPU:$EBC4 PRG:2BC4 C8 dex ; CPU:$EBC5 PRG:2BC5 CA - bne Label_EBBE ; CPU:$EBC6 PRG:2BC6 D0 F6 + bne SubCEBBE ; CPU:$EBC6 PRG:2BC6 D0 F6 ldx #$22 ; CPU:$EBC8 PRG:2BC8 A2 22 lda #$9C ; CPU:$EBCA PRG:2BCA A9 9C - jsr $E0EF ; CPU:$EBCC PRG:2BCC 20 EF E0 + jsr WritePPU ; CPU:$EBCC PRG:2BCC 20 EF E0 ldx #$06 ; CPU:$EBCF PRG:2BCF A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EBD1 +; Routine: SubCEBD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8664,16 +8664,16 @@ Label_EBBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD1: +SubCEBD1: lda $EBE1,y ; CPU:$EBD1 PRG:2BD1 B9 E1 EB - sta $2007 ; CPU:$EBD4 PRG:2BD4 8D 07 20 + sta PPUDATA ; CPU:$EBD4 PRG:2BD4 8D 07 20 iny ; CPU:$EBD7 PRG:2BD7 C8 dex ; CPU:$EBD8 PRG:2BD8 CA - bne Label_EBD1 ; CPU:$EBD9 PRG:2BD9 D0 F6 + bne SubCEBD1 ; CPU:$EBD9 PRG:2BD9 D0 F6 lda Zp00 ; CPU:$EBDB PRG:2BDB A5 00 - sta $2000 ; CPU:$EBDD PRG:2BDD 8D 00 20 + sta PPUCTRL ; CPU:$EBDD PRG:2BDD 8D 00 20 ; ----------------------------------------------------------------------------- -; Routine: Label_EBE0 +; Routine: SubCEBE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8681,7 +8681,7 @@ Label_EBD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE0: +SubCEBE0: rts ; CPU:$EBE0 PRG:2BE0 60 ; ---- data $EBE1-$EBF8 (24 bytes) ---- ; referenced by `lda $EBE1,y` at $EBBE (operand $EBE1 falls inside this region) @@ -8700,11 +8700,11 @@ Label_EBE0: UpdateSoundChannel9: lda Zp05 ; CPU:$EBF9 PRG:2BF9 A5 05 and #$03 ; CPU:$EBFB PRG:2BFB 29 03 - beq Label_EBE0 ; CPU:$EBFD PRG:2BFD F0 E1 + beq SubCEBE0 ; CPU:$EBFD PRG:2BFD F0 E1 tay ; CPU:$EBFF PRG:2BFF A8 dey ; CPU:$EC00 PRG:2C00 88 lda a:$00C9,y ; CPU:$EC01 PRG:2C01 B9 C9 00 - beq Label_EC4A ; CPU:$EC04 PRG:2C04 F0 44 + beq SubCEC4A ; CPU:$EC04 PRG:2C04 F0 44 sty ZpE8 ; CPU:$EC06 PRG:2C06 84 E8 tay ; CPU:$EC08 PRG:2C08 A8 lda #$10 ; CPU:$EC09 PRG:2C09 A9 10 @@ -8716,13 +8716,13 @@ UpdateSoundChannel9: asl a ; CPU:$EC14 PRG:2C14 0A adc ZpBF ; CPU:$EC15 PRG:2C15 65 BF ldx ZpE8 ; CPU:$EC17 PRG:2C17 A6 E8 - beq Label_EC22 ; CPU:$EC19 PRG:2C19 F0 07 + beq SubCEC22 ; CPU:$EC19 PRG:2C19 F0 07 adc #$09 ; CPU:$EC1B PRG:2C1B 69 09 dex ; CPU:$EC1D PRG:2C1D CA - beq Label_EC22 ; CPU:$EC1E PRG:2C1E F0 02 + beq SubCEC22 ; CPU:$EC1E PRG:2C1E F0 02 adc #$09 ; CPU:$EC20 PRG:2C20 69 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EC22 +; Routine: SubCEC22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8730,10 +8730,10 @@ UpdateSoundChannel9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC22: +SubCEC22: tax ; CPU:$EC22 PRG:2C22 AA ; ----------------------------------------------------------------------------- -; Routine: Label_EC23 +; Routine: SubCEC23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8741,15 +8741,15 @@ Label_EC22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC23: +SubCEC23: lda #$21 ; CPU:$EC23 PRG:2C23 A9 21 - sta $2006 ; CPU:$EC25 PRG:2C25 8D 06 20 + sta PPUADDR ; CPU:$EC25 PRG:2C25 8D 06 20 lda $EC65,x ; CPU:$EC28 PRG:2C28 BD 65 EC - sta $2006 ; CPU:$EC2B PRG:2C2B 8D 06 20 + sta PPUADDR ; CPU:$EC2B PRG:2C2B 8D 06 20 lda #$04 ; CPU:$EC2E PRG:2C2E A9 04 sta ZpE9 ; CPU:$EC30 PRG:2C30 85 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EC32 +; Routine: SubCEC32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8757,20 +8757,20 @@ Label_EC23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC32: +SubCEC32: lda $EC4B,y ; CPU:$EC32 PRG:2C32 B9 4B EC - sta $2007 ; CPU:$EC35 PRG:2C35 8D 07 20 + sta PPUDATA ; CPU:$EC35 PRG:2C35 8D 07 20 iny ; CPU:$EC38 PRG:2C38 C8 dec ZpE9 ; CPU:$EC39 PRG:2C39 C6 E9 - bne Label_EC32 ; CPU:$EC3B PRG:2C3B D0 F5 + bne SubCEC32 ; CPU:$EC3B PRG:2C3B D0 F5 inx ; CPU:$EC3D PRG:2C3D E8 dec ZpEA ; CPU:$EC3E PRG:2C3E C6 EA - bne Label_EC23 ; CPU:$EC40 PRG:2C40 D0 E1 + bne SubCEC23 ; CPU:$EC40 PRG:2C40 D0 E1 lda $EC4B,y ; CPU:$EC42 PRG:2C42 B9 4B EC ldy ZpE8 ; CPU:$EC45 PRG:2C45 A4 E8 sta a:$00C9,y ; CPU:$EC47 PRG:2C47 99 C9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC4A +; Routine: SubCEC4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8778,7 +8778,7 @@ Label_EC32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC4A: +SubCEC4A: rts ; CPU:$EC4A PRG:2C4A 60 ; ---- data $EC4B-$EC7F (53 bytes) ---- ; referenced by `lda $EC65,x` at $EC28 (operand $EC65 falls inside this region) @@ -8799,11 +8799,11 @@ Label_EC4A: ; ----------------------------------------------------------------------------- UpdateMusic2: lda ZpCC ; CPU:$EC80 PRG:2C80 A5 CC - beq Label_EC88 ; CPU:$EC82 PRG:2C82 F0 04 + beq SubCEC88 ; CPU:$EC82 PRG:2C82 F0 04 lda #$08 ; CPU:$EC84 PRG:2C84 A9 08 sta ZpFE ; CPU:$EC86 PRG:2C86 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_EC88 +; Routine: SubCEC88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8811,7 +8811,7 @@ UpdateMusic2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC88: +SubCEC88: lda #$00 ; CPU:$EC88 PRG:2C88 A9 00 sta ZpCC ; CPU:$EC8A PRG:2C8A 85 CC rts ; CPU:$EC8C PRG:2C8C 60 @@ -8827,10 +8827,10 @@ Label_EC88: UpdateMusicChannel10: lda Zp05 ; CPU:$EC8D PRG:2C8D A5 05 and #$03 ; CPU:$EC8F PRG:2C8F 29 03 - beq Label_EC94 ; CPU:$EC91 PRG:2C91 F0 01 + beq SubCEC94 ; CPU:$EC91 PRG:2C91 F0 01 rts ; CPU:$EC93 PRG:2C93 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC94 +; Routine: SubCEC94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8838,22 +8838,22 @@ UpdateMusicChannel10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC94: +SubCEC94: lda ZpEE ; CPU:$EC94 PRG:2C94 A5 EE sta $02F7 ; CPU:$EC96 PRG:2C96 8D F7 02 clc ; CPU:$EC99 PRG:2C99 18 adc #$08 ; CPU:$EC9A PRG:2C9A 69 08 sta $02FB ; CPU:$EC9C PRG:2C9C 8D FB 02 lda ZpEF ; CPU:$EC9F PRG:2C9F A5 EF - beq Label_ECAF ; CPU:$ECA1 PRG:2CA1 F0 0C + beq SubCECAF ; CPU:$ECA1 PRG:2CA1 F0 0C inc ZpEE ; CPU:$ECA3 PRG:2CA3 E6 EE lda ZpEE ; CPU:$ECA5 PRG:2CA5 A5 EE cmp #$A0 ; CPU:$ECA7 PRG:2CA7 C9 A0 - bcc Label_ECAF ; CPU:$ECA9 PRG:2CA9 90 04 + bcc SubCECAF ; CPU:$ECA9 PRG:2CA9 90 04 lda #$00 ; CPU:$ECAB PRG:2CAB A9 00 sta ZpEF ; CPU:$ECAD PRG:2CAD 85 EF ; ----------------------------------------------------------------------------- -; Routine: Label_ECAF +; Routine: SubCECAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8861,20 +8861,20 @@ Label_EC94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECAF: +SubCECAF: lda ZpEF ; CPU:$ECAF PRG:2CAF A5 EF - bne Label_ECC5 ; CPU:$ECB1 PRG:2CB1 D0 12 + bne SubCECC5 ; CPU:$ECB1 PRG:2CB1 D0 12 lda #$00 ; CPU:$ECB3 PRG:2CB3 A9 00 sta ZpEF ; CPU:$ECB5 PRG:2CB5 85 EF dec ZpEE ; CPU:$ECB7 PRG:2CB7 C6 EE lda ZpEE ; CPU:$ECB9 PRG:2CB9 A5 EE cmp #$74 ; CPU:$ECBB PRG:2CBB C9 74 - bcs Label_ECC5 ; CPU:$ECBD PRG:2CBD B0 06 + bcs SubCECC5 ; CPU:$ECBD PRG:2CBD B0 06 inc ZpEE ; CPU:$ECBF PRG:2CBF E6 EE lda #$03 ; CPU:$ECC1 PRG:2CC1 A9 03 sta ZpEF ; CPU:$ECC3 PRG:2CC3 85 EF ; ----------------------------------------------------------------------------- -; Routine: Label_ECC5 +; Routine: SubCECC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8882,11 +8882,11 @@ Label_ECAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC5: +SubCECC5: ldx #$07 ; CPU:$ECC5 PRG:2CC5 A2 07 lda #$24 ; CPU:$ECC7 PRG:2CC7 A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC9 +; Routine: SubCECC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8894,10 +8894,10 @@ Label_ECC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC9: +SubCECC9: sta $062E,x ; CPU:$ECC9 PRG:2CC9 9D 2E 06 dex ; CPU:$ECCC PRG:2CCC CA - bpl Label_ECC9 ; CPU:$ECCD PRG:2CCD 10 FA + bpl SubCECC9 ; CPU:$ECCD PRG:2CCD 10 FA ldx ZpEE ; CPU:$ECCF PRG:2CCF A6 EE inx ; CPU:$ECD1 PRG:2CD1 E8 txa ; CPU:$ECD2 PRG:2CD2 8A @@ -8935,7 +8935,7 @@ UpdateMusicChannel11: lda $EDAE,x ; CPU:$ED08 PRG:2D08 BD AE ED tax ; CPU:$ED0B PRG:2D0B AA ; ----------------------------------------------------------------------------- -; Routine: Label_ED0C +; Routine: SubCED0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8943,16 +8943,16 @@ UpdateMusicChannel11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED0C: +SubCED0C: lda $ED2E,x ; CPU:$ED0C PRG:2D0C BD 2E ED - sta $2006 ; CPU:$ED0F PRG:2D0F 8D 06 20 + sta PPUADDR ; CPU:$ED0F PRG:2D0F 8D 06 20 lda $ED3E,x ; CPU:$ED12 PRG:2D12 BD 3E ED - sta $2006 ; CPU:$ED15 PRG:2D15 8D 06 20 + sta PPUADDR ; CPU:$ED15 PRG:2D15 8D 06 20 ldy $ED9E,x ; CPU:$ED18 PRG:2D18 BC 9E ED lda #$08 ; CPU:$ED1B PRG:2D1B A9 08 sta ZpE3 ; CPU:$ED1D PRG:2D1D 85 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_ED1F +; Routine: SubCED1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8960,14 +8960,14 @@ Label_ED0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED1F: +SubCED1F: lda $ED4E,y ; CPU:$ED1F PRG:2D1F B9 4E ED - sta $2007 ; CPU:$ED22 PRG:2D22 8D 07 20 + sta PPUDATA ; CPU:$ED22 PRG:2D22 8D 07 20 dey ; CPU:$ED25 PRG:2D25 88 dec ZpE3 ; CPU:$ED26 PRG:2D26 C6 E3 - bpl Label_ED1F ; CPU:$ED28 PRG:2D28 10 F5 + bpl SubCED1F ; CPU:$ED28 PRG:2D28 10 F5 dex ; CPU:$ED2A PRG:2D2A CA - bpl Label_ED0C ; CPU:$ED2B PRG:2D2B 10 DF + bpl SubCED0C ; CPU:$ED2B PRG:2D2B 10 DF rts ; CPU:$ED2D PRG:2D2D 60 ; ---- data $ED2E-$EDAF (130 bytes) ---- ; referenced by `lda $EDAE,x` at $ED08 (operand $EDAE falls inside this region) @@ -8995,10 +8995,10 @@ Label_ED1F: ; ----------------------------------------------------------------------------- UpdateMusicChannel12: lda $0135 ; CPU:$EDB0 PRG:2DB0 AD 35 01 - bne Label_EDB6 ; CPU:$EDB3 PRG:2DB3 D0 01 + bne SubCEDB6 ; CPU:$EDB3 PRG:2DB3 D0 01 rts ; CPU:$EDB5 PRG:2DB5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDB6 +; Routine: SubCEDB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9006,19 +9006,19 @@ UpdateMusicChannel12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDB6: +SubCEDB6: dec $0135 ; CPU:$EDB6 PRG:2DB6 CE 35 01 ldy ZpBE ; CPU:$EDB9 PRG:2DB9 A4 BE ldx #$22 ; CPU:$EDBB PRG:2DBB A2 22 lda #$2E ; CPU:$EDBD PRG:2DBD A9 2E - jsr $E0EF ; CPU:$EDBF PRG:2DBF 20 EF E0 + jsr WritePPU ; CPU:$EDBF PRG:2DBF 20 EF E0 lda $0135 ; CPU:$EDC2 PRG:2DC2 AD 35 01 and #$20 ; CPU:$EDC5 PRG:2DC5 29 20 - bne Label_EDD4 ; CPU:$EDC7 PRG:2DC7 D0 0B + bne SubCEDD4 ; CPU:$EDC7 PRG:2DC7 D0 0B ldx #$08 ; CPU:$EDC9 PRG:2DC9 A2 08 lda #$24 ; CPU:$EDCB PRG:2DCB A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EDCD +; Routine: SubCEDCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9026,13 +9026,13 @@ Label_EDB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDCD: - sta $2007 ; CPU:$EDCD PRG:2DCD 8D 07 20 +SubCEDCD: + sta PPUDATA ; CPU:$EDCD PRG:2DCD 8D 07 20 dex ; CPU:$EDD0 PRG:2DD0 CA - bne Label_EDCD ; CPU:$EDD1 PRG:2DD1 D0 FA + bne SubCEDCD ; CPU:$EDD1 PRG:2DD1 D0 FA rts ; CPU:$EDD3 PRG:2DD3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD4 +; Routine: SubCEDD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9040,10 +9040,10 @@ Label_EDCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD4: +SubCEDD4: ldx #$06 ; CPU:$EDD4 PRG:2DD4 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD6 +; Routine: SubCEDD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9051,14 +9051,14 @@ Label_EDD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD6: +SubCEDD6: lda $EDE6,x ; CPU:$EDD6 PRG:2DD6 BD E6 ED - sta $2007 ; CPU:$EDD9 PRG:2DD9 8D 07 20 + sta PPUDATA ; CPU:$EDD9 PRG:2DD9 8D 07 20 dex ; CPU:$EDDC PRG:2DDC CA - bpl Label_EDD6 ; CPU:$EDDD PRG:2DDD 10 F7 + bpl SubCEDD6 ; CPU:$EDDD PRG:2DDD 10 F7 ldx ZpBE ; CPU:$EDDF PRG:2DDF A6 BE inx ; CPU:$EDE1 PRG:2DE1 E8 - stx $2007 ; CPU:$EDE2 PRG:2DE2 8E 07 20 + stx PPUDATA ; CPU:$EDE2 PRG:2DE2 8E 07 20 rts ; CPU:$EDE5 PRG:2DE5 60 ; ---- data $EDE6-$EDEC (7 bytes) ---- ; referenced by `lda $EDE6,x` at $EDD6 (operand $EDE6 falls inside this region) @@ -9074,7 +9074,7 @@ Label_EDD6: ; ----------------------------------------------------------------------------- UpdateMusicChannel13: lda $0156 ; CPU:$EDED PRG:2DED AD 56 01 - beq Label_EE2B ; CPU:$EDF0 PRG:2DF0 F0 39 + beq SubCEE2B ; CPU:$EDF0 PRG:2DF0 F0 39 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -9090,12 +9090,12 @@ UpdateMusicChannel14: ldy ZpBE ; CPU:$EDF7 PRG:2DF7 A4 BE ldx $EE37,y ; CPU:$EDF9 PRG:2DF9 BE 37 EE lda $EE39,y ; CPU:$EDFC PRG:2DFC B9 39 EE - jsr $E0EF ; CPU:$EDFF PRG:2DFF 20 EF E0 + jsr WritePPU ; CPU:$EDFF PRG:2DFF 20 EF E0 ldx #$05 ; CPU:$EE02 PRG:2E02 A2 05 lda $EE3B,y ; CPU:$EE04 PRG:2E04 B9 3B EE tay ; CPU:$EE07 PRG:2E07 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_EE08 +; Routine: SubCEE08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9103,21 +9103,21 @@ UpdateMusicChannel14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE08: +SubCEE08: lda $0100,y ; CPU:$EE08 PRG:2E08 B9 00 01 - sta $2007 ; CPU:$EE0B PRG:2E0B 8D 07 20 + sta PPUDATA ; CPU:$EE0B PRG:2E0B 8D 07 20 iny ; CPU:$EE0E PRG:2E0E C8 dex ; CPU:$EE0F PRG:2E0F CA - bne Label_EE08 ; CPU:$EE10 PRG:2E10 D0 F6 + bne SubCEE08 ; CPU:$EE10 PRG:2E10 D0 F6 ldx #$20 ; CPU:$EE12 PRG:2E12 A2 20 lda #$C2 ; CPU:$EE14 PRG:2E14 A9 C2 - jsr $E0EF ; CPU:$EE16 PRG:2E16 20 EF E0 + jsr WritePPU ; CPU:$EE16 PRG:2E16 20 EF E0 ldx ZpBC ; CPU:$EE19 PRG:2E19 A6 BC lda $EE3B,x ; CPU:$EE1B PRG:2E1B BD 3B EE tax ; CPU:$EE1E PRG:2E1E AA ldy #$05 ; CPU:$EE1F PRG:2E1F A0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EE21 +; Routine: SubCEE21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9125,14 +9125,14 @@ Label_EE08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE21: +SubCEE21: lda $010E,x ; CPU:$EE21 PRG:2E21 BD 0E 01 - sta $2007 ; CPU:$EE24 PRG:2E24 8D 07 20 + sta PPUDATA ; CPU:$EE24 PRG:2E24 8D 07 20 inx ; CPU:$EE27 PRG:2E27 E8 dey ; CPU:$EE28 PRG:2E28 88 - bne Label_EE21 ; CPU:$EE29 PRG:2E29 D0 F6 + bne SubCEE21 ; CPU:$EE29 PRG:2E29 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2B +; Routine: SubCEE2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9140,12 +9140,12 @@ Label_EE21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2B: +SubCEE2B: ldx ZpBE ; CPU:$EE2B PRG:2E2B A6 BE ldy $0151,x ; CPU:$EE2D PRG:2E2D BC 51 01 ldx #$23 ; CPU:$EE30 PRG:2E30 A2 23 lda #$07 ; CPU:$EE32 PRG:2E32 A9 07 - jmp $E0F6 ; CPU:$EE34 PRG:2E34 4C F6 E0 + jmp WritePPU2 ; CPU:$EE34 PRG:2E34 4C F6 E0 ; ---- data $EE37-$EE3C (6 bytes) ---- ; referenced by `ldx $EE37,y` at $EDF9 (operand $EE37 falls inside this region) ; referenced by `lda $EE39,y` at $EDFC (operand $EE39 falls inside this region) @@ -9166,10 +9166,10 @@ Label_EE2B: ; ----------------------------------------------------------------------------- UpdateMusicChannel15: ldx Zp04 ; CPU:$EE3D PRG:2E3D A6 04 - beq Label_EE42 ; CPU:$EE3F PRG:2E3F F0 01 + beq SubCEE42 ; CPU:$EE3F PRG:2E3F F0 01 rts ; CPU:$EE41 PRG:2E41 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE42 +; Routine: SubCEE42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9177,11 +9177,11 @@ UpdateMusicChannel15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE42: +SubCEE42: inc $0156 ; CPU:$EE42 PRG:2E42 EE 56 01 ldx $014B ; CPU:$EE45 PRG:2E45 AE 4B 01 beq UpdateMusicChannel16 ; CPU:$EE48 PRG:2E48 F0 03 - jsr $EE4D ; CPU:$EE4A PRG:2E4A 20 4D EE + jsr UpdateMusicChannel16 ; CPU:$EE4A PRG:2E4A 20 4D EE ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -9201,7 +9201,7 @@ UpdateMusicChannel16: lda #$05 ; CPU:$EE57 PRG:2E57 A9 05 sta ZpEB ; CPU:$EE59 PRG:2E59 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EE5B +; Routine: SubCEE5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9209,14 +9209,14 @@ UpdateMusicChannel16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE5B: +SubCEE5B: lda $0100,y ; CPU:$EE5B PRG:2E5B B9 00 01 adc $EEDD,x ; CPU:$EE5E PRG:2E5E 7D DD EE cmp #$0A ; CPU:$EE61 PRG:2E61 C9 0A - bcc Label_EE67 ; CPU:$EE63 PRG:2E63 90 02 + bcc SubCEE67 ; CPU:$EE63 PRG:2E63 90 02 sbc #$0A ; CPU:$EE65 PRG:2E65 E9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_EE67 +; Routine: SubCEE67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9224,25 +9224,25 @@ Label_EE5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE67: +SubCEE67: sta $0100,y ; CPU:$EE67 PRG:2E67 99 00 01 dey ; CPU:$EE6A PRG:2E6A 88 dex ; CPU:$EE6B PRG:2E6B CA dec ZpEB ; CPU:$EE6C PRG:2E6C C6 EB - bne Label_EE5B ; CPU:$EE6E PRG:2E6E D0 EB + bne SubCEE5B ; CPU:$EE6E PRG:2E6E D0 EB lda #$00 ; CPU:$EE70 PRG:2E70 A9 00 sta $014A ; CPU:$EE72 PRG:2E72 8D 4A 01 ldx ZpBE ; CPU:$EE75 PRG:2E75 A6 BE ldy $EE3B,x ; CPU:$EE77 PRG:2E77 BC 3B EE lda $0100,y ; CPU:$EE7A PRG:2E7A B9 00 01 cmp #$01 ; CPU:$EE7D PRG:2E7D C9 01 - bne Label_EE8B ; CPU:$EE7F PRG:2E7F D0 0A + bne SubCEE8B ; CPU:$EE7F PRG:2E7F D0 0A lda $0101,y ; CPU:$EE81 PRG:2E81 B9 01 01 cmp #$05 ; CPU:$EE84 PRG:2E84 C9 05 - bcs Label_EE8B ; CPU:$EE86 PRG:2E86 B0 03 + bcs SubCEE8B ; CPU:$EE86 PRG:2E86 B0 03 inc $014A ; CPU:$EE88 PRG:2E88 EE 4A 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EE8B +; Routine: SubCEE8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9250,16 +9250,16 @@ Label_EE67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE8B: +SubCEE8B: lda $010A,x ; CPU:$EE8B PRG:2E8B BD 0A 01 - bne Label_EE9D ; CPU:$EE8E PRG:2E8E D0 0D + bne SubCEE9D ; CPU:$EE8E PRG:2E8E D0 0D lda $0101,y ; CPU:$EE90 PRG:2E90 B9 01 01 cmp #$05 ; CPU:$EE93 PRG:2E93 C9 05 - bcc Label_EE9D ; CPU:$EE95 PRG:2E95 90 06 + bcc SubCEE9D ; CPU:$EE95 PRG:2E95 90 06 inc $010A,x ; CPU:$EE97 PRG:2E97 FE 0A 01 inc $0151,x ; CPU:$EE9A PRG:2E9A FE 51 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EE9D +; Routine: SubCEE9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9267,7 +9267,7 @@ Label_EE8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE9D: +SubCEE9D: ldx ZpBE ; CPU:$EE9D PRG:2E9D A6 BE ldy $EE3B,x ; CPU:$EE9F PRG:2E9F BC 3B EE ldx ZpBC ; CPU:$EEA2 PRG:2EA2 A6 BC @@ -9276,7 +9276,7 @@ Label_EE9D: lda #$05 ; CPU:$EEA8 PRG:2EA8 A9 05 sta ZpEB ; CPU:$EEAA PRG:2EAA 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EEAC +; Routine: SubCEEAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9284,17 +9284,17 @@ Label_EE9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEAC: +SubCEEAC: lda $010E,x ; CPU:$EEAC PRG:2EAC BD 0E 01 cmp $0100,y ; CPU:$EEAF PRG:2EAF D9 00 01 - bcc Label_EEBE ; CPU:$EEB2 PRG:2EB2 90 0A - bne Label_EEBC ; CPU:$EEB4 PRG:2EB4 D0 06 + bcc SubCEEBE ; CPU:$EEB2 PRG:2EB2 90 0A + bne SubCEEBC ; CPU:$EEB4 PRG:2EB4 D0 06 inx ; CPU:$EEB6 PRG:2EB6 E8 iny ; CPU:$EEB7 PRG:2EB7 C8 dec ZpEB ; CPU:$EEB8 PRG:2EB8 C6 EB - bne Label_EEAC ; CPU:$EEBA PRG:2EBA D0 F0 + bne SubCEEAC ; CPU:$EEBA PRG:2EBA D0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_EEBC +; Routine: SubCEEBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9302,11 +9302,11 @@ Label_EEAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEBC: +SubCEEBC: pla ; CPU:$EEBC PRG:2EBC 68 rts ; CPU:$EEBD PRG:2EBD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EEBE +; Routine: SubCEEBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9314,7 +9314,7 @@ Label_EEBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEBE: +SubCEEBE: ldx ZpBE ; CPU:$EEBE PRG:2EBE A6 BE ldy $EE3B,x ; CPU:$EEC0 PRG:2EC0 BC 3B EE ldx ZpBC ; CPU:$EEC3 PRG:2EC3 A6 BC @@ -9323,7 +9323,7 @@ Label_EEBE: lda #$05 ; CPU:$EEC9 PRG:2EC9 A9 05 sta ZpEB ; CPU:$EECB PRG:2ECB 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EECD +; Routine: SubCEECD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9331,13 +9331,13 @@ Label_EEBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECD: +SubCEECD: lda $0100,y ; CPU:$EECD PRG:2ECD B9 00 01 sta $010E,x ; CPU:$EED0 PRG:2ED0 9D 0E 01 inx ; CPU:$EED3 PRG:2ED3 E8 iny ; CPU:$EED4 PRG:2ED4 C8 dec ZpEB ; CPU:$EED5 PRG:2ED5 C6 EB - bne Label_EECD ; CPU:$EED7 PRG:2ED7 D0 F4 + bne SubCEECD ; CPU:$EED7 PRG:2ED7 D0 F4 pla ; CPU:$EED9 PRG:2ED9 68 rts ; CPU:$EEDA PRG:2EDA 60 ; ---- data $EEDB-$EF27 (77 bytes) ---- @@ -9359,11 +9359,11 @@ Label_EECD: ; ----------------------------------------------------------------------------- UpdateMusicChannel17: ldx ZpBF ; CPU:$EF28 PRG:2F28 A6 BF - beq Label_EF60 ; CPU:$EF2A PRG:2F2A F0 34 + beq SubCEF60 ; CPU:$EF2A PRG:2F2A F0 34 dex ; CPU:$EF2C PRG:2F2C CA - beq Label_EF34 ; CPU:$EF2D PRG:2F2D F0 05 + beq SubCEF34 ; CPU:$EF2D PRG:2F2D F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EF2F +; Routine: SubCEF2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9371,12 +9371,12 @@ UpdateMusicChannel17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF2F: +SubCEF2F: lda #$00 ; CPU:$EF2F PRG:2F2F A9 00 sta ZpD3 ; CPU:$EF31 PRG:2F31 85 D3 rts ; CPU:$EF33 PRG:2F33 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF34 +; Routine: SubCEF34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9384,18 +9384,18 @@ Label_EF2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF34: +SubCEF34: lda ZpD3 ; CPU:$EF34 PRG:2F34 A5 D3 - beq Label_EF2F ; CPU:$EF36 PRG:2F36 F0 F7 + beq SubCEF2F ; CPU:$EF36 PRG:2F36 F0 F7 ldx #$08 ; CPU:$EF38 PRG:2F38 A2 08 stx ZpFF ; CPU:$EF3A PRG:2F3A 86 FF ora $0128 ; CPU:$EF3C PRG:2F3C 0D 28 01 cmp $0128 ; CPU:$EF3F PRG:2F3F CD 28 01 - beq Label_EF2F ; CPU:$EF42 PRG:2F42 F0 EB + beq SubCEF2F ; CPU:$EF42 PRG:2F42 F0 EB sta $0128 ; CPU:$EF44 PRG:2F44 8D 28 01 ldx #$00 ; CPU:$EF47 PRG:2F47 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF49 +; Routine: SubCEF49 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9403,13 +9403,13 @@ Label_EF34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF49: +SubCEF49: asl ZpD3 ; CPU:$EF49 PRG:2F49 06 D3 - bcs Label_EF50 ; CPU:$EF4B PRG:2F4B B0 03 + bcs SubCEF50 ; CPU:$EF4B PRG:2F4B B0 03 inx ; CPU:$EF4D PRG:2F4D E8 - bne Label_EF49 ; CPU:$EF4E PRG:2F4E D0 F9 + bne SubCEF49 ; CPU:$EF4E PRG:2F4E D0 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_EF50 +; Routine: SubCEF50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9417,15 +9417,15 @@ Label_EF49: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF50: - jsr $EF79 ; CPU:$EF50 PRG:2F50 20 79 EF +SubCEF50: + jsr UpdateMusicChannel18 ; CPU:$EF50 PRG:2F50 20 79 EF lda $0128 ; CPU:$EF53 PRG:2F53 AD 28 01 cmp #$F8 ; CPU:$EF56 PRG:2F56 C9 F8 - bne Label_EF5F ; CPU:$EF58 PRG:2F58 D0 05 + bne SubCEF5F ; CPU:$EF58 PRG:2F58 D0 05 inc ZpF0 ; CPU:$EF5A PRG:2F5A E6 F0 inc $0133 ; CPU:$EF5C PRG:2F5C EE 33 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EF5F +; Routine: SubCEF5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9433,10 +9433,10 @@ Label_EF50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF5F: +SubCEF5F: rts ; CPU:$EF5F PRG:2F5F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF60 +; Routine: SubCEF60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9444,18 +9444,18 @@ Label_EF5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF60: +SubCEF60: lda ZpD3 ; CPU:$EF60 PRG:2F60 A5 D3 - beq Label_EF5F ; CPU:$EF62 PRG:2F62 F0 FB + beq SubCEF5F ; CPU:$EF62 PRG:2F62 F0 FB lda #$00 ; CPU:$EF64 PRG:2F64 A9 00 sta ZpD3 ; CPU:$EF66 PRG:2F66 85 D3 lda #$08 ; CPU:$EF68 PRG:2F68 A9 08 sta ZpFF ; CPU:$EF6A PRG:2F6A 85 FF ldx $0130 ; CPU:$EF6C PRG:2F6C AE 30 01 cpx #$F0 ; CPU:$EF6F PRG:2F6F E0 F0 - bne Label_EF5F ; CPU:$EF71 PRG:2F71 D0 EC + bne SubCEF5F ; CPU:$EF71 PRG:2F71 D0 EC sta $0130 ; CPU:$EF73 PRG:2F73 8D 30 01 - jmp $F03F ; CPU:$EF76 PRG:2F76 4C 3F F0 + jmp UpdateMusicChannel21 ; CPU:$EF76 PRG:2F76 4C 3F F0 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -9467,29 +9467,29 @@ Label_EF60: ; ----------------------------------------------------------------------------- UpdateMusicChannel18: lda #$20 ; CPU:$EF79 PRG:2F79 A9 20 - sta $2006 ; CPU:$EF7B PRG:2F7B 8D 06 20 + sta PPUADDR ; CPU:$EF7B PRG:2F7B 8D 06 20 lda $EFBA,x ; CPU:$EF7E PRG:2F7E BD BA EF - sta $2006 ; CPU:$EF81 PRG:2F81 8D 06 20 + sta PPUADDR ; CPU:$EF81 PRG:2F81 8D 06 20 lda $EFC9,x ; CPU:$EF84 PRG:2F84 BD C9 EF - sta $2007 ; CPU:$EF87 PRG:2F87 8D 07 20 + sta PPUDATA ; CPU:$EF87 PRG:2F87 8D 07 20 lda #$A7 ; CPU:$EF8A PRG:2F8A A9 A7 - sta $2007 ; CPU:$EF8C PRG:2F8C 8D 07 20 + sta PPUDATA ; CPU:$EF8C PRG:2F8C 8D 07 20 lda #$20 ; CPU:$EF8F PRG:2F8F A9 20 - sta $2006 ; CPU:$EF91 PRG:2F91 8D 06 20 + sta PPUADDR ; CPU:$EF91 PRG:2F91 8D 06 20 lda $EFBF,x ; CPU:$EF94 PRG:2F94 BD BF EF - sta $2006 ; CPU:$EF97 PRG:2F97 8D 06 20 + sta PPUADDR ; CPU:$EF97 PRG:2F97 8D 06 20 ldy #$AC ; CPU:$EF9A PRG:2F9A A0 AC - sty $2007 ; CPU:$EF9C PRG:2F9C 8C 07 20 + sty PPUDATA ; CPU:$EF9C PRG:2F9C 8C 07 20 iny ; CPU:$EF9F PRG:2F9F C8 - sty $2007 ; CPU:$EFA0 PRG:2FA0 8C 07 20 + sty PPUDATA ; CPU:$EFA0 PRG:2FA0 8C 07 20 lda #$20 ; CPU:$EFA3 PRG:2FA3 A9 20 - sta $2006 ; CPU:$EFA5 PRG:2FA5 8D 06 20 + sta PPUADDR ; CPU:$EFA5 PRG:2FA5 8D 06 20 lda $EFC4,x ; CPU:$EFA8 PRG:2FA8 BD C4 EF - sta $2006 ; CPU:$EFAB PRG:2FAB 8D 06 20 + sta PPUADDR ; CPU:$EFAB PRG:2FAB 8D 06 20 lda #$B0 ; CPU:$EFAE PRG:2FAE A9 B0 - sta $2007 ; CPU:$EFB0 PRG:2FB0 8D 07 20 + sta PPUDATA ; CPU:$EFB0 PRG:2FB0 8D 07 20 lda $EFCE,x ; CPU:$EFB3 PRG:2FB3 BD CE EF - sta $2007 ; CPU:$EFB6 PRG:2FB6 8D 07 20 + sta PPUDATA ; CPU:$EFB6 PRG:2FB6 8D 07 20 rts ; CPU:$EFB9 PRG:2FB9 60 ; ---- data $EFBA-$EFD2 (25 bytes) ---- ; referenced by `lda $EFBA,x` at $EF7E (operand $EFBA falls inside this region) @@ -9510,10 +9510,10 @@ UpdateMusicChannel18: ; ----------------------------------------------------------------------------- UpdateMusicChannel19: lda ZpCE ; CPU:$EFD3 PRG:2FD3 A5 CE - bne Label_EFD8 ; CPU:$EFD5 PRG:2FD5 D0 01 + bne SubCEFD8 ; CPU:$EFD5 PRG:2FD5 D0 01 rts ; CPU:$EFD7 PRG:2FD7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFD8 +; Routine: SubCEFD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9521,7 +9521,7 @@ UpdateMusicChannel19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD8: +SubCEFD8: lda #$04 ; CPU:$EFD8 PRG:2FD8 A9 04 sta ZpFF ; CPU:$EFDA PRG:2FDA 85 FF ; ----------------------------------------------------------------------------- @@ -9540,16 +9540,16 @@ UpdateMusicChannel20: sta $0130,x ; CPU:$EFE3 PRG:2FE3 9D 30 01 sta ZpE8 ; CPU:$EFE6 PRG:2FE6 85 E8 txa ; CPU:$EFE8 PRG:2FE8 8A - bne Label_F013 ; CPU:$EFE9 PRG:2FE9 D0 28 + bne SubCF013 ; CPU:$EFE9 PRG:2FE9 D0 28 lda Zp00 ; CPU:$EFEB PRG:2FEB A5 00 ora #$04 ; CPU:$EFED PRG:2FED 09 04 - sta $2000 ; CPU:$EFEF PRG:2FEF 8D 00 20 + sta PPUCTRL ; CPU:$EFEF PRG:2FEF 8D 00 20 ldx #$22 ; CPU:$EFF2 PRG:2FF2 A2 22 lda #$0B ; CPU:$EFF4 PRG:2FF4 A9 0B - jsr $E0EF ; CPU:$EFF6 PRG:2FF6 20 EF E0 + jsr WritePPU ; CPU:$EFF6 PRG:2FF6 20 EF E0 ldx #$04 ; CPU:$EFF9 PRG:2FF9 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EFFB +; Routine: SubCEFFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9557,13 +9557,13 @@ UpdateMusicChannel20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFFB: +SubCEFFB: lda #$24 ; CPU:$EFFB PRG:2FFB A9 24 asl ZpE8 ; CPU:$EFFD PRG:2FFD 06 E8 - bcs Label_F003 ; CPU:$EFFF PRG:2FFF B0 02 + bcs SubCF003 ; CPU:$EFFF PRG:2FFF B0 02 lda #$8B ; CPU:$F001 PRG:3001 A9 8B ; ----------------------------------------------------------------------------- -; Routine: Label_F003 +; Routine: SubCF003 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9571,17 +9571,17 @@ Label_EFFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F003: - sta $2007 ; CPU:$F003 PRG:3003 8D 07 20 +SubCF003: + sta PPUDATA ; CPU:$F003 PRG:3003 8D 07 20 dex ; CPU:$F006 PRG:3006 CA - bne Label_EFFB ; CPU:$F007 PRG:3007 D0 F2 + bne SubCEFFB ; CPU:$F007 PRG:3007 D0 F2 lda #$00 ; CPU:$F009 PRG:3009 A9 00 sta ZpCE ; CPU:$F00B PRG:300B 85 CE lda Zp00 ; CPU:$F00D PRG:300D A5 00 - sta $2000 ; CPU:$F00F PRG:300F 8D 00 20 + sta PPUCTRL ; CPU:$F00F PRG:300F 8D 00 20 rts ; CPU:$F012 PRG:3012 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F013 +; Routine: SubCF013 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9589,10 +9589,10 @@ Label_F003: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F013: +SubCF013: ldx #$00 ; CPU:$F013 PRG:3013 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F015 +; Routine: SubCF015 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9600,14 +9600,14 @@ Label_F013: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F015: +SubCF015: asl ZpE8 ; CPU:$F015 PRG:3015 06 E8 - bcc Label_F021 ; CPU:$F017 PRG:3017 90 08 + bcc SubCF021 ; CPU:$F017 PRG:3017 90 08 lda #$F0 ; CPU:$F019 PRG:3019 A9 F0 sta $0290,x ; CPU:$F01B PRG:301B 9D 90 02 sta $02AC,x ; CPU:$F01E PRG:301E 9D AC 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F021 +; Routine: SubCF021 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9615,22 +9615,22 @@ Label_F015: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F021: +SubCF021: inx ; CPU:$F021 PRG:3021 E8 inx ; CPU:$F022 PRG:3022 E8 inx ; CPU:$F023 PRG:3023 E8 inx ; CPU:$F024 PRG:3024 E8 cpx #$1C ; CPU:$F025 PRG:3025 E0 1C - bne Label_F015 ; CPU:$F027 PRG:3027 D0 EC + bne SubCF015 ; CPU:$F027 PRG:3027 D0 EC lda ZpCE ; CPU:$F029 PRG:3029 A5 CE - beq Label_F03A ; CPU:$F02B PRG:302B F0 0D + beq SubCF03A ; CPU:$F02B PRG:302B F0 0D lda $0131 ; CPU:$F02D PRG:302D AD 31 01 cmp #$FE ; CPU:$F030 PRG:3030 C9 FE - bne Label_F03A ; CPU:$F032 PRG:3032 D0 06 + bne SubCF03A ; CPU:$F032 PRG:3032 D0 06 inc $012C ; CPU:$F034 PRG:3034 EE 2C 01 inc $012B ; CPU:$F037 PRG:3037 EE 2B 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F03A +; Routine: SubCF03A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9638,7 +9638,7 @@ Label_F021: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F03A: +SubCF03A: lda #$00 ; CPU:$F03A PRG:303A A9 00 sta ZpCE ; CPU:$F03C PRG:303C 85 CE rts ; CPU:$F03E PRG:303E 60 @@ -9654,7 +9654,7 @@ Label_F03A: UpdateMusicChannel21: ldx ZpBF ; CPU:$F03F PRG:303F A6 BF cpx #$02 ; CPU:$F041 PRG:3041 E0 02 - beq Label_F03A ; CPU:$F043 PRG:3043 F0 F5 + beq SubCF03A ; CPU:$F043 PRG:3043 F0 F5 lda $E2C4,x ; CPU:$F045 PRG:3045 BD C4 E2 sta ZpDB ; CPU:$F048 PRG:3048 85 DB lda $E2C6,x ; CPU:$F04A PRG:304A BD C6 E2 @@ -9665,7 +9665,7 @@ UpdateMusicChannel21: tax ; CPU:$F057 PRG:3057 AA ldy #$00 ; CPU:$F058 PRG:3058 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F05A +; Routine: SubCF05A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9673,13 +9673,13 @@ UpdateMusicChannel21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F05A: +SubCF05A: lda #$24 ; CPU:$F05A PRG:305A A9 24 asl ZpE3 ; CPU:$F05C PRG:305C 06 E3 - bcs Label_F062 ; CPU:$F05E PRG:305E B0 02 + bcs SubCF062 ; CPU:$F05E PRG:305E B0 02 lda #$8B ; CPU:$F060 PRG:3060 A9 8B ; ----------------------------------------------------------------------------- -; Routine: Label_F062 +; Routine: SubCF062 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9687,15 +9687,15 @@ Label_F05A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F062: +SubCF062: sta (ZpDB),y ; CPU:$F062 PRG:3062 91 DB tya ; CPU:$F064 PRG:3064 98 clc ; CPU:$F065 PRG:3065 18 adc #$20 ; CPU:$F066 PRG:3066 69 20 tay ; CPU:$F068 PRG:3068 A8 dex ; CPU:$F069 PRG:3069 CA - bne Label_F05A ; CPU:$F06A PRG:306A D0 EE - jmp $EFDC ; CPU:$F06C PRG:306C 4C DC EF + bne SubCF05A ; CPU:$F06A PRG:306A D0 EE + jmp UpdateMusicChannel20 ; CPU:$F06C PRG:306C 4C DC EF ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -9708,10 +9708,10 @@ Label_F062: UpdateMusicChannel22: lda Zp05 ; CPU:$F06F PRG:306F A5 05 and #$03 ; CPU:$F071 PRG:3071 29 03 - beq Label_F076 ; CPU:$F073 PRG:3073 F0 01 + beq SubCF076 ; CPU:$F073 PRG:3073 F0 01 rts ; CPU:$F075 PRG:3075 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F076 +; Routine: SubCF076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9719,18 +9719,18 @@ UpdateMusicChannel22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F076: +SubCF076: lda $02FD ; CPU:$F076 PRG:3076 AD FD 02 cmp #$CF ; CPU:$F079 PRG:3079 C9 CF - bne Label_F08D ; CPU:$F07B PRG:307B D0 10 + bne SubCF08D ; CPU:$F07B PRG:307B D0 10 lda #$F0 ; CPU:$F07D PRG:307D A9 F0 sta $02FC ; CPU:$F07F PRG:307F 8D FC 02 sta $02FD ; CPU:$F082 PRG:3082 8D FD 02 lda $0154 ; CPU:$F085 PRG:3085 AD 54 01 sta $0155 ; CPU:$F088 PRG:3088 8D 55 01 - bne Label_F0A0 ; CPU:$F08B PRG:308B D0 13 + bne SubCF0A0 ; CPU:$F08B PRG:308B D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_F08D +; Routine: SubCF08D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9738,13 +9738,13 @@ Label_F076: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F08D: +SubCF08D: lda $02FC ; CPU:$F08D PRG:308D AD FC 02 cmp #$F0 ; CPU:$F090 PRG:3090 C9 F0 - bne Label_F0A0 ; CPU:$F092 PRG:3092 D0 0C + bne SubCF0A0 ; CPU:$F092 PRG:3092 D0 0C ldx #$03 ; CPU:$F094 PRG:3094 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F096 +; Routine: SubCF096 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9752,14 +9752,14 @@ Label_F08D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F096: +SubCF096: lda $C7BC,x ; CPU:$F096 PRG:3096 BD BC C7 sta $02FC,x ; CPU:$F099 PRG:3099 9D FC 02 dex ; CPU:$F09C PRG:309C CA - bpl Label_F096 ; CPU:$F09D PRG:309D 10 F7 + bpl SubCF096 ; CPU:$F09D PRG:309D 10 F7 rts ; CPU:$F09F PRG:309F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0A0 +; Routine: SubCF0A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9767,12 +9767,12 @@ Label_F096: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0A0: +SubCF0A0: lda ZpCF ; CPU:$F0A0 PRG:30A0 A5 CF - bmi Label_F0A5 ; CPU:$F0A2 PRG:30A2 30 01 + bmi SubCF0A5 ; CPU:$F0A2 PRG:30A2 30 01 rts ; CPU:$F0A4 PRG:30A4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0A5 +; Routine: SubCF0A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9780,17 +9780,17 @@ Label_F0A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0A5: +SubCF0A5: and #$7F ; CPU:$F0A5 PRG:30A5 29 7F tay ; CPU:$F0A7 PRG:30A7 A8 lda #$02 ; CPU:$F0A8 PRG:30A8 A9 02 sta ZpFF ; CPU:$F0AA PRG:30AA 85 FF iny ; CPU:$F0AC PRG:30AC C8 cpy #$0A ; CPU:$F0AD PRG:30AD C0 0A - bne Label_F0B2 ; CPU:$F0AF PRG:30AF D0 01 + bne SubCF0B2 ; CPU:$F0AF PRG:30AF D0 01 dey ; CPU:$F0B1 PRG:30B1 88 ; ----------------------------------------------------------------------------- -; Routine: Label_F0B2 +; Routine: SubCF0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9798,11 +9798,11 @@ Label_F0A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0B2: +SubCF0B2: sty ZpCF ; CPU:$F0B2 PRG:30B2 84 CF ldx #$03 ; CPU:$F0B4 PRG:30B4 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F0B6 +; Routine: SubCF0B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9810,11 +9810,11 @@ Label_F0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0B6: +SubCF0B6: lda $F0DB,x ; CPU:$F0B6 PRG:30B6 BD DB F0 sta $02FC,x ; CPU:$F0B9 PRG:30B9 9D FC 02 dex ; CPU:$F0BC PRG:30BC CA - bpl Label_F0B6 ; CPU:$F0BD PRG:30BD 10 F7 + bpl SubCF0B6 ; CPU:$F0BD PRG:30BD 10 F7 lda #$30 ; CPU:$F0BF PRG:30BF A9 30 sta $0155 ; CPU:$F0C1 PRG:30C1 8D 55 01 ; ----------------------------------------------------------------------------- @@ -9828,14 +9828,14 @@ Label_F0B6: ; ----------------------------------------------------------------------------- UpdateMusicChannel23: cpy #$09 ; CPU:$F0C4 PRG:30C4 C0 09 - beq Label_F0D0 ; CPU:$F0C6 PRG:30C6 F0 08 + beq SubCF0D0 ; CPU:$F0C6 PRG:30C6 F0 08 tya ; CPU:$F0C8 PRG:30C8 98 clc ; CPU:$F0C9 PRG:30C9 18 adc #$F1 ; CPU:$F0CA PRG:30CA 69 F1 ldy #$F0 ; CPU:$F0CC PRG:30CC A0 F0 - bne Label_F0D4 ; CPU:$F0CE PRG:30CE D0 04 + bne SubCF0D4 ; CPU:$F0CE PRG:30CE D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F0D0 +; Routine: SubCF0D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9843,11 +9843,11 @@ UpdateMusicChannel23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0D0: +SubCF0D0: lda #$FA ; CPU:$F0D0 PRG:30D0 A9 FA ldy #$FB ; CPU:$F0D2 PRG:30D2 A0 FB ; ----------------------------------------------------------------------------- -; Routine: Label_F0D4 +; Routine: SubCF0D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9855,7 +9855,7 @@ Label_F0D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0D4: +SubCF0D4: sta $02C5 ; CPU:$F0D4 PRG:30D4 8D C5 02 sty $02C9 ; CPU:$F0D7 PRG:30D7 8C C9 02 rts ; CPU:$F0DA PRG:30DA 60 @@ -9873,7 +9873,7 @@ Label_F0D4: ; ----------------------------------------------------------------------------- UpdateMusicChannel24: lda ZpD0 ; CPU:$F0DF PRG:30DF A5 D0 - bpl Label_F10F ; CPU:$F0E1 PRG:30E1 10 2C + bpl SubCF10F ; CPU:$F0E1 PRG:30E1 10 2C lda #$04 ; CPU:$F0E3 PRG:30E3 A9 04 sta ZpFF ; CPU:$F0E5 PRG:30E5 85 FF ; ----------------------------------------------------------------------------- @@ -9889,15 +9889,15 @@ UpdateMusicChannel25: lda ZpD0 ; CPU:$F0E7 PRG:30E7 A5 D0 and #$7F ; CPU:$F0E9 PRG:30E9 29 7F sta ZpD0 ; CPU:$F0EB PRG:30EB 85 D0 - bne Label_F0FD ; CPU:$F0ED PRG:30ED D0 0E + bne SubCF0FD ; CPU:$F0ED PRG:30ED D0 0E ldx #$14 ; CPU:$F0EF PRG:30EF A2 14 stx $0132 ; CPU:$F0F1 PRG:30F1 8E 32 01 ldy #$00 ; CPU:$F0F4 PRG:30F4 A0 00 sty ZpCF ; CPU:$F0F6 PRG:30F6 84 CF - jsr $F0C4 ; CPU:$F0F8 PRG:30F8 20 C4 F0 + jsr UpdateMusicChannel23 ; CPU:$F0F8 PRG:30F8 20 C4 F0 lda #$00 ; CPU:$F0FB PRG:30FB A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F0FD +; Routine: SubCF0FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9905,15 +9905,15 @@ UpdateMusicChannel25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0FD: +SubCF0FD: cmp #$08 ; CPU:$F0FD PRG:30FD C9 08 - beq Label_F10E ; CPU:$F0FF PRG:30FF F0 0D + beq SubCF10E ; CPU:$F0FF PRG:30FF F0 0D asl a ; CPU:$F101 PRG:3101 0A asl a ; CPU:$F102 PRG:3102 0A tay ; CPU:$F103 PRG:3103 A8 lda #$F0 ; CPU:$F104 PRG:3104 A9 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F106 +; Routine: SubCF106 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9921,13 +9921,13 @@ Label_F0FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F106: +SubCF106: sta $0264,y ; CPU:$F106 PRG:3106 99 64 02 iny ; CPU:$F109 PRG:3109 C8 cpy #$20 ; CPU:$F10A PRG:310A C0 20 - bne Label_F106 ; CPU:$F10C PRG:310C D0 F8 + bne SubCF106 ; CPU:$F10C PRG:310C D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F10E +; Routine: SubCF10E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9935,10 +9935,10 @@ Label_F106: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F10E: +SubCF10E: rts ; CPU:$F10E PRG:310E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F10F +; Routine: SubCF10F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9946,23 +9946,23 @@ Label_F10E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F10F: +SubCF10F: lda $0132 ; CPU:$F10F PRG:310F AD 32 01 - beq Label_F10E ; CPU:$F112 PRG:3112 F0 FA + beq SubCF10E ; CPU:$F112 PRG:3112 F0 FA lda Zp05 ; CPU:$F114 PRG:3114 A5 05 and #$0F ; CPU:$F116 PRG:3116 29 0F - bne Label_F10E ; CPU:$F118 PRG:3118 D0 F4 + bne SubCF10E ; CPU:$F118 PRG:3118 D0 F4 lda #$FF ; CPU:$F11A PRG:311A A9 FF sta ZpCA ; CPU:$F11C PRG:311C 85 CA lda #$0A ; CPU:$F11E PRG:311E A9 0A - jsr $EE3D ; CPU:$F120 PRG:3120 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$F120 PRG:3120 20 3D EE dec $0132 ; CPU:$F123 PRG:3123 CE 32 01 - bne Label_F10E ; CPU:$F126 PRG:3126 D0 E6 + bne SubCF10E ; CPU:$F126 PRG:3126 D0 E6 lda #$08 ; CPU:$F128 PRG:3128 A9 08 sta ZpD0 ; CPU:$F12A PRG:312A 85 D0 ldx #$1F ; CPU:$F12C PRG:312C A2 1F ; ----------------------------------------------------------------------------- -; Routine: Label_F12E +; Routine: SubCF12E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9970,11 +9970,11 @@ Label_F10F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F12E: +SubCF12E: lda $C724,x ; CPU:$F12E PRG:312E BD 24 C7 sta $0264,x ; CPU:$F131 PRG:3131 9D 64 02 dex ; CPU:$F134 PRG:3134 CA - bpl Label_F12E ; CPU:$F135 PRG:3135 10 F7 + bpl SubCF12E ; CPU:$F135 PRG:3135 10 F7 rts ; CPU:$F137 PRG:3137 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel26 @@ -10001,14 +10001,14 @@ UpdateMusicChannel26: ; ----------------------------------------------------------------------------- UpdateMusicChannel27: asl ZpD4 ; CPU:$F140 PRG:3140 06 D4 - bcc Label_F15C ; CPU:$F142 PRG:3142 90 18 + bcc SubCF15C ; CPU:$F142 PRG:3142 90 18 lda $012D,x ; CPU:$F144 PRG:3144 BD 2D 01 - bpl Label_F150 ; CPU:$F147 PRG:3147 10 07 + bpl SubCF150 ; CPU:$F147 PRG:3147 10 07 lda #$00 ; CPU:$F149 PRG:3149 A9 00 sta $012D,x ; CPU:$F14B PRG:314B 9D 2D 01 - beq Label_F15C ; CPU:$F14E PRG:314E F0 0C + beq SubCF15C ; CPU:$F14E PRG:314E F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_F150 +; Routine: SubCF150 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10016,12 +10016,12 @@ UpdateMusicChannel27: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F150: - bne Label_F157 ; CPU:$F150 PRG:3150 D0 05 +SubCF150: + bne SubCF157 ; CPU:$F150 PRG:3150 D0 05 inc $012D,x ; CPU:$F152 PRG:3152 FE 2D 01 - bne Label_F15C ; CPU:$F155 PRG:3155 D0 05 + bne SubCF15C ; CPU:$F155 PRG:3155 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_F157 +; Routine: SubCF157 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10029,11 +10029,11 @@ Label_F150: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F157: +SubCF157: lda #$FF ; CPU:$F157 PRG:3157 A9 FF sta $012D,x ; CPU:$F159 PRG:3159 9D 2D 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F15C +; Routine: SubCF15C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10041,15 +10041,15 @@ Label_F157: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F15C: +SubCF15C: lda $012D,x ; CPU:$F15C PRG:315C BD 2D 01 - bpl Label_F16B ; CPU:$F15F PRG:315F 10 0A + bpl SubCF16B ; CPU:$F15F PRG:315F 10 0A lda #$B9 ; CPU:$F161 PRG:3161 A9 B9 sta $0265,y ; CPU:$F163 PRG:3163 99 65 02 sta $0269,y ; CPU:$F166 PRG:3166 99 69 02 - bne Label_F1C0 ; CPU:$F169 PRG:3169 D0 55 + bne SubCF1C0 ; CPU:$F169 PRG:3169 D0 55 ; ----------------------------------------------------------------------------- -; Routine: Label_F16B +; Routine: SubCF16B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10057,8 +10057,8 @@ Label_F15C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F16B: - bne Label_F181 ; CPU:$F16B PRG:316B D0 14 +SubCF16B: + bne SubCF181 ; CPU:$F16B PRG:316B D0 14 lda #$AF ; CPU:$F16D PRG:316D A9 AF sta $0265,y ; CPU:$F16F PRG:316F 99 65 02 lda #$5C ; CPU:$F172 PRG:3172 A9 5C @@ -10066,9 +10066,9 @@ Label_F16B: lda #$00 ; CPU:$F177 PRG:3177 A9 00 sta $0266,y ; CPU:$F179 PRG:3179 99 66 02 sta $026A,y ; CPU:$F17C PRG:317C 99 6A 02 - beq Label_F1C0 ; CPU:$F17F PRG:317F F0 3F + beq SubCF1C0 ; CPU:$F17F PRG:317F F0 3F ; ----------------------------------------------------------------------------- -; Routine: Label_F181 +; Routine: SubCF181 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10076,9 +10076,9 @@ Label_F16B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F181: +SubCF181: cmp #$06 ; CPU:$F181 PRG:3181 C9 06 - beq Label_F1A1 ; CPU:$F183 PRG:3183 F0 1C + beq SubCF1A1 ; CPU:$F183 PRG:3183 F0 1C inc $012D,x ; CPU:$F185 PRG:3185 FE 2D 01 lda #$9B ; CPU:$F188 PRG:3188 A9 9B sta $0265,y ; CPU:$F18A PRG:318A 99 65 02 @@ -10086,13 +10086,13 @@ Label_F181: sta $0269,y ; CPU:$F18F PRG:318F 99 69 02 lda $012D,x ; CPU:$F192 PRG:3192 BD 2D 01 cmp #$06 ; CPU:$F195 PRG:3195 C9 06 - bne Label_F1C0 ; CPU:$F197 PRG:3197 D0 27 + bne SubCF1C0 ; CPU:$F197 PRG:3197 D0 27 lda #$04 ; CPU:$F199 PRG:3199 A9 04 sta ZpFE ; CPU:$F19B PRG:319B 85 FE inc ZpE4 ; CPU:$F19D PRG:319D E6 E4 - bne Label_F1C0 ; CPU:$F19F PRG:319F D0 1F + bne SubCF1C0 ; CPU:$F19F PRG:319F D0 1F ; ----------------------------------------------------------------------------- -; Routine: Label_F1A1 +; Routine: SubCF1A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10100,15 +10100,15 @@ Label_F181: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1A1: +SubCF1A1: stx ZpE3 ; CPU:$F1A1 PRG:31A1 86 E3 ldx #$99 ; CPU:$F1A3 PRG:31A3 A2 99 lda Zp05 ; CPU:$F1A5 PRG:31A5 A5 05 and #$10 ; CPU:$F1A7 PRG:31A7 29 10 - bne Label_F1AD ; CPU:$F1A9 PRG:31A9 D0 02 + bne SubCF1AD ; CPU:$F1A9 PRG:31A9 D0 02 ldx #$86 ; CPU:$F1AB PRG:31AB A2 86 ; ----------------------------------------------------------------------------- -; Routine: Label_F1AD +; Routine: SubCF1AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10116,7 +10116,7 @@ Label_F1A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1AD: +SubCF1AD: txa ; CPU:$F1AD PRG:31AD 8A sta $0265,y ; CPU:$F1AE PRG:31AE 99 65 02 inx ; CPU:$F1B1 PRG:31B1 E8 @@ -10127,7 +10127,7 @@ Label_F1AD: sta $026A,y ; CPU:$F1BB PRG:31BB 99 6A 02 ldx ZpE3 ; CPU:$F1BE PRG:31BE A6 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_F1C0 +; Routine: SubCF1C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10135,16 +10135,16 @@ Label_F1AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1C0: +SubCF1C0: tya ; CPU:$F1C0 PRG:31C0 98 clc ; CPU:$F1C1 PRG:31C1 18 adc #$08 ; CPU:$F1C2 PRG:31C2 69 08 tay ; CPU:$F1C4 PRG:31C4 A8 dex ; CPU:$F1C5 PRG:31C5 CA - bmi Label_F1CB ; CPU:$F1C6 PRG:31C6 30 03 - jmp $F140 ; CPU:$F1C8 PRG:31C8 4C 40 F1 + bmi SubCF1CB ; CPU:$F1C6 PRG:31C6 30 03 + jmp UpdateMusicChannel27 ; CPU:$F1C8 PRG:31C8 4C 40 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F1CB +; Routine: SubCF1CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10152,12 +10152,12 @@ Label_F1C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1CB: +SubCF1CB: lda ZpE4 ; CPU:$F1CB PRG:31CB A5 E4 - beq Label_F1E5 ; CPU:$F1CD PRG:31CD F0 16 + beq SubCF1E5 ; CPU:$F1CD PRG:31CD F0 16 ldx #$02 ; CPU:$F1CF PRG:31CF A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F1D1 +; Routine: SubCF1D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10165,18 +10165,18 @@ Label_F1CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1D1: +SubCF1D1: lda $012D,x ; CPU:$F1D1 PRG:31D1 BD 2D 01 cmp #$06 ; CPU:$F1D4 PRG:31D4 C9 06 - bne Label_F1E5 ; CPU:$F1D6 PRG:31D6 D0 0D + bne SubCF1E5 ; CPU:$F1D6 PRG:31D6 D0 0D dex ; CPU:$F1D8 PRG:31D8 CA - bpl Label_F1D1 ; CPU:$F1D9 PRG:31D9 10 F6 + bpl SubCF1D1 ; CPU:$F1D9 PRG:31D9 10 F6 lda #$01 ; CPU:$F1DB PRG:31DB A9 01 sta ZpFF ; CPU:$F1DD PRG:31DD 85 FF sta $0129 ; CPU:$F1DF PRG:31DF 8D 29 01 sta $012A ; CPU:$F1E2 PRG:31E2 8D 2A 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F1E5 +; Routine: SubCF1E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10184,14 +10184,14 @@ Label_F1D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1E5: +SubCF1E5: lda ZpD6 ; CPU:$F1E5 PRG:31E5 A5 D6 - beq Label_F1F0 ; CPU:$F1E7 PRG:31E7 F0 07 + beq SubCF1F0 ; CPU:$F1E7 PRG:31E7 F0 07 lda #$00 ; CPU:$F1E9 PRG:31E9 A9 00 sta $0129 ; CPU:$F1EB PRG:31EB 8D 29 01 sta ZpD6 ; CPU:$F1EE PRG:31EE 85 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_F1F0 +; Routine: SubCF1F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10199,7 +10199,7 @@ Label_F1E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F0: +SubCF1F0: lda ZpD7 ; CPU:$F1F0 PRG:31F0 A5 D7 beq UpdateMusicChannel28 ; CPU:$F1F2 PRG:31F2 F0 07 lda #$00 ; CPU:$F1F4 PRG:31F4 A9 00 @@ -10248,7 +10248,7 @@ UpdateMusicChannel29: lda #$01 ; CPU:$F228 PRG:3228 A9 01 sta ZpDC ; CPU:$F22A PRG:322A 85 DC ; ----------------------------------------------------------------------------- -; Routine: Label_F22C +; Routine: SubCF22C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10256,12 +10256,12 @@ UpdateMusicChannel29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F22C: +SubCF22C: ldy #$00 ; CPU:$F22C PRG:322C A0 00 lda ZpD8,x ; CPU:$F22E PRG:322E B5 D8 sta ZpE3 ; CPU:$F230 PRG:3230 85 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_F232 +; Routine: SubCF232 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10269,11 +10269,11 @@ Label_F22C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F232: +SubCF232: lda $F2E7,x ; CPU:$F232 PRG:3232 BD E7 F2 sta ZpDB ; CPU:$F235 PRG:3235 85 DB asl ZpD8,x ; CPU:$F237 PRG:3237 16 D8 - bcc Label_F259 ; CPU:$F239 PRG:3239 90 1E + bcc SubCF259 ; CPU:$F239 PRG:3239 90 1E lda #$04 ; CPU:$F23B PRG:323B A9 04 sta ZpFF ; CPU:$F23D PRG:323D 85 FF tya ; CPU:$F23F PRG:323F 98 @@ -10281,7 +10281,7 @@ Label_F232: txa ; CPU:$F241 PRG:3241 8A pha ; CPU:$F242 PRG:3242 48 lda #$00 ; CPU:$F243 PRG:3243 A9 00 - jsr $EE3D ; CPU:$F245 PRG:3245 20 3D EE + jsr UpdateMusicChannel15 ; CPU:$F245 PRG:3245 20 3D EE pla ; CPU:$F248 PRG:3248 68 tax ; CPU:$F249 PRG:3249 AA pla ; CPU:$F24A PRG:324A 68 @@ -10290,10 +10290,10 @@ Label_F232: clc ; CPU:$F24E PRG:324E 18 adc #$01 ; CPU:$F24F PRG:324F 69 01 cmp #$03 ; CPU:$F251 PRG:3251 C9 03 - bne Label_F257 ; CPU:$F253 PRG:3253 D0 02 + bne SubCF257 ; CPU:$F253 PRG:3253 D0 02 lda #$00 ; CPU:$F255 PRG:3255 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F257 +; Routine: SubCF257 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10301,10 +10301,10 @@ Label_F232: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F257: +SubCF257: sta (ZpDB),y ; CPU:$F257 PRG:3257 91 DB ; ----------------------------------------------------------------------------- -; Routine: Label_F259 +; Routine: SubCF259 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10312,17 +10312,17 @@ Label_F257: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F259: +SubCF259: iny ; CPU:$F259 PRG:3259 C8 cpy #$04 ; CPU:$F25A PRG:325A C0 04 - bne Label_F232 ; CPU:$F25C PRG:325C D0 D4 + bne SubCF232 ; CPU:$F25C PRG:325C D0 D4 lda ZpE3 ; CPU:$F25E PRG:325E A5 E3 - beq Label_F271 ; CPU:$F260 PRG:3260 F0 0F + beq SubCF271 ; CPU:$F260 PRG:3260 F0 0F ldy #$03 ; CPU:$F262 PRG:3262 A0 03 lda (ZpDB),y ; CPU:$F264 PRG:3264 B1 DB dey ; CPU:$F266 PRG:3266 88 ; ----------------------------------------------------------------------------- -; Routine: Label_F267 +; Routine: SubCF267 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10330,14 +10330,14 @@ Label_F259: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F267: +SubCF267: cmp (ZpDB),y ; CPU:$F267 PRG:3267 D1 DB - bne Label_F271 ; CPU:$F269 PRG:3269 D0 06 + bne SubCF271 ; CPU:$F269 PRG:3269 D0 06 dey ; CPU:$F26B PRG:326B 88 - bpl Label_F267 ; CPU:$F26C PRG:326C 10 F9 + bpl SubCF267 ; CPU:$F26C PRG:326C 10 F9 inc $011F,x ; CPU:$F26E PRG:326E FE 1F 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F271 +; Routine: SubCF271 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10345,9 +10345,9 @@ Label_F267: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F271: +SubCF271: dex ; CPU:$F271 PRG:3271 CA - bpl Label_F22C ; CPU:$F272 PRG:3272 10 B8 + bpl SubCF22C ; CPU:$F272 PRG:3272 10 B8 lda $013A ; CPU:$F274 PRG:3274 AD 3A 01 asl a ; CPU:$F277 PRG:3277 0A asl a ; CPU:$F278 PRG:3278 0A @@ -10391,7 +10391,7 @@ Label_F271: sta $0147 ; CPU:$F2BF PRG:32BF 8D 47 01 ldx #$02 ; CPU:$F2C2 PRG:32C2 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F2C4 +; Routine: SubCF2C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10399,17 +10399,17 @@ Label_F271: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2C4: +SubCF2C4: lda $011F,x ; CPU:$F2C4 PRG:32C4 BD 1F 01 - beq Label_F2E3 ; CPU:$F2C7 PRG:32C7 F0 1A + beq SubCF2E3 ; CPU:$F2C7 PRG:32C7 F0 1A ldy $F2EA,x ; CPU:$F2C9 PRG:32C9 BC EA F2 clc ; CPU:$F2CC PRG:32CC 18 adc #$36 ; CPU:$F2CD PRG:32CD 69 36 cmp #$39 ; CPU:$F2CF PRG:32CF C9 39 - bcc Label_F2D5 ; CPU:$F2D1 PRG:32D1 90 02 + bcc SubCF2D5 ; CPU:$F2D1 PRG:32D1 90 02 lda #$B9 ; CPU:$F2D3 PRG:32D3 A9 B9 ; ----------------------------------------------------------------------------- -; Routine: Label_F2D5 +; Routine: SubCF2D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10417,14 +10417,14 @@ Label_F2C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2D5: +SubCF2D5: sta $0265,y ; CPU:$F2D5 PRG:32D5 99 65 02 lda $F2ED,x ; CPU:$F2D8 PRG:32D8 BD ED F2 sta $0267,y ; CPU:$F2DB PRG:32DB 99 67 02 lda #$F0 ; CPU:$F2DE PRG:32DE A9 F0 sta $0268,y ; CPU:$F2E0 PRG:32E0 99 68 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F2E3 +; Routine: SubCF2E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10432,9 +10432,9 @@ Label_F2D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2E3: +SubCF2E3: dex ; CPU:$F2E3 PRG:32E3 CA - bpl Label_F2C4 ; CPU:$F2E4 PRG:32E4 10 DE + bpl SubCF2C4 ; CPU:$F2E4 PRG:32E4 10 DE rts ; CPU:$F2E6 PRG:32E6 60 ; ---- data $F2E7-$F2EF (9 bytes) ---- ; referenced by `lda $F2E7,x` at $F232 (operand $F2E7 falls inside this region) @@ -10454,23 +10454,23 @@ UpdateMusicChannel30: ldx #$23 ; CPU:$F2F0 PRG:32F0 A2 23 lda #$D4 ; CPU:$F2F2 PRG:32F2 A9 D4 ldy $0142 ; CPU:$F2F4 PRG:32F4 AC 42 01 - jsr $E0F6 ; CPU:$F2F7 PRG:32F7 20 F6 E0 + jsr WritePPU2 ; CPU:$F2F7 PRG:32F7 20 F6 E0 lda $0143 ; CPU:$F2FA PRG:32FA AD 43 01 - sta $2007 ; CPU:$F2FD PRG:32FD 8D 07 20 + sta PPUDATA ; CPU:$F2FD PRG:32FD 8D 07 20 ldx #$23 ; CPU:$F300 PRG:3300 A2 23 lda #$DC ; CPU:$F302 PRG:3302 A9 DC ldy $0144 ; CPU:$F304 PRG:3304 AC 44 01 - jsr $E0F6 ; CPU:$F307 PRG:3307 20 F6 E0 + jsr WritePPU2 ; CPU:$F307 PRG:3307 20 F6 E0 lda $0145 ; CPU:$F30A PRG:330A AD 45 01 - sta $2007 ; CPU:$F30D PRG:330D 8D 07 20 + sta PPUDATA ; CPU:$F30D PRG:330D 8D 07 20 ldx #$23 ; CPU:$F310 PRG:3310 A2 23 lda #$E4 ; CPU:$F312 PRG:3312 A9 E4 ldy $0146 ; CPU:$F314 PRG:3314 AC 46 01 - jsr $E0F6 ; CPU:$F317 PRG:3317 20 F6 E0 + jsr WritePPU2 ; CPU:$F317 PRG:3317 20 F6 E0 lda $0147 ; CPU:$F31A PRG:331A AD 47 01 - sta $2007 ; CPU:$F31D PRG:331D 8D 07 20 + sta PPUDATA ; CPU:$F31D PRG:331D 8D 07 20 ; ----------------------------------------------------------------------------- -; Routine: Label_F320 +; Routine: SubCF320 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10478,7 +10478,7 @@ UpdateMusicChannel30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F320: +SubCF320: rts ; CPU:$F320 PRG:3320 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel31 @@ -10493,34 +10493,34 @@ UpdateMusicChannel31: ldx ZpBF ; CPU:$F321 PRG:3321 A6 BF ldy $F3B1,x ; CPU:$F323 PRG:3323 BC B1 F3 lda ZpF0 ; CPU:$F326 PRG:3326 A5 F0 - beq Label_F320 ; CPU:$F328 PRG:3328 F0 F6 - bmi Label_F36D ; CPU:$F32A PRG:332A 30 41 + beq SubCF320 ; CPU:$F328 PRG:3328 F0 F6 + bmi SubCF36D ; CPU:$F32A PRG:332A 30 41 lda $F3B7,x ; CPU:$F32C PRG:332C BD B7 F3 sta $0154 ; CPU:$F32F PRG:332F 8D 54 01 sta $0155 ; CPU:$F332 PRG:3332 8D 55 01 lda #$23 ; CPU:$F335 PRG:3335 A9 23 - sta $2006 ; CPU:$F337 PRG:3337 8D 06 20 + sta PPUADDR ; CPU:$F337 PRG:3337 8D 06 20 lda $F3B3,x ; CPU:$F33A PRG:333A BD B3 F3 - sta $2006 ; CPU:$F33D PRG:333D 8D 06 20 + sta PPUADDR ; CPU:$F33D PRG:333D 8D 06 20 lda #$6A ; CPU:$F340 PRG:3340 A9 6A - sta $2007 ; CPU:$F342 PRG:3342 8D 07 20 + sta PPUDATA ; CPU:$F342 PRG:3342 8D 07 20 sta $0731,y ; CPU:$F345 PRG:3345 99 31 07 lda #$6B ; CPU:$F348 PRG:3348 A9 6B - sta $2007 ; CPU:$F34A PRG:334A 8D 07 20 + sta PPUDATA ; CPU:$F34A PRG:334A 8D 07 20 sta $0732,y ; CPU:$F34D PRG:334D 99 32 07 lda #$23 ; CPU:$F350 PRG:3350 A9 23 - sta $2006 ; CPU:$F352 PRG:3352 8D 06 20 + sta PPUADDR ; CPU:$F352 PRG:3352 8D 06 20 lda $F3B5,x ; CPU:$F355 PRG:3355 BD B5 F3 - sta $2006 ; CPU:$F358 PRG:3358 8D 06 20 + sta PPUADDR ; CPU:$F358 PRG:3358 8D 06 20 lda #$70 ; CPU:$F35B PRG:335B A9 70 - sta $2007 ; CPU:$F35D PRG:335D 8D 07 20 + sta PPUDATA ; CPU:$F35D PRG:335D 8D 07 20 sta $0751,y ; CPU:$F360 PRG:3360 99 51 07 lda #$71 ; CPU:$F363 PRG:3363 A9 71 - sta $2007 ; CPU:$F365 PRG:3365 8D 07 20 + sta PPUDATA ; CPU:$F365 PRG:3365 8D 07 20 sta $0752,y ; CPU:$F368 PRG:3368 99 52 07 - bne Label_F3AC ; CPU:$F36B PRG:336B D0 3F + bne SubCF3AC ; CPU:$F36B PRG:336B D0 3F ; ----------------------------------------------------------------------------- -; Routine: Label_F36D +; Routine: SubCF36D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10528,32 +10528,32 @@ UpdateMusicChannel31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F36D: +SubCF36D: lda #$12 ; CPU:$F36D PRG:336D A9 12 sta $0154 ; CPU:$F36F PRG:336F 8D 54 01 sta $0155 ; CPU:$F372 PRG:3372 8D 55 01 lda #$00 ; CPU:$F375 PRG:3375 A9 00 sta $014B ; CPU:$F377 PRG:3377 8D 4B 01 lda #$23 ; CPU:$F37A PRG:337A A9 23 - sta $2006 ; CPU:$F37C PRG:337C 8D 06 20 + sta PPUADDR ; CPU:$F37C PRG:337C 8D 06 20 lda $F3B3,x ; CPU:$F37F PRG:337F BD B3 F3 - sta $2006 ; CPU:$F382 PRG:3382 8D 06 20 + sta PPUADDR ; CPU:$F382 PRG:3382 8D 06 20 lda #$24 ; CPU:$F385 PRG:3385 A9 24 - sta $2007 ; CPU:$F387 PRG:3387 8D 07 20 + sta PPUDATA ; CPU:$F387 PRG:3387 8D 07 20 sta $0731,y ; CPU:$F38A PRG:338A 99 31 07 - sta $2007 ; CPU:$F38D PRG:338D 8D 07 20 + sta PPUDATA ; CPU:$F38D PRG:338D 8D 07 20 sta $0732,y ; CPU:$F390 PRG:3390 99 32 07 lda #$23 ; CPU:$F393 PRG:3393 A9 23 - sta $2006 ; CPU:$F395 PRG:3395 8D 06 20 + sta PPUADDR ; CPU:$F395 PRG:3395 8D 06 20 lda $F3B5,x ; CPU:$F398 PRG:3398 BD B5 F3 - sta $2006 ; CPU:$F39B PRG:339B 8D 06 20 + sta PPUADDR ; CPU:$F39B PRG:339B 8D 06 20 lda #$24 ; CPU:$F39E PRG:339E A9 24 - sta $2007 ; CPU:$F3A0 PRG:33A0 8D 07 20 + sta PPUDATA ; CPU:$F3A0 PRG:33A0 8D 07 20 sta $0751,y ; CPU:$F3A3 PRG:33A3 99 51 07 - sta $2007 ; CPU:$F3A6 PRG:33A6 8D 07 20 + sta PPUDATA ; CPU:$F3A6 PRG:33A6 8D 07 20 sta $0752,y ; CPU:$F3A9 PRG:33A9 99 52 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F3AC +; Routine: SubCF3AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10561,11 +10561,11 @@ Label_F36D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3AC: +SubCF3AC: lda #$00 ; CPU:$F3AC PRG:33AC A9 00 sta ZpF0 ; CPU:$F3AE PRG:33AE 85 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F3B0 +; Routine: SubCF3B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10573,7 +10573,7 @@ Label_F3AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3B0: +SubCF3B0: rts ; CPU:$F3B0 PRG:33B0 60 ; ---- data $F3B1-$F3B8 (8 bytes) ---- ; referenced by `ldy $F3B1,x` at $F323 (operand $F3B1 falls inside this region) @@ -10594,21 +10594,21 @@ Label_F3B0: ; ----------------------------------------------------------------------------- UpdateMusicChannel32: ldy $012C ; CPU:$F3B9 PRG:33B9 AC 2C 01 - beq Label_F3B0 ; CPU:$F3BC PRG:33BC F0 F2 + beq SubCF3B0 ; CPU:$F3BC PRG:33BC F0 F2 ldx #$21 ; CPU:$F3BE PRG:33BE A2 21 lda #$17 ; CPU:$F3C0 PRG:33C0 A9 17 - jsr $E0EF ; CPU:$F3C2 PRG:33C2 20 EF E0 + jsr WritePPU ; CPU:$F3C2 PRG:33C2 20 EF E0 tya ; CPU:$F3C5 PRG:33C5 98 - bmi Label_F3D7 ; CPU:$F3C6 PRG:33C6 30 0F + bmi SubCF3D7 ; CPU:$F3C6 PRG:33C6 30 0F ldx #$B7 ; CPU:$F3C8 PRG:33C8 A2 B7 - stx $2007 ; CPU:$F3CA PRG:33CA 8E 07 20 + stx PPUDATA ; CPU:$F3CA PRG:33CA 8E 07 20 inx ; CPU:$F3CD PRG:33CD E8 - stx $2007 ; CPU:$F3CE PRG:33CE 8E 07 20 + stx PPUDATA ; CPU:$F3CE PRG:33CE 8E 07 20 inx ; CPU:$F3D1 PRG:33D1 E8 - stx $2007 ; CPU:$F3D2 PRG:33D2 8E 07 20 - bne Label_F3E2 ; CPU:$F3D5 PRG:33D5 D0 0B + stx PPUDATA ; CPU:$F3D2 PRG:33D2 8E 07 20 + bne SubCF3E2 ; CPU:$F3D5 PRG:33D5 D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_F3D7 +; Routine: SubCF3D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10616,13 +10616,13 @@ UpdateMusicChannel32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3D7: +SubCF3D7: lda #$24 ; CPU:$F3D7 PRG:33D7 A9 24 - sta $2007 ; CPU:$F3D9 PRG:33D9 8D 07 20 - sta $2007 ; CPU:$F3DC PRG:33DC 8D 07 20 - sta $2007 ; CPU:$F3DF PRG:33DF 8D 07 20 + sta PPUDATA ; CPU:$F3D9 PRG:33D9 8D 07 20 + sta PPUDATA ; CPU:$F3DC PRG:33DC 8D 07 20 + sta PPUDATA ; CPU:$F3DF PRG:33DF 8D 07 20 ; ----------------------------------------------------------------------------- -; Routine: Label_F3E2 +; Routine: SubCF3E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10630,7 +10630,7 @@ Label_F3D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3E2: +SubCF3E2: lda #$00 ; CPU:$F3E2 PRG:33E2 A9 00 sta $012C ; CPU:$F3E4 PRG:33E4 8D 2C 01 rts ; CPU:$F3E7 PRG:33E7 60 @@ -10647,7 +10647,7 @@ UpdateMusicChannel33: ldx $012B ; CPU:$F3E8 PRG:33E8 AE 2B 01 ldy #$10 ; CPU:$F3EB PRG:33EB A0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_F3ED +; Routine: SubCF3ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10655,7 +10655,7 @@ UpdateMusicChannel33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F3ED: +SubCF3ED: lda $F416,x ; CPU:$F3ED PRG:33ED BD 16 F4 sta $02C9,y ; CPU:$F3F0 PRG:33F0 99 C9 02 lda $F418,x ; CPU:$F3F3 PRG:33F3 BD 18 F4 @@ -10664,10 +10664,10 @@ Label_F3ED: sec ; CPU:$F3FA PRG:33FA 38 sbc #$08 ; CPU:$F3FB PRG:33FB E9 08 tay ; CPU:$F3FD PRG:33FD A8 - bpl Label_F3ED ; CPU:$F3FE PRG:33FE 10 ED + bpl SubCF3ED ; CPU:$F3FE PRG:33FE 10 ED ldy #$40 ; CPU:$F400 PRG:3400 A0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F402 +; Routine: SubCF402 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10675,7 +10675,7 @@ Label_F3ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F402: +SubCF402: lda $F41A,x ; CPU:$F402 PRG:3402 BD 1A F4 sta $04FA,y ; CPU:$F405 PRG:3405 99 FA 04 lda $F41C,x ; CPU:$F408 PRG:3408 BD 1C F4 @@ -10684,9 +10684,9 @@ Label_F402: sec ; CPU:$F40F PRG:340F 38 sbc #$20 ; CPU:$F410 PRG:3410 E9 20 tay ; CPU:$F412 PRG:3412 A8 - bpl Label_F402 ; CPU:$F413 PRG:3413 10 ED + bpl SubCF402 ; CPU:$F413 PRG:3413 10 ED ; ----------------------------------------------------------------------------- -; Routine: Label_F415 +; Routine: SubCF415 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10694,7 +10694,7 @@ Label_F402: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F415: +SubCF415: rts ; CPU:$F415 PRG:3415 60 ; ---- data $F416-$F41D (8 bytes) ---- ; referenced by `lda $F416,x` at $F3ED (operand $F416 falls inside this region) @@ -10713,22 +10713,22 @@ Label_F415: ; ----------------------------------------------------------------------------- UpdateMusicChannel34: lda ZpD5 ; CPU:$F41E PRG:341E A5 D5 - beq Label_F415 ; CPU:$F420 PRG:3420 F0 F3 + beq SubCF415 ; CPU:$F420 PRG:3420 F0 F3 lda #$08 ; CPU:$F422 PRG:3422 A9 08 sta ZpFF ; CPU:$F424 PRG:3424 85 FF lda #$00 ; CPU:$F426 PRG:3426 A9 00 sta ZpD5 ; CPU:$F428 PRG:3428 85 D5 lda $0131 ; CPU:$F42A PRG:342A AD 31 01 cmp #$FE ; CPU:$F42D PRG:342D C9 FE - bne Label_F415 ; CPU:$F42F PRG:342F D0 E4 + bne SubCF415 ; CPU:$F42F PRG:342F D0 E4 lda #$00 ; CPU:$F431 PRG:3431 A9 00 sta $0131 ; CPU:$F433 PRG:3433 8D 31 01 sta $012B ; CPU:$F436 PRG:3436 8D 2B 01 dec $012C ; CPU:$F439 PRG:3439 CE 2C 01 - jsr $F03F ; CPU:$F43C PRG:343C 20 3F F0 + jsr UpdateMusicChannel21 ; CPU:$F43C PRG:343C 20 3F F0 ldx #$37 ; CPU:$F43F PRG:343F A2 37 ; ----------------------------------------------------------------------------- -; Routine: Label_F441 +; Routine: SubCF441 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10736,13 +10736,13 @@ UpdateMusicChannel34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F441: +SubCF441: lda $C9D1,x ; CPU:$F441 PRG:3441 BD D1 C9 sta $0290,x ; CPU:$F444 PRG:3444 9D 90 02 dex ; CPU:$F447 PRG:3447 CA - bpl Label_F441 ; CPU:$F448 PRG:3448 10 F7 + bpl SubCF441 ; CPU:$F448 PRG:3448 10 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_F44A +; Routine: SubCF44A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10750,7 +10750,7 @@ Label_F441: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F44A: +SubCF44A: rts ; CPU:$F44A PRG:344A 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateMusicChannel35 @@ -10766,14 +10766,14 @@ UpdateMusicChannel35: sta $02CD ; CPU:$F44D PRG:344D 8D CD 02 sta $02DD ; CPU:$F450 PRG:3450 8D DD 02 lda $0132 ; CPU:$F453 PRG:3453 AD 32 01 - beq Label_F44A ; CPU:$F456 PRG:3456 F0 F2 + beq SubCF44A ; CPU:$F456 PRG:3456 F0 F2 ldx #$00 ; CPU:$F458 PRG:3458 A2 00 lda Zp05 ; CPU:$F45A PRG:345A A5 05 and #$10 ; CPU:$F45C PRG:345C 29 10 - beq Label_F461 ; CPU:$F45E PRG:345E F0 01 + beq SubCF461 ; CPU:$F45E PRG:345E F0 01 inx ; CPU:$F460 PRG:3460 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F461 +; Routine: SubCF461 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10781,7 +10781,7 @@ UpdateMusicChannel35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F461: +SubCF461: ldy $F4AC,x ; CPU:$F461 PRG:3461 BC AC F4 sty $02D1 ; CPU:$F464 PRG:3464 8C D1 02 sty $02E1 ; CPU:$F467 PRG:3467 8C E1 02 @@ -10804,11 +10804,11 @@ Label_F461: sta $02CC ; CPU:$F494 PRG:3494 8D CC 02 sta $02DC ; CPU:$F497 PRG:3497 8D DC 02 cmp #$5F ; CPU:$F49A PRG:349A C9 5F - bne Label_F4A2 ; CPU:$F49C PRG:349C D0 04 + bne SubCF4A2 ; CPU:$F49C PRG:349C D0 04 lda #$01 ; CPU:$F49E PRG:349E A9 01 - bne Label_F4A8 ; CPU:$F4A0 PRG:34A0 D0 06 + bne SubCF4A8 ; CPU:$F4A0 PRG:34A0 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F4A2 +; Routine: SubCF4A2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10816,12 +10816,12 @@ Label_F461: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4A2: +SubCF4A2: cmp #$67 ; CPU:$F4A2 PRG:34A2 C9 67 - bne Label_F4AB ; CPU:$F4A4 PRG:34A4 D0 05 + bne SubCF4AB ; CPU:$F4A4 PRG:34A4 D0 05 lda #$FF ; CPU:$F4A6 PRG:34A6 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_F4A8 +; Routine: SubCF4A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10829,10 +10829,10 @@ Label_F4A2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4A8: +SubCF4A8: sta $0149 ; CPU:$F4A8 PRG:34A8 8D 49 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F4AB +; Routine: SubCF4AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10840,7 +10840,7 @@ Label_F4A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F4AB: +SubCF4AB: rts ; CPU:$F4AB PRG:34AB 60 ; ---- data $F4AC-$FB2B (1664 bytes) ---- ; referenced by `ldy $F4AC,x` at $F461 (operand $F4AC falls inside this region) @@ -10962,13 +10962,13 @@ Label_F4AB: ; ----------------------------------------------------------------------------- UpdateAPU: lda #$C0 ; CPU:$FB2C PRG:3B2C A9 C0 - sta $4017 ; CPU:$FB2E PRG:3B2E 8D 17 40 - jsr $FBDD ; CPU:$FB31 PRG:3B31 20 DD FB + sta JOY2 ; CPU:$FB2E PRG:3B2E 8D 17 40 + jsr UpdateAPU8 ; CPU:$FB31 PRG:3B31 20 DD FB lda #$00 ; CPU:$FB34 PRG:3B34 A9 00 sta ZpFF ; CPU:$FB36 PRG:3B36 85 FF sta ZpFE ; CPU:$FB38 PRG:3B38 85 FE sta ZpFD ; CPU:$FB3A PRG:3B3A 85 FD - sta $4011 ; CPU:$FB3C PRG:3B3C 8D 11 40 + sta APUDMCDIRECT ; CPU:$FB3C PRG:3B3C 8D 11 40 rts ; CPU:$FB3F PRG:3B3F 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU2 @@ -10980,7 +10980,7 @@ UpdateAPU: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU2: - jsr $FFDC ; CPU:$FB40 PRG:3B40 20 DC FF + jsr UpdateAPU16 ; CPU:$FB40 PRG:3B40 20 DC FF ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11020,13 +11020,13 @@ UpdateAPU5: ldx #$08 ; CPU:$FB49 PRG:3B49 A2 08 tay ; CPU:$FB4B PRG:3B4B A8 lda $FF01,y ; CPU:$FB4C PRG:3B4C B9 01 FF - beq Label_FB5C ; CPU:$FB4F PRG:3B4F F0 0B - sta $4002,x ; CPU:$FB51 PRG:3B51 9D 02 40 + beq SubCFB5C ; CPU:$FB4F PRG:3B4F F0 0B + sta APUPULSE1TIMERLO,x ; CPU:$FB51 PRG:3B51 9D 02 40 lda $FF00,y ; CPU:$FB54 PRG:3B54 B9 00 FF ora #$08 ; CPU:$FB57 PRG:3B57 09 08 - sta $4003,x ; CPU:$FB59 PRG:3B59 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$FB59 PRG:3B59 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FB5C +; Routine: SubCFB5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11034,7 +11034,7 @@ UpdateAPU5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB5C: +SubCFB5C: rts ; CPU:$FB5C PRG:3B5C 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU6 @@ -11075,9 +11075,9 @@ UpdateAPU7: sta ZpF8 ; CPU:$FB76 PRG:3B76 85 F8 ldx #$9C ; CPU:$FB78 PRG:3B78 A2 9C ldy #$83 ; CPU:$FB7A PRG:3B7A A0 83 - jsr $FFDC ; CPU:$FB7C PRG:3B7C 20 DC FF + jsr UpdateAPU16 ; CPU:$FB7C PRG:3B7C 20 DC FF ; ----------------------------------------------------------------------------- -; Routine: Label_FB7F +; Routine: SubCFB7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11085,16 +11085,16 @@ UpdateAPU7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB7F: +SubCFB7F: lda ZpF7 ; CPU:$FB7F PRG:3B7F A5 F7 cmp #$20 ; CPU:$FB81 PRG:3B81 C9 20 - bcs Label_FB8C ; CPU:$FB83 PRG:3B83 B0 07 + bcs SubCFB8C ; CPU:$FB83 PRG:3B83 B0 07 lsr a ; CPU:$FB85 PRG:3B85 4A lsr a ; CPU:$FB86 PRG:3B86 4A ora #$90 ; CPU:$FB87 PRG:3B87 09 90 - sta $4000 ; CPU:$FB89 PRG:3B89 8D 00 40 + sta APUPULSE1CTRL ; CPU:$FB89 PRG:3B89 8D 00 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FB8C +; Routine: SubCFB8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11102,10 +11102,10 @@ Label_FB7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB8C: +SubCFB8C: lda ZpF7 ; CPU:$FB8C PRG:3B8C A5 F7 and #$03 ; CPU:$FB8E PRG:3B8E 29 03 - bne Label_FBAA ; CPU:$FB90 PRG:3B90 D0 18 + bne SubCFBAA ; CPU:$FB90 PRG:3B90 D0 18 lda ZpF8 ; CPU:$FB92 PRG:3B92 A5 F8 lsr a ; CPU:$FB94 PRG:3B94 4A lsr a ; CPU:$FB95 PRG:3B95 4A @@ -11116,13 +11116,13 @@ Label_FB8C: sta ZpF8 ; CPU:$FB9B PRG:3B9B 85 F8 rol a ; CPU:$FB9D PRG:3B9D 2A rol a ; CPU:$FB9E PRG:3B9E 2A - sta $4002 ; CPU:$FB9F PRG:3B9F 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FB9F PRG:3B9F 8D 02 40 rol a ; CPU:$FBA2 PRG:3BA2 2A and #$07 ; CPU:$FBA3 PRG:3BA3 29 07 ora #$08 ; CPU:$FBA5 PRG:3BA5 09 08 - sta $4003 ; CPU:$FBA7 PRG:3BA7 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FBA7 PRG:3BA7 8D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FBAA +; Routine: SubCFBAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11130,10 +11130,10 @@ Label_FB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBAA: - bne Label_FC27 ; CPU:$FBAA PRG:3BAA D0 7B +SubCFBAA: + bne SubCFC27 ; CPU:$FBAA PRG:3BAA D0 7B ; ----------------------------------------------------------------------------- -; Routine: Label_FBAC +; Routine: SubCFBAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11141,16 +11141,16 @@ Label_FBAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBAC: +SubCFBAC: sty ZpF1 ; CPU:$FBAC PRG:3BAC 84 F1 lda #$34 ; CPU:$FBAE PRG:3BAE A9 34 sta ZpF7 ; CPU:$FBB0 PRG:3BB0 85 F7 ldx #$5C ; CPU:$FBB2 PRG:3BB2 A2 5C ldy #$81 ; CPU:$FBB4 PRG:3BB4 A0 81 - jsr $FFDC ; CPU:$FBB6 PRG:3BB6 20 DC FF - bne Label_FBCE ; CPU:$FBB9 PRG:3BB9 D0 13 + jsr UpdateAPU16 ; CPU:$FBB6 PRG:3BB6 20 DC FF + bne SubCFBCE ; CPU:$FBB9 PRG:3BB9 D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_FBBB +; Routine: SubCFBBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11158,14 +11158,14 @@ Label_FBAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBBB: +SubCFBBB: lda ZpF7 ; CPU:$FBBB PRG:3BBB A5 F7 lsr a ; CPU:$FBBD PRG:3BBD 4A cmp #$50 ; CPU:$FBBE PRG:3BBE C9 50 - bcc Label_FBC3 ; CPU:$FBC0 PRG:3BC0 90 01 + bcc SubCFBC3 ; CPU:$FBC0 PRG:3BC0 90 01 lsr a ; CPU:$FBC2 PRG:3BC2 4A ; ----------------------------------------------------------------------------- -; Routine: Label_FBC3 +; Routine: SubCFBC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11173,14 +11173,14 @@ Label_FBBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC3: +SubCFBC3: lsr a ; CPU:$FBC3 PRG:3BC3 4A clc ; CPU:$FBC4 PRG:3BC4 18 adc ZpF7 ; CPU:$FBC5 PRG:3BC5 65 F7 - bcc Label_FBCC ; CPU:$FBC7 PRG:3BC7 90 03 - jmp $FC2B ; CPU:$FBC9 PRG:3BC9 4C 2B FC + bcc SubCFBCC ; CPU:$FBC7 PRG:3BC7 90 03 + jmp UpdateAPU10 ; CPU:$FBC9 PRG:3BC9 4C 2B FC ; ----------------------------------------------------------------------------- -; Routine: Label_FBCC +; Routine: SubCFBCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11188,10 +11188,10 @@ Label_FBC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBCC: +SubCFBCC: sta ZpF7 ; CPU:$FBCC PRG:3BCC 85 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_FBCE +; Routine: SubCFBCE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11199,14 +11199,14 @@ Label_FBCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBCE: +SubCFBCE: rol a ; CPU:$FBCE PRG:3BCE 2A rol a ; CPU:$FBCF PRG:3BCF 2A - sta $4002 ; CPU:$FBD0 PRG:3BD0 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FBD0 PRG:3BD0 8D 02 40 rol a ; CPU:$FBD3 PRG:3BD3 2A and #$03 ; CPU:$FBD4 PRG:3BD4 29 03 ora #$08 ; CPU:$FBD6 PRG:3BD6 09 08 - sta $4003 ; CPU:$FBD8 PRG:3BD8 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FBD8 PRG:3BD8 8D 03 40 bne UpdateAPU9 ; CPU:$FBDB PRG:3BDB D0 32 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU8 @@ -11223,29 +11223,29 @@ UpdateAPU8: ldy ZpFF ; CPU:$FBE1 PRG:3BE1 A4 FF lda ZpF1 ; CPU:$FBE3 PRG:3BE3 A5 F1 lsr ZpFF ; CPU:$FBE5 PRG:3BE5 46 FF - bcs Label_FC61 ; CPU:$FBE7 PRG:3BE7 B0 78 + bcs SubCFC61 ; CPU:$FBE7 PRG:3BE7 B0 78 lsr a ; CPU:$FBE9 PRG:3BE9 4A - bcs Label_FC12 ; CPU:$FBEA PRG:3BEA B0 26 + bcs SubCFC12 ; CPU:$FBEA PRG:3BEA B0 26 lsr ZpFF ; CPU:$FBEC PRG:3BEC 46 FF - bcs Label_FC15 ; CPU:$FBEE PRG:3BEE B0 25 + bcs SubCFC15 ; CPU:$FBEE PRG:3BEE B0 25 lsr a ; CPU:$FBF0 PRG:3BF0 4A - bcs Label_FB7F ; CPU:$FBF1 PRG:3BF1 B0 8C + bcs SubCFB7F ; CPU:$FBF1 PRG:3BF1 B0 8C lsr ZpFF ; CPU:$FBF3 PRG:3BF3 46 FF - bcs Label_FC34 ; CPU:$FBF5 PRG:3BF5 B0 3D + bcs SubCFC34 ; CPU:$FBF5 PRG:3BF5 B0 3D lsr a ; CPU:$FBF7 PRG:3BF7 4A - bcs Label_FC27 ; CPU:$FBF8 PRG:3BF8 B0 2D + bcs SubCFC27 ; CPU:$FBF8 PRG:3BF8 B0 2D lsr ZpFF ; CPU:$FBFA PRG:3BFA 46 FF - bcs Label_FC45 ; CPU:$FBFC PRG:3BFC B0 47 + bcs SubCFC45 ; CPU:$FBFC PRG:3BFC B0 47 lsr a ; CPU:$FBFE PRG:3BFE 4A - bcs Label_FC54 ; CPU:$FBFF PRG:3BFF B0 53 + bcs SubCFC54 ; CPU:$FBFF PRG:3BFF B0 53 lsr ZpFF ; CPU:$FC01 PRG:3C01 46 FF - bcs Label_FBAC ; CPU:$FC03 PRG:3C03 B0 A7 + bcs SubCFBAC ; CPU:$FC03 PRG:3C03 B0 A7 lsr a ; CPU:$FC05 PRG:3C05 4A - bcs Label_FBBB ; CPU:$FC06 PRG:3C06 B0 B3 + bcs SubCFBBB ; CPU:$FC06 PRG:3C06 B0 B3 lsr ZpFF ; CPU:$FC08 PRG:3C08 46 FF - bcs Label_FC18 ; CPU:$FC0A PRG:3C0A B0 0C + bcs SubCFC18 ; CPU:$FC0A PRG:3C0A B0 0C lsr a ; CPU:$FC0C PRG:3C0C 4A - bcs Label_FC27 ; CPU:$FC0D PRG:3C0D B0 18 + bcs SubCFC27 ; CPU:$FC0D PRG:3C0D B0 18 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11256,9 +11256,9 @@ UpdateAPU8: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU9: - jmp $FCE2 ; CPU:$FC0F PRG:3C0F 4C E2 FC + jmp UpdateAPU12 ; CPU:$FC0F PRG:3C0F 4C E2 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FC12 +; Routine: SubCFC12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11266,10 +11266,10 @@ UpdateAPU9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC12: - jmp $FC72 ; CPU:$FC12 PRG:3C12 4C 72 FC +SubCFC12: + jmp UpdateAPU11 ; CPU:$FC12 PRG:3C12 4C 72 FC ; ----------------------------------------------------------------------------- -; Routine: Label_FC15 +; Routine: SubCFC15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11277,10 +11277,10 @@ Label_FC12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC15: - jmp $FB6E ; CPU:$FC15 PRG:3C15 4C 6E FB +SubCFC15: + jmp UpdateAPU7 ; CPU:$FC15 PRG:3C15 4C 6E FB ; ----------------------------------------------------------------------------- -; Routine: Label_FC18 +; Routine: SubCFC18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11288,16 +11288,16 @@ Label_FC15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC18: +SubCFC18: sty ZpF1 ; CPU:$FC18 PRG:3C18 84 F1 lda #$0A ; CPU:$FC1A PRG:3C1A A9 0A sta ZpF7 ; CPU:$FC1C PRG:3C1C 85 F7 ldx #$96 ; CPU:$FC1E PRG:3C1E A2 96 ldy #$82 ; CPU:$FC20 PRG:3C20 A0 82 lda #$18 ; CPU:$FC22 PRG:3C22 A9 18 - jsr $FB40 ; CPU:$FC24 PRG:3C24 20 40 FB + jsr UpdateAPU2 ; CPU:$FC24 PRG:3C24 20 40 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FC27 +; Routine: SubCFC27 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11305,7 +11305,7 @@ Label_FC18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC27: +SubCFC27: dec ZpF7 ; CPU:$FC27 PRG:3C27 C6 F7 bne UpdateAPU9 ; CPU:$FC29 PRG:3C29 D0 E4 ; ----------------------------------------------------------------------------- @@ -11318,12 +11318,12 @@ Label_FC27: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU10: - jsr $FFE3 ; CPU:$FC2B PRG:3C2B 20 E3 FF + jsr UpdateAPU17 ; CPU:$FC2B PRG:3C2B 20 E3 FF lda #$00 ; CPU:$FC2E PRG:3C2E A9 00 sta ZpF1 ; CPU:$FC30 PRG:3C30 85 F1 beq UpdateAPU9 ; CPU:$FC32 PRG:3C32 F0 DB ; ----------------------------------------------------------------------------- -; Routine: Label_FC34 +; Routine: SubCFC34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11331,17 +11331,17 @@ UpdateAPU10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC34: +SubCFC34: sty ZpF1 ; CPU:$FC34 PRG:3C34 84 F1 lda #$0A ; CPU:$FC36 PRG:3C36 A9 0A sta ZpF7 ; CPU:$FC38 PRG:3C38 85 F7 ldx #$83 ; CPU:$FC3A PRG:3C3A A2 83 ldy #$8A ; CPU:$FC3C PRG:3C3C A0 8A lda #$18 ; CPU:$FC3E PRG:3C3E A9 18 - jsr $FB40 ; CPU:$FC40 PRG:3C40 20 40 FB - bne Label_FC27 ; CPU:$FC43 PRG:3C43 D0 E2 + jsr UpdateAPU2 ; CPU:$FC40 PRG:3C40 20 40 FB + bne SubCFC27 ; CPU:$FC43 PRG:3C43 D0 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_FC45 +; Routine: SubCFC45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11349,16 +11349,16 @@ Label_FC34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC45: +SubCFC45: sty ZpF1 ; CPU:$FC45 PRG:3C45 84 F1 lda #$0C ; CPU:$FC47 PRG:3C47 A9 0C sta ZpF7 ; CPU:$FC49 PRG:3C49 85 F7 ldx #$85 ; CPU:$FC4B PRG:3C4B A2 85 ldy #$8C ; CPU:$FC4D PRG:3C4D A0 8C lda #$02 ; CPU:$FC4F PRG:3C4F A9 02 - jsr $FB40 ; CPU:$FC51 PRG:3C51 20 40 FB + jsr UpdateAPU2 ; CPU:$FC51 PRG:3C51 20 40 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FC54 +; Routine: SubCFC54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11366,14 +11366,14 @@ Label_FC45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC54: +SubCFC54: lda ZpF7 ; CPU:$FC54 PRG:3C54 A5 F7 cmp #$0A ; CPU:$FC56 PRG:3C56 C9 0A - bne Label_FC5F ; CPU:$FC58 PRG:3C58 D0 05 + bne SubCFC5F ; CPU:$FC58 PRG:3C58 D0 05 lda #$8B ; CPU:$FC5A PRG:3C5A A9 8B - sta $4001 ; CPU:$FC5C PRG:3C5C 8D 01 40 + sta APUPULSE1SWEEP ; CPU:$FC5C PRG:3C5C 8D 01 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FC5F +; Routine: SubCFC5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11381,10 +11381,10 @@ Label_FC54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC5F: - bne Label_FC27 ; CPU:$FC5F PRG:3C5F D0 C6 +SubCFC5F: + bne SubCFC27 ; CPU:$FC5F PRG:3C5F D0 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_FC61 +; Routine: SubCFC61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11392,7 +11392,7 @@ Label_FC5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC61: +SubCFC61: sty ZpF1 ; CPU:$FC61 PRG:3C61 84 F1 lda #$29 ; CPU:$FC63 PRG:3C63 A9 29 sta ZpF7 ; CPU:$FC65 PRG:3C65 85 F7 @@ -11400,7 +11400,7 @@ Label_FC61: sta ZpF8 ; CPU:$FC69 PRG:3C69 85 F8 ldx #$9C ; CPU:$FC6B PRG:3C6B A2 9C ldy #$83 ; CPU:$FC6D PRG:3C6D A0 83 - jsr $FFDC ; CPU:$FC6F PRG:3C6F 20 DC FF + jsr UpdateAPU16 ; CPU:$FC6F PRG:3C6F 20 DC FF ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11415,13 +11415,13 @@ UpdateAPU11: lda ZpF7 ; CPU:$FC74 PRG:3C74 A5 F7 beq UpdateAPU10 ; CPU:$FC76 PRG:3C76 F0 B3 cmp #$30 ; CPU:$FC78 PRG:3C78 C9 30 - bcs Label_FC83 ; CPU:$FC7A PRG:3C7A B0 07 + bcs SubCFC83 ; CPU:$FC7A PRG:3C7A B0 07 lsr a ; CPU:$FC7C PRG:3C7C 4A lsr a ; CPU:$FC7D PRG:3C7D 4A ora #$90 ; CPU:$FC7E PRG:3C7E 09 90 - sta $4000 ; CPU:$FC80 PRG:3C80 8D 00 40 + sta APUPULSE1CTRL ; CPU:$FC80 PRG:3C80 8D 00 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FC83 +; Routine: SubCFC83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11429,10 +11429,10 @@ UpdateAPU11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC83: +SubCFC83: lda ZpF7 ; CPU:$FC83 PRG:3C83 A5 F7 and #$03 ; CPU:$FC85 PRG:3C85 29 03 - bne Label_FCA5 ; CPU:$FC87 PRG:3C87 D0 1C + bne SubCFCA5 ; CPU:$FC87 PRG:3C87 D0 1C lda ZpF8 ; CPU:$FC89 PRG:3C89 A5 F8 lsr a ; CPU:$FC8B PRG:3C8B 4A lsr a ; CPU:$FC8C PRG:3C8C 4A @@ -11444,16 +11444,16 @@ Label_FC83: asl a ; CPU:$FC94 PRG:3C94 0A asl a ; CPU:$FC95 PRG:3C95 0A asl a ; CPU:$FC96 PRG:3C96 0A - sta $4002 ; CPU:$FC97 PRG:3C97 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$FC97 PRG:3C97 8D 02 40 lda ZpF8 ; CPU:$FC9A PRG:3C9A A5 F8 rol a ; CPU:$FC9C PRG:3C9C 2A rol a ; CPU:$FC9D PRG:3C9D 2A rol a ; CPU:$FC9E PRG:3C9E 2A rol a ; CPU:$FC9F PRG:3C9F 2A and #$07 ; CPU:$FCA0 PRG:3CA0 29 07 - sta $4003 ; CPU:$FCA2 PRG:3CA2 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$FCA2 PRG:3CA2 8D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FCA5 +; Routine: SubCFCA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11461,13 +11461,13 @@ Label_FC83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA5: - jmp $FC0F ; CPU:$FCA5 PRG:3CA5 4C 0F FC +SubCFCA5: + jmp UpdateAPU9 ; CPU:$FCA5 PRG:3CA5 4C 0F FC ; ---- data $FCA8-$FCB3 (12 bytes) ---- ; referenced by `lda $FCA8,y` at $FCC8 (operand $FCA8 falls inside this region) .byte $0E, $0D, $0E, $0D, $0C, $0D, $0C, $0D, $0C, $0B, $0C, $0B ; CPU:$FCA8 PRG:3CA8 0E 0D 0E 0D 0C 0D 0C 0D 0C 0B 0C 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FCB4 +; Routine: SubCFCB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11475,16 +11475,16 @@ Label_FCA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCB4: +SubCFCB4: sty ZpF2 ; CPU:$FCB4 PRG:3CB4 84 F2 lda #$17 ; CPU:$FCB6 PRG:3CB6 A9 17 sta ZpF9 ; CPU:$FCB8 PRG:3CB8 85 F9 lda #$08 ; CPU:$FCBA PRG:3CBA A9 08 - sta $400F ; CPU:$FCBC PRG:3CBC 8D 0F 40 + sta APUNOISELENGTH ; CPU:$FCBC PRG:3CBC 8D 0F 40 lda #$09 ; CPU:$FCBF PRG:3CBF A9 09 - sta $400C ; CPU:$FCC1 PRG:3CC1 8D 0C 40 + sta APUNOISECTRL ; CPU:$FCC1 PRG:3CC1 8D 0C 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC4 +; Routine: SubCFCC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11492,15 +11492,15 @@ Label_FCB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC4: +SubCFCC4: lda ZpF9 ; CPU:$FCC4 PRG:3CC4 A5 F9 lsr a ; CPU:$FCC6 PRG:3CC6 4A tay ; CPU:$FCC7 PRG:3CC7 A8 lda $FCA8,y ; CPU:$FCC8 PRG:3CC8 B9 A8 FC - sta $400E ; CPU:$FCCB PRG:3CCB 8D 0E 40 - jmp $FD55 ; CPU:$FCCE PRG:3CCE 4C 55 FD + sta APUNOISEPERIOD ; CPU:$FCCB PRG:3CCB 8D 0E 40 + jmp UpdateAPU14 ; CPU:$FCCE PRG:3CCE 4C 55 FD ; ----------------------------------------------------------------------------- -; Routine: Label_FCD1 +; Routine: SubCFCD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11508,14 +11508,14 @@ Label_FCC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCD1: +SubCFCD1: sty ZpF2 ; CPU:$FCD1 PRG:3CD1 84 F2 lda #$28 ; CPU:$FCD3 PRG:3CD3 A9 28 sta ZpF9 ; CPU:$FCD5 PRG:3CD5 85 F9 ldx #$8F ; CPU:$FCD7 PRG:3CD7 A2 8F ldy #$95 ; CPU:$FCD9 PRG:3CD9 A0 95 lda #$20 ; CPU:$FCDB PRG:3CDB A9 20 - jsr $FFF0 ; CPU:$FCDD PRG:3CDD 20 F0 FF + jsr UpdateAPU19 ; CPU:$FCDD PRG:3CDD 20 F0 FF bne UpdateAPU14 ; CPU:$FCE0 PRG:3CE0 D0 73 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU12 @@ -11532,25 +11532,25 @@ UpdateAPU12: ldy ZpFE ; CPU:$FCE6 PRG:3CE6 A4 FE lda ZpF2 ; CPU:$FCE8 PRG:3CE8 A5 F2 lsr ZpFE ; CPU:$FCEA PRG:3CEA 46 FE - bcs Label_FCB4 ; CPU:$FCEC PRG:3CEC B0 C6 + bcs SubCFCB4 ; CPU:$FCEC PRG:3CEC B0 C6 lsr a ; CPU:$FCEE PRG:3CEE 4A - bcs Label_FCC4 ; CPU:$FCEF PRG:3CEF B0 D3 + bcs SubCFCC4 ; CPU:$FCEF PRG:3CEF B0 D3 lsr ZpFE ; CPU:$FCF1 PRG:3CF1 46 FE - bcs Label_FCD1 ; CPU:$FCF3 PRG:3CF3 B0 DC + bcs SubCFCD1 ; CPU:$FCF3 PRG:3CF3 B0 DC lsr a ; CPU:$FCF5 PRG:3CF5 4A bcs UpdateAPU14 ; CPU:$FCF6 PRG:3CF6 B0 5D lsr ZpFE ; CPU:$FCF8 PRG:3CF8 46 FE - bcs Label_FD24 ; CPU:$FCFA PRG:3CFA B0 28 + bcs SubCFD24 ; CPU:$FCFA PRG:3CFA B0 28 lsr a ; CPU:$FCFC PRG:3CFC 4A - bcs Label_FD33 ; CPU:$FCFD PRG:3CFD B0 34 + bcs SubCFD33 ; CPU:$FCFD PRG:3CFD B0 34 lsr ZpFE ; CPU:$FCFF PRG:3CFF 46 FE - bcs Label_FD5C ; CPU:$FD01 PRG:3D01 B0 59 + bcs SubCFD5C ; CPU:$FD01 PRG:3D01 B0 59 lsr a ; CPU:$FD03 PRG:3D03 4A bcs UpdateAPU14 ; CPU:$FD04 PRG:3D04 B0 4F lsr a ; CPU:$FD06 PRG:3D06 4A bcs UpdateAPU14 ; CPU:$FD07 PRG:3D07 B0 4C lsr ZpFE ; CPU:$FD09 PRG:3D09 46 FE - bcs Label_FD6D ; CPU:$FD0B PRG:3D0B B0 60 + bcs SubCFD6D ; CPU:$FD0B PRG:3D0B B0 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11561,9 +11561,9 @@ UpdateAPU12: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU13: - jmp $FD91 ; CPU:$FD0D PRG:3D0D 4C 91 FD + jmp UpdateAPU15 ; CPU:$FD0D PRG:3D0D 4C 91 FD ; ----------------------------------------------------------------------------- -; Routine: Label_FD10 +; Routine: SubCFD10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11571,17 +11571,17 @@ UpdateAPU13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD10: +SubCFD10: lda #$00 ; CPU:$FD10 PRG:3D10 A9 00 sta ZpF2 ; CPU:$FD12 PRG:3D12 85 F2 lda #$10 ; CPU:$FD14 PRG:3D14 A9 10 - sta $4004 ; CPU:$FD16 PRG:3D16 8D 04 40 - sta $400C ; CPU:$FD19 PRG:3D19 8D 0C 40 + sta APUPULSE2CTRL ; CPU:$FD16 PRG:3D16 8D 04 40 + sta APUNOISECTRL ; CPU:$FD19 PRG:3D19 8D 0C 40 bne UpdateAPU13 ; CPU:$FD1C PRG:3D1C D0 EF ; ---- data $FD1E-$FD23 (6 bytes) ---- .byte $8B, $8A, $8B, $82, $83, $82 ; CPU:$FD1E PRG:3D1E 8B 8A 8B 82 83 82 ; ----------------------------------------------------------------------------- -; Routine: Label_FD24 +; Routine: SubCFD24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11589,16 +11589,16 @@ Label_FD10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD24: +SubCFD24: sty ZpF2 ; CPU:$FD24 PRG:3D24 84 F2 lda #$18 ; CPU:$FD26 PRG:3D26 A9 18 sta ZpF9 ; CPU:$FD28 PRG:3D28 85 F9 lda #$24 ; CPU:$FD2A PRG:3D2A A9 24 - jsr $FB46 ; CPU:$FD2C PRG:3D2C 20 46 FB + jsr UpdateAPU4 ; CPU:$FD2C PRG:3D2C 20 46 FB lda #$07 ; CPU:$FD2F PRG:3D2F A9 07 sta ZpFA ; CPU:$FD31 PRG:3D31 85 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FD33 +; Routine: SubCFD33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11606,15 +11606,15 @@ Label_FD24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD33: +SubCFD33: dec ZpFA ; CPU:$FD33 PRG:3D33 C6 FA - bne Label_FD40 ; CPU:$FD35 PRG:3D35 D0 09 + bne SubCFD40 ; CPU:$FD35 PRG:3D35 D0 09 lda #$07 ; CPU:$FD37 PRG:3D37 A9 07 sta ZpFA ; CPU:$FD39 PRG:3D39 85 FA lda #$22 ; CPU:$FD3B PRG:3D3B A9 22 - jsr $FB46 ; CPU:$FD3D PRG:3D3D 20 46 FB + jsr UpdateAPU4 ; CPU:$FD3D PRG:3D3D 20 46 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FD40 +; Routine: SubCFD40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11622,19 +11622,19 @@ Label_FD33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD40: +SubCFD40: ldy ZpFA ; CPU:$FD40 PRG:3D40 A4 FA lda $FD1D,y ; CPU:$FD42 PRG:3D42 B9 1D FD tay ; CPU:$FD45 PRG:3D45 A8 ldx #$98 ; CPU:$FD46 PRG:3D46 A2 98 lda ZpF9 ; CPU:$FD48 PRG:3D48 A5 F9 cmp #$10 ; CPU:$FD4A PRG:3D4A C9 10 - bcs Label_FD52 ; CPU:$FD4C PRG:3D4C B0 04 + bcs SubCFD52 ; CPU:$FD4C PRG:3D4C B0 04 lsr a ; CPU:$FD4E PRG:3D4E 4A ora #$90 ; CPU:$FD4F PRG:3D4F 09 90 tax ; CPU:$FD51 PRG:3D51 AA ; ----------------------------------------------------------------------------- -; Routine: Label_FD52 +; Routine: SubCFD52 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11642,8 +11642,8 @@ Label_FD40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD52: - jsr $FFE9 ; CPU:$FD52 PRG:3D52 20 E9 FF +SubCFD52: + jsr UpdateAPU18 ; CPU:$FD52 PRG:3D52 20 E9 FF ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. @@ -11655,10 +11655,10 @@ Label_FD52: ; ----------------------------------------------------------------------------- UpdateAPU14: dec ZpF9 ; CPU:$FD55 PRG:3D55 C6 F9 - beq Label_FD10 ; CPU:$FD57 PRG:3D57 F0 B7 - jmp $FD0D ; CPU:$FD59 PRG:3D59 4C 0D FD + beq SubCFD10 ; CPU:$FD57 PRG:3D57 F0 B7 + jmp UpdateAPU13 ; CPU:$FD59 PRG:3D59 4C 0D FD ; ----------------------------------------------------------------------------- -; Routine: Label_FD5C +; Routine: SubCFD5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11666,17 +11666,17 @@ UpdateAPU14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD5C: +SubCFD5C: sty ZpF2 ; CPU:$FD5C PRG:3D5C 84 F2 lda #$05 ; CPU:$FD5E PRG:3D5E A9 05 sta ZpF9 ; CPU:$FD60 PRG:3D60 85 F9 ldx #$82 ; CPU:$FD62 PRG:3D62 A2 82 ldy #$8B ; CPU:$FD64 PRG:3D64 A0 8B lda #$00 ; CPU:$FD66 PRG:3D66 A9 00 - jsr $FB40 ; CPU:$FD68 PRG:3D68 20 40 FB + jsr UpdateAPU2 ; CPU:$FD68 PRG:3D68 20 40 FB bne UpdateAPU14 ; CPU:$FD6B PRG:3D6B D0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_FD6D +; Routine: SubCFD6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11684,21 +11684,21 @@ Label_FD5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD6D: +SubCFD6D: sty ZpF2 ; CPU:$FD6D PRG:3D6D 84 F2 lda #$08 ; CPU:$FD6F PRG:3D6F A9 08 sta ZpF9 ; CPU:$FD71 PRG:3D71 85 F9 ldx #$80 ; CPU:$FD73 PRG:3D73 A2 80 ldy #$7F ; CPU:$FD75 PRG:3D75 A0 7F - jsr $FFE9 ; CPU:$FD77 PRG:3D77 20 E9 FF + jsr UpdateAPU18 ; CPU:$FD77 PRG:3D77 20 E9 FF inc $07F6 ; CPU:$FD7A PRG:3D7A EE F6 07 lda $07F6 ; CPU:$FD7D PRG:3D7D AD F6 07 lsr a ; CPU:$FD80 PRG:3D80 4A ldy #$1D ; CPU:$FD81 PRG:3D81 A0 1D - bcc Label_FD87 ; CPU:$FD83 PRG:3D83 90 02 + bcc SubCFD87 ; CPU:$FD83 PRG:3D83 90 02 ldy #$AB ; CPU:$FD85 PRG:3D85 A0 AB ; ----------------------------------------------------------------------------- -; Routine: Label_FD87 +; Routine: SubCFD87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11706,10 +11706,10 @@ Label_FD6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD87: - sty $4006 ; CPU:$FD87 PRG:3D87 8C 06 40 +SubCFD87: + sty APUPULSE2TIMERLO ; CPU:$FD87 PRG:3D87 8C 06 40 lda #$19 ; CPU:$FD8A PRG:3D8A A9 19 - sta $4007 ; CPU:$FD8C PRG:3D8C 8D 07 40 + sta APUPULSE2TIMERHI ; CPU:$FD8C PRG:3D8C 8D 07 40 bne UpdateAPU14 ; CPU:$FD8F PRG:3D8F D0 C4 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU15 @@ -11722,12 +11722,12 @@ Label_FD87: ; ----------------------------------------------------------------------------- UpdateAPU15: lda ZpFD ; CPU:$FD91 PRG:3D91 A5 FD - bne Label_FD9A ; CPU:$FD93 PRG:3D93 D0 05 + bne SubCFD9A ; CPU:$FD93 PRG:3D93 D0 05 lda ZpF6 ; CPU:$FD95 PRG:3D95 A5 F6 - bne Label_FDE7 ; CPU:$FD97 PRG:3D97 D0 4E + bne SubCFDE7 ; CPU:$FD97 PRG:3D97 D0 4E rts ; CPU:$FD99 PRG:3D99 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FD9A +; Routine: SubCFD9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11735,10 +11735,10 @@ UpdateAPU15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD9A: +SubCFD9A: ldy #$07 ; CPU:$FD9A PRG:3D9A A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_FD9C +; Routine: SubCFD9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11746,13 +11746,13 @@ Label_FD9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FD9C: +SubCFD9C: asl a ; CPU:$FD9C PRG:3D9C 0A - bcs Label_FDA2 ; CPU:$FD9D PRG:3D9D B0 03 + bcs SubCFDA2 ; CPU:$FD9D PRG:3D9D B0 03 dey ; CPU:$FD9F PRG:3D9F 88 - bne Label_FD9C ; CPU:$FDA0 PRG:3DA0 D0 FA + bne SubCFD9C ; CPU:$FDA0 PRG:3DA0 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FDA2 +; Routine: SubCFDA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11760,7 +11760,7 @@ Label_FD9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDA2: +SubCFDA2: sty ZpF3 ; CPU:$FDA2 PRG:3DA2 84 F3 lda $FF3F,y ; CPU:$FDA4 PRG:3DA4 B9 3F FF tay ; CPU:$FDA7 PRG:3DA7 A8 @@ -11780,16 +11780,16 @@ Label_FDA2: sta $07F3 ; CPU:$FDCA PRG:3DCA 8D F3 07 ldy #$00 ; CPU:$FDCD PRG:3DCD A0 00 sty ZpF6 ; CPU:$FDCF PRG:3DCF 84 F6 - sty $4008 ; CPU:$FDD1 PRG:3DD1 8C 08 40 + sty APUTRIANGLECTRL ; CPU:$FDD1 PRG:3DD1 8C 08 40 lda #$10 ; CPU:$FDD4 PRG:3DD4 A9 10 - sta $4000 ; CPU:$FDD6 PRG:3DD6 8D 00 40 - sta $4004 ; CPU:$FDD9 PRG:3DD9 8D 04 40 - sta $400C ; CPU:$FDDC PRG:3DDC 8D 0C 40 + sta APUPULSE1CTRL ; CPU:$FDD6 PRG:3DD6 8D 00 40 + sta APUPULSE2CTRL ; CPU:$FDD9 PRG:3DD9 8D 04 40 + sta APUNOISECTRL ; CPU:$FDDC PRG:3DDC 8D 0C 40 lda #$7F ; CPU:$FDDF PRG:3DDF A9 7F - sta $4001 ; CPU:$FDE1 PRG:3DE1 8D 01 40 - sta $4005 ; CPU:$FDE4 PRG:3DE4 8D 05 40 + sta APUPULSE1SWEEP ; CPU:$FDE1 PRG:3DE1 8D 01 40 + sta APUPULSE2SWEEP ; CPU:$FDE4 PRG:3DE4 8D 05 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FDE7 +; Routine: SubCFDE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11797,21 +11797,21 @@ Label_FDA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FDE7: +SubCFDE7: lda ZpF3 ; CPU:$FDE7 PRG:3DE7 A5 F3 - bne Label_FE04 ; CPU:$FDE9 PRG:3DE9 D0 19 + bne SubCFE04 ; CPU:$FDE9 PRG:3DE9 D0 19 lda $07F5 ; CPU:$FDEB PRG:3DEB AD F5 07 - beq Label_FE04 ; CPU:$FDEE PRG:3DEE F0 14 + beq SubCFE04 ; CPU:$FDEE PRG:3DEE F0 14 lda $07F1 ; CPU:$FDF0 PRG:3DF0 AD F1 07 ldx #$90 ; CPU:$FDF3 PRG:3DF3 A2 90 cmp #$03 ; CPU:$FDF5 PRG:3DF5 C9 03 - bcc Label_FE01 ; CPU:$FDF7 PRG:3DF7 90 08 + bcc SubCFE01 ; CPU:$FDF7 PRG:3DF7 90 08 ldx #$9D ; CPU:$FDF9 PRG:3DF9 A2 9D and #$07 ; CPU:$FDFB PRG:3DFB 29 07 - bne Label_FE01 ; CPU:$FDFD PRG:3DFD D0 02 + bne SubCFE01 ; CPU:$FDFD PRG:3DFD D0 02 ldx #$9A ; CPU:$FDFF PRG:3DFF A2 9A ; ----------------------------------------------------------------------------- -; Routine: Label_FE01 +; Routine: SubCFE01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11819,10 +11819,10 @@ Label_FDE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE01: - stx $4004 ; CPU:$FE01 PRG:3E01 8E 04 40 +SubCFE01: + stx APUPULSE2CTRL ; CPU:$FE01 PRG:3E01 8E 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE04 +; Routine: SubCFE04 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11830,17 +11830,17 @@ Label_FE01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE04: +SubCFE04: dec $07F1 ; CPU:$FE04 PRG:3E04 CE F1 07 - bne Label_FE44 ; CPU:$FE07 PRG:3E07 D0 3B + bne SubCFE44 ; CPU:$FE07 PRG:3E07 D0 3B ldy ZpF6 ; CPU:$FE09 PRG:3E09 A4 F6 inc ZpF6 ; CPU:$FE0B PRG:3E0B E6 F6 lda (ZpFB),y ; CPU:$FE0D PRG:3E0D B1 FB - bne Label_FE1B ; CPU:$FE0F PRG:3E0F D0 0A + bne SubCFE1B ; CPU:$FE0F PRG:3E0F D0 0A lda #$00 ; CPU:$FE11 PRG:3E11 A9 00 ldx #$05 ; CPU:$FE13 PRG:3E13 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FE15 +; Routine: SubCFE15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11848,13 +11848,13 @@ Label_FE04: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE15: +SubCFE15: sta ZpF1,x ; CPU:$FE15 PRG:3E15 95 F1 dex ; CPU:$FE17 PRG:3E17 CA - bpl Label_FE15 ; CPU:$FE18 PRG:3E18 10 FB + bpl SubCFE15 ; CPU:$FE18 PRG:3E18 10 FB rts ; CPU:$FE1A PRG:3E1A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FE1B +; Routine: SubCFE1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11862,18 +11862,18 @@ Label_FE15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE1B: - jsr $FB5D ; CPU:$FE1B PRG:3E1B 20 5D FB +SubCFE1B: + jsr UpdateAPU6 ; CPU:$FE1B PRG:3E1B 20 5D FB sta $07F1 ; CPU:$FE1E PRG:3E1E 8D F1 07 txa ; CPU:$FE21 PRG:3E21 8A and #$3E ; CPU:$FE22 PRG:3E22 29 3E - jsr $FB46 ; CPU:$FE24 PRG:3E24 20 46 FB + jsr UpdateAPU4 ; CPU:$FE24 PRG:3E24 20 46 FB sta $07F5 ; CPU:$FE27 PRG:3E27 8D F5 07 - bne Label_FE30 ; CPU:$FE2A PRG:3E2A D0 04 + bne SubCFE30 ; CPU:$FE2A PRG:3E2A D0 04 ldx #$90 ; CPU:$FE2C PRG:3E2C A2 90 - bne Label_FE41 ; CPU:$FE2E PRG:3E2E D0 11 + bne SubCFE41 ; CPU:$FE2E PRG:3E2E D0 11 ; ----------------------------------------------------------------------------- -; Routine: Label_FE30 +; Routine: SubCFE30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11881,17 +11881,17 @@ Label_FE1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE30: +SubCFE30: ldx #$9D ; CPU:$FE30 PRG:3E30 A2 9D lda ZpF3 ; CPU:$FE32 PRG:3E32 A5 F3 - beq Label_FE41 ; CPU:$FE34 PRG:3E34 F0 0B + beq SubCFE41 ; CPU:$FE34 PRG:3E34 F0 0B ldx #$86 ; CPU:$FE36 PRG:3E36 A2 86 lda $07F1 ; CPU:$FE38 PRG:3E38 AD F1 07 cmp #$08 ; CPU:$FE3B PRG:3E3B C9 08 - bcs Label_FE41 ; CPU:$FE3D PRG:3E3D B0 02 + bcs SubCFE41 ; CPU:$FE3D PRG:3E3D B0 02 ldx #$82 ; CPU:$FE3F PRG:3E3F A2 82 ; ----------------------------------------------------------------------------- -; Routine: Label_FE41 +; Routine: SubCFE41 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11899,10 +11899,10 @@ Label_FE30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE41: - stx $4004 ; CPU:$FE41 PRG:3E41 8E 04 40 +SubCFE41: + stx APUPULSE2CTRL ; CPU:$FE41 PRG:3E41 8E 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE44 +; Routine: SubCFE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11910,17 +11910,17 @@ Label_FE41: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE44: +SubCFE44: ldy ZpF5 ; CPU:$FE44 PRG:3E44 A4 F5 - beq Label_FE8B ; CPU:$FE46 PRG:3E46 F0 43 + beq SubCFE8B ; CPU:$FE46 PRG:3E46 F0 43 lda ZpF3 ; CPU:$FE48 PRG:3E48 A5 F3 - bne Label_FE56 ; CPU:$FE4A PRG:3E4A D0 0A + bne SubCFE56 ; CPU:$FE4A PRG:3E4A D0 0A lda $07F2 ; CPU:$FE4C PRG:3E4C AD F2 07 cmp #$03 ; CPU:$FE4F PRG:3E4F C9 03 - bcs Label_FE56 ; CPU:$FE51 PRG:3E51 B0 03 - jsr $FFE3 ; CPU:$FE53 PRG:3E53 20 E3 FF + bcs SubCFE56 ; CPU:$FE51 PRG:3E51 B0 03 + jsr UpdateAPU17 ; CPU:$FE53 PRG:3E53 20 E3 FF ; ----------------------------------------------------------------------------- -; Routine: Label_FE56 +; Routine: SubCFE56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11928,21 +11928,21 @@ Label_FE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE56: +SubCFE56: dec $07F2 ; CPU:$FE56 PRG:3E56 CE F2 07 - bne Label_FE8B ; CPU:$FE59 PRG:3E59 D0 30 + bne SubCFE8B ; CPU:$FE59 PRG:3E59 D0 30 inc ZpF5 ; CPU:$FE5B PRG:3E5B E6 F5 lda (ZpFB),y ; CPU:$FE5D PRG:3E5D B1 FB - jsr $FB5D ; CPU:$FE5F PRG:3E5F 20 5D FB + jsr UpdateAPU6 ; CPU:$FE5F PRG:3E5F 20 5D FB sta $07F2 ; CPU:$FE62 PRG:3E62 8D F2 07 txa ; CPU:$FE65 PRG:3E65 8A and #$3E ; CPU:$FE66 PRG:3E66 29 3E - jsr $FB43 ; CPU:$FE68 PRG:3E68 20 43 FB - bne Label_FE71 ; CPU:$FE6B PRG:3E6B D0 04 + jsr UpdateAPU3 ; CPU:$FE68 PRG:3E68 20 43 FB + bne SubCFE71 ; CPU:$FE6B PRG:3E6B D0 04 ldx #$90 ; CPU:$FE6D PRG:3E6D A2 90 - bne Label_FE88 ; CPU:$FE6F PRG:3E6F D0 17 + bne SubCFE88 ; CPU:$FE6F PRG:3E6F D0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_FE71 +; Routine: SubCFE71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11950,17 +11950,17 @@ Label_FE56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE71: +SubCFE71: ldx #$5A ; CPU:$FE71 PRG:3E71 A2 5A lda ZpF3 ; CPU:$FE73 PRG:3E73 A5 F3 - beq Label_FE88 ; CPU:$FE75 PRG:3E75 F0 11 + beq SubCFE88 ; CPU:$FE75 PRG:3E75 F0 11 ldx #$46 ; CPU:$FE77 PRG:3E77 A2 46 lda $07F2 ; CPU:$FE79 PRG:3E79 AD F2 07 cmp #$08 ; CPU:$FE7C PRG:3E7C C9 08 - bcs Label_FE82 ; CPU:$FE7E PRG:3E7E B0 02 + bcs SubCFE82 ; CPU:$FE7E PRG:3E7E B0 02 ldx #$42 ; CPU:$FE80 PRG:3E80 A2 42 ; ----------------------------------------------------------------------------- -; Routine: Label_FE82 +; Routine: SubCFE82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11968,12 +11968,12 @@ Label_FE71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE82: +SubCFE82: lda ZpF4 ; CPU:$FE82 PRG:3E82 A5 F4 - bne Label_FE88 ; CPU:$FE84 PRG:3E84 D0 02 + bne SubCFE88 ; CPU:$FE84 PRG:3E84 D0 02 ldx #$86 ; CPU:$FE86 PRG:3E86 A2 86 ; ----------------------------------------------------------------------------- -; Routine: Label_FE88 +; Routine: SubCFE88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11981,10 +11981,10 @@ Label_FE82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE88: - stx $4000 ; CPU:$FE88 PRG:3E88 8E 00 40 +SubCFE88: + stx APUPULSE1CTRL ; CPU:$FE88 PRG:3E88 8E 00 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE8B +; Routine: SubCFE8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11992,16 +11992,16 @@ Label_FE88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE8B: +SubCFE8B: ldy ZpF4 ; CPU:$FE8B PRG:3E8B A4 F4 - beq Label_FEC5 ; CPU:$FE8D PRG:3E8D F0 36 + beq SubCFEC5 ; CPU:$FE8D PRG:3E8D F0 36 lda $07F3 ; CPU:$FE8F PRG:3E8F AD F3 07 cmp #$02 ; CPU:$FE92 PRG:3E92 C9 02 - bne Label_FE9B ; CPU:$FE94 PRG:3E94 D0 05 + bne SubCFE9B ; CPU:$FE94 PRG:3E94 D0 05 lda #$00 ; CPU:$FE96 PRG:3E96 A9 00 - sta $4008 ; CPU:$FE98 PRG:3E98 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$FE98 PRG:3E98 8D 08 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FE9B +; Routine: SubCFE9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12009,23 +12009,23 @@ Label_FE8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FE9B: +SubCFE9B: dec $07F3 ; CPU:$FE9B PRG:3E9B CE F3 07 - bne Label_FEC5 ; CPU:$FE9E PRG:3E9E D0 25 + bne SubCFEC5 ; CPU:$FE9E PRG:3E9E D0 25 inc ZpF4 ; CPU:$FEA0 PRG:3EA0 E6 F4 lda (ZpFB),y ; CPU:$FEA2 PRG:3EA2 B1 FB - jsr $FB5D ; CPU:$FEA4 PRG:3EA4 20 5D FB + jsr UpdateAPU6 ; CPU:$FEA4 PRG:3EA4 20 5D FB sta $07F3 ; CPU:$FEA7 PRG:3EA7 8D F3 07 ldy #$38 ; CPU:$FEAA PRG:3EAA A0 38 clc ; CPU:$FEAC PRG:3EAC 18 adc #$FF ; CPU:$FEAD PRG:3EAD 69 FF cmp #$0E ; CPU:$FEAF PRG:3EAF C9 0E - bcs Label_FEB6 ; CPU:$FEB1 PRG:3EB1 B0 03 + bcs SubCFEB6 ; CPU:$FEB1 PRG:3EB1 B0 03 asl a ; CPU:$FEB3 PRG:3EB3 0A asl a ; CPU:$FEB4 PRG:3EB4 0A tay ; CPU:$FEB5 PRG:3EB5 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_FEB6 +; Routine: SubCFEB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12033,12 +12033,12 @@ Label_FE9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FEB6: +SubCFEB6: lda ZpF3 ; CPU:$FEB6 PRG:3EB6 A5 F3 - bne Label_FEBC ; CPU:$FEB8 PRG:3EB8 D0 02 + bne SubCFEBC ; CPU:$FEB8 PRG:3EB8 D0 02 ldy #$88 ; CPU:$FEBA PRG:3EBA A0 88 ; ----------------------------------------------------------------------------- -; Routine: Label_FEBC +; Routine: SubCFEBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12046,13 +12046,13 @@ Label_FEB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FEBC: - sty $4008 ; CPU:$FEBC PRG:3EBC 8C 08 40 +SubCFEBC: + sty APUTRIANGLECTRL ; CPU:$FEBC PRG:3EBC 8C 08 40 txa ; CPU:$FEBF PRG:3EBF 8A and #$3E ; CPU:$FEC0 PRG:3EC0 29 3E - jmp $FB49 ; CPU:$FEC2 PRG:3EC2 4C 49 FB + jmp UpdateAPU5 ; CPU:$FEC2 PRG:3EC2 4C 49 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FEC5 +; Routine: SubCFEC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12060,7 +12060,7 @@ Label_FEBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FEC5: +SubCFEC5: rts ; CPU:$FEC5 PRG:3EC5 60 ; ---- data $FEC6-$FFDB (278 bytes) ---- ; referenced by `lda $FF01,y` at $FB4C (operand $FF01 falls inside this region) @@ -12098,8 +12098,8 @@ Label_FEC5: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU16: - stx $4000 ; CPU:$FFDC PRG:3FDC 8E 00 40 - sty $4001 ; CPU:$FFDF PRG:3FDF 8C 01 40 + stx APUPULSE1CTRL ; CPU:$FFDC PRG:3FDC 8E 00 40 + sty APUPULSE1SWEEP ; CPU:$FFDF PRG:3FDF 8C 01 40 rts ; CPU:$FFE2 PRG:3FE2 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU17 @@ -12112,7 +12112,7 @@ UpdateAPU16: ; ----------------------------------------------------------------------------- UpdateAPU17: lda #$90 ; CPU:$FFE3 PRG:3FE3 A9 90 - sta $4000 ; CPU:$FFE5 PRG:3FE5 8D 00 40 + sta APUPULSE1CTRL ; CPU:$FFE5 PRG:3FE5 8D 00 40 rts ; CPU:$FFE8 PRG:3FE8 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU18 @@ -12124,8 +12124,8 @@ UpdateAPU17: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU18: - stx $4004 ; CPU:$FFE9 PRG:3FE9 8E 04 40 - sty $4005 ; CPU:$FFEC PRG:3FEC 8C 05 40 + stx APUPULSE2CTRL ; CPU:$FFE9 PRG:3FE9 8E 04 40 + sty APUPULSE2SWEEP ; CPU:$FFEC PRG:3FEC 8C 05 40 rts ; CPU:$FFEF PRG:3FEF 60 ; ----------------------------------------------------------------------------- ; Routine: UpdateAPU19 @@ -12137,8 +12137,8 @@ UpdateAPU18: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- UpdateAPU19: - jsr $FFE9 ; CPU:$FFF0 PRG:3FF0 20 E9 FF - jmp $FB46 ; CPU:$FFF3 PRG:3FF3 4C 46 FB + jsr UpdateAPU18 ; CPU:$FFF0 PRG:3FF0 20 E9 FF + jmp UpdateAPU4 ; CPU:$FFF3 PRG:3FF3 4C 46 FB ; ---- data $FFF6-$FFF6 (1 bytes) ---- .byte $FF ; CPU:$FFF6 PRG:3FF6 FF ; ----------------------------------------------------------------------------- @@ -12151,6 +12151,6 @@ UpdateAPU19: ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- ResetVector: - jmp $FB2C ; CPU:$FFF7 PRG:3FF7 4C 2C FB + jmp UpdateAPU ; CPU:$FFF7 PRG:3FF7 4C 2C FB ; ---- data $FFFA-$FFFF (6 bytes) ---- .byte $ED, $C1, $00, $C0, $ED, $C1 ; CPU:$FFFA PRG:3FFA ED C1 00 C0 ED C1 diff --git a/Pinball (JU)/copilot/reconstructed.lbl b/Pinball (JU)/copilot/reconstructed.lbl new file mode 100644 index 0000000..bdf4f3c --- /dev/null +++ b/Pinball (JU)/copilot/reconstructed.lbl @@ -0,0 +1,681 @@ +al 00FEBC .SubCFEBC +al 00FEB6 .SubCFEB6 +al 00FE9B .SubCFE9B +al 00FEC5 .SubCFEC5 +al 00FE82 .SubCFE82 +al 00FE88 .SubCFE88 +al 00FE71 .SubCFE71 +al 00FE56 .SubCFE56 +al 00FE8B .SubCFE8B +al 00FE41 .SubCFE41 +al 00FE30 .SubCFE30 +al 00FE15 .SubCFE15 +al 00FE1B .SubCFE1B +al 00FE44 .SubCFE44 +al 00FE01 .SubCFE01 +al 00FE04 .SubCFE04 +al 00FDA2 .SubCFDA2 +al 00FD9C .SubCFD9C +al 00FDE7 .SubCFDE7 +al 00FD9A .SubCFD9A +al 00FD87 .SubCFD87 +al 00FFE9 .UpdateAPU18 +al 00FD52 .SubCFD52 +al 00FD40 .SubCFD40 +al 00FD10 .SubCFD10 +al 00FD91 .UpdateAPU15 +al 00FD6D .SubCFD6D +al 00FD5C .SubCFD5C +al 00FD33 .SubCFD33 +al 00FD24 .SubCFD24 +al 00FD0D .UpdateAPU13 +al 00FFF0 .UpdateAPU19 +al 00FCD1 .SubCFCD1 +al 00FD55 .UpdateAPU14 +al 00FCC4 .SubCFCC4 +al 00FCB4 .SubCFCB4 +al 00FCA5 .SubCFCA5 +al 00FC83 .SubCFC83 +al 00FC5F .SubCFC5F +al 00FFE3 .UpdateAPU17 +al 00FC72 .UpdateAPU11 +al 00FCE2 .UpdateAPU12 +al 00FC18 .SubCFC18 +al 00FC54 .SubCFC54 +al 00FC45 .SubCFC45 +al 00FC34 .SubCFC34 +al 00FC15 .SubCFC15 +al 00FC12 .SubCFC12 +al 00FC61 .SubCFC61 +al 00FC0F .UpdateAPU9 +al 00FC2B .UpdateAPU10 +al 00FBCC .SubCFBCC +al 00FBC3 .SubCFBC3 +al 00FBBB .SubCFBBB +al 00FBCE .SubCFBCE +al 00FBAC .SubCFBAC +al 00FC27 .SubCFC27 +al 00FBAA .SubCFBAA +al 00FB8C .SubCFB8C +al 00FB7F .SubCFB7F +al 00FB6E .UpdateAPU7 +al 00FB5D .UpdateAPU6 +al 00FB5C .SubCFB5C +al 00FB49 .UpdateAPU5 +al 00FB46 .UpdateAPU4 +al 00FB43 .UpdateAPU3 +al 00FFDC .UpdateAPU16 +al 00FB40 .UpdateAPU2 +al 00FBDD .UpdateAPU8 +al 00FB2C .UpdateAPU +al 00F4AB .SubCF4AB +al 00F4A8 .SubCF4A8 +al 00F4A2 .SubCF4A2 +al 00F461 .SubCF461 +al 00F44A .SubCF44A +al 00F441 .SubCF441 +al 00F415 .SubCF415 +al 00F402 .SubCF402 +al 00F3ED .SubCF3ED +al 00F3E2 .SubCF3E2 +al 00F3D7 .SubCF3D7 +al 00F3B0 .SubCF3B0 +al 00F3AC .SubCF3AC +al 00F36D .SubCF36D +al 00F320 .SubCF320 +al 00F2D5 .SubCF2D5 +al 00F2E3 .SubCF2E3 +al 00F2C4 .SubCF2C4 +al 00F267 .SubCF267 +al 00F271 .SubCF271 +al 00F257 .SubCF257 +al 00F259 .SubCF259 +al 00F232 .SubCF232 +al 00F22C .SubCF22C +al 00F1F0 .SubCF1F0 +al 00F1D1 .SubCF1D1 +al 00F1E5 .SubCF1E5 +al 00F1CB .SubCF1CB +al 00F1AD .SubCF1AD +al 00F1A1 .SubCF1A1 +al 00F181 .SubCF181 +al 00F1C0 .SubCF1C0 +al 00F16B .SubCF16B +al 00F157 .SubCF157 +al 00F150 .SubCF150 +al 00F15C .SubCF15C +al 00F140 .UpdateMusicChannel27 +al 00F12E .SubCF12E +al 00F106 .SubCF106 +al 00F10E .SubCF10E +al 00F0FD .SubCF0FD +al 00F10F .SubCF10F +al 00F0D4 .SubCF0D4 +al 00F0D0 .SubCF0D0 +al 00F0B6 .SubCF0B6 +al 00F0B2 .SubCF0B2 +al 00F0A5 .SubCF0A5 +al 00F096 .SubCF096 +al 00F0A0 .SubCF0A0 +al 00F08D .SubCF08D +al 00F076 .SubCF076 +al 00F062 .SubCF062 +al 00F05A .SubCF05A +al 00F03A .SubCF03A +al 00F021 .SubCF021 +al 00F015 .SubCF015 +al 00F003 .SubCF003 +al 00EFFB .SubCEFFB +al 00F013 .SubCF013 +al 00EFDC .UpdateMusicChannel20 +al 00EFD8 .SubCEFD8 +al 00EF5F .SubCEF5F +al 00EF50 .SubCEF50 +al 00EF49 .SubCEF49 +al 00EF2F .SubCEF2F +al 00EF34 .SubCEF34 +al 00EF60 .SubCEF60 +al 00EECD .SubCEECD +al 00EEBC .SubCEEBC +al 00EEBE .SubCEEBE +al 00EEAC .SubCEEAC +al 00EE9D .SubCEE9D +al 00EE8B .SubCEE8B +al 00EE67 .SubCEE67 +al 00EE5B .SubCEE5B +al 00EE42 .SubCEE42 +al 00EE21 .SubCEE21 +al 00EE08 .SubCEE08 +al 00EE2B .SubCEE2B +al 00EDD6 .SubCEDD6 +al 00EDCD .SubCEDCD +al 00EDD4 .SubCEDD4 +al 00EDB6 .SubCEDB6 +al 00ED1F .SubCED1F +al 00ED0C .SubCED0C +al 00ECC9 .SubCECC9 +al 00ECC5 .SubCECC5 +al 00ECAF .SubCECAF +al 00EC94 .SubCEC94 +al 00EC88 .SubCEC88 +al 00EC32 .SubCEC32 +al 00EC23 .SubCEC23 +al 00EC22 .SubCEC22 +al 00EC4A .SubCEC4A +al 00EBD1 .SubCEBD1 +al 00EBBE .SubCEBBE +al 00EBB5 .SubCEBB5 +al 00EBE0 .SubCEBE0 +al 00EB5B .SubCEB5B +al 00EB3C .SubCEB3C +al 00EB33 .SubCEB33 +al 00EB20 .SubCEB20 +al 00EB18 .SubCEB18 +al 00EB27 .UpdateSoundChannel7 +al 00EB07 .SubCEB07 +al 00EAF9 .SubCEAF9 +al 00EB0D .UpdateSoundChannel6 +al 00EAE5 .UpdateSoundChannel5 +al 00EADE .SubCEADE +al 00EA57 .SubCEA57 +al 00EA46 .SubCEA46 +al 00EA42 .SubCEA42 +al 00EA33 .SubCEA33 +al 00EA25 .SubCEA25 +al 00EA23 .SubCEA23 +al 00EA1C .SubCEA1C +al 00E9D6 .SubCE9D6 +al 00E9A5 .SubCE9A5 +al 00E9BC .SubCE9BC +al 00E999 .SubCE999 +al 00E9A8 .SubCE9A8 +al 00E9E5 .SubCE9E5 +al 00E9DE .SubCE9DE +al 00E9ED .UpdateSoundChannel3_E9ED_3 +al 00E959 .SubCE959 +al 00E94D .UpdateSoundEffects +al 00E94A .SubCE94A +al 00E931 .SubCE931 +al 00E961 .SubCE961 +al 00E92C .SubCE92C +al 00E91E .SubCE91E +al 00E91C .SubCE91C +al 00E908 .SubCE908 +al 00E8F3 .SubCE8F3 +al 00E96A .UpdateSoundChannel2_E96A_3 +al 00E8EC .SubCE8EC +al 00E8D0 .SubCE8D0 +al 00E8AC .SubCE8AC +al 00E8B2 .SubCE8B2 +al 00E8A4 .SubCE8A4 +al 00E87A .SubCE87A +al 00E86D .SubCE86D +al 00E863 .SubCE863 +al 00E829 .SubCE829 +al 00E819 .SubCE819 +al 00E81E .SubCE81E +al 00EA58 .UpdateSoundEffect2 +al 00E7FC .SubCE7FC +al 00EA50 .UpdateSoundEffect +al 00E801 .SubCE801 +al 00E7B0 .SubCE7B0 +al 00E770 .SubCE770 +al 00E768 .SubCE768 +al 00E782 .SubCE782 +al 00E747 .SubCE747 +al 00E75F .SubCE75F +al 00E733 .SubCE733 +al 00E728 .SubCE728 +al 00E72C .SubCE72C +al 00E718 .SubCE718 +al 00E716 .SubCE716 +al 00E6F9 .SubCE6F9 +al 00E6DE .SubCE6DE +al 00E6C6 .SubCE6C6 +al 00E6B4 .SubCE6B4 +al 00E70B .SubCE70B +al 00E6A1 .SubCE6A1 +al 00E686 .SubCE686 +al 00E672 .SubCE672 +al 00E67C .SubCE67C +al 00E687 .SubCE687 +al 00E658 .SubCE658 +al 00E64C .SubCE64C +al 00E62F .SubCE62F +al 00E639 .SubCE639 +al 00E645 .SubCE645 +al 00E615 .SubCE615 +al 00E608 .SubCE608 +al 00E565 .SubCE565 +al 00E575 .SubCE575 +al 00E4F6 .SubCE4F6 +al 00E506 .PlaySound +al 00E490 .SubCE490 +al 00E45B .SubCE45B +al 00E407 .SubCE407 +al 00E3E6 .SubCE3E6 +al 00E29D .SubCE29D +al 00E284 .SubCE284 +al 00E252 .SubCE252 +al 00E25D .SubCE25D +al 00E23B .SubCE23B +al 00E236 .SubCE236 +al 00F0C4 .UpdateMusicChannel23 +al 00F0E7 .UpdateMusicChannel25 +al 00E22D .SubCE22D +al 00F1FB .UpdateMusicChannel28 +al 00EF79 .UpdateMusicChannel18 +al 00E20D .SubCE20D +al 00E202 .SubCE202 +al 00E21E .SubCE21E +al 00F03F .UpdateMusicChannel21 +al 00E1F7 .SubCE1F7 +al 00E1E8 .SubCE1E8 +al 00E1C3 .SubCE1C3 +al 00E1CC .SubCE1CC +al 00E19F .SubCE19F +al 00E194 .SubCE194 +al 00E181 .SubCE181 +al 00E17B .SubCE17B +al 00E166 .SubCE166 +al 00E15B .SubCE15B +al 00E159 .SubCE159 +al 00E170 .SubCE170 +al 00E14B .SubCE14B +al 00E136 .SubCE136 +al 00E28A .InitSound +al 00E0E8 .SubCE0E8 +al 00E0E3 .DrawSprite +al 00E0BB .SubCE0BB +al 00E09D .SubCE09D +al 00E087 .SubCE087 +al 00E082 .SubCE082 +al 00E092 .SubCE092 +al 00E06B .SubCE06B +al 00E059 .SubCE059 +al 00E041 .SubCE041 +al 00E03A .SubCE03A +al 00E030 .SubCE030 +al 00E035 .WaitPPUReady +al 00E019 .SubCE019 +al 00E015 .SubCE015 +al 00DE52 .SubCDE52 +al 00DE1B .SubCDE1B +al 00DDFA .SubCDDFA +al 00DDD9 .SubCDDD9 +al 00DDD0 .SubCDDD0 +al 00DDC9 .SubCDDC9 +al 00DDC7 .UpdateBumperState15 +al 00DDA2 .SubCDDA2 +al 00DD84 .SubCDD84 +al 00DD6F .SubCDD6F +al 00DD6C .SubCDD6C +al 00DD65 .SubCDD65 +al 00DD5A .SubCDD5A +al 00DD4E .SubCDD4E +al 00DD43 .SubCDD43 +al 00DD31 .SubCDD31 +al 00DD1B .SubCDD1B +al 00DD0D .SubCDD0D +al 00DD14 .SubCDD14 +al 00DD1E .SubCDD1E +al 00DD05 .SubCDD05 +al 00DCFB .SubCDCFB +al 00DCF9 .SubCDCF9 +al 00DCEC .UpdateBumperState6 +al 00DCCB .SubCDCCB +al 00DCC8 .SubCDCC8 +al 00DC9E .SubCDC9E +al 00DC82 .SubCDC82 +al 00DC7A .SubCDC7A +al 00DD5D .UpdateBumperState7 +al 00DC8E .SubCDC8E +al 00DC6C .SubCDC6C +al 00DC64 .SubCDC64 +al 00DC5A .SubCDC5A +al 00DC2E .SubCDC2E +al 00DC34 .SubCDC34 +al 00DC37 .SubCDC37 +al 00DC11 .UpdateBumperState3 +al 00DBFC .SubCDBFC +al 00DBF9 .SubCDBF9 +al 00DBEE .SubCDBEE +al 00DBE3 .UpdateBumperHit +al 00DBDE .SubCDBDE +al 00DBCD .SubCDBCD +al 00DBB8 .SubCDBB8 +al 00D744 .SubCD744 +al 00D738 .SubCD738 +al 00D726 .SubCD726 +al 00D728 .SubCD728 +al 00D70E .SubCD70E +al 00D71F .SubCD71F +al 00D70C .SubCD70C +al 00D710 .SubCD710 +al 00D6F5 .SubCD6F5 +al 00D6C3 .SubCD6C3 +al 00D730 .CheckBallSpeed +al 00D70F .SubCD70F +al 00D6CB .SubCD6CB +al 00D69A .SubCD69A +al 00D677 .SubCD677 +al 00D66C .SubCD66C +al 00D678 .SubCD678 +al 00DBC8 .UpdateBumperState +al 00DCE3 .UpdateBumperState5 +al 00D63F .SubCD63F +al 00D63A .SubCD63A +al 00D61A .SubCD61A +al 00D5F5 .UpdateFlipperSprites_3 +al 00D5F1 .SubCD5F1 +al 00D5F0 .SubCD5F0 +al 00D5CB .SubCD5CB +al 00D5C3 .SubCD5C3 +al 00D6A8 .UpdateBallVelocity +al 00D5C1 .CheckFlipperPressed +al 00D739 .UpdateBallDirection +al 00D5D7 .SubCD5D7 +al 00DBFA .UpdateBumperSprites +al 00D553 .SubCD553 +al 00D544 .SubCD544 +al 00D53E .SubCD53E +al 00D5D1 .UpdateFlipperState +al 00D52F .SubCD52F +al 00D528 .SubCD528 +al 00D49F .SubCD49F +al 00D481 .SubCD481 +al 00D48F .SubCD48F +al 00D45C .SubCD45C +al 00D445 .SubCD445 +al 00D46A .SubCD46A +al 00D4CF .UpdateScoreDisplay2 +al 00D437 .SubCD437 +al 00D497 .SubCD497 +al 00D499 .SubCD499 +al 00D420 .SubCD420 +al 00D413 .SubCD413 +al 00D41E .SubCD41E +al 00D439 .SubCD439 +al 00D40B .SubCD40B +al 00D42E .SubCD42E +al 00D42A .SubCD42A +al 00D3EA .SubCD3EA +al 00D3F4 .SubCD3F4 +al 00D40F .SubCD40F +al 00D441 .SubCD441 +al 00D4B9 .ReadPPUData2 +al 00D3CC .UpdateScoreDigits +al 00DFEA .SubCDFEA +al 00DDBE .UpdateBumperHit4 +al 00DDB5 .SubCDDB5 +al 00D3A8 .SubCD3A8 +al 00D38F .SubCD38F +al 00D37F .SubCD37F +al 00D381 .SubCD381 +al 00D379 .SubCD379 +al 00D36B .SubCD36B +al 00D36D .SubCD36D +al 00D365 .SubCD365 +al 00D358 .SubCD358 +al 00DC0D .UpdateBumperState2 +al 00D33C .SubCD33C +al 00DD92 .UpdateBumperState11 +al 00DDF1 .UpdateBumperState16 +al 00DD32 .UpdateBumperChain2 +al 00DD8F .UpdateBumperState10 +al 00D334 .CheckBallVelocity +al 00D2E9 .CheckBallPocket +al 00D2E0 .SubCD2E0 +al 00D2E7 .SubCD2E7 +al 00D2A3 .SubCD2A3 +al 00D2B8 .SubCD2B8 +al 00D386 .CheckTiltSwitch +al 00D288 .SubCD288 +al 00D271 .SubCD271 +al 00D25B .SubCD25B +al 00D261 .SubCD261 +al 00D238 .SubCD238 +al 00D248 .SubCD248 +al 00D1FB .UpdateBallSprite +al 00D2E4 .CheckFlipperHit +al 00D1EA .SubCD1EA +al 00D203 .SubCD203 +al 00D296 .CheckCollision +al 00D1D1 .SubCD1D1 +al 00D1CA .SubCD1CA +al 00D1BD .SubCD1BD +al 00D1CE .SubCD1CE +al 00D1B3 .SubCD1B3 +al 00D1AA .SubCD1AA +al 00D1B8 .SubCD1B8 +al 00D18E .SubCD18E +al 00DD75 .UpdateBumperState8 +al 00DD78 .UpdateBumperState9 +al 00D15B .UpdateBallPosition2 +al 00D159 .UpdateBallPosition_3 +al 00EAD1 .UpdateSoundChannel4_EAD1_3 +al 00D154 .SubCD154 +al 00D125 .SubCD125 +al 00D11E .SubCD11E +al 00D118 .SubCD118 +al 00D10E .SubCD10E +al 00D157 .SubCD157 +al 00DCAA .UpdateBumperState4 +al 00D0F8 .SubCD0F8 +al 00D0F5 .SubCD0F5 +al 00DC3E .UpdateBumperHit2 +al 00D359 .CheckBallPosition +al 00D191 .UpdateBallY2 +al 00D0DF .SubCD0DF +al 00D0E0 .UpdateFlipperSound +al 00D0D2 .SubCD0D2 +al 00D0C9 .SubCD0C9 +al 00DE63 .UpdateSoundChannel2_E96A_1 +al 00D08F .SubCD08F +al 00D076 .SubCD076 +al 00D06C .SubCD06C +al 00D07C .UpdateBallY +al 00D066 .SubCD066 +al 00D055 .SubCD055 +al 00D3AA .UpdateScoreDisplay_3 +al 00D03C .UpdateScore +al 00D093 .UpdateBallX +al 00D030 .SubCD030 +al 00D390 .DrawScore +al 00DDA3 .UpdateBumperState12 +al 00DDAC .UpdateBumperState13 +al 00CFEB .SubCCFEB +al 00CFD5 .SubCCFD5 +al 00CFCC .SubCCFCC +al 00CFC1 .SubCCFC1 +al 00CFA7 .SubCCFA7 +al 00CF9E .SubCCF9E +al 00CF97 .SubCCF97 +al 00CF95 .SubCCF95 +al 00CF8A .SubCCF8A +al 00CFD3 .SubCCFD3 +al 00CF43 .SubCCF43 +al 00CF3A .SubCCF3A +al 00CF76 .SubCCF76 +al 00CF25 .SubCCF25 +al 00CF7B .SubCCF7B +al 00CF04 .ProcessSpriteAttributes +al 00CEF2 .ProcessSpriteData +al 00CF82 .ProcessSpriteAttributes2 +al 00CEEA .SubCCEEA +al 00CED1 .SubCCED1 +al 00CEC9 .SubCCEC9 +al 00CEC5 .SubCCEC5 +al 00CEA9 .SubCCEA9 +al 00D4A1 .ReadPPUData_3 +al 00CE96 .SubCCE96 +al 00DFE8 .SubCDFE8 +al 00CE77 .SubCCE77 +al 00CE70 .SubCCE70 +al 00CE4E .SubCCE4E +al 00EE3D .UpdateMusicChannel15 +al 00CDA5 .SubCCDA5 +al 00CDA4 .UpdateBonusDisplay_3 +al 00CD9C .IncrementBonus +al 00CD7D .SubCCD7D +al 00CD71 .SubCCD71 +al 00CD68 .SubCCD68 +al 00CD5E .SubCCD5E +al 00CD59 .SubCCD59 +al 00CD97 .SubCCD97 +al 00CD46 .SubCCD46 +al 00CD41 .SubCCD41 +al 00CD30 .SubCCD30 +al 00CD0B .SubCCD0B +al 00DE75 .UpdateSoundChannel3_E9ED_1 +al 00CCDD .SubCCCDD +al 00E3E2 .UpdateGameMode +al 00CCD9 .SubCCCD9 +al 00CCD3 .SubCCCD3 +al 00CCA2 .SubCCCA2 +al 00CCB7 .SubCCCB7 +al 00CCBB .SubCCCBB +al 00CCB6 .SubCCCB6 +al 00CC8F .SubCCC8F +al 00CC7F .SubCCC7F +al 00CC77 .SubCCC77 +al 00E609 .UpdateMusicEngine +al 00CC70 .SubCCC70 +al 00CD02 .SubCCD02 +al 00CC64 .SubCCC64 +al 00DE7E .UpdateSoundChannel4_EAD1_1 +al 00CC58 .SubCCC58 +al 00CD34 .SubCCD34 +al 00D4F0 .UpdateFlippers_3 +al 00D0AD .UpdateScore2 +al 00CC35 .SubCCC35 +al 00CFEC .UpdateSprites_C34B2 +al 00CC3A .SubCCC3A +al 00CC18 .SubCCC18 +al 00CE6C .InitializeRAM +al 00CC15 .SubCCC15 +al 00DE41 .UpdateSoundChannel +al 00CBF6 .SubCCBF6 +al 00CBFD .SubCCBFD +al 00CC06 .SubCCC06 +al 00CC01 .SubCCC01 +al 00CBE9 .SubCCBE9 +al 00DCC9 .SubCDCC9 +al 00CBCF .SubCCBCF +al 00DBB6 .UpdateBumper +al 00DE6C .SubCDE6C +al 00DE30 .UpdateSoundEngine +al 00CC5D .SubCCC5D +al 00CC78 .SubCCC78 +al 00CBC4 .SubCCBC4 +al 00CBBA .SubCCBBA +al 00CBB6 .SubCCBB6 +al 00CBB4 .SubCCBB4 +al 00CBAF .SubCCBAF +al 00C3F4 .ClearPlayfieldRTS +al 00C3E9 .SubCC3E9 +al 00C3CE .UpdateBonusTimer +al 00C3C7 .BallLost +al 00C3B1 .UpdateFlipper +al 00C3D3 .BallLostHandler +al 00C38C .CheckTilt +al 00C37C .BallPhysicsMain +al 00E278 .UpdateBallTrajectory_E278_3 +al 00C34D .SubCC34D +al 00C33F .SubCC33F +al 00C34B .UpdateSprites_C34B_3 +al 00C32E .DrawDigits +al 00C315 .SubCC315 +al 00C301 .DrawStatusBar +al 00C2F0 .SubCC2F0 +al 00C2DE .DrawPlayfield +al 00C2CF .SubCC2CF +al 00C2BD .SubCC2BD +al 00C3E0 .DrawGameOverScreen +al 00E293 .InitSprites2 +al 00C3B7 .UpdateBallTrajectory_E278_1 +al 00C294 .InitBallLaunch +al 00E0F6 .WritePPU2 +al 00FFF7 .ResetVector +al 00F2F0 .UpdateMusicChannel30 +al 00F3B9 .UpdateMusicChannel32 +al 00EF28 .UpdateMusicChannel17 +al 00EB9D .UpdateSoundChannel8 +al 00EFD3 .UpdateMusicChannel19 +al 00F321 .UpdateMusicChannel31 +al 00E5B6 .SubCE5B6 +al 00EBF9 .UpdateSoundChannel9 +al 00EDB0 .UpdateMusicChannel12 +al 00EDED .UpdateMusicChannel13 +al 00C26F .HandleBonus +al 00C22B .SubCC22B +al 00C223 .SubCC223 +al 00E0EF .WritePPU +al 00C231 .SubCC231 +al 00C25A .NmiFrameEnd +al 00C20B .SubCC20B +al 00C1ED .NmiHandler +al 00E2A6 .UpdateBallPhysics +al 00E025 .WaitVBlank_E023_3 +al 00C1DD .SubCC1DD +al 00C1E7 .SubCC1E7 +al 00E403 .CheckGameState +al 00C1C5 .SubCC1C5 +al 00C1EA .SubCC1EA +al 00E023 .WaitVBlank_E023Loop +al 00E48C .UpdateSprites_C34B3 +al 00C160 .SubCC160 +al 00C157 .SubCC157 +al 00F226 .UpdateMusicChannel29 +al 00EA2F .UpdateSoundChannels +al 00C142 .SubCC142 +al 00C18C .SubCC18C +al 00E7AC .UpdateMusicChannel2 +al 00C145 .SubCC145 +al 00F41E .UpdateMusicChannel34 +al 00F3E8 .UpdateMusicChannel33 +al 00F138 .UpdateMusicChannel26 +al 00C12F .SubCC12F +al 00F44B .UpdateMusicChannel35 +al 00F0DF .UpdateMusicChannel24 +al 00F06F .UpdateMusicChannel22 +al 00EC8D .UpdateMusicChannel10 +al 00E68F .UpdateMusicChannel +al 00C121 .SubCC121 +al 00E0FD .InitGame +al 00C10B .SubCC10B +al 00C10E .ProcessController +al 00EC80 .UpdateMusic2 +al 00C18F .UpdateSpritePositions +al 00C0E9 .CheckHighScore +al 00E40E .UpdateDisplay +al 00CBA7 .SubCCBA7 +al 00E049 .InitPPU +al 00C0CC .CheckController +al 00E046 .WaitFrame +al 00E02C .WaitVBlank_E0232 +al 00C0BF .WaitVBlank_E023Frame +al 00C181 .UpdateSprites_C34B_1 +al 00C0BC .GameModePlay +al 00C0D3 .UpdateFrameCounter +al 00C0A4 .SubCC0A4 +al 00C0AE .GameModeTitle +al 00E497 .UpdateDisplay3 +al 00C09B .CheckGameMode +al 00EE4D .UpdateMusicChannel16 +al 00CCE9 .SubCCCE9 +al 00C074 .SubCC074 +al 00C06C .SubCC06C +al 00EDF2 .UpdateMusicChannel14 +al 00ED06 .UpdateMusicChannel11 +al 00E09B .InitSprites +al 00C04A .ClearSpriteRAM +al 00C058 .InitLevel +al 00C27F .GameStateUpdate +al 00C03B .MainGameLoop +al 00DCDD .UpdateBumperChain +al 00C023 .InitGameState +al 00C01D .SubCC01D +al 00C00D .ClearZeropage +al 00C002 .WaitVBlank_E023_1 +al 00C000 .Reset diff --git a/Pinball (JU)/copilot/reconstructed.map b/Pinball (JU)/copilot/reconstructed.map new file mode 100644 index 0000000..1ad1cc6 --- /dev/null +++ b/Pinball (JU)/copilot/reconstructed.map @@ -0,0 +1,32 @@ +Modules list: +------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 +prg.o: + PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 + + +Segment list: +------------- +Name Start End Size Align +---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 +PRG 00C000 00FFFF 004000 00001 + + +Exports list by name: +--------------------- + + + +Exports list by value: +---------------------- + + + +Imports list: +------------- + diff --git a/Pinball (JU)/copilot/reconstructed.nes b/Pinball (JU)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..d3e6704ec767f028f39bb181db1b0342d265ef4c GIT binary patch literal 24592 zcmb8X4SW+-_CGu`NhWEUHW3hlmUe*f(ux`oA!4Ng5uuhB5fpX(8COBd!Y;eMRTpVR z2H8razM#dG-I`@8=~}m_sP#u6C~I{B{qu47rI3w|l8<^;!uK;qpXQ?-(5kuR+EGlHKL0uKb4)eKwb zI4{LTUbF~}dn@A-znU?`@ph?UOP8B~7mWW@-y@Z!G3qxYU_*k|>HWX|M2aV!I#KlcP zM&yKvG2w%6g!DsFAH`6xVzW?kRN55flnk&}dVsg1a%0HG%C=4$D_o2fq;IAoH_3Kk zMO^S775=0M`xW7y)0La*LBV1uW!xWA(jk+B8-ffcH#k<3x6C?Y(GQ z^(0m{1#*P}F`@EcAQO1W#)5fa)M`TMgz^bN#%~aUoWF;+`aV{%N-R1Xard#3LB2;5 z(T6iwrB@&?$Oy+{0ek4*WC0#?3FICe~^IVSw}tMFN~(D#(^!*OBt zufpKtLhUJ4LIy!O37#eaAK_dg$co&YwR5WGc%9P5!dKS@vV(65XJZ8qeHAyLj_9t9 zqEYQf2=DW+sm&I&8QSs(@j!5^c(9_o@aDk)swu?24h+^1Q^AB%xB7XZC5eLRV!W2w zf@*G$#N{(Fo4o%jg6>xmIOY8TCe)vJgk0*=uoby0nA)={mvEYVCS;_jmX?@B{;7i5 z7}=sYx7S9tKrq`8px5mr7x}Ex6yQR|TUWDOo#Wg`Q`pert$v0RiVntWgGK(yZ1q&O zZ7Q2>kW+$o|FzyA2VET!i<=}9;!O3ES>*2+D>q@^_5;Ge=)Y0QGT z;6s|FY^|Qc=8K^qlOt}>*fFA^pz>hbWL6GJXXSHoV}N<>TCZ{#6%E!_7y@Cnmgko_ z&Y{USsBMaQcb+BzrAm7e5MWQFkBTB#fv2S7Dzx56FjrKj#Z(_f{^^5jT>9U#s*O#dPN|XSE ztpLIr*zJSt8gv8dXSWY<+s`nb761ItrXEA-Z|Klrw+y%5I%1>;ueXgdxt^M1cHN#k z^p4T4Jg@67bHz;y1lgEs8xyFpWvta1ZNmE_-PIKLdm+6DE z2WQVLFb;jt_0V+J!>&0qrvKxg|M=%j-($l^JTYtblZYESqtF6=u6grae{}t6Mq!F8 zZ@la2XI#&^o+~oAic4NvY;ZkaCScQ?#PQTk_6>Owl_JdP`Qk#4KB}m??W_3A5~-mzlB^i@oJ5Uh-BTT#j(Xzo&EC z|2=)I{K*V%`zJHT%6TUYK1Jc?%&Hyp^q*ezKKXl2?E}nv(BXQ1zH7R}H51P-UH`k$ z;@Ys;71BbRzOuN&TlCP^QHyKqHwZMX7ut{=XgS-*3->$^c#*H7QO)OXj9 z11+wy0WJzncDP=s-#KY=y6euY`kg~3O}3#5MI6TIB+}A?p?Ejo-GXYJMht3d-}8+Q%8B^V9U`-=ZSv3>_7`wz1mcsXzdaE0<8 z=Dl7}re08{EGSbJlxgGwc4{8JcjG$+-v{u06yGQD9r%9_Zs5CtmH!z#MR|1W-OB%PQRPwYyLS@IL+>QK z8#{ZT!Rdm5o-Xy-m!7}acJI-!>q=~B;9Z6W#0{OXH{G=c1NeQ1YaRk7SL40|2M-)H zxz-GQpLgw#H61!}l6TG9tM+>`QF~vb=}VF(sX@(}-e^p;_m(4<_#BQfaG7>n@$G>(m&syVw82?u5c|Mm%8fL+=t^1?IJu=DNzYvtI`p*^U1zLe5Le*Z0kEYc)C`S{C2fliuVA?)nLFF~> znlNcF8*PW%I!3so4XGFBh(D-oDa)PtRUi?6R7*?-ep2f@5(OtI){Lob+_jSA7Px!m z+&Zi_vsUH+i31=!i2DdH@=^*Ri_o$kDjBbgZ@6dIx(4C>A6rV{LsivPnAhz`)@6?N zNZfIt^3%|+!={ubeybTGeDUXz+xsQ)ZDc`M>e#` zXO<3Vi3u_nU=Ti2=imZarCSG-UF)1RARoW9ks%9~pmg`1-NYjQkCgeqyc=VEBL+TugsOW*dvNc|S_D-|2oze_eP=z6`u zrpYU;rx^)$*-b zzixl!rxgrMO6;<7QvM;r`bH2)pNgZT_2TWq#>POS&`RN4gzpe)e_V6BbVHP@nY(Vk zIC{+;>kf!{m7}B^^vbjBnStVyeJ;hpj91AueVe znEVueD(;tJg{QyvbeKg4 zj8(HEYKGbP?kCX_itTn*j*?B!XYMKE3$r}GW$qEJm{qGlnogwYFeopGd}&TjHhb47 zGoT0+npKJP{W4$Z4`2xnqpZ2JpKxoe%ae$9HZRIvH^|yoJ z#rW>%;2Nt0pC+~&rhz3j%B3<#S!d;ncdW@pEyB+)+9RUzYc;aUQHsHHBuli2c8y2t zZqILRyG4h1P336M8niu>xu*u3tQXPr^bjP)3r%}5prDU?MxMmTSA{;_gLda))@EV$N3H)# z^vc(hb$HCI6XOxE#olbrl)F~S z+qiF!JIy(3#8hLjSnlq)#^b~MJp$Hz!5KFUs*+MUlqP`uS$U#b2xfp=qxLdx{74@} zA&ruap~ZV3QqM&oM)0zI$8i0|GJJZsp4Vme8<=y`uu-NI-eNWzQjJy%pJL){RwJ91 zYGBh-ImT{d8HbHwuCZmY-BL5z?x}sa9@Y%QwZ@*7>r$>a_2Ql8-i(3gSOdfHyvbxV zU@?*Cyx4K!!uj*(FI?!j*qLBh&R{f|_^xy&!6sW$gyl9CNPNvb8-Cq zH*5ECS-XBA*!_#yDR{jlB_&?3;51|3z~Qi1EDnbdM)u2qO&%De4+Syekzr^$_zTG3 z5Cm@tW3Ukh8^K{Sl=#5LXf%SAkH{|p%M*9XX5rbe8$=w(fzTbkM1wa2Wu>|p4NS}l z8dLyu&e#=HEajwvIF?zk95hG;-SP!06 z0zk>*86-nANdOg=b=}jf7Bh8%(LjJ4I5~b_x&r>6V?dg5jl-U9OSPtuprEXpuAXl{mts-FEJM0`{h~_R?f;=88!j-EMt)6@`ImbRjdkd>#Y+@tYWw3ZYxvk>KrHFK@35p*@1&N&l!Ft zOz0W&N;8svg(spJK3Zj2v{(4_z5w?rU&|O)^0lw*Qz;c+pk!&c@!dj<0p?fi9(rY8 zv)R;L=`M9sY^61ZS>1*-cdIJ6W^Wl=w-g14X0WzO7EE-82|`l?mbv^^OPRS6+?Vpp zmh_OY44)J9`nK}2F(}CWghv`BK0A#0EWb+P8(-O92DhWVw6ce67P|$#p5|_1w>edz zz}^j&du5|@RyQA_d^AuK*bhSq`c#UBm}x3i{VfMv`uh)|LEv^E0Vxdydmw z*G);0_`57(H)NMATX|Fua#(694Opx-<~sSjXjXcwzPnj5TL+qXGyrR#GA@q9<0z<` zDpJS;Ep9feZN4i->~^_O;U&<-LJOs%@Tw)uU=DWK5)uzKT6ikS2*DVdEuMjVoqWQF z`8~TB`y@P?T@0Cq*6tTAaCA~AWdha=bKEIOj*%2_5g}#KMlb1jarh+i7T_xQq;$ME z=*3!@ie{n6^h!*scoDWWO18>0bVZ6!kQ*gOB_>+DOMInSv@T86DCvb-VVyj-}W5q-#-PPth#(5-pNbRBMO*A+aYa)=NqevGB2q*Gj2~ zupuIiB6=gsbyUgTXvlS1LwbY$I->0jy6e!%R{};9fofsN+QNook~7gX2NOmnD+T)k zsi`(wT3UL#-A)FqTet4rd-S;W+Md07IeYiM?z-zUGGM&2guZ?I^>?`j3>-9QaCXiO zWM6M~t4A$#(sJ9V+jH+2o#(|V3JzB8o-i?=&Q+$|JMF&dGwy%j!G|9H-6N0s9{W8V zoD|Oe!@NKKX~AEfdivSto`2!5FD@#6Y4H;Am1Sg{%3go-t+(G<_3nGC|5*`OBYhC8 z`mp*x>puSUv(Ib)H?%SQ)t0T>qTlSOm%snu-N)YCE4`__Xf5vjz?s<{3RMf9n0e z`~95xPd&eA$=_akvwU^ngAdoOuif}nq^|zEpMKf9|6uds)?>#{oPtd~ulfksYz{O` zkoXDNX7STGh|Hvfct`aZy?ANvT_GmpURCv*5A{MQ{SFm@v{nZsHZoZ%^&#LGRGO5Xd9%@ ze38%P{^~wp8u_0o(PdZ^F^UO`yX=?6F9>CcpT|GP0jJyah4>km23@Ne<7&pVn&DT+ zFmjHoN5DAIbX{?xDKRNV92XTeVrMR=L)!Dc*LVS^y%dEA zAI_eI(u0Bl=l<5JP~AbXG4#zrabHM2h|Q(%4vMkR!Gq#~P}4zLU*O8aVeCycVApVO z(EWNtydl^_j7xi+g&9>+130d0j9y!lB{szyWiGyNT_a9hi3)+ek$9v@J|2(Dsh34+ zbdk6m2~K>y0qd5+RIveuXK&=N{EtBYV3>IBM~3ZTuY9&53rFDCAlV{rB_ZO@g%F%X zO-l`ZagYvo9p}_m{Cp5wmb(s$dqaDvJ&kBj;0anCMLU(0)eN`2B{oDpA>=9QUPflX zSUs4fC8j}m{x}`)-@y8Zu)>8C)wi%BXs|nTSdn&OM^@NESvZ;QJXA2t?_t+9Dw$%_ z_H~WoetN{VFFAycVP4fQDhukD{PhtROMj#cCE`w|>?>87@~wW-n)IYAbIvnwM@p zx@}b5p~$T0=xC4eUNP|wo_F&-f;`ip7#mI)8%`P)Irh>C zfmHs>f&ZJ6bJv&n|@?`8}NHh{ZpI^JDXl@!!PxhjIQ9T(HDH zit~kDIpn_)Sv^M#$SFBJM~t9U$$|%n>hIm*iexnxIb~;Cy|%1b&E1v z+)@>ftl1P?;Lqc5kK#@)RMzajn+v_!?7xQ#z1{4e!qo^Rus2YD{ig-J}y|{e}D_E zYW6?Oh2CrSKgxyv+3bJ(isGgwi<_P-Zf3H$-zAIl>BZfP;=HS;C5!X*@0WJ0f4`n* zU9Pk7pU)lM)$Vfr*4c4Baq+@}l9HkY3rZ42Ys{6cf>LN$47=oK}g zRDJsCsaZ)WtXQJG6l2sbyTSS^m|?qeUHq$fSPDm3oT><7LhciFmi3N=BVQ@qBVR?r zjeJ&C=#B7Cpei5!oF1TCqmHj%;=q-Ua8~9biu9c_8!njHKZu3(O+*y=fq-#oC+tXDba5Hq z5`6>PW}(W%Ytsg?(S$sze1nsf%@edu${Po<$R`i@$jKh<&B}d_UdPJLQrXaU4;v~y z>>tjCUO7xVl{nRiE2#2!bQ_1x$GGZ2>>a_wiVfVBIk*b0e6K+ zT;N~96JNRuTwTf zjtVndLBJ`!Fe*VXvo&(molJ}$1-*1MKid#B$Xt+h&c7b_kmj`dU*|%9Z1u0?LQl8) zS975kTK(^Hp^{d=#D$i&`h#3>fZxygS8+kZhu5+3bHRG+fbdsIt%;z zYdHU>)Wk11{|3Tg&cB5VIHY6F!U?NCLCosUxl$OXD#uaePz(igkDxPHbZ(oAt?mOg ziyxDYMHiG|Bg@~1Vq|-SVuTuV{1^n*hsBZLvBn*(vN@E+Mh!K$);W#`SVZk?mAg3+ z2kj78#r&c`slDnPhpJudW%BC7Ruvp0jpcDQ}Ox8G2iEaO`EoD8#rXhpc`+*2QPzf8kT+YE%@Li$36Upp||3Lm&y;; z2CM%4VKvjZZ-4B-!6t_1S+n`NT0HQ2eJy9P8B)?R1U&HCr?1hPZc4Rh_QM0OS^Yf| zW_qV$6gT;AVC&(;;Kt^}7);P_bjMPC%ZxWkP0=1@Tm(2j-#>tbT{5%{WQ9S$7Bshl zu6}?P;pQnS?N^wFPN~TkOcCQB4PZCS{xvX2isuJ^DdU1Mnl$O&D_2+hhhHZUUN#5I z&3JaF)mr$$5N%e)d1bvXrF)-2bPFU2)VM><^ktaXf%swiqomk@mLsjdYD7nmwH&D) z$SR|gHXbh5K(=}Sq+4MN^b7u-TtB|{z^^di+j0F6QSV(9rP=ieHW%vax9ueOpWhQa z`Zxh8k8)t`vf3!4j9b#O7A7G9!z8xS&iJOv7R6kcQm1f*DOJI~bU|{~Q9NPlj?~_B zl*)`8kuW4BoWqhvtA8@&T_lV0C_?OE@m&oXb4_y^w7L?W8IBEW?|NaIq zHL{|;+;ZPj?|i;X+MyU>*D*xI9X_>AtWRq5pW|@!>c7BA#}!+=4W_=L42uQvxO80Z zMmR!oPuKAAHdOgIw9>WuCNd|LZ7roRBO8utAMevO>|j%+ z3NBnPAyumkg+4k~6}ssdwRAK+H~ixms?}6G`4}3zEYjq_IqZHPHUqJo#DcP4|NiuR z>HW=mrmE?7x?h5H z2VtaNL)e@(=w>^(P6;i`HJ`1wj+mMXGXRT$~sHw)#md}Q)temC>%lJ+! z+j*}>r&WX)qAI%?w#+K?IN|?QR_6FrMwbY{a&u``Dq1IQgO>L#7K zO{Z?uVXKbfXxEgs>1d-4K)F;}Y&#?=5Q8fw!|N2x72*#*=?CRpz_K)vHkkc(FsuCP zAIt_A{)ZauX8nd$6c$vtFJX!+ZMQ&|e^4$^Ch}cAaWKo2!`6UA11h$ZTFe6_eO6c?-kO{kv8ee?hH=ck_WuXz2ULw$#kbUO!B@eoPR4a@v0k$nXiH0( z1=g#KTm2yi-=!s%As?0Mm9*-iY_wD6+lH`hH?Wj}?%;6Bna~zmbVg{=iL#nP+YjQz z8tj{h{p$_5a3HL$liLdR9#4+&>Wf@-r|iHopo8;Ybw!x?}G`1DBc>ZT{Vka zRmjORUYu~!klnHKv90ALV@0D-~&GWdIH!T^LyZ z3wrnPNwJ~lFJ+k|*K+)%0N3$xAE0W^+I85%fGZ@Ub+0#U4;$qlr6$E*VOZC&?7Ie; zU*`C&GYhW67uBO!t2J!|9#*S=EL%NVd%KgZ&ZPtoJ#MGRNY+1&t@f(PX?bkQIR9O2 z^&OOQ8|xp>R*zx*cf(5~SM0hCttXv@BciuqVkU`)j-6cfB!`}z12x*`8!>7$V{t5b zYYptzj~|X@@#}-?JISyiy!XR#YWS{X_|S*r)$rXEhK6rgcS=%}v+gmW&rfMv6v6&9 zYCkzeBXTZ?Rt+@=|3G+{SxZ{4CM}?-d(FW=6P{+4^Ykqa^u;~woPRGDeH5b^3(x42G@Ses zS>KDxlnYNkyCy&z!UW+Yl!Se5r;Rtn!X>cOmms&OD<&NCCF8>}91yCT%Pdo(F~Ihy z3R*17mV{$Udq-!2HJI&LdBus6By?)fk-Wuk*YhQD2XKcH#!*E~D+{L+2YB4YbP`QMuAkq&yXw~z_Am;Y=_6}r&wCv`t^3lgs zPrctL4?&k)AQMsumARH@U&4DD0E{hj z$Nc&8=YdP}XJ?njA)*zC-ifeh-n@C9q#hVZ?Fe*!P_K4+hdSpG*87cQOM0$R6TPOn z=#wmT2ZK<1449-(ZKb>fh|+|_Fsc$FOr1@TY$UR1VKeaoXq`#oMnD}lT4fD1LZAc$ zd7XQ3_j^xgM`ygXtt|o^Y2C9Y4!o!JWGlt*`AQ9|%0&Ysv9&SMxHZ8f?tQr7;fGN# zv=j{@-67zT4MUMA?UH>%SXDv2-6SsRAg|W1u`n>Hn3|4;C!=HP1prhO1t;Q7$?@~@ z*H5X1p=D4>P1TCC(oqJZ=7WS2o$cx+3QgW6h;M46{GO(l4F=>VTGF@Jg4|59K<4yI zmX_+R#S#_3U{2Sxhtx!iqWWl%3~$<$NZ_l6kN|rZOX{Sim^7?3(pXHx$zM~T30kzd>DzDmCsv}8|+D`^Z$0RS3mX0ac;jdrPGUFKx`+IqXM)Kzq zVyAe~e~s5C>`le4?f(zh)rN zfc%=}KzHQV+z51ce$9PAALQ430%XgtaTXlxDELc9!5=T6EGx=-yJB$=mxL}v&dG;_ zCh`MLC=JQ9mn%xuH2EMRY#7DQMOQBqM1qPDZ<>a*tjiaupr#lM&H z-e7OP*(-06F5*`nXXVMh3bVDwuuML`IywWMTcl8-FejI$l94Lz#$}EA^*=DRM z-hIvJtv_LwZ(nmZesjtIRV+hOQM-bP z7kt?Bsax{e(2Mm@(ewba!(ZP1YWRr)K7wQhN@W*>@~&Ni*2* zCBqfz9Mr@9P-0>qAyfVPALhOH9(wTIcV|9OUVi^u-Dh7GDu1XqgUI~J)82l2`h}ivy&7Pb;dG`I&?w>uaVA|}d`BP^XOejdrFCB-^v^NUynOc^QPyRT- z_z5r*+Uqnx0f2sgN=eqO1IKNfkP4YDXT824*%lxAX}JmZ>PVts{DnlpkPF8)Ghuu& zotjMWX3XTWkXJ)-(6G?l+Ynz9x6C+@9;OFv~L>+DwF8 zn6uIuTSg3yWSBw@-|`F#ZK$a1F_o+Ai371GHsnKg(A;k`8_YD(+Kn*uh+P2dKiuIo zVu~qICpy(?Gj^Piur$-P$EW~i0V)}WE$?@G5eMNK0z&rB*<{)UT_vwHzn+ws+5$(aCfA$!)8mjn+J}{ zgU`c~*Wg=F)UL$$b#}DG!VKfuLV410#}w0aR%V8i0sEpN$Y~kVbJ3z<#NM0+@n^xw zAy*XPa0LX|&M3BxNzVd()4SFUv6XVA{^)5{Jvdo|5#Wl97p3 zbUjXMo7tRYMwljdr22q`*r-LLGt+U+hfTSIWl@yd?LqArMwZ)U=t7J)lg~_!+V#L@ zyC9&0il`r3Iyzr~V+a0dT_1WF?1nxFD=}Y*1L~o~$`pk>Y;vZInIJ%CIw1qn!4?RJ zRzKvABZ5h@r$UvX6cia_(0szN80AMYOZiDxC_glK8S)bad@hXvZ@xJ%3+nz0ITId; z2Do!H4=snNt^{Ow}pG?niIt=!#+y4Cc;o~YD z9_S*~chSROse&H<`X&ACa{SWQdPrU4U}$h0d4qJ%Dv5cc&4zKCp2S8Yg&4+`#5_-Q zxQ4|W>~Sr)NC0&vPP#f zc5pQ3(E!i@<2Q!YD)a-ED@%(r5-!=^F1wkSQsi+uR8`f|v?XM+%V>cCz18f7nqCry z-eSF`5kqg2YdyWDo4jLm=5xmV+t)`u@H+yIwKLiT1-bILZ7a1?rhkx*_VcS z`;JH?vZK8#y)zu{2#1qiH)2Qo!u65aqr1`Ohpuo$+_3eA>yTV#|BvB1!&z_x&3g|&5ckHV7-(NMht3kfU9)I$2 zOl>+&9N&5T_;CzO9dA3gZT~ieFX6-Iw6KP8d*kbKNY^o_we(APmrB2Xn}*M6{I_XX zlLyMzfJ}u7dWF&4wuK&;v;WV4vEYlvGBW$z1{KWA0N60ELc9AvbxJkxa0bx*hfXIp zmWN}-#YIm;<(|{oBfJn5=n{BmXXZ^fKfFm#{~rou>dP#KSwzH_>FYkEqf0L-1ZB*< z|9&-p?xIDDY}i3sl*=sYQ1NUAC%Zo10>zd&swguvJ>BEMNXKdv^J4$UPb7yUhFLg# zsPh8GkkfOeJ}r#U;`35*#Gk)RU!Xtq(W}oOu!y%6b%oUzo`;0s0j2c5{;~v&e|?!r zLnt{>5W)X1dY_lFcozO+Berlncois&nBOf_gIWkrchZ_bT8q*UCTU%4NGwwAgNkR5 zrF>8O?oRLj6LUKp?)GKKfO#uR-812BSxkFT zk*8gOJW5K!40A~?LnWBFGUmR^G${=U3D9}5|H+FViD4FRXTbY z(`^~a0IPAkiXS3jZV5`DyWu3QR(>*2q9!Aq2=K&5gGHTR>91;ilL2jOtg}N;)8<2M z{v*xPkZ>grPp@GFZB-5TO1W(ogVCzcI<&5Ye@_n zion=?>!7fjME#rxtpds-KU&9~#oAs9GPQT8wF$>ae~F$zd+Cg6Av72-oiR*ZKnT$s zh7iOQ)s6i4=`JD{KWLTGt+;Ai(w$ z+=^J(&};NU!mPTG^L1ei4wE_4%&WvSj+kWU#}+JD00-~po8i~>!k`rd3@DX~DQQ<2 z%;oR^sP?RZ!_FNRh%VQyqw~-cv5J_0@mJHW+s~sr)tx5DFT<8<=TQpT6!;ZPhLe6C zMg5PFMcre-9af$^&Gg8^2UOYf$qW zDL<7Tj-h;qqfBY1y+ZO|Y!*y{$geuRu_DH4v0;H!q%{ajt0bVN1XM2-6v!Pf>O)QQ z#1K>;42+Blml8>QS0siPFa{WN`fBSNGiBAXt6i^9(b@;>@o6tfekfTj;PTW<1X}84 z1X=-9$9CdCpmUfv@5*82^Qp<|!?TdaCuZ2;!vMn__@Ny zg^fLW^vG0)U^3luWqP_L-DMPXSi77?3(1ScsoA4P+P{>zq_;V*wc~))SsCtk17H*5_9p>+`FQ zGjiwc=!7cixFg)b)BLOBTwfS2+d@Xioe}J#z})FrpPw(o>in$F)4G4EV=$x7fBC6K zTL%37Oa0)*LU@7Cn`~`DZ*>ymr)f!`&LGgkWaBOe-M`iG)tqR3V7ISWfghx(pt*62 zlK$KxW`ONPdZm(Kyw=)$t0Izum6qN4)Cq>bPh}cp=GK$GZQkW0ft^ zbxhWj;3cvv04=1qDrvSUGARVzpVzVO$LQnca#_(koUw4pWf-q;NbtOb>1{zWW`Szo zP!AoKcr{4Q_u)KJcR-#`jh})=uL>RNFy&5asl~-pCQg_zVdBIo$>h$HZ@htDGQOdw z=S@+w`||YcC)Hl(yUucT`6lI|H(#I6I@J2IW*gGgGhVn284JRg)?#W3lb6JL#x9&Z z`)$AK3>Y(kCmqU`EH6*xQWA5kVXRCMR;MccY}f;*j%f5V;tXE%3RHTmC6S~agD3fE z#bf5cY(riZ<8b@D8V4qMh779=rl?19T^g&QGj#CLAh{c)2bttaDfU3rGjV+$)yvb{ ztDiZ?a@EOzva4s$gcqRF@S@fE4r_KyTV3tfvX{UaNkUl?;5(^j(^%YM3UfHnB-(Px z0#;-6@=K^BfF7oqh@d2_wNJkzKymQ@)bgCUv%f}>n3CJufqmF{ut3vjeE%fr2MIxVL*&9wJ|!@&*YPC zS_#Ca{$?ClKciQFU9RfwWoPx^uJ)K-U-)Y(Xyt2X_$XdLeaV{Ssnzij34Uk}uR-6h zA+H=8yO+-PF@LM`y^i(yIEl$TlZS=r)J8v2yt;hyx8SjLkoO3e&j#g!cG=CzppgVl zp!dJNFO@Q6n^Tv9?<2W_79b=_5fD6kFbbg1bNS`zbgq)WVM zypsLX?=aXrq>?I6^)3VGuej5o=7;%6_J=|153Xz6=yx5GbWGQs2R-7_-3L8Jy#t{K zFa-6x5PH;=cOo=}=(-z0=8iy>6CN)mbHRM6cO_uHJmjfEUGj*ADs$3opQMLya+jRBMPlgdH+Rh6T%36Mn4o>%-Z z{?XmT#X9bqzmpSjUh(74J@>$qNZ0X`4?q0C;|S~c;RmKXpyp3v#NSC_4Hp+LTDY*7 zcA+%fiSvYiEE?UZV|BWLEY;~IDN~w3@T#^j=|AM@xa&^G)pt9tzT@#N2{YEzQ9>rNbOt_p~U zmWRDb9M=0;?|1aFI&f$_!!F@YNkxSK@FoozOr~nOX#A2Xqx{s-YJPM)(Gn!dW7u?} znR3k4cTZ40L*51HhJJ^HDG4u7+s0!1iU3$Oqdd15CQ~(SU;p`fb@7x)-cg~l$dgga zgA#xJ+ApdvdG(zYwec93x+>A2Wnp3t`XMnwCGsB+oEG|fWS4o zNm#$@qGL*@O$Qz4`NEKY3H(@Uc_Q&xo|?jR-G#Y$F@Zh&1iIBsU+p{#a#GK=fRlG) z&@D0gs=2!oaoCl-E2C)_8r%i21nF5>T|xMH9#8U|36Zp&*=5WS&h>cc*y}PtBWzdY zFMlsrC&;wn)K(7wFLXN9{HhG0DZuK4Jo<61{rVjoSSi&txcV+mayVM3-|0>cTrXA6 zt_mmgyE)0>bal7{f+ZIjyF#!}7)Sd4zmD}P_px2oe&?0#&!T-zof!DNay=cBi$QI| zWvTQ^^6t~;jp?3F&-6F0Ok?dHHG;M4>hO56stt+a(Md`jtHBZ_BZ)iUQqlO1KqLg( nB|s$V6S+>1yb73D+MzMjcRm+JGzJTk4EPMCgeb6GrsDqth1kid literal 0 HcmV?d00001 diff --git a/_wip/Pinball (JU)/copilot/reconstructed_prg.bin b/Pinball (JU)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Pinball (JU)/copilot/reconstructed_prg.bin rename to Pinball (JU)/copilot/reconstructed_prg.bin diff --git a/Pinball (JU)/copilot/rom.nes b/Pinball (JU)/copilot/rom.nes new file mode 120000 index 0000000..deab613 --- /dev/null +++ b/Pinball (JU)/copilot/rom.nes @@ -0,0 +1 @@ +../Pinball (JU).nes \ No newline at end of file diff --git a/_wip/Pinball (JU)/copilot/symbols.inc b/Pinball (JU)/copilot/symbols.inc similarity index 100% rename from _wip/Pinball (JU)/copilot/symbols.inc rename to Pinball (JU)/copilot/symbols.inc diff --git a/Popeye (JU) (PRG 0)/OVERVIEW.md b/Popeye (JU) (PRG 0)/OVERVIEW.md new file mode 100644 index 0000000..8b99232 --- /dev/null +++ b/Popeye (JU) (PRG 0)/OVERVIEW.md @@ -0,0 +1,244 @@ +# Popeye (JU) (PRG 0) — Game Flow from Power-On + +This document describes the execution flow of the disassembled Popeye (JU) (PRG 0) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. + +**Companion note:** `Popeye (JU) (PRG 1)` holds a different PRG image of the same title (different mirroring flag: Horizontal vs Vertical). Neither is currently known to be a superset of the other. + +--- + +## 1. Reset Vector — CPU $FFFC → $C649 + +**`Reset`** ($C649–$C683) + +On power-on or reset, the 6502 jumps to **$C649** (non-$C000 entry, Donkey Kong Jr. style). The reset routine performs cold-start hardware initialization: + +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `sei` / `cld` | Disable interrupts, clear decimal mode | +| 3–4 | `lda #$10` / `sta $2000` | PPUCTRL = $10 (NMI off, sprite $0000, BG $0000, 8×8) | +| 5–6 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 7–11 | `Label_C653`: poll `$2002` via `and #$80` / `beq` | Wait for VBlank (bit 7 of PPUSTATUS) | +| 12–13 | `ldy #$07` / `sty Zp01` / `ldy #$00` / `sty Zp00` | Zp00/Zp01 = $0700 (RAM clear pointer) | +| 14 | `tya` | A = 0 | +| 15–19 | `Label_C663`: `sta (Zp00),y` / `dey` / `bne` / `dec Zp01` / `bpl` | Clear $0000–$07FF (8 pages) | +| 20 | `jsr $C686` | Initialize player/object state at $0500–$0504 | +| 21 | `lda #$01` / `sta Zp60` | Zp60 ($60) = 1 (game state) | +| 22 | `lda #$00` / `sta Zp63` | Zp63 ($63) = 0 | +| 23 | `lda Zp10` / `eor #$80` / `sta $2000` / `sta Zp10` | PPUCTRL ^= $80 (toggle NMI enable) + shadow | +| 24 | `Label_C680`: `jsr $EE74` / `jmp $C680` | Infinite loop: waits for first NMI | + +**`$C686` (Label_C686)** — Player state init: +``` + lda #$11 / sta $0500 / sta $0502 + lda #$03 / sta $0501 + lda #$01 / sta $0503 + ldx #$19 / lda #$24 +Label_C69C: + sta $0504,x ; fill $0504–$051C with $24 (25 bytes) + dex / bne Label_C69C + ldx #$00 +``` + +Then falls through to `$C6A4` (main loop entry). + +--- + +## 2. Main Loop — `$C6A4` onward + +After reset initialization, the main loop runs at `$C6A4`, synchronized with NMI via Zp10/Zp60/Zp63 flags. The loop calls various gameplay subroutines and waits for NMI to signal frame completion. + +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C701 | `NmiHandler` | +| RESET | $C649 | `Reset` | +| IRQ | $FFF0 | `IrqHandler` (single `sta (Zp16,x)` — undocumented opcode $81, effectively unused) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C701) + +The NMI fires once per frame and implements a state machine dispatching on Zp30/Zp31/Zp60/Zp63: + +``` +NmiHandler ($C701): + lda Zp10 ($10) / and #$7F / sta $2000 / sta Zp10 ; PPUCTRL &= ~$80 (NMI off during frame) + lda Zp11 ($11) / eor #$18 / sta $2001 ; PPUMASK ^= $18 (toggle bits 3,4) + jsr $ED34 ; sprite/OAM update + jsr $ED20 ; PPU/scroll update + lda $0400 / bne Label_C724 ; check $0400 + lda $0401 / bne Label_C724 ; check $0401 + jsr $EE5E ; attract mode audio +Label_C724: + jsr $F970 ; gameplay audio + jsr $EE89 ; sound effects + lda Zp43 ($43) + bne Label_C732 + lda #$FF / sta Zp43 ; init Zp43 = $FF +Label_C732: + lda Zp30 ($30) + beq Label_C73C + jsr $CA8B / jmp $C75D ; state: Zp30≠0 +Label_C73C: + lda Zp31 ($31) + beq Label_C746 + jsr $CAD4 / jmp $C75D ; state: Zp31≠0 +Label_C746: + lda Zp60 ($60) + bne Label_C754 + lda Zp63 ($63) + beq Label_C75A + jsr $CB12 / jmp $C75D ; state: Zp60=0, Zp63≠0 +Label_C754: + jsr $C76A / jmp $C75D ; state: Zp60≠0 +Label_C75A: + jsr $C89B ; state: Zp60=0, Zp63=0 +Label_C75D: + ... (common NMI exit → rti) +``` + +**NMI State Machine:** +| Condition | Handler | Description | +|-----------|---------|-------------| +| $0400≠0 or $0401≠0 | `$EE5E` | Attract mode audio | +| Zp30≠0 | `$CA8B` | Gameplay mode A | +| Zp31≠0 | `$CAD4` | Gameplay mode B | +| Zp60≠0 | `$C76A` | Gameplay mode C | +| Zp60=0, Zp63≠0 | `$CB12` | Bonus/stage transition | +| Zp60=0, Zp63=0 | `$C89B` | Title/attract mode | + +**Key NMI Operations:** +1. PPUCTRL &= $7F (disable NMI during frame), PPUMASK ^= $18 +2. Sprite/OAM update (`$ED34`), PPU/scroll update (`$ED20`) +3. Audio: attract (`$EE5E`) or gameplay (`$F970` + `$EE89`) +4. State dispatch via Zp30/Zp31/Zp60/Zp63 +5. Zp43 init to $FF on first gameplay NMI + +--- + +## 5. Key Subsystems + +### 5.1 Sprite/OAM System — `$ED34` / `$ED20` +- `$ED34`: Builds OAM at $0200 from object arrays +- `$ED20`: PPU scroll/register updates + +### 5.2 Audio Engine +- **Attract:** `$EE5E` (called when $0400/$0401 set) +- **Gameplay:** `$F970` (music), `$EE89` (sound effects) +- APU registers at $4000–$4013 + +### 5.3 Gameplay Logic +- `$CA8B` / `$CAD4` / `$C76A` / `$CB12` / `$C89B`: State-specific gameplay updates +- Player (Popeye), enemies (Bluto, Sea Hag), projectiles, collectibles (spinach, hearts, letters) + +### 5.4 Level Data — $C000–$C648 region +- 1609 bytes classified as `.byte` data but referenced by 148+ code instructions +- Contains level layouts, enemy paths, platform positions +- Referenced via `lda $Cxxx,x`, `bit $Cxxx` — this is **level/map data**, not code + +### 5.5 Indirect Dispatch — `$ECFF` (`jmp ($0002)`) +`jmp ($0002)` at $ECFF — target address in ZP $0002/$0003, set by caller. Not followed statically. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00–$01 | `Zp00`/`Zp01` | 16-bit pointer (RAM clear) | +| $02–$03 | `Zp02`/`Zp03` | Indirect dispatch pointer (`jmp ($0002)`) | +| $10 | `Zp10` | PPUCTRL shadow (bit 7 = NMI enable) | +| $11 | `Zp11` | PPUMASK shadow (toggled via EOR #$18) | +| $30–$31 | `Zp30`/`Zp31` | Gameplay state selectors | +| $43 | `Zp43` | Audio state (init $FF) | +| $60 | `Zp60` | Game state (set 1 at reset) | +| $63 | `Zp63` | Sub-state (cleared at reset) | +| $0200 | OAM buffer | Sprite DMA source | +| $0400–$0401 | Attract flags | Checked in NMI for audio path | +| $0500–$051C | Player state | Initialized at $C686 ($11,$03,$11,$24×25) | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Level/map data | $C000–$C648 | 1609 bytes of level layouts, enemy paths (referenced by code) | +| Audio sequences | $F970+ | Music/SFX data | + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C649) ────► sei/cld, PPUCTRL=$10, stack=$FF + │ + ├─ Wait VBlank (poll $2002 bit 7) + │ + ├─ Clear $0000–$07FF (8 pages via Zp00/Zp01) + │ + ├─ jsr $C686: + │ $0500=$11, $0501=$03, $0502=$11, $0503=$01 + │ $0504–$051C = $24 (25 bytes) + │ + ├─ Zp60=1, Zp63=0 + ├─ PPUCTRL ^= $80 (enable NMI) → Zp10 + │ + ▼ +Label_C680: jsr $EE74 / jmp $C680 (wait for first NMI) + │ + ▼ (NMI fires) + +NMI ($C701) [once per frame] + ├─ Zp10 &= $7F → PPUCTRL (NMI off during frame) + ├─ Zp11 ^= $18 → PPUMASK (toggle bits 3,4) + ├─ jsr $ED34 (sprite/OAM update) + ├─ jsr $ED20 (PPU/scroll update) + ├─ Check $0400/$0401: + │ ├─ Set: jsr $EE5E (attract audio) + │ └─ Clear: + │ jsr $F970 (gameplay audio) + │ jsr $EE89 (sound effects) + │ Zp43 init ($FF) + │ Dispatch on Zp30/Zp31/Zp60/Zp63: + │ Zp30≠0 → $CA8B + │ Zp31≠0 → $CAD4 + │ Zp60≠0 → $C76A + │ Zp60=0,Zp63≠0 → $CB12 + │ Zp60=0,Zp63=0 → $C89B + └─ rti + +Main Loop ($C6A4+) + ├─ Gameplay logic (player, enemies, collectibles) + ├─ Collision detection + ├─ Level progression + └─ Loop (VBlank synchronized via Zp10/Zp60/Zp63) +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 14,875 lines, canonical audit comments, 72.3% code. 6 seeded routine entries from table references. + +**Pass 2 complete** — all 878 `Label_` definitions renamed: 2 semantic entry names (`Reset`, `NmiHandler`) + 315 `SubC` entry points + 561 `_Block_` internal branch targets. No `Label_` remains. Every `jsr`/`jmp` target is a named routine. + +**Pass 3 complete** — 4 semantic zero-page aliases (PtrLo/Hi, Ptr2Lo/Hi) added to `locals.inc`; 79 operands substituted via `apply_symbols.py` (15 single + 64 hardware); data tables named: `LevelData` ($C000–$C648), `AudioData` ($F088–$F832), `VectorPageData` ($FCCE–$FFEF). Remaining zero-page slots retain neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): `jmp ($0002)` at $ECFF. + +**Large data region** — $C000–$C648 (1609 bytes) classified as data but referenced by 148+ code instructions. This is level/enemy pattern data. + +**PRG 0 vs PRG 1** — Same vectors, same structure. PRG 0: Vertical mirroring. PRG 1: Horizontal mirroring. PRG bytes differ slightly (different build). + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Popeye (JU) (PRG 0)/Popeye (JU) (PRG 0).nes b/Popeye (JU) (PRG 0)/Popeye (JU) (PRG 0).nes similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/Popeye (JU) (PRG 0).nes rename to Popeye (JU) (PRG 0)/Popeye (JU) (PRG 0).nes diff --git a/Popeye (JU) (PRG 0)/copilot/Makefile b/Popeye (JU) (PRG 0)/copilot/Makefile new file mode 100644 index 0000000..0d14c9a --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/Makefile @@ -0,0 +1,25 @@ +CA65 ?= ca65 +LD65 ?= ld65 + +all: reconstructed.nes verify + +prg.o: prg.s symbols.inc locals.inc + $(CA65) -g -o $@ $< + +header.o: header.s + $(CA65) -g -o $@ $< + +chr.o: chr.s + $(CA65) -g -o $@ $< + +reconstructed.nes: header.o prg.o chr.o linker.cfg + $(LD65) -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ header.o prg.o chr.o + +verify: reconstructed.nes + cmp reconstructed.nes rom.nes + @echo "Byte-identical ROM verified." + +clean: + rm -f *.o reconstructed.nes reconstructed.map reconstructed.lbl + +.PHONY: all verify clean diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/chr.bin b/Popeye (JU) (PRG 0)/copilot/chr.bin similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/copilot/chr.bin rename to Popeye (JU) (PRG 0)/copilot/chr.bin diff --git a/Popeye (JU) (PRG 0)/copilot/chr.s b/Popeye (JU) (PRG 0)/copilot/chr.s new file mode 100644 index 0000000..a5c5801 --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/chr.s @@ -0,0 +1,2 @@ +.segment "CHR" + .incbin "chr.bin" diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/header.bin b/Popeye (JU) (PRG 0)/copilot/header.bin similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/copilot/header.bin rename to Popeye (JU) (PRG 0)/copilot/header.bin diff --git a/Popeye (JU) (PRG 0)/copilot/header.s b/Popeye (JU) (PRG 0)/copilot/header.s new file mode 100644 index 0000000..6091055 --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/header.s @@ -0,0 +1,2 @@ +.segment "HEADER" + .incbin "header.bin" diff --git a/Popeye (JU) (PRG 0)/copilot/linker.cfg b/Popeye (JU) (PRG 0)/copilot/linker.cfg new file mode 100644 index 0000000..e5136a0 --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/linker.cfg @@ -0,0 +1,10 @@ +MEMORY { + HEADER: start = $0000, size = $0010, fill = yes; + PRG: start = $C000, size = $4000, fill = yes; + CHR: start = $0000, size = $2000, fill = yes; +} +SEGMENTS { + HEADER: load = HEADER, type = ro; + PRG: load = PRG, type = ro; + CHR: load = CHR, type = ro; +} diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/locals.inc b/Popeye (JU) (PRG 0)/copilot/locals.inc similarity index 98% rename from _wip/Popeye (JU) (PRG 0)/copilot/locals.inc rename to Popeye (JU) (PRG 0)/copilot/locals.inc index 10ee62f..302a39a 100644 --- a/_wip/Popeye (JU) (PRG 0)/copilot/locals.inc +++ b/Popeye (JU) (PRG 0)/copilot/locals.inc @@ -201,3 +201,9 @@ ZpFC = $FC ; 11 refs; reads=5 writes=6; used at $CB0F, CBB1, ZpFD = $FD ; 7 refs; reads=1 writes=6; used at $C7BD, C9DC, C9EB, CB2F, +3 more ZpFE = $FE ; 12 refs; reads=4 writes=8; used at $DB4E, DEC9, DFCB, E5E0, +5 more ZpFF = $FF ; 37 refs; reads=14 writes=23; used at $D12E, D3DB, D4AA, D508, +25 more + +; Semantic aliases (Pass 3) +PtrLo = $00 ; semantic alias for Zp00 +PtrHi = $01 ; semantic alias for Zp01 +Ptr2Lo = $02 ; semantic alias for Zp02 +Ptr2Hi = $03 ; semantic alias for Zp03 diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/prg.bin b/Popeye (JU) (PRG 0)/copilot/prg.bin similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/copilot/prg.bin rename to Popeye (JU) (PRG 0)/copilot/prg.bin diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/prg.s b/Popeye (JU) (PRG 0)/copilot/prg.s similarity index 90% rename from _wip/Popeye (JU) (PRG 0)/copilot/prg.s rename to Popeye (JU) (PRG 0)/copilot/prg.s index d7f5995..54bdc64 100644 --- a/_wip/Popeye (JU) (PRG 0)/copilot/prg.s +++ b/Popeye (JU) (PRG 0)/copilot/prg.s @@ -21,6 +21,7 @@ .segment "PRG" +LevelData: ; ---- data $C000-$C648 (1609 bytes) ---- ; referenced by `lda $C643,x` at $C6A4 (operand $C643 falls inside this region) ; referenced by `lda $C50F,x` at $C783 (operand $C50F falls inside this region) @@ -143,11 +144,11 @@ Reset: sei ; CPU:$C649 PRG:0649 78 cld ; CPU:$C64A PRG:064A D8 lda #$10 ; CPU:$C64B PRG:064B A9 10 - sta $2000 ; CPU:$C64D PRG:064D 8D 00 20 + sta PPUCTRL ; CPU:$C64D PRG:064D 8D 00 20 ldx #$FF ; CPU:$C650 PRG:0650 A2 FF txs ; CPU:$C652 PRG:0652 9A ; ----------------------------------------------------------------------------- -; Routine: Label_C653 +; Routine: SubCC653 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -155,17 +156,17 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C653: - lda $2002 ; CPU:$C653 PRG:0653 AD 02 20 +SubCC653: + lda PPUSTATUS ; CPU:$C653 PRG:0653 AD 02 20 and #$80 ; CPU:$C656 PRG:0656 29 80 - beq Label_C653 ; CPU:$C658 PRG:0658 F0 F9 + beq SubCC653 ; CPU:$C658 PRG:0658 F0 F9 ldy #$07 ; CPU:$C65A PRG:065A A0 07 sty Zp01 ; CPU:$C65C PRG:065C 84 01 ldy #$00 ; CPU:$C65E PRG:065E A0 00 sty Zp00 ; CPU:$C660 PRG:0660 84 00 tya ; CPU:$C662 PRG:0662 98 ; ----------------------------------------------------------------------------- -; Routine: Label_C663 +; Routine: SubCC663 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -173,12 +174,12 @@ Label_C653: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C663: +SubCC663: sta (Zp00),y ; CPU:$C663 PRG:0663 91 00 dey ; CPU:$C665 PRG:0665 88 - bne Label_C663 ; CPU:$C666 PRG:0666 D0 FB + bne SubCC663 ; CPU:$C666 PRG:0666 D0 FB dec Zp01 ; CPU:$C668 PRG:0668 C6 01 - bpl Label_C663 ; CPU:$C66A PRG:066A 10 F7 + bpl SubCC663 ; CPU:$C66A PRG:066A 10 F7 jsr $C686 ; CPU:$C66C PRG:066C 20 86 C6 lda #$01 ; CPU:$C66F PRG:066F A9 01 sta Zp60 ; CPU:$C671 PRG:0671 85 60 @@ -186,10 +187,10 @@ Label_C663: sta Zp63 ; CPU:$C675 PRG:0675 85 63 lda Zp10 ; CPU:$C677 PRG:0677 A5 10 eor #$80 ; CPU:$C679 PRG:0679 49 80 - sta $2000 ; CPU:$C67B PRG:067B 8D 00 20 + sta PPUCTRL ; CPU:$C67B PRG:067B 8D 00 20 sta Zp10 ; CPU:$C67E PRG:067E 85 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C680 +; Routine: SubCC680 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -197,11 +198,11 @@ Label_C663: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C680: +SubCC680: jsr $EE74 ; CPU:$C680 PRG:0680 20 74 EE jmp $C680 ; CPU:$C683 PRG:0683 4C 80 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C686 +; Routine: SubCC686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -209,7 +210,7 @@ Label_C680: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C686: +SubCC686: lda #$11 ; CPU:$C686 PRG:0686 A9 11 sta $0500 ; CPU:$C688 PRG:0688 8D 00 05 sta $0502 ; CPU:$C68B PRG:068B 8D 02 05 @@ -220,7 +221,7 @@ Label_C686: ldx #$19 ; CPU:$C698 PRG:0698 A2 19 lda #$24 ; CPU:$C69A PRG:069A A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C69C +; Routine: SubCC686_Block_C69C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -228,13 +229,13 @@ Label_C686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C69C: +SubCC686_Block_C69C: sta $0504,x ; CPU:$C69C PRG:069C 9D 04 05 dex ; CPU:$C69F PRG:069F CA - bne Label_C69C ; CPU:$C6A0 PRG:06A0 D0 FA + bne SubCC686_Block_C69C ; CPU:$C6A0 PRG:06A0 D0 FA ldx #$00 ; CPU:$C6A2 PRG:06A2 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6A4 +; Routine: SubCC686_Block_C6A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -242,24 +243,24 @@ Label_C69C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6A4: +SubCC686_Block_C6A4: lda $C643,x ; CPU:$C6A4 PRG:06A4 BD 43 C6 sta $0513,x ; CPU:$C6A7 PRG:06A7 9D 13 05 inx ; CPU:$C6AA PRG:06AA E8 cpx #$06 ; CPU:$C6AB PRG:06AB E0 06 - bne Label_C6A4 ; CPU:$C6AD PRG:06AD D0 F5 + bne SubCC686_Block_C6A4 ; CPU:$C6AD PRG:06AD D0 F5 lda #$2C ; CPU:$C6AF PRG:06AF A9 2C sta $0504 ; CPU:$C6B1 PRG:06B1 8D 04 05 lda #$E7 ; CPU:$C6B4 PRG:06B4 A9 E7 sta $051A ; CPU:$C6B6 PRG:06B6 8D 1A 05 lda #$00 ; CPU:$C6B9 PRG:06B9 A9 00 - sta $4011 ; CPU:$C6BB PRG:06BB 8D 11 40 + sta APUDMCDIRECT ; CPU:$C6BB PRG:06BB 8D 11 40 lda #$06 ; CPU:$C6BE PRG:06BE A9 06 - sta $2001 ; CPU:$C6C0 PRG:06C0 8D 01 20 + sta PPUMASK ; CPU:$C6C0 PRG:06C0 8D 01 20 jsr $C6F1 ; CPU:$C6C3 PRG:06C3 20 F1 C6 jsr $C6D7 ; CPU:$C6C6 PRG:06C6 20 D7 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C6C9 +; Routine: SubCC6C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -267,12 +268,12 @@ Label_C6A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6C9: +SubCC6C9: lda #$00 ; CPU:$C6C9 PRG:06C9 A9 00 sta $0330 ; CPU:$C6CB PRG:06CB 8D 30 03 sta $0331 ; CPU:$C6CE PRG:06CE 8D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C6D1 +; Routine: SubCC6D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -280,11 +281,11 @@ Label_C6C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6D1: +SubCC6D1: jsr $C6EB ; CPU:$C6D1 PRG:06D1 20 EB C6 jmp $ED3F ; CPU:$C6D4 PRG:06D4 4C 3F ED ; ----------------------------------------------------------------------------- -; Routine: Label_C6D7 +; Routine: SubCC6D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -292,18 +293,18 @@ Label_C6D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6D7: +SubCC6D7: lda #$10 ; CPU:$C6D7 PRG:06D7 A9 10 - sta $2000 ; CPU:$C6D9 PRG:06D9 8D 00 20 + sta PPUCTRL ; CPU:$C6D9 PRG:06D9 8D 00 20 sta Zp10 ; CPU:$C6DC PRG:06DC 85 10 lda #$00 ; CPU:$C6DE PRG:06DE A9 00 - sta $2005 ; CPU:$C6E0 PRG:06E0 8D 05 20 + sta PPUSCROLL ; CPU:$C6E0 PRG:06E0 8D 05 20 sta Zp12 ; CPU:$C6E3 PRG:06E3 85 12 - sta $2005 ; CPU:$C6E5 PRG:06E5 8D 05 20 + sta PPUSCROLL ; CPU:$C6E5 PRG:06E5 8D 05 20 sta Zp13 ; CPU:$C6E8 PRG:06E8 85 13 rts ; CPU:$C6EA PRG:06EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6EB +; Routine: SubCC6EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -311,12 +312,12 @@ Label_C6D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6EB: +SubCC6EB: lda #$00 ; CPU:$C6EB PRG:06EB A9 00 - sta $2001 ; CPU:$C6ED PRG:06ED 8D 01 20 + sta PPUMASK ; CPU:$C6ED PRG:06ED 8D 01 20 rts ; CPU:$C6F0 PRG:06F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6F1 +; Routine: SubCC6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -324,11 +325,11 @@ Label_C6EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F1: +SubCC6F1: lda #$FF ; CPU:$C6F1 PRG:06F1 A9 FF ldy #$00 ; CPU:$C6F3 PRG:06F3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6F5 +; Routine: SubCC6F1_Block_C6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -336,13 +337,13 @@ Label_C6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F5: +SubCC6F1_Block_C6F5: sta $0200,y ; CPU:$C6F5 PRG:06F5 99 00 02 dey ; CPU:$C6F8 PRG:06F8 88 - bne Label_C6F5 ; CPU:$C6F9 PRG:06F9 D0 FA + bne SubCC6F1_Block_C6F5 ; CPU:$C6F9 PRG:06F9 D0 FA rts ; CPU:$C6FB PRG:06FB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6FC +; Routine: SubCC6FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -350,7 +351,7 @@ Label_C6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6FC: +SubCC6FC: lda #$00 ; CPU:$C6FC PRG:06FC A9 00 jmp $EA27 ; CPU:$C6FE PRG:06FE 4C 27 EA ; ----------------------------------------------------------------------------- @@ -365,20 +366,20 @@ Label_C6FC: NmiHandler: lda Zp10 ; CPU:$C701 PRG:0701 A5 10 and #$7F ; CPU:$C703 PRG:0703 29 7F - sta $2000 ; CPU:$C705 PRG:0705 8D 00 20 + sta PPUCTRL ; CPU:$C705 PRG:0705 8D 00 20 sta Zp10 ; CPU:$C708 PRG:0708 85 10 lda Zp11 ; CPU:$C70A PRG:070A A5 11 eor #$18 ; CPU:$C70C PRG:070C 49 18 - sta $2001 ; CPU:$C70E PRG:070E 8D 01 20 + sta PPUMASK ; CPU:$C70E PRG:070E 8D 01 20 jsr $ED34 ; CPU:$C711 PRG:0711 20 34 ED jsr $ED20 ; CPU:$C714 PRG:0714 20 20 ED lda $0400 ; CPU:$C717 PRG:0717 AD 00 04 - bne Label_C724 ; CPU:$C71A PRG:071A D0 08 + bne SubCC6FC_Block_C724 ; CPU:$C71A PRG:071A D0 08 lda $0401 ; CPU:$C71C PRG:071C AD 01 04 - bne Label_C724 ; CPU:$C71F PRG:071F D0 03 + bne SubCC6FC_Block_C724 ; CPU:$C71F PRG:071F D0 03 jsr $EE5E ; CPU:$C721 PRG:0721 20 5E EE ; ----------------------------------------------------------------------------- -; Routine: Label_C724 +; Routine: SubCC6FC_Block_C724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -386,15 +387,15 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C724: +SubCC6FC_Block_C724: jsr $F970 ; CPU:$C724 PRG:0724 20 70 F9 jsr $EE89 ; CPU:$C727 PRG:0727 20 89 EE lda Zp43 ; CPU:$C72A PRG:072A A5 43 - bne Label_C732 ; CPU:$C72C PRG:072C D0 04 + bne SubCC6FC_Block_C732 ; CPU:$C72C PRG:072C D0 04 lda #$FF ; CPU:$C72E PRG:072E A9 FF sta Zp43 ; CPU:$C730 PRG:0730 85 43 ; ----------------------------------------------------------------------------- -; Routine: Label_C732 +; Routine: SubCC6FC_Block_C732 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -402,13 +403,13 @@ Label_C724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C732: +SubCC6FC_Block_C732: lda Zp30 ; CPU:$C732 PRG:0732 A5 30 - beq Label_C73C ; CPU:$C734 PRG:0734 F0 06 + beq SubCC6FC_Block_C73C ; CPU:$C734 PRG:0734 F0 06 jsr $CA8B ; CPU:$C736 PRG:0736 20 8B CA jmp $C75D ; CPU:$C739 PRG:0739 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C73C +; Routine: SubCC6FC_Block_C73C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -416,13 +417,13 @@ Label_C732: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C73C: +SubCC6FC_Block_C73C: lda Zp31 ; CPU:$C73C PRG:073C A5 31 - beq Label_C746 ; CPU:$C73E PRG:073E F0 06 + beq SubCC6FC_Block_C746 ; CPU:$C73E PRG:073E F0 06 jsr $CAD4 ; CPU:$C740 PRG:0740 20 D4 CA jmp $C75D ; CPU:$C743 PRG:0743 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C746 +; Routine: SubCC6FC_Block_C746 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -430,15 +431,15 @@ Label_C73C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C746: +SubCC6FC_Block_C746: lda Zp60 ; CPU:$C746 PRG:0746 A5 60 - bne Label_C754 ; CPU:$C748 PRG:0748 D0 0A + bne SubCC6FC_Block_C754 ; CPU:$C748 PRG:0748 D0 0A lda Zp63 ; CPU:$C74A PRG:074A A5 63 - beq Label_C75A ; CPU:$C74C PRG:074C F0 0C + beq SubCC6FC_Block_C75A ; CPU:$C74C PRG:074C F0 0C jsr $CB12 ; CPU:$C74E PRG:074E 20 12 CB jmp $C75D ; CPU:$C751 PRG:0751 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C754 +; Routine: SubCC6FC_Block_C754 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -446,11 +447,11 @@ Label_C746: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C754: +SubCC6FC_Block_C754: jsr $C76A ; CPU:$C754 PRG:0754 20 6A C7 jmp $C75D ; CPU:$C757 PRG:0757 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C75A +; Routine: SubCC6FC_Block_C75A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -458,10 +459,10 @@ Label_C754: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75A: +SubCC6FC_Block_C75A: jsr $C89B ; CPU:$C75A PRG:075A 20 9B C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C75D +; Routine: SubCC75D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -469,15 +470,15 @@ Label_C75A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75D: +SubCC75D: jsr $ECC3 ; CPU:$C75D PRG:075D 20 C3 EC lda Zp10 ; CPU:$C760 PRG:0760 A5 10 eor #$80 ; CPU:$C762 PRG:0762 49 80 - sta $2000 ; CPU:$C764 PRG:0764 8D 00 20 + sta PPUCTRL ; CPU:$C764 PRG:0764 8D 00 20 sta Zp10 ; CPU:$C767 PRG:0767 85 10 rti ; CPU:$C769 PRG:0769 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C76A +; Routine: SubCC76A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -485,9 +486,9 @@ Label_C75D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C76A: +SubCC76A: lda Zp71 ; CPU:$C76A PRG:076A A5 71 - bne Label_C7C3 ; CPU:$C76C PRG:076C D0 55 + bne SubCC76A_Block_C7C3 ; CPU:$C76C PRG:076C D0 55 jsr $C6EB ; CPU:$C76E PRG:076E 20 EB C6 lda #$90 ; CPU:$C771 PRG:0771 A9 90 sta Zp00 ; CPU:$C773 PRG:0773 85 00 @@ -519,15 +520,15 @@ Label_C76A: lda #$38 ; CPU:$C7AE PRG:07AE A9 38 sta Zp46 ; CPU:$C7B0 PRG:07B0 85 46 lda #$0F ; CPU:$C7B2 PRG:07B2 A9 0F - sta $4015 ; CPU:$C7B4 PRG:07B4 8D 15 40 + sta APUSTATUS ; CPU:$C7B4 PRG:07B4 8D 15 40 lda Zp1E ; CPU:$C7B7 PRG:07B7 A5 1E - bne Label_C7C3 ; CPU:$C7B9 PRG:07B9 D0 08 + bne SubCC76A_Block_C7C3 ; CPU:$C7B9 PRG:07B9 D0 08 lda #$40 ; CPU:$C7BB PRG:07BB A9 40 sta ZpFD ; CPU:$C7BD PRG:07BD 85 FD lda #$55 ; CPU:$C7BF PRG:07BF A9 55 sta Zp46 ; CPU:$C7C1 PRG:07C1 85 46 ; ----------------------------------------------------------------------------- -; Routine: Label_C7C3 +; Routine: SubCC76A_Block_C7C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -535,15 +536,15 @@ Label_C76A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C3: +SubCC76A_Block_C7C3: lda Zp46 ; CPU:$C7C3 PRG:07C3 A5 46 - bne Label_C7D0 ; CPU:$C7C5 PRG:07C5 D0 09 + bne SubCC76A_Block_C7D0 ; CPU:$C7C5 PRG:07C5 D0 09 lda #$0F ; CPU:$C7C7 PRG:07C7 A9 0F sta Zp1D ; CPU:$C7C9 PRG:07C9 85 1D lda #$01 ; CPU:$C7CB PRG:07CB A9 01 jmp $C81F ; CPU:$C7CD PRG:07CD 4C 1F C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C7D0 +; Routine: SubCC76A_Block_C7D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -551,17 +552,17 @@ Label_C7C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7D0: +SubCC76A_Block_C7D0: lda Zp15 ; CPU:$C7D0 PRG:07D0 A5 15 sta Zp1F ; CPU:$C7D2 PRG:07D2 85 1F bit $C06E ; CPU:$C7D4 PRG:07D4 2C 6E C0 - bne Label_C7E1 ; CPU:$C7D7 PRG:07D7 D0 08 + bne SubCC76A_Block_C7E1 ; CPU:$C7D7 PRG:07D7 D0 08 bit $C06D ; CPU:$C7D9 PRG:07D9 2C 6D C0 - bne Label_C801 ; CPU:$C7DC PRG:07DC D0 23 + bne SubCC801 ; CPU:$C7DC PRG:07DC D0 23 sta Zp62 ; CPU:$C7DE PRG:07DE 85 62 rts ; CPU:$C7E0 PRG:07E0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E1 +; Routine: SubCC76A_Block_C7E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -569,14 +570,14 @@ Label_C7D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E1: +SubCC76A_Block_C7E1: lda #$55 ; CPU:$C7E1 PRG:07E1 A9 55 sta Zp46 ; CPU:$C7E3 PRG:07E3 85 46 lda Zp62 ; CPU:$C7E5 PRG:07E5 A5 62 - beq Label_C7EA ; CPU:$C7E7 PRG:07E7 F0 01 + beq SubCC76A_Block_C7EA ; CPU:$C7E7 PRG:07E7 F0 01 rts ; CPU:$C7E9 PRG:07E9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7EA +; Routine: SubCC76A_Block_C7EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -584,15 +585,15 @@ Label_C7E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7EA: +SubCC76A_Block_C7EA: inc Zp61 ; CPU:$C7EA PRG:07EA E6 61 lda Zp61 ; CPU:$C7EC PRG:07EC A5 61 cmp #$04 ; CPU:$C7EE PRG:07EE C9 04 - bne Label_C7F6 ; CPU:$C7F0 PRG:07F0 D0 04 + bne SubCC76A_Block_C7F6 ; CPU:$C7F0 PRG:07F0 D0 04 lda #$00 ; CPU:$C7F2 PRG:07F2 A9 00 sta Zp61 ; CPU:$C7F4 PRG:07F4 85 61 ; ----------------------------------------------------------------------------- -; Routine: Label_C7F6 +; Routine: SubCC76A_Block_C7F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -600,14 +601,14 @@ Label_C7EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7F6: +SubCC76A_Block_C7F6: ldx Zp61 ; CPU:$C7F6 PRG:07F6 A6 61 lda $C50F,x ; CPU:$C7F8 PRG:07F8 BD 0F C5 sta $0200 ; CPU:$C7FB PRG:07FB 8D 00 02 sta Zp62 ; CPU:$C7FE PRG:07FE 85 62 rts ; CPU:$C800 PRG:0800 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C801 +; Routine: SubCC801 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -615,7 +616,7 @@ Label_C7F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C801: +SubCC801: lda #$00 ; CPU:$C801 PRG:0801 A9 00 sta Zp1D ; CPU:$C803 PRG:0803 85 1D sta Zp1E ; CPU:$C805 PRG:0805 85 1E @@ -632,7 +633,7 @@ Label_C801: lda #$03 ; CPU:$C81B PRG:081B A9 03 sta Zp71 ; CPU:$C81D PRG:081D 85 71 ; ----------------------------------------------------------------------------- -; Routine: Label_C81F +; Routine: SubCC81F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -640,7 +641,7 @@ Label_C801: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C81F: +SubCC81F: sta Zp6C ; CPU:$C81F PRG:081F 85 6C jsr $C6C9 ; CPU:$C821 PRG:0821 20 C9 C6 lda #$00 ; CPU:$C824 PRG:0824 A9 00 @@ -652,7 +653,7 @@ Label_C81F: sta Zp66 ; CPU:$C830 PRG:0830 85 66 lda Zp61 ; CPU:$C832 PRG:0832 A5 61 cmp #$02 ; CPU:$C834 PRG:0834 C9 02 - bmi Label_C845 ; CPU:$C836 PRG:0836 30 0D + bmi SubCC81F_Block_C845 ; CPU:$C836 PRG:0836 30 0D lda #$1C ; CPU:$C838 PRG:0838 A9 1C sta Zp66 ; CPU:$C83A PRG:083A 85 66 lda #$03 ; CPU:$C83C PRG:083C A9 03 @@ -660,7 +661,7 @@ Label_C81F: lda #$00 ; CPU:$C840 PRG:0840 A9 00 jsr $C87A ; CPU:$C842 PRG:0842 20 7A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C845 +; Routine: SubCC81F_Block_C845 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -668,22 +669,22 @@ Label_C81F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C845: +SubCC81F_Block_C845: lda #$00 ; CPU:$C845 PRG:0845 A9 00 sta Zp62 ; CPU:$C847 PRG:0847 85 62 sta Zp67 ; CPU:$C849 PRG:0849 85 67 lda Zp1D ; CPU:$C84B PRG:084B A5 1D - bne Label_C865 ; CPU:$C84D PRG:084D D0 16 + bne SubCC81F_Block_C865 ; CPU:$C84D PRG:084D D0 16 lda Zp61 ; CPU:$C84F PRG:084F A5 61 and #$01 ; CPU:$C851 PRG:0851 29 01 - beq Label_C861 ; CPU:$C853 PRG:0853 F0 0C + beq SubCC81F_Block_C861 ; CPU:$C853 PRG:0853 F0 0C lda #$03 ; CPU:$C855 PRG:0855 A9 03 sta Zp68 ; CPU:$C857 PRG:0857 85 68 sta Zp69 ; CPU:$C859 PRG:0859 85 69 sta $0408 ; CPU:$C85B PRG:085B 8D 08 04 sta $0409 ; CPU:$C85E PRG:085E 8D 09 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C861 +; Routine: SubCC81F_Block_C861 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -691,11 +692,11 @@ Label_C845: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C861: +SubCC81F_Block_C861: lda #$04 ; CPU:$C861 PRG:0861 A9 04 sta Zp49 ; CPU:$C863 PRG:0863 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C865 +; Routine: SubCC81F_Block_C865 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -703,7 +704,7 @@ Label_C861: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C865: +SubCC81F_Block_C865: lda Zp61 ; CPU:$C865 PRG:0865 A5 61 and #$01 ; CPU:$C867 PRG:0867 29 01 tax ; CPU:$C869 PRG:0869 AA @@ -715,7 +716,7 @@ Label_C865: sta Zp23 ; CPU:$C877 PRG:0877 85 23 rts ; CPU:$C879 PRG:0879 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C87A +; Routine: SubCC87A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -723,7 +724,7 @@ Label_C865: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C87A: +SubCC87A: clc ; CPU:$C87A PRG:087A 18 adc #$E7 ; CPU:$C87B PRG:087B 69 E7 sta $051A ; CPU:$C87D PRG:087D 8D 1A 05 @@ -734,7 +735,7 @@ Label_C87A: jsr $C88E ; CPU:$C888 PRG:0888 20 8E C8 jmp $CD29 ; CPU:$C88B PRG:088B 4C 29 CD ; ----------------------------------------------------------------------------- -; Routine: Label_C88E +; Routine: SubCC88E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -742,14 +743,14 @@ Label_C87A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C88E: +SubCC88E: sta Zp01 ; CPU:$C88E PRG:088E 85 01 lda $C62B,x ; CPU:$C890 PRG:0890 BD 2B C6 sta Zp02 ; CPU:$C893 PRG:0893 85 02 lda $C62C,x ; CPU:$C895 PRG:0895 BD 2C C6 jmp $E260 ; CPU:$C898 PRG:0898 4C 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_C89B +; Routine: SubCC89B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -757,16 +758,16 @@ Label_C88E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C89B: +SubCC89B: lda Zp1D ; CPU:$C89B PRG:089B A5 1D eor #$0F ; CPU:$C89D PRG:089D 49 0F - sta $4015 ; CPU:$C89F PRG:089F 8D 15 40 + sta APUSTATUS ; CPU:$C89F PRG:089F 8D 15 40 lda Zp71 ; CPU:$C8A2 PRG:08A2 A5 71 - bne Label_C8AB ; CPU:$C8A4 PRG:08A4 D0 05 + bne SubCC89B_Block_C8AB ; CPU:$C8A4 PRG:08A4 D0 05 jsr $CCA0 ; CPU:$C8A6 PRG:08A6 20 A0 CC - bne Label_C8B8 ; CPU:$C8A9 PRG:08A9 D0 0D + bne SubCC89B_Block_C8B8 ; CPU:$C8A9 PRG:08A9 D0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_C8AB +; Routine: SubCC89B_Block_C8AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -774,15 +775,15 @@ Label_C89B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8AB: +SubCC89B_Block_C8AB: lda Zp49 ; CPU:$C8AB PRG:08AB A5 49 - beq Label_C8B9 ; CPU:$C8AD PRG:08AD F0 0A + beq SubCC89B_Block_C8B9 ; CPU:$C8AD PRG:08AD F0 0A lda #$10 ; CPU:$C8AF PRG:08AF A9 10 sta Zp11 ; CPU:$C8B1 PRG:08B1 85 11 lda #$00 ; CPU:$C8B3 PRG:08B3 A9 00 - sta $4015 ; CPU:$C8B5 PRG:08B5 8D 15 40 + sta APUSTATUS ; CPU:$C8B5 PRG:08B5 8D 15 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B8 +; Routine: SubCC89B_Block_C8B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -790,10 +791,10 @@ Label_C8AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B8: +SubCC89B_Block_C8B8: rts ; CPU:$C8B8 PRG:08B8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B9 +; Routine: SubCC89B_Block_C8B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -801,15 +802,15 @@ Label_C8B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B9: +SubCC89B_Block_C8B9: lda #$00 ; CPU:$C8B9 PRG:08B9 A9 00 sta Zp11 ; CPU:$C8BB PRG:08BB 85 11 lda Zp74 ; CPU:$C8BD PRG:08BD A5 74 cmp #$01 ; CPU:$C8BF PRG:08BF C9 01 - bne Label_C8C6 ; CPU:$C8C1 PRG:08C1 D0 03 + bne SubCC89B_Block_C8C6 ; CPU:$C8C1 PRG:08C1 D0 03 jmp $C951 ; CPU:$C8C3 PRG:08C3 4C 51 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8C6 +; Routine: SubCC89B_Block_C8C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -817,12 +818,12 @@ Label_C8B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8C6: +SubCC89B_Block_C8C6: cmp #$02 ; CPU:$C8C6 PRG:08C6 C9 02 - bne Label_C8CD ; CPU:$C8C8 PRG:08C8 D0 03 + bne SubCC89B_Block_C8CD ; CPU:$C8C8 PRG:08C8 D0 03 jmp $C981 ; CPU:$C8CA PRG:08CA 4C 81 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8CD +; Routine: SubCC89B_Block_C8CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -830,10 +831,10 @@ Label_C8C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8CD: +SubCC89B_Block_C8CD: ldx #$00 ; CPU:$C8CD PRG:08CD A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C8CF +; Routine: SubCC89B_Block_C8CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -841,12 +842,12 @@ Label_C8CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8CF: +SubCC89B_Block_C8CF: lda $C4BB,x ; CPU:$C8CF PRG:08CF BD BB C4 sta $0550,x ; CPU:$C8D2 PRG:08D2 9D 50 05 inx ; CPU:$C8D5 PRG:08D5 E8 cpx #$31 ; CPU:$C8D6 PRG:08D6 E0 31 - bne Label_C8CF ; CPU:$C8D8 PRG:08D8 D0 F5 + bne SubCC89B_Block_C8CF ; CPU:$C8D8 PRG:08D8 D0 F5 lda #$50 ; CPU:$C8DA PRG:08DA A9 50 sta Zp01 ; CPU:$C8DC PRG:08DC 85 01 lda Zp66 ; CPU:$C8DE PRG:08DE A5 66 @@ -864,7 +865,7 @@ Label_C8CF: jsr $C6D7 ; CPU:$C8F8 PRG:08F8 20 D7 C6 ldx #$FB ; CPU:$C8FB PRG:08FB A2 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C8FD +; Routine: SubCC89B_Block_C8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -872,12 +873,12 @@ Label_C8CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8FD: +SubCC89B_Block_C8FD: lda #$00 ; CPU:$C8FD PRG:08FD A9 00 sta Zp00,x ; CPU:$C8FF PRG:08FF 95 00 dex ; CPU:$C901 PRG:0901 CA cpx #$6F ; CPU:$C902 PRG:0902 E0 6F - bne Label_C8FD ; CPU:$C904 PRG:0904 D0 F7 + bne SubCC89B_Block_C8FD ; CPU:$C904 PRG:0904 D0 F7 lda #$01 ; CPU:$C906 PRG:0906 A9 01 sta Zp7D ; CPU:$C908 PRG:0908 85 7D sta ZpA9 ; CPU:$C90A PRG:090A 85 A9 @@ -899,12 +900,12 @@ Label_C8FD: lda $0408,y ; CPU:$C92B PRG:092B B9 08 04 tax ; CPU:$C92E PRG:092E AA cmp #$09 ; CPU:$C92F PRG:092F C9 09 - bmi Label_C939 ; CPU:$C931 PRG:0931 30 06 + bmi SubCC89B_Block_C939 ; CPU:$C931 PRG:0931 30 06 lda #$06 ; CPU:$C933 PRG:0933 A9 06 sta $0408,y ; CPU:$C935 PRG:0935 99 08 04 tax ; CPU:$C938 PRG:0938 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C939 +; Routine: SubCC89B_Block_C939 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -912,7 +913,7 @@ Label_C8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C939: +SubCC89B_Block_C939: stx Zp7B ; CPU:$C939 PRG:0939 86 7B lda $C04E,x ; CPU:$C93B PRG:093B BD 4E C0 sta Zp64 ; CPU:$C93E PRG:093E 85 64 @@ -925,7 +926,7 @@ Label_C939: sta Zp74 ; CPU:$C94C PRG:094C 85 74 jmp $C6D1 ; CPU:$C94E PRG:094E 4C D1 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C951 +; Routine: SubCC951 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -933,7 +934,7 @@ Label_C939: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C951: +SubCC951: jsr $C6EB ; CPU:$C951 PRG:0951 20 EB C6 ldx Zp64 ; CPU:$C954 PRG:0954 A6 64 lda $C450,x ; CPU:$C956 PRG:0956 BD 50 C4 @@ -943,14 +944,14 @@ Label_C951: jsr $EF05 ; CPU:$C960 PRG:0960 20 05 EF lda Zp66 ; CPU:$C963 PRG:0963 A5 66 cmp #$1C ; CPU:$C965 PRG:0965 C9 1C - beq Label_C974 ; CPU:$C967 PRG:0967 F0 0B + beq SubCC951_Block_C974 ; CPU:$C967 PRG:0967 F0 0B lda #$75 ; CPU:$C969 PRG:0969 A9 75 sta Zp00 ; CPU:$C96B PRG:096B 85 00 lda #$20 ; CPU:$C96D PRG:096D A9 20 ldx #$02 ; CPU:$C96F PRG:096F A2 02 jsr $C88E ; CPU:$C971 PRG:0971 20 8E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C974 +; Routine: SubCC951_Block_C974 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -958,13 +959,13 @@ Label_C951: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C974: +SubCC951_Block_C974: lda Zp1D ; CPU:$C974 PRG:0974 A5 1D - bne Label_C97C ; CPU:$C976 PRG:0976 D0 04 + bne SubCC951_Block_C97C ; CPU:$C976 PRG:0976 D0 04 lda #$04 ; CPU:$C978 PRG:0978 A9 04 sta Zp49 ; CPU:$C97A PRG:097A 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C97C +; Routine: SubCC951_Block_C97C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -972,12 +973,12 @@ Label_C974: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C97C: +SubCC951_Block_C97C: lda #$02 ; CPU:$C97C PRG:097C A9 02 sta Zp74 ; CPU:$C97E PRG:097E 85 74 rts ; CPU:$C980 PRG:0980 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C981 +; Routine: SubCC981 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -985,15 +986,15 @@ Label_C97C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C981: +SubCC981: ldx Zp64 ; CPU:$C981 PRG:0981 A6 64 - beq Label_C98F ; CPU:$C983 PRG:0983 F0 0A + beq SubCC981_Block_C98F ; CPU:$C983 PRG:0983 F0 0A cpx #$02 ; CPU:$C985 PRG:0985 E0 02 - beq Label_C995 ; CPU:$C987 PRG:0987 F0 0C + beq SubCC981_Block_C995 ; CPU:$C987 PRG:0987 F0 0C jsr $CA71 ; CPU:$C989 PRG:0989 20 71 CA jmp $C998 ; CPU:$C98C PRG:098C 4C 98 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C98F +; Routine: SubCC981_Block_C98F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1001,11 +1002,11 @@ Label_C981: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C98F: +SubCC981_Block_C98F: jsr $CA37 ; CPU:$C98F PRG:098F 20 37 CA jmp $C998 ; CPU:$C992 PRG:0992 4C 98 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C995 +; Routine: SubCC981_Block_C995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1013,10 +1014,10 @@ Label_C98F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C995: +SubCC981_Block_C995: jsr $CA56 ; CPU:$C995 PRG:0995 20 56 CA ; ----------------------------------------------------------------------------- -; Routine: Label_C998 +; Routine: SubCC998 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1024,7 +1025,7 @@ Label_C995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C998: +SubCC998: jsr $CA0F ; CPU:$C998 PRG:0998 20 0F CA lda #$A6 ; CPU:$C99B PRG:099B A9 A6 sta $0211 ; CPU:$C99D PRG:099D 8D 11 02 @@ -1034,18 +1035,18 @@ Label_C998: lda Zp75 ; CPU:$C9A7 PRG:09A7 A5 75 ldx Zp67 ; CPU:$C9A9 PRG:09A9 A6 67 cmp Zp6A,x ; CPU:$C9AB PRG:09AB D5 6A - beq Label_C9CE ; CPU:$C9AD PRG:09AD F0 1F + beq SubCC998_Block_C9CE ; CPU:$C9AD PRG:09AD F0 1F inc Zp75 ; CPU:$C9AF PRG:09AF E6 75 ldx Zp64 ; CPU:$C9B1 PRG:09B1 A6 64 cpx #$04 ; CPU:$C9B3 PRG:09B3 E0 04 - beq Label_C9C9 ; CPU:$C9B5 PRG:09B5 F0 12 + beq SubCC998_Block_C9C9 ; CPU:$C9B5 PRG:09B5 F0 12 cpx #$02 ; CPU:$C9B7 PRG:09B7 E0 02 - beq Label_C9C2 ; CPU:$C9B9 PRG:09B9 F0 07 + beq SubCC998_Block_C9C2 ; CPU:$C9B9 PRG:09B9 F0 07 ldx #$00 ; CPU:$C9BB PRG:09BB A2 00 lda Zp75 ; CPU:$C9BD PRG:09BD A5 75 jmp $D5E8 ; CPU:$C9BF PRG:09BF 4C E8 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C9C2 +; Routine: SubCC998_Block_C9C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1053,12 +1054,12 @@ Label_C998: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9C2: +SubCC998_Block_C9C2: ldy #$00 ; CPU:$C9C2 PRG:09C2 A0 00 lda Zp75 ; CPU:$C9C4 PRG:09C4 A5 75 jmp $D634 ; CPU:$C9C6 PRG:09C6 4C 34 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_C9C9 +; Routine: SubCC998_Block_C9C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1066,11 +1067,11 @@ Label_C9C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9C9: +SubCC998_Block_C9C9: lda Zp75 ; CPU:$C9C9 PRG:09C9 A5 75 jmp $D56F ; CPU:$C9CB PRG:09CB 4C 6F D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C9CE +; Routine: SubCC998_Block_C9CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1078,18 +1079,18 @@ Label_C9C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9CE: +SubCC998_Block_C9CE: ldx Zp67 ; CPU:$C9CE PRG:09CE A6 67 lda Zp64 ; CPU:$C9D0 PRG:09D0 A5 64 cmp #$04 ; CPU:$C9D2 PRG:09D2 C9 04 - bne Label_C9E1 ; CPU:$C9D4 PRG:09D4 D0 0B + bne SubCC998_Block_C9E1 ; CPU:$C9D4 PRG:09D4 D0 0B lda Zp32,x ; CPU:$C9D6 PRG:09D6 B5 32 - bne Label_C9E1 ; CPU:$C9D8 PRG:09D8 D0 07 + bne SubCC998_Block_C9E1 ; CPU:$C9D8 PRG:09D8 D0 07 lda #$80 ; CPU:$C9DA PRG:09DA A9 80 sta ZpFD ; CPU:$C9DC PRG:09DC 85 FD jmp $C9ED ; CPU:$C9DE PRG:09DE 4C ED C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E1 +; Routine: SubCC998_Block_C9E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1097,15 +1098,15 @@ Label_C9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E1: +SubCC998_Block_C9E1: lda Zp2E,x ; CPU:$C9E1 PRG:09E1 B5 2E - bne Label_C9F2 ; CPU:$C9E3 PRG:09E3 D0 0D + bne SubCC9ED_Block_C9F2 ; CPU:$C9E3 PRG:09E3 D0 0D lda Zp1D ; CPU:$C9E5 PRG:09E5 A5 1D - bne Label_C9F2 ; CPU:$C9E7 PRG:09E7 D0 09 + bne SubCC9ED_Block_C9F2 ; CPU:$C9E7 PRG:09E7 D0 09 lda #$01 ; CPU:$C9E9 PRG:09E9 A9 01 sta ZpFD ; CPU:$C9EB PRG:09EB 85 FD ; ----------------------------------------------------------------------------- -; Routine: Label_C9ED +; Routine: SubCC9ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1113,12 +1114,12 @@ Label_C9E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9ED: +SubCC9ED: lda #$01 ; CPU:$C9ED PRG:09ED A9 01 sta Zp30 ; CPU:$C9EF PRG:09EF 85 30 rts ; CPU:$C9F1 PRG:09F1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9F2 +; Routine: SubCC9ED_Block_C9F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1126,7 +1127,7 @@ Label_C9ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F2: +SubCC9ED_Block_C9F2: lda #$01 ; CPU:$C9F2 PRG:09F2 A9 01 sta Zp63 ; CPU:$C9F4 PRG:09F4 85 63 lda #$00 ; CPU:$C9F6 PRG:09F6 A9 00 @@ -1137,7 +1138,7 @@ Label_C9F2: lda #$73 ; CPU:$CA00 PRG:0A00 A9 73 jsr $CA2E ; CPU:$CA02 PRG:0A02 20 2E CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA05 +; Routine: SubCCA05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1145,13 +1146,13 @@ Label_C9F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA05: +SubCCA05: ldx Zp65 ; CPU:$CA05 PRG:0A05 A6 65 lda $C4AF,x ; CPU:$CA07 PRG:0A07 BD AF C4 sta ZpAA ; CPU:$CA0A PRG:0A0A 85 AA jmp $E7F1 ; CPU:$CA0C PRG:0A0C 4C F1 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA0F +; Routine: SubCCA0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1159,7 +1160,7 @@ Label_CA05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0F: +SubCCA0F: ldx Zp65 ; CPU:$CA0F PRG:0A0F A6 65 lda $C4A9,x ; CPU:$CA11 PRG:0A11 BD A9 C4 sta $026C ; CPU:$CA14 PRG:0A14 8D 6C 02 @@ -1173,7 +1174,7 @@ Label_CA0F: sta Zp83 ; CPU:$CA29 PRG:0A29 85 83 jmp $E797 ; CPU:$CA2B PRG:0A2B 4C 97 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA2E +; Routine: SubCCA2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1181,13 +1182,13 @@ Label_CA0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA2E: +SubCCA2E: sta Zp98 ; CPU:$CA2E PRG:0A2E 85 98 lda #$B0 ; CPU:$CA30 PRG:0A30 A9 B0 sta Zp97 ; CPU:$CA32 PRG:0A32 85 97 jmp $E7BD ; CPU:$CA34 PRG:0A34 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA37 +; Routine: SubCCA37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1195,7 +1196,7 @@ Label_CA2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA37: +SubCCA37: lda #$27 ; CPU:$CA37 PRG:0A37 A9 27 sta Zp00 ; CPU:$CA39 PRG:0A39 85 00 lda #$C0 ; CPU:$CA3B PRG:0A3B A9 C0 @@ -1211,7 +1212,7 @@ Label_CA37: lda #$00 ; CPU:$CA51 PRG:0A51 A9 00 jmp $E859 ; CPU:$CA53 PRG:0A53 4C 59 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA56 +; Routine: SubCCA56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1219,7 +1220,7 @@ Label_CA37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA56: +SubCCA56: lda #$34 ; CPU:$CA56 PRG:0A56 A9 34 sta Zp00 ; CPU:$CA58 PRG:0A58 85 00 lda #$C0 ; CPU:$CA5A PRG:0A5A A9 C0 @@ -1233,7 +1234,7 @@ Label_CA56: sta $0298 ; CPU:$CA6D PRG:0A6D 8D 98 02 rts ; CPU:$CA70 PRG:0A70 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA71 +; Routine: SubCCA71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1241,7 +1242,7 @@ Label_CA56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA71: +SubCCA71: lda #$41 ; CPU:$CA71 PRG:0A71 A9 41 sta Zp00 ; CPU:$CA73 PRG:0A73 85 00 lda #$C0 ; CPU:$CA75 PRG:0A75 A9 C0 @@ -1255,7 +1256,7 @@ Label_CA71: sta ZpB0 ; CPU:$CA86 PRG:0A86 85 B0 jmp $E887 ; CPU:$CA88 PRG:0A88 4C 87 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA8B +; Routine: SubCCA8B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1263,13 +1264,13 @@ Label_CA71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA8B: +SubCCA8B: jsr $CCA0 ; CPU:$CA8B PRG:0A8B 20 A0 CC lda $0400 ; CPU:$CA8E PRG:0A8E AD 00 04 - beq Label_CA94 ; CPU:$CA91 PRG:0A91 F0 01 + beq SubCCA8B_Block_CA94 ; CPU:$CA91 PRG:0A91 F0 01 rts ; CPU:$CA93 PRG:0A93 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA94 +; Routine: SubCCA8B_Block_CA94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1277,21 +1278,21 @@ Label_CA8B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA94: +SubCCA8B_Block_CA94: ldx Zp67 ; CPU:$CA94 PRG:0A94 A6 67 lda $06FF ; CPU:$CA96 PRG:0A96 AD FF 06 - bne Label_CAB6 ; CPU:$CA99 PRG:0A99 D0 1B + bne SubCCA8B_Block_CAB6 ; CPU:$CA99 PRG:0A99 D0 1B lda #$00 ; CPU:$CA9B PRG:0A9B A9 00 sta Zp30 ; CPU:$CA9D PRG:0A9D 85 30 lda Zp64 ; CPU:$CA9F PRG:0A9F A5 64 cmp #$04 ; CPU:$CAA1 PRG:0AA1 C9 04 - bne Label_CAAD ; CPU:$CAA3 PRG:0AA3 D0 08 + bne SubCCA8B_Block_CAAD ; CPU:$CAA3 PRG:0AA3 D0 08 lda #$F0 ; CPU:$CAA5 PRG:0AA5 A9 F0 sta ZpE8 ; CPU:$CAA7 PRG:0AA7 85 E8 lda #$00 ; CPU:$CAA9 PRG:0AA9 A9 00 sta ZpE7 ; CPU:$CAAB PRG:0AAB 85 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CAAD +; Routine: SubCCA8B_Block_CAAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1299,13 +1300,13 @@ Label_CA94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAAD: +SubCCA8B_Block_CAAD: lda Zp1D ; CPU:$CAAD PRG:0AAD A5 1D - bne Label_CAB5 ; CPU:$CAAF PRG:0AAF D0 04 + bne SubCCA8B_Block_CAB5 ; CPU:$CAAF PRG:0AAF D0 04 lda #$01 ; CPU:$CAB1 PRG:0AB1 A9 01 sta Zp2E,x ; CPU:$CAB3 PRG:0AB3 95 2E ; ----------------------------------------------------------------------------- -; Routine: Label_CAB5 +; Routine: SubCCA8B_Block_CAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1313,10 +1314,10 @@ Label_CAAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAB5: +SubCCA8B_Block_CAB5: rts ; CPU:$CAB5 PRG:0AB5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAB6 +; Routine: SubCCA8B_Block_CAB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1324,16 +1325,16 @@ Label_CAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAB6: +SubCCA8B_Block_CAB6: lda Zp64 ; CPU:$CAB6 PRG:0AB6 A5 64 cmp #$04 ; CPU:$CAB8 PRG:0AB8 C9 04 - beq Label_CAC6 ; CPU:$CABA PRG:0ABA F0 0A + beq SubCCA8B_Block_CAC6 ; CPU:$CABA PRG:0ABA F0 0A lda #$35 ; CPU:$CABC PRG:0ABC A9 35 sta Zp93 ; CPU:$CABE PRG:0ABE 85 93 jsr $CA2E ; CPU:$CAC0 PRG:0AC0 20 2E CA jmp $CA05 ; CPU:$CAC3 PRG:0AC3 4C 05 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CAC6 +; Routine: SubCCA8B_Block_CAC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1341,7 +1342,7 @@ Label_CAB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAC6: +SubCCA8B_Block_CAC6: ldy #$0E ; CPU:$CAC6 PRG:0AC6 A0 0E jsr $E723 ; CPU:$CAC8 PRG:0AC8 20 23 E7 lda #$02 ; CPU:$CACB PRG:0ACB A9 02 @@ -1349,7 +1350,7 @@ Label_CAC6: sta Zp32,x ; CPU:$CACF PRG:0ACF 95 32 jmp $E80C ; CPU:$CAD1 PRG:0AD1 4C 0C E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD4 +; Routine: SubCCAD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1357,17 +1358,17 @@ Label_CAC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD4: +SubCCAD4: jsr $CCA0 ; CPU:$CAD4 PRG:0AD4 20 A0 CC lda $0400 ; CPU:$CAD7 PRG:0AD7 AD 00 04 - bne Label_CAE6 ; CPU:$CADA PRG:0ADA D0 0A + bne SubCCAD4_Block_CAE6 ; CPU:$CADA PRG:0ADA D0 0A lda Zp6E ; CPU:$CADC PRG:0ADC A5 6E - beq Label_CAEA ; CPU:$CADE PRG:0ADE F0 0A + beq SubCCAD4_Block_CAEA ; CPU:$CADE PRG:0ADE F0 0A ldx Zp65 ; CPU:$CAE0 PRG:0AE0 A6 65 - beq Label_CAE7 ; CPU:$CAE2 PRG:0AE2 F0 03 + beq SubCCAD4_Block_CAE7 ; CPU:$CAE2 PRG:0AE2 F0 03 dec Zp6E ; CPU:$CAE4 PRG:0AE4 C6 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CAE6 +; Routine: SubCCAD4_Block_CAE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1375,10 +1376,10 @@ Label_CAD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE6: +SubCCAD4_Block_CAE6: rts ; CPU:$CAE6 PRG:0AE6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAE7 +; Routine: SubCCAD4_Block_CAE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1386,10 +1387,10 @@ Label_CAE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE7: +SubCCAD4_Block_CAE7: jmp $D5B5 ; CPU:$CAE7 PRG:0AE7 4C B5 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CAEA +; Routine: SubCCAD4_Block_CAEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1397,14 +1398,14 @@ Label_CAE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAEA: +SubCCAD4_Block_CAEA: lda $06FF ; CPU:$CAEA PRG:0AEA AD FF 06 - beq Label_CAF6 ; CPU:$CAED PRG:0AED F0 07 + beq SubCCAD4_Block_CAF6 ; CPU:$CAED PRG:0AED F0 07 lda #$04 ; CPU:$CAEF PRG:0AEF A9 04 sta Zp49 ; CPU:$CAF1 PRG:0AF1 85 49 jmp $E134 ; CPU:$CAF3 PRG:0AF3 4C 34 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_CAF6 +; Routine: SubCCAD4_Block_CAF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1412,7 +1413,7 @@ Label_CAEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAF6: +SubCCAD4_Block_CAF6: ldx Zp67 ; CPU:$CAF6 PRG:0AF6 A6 67 sta Zp32,x ; CPU:$CAF8 PRG:0AF8 95 32 inc Zp68,x ; CPU:$CAFA PRG:0AFA F6 68 @@ -1426,7 +1427,7 @@ Label_CAF6: jsr $C6F1 ; CPU:$CB0C PRG:0B0C 20 F1 C6 sta ZpFC ; CPU:$CB0F PRG:0B0F 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_CB11 +; Routine: SubCCAD4_Block_CB11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1434,10 +1435,10 @@ Label_CAF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB11: +SubCCAD4_Block_CB11: rts ; CPU:$CB11 PRG:0B11 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB12 +; Routine: SubCCB12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1445,13 +1446,13 @@ Label_CB11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB12: +SubCCB12: ldx Zp67 ; CPU:$CB12 PRG:0B12 A6 67 lda Zp6C,x ; CPU:$CB14 PRG:0B14 B5 6C - bne Label_CB1B ; CPU:$CB16 PRG:0B16 D0 03 + bne SubCCB12_Block_CB1B ; CPU:$CB16 PRG:0B16 D0 03 jmp $CD03 ; CPU:$CB18 PRG:0B18 4C 03 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CB1B +; Routine: SubCCB12_Block_CB1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1459,19 +1460,19 @@ Label_CB12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB1B: +SubCCB12_Block_CB1B: ldx Zp67 ; CPU:$CB1B PRG:0B1B A6 67 lda Zp6A,x ; CPU:$CB1D PRG:0B1D B5 6A ldx Zp65 ; CPU:$CB1F PRG:0B1F A6 65 cmp $C4B8,x ; CPU:$CB21 PRG:0B21 DD B8 C4 - bne Label_CB45 ; CPU:$CB24 PRG:0B24 D0 1F + bne SubCCB12_Block_CB45 ; CPU:$CB24 PRG:0B24 D0 1F lda #$01 ; CPU:$CB26 PRG:0B26 A9 01 sta Zp31 ; CPU:$CB28 PRG:0B28 85 31 ldx Zp65 ; CPU:$CB2A PRG:0B2A A6 65 lda $C06A,x ; CPU:$CB2C PRG:0B2C BD 6A C0 sta ZpFD ; CPU:$CB2F PRG:0B2F 85 FD lda Zp64 ; CPU:$CB31 PRG:0B31 A5 64 - bne Label_CB11 ; CPU:$CB33 PRG:0B33 D0 DC + bne SubCCAD4_Block_CB11 ; CPU:$CB33 PRG:0B33 D0 DC lda #$01 ; CPU:$CB35 PRG:0B35 A9 01 jsr $CED8 ; CPU:$CB37 PRG:0B37 20 D8 CE lda #$D2 ; CPU:$CB3A PRG:0B3A A9 D2 @@ -1480,7 +1481,7 @@ Label_CB1B: ldx #$04 ; CPU:$CB40 PRG:0B40 A2 04 jmp $C88E ; CPU:$CB42 PRG:0B42 4C 8E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CB45 +; Routine: SubCCB12_Block_CB45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1488,13 +1489,13 @@ Label_CB1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB45: +SubCCB12_Block_CB45: lda Zp1D ; CPU:$CB45 PRG:0B45 A5 1D - beq Label_CB81 ; CPU:$CB47 PRG:0B47 F0 38 + beq SubCCB12_Block_CB81 ; CPU:$CB47 PRG:0B47 F0 38 jsr $CC81 ; CPU:$CB49 PRG:0B49 20 81 CC - bne Label_CB68 ; CPU:$CB4C PRG:0B4C D0 1A + bne SubCCB12_Block_CB68 ; CPU:$CB4C PRG:0B4C D0 1A lda Zp1A ; CPU:$CB4E PRG:0B4E A5 1A - bne Label_CB69 ; CPU:$CB50 PRG:0B50 D0 17 + bne SubCCB12_Block_CB69 ; CPU:$CB50 PRG:0B50 D0 17 lda #$00 ; CPU:$CB52 PRG:0B52 A9 00 sta Zp1C ; CPU:$CB54 PRG:0B54 85 1C sta Zp1B ; CPU:$CB56 PRG:0B56 85 1B @@ -1503,11 +1504,11 @@ Label_CB45: inc Zp1E ; CPU:$CB5C PRG:0B5C E6 1E lda Zp1E ; CPU:$CB5E PRG:0B5E A5 1E cmp #$03 ; CPU:$CB60 PRG:0B60 C9 03 - bmi Label_CB68 ; CPU:$CB62 PRG:0B62 30 04 + bmi SubCCB12_Block_CB68 ; CPU:$CB62 PRG:0B62 30 04 lda #$00 ; CPU:$CB64 PRG:0B64 A9 00 sta Zp1E ; CPU:$CB66 PRG:0B66 85 1E ; ----------------------------------------------------------------------------- -; Routine: Label_CB68 +; Routine: SubCCB12_Block_CB68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1515,10 +1516,10 @@ Label_CB45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB68: +SubCCB12_Block_CB68: rts ; CPU:$CB68 PRG:0B68 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB69 +; Routine: SubCCB12_Block_CB69 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1526,13 +1527,13 @@ Label_CB68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB69: +SubCCB12_Block_CB69: lda Zp1B ; CPU:$CB69 PRG:0B69 A5 1B - beq Label_CB72 ; CPU:$CB6B PRG:0B6B F0 05 + beq SubCCB12_Block_CB72 ; CPU:$CB6B PRG:0B6B F0 05 dec Zp1B ; CPU:$CB6D PRG:0B6D C6 1B jmp $CB94 ; CPU:$CB6F PRG:0B6F 4C 94 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB72 +; Routine: SubCCB12_Block_CB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1540,7 +1541,7 @@ Label_CB69: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB72: +SubCCB12_Block_CB72: ldx Zp1C ; CPU:$CB72 PRG:0B72 A6 1C lda $C592,x ; CPU:$CB74 PRG:0B74 BD 92 C5 sta Zp1B ; CPU:$CB77 PRG:0B77 85 1B @@ -1548,7 +1549,7 @@ Label_CB72: lda $C5C8,x ; CPU:$CB7B PRG:0B7B BD C8 C5 jmp $CB92 ; CPU:$CB7E PRG:0B7E 4C 92 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB81 +; Routine: SubCCB12_Block_CB81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1556,17 +1557,17 @@ Label_CB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB81: +SubCCB12_Block_CB81: jsr $CCA0 ; CPU:$CB81 PRG:0B81 20 A0 CC lda $0400 ; CPU:$CB84 PRG:0B84 AD 00 04 ora $0401 ; CPU:$CB87 PRG:0B87 0D 01 04 - bne Label_CB68 ; CPU:$CB8A PRG:0B8A D0 DC + bne SubCCB12_Block_CB68 ; CPU:$CB8A PRG:0B8A D0 DC lda Zp67 ; CPU:$CB8C PRG:0B8C A5 67 asl a ; CPU:$CB8E PRG:0B8E 0A tax ; CPU:$CB8F PRG:0B8F AA lda Zp15,x ; CPU:$CB90 PRG:0B90 B5 15 ; ----------------------------------------------------------------------------- -; Routine: Label_CB92 +; Routine: SubCCB92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1574,10 +1575,10 @@ Label_CB81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB92: +SubCCB92: sta Zp7A ; CPU:$CB92 PRG:0B92 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_CB94 +; Routine: SubCCB94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1585,14 +1586,14 @@ Label_CB92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB94: +SubCCB94: jsr $CD8C ; CPU:$CB94 PRG:0B94 20 8C CD jsr $CDEA ; CPU:$CB97 PRG:0B97 20 EA CD lda Zp73 ; CPU:$CB9A PRG:0B9A A5 73 - beq Label_CBA1 ; CPU:$CB9C PRG:0B9C F0 03 + beq SubCCB94_Block_CBA1 ; CPU:$CB9C PRG:0B9C F0 03 jmp $CC1E ; CPU:$CB9E PRG:0B9E 4C 1E CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBA1 +; Routine: SubCCB94_Block_CBA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1600,13 +1601,13 @@ Label_CB94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA1: +SubCCB94_Block_CBA1: lda ZpE0 ; CPU:$CBA1 PRG:0BA1 A5 E0 - beq Label_CBA9 ; CPU:$CBA3 PRG:0BA3 F0 04 + beq SubCCB94_Block_CBA9 ; CPU:$CBA3 PRG:0BA3 F0 04 lda #$00 ; CPU:$CBA5 PRG:0BA5 A9 00 sta Zp18 ; CPU:$CBA7 PRG:0BA7 85 18 ; ----------------------------------------------------------------------------- -; Routine: Label_CBA9 +; Routine: SubCCB94_Block_CBA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1614,7 +1615,7 @@ Label_CBA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA9: +SubCCB94_Block_CBA9: jsr $CF37 ; CPU:$CBA9 PRG:0BA9 20 37 CF ldx Zp65 ; CPU:$CBAC PRG:0BAC A6 65 lda $C06A,x ; CPU:$CBAE PRG:0BAE BD 6A C0 @@ -1623,23 +1624,23 @@ Label_CBA9: jsr $D524 ; CPU:$CBB6 PRG:0BB6 20 24 D5 jsr $CE4F ; CPU:$CBB9 PRG:0BB9 20 4F CE lda Zp1D ; CPU:$CBBC PRG:0BBC A5 1D - bne Label_CBD9 ; CPU:$CBBE PRG:0BBE D0 19 + bne SubCCB94_Block_CBD9 ; CPU:$CBBE PRG:0BBE D0 19 lda Zp67 ; CPU:$CBC0 PRG:0BC0 A5 67 tax ; CPU:$CBC2 PRG:0BC2 AA asl a ; CPU:$CBC3 PRG:0BC3 0A asl a ; CPU:$CBC4 PRG:0BC4 0A tay ; CPU:$CBC5 PRG:0BC5 A8 lda Zp2C,x ; CPU:$CBC6 PRG:0BC6 B5 2C - bne Label_CBD9 ; CPU:$CBC8 PRG:0BC8 D0 0F - lda a:$0025,y ; CPU:$CBCA PRG:0BCA B9 25 00 + bne SubCCB94_Block_CBD9 ; CPU:$CBC8 PRG:0BC8 D0 0F + lda a:Zp25,y ; CPU:$CBCA PRG:0BCA B9 25 00 cmp #$02 ; CPU:$CBCD PRG:0BCD C9 02 - bmi Label_CBD9 ; CPU:$CBCF PRG:0BCF 30 08 + bmi SubCCB94_Block_CBD9 ; CPU:$CBCF PRG:0BCF 30 08 sta Zp2C,x ; CPU:$CBD1 PRG:0BD1 95 2C inc Zp6C,x ; CPU:$CBD3 PRG:0BD3 F6 6C lda #$08 ; CPU:$CBD5 PRG:0BD5 A9 08 sta ZpFB ; CPU:$CBD7 PRG:0BD7 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_CBD9 +; Routine: SubCCB94_Block_CBD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1647,7 +1648,7 @@ Label_CBA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBD9: +SubCCB94_Block_CBD9: ldx Zp67 ; CPU:$CBD9 PRG:0BD9 A6 67 lda Zp6C,x ; CPU:$CBDB PRG:0BDB B5 6C sec ; CPU:$CBDD PRG:0BDD 38 @@ -1666,15 +1667,15 @@ Label_CBD9: sta $0503 ; CPU:$CBF9 PRG:0BF9 8D 03 05 lda Zp61 ; CPU:$CBFC PRG:0BFC A5 61 and #$01 ; CPU:$CBFE PRG:0BFE 29 01 - beq Label_CC0F ; CPU:$CC00 PRG:0C00 F0 0D + beq SubCCB94_Block_CC0F ; CPU:$CC00 PRG:0C00 F0 0D lda Zp1D ; CPU:$CC02 PRG:0C02 A5 1D - bne Label_CC0F ; CPU:$CC04 PRG:0C04 D0 09 + bne SubCCB94_Block_CC0F ; CPU:$CC04 PRG:0C04 D0 09 lda $0503 ; CPU:$CC06 PRG:0C06 AD 03 05 sec ; CPU:$CC09 PRG:0C09 38 sbc #$03 ; CPU:$CC0A PRG:0C0A E9 03 sta $0503 ; CPU:$CC0C PRG:0C0C 8D 03 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CC0F +; Routine: SubCCB94_Block_CC0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1682,7 +1683,7 @@ Label_CBD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC0F: +SubCCB94_Block_CC0F: ldx Zp64 ; CPU:$CC0F PRG:0C0F A6 64 lda $C519,x ; CPU:$CC11 PRG:0C11 BD 19 C5 sta Zp00 ; CPU:$CC14 PRG:0C14 85 00 @@ -1690,7 +1691,7 @@ Label_CC0F: ldx #$08 ; CPU:$CC19 PRG:0C19 A2 08 jmp $C88E ; CPU:$CC1B PRG:0C1B 4C 8E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC1E +; Routine: SubCCC1E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1698,18 +1699,18 @@ Label_CC0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC1E: +SubCCC1E: lda Zp76 ; CPU:$CC1E PRG:0C1E A5 76 - bne Label_CC7C ; CPU:$CC20 PRG:0C20 D0 5A + bne SubCCC7C ; CPU:$CC20 PRG:0C20 D0 5A lda Zp8B ; CPU:$CC22 PRG:0C22 A5 8B - bne Label_CC33 ; CPU:$CC24 PRG:0C24 D0 0D + bne SubCCC1E_Block_CC33 ; CPU:$CC24 PRG:0C24 D0 0D jsr $DB0C ; CPU:$CC26 PRG:0C26 20 0C DB lda Zp79 ; CPU:$CC29 PRG:0C29 A5 79 - beq Label_CC7C ; CPU:$CC2B PRG:0C2B F0 4F + beq SubCCC7C ; CPU:$CC2B PRG:0C2B F0 4F jsr $E488 ; CPU:$CC2D PRG:0C2D 20 88 E4 jmp $CC7C ; CPU:$CC30 PRG:0C30 4C 7C CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC33 +; Routine: SubCCC1E_Block_CC33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1717,14 +1718,14 @@ Label_CC1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC33: +SubCCC1E_Block_CC33: lda Zp3E ; CPU:$CC33 PRG:0C33 A5 3E - bne Label_CC3E ; CPU:$CC35 PRG:0C35 D0 07 + bne SubCCC1E_Block_CC3E ; CPU:$CC35 PRG:0C35 D0 07 lda #$20 ; CPU:$CC37 PRG:0C37 A9 20 sta Zp3E ; CPU:$CC39 PRG:0C39 85 3E jmp $CC7C ; CPU:$CC3B PRG:0C3B 4C 7C CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC3E +; Routine: SubCCC1E_Block_CC3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1732,13 +1733,13 @@ Label_CC33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC3E: +SubCCC1E_Block_CC3E: cmp #$01 ; CPU:$CC3E PRG:0C3E C9 01 - bne Label_CC7C ; CPU:$CC40 PRG:0C40 D0 3A + bne SubCCC7C ; CPU:$CC40 PRG:0C40 D0 3A ldx Zp67 ; CPU:$CC42 PRG:0C42 A6 67 dec Zp6C,x ; CPU:$CC44 PRG:0C44 D6 6C lda Zp6C,x ; CPU:$CC46 PRG:0C46 B5 6C - beq Label_CC7C ; CPU:$CC48 PRG:0C48 F0 32 + beq SubCCC7C ; CPU:$CC48 PRG:0C48 F0 32 lda #$00 ; CPU:$CC4A PRG:0C4A A9 00 sta Zp63 ; CPU:$CC4C PRG:0C4C 85 63 lda #$04 ; CPU:$CC4E PRG:0C4E A9 04 @@ -1746,22 +1747,22 @@ Label_CC3E: jsr $C6C9 ; CPU:$CC52 PRG:0C52 20 C9 C6 jsr $C6F1 ; CPU:$CC55 PRG:0C55 20 F1 C6 lda Zp1D ; CPU:$CC58 PRG:0C58 A5 1D - bne Label_CC7C ; CPU:$CC5A PRG:0C5A D0 20 + bne SubCCC7C ; CPU:$CC5A PRG:0C5A D0 20 lda Zp66 ; CPU:$CC5C PRG:0C5C A5 66 cmp #$18 ; CPU:$CC5E PRG:0C5E C9 18 - beq Label_CC7C ; CPU:$CC60 PRG:0C60 F0 1A + beq SubCCC7C ; CPU:$CC60 PRG:0C60 F0 1A ldx Zp67 ; CPU:$CC62 PRG:0C62 A6 67 inx ; CPU:$CC64 PRG:0C64 E8 txa ; CPU:$CC65 PRG:0C65 8A and #$01 ; CPU:$CC66 PRG:0C66 29 01 tax ; CPU:$CC68 PRG:0C68 AA lda Zp6C,x ; CPU:$CC69 PRG:0C69 B5 6C - beq Label_CC73 ; CPU:$CC6B PRG:0C6B F0 06 + beq SubCCC1E_Block_CC73 ; CPU:$CC6B PRG:0C6B F0 06 txa ; CPU:$CC6D PRG:0C6D 8A sta Zp67 ; CPU:$CC6E PRG:0C6E 85 67 jmp $CC78 ; CPU:$CC70 PRG:0C70 4C 78 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC73 +; Routine: SubCCC1E_Block_CC73 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1769,12 +1770,12 @@ Label_CC3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC73: +SubCCC1E_Block_CC73: lda Zp2D ; CPU:$CC73 PRG:0C73 A5 2D - beq Label_CC78 ; CPU:$CC75 PRG:0C75 F0 01 + beq SubCCC78 ; CPU:$CC75 PRG:0C75 F0 01 inx ; CPU:$CC77 PRG:0C77 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC78 +; Routine: SubCCC78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1782,11 +1783,11 @@ Label_CC73: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC78: +SubCCC78: txa ; CPU:$CC78 PRG:0C78 8A jsr $C87A ; CPU:$CC79 PRG:0C79 20 7A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC7C +; Routine: SubCCC7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1794,12 +1795,12 @@ Label_CC78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC7C: +SubCCC7C: lda #$04 ; CPU:$CC7C PRG:0C7C A9 04 sta Zp49 ; CPU:$CC7E PRG:0C7E 85 49 rts ; CPU:$CC80 PRG:0C80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC81 +; Routine: SubCCC81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1807,19 +1808,19 @@ Label_CC7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC81: +SubCCC81: lda Zp1D ; CPU:$CC81 PRG:0C81 A5 1D - beq Label_CC9F ; CPU:$CC83 PRG:0C83 F0 1A + beq SubCCC81_Block_CC9F ; CPU:$CC83 PRG:0C83 F0 1A lda Zp15 ; CPU:$CC85 PRG:0C85 A5 15 bit $C06D ; CPU:$CC87 PRG:0C87 2C 6D C0 - bne Label_CC97 ; CPU:$CC8A PRG:0C8A D0 0B + bne SubCCC81_Block_CC97 ; CPU:$CC8A PRG:0C8A D0 0B bit $C06E ; CPU:$CC8C PRG:0C8C 2C 6E C0 - beq Label_CC9F ; CPU:$CC8F PRG:0C8F F0 0E + beq SubCCC81_Block_CC9F ; CPU:$CC8F PRG:0C8F F0 0E jsr $CDAD ; CPU:$CC91 PRG:0C91 20 AD CD sta Zp62 ; CPU:$CC94 PRG:0C94 85 62 rts ; CPU:$CC96 PRG:0C96 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC97 +; Routine: SubCCC81_Block_CC97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1827,12 +1828,12 @@ Label_CC81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC97: +SubCCC81_Block_CC97: jsr $C6F1 ; CPU:$CC97 PRG:0C97 20 F1 C6 jsr $C801 ; CPU:$CC9A PRG:0C9A 20 01 C8 lda #$01 ; CPU:$CC9D PRG:0C9D A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CC9F +; Routine: SubCCC81_Block_CC9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1840,10 +1841,10 @@ Label_CC97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC9F: +SubCCC81_Block_CC9F: rts ; CPU:$CC9F PRG:0C9F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCA0 +; Routine: SubCCCA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1851,23 +1852,23 @@ Label_CC9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA0: +SubCCCA0: lda $0401 ; CPU:$CCA0 PRG:0CA0 AD 01 04 - bne Label_CCE8 ; CPU:$CCA3 PRG:0CA3 D0 43 + bne SubCCCA0_Block_CCE8 ; CPU:$CCA3 PRG:0CA3 D0 43 lda Zp15 ; CPU:$CCA5 PRG:0CA5 A5 15 and #$10 ; CPU:$CCA7 PRG:0CA7 29 10 - beq Label_CCE1 ; CPU:$CCA9 PRG:0CA9 F0 36 + beq SubCCCA0_Block_CCE1 ; CPU:$CCA9 PRG:0CA9 F0 36 lda Zp15 ; CPU:$CCAB PRG:0CAB A5 15 cmp Zp1F ; CPU:$CCAD PRG:0CAD C5 1F - beq Label_CCE3 ; CPU:$CCAF PRG:0CAF F0 32 + beq SubCCCA0_Block_CCE3 ; CPU:$CCAF PRG:0CAF F0 32 lda Zp15 ; CPU:$CCB1 PRG:0CB1 A5 15 sta Zp1F ; CPU:$CCB3 PRG:0CB3 85 1F lda $0401 ; CPU:$CCB5 PRG:0CB5 AD 01 04 - bne Label_CCBE ; CPU:$CCB8 PRG:0CB8 D0 04 + bne SubCCCA0_Block_CCBE ; CPU:$CCB8 PRG:0CB8 D0 04 lda #$08 ; CPU:$CCBA PRG:0CBA A9 08 sta ZpFB ; CPU:$CCBC PRG:0CBC 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_CCBE +; Routine: SubCCCA0_Block_CCBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1875,21 +1876,21 @@ Label_CCA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCBE: +SubCCCA0_Block_CCBE: lda $0400 ; CPU:$CCBE PRG:0CBE AD 00 04 - beq Label_CCD9 ; CPU:$CCC1 PRG:0CC1 F0 16 + beq SubCCCA0_Block_CCD9 ; CPU:$CCC1 PRG:0CC1 F0 16 lda Zp11 ; CPU:$CCC3 PRG:0CC3 A5 11 and #$E7 ; CPU:$CCC5 PRG:0CC5 29 E7 sta Zp11 ; CPU:$CCC7 PRG:0CC7 85 11 lda #$0F ; CPU:$CCC9 PRG:0CC9 A9 0F - sta $4015 ; CPU:$CCCB PRG:0CCB 8D 15 40 + sta APUSTATUS ; CPU:$CCCB PRG:0CCB 8D 15 40 lda #$00 ; CPU:$CCCE PRG:0CCE A9 00 sta $0400 ; CPU:$CCD0 PRG:0CD0 8D 00 04 lda #$40 ; CPU:$CCD3 PRG:0CD3 A9 40 sta $0401 ; CPU:$CCD5 PRG:0CD5 8D 01 04 rts ; CPU:$CCD8 PRG:0CD8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCD9 +; Routine: SubCCCA0_Block_CCD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1897,12 +1898,12 @@ Label_CCBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCD9: +SubCCCA0_Block_CCD9: lda #$01 ; CPU:$CCD9 PRG:0CD9 A9 01 sta $0400 ; CPU:$CCDB PRG:0CDB 8D 00 04 jmp $CCFD ; CPU:$CCDE PRG:0CDE 4C FD CC ; ----------------------------------------------------------------------------- -; Routine: Label_CCE1 +; Routine: SubCCCA0_Block_CCE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1910,10 +1911,10 @@ Label_CCD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE1: +SubCCCA0_Block_CCE1: sta Zp1F ; CPU:$CCE1 PRG:0CE1 85 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CCE3 +; Routine: SubCCCA0_Block_CCE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1921,11 +1922,11 @@ Label_CCE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE3: +SubCCCA0_Block_CCE3: lda $0401 ; CPU:$CCE3 PRG:0CE3 AD 01 04 - beq Label_CCEC ; CPU:$CCE6 PRG:0CE6 F0 04 + beq SubCCCA0_Block_CCEC ; CPU:$CCE6 PRG:0CE6 F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CCE8 +; Routine: SubCCCA0_Block_CCE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1933,11 +1934,11 @@ Label_CCE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE8: +SubCCCA0_Block_CCE8: dec $0401 ; CPU:$CCE8 PRG:0CE8 CE 01 04 rts ; CPU:$CCEB PRG:0CEB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCEC +; Routine: SubCCCA0_Block_CCEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1945,17 +1946,17 @@ Label_CCE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCEC: +SubCCCA0_Block_CCEC: lda $0400 ; CPU:$CCEC PRG:0CEC AD 00 04 - beq Label_CD02 ; CPU:$CCEF PRG:0CEF F0 11 + beq SubCCCFD_Block_CD02 ; CPU:$CCEF PRG:0CEF F0 11 lda Zp11 ; CPU:$CCF1 PRG:0CF1 A5 11 ora #$10 ; CPU:$CCF3 PRG:0CF3 09 10 sta Zp11 ; CPU:$CCF5 PRG:0CF5 85 11 lda #$00 ; CPU:$CCF7 PRG:0CF7 A9 00 - sta $4015 ; CPU:$CCF9 PRG:0CF9 8D 15 40 + sta APUSTATUS ; CPU:$CCF9 PRG:0CF9 8D 15 40 rts ; CPU:$CCFC PRG:0CFC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCFD +; Routine: SubCCCFD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1963,11 +1964,11 @@ Label_CCEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCFD: +SubCCCFD: lda #$40 ; CPU:$CCFD PRG:0CFD A9 40 sta $0401 ; CPU:$CCFF PRG:0CFF 8D 01 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CD02 +; Routine: SubCCCFD_Block_CD02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1975,10 +1976,10 @@ Label_CCFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD02: +SubCCCFD_Block_CD02: rts ; CPU:$CD02 PRG:0D02 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD03 +; Routine: SubCCD03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1986,18 +1987,18 @@ Label_CD02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD03: +SubCCD03: lda Zp1D ; CPU:$CD03 PRG:0D03 A5 1D - bne Label_CD5C ; CPU:$CD05 PRG:0D05 D0 55 + bne SubCCD29_Block_CD5C ; CPU:$CD05 PRG:0D05 D0 55 lda Zp36 ; CPU:$CD07 PRG:0D07 A5 36 - beq Label_CD14 ; CPU:$CD09 PRG:0D09 F0 09 + beq SubCCD03_Block_CD14 ; CPU:$CD09 PRG:0D09 F0 09 cmp #$01 ; CPU:$CD0B PRG:0D0B C9 01 - beq Label_CD5C ; CPU:$CD0D PRG:0D0D F0 4D + beq SubCCD29_Block_CD5C ; CPU:$CD0D PRG:0D0D F0 4D cmp #$DF ; CPU:$CD0F PRG:0D0F C9 DF - beq Label_CD50 ; CPU:$CD11 PRG:0D11 F0 3D + beq SubCCD29_Block_CD50 ; CPU:$CD11 PRG:0D11 F0 3D rts ; CPU:$CD13 PRG:0D13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD14 +; Routine: SubCCD03_Block_CD14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2005,7 +2006,7 @@ Label_CD03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD14: +SubCCD03_Block_CD14: lda #$E0 ; CPU:$CD14 PRG:0D14 A9 E0 sta Zp36 ; CPU:$CD16 PRG:0D16 85 36 lda #$CA ; CPU:$CD18 PRG:0D18 A9 CA @@ -2016,7 +2017,7 @@ Label_CD14: jsr $C6F1 ; CPU:$CD23 PRG:0D23 20 F1 C6 jsr $C6D7 ; CPU:$CD26 PRG:0D26 20 D7 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CD29 +; Routine: SubCCD29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2024,17 +2025,17 @@ Label_CD14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD29: +SubCCD29: ldx Zp64 ; CPU:$CD29 PRG:0D29 A6 64 lda Zp66 ; CPU:$CD2B PRG:0D2B A5 66 cmp #$1C ; CPU:$CD2D PRG:0D2D C9 1C - beq Label_CD36 ; CPU:$CD2F PRG:0D2F F0 05 + beq SubCCD29_Block_CD36 ; CPU:$CD2F PRG:0D2F F0 05 txa ; CPU:$CD31 PRG:0D31 8A clc ; CPU:$CD32 PRG:0D32 18 adc #$06 ; CPU:$CD33 PRG:0D33 69 06 tax ; CPU:$CD35 PRG:0D35 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CD36 +; Routine: SubCCD29_Block_CD36 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2042,12 +2043,12 @@ Label_CD29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD36: +SubCCD29_Block_CD36: lda Zp71 ; CPU:$CD36 PRG:0D36 A5 71 - beq Label_CD3C ; CPU:$CD38 PRG:0D38 F0 02 + beq SubCCD29_Block_CD3C ; CPU:$CD38 PRG:0D38 F0 02 ldx #$0C ; CPU:$CD3A PRG:0D3A A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CD3C +; Routine: SubCCD29_Block_CD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2055,7 +2056,7 @@ Label_CD36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD3C: +SubCCD29_Block_CD3C: lda #$DA ; CPU:$CD3C PRG:0D3C A9 DA sta Zp00 ; CPU:$CD3E PRG:0D3E 85 00 lda #$23 ; CPU:$CD40 PRG:0D40 A9 23 @@ -2066,7 +2067,7 @@ Label_CD3C: jsr $E260 ; CPU:$CD4C PRG:0D4C 20 60 E2 rts ; CPU:$CD4F PRG:0D4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD50 +; Routine: SubCCD29_Block_CD50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2074,14 +2075,14 @@ Label_CD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD50: +SubCCD29_Block_CD50: lda Zp66 ; CPU:$CD50 PRG:0D50 A5 66 cmp #$1C ; CPU:$CD52 PRG:0D52 C9 1C - bne Label_CD5B ; CPU:$CD54 PRG:0D54 D0 05 + bne SubCCD29_Block_CD5B ; CPU:$CD54 PRG:0D54 D0 05 lda Zp67 ; CPU:$CD56 PRG:0D56 A5 67 jsr $C87A ; CPU:$CD58 PRG:0D58 20 7A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CD5B +; Routine: SubCCD29_Block_CD5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2089,10 +2090,10 @@ Label_CD50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD5B: +SubCCD29_Block_CD5B: rts ; CPU:$CD5B PRG:0D5B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD5C +; Routine: SubCCD29_Block_CD5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2100,15 +2101,15 @@ Label_CD5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD5C: +SubCCD29_Block_CD5C: lda #$04 ; CPU:$CD5C PRG:0D5C A9 04 sta Zp4F ; CPU:$CD5E PRG:0D5E 85 4F jsr $C6C9 ; CPU:$CD60 PRG:0D60 20 C9 C6 lda Zp1D ; CPU:$CD63 PRG:0D63 A5 1D - bne Label_CD7D ; CPU:$CD65 PRG:0D65 D0 16 + bne SubCCD29_Block_CD7D ; CPU:$CD65 PRG:0D65 D0 16 lda Zp66 ; CPU:$CD67 PRG:0D67 A5 66 cmp #$18 ; CPU:$CD69 PRG:0D69 C9 18 - beq Label_CD7D ; CPU:$CD6B PRG:0D6B F0 10 + beq SubCCD29_Block_CD7D ; CPU:$CD6B PRG:0D6B F0 10 ldx Zp67 ; CPU:$CD6D PRG:0D6D A6 67 inx ; CPU:$CD6F PRG:0D6F E8 txa ; CPU:$CD70 PRG:0D70 8A @@ -2118,9 +2119,9 @@ Label_CD5C: pla ; CPU:$CD77 PRG:0D77 68 tax ; CPU:$CD78 PRG:0D78 AA lda Zp6C,x ; CPU:$CD79 PRG:0D79 B5 6C - bne Label_CD80 ; CPU:$CD7B PRG:0D7B D0 03 + bne SubCCD29_Block_CD80 ; CPU:$CD7B PRG:0D7B D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CD7D +; Routine: SubCCD29_Block_CD7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2128,10 +2129,10 @@ Label_CD5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD7D: +SubCCD29_Block_CD7D: jmp $CDAD ; CPU:$CD7D PRG:0D7D 4C AD CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD80 +; Routine: SubCCD29_Block_CD80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2139,7 +2140,7 @@ Label_CD7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD80: +SubCCD29_Block_CD80: txa ; CPU:$CD80 PRG:0D80 8A sta Zp67 ; CPU:$CD81 PRG:0D81 85 67 lda #$00 ; CPU:$CD83 PRG:0D83 A9 00 @@ -2148,7 +2149,7 @@ Label_CD80: sta Zp49 ; CPU:$CD89 PRG:0D89 85 49 rts ; CPU:$CD8B PRG:0D8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD8C +; Routine: SubCCD8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2156,16 +2157,16 @@ Label_CD80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD8C: +SubCCD8C: lda Zp7D ; CPU:$CD8C PRG:0D8C A5 7D and #$20 ; CPU:$CD8E PRG:0D8E 29 20 - bne Label_CD9A ; CPU:$CD90 PRG:0D90 D0 08 + bne SubCCD8C_Block_CD9A ; CPU:$CD90 PRG:0D90 D0 08 lda Zp7A ; CPU:$CD92 PRG:0D92 A5 7A and #$80 ; CPU:$CD94 PRG:0D94 29 80 - beq Label_CD9A ; CPU:$CD96 PRG:0D96 F0 02 + beq SubCCD8C_Block_CD9A ; CPU:$CD96 PRG:0D96 F0 02 sta ZpE1 ; CPU:$CD98 PRG:0D98 85 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_CD9A +; Routine: SubCCD8C_Block_CD9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2173,10 +2174,10 @@ Label_CD8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD9A: +SubCCD8C_Block_CD9A: lda Zp7A ; CPU:$CD9A PRG:0D9A A5 7A and #$03 ; CPU:$CD9C PRG:0D9C 29 03 - beq Label_CDAC ; CPU:$CD9E PRG:0D9E F0 0C + beq SubCCD8C_Block_CDAC ; CPU:$CD9E PRG:0D9E F0 0C tax ; CPU:$CDA0 PRG:0DA0 AA lda Zp7D ; CPU:$CDA1 PRG:0DA1 A5 7D and #$FC ; CPU:$CDA3 PRG:0DA3 29 FC @@ -2185,7 +2186,7 @@ Label_CD9A: ora Zp7D ; CPU:$CDA8 PRG:0DA8 05 7D sta Zp7D ; CPU:$CDAA PRG:0DAA 85 7D ; ----------------------------------------------------------------------------- -; Routine: Label_CDAC +; Routine: SubCCD8C_Block_CDAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2193,10 +2194,10 @@ Label_CD9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAC: +SubCCD8C_Block_CDAC: rts ; CPU:$CDAC PRG:0DAC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDAD +; Routine: SubCCDAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2204,7 +2205,7 @@ Label_CDAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAD: +SubCCDAD: lda Zp61 ; CPU:$CDAD PRG:0DAD A5 61 and #$01 ; CPU:$CDAF PRG:0DAF 29 01 tax ; CPU:$CDB1 PRG:0DB1 AA @@ -2226,7 +2227,7 @@ Label_CDAD: jsr $C6F1 ; CPU:$CDD7 PRG:0DD7 20 F1 C6 ldx #$FF ; CPU:$CDDA PRG:0DDA A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CDDC +; Routine: SubCCDAD_Block_CDDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2234,17 +2235,17 @@ Label_CDAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDDC: +SubCCDAD_Block_CDDC: lda #$00 ; CPU:$CDDC PRG:0DDC A9 00 sta Zp00,x ; CPU:$CDDE PRG:0DDE 95 00 dex ; CPU:$CDE0 PRG:0DE0 CA cpx #$63 ; CPU:$CDE1 PRG:0DE1 E0 63 - bne Label_CDDC ; CPU:$CDE3 PRG:0DE3 D0 F7 + bne SubCCDAD_Block_CDDC ; CPU:$CDE3 PRG:0DE3 D0 F7 lda #$01 ; CPU:$CDE5 PRG:0DE5 A9 01 sta Zp60 ; CPU:$CDE7 PRG:0DE7 85 60 rts ; CPU:$CDE9 PRG:0DE9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDEA +; Routine: SubCCDEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2252,23 +2253,23 @@ Label_CDDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDEA: +SubCCDEA: lda Zp76 ; CPU:$CDEA PRG:0DEA A5 76 - beq Label_CE08 ; CPU:$CDEC PRG:0DEC F0 1A + beq SubCCDEA_Block_CE08 ; CPU:$CDEC PRG:0DEC F0 1A lda Zp4A ; CPU:$CDEE PRG:0DEE A5 4A - beq Label_CE14 ; CPU:$CDF0 PRG:0DF0 F0 22 + beq SubCCDEA_Block_CE14 ; CPU:$CDF0 PRG:0DF0 F0 22 lda Zp76 ; CPU:$CDF2 PRG:0DF2 A5 76 cmp #$02 ; CPU:$CDF4 PRG:0DF4 C9 02 - bne Label_CE09 ; CPU:$CDF6 PRG:0DF6 D0 11 + bne SubCCDEA_Block_CE09 ; CPU:$CDF6 PRG:0DF6 D0 11 lda $06FF ; CPU:$CDF8 PRG:0DF8 AD FF 06 - beq Label_CE28 ; CPU:$CDFB PRG:0DFB F0 2B + beq SubCCDEA_Block_CE28 ; CPU:$CDFB PRG:0DFB F0 2B lda Zp4A ; CPU:$CDFD PRG:0DFD A5 4A cmp #$38 ; CPU:$CDFF PRG:0DFF C9 38 - bcc Label_CE32 ; CPU:$CE01 PRG:0E01 90 2F + bcc SubCCDEA_Block_CE32 ; CPU:$CE01 PRG:0E01 90 2F lda #$01 ; CPU:$CE03 PRG:0E03 A9 01 jsr $CF09 ; CPU:$CE05 PRG:0E05 20 09 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CE08 +; Routine: SubCCDEA_Block_CE08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2276,10 +2277,10 @@ Label_CDEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE08: +SubCCDEA_Block_CE08: rts ; CPU:$CE08 PRG:0E08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE09 +; Routine: SubCCDEA_Block_CE09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2287,15 +2288,15 @@ Label_CE08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE09: +SubCCDEA_Block_CE09: lda Zp4A ; CPU:$CE09 PRG:0E09 A5 4A cmp #$30 ; CPU:$CE0B PRG:0E0B C9 30 - bne Label_CE08 ; CPU:$CE0D PRG:0E0D D0 F9 + bne SubCCDEA_Block_CE08 ; CPU:$CE0D PRG:0E0D D0 F9 lda #$00 ; CPU:$CE0F PRG:0E0F A9 00 sta Zp76 ; CPU:$CE11 PRG:0E11 85 76 rts ; CPU:$CE13 PRG:0E13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE14 +; Routine: SubCCDEA_Block_CE14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2303,7 +2304,7 @@ Label_CE09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE14: +SubCCDEA_Block_CE14: lda Zp77 ; CPU:$CE14 PRG:0E14 A5 77 sta $0213 ; CPU:$CE16 PRG:0E16 8D 13 02 clc ; CPU:$CE19 PRG:0E19 18 @@ -2314,7 +2315,7 @@ Label_CE14: lda #$C8 ; CPU:$CE23 PRG:0E23 A9 C8 jmp $CE48 ; CPU:$CE25 PRG:0E25 4C 48 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE28 +; Routine: SubCCDEA_Block_CE28 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2322,14 +2323,14 @@ Label_CE14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE28: +SubCCDEA_Block_CE28: lda #$03 ; CPU:$CE28 PRG:0E28 A9 03 sta Zp94 ; CPU:$CE2A PRG:0E2A 85 94 lda #$00 ; CPU:$CE2C PRG:0E2C A9 00 sta Zp76 ; CPU:$CE2E PRG:0E2E 85 76 sta Zp4A ; CPU:$CE30 PRG:0E30 85 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CE32 +; Routine: SubCCDEA_Block_CE32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2337,7 +2338,7 @@ Label_CE28: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE32: +SubCCDEA_Block_CE32: lda #$00 ; CPU:$CE32 PRG:0E32 A9 00 jsr $CF09 ; CPU:$CE34 PRG:0E34 20 09 CF lda #$01 ; CPU:$CE37 PRG:0E37 A9 01 @@ -2349,7 +2350,7 @@ Label_CE32: jsr $E936 ; CPU:$CE43 PRG:0E43 20 36 E9 lda #$FF ; CPU:$CE46 PRG:0E46 A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CE48 +; Routine: SubCCE48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2357,12 +2358,12 @@ Label_CE32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE48: +SubCCE48: sta $0210 ; CPU:$CE48 PRG:0E48 8D 10 02 sta $0214 ; CPU:$CE4B PRG:0E4B 8D 14 02 rts ; CPU:$CE4E PRG:0E4E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE4F +; Routine: SubCCE4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2370,11 +2371,11 @@ Label_CE48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE4F: +SubCCE4F: ldx #$00 ; CPU:$CE4F PRG:0E4F A2 00 ldy #$00 ; CPU:$CE51 PRG:0E51 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CE53 +; Routine: SubCCE4F_Block_CE53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2382,14 +2383,14 @@ Label_CE4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE53: +SubCCE4F_Block_CE53: lda Zp47,x ; CPU:$CE53 PRG:0E53 B5 47 - bne Label_CE5F ; CPU:$CE55 PRG:0E55 D0 08 + bne SubCCE4F_Block_CE5F ; CPU:$CE55 PRG:0E55 D0 08 lda #$FF ; CPU:$CE57 PRG:0E57 A9 FF sta $0200,y ; CPU:$CE59 PRG:0E59 99 00 02 sta $0204,y ; CPU:$CE5C PRG:0E5C 99 04 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE5F +; Routine: SubCCE4F_Block_CE5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2397,17 +2398,17 @@ Label_CE53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE5F: +SubCCE4F_Block_CE5F: inx ; CPU:$CE5F PRG:0E5F E8 tya ; CPU:$CE60 PRG:0E60 98 clc ; CPU:$CE61 PRG:0E61 18 adc #$08 ; CPU:$CE62 PRG:0E62 69 08 tay ; CPU:$CE64 PRG:0E64 A8 cpx #$02 ; CPU:$CE65 PRG:0E65 E0 02 - bmi Label_CE53 ; CPU:$CE67 PRG:0E67 30 EA + bmi SubCCE4F_Block_CE53 ; CPU:$CE67 PRG:0E67 30 EA rts ; CPU:$CE69 PRG:0E69 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE6A +; Routine: SubCCE6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2415,12 +2416,12 @@ Label_CE5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE6A: +SubCCE6A: ldy #$00 ; CPU:$CE6A PRG:0E6A A0 00 sty Zp0F ; CPU:$CE6C PRG:0E6C 84 0F jsr $CEAA ; CPU:$CE6E PRG:0E6E 20 AA CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE71 +; Routine: SubCCE6A_Block_CE71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2428,10 +2429,10 @@ Label_CE6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE71: +SubCCE6A_Block_CE71: lda $0200,y ; CPU:$CE71 PRG:0E71 B9 00 02 cmp #$FF ; CPU:$CE74 PRG:0E74 C9 FF - bne Label_CE9E ; CPU:$CE76 PRG:0E76 D0 26 + bne SubCCE6A_Block_CE9E ; CPU:$CE76 PRG:0E76 D0 26 lda Zp05 ; CPU:$CE78 PRG:0E78 A5 05 sta $0203,y ; CPU:$CE7A PRG:0E7A 99 03 02 clc ; CPU:$CE7D PRG:0E7D 18 @@ -2449,7 +2450,7 @@ Label_CE71: sta Zp47,x ; CPU:$CE9B PRG:0E9B 95 47 rts ; CPU:$CE9D PRG:0E9D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE9E +; Routine: SubCCE6A_Block_CE9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2457,17 +2458,17 @@ Label_CE71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE9E: +SubCCE6A_Block_CE9E: tya ; CPU:$CE9E PRG:0E9E 98 clc ; CPU:$CE9F PRG:0E9F 18 adc #$08 ; CPU:$CEA0 PRG:0EA0 69 08 tay ; CPU:$CEA2 PRG:0EA2 A8 inc Zp0F ; CPU:$CEA3 PRG:0EA3 E6 0F cpy #$10 ; CPU:$CEA5 PRG:0EA5 C0 10 - bmi Label_CE71 ; CPU:$CEA7 PRG:0EA7 30 C8 + bmi SubCCE6A_Block_CE71 ; CPU:$CEA7 PRG:0EA7 30 C8 rts ; CPU:$CEA9 PRG:0EA9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEAA +; Routine: SubCCEAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2475,9 +2476,9 @@ Label_CE9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEAA: +SubCCEAA: lda Zp1D ; CPU:$CEAA PRG:0EAA A5 1D - bne Label_CED7 ; CPU:$CEAC PRG:0EAC D0 29 + bne SubCCEAA_Block_CED7 ; CPU:$CEAC PRG:0EAC D0 29 txa ; CPU:$CEAE PRG:0EAE 8A pha ; CPU:$CEAF PRG:0EAF 48 tya ; CPU:$CEB0 PRG:0EB0 98 @@ -2501,7 +2502,7 @@ Label_CEAA: pla ; CPU:$CED5 PRG:0ED5 68 tax ; CPU:$CED6 PRG:0ED6 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CED7 +; Routine: SubCCEAA_Block_CED7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2509,10 +2510,10 @@ Label_CEAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED7: +SubCCEAA_Block_CED7: rts ; CPU:$CED7 PRG:0ED7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CED8 +; Routine: SubCCED8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2520,24 +2521,24 @@ Label_CED7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED8: +SubCCED8: pha ; CPU:$CED8 PRG:0ED8 48 lda #$8E ; CPU:$CED9 PRG:0ED9 A9 8E sta Zp00 ; CPU:$CEDB PRG:0EDB 85 00 lda #$21 ; CPU:$CEDD PRG:0EDD A9 21 sta Zp01 ; CPU:$CEDF PRG:0EDF 85 01 pla ; CPU:$CEE1 PRG:0EE1 68 - bne Label_CF00 ; CPU:$CEE2 PRG:0EE2 D0 1C + bne SubCCED8_Block_CF00 ; CPU:$CEE2 PRG:0EE2 D0 1C lda Zp4C ; CPU:$CEE4 PRG:0EE4 A5 4C and #$01 ; CPU:$CEE6 PRG:0EE6 29 01 - bne Label_CF00 ; CPU:$CEE8 PRG:0EE8 D0 16 + bne SubCCED8_Block_CF00 ; CPU:$CEE8 PRG:0EE8 D0 16 lda Zp92 ; CPU:$CEEA PRG:0EEA A5 92 eor #$05 ; CPU:$CEEC PRG:0EEC 49 05 cmp #$07 ; CPU:$CEEE PRG:0EEE C9 07 - bne Label_CEF4 ; CPU:$CEF0 PRG:0EF0 D0 02 + bne SubCCED8_Block_CEF4 ; CPU:$CEF0 PRG:0EF0 D0 02 lda #$02 ; CPU:$CEF2 PRG:0EF2 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CEF4 +; Routine: SubCCED8_Block_CEF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2545,14 +2546,14 @@ Label_CED8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEF4: +SubCCED8_Block_CEF4: sta $0556 ; CPU:$CEF4 PRG:0EF4 8D 56 05 lda #$50 ; CPU:$CEF7 PRG:0EF7 A9 50 sta Zp02 ; CPU:$CEF9 PRG:0EF9 85 02 lda #$05 ; CPU:$CEFB PRG:0EFB A9 05 jmp $CF06 ; CPU:$CEFD PRG:0EFD 4C 06 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF00 +; Routine: SubCCED8_Block_CF00 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2560,12 +2561,12 @@ Label_CEF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF00: +SubCCED8_Block_CF00: lda #$EC ; CPU:$CF00 PRG:0F00 A9 EC sta Zp02 ; CPU:$CF02 PRG:0F02 85 02 lda #$C4 ; CPU:$CF04 PRG:0F04 A9 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_CF06 +; Routine: SubCCF06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2573,10 +2574,10 @@ Label_CF00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF06: +SubCCF06: jmp $E260 ; CPU:$CF06 PRG:0F06 4C 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_CF09 +; Routine: SubCCF09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2584,14 +2585,14 @@ Label_CF06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF09: - beq Label_CF14 ; CPU:$CF09 PRG:0F09 F0 09 +SubCCF09: + beq SubCCF09_Block_CF14 ; CPU:$CF09 PRG:0F09 F0 09 lda #$F7 ; CPU:$CF0B PRG:0F0B A9 F7 sta Zp02 ; CPU:$CF0D PRG:0F0D 85 02 lda #$C4 ; CPU:$CF0F PRG:0F0F A9 C4 jmp $CF1A ; CPU:$CF11 PRG:0F11 4C 1A CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF14 +; Routine: SubCCF09_Block_CF14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2599,12 +2600,12 @@ Label_CF09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF14: +SubCCF09_Block_CF14: lda #$FC ; CPU:$CF14 PRG:0F14 A9 FC sta Zp02 ; CPU:$CF16 PRG:0F16 85 02 lda #$C4 ; CPU:$CF18 PRG:0F18 A9 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_CF1A +; Routine: SubCCF1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2612,17 +2613,17 @@ Label_CF14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF1A: +SubCCF1A: sta Zp03 ; CPU:$CF1A PRG:0F1A 85 03 ldx Zp64 ; CPU:$CF1C PRG:0F1C A6 64 lda $C502,x ; CPU:$CF1E PRG:0F1E BD 02 C5 tay ; CPU:$CF21 PRG:0F21 A8 lda Zp97 ; CPU:$CF22 PRG:0F22 A5 97 cmp #$80 ; CPU:$CF24 PRG:0F24 C9 80 - bcs Label_CF2B ; CPU:$CF26 PRG:0F26 B0 03 + bcs SubCCF1A_Block_CF2B ; CPU:$CF26 PRG:0F26 B0 03 ldy $C501,x ; CPU:$CF28 PRG:0F28 BC 01 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_CF2B +; Routine: SubCCF1A_Block_CF2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2630,7 +2631,7 @@ Label_CF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF2B: +SubCCF1A_Block_CF2B: sty Zp00 ; CPU:$CF2B PRG:0F2B 84 00 txa ; CPU:$CF2D PRG:0F2D 8A lsr a ; CPU:$CF2E PRG:0F2E 4A @@ -2639,7 +2640,7 @@ Label_CF2B: sta Zp01 ; CPU:$CF32 PRG:0F32 85 01 jmp $EDF5 ; CPU:$CF34 PRG:0F34 4C F5 ED ; ----------------------------------------------------------------------------- -; Routine: Label_CF37 +; Routine: SubCCF37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2647,11 +2648,11 @@ Label_CF2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF37: +SubCCF37: jsr $CF45 ; CPU:$CF37 PRG:0F37 20 45 CF jmp $CFF4 ; CPU:$CF3A PRG:0F3A 4C F4 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF3D +; Routine: SubCCF3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2659,10 +2660,10 @@ Label_CF37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF3D: +SubCCF3D: ldx #$00 ; CPU:$CF3D PRG:0F3D A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF3F +; Routine: SubCCF3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2670,11 +2671,11 @@ Label_CF3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF3F: +SubCCF3F: jsr $E8A0 ; CPU:$CF3F PRG:0F3F 20 A0 E8 jmp $C6FC ; CPU:$CF42 PRG:0F42 4C FC C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CF45 +; Routine: SubCCF45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2682,10 +2683,10 @@ Label_CF3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF45: +SubCCF45: lda Zp7D ; CPU:$CF45 PRG:0F45 A5 7D and #$70 ; CPU:$CF47 PRG:0F47 29 70 - bne Label_CF7C ; CPU:$CF49 PRG:0F49 D0 31 + bne SubCCF45_Block_CF7C ; CPU:$CF49 PRG:0F49 D0 31 jsr $CF3D ; CPU:$CF4B PRG:0F4B 20 3D CF lda #$00 ; CPU:$CF4E PRG:0F4E A9 00 sta Zp05 ; CPU:$CF50 PRG:0F50 85 05 @@ -2695,19 +2696,19 @@ Label_CF45: sta ZpB4 ; CPU:$CF5A PRG:0F5A 85 B4 lda Zp5E ; CPU:$CF5C PRG:0F5C A5 5E cmp #$04 ; CPU:$CF5E PRG:0F5E C9 04 - bmi Label_CF7D ; CPU:$CF60 PRG:0F60 30 1B + bmi SubCCF45_Block_CF7D ; CPU:$CF60 PRG:0F60 30 1B lda #$08 ; CPU:$CF62 PRG:0F62 A9 08 sta Zp7C ; CPU:$CF64 PRG:0F64 85 7C jsr $EC8A ; CPU:$CF66 PRG:0F66 20 8A EC - bne Label_CF7C ; CPU:$CF69 PRG:0F69 D0 11 + bne SubCCF45_Block_CF7C ; CPU:$CF69 PRG:0F69 D0 11 jsr $ECA6 ; CPU:$CF6B PRG:0F6B 20 A6 EC - bne Label_CF7C ; CPU:$CF6E PRG:0F6E D0 0C + bne SubCCF45_Block_CF7C ; CPU:$CF6E PRG:0F6E D0 0C lda Zp64 ; CPU:$CF70 PRG:0F70 A5 64 cmp #$02 ; CPU:$CF72 PRG:0F72 C9 02 - beq Label_CF79 ; CPU:$CF74 PRG:0F74 F0 03 + beq SubCCF45_Block_CF79 ; CPU:$CF74 PRG:0F74 F0 03 jmp $EB89 ; CPU:$CF76 PRG:0F76 4C 89 EB ; ----------------------------------------------------------------------------- -; Routine: Label_CF79 +; Routine: SubCCF45_Block_CF79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2715,10 +2716,10 @@ Label_CF45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF79: +SubCCF45_Block_CF79: jsr $EC77 ; CPU:$CF79 PRG:0F79 20 77 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CF7C +; Routine: SubCCF45_Block_CF7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2726,10 +2727,10 @@ Label_CF79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7C: +SubCCF45_Block_CF7C: rts ; CPU:$CF7C PRG:0F7C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7D +; Routine: SubCCF45_Block_CF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2737,20 +2738,20 @@ Label_CF7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7D: +SubCCF45_Block_CF7D: cmp #$03 ; CPU:$CF7D PRG:0F7D C9 03 - bne Label_CFAE ; CPU:$CF7F PRG:0F7F D0 2D + bne SubCCFA7_Block_CFAE ; CPU:$CF7F PRG:0F7F D0 2D lda #$04 ; CPU:$CF81 PRG:0F81 A9 04 sta Zp7C ; CPU:$CF83 PRG:0F83 85 7C jsr $EB89 ; CPU:$CF85 PRG:0F85 20 89 EB - bne Label_CFAD ; CPU:$CF88 PRG:0F88 D0 23 + bne SubCCFA7_Block_CFAD ; CPU:$CF88 PRG:0F88 D0 23 lda Zp64 ; CPU:$CF8A PRG:0F8A A5 64 - bne Label_CF96 ; CPU:$CF8C PRG:0F8C D0 08 + bne SubCCF45_Block_CF96 ; CPU:$CF8C PRG:0F8C D0 08 jsr $EB73 ; CPU:$CF8E PRG:0F8E 20 73 EB - bne Label_CFAD ; CPU:$CF91 PRG:0F91 D0 1A + bne SubCCFA7_Block_CFAD ; CPU:$CF91 PRG:0F91 D0 1A jmp $EC77 ; CPU:$CF93 PRG:0F93 4C 77 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CF96 +; Routine: SubCCF45_Block_CF96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2758,14 +2759,14 @@ Label_CF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF96: +SubCCF45_Block_CF96: cmp #$02 ; CPU:$CF96 PRG:0F96 C9 02 - bne Label_CFA2 ; CPU:$CF98 PRG:0F98 D0 08 + bne SubCCF45_Block_CFA2 ; CPU:$CF98 PRG:0F98 D0 08 jsr $EC5E ; CPU:$CF9A PRG:0F9A 20 5E EC - bne Label_CFAD ; CPU:$CF9D PRG:0F9D D0 0E + bne SubCCFA7_Block_CFAD ; CPU:$CF9D PRG:0F9D D0 0E jmp $CFA7 ; CPU:$CF9F PRG:0F9F 4C A7 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CFA2 +; Routine: SubCCF45_Block_CFA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2773,11 +2774,11 @@ Label_CF96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA2: +SubCCF45_Block_CFA2: jsr $EB73 ; CPU:$CFA2 PRG:0FA2 20 73 EB - bne Label_CFAD ; CPU:$CFA5 PRG:0FA5 D0 06 + bne SubCCFA7_Block_CFAD ; CPU:$CFA5 PRG:0FA5 D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_CFA7 +; Routine: SubCCFA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2785,11 +2786,11 @@ Label_CFA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA7: +SubCCFA7: jsr $EC8A ; CPU:$CFA7 PRG:0FA7 20 8A EC jsr $ECA6 ; CPU:$CFAA PRG:0FAA 20 A6 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFAD +; Routine: SubCCFA7_Block_CFAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2797,10 +2798,10 @@ Label_CFA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFAD: +SubCCFA7_Block_CFAD: rts ; CPU:$CFAD PRG:0FAD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFAE +; Routine: SubCCFA7_Block_CFAE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2808,26 +2809,26 @@ Label_CFAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFAE: +SubCCFA7_Block_CFAE: cmp #$02 ; CPU:$CFAE PRG:0FAE C9 02 - bne Label_CFD9 ; CPU:$CFB0 PRG:0FB0 D0 27 + bne SubCCFA7_Block_CFD9 ; CPU:$CFB0 PRG:0FB0 D0 27 lda #$02 ; CPU:$CFB2 PRG:0FB2 A9 02 sta Zp7C ; CPU:$CFB4 PRG:0FB4 85 7C jsr $EB89 ; CPU:$CFB6 PRG:0FB6 20 89 EB - bne Label_CFD5 ; CPU:$CFB9 PRG:0FB9 D0 1A + bne SubCCFA7_Block_CFD5 ; CPU:$CFB9 PRG:0FB9 D0 1A jsr $EB73 ; CPU:$CFBB PRG:0FBB 20 73 EB - bne Label_CFD5 ; CPU:$CFBE PRG:0FBE D0 15 + bne SubCCFA7_Block_CFD5 ; CPU:$CFBE PRG:0FBE D0 15 lda Zp64 ; CPU:$CFC0 PRG:0FC0 A5 64 - beq Label_CFD6 ; CPU:$CFC2 PRG:0FC2 F0 12 + beq SubCCFA7_Block_CFD6 ; CPU:$CFC2 PRG:0FC2 F0 12 jsr $EC8A ; CPU:$CFC4 PRG:0FC4 20 8A EC jsr $ECA6 ; CPU:$CFC7 PRG:0FC7 20 A6 EC - bne Label_CFD5 ; CPU:$CFCA PRG:0FCA D0 09 + bne SubCCFA7_Block_CFD5 ; CPU:$CFCA PRG:0FCA D0 09 lda Zp64 ; CPU:$CFCC PRG:0FCC A5 64 cmp #$02 ; CPU:$CFCE PRG:0FCE C9 02 - bne Label_CFD5 ; CPU:$CFD0 PRG:0FD0 D0 03 + bne SubCCFA7_Block_CFD5 ; CPU:$CFD0 PRG:0FD0 D0 03 jsr $EC77 ; CPU:$CFD2 PRG:0FD2 20 77 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFD5 +; Routine: SubCCFA7_Block_CFD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2835,10 +2836,10 @@ Label_CFAE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD5: +SubCCFA7_Block_CFD5: rts ; CPU:$CFD5 PRG:0FD5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFD6 +; Routine: SubCCFA7_Block_CFD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2846,10 +2847,10 @@ Label_CFD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD6: +SubCCFA7_Block_CFD6: jmp $EC5E ; CPU:$CFD6 PRG:0FD6 4C 5E EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFD9 +; Routine: SubCCFA7_Block_CFD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2857,17 +2858,17 @@ Label_CFD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFD9: +SubCCFA7_Block_CFD9: lda #$01 ; CPU:$CFD9 PRG:0FD9 A9 01 sta Zp7C ; CPU:$CFDB PRG:0FDB 85 7C jsr $EB73 ; CPU:$CFDD PRG:0FDD 20 73 EB - bne Label_CFEB ; CPU:$CFE0 PRG:0FE0 D0 09 + bne SubCCFA7_Block_CFEB ; CPU:$CFE0 PRG:0FE0 D0 09 lda Zp64 ; CPU:$CFE2 PRG:0FE2 A5 64 cmp #$02 ; CPU:$CFE4 PRG:0FE4 C9 02 - bne Label_CFEB ; CPU:$CFE6 PRG:0FE6 D0 03 + bne SubCCFA7_Block_CFEB ; CPU:$CFE6 PRG:0FE6 D0 03 jsr $EC5E ; CPU:$CFE8 PRG:0FE8 20 5E EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFEB +; Routine: SubCCFA7_Block_CFEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2875,10 +2876,10 @@ Label_CFD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEB: +SubCCFA7_Block_CFEB: rts ; CPU:$CFEB PRG:0FEB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFEC +; Routine: SubCCFEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2886,10 +2887,10 @@ Label_CFEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEC: +SubCCFEC: ldx #$00 ; CPU:$CFEC PRG:0FEC A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CFEE +; Routine: SubCCFEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2897,11 +2898,11 @@ Label_CFEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFEE: +SubCCFEE: jsr $E8BC ; CPU:$CFEE PRG:0FEE 20 BC E8 jmp $C6FC ; CPU:$CFF1 PRG:0FF1 4C FC C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF4 +; Routine: SubCCFF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2909,12 +2910,12 @@ Label_CFEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF4: +SubCCFF4: lda Zp94 ; CPU:$CFF4 PRG:0FF4 A5 94 - beq Label_CFF9 ; CPU:$CFF6 PRG:0FF6 F0 01 + beq SubCCFF4_Block_CFF9 ; CPU:$CFF6 PRG:0FF6 F0 01 rts ; CPU:$CFF8 PRG:0FF8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF9 +; Routine: SubCCFF4_Block_CFF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2922,10 +2923,10 @@ Label_CFF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF9: +SubCCFF4_Block_CFF9: lda Zp93 ; CPU:$CFF9 PRG:0FF9 A5 93 and #$40 ; CPU:$CFFB PRG:0FFB 29 40 - bne Label_D044 ; CPU:$CFFD PRG:0FFD D0 45 + bne SubCCFF4_Block_D044 ; CPU:$CFFD PRG:0FFD D0 45 jsr $CFEC ; CPU:$CFFF PRG:0FFF 20 EC CF lda #$01 ; CPU:$D002 PRG:1002 A9 01 sta Zp05 ; CPU:$D004 PRG:1004 85 05 @@ -2933,12 +2934,12 @@ Label_CFF9: jsr $EB23 ; CPU:$D009 PRG:1009 20 23 EB lda Zp5E ; CPU:$D00C PRG:100C A5 5E cmp #$03 ; CPU:$D00E PRG:100E C9 03 - bne Label_D019 ; CPU:$D010 PRG:1010 D0 07 + bne SubCCFF4_Block_D019 ; CPU:$D010 PRG:1010 D0 07 lda #$04 ; CPU:$D012 PRG:1012 A9 04 sta Zp92 ; CPU:$D014 PRG:1014 85 92 jmp $EC08 ; CPU:$D016 PRG:1016 4C 08 EC ; ----------------------------------------------------------------------------- -; Routine: Label_D019 +; Routine: SubCCFF4_Block_D019 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2946,27 +2947,27 @@ Label_CFF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D019: +SubCCFF4_Block_D019: cmp #$02 ; CPU:$D019 PRG:1019 C9 02 - bne Label_D03D ; CPU:$D01B PRG:101B D0 20 + bne SubCCFF4_Block_D03D ; CPU:$D01B PRG:101B D0 20 lda #$02 ; CPU:$D01D PRG:101D A9 02 sta Zp92 ; CPU:$D01F PRG:101F 85 92 jsr $EBA4 ; CPU:$D021 PRG:1021 20 A4 EB - bne Label_D044 ; CPU:$D024 PRG:1024 D0 1E + bne SubCCFF4_Block_D044 ; CPU:$D024 PRG:1024 D0 1E lda Zp64 ; CPU:$D026 PRG:1026 A5 64 cmp #$02 ; CPU:$D028 PRG:1028 C9 02 - bne Label_D044 ; CPU:$D02A PRG:102A D0 18 + bne SubCCFF4_Block_D044 ; CPU:$D02A PRG:102A D0 18 lda Zp97 ; CPU:$D02C PRG:102C A5 97 cmp #$30 ; CPU:$D02E PRG:102E C9 30 - bcs Label_D044 ; CPU:$D030 PRG:1030 B0 12 + bcs SubCCFF4_Block_D044 ; CPU:$D030 PRG:1030 B0 12 lda Zp98 ; CPU:$D032 PRG:1032 A5 98 cmp #$90 ; CPU:$D034 PRG:1034 C9 90 - bcc Label_D044 ; CPU:$D036 PRG:1036 90 0C + bcc SubCCFF4_Block_D044 ; CPU:$D036 PRG:1036 90 0C lda #$10 ; CPU:$D038 PRG:1038 A9 10 sta Zp94 ; CPU:$D03A PRG:103A 85 94 rts ; CPU:$D03C PRG:103C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D03D +; Routine: SubCCFF4_Block_D03D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2974,12 +2975,12 @@ Label_D019: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D03D: +SubCCFF4_Block_D03D: lda #$01 ; CPU:$D03D PRG:103D A9 01 sta Zp92 ; CPU:$D03F PRG:103F 85 92 jsr $EBA4 ; CPU:$D041 PRG:1041 20 A4 EB ; ----------------------------------------------------------------------------- -; Routine: Label_D044 +; Routine: SubCCFF4_Block_D044 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2987,10 +2988,10 @@ Label_D03D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D044: +SubCCFF4_Block_D044: rts ; CPU:$D044 PRG:1044 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D045 +; Routine: SubCD045 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2998,10 +2999,10 @@ Label_D044: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D045: +SubCD045: lda Zp94 ; CPU:$D045 PRG:1045 A5 94 cmp #$04 ; CPU:$D047 PRG:1047 C9 04 - beq Label_D06C ; CPU:$D049 PRG:1049 F0 21 + beq SubCD045_Block_D06C ; CPU:$D049 PRG:1049 F0 21 jsr $CFEC ; CPU:$D04B PRG:104B 20 EC CF lda ZpAF ; CPU:$D04E PRG:104E A5 AF sta Zp00 ; CPU:$D050 PRG:1050 85 00 @@ -3010,7 +3011,7 @@ Label_D045: lda #$04 ; CPU:$D056 PRG:1056 A9 04 jsr $D06D ; CPU:$D058 PRG:1058 20 6D D0 jsr $EA25 ; CPU:$D05B PRG:105B 20 25 EA - beq Label_D06C ; CPU:$D05E PRG:105E F0 0C + beq SubCD045_Block_D06C ; CPU:$D05E PRG:105E F0 0C lda #$04 ; CPU:$D060 PRG:1060 A9 04 sta Zp94 ; CPU:$D062 PRG:1062 85 94 lda #$30 ; CPU:$D064 PRG:1064 A9 30 @@ -3018,7 +3019,7 @@ Label_D045: lda #$10 ; CPU:$D068 PRG:1068 A9 10 sta ZpFB ; CPU:$D06A PRG:106A 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D06C +; Routine: SubCD045_Block_D06C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3026,10 +3027,10 @@ Label_D045: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06C: +SubCD045_Block_D06C: rts ; CPU:$D06C PRG:106C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D06D +; Routine: SubCD06D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3037,7 +3038,7 @@ Label_D06C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06D: +SubCD06D: tax ; CPU:$D06D PRG:106D AA lda $C639,x ; CPU:$D06E PRG:106E BD 39 C6 sta Zp02 ; CPU:$D071 PRG:1071 85 02 @@ -3045,7 +3046,7 @@ Label_D06D: sta Zp03 ; CPU:$D076 PRG:1076 85 03 rts ; CPU:$D078 PRG:1078 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D079 +; Routine: SubCD079 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3053,7 +3054,7 @@ Label_D06D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D079: +SubCD079: jsr $CF3D ; CPU:$D079 PRG:1079 20 3D CF jsr $D340 ; CPU:$D07C PRG:107C 20 40 D3 jsr $D0A7 ; CPU:$D07F PRG:107F 20 A7 D0 @@ -3062,11 +3063,11 @@ Label_D079: jsr $D10C ; CPU:$D088 PRG:1088 20 0C D1 lda Zp64 ; CPU:$D08B PRG:108B A5 64 cmp #$00 ; CPU:$D08D PRG:108D C9 00 - bne Label_D097 ; CPU:$D08F PRG:108F D0 06 + bne SubCD079_Block_D097 ; CPU:$D08F PRG:108F D0 06 jsr $D465 ; CPU:$D091 PRG:1091 20 65 D4 jmp $D2DC ; CPU:$D094 PRG:1094 4C DC D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D097 +; Routine: SubCD079_Block_D097 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3074,13 +3075,13 @@ Label_D079: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D097: +SubCD079_Block_D097: cmp #$02 ; CPU:$D097 PRG:1097 C9 02 - bne Label_D0A1 ; CPU:$D099 PRG:1099 D0 06 + bne SubCD079_Block_D0A1 ; CPU:$D099 PRG:1099 D0 06 jsr $D499 ; CPU:$D09B PRG:109B 20 99 D4 jmp $D2DC ; CPU:$D09E PRG:109E 4C DC D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A1 +; Routine: SubCD079_Block_D0A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3088,11 +3089,11 @@ Label_D097: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A1: +SubCD079_Block_D0A1: jsr $CF3D ; CPU:$D0A1 PRG:10A1 20 3D CF jmp $D4CF ; CPU:$D0A4 PRG:10A4 4C CF D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A7 +; Routine: SubCD0A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3100,19 +3101,19 @@ Label_D0A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A7: +SubCD0A7: lda ZpE1 ; CPU:$D0A7 PRG:10A7 A5 E1 - beq Label_D10B ; CPU:$D0A9 PRG:10A9 F0 60 + beq SubCD0A7_Block_D10B ; CPU:$D0A9 PRG:10A9 F0 60 jsr $EB02 ; CPU:$D0AB PRG:10AB 20 02 EB lda Zp00 ; CPU:$D0AE PRG:10AE A5 00 ldx Zp64 ; CPU:$D0B0 PRG:10B0 A6 64 cmp $C3E9,x ; CPU:$D0B2 PRG:10B2 DD E9 C3 - bcc Label_D10B ; CPU:$D0B5 PRG:10B5 90 54 + bcc SubCD0A7_Block_D10B ; CPU:$D0B5 PRG:10B5 90 54 cmp $C3EA,x ; CPU:$D0B7 PRG:10B7 DD EA C3 - bcs Label_D10B ; CPU:$D0BA PRG:10BA B0 4F + bcs SubCD0A7_Block_D10B ; CPU:$D0BA PRG:10BA B0 4F lda Zp6F ; CPU:$D0BC PRG:10BC A5 6F and Zp7C ; CPU:$D0BE PRG:10BE 25 7C - beq Label_D10B ; CPU:$D0C0 PRG:10C0 F0 49 + beq SubCD0A7_Block_D10B ; CPU:$D0C0 PRG:10C0 F0 49 lda #$40 ; CPU:$D0C2 PRG:10C2 A9 40 sta ZpE0 ; CPU:$D0C4 PRG:10C4 85 E0 lda #$00 ; CPU:$D0C6 PRG:10C6 A9 00 @@ -3127,7 +3128,7 @@ Label_D0A7: jsr $E936 ; CPU:$D0D8 PRG:10D8 20 36 E9 lda Zp64 ; CPU:$D0DB PRG:10DB A5 64 cmp #$04 ; CPU:$D0DD PRG:10DD C9 04 - beq Label_D10B ; CPU:$D0DF PRG:10DF F0 2A + beq SubCD0A7_Block_D10B ; CPU:$D0DF PRG:10DF F0 2A lda #$40 ; CPU:$D0E1 PRG:10E1 A9 40 sta Zp02 ; CPU:$D0E3 PRG:10E3 85 02 lda #$04 ; CPU:$D0E5 PRG:10E5 A9 04 @@ -3149,7 +3150,7 @@ Label_D0A7: sta ZpE7 ; CPU:$D107 PRG:1107 85 E7 sta Zp78 ; CPU:$D109 PRG:1109 85 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D10B +; Routine: SubCD0A7_Block_D10B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3157,10 +3158,10 @@ Label_D0A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D10B: +SubCD0A7_Block_D10B: rts ; CPU:$D10B PRG:110B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D10C +; Routine: SubCD10C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3168,16 +3169,16 @@ Label_D10B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D10C: +SubCD10C: lda Zp94 ; CPU:$D10C PRG:110C A5 94 cmp #$02 ; CPU:$D10E PRG:110E C9 02 - beq Label_D14D ; CPU:$D110 PRG:1110 F0 3B + beq SubCD10C_Block_D14D ; CPU:$D110 PRG:1110 F0 3B ldx Zp75 ; CPU:$D112 PRG:1112 A6 75 jsr $E8BC ; CPU:$D114 PRG:1114 20 BC E8 jsr $EA25 ; CPU:$D117 PRG:1117 20 25 EA - beq Label_D14E ; CPU:$D11A PRG:111A F0 32 + beq SubCD10C_Block_D14E ; CPU:$D11A PRG:111A F0 32 lda ZpE0 ; CPU:$D11C PRG:111C A5 E0 - beq Label_D139 ; CPU:$D11E PRG:111E F0 19 + beq SubCD10C_Block_D139 ; CPU:$D11E PRG:111E F0 19 lda #$02 ; CPU:$D120 PRG:1120 A9 02 sta Zp94 ; CPU:$D122 PRG:1122 85 94 lda Zp7D ; CPU:$D124 PRG:1124 A5 7D @@ -3187,11 +3188,11 @@ Label_D10C: lda #$01 ; CPU:$D12C PRG:112C A9 01 sta ZpFF ; CPU:$D12E PRG:112E 85 FF lda Zp64 ; CPU:$D130 PRG:1130 A5 64 - bne Label_D14D ; CPU:$D132 PRG:1132 D0 19 + bne SubCD10C_Block_D14D ; CPU:$D132 PRG:1132 D0 19 lda #$01 ; CPU:$D134 PRG:1134 A9 01 jmp $CED8 ; CPU:$D136 PRG:1136 4C D8 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D139 +; Routine: SubCD10C_Block_D139 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3199,10 +3200,10 @@ Label_D10C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D139: +SubCD10C_Block_D139: lda Zp94 ; CPU:$D139 PRG:1139 A5 94 cmp #$04 ; CPU:$D13B PRG:113B C9 04 - beq Label_D1A6 ; CPU:$D13D PRG:113D F0 67 + beq SubCD10C_Block_D1A6 ; CPU:$D13D PRG:113D F0 67 lda #$01 ; CPU:$D13F PRG:113F A9 01 sta Zp72 ; CPU:$D141 PRG:1141 85 72 sta Zp73 ; CPU:$D143 PRG:1143 85 73 @@ -3211,7 +3212,7 @@ Label_D139: lda #$FF ; CPU:$D149 PRG:1149 A9 FF sta Zp3B ; CPU:$D14B PRG:114B 85 3B ; ----------------------------------------------------------------------------- -; Routine: Label_D14D +; Routine: SubCD10C_Block_D14D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3219,10 +3220,10 @@ Label_D139: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D14D: +SubCD10C_Block_D14D: rts ; CPU:$D14D PRG:114D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D14E +; Routine: SubCD10C_Block_D14E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3230,14 +3231,14 @@ Label_D14D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D14E: +SubCD10C_Block_D14E: lda Zp64 ; CPU:$D14E PRG:114E A5 64 cmp #$02 ; CPU:$D150 PRG:1150 C9 02 - bne Label_D159 ; CPU:$D152 PRG:1152 D0 05 + bne SubCD10C_Block_D159 ; CPU:$D152 PRG:1152 D0 05 jsr $D2C2 ; CPU:$D154 PRG:1154 20 C2 D2 - bne Label_D1A6 ; CPU:$D157 PRG:1157 D0 4D + bne SubCD10C_Block_D1A6 ; CPU:$D157 PRG:1157 D0 4D ; ----------------------------------------------------------------------------- -; Routine: Label_D159 +; Routine: SubCD10C_Block_D159 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3245,13 +3246,13 @@ Label_D14E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D159: +SubCD10C_Block_D159: jsr $D045 ; CPU:$D159 PRG:1159 20 45 D0 lda ZpE0 ; CPU:$D15C PRG:115C A5 E0 - beq Label_D163 ; CPU:$D15E PRG:115E F0 03 + beq SubCD10C_Block_D163 ; CPU:$D15E PRG:115E F0 03 jmp $D29F ; CPU:$D160 PRG:1160 4C 9F D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D163 +; Routine: SubCD10C_Block_D163 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3259,16 +3260,16 @@ Label_D159: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D163: +SubCD10C_Block_D163: lda Zp93 ; CPU:$D163 PRG:1163 A5 93 and #$50 ; CPU:$D165 PRG:1165 29 50 - bne Label_D1A6 ; CPU:$D167 PRG:1167 D0 3D + bne SubCD10C_Block_D1A6 ; CPU:$D167 PRG:1167 D0 3D lda $040A ; CPU:$D169 PRG:1169 AD 0A 04 - beq Label_D172 ; CPU:$D16C PRG:116C F0 04 + beq SubCD10C_Block_D172 ; CPU:$D16C PRG:116C F0 04 lda #$20 ; CPU:$D16E PRG:116E A9 20 sta ZpFC ; CPU:$D170 PRG:1170 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_D172 +; Routine: SubCD10C_Block_D172 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3276,31 +3277,31 @@ Label_D163: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D172: +SubCD10C_Block_D172: lda Zp94 ; CPU:$D172 PRG:1172 A5 94 - bne Label_D1A6 ; CPU:$D174 PRG:1174 D0 30 + bne SubCD10C_Block_D1A6 ; CPU:$D174 PRG:1174 D0 30 lda Zp82 ; CPU:$D176 PRG:1176 A5 82 sta Zp00 ; CPU:$D178 PRG:1178 85 00 lda Zp97 ; CPU:$D17A PRG:117A A5 97 sta Zp01 ; CPU:$D17C PRG:117C 85 01 ldx Zp65 ; CPU:$D17E PRG:117E A6 65 cmp $C61D,x ; CPU:$D180 PRG:1180 DD 1D C6 - bcc Label_D1A6 ; CPU:$D183 PRG:1183 90 21 + bcc SubCD10C_Block_D1A6 ; CPU:$D183 PRG:1183 90 21 cmp #$D8 ; CPU:$D185 PRG:1185 C9 D8 - bcs Label_D1A6 ; CPU:$D187 PRG:1187 B0 1D + bcs SubCD10C_Block_D1A6 ; CPU:$D187 PRG:1187 B0 1D lda Zp7D ; CPU:$D189 PRG:1189 A5 7D and #$10 ; CPU:$D18B PRG:118B 29 10 - bne Label_D1A3 ; CPU:$D18D PRG:118D D0 14 + bne SubCD10C_Block_D1A3 ; CPU:$D18D PRG:118D D0 14 jsr $D234 ; CPU:$D18F PRG:118F 20 34 D2 - bne Label_D1A6 ; CPU:$D192 PRG:1192 D0 12 + bne SubCD10C_Block_D1A6 ; CPU:$D192 PRG:1192 D0 12 jsr $D1A7 ; CPU:$D194 PRG:1194 20 A7 D1 - bne Label_D1A6 ; CPU:$D197 PRG:1197 D0 0D + bne SubCD10C_Block_D1A6 ; CPU:$D197 PRG:1197 D0 0D jsr $D1D9 ; CPU:$D199 PRG:1199 20 D9 D1 - bne Label_D1A6 ; CPU:$D19C PRG:119C D0 08 + bne SubCD10C_Block_D1A6 ; CPU:$D19C PRG:119C D0 08 jsr $D1FC ; CPU:$D19E PRG:119E 20 FC D1 - bne Label_D1A6 ; CPU:$D1A1 PRG:11A1 D0 03 + bne SubCD10C_Block_D1A6 ; CPU:$D1A1 PRG:11A1 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A3 +; Routine: SubCD10C_Block_D1A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3308,10 +3309,10 @@ Label_D172: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A3: +SubCD10C_Block_D1A3: jsr $D27E ; CPU:$D1A3 PRG:11A3 20 7E D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A6 +; Routine: SubCD10C_Block_D1A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3319,10 +3320,10 @@ Label_D1A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A6: +SubCD10C_Block_D1A6: rts ; CPU:$D1A6 PRG:11A6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A7 +; Routine: SubCD1A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3330,31 +3331,31 @@ Label_D1A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A7: +SubCD1A7: lda $040A ; CPU:$D1A7 PRG:11A7 AD 0A 04 - bne Label_D1D6 ; CPU:$D1AA PRG:11AA D0 2A + bne SubCD1A7_Block_D1D6 ; CPU:$D1AA PRG:11AA D0 2A lda #$80 ; CPU:$D1AC PRG:11AC A9 80 jsr $EAD8 ; CPU:$D1AE PRG:11AE 20 D8 EA - beq Label_D1D6 ; CPU:$D1B1 PRG:11B1 F0 23 + beq SubCD1A7_Block_D1D6 ; CPU:$D1B1 PRG:11B1 F0 23 lda Zp7C ; CPU:$D1B3 PRG:11B3 A5 7C and Zp92 ; CPU:$D1B5 PRG:11B5 25 92 - beq Label_D1D6 ; CPU:$D1B7 PRG:11B7 F0 1D + beq SubCD1A7_Block_D1D6 ; CPU:$D1B7 PRG:11B7 F0 1D lda #$20 ; CPU:$D1B9 PRG:11B9 A9 20 jsr $EAD8 ; CPU:$D1BB PRG:11BB 20 D8 EA - bne Label_D1D6 ; CPU:$D1BE PRG:11BE D0 16 + bne SubCD1A7_Block_D1D6 ; CPU:$D1BE PRG:11BE D0 16 ldx Zp7B ; CPU:$D1C0 PRG:11C0 A6 7B lda Zp35 ; CPU:$D1C2 PRG:11C2 A5 35 - bne Label_D1D6 ; CPU:$D1C4 PRG:11C4 D0 10 + bne SubCD1A7_Block_D1D6 ; CPU:$D1C4 PRG:11C4 D0 10 lda #$30 ; CPU:$D1C6 PRG:11C6 A9 30 sta Zp35 ; CPU:$D1C8 PRG:11C8 85 35 lda $C07A,x ; CPU:$D1CA PRG:11CA BD 7A C0 cmp Zp18 ; CPU:$D1CD PRG:11CD C5 18 - bcc Label_D1D6 ; CPU:$D1CF PRG:11CF 90 05 + bcc SubCD1A7_Block_D1D6 ; CPU:$D1CF PRG:11CF 90 05 lda #$80 ; CPU:$D1D1 PRG:11D1 A9 80 sta Zp94 ; CPU:$D1D3 PRG:11D3 85 94 rts ; CPU:$D1D5 PRG:11D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1D6 +; Routine: SubCD1A7_Block_D1D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3362,11 +3363,11 @@ Label_D1A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1D6: +SubCD1A7_Block_D1D6: lda #$00 ; CPU:$D1D6 PRG:11D6 A9 00 rts ; CPU:$D1D8 PRG:11D8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1D9 +; Routine: SubCD1D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3374,22 +3375,22 @@ Label_D1D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1D9: +SubCD1D9: ldx #$00 ; CPU:$D1D9 PRG:11D9 A2 00 jsr $D21B ; CPU:$D1DB PRG:11DB 20 1B D2 - beq Label_D1F9 ; CPU:$D1DE PRG:11DE F0 19 + beq SubCD1D9_Block_D1F9 ; CPU:$D1DE PRG:11DE F0 19 lda Zp92 ; CPU:$D1E0 PRG:11E0 A5 92 cmp Zp7C ; CPU:$D1E2 PRG:11E2 C5 7C - bpl Label_D1F9 ; CPU:$D1E4 PRG:11E4 10 13 + bpl SubCD1D9_Block_D1F9 ; CPU:$D1E4 PRG:11E4 10 13 ora Zp7C ; CPU:$D1E6 PRG:11E6 05 7C cmp #$03 ; CPU:$D1E8 PRG:11E8 C9 03 - beq Label_D1F4 ; CPU:$D1EA PRG:11EA F0 08 + beq SubCD1D9_Block_D1F4 ; CPU:$D1EA PRG:11EA F0 08 cmp #$06 ; CPU:$D1EC PRG:11EC C9 06 - beq Label_D1F4 ; CPU:$D1EE PRG:11EE F0 04 + beq SubCD1D9_Block_D1F4 ; CPU:$D1EE PRG:11EE F0 04 cmp #$0C ; CPU:$D1F0 PRG:11F0 C9 0C - bne Label_D1F9 ; CPU:$D1F2 PRG:11F2 D0 05 + bne SubCD1D9_Block_D1F9 ; CPU:$D1F2 PRG:11F2 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F4 +; Routine: SubCD1D9_Block_D1F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3397,12 +3398,12 @@ Label_D1D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F4: +SubCD1D9_Block_D1F4: lda #$40 ; CPU:$D1F4 PRG:11F4 A9 40 sta Zp94 ; CPU:$D1F6 PRG:11F6 85 94 rts ; CPU:$D1F8 PRG:11F8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1F9 +; Routine: SubCD1D9_Block_D1F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3410,11 +3411,11 @@ Label_D1F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1F9: +SubCD1D9_Block_D1F9: lda #$00 ; CPU:$D1F9 PRG:11F9 A9 00 rts ; CPU:$D1FB PRG:11FB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1FC +; Routine: SubCD1FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3422,20 +3423,20 @@ Label_D1F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1FC: +SubCD1FC: ldx #$01 ; CPU:$D1FC PRG:11FC A2 01 jsr $D21B ; CPU:$D1FE PRG:11FE 20 1B D2 - beq Label_D218 ; CPU:$D201 PRG:1201 F0 15 + beq SubCD1FC_Block_D218 ; CPU:$D201 PRG:1201 F0 15 lda Zp7C ; CPU:$D203 PRG:1203 A5 7C cmp Zp92 ; CPU:$D205 PRG:1205 C5 92 - bpl Label_D218 ; CPU:$D207 PRG:1207 10 0F + bpl SubCD1FC_Block_D218 ; CPU:$D207 PRG:1207 10 0F ora Zp92 ; CPU:$D209 PRG:1209 05 92 cmp #$03 ; CPU:$D20B PRG:120B C9 03 - beq Label_D213 ; CPU:$D20D PRG:120D F0 04 + beq SubCD1FC_Block_D213 ; CPU:$D20D PRG:120D F0 04 cmp #$06 ; CPU:$D20F PRG:120F C9 06 - bne Label_D218 ; CPU:$D211 PRG:1211 D0 05 + bne SubCD1FC_Block_D218 ; CPU:$D211 PRG:1211 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D213 +; Routine: SubCD1FC_Block_D213 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3443,12 +3444,12 @@ Label_D1FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D213: +SubCD1FC_Block_D213: lda #$20 ; CPU:$D213 PRG:1213 A9 20 sta Zp94 ; CPU:$D215 PRG:1215 85 94 rts ; CPU:$D217 PRG:1217 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D218 +; Routine: SubCD1FC_Block_D218 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3456,11 +3457,11 @@ Label_D213: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D218: +SubCD1FC_Block_D218: lda #$00 ; CPU:$D218 PRG:1218 A9 00 rts ; CPU:$D21A PRG:121A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D21B +; Routine: SubCD21B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3468,21 +3469,21 @@ Label_D218: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D21B: +SubCD21B: ldy Zp7B ; CPU:$D21B PRG:121B A4 7B lda Zp36,x ; CPU:$D21D PRG:121D B5 36 - bne Label_D218 ; CPU:$D21F PRG:121F D0 F7 + bne SubCD1FC_Block_D218 ; CPU:$D21F PRG:121F D0 F7 lda #$30 ; CPU:$D221 PRG:1221 A9 30 sta Zp36,x ; CPU:$D223 PRG:1223 95 36 lda $C083,y ; CPU:$D225 PRG:1225 B9 83 C0 cmp Zp18 ; CPU:$D228 PRG:1228 C5 18 - bcc Label_D218 ; CPU:$D22A PRG:122A 90 EC + bcc SubCD1FC_Block_D218 ; CPU:$D22A PRG:122A 90 EC lda #$30 ; CPU:$D22C PRG:122C A9 30 jsr $EAD8 ; CPU:$D22E PRG:122E 20 D8 EA - beq Label_D218 ; CPU:$D231 PRG:1231 F0 E5 + beq SubCD1FC_Block_D218 ; CPU:$D231 PRG:1231 F0 E5 rts ; CPU:$D233 PRG:1233 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D234 +; Routine: SubCD234 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3490,36 +3491,36 @@ Label_D21B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D234: +SubCD234: ldx Zp7B ; CPU:$D234 PRG:1234 A6 7B lda Zp86 ; CPU:$D236 PRG:1236 A5 86 - bne Label_D26D ; CPU:$D238 PRG:1238 D0 33 + bne SubCD234_Block_D26D ; CPU:$D238 PRG:1238 D0 33 lda Zp38 ; CPU:$D23A PRG:123A A5 38 - bne Label_D279 ; CPU:$D23C PRG:123C D0 3B + bne SubCD26F_Block_D279 ; CPU:$D23C PRG:123C D0 3B lda #$30 ; CPU:$D23E PRG:123E A9 30 sta Zp38 ; CPU:$D240 PRG:1240 85 38 lda $C07A,x ; CPU:$D242 PRG:1242 BD 7A C0 cmp Zp18 ; CPU:$D245 PRG:1245 C5 18 - bcc Label_D279 ; CPU:$D247 PRG:1247 90 30 + bcc SubCD26F_Block_D279 ; CPU:$D247 PRG:1247 90 30 lda Zp7C ; CPU:$D249 PRG:1249 A5 7C cmp Zp92 ; CPU:$D24B PRG:124B C5 92 - bpl Label_D279 ; CPU:$D24D PRG:124D 10 2A + bpl SubCD26F_Block_D279 ; CPU:$D24D PRG:124D 10 2A lda #$40 ; CPU:$D24F PRG:124F A9 40 jsr $EAD8 ; CPU:$D251 PRG:1251 20 D8 EA - beq Label_D279 ; CPU:$D254 PRG:1254 F0 23 + beq SubCD26F_Block_D279 ; CPU:$D254 PRG:1254 F0 23 lda Zp97 ; CPU:$D256 PRG:1256 A5 97 cmp #$50 ; CPU:$D258 PRG:1258 C9 50 - bcc Label_D279 ; CPU:$D25A PRG:125A 90 1D + bcc SubCD26F_Block_D279 ; CPU:$D25A PRG:125A 90 1D cmp #$D0 ; CPU:$D25C PRG:125C C9 D0 - bcs Label_D279 ; CPU:$D25E PRG:125E B0 19 + bcs SubCD26F_Block_D279 ; CPU:$D25E PRG:125E B0 19 lda Zp92 ; CPU:$D260 PRG:1260 A5 92 ora Zp7C ; CPU:$D262 PRG:1262 05 7C cmp #$05 ; CPU:$D264 PRG:1264 C9 05 - bne Label_D26D ; CPU:$D266 PRG:1266 D0 05 + bne SubCD234_Block_D26D ; CPU:$D266 PRG:1266 D0 05 lda #$01 ; CPU:$D268 PRG:1268 A9 01 jmp $D26F ; CPU:$D26A PRG:126A 4C 6F D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D26D +; Routine: SubCD234_Block_D26D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3527,10 +3528,10 @@ Label_D234: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D26D: +SubCD234_Block_D26D: lda #$00 ; CPU:$D26D PRG:126D A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D26F +; Routine: SubCD26F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3538,14 +3539,14 @@ Label_D26D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D26F: +SubCD26F: sta Zp86 ; CPU:$D26F PRG:126F 85 86 jsr $DD17 ; CPU:$D271 PRG:1271 20 17 DD lda #$10 ; CPU:$D274 PRG:1274 A9 10 sta Zp94 ; CPU:$D276 PRG:1276 85 94 rts ; CPU:$D278 PRG:1278 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D279 +; Routine: SubCD26F_Block_D279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3553,12 +3554,12 @@ Label_D26F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D279: +SubCD26F_Block_D279: lda #$00 ; CPU:$D279 PRG:1279 A9 00 sta Zp86 ; CPU:$D27B PRG:127B 85 86 rts ; CPU:$D27D PRG:127D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D27E +; Routine: SubCD27E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3566,23 +3567,23 @@ Label_D279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D27E: +SubCD27E: ldx Zp7B ; CPU:$D27E PRG:127E A6 7B lda Zp39 ; CPU:$D280 PRG:1280 A5 39 - bne Label_D29E ; CPU:$D282 PRG:1282 D0 1A + bne SubCD27E_Block_D29E ; CPU:$D282 PRG:1282 D0 1A lda #$FF ; CPU:$D284 PRG:1284 A9 FF sta Zp39 ; CPU:$D286 PRG:1286 85 39 lda #$80 ; CPU:$D288 PRG:1288 A9 80 cmp Zp18 ; CPU:$D28A PRG:128A C5 18 - bcc Label_D29E ; CPU:$D28C PRG:128C 90 10 + bcc SubCD27E_Block_D29E ; CPU:$D28C PRG:128C 90 10 lda #$08 ; CPU:$D28E PRG:128E A9 08 sta Zp94 ; CPU:$D290 PRG:1290 85 94 lda Zp82 ; CPU:$D292 PRG:1292 A5 82 cmp Zp97 ; CPU:$D294 PRG:1294 C5 97 - bcs Label_D29B ; CPU:$D296 PRG:1296 B0 03 + bcs SubCD27E_Block_D29B ; CPU:$D296 PRG:1296 B0 03 jmp $DD0E ; CPU:$D298 PRG:1298 4C 0E DD ; ----------------------------------------------------------------------------- -; Routine: Label_D29B +; Routine: SubCD27E_Block_D29B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3590,10 +3591,10 @@ Label_D27E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29B: +SubCD27E_Block_D29B: jsr $DD05 ; CPU:$D29B PRG:129B 20 05 DD ; ----------------------------------------------------------------------------- -; Routine: Label_D29E +; Routine: SubCD27E_Block_D29E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3601,10 +3602,10 @@ Label_D29B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29E: +SubCD27E_Block_D29E: rts ; CPU:$D29E PRG:129E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D29F +; Routine: SubCD29F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3612,24 +3613,24 @@ Label_D29E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29F: +SubCD29F: lda Zp93 ; CPU:$D29F PRG:129F A5 93 and #$C0 ; CPU:$D2A1 PRG:12A1 29 C0 - bne Label_D2C1 ; CPU:$D2A3 PRG:12A3 D0 1C + bne SubCD29F_Block_D2C1 ; CPU:$D2A3 PRG:12A3 D0 1C lda Zp7C ; CPU:$D2A5 PRG:12A5 A5 7C cmp Zp92 ; CPU:$D2A7 PRG:12A7 C5 92 - bne Label_D2C1 ; CPU:$D2A9 PRG:12A9 D0 16 + bne SubCD29F_Block_D2C1 ; CPU:$D2A9 PRG:12A9 D0 16 lda Zp97 ; CPU:$D2AB PRG:12AB A5 97 cmp #$30 ; CPU:$D2AD PRG:12AD C9 30 - bcc Label_D2C1 ; CPU:$D2AF PRG:12AF 90 10 + bcc SubCD29F_Block_D2C1 ; CPU:$D2AF PRG:12AF 90 10 cmp #$C0 ; CPU:$D2B1 PRG:12B1 C9 C0 - bcs Label_D2C1 ; CPU:$D2B3 PRG:12B3 B0 0C + bcs SubCD29F_Block_D2C1 ; CPU:$D2B3 PRG:12B3 B0 0C lda Zp82 ; CPU:$D2B5 PRG:12B5 A5 82 cmp Zp97 ; CPU:$D2B7 PRG:12B7 C5 97 - bcs Label_D2BE ; CPU:$D2B9 PRG:12B9 B0 03 + bcs SubCD29F_Block_D2BE ; CPU:$D2B9 PRG:12B9 B0 03 jmp $DD05 ; CPU:$D2BB PRG:12BB 4C 05 DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2BE +; Routine: SubCD29F_Block_D2BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3637,10 +3638,10 @@ Label_D29F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2BE: +SubCD29F_Block_D2BE: jsr $DD0E ; CPU:$D2BE PRG:12BE 20 0E DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2C1 +; Routine: SubCD29F_Block_D2C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3648,10 +3649,10 @@ Label_D2BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C1: +SubCD29F_Block_D2C1: rts ; CPU:$D2C1 PRG:12C1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2C2 +; Routine: SubCD2C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3659,15 +3660,15 @@ Label_D2C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C2: +SubCD2C2: lda Zp97 ; CPU:$D2C2 PRG:12C2 A5 97 ldx Zp98 ; CPU:$D2C4 PRG:12C4 A6 98 jsr $D2D0 ; CPU:$D2C6 PRG:12C6 20 D0 D2 - beq Label_D2CF ; CPU:$D2C9 PRG:12C9 F0 04 + beq SubCD2C2_Block_D2CF ; CPU:$D2C9 PRG:12C9 F0 04 lda #$01 ; CPU:$D2CB PRG:12CB A9 01 sta Zp94 ; CPU:$D2CD PRG:12CD 85 94 ; ----------------------------------------------------------------------------- -; Routine: Label_D2CF +; Routine: SubCD2C2_Block_D2CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3675,10 +3676,10 @@ Label_D2C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CF: +SubCD2C2_Block_D2CF: rts ; CPU:$D2CF PRG:12CF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D0 +; Routine: SubCD2D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3686,14 +3687,14 @@ Label_D2CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D0: +SubCD2D0: cmp #$25 ; CPU:$D2D0 PRG:12D0 C9 25 - bcs Label_D2D9 ; CPU:$D2D2 PRG:12D2 B0 05 + bcs SubCD2D0_Block_D2D9 ; CPU:$D2D2 PRG:12D2 B0 05 cpx #$B0 ; CPU:$D2D4 PRG:12D4 E0 B0 - bcc Label_D2D9 ; CPU:$D2D6 PRG:12D6 90 01 + bcc SubCD2D0_Block_D2D9 ; CPU:$D2D6 PRG:12D6 90 01 rts ; CPU:$D2D8 PRG:12D8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D9 +; Routine: SubCD2D0_Block_D2D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3701,11 +3702,11 @@ Label_D2D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D9: +SubCD2D0_Block_D2D9: lda #$00 ; CPU:$D2D9 PRG:12D9 A9 00 rts ; CPU:$D2DB PRG:12DB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2DC +; Routine: SubCD2DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3713,16 +3714,16 @@ Label_D2D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2DC: +SubCD2DC: lda ZpE7 ; CPU:$D2DC PRG:12DC A5 E7 - beq Label_D334 ; CPU:$D2DE PRG:12DE F0 54 + beq SubCD312_Block_D334 ; CPU:$D2DE PRG:12DE F0 54 lda ZpE0 ; CPU:$D2E0 PRG:12E0 A5 E0 ora Zp7D ; CPU:$D2E2 PRG:12E2 05 7D and #$40 ; CPU:$D2E4 PRG:12E4 29 40 - bne Label_D334 ; CPU:$D2E6 PRG:12E6 D0 4C + bne SubCD312_Block_D334 ; CPU:$D2E6 PRG:12E6 D0 4C lda Zp7C ; CPU:$D2E8 PRG:12E8 A5 7C cmp #$08 ; CPU:$D2EA PRG:12EA C9 08 - beq Label_D334 ; CPU:$D2EC PRG:12EC F0 46 + beq SubCD312_Block_D334 ; CPU:$D2EC PRG:12EC F0 46 lda Zp43 ; CPU:$D2EE PRG:12EE A5 43 and #$08 ; CPU:$D2F0 PRG:12F0 29 08 lsr a ; CPU:$D2F2 PRG:12F2 4A @@ -3737,12 +3738,12 @@ Label_D2DC: lda $C41C,x ; CPU:$D302 PRG:1302 BD 1C C4 jsr $E260 ; CPU:$D305 PRG:1305 20 60 E2 lda Zp3C ; CPU:$D308 PRG:1308 A5 3C - bne Label_D333 ; CPU:$D30A PRG:130A D0 27 + bne SubCD312_Block_D333 ; CPU:$D30A PRG:130A D0 27 lda #$30 ; CPU:$D30C PRG:130C A9 30 sta Zp3C ; CPU:$D30E PRG:130E 85 3C ldx #$00 ; CPU:$D310 PRG:1310 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D312 +; Routine: SubCD312 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3750,17 +3751,17 @@ Label_D2DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D312: +SubCD312: lda $0230,x ; CPU:$D312 PRG:1312 BD 30 02 cmp #$FF ; CPU:$D315 PRG:1315 C9 FF - beq Label_D320 ; CPU:$D317 PRG:1317 F0 07 + beq SubCD312_Block_D320 ; CPU:$D317 PRG:1317 F0 07 inx ; CPU:$D319 PRG:1319 E8 inx ; CPU:$D31A PRG:131A E8 inx ; CPU:$D31B PRG:131B E8 inx ; CPU:$D31C PRG:131C E8 jmp $D312 ; CPU:$D31D PRG:131D 4C 12 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D320 +; Routine: SubCD312_Block_D320 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3768,7 +3769,7 @@ Label_D312: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D320: +SubCD312_Block_D320: lda #$AA ; CPU:$D320 PRG:1320 A9 AA sta $0231,x ; CPU:$D322 PRG:1322 9D 31 02 lda #$D4 ; CPU:$D325 PRG:1325 A9 D4 @@ -3778,7 +3779,7 @@ Label_D320: dec ZpE7 ; CPU:$D32F PRG:132F C6 E7 dec Zp78 ; CPU:$D331 PRG:1331 C6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D333 +; Routine: SubCD312_Block_D333 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3786,10 +3787,10 @@ Label_D320: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D333: +SubCD312_Block_D333: rts ; CPU:$D333 PRG:1333 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D334 +; Routine: SubCD312_Block_D334 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3797,15 +3798,15 @@ Label_D333: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D334: +SubCD312_Block_D334: ldx Zp7B ; CPU:$D334 PRG:1334 A6 7B lda $C060,x ; CPU:$D336 PRG:1336 BD 60 C0 cmp Zp78 ; CPU:$D339 PRG:1339 C5 78 - bne Label_D333 ; CPU:$D33B PRG:133B D0 F6 + bne SubCD312_Block_D333 ; CPU:$D33B PRG:133B D0 F6 sta ZpE7 ; CPU:$D33D PRG:133D 85 E7 rts ; CPU:$D33F PRG:133F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D340 +; Routine: SubCD340 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3813,13 +3814,13 @@ Label_D334: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D340: +SubCD340: ldy #$00 ; CPU:$D340 PRG:1340 A0 00 ldx #$00 ; CPU:$D342 PRG:1342 A2 00 lda #$00 ; CPU:$D344 PRG:1344 A9 00 jsr $D06D ; CPU:$D346 PRG:1346 20 6D D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D349 +; Routine: SubCD340_Block_D349 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3827,14 +3828,14 @@ Label_D340: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D349: +SubCD340_Block_D349: lda $0221,x ; CPU:$D349 PRG:1349 BD 21 02 cmp $C61B,y ; CPU:$D34C PRG:134C D9 1B C6 - beq Label_D365 ; CPU:$D34F PRG:134F F0 14 + beq SubCD356_Block_D365 ; CPU:$D34F PRG:134F F0 14 jsr $D3DE ; CPU:$D351 PRG:1351 20 DE D3 - beq Label_D365 ; CPU:$D354 PRG:1354 F0 0F + beq SubCD356_Block_D365 ; CPU:$D354 PRG:1354 F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D356 +; Routine: SubCD356 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3842,7 +3843,7 @@ Label_D349: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D356: +SubCD356: lda #$02 ; CPU:$D356 PRG:1356 A9 02 sta Zp72 ; CPU:$D358 PRG:1358 85 72 sta Zp73 ; CPU:$D35A PRG:135A 85 73 @@ -3852,7 +3853,7 @@ Label_D356: sta ZpFB ; CPU:$D362 PRG:1362 85 FB rts ; CPU:$D364 PRG:1364 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D365 +; Routine: SubCD356_Block_D365 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3860,21 +3861,21 @@ Label_D356: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D365: +SubCD356_Block_D365: inx ; CPU:$D365 PRG:1365 E8 inx ; CPU:$D366 PRG:1366 E8 inx ; CPU:$D367 PRG:1367 E8 inx ; CPU:$D368 PRG:1368 E8 cpx #$10 ; CPU:$D369 PRG:1369 E0 10 - bmi Label_D349 ; CPU:$D36B PRG:136B 30 DC + bmi SubCD340_Block_D349 ; CPU:$D36B PRG:136B 30 DC lda Zp64 ; CPU:$D36D PRG:136D A5 64 cmp #$04 ; CPU:$D36F PRG:136F C9 04 - beq Label_D379 ; CPU:$D371 PRG:1371 F0 06 + beq SubCD356_Block_D379 ; CPU:$D371 PRG:1371 F0 06 ldy #$01 ; CPU:$D373 PRG:1373 A0 01 cpx #$20 ; CPU:$D375 PRG:1375 E0 20 - bmi Label_D349 ; CPU:$D377 PRG:1377 30 D0 + bmi SubCD340_Block_D349 ; CPU:$D377 PRG:1377 30 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D379 +; Routine: SubCD356_Block_D379 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3882,9 +3883,9 @@ Label_D365: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D379: +SubCD356_Block_D379: lda ZpE1 ; CPU:$D379 PRG:1379 A5 E1 - beq Label_D3DD ; CPU:$D37B PRG:137B F0 60 + beq SubCD356_Block_D3DD ; CPU:$D37B PRG:137B F0 60 jsr $EB02 ; CPU:$D37D PRG:137D 20 02 EB lda #$04 ; CPU:$D380 PRG:1380 A9 04 jsr $D06D ; CPU:$D382 PRG:1382 20 6D D0 @@ -3892,7 +3893,7 @@ Label_D379: ldx #$00 ; CPU:$D388 PRG:1388 A2 00 ldy #$00 ; CPU:$D38A PRG:138A A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D38C +; Routine: SubCD356_Block_D38C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3900,14 +3901,14 @@ Label_D379: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38C: +SubCD356_Block_D38C: lda $0221,x ; CPU:$D38C PRG:138C BD 21 02 cmp $C61B,y ; CPU:$D38F PRG:138F D9 1B C6 - beq Label_D399 ; CPU:$D392 PRG:1392 F0 05 + beq SubCD356_Block_D399 ; CPU:$D392 PRG:1392 F0 05 jsr $D3DE ; CPU:$D394 PRG:1394 20 DE D3 - bne Label_D3AE ; CPU:$D397 PRG:1397 D0 15 + bne SubCD356_Block_D3AE ; CPU:$D397 PRG:1397 D0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_D399 +; Routine: SubCD356_Block_D399 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3915,21 +3916,21 @@ Label_D38C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D399: +SubCD356_Block_D399: inx ; CPU:$D399 PRG:1399 E8 inx ; CPU:$D39A PRG:139A E8 inx ; CPU:$D39B PRG:139B E8 inx ; CPU:$D39C PRG:139C E8 cpx #$10 ; CPU:$D39D PRG:139D E0 10 - bmi Label_D38C ; CPU:$D39F PRG:139F 30 EB + bmi SubCD356_Block_D38C ; CPU:$D39F PRG:139F 30 EB lda Zp64 ; CPU:$D3A1 PRG:13A1 A5 64 cmp #$04 ; CPU:$D3A3 PRG:13A3 C9 04 - beq Label_D3AD ; CPU:$D3A5 PRG:13A5 F0 06 + beq SubCD356_Block_D3AD ; CPU:$D3A5 PRG:13A5 F0 06 ldy #$01 ; CPU:$D3A7 PRG:13A7 A0 01 cpx #$20 ; CPU:$D3A9 PRG:13A9 E0 20 - bmi Label_D38C ; CPU:$D3AB PRG:13AB 30 DF + bmi SubCD356_Block_D38C ; CPU:$D3AB PRG:13AB 30 DF ; ----------------------------------------------------------------------------- -; Routine: Label_D3AD +; Routine: SubCD356_Block_D3AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3937,10 +3938,10 @@ Label_D399: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AD: +SubCD356_Block_D3AD: rts ; CPU:$D3AD PRG:13AD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AE +; Routine: SubCD356_Block_D3AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3948,12 +3949,12 @@ Label_D3AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AE: +SubCD356_Block_D3AE: cpx #$10 ; CPU:$D3AE PRG:13AE E0 10 - bmi Label_D3B4 ; CPU:$D3B0 PRG:13B0 30 02 + bmi SubCD356_Block_D3B4 ; CPU:$D3B0 PRG:13B0 30 02 inc Zp78 ; CPU:$D3B2 PRG:13B2 E6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D3B4 +; Routine: SubCD356_Block_D3B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3961,7 +3962,7 @@ Label_D3AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3B4: +SubCD356_Block_D3B4: lda $0220,x ; CPU:$D3B4 PRG:13B4 BD 20 02 sec ; CPU:$D3B7 PRG:13B7 38 sbc #$04 ; CPU:$D3B8 PRG:13B8 E9 04 @@ -3981,7 +3982,7 @@ Label_D3B4: lda #$08 ; CPU:$D3D9 PRG:13D9 A9 08 sta ZpFF ; CPU:$D3DB PRG:13DB 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D3DD +; Routine: SubCD356_Block_D3DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3989,10 +3990,10 @@ Label_D3B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3DD: +SubCD356_Block_D3DD: rts ; CPU:$D3DD PRG:13DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3DE +; Routine: SubCD3DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4000,14 +4001,14 @@ Label_D3DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3DE: +SubCD3DE: lda $0223,x ; CPU:$D3DE PRG:13DE BD 23 02 sta Zp00 ; CPU:$D3E1 PRG:13E1 85 00 lda $0220,x ; CPU:$D3E3 PRG:13E3 BD 20 02 sta Zp01 ; CPU:$D3E6 PRG:13E6 85 01 jmp $EA25 ; CPU:$D3E8 PRG:13E8 4C 25 EA ; ----------------------------------------------------------------------------- -; Routine: Label_D3EB +; Routine: SubCD3EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4015,7 +4016,7 @@ Label_D3DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3EB: +SubCD3EB: ldx Zp65 ; CPU:$D3EB PRG:13EB A6 65 lda $C06A,x ; CPU:$D3ED PRG:13ED BD 6A C0 ora ZpFC ; CPU:$D3F0 PRG:13F0 05 FC @@ -4025,7 +4026,7 @@ Label_D3EB: ldx #$00 ; CPU:$D3F9 PRG:13F9 A2 00 ldy #$00 ; CPU:$D3FB PRG:13FB A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D3FD +; Routine: SubCD3EB_Block_D3FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4033,14 +4034,14 @@ Label_D3EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3FD: +SubCD3EB_Block_D3FD: lda $02DC,x ; CPU:$D3FD PRG:13FD BD DC 02 sta Zp06 ; CPU:$D400 PRG:1400 85 06 cmp #$C8 ; CPU:$D402 PRG:1402 C9 C8 - bcc Label_D408 ; CPU:$D404 PRG:1404 90 02 + bcc SubCD3EB_Block_D408 ; CPU:$D404 PRG:1404 90 02 lda #$C8 ; CPU:$D406 PRG:1406 A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D408 +; Routine: SubCD3EB_Block_D408 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4048,21 +4049,21 @@ Label_D3FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D408: +SubCD3EB_Block_D408: sta Zp01 ; CPU:$D408 PRG:1408 85 01 lda $02DF,x ; CPU:$D40A PRG:140A BD DF 02 sta Zp05 ; CPU:$D40D PRG:140D 85 05 sta Zp00 ; CPU:$D40F PRG:140F 85 00 jsr $EA25 ; CPU:$D411 PRG:1411 20 25 EA - beq Label_D45B ; CPU:$D414 PRG:1414 F0 45 + beq SubCD424_Block_D45B ; CPU:$D414 PRG:1414 F0 45 lda ZpE0 ; CPU:$D416 PRG:1416 A5 E0 - beq Label_D422 ; CPU:$D418 PRG:1418 F0 08 + beq SubCD3EB_Block_D422 ; CPU:$D418 PRG:1418 F0 08 lda Zp7C ; CPU:$D41A PRG:141A A5 7C clc ; CPU:$D41C PRG:141C 18 adc #$01 ; CPU:$D41D PRG:141D 69 01 jmp $D424 ; CPU:$D41F PRG:141F 4C 24 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D422 +; Routine: SubCD3EB_Block_D422 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4070,10 +4071,10 @@ Label_D408: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D422: +SubCD3EB_Block_D422: lda Zp7C ; CPU:$D422 PRG:1422 A5 7C ; ----------------------------------------------------------------------------- -; Routine: Label_D424 +; Routine: SubCD424 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4081,25 +4082,25 @@ Label_D422: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D424: +SubCD424: pha ; CPU:$D424 PRG:1424 48 lda #$FF ; CPU:$D425 PRG:1425 A9 FF sta $02DC,x ; CPU:$D427 PRG:1427 9D DC 02 sta $02DF,x ; CPU:$D42A PRG:142A 9D DF 02 dec ZpB7 ; CPU:$D42D PRG:142D C6 B7 lda #$00 ; CPU:$D42F PRG:142F A9 00 - sta a:$00B8,y ; CPU:$D431 PRG:1431 99 B8 00 - sta a:$00C0,y ; CPU:$D434 PRG:1434 99 C0 00 - sta a:$00D0,y ; CPU:$D437 PRG:1437 99 D0 00 - sta a:$00D8,y ; CPU:$D43A PRG:143A 99 D8 00 + sta a:ZpB8,y ; CPU:$D431 PRG:1431 99 B8 00 + sta a:ZpC0,y ; CPU:$D434 PRG:1434 99 C0 00 + sta a:ZpD0,y ; CPU:$D437 PRG:1437 99 D0 00 + sta a:ZpD8,y ; CPU:$D43A PRG:143A 99 D8 00 ldx Zp67 ; CPU:$D43D PRG:143D A6 67 inc Zp6A,x ; CPU:$D43F PRG:143F F6 6A lda ZpE0 ; CPU:$D441 PRG:1441 A5 E0 - bne Label_D449 ; CPU:$D443 PRG:1443 D0 04 + bne SubCD424_Block_D449 ; CPU:$D443 PRG:1443 D0 04 lda #$00 ; CPU:$D445 PRG:1445 A9 00 sta ZpB6 ; CPU:$D447 PRG:1447 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_D449 +; Routine: SubCD424_Block_D449 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4107,14 +4108,14 @@ Label_D424: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D449: +SubCD424_Block_D449: txa ; CPU:$D449 PRG:1449 8A asl a ; CPU:$D44A PRG:144A 0A - bne Label_D450 ; CPU:$D44B PRG:144B D0 03 + bne SubCD424_Block_D450 ; CPU:$D44B PRG:144B D0 03 tya ; CPU:$D44D PRG:144D 98 and #$01 ; CPU:$D44E PRG:144E 29 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D450 +; Routine: SubCD424_Block_D450 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4122,7 +4123,7 @@ Label_D449: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D450: +SubCD424_Block_D450: tax ; CPU:$D450 PRG:1450 AA lda $C069,x ; CPU:$D451 PRG:1451 BD 69 C0 sta ZpFB ; CPU:$D454 PRG:1454 85 FB @@ -4130,7 +4131,7 @@ Label_D450: tax ; CPU:$D457 PRG:1457 AA jmp $CE6A ; CPU:$D458 PRG:1458 4C 6A CE ; ----------------------------------------------------------------------------- -; Routine: Label_D45B +; Routine: SubCD424_Block_D45B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4138,17 +4139,17 @@ Label_D450: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D45B: +SubCD424_Block_D45B: inx ; CPU:$D45B PRG:145B E8 inx ; CPU:$D45C PRG:145C E8 inx ; CPU:$D45D PRG:145D E8 inx ; CPU:$D45E PRG:145E E8 iny ; CPU:$D45F PRG:145F C8 cpx #$20 ; CPU:$D460 PRG:1460 E0 20 - bmi Label_D3FD ; CPU:$D462 PRG:1462 30 99 + bmi SubCD3EB_Block_D3FD ; CPU:$D462 PRG:1462 30 99 rts ; CPU:$D464 PRG:1464 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D465 +; Routine: SubCD465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4156,19 +4157,19 @@ Label_D45B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D465: +SubCD465: lda ZpB1 ; CPU:$D465 PRG:1465 A5 B1 - bne Label_D498 ; CPU:$D467 PRG:1467 D0 2F + bne SubCD465_Block_D498 ; CPU:$D467 PRG:1467 D0 2F lda ZpE1 ; CPU:$D469 PRG:1469 A5 E1 - beq Label_D498 ; CPU:$D46B PRG:146B F0 2B + beq SubCD465_Block_D498 ; CPU:$D46B PRG:146B F0 2B lda Zp82 ; CPU:$D46D PRG:146D A5 82 cmp #$B5 ; CPU:$D46F PRG:146F C9 B5 - bcs Label_D498 ; CPU:$D471 PRG:1471 B0 25 + bcs SubCD465_Block_D498 ; CPU:$D471 PRG:1471 B0 25 cmp #$A0 ; CPU:$D473 PRG:1473 C9 A0 - bcc Label_D498 ; CPU:$D475 PRG:1475 90 21 + bcc SubCD465_Block_D498 ; CPU:$D475 PRG:1475 90 21 lda Zp83 ; CPU:$D477 PRG:1477 A5 83 cmp #$60 ; CPU:$D479 PRG:1479 C9 60 - bcs Label_D498 ; CPU:$D47B PRG:147B B0 1B + bcs SubCD465_Block_D498 ; CPU:$D47B PRG:147B B0 1B lda #$08 ; CPU:$D47D PRG:147D A9 08 sta ZpB1 ; CPU:$D47F PRG:147F 85 B1 lda $0287 ; CPU:$D481 PRG:1481 AD 87 02 @@ -4183,7 +4184,7 @@ Label_D465: sta Zp40 ; CPU:$D494 PRG:1494 85 40 sta ZpB3 ; CPU:$D496 PRG:1496 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_D498 +; Routine: SubCD465_Block_D498 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4191,10 +4192,10 @@ Label_D465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D498: +SubCD465_Block_D498: rts ; CPU:$D498 PRG:1498 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D499 +; Routine: SubCD499 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4202,18 +4203,18 @@ Label_D498: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D499: +SubCD499: lda Zp82 ; CPU:$D499 PRG:1499 A5 82 ldx Zp83 ; CPU:$D49B PRG:149B A6 83 jsr $D2D0 ; CPU:$D49D PRG:149D 20 D0 D2 - beq Label_D4AC ; CPU:$D4A0 PRG:14A0 F0 0A + beq SubCD499_Block_D4AC ; CPU:$D4A0 PRG:14A0 F0 0A lda #$08 ; CPU:$D4A2 PRG:14A2 A9 08 ora Zp72 ; CPU:$D4A4 PRG:14A4 05 72 sta Zp72 ; CPU:$D4A6 PRG:14A6 85 72 lda #$04 ; CPU:$D4A8 PRG:14A8 A9 04 sta ZpFF ; CPU:$D4AA PRG:14AA 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D4AC +; Routine: SubCD499_Block_D4AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4221,10 +4222,10 @@ Label_D499: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AC: +SubCD499_Block_D4AC: rts ; CPU:$D4AC PRG:14AC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4AD +; Routine: SubCD4AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4232,7 +4233,7 @@ Label_D4AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AD: +SubCD4AD: ldx #$04 ; CPU:$D4AD PRG:14AD A2 04 jsr $CF3F ; CPU:$D4AF PRG:14AF 20 3F CF lda ZpAF ; CPU:$D4B2 PRG:14B2 A5 AF @@ -4245,7 +4246,7 @@ Label_D4AD: sta ZpB4 ; CPU:$D4C3 PRG:14C3 85 B4 rts ; CPU:$D4C5 PRG:14C5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C6 +; Routine: SubCD4C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4253,14 +4254,14 @@ Label_D4AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C6: +SubCD4C6: lda ZpE7 ; CPU:$D4C6 PRG:14C6 A5 E7 sta Zp00 ; CPU:$D4C8 PRG:14C8 85 00 lda ZpE8 ; CPU:$D4CA PRG:14CA A5 E8 sta Zp01 ; CPU:$D4CC PRG:14CC 85 01 rts ; CPU:$D4CE PRG:14CE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4CF +; Routine: SubCD4CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4268,20 +4269,20 @@ Label_D4C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4CF: +SubCD4CF: lda $0241 ; CPU:$D4CF PRG:14CF AD 41 02 cmp #$FA ; CPU:$D4D2 PRG:14D2 C9 FA - beq Label_D523 ; CPU:$D4D4 PRG:14D4 F0 4D + beq SubCD4CF_Block_D523 ; CPU:$D4D4 PRG:14D4 F0 4D jsr $D4C6 ; CPU:$D4D6 PRG:14D6 20 C6 D4 lda #$06 ; CPU:$D4D9 PRG:14D9 A9 06 jsr $D06D ; CPU:$D4DB PRG:14DB 20 6D D0 jsr $EA25 ; CPU:$D4DE PRG:14DE 20 25 EA - beq Label_D4EA ; CPU:$D4E1 PRG:14E1 F0 07 + beq SubCD4CF_Block_D4EA ; CPU:$D4E1 PRG:14E1 F0 07 lda ZpE0 ; CPU:$D4E3 PRG:14E3 A5 E0 - bne Label_D506 ; CPU:$D4E5 PRG:14E5 D0 1F + bne SubCD4CF_Block_D506 ; CPU:$D4E5 PRG:14E5 D0 1F jmp $D356 ; CPU:$D4E7 PRG:14E7 4C 56 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EA +; Routine: SubCD4CF_Block_D4EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4289,9 +4290,9 @@ Label_D4CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EA: +SubCD4CF_Block_D4EA: lda ZpE1 ; CPU:$D4EA PRG:14EA A5 E1 - beq Label_D523 ; CPU:$D4EC PRG:14EC F0 35 + beq SubCD4CF_Block_D523 ; CPU:$D4EC PRG:14EC F0 35 jsr $EB02 ; CPU:$D4EE PRG:14EE 20 02 EB lda #$02 ; CPU:$D4F1 PRG:14F1 A9 02 jsr $D06D ; CPU:$D4F3 PRG:14F3 20 6D D0 @@ -4300,9 +4301,9 @@ Label_D4EA: jsr $D06D ; CPU:$D4FB PRG:14FB 20 6D D0 jsr $D4C6 ; CPU:$D4FE PRG:14FE 20 C6 D4 jsr $EA25 ; CPU:$D501 PRG:1501 20 25 EA - beq Label_D523 ; CPU:$D504 PRG:1504 F0 1D + beq SubCD4CF_Block_D523 ; CPU:$D504 PRG:1504 F0 1D ; ----------------------------------------------------------------------------- -; Routine: Label_D506 +; Routine: SubCD4CF_Block_D506 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4310,7 +4311,7 @@ Label_D4EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D506: +SubCD4CF_Block_D506: lda #$08 ; CPU:$D506 PRG:1506 A9 08 sta ZpFF ; CPU:$D508 PRG:1508 85 FF lda #$03 ; CPU:$D50A PRG:150A A9 03 @@ -4326,7 +4327,7 @@ Label_D506: lda #$20 ; CPU:$D51F PRG:151F A9 20 sta Zp3F ; CPU:$D521 PRG:1521 85 3F ; ----------------------------------------------------------------------------- -; Routine: Label_D523 +; Routine: SubCD4CF_Block_D523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4334,10 +4335,10 @@ Label_D506: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D523: +SubCD4CF_Block_D523: rts ; CPU:$D523 PRG:1523 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D524 +; Routine: SubCD524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4345,7 +4346,7 @@ Label_D523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D524: +SubCD524: jsr $D690 ; CPU:$D524 PRG:1524 20 90 D6 jsr $DB62 ; CPU:$D527 PRG:1527 20 62 DB jsr $E046 ; CPU:$D52A PRG:152A 20 46 E0 @@ -4354,18 +4355,18 @@ Label_D524: jsr $E265 ; CPU:$D533 PRG:1533 20 65 E2 lda Zp64 ; CPU:$D536 PRG:1536 A5 64 cmp #$04 ; CPU:$D538 PRG:1538 C9 04 - beq Label_D565 ; CPU:$D53A PRG:153A F0 29 + beq SubCD524_Block_D565 ; CPU:$D53A PRG:153A F0 29 cmp #$02 ; CPU:$D53C PRG:153C C9 02 - beq Label_D553 ; CPU:$D53E PRG:153E F0 13 + beq SubCD524_Block_D553 ; CPU:$D53E PRG:153E F0 13 jsr $E53A ; CPU:$D540 PRG:1540 20 3A E5 jsr $E4B4 ; CPU:$D543 PRG:1543 20 B4 E4 jsr $E4D4 ; CPU:$D546 PRG:1546 20 D4 E4 ldx #$00 ; CPU:$D549 PRG:1549 A2 00 ldy Zp67 ; CPU:$D54B PRG:154B A4 67 - lda a:$006A,y ; CPU:$D54D PRG:154D B9 6A 00 + lda a:Zp6A,y ; CPU:$D54D PRG:154D B9 6A 00 jmp $D5E8 ; CPU:$D550 PRG:1550 4C E8 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D553 +; Routine: SubCD524_Block_D553 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4373,7 +4374,7 @@ Label_D524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D553: +SubCD524_Block_D553: jsr $E53A ; CPU:$D553 PRG:1553 20 3A E5 jsr $E4F4 ; CPU:$D556 PRG:1556 20 F4 E4 jsr $E694 ; CPU:$D559 PRG:1559 20 94 E6 @@ -4382,7 +4383,7 @@ Label_D553: lda Zp6A,x ; CPU:$D560 PRG:1560 B5 6A jmp $D634 ; CPU:$D562 PRG:1562 4C 34 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D565 +; Routine: SubCD524_Block_D565 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4390,13 +4391,13 @@ Label_D553: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D565: +SubCD524_Block_D565: jsr $E5F7 ; CPU:$D565 PRG:1565 20 F7 E5 jsr $E6E6 ; CPU:$D568 PRG:1568 20 E6 E6 ldx Zp67 ; CPU:$D56B PRG:156B A6 67 lda Zp6A,x ; CPU:$D56D PRG:156D B5 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D56F +; Routine: SubCD56F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4404,15 +4405,15 @@ Label_D565: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D56F: - beq Label_D523 ; CPU:$D56F PRG:156F F0 B2 +SubCD56F: + beq SubCD4CF_Block_D523 ; CPU:$D56F PRG:156F F0 B2 ldx #$02 ; CPU:$D571 PRG:1571 A2 02 sta Zp0C ; CPU:$D573 PRG:1573 85 0C and #$01 ; CPU:$D575 PRG:1575 29 01 - beq Label_D57B ; CPU:$D577 PRG:1577 F0 02 + beq SubCD56F_Block_D57B ; CPU:$D577 PRG:1577 F0 02 ldx #$00 ; CPU:$D579 PRG:1579 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D57B +; Routine: SubCD56F_Block_D57B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4420,7 +4421,7 @@ Label_D56F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D57B: +SubCD56F_Block_D57B: lda $C476,x ; CPU:$D57B PRG:157B BD 76 C4 sta Zp02 ; CPU:$D57E PRG:157E 85 02 lda $C477,x ; CPU:$D580 PRG:1580 BD 77 C4 @@ -4432,7 +4433,7 @@ Label_D57B: lda #$22 ; CPU:$D58D PRG:158D A9 22 sta Zp01 ; CPU:$D58F PRG:158F 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D591 +; Routine: SubCD591 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4440,18 +4441,18 @@ Label_D57B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D591: +SubCD591: cpx Zp0C ; CPU:$D591 PRG:1591 E4 0C - beq Label_D5B2 ; CPU:$D593 PRG:1593 F0 1D + beq SubCD591_Block_D5B2 ; CPU:$D593 PRG:1593 F0 1D inx ; CPU:$D595 PRG:1595 E8 cpx #$0D ; CPU:$D596 PRG:1596 E0 0D - bne Label_D5A3 ; CPU:$D598 PRG:1598 D0 09 + bne SubCD591_Block_D5A3 ; CPU:$D598 PRG:1598 D0 09 dec Zp01 ; CPU:$D59A PRG:159A C6 01 lda #$EF ; CPU:$D59C PRG:159C A9 EF sta Zp00 ; CPU:$D59E PRG:159E 85 00 jmp $D591 ; CPU:$D5A0 PRG:15A0 4C 91 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5A3 +; Routine: SubCD591_Block_D5A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4459,17 +4460,17 @@ Label_D591: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5A3: +SubCD591_Block_D5A3: txa ; CPU:$D5A3 PRG:15A3 8A and #$01 ; CPU:$D5A4 PRG:15A4 29 01 - beq Label_D591 ; CPU:$D5A6 PRG:15A6 F0 E9 + beq SubCD591 ; CPU:$D5A6 PRG:15A6 F0 E9 lda Zp00 ; CPU:$D5A8 PRG:15A8 A5 00 sec ; CPU:$D5AA PRG:15AA 38 sbc #$20 ; CPU:$D5AB PRG:15AB E9 20 sta Zp00 ; CPU:$D5AD PRG:15AD 85 00 jmp $D591 ; CPU:$D5AF PRG:15AF 4C 91 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5B2 +; Routine: SubCD591_Block_D5B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4477,10 +4478,10 @@ Label_D5A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B2: +SubCD591_Block_D5B2: jmp $EDF5 ; CPU:$D5B2 PRG:15B2 4C F5 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D5B5 +; Routine: SubCD5B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4488,19 +4489,19 @@ Label_D5B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B5: +SubCD5B5: lda Zp41 ; CPU:$D5B5 PRG:15B5 A5 41 - bne Label_D5DD ; CPU:$D5B7 PRG:15B7 D0 24 + bne SubCD5B5_Block_D5DD ; CPU:$D5B7 PRG:15B7 D0 24 lda #$05 ; CPU:$D5B9 PRG:15B9 A9 05 sta Zp41 ; CPU:$D5BB PRG:15BB 85 41 ldy #$21 ; CPU:$D5BD PRG:15BD A0 21 dec Zp6E ; CPU:$D5BF PRG:15BF C6 6E ldx Zp6E ; CPU:$D5C1 PRG:15C1 A6 6E cpx #$0B ; CPU:$D5C3 PRG:15C3 E0 0B - bmi Label_D5C8 ; CPU:$D5C5 PRG:15C5 30 01 + bmi SubCD5B5_Block_D5C8 ; CPU:$D5C5 PRG:15C5 30 01 dey ; CPU:$D5C7 PRG:15C7 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C8 +; Routine: SubCD5B5_Block_D5C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4508,7 +4509,7 @@ Label_D5B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C8: +SubCD5B5_Block_D5C8: lda $C51F,x ; CPU:$D5C8 PRG:15C8 BD 1F C5 sta Zp00 ; CPU:$D5CB PRG:15CB 85 00 ldx #$0C ; CPU:$D5CD PRG:15CD A2 0C @@ -4520,7 +4521,7 @@ Label_D5C8: ldx #$02 ; CPU:$D5D8 PRG:15D8 A2 02 jsr $D5E8 ; CPU:$D5DA PRG:15DA 20 E8 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5DD +; Routine: SubCD5B5_Block_D5DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4528,13 +4529,13 @@ Label_D5C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5DD: +SubCD5B5_Block_D5DD: lda #$FF ; CPU:$D5DD PRG:15DD A9 FF sta $0280 ; CPU:$D5DF PRG:15DF 8D 80 02 sta $0284 ; CPU:$D5E2 PRG:15E2 8D 84 02 jmp $DF88 ; CPU:$D5E5 PRG:15E5 4C 88 DF ; ----------------------------------------------------------------------------- -; Routine: Label_D5E8 +; Routine: SubCD5E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4542,11 +4543,11 @@ Label_D5DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E8: - bne Label_D5EB ; CPU:$D5E8 PRG:15E8 D0 01 +SubCD5E8: + bne SubCD5E8_Block_D5EB ; CPU:$D5E8 PRG:15E8 D0 01 rts ; CPU:$D5EA PRG:15EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5EB +; Routine: SubCD5E8_Block_D5EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4554,7 +4555,7 @@ Label_D5E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5EB: +SubCD5E8_Block_D5EB: sta Zp0C ; CPU:$D5EB PRG:15EB 85 0C lda $C46A,x ; CPU:$D5ED PRG:15ED BD 6A C4 sta Zp02 ; CPU:$D5F0 PRG:15F0 85 02 @@ -4568,7 +4569,7 @@ Label_D5EB: sta Zp01 ; CPU:$D601 PRG:1601 85 01 sta Zp0B ; CPU:$D603 PRG:1603 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D605 +; Routine: SubCD605 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4576,10 +4577,10 @@ Label_D5EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D605: +SubCD605: ldx #$04 ; CPU:$D605 PRG:1605 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D607 +; Routine: SubCD607 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4587,16 +4588,16 @@ Label_D605: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D607: +SubCD607: cpy Zp0C ; CPU:$D607 PRG:1607 C4 0C - beq Label_D631 ; CPU:$D609 PRG:1609 F0 26 + beq SubCD607_Block_D631 ; CPU:$D609 PRG:1609 F0 26 iny ; CPU:$D60B PRG:160B C8 dex ; CPU:$D60C PRG:160C CA cpx #$02 ; CPU:$D60D PRG:160D E0 02 - bne Label_D613 ; CPU:$D60F PRG:160F D0 02 + bne SubCD607_Block_D613 ; CPU:$D60F PRG:160F D0 02 dec Zp01 ; CPU:$D611 PRG:1611 C6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D613 +; Routine: SubCD607_Block_D613 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4604,16 +4605,16 @@ Label_D607: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D613: +SubCD607_Block_D613: cpx #$00 ; CPU:$D613 PRG:1613 E0 00 - beq Label_D621 ; CPU:$D615 PRG:1615 F0 0A + beq SubCD607_Block_D621 ; CPU:$D615 PRG:1615 F0 0A lda Zp00 ; CPU:$D617 PRG:1617 A5 00 sec ; CPU:$D619 PRG:1619 38 sbc #$20 ; CPU:$D61A PRG:161A E9 20 sta Zp00 ; CPU:$D61C PRG:161C 85 00 jmp $D607 ; CPU:$D61E PRG:161E 4C 07 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D621 +; Routine: SubCD607_Block_D621 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4621,7 +4622,7 @@ Label_D613: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D621: +SubCD607_Block_D621: lda Zp00 ; CPU:$D621 PRG:1621 A5 00 clc ; CPU:$D623 PRG:1623 18 adc #$60 ; CPU:$D624 PRG:1624 69 60 @@ -4631,7 +4632,7 @@ Label_D621: sta Zp01 ; CPU:$D62C PRG:162C 85 01 jmp $D605 ; CPU:$D62E PRG:162E 4C 05 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D631 +; Routine: SubCD607_Block_D631 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4639,10 +4640,10 @@ Label_D621: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D631: +SubCD607_Block_D631: jmp $EDF5 ; CPU:$D631 PRG:1631 4C F5 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D634 +; Routine: SubCD634 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4650,11 +4651,11 @@ Label_D631: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D634: - bne Label_D637 ; CPU:$D634 PRG:1634 D0 01 +SubCD634: + bne SubCD634_Block_D637 ; CPU:$D634 PRG:1634 D0 01 rts ; CPU:$D636 PRG:1636 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D637 +; Routine: SubCD634_Block_D637 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4662,7 +4663,7 @@ Label_D634: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D637: +SubCD634_Block_D637: sta Zp00 ; CPU:$D637 PRG:1637 85 00 tya ; CPU:$D639 PRG:1639 98 pha ; CPU:$D63A PRG:163A 48 @@ -4670,7 +4671,7 @@ Label_D637: sta Zp05 ; CPU:$D63D PRG:163D 85 05 ldx #$01 ; CPU:$D63F PRG:163F A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D641 +; Routine: SubCD641 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4678,14 +4679,14 @@ Label_D637: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D641: +SubCD641: cpx Zp00 ; CPU:$D641 PRG:1641 E4 00 - beq Label_D64B ; CPU:$D643 PRG:1643 F0 06 + beq SubCD641_Block_D64B ; CPU:$D643 PRG:1643 F0 06 inx ; CPU:$D645 PRG:1645 E8 inc Zp05 ; CPU:$D646 PRG:1646 E6 05 jmp $D641 ; CPU:$D648 PRG:1648 4C 41 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D64B +; Routine: SubCD641_Block_D64B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4693,7 +4694,7 @@ Label_D641: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D64B: +SubCD641_Block_D64B: dec Zp00 ; CPU:$D64B PRG:164B C6 00 lda #$66 ; CPU:$D64D PRG:164D A9 66 sta Zp01 ; CPU:$D64F PRG:164F 85 01 @@ -4701,13 +4702,13 @@ Label_D64B: sta Zp02 ; CPU:$D653 PRG:1653 85 02 lda Zp00 ; CPU:$D655 PRG:1655 A5 00 jsr $E8D8 ; CPU:$D657 PRG:1657 20 D8 E8 - beq Label_D663 ; CPU:$D65A PRG:165A F0 07 + beq SubCD641_Block_D663 ; CPU:$D65A PRG:165A F0 07 lda Zp05 ; CPU:$D65C PRG:165C A5 05 clc ; CPU:$D65E PRG:165E 18 adc #$20 ; CPU:$D65F PRG:165F 69 20 sta Zp05 ; CPU:$D661 PRG:1661 85 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D663 +; Routine: SubCD641_Block_D663 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4715,22 +4716,22 @@ Label_D64B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D663: +SubCD641_Block_D663: pla ; CPU:$D663 PRG:1663 68 tay ; CPU:$D664 PRG:1664 A8 ldx Zp00 ; CPU:$D665 PRG:1665 A6 00 cpx #$02 ; CPU:$D667 PRG:1667 E0 02 - beq Label_D67B ; CPU:$D669 PRG:1669 F0 10 + beq SubCD641_Block_D67B ; CPU:$D669 PRG:1669 F0 10 cpx #$06 ; CPU:$D66B PRG:166B E0 06 - beq Label_D67B ; CPU:$D66D PRG:166D F0 0C + beq SubCD641_Block_D67B ; CPU:$D66D PRG:166D F0 0C cpx #$09 ; CPU:$D66F PRG:166F E0 09 - beq Label_D67B ; CPU:$D671 PRG:1671 F0 08 + beq SubCD641_Block_D67B ; CPU:$D671 PRG:1671 F0 08 cpx #$0B ; CPU:$D673 PRG:1673 E0 0B - beq Label_D67B ; CPU:$D675 PRG:1675 F0 04 + beq SubCD641_Block_D67B ; CPU:$D675 PRG:1675 F0 04 cpx #$0F ; CPU:$D677 PRG:1677 E0 0F - bne Label_D67D ; CPU:$D679 PRG:1679 D0 02 + bne SubCD641_Block_D67D ; CPU:$D679 PRG:1679 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D67B +; Routine: SubCD641_Block_D67B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4738,11 +4739,11 @@ Label_D663: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D67B: +SubCD641_Block_D67B: iny ; CPU:$D67B PRG:167B C8 iny ; CPU:$D67C PRG:167C C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D67D +; Routine: SubCD641_Block_D67D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4750,7 +4751,7 @@ Label_D67B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D67D: +SubCD641_Block_D67D: lda Zp05 ; CPU:$D67D PRG:167D A5 05 sta Zp00 ; CPU:$D67F PRG:167F 85 00 lda #$20 ; CPU:$D681 PRG:1681 A9 20 @@ -4760,7 +4761,7 @@ Label_D67D: lda $C46F,y ; CPU:$D68A PRG:168A B9 6F C4 jmp $E260 ; CPU:$D68D PRG:168D 4C 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_D690 +; Routine: SubCD690 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4768,19 +4769,19 @@ Label_D67D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D690: +SubCD690: lda #$FF ; CPU:$D690 PRG:1690 A9 FF sta $0268 ; CPU:$D692 PRG:1692 8D 68 02 lda Zp73 ; CPU:$D695 PRG:1695 A5 73 - bne Label_D6B7 ; CPU:$D697 PRG:1697 D0 1E + bne SubCD690_Block_D6B7 ; CPU:$D697 PRG:1697 D0 1E jsr $E8B3 ; CPU:$D699 PRG:1699 20 B3 E8 lda ZpE0 ; CPU:$D69C PRG:169C A5 E0 - beq Label_D6A8 ; CPU:$D69E PRG:169E F0 08 + beq SubCD690_Block_D6A8 ; CPU:$D69E PRG:169E F0 08 jsr $DAA7 ; CPU:$D6A0 PRG:16A0 20 A7 DA - bne Label_D6B7 ; CPU:$D6A3 PRG:16A3 D0 12 + bne SubCD690_Block_D6B7 ; CPU:$D6A3 PRG:16A3 D0 12 jsr $E8B3 ; CPU:$D6A5 PRG:16A5 20 B3 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D6A8 +; Routine: SubCD690_Block_D6A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4788,16 +4789,16 @@ Label_D690: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6A8: +SubCD690_Block_D6A8: lda Zp64 ; CPU:$D6A8 PRG:16A8 A5 64 cmp #$02 ; CPU:$D6AA PRG:16AA C9 02 - bne Label_D6B8 ; CPU:$D6AC PRG:16AC D0 0A + bne SubCD690_Block_D6B8 ; CPU:$D6AC PRG:16AC D0 0A lda Zp72 ; CPU:$D6AE PRG:16AE A5 72 and #$08 ; CPU:$D6B0 PRG:16B0 29 08 - beq Label_D6B8 ; CPU:$D6B2 PRG:16B2 F0 04 + beq SubCD690_Block_D6B8 ; CPU:$D6B2 PRG:16B2 F0 04 jsr $D6EF ; CPU:$D6B4 PRG:16B4 20 EF D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D6B7 +; Routine: SubCD690_Block_D6B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4805,10 +4806,10 @@ Label_D6A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6B7: +SubCD690_Block_D6B7: rts ; CPU:$D6B7 PRG:16B7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6B8 +; Routine: SubCD690_Block_D6B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4816,16 +4817,16 @@ Label_D6B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6B8: +SubCD690_Block_D6B8: lda ZpE1 ; CPU:$D6B8 PRG:16B8 A5 E1 - bne Label_D6C7 ; CPU:$D6BA PRG:16BA D0 0B + bne SubCD690_Block_D6C7 ; CPU:$D6BA PRG:16BA D0 0B lda Zp7D ; CPU:$D6BC PRG:16BC A5 7D and #$20 ; CPU:$D6BE PRG:16BE 29 20 - beq Label_D6C7 ; CPU:$D6C0 PRG:16C0 F0 05 + beq SubCD690_Block_D6C7 ; CPU:$D6C0 PRG:16C0 F0 05 jsr $D839 ; CPU:$D6C2 PRG:16C2 20 39 D8 - bne Label_D6B7 ; CPU:$D6C5 PRG:16C5 D0 F0 + bne SubCD690_Block_D6B7 ; CPU:$D6C5 PRG:16C5 D0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_D6C7 +; Routine: SubCD690_Block_D6C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4833,13 +4834,13 @@ Label_D6B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6C7: +SubCD690_Block_D6C7: lda Zp7D ; CPU:$D6C7 PRG:16C7 A5 7D and #$10 ; CPU:$D6C9 PRG:16C9 29 10 - beq Label_D6D0 ; CPU:$D6CB PRG:16CB F0 03 + beq SubCD690_Block_D6D0 ; CPU:$D6CB PRG:16CB F0 03 jsr $DA01 ; CPU:$D6CD PRG:16CD 20 01 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D6D0 +; Routine: SubCD690_Block_D6D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4847,12 +4848,12 @@ Label_D6C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D0: +SubCD690_Block_D6D0: lda ZpE1 ; CPU:$D6D0 PRG:16D0 A5 E1 - beq Label_D6D7 ; CPU:$D6D2 PRG:16D2 F0 03 + beq SubCD690_Block_D6D7 ; CPU:$D6D2 PRG:16D2 F0 03 jmp $D801 ; CPU:$D6D4 PRG:16D4 4C 01 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D6D7 +; Routine: SubCD690_Block_D6D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4860,14 +4861,14 @@ Label_D6D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D7: +SubCD690_Block_D6D7: lda Zp7D ; CPU:$D6D7 PRG:16D7 A5 7D and #$40 ; CPU:$D6D9 PRG:16D9 29 40 - beq Label_D6E2 ; CPU:$D6DB PRG:16DB F0 05 + beq SubCD690_Block_D6E2 ; CPU:$D6DB PRG:16DB F0 05 jsr $D8BC ; CPU:$D6DD PRG:16DD 20 BC D8 - bne Label_D6EE ; CPU:$D6E0 PRG:16E0 D0 0C + bne SubCD690_Block_D6EE ; CPU:$D6E0 PRG:16E0 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D6E2 +; Routine: SubCD690_Block_D6E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4875,14 +4876,14 @@ Label_D6D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E2: +SubCD690_Block_D6E2: lda Zp7D ; CPU:$D6E2 PRG:16E2 A5 7D and #$50 ; CPU:$D6E4 PRG:16E4 29 50 - bne Label_D6EE ; CPU:$D6E6 PRG:16E6 D0 06 + bne SubCD690_Block_D6EE ; CPU:$D6E6 PRG:16E6 D0 06 jsr $E8B3 ; CPU:$D6E8 PRG:16E8 20 B3 E8 jsr $D751 ; CPU:$D6EB PRG:16EB 20 51 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EE +; Routine: SubCD690_Block_D6EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4890,10 +4891,10 @@ Label_D6E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EE: +SubCD690_Block_D6EE: rts ; CPU:$D6EE PRG:16EE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EF +; Routine: SubCD6EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4901,17 +4902,17 @@ Label_D6EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EF: +SubCD6EF: ldx Zp83 ; CPU:$D6EF PRG:16EF A6 83 lda Zp8E ; CPU:$D6F1 PRG:16F1 A5 8E - bne Label_D729 ; CPU:$D6F3 PRG:16F3 D0 34 + bne SubCD6EF_Block_D729 ; CPU:$D6F3 PRG:16F3 D0 34 cpx #$40 ; CPU:$D6F5 PRG:16F5 E0 40 - bcc Label_D700 ; CPU:$D6F7 PRG:16F7 90 07 + bcc SubCD6EF_Block_D700 ; CPU:$D6F7 PRG:16F7 90 07 dec Zp83 ; CPU:$D6F9 PRG:16F9 C6 83 dec Zp83 ; CPU:$D6FB PRG:16FB C6 83 jmp $D736 ; CPU:$D6FD PRG:16FD 4C 36 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D700 +; Routine: SubCD6EF_Block_D700 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4919,14 +4920,14 @@ Label_D6EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D700: +SubCD6EF_Block_D700: lda #$01 ; CPU:$D700 PRG:1700 A9 01 sta Zp8E ; CPU:$D702 PRG:1702 85 8E lda $0298 ; CPU:$D704 PRG:1704 AD 98 02 clc ; CPU:$D707 PRG:1707 18 adc #$0E ; CPU:$D708 PRG:1708 69 0E cmp Zp83 ; CPU:$D70A PRG:170A C5 83 - bcc Label_D728 ; CPU:$D70C PRG:170C 90 1A + bcc SubCD6EF_Block_D728 ; CPU:$D70C PRG:170C 90 1A lda #$02 ; CPU:$D70E PRG:170E A9 02 sta Zp8E ; CPU:$D710 PRG:1710 85 8E lda #$30 ; CPU:$D712 PRG:1712 A9 30 @@ -4935,10 +4936,10 @@ Label_D700: sta Zp06 ; CPU:$D718 PRG:1718 85 06 ldx #$08 ; CPU:$D71A PRG:171A A2 08 lda ZpE0 ; CPU:$D71C PRG:171C A5 E0 - beq Label_D721 ; CPU:$D71E PRG:171E F0 01 + beq SubCD6EF_Block_D721 ; CPU:$D71E PRG:171E F0 01 inx ; CPU:$D720 PRG:1720 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D721 +; Routine: SubCD6EF_Block_D721 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4946,12 +4947,12 @@ Label_D700: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D721: +SubCD6EF_Block_D721: jsr $CE6A ; CPU:$D721 PRG:1721 20 6A CE lda #$10 ; CPU:$D724 PRG:1724 A9 10 sta ZpFB ; CPU:$D726 PRG:1726 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D728 +; Routine: SubCD6EF_Block_D728 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4959,10 +4960,10 @@ Label_D721: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D728: +SubCD6EF_Block_D728: rts ; CPU:$D728 PRG:1728 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D729 +; Routine: SubCD6EF_Block_D729 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4970,16 +4971,16 @@ Label_D728: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D729: +SubCD6EF_Block_D729: lda Zp8E ; CPU:$D729 PRG:1729 A5 8E and #$01 ; CPU:$D72B PRG:172B 29 01 tay ; CPU:$D72D PRG:172D A8 txa ; CPU:$D72E PRG:172E 8A cmp $C50D,y ; CPU:$D72F PRG:172F D9 0D C5 - bcs Label_D73E ; CPU:$D732 PRG:1732 B0 0A + bcs SubCD736_Block_D73E ; CPU:$D732 PRG:1732 B0 0A inc Zp83 ; CPU:$D734 PRG:1734 E6 83 ; ----------------------------------------------------------------------------- -; Routine: Label_D736 +; Routine: SubCD736 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4987,12 +4988,12 @@ Label_D729: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D736: +SubCD736: lda #$1F ; CPU:$D736 PRG:1736 A9 1F jsr $E8A8 ; CPU:$D738 PRG:1738 20 A8 E8 jmp $E89B ; CPU:$D73B PRG:173B 4C 9B E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D73E +; Routine: SubCD736_Block_D73E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5000,7 +5001,7 @@ Label_D736: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D73E: +SubCD736_Block_D73E: lda Zp72 ; CPU:$D73E PRG:173E A5 72 and #$F7 ; CPU:$D740 PRG:1740 29 F7 sta Zp72 ; CPU:$D742 PRG:1742 85 72 @@ -5011,7 +5012,7 @@ Label_D73E: sta Zp8E ; CPU:$D74C PRG:174C 85 8E jmp $E797 ; CPU:$D74E PRG:174E 4C 97 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D751 +; Routine: SubCD751 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5019,10 +5020,10 @@ Label_D73E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D751: +SubCD751: lda Zp7A ; CPU:$D751 PRG:1751 A5 7A and #$03 ; CPU:$D753 PRG:1753 29 03 - beq Label_D728 ; CPU:$D755 PRG:1755 F0 D1 + beq SubCD6EF_Block_D728 ; CPU:$D755 PRG:1755 F0 D1 lda ZpFF ; CPU:$D757 PRG:1757 A5 FF ora #$80 ; CPU:$D759 PRG:1759 09 80 sta ZpFF ; CPU:$D75B PRG:175B 85 FF @@ -5032,10 +5033,10 @@ Label_D751: sta Zp02 ; CPU:$D763 PRG:1763 85 02 lda Zp7E ; CPU:$D765 PRG:1765 A5 7E jsr $E8D8 ; CPU:$D767 PRG:1767 20 D8 E8 - bne Label_D76F ; CPU:$D76A PRG:176A D0 03 + bne SubCD751_Block_D76F ; CPU:$D76A PRG:176A D0 03 jmp $D7F4 ; CPU:$D76C PRG:176C 4C F4 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D76F +; Routine: SubCD751_Block_D76F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5043,21 +5044,21 @@ Label_D751: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D76F: +SubCD751_Block_D76F: lda #$01 ; CPU:$D76F PRG:176F A9 01 sta Zp0A ; CPU:$D771 PRG:1771 85 0A lda Zp7E ; CPU:$D773 PRG:1773 A5 7E cmp #$06 ; CPU:$D775 PRG:1775 C9 06 - beq Label_D788 ; CPU:$D777 PRG:1777 F0 0F + beq SubCD751_Block_D788 ; CPU:$D777 PRG:1777 F0 0F cmp #$0A ; CPU:$D779 PRG:1779 C9 0A - beq Label_D788 ; CPU:$D77B PRG:177B F0 0B + beq SubCD751_Block_D788 ; CPU:$D77B PRG:177B F0 0B cmp #$01 ; CPU:$D77D PRG:177D C9 01 - beq Label_D788 ; CPU:$D77F PRG:177F F0 07 + beq SubCD751_Block_D788 ; CPU:$D77F PRG:177F F0 07 lda Zp84 ; CPU:$D781 PRG:1781 A5 84 sta Zp02 ; CPU:$D783 PRG:1783 85 02 jmp $D7B2 ; CPU:$D785 PRG:1785 4C B2 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D788 +; Routine: SubCD751_Block_D788 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5065,14 +5066,14 @@ Label_D76F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D788: +SubCD751_Block_D788: lda Zp84 ; CPU:$D788 PRG:1788 A5 84 cmp #$0C ; CPU:$D78A PRG:178A C9 0C - bne Label_D793 ; CPU:$D78C PRG:178C D0 05 + bne SubCD751_Block_D793 ; CPU:$D78C PRG:178C D0 05 lda #$FA ; CPU:$D78E PRG:178E A9 FA jmp $D799 ; CPU:$D790 PRG:1790 4C 99 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D793 +; Routine: SubCD751_Block_D793 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5080,12 +5081,12 @@ Label_D788: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D793: +SubCD751_Block_D793: cmp #$00 ; CPU:$D793 PRG:1793 C9 00 - bne Label_D79B ; CPU:$D795 PRG:1795 D0 04 + bne SubCD799_Block_D79B ; CPU:$D795 PRG:1795 D0 04 lda #$06 ; CPU:$D797 PRG:1797 A9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D799 +; Routine: SubCD799 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5093,10 +5094,10 @@ Label_D793: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D799: +SubCD799: sta Zp8D ; CPU:$D799 PRG:1799 85 8D ; ----------------------------------------------------------------------------- -; Routine: Label_D79B +; Routine: SubCD799_Block_D79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5104,21 +5105,21 @@ Label_D799: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D79B: +SubCD799_Block_D79B: lda Zp84 ; CPU:$D79B PRG:179B A5 84 clc ; CPU:$D79D PRG:179D 18 adc Zp8D ; CPU:$D79E PRG:179E 65 8D sta Zp02 ; CPU:$D7A0 PRG:17A0 85 02 sta Zp84 ; CPU:$D7A2 PRG:17A2 85 84 lda ZpE0 ; CPU:$D7A4 PRG:17A4 A5 E0 - beq Label_D7B2 ; CPU:$D7A6 PRG:17A6 F0 0A + beq SubCD7B2 ; CPU:$D7A6 PRG:17A6 F0 0A lda Zp43 ; CPU:$D7A8 PRG:17A8 A5 43 and #$01 ; CPU:$D7AA PRG:17AA 29 01 - bne Label_D7B2 ; CPU:$D7AC PRG:17AC D0 04 + bne SubCD7B2 ; CPU:$D7AC PRG:17AC D0 04 lda #$02 ; CPU:$D7AE PRG:17AE A9 02 sta Zp0A ; CPU:$D7B0 PRG:17B0 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D7B2 +; Routine: SubCD7B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5126,17 +5127,17 @@ Label_D79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7B2: +SubCD7B2: lda Zp7D ; CPU:$D7B2 PRG:17B2 A5 7D cmp #$82 ; CPU:$D7B4 PRG:17B4 C9 82 - bne Label_D7C2 ; CPU:$D7B6 PRG:17B6 D0 0A + bne SubCD7B2_Block_D7C2 ; CPU:$D7B6 PRG:17B6 D0 0A lda Zp7A ; CPU:$D7B8 PRG:17B8 A5 7A and #$01 ; CPU:$D7BA PRG:17BA 29 01 tax ; CPU:$D7BC PRG:17BC AA - bne Label_D7E0 ; CPU:$D7BD PRG:17BD D0 21 + bne SubCD7B2_Block_D7E0 ; CPU:$D7BD PRG:17BD D0 21 jmp $D7E7 ; CPU:$D7BF PRG:17BF 4C E7 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C2 +; Routine: SubCD7B2_Block_D7C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5144,16 +5145,16 @@ Label_D7B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C2: +SubCD7B2_Block_D7C2: cmp #$81 ; CPU:$D7C2 PRG:17C2 C9 81 - bne Label_D7D0 ; CPU:$D7C4 PRG:17C4 D0 0A + bne SubCD7B2_Block_D7D0 ; CPU:$D7C4 PRG:17C4 D0 0A lda Zp7A ; CPU:$D7C6 PRG:17C6 A5 7A and #$01 ; CPU:$D7C8 PRG:17C8 29 01 tax ; CPU:$D7CA PRG:17CA AA - beq Label_D7D6 ; CPU:$D7CB PRG:17CB F0 09 + beq SubCD7B2_Block_D7D6 ; CPU:$D7CB PRG:17CB F0 09 jmp $D7E7 ; CPU:$D7CD PRG:17CD 4C E7 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7D0 +; Routine: SubCD7B2_Block_D7D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5161,12 +5162,12 @@ Label_D7C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D0: +SubCD7B2_Block_D7D0: lda Zp7A ; CPU:$D7D0 PRG:17D0 A5 7A and #$02 ; CPU:$D7D2 PRG:17D2 29 02 - beq Label_D7E0 ; CPU:$D7D4 PRG:17D4 F0 0A + beq SubCD7B2_Block_D7E0 ; CPU:$D7D4 PRG:17D4 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D7D6 +; Routine: SubCD7B2_Block_D7D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5174,14 +5175,14 @@ Label_D7D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D6: +SubCD7B2_Block_D7D6: dec Zp0A ; CPU:$D7D6 PRG:17D6 C6 0A lda Zp0A ; CPU:$D7D8 PRG:17D8 A5 0A eor #$FF ; CPU:$D7DA PRG:17DA 49 FF sta Zp0A ; CPU:$D7DC PRG:17DC 85 0A ldx #$00 ; CPU:$D7DE PRG:17DE A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D7E0 +; Routine: SubCD7B2_Block_D7E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5189,13 +5190,13 @@ Label_D7D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7E0: +SubCD7B2_Block_D7E0: lda Zp82 ; CPU:$D7E0 PRG:17E0 A5 82 clc ; CPU:$D7E2 PRG:17E2 18 adc Zp0A ; CPU:$D7E3 PRG:17E3 65 0A sta Zp82 ; CPU:$D7E5 PRG:17E5 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D7E7 +; Routine: SubCD7E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5203,7 +5204,7 @@ Label_D7E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7E7: +SubCD7E7: jsr $E8AA ; CPU:$D7E7 PRG:17E7 20 AA E8 txa ; CPU:$D7EA PRG:17EA 8A jsr $E8EA ; CPU:$D7EB PRG:17EB 20 EA E8 @@ -5211,7 +5212,7 @@ Label_D7E7: and #$7F ; CPU:$D7F0 PRG:17F0 29 7F sta Zp7D ; CPU:$D7F2 PRG:17F2 85 7D ; ----------------------------------------------------------------------------- -; Routine: Label_D7F4 +; Routine: SubCD7F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5219,14 +5220,14 @@ Label_D7E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F4: +SubCD7F4: lda Zp7E ; CPU:$D7F4 PRG:17F4 A5 7E cmp #$10 ; CPU:$D7F6 PRG:17F6 C9 10 - bmi Label_D7FE ; CPU:$D7F8 PRG:17F8 30 04 + bmi SubCD7F4_Block_D7FE ; CPU:$D7F8 PRG:17F8 30 04 lda #$00 ; CPU:$D7FA PRG:17FA A9 00 sta Zp7E ; CPU:$D7FC PRG:17FC 85 7E ; ----------------------------------------------------------------------------- -; Routine: Label_D7FE +; Routine: SubCD7F4_Block_D7FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5234,11 +5235,11 @@ Label_D7F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FE: +SubCD7F4_Block_D7FE: inc Zp7E ; CPU:$D7FE PRG:17FE E6 7E rts ; CPU:$D800 PRG:1800 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D801 +; Routine: SubCD801 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5246,7 +5247,7 @@ Label_D7FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D801: +SubCD801: lda #$12 ; CPU:$D801 PRG:1801 A9 12 jsr $E8A8 ; CPU:$D803 PRG:1803 20 A8 E8 lda Zp7D ; CPU:$D806 PRG:1806 A5 7D @@ -5263,12 +5264,12 @@ Label_D801: pla ; CPU:$D81D PRG:181D 68 jsr $E8EA ; CPU:$D81E PRG:181E 20 EA E8 lda Zp80 ; CPU:$D821 PRG:1821 A5 80 - bne Label_D82B ; CPU:$D823 PRG:1823 D0 06 + bne SubCD801_Block_D82B ; CPU:$D823 PRG:1823 D0 06 lda #$10 ; CPU:$D825 PRG:1825 A9 10 ora ZpFF ; CPU:$D827 PRG:1827 05 FF sta ZpFF ; CPU:$D829 PRG:1829 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D82B +; Routine: SubCD801_Block_D82B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5276,14 +5277,14 @@ Label_D801: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82B: +SubCD801_Block_D82B: cmp #$0F ; CPU:$D82B PRG:182B C9 0F - bne Label_D836 ; CPU:$D82D PRG:182D D0 07 + bne SubCD801_Block_D836 ; CPU:$D82D PRG:182D D0 07 lda #$00 ; CPU:$D82F PRG:182F A9 00 sta ZpE1 ; CPU:$D831 PRG:1831 85 E1 jmp $E79B ; CPU:$D833 PRG:1833 4C 9B E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D836 +; Routine: SubCD801_Block_D836 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5291,11 +5292,11 @@ Label_D82B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D836: +SubCD801_Block_D836: inc Zp80 ; CPU:$D836 PRG:1836 E6 80 rts ; CPU:$D838 PRG:1838 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D839 +; Routine: SubCD839 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5303,18 +5304,18 @@ Label_D836: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D839: +SubCD839: lda Zp7F ; CPU:$D839 PRG:1839 A5 7F - bne Label_D85D ; CPU:$D83B PRG:183B D0 20 + bne SubCD852_Block_D85D ; CPU:$D83B PRG:183B D0 20 lda Zp7D ; CPU:$D83D PRG:183D A5 7D and #$08 ; CPU:$D83F PRG:183F 29 08 - bne Label_D84C ; CPU:$D841 PRG:1841 D0 09 + bne SubCD839_Block_D84C ; CPU:$D841 PRG:1841 D0 09 ldy #$02 ; CPU:$D843 PRG:1843 A0 02 lda Zp7A ; CPU:$D845 PRG:1845 A5 7A and #$04 ; CPU:$D847 PRG:1847 29 04 jmp $D852 ; CPU:$D849 PRG:1849 4C 52 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D84C +; Routine: SubCD839_Block_D84C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5322,12 +5323,12 @@ Label_D839: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D84C: +SubCD839_Block_D84C: ldy #$FE ; CPU:$D84C PRG:184C A0 FE lda Zp7A ; CPU:$D84E PRG:184E A5 7A and #$08 ; CPU:$D850 PRG:1850 29 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D852 +; Routine: SubCD852 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5335,11 +5336,11 @@ Label_D84C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D852: - bne Label_D857 ; CPU:$D852 PRG:1852 D0 03 +SubCD852: + bne SubCD852_Block_D857 ; CPU:$D852 PRG:1852 D0 03 jmp $D8B3 ; CPU:$D854 PRG:1854 4C B3 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D857 +; Routine: SubCD852_Block_D857 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5347,12 +5348,12 @@ Label_D852: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D857: +SubCD852_Block_D857: sty Zp81 ; CPU:$D857 PRG:1857 84 81 lda #$00 ; CPU:$D859 PRG:1859 A9 00 sta Zp84 ; CPU:$D85B PRG:185B 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D85D +; Routine: SubCD852_Block_D85D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5360,13 +5361,13 @@ Label_D857: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D85D: +SubCD852_Block_D85D: lda #$40 ; CPU:$D85D PRG:185D A9 40 ora ZpFF ; CPU:$D85F PRG:185F 05 FF sta ZpFF ; CPU:$D861 PRG:1861 85 FF lda Zp7F ; CPU:$D863 PRG:1863 A5 7F cmp #$01 ; CPU:$D865 PRG:1865 C9 01 - bne Label_D87D ; CPU:$D867 PRG:1867 D0 14 + bne SubCD852_Block_D87D ; CPU:$D867 PRG:1867 D0 14 ldx Zp64 ; CPU:$D869 PRG:1869 A6 64 lda $C29F,x ; CPU:$D86B PRG:186B BD 9F C2 sta Zp00 ; CPU:$D86E PRG:186E 85 00 @@ -5377,7 +5378,7 @@ Label_D85D: lda (Zp00),y ; CPU:$D879 PRG:1879 B1 00 sta Zp82 ; CPU:$D87B PRG:187B 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D87D +; Routine: SubCD852_Block_D87D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5385,21 +5386,21 @@ Label_D85D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D87D: +SubCD852_Block_D87D: lda #$70 ; CPU:$D87D PRG:187D A9 70 sta Zp01 ; CPU:$D87F PRG:187F 85 01 sta Zp02 ; CPU:$D881 PRG:1881 85 02 lda Zp7F ; CPU:$D883 PRG:1883 A5 7F jsr $E8D8 ; CPU:$D885 PRG:1885 20 D8 E8 - beq Label_D8AD ; CPU:$D888 PRG:1888 F0 23 + beq SubCD852_Block_D8AD ; CPU:$D888 PRG:1888 F0 23 lda Zp7F ; CPU:$D88A PRG:188A A5 7F and #$04 ; CPU:$D88C PRG:188C 29 04 - beq Label_D896 ; CPU:$D88E PRG:188E F0 06 + beq SubCD852_Block_D896 ; CPU:$D88E PRG:188E F0 06 lda Zp84 ; CPU:$D890 PRG:1890 A5 84 eor #$01 ; CPU:$D892 PRG:1892 49 01 sta Zp84 ; CPU:$D894 PRG:1894 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D896 +; Routine: SubCD852_Block_D896 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5407,7 +5408,7 @@ Label_D87D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D896: +SubCD852_Block_D896: lda Zp81 ; CPU:$D896 PRG:1896 A5 81 clc ; CPU:$D898 PRG:1898 18 adc Zp83 ; CPU:$D899 PRG:1899 65 83 @@ -5418,9 +5419,9 @@ Label_D896: jsr $E8EA ; CPU:$D8A4 PRG:18A4 20 EA E8 lda Zp7F ; CPU:$D8A7 PRG:18A7 A5 7F cmp #$29 ; CPU:$D8A9 PRG:18A9 C9 29 - bpl Label_D8B0 ; CPU:$D8AB PRG:18AB 10 03 + bpl SubCD852_Block_D8B0 ; CPU:$D8AB PRG:18AB 10 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D8AD +; Routine: SubCD852_Block_D8AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5428,11 +5429,11 @@ Label_D896: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8AD: +SubCD852_Block_D8AD: inc Zp7F ; CPU:$D8AD PRG:18AD E6 7F rts ; CPU:$D8AF PRG:18AF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B0 +; Routine: SubCD852_Block_D8B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5440,10 +5441,10 @@ Label_D8AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B0: +SubCD852_Block_D8B0: jsr $E797 ; CPU:$D8B0 PRG:18B0 20 97 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B3 +; Routine: SubCD8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5451,14 +5452,14 @@ Label_D8B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B3: +SubCD8B3: lda Zp7D ; CPU:$D8B3 PRG:18B3 A5 7D and #$D3 ; CPU:$D8B5 PRG:18B5 29 D3 sta Zp7D ; CPU:$D8B7 PRG:18B7 85 7D lda #$00 ; CPU:$D8B9 PRG:18B9 A9 00 rts ; CPU:$D8BB PRG:18BB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8BC +; Routine: SubCD8BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5466,17 +5467,17 @@ Label_D8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8BC: +SubCD8BC: ldx Zp7F ; CPU:$D8BC PRG:18BC A6 7F - beq Label_D8CD ; CPU:$D8BE PRG:18BE F0 0D + beq SubCD8BC_Block_D8CD ; CPU:$D8BE PRG:18BE F0 0D lda #$FF ; CPU:$D8C0 PRG:18C0 A9 FF sta Zp88 ; CPU:$D8C2 PRG:18C2 85 88 lda Zp81 ; CPU:$D8C4 PRG:18C4 A5 81 cmp #$80 ; CPU:$D8C6 PRG:18C6 C9 80 - beq Label_D918 ; CPU:$D8C8 PRG:18C8 F0 4E + beq SubCD8EF_Block_D918 ; CPU:$D8C8 PRG:18C8 F0 4E jmp $D8E2 ; CPU:$D8CA PRG:18CA 4C E2 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D8CD +; Routine: SubCD8BC_Block_D8CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5484,18 +5485,18 @@ Label_D8BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8CD: +SubCD8BC_Block_D8CD: lda Zp7A ; CPU:$D8CD PRG:18CD A5 7A and #$08 ; CPU:$D8CF PRG:18CF 29 08 - bne Label_D90F ; CPU:$D8D1 PRG:18D1 D0 3C + bne SubCD8EF_Block_D90F ; CPU:$D8D1 PRG:18D1 D0 3C lda Zp7A ; CPU:$D8D3 PRG:18D3 A5 7A and #$04 ; CPU:$D8D5 PRG:18D5 29 04 - beq Label_D8DF ; CPU:$D8D7 PRG:18D7 F0 06 + beq SubCD8BC_Block_D8DF ; CPU:$D8D7 PRG:18D7 F0 06 lda Zp7D ; CPU:$D8D9 PRG:18D9 A5 7D and #$04 ; CPU:$D8DB PRG:18DB 29 04 - bne Label_D8E2 ; CPU:$D8DD PRG:18DD D0 03 + bne SubCD8E2 ; CPU:$D8DD PRG:18DD D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DF +; Routine: SubCD8BC_Block_D8DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5503,10 +5504,10 @@ Label_D8CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DF: +SubCD8BC_Block_D8DF: jmp $D9D9 ; CPU:$D8DF PRG:18DF 4C D9 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E2 +; Routine: SubCD8E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5514,15 +5515,15 @@ Label_D8DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E2: +SubCD8E2: lda $C0CD,x ; CPU:$D8E2 PRG:18E2 BD CD C0 sta Zp0B ; CPU:$D8E5 PRG:18E5 85 0B cmp #$EE ; CPU:$D8E7 PRG:18E7 C9 EE - beq Label_D902 ; CPU:$D8E9 PRG:18E9 F0 17 + beq SubCD8EF_Block_D902 ; CPU:$D8E9 PRG:18E9 F0 17 cmp #$DD ; CPU:$D8EB PRG:18EB C9 DD - beq Label_D8F7 ; CPU:$D8ED PRG:18ED F0 08 + beq SubCD8EF_Block_D8F7 ; CPU:$D8ED PRG:18ED F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D8EF +; Routine: SubCD8EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5530,12 +5531,12 @@ Label_D8E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8EF: +SubCD8EF: ldy #$40 ; CPU:$D8EF PRG:18EF A0 40 lda $C0E4,x ; CPU:$D8F1 PRG:18F1 BD E4 C0 jmp $D938 ; CPU:$D8F4 PRG:18F4 4C 38 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8F7 +; Routine: SubCD8EF_Block_D8F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5543,14 +5544,14 @@ Label_D8EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8F7: +SubCD8EF_Block_D8F7: lda #$00 ; CPU:$D8F7 PRG:18F7 A9 00 sta Zp0B ; CPU:$D8F9 PRG:18F9 85 0B lda ZpE0 ; CPU:$D8FB PRG:18FB A5 E0 - bne Label_D902 ; CPU:$D8FD PRG:18FD D0 03 + bne SubCD8EF_Block_D902 ; CPU:$D8FD PRG:18FD D0 03 jmp $D8EF ; CPU:$D8FF PRG:18FF 4C EF D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D902 +; Routine: SubCD8EF_Block_D902 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5558,7 +5559,7 @@ Label_D8F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D902: +SubCD8EF_Block_D902: lda #$40 ; CPU:$D902 PRG:1902 A9 40 sta ZpFF ; CPU:$D904 PRG:1904 85 FF lda Zp7D ; CPU:$D906 PRG:1906 A5 7D @@ -5566,7 +5567,7 @@ Label_D902: sta Zp7D ; CPU:$D90A PRG:190A 85 7D jmp $D9D9 ; CPU:$D90C PRG:190C 4C D9 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D90F +; Routine: SubCD8EF_Block_D90F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5574,13 +5575,13 @@ Label_D902: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D90F: +SubCD8EF_Block_D90F: lda Zp7D ; CPU:$D90F PRG:190F A5 7D and #$08 ; CPU:$D911 PRG:1911 29 08 - bne Label_D918 ; CPU:$D913 PRG:1913 D0 03 + bne SubCD8EF_Block_D918 ; CPU:$D913 PRG:1913 D0 03 jmp $D9D9 ; CPU:$D915 PRG:1915 4C D9 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D918 +; Routine: SubCD8EF_Block_D918 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5588,15 +5589,15 @@ Label_D90F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D918: +SubCD8EF_Block_D918: lda $C0CD,x ; CPU:$D918 PRG:1918 BD CD C0 sta Zp0B ; CPU:$D91B PRG:191B 85 0B cmp #$EE ; CPU:$D91D PRG:191D C9 EE - beq Label_D902 ; CPU:$D91F PRG:191F F0 E1 + beq SubCD8EF_Block_D902 ; CPU:$D91F PRG:191F F0 E1 cmp #$DD ; CPU:$D921 PRG:1921 C9 DD - beq Label_D92D ; CPU:$D923 PRG:1923 F0 08 + beq SubCD925_Block_D92D ; CPU:$D923 PRG:1923 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D925 +; Routine: SubCD925 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5604,12 +5605,12 @@ Label_D918: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D925: +SubCD925: ldy #$80 ; CPU:$D925 PRG:1925 A0 80 lda $C0D9,x ; CPU:$D927 PRG:1927 BD D9 C0 jmp $D938 ; CPU:$D92A PRG:192A 4C 38 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D92D +; Routine: SubCD925_Block_D92D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5617,14 +5618,14 @@ Label_D925: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D92D: +SubCD925_Block_D92D: lda #$00 ; CPU:$D92D PRG:192D A9 00 sta Zp0B ; CPU:$D92F PRG:192F 85 0B lda ZpE0 ; CPU:$D931 PRG:1931 A5 E0 - bne Label_D902 ; CPU:$D933 PRG:1933 D0 CD + bne SubCD8EF_Block_D902 ; CPU:$D933 PRG:1933 D0 CD jmp $D925 ; CPU:$D935 PRG:1935 4C 25 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D938 +; Routine: SubCD938 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5632,7 +5633,7 @@ Label_D92D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D938: +SubCD938: clc ; CPU:$D938 PRG:1938 18 adc Zp83 ; CPU:$D939 PRG:1939 65 83 sta Zp83 ; CPU:$D93B PRG:193B 85 83 @@ -5640,17 +5641,17 @@ Label_D938: sta Zp81 ; CPU:$D93E PRG:193E 85 81 lda Zp88 ; CPU:$D940 PRG:1940 A5 88 cmp #$FF ; CPU:$D942 PRG:1942 C9 FF - beq Label_D96B ; CPU:$D944 PRG:1944 F0 25 + beq SubCD961_Block_D96B ; CPU:$D944 PRG:1944 F0 25 ldx Zp64 ; CPU:$D946 PRG:1946 A6 64 lda Zp81 ; CPU:$D948 PRG:1948 A5 81 cmp #$80 ; CPU:$D94A PRG:194A C9 80 - beq Label_D959 ; CPU:$D94C PRG:194C F0 0B + beq SubCD938_Block_D959 ; CPU:$D94C PRG:194C F0 0B lda $C293,x ; CPU:$D94E PRG:194E BD 93 C2 sta Zp00 ; CPU:$D951 PRG:1951 85 00 lda $C294,x ; CPU:$D953 PRG:1953 BD 94 C2 jmp $D961 ; CPU:$D956 PRG:1956 4C 61 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D959 +; Routine: SubCD938_Block_D959 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5658,12 +5659,12 @@ Label_D938: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D959: +SubCD938_Block_D959: lda $C299,x ; CPU:$D959 PRG:1959 BD 99 C2 sta Zp00 ; CPU:$D95C PRG:195C 85 00 lda $C29A,x ; CPU:$D95E PRG:195E BD 9A C2 ; ----------------------------------------------------------------------------- -; Routine: Label_D961 +; Routine: SubCD961 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5671,14 +5672,14 @@ Label_D959: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D961: +SubCD961: sta Zp01 ; CPU:$D961 PRG:1961 85 01 dec Zp8F ; CPU:$D963 PRG:1963 C6 8F ldy Zp8F ; CPU:$D965 PRG:1965 A4 8F lda (Zp00),y ; CPU:$D967 PRG:1967 B1 00 sta Zp82 ; CPU:$D969 PRG:1969 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D96B +; Routine: SubCD961_Block_D96B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5686,20 +5687,20 @@ Label_D961: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D96B: +SubCD961_Block_D96B: lda #$F0 ; CPU:$D96B PRG:196B A9 F0 sta Zp01 ; CPU:$D96D PRG:196D 85 01 sta Zp02 ; CPU:$D96F PRG:196F 85 02 lda Zp7F ; CPU:$D971 PRG:1971 A5 7F jsr $E8D8 ; CPU:$D973 PRG:1973 20 D8 E8 - beq Label_D988 ; CPU:$D976 PRG:1976 F0 10 + beq SubCD961_Block_D988 ; CPU:$D976 PRG:1976 F0 10 lda Zp81 ; CPU:$D978 PRG:1978 A5 81 cmp #$80 ; CPU:$D97A PRG:197A C9 80 - bne Label_D983 ; CPU:$D97C PRG:197C D0 05 + bne SubCD961_Block_D983 ; CPU:$D97C PRG:197C D0 05 ldx #$2B ; CPU:$D97E PRG:197E A2 2B jmp $D992 ; CPU:$D980 PRG:1980 4C 92 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D983 +; Routine: SubCD961_Block_D983 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5707,11 +5708,11 @@ Label_D96B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D983: +SubCD961_Block_D983: ldx #$06 ; CPU:$D983 PRG:1983 A2 06 jmp $D992 ; CPU:$D985 PRG:1985 4C 92 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D988 +; Routine: SubCD961_Block_D988 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5719,14 +5720,14 @@ Label_D983: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D988: +SubCD961_Block_D988: ldx #$25 ; CPU:$D988 PRG:1988 A2 25 lda Zp81 ; CPU:$D98A PRG:198A A5 81 cmp #$80 ; CPU:$D98C PRG:198C C9 80 - beq Label_D992 ; CPU:$D98E PRG:198E F0 02 + beq SubCD992 ; CPU:$D98E PRG:198E F0 02 ldx #$0C ; CPU:$D990 PRG:1990 A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D992 +; Routine: SubCD992 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5734,17 +5735,17 @@ Label_D988: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D992: +SubCD992: stx Zp02 ; CPU:$D992 PRG:1992 86 02 lda Zp81 ; CPU:$D994 PRG:1994 A5 81 cmp #$80 ; CPU:$D996 PRG:1996 C9 80 - beq Label_D9A3 ; CPU:$D998 PRG:1998 F0 09 + beq SubCD992_Block_D9A3 ; CPU:$D998 PRG:1998 F0 09 lda Zp8F ; CPU:$D99A PRG:199A A5 8F cmp #$03 ; CPU:$D99C PRG:199C C9 03 - bmi Label_D9BC ; CPU:$D99E PRG:199E 30 1C + bmi SubCD9A9_Block_D9BC ; CPU:$D99E PRG:199E 30 1C jmp $D9A9 ; CPU:$D9A0 PRG:19A0 4C A9 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A3 +; Routine: SubCD992_Block_D9A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5752,12 +5753,12 @@ Label_D992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A3: +SubCD992_Block_D9A3: lda Zp8F ; CPU:$D9A3 PRG:19A3 A5 8F cmp #$03 ; CPU:$D9A5 PRG:19A5 C9 03 - bpl Label_D9BC ; CPU:$D9A7 PRG:19A7 10 13 + bpl SubCD9A9_Block_D9BC ; CPU:$D9A7 PRG:19A7 10 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A9 +; Routine: SubCD9A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5765,7 +5766,7 @@ Label_D9A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A9: +SubCD9A9: lda Zp7D ; CPU:$D9A9 PRG:19A9 A5 7D and #$FC ; CPU:$D9AB PRG:19AB 29 FC ora #$02 ; CPU:$D9AD PRG:19AD 09 02 @@ -5776,7 +5777,7 @@ Label_D9A9: ldx #$00 ; CPU:$D9B7 PRG:19B7 A2 00 jmp $D9C8 ; CPU:$D9B9 PRG:19B9 4C C8 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9BC +; Routine: SubCD9A9_Block_D9BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5784,7 +5785,7 @@ Label_D9A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9BC: +SubCD9A9_Block_D9BC: lda Zp7D ; CPU:$D9BC PRG:19BC A5 7D and #$FC ; CPU:$D9BE PRG:19BE 29 FC ora #$01 ; CPU:$D9C0 PRG:19C0 09 01 @@ -5792,7 +5793,7 @@ Label_D9BC: lda Zp0B ; CPU:$D9C4 PRG:19C4 A5 0B ldx #$01 ; CPU:$D9C6 PRG:19C6 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D9C8 +; Routine: SubCD9C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5800,7 +5801,7 @@ Label_D9BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9C8: +SubCD9C8: clc ; CPU:$D9C8 PRG:19C8 18 adc Zp82 ; CPU:$D9C9 PRG:19C9 65 82 sta Zp82 ; CPU:$D9CB PRG:19CB 85 82 @@ -5811,7 +5812,7 @@ Label_D9C8: lda #$01 ; CPU:$D9D6 PRG:19D6 A9 01 rts ; CPU:$D9D8 PRG:19D8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9D9 +; Routine: SubCD9D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5819,20 +5820,20 @@ Label_D9C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9D9: +SubCD9D9: ldx #$02 ; CPU:$D9D9 PRG:19D9 A2 02 jsr $CF3F ; CPU:$D9DB PRG:19DB 20 3F CF jsr $EB23 ; CPU:$D9DE PRG:19DE 20 23 EB - beq Label_D9FA ; CPU:$D9E1 PRG:19E1 F0 17 + beq SubCD9D9_Block_D9FA ; CPU:$D9E1 PRG:19E1 F0 17 lda #$00 ; CPU:$D9E3 PRG:19E3 A9 00 sta Zp88 ; CPU:$D9E5 PRG:19E5 85 88 lda Zp81 ; CPU:$D9E7 PRG:19E7 A5 81 and #$C0 ; CPU:$D9E9 PRG:19E9 29 C0 - beq Label_D9F1 ; CPU:$D9EB PRG:19EB F0 04 + beq SubCD9D9_Block_D9F1 ; CPU:$D9EB PRG:19EB F0 04 lda #$00 ; CPU:$D9ED PRG:19ED A9 00 sta Zp7F ; CPU:$D9EF PRG:19EF 85 7F ; ----------------------------------------------------------------------------- -; Routine: Label_D9F1 +; Routine: SubCD9D9_Block_D9F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5840,14 +5841,14 @@ Label_D9D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F1: +SubCD9D9_Block_D9F1: lda Zp7D ; CPU:$D9F1 PRG:19F1 A5 7D and #$B3 ; CPU:$D9F3 PRG:19F3 29 B3 sta Zp7D ; CPU:$D9F5 PRG:19F5 85 7D lda #$00 ; CPU:$D9F7 PRG:19F7 A9 00 rts ; CPU:$D9F9 PRG:19F9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9FA +; Routine: SubCD9D9_Block_D9FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5855,13 +5856,13 @@ Label_D9F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FA: +SubCD9D9_Block_D9FA: lda #$00 ; CPU:$D9FA PRG:19FA A9 00 sta Zp7F ; CPU:$D9FC PRG:19FC 85 7F lda #$01 ; CPU:$D9FE PRG:19FE A9 01 rts ; CPU:$DA00 PRG:1A00 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA01 +; Routine: SubCDA01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5869,14 +5870,14 @@ Label_D9FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA01: +SubCDA01: lda ZpB4 ; CPU:$DA01 PRG:1A01 A5 B4 - bne Label_DA0B ; CPU:$DA03 PRG:1A03 D0 06 + bne SubCDA01_Block_DA0B ; CPU:$DA03 PRG:1A03 D0 06 lda #$20 ; CPU:$DA05 PRG:1A05 A9 20 ora ZpFF ; CPU:$DA07 PRG:1A07 05 FF sta ZpFF ; CPU:$DA09 PRG:1A09 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DA0B +; Routine: SubCDA01_Block_DA0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5884,14 +5885,14 @@ Label_DA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA0B: +SubCDA01_Block_DA0B: ldx #$0C ; CPU:$DA0B PRG:1A0B A2 0C lda Zp43 ; CPU:$DA0D PRG:1A0D A5 43 and #$08 ; CPU:$DA0F PRG:1A0F 29 08 - beq Label_DA15 ; CPU:$DA11 PRG:1A11 F0 02 + beq SubCDA01_Block_DA15 ; CPU:$DA11 PRG:1A11 F0 02 ldx #$06 ; CPU:$DA13 PRG:1A13 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DA15 +; Routine: SubCDA01_Block_DA15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5899,25 +5900,25 @@ Label_DA0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA15: +SubCDA01_Block_DA15: stx Zp02 ; CPU:$DA15 PRG:1A15 86 02 ldx Zp7F ; CPU:$DA17 PRG:1A17 A6 7F lda $C08C,x ; CPU:$DA19 PRG:1A19 BD 8C C0 sta Zp0B ; CPU:$DA1C PRG:1A1C 85 0B cmp #$EE ; CPU:$DA1E PRG:1A1E C9 EE - beq Label_DA60 ; CPU:$DA20 PRG:1A20 F0 3E + beq SubCDA01_Block_DA60 ; CPU:$DA20 PRG:1A20 F0 3E lda $C0AD,x ; CPU:$DA22 PRG:1A22 BD AD C0 clc ; CPU:$DA25 PRG:1A25 18 adc Zp83 ; CPU:$DA26 PRG:1A26 65 83 sta Zp83 ; CPU:$DA28 PRG:1A28 85 83 lda Zp91 ; CPU:$DA2A PRG:1A2A A5 91 and #$02 ; CPU:$DA2C PRG:1A2C 29 02 - beq Label_DA37 ; CPU:$DA2E PRG:1A2E F0 07 + beq SubCDA01_Block_DA37 ; CPU:$DA2E PRG:1A2E F0 07 lda Zp0B ; CPU:$DA30 PRG:1A30 A5 0B jsr $E040 ; CPU:$DA32 PRG:1A32 20 40 E0 sta Zp0B ; CPU:$DA35 PRG:1A35 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DA37 +; Routine: SubCDA01_Block_DA37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5925,7 +5926,7 @@ Label_DA15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA37: +SubCDA01_Block_DA37: lda Zp02 ; CPU:$DA37 PRG:1A37 A5 02 pha ; CPU:$DA39 PRG:1A39 48 jsr $D4AD ; CPU:$DA3A PRG:1A3A 20 AD D4 @@ -5933,12 +5934,12 @@ Label_DA37: pla ; CPU:$DA3E PRG:1A3E 68 sta Zp02 ; CPU:$DA3F PRG:1A3F 85 02 txa ; CPU:$DA41 PRG:1A41 8A - beq Label_DA4B ; CPU:$DA42 PRG:1A42 F0 07 + beq SubCDA01_Block_DA4B ; CPU:$DA42 PRG:1A42 F0 07 lda #$53 ; CPU:$DA44 PRG:1A44 A9 53 sta Zp83 ; CPU:$DA46 PRG:1A46 85 83 jmp $DA81 ; CPU:$DA48 PRG:1A48 4C 81 DA ; ----------------------------------------------------------------------------- -; Routine: Label_DA4B +; Routine: SubCDA01_Block_DA4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5946,7 +5947,7 @@ Label_DA37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA4B: +SubCDA01_Block_DA4B: lda Zp0B ; CPU:$DA4B PRG:1A4B A5 0B clc ; CPU:$DA4D PRG:1A4D 18 adc Zp82 ; CPU:$DA4E PRG:1A4E 65 82 @@ -5958,7 +5959,7 @@ Label_DA4B: inc Zp7F ; CPU:$DA5D PRG:1A5D E6 7F rts ; CPU:$DA5F PRG:1A5F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA60 +; Routine: SubCDA01_Block_DA60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5966,25 +5967,25 @@ Label_DA4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA60: +SubCDA01_Block_DA60: lda Zp02 ; CPU:$DA60 PRG:1A60 A5 02 sta Zp0C ; CPU:$DA62 PRG:1A62 85 0C jsr $DA9F ; CPU:$DA64 PRG:1A64 20 9F DA - beq Label_DA8E ; CPU:$DA67 PRG:1A67 F0 25 + beq SubCDA81_Block_DA8E ; CPU:$DA67 PRG:1A67 F0 25 lda Zp64 ; CPU:$DA69 PRG:1A69 A5 64 - beq Label_DA81 ; CPU:$DA6B PRG:1A6B F0 14 + beq SubCDA81 ; CPU:$DA6B PRG:1A6B F0 14 lda Zp82 ; CPU:$DA6D PRG:1A6D A5 82 cmp #$90 ; CPU:$DA6F PRG:1A6F C9 90 - bcc Label_DA81 ; CPU:$DA71 PRG:1A71 90 0E + bcc SubCDA81 ; CPU:$DA71 PRG:1A71 90 0E cmp #$B0 ; CPU:$DA73 PRG:1A73 C9 B0 - bcs Label_DA81 ; CPU:$DA75 PRG:1A75 B0 0A + bcs SubCDA81 ; CPU:$DA75 PRG:1A75 B0 0A lda Zp83 ; CPU:$DA77 PRG:1A77 A5 83 cmp #$72 ; CPU:$DA79 PRG:1A79 C9 72 - bcc Label_DA81 ; CPU:$DA7B PRG:1A7B 90 04 + bcc SubCDA81 ; CPU:$DA7B PRG:1A7B 90 04 cmp #$92 ; CPU:$DA7D PRG:1A7D C9 92 - bcc Label_DA8E ; CPU:$DA7F PRG:1A7F 90 0D + bcc SubCDA81_Block_DA8E ; CPU:$DA7F PRG:1A7F 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_DA81 +; Routine: SubCDA81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5992,7 +5993,7 @@ Label_DA60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA81: +SubCDA81: lda Zp7D ; CPU:$DA81 PRG:1A81 A5 7D and #$EF ; CPU:$DA83 PRG:1A83 29 EF sta Zp7D ; CPU:$DA85 PRG:1A85 85 7D @@ -6000,7 +6001,7 @@ Label_DA81: sta Zp7F ; CPU:$DA89 PRG:1A89 85 7F jmp $E79F ; CPU:$DA8B PRG:1A8B 4C 9F E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DA8E +; Routine: SubCDA81_Block_DA8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6008,7 +6009,7 @@ Label_DA81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA8E: +SubCDA81_Block_DA8E: inc Zp83 ; CPU:$DA8E PRG:1A8E E6 83 inc Zp83 ; CPU:$DA90 PRG:1A90 E6 83 jsr $E8B3 ; CPU:$DA92 PRG:1A92 20 B3 E8 @@ -6017,7 +6018,7 @@ Label_DA8E: lda Zp91 ; CPU:$DA9A PRG:1A9A A5 91 jmp $E854 ; CPU:$DA9C PRG:1A9C 4C 54 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DA9F +; Routine: SubCDA9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6025,12 +6026,12 @@ Label_DA8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA9F: +SubCDA9F: ldx #$02 ; CPU:$DA9F PRG:1A9F A2 02 jsr $CF3F ; CPU:$DAA1 PRG:1AA1 20 3F CF jmp $EB23 ; CPU:$DAA4 PRG:1AA4 4C 23 EB ; ----------------------------------------------------------------------------- -; Routine: Label_DAA7 +; Routine: SubCDAA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6038,22 +6039,22 @@ Label_DA9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAA7: +SubCDAA7: lda ZpE1 ; CPU:$DAA7 PRG:1AA7 A5 E1 - bne Label_DAC3 ; CPU:$DAA9 PRG:1AA9 D0 18 + bne SubCDAA7_Block_DAC3 ; CPU:$DAA9 PRG:1AA9 D0 18 lda Zp44 ; CPU:$DAAB PRG:1AAB A5 44 - bne Label_DAF8 ; CPU:$DAAD PRG:1AAD D0 49 + bne SubCDAA7_Block_DAF8 ; CPU:$DAAD PRG:1AAD D0 49 lda Zp85 ; CPU:$DAAF PRG:1AAF A5 85 - beq Label_DAC6 ; CPU:$DAB1 PRG:1AB1 F0 13 + beq SubCDAA7_Block_DAC6 ; CPU:$DAB1 PRG:1AB1 F0 13 lda $06FF ; CPU:$DAB3 PRG:1AB3 AD FF 06 - bne Label_DAC3 ; CPU:$DAB6 PRG:1AB6 D0 0B + bne SubCDAA7_Block_DAC3 ; CPU:$DAB6 PRG:1AB6 D0 0B ldx #$02 ; CPU:$DAB8 PRG:1AB8 A2 02 jsr $DAF9 ; CPU:$DABA PRG:1ABA 20 F9 DA lda #$00 ; CPU:$DABD PRG:1ABD A9 00 sta ZpE0 ; CPU:$DABF PRG:1ABF 85 E0 sta ZpB6 ; CPU:$DAC1 PRG:1AC1 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC3 +; Routine: SubCDAA7_Block_DAC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6061,11 +6062,11 @@ Label_DAA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC3: +SubCDAA7_Block_DAC3: lda #$00 ; CPU:$DAC3 PRG:1AC3 A9 00 rts ; CPU:$DAC5 PRG:1AC5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC6 +; Routine: SubCDAA7_Block_DAC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6073,7 +6074,7 @@ Label_DAC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC6: +SubCDAA7_Block_DAC6: lda #$05 ; CPU:$DAC6 PRG:1AC6 A9 05 sta Zp44 ; CPU:$DAC8 PRG:1AC8 85 44 sta Zp85 ; CPU:$DACA PRG:1ACA 85 85 @@ -6085,10 +6086,10 @@ Label_DAC6: jsr $E240 ; CPU:$DAD9 PRG:1AD9 20 40 E2 lda Zp6F ; CPU:$DADC PRG:1ADC A5 6F and #$04 ; CPU:$DADE PRG:1ADE 29 04 - bne Label_DAE5 ; CPU:$DAE0 PRG:1AE0 D0 03 + bne SubCDAA7_Block_DAE5 ; CPU:$DAE0 PRG:1AE0 D0 03 jsr $E233 ; CPU:$DAE2 PRG:1AE2 20 33 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_DAE5 +; Routine: SubCDAA7_Block_DAE5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6096,17 +6097,17 @@ Label_DAC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAE5: +SubCDAA7_Block_DAE5: jsr $E24D ; CPU:$DAE5 PRG:1AE5 20 4D E2 lda #$00 ; CPU:$DAE8 PRG:1AE8 A9 00 sta Zp6F ; CPU:$DAEA PRG:1AEA 85 6F ldx #$20 ; CPU:$DAEC PRG:1AEC A2 20 lda Zp7B ; CPU:$DAEE PRG:1AEE A5 7B cmp #$05 ; CPU:$DAF0 PRG:1AF0 C9 05 - bpl Label_DAF6 ; CPU:$DAF2 PRG:1AF2 10 02 + bpl SubCDAA7_Block_DAF6 ; CPU:$DAF2 PRG:1AF2 10 02 ldx #$10 ; CPU:$DAF4 PRG:1AF4 A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_DAF6 +; Routine: SubCDAA7_Block_DAF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6114,10 +6115,10 @@ Label_DAE5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF6: +SubCDAA7_Block_DAF6: stx ZpFD ; CPU:$DAF6 PRG:1AF6 86 FD ; ----------------------------------------------------------------------------- -; Routine: Label_DAF8 +; Routine: SubCDAA7_Block_DAF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6125,10 +6126,10 @@ Label_DAF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF8: +SubCDAA7_Block_DAF8: rts ; CPU:$DAF8 PRG:1AF8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAF9 +; Routine: SubCDAF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6136,7 +6137,7 @@ Label_DAF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAF9: +SubCDAF9: lda #$12 ; CPU:$DAF9 PRG:1AF9 A9 12 sta Zp00 ; CPU:$DAFB PRG:1AFB 85 00 lda #$3F ; CPU:$DAFD PRG:1AFD A9 3F @@ -6146,7 +6147,7 @@ Label_DAF9: lda $C625,x ; CPU:$DB06 PRG:1B06 BD 25 C6 jmp $E260 ; CPU:$DB09 PRG:1B09 4C 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_DB0C +; Routine: SubCDB0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6154,25 +6155,25 @@ Label_DAF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB0C: +SubCDB0C: lda #$00 ; CPU:$DB0C PRG:1B0C A9 00 sta ZpFC ; CPU:$DB0E PRG:1B0E 85 FC lda #$FF ; CPU:$DB10 PRG:1B10 A9 FF sta $0268 ; CPU:$DB12 PRG:1B12 8D 68 02 ldx Zp3B ; CPU:$DB15 PRG:1B15 A6 3B - beq Label_DB3A ; CPU:$DB17 PRG:1B17 F0 21 + beq SubCDB34_Block_DB3A ; CPU:$DB17 PRG:1B17 F0 21 lda Zp72 ; CPU:$DB19 PRG:1B19 A5 72 and #$06 ; CPU:$DB1B PRG:1B1B 29 06 - bne Label_DB51 ; CPU:$DB1D PRG:1B1D D0 32 + bne SubCDB34_Block_DB51 ; CPU:$DB1D PRG:1B1D D0 32 lda Zp94 ; CPU:$DB1F PRG:1B1F A5 94 and #$30 ; CPU:$DB21 PRG:1B21 29 30 - bne Label_DB2D ; CPU:$DB23 PRG:1B23 D0 08 + bne SubCDB0C_Block_DB2D ; CPU:$DB23 PRG:1B23 D0 08 cpx #$EF ; CPU:$DB25 PRG:1B25 E0 EF - bcs Label_DB32 ; CPU:$DB27 PRG:1B27 B0 09 + bcs SubCDB0C_Block_DB32 ; CPU:$DB27 PRG:1B27 B0 09 cpx #$E5 ; CPU:$DB29 PRG:1B29 E0 E5 - bcs Label_DB51 ; CPU:$DB2B PRG:1B2B B0 24 + bcs SubCDB34_Block_DB51 ; CPU:$DB2B PRG:1B2B B0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_DB2D +; Routine: SubCDB0C_Block_DB2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6180,11 +6181,11 @@ Label_DB0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB2D: +SubCDB0C_Block_DB2D: inc Zp83 ; CPU:$DB2D PRG:1B2D E6 83 jmp $DB34 ; CPU:$DB2F PRG:1B2F 4C 34 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB32 +; Routine: SubCDB0C_Block_DB32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6192,10 +6193,10 @@ Label_DB2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB32: +SubCDB0C_Block_DB32: dec Zp83 ; CPU:$DB32 PRG:1B32 C6 83 ; ----------------------------------------------------------------------------- -; Routine: Label_DB34 +; Routine: SubCDB34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6203,12 +6204,12 @@ Label_DB32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB34: +SubCDB34: lda Zp83 ; CPU:$DB34 PRG:1B34 A5 83 cmp #$D0 ; CPU:$DB36 PRG:1B36 C9 D0 - bcc Label_DB51 ; CPU:$DB38 PRG:1B38 90 17 + bcc SubCDB34_Block_DB51 ; CPU:$DB38 PRG:1B38 90 17 ; ----------------------------------------------------------------------------- -; Routine: Label_DB3A +; Routine: SubCDB34_Block_DB3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6216,12 +6217,12 @@ Label_DB34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB3A: +SubCDB34_Block_DB3A: lda #$01 ; CPU:$DB3A PRG:1B3A A9 01 sta Zp8B ; CPU:$DB3C PRG:1B3C 85 8B lda Zp72 ; CPU:$DB3E PRG:1B3E A5 72 and #$06 ; CPU:$DB40 PRG:1B40 29 06 - bne Label_DB50 ; CPU:$DB42 PRG:1B42 D0 0C + bne SubCDB34_Block_DB50 ; CPU:$DB42 PRG:1B42 D0 0C lda #$01 ; CPU:$DB44 PRG:1B44 A9 01 sta Zp76 ; CPU:$DB46 PRG:1B46 85 76 lda Zp82 ; CPU:$DB48 PRG:1B48 A5 82 @@ -6229,7 +6230,7 @@ Label_DB3A: lda #$01 ; CPU:$DB4C PRG:1B4C A9 01 sta ZpFE ; CPU:$DB4E PRG:1B4E 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_DB50 +; Routine: SubCDB34_Block_DB50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6237,10 +6238,10 @@ Label_DB3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB50: +SubCDB34_Block_DB50: rts ; CPU:$DB50 PRG:1B50 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB51 +; Routine: SubCDB34_Block_DB51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6248,7 +6249,7 @@ Label_DB50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB51: +SubCDB34_Block_DB51: jsr $E8B3 ; CPU:$DB51 PRG:1B51 20 B3 E8 lda #$19 ; CPU:$DB54 PRG:1B54 A9 19 jsr $E8A8 ; CPU:$DB56 PRG:1B56 20 A8 E8 @@ -6259,7 +6260,7 @@ Label_DB51: lsr a ; CPU:$DB5E PRG:1B5E 4A jmp $E8EA ; CPU:$DB5F PRG:1B5F 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DB62 +; Routine: SubCDB62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6267,16 +6268,16 @@ Label_DB51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB62: +SubCDB62: lda #$00 ; CPU:$DB62 PRG:1B62 A9 00 sta Zp75 ; CPU:$DB64 PRG:1B64 85 75 jsr $E8CF ; CPU:$DB66 PRG:1B66 20 CF E8 lda Zp94 ; CPU:$DB69 PRG:1B69 A5 94 cmp #$02 ; CPU:$DB6B PRG:1B6B C9 02 - bne Label_DB72 ; CPU:$DB6D PRG:1B6D D0 03 + bne SubCDB62_Block_DB72 ; CPU:$DB6D PRG:1B6D D0 03 jmp $DF95 ; CPU:$DB6F PRG:1B6F 4C 95 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DB72 +; Routine: SubCDB62_Block_DB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6284,12 +6285,12 @@ Label_DB62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB72: +SubCDB62_Block_DB72: cmp #$01 ; CPU:$DB72 PRG:1B72 C9 01 - bne Label_DB79 ; CPU:$DB74 PRG:1B74 D0 03 + bne SubCDB62_Block_DB79 ; CPU:$DB74 PRG:1B74 D0 03 jmp $DBC3 ; CPU:$DB76 PRG:1B76 4C C3 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB79 +; Routine: SubCDB62_Block_DB79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6297,12 +6298,12 @@ Label_DB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB79: +SubCDB62_Block_DB79: cmp #$80 ; CPU:$DB79 PRG:1B79 C9 80 - bne Label_DB80 ; CPU:$DB7B PRG:1B7B D0 03 + bne SubCDB62_Block_DB80 ; CPU:$DB7B PRG:1B7B D0 03 jmp $DDCD ; CPU:$DB7D PRG:1B7D 4C CD DD ; ----------------------------------------------------------------------------- -; Routine: Label_DB80 +; Routine: SubCDB62_Block_DB80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6310,12 +6311,12 @@ Label_DB79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB80: +SubCDB62_Block_DB80: cmp #$40 ; CPU:$DB80 PRG:1B80 C9 40 - bne Label_DB87 ; CPU:$DB82 PRG:1B82 D0 03 + bne SubCDB62_Block_DB87 ; CPU:$DB82 PRG:1B82 D0 03 jmp $DE40 ; CPU:$DB84 PRG:1B84 4C 40 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DB87 +; Routine: SubCDB62_Block_DB87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6323,12 +6324,12 @@ Label_DB80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB87: +SubCDB62_Block_DB87: cmp #$20 ; CPU:$DB87 PRG:1B87 C9 20 - bne Label_DB8E ; CPU:$DB89 PRG:1B89 D0 03 + bne SubCDB62_Block_DB8E ; CPU:$DB89 PRG:1B89 D0 03 jmp $DEB0 ; CPU:$DB8B PRG:1B8B 4C B0 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DB8E +; Routine: SubCDB62_Block_DB8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6336,12 +6337,12 @@ Label_DB87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB8E: +SubCDB62_Block_DB8E: cmp #$10 ; CPU:$DB8E PRG:1B8E C9 10 - bne Label_DB95 ; CPU:$DB90 PRG:1B90 D0 03 + bne SubCDB62_Block_DB95 ; CPU:$DB90 PRG:1B90 D0 03 jmp $DD23 ; CPU:$DB92 PRG:1B92 4C 23 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DB95 +; Routine: SubCDB62_Block_DB95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6349,12 +6350,12 @@ Label_DB8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB95: +SubCDB62_Block_DB95: cmp #$08 ; CPU:$DB95 PRG:1B95 C9 08 - bne Label_DB9C ; CPU:$DB97 PRG:1B97 D0 03 + bne SubCDB62_Block_DB9C ; CPU:$DB97 PRG:1B97 D0 03 jmp $DF14 ; CPU:$DB99 PRG:1B99 4C 14 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DB9C +; Routine: SubCDB62_Block_DB9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6362,12 +6363,12 @@ Label_DB95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB9C: +SubCDB62_Block_DB9C: cmp #$04 ; CPU:$DB9C PRG:1B9C C9 04 - bne Label_DBA3 ; CPU:$DB9E PRG:1B9E D0 03 + bne SubCDB62_Block_DBA3 ; CPU:$DB9E PRG:1B9E D0 03 jmp $DF33 ; CPU:$DBA0 PRG:1BA0 4C 33 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DBA3 +; Routine: SubCDB62_Block_DBA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6375,9 +6376,9 @@ Label_DB9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA3: +SubCDB62_Block_DBA3: cmp #$03 ; CPU:$DBA3 PRG:1BA3 C9 03 - bne Label_DBB7 ; CPU:$DBA5 PRG:1BA5 D0 10 + bne SubCDB62_Block_DBB7 ; CPU:$DBA5 PRG:1BA5 D0 10 ldx Zp65 ; CPU:$DBA7 PRG:1BA7 A6 65 lda $C628,x ; CPU:$DBA9 PRG:1BA9 BD 28 C6 sta Zp97 ; CPU:$DBAC PRG:1BAC 85 97 @@ -6387,7 +6388,7 @@ Label_DBA3: sta Zp94 ; CPU:$DBB4 PRG:1BB4 85 94 rts ; CPU:$DBB6 PRG:1BB6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBB7 +; Routine: SubCDB62_Block_DBB7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6395,13 +6396,13 @@ Label_DBA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBB7: +SubCDB62_Block_DBB7: lda Zp93 ; CPU:$DBB7 PRG:1BB7 A5 93 and #$40 ; CPU:$DBB9 PRG:1BB9 29 40 - beq Label_DBC0 ; CPU:$DBBB PRG:1BBB F0 03 + beq SubCDB62_Block_DBC0 ; CPU:$DBBB PRG:1BBB F0 03 jmp $DC57 ; CPU:$DBBD PRG:1BBD 4C 57 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DBC0 +; Routine: SubCDB62_Block_DBC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6409,10 +6410,10 @@ Label_DBB7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC0: +SubCDB62_Block_DBC0: jmp $DBEA ; CPU:$DBC0 PRG:1BC0 4C EA DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBC3 +; Routine: SubCDBC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6420,17 +6421,17 @@ Label_DBC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC3: +SubCDBC3: ldx Zp98 ; CPU:$DBC3 PRG:1BC3 A6 98 lda ZpA6 ; CPU:$DBC5 PRG:1BC5 A5 A6 - bne Label_DBD9 ; CPU:$DBC7 PRG:1BC7 D0 10 + bne SubCDBC3_Block_DBD9 ; CPU:$DBC7 PRG:1BC7 D0 10 cpx #$58 ; CPU:$DBC9 PRG:1BC9 E0 58 - bcc Label_DBD4 ; CPU:$DBCB PRG:1BCB 90 07 + bcc SubCDBC3_Block_DBD4 ; CPU:$DBCB PRG:1BCB 90 07 dec Zp98 ; CPU:$DBCD PRG:1BCD C6 98 dec Zp98 ; CPU:$DBCF PRG:1BCF C6 98 jmp $DBDF ; CPU:$DBD1 PRG:1BD1 4C DF DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBD4 +; Routine: SubCDBC3_Block_DBD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6438,12 +6439,12 @@ Label_DBC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBD4: +SubCDBC3_Block_DBD4: lda #$01 ; CPU:$DBD4 PRG:1BD4 A9 01 sta ZpA6 ; CPU:$DBD6 PRG:1BD6 85 A6 rts ; CPU:$DBD8 PRG:1BD8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBD9 +; Routine: SubCDBC3_Block_DBD9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6451,12 +6452,12 @@ Label_DBD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBD9: +SubCDBC3_Block_DBD9: cpx #$73 ; CPU:$DBD9 PRG:1BD9 E0 73 - bcs Label_DBE7 ; CPU:$DBDB PRG:1BDB B0 0A + bcs SubCDBDF_Block_DBE7 ; CPU:$DBDB PRG:1BDB B0 0A inc Zp98 ; CPU:$DBDD PRG:1BDD E6 98 ; ----------------------------------------------------------------------------- -; Routine: Label_DBDF +; Routine: SubCDBDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6464,12 +6465,12 @@ Label_DBD9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDF: +SubCDBDF: lda #$6F ; CPU:$DBDF PRG:1BDF A9 6F jsr $E8C4 ; CPU:$DBE1 PRG:1BE1 20 C4 E8 jmp $E89B ; CPU:$DBE4 PRG:1BE4 4C 9B E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DBE7 +; Routine: SubCDBDF_Block_DBE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6477,10 +6478,10 @@ Label_DBDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBE7: +SubCDBDF_Block_DBE7: jmp $E7BD ; CPU:$DBE7 PRG:1BE7 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DBEA +; Routine: SubCDBEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6488,14 +6489,14 @@ Label_DBE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBEA: +SubCDBEA: lda #$FF ; CPU:$DBEA PRG:1BEA A9 FF ldx ZpE0 ; CPU:$DBEC PRG:1BEC A6 E0 - bne Label_DBF5 ; CPU:$DBEE PRG:1BEE D0 05 + bne SubCDBEA_Block_DBF5 ; CPU:$DBEE PRG:1BEE D0 05 ldx Zp7B ; CPU:$DBF0 PRG:1BF0 A6 7B lda $C057,x ; CPU:$DBF2 PRG:1BF2 BD 57 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_DBF5 +; Routine: SubCDBEA_Block_DBF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6503,24 +6504,24 @@ Label_DBEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF5: +SubCDBEA_Block_DBF5: sta Zp01 ; CPU:$DBF5 PRG:1BF5 85 01 sta Zp02 ; CPU:$DBF7 PRG:1BF7 85 02 lda Zp9D ; CPU:$DBF9 PRG:1BF9 A5 9D jsr $E8D8 ; CPU:$DBFB PRG:1BFB 20 D8 E8 - beq Label_DC4A ; CPU:$DBFE PRG:1BFE F0 4A + beq SubCDC2A_Block_DC4A ; CPU:$DBFE PRG:1BFE F0 4A lda Zp9D ; CPU:$DC00 PRG:1C00 A5 9D cmp #$06 ; CPU:$DC02 PRG:1C02 C9 06 - beq Label_DC15 ; CPU:$DC04 PRG:1C04 F0 0F + beq SubCDBEA_Block_DC15 ; CPU:$DC04 PRG:1C04 F0 0F cmp #$0C ; CPU:$DC06 PRG:1C06 C9 0C - beq Label_DC15 ; CPU:$DC08 PRG:1C08 F0 0B + beq SubCDBEA_Block_DC15 ; CPU:$DC08 PRG:1C08 F0 0B lda Zp9D ; CPU:$DC0A PRG:1C0A A5 9D cmp #$01 ; CPU:$DC0C PRG:1C0C C9 01 - beq Label_DC15 ; CPU:$DC0E PRG:1C0E F0 05 + beq SubCDBEA_Block_DC15 ; CPU:$DC0E PRG:1C0E F0 05 lda Zp9A ; CPU:$DC10 PRG:1C10 A5 9A jmp $DC2A ; CPU:$DC12 PRG:1C12 4C 2A DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC15 +; Routine: SubCDBEA_Block_DC15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6528,16 +6529,16 @@ Label_DBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC15: +SubCDBEA_Block_DC15: ldx #$FA ; CPU:$DC15 PRG:1C15 A2 FA lda Zp9A ; CPU:$DC17 PRG:1C17 A5 9A cmp #$57 ; CPU:$DC19 PRG:1C19 C9 57 - beq Label_DC23 ; CPU:$DC1B PRG:1C1B F0 06 + beq SubCDBEA_Block_DC23 ; CPU:$DC1B PRG:1C1B F0 06 cmp #$4B ; CPU:$DC1D PRG:1C1D C9 4B - bne Label_DC25 ; CPU:$DC1F PRG:1C1F D0 04 + bne SubCDBEA_Block_DC25 ; CPU:$DC1F PRG:1C1F D0 04 ldx #$06 ; CPU:$DC21 PRG:1C21 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DC23 +; Routine: SubCDBEA_Block_DC23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6545,10 +6546,10 @@ Label_DC15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC23: +SubCDBEA_Block_DC23: stx Zp99 ; CPU:$DC23 PRG:1C23 86 99 ; ----------------------------------------------------------------------------- -; Routine: Label_DC25 +; Routine: SubCDBEA_Block_DC25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6556,12 +6557,12 @@ Label_DC23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC25: +SubCDBEA_Block_DC25: lda Zp9A ; CPU:$DC25 PRG:1C25 A5 9A clc ; CPU:$DC27 PRG:1C27 18 adc Zp99 ; CPU:$DC28 PRG:1C28 65 99 ; ----------------------------------------------------------------------------- -; Routine: Label_DC2A +; Routine: SubCDC2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6569,16 +6570,16 @@ Label_DC25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2A: +SubCDC2A: sta Zp02 ; CPU:$DC2A PRG:1C2A 85 02 sta Zp9A ; CPU:$DC2C PRG:1C2C 85 9A ldx #$01 ; CPU:$DC2E PRG:1C2E A2 01 lda Zp93 ; CPU:$DC30 PRG:1C30 A5 93 and #$01 ; CPU:$DC32 PRG:1C32 29 01 - bne Label_DC38 ; CPU:$DC34 PRG:1C34 D0 02 + bne SubCDC2A_Block_DC38 ; CPU:$DC34 PRG:1C34 D0 02 ldx #$FF ; CPU:$DC36 PRG:1C36 A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DC38 +; Routine: SubCDC2A_Block_DC38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6586,7 +6587,7 @@ Label_DC2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC38: +SubCDC2A_Block_DC38: txa ; CPU:$DC38 PRG:1C38 8A clc ; CPU:$DC39 PRG:1C39 18 adc Zp97 ; CPU:$DC3A PRG:1C3A 65 97 @@ -6597,7 +6598,7 @@ Label_DC38: and #$73 ; CPU:$DC46 PRG:1C46 29 73 sta Zp93 ; CPU:$DC48 PRG:1C48 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_DC4A +; Routine: SubCDC2A_Block_DC4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6605,14 +6606,14 @@ Label_DC38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC4A: +SubCDC2A_Block_DC4A: lda Zp9D ; CPU:$DC4A PRG:1C4A A5 9D cmp #$10 ; CPU:$DC4C PRG:1C4C C9 10 - bmi Label_DC54 ; CPU:$DC4E PRG:1C4E 30 04 + bmi SubCDC2A_Block_DC54 ; CPU:$DC4E PRG:1C4E 30 04 lda #$00 ; CPU:$DC50 PRG:1C50 A9 00 sta Zp9D ; CPU:$DC52 PRG:1C52 85 9D ; ----------------------------------------------------------------------------- -; Routine: Label_DC54 +; Routine: SubCDC2A_Block_DC54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6620,11 +6621,11 @@ Label_DC4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC54: +SubCDC2A_Block_DC54: inc Zp9D ; CPU:$DC54 PRG:1C54 E6 9D rts ; CPU:$DC56 PRG:1C56 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC57 +; Routine: SubCDC57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6632,22 +6633,22 @@ Label_DC54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC57: +SubCDC57: lda Zp93 ; CPU:$DC57 PRG:1C57 A5 93 and #$08 ; CPU:$DC59 PRG:1C59 29 08 - beq Label_DC7A ; CPU:$DC5B PRG:1C5B F0 1D + beq SubCDC7A ; CPU:$DC5B PRG:1C5B F0 1D lda ZpA3 ; CPU:$DC5D PRG:1C5D A5 A3 - bne Label_DC7A ; CPU:$DC5F PRG:1C5F D0 19 + bne SubCDC7A ; CPU:$DC5F PRG:1C5F D0 19 ldx Zp9C ; CPU:$DC61 PRG:1C61 A6 9C cpx #$20 ; CPU:$DC63 PRG:1C63 E0 20 - bmi Label_DC72 ; CPU:$DC65 PRG:1C65 30 0B + bmi SubCDC57_Block_DC72 ; CPU:$DC65 PRG:1C65 30 0B lda #$01 ; CPU:$DC67 PRG:1C67 A9 01 sta ZpA3 ; CPU:$DC69 PRG:1C69 85 A3 lda #$00 ; CPU:$DC6B PRG:1C6B A9 00 sta Zp9C ; CPU:$DC6D PRG:1C6D 85 9C jmp $DC7A ; CPU:$DC6F PRG:1C6F 4C 7A DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC72 +; Routine: SubCDC57_Block_DC72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6655,12 +6656,12 @@ Label_DC57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC72: +SubCDC57_Block_DC72: jsr $DCEF ; CPU:$DC72 PRG:1C72 20 EF DC ldy #$63 ; CPU:$DC75 PRG:1C75 A0 63 jmp $DCB2 ; CPU:$DC77 PRG:1C77 4C B2 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC7A +; Routine: SubCDC7A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6668,18 +6669,18 @@ Label_DC72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC7A: +SubCDC7A: ldx Zp9C ; CPU:$DC7A PRG:1C7A A6 9C lda $C0CD,x ; CPU:$DC7C PRG:1C7C BD CD C0 sta Zp0B ; CPU:$DC7F PRG:1C7F 85 0B cmp #$EE ; CPU:$DC81 PRG:1C81 C9 EE - beq Label_DCBB ; CPU:$DC83 PRG:1C83 F0 36 + beq SubCDCB2_Block_DCBB ; CPU:$DC83 PRG:1C83 F0 36 cmp #$DD ; CPU:$DC85 PRG:1C85 C9 DD - bne Label_DC8D ; CPU:$DC87 PRG:1C87 D0 04 + bne SubCDC7A_Block_DC8D ; CPU:$DC87 PRG:1C87 D0 04 lda #$00 ; CPU:$DC89 PRG:1C89 A9 00 sta Zp0B ; CPU:$DC8B PRG:1C8B 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DC8D +; Routine: SubCDC7A_Block_DC8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6687,18 +6688,18 @@ Label_DC7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC8D: +SubCDC7A_Block_DC8D: jsr $DCEF ; CPU:$DC8D PRG:1C8D 20 EF DC clc ; CPU:$DC90 PRG:1C90 18 adc Zp97 ; CPU:$DC91 PRG:1C91 65 97 sta Zp97 ; CPU:$DC93 PRG:1C93 85 97 lda Zp93 ; CPU:$DC95 PRG:1C95 A5 93 and #$08 ; CPU:$DC97 PRG:1C97 29 08 - bne Label_DCA1 ; CPU:$DC99 PRG:1C99 D0 06 + bne SubCDC7A_Block_DCA1 ; CPU:$DC99 PRG:1C99 D0 06 lda $C0E4,x ; CPU:$DC9B PRG:1C9B BD E4 C0 jmp $DCA4 ; CPU:$DC9E PRG:1C9E 4C A4 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCA1 +; Routine: SubCDC7A_Block_DCA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6706,10 +6707,10 @@ Label_DC8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA1: +SubCDC7A_Block_DCA1: lda $C0D9,x ; CPU:$DCA1 PRG:1CA1 BD D9 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_DCA4 +; Routine: SubCDCA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6717,17 +6718,17 @@ Label_DCA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA4: +SubCDCA4: clc ; CPU:$DCA4 PRG:1CA4 18 adc Zp98 ; CPU:$DCA5 PRG:1CA5 65 98 sta Zp98 ; CPU:$DCA7 PRG:1CA7 85 98 ldy #$57 ; CPU:$DCA9 PRG:1CA9 A0 57 txa ; CPU:$DCAB PRG:1CAB 8A and #$01 ; CPU:$DCAC PRG:1CAC 29 01 - bne Label_DCB2 ; CPU:$DCAE PRG:1CAE D0 02 + bne SubCDCB2 ; CPU:$DCAE PRG:1CAE D0 02 ldy #$4B ; CPU:$DCB0 PRG:1CB0 A0 4B ; ----------------------------------------------------------------------------- -; Routine: Label_DCB2 +; Routine: SubCDCB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6735,13 +6736,13 @@ Label_DCA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCB2: +SubCDCB2: tya ; CPU:$DCB2 PRG:1CB2 98 jsr $E8C4 ; CPU:$DCB3 PRG:1CB3 20 C4 E8 inc Zp9C ; CPU:$DCB6 PRG:1CB6 E6 9C jmp $E7EC ; CPU:$DCB8 PRG:1CB8 4C EC E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DCBB +; Routine: SubCDCB2_Block_DCBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6749,16 +6750,16 @@ Label_DCB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCBB: +SubCDCB2_Block_DCBB: lda #$00 ; CPU:$DCBB PRG:1CBB A9 00 sta Zp9C ; CPU:$DCBD PRG:1CBD 85 9C lda Zp9F ; CPU:$DCBF PRG:1CBF A5 9F - bne Label_DCC8 ; CPU:$DCC1 PRG:1CC1 D0 05 + bne SubCDCB2_Block_DCC8 ; CPU:$DCC1 PRG:1CC1 D0 05 lda #$01 ; CPU:$DCC3 PRG:1CC3 A9 01 sta Zp9F ; CPU:$DCC5 PRG:1CC5 85 9F rts ; CPU:$DCC7 PRG:1CC7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC8 +; Routine: SubCDCB2_Block_DCC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6766,20 +6767,20 @@ Label_DCBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC8: +SubCDCB2_Block_DCC8: ldx #$02 ; CPU:$DCC8 PRG:1CC8 A2 02 jsr $CFEE ; CPU:$DCCA PRG:1CCA 20 EE CF jsr $EB23 ; CPU:$DCCD PRG:1CCD 20 23 EB - beq Label_DCEE ; CPU:$DCD0 PRG:1CD0 F0 1C + beq SubCDCE7_Block_DCEE ; CPU:$DCD0 PRG:1CD0 F0 1C lda Zp93 ; CPU:$DCD2 PRG:1CD2 A5 93 and #$01 ; CPU:$DCD4 PRG:1CD4 29 01 - beq Label_DCE1 ; CPU:$DCD6 PRG:1CD6 F0 09 + beq SubCDCB2_Block_DCE1 ; CPU:$DCD6 PRG:1CD6 F0 09 inc Zp97 ; CPU:$DCD8 PRG:1CD8 E6 97 inc Zp97 ; CPU:$DCDA PRG:1CDA E6 97 inc Zp97 ; CPU:$DCDC PRG:1CDC E6 97 jmp $DCE7 ; CPU:$DCDE PRG:1CDE 4C E7 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCE1 +; Routine: SubCDCB2_Block_DCE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6787,12 +6788,12 @@ Label_DCC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCE1: +SubCDCB2_Block_DCE1: dec Zp97 ; CPU:$DCE1 PRG:1CE1 C6 97 dec Zp97 ; CPU:$DCE3 PRG:1CE3 C6 97 dec Zp97 ; CPU:$DCE5 PRG:1CE5 C6 97 ; ----------------------------------------------------------------------------- -; Routine: Label_DCE7 +; Routine: SubCDCE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6800,12 +6801,12 @@ Label_DCE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCE7: +SubCDCE7: jsr $E7BD ; CPU:$DCE7 PRG:1CE7 20 BD E7 lda #$00 ; CPU:$DCEA PRG:1CEA A9 00 sta Zp9F ; CPU:$DCEC PRG:1CEC 85 9F ; ----------------------------------------------------------------------------- -; Routine: Label_DCEE +; Routine: SubCDCE7_Block_DCEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6813,10 +6814,10 @@ Label_DCE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCEE: +SubCDCE7_Block_DCEE: rts ; CPU:$DCEE PRG:1CEE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCEF +; Routine: SubCDCEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6824,15 +6825,15 @@ Label_DCEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCEF: +SubCDCEF: lda ZpA7 ; CPU:$DCEF PRG:1CEF A5 A7 cmp #$04 ; CPU:$DCF1 PRG:1CF1 C9 04 - bmi Label_DCFB ; CPU:$DCF3 PRG:1CF3 30 06 + bmi SubCDCEF_Block_DCFB ; CPU:$DCF3 PRG:1CF3 30 06 jsr $DD05 ; CPU:$DCF5 PRG:1CF5 20 05 DD lda Zp0B ; CPU:$DCF8 PRG:1CF8 A5 0B rts ; CPU:$DCFA PRG:1CFA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFB +; Routine: SubCDCEF_Block_DCFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6840,14 +6841,14 @@ Label_DCEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFB: +SubCDCEF_Block_DCFB: jsr $DD0E ; CPU:$DCFB PRG:1CFB 20 0E DD dec Zp0B ; CPU:$DCFE PRG:1CFE C6 0B lda Zp0B ; CPU:$DD00 PRG:1D00 A5 0B eor #$FF ; CPU:$DD02 PRG:1D02 49 FF rts ; CPU:$DD04 PRG:1D04 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD05 +; Routine: SubCDD05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6855,14 +6856,14 @@ Label_DCFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD05: +SubCDD05: lda Zp93 ; CPU:$DD05 PRG:1D05 A5 93 and #$FC ; CPU:$DD07 PRG:1D07 29 FC ora #$01 ; CPU:$DD09 PRG:1D09 09 01 sta Zp93 ; CPU:$DD0B PRG:1D0B 85 93 rts ; CPU:$DD0D PRG:1D0D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0E +; Routine: SubCDD0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6870,14 +6871,14 @@ Label_DD05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0E: +SubCDD0E: lda Zp93 ; CPU:$DD0E PRG:1D0E A5 93 and #$FC ; CPU:$DD10 PRG:1D10 29 FC ora #$02 ; CPU:$DD12 PRG:1D12 09 02 sta Zp93 ; CPU:$DD14 PRG:1D14 85 93 rts ; CPU:$DD16 PRG:1D16 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD17 +; Routine: SubCDD17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6885,13 +6886,13 @@ Label_DD0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD17: +SubCDD17: lda Zp82 ; CPU:$DD17 PRG:1D17 A5 82 cmp Zp97 ; CPU:$DD19 PRG:1D19 C5 97 - bcs Label_DD20 ; CPU:$DD1B PRG:1D1B B0 03 + bcs SubCDD17_Block_DD20 ; CPU:$DD1B PRG:1D1B B0 03 jmp $DD0E ; CPU:$DD1D PRG:1D1D 4C 0E DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD20 +; Routine: SubCDD17_Block_DD20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6899,10 +6900,10 @@ Label_DD17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD20: +SubCDD17_Block_DD20: jmp $DD05 ; CPU:$DD20 PRG:1D20 4C 05 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD23 +; Routine: SubCDD23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6910,20 +6911,20 @@ Label_DD20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD23: +SubCDD23: lda Zp93 ; CPU:$DD23 PRG:1D23 A5 93 and #$01 ; CPU:$DD25 PRG:1D25 29 01 tay ; CPU:$DD27 PRG:1D27 A8 lda Zp9C ; CPU:$DD28 PRG:1D28 A5 9C cmp #$37 ; CPU:$DD2A PRG:1D2A C9 37 - bpl Label_DD95 ; CPU:$DD2C PRG:1D2C 10 67 + bpl SubCDD8C_Block_DD95 ; CPU:$DD2C PRG:1D2C 10 67 cmp #$12 ; CPU:$DD2E PRG:1D2E C9 12 - bpl Label_DD39 ; CPU:$DD30 PRG:1D30 10 07 + bpl SubCDD23_Block_DD39 ; CPU:$DD30 PRG:1D30 10 07 lda #$69 ; CPU:$DD32 PRG:1D32 A9 69 sta Zp02 ; CPU:$DD34 PRG:1D34 85 02 jmp $DD8C ; CPU:$DD36 PRG:1D36 4C 8C DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD39 +; Routine: SubCDD23_Block_DD39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6931,9 +6932,9 @@ Label_DD23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD39: +SubCDD23_Block_DD39: cmp #$2A ; CPU:$DD39 PRG:1D39 C9 2A - bpl Label_DD6B ; CPU:$DD3B PRG:1D3B 10 2E + bpl SubCDD23_Block_DD6B ; CPU:$DD3B PRG:1D3B 10 2E lda #$69 ; CPU:$DD3D PRG:1D3D A9 69 sta Zp02 ; CPU:$DD3F PRG:1D3F 85 02 lda Zp9C ; CPU:$DD41 PRG:1D41 A5 9C @@ -6948,13 +6949,13 @@ Label_DD39: adc Zp98 ; CPU:$DD52 PRG:1D52 65 98 sta Zp98 ; CPU:$DD54 PRG:1D54 85 98 tya ; CPU:$DD56 PRG:1D56 98 - bne Label_DD61 ; CPU:$DD57 PRG:1D57 D0 08 + bne SubCDD23_Block_DD61 ; CPU:$DD57 PRG:1D57 D0 08 lda Zp0B ; CPU:$DD59 PRG:1D59 A5 0B eor #$FF ; CPU:$DD5B PRG:1D5B 49 FF sta Zp0B ; CPU:$DD5D PRG:1D5D 85 0B inc Zp0B ; CPU:$DD5F PRG:1D5F E6 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DD61 +; Routine: SubCDD23_Block_DD61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6962,14 +6963,14 @@ Label_DD39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD61: +SubCDD23_Block_DD61: lda Zp0B ; CPU:$DD61 PRG:1D61 A5 0B clc ; CPU:$DD63 PRG:1D63 18 adc Zp97 ; CPU:$DD64 PRG:1D64 65 97 sta Zp97 ; CPU:$DD66 PRG:1D66 85 97 jmp $DD8C ; CPU:$DD68 PRG:1D68 4C 8C DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD6B +; Routine: SubCDD23_Block_DD6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6977,15 +6978,15 @@ Label_DD61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD6B: +SubCDD23_Block_DD6B: dec ZpA8 ; CPU:$DD6B PRG:1D6B C6 A8 lda ZpA8 ; CPU:$DD6D PRG:1D6D A5 A8 cmp #$EF ; CPU:$DD6F PRG:1D6F C9 EF - bne Label_DD77 ; CPU:$DD71 PRG:1D71 D0 04 + bne SubCDD23_Block_DD77 ; CPU:$DD71 PRG:1D71 D0 04 lda #$02 ; CPU:$DD73 PRG:1D73 A9 02 sta ZpFF ; CPU:$DD75 PRG:1D75 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DD77 +; Routine: SubCDD23_Block_DD77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6993,13 +6994,13 @@ Label_DD6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD77: +SubCDD23_Block_DD77: lda ZpA8 ; CPU:$DD77 PRG:1D77 A5 A8 and #$08 ; CPU:$DD79 PRG:1D79 29 08 - beq Label_DD80 ; CPU:$DD7B PRG:1D7B F0 03 + beq SubCDD23_Block_DD80 ; CPU:$DD7B PRG:1D7B F0 03 jsr $DDAC ; CPU:$DD7D PRG:1D7D 20 AC DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD80 +; Routine: SubCDD23_Block_DD80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7007,14 +7008,14 @@ Label_DD77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD80: +SubCDD23_Block_DD80: ldx #$75 ; CPU:$DD80 PRG:1D80 A2 75 lda Zp9C ; CPU:$DD82 PRG:1D82 A5 9C and #$04 ; CPU:$DD84 PRG:1D84 29 04 - beq Label_DD8A ; CPU:$DD86 PRG:1D86 F0 02 + beq SubCDD23_Block_DD8A ; CPU:$DD86 PRG:1D86 F0 02 ldx #$7B ; CPU:$DD88 PRG:1D88 A2 7B ; ----------------------------------------------------------------------------- -; Routine: Label_DD8A +; Routine: SubCDD23_Block_DD8A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7022,10 +7023,10 @@ Label_DD80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD8A: +SubCDD23_Block_DD8A: stx Zp02 ; CPU:$DD8A PRG:1D8A 86 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DD8C +; Routine: SubCDD8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7033,13 +7034,13 @@ Label_DD8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD8C: +SubCDD8C: jsr $E8C6 ; CPU:$DD8C PRG:1D8C 20 C6 E8 inc Zp9C ; CPU:$DD8F PRG:1D8F E6 9C tya ; CPU:$DD91 PRG:1D91 98 jmp $E8EA ; CPU:$DD92 PRG:1D92 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DD95 +; Routine: SubCDD8C_Block_DD95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7047,7 +7048,7 @@ Label_DD8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD95: +SubCDD8C_Block_DD95: lda Zp93 ; CPU:$DD95 PRG:1D95 A5 93 and #$EF ; CPU:$DD97 PRG:1D97 29 EF sta Zp93 ; CPU:$DD99 PRG:1D99 85 93 @@ -7060,7 +7061,7 @@ Label_DD95: sta Zp98 ; CPU:$DDA7 PRG:1DA7 85 98 jmp $E7BD ; CPU:$DDA9 PRG:1DA9 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DDAC +; Routine: SubCDDAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7068,24 +7069,24 @@ Label_DD95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDAC: +SubCDDAC: lda ZpA8 ; CPU:$DDAC PRG:1DAC A5 A8 sta Zp01 ; CPU:$DDAE PRG:1DAE 85 01 lda #$00 ; CPU:$DDB0 PRG:1DB0 A9 00 sta Zp00 ; CPU:$DDB2 PRG:1DB2 85 00 lda #$12 ; CPU:$DDB4 PRG:1DB4 A9 12 - sta $2000 ; CPU:$DDB6 PRG:1DB6 8D 00 20 + sta PPUCTRL ; CPU:$DDB6 PRG:1DB6 8D 00 20 sta Zp10 ; CPU:$DDB9 PRG:1DB9 85 10 - lda $2002 ; CPU:$DDBB PRG:1DBB AD 02 20 + lda PPUSTATUS ; CPU:$DDBB PRG:1DBB AD 02 20 lda Zp00 ; CPU:$DDBE PRG:1DBE A5 00 - sta $2005 ; CPU:$DDC0 PRG:1DC0 8D 05 20 + sta PPUSCROLL ; CPU:$DDC0 PRG:1DC0 8D 05 20 sta Zp12 ; CPU:$DDC3 PRG:1DC3 85 12 lda Zp01 ; CPU:$DDC5 PRG:1DC5 A5 01 - sta $2005 ; CPU:$DDC7 PRG:1DC7 8D 05 20 + sta PPUSCROLL ; CPU:$DDC7 PRG:1DC7 8D 05 20 sta Zp13 ; CPU:$DDCA PRG:1DCA 85 13 rts ; CPU:$DDCC PRG:1DCC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDCD +; Routine: SubCDDCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7093,21 +7094,21 @@ Label_DDAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDCD: +SubCDDCD: lda ZpE0 ; CPU:$DDCD PRG:1DCD A5 E0 - bne Label_DE36 ; CPU:$DDCF PRG:1DCF D0 65 + bne SubCDE17_Block_DE36 ; CPU:$DDCF PRG:1DCF D0 65 inc Zp9C ; CPU:$DDD1 PRG:1DD1 E6 9C lda Zp9C ; CPU:$DDD3 PRG:1DD3 A5 9C cmp #$20 ; CPU:$DDD5 PRG:1DD5 C9 20 - bpl Label_DE31 ; CPU:$DDD7 PRG:1DD7 10 58 + bpl SubCDE17_Block_DE31 ; CPU:$DDD7 PRG:1DD7 10 58 cmp #$11 ; CPU:$DDD9 PRG:1DD9 C9 11 - beq Label_DDEE ; CPU:$DDDB PRG:1DDB F0 11 + beq SubCDDE8_Block_DDEE ; CPU:$DDDB PRG:1DDB F0 11 cmp #$10 ; CPU:$DDDD PRG:1DDD C9 10 - bpl Label_DDE6 ; CPU:$DDDF PRG:1DDF 10 05 + bpl SubCDDCD_Block_DDE6 ; CPU:$DDDF PRG:1DDF 10 05 lda #$96 ; CPU:$DDE1 PRG:1DE1 A9 96 jmp $DDE8 ; CPU:$DDE3 PRG:1DE3 4C E8 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDE6 +; Routine: SubCDDCD_Block_DDE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7115,10 +7116,10 @@ Label_DDCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE6: +SubCDDCD_Block_DDE6: lda #$69 ; CPU:$DDE6 PRG:1DE6 A9 69 ; ----------------------------------------------------------------------------- -; Routine: Label_DDE8 +; Routine: SubCDDE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7126,11 +7127,11 @@ Label_DDE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE8: +SubCDDE8: jsr $E8C4 ; CPU:$DDE8 PRG:1DE8 20 C4 E8 jmp $E7EC ; CPU:$DDEB PRG:1DEB 4C EC E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DDEE +; Routine: SubCDDE8_Block_DDEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7138,7 +7139,7 @@ Label_DDE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDEE: +SubCDDE8_Block_DDEE: ldx Zp9E ; CPU:$DDEE PRG:1DEE A6 9E lda Zp98 ; CPU:$DDF0 PRG:1DF0 A5 98 sta $0220,x ; CPU:$DDF2 PRG:1DF2 9D 20 02 @@ -7146,7 +7147,7 @@ Label_DDEE: sta $0221,x ; CPU:$DDF7 PRG:1DF7 9D 21 02 lda Zp93 ; CPU:$DDFA PRG:1DFA A5 93 and #$01 ; CPU:$DDFC PRG:1DFC 29 01 - beq Label_DE0D ; CPU:$DDFE PRG:1DFE F0 0D + beq SubCDDE8_Block_DE0D ; CPU:$DDFE PRG:1DFE F0 0D lda Zp97 ; CPU:$DE00 PRG:1E00 A5 97 clc ; CPU:$DE02 PRG:1E02 18 adc #$10 ; CPU:$DE03 PRG:1E03 69 10 @@ -7154,7 +7155,7 @@ Label_DDEE: ldy #$40 ; CPU:$DE08 PRG:1E08 A0 40 jmp $DE17 ; CPU:$DE0A PRG:1E0A 4C 17 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE0D +; Routine: SubCDDE8_Block_DE0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7162,14 +7163,14 @@ Label_DDEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0D: +SubCDDE8_Block_DE0D: lda Zp97 ; CPU:$DE0D PRG:1E0D A5 97 sec ; CPU:$DE0F PRG:1E0F 38 sbc #$08 ; CPU:$DE10 PRG:1E10 E9 08 sta $0223,x ; CPU:$DE12 PRG:1E12 9D 23 02 ldy #$80 ; CPU:$DE15 PRG:1E15 A0 80 ; ----------------------------------------------------------------------------- -; Routine: Label_DE17 +; Routine: SubCDE17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7177,7 +7178,7 @@ Label_DE0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE17: +SubCDE17: lda ZpE2 ; CPU:$DE17 PRG:1E17 A5 E2 and #$3F ; CPU:$DE19 PRG:1E19 29 3F sta ZpE2 ; CPU:$DE1B PRG:1E1B 85 E2 @@ -7190,10 +7191,10 @@ Label_DE17: inc Zp9E ; CPU:$DE28 PRG:1E28 E6 9E lda Zp9E ; CPU:$DE2A PRG:1E2A A5 9E cmp #$0D ; CPU:$DE2C PRG:1E2C C9 0D - bpl Label_DE36 ; CPU:$DE2E PRG:1E2E 10 06 + bpl SubCDE17_Block_DE36 ; CPU:$DE2E PRG:1E2E 10 06 rts ; CPU:$DE30 PRG:1E30 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE31 +; Routine: SubCDE17_Block_DE31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7201,12 +7202,12 @@ Label_DE17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE31: +SubCDE17_Block_DE31: lda #$00 ; CPU:$DE31 PRG:1E31 A9 00 sta Zp9C ; CPU:$DE33 PRG:1E33 85 9C rts ; CPU:$DE35 PRG:1E35 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE36 +; Routine: SubCDE17_Block_DE36 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7214,13 +7215,13 @@ Label_DE31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE36: +SubCDE17_Block_DE36: ldx Zp7B ; CPU:$DE36 PRG:1E36 A6 7B lda $C08C,x ; CPU:$DE38 PRG:1E38 BD 8C C0 sta Zp35 ; CPU:$DE3B PRG:1E3B 85 35 jmp $E7BD ; CPU:$DE3D PRG:1E3D 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DE40 +; Routine: SubCDE40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7228,10 +7229,10 @@ Label_DE36: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE40: +SubCDE40: lda Zp9C ; CPU:$DE40 PRG:1E40 A5 9C cmp #$1C ; CPU:$DE42 PRG:1E42 C9 1C - bpl Label_DE81 ; CPU:$DE44 PRG:1E44 10 3B + bpl SubCDE79_Block_DE81 ; CPU:$DE44 PRG:1E44 10 3B tay ; CPU:$DE46 PRG:1E46 A8 ldx Zp7B ; CPU:$DE47 PRG:1E47 A6 7B lda $C057,x ; CPU:$DE49 PRG:1E49 BD 57 C0 @@ -7239,17 +7240,17 @@ Label_DE40: sta Zp02 ; CPU:$DE4E PRG:1E4E 85 02 tya ; CPU:$DE50 PRG:1E50 98 jsr $E8D8 ; CPU:$DE51 PRG:1E51 20 D8 E8 - beq Label_DEA7 ; CPU:$DE54 PRG:1E54 F0 51 + beq SubCDEA1_Block_DEA7 ; CPU:$DE54 PRG:1E54 F0 51 lda #$F0 ; CPU:$DE56 PRG:1E56 A9 F0 sta Zp01 ; CPU:$DE58 PRG:1E58 85 01 sta Zp02 ; CPU:$DE5A PRG:1E5A 85 02 lda Zp9C ; CPU:$DE5C PRG:1E5C A5 9C jsr $E8D8 ; CPU:$DE5E PRG:1E5E 20 D8 E8 - bne Label_DE68 ; CPU:$DE61 PRG:1E61 D0 05 + bne SubCDE40_Block_DE68 ; CPU:$DE61 PRG:1E61 D0 05 lda #$63 ; CPU:$DE63 PRG:1E63 A9 63 jmp $DE6A ; CPU:$DE65 PRG:1E65 4C 6A DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE68 +; Routine: SubCDE40_Block_DE68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7257,10 +7258,10 @@ Label_DE40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE68: +SubCDE40_Block_DE68: lda #$5D ; CPU:$DE68 PRG:1E68 A9 5D ; ----------------------------------------------------------------------------- -; Routine: Label_DE6A +; Routine: SubCDE6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7268,15 +7269,15 @@ Label_DE68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE6A: +SubCDE6A: sta Zp02 ; CPU:$DE6A PRG:1E6A 85 02 lda Zp93 ; CPU:$DE6C PRG:1E6C A5 93 and #$01 ; CPU:$DE6E PRG:1E6E 29 01 - bne Label_DE77 ; CPU:$DE70 PRG:1E70 D0 05 + bne SubCDE6A_Block_DE77 ; CPU:$DE70 PRG:1E70 D0 05 lda #$FF ; CPU:$DE72 PRG:1E72 A9 FF jmp $DE79 ; CPU:$DE74 PRG:1E74 4C 79 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE77 +; Routine: SubCDE6A_Block_DE77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7284,10 +7285,10 @@ Label_DE6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE77: +SubCDE6A_Block_DE77: lda #$01 ; CPU:$DE77 PRG:1E77 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DE79 +; Routine: SubCDE79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7295,13 +7296,13 @@ Label_DE77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE79: +SubCDE79: clc ; CPU:$DE79 PRG:1E79 18 adc Zp97 ; CPU:$DE7A PRG:1E7A 65 97 sta Zp97 ; CPU:$DE7C PRG:1E7C 85 97 jmp $DEA1 ; CPU:$DE7E PRG:1E7E 4C A1 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE81 +; Routine: SubCDE79_Block_DE81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7309,13 +7310,13 @@ Label_DE79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE81: +SubCDE79_Block_DE81: cmp #$1C ; CPU:$DE81 PRG:1E81 C9 1C - bne Label_DE89 ; CPU:$DE83 PRG:1E83 D0 04 + bne SubCDE79_Block_DE89 ; CPU:$DE83 PRG:1E83 D0 04 lda #$08 ; CPU:$DE85 PRG:1E85 A9 08 sta ZpFF ; CPU:$DE87 PRG:1E87 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DE89 +; Routine: SubCDE79_Block_DE89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7323,15 +7324,15 @@ Label_DE81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE89: +SubCDE79_Block_DE89: cmp #$2C ; CPU:$DE89 PRG:1E89 C9 2C - bpl Label_DEAA ; CPU:$DE8B PRG:1E8B 10 1D + bpl SubCDEA1_Block_DEAA ; CPU:$DE8B PRG:1E8B 10 1D cmp #$24 ; CPU:$DE8D PRG:1E8D C9 24 - bpl Label_DE96 ; CPU:$DE8F PRG:1E8F 10 05 + bpl SubCDE79_Block_DE96 ; CPU:$DE8F PRG:1E8F 10 05 lda #$FE ; CPU:$DE91 PRG:1E91 A9 FE jmp $DE98 ; CPU:$DE93 PRG:1E93 4C 98 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE96 +; Routine: SubCDE79_Block_DE96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7339,10 +7340,10 @@ Label_DE89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE96: +SubCDE79_Block_DE96: lda #$02 ; CPU:$DE96 PRG:1E96 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DE98 +; Routine: SubCDE98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7350,14 +7351,14 @@ Label_DE96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE98: +SubCDE98: clc ; CPU:$DE98 PRG:1E98 18 adc Zp98 ; CPU:$DE99 PRG:1E99 65 98 sta Zp98 ; CPU:$DE9B PRG:1E9B 85 98 lda #$6F ; CPU:$DE9D PRG:1E9D A9 6F sta Zp02 ; CPU:$DE9F PRG:1E9F 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA1 +; Routine: SubCDEA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7365,11 +7366,11 @@ Label_DE98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA1: +SubCDEA1: jsr $E8C6 ; CPU:$DEA1 PRG:1EA1 20 C6 E8 jsr $E7EC ; CPU:$DEA4 PRG:1EA4 20 EC E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA7 +; Routine: SubCDEA1_Block_DEA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7377,11 +7378,11 @@ Label_DEA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA7: +SubCDEA1_Block_DEA7: inc Zp9C ; CPU:$DEA7 PRG:1EA7 E6 9C rts ; CPU:$DEA9 PRG:1EA9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAA +; Routine: SubCDEA1_Block_DEAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7389,11 +7390,11 @@ Label_DEA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAA: +SubCDEA1_Block_DEAA: jsr $DD17 ; CPU:$DEAA PRG:1EAA 20 17 DD jmp $E7BD ; CPU:$DEAD PRG:1EAD 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DEB0 +; Routine: SubCDEB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7401,15 +7402,15 @@ Label_DEAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB0: +SubCDEB0: ldx #$FF ; CPU:$DEB0 PRG:1EB0 A2 FF lda Zp93 ; CPU:$DEB2 PRG:1EB2 A5 93 and #$01 ; CPU:$DEB4 PRG:1EB4 29 01 tay ; CPU:$DEB6 PRG:1EB6 A8 - beq Label_DEBB ; CPU:$DEB7 PRG:1EB7 F0 02 + beq SubCDEB0_Block_DEBB ; CPU:$DEB7 PRG:1EB7 F0 02 ldx #$01 ; CPU:$DEB9 PRG:1EB9 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DEBB +; Routine: SubCDEB0_Block_DEBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7417,24 +7418,24 @@ Label_DEB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEBB: +SubCDEB0_Block_DEBB: stx Zp0A ; CPU:$DEBB PRG:1EBB 86 0A lda Zp9C ; CPU:$DEBD PRG:1EBD A5 9C cmp #$40 ; CPU:$DEBF PRG:1EBF C9 40 - bpl Label_DF0D ; CPU:$DEC1 PRG:1EC1 10 4A + bpl SubCDEF6_Block_DF0D ; CPU:$DEC1 PRG:1EC1 10 4A cmp #$14 ; CPU:$DEC3 PRG:1EC3 C9 14 - bmi Label_DEEE ; CPU:$DEC5 PRG:1EC5 30 27 + bmi SubCDEDE_Block_DEEE ; CPU:$DEC5 PRG:1EC5 30 27 lda #$02 ; CPU:$DEC7 PRG:1EC7 A9 02 sta ZpFE ; CPU:$DEC9 PRG:1EC9 85 FE lda Zp9C ; CPU:$DECB PRG:1ECB A5 9C and #$08 ; CPU:$DECD PRG:1ECD 29 08 - beq Label_DEDA ; CPU:$DECF PRG:1ECF F0 09 + beq SubCDEB0_Block_DEDA ; CPU:$DECF PRG:1ECF F0 09 lda #$00 ; CPU:$DED1 PRG:1ED1 A9 00 sta ZpA0 ; CPU:$DED3 PRG:1ED3 85 A0 lda #$7B ; CPU:$DED5 PRG:1ED5 A9 7B jmp $DEDE ; CPU:$DED7 PRG:1ED7 4C DE DE ; ----------------------------------------------------------------------------- -; Routine: Label_DEDA +; Routine: SubCDEB0_Block_DEDA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7442,11 +7443,11 @@ Label_DEBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEDA: +SubCDEB0_Block_DEDA: inc ZpA0 ; CPU:$DEDA PRG:1EDA E6 A0 lda #$75 ; CPU:$DEDC PRG:1EDC A9 75 ; ----------------------------------------------------------------------------- -; Routine: Label_DEDE +; Routine: SubCDEDE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7454,7 +7455,7 @@ Label_DEDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEDE: +SubCDEDE: sta Zp02 ; CPU:$DEDE PRG:1EDE 85 02 lda Zp98 ; CPU:$DEE0 PRG:1EE0 A5 98 clc ; CPU:$DEE2 PRG:1EE2 18 @@ -7464,7 +7465,7 @@ Label_DEDE: sta Zp75 ; CPU:$DEE9 PRG:1EE9 85 75 jmp $DEF6 ; CPU:$DEEB PRG:1EEB 4C F6 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DEEE +; Routine: SubCDEDE_Block_DEEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7472,13 +7473,13 @@ Label_DEDE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEEE: +SubCDEDE_Block_DEEE: lda #$69 ; CPU:$DEEE PRG:1EEE A9 69 sta Zp02 ; CPU:$DEF0 PRG:1EF0 85 02 lda Zp98 ; CPU:$DEF2 PRG:1EF2 A5 98 sta Zp01 ; CPU:$DEF4 PRG:1EF4 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DEF6 +; Routine: SubCDEF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7486,16 +7487,16 @@ Label_DEEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEF6: +SubCDEF6: lda ZpA0 ; CPU:$DEF6 PRG:1EF6 A5 A0 cmp #$01 ; CPU:$DEF8 PRG:1EF8 C9 01 - bne Label_DF03 ; CPU:$DEFA PRG:1EFA D0 07 + bne SubCDEF6_Block_DF03 ; CPU:$DEFA PRG:1EFA D0 07 lda Zp0A ; CPU:$DEFC PRG:1EFC A5 0A clc ; CPU:$DEFE PRG:1EFE 18 adc Zp97 ; CPU:$DEFF PRG:1EFF 65 97 sta Zp97 ; CPU:$DF01 PRG:1F01 85 97 ; ----------------------------------------------------------------------------- -; Routine: Label_DF03 +; Routine: SubCDEF6_Block_DF03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7503,14 +7504,14 @@ Label_DEF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF03: +SubCDEF6_Block_DF03: lda Zp97 ; CPU:$DF03 PRG:1F03 A5 97 sta Zp00 ; CPU:$DF05 PRG:1F05 85 00 tya ; CPU:$DF07 PRG:1F07 98 inc Zp9C ; CPU:$DF08 PRG:1F08 E6 9C jmp $E8EA ; CPU:$DF0A PRG:1F0A 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DF0D +; Routine: SubCDEF6_Block_DF0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7518,12 +7519,12 @@ Label_DF03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF0D: +SubCDEF6_Block_DF0D: lda #$00 ; CPU:$DF0D PRG:1F0D A9 00 sta ZpA0 ; CPU:$DF0F PRG:1F0F 85 A0 jmp $E7BD ; CPU:$DF11 PRG:1F11 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF14 +; Routine: SubCDF14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7531,12 +7532,12 @@ Label_DF0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF14: +SubCDF14: lda #$81 ; CPU:$DF14 PRG:1F14 A9 81 jsr $E8C4 ; CPU:$DF16 PRG:1F16 20 C4 E8 lda Zp9C ; CPU:$DF19 PRG:1F19 A5 9C cmp #$70 ; CPU:$DF1B PRG:1F1B C9 70 - bcs Label_DF2D ; CPU:$DF1D PRG:1F1D B0 0E + bcs SubCDF14_Block_DF2D ; CPU:$DF1D PRG:1F1D B0 0E and #$20 ; CPU:$DF1F PRG:1F1F 29 20 lsr a ; CPU:$DF21 PRG:1F21 4A lsr a ; CPU:$DF22 PRG:1F22 4A @@ -7547,7 +7548,7 @@ Label_DF14: inc Zp9C ; CPU:$DF28 PRG:1F28 E6 9C jmp $E7EC ; CPU:$DF2A PRG:1F2A 4C EC E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF2D +; Routine: SubCDF14_Block_DF2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7555,11 +7556,11 @@ Label_DF14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF2D: +SubCDF14_Block_DF2D: jsr $DD17 ; CPU:$DF2D PRG:1F2D 20 17 DD jmp $E7BD ; CPU:$DF30 PRG:1F30 4C BD E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF33 +; Routine: SubCDF33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7567,9 +7568,9 @@ Label_DF2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF33: +SubCDF33: ldx Zp4C ; CPU:$DF33 PRG:1F33 A6 4C - beq Label_DF7A ; CPU:$DF35 PRG:1F35 F0 43 + beq SubCDF33_Block_DF7A ; CPU:$DF35 PRG:1F35 F0 43 lda #$00 ; CPU:$DF37 PRG:1F37 A9 00 jsr $CED8 ; CPU:$DF39 PRG:1F39 20 D8 CE lda Zp97 ; CPU:$DF3C PRG:1F3C A5 97 @@ -7587,7 +7588,7 @@ Label_DF33: lsr a ; CPU:$DF53 PRG:1F53 4A jsr $E8EA ; CPU:$DF54 PRG:1F54 20 EA E8 lda $040B ; CPU:$DF57 PRG:1F57 AD 0B 04 - bne Label_DF6A ; CPU:$DF5A PRG:1F5A D0 0E + bne SubCDF33_Block_DF6A ; CPU:$DF5A PRG:1F5A D0 0E lda Zp92 ; CPU:$DF5C PRG:1F5C A5 92 clc ; CPU:$DF5E PRG:1F5E 18 adc #$05 ; CPU:$DF5F PRG:1F5F 69 05 @@ -7596,7 +7597,7 @@ Label_DF33: lda #$01 ; CPU:$DF65 PRG:1F65 A9 01 sta $040B ; CPU:$DF67 PRG:1F67 8D 0B 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DF6A +; Routine: SubCDF33_Block_DF6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7604,7 +7605,7 @@ Label_DF33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF6A: +SubCDF33_Block_DF6A: lda Zp97 ; CPU:$DF6A PRG:1F6A A5 97 sta ZpAF ; CPU:$DF6C PRG:1F6C 85 AF lda Zp98 ; CPU:$DF6E PRG:1F6E A5 98 @@ -7614,7 +7615,7 @@ Label_DF6A: lda #$02 ; CPU:$DF75 PRG:1F75 A9 02 jmp $E859 ; CPU:$DF77 PRG:1F77 4C 59 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DF7A +; Routine: SubCDF33_Block_DF7A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7622,7 +7623,7 @@ Label_DF6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF7A: +SubCDF33_Block_DF7A: jsr $E7BD ; CPU:$DF7A PRG:1F7A 20 BD E7 lda #$00 ; CPU:$DF7D PRG:1F7D A9 00 sta $040B ; CPU:$DF7F PRG:1F7F 8D 0B 04 @@ -7630,7 +7631,7 @@ Label_DF7A: sta ZpAF ; CPU:$DF84 PRG:1F84 85 AF sta ZpB0 ; CPU:$DF86 PRG:1F86 85 B0 ; ----------------------------------------------------------------------------- -; Routine: Label_DF88 +; Routine: SubCDF88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7638,14 +7639,14 @@ Label_DF7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF88: +SubCDF88: sta $0270 ; CPU:$DF88 PRG:1F88 8D 70 02 sta $0274 ; CPU:$DF8B PRG:1F8B 8D 74 02 sta $0278 ; CPU:$DF8E PRG:1F8E 8D 78 02 sta $027C ; CPU:$DF91 PRG:1F91 8D 7C 02 rts ; CPU:$DF94 PRG:1F94 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF95 +; Routine: SubCDF95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7653,10 +7654,10 @@ Label_DF88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF95: +SubCDF95: lda Zp98 ; CPU:$DF95 PRG:1F95 A5 98 cmp #$D0 ; CPU:$DF97 PRG:1F97 C9 D0 - bcs Label_DFC0 ; CPU:$DF99 PRG:1F99 B0 25 + bcs SubCDF95_Block_DFC0 ; CPU:$DF99 PRG:1F99 B0 25 lda #$03 ; CPU:$DF9B PRG:1F9B A9 03 sta Zp01 ; CPU:$DF9D PRG:1F9D 85 01 lda #$FD ; CPU:$DF9F PRG:1F9F A9 FD @@ -7675,7 +7676,7 @@ Label_DF95: inc ZpA4 ; CPU:$DFBB PRG:1FBB E6 A4 jmp $E8EA ; CPU:$DFBD PRG:1FBD 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DFC0 +; Routine: SubCDF95_Block_DFC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7683,15 +7684,15 @@ Label_DF95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFC0: +SubCDF95_Block_DFC0: lda Zp76 ; CPU:$DFC0 PRG:1FC0 A5 76 - bne Label_DFCD ; CPU:$DFC2 PRG:1FC2 D0 09 + bne SubCDF95_Block_DFCD ; CPU:$DFC2 PRG:1FC2 D0 09 ldx #$0A ; CPU:$DFC4 PRG:1FC4 A2 0A jsr $CEAA ; CPU:$DFC6 PRG:1FC6 20 AA CE lda #$01 ; CPU:$DFC9 PRG:1FC9 A9 01 sta ZpFE ; CPU:$DFCB PRG:1FCB 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_DFCD +; Routine: SubCDF95_Block_DFCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7699,14 +7700,14 @@ Label_DFC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFCD: +SubCDF95_Block_DFCD: lda #$02 ; CPU:$DFCD PRG:1FCD A9 02 sta Zp76 ; CPU:$DFCF PRG:1FCF 85 76 lda Zp97 ; CPU:$DFD1 PRG:1FD1 A5 97 sta Zp77 ; CPU:$DFD3 PRG:1FD3 85 77 rts ; CPU:$DFD5 PRG:1FD5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFD6 +; Routine: SubCDFD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7714,9 +7715,9 @@ Label_DFCD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFD6: +SubCDFD6: tax ; CPU:$DFD6 PRG:1FD6 AA - bne Label_DFEE ; CPU:$DFD7 PRG:1FD7 D0 15 + bne SubCDFD6_Block_DFEE ; CPU:$DFD7 PRG:1FD7 D0 15 lda Zp01 ; CPU:$DFD9 PRG:1FD9 A5 01 jsr $E040 ; CPU:$DFDB PRG:1FDB 20 40 E0 sta Zp01 ; CPU:$DFDE PRG:1FDE 85 01 @@ -7727,7 +7728,7 @@ Label_DFD6: jsr $E040 ; CPU:$DFE9 PRG:1FE9 20 40 E0 sta Zp03 ; CPU:$DFEC PRG:1FEC 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DFEE +; Routine: SubCDFD6_Block_DFEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7735,17 +7736,17 @@ Label_DFD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFEE: +SubCDFD6_Block_DFEE: lda Zp97 ; CPU:$DFEE PRG:1FEE A5 97 cmp #$10 ; CPU:$DFF0 PRG:1FF0 C9 10 - bcc Label_E029 ; CPU:$DFF2 PRG:1FF2 90 35 + bcc SubCDFD6_Block_E029 ; CPU:$DFF2 PRG:1FF2 90 35 cmp #$E0 ; CPU:$DFF4 PRG:1FF4 C9 E0 - bcs Label_E029 ; CPU:$DFF6 PRG:1FF6 B0 31 + bcs SubCDFD6_Block_E029 ; CPU:$DFF6 PRG:1FF6 B0 31 lda ZpA5 ; CPU:$DFF8 PRG:1FF8 A5 A5 cmp #$02 ; CPU:$DFFA PRG:1FFA C9 02 - beq Label_E018 ; CPU:$DFFC PRG:1FFC F0 1A + beq SubCDFD6_Block_E018 ; CPU:$DFFC PRG:1FFC F0 1A cmp #$01 ; CPU:$DFFE PRG:1FFE C9 01 - beq Label_E00C ; CPU:$E000 PRG:2000 F0 0A + beq SubCDFD6_Block_E00C ; CPU:$E000 PRG:2000 F0 0A lda Zp01 ; CPU:$E002 PRG:2002 A5 01 clc ; CPU:$E004 PRG:2004 18 adc Zp97 ; CPU:$E005 PRG:2005 65 97 @@ -7753,7 +7754,7 @@ Label_DFEE: dec Zp98 ; CPU:$E009 PRG:2009 C6 98 rts ; CPU:$E00B PRG:200B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E00C +; Routine: SubCDFD6_Block_E00C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7761,7 +7762,7 @@ Label_DFEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E00C: +SubCDFD6_Block_E00C: lda Zp97 ; CPU:$E00C PRG:200C A5 97 clc ; CPU:$E00E PRG:200E 18 adc Zp02 ; CPU:$E00F PRG:200F 65 02 @@ -7771,7 +7772,7 @@ Label_E00C: tax ; CPU:$E016 PRG:2016 AA rts ; CPU:$E017 PRG:2017 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E018 +; Routine: SubCDFD6_Block_E018 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7779,7 +7780,7 @@ Label_E00C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E018: +SubCDFD6_Block_E018: lda Zp97 ; CPU:$E018 PRG:2018 A5 97 clc ; CPU:$E01A PRG:201A 18 adc Zp03 ; CPU:$E01B PRG:201B 65 03 @@ -7792,7 +7793,7 @@ Label_E018: tax ; CPU:$E027 PRG:2027 AA rts ; CPU:$E028 PRG:2028 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E029 +; Routine: SubCDFD6_Block_E029 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7800,17 +7801,17 @@ Label_E018: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E029: +SubCDFD6_Block_E029: lda #$02 ; CPU:$E029 PRG:2029 A9 02 sta ZpFF ; CPU:$E02B PRG:202B 85 FF inc ZpA5 ; CPU:$E02D PRG:202D E6 A5 ldx #$05 ; CPU:$E02F PRG:202F A2 05 lda Zp97 ; CPU:$E031 PRG:2031 A5 97 cmp #$10 ; CPU:$E033 PRG:2033 C9 10 - bcc Label_E039 ; CPU:$E035 PRG:2035 90 02 + bcc SubCDFD6_Block_E039 ; CPU:$E035 PRG:2035 90 02 ldx #$FB ; CPU:$E037 PRG:2037 A2 FB ; ----------------------------------------------------------------------------- -; Routine: Label_E039 +; Routine: SubCDFD6_Block_E039 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7818,14 +7819,14 @@ Label_E029: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E039: +SubCDFD6_Block_E039: txa ; CPU:$E039 PRG:2039 8A clc ; CPU:$E03A PRG:203A 18 adc Zp97 ; CPU:$E03B PRG:203B 65 97 sta Zp97 ; CPU:$E03D PRG:203D 85 97 rts ; CPU:$E03F PRG:203F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E040 +; Routine: SubCE040 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7833,13 +7834,13 @@ Label_E039: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E040: +SubCE040: eor #$FF ; CPU:$E040 PRG:2040 49 FF clc ; CPU:$E042 PRG:2042 18 adc #$01 ; CPU:$E043 PRG:2043 69 01 rts ; CPU:$E045 PRG:2045 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E046 +; Routine: SubCE046 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7847,13 +7848,13 @@ Label_E040: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E046: +SubCE046: lda ZpB7 ; CPU:$E046 PRG:2046 A5 B7 cmp #$08 ; CPU:$E048 PRG:2048 C9 08 - bmi Label_E04D ; CPU:$E04A PRG:204A 30 01 + bmi SubCE046_Block_E04D ; CPU:$E04A PRG:204A 30 01 rts ; CPU:$E04C PRG:204C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E04D +; Routine: SubCE046_Block_E04D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7861,17 +7862,17 @@ Label_E046: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E04D: +SubCE046_Block_E04D: ldx Zp65 ; CPU:$E04D PRG:204D A6 65 lda Zp6E ; CPU:$E04F PRG:204F A5 6E cmp $C4B8,x ; CPU:$E051 PRG:2051 DD B8 C4 - bmi Label_E060 ; CPU:$E054 PRG:2054 30 0A + bmi SubCE046_Block_E060 ; CPU:$E054 PRG:2054 30 0A lda ZpAA ; CPU:$E056 PRG:2056 A5 AA cmp #$90 ; CPU:$E058 PRG:2058 C9 90 - beq Label_E05F ; CPU:$E05A PRG:205A F0 03 + beq SubCE046_Block_E05F ; CPU:$E05A PRG:205A F0 03 jmp $E140 ; CPU:$E05C PRG:205C 4C 40 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E05F +; Routine: SubCE046_Block_E05F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7879,10 +7880,10 @@ Label_E04D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05F: +SubCE046_Block_E05F: rts ; CPU:$E05F PRG:205F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E060 +; Routine: SubCE046_Block_E060 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7890,12 +7891,12 @@ Label_E05F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E060: +SubCE046_Block_E060: lda ZpB6 ; CPU:$E060 PRG:2060 A5 B6 - beq Label_E065 ; CPU:$E062 PRG:2062 F0 01 + beq SubCE046_Block_E065 ; CPU:$E062 PRG:2062 F0 01 rts ; CPU:$E064 PRG:2064 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E065 +; Routine: SubCE046_Block_E065 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7903,14 +7904,14 @@ Label_E060: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E065: +SubCE046_Block_E065: lda ZpAC ; CPU:$E065 PRG:2065 A5 AC - bne Label_E07D ; CPU:$E067 PRG:2067 D0 14 + bne SubCE046_Block_E07D ; CPU:$E067 PRG:2067 D0 14 lda Zp3A ; CPU:$E069 PRG:2069 A5 3A - beq Label_E070 ; CPU:$E06B PRG:206B F0 03 + beq SubCE046_Block_E070 ; CPU:$E06B PRG:206B F0 03 jmp $E140 ; CPU:$E06D PRG:206D 4C 40 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E070 +; Routine: SubCE046_Block_E070 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7918,7 +7919,7 @@ Label_E065: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E070: +SubCE046_Block_E070: lda #$80 ; CPU:$E070 PRG:2070 A9 80 sta Zp3A ; CPU:$E072 PRG:2072 85 3A lda #$00 ; CPU:$E074 PRG:2074 A9 00 @@ -7927,7 +7928,7 @@ Label_E070: sta ZpAC ; CPU:$E07A PRG:207A 85 AC rts ; CPU:$E07C PRG:207C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E07D +; Routine: SubCE046_Block_E07D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7935,13 +7936,13 @@ Label_E070: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E07D: +SubCE046_Block_E07D: lda ZpAB ; CPU:$E07D PRG:207D A5 AB cmp #$21 ; CPU:$E07F PRG:207F C9 21 - bmi Label_E086 ; CPU:$E081 PRG:2081 30 03 + bmi SubCE046_Block_E086 ; CPU:$E081 PRG:2081 30 03 jmp $E125 ; CPU:$E083 PRG:2083 4C 25 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E086 +; Routine: SubCE046_Block_E086 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7949,12 +7950,12 @@ Label_E07D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E086: +SubCE046_Block_E086: cmp #$20 ; CPU:$E086 PRG:2086 C9 20 - beq Label_E08D ; CPU:$E088 PRG:2088 F0 03 + beq SubCE046_Block_E08D ; CPU:$E088 PRG:2088 F0 03 jmp $E134 ; CPU:$E08A PRG:208A 4C 34 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E08D +; Routine: SubCE046_Block_E08D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7962,11 +7963,11 @@ Label_E086: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E08D: +SubCE046_Block_E08D: ldx #$00 ; CPU:$E08D PRG:208D A2 00 ldy #$00 ; CPU:$E08F PRG:208F A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E091 +; Routine: SubCE046_Block_E091 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7974,20 +7975,20 @@ Label_E08D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E091: +SubCE046_Block_E091: lda $02DC,x ; CPU:$E091 PRG:2091 BD DC 02 cmp #$FF ; CPU:$E094 PRG:2094 C9 FF - beq Label_E0A4 ; CPU:$E096 PRG:2096 F0 0C + beq SubCE046_Block_E0A4 ; CPU:$E096 PRG:2096 F0 0C inx ; CPU:$E098 PRG:2098 E8 inx ; CPU:$E099 PRG:2099 E8 inx ; CPU:$E09A PRG:209A E8 inx ; CPU:$E09B PRG:209B E8 iny ; CPU:$E09C PRG:209C C8 cpx #$20 ; CPU:$E09D PRG:209D E0 20 - bmi Label_E091 ; CPU:$E09F PRG:209F 30 F0 + bmi SubCE046_Block_E091 ; CPU:$E09F PRG:209F 30 F0 jmp $E140 ; CPU:$E0A1 PRG:20A1 4C 40 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E0A4 +; Routine: SubCE046_Block_E0A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7995,15 +7996,15 @@ Label_E091: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A4: +SubCE046_Block_E0A4: sty Zp0F ; CPU:$E0A4 PRG:20A4 84 0F lda ZpA9 ; CPU:$E0A6 PRG:20A6 A5 A9 and #$01 ; CPU:$E0A8 PRG:20A8 29 01 - bne Label_E0B1 ; CPU:$E0AA PRG:20AA D0 05 + bne SubCE046_Block_E0B1 ; CPU:$E0AA PRG:20AA D0 05 lda #$F8 ; CPU:$E0AC PRG:20AC A9 F8 jmp $E0B3 ; CPU:$E0AE PRG:20AE 4C B3 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B1 +; Routine: SubCE046_Block_E0B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8011,10 +8012,10 @@ Label_E0A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B1: +SubCE046_Block_E0B1: lda #$08 ; CPU:$E0B1 PRG:20B1 A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B3 +; Routine: SubCE0B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8022,7 +8023,7 @@ Label_E0B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B3: +SubCE0B3: clc ; CPU:$E0B3 PRG:20B3 18 adc ZpAA ; CPU:$E0B4 PRG:20B4 65 AA sta $02DF,x ; CPU:$E0B6 PRG:20B6 9D DF 02 @@ -8034,11 +8035,11 @@ Label_E0B3: sta $02DE,x ; CPU:$E0C4 PRG:20C4 9D DE 02 lda Zp64 ; CPU:$E0C7 PRG:20C7 A5 64 cmp #$04 ; CPU:$E0C9 PRG:20C9 C9 04 - bne Label_E0D2 ; CPU:$E0CB PRG:20CB D0 05 + bne SubCE0B3_Block_E0D2 ; CPU:$E0CB PRG:20CB D0 05 lda #$00 ; CPU:$E0CD PRG:20CD A9 00 sta $02DE,x ; CPU:$E0CF PRG:20CF 9D DE 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D2 +; Routine: SubCE0B3_Block_E0D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8046,15 +8047,15 @@ Label_E0B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D2: +SubCE0B3_Block_E0D2: stx Zp0C ; CPU:$E0D2 PRG:20D2 86 0C ldx Zp64 ; CPU:$E0D4 PRG:20D4 A6 64 - bne Label_E0DE ; CPU:$E0D6 PRG:20D6 D0 06 + bne SubCE0B3_Block_E0DE ; CPU:$E0D6 PRG:20D6 D0 06 lda Zp7B ; CPU:$E0D8 PRG:20D8 A5 7B cmp #$05 ; CPU:$E0DA PRG:20DA C9 05 - bpl Label_E0EB ; CPU:$E0DC PRG:20DC 10 0D + bpl SubCE0B3_Block_E0EB ; CPU:$E0DC PRG:20DC 10 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E0DE +; Routine: SubCE0B3_Block_E0DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8062,14 +8063,14 @@ Label_E0D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0DE: +SubCE0B3_Block_E0DE: lda $C15C,x ; CPU:$E0DE PRG:20DE BD 5C C1 sta Zp00 ; CPU:$E0E1 PRG:20E1 85 00 lda $C15D,x ; CPU:$E0E3 PRG:20E3 BD 5D C1 sta Zp01 ; CPU:$E0E6 PRG:20E6 85 01 jmp $E0F5 ; CPU:$E0E8 PRG:20E8 4C F5 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0EB +; Routine: SubCE0B3_Block_E0EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8077,13 +8078,13 @@ Label_E0DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0EB: +SubCE0B3_Block_E0EB: lda $C162 ; CPU:$E0EB PRG:20EB AD 62 C1 sta Zp00 ; CPU:$E0EE PRG:20EE 85 00 lda $C163 ; CPU:$E0F0 PRG:20F0 AD 63 C1 sta Zp01 ; CPU:$E0F3 PRG:20F3 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E0F5 +; Routine: SubCE0F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8091,7 +8092,7 @@ Label_E0EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0F5: +SubCE0F5: ldy Zp6E ; CPU:$E0F5 PRG:20F5 A4 6E ldx Zp0F ; CPU:$E0F7 PRG:20F7 A6 0F lda (Zp00),y ; CPU:$E0F9 PRG:20F9 B1 00 @@ -8105,7 +8106,7 @@ Label_E0F5: lsr a ; CPU:$E109 PRG:2109 4A tax ; CPU:$E10A PRG:210A AA cpx #$02 ; CPU:$E10B PRG:210B E0 02 - bne Label_E11D ; CPU:$E10D PRG:210D D0 0E + bne SubCE0F5_Block_E11D ; CPU:$E10D PRG:210D D0 0E lda Zp6E ; CPU:$E10F PRG:210F A5 6E sec ; CPU:$E111 PRG:2111 38 sbc #$01 ; CPU:$E112 PRG:2112 E9 01 @@ -8114,7 +8115,7 @@ Label_E0F5: lda $C509,x ; CPU:$E117 PRG:2117 BD 09 C5 jmp $E120 ; CPU:$E11A PRG:211A 4C 20 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E11D +; Routine: SubCE0F5_Block_E11D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8122,10 +8123,10 @@ Label_E0F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E11D: +SubCE0F5_Block_E11D: lda $C507,x ; CPU:$E11D PRG:211D BD 07 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_E120 +; Routine: SubCE120 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8133,11 +8134,11 @@ Label_E11D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E120: +SubCE120: ldx Zp0C ; CPU:$E120 PRG:2120 A6 0C sta $02DD,x ; CPU:$E122 PRG:2122 9D DD 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E125 +; Routine: SubCE125 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8145,15 +8146,15 @@ Label_E120: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E125: +SubCE125: lda Zp43 ; CPU:$E125 PRG:2125 A5 43 cmp #$D0 ; CPU:$E127 PRG:2127 C9 D0 - bcc Label_E131 ; CPU:$E129 PRG:2129 90 06 + bcc SubCE125_Block_E131 ; CPU:$E129 PRG:2129 90 06 lda ZpA9 ; CPU:$E12B PRG:212B A5 A9 eor #$03 ; CPU:$E12D PRG:212D 49 03 sta ZpA9 ; CPU:$E12F PRG:212F 85 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E131 +; Routine: SubCE125_Block_E131 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8161,10 +8162,10 @@ Label_E125: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E131: +SubCE125_Block_E131: jmp $E7F1 ; CPU:$E131 PRG:2131 4C F1 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E134 +; Routine: SubCE134 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8172,7 +8173,7 @@ Label_E131: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E134: +SubCE134: lda Zp64 ; CPU:$E134 PRG:2134 A5 64 lsr a ; CPU:$E136 PRG:2136 4A tax ; CPU:$E137 PRG:2137 AA @@ -8180,7 +8181,7 @@ Label_E134: sta Zp02 ; CPU:$E13B PRG:213B 85 02 jmp $E19D ; CPU:$E13D PRG:213D 4C 9D E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E140 +; Routine: SubCE140 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8188,20 +8189,20 @@ Label_E134: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E140: +SubCE140: lda #$33 ; CPU:$E140 PRG:2140 A9 33 sta Zp01 ; CPU:$E142 PRG:2142 85 01 sta Zp02 ; CPU:$E144 PRG:2144 85 02 lda ZpAB ; CPU:$E146 PRG:2146 A5 AB jsr $E8D8 ; CPU:$E148 PRG:2148 20 D8 E8 - beq Label_E1A4 ; CPU:$E14B PRG:214B F0 57 + beq SubCE19D_Block_E1A4 ; CPU:$E14B PRG:214B F0 57 lda ZpAB ; CPU:$E14D PRG:214D A5 AB cmp ZpAE ; CPU:$E14F PRG:214F C5 AE - bpl Label_E158 ; CPU:$E151 PRG:2151 10 05 + bpl SubCE140_Block_E158 ; CPU:$E151 PRG:2151 10 05 lda ZpAD ; CPU:$E153 PRG:2153 A5 AD jmp $E171 ; CPU:$E155 PRG:2155 4C 71 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E158 +; Routine: SubCE140_Block_E158 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8209,7 +8210,7 @@ Label_E140: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E158: +SubCE140_Block_E158: lda ZpAE ; CPU:$E158 PRG:2158 A5 AE clc ; CPU:$E15A PRG:215A 18 adc #$0A ; CPU:$E15B PRG:215B 69 0A @@ -8217,11 +8218,11 @@ Label_E158: ldx Zp64 ; CPU:$E15F PRG:215F A6 64 lda $C071,x ; CPU:$E161 PRG:2161 BD 71 C0 cmp ZpAD ; CPU:$E164 PRG:2164 C5 AD - bne Label_E16E ; CPU:$E166 PRG:2166 D0 06 + bne SubCE140_Block_E16E ; CPU:$E166 PRG:2166 D0 06 lda $C072,x ; CPU:$E168 PRG:2168 BD 72 C0 jmp $E171 ; CPU:$E16B PRG:216B 4C 71 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E16E +; Routine: SubCE140_Block_E16E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8229,10 +8230,10 @@ Label_E158: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E16E: +SubCE140_Block_E16E: lda $C071,x ; CPU:$E16E PRG:216E BD 71 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E171 +; Routine: SubCE171 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8240,16 +8241,16 @@ Label_E16E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E171: +SubCE171: sta ZpAD ; CPU:$E171 PRG:2171 85 AD sta Zp02 ; CPU:$E173 PRG:2173 85 02 lda ZpA9 ; CPU:$E175 PRG:2175 A5 A9 and #$01 ; CPU:$E177 PRG:2177 29 01 - beq Label_E180 ; CPU:$E179 PRG:2179 F0 05 + beq SubCE171_Block_E180 ; CPU:$E179 PRG:2179 F0 05 inc ZpAA ; CPU:$E17B PRG:217B E6 AA jmp $E182 ; CPU:$E17D PRG:217D 4C 82 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E180 +; Routine: SubCE171_Block_E180 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8257,10 +8258,10 @@ Label_E171: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E180: +SubCE171_Block_E180: dec ZpAA ; CPU:$E180 PRG:2180 C6 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E182 +; Routine: SubCE182 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8268,17 +8269,17 @@ Label_E180: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E182: +SubCE182: txa ; CPU:$E182 PRG:2182 8A lsr a ; CPU:$E183 PRG:2183 4A tax ; CPU:$E184 PRG:2184 AA lda ZpAA ; CPU:$E185 PRG:2185 A5 AA cmp $C4B5,x ; CPU:$E187 PRG:2187 DD B5 C4 - bcs Label_E191 ; CPU:$E18A PRG:218A B0 05 + bcs SubCE182_Block_E191 ; CPU:$E18A PRG:218A B0 05 inc ZpAA ; CPU:$E18C PRG:218C E6 AA jmp $E197 ; CPU:$E18E PRG:218E 4C 97 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E191 +; Routine: SubCE182_Block_E191 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8286,12 +8287,12 @@ Label_E182: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E191: +SubCE182_Block_E191: cmp #$B0 ; CPU:$E191 PRG:2191 C9 B0 - bcc Label_E19D ; CPU:$E193 PRG:2193 90 08 + bcc SubCE19D ; CPU:$E193 PRG:2193 90 08 dec ZpAA ; CPU:$E195 PRG:2195 C6 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E197 +; Routine: SubCE197 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8299,12 +8300,12 @@ Label_E191: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E197: +SubCE197: lda ZpA9 ; CPU:$E197 PRG:2197 A5 A9 eor #$03 ; CPU:$E199 PRG:2199 49 03 sta ZpA9 ; CPU:$E19B PRG:219B 85 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E19D +; Routine: SubCE19D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8312,12 +8313,12 @@ Label_E197: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E19D: +SubCE19D: lda ZpA9 ; CPU:$E19D PRG:219D A5 A9 and #$01 ; CPU:$E19F PRG:219F 29 01 jsr $E80C ; CPU:$E1A1 PRG:21A1 20 0C E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E1A4 +; Routine: SubCE19D_Block_E1A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8325,11 +8326,11 @@ Label_E19D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1A4: +SubCE19D_Block_E1A4: inc ZpAB ; CPU:$E1A4 PRG:21A4 E6 AB rts ; CPU:$E1A6 PRG:21A6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1A7 +; Routine: SubCE1A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8337,11 +8338,11 @@ Label_E1A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1A7: +SubCE1A7: ldx #$00 ; CPU:$E1A7 PRG:21A7 A2 00 stx $040A ; CPU:$E1A9 PRG:21A9 8E 0A 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E1AC +; Routine: SubCE1A7_Block_E1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8349,17 +8350,17 @@ Label_E1A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AC: +SubCE1A7_Block_E1AC: lda $0223,x ; CPU:$E1AC PRG:21AC BD 23 02 cmp #$FF ; CPU:$E1AF PRG:21AF C9 FF - beq Label_E1BE ; CPU:$E1B1 PRG:21B1 F0 0B + beq SubCE1A7_Block_E1BE ; CPU:$E1B1 PRG:21B1 F0 0B lda $0221,x ; CPU:$E1B3 PRG:21B3 BD 21 02 cmp #$A9 ; CPU:$E1B6 PRG:21B6 C9 A9 - bne Label_E1CC ; CPU:$E1B8 PRG:21B8 D0 12 + bne SubCE1A7_Block_E1CC ; CPU:$E1B8 PRG:21B8 D0 12 lda Zp3E ; CPU:$E1BA PRG:21BA A5 3E - bne Label_E1F3 ; CPU:$E1BC PRG:21BC D0 35 + bne SubCE1F3 ; CPU:$E1BC PRG:21BC D0 35 ; ----------------------------------------------------------------------------- -; Routine: Label_E1BE +; Routine: SubCE1A7_Block_E1BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8367,14 +8368,14 @@ Label_E1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1BE: +SubCE1A7_Block_E1BE: lda #$FF ; CPU:$E1BE PRG:21BE A9 FF sta $0220,x ; CPU:$E1C0 PRG:21C0 9D 20 02 sta $0221,x ; CPU:$E1C3 PRG:21C3 9D 21 02 sta $0223,x ; CPU:$E1C6 PRG:21C6 9D 23 02 jmp $E1F3 ; CPU:$E1C9 PRG:21C9 4C F3 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1CC +; Routine: SubCE1A7_Block_E1CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8382,7 +8383,7 @@ Label_E1BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1CC: +SubCE1A7_Block_E1CC: sta $040A ; CPU:$E1CC PRG:21CC 8D 0A 04 lda $0222,x ; CPU:$E1CF PRG:21CF BD 22 02 and #$3F ; CPU:$E1D2 PRG:21D2 29 3F @@ -8395,11 +8396,11 @@ Label_E1CC: sta $0222,x ; CPU:$E1E1 PRG:21E1 9D 22 02 lda ZpE2 ; CPU:$E1E4 PRG:21E4 A5 E2 and #$80 ; CPU:$E1E6 PRG:21E6 29 80 - beq Label_E1F0 ; CPU:$E1E8 PRG:21E8 F0 06 + beq SubCE1A7_Block_E1F0 ; CPU:$E1E8 PRG:21E8 F0 06 dec $0223,x ; CPU:$E1EA PRG:21EA DE 23 02 jmp $E1F3 ; CPU:$E1ED PRG:21ED 4C F3 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F0 +; Routine: SubCE1A7_Block_E1F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8407,10 +8408,10 @@ Label_E1CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F0: +SubCE1A7_Block_E1F0: inc $0223,x ; CPU:$E1F0 PRG:21F0 FE 23 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F3 +; Routine: SubCE1F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8418,16 +8419,16 @@ Label_E1F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F3: +SubCE1F3: inx ; CPU:$E1F3 PRG:21F3 E8 inx ; CPU:$E1F4 PRG:21F4 E8 inx ; CPU:$E1F5 PRG:21F5 E8 inx ; CPU:$E1F6 PRG:21F6 E8 cpx #$10 ; CPU:$E1F7 PRG:21F7 E0 10 - bmi Label_E1AC ; CPU:$E1F9 PRG:21F9 30 B1 + bmi SubCE1A7_Block_E1AC ; CPU:$E1F9 PRG:21F9 30 B1 rts ; CPU:$E1FB PRG:21FB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1FC +; Routine: SubCE1FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8435,22 +8436,22 @@ Label_E1F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1FC: +SubCE1FC: lda Zp6F ; CPU:$E1FC PRG:21FC A5 6F - beq Label_E232 ; CPU:$E1FE PRG:21FE F0 32 + beq SubCE223_Block_E232 ; CPU:$E1FE PRG:21FE F0 32 lda Zp45 ; CPU:$E200 PRG:2200 A5 45 - bne Label_E232 ; CPU:$E202 PRG:2202 D0 2E + bne SubCE223_Block_E232 ; CPU:$E202 PRG:2202 D0 2E lda #$20 ; CPU:$E204 PRG:2204 A9 20 sta Zp45 ; CPU:$E206 PRG:2206 85 45 lda Zp6F ; CPU:$E208 PRG:2208 A5 6F and #$02 ; CPU:$E20A PRG:220A 29 02 - bne Label_E21A ; CPU:$E20C PRG:220C D0 0C + bne SubCE1FC_Block_E21A ; CPU:$E20C PRG:220C D0 0C jsr $E240 ; CPU:$E20E PRG:220E 20 40 E2 jsr $E24D ; CPU:$E211 PRG:2211 20 4D E2 jsr $E233 ; CPU:$E214 PRG:2214 20 33 E2 jmp $E223 ; CPU:$E217 PRG:2217 4C 23 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E21A +; Routine: SubCE1FC_Block_E21A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8458,12 +8459,12 @@ Label_E1FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E21A: +SubCE1FC_Block_E21A: jsr $E233 ; CPU:$E21A PRG:221A 20 33 E2 jsr $E24D ; CPU:$E21D PRG:221D 20 4D E2 jsr $E240 ; CPU:$E220 PRG:2220 20 40 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E223 +; Routine: SubCE223 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8471,16 +8472,16 @@ Label_E21A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E223: +SubCE223: jsr $E258 ; CPU:$E223 PRG:2223 20 58 E2 lda Zp64 ; CPU:$E226 PRG:2226 A5 64 cmp #$02 ; CPU:$E228 PRG:2228 C9 02 - beq Label_E232 ; CPU:$E22A PRG:222A F0 06 + beq SubCE223_Block_E232 ; CPU:$E22A PRG:222A F0 06 lda Zp6F ; CPU:$E22C PRG:222C A5 6F eor #$06 ; CPU:$E22E PRG:222E 49 06 sta Zp6F ; CPU:$E230 PRG:2230 85 6F ; ----------------------------------------------------------------------------- -; Routine: Label_E232 +; Routine: SubCE223_Block_E232 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8488,10 +8489,10 @@ Label_E223: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E232: +SubCE223_Block_E232: rts ; CPU:$E232 PRG:2232 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E233 +; Routine: SubCE233 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8499,7 +8500,7 @@ Label_E232: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E233: +SubCE233: ldx Zp64 ; CPU:$E233 PRG:2233 A6 64 lda $C3DD,x ; CPU:$E235 PRG:2235 BD DD C3 sta Zp00 ; CPU:$E238 PRG:2238 85 00 @@ -8507,7 +8508,7 @@ Label_E233: sta Zp01 ; CPU:$E23D PRG:223D 85 01 rts ; CPU:$E23F PRG:223F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E240 +; Routine: SubCE240 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8515,7 +8516,7 @@ Label_E233: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E240: +SubCE240: ldx Zp64 ; CPU:$E240 PRG:2240 A6 64 lda $C3E3,x ; CPU:$E242 PRG:2242 BD E3 C3 sta Zp00 ; CPU:$E245 PRG:2245 85 00 @@ -8523,7 +8524,7 @@ Label_E240: sta Zp01 ; CPU:$E24A PRG:224A 85 01 rts ; CPU:$E24C PRG:224C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E24D +; Routine: SubCE24D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8531,13 +8532,13 @@ Label_E240: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E24D: +SubCE24D: lda $C3D1,x ; CPU:$E24D PRG:224D BD D1 C3 sta Zp02 ; CPU:$E250 PRG:2250 85 02 lda $C3D2,x ; CPU:$E252 PRG:2252 BD D2 C3 jmp $E260 ; CPU:$E255 PRG:2255 4C 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E258 +; Routine: SubCE258 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8545,12 +8546,12 @@ Label_E24D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E258: +SubCE258: lda $C3D7,x ; CPU:$E258 PRG:2258 BD D7 C3 sta Zp02 ; CPU:$E25B PRG:225B 85 02 lda $C3D8,x ; CPU:$E25D PRG:225D BD D8 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E260 +; Routine: SubCE260 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8558,11 +8559,11 @@ Label_E258: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E260: +SubCE260: sta Zp03 ; CPU:$E260 PRG:2260 85 03 jmp $EDF5 ; CPU:$E262 PRG:2262 4C F5 ED ; ----------------------------------------------------------------------------- -; Routine: Label_E265 +; Routine: SubCE265 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8570,9 +8571,9 @@ Label_E260: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E265: +SubCE265: lda ZpE0 ; CPU:$E265 PRG:2265 A5 E0 - bne Label_E2A3 ; CPU:$E267 PRG:2267 D0 3A + bne SubCE296_Block_E2A3 ; CPU:$E267 PRG:2267 D0 3A ldx Zp64 ; CPU:$E269 PRG:2269 A6 64 lda $C1FF,x ; CPU:$E26B PRG:226B BD FF C1 sta Zp00 ; CPU:$E26E PRG:226E 85 00 @@ -8590,7 +8591,7 @@ Label_E265: ldy #$00 ; CPU:$E28B PRG:228B A0 00 sty Zp0B ; CPU:$E28D PRG:228D 84 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E28F +; Routine: SubCE265_Block_E28F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8598,12 +8599,12 @@ Label_E265: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E28F: +SubCE265_Block_E28F: lda $02DC,y ; CPU:$E28F PRG:228F B9 DC 02 cmp #$FF ; CPU:$E292 PRG:2292 C9 FF - bne Label_E2A4 ; CPU:$E294 PRG:2294 D0 0E + bne SubCE296_Block_E2A4 ; CPU:$E294 PRG:2294 D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E296 +; Routine: SubCE296 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8611,7 +8612,7 @@ Label_E28F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E296: +SubCE296: ldy Zp0B ; CPU:$E296 PRG:2296 A4 0B iny ; CPU:$E298 PRG:2298 C8 iny ; CPU:$E299 PRG:2299 C8 @@ -8620,9 +8621,9 @@ Label_E296: sty Zp0B ; CPU:$E29C PRG:229C 84 0B inx ; CPU:$E29E PRG:229E E8 cpx #$08 ; CPU:$E29F PRG:229F E0 08 - bmi Label_E28F ; CPU:$E2A1 PRG:22A1 30 EC + bmi SubCE265_Block_E28F ; CPU:$E2A1 PRG:22A1 30 EC ; ----------------------------------------------------------------------------- -; Routine: Label_E2A3 +; Routine: SubCE296_Block_E2A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8630,10 +8631,10 @@ Label_E296: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A3: +SubCE296_Block_E2A3: rts ; CPU:$E2A3 PRG:22A3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2A4 +; Routine: SubCE296_Block_E2A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8641,12 +8642,12 @@ Label_E2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A4: +SubCE296_Block_E2A4: sta Zp0A ; CPU:$E2A4 PRG:22A4 85 0A cmp #$50 ; CPU:$E2A6 PRG:22A6 C9 50 - bcs Label_E2BC ; CPU:$E2A8 PRG:22A8 B0 12 + bcs SubCE296_Block_E2BC ; CPU:$E2A8 PRG:22A8 B0 12 lda Zp64 ; CPU:$E2AA PRG:22AA A5 64 - bne Label_E2BC ; CPU:$E2AC PRG:22AC D0 0E + bne SubCE296_Block_E2BC ; CPU:$E2AC PRG:22AC D0 0E lda #$10 ; CPU:$E2AE PRG:22AE A9 10 sta Zp0E ; CPU:$E2B0 PRG:22B0 85 0E lda #$01 ; CPU:$E2B2 PRG:22B2 A9 01 @@ -8654,7 +8655,7 @@ Label_E2A4: jsr $E389 ; CPU:$E2B6 PRG:22B6 20 89 E3 jmp $E34E ; CPU:$E2B9 PRG:22B9 4C 4E E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E2BC +; Routine: SubCE296_Block_E2BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8662,17 +8663,17 @@ Label_E2A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2BC: +SubCE296_Block_E2BC: ldy Zp0B ; CPU:$E2BC PRG:22BC A4 0B lda $02DC,y ; CPU:$E2BE PRG:22BE B9 DC 02 cmp #$CA ; CPU:$E2C1 PRG:22C1 C9 CA - bcc Label_E2DD ; CPU:$E2C3 PRG:22C3 90 18 + bcc SubCE296_Block_E2DD ; CPU:$E2C3 PRG:22C3 90 18 cmp #$EF ; CPU:$E2C5 PRG:22C5 C9 EF - bcs Label_E2CD ; CPU:$E2C7 PRG:22C7 B0 04 + bcs SubCE296_Block_E2CD ; CPU:$E2C7 PRG:22C7 B0 04 lda #$40 ; CPU:$E2C9 PRG:22C9 A9 40 sta ZpFC ; CPU:$E2CB PRG:22CB 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_E2CD +; Routine: SubCE296_Block_E2CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8680,7 +8681,7 @@ Label_E2BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2CD: +SubCE296_Block_E2CD: lda #$00 ; CPU:$E2CD PRG:22CD A9 00 sta ZpD8,x ; CPU:$E2CF PRG:22CF 95 D8 sta ZpD0,x ; CPU:$E2D1 PRG:22D1 95 D0 @@ -8689,7 +8690,7 @@ Label_E2CD: jsr $E410 ; CPU:$E2D7 PRG:22D7 20 10 E4 jmp $E296 ; CPU:$E2DA PRG:22DA 4C 96 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2DD +; Routine: SubCE296_Block_E2DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8697,7 +8698,7 @@ Label_E2CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2DD: +SubCE296_Block_E2DD: lda ZpB8,x ; CPU:$E2DD PRG:22DD B5 B8 and #$F0 ; CPU:$E2DF PRG:22DF 29 F0 lsr a ; CPU:$E2E1 PRG:22E1 4A @@ -8710,7 +8711,7 @@ Label_E2DD: and #$0F ; CPU:$E2EA PRG:22EA 29 0F sta Zp09 ; CPU:$E2EC PRG:22EC 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E2EE +; Routine: SubCE2EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8718,15 +8719,15 @@ Label_E2DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2EE: +SubCE2EE: lda (Zp00),y ; CPU:$E2EE PRG:22EE B1 00 cmp Zp0A ; CPU:$E2F0 PRG:22F0 C5 0A - bcs Label_E2FA ; CPU:$E2F2 PRG:22F2 B0 06 + bcs SubCE2EE_Block_E2FA ; CPU:$E2F2 PRG:22F2 B0 06 iny ; CPU:$E2F4 PRG:22F4 C8 sty Zp08 ; CPU:$E2F5 PRG:22F5 84 08 jmp $E2EE ; CPU:$E2F7 PRG:22F7 4C EE E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2FA +; Routine: SubCE2EE_Block_E2FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8734,19 +8735,19 @@ Label_E2EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2FA: +SubCE2EE_Block_E2FA: lda Zp64 ; CPU:$E2FA PRG:22FA A5 64 - bne Label_E327 ; CPU:$E2FC PRG:22FC D0 29 + bne SubCE313_Block_E327 ; CPU:$E2FC PRG:22FC D0 29 cpy #$04 ; CPU:$E2FE PRG:22FE C0 04 - bpl Label_E327 ; CPU:$E300 PRG:2300 10 25 + bpl SubCE313_Block_E327 ; CPU:$E300 PRG:2300 10 25 lda (Zp00),y ; CPU:$E302 PRG:2302 B1 00 cpy #$00 ; CPU:$E304 PRG:2304 C0 00 - bne Label_E30E ; CPU:$E306 PRG:2306 D0 06 + bne SubCE2EE_Block_E30E ; CPU:$E306 PRG:2306 D0 06 sec ; CPU:$E308 PRG:2308 38 sbc #$50 ; CPU:$E309 PRG:2309 E9 50 jmp $E313 ; CPU:$E30B PRG:230B 4C 13 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E30E +; Routine: SubCE2EE_Block_E30E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8754,13 +8755,13 @@ Label_E2FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E30E: +SubCE2EE_Block_E30E: dey ; CPU:$E30E PRG:230E 88 sec ; CPU:$E30F PRG:230F 38 sbc (Zp00),y ; CPU:$E310 PRG:2310 F1 00 iny ; CPU:$E312 PRG:2312 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E313 +; Routine: SubCE313 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8768,17 +8769,17 @@ Label_E30E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E313: +SubCE313: sta Zp0E ; CPU:$E313 PRG:2313 85 0E ldy Zp08 ; CPU:$E315 PRG:2315 A4 08 lda (Zp02),y ; CPU:$E317 PRG:2317 B1 02 sta Zp0F ; CPU:$E319 PRG:2319 85 0F lda Zp43 ; CPU:$E31B PRG:231B A5 43 and #$01 ; CPU:$E31D PRG:231D 29 01 - beq Label_E324 ; CPU:$E31F PRG:231F F0 03 + beq SubCE313_Block_E324 ; CPU:$E31F PRG:231F F0 03 jsr $E389 ; CPU:$E321 PRG:2321 20 89 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E324 +; Routine: SubCE313_Block_E324 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8786,10 +8787,10 @@ Label_E313: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E324: +SubCE313_Block_E324: jmp $E34E ; CPU:$E324 PRG:2324 4C 4E E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E327 +; Routine: SubCE313_Block_E327 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8797,15 +8798,15 @@ Label_E324: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E327: +SubCE313_Block_E327: lda ZpC8,x ; CPU:$E327 PRG:2327 B5 C8 clc ; CPU:$E329 PRG:2329 18 adc (Zp02),y ; CPU:$E32A PRG:232A 71 02 sta ZpC8,x ; CPU:$E32C PRG:232C 95 C8 - bcs Label_E333 ; CPU:$E32E PRG:232E B0 03 + bcs SubCE313_Block_E333 ; CPU:$E32E PRG:232E B0 03 jmp $E296 ; CPU:$E330 PRG:2330 4C 96 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E333 +; Routine: SubCE313_Block_E333 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8813,7 +8814,7 @@ Label_E327: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E333: +SubCE313_Block_E333: ldy Zp08 ; CPU:$E333 PRG:2333 A4 08 lda (Zp04),y ; CPU:$E335 PRG:2335 B1 04 sta Zp0D ; CPU:$E337 PRG:2337 85 0D @@ -8824,10 +8825,10 @@ Label_E333: adc #$01 ; CPU:$E342 PRG:2342 69 01 sta $02DC,y ; CPU:$E344 PRG:2344 99 DC 02 lda Zp64 ; CPU:$E347 PRG:2347 A5 64 - beq Label_E34E ; CPU:$E349 PRG:2349 F0 03 + beq SubCE34E ; CPU:$E349 PRG:2349 F0 03 jmp $E296 ; CPU:$E34B PRG:234B 4C 96 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E34E +; Routine: SubCE34E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8835,16 +8836,16 @@ Label_E333: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E34E: +SubCE34E: ldy Zp0B ; CPU:$E34E PRG:234E A4 0B lda ZpC0,x ; CPU:$E350 PRG:2350 B5 C0 and #$01 ; CPU:$E352 PRG:2352 29 01 - bne Label_E35E ; CPU:$E354 PRG:2354 D0 08 + bne SubCE34E_Block_E35E ; CPU:$E354 PRG:2354 D0 08 lda $02DE,y ; CPU:$E356 PRG:2356 B9 DE 02 and #$3F ; CPU:$E359 PRG:2359 29 3F jmp $E365 ; CPU:$E35B PRG:235B 4C 65 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E35E +; Routine: SubCE34E_Block_E35E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8852,12 +8853,12 @@ Label_E34E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E35E: +SubCE34E_Block_E35E: lda $02DE,y ; CPU:$E35E PRG:235E B9 DE 02 and #$3F ; CPU:$E361 PRG:2361 29 3F ora #$40 ; CPU:$E363 PRG:2363 09 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E365 +; Routine: SubCE365 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8865,14 +8866,14 @@ Label_E35E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E365: +SubCE365: sta $02DE,y ; CPU:$E365 PRG:2365 99 DE 02 lda ZpD8,x ; CPU:$E368 PRG:2368 B5 D8 - bne Label_E371 ; CPU:$E36A PRG:236A D0 05 + bne SubCE365_Block_E371 ; CPU:$E36A PRG:236A D0 05 lda #$46 ; CPU:$E36C PRG:236C A9 46 jmp $E381 ; CPU:$E36E PRG:236E 4C 81 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E371 +; Routine: SubCE365_Block_E371 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8880,15 +8881,15 @@ Label_E365: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E371: +SubCE365_Block_E371: ldy Zp0B ; CPU:$E371 PRG:2371 A4 0B lda $02DC,y ; CPU:$E373 PRG:2373 B9 DC 02 and #$04 ; CPU:$E376 PRG:2376 29 04 - bne Label_E37F ; CPU:$E378 PRG:2378 D0 05 + bne SubCE365_Block_E37F ; CPU:$E378 PRG:2378 D0 05 lda #$47 ; CPU:$E37A PRG:237A A9 47 jmp $E381 ; CPU:$E37C PRG:237C 4C 81 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E37F +; Routine: SubCE365_Block_E37F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8896,10 +8897,10 @@ Label_E371: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E37F: +SubCE365_Block_E37F: lda #$48 ; CPU:$E37F PRG:237F A9 48 ; ----------------------------------------------------------------------------- -; Routine: Label_E381 +; Routine: SubCE381 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8907,12 +8908,12 @@ Label_E37F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E381: +SubCE381: ldy Zp0B ; CPU:$E381 PRG:2381 A4 0B sta $02DD,y ; CPU:$E383 PRG:2383 99 DD 02 jmp $E296 ; CPU:$E386 PRG:2386 4C 96 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E389 +; Routine: SubCE389 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8920,23 +8921,23 @@ Label_E381: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E389: +SubCE389: lda Zp0E ; CPU:$E389 PRG:2389 A5 0E lsr a ; CPU:$E38B PRG:238B 4A lsr a ; CPU:$E38C PRG:238C 4A cmp ZpD8,x ; CPU:$E38D PRG:238D D5 D8 - bpl Label_E3AB ; CPU:$E38F PRG:238F 10 1A + bpl SubCE3AB ; CPU:$E38F PRG:238F 10 1A lda #$00 ; CPU:$E391 PRG:2391 A9 00 sta ZpD8,x ; CPU:$E393 PRG:2393 95 D8 sta ZpD0,x ; CPU:$E395 PRG:2395 95 D0 lda ZpC0,x ; CPU:$E397 PRG:2397 B5 C0 bit $C06F ; CPU:$E399 PRG:2399 2C 6F C0 - beq Label_E3A5 ; CPU:$E39C PRG:239C F0 07 + beq SubCE389_Block_E3A5 ; CPU:$E39C PRG:239C F0 07 and #$BF ; CPU:$E39E PRG:239E 29 BF sta ZpC0,x ; CPU:$E3A0 PRG:23A0 95 C0 jmp $E3AB ; CPU:$E3A2 PRG:23A2 4C AB E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3A5 +; Routine: SubCE389_Block_E3A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8944,12 +8945,12 @@ Label_E389: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3A5: +SubCE389_Block_E3A5: ora #$40 ; CPU:$E3A5 PRG:23A5 09 40 eor #$03 ; CPU:$E3A7 PRG:23A7 49 03 sta ZpC0,x ; CPU:$E3A9 PRG:23A9 95 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E3AB +; Routine: SubCE3AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8957,15 +8958,15 @@ Label_E3A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3AB: +SubCE3AB: ldy ZpD8,x ; CPU:$E3AB PRG:23AB B4 D8 lda $C21D,y ; CPU:$E3AD PRG:23AD B9 1D C2 cmp ZpD0,x ; CPU:$E3B0 PRG:23B0 D5 D0 - bne Label_E3B7 ; CPU:$E3B2 PRG:23B2 D0 03 + bne SubCE3AB_Block_E3B7 ; CPU:$E3B2 PRG:23B2 D0 03 inc ZpD0,x ; CPU:$E3B4 PRG:23B4 F6 D0 rts ; CPU:$E3B6 PRG:23B6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3B7 +; Routine: SubCE3AB_Block_E3B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8973,13 +8974,13 @@ Label_E3AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3B7: - bmi Label_E3C0 ; CPU:$E3B7 PRG:23B7 30 07 +SubCE3AB_Block_E3B7: + bmi SubCE3AB_Block_E3C0 ; CPU:$E3B7 PRG:23B7 30 07 lda #$01 ; CPU:$E3B9 PRG:23B9 A9 01 inc ZpD0,x ; CPU:$E3BB PRG:23BB F6 D0 jmp $E3D8 ; CPU:$E3BD PRG:23BD 4C D8 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C0 +; Routine: SubCE3AB_Block_E3C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8987,14 +8988,14 @@ Label_E3B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C0: +SubCE3AB_Block_E3C0: lda Zp0F ; CPU:$E3C0 PRG:23C0 A5 0F cmp ZpD0,x ; CPU:$E3C2 PRG:23C2 D5 D0 - bmi Label_E3C9 ; CPU:$E3C4 PRG:23C4 30 03 + bmi SubCE3AB_Block_E3C9 ; CPU:$E3C4 PRG:23C4 30 03 inc ZpD0,x ; CPU:$E3C6 PRG:23C6 F6 D0 rts ; CPU:$E3C8 PRG:23C8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C9 +; Routine: SubCE3AB_Block_E3C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9002,7 +9003,7 @@ Label_E3C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C9: +SubCE3AB_Block_E3C9: inc ZpD8,x ; CPU:$E3C9 PRG:23C9 F6 D8 lda #$00 ; CPU:$E3CB PRG:23CB A9 00 sta ZpD0,x ; CPU:$E3CD PRG:23CD 95 D0 @@ -9012,7 +9013,7 @@ Label_E3C9: tax ; CPU:$E3D5 PRG:23D5 AA lda #$00 ; CPU:$E3D6 PRG:23D6 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E3D8 +; Routine: SubCE3D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9020,14 +9021,14 @@ Label_E3C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3D8: +SubCE3D8: sta Zp0D ; CPU:$E3D8 PRG:23D8 85 0D jmp $E3F4 ; CPU:$E3DA PRG:23DA 4C F4 E3 ; ---- data $E3DD-$E3F3 (23 bytes) ---- .byte $B4, $D8, $B9, $1D, $C2, $38, $F5, $D0, $85, $0D, $A9, $00, $95, $D0, $F6, $D8 ; CPU:$E3DD PRG:23DD B4 D8 B9 1D C2 38 F5 D0 85 0D A9 00 95 D0 F6 D8 .byte $8A, $A6, $0B, $FE, $DC, $02, $AA ; CPU:$E3ED PRG:23ED 8A A6 0B FE DC 02 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E3F4 +; Routine: SubCE3F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9035,17 +9036,17 @@ Label_E3D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3F4: +SubCE3F4: lda ZpC0,x ; CPU:$E3F4 PRG:23F4 B5 C0 and #$01 ; CPU:$E3F6 PRG:23F6 29 01 - bne Label_E404 ; CPU:$E3F8 PRG:23F8 D0 0A + bne SubCE3F4_Block_E404 ; CPU:$E3F8 PRG:23F8 D0 0A lda Zp0D ; CPU:$E3FA PRG:23FA A5 0D eor #$FF ; CPU:$E3FC PRG:23FC 49 FF clc ; CPU:$E3FE PRG:23FE 18 adc #$01 ; CPU:$E3FF PRG:23FF 69 01 jmp $E406 ; CPU:$E401 PRG:2401 4C 06 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E404 +; Routine: SubCE3F4_Block_E404 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9053,10 +9054,10 @@ Label_E3F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E404: +SubCE3F4_Block_E404: lda Zp0D ; CPU:$E404 PRG:2404 A5 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E406 +; Routine: SubCE406 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9064,14 +9065,14 @@ Label_E404: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E406: +SubCE406: ldy Zp0B ; CPU:$E406 PRG:2406 A4 0B clc ; CPU:$E408 PRG:2408 18 adc $02DF,y ; CPU:$E409 PRG:2409 79 DF 02 sta $02DF,y ; CPU:$E40C PRG:240C 99 DF 02 rts ; CPU:$E40F PRG:240F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E410 +; Routine: SubCE410 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9079,15 +9080,15 @@ Label_E406: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E410: +SubCE410: lda Zp4D,x ; CPU:$E410 PRG:2410 B5 4D - beq Label_E43E ; CPU:$E412 PRG:2412 F0 2A + beq SubCE410_Block_E43E ; CPU:$E412 PRG:2412 F0 2A lda Zp64 ; CPU:$E414 PRG:2414 A5 64 - bne Label_E41D ; CPU:$E416 PRG:2416 D0 05 + bne SubCE410_Block_E41D ; CPU:$E416 PRG:2416 D0 05 lda #$46 ; CPU:$E418 PRG:2418 A9 46 sta $02DD,y ; CPU:$E41A PRG:241A 99 DD 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E41D +; Routine: SubCE410_Block_E41D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9095,7 +9096,7 @@ Label_E410: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E41D: +SubCE410_Block_E41D: lda Zp4D,x ; CPU:$E41D PRG:241D B5 4D and #$02 ; CPU:$E41F PRG:241F 29 02 clc ; CPU:$E421 PRG:2421 18 @@ -9103,13 +9104,13 @@ Label_E41D: sta $02DE,y ; CPU:$E424 PRG:2424 99 DE 02 lda Zp64 ; CPU:$E427 PRG:2427 A5 64 cmp #$04 ; CPU:$E429 PRG:2429 C9 04 - bne Label_E436 ; CPU:$E42B PRG:242B D0 09 + bne SubCE410_Block_E436 ; CPU:$E42B PRG:242B D0 09 lda $02DE,y ; CPU:$E42D PRG:242D B9 DE 02 sec ; CPU:$E430 PRG:2430 38 sbc #$02 ; CPU:$E431 PRG:2431 E9 02 sta $02DE,y ; CPU:$E433 PRG:2433 99 DE 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E436 +; Routine: SubCE410_Block_E436 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9117,13 +9118,13 @@ Label_E41D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E436: +SubCE410_Block_E436: lda $02DC,y ; CPU:$E436 PRG:2436 B9 DC 02 cmp #$D2 ; CPU:$E439 PRG:2439 C9 D2 - bcs Label_E44C ; CPU:$E43B PRG:243B B0 0F + bcs SubCE410_Block_E44C ; CPU:$E43B PRG:243B B0 0F rts ; CPU:$E43D PRG:243D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E43E +; Routine: SubCE410_Block_E43E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9131,7 +9132,7 @@ Label_E436: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E43E: +SubCE410_Block_E43E: lda #$0A ; CPU:$E43E PRG:243E A9 0A sta Zp4D,x ; CPU:$E440 PRG:2440 95 4D lda $02DC,y ; CPU:$E442 PRG:2442 B9 DC 02 @@ -9140,7 +9141,7 @@ Label_E43E: sta $02DC,y ; CPU:$E448 PRG:2448 99 DC 02 rts ; CPU:$E44B PRG:244B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E44C +; Routine: SubCE410_Block_E44C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9148,7 +9149,7 @@ Label_E43E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E44C: +SubCE410_Block_E44C: lda #$40 ; CPU:$E44C PRG:244C A9 40 sta Zp3B ; CPU:$E44E PRG:244E 85 3B lda #$01 ; CPU:$E450 PRG:2450 A9 01 @@ -9178,7 +9179,7 @@ Label_E44C: tax ; CPU:$E486 PRG:2486 AA rts ; CPU:$E487 PRG:2487 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E488 +; Routine: SubCE488 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9186,21 +9187,21 @@ Label_E44C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E488: +SubCE488: lda #$80 ; CPU:$E488 PRG:2488 A9 80 sta ZpFB ; CPU:$E48A PRG:248A 85 FB ldx ZpB5 ; CPU:$E48C PRG:248C A6 B5 lda Zp3D ; CPU:$E48E PRG:248E A5 3D - beq Label_E4A3 ; CPU:$E490 PRG:2490 F0 11 + beq SubCE488_Block_E4A3 ; CPU:$E490 PRG:2490 F0 11 cmp #$10 ; CPU:$E492 PRG:2492 C9 10 - bne Label_E4B3 ; CPU:$E494 PRG:2494 D0 1D + bne SubCE488_Block_E4B3 ; CPU:$E494 PRG:2494 D0 1D inc $02DF,x ; CPU:$E496 PRG:2496 FE DF 02 inc $02DF,x ; CPU:$E499 PRG:2499 FE DF 02 dec $02FF ; CPU:$E49C PRG:249C CE FF 02 dec $02FF ; CPU:$E49F PRG:249F CE FF 02 rts ; CPU:$E4A2 PRG:24A2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4A3 +; Routine: SubCE488_Block_E4A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9208,7 +9209,7 @@ Label_E488: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4A3: +SubCE488_Block_E4A3: lda #$20 ; CPU:$E4A3 PRG:24A3 A9 20 sta Zp3D ; CPU:$E4A5 PRG:24A5 85 3D dec $02DF,x ; CPU:$E4A7 PRG:24A7 DE DF 02 @@ -9216,7 +9217,7 @@ Label_E4A3: inc $02FF ; CPU:$E4AD PRG:24AD EE FF 02 inc $02FF ; CPU:$E4B0 PRG:24B0 EE FF 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B3 +; Routine: SubCE488_Block_E4B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9224,10 +9225,10 @@ Label_E4A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B3: +SubCE488_Block_E4B3: rts ; CPU:$E4B3 PRG:24B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B4 +; Routine: SubCE4B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9235,19 +9236,19 @@ Label_E4B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B4: +SubCE4B4: ldx #$FC ; CPU:$E4B4 PRG:24B4 A2 FC lda ZpB1 ; CPU:$E4B6 PRG:24B6 A5 B1 - beq Label_E4D1 ; CPU:$E4B8 PRG:24B8 F0 17 + beq SubCE4B4_Block_E4D1 ; CPU:$E4B8 PRG:24B8 F0 17 lda Zp40 ; CPU:$E4BA PRG:24BA A5 40 - beq Label_E4D1 ; CPU:$E4BC PRG:24BC F0 13 + beq SubCE4B4_Block_E4D1 ; CPU:$E4BC PRG:24BC F0 13 cmp #$12 ; CPU:$E4BE PRG:24BE C9 12 - bcs Label_E4C8 ; CPU:$E4C0 PRG:24C0 B0 06 + bcs SubCE4B4_Block_E4C8 ; CPU:$E4C0 PRG:24C0 B0 06 cmp #$11 ; CPU:$E4C2 PRG:24C2 C9 11 - bcs Label_E4CE ; CPU:$E4C4 PRG:24C4 B0 08 + bcs SubCE4B4_Block_E4CE ; CPU:$E4C4 PRG:24C4 B0 08 ldx #$02 ; CPU:$E4C6 PRG:24C6 A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E4C8 +; Routine: SubCE4B4_Block_E4C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9255,13 +9256,13 @@ Label_E4B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4C8: +SubCE4B4_Block_E4C8: txa ; CPU:$E4C8 PRG:24C8 8A clc ; CPU:$E4C9 PRG:24C9 18 adc ZpB2 ; CPU:$E4CA PRG:24CA 65 B2 sta ZpB2 ; CPU:$E4CC PRG:24CC 85 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_E4CE +; Routine: SubCE4B4_Block_E4CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9269,10 +9270,10 @@ Label_E4C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4CE: +SubCE4B4_Block_E4CE: jmp $E872 ; CPU:$E4CE PRG:24CE 4C 72 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D1 +; Routine: SubCE4B4_Block_E4D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9280,11 +9281,11 @@ Label_E4CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D1: +SubCE4B4_Block_E4D1: sta ZpB1 ; CPU:$E4D1 PRG:24D1 85 B1 rts ; CPU:$E4D3 PRG:24D3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D4 +; Routine: SubCE4D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9292,22 +9293,22 @@ Label_E4D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D4: +SubCE4D4: lda ZpB0 ; CPU:$E4D4 PRG:24D4 A5 B0 cmp #$F1 ; CPU:$E4D6 PRG:24D6 C9 F1 - beq Label_E4F3 ; CPU:$E4D8 PRG:24D8 F0 19 + beq SubCE4D4_Block_E4F3 ; CPU:$E4D8 PRG:24D8 F0 19 lda ZpB3 ; CPU:$E4DA PRG:24DA A5 B3 - beq Label_E4F3 ; CPU:$E4DC PRG:24DC F0 15 + beq SubCE4D4_Block_E4F3 ; CPU:$E4DC PRG:24DC F0 15 lda Zp40 ; CPU:$E4DE PRG:24DE A5 40 cmp #$08 ; CPU:$E4E0 PRG:24E0 C9 08 - beq Label_E4EF ; CPU:$E4E2 PRG:24E2 F0 0B - bcs Label_E4F3 ; CPU:$E4E4 PRG:24E4 B0 0D + beq SubCE4D4_Block_E4EF ; CPU:$E4E2 PRG:24E2 F0 0B + bcs SubCE4D4_Block_E4F3 ; CPU:$E4E4 PRG:24E4 B0 0D inc ZpB0 ; CPU:$E4E6 PRG:24E6 E6 B0 inc ZpB0 ; CPU:$E4E8 PRG:24E8 E6 B0 lda #$02 ; CPU:$E4EA PRG:24EA A9 02 jmp $E859 ; CPU:$E4EC PRG:24EC 4C 59 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E4EF +; Routine: SubCE4D4_Block_E4EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9315,11 +9316,11 @@ Label_E4D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4EF: +SubCE4D4_Block_E4EF: lda #$01 ; CPU:$E4EF PRG:24EF A9 01 sta ZpFF ; CPU:$E4F1 PRG:24F1 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E4F3 +; Routine: SubCE4D4_Block_E4F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9327,10 +9328,10 @@ Label_E4EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F3: +SubCE4D4_Block_E4F3: rts ; CPU:$E4F3 PRG:24F3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F4 +; Routine: SubCE4F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9338,15 +9339,15 @@ Label_E4F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F4: +SubCE4F4: lda Zp82 ; CPU:$E4F4 PRG:24F4 A5 82 cmp #$25 ; CPU:$E4F6 PRG:24F6 C9 25 - bcs Label_E500 ; CPU:$E4F8 PRG:24F8 B0 06 + bcs SubCE4F4_Block_E500 ; CPU:$E4F8 PRG:24F8 B0 06 ldx Zp83 ; CPU:$E4FA PRG:24FA A6 83 cpx #$9A ; CPU:$E4FC PRG:24FC E0 9A - bcs Label_E512 ; CPU:$E4FE PRG:24FE B0 12 + bcs SubCE4F4_Block_E512 ; CPU:$E4FE PRG:24FE B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_E500 +; Routine: SubCE4F4_Block_E500 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9354,18 +9355,18 @@ Label_E4F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E500: +SubCE4F4_Block_E500: lda Zp94 ; CPU:$E500 PRG:2500 A5 94 cmp #$02 ; CPU:$E502 PRG:2502 C9 02 - beq Label_E539 ; CPU:$E504 PRG:2504 F0 33 + beq SubCE526_Block_E539 ; CPU:$E504 PRG:2504 F0 33 lda Zp97 ; CPU:$E506 PRG:2506 A5 97 cmp #$25 ; CPU:$E508 PRG:2508 C9 25 - bcs Label_E539 ; CPU:$E50A PRG:250A B0 2D + bcs SubCE526_Block_E539 ; CPU:$E50A PRG:250A B0 2D ldx Zp98 ; CPU:$E50C PRG:250C A6 98 cpx #$9A ; CPU:$E50E PRG:250E E0 9A - bcc Label_E539 ; CPU:$E510 PRG:2510 90 27 + bcc SubCE526_Block_E539 ; CPU:$E510 PRG:2510 90 27 ; ----------------------------------------------------------------------------- -; Routine: Label_E512 +; Routine: SubCE4F4_Block_E512 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9373,15 +9374,15 @@ Label_E500: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E512: +SubCE4F4_Block_E512: cpx #$A8 ; CPU:$E512 PRG:2512 E0 A8 - bcs Label_E524 ; CPU:$E514 PRG:2514 B0 0E + bcs SubCE4F4_Block_E524 ; CPU:$E514 PRG:2514 B0 0E cpx #$A0 ; CPU:$E516 PRG:2516 E0 A0 - bcs Label_E51F ; CPU:$E518 PRG:2518 B0 05 + bcs SubCE4F4_Block_E51F ; CPU:$E518 PRG:2518 B0 05 ldx #$00 ; CPU:$E51A PRG:251A A2 00 jmp $E526 ; CPU:$E51C PRG:251C 4C 26 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E51F +; Routine: SubCE4F4_Block_E51F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9389,11 +9390,11 @@ Label_E512: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E51F: +SubCE4F4_Block_E51F: ldx #$02 ; CPU:$E51F PRG:251F A2 02 jmp $E526 ; CPU:$E521 PRG:2521 4C 26 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E524 +; Routine: SubCE4F4_Block_E524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9401,10 +9402,10 @@ Label_E51F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E524: +SubCE4F4_Block_E524: ldx #$04 ; CPU:$E524 PRG:2524 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E526 +; Routine: SubCE526 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9412,7 +9413,7 @@ Label_E524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E526: +SubCE526: lda #$E2 ; CPU:$E526 PRG:2526 A9 E2 sta Zp00 ; CPU:$E528 PRG:2528 85 00 lda #$22 ; CPU:$E52A PRG:252A A9 22 @@ -9422,7 +9423,7 @@ Label_E526: lda $C405,x ; CPU:$E533 PRG:2533 BD 05 C4 jsr $E260 ; CPU:$E536 PRG:2536 20 60 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E539 +; Routine: SubCE526_Block_E539 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9430,10 +9431,10 @@ Label_E526: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E539: +SubCE526_Block_E539: rts ; CPU:$E539 PRG:2539 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E53A +; Routine: SubCE53A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9441,12 +9442,12 @@ Label_E539: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E53A: +SubCE53A: ldx #$00 ; CPU:$E53A PRG:253A A2 00 ldy #$00 ; CPU:$E53C PRG:253C A0 00 stx Zp00 ; CPU:$E53E PRG:253E 86 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E540 +; Routine: SubCE540 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9454,14 +9455,14 @@ Label_E53A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E540: +SubCE540: lda $0230,y ; CPU:$E540 PRG:2540 B9 30 02 cmp #$F0 ; CPU:$E543 PRG:2543 C9 F0 - bne Label_E54C ; CPU:$E545 PRG:2545 D0 05 + bne SubCE540_Block_E54C ; CPU:$E545 PRG:2545 D0 05 inc Zp78 ; CPU:$E547 PRG:2547 E6 78 jmp $E561 ; CPU:$E549 PRG:2549 4C 61 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E54C +; Routine: SubCE540_Block_E54C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9469,12 +9470,12 @@ Label_E540: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E54C: +SubCE540_Block_E54C: cmp #$FF ; CPU:$E54C PRG:254C C9 FF - bne Label_E553 ; CPU:$E54E PRG:254E D0 03 + bne SubCE540_Block_E553 ; CPU:$E54E PRG:254E D0 03 jmp $E5E6 ; CPU:$E550 PRG:2550 4C E6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E553 +; Routine: SubCE540_Block_E553 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9482,15 +9483,15 @@ Label_E54C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E553: +SubCE540_Block_E553: lda $0231,y ; CPU:$E553 PRG:2553 B9 31 02 cmp #$AB ; CPU:$E556 PRG:2556 C9 AB - bne Label_E56F ; CPU:$E558 PRG:2558 D0 15 + bne SubCE561_Block_E56F ; CPU:$E558 PRG:2558 D0 15 lda Zp3E ; CPU:$E55A PRG:255A A5 3E - beq Label_E561 ; CPU:$E55C PRG:255C F0 03 + beq SubCE561 ; CPU:$E55C PRG:255C F0 03 jmp $E5E6 ; CPU:$E55E PRG:255E 4C E6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E561 +; Routine: SubCE561 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9498,7 +9499,7 @@ Label_E553: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E561: +SubCE561: lda #$FF ; CPU:$E561 PRG:2561 A9 FF sta $0230,y ; CPU:$E563 PRG:2563 99 30 02 lda #$00 ; CPU:$E566 PRG:2566 A9 00 @@ -9506,7 +9507,7 @@ Label_E561: sta ZpE8,x ; CPU:$E56A PRG:256A 95 E8 jmp $E5E6 ; CPU:$E56C PRG:256C 4C E6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E56F +; Routine: SubCE561_Block_E56F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9514,25 +9515,25 @@ Label_E561: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E56F: +SubCE561_Block_E56F: lda ZpE8,x ; CPU:$E56F PRG:256F B5 E8 - bne Label_E592 ; CPU:$E571 PRG:2571 D0 1F + bne SubCE561_Block_E592 ; CPU:$E571 PRG:2571 D0 1F lda $0230,y ; CPU:$E573 PRG:2573 B9 30 02 cmp #$83 ; CPU:$E576 PRG:2576 C9 83 - beq Label_E5BC ; CPU:$E578 PRG:2578 F0 42 + beq SubCE561_Block_E5BC ; CPU:$E578 PRG:2578 F0 42 cmp #$A3 ; CPU:$E57A PRG:257A C9 A3 - beq Label_E5BC ; CPU:$E57C PRG:257C F0 3E + beq SubCE561_Block_E5BC ; CPU:$E57C PRG:257C F0 3E cmp #$C3 ; CPU:$E57E PRG:257E C9 C3 - beq Label_E5BC ; CPU:$E580 PRG:2580 F0 3A + beq SubCE561_Block_E5BC ; CPU:$E580 PRG:2580 F0 3A cmp #$1C ; CPU:$E582 PRG:2582 C9 1C - beq Label_E5E2 ; CPU:$E584 PRG:2584 F0 5C + beq SubCE561_Block_E5E2 ; CPU:$E584 PRG:2584 F0 5C lda $0230,y ; CPU:$E586 PRG:2586 B9 30 02 clc ; CPU:$E589 PRG:2589 18 adc #$01 ; CPU:$E58A PRG:258A 69 01 sta $0230,y ; CPU:$E58C PRG:258C 99 30 02 jmp $E5E6 ; CPU:$E58F PRG:258F 4C E6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E592 +; Routine: SubCE561_Block_E592 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9540,12 +9541,12 @@ Label_E56F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E592: +SubCE561_Block_E592: lda ZpEC,x ; CPU:$E592 PRG:2592 B5 EC tax ; CPU:$E594 PRG:2594 AA lda $C41F,x ; CPU:$E595 PRG:2595 BD 1F C4 cmp #$DD ; CPU:$E598 PRG:2598 C9 DD - beq Label_E5B4 ; CPU:$E59A PRG:259A F0 18 + beq SubCE561_Block_E5B4 ; CPU:$E59A PRG:259A F0 18 clc ; CPU:$E59C PRG:259C 18 adc $0233,y ; CPU:$E59D PRG:259D 79 33 02 sta $0233,y ; CPU:$E5A0 PRG:25A0 99 33 02 @@ -9557,7 +9558,7 @@ Label_E592: inc ZpEC,x ; CPU:$E5AF PRG:25AF F6 EC jmp $E5E6 ; CPU:$E5B1 PRG:25B1 4C E6 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5B4 +; Routine: SubCE561_Block_E5B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9565,13 +9566,13 @@ Label_E592: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5B4: +SubCE561_Block_E5B4: lda #$00 ; CPU:$E5B4 PRG:25B4 A9 00 ldx Zp00 ; CPU:$E5B6 PRG:25B6 A6 00 sta ZpE8,x ; CPU:$E5B8 PRG:25B8 95 E8 sta ZpEC,x ; CPU:$E5BA PRG:25BA 95 EC ; ----------------------------------------------------------------------------- -; Routine: Label_E5BC +; Routine: SubCE561_Block_E5BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9579,18 +9580,18 @@ Label_E5B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5BC: +SubCE561_Block_E5BC: lda $0230,y ; CPU:$E5BC PRG:25BC B9 30 02 cmp #$30 ; CPU:$E5BF PRG:25BF C9 30 - bcc Label_E5D0 ; CPU:$E5C1 PRG:25C1 90 0D + bcc SubCE561_Block_E5D0 ; CPU:$E5C1 PRG:25C1 90 0D lda $0233,y ; CPU:$E5C3 PRG:25C3 B9 33 02 cmp #$30 ; CPU:$E5C6 PRG:25C6 C9 30 - bcc Label_E5D0 ; CPU:$E5C8 PRG:25C8 90 06 + bcc SubCE561_Block_E5D0 ; CPU:$E5C8 PRG:25C8 90 06 lda Zp18 ; CPU:$E5CA PRG:25CA A5 18 cmp #$50 ; CPU:$E5CC PRG:25CC C9 50 - bcs Label_E5DE ; CPU:$E5CE PRG:25CE B0 0E + bcs SubCE561_Block_E5DE ; CPU:$E5CE PRG:25CE B0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E5D0 +; Routine: SubCE561_Block_E5D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9598,7 +9599,7 @@ Label_E5BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D0: +SubCE561_Block_E5D0: lda $0230,y ; CPU:$E5D0 PRG:25D0 B9 30 02 clc ; CPU:$E5D3 PRG:25D3 18 adc #$01 ; CPU:$E5D4 PRG:25D4 69 01 @@ -9606,7 +9607,7 @@ Label_E5D0: lda #$00 ; CPU:$E5D9 PRG:25D9 A9 00 jmp $E5E4 ; CPU:$E5DB PRG:25DB 4C E4 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5DE +; Routine: SubCE561_Block_E5DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9614,11 +9615,11 @@ Label_E5D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5DE: +SubCE561_Block_E5DE: lda #$04 ; CPU:$E5DE PRG:25DE A9 04 sta ZpFE ; CPU:$E5E0 PRG:25E0 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_E5E2 +; Routine: SubCE561_Block_E5E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9626,10 +9627,10 @@ Label_E5DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E2: +SubCE561_Block_E5E2: lda #$01 ; CPU:$E5E2 PRG:25E2 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E4 +; Routine: SubCE5E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9637,10 +9638,10 @@ Label_E5E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E4: +SubCE5E4: sta ZpE8,x ; CPU:$E5E4 PRG:25E4 95 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E6 +; Routine: SubCE5E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9648,7 +9649,7 @@ Label_E5E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E6: +SubCE5E6: ldx Zp00 ; CPU:$E5E6 PRG:25E6 A6 00 inx ; CPU:$E5E8 PRG:25E8 E8 stx Zp00 ; CPU:$E5E9 PRG:25E9 86 00 @@ -9657,10 +9658,10 @@ Label_E5E6: iny ; CPU:$E5ED PRG:25ED C8 iny ; CPU:$E5EE PRG:25EE C8 cpx #$04 ; CPU:$E5EF PRG:25EF E0 04 - bpl Label_E5F6 ; CPU:$E5F1 PRG:25F1 10 03 + bpl SubCE5E6_Block_E5F6 ; CPU:$E5F1 PRG:25F1 10 03 jmp $E540 ; CPU:$E5F3 PRG:25F3 4C 40 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F6 +; Routine: SubCE5E6_Block_E5F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9668,10 +9669,10 @@ Label_E5E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F6: +SubCE5E6_Block_E5F6: rts ; CPU:$E5F6 PRG:25F6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5F7 +; Routine: SubCE5F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9679,9 +9680,9 @@ Label_E5F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F7: +SubCE5F7: ldx ZpB4 ; CPU:$E5F7 PRG:25F7 A6 B4 - bne Label_E610 ; CPU:$E5F9 PRG:25F9 D0 15 + bne SubCE5F7_Block_E610 ; CPU:$E5F9 PRG:25F9 D0 15 lda #$A8 ; CPU:$E5FB PRG:25FB A9 A8 sta $0570 ; CPU:$E5FD PRG:25FD 8D 70 05 sta $0572 ; CPU:$E600 PRG:2600 8D 72 05 @@ -9689,10 +9690,10 @@ Label_E5F7: sta $055B ; CPU:$E605 PRG:2605 8D 5B 05 sta $055D ; CPU:$E608 PRG:2608 8D 5D 05 lda Zp4C ; CPU:$E60B PRG:260B A5 4C - beq Label_E610 ; CPU:$E60D PRG:260D F0 01 + beq SubCE5F7_Block_E610 ; CPU:$E60D PRG:260D F0 01 rts ; CPU:$E60F PRG:260F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E610 +; Routine: SubCE5F7_Block_E610 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9700,7 +9701,7 @@ Label_E5F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E610: +SubCE5F7_Block_E610: lda ZpAF ; CPU:$E610 PRG:2610 A5 AF sta $0570 ; CPU:$E612 PRG:2612 8D 70 05 sta $0572 ; CPU:$E615 PRG:2615 8D 72 05 @@ -9711,12 +9712,12 @@ Label_E610: sta $055D ; CPU:$E620 PRG:2620 8D 5D 05 ldy ZpAF ; CPU:$E623 PRG:2623 A4 AF cpy #$80 ; CPU:$E625 PRG:2625 C0 80 - bcc Label_E631 ; CPU:$E627 PRG:2627 90 08 + bcc SubCE5F7_Block_E631 ; CPU:$E627 PRG:2627 90 08 lda #$7C ; CPU:$E629 PRG:2629 A9 7C sta $055B ; CPU:$E62B PRG:262B 8D 5B 05 sta $055D ; CPU:$E62E PRG:262E 8D 5D 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E631 +; Routine: SubCE5F7_Block_E631 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9724,14 +9725,14 @@ Label_E610: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E631: +SubCE5F7_Block_E631: cpy #$7F ; CPU:$E631 PRG:2631 C0 7F - bcs Label_E63D ; CPU:$E633 PRG:2633 B0 08 + bcs SubCE5F7_Block_E63D ; CPU:$E633 PRG:2633 B0 08 lda #$A8 ; CPU:$E635 PRG:2635 A9 A8 sta $0570 ; CPU:$E637 PRG:2637 8D 70 05 sta $0572 ; CPU:$E63A PRG:263A 8D 72 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E63D +; Routine: SubCE5F7_Block_E63D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9739,18 +9740,18 @@ Label_E631: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E63D: +SubCE5F7_Block_E63D: cpy #$90 ; CPU:$E63D PRG:263D C0 90 - bcs Label_E678 ; CPU:$E63F PRG:263F B0 37 + bcs SubCE66D_Block_E678 ; CPU:$E63F PRG:263F B0 37 cpy #$78 ; CPU:$E641 PRG:2641 C0 78 - bcc Label_E682 ; CPU:$E643 PRG:2643 90 3D + bcc SubCE66D_Block_E682 ; CPU:$E643 PRG:2643 90 3D lda ZpB0 ; CPU:$E645 PRG:2645 A5 B0 clc ; CPU:$E647 PRG:2647 18 adc ZpAF ; CPU:$E648 PRG:2648 65 AF sta ZpAF ; CPU:$E64A PRG:264A 85 AF jsr $E887 ; CPU:$E64C PRG:264C 20 87 E8 txa ; CPU:$E64F PRG:264F 8A - beq Label_E693 ; CPU:$E650 PRG:2650 F0 41 + beq SubCE689_Block_E693 ; CPU:$E650 PRG:2650 F0 41 lda ZpB0 ; CPU:$E652 PRG:2652 A5 B0 clc ; CPU:$E654 PRG:2654 18 adc Zp82 ; CPU:$E655 PRG:2655 65 82 @@ -9758,12 +9759,12 @@ Label_E63D: lda #$0C ; CPU:$E659 PRG:2659 A9 0C sta Zp02 ; CPU:$E65B PRG:265B 85 02 lda ZpE1 ; CPU:$E65D PRG:265D A5 E1 - beq Label_E66A ; CPU:$E65F PRG:265F F0 09 + beq SubCE5F7_Block_E66A ; CPU:$E65F PRG:265F F0 09 jsr $E8B3 ; CPU:$E661 PRG:2661 20 B3 E8 jsr $D801 ; CPU:$E664 PRG:2664 20 01 D8 jmp $E66D ; CPU:$E667 PRG:2667 4C 6D E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E66A +; Routine: SubCE5F7_Block_E66A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9771,10 +9772,10 @@ Label_E63D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E66A: +SubCE5F7_Block_E66A: jsr $E7B2 ; CPU:$E66A PRG:266A 20 B2 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E66D +; Routine: SubCE66D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9782,14 +9783,14 @@ Label_E66A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E66D: +SubCE66D: lda ZpB3 ; CPU:$E66D PRG:266D A5 B3 - bne Label_E677 ; CPU:$E66F PRG:266F D0 06 + bne SubCE66D_Block_E677 ; CPU:$E66F PRG:266F D0 06 lda #$04 ; CPU:$E671 PRG:2671 A9 04 sta ZpFF ; CPU:$E673 PRG:2673 85 FF sta ZpB3 ; CPU:$E675 PRG:2675 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_E677 +; Routine: SubCE66D_Block_E677 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9797,10 +9798,10 @@ Label_E66D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E677: +SubCE66D_Block_E677: rts ; CPU:$E677 PRG:2677 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E678 +; Routine: SubCE66D_Block_E678 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9808,14 +9809,14 @@ Label_E677: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E678: +SubCE66D_Block_E678: txa ; CPU:$E678 PRG:2678 8A - bne Label_E693 ; CPU:$E679 PRG:2679 D0 18 + bne SubCE689_Block_E693 ; CPU:$E679 PRG:2679 D0 18 lda #$FF ; CPU:$E67B PRG:267B A9 FF dec ZpAF ; CPU:$E67D PRG:267D C6 AF jmp $E689 ; CPU:$E67F PRG:267F 4C 89 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E682 +; Routine: SubCE66D_Block_E682 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9823,13 +9824,13 @@ Label_E678: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E682: +SubCE66D_Block_E682: txa ; CPU:$E682 PRG:2682 8A - bne Label_E693 ; CPU:$E683 PRG:2683 D0 0E + bne SubCE689_Block_E693 ; CPU:$E683 PRG:2683 D0 0E lda #$01 ; CPU:$E685 PRG:2685 A9 01 inc ZpAF ; CPU:$E687 PRG:2687 E6 AF ; ----------------------------------------------------------------------------- -; Routine: Label_E689 +; Routine: SubCE689 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9837,14 +9838,14 @@ Label_E682: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E689: +SubCE689: sta ZpB0 ; CPU:$E689 PRG:2689 85 B0 lda #$07 ; CPU:$E68B PRG:268B A9 07 sta Zp4C ; CPU:$E68D PRG:268D 85 4C lda #$00 ; CPU:$E68F PRG:268F A9 00 sta ZpB3 ; CPU:$E691 PRG:2691 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_E693 +; Routine: SubCE689_Block_E693 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9852,10 +9853,10 @@ Label_E689: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E693: +SubCE689_Block_E693: rts ; CPU:$E693 PRG:2693 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E694 +; Routine: SubCE694 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9863,19 +9864,19 @@ Label_E693: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E694: +SubCE694: lda Zp41 ; CPU:$E694 PRG:2694 A5 41 - bne Label_E6E5 ; CPU:$E696 PRG:2696 D0 4D + bne SubCE694_Block_E6E5 ; CPU:$E696 PRG:2696 D0 4D lda #$0A ; CPU:$E698 PRG:2698 A9 0A sta Zp41 ; CPU:$E69A PRG:269A 85 41 ldx Zp70 ; CPU:$E69C PRG:269C A6 70 lda $0270 ; CPU:$E69E PRG:269E AD 70 02 cmp #$18 ; CPU:$E6A1 PRG:26A1 C9 18 - bcc Label_E6A9 ; CPU:$E6A3 PRG:26A3 90 04 + bcc SubCE694_Block_E6A9 ; CPU:$E6A3 PRG:26A3 90 04 cmp #$2C ; CPU:$E6A5 PRG:26A5 C9 2C - bcc Label_E6B0 ; CPU:$E6A7 PRG:26A7 90 07 + bcc SubCE694_Block_E6B0 ; CPU:$E6A7 PRG:26A7 90 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E6A9 +; Routine: SubCE694_Block_E6A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9883,13 +9884,13 @@ Label_E694: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6A9: +SubCE694_Block_E6A9: txa ; CPU:$E6A9 PRG:26A9 8A jsr $E040 ; CPU:$E6AA PRG:26AA 20 40 E0 sta Zp70 ; CPU:$E6AD PRG:26AD 85 70 tax ; CPU:$E6AF PRG:26AF AA ; ----------------------------------------------------------------------------- -; Routine: Label_E6B0 +; Routine: SubCE694_Block_E6B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9897,7 +9898,7 @@ Label_E6A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6B0: +SubCE694_Block_E6B0: txa ; CPU:$E6B0 PRG:26B0 8A pha ; CPU:$E6B1 PRG:26B1 48 clc ; CPU:$E6B2 PRG:26B2 18 @@ -9926,7 +9927,7 @@ Label_E6B0: lda #$88 ; CPU:$E6E0 PRG:26E0 A9 88 jmp $E899 ; CPU:$E6E2 PRG:26E2 4C 99 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E6E5 +; Routine: SubCE694_Block_E6E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9934,10 +9935,10 @@ Label_E6B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E5: +SubCE694_Block_E6E5: rts ; CPU:$E6E5 PRG:26E5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6E6 +; Routine: SubCE6E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9945,15 +9946,15 @@ Label_E6E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E6: +SubCE6E6: lda $0241 ; CPU:$E6E6 PRG:26E6 AD 41 02 cmp #$FA ; CPU:$E6E9 PRG:26E9 C9 FA - bne Label_E6F2 ; CPU:$E6EB PRG:26EB D0 05 + bne SubCE6E6_Block_E6F2 ; CPU:$E6EB PRG:26EB D0 05 lda Zp3F ; CPU:$E6ED PRG:26ED A5 3F - beq Label_E6FD ; CPU:$E6EF PRG:26EF F0 0C + beq SubCE6E6_Block_E6FD ; CPU:$E6EF PRG:26EF F0 0C rts ; CPU:$E6F1 PRG:26F1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F2 +; Routine: SubCE6E6_Block_E6F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9961,12 +9962,12 @@ Label_E6E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F2: +SubCE6E6_Block_E6F2: lda Zp42 ; CPU:$E6F2 PRG:26F2 A5 42 - beq Label_E6F7 ; CPU:$E6F4 PRG:26F4 F0 01 + beq SubCE6E6_Block_E6F7 ; CPU:$E6F4 PRG:26F4 F0 01 rts ; CPU:$E6F6 PRG:26F6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F7 +; Routine: SubCE6E6_Block_E6F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9974,12 +9975,12 @@ Label_E6F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F7: +SubCE6E6_Block_E6F7: lda ZpE7 ; CPU:$E6F7 PRG:26F7 A5 E7 cmp #$EA ; CPU:$E6F9 PRG:26F9 C9 EA - bcc Label_E70E ; CPU:$E6FB PRG:26FB 90 11 + bcc SubCE6E6_Block_E70E ; CPU:$E6FB PRG:26FB 90 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FD +; Routine: SubCE6E6_Block_E6FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9987,7 +9988,7 @@ Label_E6F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FD: +SubCE6E6_Block_E6FD: lda #$40 ; CPU:$E6FD PRG:26FD A9 40 sta Zp42 ; CPU:$E6FF PRG:26FF 85 42 lda #$F0 ; CPU:$E701 PRG:2701 A9 F0 @@ -9997,7 +9998,7 @@ Label_E6FD: inc ZpEA ; CPU:$E709 PRG:2709 E6 EA jmp $E765 ; CPU:$E70B PRG:270B 4C 65 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E70E +; Routine: SubCE6E6_Block_E70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10005,17 +10006,17 @@ Label_E6FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E70E: +SubCE6E6_Block_E70E: lda ZpEA ; CPU:$E70E PRG:270E A5 EA and #$07 ; CPU:$E710 PRG:2710 29 07 tax ; CPU:$E712 PRG:2712 AA lda Zp7B ; CPU:$E713 PRG:2713 A5 7B cmp #$05 ; CPU:$E715 PRG:2715 C9 05 - bpl Label_E71F ; CPU:$E717 PRG:2717 10 06 + bpl SubCE6E6_Block_E71F ; CPU:$E717 PRG:2717 10 06 lda $C14C,x ; CPU:$E719 PRG:2719 BD 4C C1 jmp $E722 ; CPU:$E71C PRG:271C 4C 22 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E71F +; Routine: SubCE6E6_Block_E71F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10023,10 +10024,10 @@ Label_E70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E71F: +SubCE6E6_Block_E71F: lda $C154,x ; CPU:$E71F PRG:271F BD 54 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_E722 +; Routine: SubCE722 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10034,10 +10035,10 @@ Label_E71F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E722: +SubCE722: tay ; CPU:$E722 PRG:2722 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_E723 +; Routine: SubCE723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10045,7 +10046,7 @@ Label_E722: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E723: +SubCE723: lda $C205 ; CPU:$E723 PRG:2723 AD 05 C2 sta Zp00 ; CPU:$E726 PRG:2726 85 00 lda $C206 ; CPU:$E728 PRG:2728 AD 06 C2 @@ -10059,7 +10060,7 @@ Label_E723: lda $C21C ; CPU:$E73C PRG:273C AD 1C C2 sta Zp07 ; CPU:$E73F PRG:273F 85 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E741 +; Routine: SubCE741 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10067,14 +10068,14 @@ Label_E723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E741: +SubCE741: lda (Zp00),y ; CPU:$E741 PRG:2741 B1 00 cmp ZpE7 ; CPU:$E743 PRG:2743 C5 E7 - bcs Label_E74B ; CPU:$E745 PRG:2745 B0 04 + bcs SubCE741_Block_E74B ; CPU:$E745 PRG:2745 B0 04 iny ; CPU:$E747 PRG:2747 C8 jmp $E741 ; CPU:$E748 PRG:2748 4C 41 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E74B +; Routine: SubCE741_Block_E74B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10082,15 +10083,15 @@ Label_E741: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E74B: +SubCE741_Block_E74B: lda ZpE9 ; CPU:$E74B PRG:274B A5 E9 clc ; CPU:$E74D PRG:274D 18 adc (Zp02),y ; CPU:$E74E PRG:274E 71 02 sta ZpE9 ; CPU:$E750 PRG:2750 85 E9 - bcs Label_E755 ; CPU:$E752 PRG:2752 B0 01 + bcs SubCE741_Block_E755 ; CPU:$E752 PRG:2752 B0 01 rts ; CPU:$E754 PRG:2754 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E755 +; Routine: SubCE741_Block_E755 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10098,7 +10099,7 @@ Label_E74B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E755: +SubCE741_Block_E755: inc ZpE7 ; CPU:$E755 PRG:2755 E6 E7 lda (Zp06),y ; CPU:$E757 PRG:2757 B1 06 clc ; CPU:$E759 PRG:2759 18 @@ -10110,7 +10111,7 @@ Label_E755: lsr a ; CPU:$E763 PRG:2763 4A lsr a ; CPU:$E764 PRG:2764 4A ; ----------------------------------------------------------------------------- -; Routine: Label_E765 +; Routine: SubCE765 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10118,7 +10119,7 @@ Label_E755: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E765: +SubCE765: tax ; CPU:$E765 PRG:2765 AA lda $C58E,x ; CPU:$E766 PRG:2766 BD 8E C5 sta Zp02 ; CPU:$E769 PRG:2769 85 02 @@ -10130,7 +10131,7 @@ Label_E765: lda #$00 ; CPU:$E776 PRG:2776 A9 00 jmp $E8EA ; CPU:$E778 PRG:2778 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E77B +; Routine: SubCE77B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10138,10 +10139,10 @@ Label_E765: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77B: +SubCE77B: ldy #$00 ; CPU:$E77B PRG:277B A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E77D +; Routine: SubCE77D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10149,10 +10150,10 @@ Label_E77B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77D: +SubCE77D: lda (Zp00),y ; CPU:$E77D PRG:277D B1 00 cmp #$FF ; CPU:$E77F PRG:277F C9 FF - beq Label_E796 ; CPU:$E781 PRG:2781 F0 13 + beq SubCE77D_Block_E796 ; CPU:$E781 PRG:2781 F0 13 sta Zp02 ; CPU:$E783 PRG:2783 85 02 iny ; CPU:$E785 PRG:2785 C8 lda (Zp00),y ; CPU:$E786 PRG:2786 B1 00 @@ -10164,7 +10165,7 @@ Label_E77D: iny ; CPU:$E792 PRG:2792 C8 jmp $E77D ; CPU:$E793 PRG:2793 4C 7D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E796 +; Routine: SubCE77D_Block_E796 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10172,10 +10173,10 @@ Label_E77D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E796: +SubCE77D_Block_E796: rts ; CPU:$E796 PRG:2796 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E797 +; Routine: SubCE797 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10183,11 +10184,11 @@ Label_E796: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E797: +SubCE797: lda #$00 ; CPU:$E797 PRG:2797 A9 00 sta Zp7F ; CPU:$E799 PRG:2799 85 7F ; ----------------------------------------------------------------------------- -; Routine: Label_E79B +; Routine: SubCE79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10195,11 +10196,11 @@ Label_E797: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79B: +SubCE79B: lda #$00 ; CPU:$E79B PRG:279B A9 00 sta Zp80 ; CPU:$E79D PRG:279D 85 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E79F +; Routine: SubCE79F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10207,7 +10208,7 @@ Label_E79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79F: +SubCE79F: lda #$00 ; CPU:$E79F PRG:279F A9 00 sta Zp7E ; CPU:$E7A1 PRG:27A1 85 7E lda #$FF ; CPU:$E7A3 PRG:27A3 A9 FF @@ -10218,7 +10219,7 @@ Label_E79F: sta Zp02 ; CPU:$E7AE PRG:27AE 85 02 sta Zp84 ; CPU:$E7B0 PRG:27B0 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B2 +; Routine: SubCE7B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10226,13 +10227,13 @@ Label_E79F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B2: +SubCE7B2: jsr $E8AA ; CPU:$E7B2 PRG:27B2 20 AA E8 jsr $E8B3 ; CPU:$E7B5 PRG:27B5 20 B3 E8 lda Zp7D ; CPU:$E7B8 PRG:27B8 A5 7D jmp $E854 ; CPU:$E7BA PRG:27BA 4C 54 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7BD +; Routine: SubCE7BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10240,7 +10241,7 @@ Label_E7B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7BD: +SubCE7BD: ldy #$51 ; CPU:$E7BD PRG:27BD A0 51 lda #$00 ; CPU:$E7BF PRG:27BF A9 00 sta Zp9D ; CPU:$E7C1 PRG:27C1 85 9D @@ -10252,13 +10253,13 @@ Label_E7BD: lda #$06 ; CPU:$E7CD PRG:27CD A9 06 sta Zp99 ; CPU:$E7CF PRG:27CF 85 99 lda Zp1D ; CPU:$E7D1 PRG:27D1 A5 1D - bne Label_E7DD ; CPU:$E7D3 PRG:27D3 D0 08 + bne SubCE7BD_Block_E7DD ; CPU:$E7D3 PRG:27D3 D0 08 ldx Zp67 ; CPU:$E7D5 PRG:27D5 A6 67 lda Zp2E,x ; CPU:$E7D7 PRG:27D7 B5 2E - bne Label_E7DD ; CPU:$E7D9 PRG:27D9 D0 02 + bne SubCE7BD_Block_E7DD ; CPU:$E7D9 PRG:27D9 D0 02 ldy #$90 ; CPU:$E7DB PRG:27DB A0 90 ; ----------------------------------------------------------------------------- -; Routine: Label_E7DD +; Routine: SubCE7BD_Block_E7DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10266,7 +10267,7 @@ Label_E7BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7DD: +SubCE7BD_Block_E7DD: sty Zp9A ; CPU:$E7DD PRG:27DD 84 9A tya ; CPU:$E7DF PRG:27DF 98 jsr $E8C4 ; CPU:$E7E0 PRG:27E0 20 C4 E8 @@ -10275,7 +10276,7 @@ Label_E7DD: and #$03 ; CPU:$E7E8 PRG:27E8 29 03 sta Zp93 ; CPU:$E7EA PRG:27EA 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_E7EC +; Routine: SubCE7EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10283,11 +10284,11 @@ Label_E7DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7EC: +SubCE7EC: lda Zp93 ; CPU:$E7EC PRG:27EC A5 93 jmp $E854 ; CPU:$E7EE PRG:27EE 4C 54 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F1 +; Routine: SubCE7F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10295,7 +10296,7 @@ Label_E7EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F1: +SubCE7F1: lda #$00 ; CPU:$E7F1 PRG:27F1 A9 00 sta ZpAC ; CPU:$E7F3 PRG:27F3 85 AC sta ZpAB ; CPU:$E7F5 PRG:27F5 85 AB @@ -10310,7 +10311,7 @@ Label_E7F1: lda ZpA9 ; CPU:$E808 PRG:2808 A5 A9 and #$01 ; CPU:$E80A PRG:280A 29 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E80C +; Routine: SubCE80C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10318,10 +10319,10 @@ Label_E7F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E80C: +SubCE80C: tay ; CPU:$E80C PRG:280C A8 cpy #$02 ; CPU:$E80D PRG:280D C0 02 - beq Label_E821 ; CPU:$E80F PRG:280F F0 10 + beq SubCE80C_Block_E821 ; CPU:$E80F PRG:280F F0 10 ldx Zp65 ; CPU:$E811 PRG:2811 A6 65 lda $C4B2,x ; CPU:$E813 PRG:2813 BD B2 C4 sta Zp01 ; CPU:$E816 PRG:2816 85 01 @@ -10330,7 +10331,7 @@ Label_E80C: lda #$32 ; CPU:$E81C PRG:281C A9 32 jmp $E84D ; CPU:$E81E PRG:281E 4C 4D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E821 +; Routine: SubCE80C_Block_E821 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10338,14 +10339,14 @@ Label_E80C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E821: +SubCE80C_Block_E821: lda ZpE7 ; CPU:$E821 PRG:2821 A5 E7 sta Zp00 ; CPU:$E823 PRG:2823 85 00 cmp #$98 ; CPU:$E825 PRG:2825 C9 98 - bcc Label_E840 ; CPU:$E827 PRG:2827 90 17 + bcc SubCE80C_Block_E840 ; CPU:$E827 PRG:2827 90 17 lda $02A0 ; CPU:$E829 PRG:2829 AD A0 02 cmp #$2F ; CPU:$E82C PRG:282C C9 2F - beq Label_E7F1 ; CPU:$E82E PRG:282E F0 C1 + beq SubCE7F1 ; CPU:$E82E PRG:282E F0 C1 lda ZpE7 ; CPU:$E830 PRG:2830 A5 E7 sta ZpAA ; CPU:$E832 PRG:2832 85 AA lda Zp43 ; CPU:$E834 PRG:2834 A5 43 @@ -10355,7 +10356,7 @@ Label_E821: adc $02A0 ; CPU:$E83A PRG:283A 6D A0 02 jmp $E845 ; CPU:$E83D PRG:283D 4C 45 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E840 +; Routine: SubCE80C_Block_E840 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10363,12 +10364,12 @@ Label_E821: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E840: +SubCE80C_Block_E840: lda ZpE8 ; CPU:$E840 PRG:2840 A5 E8 clc ; CPU:$E842 PRG:2842 18 adc #$10 ; CPU:$E843 PRG:2843 69 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E845 +; Routine: SubCE845 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10376,13 +10377,13 @@ Label_E840: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E845: +SubCE845: sta Zp01 ; CPU:$E845 PRG:2845 85 01 lda #$C8 ; CPU:$E847 PRG:2847 A9 C8 sta Zp02 ; CPU:$E849 PRG:2849 85 02 lda #$23 ; CPU:$E84B PRG:284B A9 23 ; ----------------------------------------------------------------------------- -; Routine: Label_E84D +; Routine: SubCE84D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10390,13 +10391,13 @@ Label_E845: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E84D: +SubCE84D: sta Zp03 ; CPU:$E84D PRG:284D 85 03 lda #$A0 ; CPU:$E84F PRG:284F A9 A0 sta Zp04 ; CPU:$E851 PRG:2851 85 04 tya ; CPU:$E853 PRG:2853 98 ; ----------------------------------------------------------------------------- -; Routine: Label_E854 +; Routine: SubCE854 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10404,11 +10405,11 @@ Label_E84D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E854: +SubCE854: and #$01 ; CPU:$E854 PRG:2854 29 01 jmp $E8EA ; CPU:$E856 PRG:2856 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E859 +; Routine: SubCE859 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10416,7 +10417,7 @@ Label_E854: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E859: +SubCE859: tax ; CPU:$E859 PRG:2859 AA lda ZpAF ; CPU:$E85A PRG:285A A5 AF sta Zp00 ; CPU:$E85C PRG:285C 85 00 @@ -10431,7 +10432,7 @@ Label_E859: txa ; CPU:$E86E PRG:286E 8A jmp $E8EA ; CPU:$E86F PRG:286F 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E872 +; Routine: SubCE872 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10439,7 +10440,7 @@ Label_E859: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E872: +SubCE872: lda ZpB2 ; CPU:$E872 PRG:2872 A5 B2 sta Zp00 ; CPU:$E874 PRG:2874 85 00 lda #$4F ; CPU:$E876 PRG:2876 A9 4F @@ -10451,7 +10452,7 @@ Label_E872: lda #$80 ; CPU:$E882 PRG:2882 A9 80 jmp $E899 ; CPU:$E884 PRG:2884 4C 99 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E887 +; Routine: SubCE887 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10459,7 +10460,7 @@ Label_E872: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E887: +SubCE887: lda ZpAF ; CPU:$E887 PRG:2887 A5 AF sta Zp00 ; CPU:$E889 PRG:2889 85 00 lda #$6B ; CPU:$E88B PRG:288B A9 6B @@ -10470,7 +10471,7 @@ Label_E887: sta Zp03 ; CPU:$E895 PRG:2895 85 03 lda #$70 ; CPU:$E897 PRG:2897 A9 70 ; ----------------------------------------------------------------------------- -; Routine: Label_E899 +; Routine: SubCE899 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10478,10 +10479,10 @@ Label_E887: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E899: +SubCE899: sta Zp04 ; CPU:$E899 PRG:2899 85 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E89B +; Routine: SubCE89B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10489,11 +10490,11 @@ Label_E899: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89B: +SubCE89B: lda #$01 ; CPU:$E89B PRG:289B A9 01 jmp $E8EA ; CPU:$E89D PRG:289D 4C EA E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A0 +; Routine: SubCE8A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10501,12 +10502,12 @@ Label_E89B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A0: +SubCE8A0: lda $C25A,x ; CPU:$E8A0 PRG:28A0 BD 5A C2 sta Zp03 ; CPU:$E8A3 PRG:28A3 85 03 lda $C259,x ; CPU:$E8A5 PRG:28A5 BD 59 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A8 +; Routine: SubCE8A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10514,10 +10515,10 @@ Label_E8A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A8: +SubCE8A8: sta Zp02 ; CPU:$E8A8 PRG:28A8 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8AA +; Routine: SubCE8AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10525,14 +10526,14 @@ Label_E8A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8AA: +SubCE8AA: lda Zp82 ; CPU:$E8AA PRG:28AA A5 82 sta Zp00 ; CPU:$E8AC PRG:28AC 85 00 lda Zp83 ; CPU:$E8AE PRG:28AE A5 83 sta Zp01 ; CPU:$E8B0 PRG:28B0 85 01 rts ; CPU:$E8B2 PRG:28B2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8B3 +; Routine: SubCE8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10540,14 +10541,14 @@ Label_E8AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B3: +SubCE8B3: lda #$32 ; CPU:$E8B3 PRG:28B3 A9 32 sta Zp03 ; CPU:$E8B5 PRG:28B5 85 03 lda #$50 ; CPU:$E8B7 PRG:28B7 A9 50 sta Zp04 ; CPU:$E8B9 PRG:28B9 85 04 rts ; CPU:$E8BB PRG:28BB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8BC +; Routine: SubCE8BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10555,12 +10556,12 @@ Label_E8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8BC: +SubCE8BC: lda $C262,x ; CPU:$E8BC PRG:28BC BD 62 C2 sta Zp03 ; CPU:$E8BF PRG:28BF 85 03 lda $C261,x ; CPU:$E8C1 PRG:28C1 BD 61 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C4 +; Routine: SubCE8C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10568,10 +10569,10 @@ Label_E8BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C4: +SubCE8C4: sta Zp02 ; CPU:$E8C4 PRG:28C4 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C6 +; Routine: SubCE8C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10579,14 +10580,14 @@ Label_E8C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C6: +SubCE8C6: lda Zp97 ; CPU:$E8C6 PRG:28C6 A5 97 sta Zp00 ; CPU:$E8C8 PRG:28C8 85 00 lda Zp98 ; CPU:$E8CA PRG:28CA A5 98 sta Zp01 ; CPU:$E8CC PRG:28CC 85 01 rts ; CPU:$E8CE PRG:28CE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8CF +; Routine: SubCE8CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10594,14 +10595,14 @@ Label_E8C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8CF: +SubCE8CF: lda #$32 ; CPU:$E8CF PRG:28CF A9 32 sta Zp03 ; CPU:$E8D1 PRG:28D1 85 03 lda #$B8 ; CPU:$E8D3 PRG:28D3 A9 B8 sta Zp04 ; CPU:$E8D5 PRG:28D5 85 04 rts ; CPU:$E8D7 PRG:28D7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8D8 +; Routine: SubCE8D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10609,13 +10610,13 @@ Label_E8CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8D8: +SubCE8D8: tay ; CPU:$E8D8 PRG:28D8 A8 ldx #$00 ; CPU:$E8D9 PRG:28D9 A2 00 iny ; CPU:$E8DB PRG:28DB C8 clc ; CPU:$E8DC PRG:28DC 18 ; ----------------------------------------------------------------------------- -; Routine: Label_E8DD +; Routine: SubCE8D8_Block_E8DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10623,15 +10624,15 @@ Label_E8D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8DD: +SubCE8D8_Block_E8DD: ror Zp02 ; CPU:$E8DD PRG:28DD 66 02 ror Zp01 ; CPU:$E8DF PRG:28DF 66 01 dey ; CPU:$E8E1 PRG:28E1 88 - bne Label_E8DD ; CPU:$E8E2 PRG:28E2 D0 F9 - bcc Label_E8E8 ; CPU:$E8E4 PRG:28E4 90 02 + bne SubCE8D8_Block_E8DD ; CPU:$E8E2 PRG:28E2 D0 F9 + bcc SubCE8D8_Block_E8E8 ; CPU:$E8E4 PRG:28E4 90 02 ldx #$01 ; CPU:$E8E6 PRG:28E6 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E8E8 +; Routine: SubCE8D8_Block_E8E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10639,11 +10640,11 @@ Label_E8DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8E8: +SubCE8D8_Block_E8E8: txa ; CPU:$E8E8 PRG:28E8 8A rts ; CPU:$E8E9 PRG:28E9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8EA +; Routine: SubCE8EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10651,7 +10652,7 @@ Label_E8E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8EA: +SubCE8EA: sta Zp0F ; CPU:$E8EA PRG:28EA 85 0F txa ; CPU:$E8EC PRG:28EC 8A pha ; CPU:$E8ED PRG:28ED 48 @@ -10672,7 +10673,7 @@ Label_E8EA: lda #$00 ; CPU:$E903 PRG:2903 A9 00 clc ; CPU:$E905 PRG:2905 18 ; ----------------------------------------------------------------------------- -; Routine: Label_E906 +; Routine: SubCE8EA_Block_E906 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10680,21 +10681,21 @@ Label_E8EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E906: +SubCE8EA_Block_E906: adc Zp07 ; CPU:$E906 PRG:2906 65 07 dex ; CPU:$E908 PRG:2908 CA - bne Label_E906 ; CPU:$E909 PRG:2909 D0 FB + bne SubCE8EA_Block_E906 ; CPU:$E909 PRG:2909 D0 FB sta Zp08 ; CPU:$E90B PRG:290B 85 08 lda Zp0F ; CPU:$E90D PRG:290D A5 0F - beq Label_E925 ; CPU:$E90F PRG:290F F0 14 + beq SubCE8EA_Block_E925 ; CPU:$E90F PRG:290F F0 14 cmp #$01 ; CPU:$E911 PRG:2911 C9 01 - beq Label_E91F ; CPU:$E913 PRG:2913 F0 0A + beq SubCE8EA_Block_E91F ; CPU:$E913 PRG:2913 F0 0A cmp #$02 ; CPU:$E915 PRG:2915 C9 02 - beq Label_E92B ; CPU:$E917 PRG:2917 F0 12 + beq SubCE8EA_Block_E92B ; CPU:$E917 PRG:2917 F0 12 jsr $E9D7 ; CPU:$E919 PRG:2919 20 D7 E9 jmp $E92E ; CPU:$E91C PRG:291C 4C 2E E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E91F +; Routine: SubCE8EA_Block_E91F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10702,11 +10703,11 @@ Label_E906: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E91F: +SubCE8EA_Block_E91F: jsr $E952 ; CPU:$E91F PRG:291F 20 52 E9 jmp $E92E ; CPU:$E922 PRG:2922 4C 2E E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E925 +; Routine: SubCE8EA_Block_E925 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10714,11 +10715,11 @@ Label_E91F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E925: +SubCE8EA_Block_E925: jsr $E96D ; CPU:$E925 PRG:2925 20 6D E9 jmp $E92E ; CPU:$E928 PRG:2928 4C 2E E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E92B +; Routine: SubCE8EA_Block_E92B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10726,10 +10727,10 @@ Label_E925: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92B: +SubCE8EA_Block_E92B: jsr $E9A1 ; CPU:$E92B PRG:292B 20 A1 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E92E +; Routine: SubCE92E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10737,7 +10738,7 @@ Label_E92B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92E: +SubCE92E: jsr $E9FD ; CPU:$E92E PRG:292E 20 FD E9 pla ; CPU:$E931 PRG:2931 68 tay ; CPU:$E932 PRG:2932 A8 @@ -10745,7 +10746,7 @@ Label_E92E: tax ; CPU:$E934 PRG:2934 AA rts ; CPU:$E935 PRG:2935 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E936 +; Routine: SubCE936 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10753,7 +10754,7 @@ Label_E92E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E936: +SubCE936: tya ; CPU:$E936 PRG:2936 98 pha ; CPU:$E937 PRG:2937 48 lda #$02 ; CPU:$E938 PRG:2938 A9 02 @@ -10761,7 +10762,7 @@ Label_E936: ldx Zp03 ; CPU:$E93C PRG:293C A6 03 ldy #$00 ; CPU:$E93E PRG:293E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E940 +; Routine: SubCE936_Block_E940 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10769,7 +10770,7 @@ Label_E936: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E940: +SubCE936_Block_E940: lda #$FF ; CPU:$E940 PRG:2940 A9 FF sta (Zp04),y ; CPU:$E942 PRG:2942 91 04 iny ; CPU:$E944 PRG:2944 C8 @@ -10779,12 +10780,12 @@ Label_E940: iny ; CPU:$E94A PRG:294A C8 iny ; CPU:$E94B PRG:294B C8 dex ; CPU:$E94C PRG:294C CA - bne Label_E940 ; CPU:$E94D PRG:294D D0 F1 + bne SubCE936_Block_E940 ; CPU:$E94D PRG:294D D0 F1 pla ; CPU:$E94F PRG:294F 68 tay ; CPU:$E950 PRG:2950 A8 rts ; CPU:$E951 PRG:2951 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E952 +; Routine: SubCE952 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10792,12 +10793,12 @@ Label_E940: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E952: +SubCE952: lda Zp02 ; CPU:$E952 PRG:2952 A5 02 ldx Zp08 ; CPU:$E954 PRG:2954 A6 08 ldy #$01 ; CPU:$E956 PRG:2956 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E958 +; Routine: SubCE952_Block_E958 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10805,7 +10806,7 @@ Label_E952: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E958: +SubCE952_Block_E958: sta (Zp04),y ; CPU:$E958 PRG:2958 91 04 clc ; CPU:$E95A PRG:295A 18 adc #$01 ; CPU:$E95B PRG:295B 69 01 @@ -10819,10 +10820,10 @@ Label_E958: iny ; CPU:$E967 PRG:2967 C8 iny ; CPU:$E968 PRG:2968 C8 dex ; CPU:$E969 PRG:2969 CA - bne Label_E958 ; CPU:$E96A PRG:296A D0 EC + bne SubCE952_Block_E958 ; CPU:$E96A PRG:296A D0 EC rts ; CPU:$E96C PRG:296C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E96D +; Routine: SubCE96D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10830,14 +10831,14 @@ Label_E958: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E96D: +SubCE96D: ldy #$01 ; CPU:$E96D PRG:296D A0 01 sty Zp0A ; CPU:$E96F PRG:296F 84 0A lda Zp08 ; CPU:$E971 PRG:2971 A5 08 sec ; CPU:$E973 PRG:2973 38 sbc Zp06 ; CPU:$E974 PRG:2974 E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E976 +; Routine: SubCE96D_Block_E976 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10845,12 +10846,12 @@ Label_E96D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E976: +SubCE96D_Block_E976: tay ; CPU:$E976 PRG:2976 A8 sta Zp0B ; CPU:$E977 PRG:2977 85 0B ldx Zp06 ; CPU:$E979 PRG:2979 A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E97B +; Routine: SubCE96D_Block_E97B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10858,7 +10859,7 @@ Label_E976: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E97B: +SubCE96D_Block_E97B: tya ; CPU:$E97B PRG:297B 98 pha ; CPU:$E97C PRG:297C 48 clc ; CPU:$E97D PRG:297D 18 @@ -10879,14 +10880,14 @@ Label_E97B: tay ; CPU:$E994 PRG:2994 A8 iny ; CPU:$E995 PRG:2995 C8 dex ; CPU:$E996 PRG:2996 CA - bne Label_E97B ; CPU:$E997 PRG:2997 D0 E2 + bne SubCE96D_Block_E97B ; CPU:$E997 PRG:2997 D0 E2 lda Zp0B ; CPU:$E999 PRG:2999 A5 0B sec ; CPU:$E99B PRG:299B 38 sbc Zp06 ; CPU:$E99C PRG:299C E5 06 - bpl Label_E976 ; CPU:$E99E PRG:299E 10 D6 + bpl SubCE96D_Block_E976 ; CPU:$E99E PRG:299E 10 D6 rts ; CPU:$E9A0 PRG:29A0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9A1 +; Routine: SubCE9A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10894,14 +10895,14 @@ Label_E97B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A1: +SubCE9A1: lda #$01 ; CPU:$E9A1 PRG:29A1 A9 01 sta Zp0A ; CPU:$E9A3 PRG:29A3 85 0A lda Zp06 ; CPU:$E9A5 PRG:29A5 A5 06 sec ; CPU:$E9A7 PRG:29A7 38 sbc #$01 ; CPU:$E9A8 PRG:29A8 E9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E9AA +; Routine: SubCE9A1_Block_E9AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10909,12 +10910,12 @@ Label_E9A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AA: +SubCE9A1_Block_E9AA: tay ; CPU:$E9AA PRG:29AA A8 sta Zp0B ; CPU:$E9AB PRG:29AB 85 0B ldx Zp06 ; CPU:$E9AD PRG:29AD A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E9AF +; Routine: SubCE9A1_Block_E9AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10922,7 +10923,7 @@ Label_E9AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AF: +SubCE9A1_Block_E9AF: tya ; CPU:$E9AF PRG:29AF 98 pha ; CPU:$E9B0 PRG:29B0 48 clc ; CPU:$E9B1 PRG:29B1 18 @@ -10943,15 +10944,15 @@ Label_E9AF: tay ; CPU:$E9C8 PRG:29C8 A8 dey ; CPU:$E9C9 PRG:29C9 88 dex ; CPU:$E9CA PRG:29CA CA - bne Label_E9AF ; CPU:$E9CB PRG:29CB D0 E2 + bne SubCE9A1_Block_E9AF ; CPU:$E9CB PRG:29CB D0 E2 lda Zp0B ; CPU:$E9CD PRG:29CD A5 0B clc ; CPU:$E9CF PRG:29CF 18 adc Zp06 ; CPU:$E9D0 PRG:29D0 65 06 cmp Zp08 ; CPU:$E9D2 PRG:29D2 C5 08 - bmi Label_E9AA ; CPU:$E9D4 PRG:29D4 30 D4 + bmi SubCE9A1_Block_E9AA ; CPU:$E9D4 PRG:29D4 30 D4 rts ; CPU:$E9D6 PRG:29D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9D7 +; Routine: SubCE9D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10959,12 +10960,12 @@ Label_E9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D7: +SubCE9D7: lda #$01 ; CPU:$E9D7 PRG:29D7 A9 01 sta Zp0A ; CPU:$E9D9 PRG:29D9 85 0A ldy Zp08 ; CPU:$E9DB PRG:29DB A4 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E9DD +; Routine: SubCE9D7_Block_E9DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10972,7 +10973,7 @@ Label_E9D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DD: +SubCE9D7_Block_E9DD: tya ; CPU:$E9DD PRG:29DD 98 pha ; CPU:$E9DE PRG:29DE 48 clc ; CPU:$E9DF PRG:29DF 18 @@ -10993,10 +10994,10 @@ Label_E9DD: pla ; CPU:$E9F7 PRG:29F7 68 tay ; CPU:$E9F8 PRG:29F8 A8 dey ; CPU:$E9F9 PRG:29F9 88 - bne Label_E9DD ; CPU:$E9FA PRG:29FA D0 E1 + bne SubCE9D7_Block_E9DD ; CPU:$E9FA PRG:29FA D0 E1 rts ; CPU:$E9FC PRG:29FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9FD +; Routine: SubCE9FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11004,10 +11005,10 @@ Label_E9DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9FD: +SubCE9FD: ldy #$00 ; CPU:$E9FD PRG:29FD A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E9FF +; Routine: SubCE9FD_Block_E9FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11015,12 +11016,12 @@ Label_E9FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9FF: +SubCE9FD_Block_E9FF: ldx Zp06 ; CPU:$E9FF PRG:29FF A6 06 lda Zp01 ; CPU:$EA01 PRG:2A01 A5 01 sta Zp09 ; CPU:$EA03 PRG:2A03 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EA05 +; Routine: SubCE9FD_Block_EA05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11028,7 +11029,7 @@ Label_E9FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA05: +SubCE9FD_Block_EA05: lda Zp09 ; CPU:$EA05 PRG:2A05 A5 09 sta (Zp04),y ; CPU:$EA07 PRG:2A07 91 04 clc ; CPU:$EA09 PRG:2A09 18 @@ -11041,16 +11042,16 @@ Label_EA05: sta (Zp04),y ; CPU:$EA13 PRG:2A13 91 04 iny ; CPU:$EA15 PRG:2A15 C8 dex ; CPU:$EA16 PRG:2A16 CA - bne Label_EA05 ; CPU:$EA17 PRG:2A17 D0 EC + bne SubCE9FD_Block_EA05 ; CPU:$EA17 PRG:2A17 D0 EC lda Zp00 ; CPU:$EA19 PRG:2A19 A5 00 clc ; CPU:$EA1B PRG:2A1B 18 adc #$08 ; CPU:$EA1C PRG:2A1C 69 08 sta Zp00 ; CPU:$EA1E PRG:2A1E 85 00 dec Zp07 ; CPU:$EA20 PRG:2A20 C6 07 - bne Label_E9FF ; CPU:$EA22 PRG:2A22 D0 DB + bne SubCE9FD_Block_E9FF ; CPU:$EA22 PRG:2A22 D0 DB rts ; CPU:$EA24 PRG:2A24 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA25 +; Routine: SubCEA25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11058,10 +11059,10 @@ Label_EA05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA25: +SubCEA25: lda #$01 ; CPU:$EA25 PRG:2A25 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EA27 +; Routine: SubCEA27 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11069,7 +11070,7 @@ Label_EA25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA27: +SubCEA27: sta Zp0F ; CPU:$EA27 PRG:2A27 85 0F txa ; CPU:$EA29 PRG:2A29 8A pha ; CPU:$EA2A PRG:2A2A 48 @@ -11078,9 +11079,9 @@ Label_EA27: ldy #$00 ; CPU:$EA2D PRG:2A2D A0 00 sty Zp5E ; CPU:$EA2F PRG:2A2F 84 5E lda Zp0F ; CPU:$EA31 PRG:2A31 A5 0F - beq Label_EA62 ; CPU:$EA33 PRG:2A33 F0 2D + beq SubCEA5D_Block_EA62 ; CPU:$EA33 PRG:2A33 F0 2D ; ----------------------------------------------------------------------------- -; Routine: Label_EA35 +; Routine: SubCEA27_Block_EA35 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11088,15 +11089,15 @@ Label_EA27: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA35: +SubCEA27_Block_EA35: lda Zp0F ; CPU:$EA35 PRG:2A35 A5 0F cmp #$01 ; CPU:$EA37 PRG:2A37 C9 01 - beq Label_EA43 ; CPU:$EA39 PRG:2A39 F0 08 + beq SubCEA27_Block_EA43 ; CPU:$EA39 PRG:2A39 F0 08 lda #$01 ; CPU:$EA3B PRG:2A3B A9 01 jsr $EA8C ; CPU:$EA3D PRG:2A3D 20 8C EA jmp $EA4E ; CPU:$EA40 PRG:2A40 4C 4E EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA43 +; Routine: SubCEA27_Block_EA43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11104,13 +11105,13 @@ Label_EA35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA43: +SubCEA27_Block_EA43: lda #$01 ; CPU:$EA43 PRG:2A43 A9 01 jsr $EA6E ; CPU:$EA45 PRG:2A45 20 6E EA jsr $EAA4 ; CPU:$EA48 PRG:2A48 20 A4 EA jmp $EA5D ; CPU:$EA4B PRG:2A4B 4C 5D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA4E +; Routine: SubCEA4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11118,16 +11119,16 @@ Label_EA43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4E: +SubCEA4E: inc Zp5E ; CPU:$EA4E PRG:2A4E E6 5E jsr $EAA4 ; CPU:$EA50 PRG:2A50 20 A4 EA - bne Label_EA5D ; CPU:$EA53 PRG:2A53 D0 08 + bne SubCEA5D ; CPU:$EA53 PRG:2A53 D0 08 lda (Zp02),y ; CPU:$EA55 PRG:2A55 B1 02 cmp #$FF ; CPU:$EA57 PRG:2A57 C9 FF - bne Label_EA35 ; CPU:$EA59 PRG:2A59 D0 DA + bne SubCEA27_Block_EA35 ; CPU:$EA59 PRG:2A59 D0 DA lda #$00 ; CPU:$EA5B PRG:2A5B A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EA5D +; Routine: SubCEA5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11135,11 +11136,11 @@ Label_EA4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5D: +SubCEA5D: sta Zp0F ; CPU:$EA5D PRG:2A5D 85 0F jmp $EA67 ; CPU:$EA5F PRG:2A5F 4C 67 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA62 +; Routine: SubCEA5D_Block_EA62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11147,11 +11148,11 @@ Label_EA5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA62: +SubCEA5D_Block_EA62: ldx #$01 ; CPU:$EA62 PRG:2A62 A2 01 jsr $EA6E ; CPU:$EA64 PRG:2A64 20 6E EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA67 +; Routine: SubCEA67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11159,7 +11160,7 @@ Label_EA62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA67: +SubCEA67: pla ; CPU:$EA67 PRG:2A67 68 tay ; CPU:$EA68 PRG:2A68 A8 pla ; CPU:$EA69 PRG:2A69 68 @@ -11167,7 +11168,7 @@ Label_EA67: lda Zp0F ; CPU:$EA6B PRG:2A6B A5 0F rts ; CPU:$EA6D PRG:2A6D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA6E +; Routine: SubCEA6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11175,13 +11176,13 @@ Label_EA67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA6E: +SubCEA6E: ldx #$00 ; CPU:$EA6E PRG:2A6E A2 00 lda Zp0F ; CPU:$EA70 PRG:2A70 A5 0F - beq Label_EA76 ; CPU:$EA72 PRG:2A72 F0 02 + beq SubCEA6E_Block_EA76 ; CPU:$EA72 PRG:2A72 F0 02 ldx #$04 ; CPU:$EA74 PRG:2A74 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA76 +; Routine: SubCEA6E_Block_EA76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11189,10 +11190,10 @@ Label_EA6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA76: +SubCEA6E_Block_EA76: jsr $EA79 ; CPU:$EA76 PRG:2A76 20 79 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA79 +; Routine: SubCEA79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11200,7 +11201,7 @@ Label_EA76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA79: +SubCEA79: lda (Zp02),y ; CPU:$EA79 PRG:2A79 B1 02 clc ; CPU:$EA7B PRG:2A7B 18 adc Zp00 ; CPU:$EA7C PRG:2A7C 65 00 @@ -11215,7 +11216,7 @@ Label_EA79: iny ; CPU:$EA8A PRG:2A8A C8 rts ; CPU:$EA8B PRG:2A8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA8C +; Routine: SubCEA8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11223,13 +11224,13 @@ Label_EA79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA8C: +SubCEA8C: ldx #$00 ; CPU:$EA8C PRG:2A8C A2 00 lda Zp0F ; CPU:$EA8E PRG:2A8E A5 0F - beq Label_EA94 ; CPU:$EA90 PRG:2A90 F0 02 + beq SubCEA8C_Block_EA94 ; CPU:$EA90 PRG:2A90 F0 02 ldx #$04 ; CPU:$EA92 PRG:2A92 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA94 +; Routine: SubCEA8C_Block_EA94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11237,10 +11238,10 @@ Label_EA8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA94: +SubCEA8C_Block_EA94: jsr $EA97 ; CPU:$EA94 PRG:2A94 20 97 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA97 +; Routine: SubCEA97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11248,7 +11249,7 @@ Label_EA94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA97: +SubCEA97: lda (Zp02),y ; CPU:$EA97 PRG:2A97 B1 02 sta Zp56,x ; CPU:$EA99 PRG:2A99 95 56 inx ; CPU:$EA9B PRG:2A9B E8 @@ -11259,7 +11260,7 @@ Label_EA97: iny ; CPU:$EAA2 PRG:2AA2 C8 rts ; CPU:$EAA3 PRG:2AA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAA4 +; Routine: SubCEAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11267,17 +11268,17 @@ Label_EA97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAA4: +SubCEAA4: lda Zp56 ; CPU:$EAA4 PRG:2AA4 A5 56 cmp Zp5A ; CPU:$EAA6 PRG:2AA6 C5 5A - bcc Label_EAB5 ; CPU:$EAA8 PRG:2AA8 90 0B - beq Label_EABB ; CPU:$EAAA PRG:2AAA F0 0F + bcc SubCEAA4_Block_EAB5 ; CPU:$EAA8 PRG:2AA8 90 0B + beq SubCEAA4_Block_EABB ; CPU:$EAAA PRG:2AAA F0 0F cmp Zp5C ; CPU:$EAAC PRG:2AAC C5 5C - bcc Label_EABB ; CPU:$EAAE PRG:2AAE 90 0B - beq Label_EABB ; CPU:$EAB0 PRG:2AB0 F0 09 + bcc SubCEAA4_Block_EABB ; CPU:$EAAE PRG:2AAE 90 0B + beq SubCEAA4_Block_EABB ; CPU:$EAB0 PRG:2AB0 F0 09 jmp $EAD5 ; CPU:$EAB2 PRG:2AB2 4C D5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAB5 +; Routine: SubCEAA4_Block_EAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11285,12 +11286,12 @@ Label_EAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAB5: +SubCEAA4_Block_EAB5: lda Zp58 ; CPU:$EAB5 PRG:2AB5 A5 58 cmp Zp5A ; CPU:$EAB7 PRG:2AB7 C5 5A - bcc Label_EAD5 ; CPU:$EAB9 PRG:2AB9 90 1A + bcc SubCEAD5 ; CPU:$EAB9 PRG:2AB9 90 1A ; ----------------------------------------------------------------------------- -; Routine: Label_EABB +; Routine: SubCEAA4_Block_EABB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11298,17 +11299,17 @@ Label_EAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EABB: +SubCEAA4_Block_EABB: lda Zp57 ; CPU:$EABB PRG:2ABB A5 57 cmp Zp5B ; CPU:$EABD PRG:2ABD C5 5B - bcc Label_EACC ; CPU:$EABF PRG:2ABF 90 0B - beq Label_EAD2 ; CPU:$EAC1 PRG:2AC1 F0 0F + bcc SubCEAA4_Block_EACC ; CPU:$EABF PRG:2ABF 90 0B + beq SubCEAA4_Block_EAD2 ; CPU:$EAC1 PRG:2AC1 F0 0F cmp Zp5D ; CPU:$EAC3 PRG:2AC3 C5 5D - bcc Label_EAD2 ; CPU:$EAC5 PRG:2AC5 90 0B - beq Label_EAD2 ; CPU:$EAC7 PRG:2AC7 F0 09 + bcc SubCEAA4_Block_EAD2 ; CPU:$EAC5 PRG:2AC5 90 0B + beq SubCEAA4_Block_EAD2 ; CPU:$EAC7 PRG:2AC7 F0 09 jmp $EAD5 ; CPU:$EAC9 PRG:2AC9 4C D5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EACC +; Routine: SubCEAA4_Block_EACC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11316,12 +11317,12 @@ Label_EABB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACC: +SubCEAA4_Block_EACC: lda Zp59 ; CPU:$EACC PRG:2ACC A5 59 cmp Zp5B ; CPU:$EACE PRG:2ACE C5 5B - bcc Label_EAD5 ; CPU:$EAD0 PRG:2AD0 90 03 + bcc SubCEAD5 ; CPU:$EAD0 PRG:2AD0 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD2 +; Routine: SubCEAA4_Block_EAD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11329,11 +11330,11 @@ Label_EACC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD2: +SubCEAA4_Block_EAD2: lda #$01 ; CPU:$EAD2 PRG:2AD2 A9 01 rts ; CPU:$EAD4 PRG:2AD4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD5 +; Routine: SubCEAD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11341,11 +11342,11 @@ Label_EAD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD5: +SubCEAD5: lda #$00 ; CPU:$EAD5 PRG:2AD5 A9 00 rts ; CPU:$EAD7 PRG:2AD7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD8 +; Routine: SubCEAD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11353,7 +11354,7 @@ Label_EAD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD8: +SubCEAD8: sta Zp02 ; CPU:$EAD8 PRG:2AD8 85 02 lda Zp93 ; CPU:$EADA PRG:2ADA A5 93 and #$01 ; CPU:$EADC PRG:2ADC 29 01 @@ -11362,16 +11363,16 @@ Label_EAD8: sec ; CPU:$EAE1 PRG:2AE1 38 sbc Zp01 ; CPU:$EAE2 PRG:2AE2 E5 01 tay ; CPU:$EAE4 PRG:2AE4 A8 - beq Label_EAFF ; CPU:$EAE5 PRG:2AE5 F0 18 - bcs Label_EAF4 ; CPU:$EAE7 PRG:2AE7 B0 0B + beq SubCEAF7_Block_EAFF ; CPU:$EAE5 PRG:2AE5 F0 18 + bcs SubCEAD8_Block_EAF4 ; CPU:$EAE7 PRG:2AE7 B0 0B txa ; CPU:$EAE9 PRG:2AE9 8A - bne Label_EAFC ; CPU:$EAEA PRG:2AEA D0 10 + bne SubCEAF7_Block_EAFC ; CPU:$EAEA PRG:2AEA D0 10 tya ; CPU:$EAEC PRG:2AEC 98 jsr $E040 ; CPU:$EAED PRG:2AED 20 40 E0 tay ; CPU:$EAF0 PRG:2AF0 A8 jmp $EAF7 ; CPU:$EAF1 PRG:2AF1 4C F7 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAF4 +; Routine: SubCEAD8_Block_EAF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11379,11 +11380,11 @@ Label_EAD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF4: +SubCEAD8_Block_EAF4: txa ; CPU:$EAF4 PRG:2AF4 8A - beq Label_EAFC ; CPU:$EAF5 PRG:2AF5 F0 05 + beq SubCEAF7_Block_EAFC ; CPU:$EAF5 PRG:2AF5 F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF7 +; Routine: SubCEAF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11391,12 +11392,12 @@ Label_EAF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF7: +SubCEAF7: tya ; CPU:$EAF7 PRG:2AF7 98 cmp Zp02 ; CPU:$EAF8 PRG:2AF8 C5 02 - bcc Label_EAFF ; CPU:$EAFA PRG:2AFA 90 03 + bcc SubCEAF7_Block_EAFF ; CPU:$EAFA PRG:2AFA 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EAFC +; Routine: SubCEAF7_Block_EAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11404,11 +11405,11 @@ Label_EAF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFC: +SubCEAF7_Block_EAFC: lda #$00 ; CPU:$EAFC PRG:2AFC A9 00 rts ; CPU:$EAFE PRG:2AFE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAFF +; Routine: SubCEAF7_Block_EAFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11416,11 +11417,11 @@ Label_EAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFF: +SubCEAF7_Block_EAFF: lda #$01 ; CPU:$EAFF PRG:2AFF A9 01 rts ; CPU:$EB01 PRG:2B01 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB02 +; Routine: SubCEB02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11428,14 +11429,14 @@ Label_EAFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB02: +SubCEB02: ldx #$F8 ; CPU:$EB02 PRG:2B02 A2 F8 lda Zp7D ; CPU:$EB04 PRG:2B04 A5 7D and #$01 ; CPU:$EB06 PRG:2B06 29 01 - beq Label_EB0C ; CPU:$EB08 PRG:2B08 F0 02 + beq SubCEB02_Block_EB0C ; CPU:$EB08 PRG:2B08 F0 02 ldx #$10 ; CPU:$EB0A PRG:2B0A A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_EB0C +; Routine: SubCEB02_Block_EB0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11443,7 +11444,7 @@ Label_EB02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB0C: +SubCEB02_Block_EB0C: txa ; CPU:$EB0C PRG:2B0C 8A clc ; CPU:$EB0D PRG:2B0D 18 adc Zp82 ; CPU:$EB0E PRG:2B0E 65 82 @@ -11454,7 +11455,7 @@ Label_EB0C: sta Zp01 ; CPU:$EB17 PRG:2B17 85 01 rts ; CPU:$EB19 PRG:2B19 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB1A +; Routine: SubCEB1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11462,14 +11463,14 @@ Label_EB0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB1A: +SubCEB1A: lda #$00 ; CPU:$EB1A PRG:2B1A A9 00 sta Zp00 ; CPU:$EB1C PRG:2B1C 85 00 sta Zp01 ; CPU:$EB1E PRG:2B1E 85 01 ldx Zp64 ; CPU:$EB20 PRG:2B20 A6 64 rts ; CPU:$EB22 PRG:2B22 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB23 +; Routine: SubCEB23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11477,13 +11478,13 @@ Label_EB1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB23: +SubCEB23: jsr $EB1A ; CPU:$EB23 PRG:2B23 20 1A EB lda $C39E ; CPU:$EB26 PRG:2B26 AD 9E C3 sta Zp02 ; CPU:$EB29 PRG:2B29 85 02 lda $C39F ; CPU:$EB2B PRG:2B2B AD 9F C3 ; ----------------------------------------------------------------------------- -; Routine: Label_EB2E +; Routine: SubCEB2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11491,12 +11492,12 @@ Label_EB23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB2E: +SubCEB2E: sta Zp03 ; CPU:$EB2E PRG:2B2E 85 03 lda #$02 ; CPU:$EB30 PRG:2B30 A9 02 jmp $EA27 ; CPU:$EB32 PRG:2B32 4C 27 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB35 +; Routine: SubCEB35 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11504,20 +11505,20 @@ Label_EB2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB35: +SubCEB35: jsr $EB1A ; CPU:$EB35 PRG:2B35 20 1A EB lda $C3A0,x ; CPU:$EB38 PRG:2B38 BD A0 C3 sta Zp02 ; CPU:$EB3B PRG:2B3B 85 02 lda $C3A1,x ; CPU:$EB3D PRG:2B3D BD A1 C3 jsr $EB2E ; CPU:$EB40 PRG:2B40 20 2E EB - beq Label_EB72 ; CPU:$EB43 PRG:2B43 F0 2D + beq SubCEB35_Block_EB72 ; CPU:$EB43 PRG:2B43 F0 2D ldx #$82 ; CPU:$EB45 PRG:2B45 A2 82 lda Zp5E ; CPU:$EB47 PRG:2B47 A5 5E cmp #$04 ; CPU:$EB49 PRG:2B49 C9 04 - bpl Label_EB4F ; CPU:$EB4B PRG:2B4B 10 02 + bpl SubCEB35_Block_EB4F ; CPU:$EB4B PRG:2B4B 10 02 ldx #$81 ; CPU:$EB4D PRG:2B4D A2 81 ; ----------------------------------------------------------------------------- -; Routine: Label_EB4F +; Routine: SubCEB35_Block_EB4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11525,19 +11526,19 @@ Label_EB35: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB4F: +SubCEB35_Block_EB4F: lda Zp05 ; CPU:$EB4F PRG:2B4F A5 05 - bne Label_EB61 ; CPU:$EB51 PRG:2B51 D0 0E + bne SubCEB35_Block_EB61 ; CPU:$EB51 PRG:2B51 D0 0E lda Zp5E ; CPU:$EB53 PRG:2B53 A5 5E cmp #$03 ; CPU:$EB55 PRG:2B55 C9 03 - beq Label_EB72 ; CPU:$EB57 PRG:2B57 F0 19 + beq SubCEB35_Block_EB72 ; CPU:$EB57 PRG:2B57 F0 19 cmp #$05 ; CPU:$EB59 PRG:2B59 C9 05 - beq Label_EB72 ; CPU:$EB5B PRG:2B5B F0 15 + beq SubCEB35_Block_EB72 ; CPU:$EB5B PRG:2B5B F0 15 txa ; CPU:$EB5D PRG:2B5D 8A sta Zp7D ; CPU:$EB5E PRG:2B5E 85 7D rts ; CPU:$EB60 PRG:2B60 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB61 +; Routine: SubCEB35_Block_EB61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11545,15 +11546,15 @@ Label_EB4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB61: +SubCEB35_Block_EB61: lda Zp5E ; CPU:$EB61 PRG:2B61 A5 5E cmp #$01 ; CPU:$EB63 PRG:2B63 C9 01 - bne Label_EB6D ; CPU:$EB65 PRG:2B65 D0 06 + bne SubCEB35_Block_EB6D ; CPU:$EB65 PRG:2B65 D0 06 lda Zp93 ; CPU:$EB67 PRG:2B67 A5 93 and #$02 ; CPU:$EB69 PRG:2B69 29 02 - bne Label_EB72 ; CPU:$EB6B PRG:2B6B D0 05 + bne SubCEB35_Block_EB72 ; CPU:$EB6B PRG:2B6B D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EB6D +; Routine: SubCEB35_Block_EB6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11561,12 +11562,12 @@ Label_EB61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB6D: +SubCEB35_Block_EB6D: txa ; CPU:$EB6D PRG:2B6D 8A eor #$03 ; CPU:$EB6E PRG:2B6E 49 03 sta Zp93 ; CPU:$EB70 PRG:2B70 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_EB72 +; Routine: SubCEB35_Block_EB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11574,10 +11575,10 @@ Label_EB6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB72: +SubCEB35_Block_EB72: rts ; CPU:$EB72 PRG:2B72 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB73 +; Routine: SubCEB73 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11585,17 +11586,17 @@ Label_EB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB73: +SubCEB73: jsr $EB1A ; CPU:$EB73 PRG:2B73 20 1A EB lda $C3A6,x ; CPU:$EB76 PRG:2B76 BD A6 C3 sta Zp02 ; CPU:$EB79 PRG:2B79 85 02 lda $C3A7,x ; CPU:$EB7B PRG:2B7B BD A7 C3 jsr $EB2E ; CPU:$EB7E PRG:2B7E 20 2E EB - beq Label_EB88 ; CPU:$EB81 PRG:2B81 F0 05 + beq SubCEB73_Block_EB88 ; CPU:$EB81 PRG:2B81 F0 05 lda #$48 ; CPU:$EB83 PRG:2B83 A9 48 jmp $EB9B ; CPU:$EB85 PRG:2B85 4C 9B EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB88 +; Routine: SubCEB73_Block_EB88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11603,10 +11604,10 @@ Label_EB73: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB88: +SubCEB73_Block_EB88: rts ; CPU:$EB88 PRG:2B88 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB89 +; Routine: SubCEB89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11614,16 +11615,16 @@ Label_EB88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB89: +SubCEB89: jsr $EB1A ; CPU:$EB89 PRG:2B89 20 1A EB lda $C3AC,x ; CPU:$EB8C PRG:2B8C BD AC C3 sta Zp02 ; CPU:$EB8F PRG:2B8F 85 02 lda $C3AD,x ; CPU:$EB91 PRG:2B91 BD AD C3 jsr $EB2E ; CPU:$EB94 PRG:2B94 20 2E EB - beq Label_EBA3 ; CPU:$EB97 PRG:2B97 F0 0A + beq SubCEB9B_Block_EBA3 ; CPU:$EB97 PRG:2B97 F0 0A lda #$44 ; CPU:$EB99 PRG:2B99 A9 44 ; ----------------------------------------------------------------------------- -; Routine: Label_EB9B +; Routine: SubCEB9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11631,13 +11632,13 @@ Label_EB89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB9B: +SubCEB9B: ora Zp7D ; CPU:$EB9B PRG:2B9B 05 7D sta Zp7D ; CPU:$EB9D PRG:2B9D 85 7D lda Zp5E ; CPU:$EB9F PRG:2B9F A5 5E sta Zp8F ; CPU:$EBA1 PRG:2BA1 85 8F ; ----------------------------------------------------------------------------- -; Routine: Label_EBA3 +; Routine: SubCEB9B_Block_EBA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11645,10 +11646,10 @@ Label_EB9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBA3: +SubCEB9B_Block_EBA3: rts ; CPU:$EBA3 PRG:2BA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBA4 +; Routine: SubCEBA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11656,7 +11657,7 @@ Label_EBA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBA4: +SubCEBA4: ldx Zp64 ; CPU:$EBA4 PRG:2BA4 A6 64 lda $C299,x ; CPU:$EBA6 PRG:2BA6 BD 99 C2 sta Zp00 ; CPU:$EBA9 PRG:2BA9 85 00 @@ -11664,7 +11665,7 @@ Label_EBA4: sta Zp01 ; CPU:$EBAE PRG:2BAE 85 01 ldy #$00 ; CPU:$EBB0 PRG:2BB0 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB2 +; Routine: SubCEBA4_Block_EBB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11672,23 +11673,23 @@ Label_EBA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB2: +SubCEBA4_Block_EBB2: lda (Zp00),y ; CPU:$EBB2 PRG:2BB2 B1 00 cmp #$FF ; CPU:$EBB4 PRG:2BB4 C9 FF - beq Label_EBF2 ; CPU:$EBB6 PRG:2BB6 F0 3A + beq SubCEBD6_Block_EBF2 ; CPU:$EBB6 PRG:2BB6 F0 3A iny ; CPU:$EBB8 PRG:2BB8 C8 cmp Zp97 ; CPU:$EBB9 PRG:2BB9 C5 97 - bne Label_EBB2 ; CPU:$EBBB PRG:2BBB D0 F5 + bne SubCEBA4_Block_EBB2 ; CPU:$EBBB PRG:2BBB D0 F5 lda Zp92 ; CPU:$EBBD PRG:2BBD A5 92 cmp #$01 ; CPU:$EBBF PRG:2BBF C9 01 - bne Label_EBCE ; CPU:$EBC1 PRG:2BC1 D0 0B + bne SubCEBA4_Block_EBCE ; CPU:$EBC1 PRG:2BC1 D0 0B cpy #$01 ; CPU:$EBC3 PRG:2BC3 C0 01 - beq Label_EBF2 ; CPU:$EBC5 PRG:2BC5 F0 2B + beq SubCEBD6_Block_EBF2 ; CPU:$EBC5 PRG:2BC5 F0 2B cpy #$05 ; CPU:$EBC7 PRG:2BC7 C0 05 - beq Label_EBF2 ; CPU:$EBC9 PRG:2BC9 F0 27 + beq SubCEBD6_Block_EBF2 ; CPU:$EBC9 PRG:2BC9 F0 27 jmp $EBD6 ; CPU:$EBCB PRG:2BCB 4C D6 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBCE +; Routine: SubCEBA4_Block_EBCE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11696,13 +11697,13 @@ Label_EBB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBCE: +SubCEBA4_Block_EBCE: cpy #$03 ; CPU:$EBCE PRG:2BCE C0 03 - beq Label_EBF2 ; CPU:$EBD0 PRG:2BD0 F0 20 + beq SubCEBD6_Block_EBF2 ; CPU:$EBD0 PRG:2BD0 F0 20 cpy #$04 ; CPU:$EBD2 PRG:2BD2 C0 04 - beq Label_EBF2 ; CPU:$EBD4 PRG:2BD4 F0 1C + beq SubCEBD6_Block_EBF2 ; CPU:$EBD4 PRG:2BD4 F0 1C ; ----------------------------------------------------------------------------- -; Routine: Label_EBD6 +; Routine: SubCEBD6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11710,14 +11711,14 @@ Label_EBCE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD6: +SubCEBD6: lda Zp64 ; CPU:$EBD6 PRG:2BD6 A5 64 cmp #$04 ; CPU:$EBD8 PRG:2BD8 C9 04 - bne Label_EBE0 ; CPU:$EBDA PRG:2BDA D0 04 + bne SubCEBD6_Block_EBE0 ; CPU:$EBDA PRG:2BDA D0 04 cpy #$01 ; CPU:$EBDC PRG:2BDC C0 01 - beq Label_EBF2 ; CPU:$EBDE PRG:2BDE F0 12 + beq SubCEBD6_Block_EBF2 ; CPU:$EBDE PRG:2BDE F0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_EBE0 +; Routine: SubCEBD6_Block_EBE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11725,17 +11726,17 @@ Label_EBD6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE0: +SubCEBD6_Block_EBE0: jsr $EBF5 ; CPU:$EBE0 PRG:2BE0 20 F5 EB - beq Label_EBF2 ; CPU:$EBE3 PRG:2BE3 F0 0D + beq SubCEBD6_Block_EBF2 ; CPU:$EBE3 PRG:2BE3 F0 0D lda Zp7C ; CPU:$EBE5 PRG:2BE5 A5 7C cmp Zp92 ; CPU:$EBE7 PRG:2BE7 C5 92 - bmi Label_EBF2 ; CPU:$EBE9 PRG:2BE9 30 07 + bmi SubCEBD6_Block_EBF2 ; CPU:$EBE9 PRG:2BE9 30 07 sty ZpA7 ; CPU:$EBEB PRG:2BEB 84 A7 lda #$48 ; CPU:$EBED PRG:2BED A9 48 jmp $EC56 ; CPU:$EBEF PRG:2BEF 4C 56 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EBF2 +; Routine: SubCEBD6_Block_EBF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11743,11 +11744,11 @@ Label_EBE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF2: +SubCEBD6_Block_EBF2: lda #$00 ; CPU:$EBF2 PRG:2BF2 A9 00 rts ; CPU:$EBF4 PRG:2BF4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBF5 +; Routine: SubCEBF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11755,16 +11756,16 @@ Label_EBF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF5: +SubCEBF5: lda #$40 ; CPU:$EBF5 PRG:2BF5 A9 40 ldx Zp7C ; CPU:$EBF7 PRG:2BF7 A6 7C cpx Zp92 ; CPU:$EBF9 PRG:2BF9 E4 92 - beq Label_EC03 ; CPU:$EBFB PRG:2BFB F0 06 + beq SubCEBF5_Block_EC03 ; CPU:$EBFB PRG:2BFB F0 06 ldx Zp18 ; CPU:$EBFD PRG:2BFD A6 18 cpx #$80 ; CPU:$EBFF PRG:2BFF E0 80 - bcc Label_EC05 ; CPU:$EC01 PRG:2C01 90 02 + bcc SubCEBF5_Block_EC05 ; CPU:$EC01 PRG:2C01 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EC03 +; Routine: SubCEBF5_Block_EC03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11772,10 +11773,10 @@ Label_EBF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC03: +SubCEBF5_Block_EC03: lda #$00 ; CPU:$EC03 PRG:2C03 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC05 +; Routine: SubCEBF5_Block_EC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11783,11 +11784,11 @@ Label_EC03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC05: +SubCEBF5_Block_EC05: eor ZpE0 ; CPU:$EC05 PRG:2C05 45 E0 rts ; CPU:$EC07 PRG:2C07 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC08 +; Routine: SubCEC08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11795,7 +11796,7 @@ Label_EC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC08: +SubCEC08: ldx Zp64 ; CPU:$EC08 PRG:2C08 A6 64 lda $C293,x ; CPU:$EC0A PRG:2C0A BD 93 C2 sta Zp00 ; CPU:$EC0D PRG:2C0D 85 00 @@ -11803,7 +11804,7 @@ Label_EC08: sta Zp01 ; CPU:$EC12 PRG:2C12 85 01 ldy #$00 ; CPU:$EC14 PRG:2C14 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC16 +; Routine: SubCEC08_Block_EC16 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11811,24 +11812,24 @@ Label_EC08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC16: +SubCEC08_Block_EC16: lda (Zp00),y ; CPU:$EC16 PRG:2C16 B1 00 cmp #$FF ; CPU:$EC18 PRG:2C18 C9 FF - beq Label_EC5B ; CPU:$EC1A PRG:2C1A F0 3F + beq SubCEC5B ; CPU:$EC1A PRG:2C1A F0 3F iny ; CPU:$EC1C PRG:2C1C C8 cmp Zp97 ; CPU:$EC1D PRG:2C1D C5 97 - bne Label_EC16 ; CPU:$EC1F PRG:2C1F D0 F5 + bne SubCEC08_Block_EC16 ; CPU:$EC1F PRG:2C1F D0 F5 cpy #$03 ; CPU:$EC21 PRG:2C21 C0 03 - beq Label_EC5B ; CPU:$EC23 PRG:2C23 F0 36 + beq SubCEC5B ; CPU:$EC23 PRG:2C23 F0 36 cpy #$04 ; CPU:$EC25 PRG:2C25 C0 04 - beq Label_EC5B ; CPU:$EC27 PRG:2C27 F0 32 + beq SubCEC5B ; CPU:$EC27 PRG:2C27 F0 32 lda Zp64 ; CPU:$EC29 PRG:2C29 A5 64 cmp #$04 ; CPU:$EC2B PRG:2C2B C9 04 - bne Label_EC33 ; CPU:$EC2D PRG:2C2D D0 04 + bne SubCEC08_Block_EC33 ; CPU:$EC2D PRG:2C2D D0 04 cpy #$06 ; CPU:$EC2F PRG:2C2F C0 06 - beq Label_EC5B ; CPU:$EC31 PRG:2C31 F0 28 + beq SubCEC5B ; CPU:$EC31 PRG:2C31 F0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_EC33 +; Routine: SubCEC08_Block_EC33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11836,7 +11837,7 @@ Label_EC16: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC33: +SubCEC08_Block_EC33: sty ZpA7 ; CPU:$EC33 PRG:2C33 84 A7 lda #$07 ; CPU:$EC35 PRG:2C35 A9 07 sec ; CPU:$EC37 PRG:2C37 38 @@ -11844,15 +11845,15 @@ Label_EC33: sta ZpA7 ; CPU:$EC3A PRG:2C3A 85 A7 lda Zp7C ; CPU:$EC3C PRG:2C3C A5 7C cmp #$08 ; CPU:$EC3E PRG:2C3E C9 08 - bne Label_EC4F ; CPU:$EC40 PRG:2C40 D0 0D + bne SubCEC08_Block_EC4F ; CPU:$EC40 PRG:2C40 D0 0D lda Zp82 ; CPU:$EC42 PRG:2C42 A5 82 cmp #$10 ; CPU:$EC44 PRG:2C44 C9 10 - bcc Label_EC4F ; CPU:$EC46 PRG:2C46 90 07 + bcc SubCEC08_Block_EC4F ; CPU:$EC46 PRG:2C46 90 07 cmp #$E0 ; CPU:$EC48 PRG:2C48 C9 E0 - bcs Label_EC4F ; CPU:$EC4A PRG:2C4A B0 03 + bcs SubCEC08_Block_EC4F ; CPU:$EC4A PRG:2C4A B0 03 jmp $EC5B ; CPU:$EC4C PRG:2C4C 4C 5B EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC4F +; Routine: SubCEC08_Block_EC4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11860,12 +11861,12 @@ Label_EC33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC4F: +SubCEC08_Block_EC4F: jsr $EBF5 ; CPU:$EC4F PRG:2C4F 20 F5 EB - beq Label_EC5B ; CPU:$EC52 PRG:2C52 F0 07 + beq SubCEC5B ; CPU:$EC52 PRG:2C52 F0 07 lda #$44 ; CPU:$EC54 PRG:2C54 A9 44 ; ----------------------------------------------------------------------------- -; Routine: Label_EC56 +; Routine: SubCEC56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11873,12 +11874,12 @@ Label_EC4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC56: +SubCEC56: ora Zp93 ; CPU:$EC56 PRG:2C56 05 93 sta Zp93 ; CPU:$EC58 PRG:2C58 85 93 rts ; CPU:$EC5A PRG:2C5A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC5B +; Routine: SubCEC5B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11886,11 +11887,11 @@ Label_EC56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC5B: +SubCEC5B: lda #$00 ; CPU:$EC5B PRG:2C5B A9 00 rts ; CPU:$EC5D PRG:2C5D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC5E +; Routine: SubCEC5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11898,14 +11899,14 @@ Label_EC5B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC5E: +SubCEC5E: jsr $EB1A ; CPU:$EC5E PRG:2C5E 20 1A EB jsr $EC6C ; CPU:$EC61 PRG:2C61 20 6C EC - beq Label_EC6B ; CPU:$EC64 PRG:2C64 F0 05 + beq SubCEC5E_Block_EC6B ; CPU:$EC64 PRG:2C64 F0 05 lda #$28 ; CPU:$EC66 PRG:2C66 A9 28 jmp $EC81 ; CPU:$EC68 PRG:2C68 4C 81 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC6B +; Routine: SubCEC5E_Block_EC6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11913,10 +11914,10 @@ Label_EC5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC6B: +SubCEC5E_Block_EC6B: rts ; CPU:$EC6B PRG:2C6B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC6C +; Routine: SubCEC6C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11924,13 +11925,13 @@ Label_EC6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC6C: +SubCEC6C: lda $C3BE,x ; CPU:$EC6C PRG:2C6C BD BE C3 sta Zp02 ; CPU:$EC6F PRG:2C6F 85 02 lda $C3BF,x ; CPU:$EC71 PRG:2C71 BD BF C3 jmp $EB2E ; CPU:$EC74 PRG:2C74 4C 2E EB ; ----------------------------------------------------------------------------- -; Routine: Label_EC77 +; Routine: SubCEC77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11938,13 +11939,13 @@ Label_EC6C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC77: +SubCEC77: jsr $EB1A ; CPU:$EC77 PRG:2C77 20 1A EB jsr $EC6C ; CPU:$EC7A PRG:2C7A 20 6C EC - beq Label_EC89 ; CPU:$EC7D PRG:2C7D F0 0A + beq SubCEC81_Block_EC89 ; CPU:$EC7D PRG:2C7D F0 0A lda #$24 ; CPU:$EC7F PRG:2C7F A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EC81 +; Routine: SubCEC81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11952,13 +11953,13 @@ Label_EC77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC81: +SubCEC81: ora Zp7D ; CPU:$EC81 PRG:2C81 05 7D sta Zp7D ; CPU:$EC83 PRG:2C83 85 7D lda Zp5E ; CPU:$EC85 PRG:2C85 A5 5E sta Zp90 ; CPU:$EC87 PRG:2C87 85 90 ; ----------------------------------------------------------------------------- -; Routine: Label_EC89 +; Routine: SubCEC81_Block_EC89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11966,10 +11967,10 @@ Label_EC81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC89: +SubCEC81_Block_EC89: rts ; CPU:$EC89 PRG:2C89 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC8A +; Routine: SubCEC8A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11977,20 +11978,20 @@ Label_EC89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC8A: +SubCEC8A: lda Zp7D ; CPU:$EC8A PRG:2C8A A5 7D and #$01 ; CPU:$EC8C PRG:2C8C 29 01 - beq Label_ECA5 ; CPU:$EC8E PRG:2C8E F0 15 + beq SubCEC8A_Block_ECA5 ; CPU:$EC8E PRG:2C8E F0 15 jsr $EB1A ; CPU:$EC90 PRG:2C90 20 1A EB lda $C3B2,x ; CPU:$EC93 PRG:2C93 BD B2 C3 sta Zp02 ; CPU:$EC96 PRG:2C96 85 02 lda $C3B3,x ; CPU:$EC98 PRG:2C98 BD B3 C3 jsr $EB2E ; CPU:$EC9B PRG:2C9B 20 2E EB - beq Label_ECA5 ; CPU:$EC9E PRG:2C9E F0 05 + beq SubCEC8A_Block_ECA5 ; CPU:$EC9E PRG:2C9E F0 05 lda #$11 ; CPU:$ECA0 PRG:2CA0 A9 11 jmp $ECBE ; CPU:$ECA2 PRG:2CA2 4C BE EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECA5 +; Routine: SubCEC8A_Block_ECA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11998,10 +11999,10 @@ Label_EC8A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECA5: +SubCEC8A_Block_ECA5: rts ; CPU:$ECA5 PRG:2CA5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ECA6 +; Routine: SubCECA6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12009,19 +12010,19 @@ Label_ECA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECA6: +SubCECA6: lda Zp7D ; CPU:$ECA6 PRG:2CA6 A5 7D and #$02 ; CPU:$ECA8 PRG:2CA8 29 02 - beq Label_ECC2 ; CPU:$ECAA PRG:2CAA F0 16 + beq SubCECBE_Block_ECC2 ; CPU:$ECAA PRG:2CAA F0 16 jsr $EB1A ; CPU:$ECAC PRG:2CAC 20 1A EB lda $C3B8,x ; CPU:$ECAF PRG:2CAF BD B8 C3 sta Zp02 ; CPU:$ECB2 PRG:2CB2 85 02 lda $C3B9,x ; CPU:$ECB4 PRG:2CB4 BD B9 C3 jsr $EB2E ; CPU:$ECB7 PRG:2CB7 20 2E EB - beq Label_ECC2 ; CPU:$ECBA PRG:2CBA F0 06 + beq SubCECBE_Block_ECC2 ; CPU:$ECBA PRG:2CBA F0 06 lda #$12 ; CPU:$ECBC PRG:2CBC A9 12 ; ----------------------------------------------------------------------------- -; Routine: Label_ECBE +; Routine: SubCECBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12029,11 +12030,11 @@ Label_ECA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECBE: +SubCECBE: sta Zp7D ; CPU:$ECBE PRG:2CBE 85 7D sta Zp91 ; CPU:$ECC0 PRG:2CC0 85 91 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC2 +; Routine: SubCECBE_Block_ECC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12041,10 +12042,10 @@ Label_ECBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC2: +SubCECBE_Block_ECC2: rts ; CPU:$ECC2 PRG:2CC2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC3 +; Routine: SubCECC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12052,10 +12053,10 @@ Label_ECC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC3: +SubCECC3: ldx $0300 ; CPU:$ECC3 PRG:2CC3 AE 00 03 lda $0302,x ; CPU:$ECC6 PRG:2CC6 BD 02 03 - beq Label_ED02 ; CPU:$ECC9 PRG:2CC9 F0 37 + beq SubCECC3_Block_ED02 ; CPU:$ECC9 PRG:2CC9 F0 37 and #$F0 ; CPU:$ECCB PRG:2CCB 29 F0 lsr a ; CPU:$ECCD PRG:2CCD 4A lsr a ; CPU:$ECCE PRG:2CCE 4A @@ -12079,10 +12080,10 @@ Label_ECC3: inx ; CPU:$ECEF PRG:2CEF E8 txa ; CPU:$ECF0 PRG:2CF0 8A cmp #$2E ; CPU:$ECF1 PRG:2CF1 C9 2E - bcc Label_ECF7 ; CPU:$ECF3 PRG:2CF3 90 02 + bcc SubCECC3_Block_ECF7 ; CPU:$ECF3 PRG:2CF3 90 02 lda #$00 ; CPU:$ECF5 PRG:2CF5 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ECF7 +; Routine: SubCECC3_Block_ECF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12090,13 +12091,13 @@ Label_ECC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF7: +SubCECC3_Block_ECF7: sta $0300 ; CPU:$ECF7 PRG:2CF7 8D 00 03 lda $0301,x ; CPU:$ECFA PRG:2CFA BD 01 03 sta Zp00 ; CPU:$ECFD PRG:2CFD 85 00 jmp ($0002) ; CPU:$ECFF PRG:2CFF 6C 02 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED02 +; Routine: SubCECC3_Block_ED02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12104,10 +12105,10 @@ Label_ECF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED02: +SubCECC3_Block_ED02: rts ; CPU:$ED02 PRG:2D02 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED03 +; Routine: SubCED03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12115,10 +12116,10 @@ Label_ED02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED03: +SubCED03: ldx $0301 ; CPU:$ED03 PRG:2D03 AE 01 03 ldy $0302,x ; CPU:$ED06 PRG:2D06 BC 02 03 - bne Label_ED1F ; CPU:$ED09 PRG:2D09 D0 14 + bne SubCED03_Block_ED1F ; CPU:$ED09 PRG:2D09 D0 14 sta $0303,x ; CPU:$ED0B PRG:2D0B 9D 03 03 lda Zp01 ; CPU:$ED0E PRG:2D0E A5 01 sta $0302,x ; CPU:$ED10 PRG:2D10 9D 02 03 @@ -12126,10 +12127,10 @@ Label_ED03: inx ; CPU:$ED14 PRG:2D14 E8 txa ; CPU:$ED15 PRG:2D15 8A cmp #$2E ; CPU:$ED16 PRG:2D16 C9 2E - bcc Label_ED1C ; CPU:$ED18 PRG:2D18 90 02 + bcc SubCED03_Block_ED1C ; CPU:$ED18 PRG:2D18 90 02 lda #$00 ; CPU:$ED1A PRG:2D1A A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED1C +; Routine: SubCED03_Block_ED1C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12137,10 +12138,10 @@ Label_ED03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED1C: +SubCED03_Block_ED1C: sta $0301 ; CPU:$ED1C PRG:2D1C 8D 01 03 ; ----------------------------------------------------------------------------- -; Routine: Label_ED1F +; Routine: SubCED03_Block_ED1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12148,10 +12149,10 @@ Label_ED1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED1F: +SubCED03_Block_ED1F: rts ; CPU:$ED1F PRG:2D1F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED20 +; Routine: SubCED20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12159,7 +12160,7 @@ Label_ED1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED20: +SubCED20: lda #$31 ; CPU:$ED20 PRG:2D20 A9 31 sta Zp00 ; CPU:$ED22 PRG:2D22 85 00 lda #$03 ; CPU:$ED24 PRG:2D24 A9 03 @@ -12170,7 +12171,7 @@ Label_ED20: sta $0331 ; CPU:$ED30 PRG:2D30 8D 31 03 rts ; CPU:$ED33 PRG:2D33 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED34 +; Routine: SubCED34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12178,14 +12179,14 @@ Label_ED20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED34: +SubCED34: lda #$00 ; CPU:$ED34 PRG:2D34 A9 00 - sta $2003 ; CPU:$ED36 PRG:2D36 8D 03 20 + sta OAMADDR ; CPU:$ED36 PRG:2D36 8D 03 20 lda #$02 ; CPU:$ED39 PRG:2D39 A9 02 - sta $4014 ; CPU:$ED3B PRG:2D3B 8D 14 40 + sta OAMDMA ; CPU:$ED3B PRG:2D3B 8D 14 40 rts ; CPU:$ED3E PRG:2D3E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED3F +; Routine: SubCED3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12193,20 +12194,20 @@ Label_ED34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED3F: - lda $2002 ; CPU:$ED3F PRG:2D3F AD 02 20 +SubCED3F: + lda PPUSTATUS ; CPU:$ED3F PRG:2D3F AD 02 20 lda Zp10 ; CPU:$ED42 PRG:2D42 A5 10 and #$FB ; CPU:$ED44 PRG:2D44 29 FB - sta $2000 ; CPU:$ED46 PRG:2D46 8D 00 20 + sta PPUCTRL ; CPU:$ED46 PRG:2D46 8D 00 20 lda #$20 ; CPU:$ED49 PRG:2D49 A9 20 - sta $2006 ; CPU:$ED4B PRG:2D4B 8D 06 20 + sta PPUADDR ; CPU:$ED4B PRG:2D4B 8D 06 20 lda #$00 ; CPU:$ED4E PRG:2D4E A9 00 - sta $2006 ; CPU:$ED50 PRG:2D50 8D 06 20 + sta PPUADDR ; CPU:$ED50 PRG:2D50 8D 06 20 ldx #$04 ; CPU:$ED53 PRG:2D53 A2 04 ldy #$00 ; CPU:$ED55 PRG:2D55 A0 00 lda #$24 ; CPU:$ED57 PRG:2D57 A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_ED59 +; Routine: SubCED3F_Block_ED59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12214,20 +12215,20 @@ Label_ED3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED59: - sta $2007 ; CPU:$ED59 PRG:2D59 8D 07 20 +SubCED3F_Block_ED59: + sta PPUDATA ; CPU:$ED59 PRG:2D59 8D 07 20 dey ; CPU:$ED5C PRG:2D5C 88 - bne Label_ED59 ; CPU:$ED5D PRG:2D5D D0 FA + bne SubCED3F_Block_ED59 ; CPU:$ED5D PRG:2D5D D0 FA dex ; CPU:$ED5F PRG:2D5F CA - bne Label_ED59 ; CPU:$ED60 PRG:2D60 D0 F7 + bne SubCED3F_Block_ED59 ; CPU:$ED60 PRG:2D60 D0 F7 lda #$23 ; CPU:$ED62 PRG:2D62 A9 23 - sta $2006 ; CPU:$ED64 PRG:2D64 8D 06 20 + sta PPUADDR ; CPU:$ED64 PRG:2D64 8D 06 20 lda #$C0 ; CPU:$ED67 PRG:2D67 A9 C0 - sta $2006 ; CPU:$ED69 PRG:2D69 8D 06 20 + sta PPUADDR ; CPU:$ED69 PRG:2D69 8D 06 20 ldy #$40 ; CPU:$ED6C PRG:2D6C A0 40 lda #$00 ; CPU:$ED6E PRG:2D6E A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED70 +; Routine: SubCED3F_Block_ED70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12235,13 +12236,13 @@ Label_ED59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED70: - sta $2007 ; CPU:$ED70 PRG:2D70 8D 07 20 +SubCED3F_Block_ED70: + sta PPUDATA ; CPU:$ED70 PRG:2D70 8D 07 20 dey ; CPU:$ED73 PRG:2D73 88 - bne Label_ED70 ; CPU:$ED74 PRG:2D74 D0 FA + bne SubCED3F_Block_ED70 ; CPU:$ED74 PRG:2D74 D0 FA rts ; CPU:$ED76 PRG:2D76 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED77 +; Routine: SubCED77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12249,10 +12250,10 @@ Label_ED70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED77: +SubCED77: lda #$04 ; CPU:$ED77 PRG:2D77 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ED79 +; Routine: SubCED77_Block_ED79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12260,14 +12261,14 @@ Label_ED77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED79: +SubCED77_Block_ED79: lsr Zp00 ; CPU:$ED79 PRG:2D79 46 00 - bcc Label_ED82 ; CPU:$ED7B PRG:2D7B 90 05 + bcc SubCED77_Block_ED82 ; CPU:$ED7B PRG:2D7B 90 05 pha ; CPU:$ED7D PRG:2D7D 48 jsr $ED88 ; CPU:$ED7E PRG:2D7E 20 88 ED pla ; CPU:$ED81 PRG:2D81 68 ; ----------------------------------------------------------------------------- -; Routine: Label_ED82 +; Routine: SubCED77_Block_ED82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12275,13 +12276,13 @@ Label_ED79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED82: +SubCED77_Block_ED82: clc ; CPU:$ED82 PRG:2D82 18 sbc #$00 ; CPU:$ED83 PRG:2D83 E9 00 - bpl Label_ED79 ; CPU:$ED85 PRG:2D85 10 F2 + bpl SubCED77_Block_ED79 ; CPU:$ED85 PRG:2D85 10 F2 rts ; CPU:$ED87 PRG:2D87 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED88 +; Routine: SubCED88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12289,7 +12290,7 @@ Label_ED82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED88: +SubCED88: asl a ; CPU:$ED88 PRG:2D88 0A asl a ; CPU:$ED89 PRG:2D89 0A tay ; CPU:$ED8A PRG:2D8A A8 @@ -12319,7 +12320,7 @@ Label_ED88: lda $C008,y ; CPU:$EDBF PRG:2DBF B9 08 C0 sta Zp03 ; CPU:$EDC2 PRG:2DC2 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EDC4 +; Routine: SubCED88_Block_EDC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12327,15 +12328,15 @@ Label_ED88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDC4: +SubCED88_Block_EDC4: dex ; CPU:$EDC4 PRG:2DC4 CA - lda a:$0020,y ; CPU:$EDC5 PRG:2DC5 B9 20 00 + lda a:Zp20,y ; CPU:$EDC5 PRG:2DC5 B9 20 00 and #$0F ; CPU:$EDC8 PRG:2DC8 29 0F sta $0331,x ; CPU:$EDCA PRG:2DCA 9D 31 03 dec Zp01 ; CPU:$EDCD PRG:2DCD C6 01 - beq Label_EDE3 ; CPU:$EDCF PRG:2DCF F0 12 + beq SubCED88_Block_EDE3 ; CPU:$EDCF PRG:2DCF F0 12 dex ; CPU:$EDD1 PRG:2DD1 CA - lda a:$0020,y ; CPU:$EDD2 PRG:2DD2 B9 20 00 + lda a:Zp20,y ; CPU:$EDD2 PRG:2DD2 B9 20 00 and #$F0 ; CPU:$EDD5 PRG:2DD5 29 F0 lsr a ; CPU:$EDD7 PRG:2DD7 4A lsr a ; CPU:$EDD8 PRG:2DD8 4A @@ -12344,9 +12345,9 @@ Label_EDC4: sta $0331,x ; CPU:$EDDB PRG:2DDB 9D 31 03 dey ; CPU:$EDDE PRG:2DDE 88 dec Zp01 ; CPU:$EDDF PRG:2DDF C6 01 - bne Label_EDC4 ; CPU:$EDE1 PRG:2DE1 D0 E1 + bne SubCED88_Block_EDC4 ; CPU:$EDE1 PRG:2DE1 D0 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_EDE3 +; Routine: SubCED88_Block_EDE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12354,17 +12355,17 @@ Label_EDC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE3: +SubCED88_Block_EDE3: lda Zp03 ; CPU:$EDE3 PRG:2DE3 A5 03 and #$01 ; CPU:$EDE5 PRG:2DE5 29 01 - beq Label_EDF4 ; CPU:$EDE7 PRG:2DE7 F0 0B + beq SubCED88_Block_EDF4 ; CPU:$EDE7 PRG:2DE7 F0 0B ldy Zp02 ; CPU:$EDE9 PRG:2DE9 A4 02 clc ; CPU:$EDEB PRG:2DEB 18 - lda a:$0020,y ; CPU:$EDEC PRG:2DEC B9 20 00 + lda a:Zp20,y ; CPU:$EDEC PRG:2DEC B9 20 00 adc #$37 ; CPU:$EDEF PRG:2DEF 69 37 sta $0331,x ; CPU:$EDF1 PRG:2DF1 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF4 +; Routine: SubCED88_Block_EDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12372,10 +12373,10 @@ Label_EDE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF4: +SubCED88_Block_EDF4: rts ; CPU:$EDF4 PRG:2DF4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF5 +; Routine: SubCEDF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12383,7 +12384,7 @@ Label_EDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF5: +SubCEDF5: txa ; CPU:$EDF5 PRG:2DF5 8A pha ; CPU:$EDF6 PRG:2DF6 48 ldy #$00 ; CPU:$EDF7 PRG:2DF7 A0 00 @@ -12398,7 +12399,7 @@ Label_EDF5: sta Zp04 ; CPU:$EE05 PRG:2E05 85 04 ldx $0330 ; CPU:$EE07 PRG:2E07 AE 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE0A +; Routine: SubCEDF5_Block_EE0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12406,7 +12407,7 @@ Label_EDF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE0A: +SubCEDF5_Block_EE0A: lda Zp01 ; CPU:$EE0A PRG:2E0A A5 01 sta $0331,x ; CPU:$EE0C PRG:2E0C 9D 31 03 jsr $EE4D ; CPU:$EE0F PRG:2E0F 20 4D EE @@ -12417,7 +12418,7 @@ Label_EE0A: sta Zp06 ; CPU:$EE1C PRG:2E1C 85 06 sta $0331,x ; CPU:$EE1E PRG:2E1E 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE21 +; Routine: SubCEDF5_Block_EE21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12425,13 +12426,13 @@ Label_EE0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE21: +SubCEDF5_Block_EE21: jsr $EE4D ; CPU:$EE21 PRG:2E21 20 4D EE iny ; CPU:$EE24 PRG:2E24 C8 lda (Zp02),y ; CPU:$EE25 PRG:2E25 B1 02 sta $0331,x ; CPU:$EE27 PRG:2E27 9D 31 03 dec Zp06 ; CPU:$EE2A PRG:2E2A C6 06 - bne Label_EE21 ; CPU:$EE2C PRG:2E2C D0 F3 + bne SubCEDF5_Block_EE21 ; CPU:$EE2C PRG:2E2C D0 F3 jsr $EE4D ; CPU:$EE2E PRG:2E2E 20 4D EE stx $0330 ; CPU:$EE31 PRG:2E31 8E 30 03 clc ; CPU:$EE34 PRG:2E34 18 @@ -12442,14 +12443,14 @@ Label_EE21: adc Zp01 ; CPU:$EE3D PRG:2E3D 65 01 sta Zp01 ; CPU:$EE3F PRG:2E3F 85 01 dec Zp04 ; CPU:$EE41 PRG:2E41 C6 04 - bne Label_EE0A ; CPU:$EE43 PRG:2E43 D0 C5 + bne SubCEDF5_Block_EE0A ; CPU:$EE43 PRG:2E43 D0 C5 lda #$00 ; CPU:$EE45 PRG:2E45 A9 00 sta $0331,x ; CPU:$EE47 PRG:2E47 9D 31 03 pla ; CPU:$EE4A PRG:2E4A 68 tax ; CPU:$EE4B PRG:2E4B AA rts ; CPU:$EE4C PRG:2E4C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE4D +; Routine: SubCEE4D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12457,11 +12458,11 @@ Label_EE21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE4D: +SubCEE4D: inx ; CPU:$EE4D PRG:2E4D E8 txa ; CPU:$EE4E PRG:2E4E 8A ; ----------------------------------------------------------------------------- -; Routine: Label_EE4F +; Routine: SubCEE4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12469,16 +12470,16 @@ Label_EE4D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE4F: +SubCEE4F: cmp #$3F ; CPU:$EE4F PRG:2E4F C9 3F - bcc Label_EE5D ; CPU:$EE51 PRG:2E51 90 0A + bcc SubCEE4F_Block_EE5D ; CPU:$EE51 PRG:2E51 90 0A ldx $0330 ; CPU:$EE53 PRG:2E53 AE 30 03 lda #$00 ; CPU:$EE56 PRG:2E56 A9 00 sta $0331,x ; CPU:$EE58 PRG:2E58 9D 31 03 pla ; CPU:$EE5B PRG:2E5B 68 pla ; CPU:$EE5C PRG:2E5C 68 ; ----------------------------------------------------------------------------- -; Routine: Label_EE5D +; Routine: SubCEE4F_Block_EE5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12486,10 +12487,10 @@ Label_EE4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE5D: +SubCEE4F_Block_EE5D: rts ; CPU:$EE5D PRG:2E5D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE5E +; Routine: SubCEE5E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12497,15 +12498,15 @@ Label_EE5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE5E: +SubCEE5E: ldx #$0E ; CPU:$EE5E PRG:2E5E A2 0E dec Zp34 ; CPU:$EE60 PRG:2E60 C6 34 - bpl Label_EE6A ; CPU:$EE62 PRG:2E62 10 06 + bpl SubCEE5E_Block_EE6A ; CPU:$EE62 PRG:2E62 10 06 lda #$0A ; CPU:$EE64 PRG:2E64 A9 0A sta Zp34 ; CPU:$EE66 PRG:2E66 85 34 ldx #$20 ; CPU:$EE68 PRG:2E68 A2 20 ; ----------------------------------------------------------------------------- -; Routine: Label_EE6A +; Routine: SubCEE5E_Block_EE6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12513,12 +12514,12 @@ Label_EE5E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE6A: +SubCEE5E_Block_EE6A: lda Zp35,x ; CPU:$EE6A PRG:2E6A B5 35 - beq Label_EE70 ; CPU:$EE6C PRG:2E6C F0 02 + beq SubCEE5E_Block_EE70 ; CPU:$EE6C PRG:2E6C F0 02 dec Zp35,x ; CPU:$EE6E PRG:2E6E D6 35 ; ----------------------------------------------------------------------------- -; Routine: Label_EE70 +; Routine: SubCEE5E_Block_EE70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12526,12 +12527,12 @@ Label_EE6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE70: +SubCEE5E_Block_EE70: dex ; CPU:$EE70 PRG:2E70 CA - bpl Label_EE6A ; CPU:$EE71 PRG:2E71 10 F7 + bpl SubCEE5E_Block_EE6A ; CPU:$EE71 PRG:2E71 10 F7 rts ; CPU:$EE73 PRG:2E73 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE74 +; Routine: SubCEE74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12539,7 +12540,7 @@ Label_EE70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE74: +SubCEE74: lda Zp18 ; CPU:$EE74 PRG:2E74 A5 18 and #$02 ; CPU:$EE76 PRG:2E76 29 02 sta Zp00 ; CPU:$EE78 PRG:2E78 85 00 @@ -12547,10 +12548,10 @@ Label_EE74: and #$02 ; CPU:$EE7C PRG:2E7C 29 02 eor Zp00 ; CPU:$EE7E PRG:2E7E 45 00 clc ; CPU:$EE80 PRG:2E80 18 - beq Label_EE84 ; CPU:$EE81 PRG:2E81 F0 01 + beq SubCEE74_Block_EE84 ; CPU:$EE81 PRG:2E81 F0 01 sec ; CPU:$EE83 PRG:2E83 38 ; ----------------------------------------------------------------------------- -; Routine: Label_EE84 +; Routine: SubCEE74_Block_EE84 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12558,12 +12559,12 @@ Label_EE74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE84: +SubCEE74_Block_EE84: ror Zp18 ; CPU:$EE84 PRG:2E84 66 18 ror Zp19 ; CPU:$EE86 PRG:2E86 66 19 rts ; CPU:$EE88 PRG:2E88 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE89 +; Routine: SubCEE89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12571,18 +12572,18 @@ Label_EE84: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE89: +SubCEE89: lda #$01 ; CPU:$EE89 PRG:2E89 A9 01 - sta $4016 ; CPU:$EE8B PRG:2E8B 8D 16 40 + sta JOY1 ; CPU:$EE8B PRG:2E8B 8D 16 40 ldx #$00 ; CPU:$EE8E PRG:2E8E A2 00 lda #$00 ; CPU:$EE90 PRG:2E90 A9 00 - sta $4016 ; CPU:$EE92 PRG:2E92 8D 16 40 + sta JOY1 ; CPU:$EE92 PRG:2E92 8D 16 40 jsr $EE9D ; CPU:$EE95 PRG:2E95 20 9D EE inx ; CPU:$EE98 PRG:2E98 E8 jsr $EE9D ; CPU:$EE99 PRG:2E99 20 9D EE rts ; CPU:$EE9C PRG:2E9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE9D +; Routine: SubCEE9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12590,10 +12591,10 @@ Label_EE89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE9D: +SubCEE9D: ldy #$08 ; CPU:$EE9D PRG:2E9D A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EE9F +; Routine: SubCEE9D_Block_EE9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12601,9 +12602,9 @@ Label_EE9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE9F: +SubCEE9D_Block_EE9F: pha ; CPU:$EE9F PRG:2E9F 48 - lda $4016,x ; CPU:$EEA0 PRG:2EA0 BD 16 40 + lda JOY1,x ; CPU:$EEA0 PRG:2EA0 BD 16 40 sta Zp00 ; CPU:$EEA3 PRG:2EA3 85 00 lsr a ; CPU:$EEA5 PRG:2EA5 4A ora Zp00 ; CPU:$EEA6 PRG:2EA6 05 00 @@ -12611,7 +12612,7 @@ Label_EE9F: pla ; CPU:$EEA9 PRG:2EA9 68 rol a ; CPU:$EEAA PRG:2EAA 2A dey ; CPU:$EEAB PRG:2EAB 88 - bne Label_EE9F ; CPU:$EEAC PRG:2EAC D0 F1 + bne SubCEE9D_Block_EE9F ; CPU:$EEAC PRG:2EAC D0 F1 stx Zp00 ; CPU:$EEAE PRG:2EAE 86 00 asl Zp00 ; CPU:$EEB0 PRG:2EB0 06 00 ldx Zp00 ; CPU:$EEB2 PRG:2EB2 A6 00 @@ -12620,13 +12621,13 @@ Label_EE9F: sta Zp14,x ; CPU:$EEB8 PRG:2EB8 95 14 sta Zp15,x ; CPU:$EEBA PRG:2EBA 95 15 and #$FF ; CPU:$EEBC PRG:2EBC 29 FF - bpl Label_EEC8 ; CPU:$EEBE PRG:2EBE 10 08 + bpl SubCEE9D_Block_EEC8 ; CPU:$EEBE PRG:2EBE 10 08 bit Zp00 ; CPU:$EEC0 PRG:2EC0 24 00 - bpl Label_EEC8 ; CPU:$EEC2 PRG:2EC2 10 04 + bpl SubCEE9D_Block_EEC8 ; CPU:$EEC2 PRG:2EC2 10 04 and #$7F ; CPU:$EEC4 PRG:2EC4 29 7F sta Zp15,x ; CPU:$EEC6 PRG:2EC6 95 15 ; ----------------------------------------------------------------------------- -; Routine: Label_EEC8 +; Routine: SubCEE9D_Block_EEC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12634,10 +12635,10 @@ Label_EE9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC8: +SubCEE9D_Block_EEC8: rts ; CPU:$EEC8 PRG:2EC8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EEC9 +; Routine: SubCEE9D_Block_EEC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12645,21 +12646,21 @@ Label_EEC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC9: - sta $2006 ; CPU:$EEC9 PRG:2EC9 8D 06 20 +SubCEE9D_Block_EEC9: + sta PPUADDR ; CPU:$EEC9 PRG:2EC9 8D 06 20 iny ; CPU:$EECC PRG:2ECC C8 lda (Zp00),y ; CPU:$EECD PRG:2ECD B1 00 - sta $2006 ; CPU:$EECF PRG:2ECF 8D 06 20 + sta PPUADDR ; CPU:$EECF PRG:2ECF 8D 06 20 iny ; CPU:$EED2 PRG:2ED2 C8 lda (Zp00),y ; CPU:$EED3 PRG:2ED3 B1 00 asl a ; CPU:$EED5 PRG:2ED5 0A pha ; CPU:$EED6 PRG:2ED6 48 lda Zp10 ; CPU:$EED7 PRG:2ED7 A5 10 ora #$04 ; CPU:$EED9 PRG:2ED9 09 04 - bcs Label_EEDF ; CPU:$EEDB PRG:2EDB B0 02 + bcs SubCEE9D_Block_EEDF ; CPU:$EEDB PRG:2EDB B0 02 and #$FB ; CPU:$EEDD PRG:2EDD 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_EEDF +; Routine: SubCEE9D_Block_EEDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12667,16 +12668,16 @@ Label_EEC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEDF: - sta $2000 ; CPU:$EEDF PRG:2EDF 8D 00 20 +SubCEE9D_Block_EEDF: + sta PPUCTRL ; CPU:$EEDF PRG:2EDF 8D 00 20 sta Zp10 ; CPU:$EEE2 PRG:2EE2 85 10 pla ; CPU:$EEE4 PRG:2EE4 68 asl a ; CPU:$EEE5 PRG:2EE5 0A - bcc Label_EEEB ; CPU:$EEE6 PRG:2EE6 90 03 + bcc SubCEE9D_Block_EEEB ; CPU:$EEE6 PRG:2EE6 90 03 ora #$02 ; CPU:$EEE8 PRG:2EE8 09 02 iny ; CPU:$EEEA PRG:2EEA C8 ; ----------------------------------------------------------------------------- -; Routine: Label_EEEB +; Routine: SubCEE9D_Block_EEEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12684,12 +12685,12 @@ Label_EEDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEEB: +SubCEE9D_Block_EEEB: lsr a ; CPU:$EEEB PRG:2EEB 4A lsr a ; CPU:$EEEC PRG:2EEC 4A tax ; CPU:$EEED PRG:2EED AA ; ----------------------------------------------------------------------------- -; Routine: Label_EEEE +; Routine: SubCEE9D_Block_EEEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12697,11 +12698,11 @@ Label_EEEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEEE: - bcs Label_EEF1 ; CPU:$EEEE PRG:2EEE B0 01 +SubCEE9D_Block_EEEE: + bcs SubCEE9D_Block_EEF1 ; CPU:$EEEE PRG:2EEE B0 01 iny ; CPU:$EEF0 PRG:2EF0 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_EEF1 +; Routine: SubCEE9D_Block_EEF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12709,11 +12710,11 @@ Label_EEEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEF1: +SubCEE9D_Block_EEF1: lda (Zp00),y ; CPU:$EEF1 PRG:2EF1 B1 00 - sta $2007 ; CPU:$EEF3 PRG:2EF3 8D 07 20 + sta PPUDATA ; CPU:$EEF3 PRG:2EF3 8D 07 20 dex ; CPU:$EEF6 PRG:2EF6 CA - bne Label_EEEE ; CPU:$EEF7 PRG:2EF7 D0 F5 + bne SubCEE9D_Block_EEEE ; CPU:$EEF7 PRG:2EF7 D0 F5 sec ; CPU:$EEF9 PRG:2EF9 38 tya ; CPU:$EEFA PRG:2EFA 98 adc Zp00 ; CPU:$EEFB PRG:2EFB 65 00 @@ -12722,7 +12723,7 @@ Label_EEF1: adc Zp01 ; CPU:$EF01 PRG:2F01 65 01 sta Zp01 ; CPU:$EF03 PRG:2F03 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EF05 +; Routine: SubCEF05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12730,18 +12731,18 @@ Label_EEF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF05: - ldx $2002 ; CPU:$EF05 PRG:2F05 AE 02 20 +SubCEF05: + ldx PPUSTATUS ; CPU:$EF05 PRG:2F05 AE 02 20 ldy #$00 ; CPU:$EF08 PRG:2F08 A0 00 lda (Zp00),y ; CPU:$EF0A PRG:2F0A B1 00 - bne Label_EEC9 ; CPU:$EF0C PRG:2F0C D0 BB + bne SubCEE9D_Block_EEC9 ; CPU:$EF0C PRG:2F0C D0 BB lda Zp12 ; CPU:$EF0E PRG:2F0E A5 12 - sta $2005 ; CPU:$EF10 PRG:2F10 8D 05 20 + sta PPUSCROLL ; CPU:$EF10 PRG:2F10 8D 05 20 lda Zp13 ; CPU:$EF13 PRG:2F13 A5 13 - sta $2005 ; CPU:$EF15 PRG:2F15 8D 05 20 + sta PPUSCROLL ; CPU:$EF15 PRG:2F15 8D 05 20 rts ; CPU:$EF18 PRG:2F18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF19 +; Routine: SubCEF19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12749,12 +12750,12 @@ Label_EF05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF19: +SubCEF19: ldx #$FF ; CPU:$EF19 PRG:2F19 A2 FF - bne Label_EF1F ; CPU:$EF1B PRG:2F1B D0 02 + bne SubCEF19_Block_EF1F ; CPU:$EF1B PRG:2F1B D0 02 ldx #$00 ; CPU:$EF1D PRG:2F1D A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF1F +; Routine: SubCEF19_Block_EF1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12762,7 +12763,7 @@ Label_EF19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF1F: +SubCEF19_Block_EF1F: stx Zp04 ; CPU:$EF1F PRG:2F1F 86 04 ldx #$00 ; CPU:$EF21 PRG:2F21 A2 00 stx Zp05 ; CPU:$EF23 PRG:2F23 86 05 @@ -12770,10 +12771,10 @@ Label_EF1F: stx Zp07 ; CPU:$EF27 PRG:2F27 86 07 lda Zp01 ; CPU:$EF29 PRG:2F29 A5 01 and #$08 ; CPU:$EF2B PRG:2F2B 29 08 - bne Label_EF30 ; CPU:$EF2D PRG:2F2D D0 01 + bne SubCEF19_Block_EF30 ; CPU:$EF2D PRG:2F2D D0 01 inx ; CPU:$EF2F PRG:2F2F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EF30 +; Routine: SubCEF19_Block_EF30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12781,14 +12782,14 @@ Label_EF1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF30: +SubCEF19_Block_EF30: lda Zp00 ; CPU:$EF30 PRG:2F30 A5 00 sta Zp06,x ; CPU:$EF32 PRG:2F32 95 06 lda Zp01 ; CPU:$EF34 PRG:2F34 A5 01 jsr $EF3A ; CPU:$EF36 PRG:2F36 20 3A EF rts ; CPU:$EF39 PRG:2F39 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF3A +; Routine: SubCEF3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12796,17 +12797,17 @@ Label_EF30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF3A: +SubCEF3A: and #$07 ; CPU:$EF3A PRG:2F3A 29 07 asl a ; CPU:$EF3C PRG:2F3C 0A asl a ; CPU:$EF3D PRG:2F3D 0A tax ; CPU:$EF3E PRG:2F3E AA lda Zp04 ; CPU:$EF3F PRG:2F3F A5 04 - beq Label_EF6A ; CPU:$EF41 PRG:2F41 F0 27 + beq SubCEF3A_Block_EF6A ; CPU:$EF41 PRG:2F41 F0 27 lda Zp24,x ; CPU:$EF43 PRG:2F43 B5 24 - beq Label_EF6E ; CPU:$EF45 PRG:2F45 F0 27 + beq SubCEF3A_Block_EF6E ; CPU:$EF45 PRG:2F45 F0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_EF47 +; Routine: SubCEF3A_Block_EF47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12814,7 +12815,7 @@ Label_EF3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF47: +SubCEF3A_Block_EF47: clc ; CPU:$EF47 PRG:2F47 18 lda Zp27,x ; CPU:$EF48 PRG:2F48 B5 27 sta Zp03 ; CPU:$EF4A PRG:2F4A 85 03 @@ -12833,7 +12834,7 @@ Label_EF47: sta Zp25,x ; CPU:$EF67 PRG:2F67 95 25 rts ; CPU:$EF69 PRG:2F69 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6A +; Routine: SubCEF3A_Block_EF6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12841,11 +12842,11 @@ Label_EF47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6A: +SubCEF3A_Block_EF6A: lda Zp24,x ; CPU:$EF6A PRG:2F6A B5 24 - beq Label_EF47 ; CPU:$EF6C PRG:2F6C F0 D9 + beq SubCEF3A_Block_EF47 ; CPU:$EF6C PRG:2F6C F0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6E +; Routine: SubCEF3A_Block_EF6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12853,7 +12854,7 @@ Label_EF6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6E: +SubCEF3A_Block_EF6E: sec ; CPU:$EF6E PRG:2F6E 38 lda Zp27,x ; CPU:$EF6F PRG:2F6F B5 27 sta Zp03 ; CPU:$EF71 PRG:2F71 85 03 @@ -12871,13 +12872,13 @@ Label_EF6E: jsr $EFE0 ; CPU:$EF8B PRG:2F8B 20 E0 EF sta Zp25,x ; CPU:$EF8E PRG:2F8E 95 25 lda Zp25,x ; CPU:$EF90 PRG:2F90 B5 25 - bne Label_EF9C ; CPU:$EF92 PRG:2F92 D0 08 + bne SubCEF3A_Block_EF9C ; CPU:$EF92 PRG:2F92 D0 08 lda Zp26,x ; CPU:$EF94 PRG:2F94 B5 26 - bne Label_EF9C ; CPU:$EF96 PRG:2F96 D0 04 + bne SubCEF3A_Block_EF9C ; CPU:$EF96 PRG:2F96 D0 04 lda Zp27,x ; CPU:$EF98 PRG:2F98 B5 27 - beq Label_EFA2 ; CPU:$EF9A PRG:2F9A F0 06 + beq SubCEF3A_Block_EFA2 ; CPU:$EF9A PRG:2F9A F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EF9C +; Routine: SubCEF3A_Block_EF9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12885,12 +12886,12 @@ Label_EF6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF9C: - bcs Label_EFBE ; CPU:$EF9C PRG:2F9C B0 20 +SubCEF3A_Block_EF9C: + bcs SubCEF3A_Block_EFBE ; CPU:$EF9C PRG:2F9C B0 20 lda Zp24,x ; CPU:$EF9E PRG:2F9E B5 24 eor #$FF ; CPU:$EFA0 PRG:2FA0 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_EFA2 +; Routine: SubCEF3A_Block_EFA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12898,7 +12899,7 @@ Label_EF9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFA2: +SubCEF3A_Block_EFA2: sta Zp24,x ; CPU:$EFA2 PRG:2FA2 95 24 sec ; CPU:$EFA4 PRG:2FA4 38 lda #$00 ; CPU:$EFA5 PRG:2FA5 A9 00 @@ -12913,7 +12914,7 @@ Label_EFA2: jsr $EFE0 ; CPU:$EFB9 PRG:2FB9 20 E0 EF sta Zp25,x ; CPU:$EFBC PRG:2FBC 95 25 ; ----------------------------------------------------------------------------- -; Routine: Label_EFBE +; Routine: SubCEF3A_Block_EFBE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12921,10 +12922,10 @@ Label_EFA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFBE: +SubCEF3A_Block_EFBE: rts ; CPU:$EFBE PRG:2FBE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFBF +; Routine: SubCEFBF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12932,14 +12933,14 @@ Label_EFBE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFBF: +SubCEFBF: jsr $F002 ; CPU:$EFBF PRG:2FBF 20 02 F0 adc Zp01 ; CPU:$EFC2 PRG:2FC2 65 01 cmp #$0A ; CPU:$EFC4 PRG:2FC4 C9 0A - bcc Label_EFCA ; CPU:$EFC6 PRG:2FC6 90 02 + bcc SubCEFBF_Block_EFCA ; CPU:$EFC6 PRG:2FC6 90 02 adc #$05 ; CPU:$EFC8 PRG:2FC8 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EFCA +; Routine: SubCEFBF_Block_EFCA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12947,16 +12948,16 @@ Label_EFBF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFCA: +SubCEFBF_Block_EFCA: clc ; CPU:$EFCA PRG:2FCA 18 adc Zp02 ; CPU:$EFCB PRG:2FCB 65 02 sta Zp02 ; CPU:$EFCD PRG:2FCD 85 02 lda Zp03 ; CPU:$EFCF PRG:2FCF A5 03 and #$F0 ; CPU:$EFD1 PRG:2FD1 29 F0 adc Zp02 ; CPU:$EFD3 PRG:2FD3 65 02 - bcc Label_EFDB ; CPU:$EFD5 PRG:2FD5 90 04 + bcc SubCEFBF_Block_EFDB ; CPU:$EFD5 PRG:2FD5 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EFD7 +; Routine: SubCEFBF_Block_EFD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12964,12 +12965,12 @@ Label_EFCA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD7: +SubCEFBF_Block_EFD7: adc #$5F ; CPU:$EFD7 PRG:2FD7 69 5F sec ; CPU:$EFD9 PRG:2FD9 38 rts ; CPU:$EFDA PRG:2FDA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFDB +; Routine: SubCEFBF_Block_EFDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12977,12 +12978,12 @@ Label_EFD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFDB: +SubCEFBF_Block_EFDB: cmp #$A0 ; CPU:$EFDB PRG:2FDB C9 A0 - bcs Label_EFD7 ; CPU:$EFDD PRG:2FDD B0 F8 + bcs SubCEFBF_Block_EFD7 ; CPU:$EFDD PRG:2FDD B0 F8 rts ; CPU:$EFDF PRG:2FDF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFE0 +; Routine: SubCEFE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12990,18 +12991,18 @@ Label_EFDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE0: +SubCEFE0: jsr $F002 ; CPU:$EFE0 PRG:2FE0 20 02 F0 sbc Zp01 ; CPU:$EFE3 PRG:2FE3 E5 01 sta Zp01 ; CPU:$EFE5 PRG:2FE5 85 01 - bcs Label_EFF3 ; CPU:$EFE7 PRG:2FE7 B0 0A + bcs SubCEFE0_Block_EFF3 ; CPU:$EFE7 PRG:2FE7 B0 0A adc #$0A ; CPU:$EFE9 PRG:2FE9 69 0A sta Zp01 ; CPU:$EFEB PRG:2FEB 85 01 lda Zp02 ; CPU:$EFED PRG:2FED A5 02 adc #$0F ; CPU:$EFEF PRG:2FEF 69 0F sta Zp02 ; CPU:$EFF1 PRG:2FF1 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EFF3 +; Routine: SubCEFE0_Block_EFF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13009,16 +13010,16 @@ Label_EFE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFF3: +SubCEFE0_Block_EFF3: lda Zp03 ; CPU:$EFF3 PRG:2FF3 A5 03 and #$F0 ; CPU:$EFF5 PRG:2FF5 29 F0 sec ; CPU:$EFF7 PRG:2FF7 38 sbc Zp02 ; CPU:$EFF8 PRG:2FF8 E5 02 - bcs Label_EFFF ; CPU:$EFFA PRG:2FFA B0 03 + bcs SubCEFE0_Block_EFFF ; CPU:$EFFA PRG:2FFA B0 03 adc #$A0 ; CPU:$EFFC PRG:2FFC 69 A0 clc ; CPU:$EFFE PRG:2FFE 18 ; ----------------------------------------------------------------------------- -; Routine: Label_EFFF +; Routine: SubCEFE0_Block_EFFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13026,11 +13027,11 @@ Label_EFF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFFF: +SubCEFE0_Block_EFFF: ora Zp01 ; CPU:$EFFF PRG:2FFF 05 01 rts ; CPU:$F001 PRG:3001 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F002 +; Routine: SubCF002 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13038,7 +13039,7 @@ Label_EFFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F002: +SubCF002: pha ; CPU:$F002 PRG:3002 48 and #$0F ; CPU:$F003 PRG:3003 29 0F sta Zp01 ; CPU:$F005 PRG:3005 85 01 @@ -13052,7 +13053,7 @@ Label_F002: .byte $A9, $00, $85, $04, $18, $A5, $00, $69, $10, $29, $F0, $4A, $4A, $A8, $A5, $00 ; CPU:$F011 PRG:3011 A9 00 85 04 18 A5 00 69 10 29 F0 4A 4A A8 A5 00 .byte $29, $07, $0A, $0A, $AA ; CPU:$F021 PRG:3021 29 07 0A 0A AA ; ----------------------------------------------------------------------------- -; Routine: Label_F026 +; Routine: SubCF002_Block_F026 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13060,13 +13061,13 @@ Label_F002: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F026: - lda a:$0020,y ; CPU:$F026 PRG:3026 B9 20 00 - beq Label_F07C ; CPU:$F029 PRG:3029 F0 51 +SubCF002_Block_F026: + lda a:Zp20,y ; CPU:$F026 PRG:3026 B9 20 00 + beq SubCF071_Block_F07C ; CPU:$F029 PRG:3029 F0 51 lda Zp24,x ; CPU:$F02B PRG:302B B5 24 - beq Label_F055 ; CPU:$F02D PRG:302D F0 26 + beq SubCF002_Block_F055 ; CPU:$F02D PRG:302D F0 26 ; ----------------------------------------------------------------------------- -; Routine: Label_F02F +; Routine: SubCF002_Block_F02F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13074,25 +13075,25 @@ Label_F026: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02F: +SubCF002_Block_F02F: sec ; CPU:$F02F PRG:302F 38 - lda a:$0023,y ; CPU:$F030 PRG:3030 B9 23 00 + lda a:Zp23,y ; CPU:$F030 PRG:3030 B9 23 00 sta Zp03 ; CPU:$F033 PRG:3033 85 03 lda Zp27,x ; CPU:$F035 PRG:3035 B5 27 jsr $EFE0 ; CPU:$F037 PRG:3037 20 E0 EF - lda a:$0022,y ; CPU:$F03A PRG:303A B9 22 00 + lda a:Zp22,y ; CPU:$F03A PRG:303A B9 22 00 sta Zp03 ; CPU:$F03D PRG:303D 85 03 lda Zp26,x ; CPU:$F03F PRG:303F B5 26 jsr $EFE0 ; CPU:$F041 PRG:3041 20 E0 EF - lda a:$0021,y ; CPU:$F044 PRG:3044 B9 21 00 + lda a:Zp21,y ; CPU:$F044 PRG:3044 B9 21 00 sta Zp03 ; CPU:$F047 PRG:3047 85 03 lda Zp25,x ; CPU:$F049 PRG:3049 B5 25 jsr $EFE0 ; CPU:$F04B PRG:304B 20 E0 EF - bcs Label_F080 ; CPU:$F04E PRG:304E B0 30 - lda a:$0020,y ; CPU:$F050 PRG:3050 B9 20 00 - bne Label_F085 ; CPU:$F053 PRG:3053 D0 30 + bcs SubCF071_Block_F080 ; CPU:$F04E PRG:304E B0 30 + lda a:Zp20,y ; CPU:$F050 PRG:3050 B9 20 00 + bne SubCF071_Block_F085 ; CPU:$F053 PRG:3053 D0 30 ; ----------------------------------------------------------------------------- -; Routine: Label_F055 +; Routine: SubCF002_Block_F055 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13100,12 +13101,12 @@ Label_F02F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F055: +SubCF002_Block_F055: lda #$FF ; CPU:$F055 PRG:3055 A9 FF sta Zp04 ; CPU:$F057 PRG:3057 85 04 sec ; CPU:$F059 PRG:3059 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F05A +; Routine: SubCF002_Block_F05A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13113,10 +13114,10 @@ Label_F055: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F05A: +SubCF002_Block_F05A: tya ; CPU:$F05A PRG:305A 98 - bne Label_F07B ; CPU:$F05B PRG:305B D0 1E - bcc Label_F06F ; CPU:$F05D PRG:305D 90 10 + bne SubCF071_Block_F07B ; CPU:$F05B PRG:305B D0 1E + bcc SubCF002_Block_F06F ; CPU:$F05D PRG:305D 90 10 lda Zp24,x ; CPU:$F05F PRG:305F B5 24 sta Zp20 ; CPU:$F061 PRG:3061 85 20 lda Zp25,x ; CPU:$F063 PRG:3063 B5 25 @@ -13126,7 +13127,7 @@ Label_F05A: lda Zp27,x ; CPU:$F06B PRG:306B B5 27 sta Zp23 ; CPU:$F06D PRG:306D 85 23 ; ----------------------------------------------------------------------------- -; Routine: Label_F06F +; Routine: SubCF002_Block_F06F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13134,10 +13135,10 @@ Label_F05A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F06F: +SubCF002_Block_F06F: lda Zp00 ; CPU:$F06F PRG:306F A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F071 +; Routine: SubCF071 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13145,16 +13146,16 @@ Label_F06F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F071: +SubCF071: and #$08 ; CPU:$F071 PRG:3071 29 08 - beq Label_F07B ; CPU:$F073 PRG:3073 F0 06 + beq SubCF071_Block_F07B ; CPU:$F073 PRG:3073 F0 06 dex ; CPU:$F075 PRG:3075 CA dex ; CPU:$F076 PRG:3076 CA dex ; CPU:$F077 PRG:3077 CA dex ; CPU:$F078 PRG:3078 CA - bpl Label_F026 ; CPU:$F079 PRG:3079 10 AB + bpl SubCF002_Block_F026 ; CPU:$F079 PRG:3079 10 AB ; ----------------------------------------------------------------------------- -; Routine: Label_F07B +; Routine: SubCF071_Block_F07B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13162,10 +13163,10 @@ Label_F071: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07B: +SubCF071_Block_F07B: rts ; CPU:$F07B PRG:307B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F07C +; Routine: SubCF071_Block_F07C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13173,11 +13174,11 @@ Label_F07B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07C: +SubCF071_Block_F07C: lda Zp24,x ; CPU:$F07C PRG:307C B5 24 - beq Label_F02F ; CPU:$F07E PRG:307E F0 AF + beq SubCF002_Block_F02F ; CPU:$F07E PRG:307E F0 AF ; ----------------------------------------------------------------------------- -; Routine: Label_F080 +; Routine: SubCF071_Block_F080 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13185,11 +13186,11 @@ Label_F07C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F080: - lda a:$0020,y ; CPU:$F080 PRG:3080 B9 20 00 - bne Label_F055 ; CPU:$F083 PRG:3083 D0 D0 +SubCF071_Block_F080: + lda a:Zp20,y ; CPU:$F080 PRG:3080 B9 20 00 + bne SubCF002_Block_F055 ; CPU:$F083 PRG:3083 D0 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_F085 +; Routine: SubCF071_Block_F085 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13197,9 +13198,10 @@ Label_F080: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F085: +SubCF071_Block_F085: clc ; CPU:$F085 PRG:3085 18 - bcc Label_F05A ; CPU:$F086 PRG:3086 90 D2 + bcc SubCF002_Block_F05A ; CPU:$F086 PRG:3086 90 D2 +AudioData: ; ---- data $F088-$F832 (1963 bytes) ---- .byte $3F, $00, $1D, $0F, $30, $16, $02, $0F, $2A, $17, $07, $0F, $1C, $10, $07, $0F ; CPU:$F088 PRG:3088 3F 00 1D 0F 30 16 02 0F 2A 17 07 0F 1C 10 07 0F .byte $1C, $30, $21, $0F, $30, $36, $12, $0F, $14, $36, $17, $0F, $25, $37, $07, $0F ; CPU:$F098 PRG:3098 1C 30 21 0F 30 36 12 0F 14 36 17 0F 25 37 07 0F @@ -13325,7 +13327,7 @@ Label_F085: .byte $0D, $EB, $23, $4B, $0D, $16, $0A, $0D, $0E, $24, $12, $17, $24, $13, $0A, $19 ; CPU:$F818 PRG:3818 0D EB 23 4B 0D 16 0A 0D 0E 24 12 17 24 13 0A 19 .byte $0A, $17, $2B, $81, $7F, $24, $00, $FF, $FF, $FF, $FF ; CPU:$F828 PRG:3828 0A 17 2B 81 7F 24 00 FF FF FF FF ; ----------------------------------------------------------------------------- -; Routine: Label_F833 +; Routine: SubCF833 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13333,10 +13335,10 @@ Label_F085: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F833: +SubCF833: ldy #$7F ; CPU:$F833 PRG:3833 A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F835 +; Routine: SubCF835 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13344,10 +13346,10 @@ Label_F833: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F835: +SubCF835: jsr $F98E ; CPU:$F835 PRG:3835 20 8E F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F838 +; Routine: SubCF838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13355,10 +13357,10 @@ Label_F835: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F838: +SubCF838: ldx #$00 ; CPU:$F838 PRG:3838 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F83A +; Routine: SubCF838_Block_F83A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13366,15 +13368,15 @@ Label_F838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F83A: +SubCF838_Block_F83A: tay ; CPU:$F83A PRG:383A A8 lda $F901,y ; CPU:$F83B PRG:383B B9 01 F9 - beq Label_F849 ; CPU:$F83E PRG:383E F0 09 - sta $4002,x ; CPU:$F840 PRG:3840 9D 02 40 + beq SubCF838_Block_F849 ; CPU:$F83E PRG:383E F0 09 + sta APUPULSE1TIMERLO,x ; CPU:$F840 PRG:3840 9D 02 40 lda $F900,y ; CPU:$F843 PRG:3843 B9 00 F9 - sta $4003,x ; CPU:$F846 PRG:3846 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F846 PRG:3846 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F849 +; Routine: SubCF838_Block_F849 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13382,10 +13384,10 @@ Label_F83A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F849: +SubCF838_Block_F849: rts ; CPU:$F849 PRG:3849 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F84A +; Routine: SubCF84A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13393,11 +13395,11 @@ Label_F849: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F84A: +SubCF84A: ldx #$04 ; CPU:$F84A PRG:384A A2 04 - bne Label_F83A ; CPU:$F84C PRG:384C D0 EC + bne SubCF838_Block_F83A ; CPU:$F84C PRG:384C D0 EC ; ----------------------------------------------------------------------------- -; Routine: Label_F84E +; Routine: SubCF84E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13405,11 +13407,11 @@ Label_F84A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F84E: +SubCF84E: ldx #$08 ; CPU:$F84E PRG:384E A2 08 - bne Label_F83A ; CPU:$F850 PRG:3850 D0 E8 + bne SubCF838_Block_F83A ; CPU:$F850 PRG:3850 D0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F852 +; Routine: SubCF852 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13417,7 +13419,7 @@ Label_F84E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F852: +SubCF852: tax ; CPU:$F852 PRG:3852 AA ror a ; CPU:$F853 PRG:3853 6A txa ; CPU:$F854 PRG:3854 8A @@ -13425,7 +13427,7 @@ Label_F852: rol a ; CPU:$F856 PRG:3856 2A rol a ; CPU:$F857 PRG:3857 2A ; ----------------------------------------------------------------------------- -; Routine: Label_F858 +; Routine: SubCF858 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13433,7 +13435,7 @@ Label_F852: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F858: +SubCF858: and #$07 ; CPU:$F858 PRG:3858 29 07 clc ; CPU:$F85A PRG:385A 18 adc $068D ; CPU:$F85B PRG:385B 6D 8D 06 @@ -13441,7 +13443,7 @@ Label_F858: lda $F950,y ; CPU:$F85F PRG:385F B9 50 F9 rts ; CPU:$F862 PRG:3862 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F863 +; Routine: SubCF858_Block_F863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13449,7 +13451,7 @@ Label_F858: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F863: +SubCF858_Block_F863: inc $06A0 ; CPU:$F863 PRG:3863 EE A0 06 lda #$64 ; CPU:$F866 PRG:3866 A9 64 sta ZpF1 ; CPU:$F868 PRG:3868 85 F1 @@ -13459,7 +13461,7 @@ Label_F863: jsr $F835 ; CPU:$F870 PRG:3870 20 35 F8 jmp $FC2D ; CPU:$F873 PRG:3873 4C 2D FC ; ----------------------------------------------------------------------------- -; Routine: Label_F876 +; Routine: SubCF858_Block_F876 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13467,19 +13469,19 @@ Label_F863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F876: +SubCF858_Block_F876: dec ZpF1 ; CPU:$F876 PRG:3876 C6 F1 lda ZpF1 ; CPU:$F878 PRG:3878 A5 F1 - beq Label_F895 ; CPU:$F87A PRG:387A F0 19 + beq SubCF858_Block_F895 ; CPU:$F87A PRG:387A F0 19 lsr a ; CPU:$F87C PRG:387C 4A - bcs Label_F88E ; CPU:$F87D PRG:387D B0 0F + bcs SubCF858_Block_F88E ; CPU:$F87D PRG:387D B0 0F cmp #$2C ; CPU:$F87F PRG:387F C9 2C ldx #$9C ; CPU:$F881 PRG:3881 A2 9C ldy #$B4 ; CPU:$F883 PRG:3883 A0 B4 - bcc Label_F889 ; CPU:$F885 PRG:3885 90 02 + bcc SubCF858_Block_F889 ; CPU:$F885 PRG:3885 90 02 ldy #$BA ; CPU:$F887 PRG:3887 A0 BA ; ----------------------------------------------------------------------------- -; Routine: Label_F889 +; Routine: SubCF858_Block_F889 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13487,11 +13489,11 @@ Label_F876: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F889: +SubCF858_Block_F889: jsr $F98E ; CPU:$F889 PRG:3889 20 8E F9 - bne Label_F891 ; CPU:$F88C PRG:388C D0 03 + bne SubCF858_Block_F891 ; CPU:$F88C PRG:388C D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F88E +; Routine: SubCF858_Block_F88E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13499,10 +13501,10 @@ Label_F889: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F88E: +SubCF858_Block_F88E: jsr $F995 ; CPU:$F88E PRG:388E 20 95 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F891 +; Routine: SubCF858_Block_F891 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13510,11 +13512,11 @@ Label_F88E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F891: +SubCF858_Block_F891: inc ZpF9 ; CPU:$F891 PRG:3891 E6 F9 - bne Label_F8FD ; CPU:$F893 PRG:3893 D0 68 + bne SubCF8A1_Block_F8FD ; CPU:$F893 PRG:3893 D0 68 ; ----------------------------------------------------------------------------- -; Routine: Label_F895 +; Routine: SubCF858_Block_F895 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13522,11 +13524,11 @@ Label_F891: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F895: +SubCF858_Block_F895: sta $06A0 ; CPU:$F895 PRG:3895 8D A0 06 sta ZpF9 ; CPU:$F898 PRG:3898 85 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F89A +; Routine: SubCF858_Block_F89A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13534,12 +13536,12 @@ Label_F895: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F89A: +SubCF858_Block_F89A: lda #$00 ; CPU:$F89A PRG:389A A9 00 sta $06A3 ; CPU:$F89C PRG:389C 8D A3 06 - beq Label_F8BB ; CPU:$F89F PRG:389F F0 1A + beq SubCF8A1_Block_F8BB ; CPU:$F89F PRG:389F F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_F8A1 +; Routine: SubCF8A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13547,21 +13549,21 @@ Label_F89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8A1: +SubCF8A1: lda ZpFA ; CPU:$F8A1 PRG:38A1 A5 FA - bne Label_F8FD ; CPU:$F8A3 PRG:38A3 D0 58 + bne SubCF8A1_Block_F8FD ; CPU:$F8A3 PRG:38A3 D0 58 lda $06A0 ; CPU:$F8A5 PRG:38A5 AD A0 06 - bne Label_F876 ; CPU:$F8A8 PRG:38A8 D0 CC + bne SubCF858_Block_F876 ; CPU:$F8A8 PRG:38A8 D0 CC lda ZpFB ; CPU:$F8AA PRG:38AA A5 FB - bmi Label_F863 ; CPU:$F8AC PRG:38AC 30 B5 - bne Label_F8BE ; CPU:$F8AE PRG:38AE D0 0E + bmi SubCF858_Block_F863 ; CPU:$F8AC PRG:38AC 30 B5 + bne SubCF8A1_Block_F8BE ; CPU:$F8AE PRG:38AE D0 0E lda ZpFF ; CPU:$F8B0 PRG:38B0 A5 FF and #$0F ; CPU:$F8B2 PRG:38B2 29 0F - bne Label_F89A ; CPU:$F8B4 PRG:38B4 D0 E4 + bne SubCF858_Block_F89A ; CPU:$F8B4 PRG:38B4 D0 E4 lda $06A3 ; CPU:$F8B6 PRG:38B6 AD A3 06 - bne Label_F8D4 ; CPU:$F8B9 PRG:38B9 D0 19 + bne SubCF8A1_Block_F8D4 ; CPU:$F8B9 PRG:38B9 D0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_F8BB +; Routine: SubCF8A1_Block_F8BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13569,10 +13571,10 @@ Label_F8A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8BB: +SubCF8A1_Block_F8BB: jmp $F9FE ; CPU:$F8BB PRG:38BB 4C FE F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F8BE +; Routine: SubCF8A1_Block_F8BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13580,7 +13582,7 @@ Label_F8BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8BE: +SubCF8A1_Block_F8BE: jsr $F983 ; CPU:$F8BE PRG:38BE 20 83 F9 inc $06A3 ; CPU:$F8C1 PRG:38C1 EE A3 06 lda $FF09,y ; CPU:$F8C4 PRG:38C4 B9 09 FF @@ -13589,9 +13591,9 @@ Label_F8BE: sta ZpF1 ; CPU:$F8CC PRG:38CC 85 F1 lda #$FF ; CPU:$F8CE PRG:38CE A9 FF sta ZpF2 ; CPU:$F8D0 PRG:38D0 85 F2 - bne Label_F8D9 ; CPU:$F8D2 PRG:38D2 D0 05 + bne SubCF8A1_Block_F8D9 ; CPU:$F8D2 PRG:38D2 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_F8D4 +; Routine: SubCF8A1_Block_F8D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13599,11 +13601,11 @@ Label_F8BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8D4: +SubCF8A1_Block_F8D4: dec $069B ; CPU:$F8D4 PRG:38D4 CE 9B 06 - bne Label_F8FD ; CPU:$F8D7 PRG:38D7 D0 24 + bne SubCF8A1_Block_F8FD ; CPU:$F8D7 PRG:38D7 D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_F8D9 +; Routine: SubCF8A1_Block_F8D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13611,13 +13613,13 @@ Label_F8D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8D9: +SubCF8A1_Block_F8D9: ldx #$84 ; CPU:$F8D9 PRG:38D9 A2 84 jsr $F98C ; CPU:$F8DB PRG:38DB 20 8C F9 ldy $0684 ; CPU:$F8DE PRG:38DE AC 84 06 inc $0684 ; CPU:$F8E1 PRG:38E1 EE 84 06 lda (ZpF1),y ; CPU:$F8E4 PRG:38E4 B1 F1 - beq Label_F89A ; CPU:$F8E6 PRG:38E6 F0 B2 + beq SubCF858_Block_F89A ; CPU:$F8E6 PRG:38E6 F0 B2 tax ; CPU:$F8E8 PRG:38E8 AA ror a ; CPU:$F8E9 PRG:38E9 6A txa ; CPU:$F8EA PRG:38EA 8A @@ -13632,7 +13634,7 @@ Label_F8D9: and #$3E ; CPU:$F8F8 PRG:38F8 29 3E jsr $F838 ; CPU:$F8FA PRG:38FA 20 38 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F8FD +; Routine: SubCF8A1_Block_F8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13640,7 +13642,7 @@ Label_F8D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8FD: +SubCF8A1_Block_F8FD: jmp $FAE8 ; CPU:$F8FD PRG:38FD 4C E8 FA ; ---- data $F900-$F96F (112 bytes) ---- ; referenced by `lda $F901,y` at $F83B (operand $F901 falls inside this region) @@ -13657,7 +13659,7 @@ Label_F8FD: .byte $04, $08, $10, $20, $40, $18, $30, $06, $05, $0A, $14, $28, $50, $1E, $3C, $07 ; CPU:$F950 PRG:3950 04 08 10 20 40 18 30 06 05 0A 14 28 50 1E 3C 07 .byte $06, $0C, $18, $30, $60, $24, $48, $08, $90, $92, $94, $96, $98, $9A, $9C, $9B ; CPU:$F960 PRG:3960 06 0C 18 30 60 24 48 08 90 92 94 96 98 9A 9C 9B ; ----------------------------------------------------------------------------- -; Routine: Label_F970 +; Routine: SubCF970 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13665,9 +13667,9 @@ Label_F8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F970: +SubCF970: lda #$C0 ; CPU:$F970 PRG:3970 A9 C0 - sta $4017 ; CPU:$F972 PRG:3972 8D 17 40 + sta JOY2 ; CPU:$F972 PRG:3972 8D 17 40 jsr $F8A1 ; CPU:$F975 PRG:3975 20 A1 F8 lda #$00 ; CPU:$F978 PRG:3978 A9 00 sta ZpFF ; CPU:$F97A PRG:397A 85 FF @@ -13676,7 +13678,7 @@ Label_F970: sta ZpFB ; CPU:$F980 PRG:3980 85 FB rts ; CPU:$F982 PRG:3982 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F983 +; Routine: SubCF983 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13684,10 +13686,10 @@ Label_F970: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F983: +SubCF983: ldy #$07 ; CPU:$F983 PRG:3983 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F985 +; Routine: SubCF983_Block_F985 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13695,13 +13697,13 @@ Label_F983: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F985: +SubCF983_Block_F985: asl a ; CPU:$F985 PRG:3985 0A - bcs Label_F98B ; CPU:$F986 PRG:3986 B0 03 + bcs SubCF983_Block_F98B ; CPU:$F986 PRG:3986 B0 03 dey ; CPU:$F988 PRG:3988 88 - bne Label_F985 ; CPU:$F989 PRG:3989 D0 FA + bne SubCF983_Block_F985 ; CPU:$F989 PRG:3989 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F98B +; Routine: SubCF983_Block_F98B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13709,10 +13711,10 @@ Label_F985: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98B: +SubCF983_Block_F98B: rts ; CPU:$F98B PRG:398B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F98C +; Routine: SubCF98C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13720,10 +13722,10 @@ Label_F98B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98C: +SubCF98C: ldy #$7F ; CPU:$F98C PRG:398C A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F98E +; Routine: SubCF98E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13731,12 +13733,12 @@ Label_F98C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98E: - stx $4000 ; CPU:$F98E PRG:398E 8E 00 40 - sty $4001 ; CPU:$F991 PRG:3991 8C 01 40 +SubCF98E: + stx APUPULSE1CTRL ; CPU:$F98E PRG:398E 8E 00 40 + sty APUPULSE1SWEEP ; CPU:$F991 PRG:3991 8C 01 40 rts ; CPU:$F994 PRG:3994 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F995 +; Routine: SubCF995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13744,12 +13746,12 @@ Label_F98E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F995: +SubCF995: lda #$90 ; CPU:$F995 PRG:3995 A9 90 - sta $4000 ; CPU:$F997 PRG:3997 8D 00 40 + sta APUPULSE1CTRL ; CPU:$F997 PRG:3997 8D 00 40 rts ; CPU:$F99A PRG:399A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F99B +; Routine: SubCF995_Block_F99B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13757,7 +13759,7 @@ Label_F995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F99B: +SubCF995_Block_F99B: sty ZpF0 ; CPU:$F99B PRG:399B 84 F0 lda #$20 ; CPU:$F99D PRG:399D A9 20 sta ZpF1 ; CPU:$F99F PRG:399F 85 F1 @@ -13765,7 +13767,7 @@ Label_F99B: ldy #$95 ; CPU:$F9A3 PRG:39A3 A0 95 lda #$00 ; CPU:$F9A5 PRG:39A5 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F9A7 +; Routine: SubCF995_Block_F9A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13773,10 +13775,10 @@ Label_F99B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9A7: +SubCF995_Block_F9A7: jsr $F835 ; CPU:$F9A7 PRG:39A7 20 35 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9AA +; Routine: SubCF995_Block_F9AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13784,12 +13786,12 @@ Label_F9A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9AA: +SubCF995_Block_F9AA: dec ZpF1 ; CPU:$F9AA PRG:39AA C6 F1 - bne Label_F9CF ; CPU:$F9AC PRG:39AC D0 21 + bne SubCF995_Block_F9CF ; CPU:$F9AC PRG:39AC D0 21 jmp $FA3D ; CPU:$F9AE PRG:39AE 4C 3D FA ; ----------------------------------------------------------------------------- -; Routine: Label_F9B1 +; Routine: SubCF995_Block_F9B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13797,7 +13799,7 @@ Label_F9AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9B1: +SubCF995_Block_F9B1: sty ZpF0 ; CPU:$F9B1 PRG:39B1 84 F0 lda #$14 ; CPU:$F9B3 PRG:39B3 A9 14 sta ZpF1 ; CPU:$F9B5 PRG:39B5 85 F1 @@ -13806,7 +13808,7 @@ Label_F9B1: lda #$28 ; CPU:$F9BB PRG:39BB A9 28 jsr $F835 ; CPU:$F9BD PRG:39BD 20 35 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9C0 +; Routine: SubCF995_Block_F9C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13814,16 +13816,16 @@ Label_F9B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C0: +SubCF995_Block_F9C0: dec ZpF1 ; CPU:$F9C0 PRG:39C0 C6 F1 lda ZpF1 ; CPU:$F9C2 PRG:39C2 A5 F1 - beq Label_FA3A ; CPU:$F9C4 PRG:39C4 F0 74 + beq SubCF9FE_Block_FA3A ; CPU:$F9C4 PRG:39C4 F0 74 cmp #$0C ; CPU:$F9C6 PRG:39C6 C9 0C - bne Label_FA37 ; CPU:$F9C8 PRG:39C8 D0 6D + bne SubCF9FE_Block_FA37 ; CPU:$F9C8 PRG:39C8 D0 6D lda #$28 ; CPU:$F9CA PRG:39CA A9 28 jsr $F838 ; CPU:$F9CC PRG:39CC 20 38 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9CF +; Routine: SubCF995_Block_F9CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13831,10 +13833,10 @@ Label_F9C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9CF: - bne Label_FA37 ; CPU:$F9CF PRG:39CF D0 66 +SubCF995_Block_F9CF: + bne SubCF9FE_Block_FA37 ; CPU:$F9CF PRG:39CF D0 66 ; ----------------------------------------------------------------------------- -; Routine: Label_F9D1 +; Routine: SubCF995_Block_F9D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13842,16 +13844,16 @@ Label_F9CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D1: +SubCF995_Block_F9D1: sty ZpF0 ; CPU:$F9D1 PRG:39D1 84 F0 lda #$2A ; CPU:$F9D3 PRG:39D3 A9 2A sta ZpF1 ; CPU:$F9D5 PRG:39D5 85 F1 ldx #$8F ; CPU:$F9D7 PRG:39D7 A2 8F ldy #$9C ; CPU:$F9D9 PRG:39D9 A0 9C lda #$28 ; CPU:$F9DB PRG:39DB A9 28 - bne Label_F9A7 ; CPU:$F9DD PRG:39DD D0 C8 + bne SubCF995_Block_F9A7 ; CPU:$F9DD PRG:39DD D0 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9DF +; Routine: SubCF995_Block_F9DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13859,16 +13861,16 @@ Label_F9D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9DF: +SubCF995_Block_F9DF: sty ZpF0 ; CPU:$F9DF PRG:39DF 84 F0 lda #$0E ; CPU:$F9E1 PRG:39E1 A9 0E sta ZpF1 ; CPU:$F9E3 PRG:39E3 85 F1 ldx #$83 ; CPU:$F9E5 PRG:39E5 A2 83 ldy #$9A ; CPU:$F9E7 PRG:39E7 A0 9A lda #$28 ; CPU:$F9E9 PRG:39E9 A9 28 - bne Label_F9F9 ; CPU:$F9EB PRG:39EB D0 0C + bne SubCF995_Block_F9F9 ; CPU:$F9EB PRG:39EB D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_F9ED +; Routine: SubCF995_Block_F9ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13876,7 +13878,7 @@ Label_F9DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9ED: +SubCF995_Block_F9ED: sty ZpF0 ; CPU:$F9ED PRG:39ED 84 F0 lda #$06 ; CPU:$F9EF PRG:39EF A9 06 sta ZpF1 ; CPU:$F9F1 PRG:39F1 85 F1 @@ -13884,7 +13886,7 @@ Label_F9ED: ldy #$9B ; CPU:$F9F5 PRG:39F5 A0 9B lda #$04 ; CPU:$F9F7 PRG:39F7 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F9F9 +; Routine: SubCF995_Block_F9F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13892,11 +13894,11 @@ Label_F9ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9F9: +SubCF995_Block_F9F9: jsr $F835 ; CPU:$F9F9 PRG:39F9 20 35 F8 - bne Label_FA2D ; CPU:$F9FC PRG:39FC D0 2F + bne SubCF9FE_Block_FA2D ; CPU:$F9FC PRG:39FC D0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_F9FE +; Routine: SubCF9FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13904,36 +13906,36 @@ Label_F9F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9FE: +SubCF9FE: ldy ZpFF ; CPU:$F9FE PRG:39FE A4 FF lda ZpF0 ; CPU:$FA00 PRG:3A00 A5 F0 lsr a ; CPU:$FA02 PRG:3A02 4A - bcs Label_F9AA ; CPU:$FA03 PRG:3A03 B0 A5 + bcs SubCF995_Block_F9AA ; CPU:$FA03 PRG:3A03 B0 A5 lsr ZpFF ; CPU:$FA05 PRG:3A05 46 FF - bcs Label_F99B ; CPU:$FA07 PRG:3A07 B0 92 + bcs SubCF995_Block_F99B ; CPU:$FA07 PRG:3A07 B0 92 lsr a ; CPU:$FA09 PRG:3A09 4A - bcs Label_F9C0 ; CPU:$FA0A PRG:3A0A B0 B4 + bcs SubCF995_Block_F9C0 ; CPU:$FA0A PRG:3A0A B0 B4 lsr ZpFF ; CPU:$FA0C PRG:3A0C 46 FF - bcs Label_F9B1 ; CPU:$FA0E PRG:3A0E B0 A1 + bcs SubCF995_Block_F9B1 ; CPU:$FA0E PRG:3A0E B0 A1 lsr a ; CPU:$FA10 PRG:3A10 4A - bcs Label_F9AA ; CPU:$FA11 PRG:3A11 B0 97 + bcs SubCF995_Block_F9AA ; CPU:$FA11 PRG:3A11 B0 97 lsr ZpFF ; CPU:$FA13 PRG:3A13 46 FF - bcs Label_F9D1 ; CPU:$FA15 PRG:3A15 B0 BA + bcs SubCF995_Block_F9D1 ; CPU:$FA15 PRG:3A15 B0 BA lsr a ; CPU:$FA17 PRG:3A17 4A - bcs Label_FA87 ; CPU:$FA18 PRG:3A18 B0 6D + bcs SubCFA3D_Block_FA87 ; CPU:$FA18 PRG:3A18 B0 6D lsr ZpFF ; CPU:$FA1A PRG:3A1A 46 FF - bcs Label_F9DF ; CPU:$FA1C PRG:3A1C B0 C1 + bcs SubCF995_Block_F9DF ; CPU:$FA1C PRG:3A1C B0 C1 lsr a ; CPU:$FA1E PRG:3A1E 4A - bcs Label_FA87 ; CPU:$FA1F PRG:3A1F B0 66 + bcs SubCFA3D_Block_FA87 ; CPU:$FA1F PRG:3A1F B0 66 lsr ZpFF ; CPU:$FA21 PRG:3A21 46 FF - bcs Label_F9ED ; CPU:$FA23 PRG:3A23 B0 C8 + bcs SubCF995_Block_F9ED ; CPU:$FA23 PRG:3A23 B0 C8 lsr a ; CPU:$FA25 PRG:3A25 4A - bcs Label_FA50 ; CPU:$FA26 PRG:3A26 B0 28 + bcs SubCFA3D_Block_FA50 ; CPU:$FA26 PRG:3A26 B0 28 lsr ZpFF ; CPU:$FA28 PRG:3A28 46 FF - bcs Label_FA43 ; CPU:$FA2A PRG:3A2A B0 17 + bcs SubCFA3D_Block_FA43 ; CPU:$FA2A PRG:3A2A B0 17 tax ; CPU:$FA2C PRG:3A2C AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA2D +; Routine: SubCF9FE_Block_FA2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13941,14 +13943,14 @@ Label_F9FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA2D: - bne Label_FA87 ; CPU:$FA2D PRG:3A2D D0 58 +SubCF9FE_Block_FA2D: + bne SubCFA3D_Block_FA87 ; CPU:$FA2D PRG:3A2D D0 58 lsr ZpFF ; CPU:$FA2F PRG:3A2F 46 FF - bcs Label_FA7A ; CPU:$FA31 PRG:3A31 B0 47 + bcs SubCFA3D_Block_FA7A ; CPU:$FA31 PRG:3A31 B0 47 lsr ZpFF ; CPU:$FA33 PRG:3A33 46 FF - bcs Label_FA8D ; CPU:$FA35 PRG:3A35 B0 56 + bcs SubCFA3D_Block_FA8D ; CPU:$FA35 PRG:3A35 B0 56 ; ----------------------------------------------------------------------------- -; Routine: Label_FA37 +; Routine: SubCF9FE_Block_FA37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13956,10 +13958,10 @@ Label_FA2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA37: +SubCF9FE_Block_FA37: jmp $FAE8 ; CPU:$FA37 PRG:3A37 4C E8 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FA3A +; Routine: SubCF9FE_Block_FA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13967,10 +13969,10 @@ Label_FA37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3A: +SubCF9FE_Block_FA3A: jsr $F995 ; CPU:$FA3A PRG:3A3A 20 95 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA3D +; Routine: SubCFA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13978,12 +13980,12 @@ Label_FA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3D: +SubCFA3D: lda #$00 ; CPU:$FA3D PRG:3A3D A9 00 sta ZpF0 ; CPU:$FA3F PRG:3A3F 85 F0 - beq Label_FA37 ; CPU:$FA41 PRG:3A41 F0 F4 + beq SubCF9FE_Block_FA37 ; CPU:$FA41 PRG:3A41 F0 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FA43 +; Routine: SubCFA3D_Block_FA43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13991,15 +13993,15 @@ Label_FA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA43: +SubCFA3D_Block_FA43: sty ZpF0 ; CPU:$FA43 PRG:3A43 84 F0 lda #$22 ; CPU:$FA45 PRG:3A45 A9 22 sta ZpF1 ; CPU:$FA47 PRG:3A47 85 F1 lda #$06 ; CPU:$FA49 PRG:3A49 A9 06 jsr $F838 ; CPU:$FA4B PRG:3A4B 20 38 F8 - bne Label_FA65 ; CPU:$FA4E PRG:3A4E D0 15 + bne SubCFA3D_Block_FA65 ; CPU:$FA4E PRG:3A4E D0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_FA50 +; Routine: SubCFA3D_Block_FA50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14007,18 +14009,18 @@ Label_FA43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA50: +SubCFA3D_Block_FA50: dec ZpF1 ; CPU:$FA50 PRG:3A50 C6 F1 - beq Label_FA3A ; CPU:$FA52 PRG:3A52 F0 E6 + beq SubCF9FE_Block_FA3A ; CPU:$FA52 PRG:3A52 F0 E6 ldx #$98 ; CPU:$FA54 PRG:3A54 A2 98 lda ZpF1 ; CPU:$FA56 PRG:3A56 A5 F1 cmp #$10 ; CPU:$FA58 PRG:3A58 C9 10 - bcs Label_FA60 ; CPU:$FA5A PRG:3A5A B0 04 + bcs SubCFA3D_Block_FA60 ; CPU:$FA5A PRG:3A5A B0 04 lsr a ; CPU:$FA5C PRG:3A5C 4A ora #$90 ; CPU:$FA5D PRG:3A5D 09 90 tax ; CPU:$FA5F PRG:3A5F AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA60 +; Routine: SubCFA3D_Block_FA60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14026,11 +14028,11 @@ Label_FA50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA60: +SubCFA3D_Block_FA60: dec $06BA ; CPU:$FA60 PRG:3A60 CE BA 06 - bne Label_FA6A ; CPU:$FA63 PRG:3A63 D0 05 + bne SubCFA3D_Block_FA6A ; CPU:$FA63 PRG:3A63 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FA65 +; Routine: SubCFA3D_Block_FA65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14038,11 +14040,11 @@ Label_FA60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA65: +SubCFA3D_Block_FA65: lda #$06 ; CPU:$FA65 PRG:3A65 A9 06 sta $06BA ; CPU:$FA67 PRG:3A67 8D BA 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FA6A +; Routine: SubCFA3D_Block_FA6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14050,14 +14052,14 @@ Label_FA65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA6A: +SubCFA3D_Block_FA6A: lda $06BA ; CPU:$FA6A PRG:3A6A AD BA 06 cmp #$04 ; CPU:$FA6D PRG:3A6D C9 04 ldy #$84 ; CPU:$FA6F PRG:3A6F A0 84 - bcc Label_FA75 ; CPU:$FA71 PRG:3A71 90 02 + bcc SubCFA3D_Block_FA75 ; CPU:$FA71 PRG:3A71 90 02 ldy #$8C ; CPU:$FA73 PRG:3A73 A0 8C ; ----------------------------------------------------------------------------- -; Routine: Label_FA75 +; Routine: SubCFA3D_Block_FA75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14065,11 +14067,11 @@ Label_FA6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA75: +SubCFA3D_Block_FA75: jsr $F98E ; CPU:$FA75 PRG:3A75 20 8E F9 - bne Label_FA37 ; CPU:$FA78 PRG:3A78 D0 BD + bne SubCF9FE_Block_FA37 ; CPU:$FA78 PRG:3A78 D0 BD ; ----------------------------------------------------------------------------- -; Routine: Label_FA7A +; Routine: SubCFA3D_Block_FA7A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14077,7 +14079,7 @@ Label_FA75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA7A: +SubCFA3D_Block_FA7A: sty ZpF0 ; CPU:$FA7A PRG:3A7A 84 F0 lda #$08 ; CPU:$FA7C PRG:3A7C A9 08 sta ZpF1 ; CPU:$FA7E PRG:3A7E 85 F1 @@ -14085,7 +14087,7 @@ Label_FA7A: lda #$34 ; CPU:$FA82 PRG:3A82 A9 34 jsr $F833 ; CPU:$FA84 PRG:3A84 20 33 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FA87 +; Routine: SubCFA3D_Block_FA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14093,12 +14095,12 @@ Label_FA7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA87: +SubCFA3D_Block_FA87: dec ZpF1 ; CPU:$FA87 PRG:3A87 C6 F1 - beq Label_FA3A ; CPU:$FA89 PRG:3A89 F0 AF - bne Label_FA37 ; CPU:$FA8B PRG:3A8B D0 AA + beq SubCF9FE_Block_FA3A ; CPU:$FA89 PRG:3A89 F0 AF + bne SubCF9FE_Block_FA37 ; CPU:$FA8B PRG:3A8B D0 AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA8D +; Routine: SubCFA3D_Block_FA8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14106,7 +14108,7 @@ Label_FA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA8D: +SubCFA3D_Block_FA8D: sty ZpF0 ; CPU:$FA8D PRG:3A8D 84 F0 lda #$08 ; CPU:$FA8F PRG:3A8F A9 08 sta ZpF1 ; CPU:$FA91 PRG:3A91 85 F1 @@ -14116,10 +14118,10 @@ Label_FA8D: lda $06B0 ; CPU:$FA9B PRG:3A9B AD B0 06 lsr a ; CPU:$FA9E PRG:3A9E 4A ldy #$1D ; CPU:$FA9F PRG:3A9F A0 1D - bcc Label_FAA5 ; CPU:$FAA1 PRG:3AA1 90 02 + bcc SubCFA3D_Block_FAA5 ; CPU:$FAA1 PRG:3AA1 90 02 ldy #$AB ; CPU:$FAA3 PRG:3AA3 A0 AB ; ----------------------------------------------------------------------------- -; Routine: Label_FAA5 +; Routine: SubCFA3D_Block_FAA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14127,13 +14129,13 @@ Label_FA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA5: - sty $4002 ; CPU:$FAA5 PRG:3AA5 8C 02 40 +SubCFA3D_Block_FAA5: + sty APUPULSE1TIMERLO ; CPU:$FAA5 PRG:3AA5 8C 02 40 lda #$19 ; CPU:$FAA8 PRG:3AA8 A9 19 - sta $4003 ; CPU:$FAAA PRG:3AAA 8D 03 40 - bne Label_FA87 ; CPU:$FAAD PRG:3AAD D0 D8 + sta APUPULSE1TIMERHI ; CPU:$FAAA PRG:3AAA 8D 03 40 + bne SubCFA3D_Block_FA87 ; CPU:$FAAD PRG:3AAD D0 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_FAAF +; Routine: SubCFA3D_Block_FAAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14141,7 +14143,7 @@ Label_FAA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAAF: +SubCFA3D_Block_FAAF: sty $06A1 ; CPU:$FAAF PRG:3AAF 8C A1 06 lda #$0A ; CPU:$FAB2 PRG:3AB2 A9 0A sta ZpF3 ; CPU:$FAB4 PRG:3AB4 85 F3 @@ -14150,9 +14152,9 @@ Label_FAAF: lda #$FF ; CPU:$FAB9 PRG:3AB9 A9 FF sta $06BB ; CPU:$FABB PRG:3ABB 8D BB 06 ldy #$02 ; CPU:$FABE PRG:3ABE A0 02 - bne Label_FAD1 ; CPU:$FAC0 PRG:3AC0 D0 0F + bne SubCFA3D_Block_FAD1 ; CPU:$FAC0 PRG:3AC0 D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_FAC2 +; Routine: SubCFA3D_Block_FAC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14160,16 +14162,16 @@ Label_FAAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC2: +SubCFA3D_Block_FAC2: dec ZpF3 ; CPU:$FAC2 PRG:3AC2 C6 F3 - bne Label_FB06 ; CPU:$FAC4 PRG:3AC4 D0 40 + bne SubCFAE8_Block_FB06 ; CPU:$FAC4 PRG:3AC4 D0 40 lda #$05 ; CPU:$FAC6 PRG:3AC6 A9 05 sta ZpF3 ; CPU:$FAC8 PRG:3AC8 85 F3 inc $06BB ; CPU:$FACA PRG:3ACA EE BB 06 - bne Label_FADB ; CPU:$FACD PRG:3ACD D0 0C + bne SubCFA3D_Block_FADB ; CPU:$FACD PRG:3ACD D0 0C ldy #$04 ; CPU:$FACF PRG:3ACF A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FAD1 +; Routine: SubCFA3D_Block_FAD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14177,13 +14179,13 @@ Label_FAC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD1: +SubCFA3D_Block_FAD1: lda #$0F ; CPU:$FAD1 PRG:3AD1 A9 0F - sta $400C ; CPU:$FAD3 PRG:3AD3 8D 0C 40 - sta $400F ; CPU:$FAD6 PRG:3AD6 8D 0F 40 - bne Label_FADF ; CPU:$FAD9 PRG:3AD9 D0 04 + sta APUNOISECTRL ; CPU:$FAD3 PRG:3AD3 8D 0C 40 + sta APUNOISELENGTH ; CPU:$FAD6 PRG:3AD6 8D 0F 40 + bne SubCFA3D_Block_FADF ; CPU:$FAD9 PRG:3AD9 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FADB +; Routine: SubCFA3D_Block_FADB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14191,11 +14193,11 @@ Label_FAD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FADB: +SubCFA3D_Block_FADB: ldy ZpF4 ; CPU:$FADB PRG:3ADB A4 F4 inc ZpF4 ; CPU:$FADD PRG:3ADD E6 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FADF +; Routine: SubCFA3D_Block_FADF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14203,13 +14205,13 @@ Label_FADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FADF: - sty $400E ; CPU:$FADF PRG:3ADF 8C 0E 40 +SubCFA3D_Block_FADF: + sty APUNOISEPERIOD ; CPU:$FADF PRG:3ADF 8C 0E 40 cpy #$0F ; CPU:$FAE2 PRG:3AE2 C0 0F - beq Label_FB58 ; CPU:$FAE4 PRG:3AE4 F0 72 - bne Label_FB06 ; CPU:$FAE6 PRG:3AE6 D0 1E + beq SubCFAE8_Block_FB58 ; CPU:$FAE4 PRG:3AE4 F0 72 + bne SubCFAE8_Block_FB06 ; CPU:$FAE6 PRG:3AE6 D0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_FAE8 +; Routine: SubCFAE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14217,25 +14219,25 @@ Label_FADF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAE8: +SubCFAE8: ldy ZpFE ; CPU:$FAE8 PRG:3AE8 A4 FE lda $06A1 ; CPU:$FAEA PRG:3AEA AD A1 06 lsr a ; CPU:$FAED PRG:3AED 4A - bcs Label_FAC2 ; CPU:$FAEE PRG:3AEE B0 D2 + bcs SubCFA3D_Block_FAC2 ; CPU:$FAEE PRG:3AEE B0 D2 lsr ZpFE ; CPU:$FAF0 PRG:3AF0 46 FE - bcs Label_FAAF ; CPU:$FAF2 PRG:3AF2 B0 BB + bcs SubCFA3D_Block_FAAF ; CPU:$FAF2 PRG:3AF2 B0 BB ldx ZpF9 ; CPU:$FAF4 PRG:3AF4 A6 F9 - bne Label_FB06 ; CPU:$FAF6 PRG:3AF6 D0 0E + bne SubCFAE8_Block_FB06 ; CPU:$FAF6 PRG:3AF6 D0 0E lsr a ; CPU:$FAF8 PRG:3AF8 4A - bcs Label_FB1A ; CPU:$FAF9 PRG:3AF9 B0 1F + bcs SubCFAE8_Block_FB1A ; CPU:$FAF9 PRG:3AF9 B0 1F lsr ZpFE ; CPU:$FAFB PRG:3AFB 46 FE - bcs Label_FB09 ; CPU:$FAFD PRG:3AFD B0 0A + bcs SubCFAE8_Block_FB09 ; CPU:$FAFD PRG:3AFD B0 0A lsr a ; CPU:$FAFF PRG:3AFF 4A - bcs Label_FB33 ; CPU:$FB00 PRG:3B00 B0 31 + bcs SubCFAE8_Block_FB33 ; CPU:$FB00 PRG:3B00 B0 31 lsr ZpFE ; CPU:$FB02 PRG:3B02 46 FE - bcs Label_FB21 ; CPU:$FB04 PRG:3B04 B0 1B + bcs SubCFAE8_Block_FB21 ; CPU:$FB04 PRG:3B04 B0 1B ; ----------------------------------------------------------------------------- -; Routine: Label_FB06 +; Routine: SubCFAE8_Block_FB06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14243,10 +14245,10 @@ Label_FAE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB06: +SubCFAE8_Block_FB06: jmp $FBC7 ; CPU:$FB06 PRG:3B06 4C C7 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FB09 +; Routine: SubCFAE8_Block_FB09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14254,17 +14256,17 @@ Label_FB06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB09: +SubCFAE8_Block_FB09: inc $06B2 ; CPU:$FB09 PRG:3B09 EE B2 06 lda $06B2 ; CPU:$FB0C PRG:3B0C AD B2 06 lsr a ; CPU:$FB0F PRG:3B0F 4A ldx #$03 ; CPU:$FB10 PRG:3B10 A2 03 lda #$D4 ; CPU:$FB12 PRG:3B12 A9 D4 - bcc Label_FB25 ; CPU:$FB14 PRG:3B14 90 0F + bcc SubCFAE8_Block_FB25 ; CPU:$FB14 PRG:3B14 90 0F lda #$A8 ; CPU:$FB16 PRG:3B16 A9 A8 - bcs Label_FB25 ; CPU:$FB18 PRG:3B18 B0 0B + bcs SubCFAE8_Block_FB25 ; CPU:$FB18 PRG:3B18 B0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FB1A +; Routine: SubCFAE8_Block_FB1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14272,14 +14274,14 @@ Label_FB09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB1A: +SubCFAE8_Block_FB1A: lda ZpF4 ; CPU:$FB1A PRG:3B1A A5 F4 tay ; CPU:$FB1C PRG:3B1C A8 lsr a ; CPU:$FB1D PRG:3B1D 4A lsr a ; CPU:$FB1E PRG:3B1E 4A - bne Label_FB40 ; CPU:$FB1F PRG:3B1F D0 1F + bne SubCFAE8_Block_FB40 ; CPU:$FB1F PRG:3B1F D0 1F ; ----------------------------------------------------------------------------- -; Routine: Label_FB21 +; Routine: SubCFAE8_Block_FB21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14287,11 +14289,11 @@ Label_FB1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB21: +SubCFAE8_Block_FB21: lda #$69 ; CPU:$FB21 PRG:3B21 A9 69 ldx #$04 ; CPU:$FB23 PRG:3B23 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FB25 +; Routine: SubCFAE8_Block_FB25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14299,15 +14301,15 @@ Label_FB21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB25: +SubCFAE8_Block_FB25: sty $06A1 ; CPU:$FB25 PRG:3B25 8C A1 06 - stx $4008 ; CPU:$FB28 PRG:3B28 8E 08 40 + stx APUTRIANGLECTRL ; CPU:$FB28 PRG:3B28 8E 08 40 ldy #$0C ; CPU:$FB2B PRG:3B2B A0 0C sty ZpF3 ; CPU:$FB2D PRG:3B2D 84 F3 sta ZpF4 ; CPU:$FB2F PRG:3B2F 85 F4 - bne Label_FB4A ; CPU:$FB31 PRG:3B31 D0 17 + bne SubCFAE8_Block_FB4A ; CPU:$FB31 PRG:3B31 D0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_FB33 +; Routine: SubCFAE8_Block_FB33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14315,14 +14317,14 @@ Label_FB25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB33: +SubCFAE8_Block_FB33: lda ZpF3 ; CPU:$FB33 PRG:3B33 A5 F3 cmp #$06 ; CPU:$FB35 PRG:3B35 C9 06 - bne Label_FB3D ; CPU:$FB37 PRG:3B37 D0 04 + bne SubCFAE8_Block_FB3D ; CPU:$FB37 PRG:3B37 D0 04 lda #$69 ; CPU:$FB39 PRG:3B39 A9 69 - bne Label_FB48 ; CPU:$FB3B PRG:3B3B D0 0B + bne SubCFAE8_Block_FB48 ; CPU:$FB3B PRG:3B3B D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FB3D +; Routine: SubCFAE8_Block_FB3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14330,11 +14332,11 @@ Label_FB33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB3D: +SubCFAE8_Block_FB3D: lda ZpF4 ; CPU:$FB3D PRG:3B3D A5 F4 tay ; CPU:$FB3F PRG:3B3F A8 ; ----------------------------------------------------------------------------- -; Routine: Label_FB40 +; Routine: SubCFAE8_Block_FB40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14342,7 +14344,7 @@ Label_FB3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB40: +SubCFAE8_Block_FB40: lsr a ; CPU:$FB40 PRG:3B40 4A lsr a ; CPU:$FB41 PRG:3B41 4A sta ZpF4 ; CPU:$FB42 PRG:3B42 85 F4 @@ -14350,7 +14352,7 @@ Label_FB40: sec ; CPU:$FB45 PRG:3B45 38 sbc ZpF4 ; CPU:$FB46 PRG:3B46 E5 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FB48 +; Routine: SubCFAE8_Block_FB48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14358,10 +14360,10 @@ Label_FB40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB48: +SubCFAE8_Block_FB48: sta ZpF4 ; CPU:$FB48 PRG:3B48 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FB4A +; Routine: SubCFAE8_Block_FB4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14369,16 +14371,16 @@ Label_FB48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB4A: +SubCFAE8_Block_FB4A: asl a ; CPU:$FB4A PRG:3B4A 0A - sta $400A ; CPU:$FB4B PRG:3B4B 8D 0A 40 + sta APUTRIANGLETIMERLO ; CPU:$FB4B PRG:3B4B 8D 0A 40 rol a ; CPU:$FB4E PRG:3B4E 2A and #$01 ; CPU:$FB4F PRG:3B4F 29 01 - sta $400B ; CPU:$FB51 PRG:3B51 8D 0B 40 + sta APUTRIANGLETIMERHI ; CPU:$FB51 PRG:3B51 8D 0B 40 dec ZpF3 ; CPU:$FB54 PRG:3B54 C6 F3 - bne Label_FB06 ; CPU:$FB56 PRG:3B56 D0 AE + bne SubCFAE8_Block_FB06 ; CPU:$FB56 PRG:3B56 D0 AE ; ----------------------------------------------------------------------------- -; Routine: Label_FB58 +; Routine: SubCFAE8_Block_FB58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14386,12 +14388,12 @@ Label_FB4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB58: +SubCFAE8_Block_FB58: lda #$00 ; CPU:$FB58 PRG:3B58 A9 00 sta $06A1 ; CPU:$FB5A PRG:3B5A 8D A1 06 - beq Label_FB06 ; CPU:$FB5D PRG:3B5D F0 A7 + beq SubCFAE8_Block_FB06 ; CPU:$FB5D PRG:3B5D F0 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_FB5F +; Routine: SubCFB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14399,15 +14401,15 @@ Label_FB58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB5F: +SubCFB5F: lda ZpFC ; CPU:$FB5F PRG:3B5F A5 FC - bne Label_FB6B ; CPU:$FB61 PRG:3B61 D0 08 + bne SubCFB5F_Block_FB6B ; CPU:$FB61 PRG:3B61 D0 08 sta ZpF6 ; CPU:$FB63 PRG:3B63 85 F6 lda #$90 ; CPU:$FB65 PRG:3B65 A9 90 - sta $4004 ; CPU:$FB67 PRG:3B67 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FB67 PRG:3B67 8D 04 40 rts ; CPU:$FB6A PRG:3B6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FB6B +; Routine: SubCFB5F_Block_FB6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14415,14 +14417,14 @@ Label_FB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB6B: +SubCFB5F_Block_FB6B: lda ZpF6 ; CPU:$FB6B PRG:3B6B A5 F6 eor ZpFC ; CPU:$FB6D PRG:3B6D 45 FC - beq Label_FB89 ; CPU:$FB6F PRG:3B6F F0 18 + beq SubCFB5F_Block_FB89 ; CPU:$FB6F PRG:3B6F F0 18 lda ZpFC ; CPU:$FB71 PRG:3B71 A5 FC sta ZpF6 ; CPU:$FB73 PRG:3B73 85 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_FB75 +; Routine: SubCFB5F_Block_FB75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14430,7 +14432,7 @@ Label_FB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB75: +SubCFB5F_Block_FB75: lda ZpFC ; CPU:$FB75 PRG:3B75 A5 FC jsr $F983 ; CPU:$FB77 PRG:3B77 20 83 F9 lda $FF33,y ; CPU:$FB7A PRG:3B7A B9 33 FF @@ -14439,9 +14441,9 @@ Label_FB75: sta ZpF7 ; CPU:$FB81 PRG:3B81 85 F7 lda #$FF ; CPU:$FB83 PRG:3B83 A9 FF sta ZpF8 ; CPU:$FB85 PRG:3B85 85 F8 - bne Label_FB8E ; CPU:$FB87 PRG:3B87 D0 05 + bne SubCFB5F_Block_FB8E ; CPU:$FB87 PRG:3B87 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FB89 +; Routine: SubCFB5F_Block_FB89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14449,11 +14451,11 @@ Label_FB75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB89: +SubCFB5F_Block_FB89: dec $0695 ; CPU:$FB89 PRG:3B89 CE 95 06 - bne Label_FBB8 ; CPU:$FB8C PRG:3B8C D0 2A + bne SubCFB5F_Block_FBB8 ; CPU:$FB8C PRG:3B8C D0 2A ; ----------------------------------------------------------------------------- -; Routine: Label_FB8E +; Routine: SubCFB5F_Block_FB8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14461,12 +14463,12 @@ Label_FB89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB8E: +SubCFB5F_Block_FB8E: ldy ZpF5 ; CPU:$FB8E PRG:3B8E A4 F5 inc ZpF5 ; CPU:$FB90 PRG:3B90 E6 F5 lda (ZpF7),y ; CPU:$FB92 PRG:3B92 B1 F7 - beq Label_FB75 ; CPU:$FB94 PRG:3B94 F0 DF - bpl Label_FBA8 ; CPU:$FB96 PRG:3B96 10 10 + beq SubCFB5F_Block_FB75 ; CPU:$FB94 PRG:3B94 F0 DF + bpl SubCFB5F_Block_FBA8 ; CPU:$FB96 PRG:3B96 10 10 and #$07 ; CPU:$FB98 PRG:3B98 29 07 clc ; CPU:$FB9A PRG:3B9A 18 tay ; CPU:$FB9B PRG:3B9B A8 @@ -14476,7 +14478,7 @@ Label_FB8E: inc ZpF5 ; CPU:$FBA4 PRG:3BA4 E6 F5 lda (ZpF7),y ; CPU:$FBA6 PRG:3BA6 B1 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_FBA8 +; Routine: SubCFB5F_Block_FBA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14484,15 +14486,15 @@ Label_FB8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBA8: +SubCFB5F_Block_FBA8: ldx $0690 ; CPU:$FBA8 PRG:3BA8 AE 90 06 stx $0695 ; CPU:$FBAB PRG:3BAB 8E 95 06 jsr $F84A ; CPU:$FBAE PRG:3BAE 20 4A F8 - beq Label_FBB8 ; CPU:$FBB1 PRG:3BB1 F0 05 + beq SubCFB5F_Block_FBB8 ; CPU:$FBB1 PRG:3BB1 F0 05 lda #$08 ; CPU:$FBB3 PRG:3BB3 A9 08 sta $069A ; CPU:$FBB5 PRG:3BB5 8D 9A 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FBB8 +; Routine: SubCFB5F_Block_FBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14500,14 +14502,14 @@ Label_FBA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB8: +SubCFB5F_Block_FBB8: ldy $069A ; CPU:$FBB8 PRG:3BB8 AC 9A 06 - beq Label_FBC6 ; CPU:$FBBB PRG:3BBB F0 09 + beq SubCFB5F_Block_FBC6 ; CPU:$FBBB PRG:3BBB F0 09 dec $069A ; CPU:$FBBD PRG:3BBD CE 9A 06 lda $F967,y ; CPU:$FBC0 PRG:3BC0 B9 67 F9 - sta $4004 ; CPU:$FBC3 PRG:3BC3 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FBC3 PRG:3BC3 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FBC6 +; Routine: SubCFB5F_Block_FBC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14515,10 +14517,10 @@ Label_FBB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC6: +SubCFB5F_Block_FBC6: rts ; CPU:$FBC6 PRG:3BC6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FBC7 +; Routine: SubCFBC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14526,14 +14528,14 @@ Label_FBC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC7: +SubCFBC7: lda ZpFD ; CPU:$FBC7 PRG:3BC7 A5 FD - bne Label_FBD3 ; CPU:$FBC9 PRG:3BC9 D0 08 + bne SubCFBC7_Block_FBD3 ; CPU:$FBC9 PRG:3BC9 D0 08 lda $06FF ; CPU:$FBCB PRG:3BCB AD FF 06 - bne Label_FC13 ; CPU:$FBCE PRG:3BCE D0 43 + bne SubCFBC7_Block_FC13 ; CPU:$FBCE PRG:3BCE D0 43 jmp $FB5F ; CPU:$FBD0 PRG:3BD0 4C 5F FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBD3 +; Routine: SubCFBC7_Block_FBD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14541,7 +14543,7 @@ Label_FBC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBD3: +SubCFBC7_Block_FBD3: jsr $F983 ; CPU:$FBD3 PRG:3BD3 20 83 F9 jsr $FC2D ; CPU:$FBD6 PRG:3BD6 20 2D FC sta ZpF5 ; CPU:$FBD9 PRG:3BD9 85 F5 @@ -14558,12 +14560,12 @@ Label_FBD3: lda $FCD2,y ; CPU:$FBF4 PRG:3BF4 B9 D2 FC sta ZpFA ; CPU:$FBF7 PRG:3BF7 85 FA lda #$7F ; CPU:$FBF9 PRG:3BF9 A9 7F - sta $4005 ; CPU:$FBFB PRG:3BFB 8D 05 40 + sta APUPULSE2SWEEP ; CPU:$FBFB PRG:3BFB 8D 05 40 ldy ZpF0 ; CPU:$FBFE PRG:3BFE A4 F0 - bne Label_FC05 ; CPU:$FC00 PRG:3C00 D0 03 - sta $4001 ; CPU:$FC02 PRG:3C02 8D 01 40 + bne SubCFBC7_Block_FC05 ; CPU:$FC00 PRG:3C00 D0 03 + sta APUPULSE1SWEEP ; CPU:$FC02 PRG:3C02 8D 01 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FC05 +; Routine: SubCFBC7_Block_FC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14571,14 +14573,14 @@ Label_FBD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC05: +SubCFBC7_Block_FC05: lda #$01 ; CPU:$FC05 PRG:3C05 A9 01 sta $0695 ; CPU:$FC07 PRG:3C07 8D 95 06 sta $0696 ; CPU:$FC0A PRG:3C0A 8D 96 06 sta $0698 ; CPU:$FC0D PRG:3C0D 8D 98 06 sta $06FF ; CPU:$FC10 PRG:3C10 8D FF 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FC13 +; Routine: SubCFBC7_Block_FC13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14586,17 +14588,17 @@ Label_FC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC13: +SubCFBC7_Block_FC13: ldy ZpFA ; CPU:$FC13 PRG:3C13 A4 FA - beq Label_FC55 ; CPU:$FC15 PRG:3C15 F0 3E + beq SubCFC2D_Block_FC55 ; CPU:$FC15 PRG:3C15 F0 3E dec $0696 ; CPU:$FC17 PRG:3C17 CE 96 06 - bne Label_FC55 ; CPU:$FC1A PRG:3C1A D0 39 + bne SubCFC2D_Block_FC55 ; CPU:$FC1A PRG:3C1A D0 39 lda #$45 ; CPU:$FC1C PRG:3C1C A9 45 ldx ZpF9 ; CPU:$FC1E PRG:3C1E A6 F9 - bne Label_FC24 ; CPU:$FC20 PRG:3C20 D0 02 + bne SubCFBC7_Block_FC24 ; CPU:$FC20 PRG:3C20 D0 02 lda #$85 ; CPU:$FC22 PRG:3C22 A9 85 ; ----------------------------------------------------------------------------- -; Routine: Label_FC24 +; Routine: SubCFBC7_Block_FC24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14604,13 +14606,13 @@ Label_FC13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC24: - sta $4000 ; CPU:$FC24 PRG:3C24 8D 00 40 +SubCFBC7_Block_FC24: + sta APUPULSE1CTRL ; CPU:$FC24 PRG:3C24 8D 00 40 inc ZpFA ; CPU:$FC27 PRG:3C27 E6 FA lda (ZpF7),y ; CPU:$FC29 PRG:3C29 B1 F7 - bne Label_FC3C ; CPU:$FC2B PRG:3C2B D0 0F + bne SubCFC2D_Block_FC3C ; CPU:$FC2B PRG:3C2B D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_FC2D +; Routine: SubCFC2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14618,7 +14620,7 @@ Label_FC24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC2D: +SubCFC2D: lda #$00 ; CPU:$FC2D PRG:3C2D A9 00 sta ZpFA ; CPU:$FC2F PRG:3C2F 85 FA sta ZpF9 ; CPU:$FC31 PRG:3C31 85 F9 @@ -14627,7 +14629,7 @@ Label_FC2D: sta ZpF6 ; CPU:$FC39 PRG:3C39 85 F6 rts ; CPU:$FC3B PRG:3C3B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FC3C +; Routine: SubCFC2D_Block_FC3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14635,16 +14637,16 @@ Label_FC2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC3C: - bpl Label_FC4C ; CPU:$FC3C PRG:3C3C 10 0E +SubCFC2D_Block_FC3C: + bpl SubCFC2D_Block_FC4C ; CPU:$FC3C PRG:3C3C 10 0E jsr $F858 ; CPU:$FC3E PRG:3C3E 20 58 F8 sta $0691 ; CPU:$FC41 PRG:3C41 8D 91 06 ldy ZpFA ; CPU:$FC44 PRG:3C44 A4 FA inc ZpFA ; CPU:$FC46 PRG:3C46 E6 FA lda (ZpF7),y ; CPU:$FC48 PRG:3C48 B1 F7 - beq Label_FCA0 ; CPU:$FC4A PRG:3C4A F0 54 + beq SubCFC2D_Block_FCA0 ; CPU:$FC4A PRG:3C4A F0 54 ; ----------------------------------------------------------------------------- -; Routine: Label_FC4C +; Routine: SubCFC2D_Block_FC4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14652,12 +14654,12 @@ Label_FC3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC4C: +SubCFC2D_Block_FC4C: jsr $F838 ; CPU:$FC4C PRG:3C4C 20 38 F8 lda $0691 ; CPU:$FC4F PRG:3C4F AD 91 06 sta $0696 ; CPU:$FC52 PRG:3C52 8D 96 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FC55 +; Routine: SubCFC2D_Block_FC55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14665,24 +14667,24 @@ Label_FC4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC55: +SubCFC2D_Block_FC55: lda $06B3 ; CPU:$FC55 PRG:3C55 AD B3 06 - bne Label_FCC1 ; CPU:$FC58 PRG:3C58 D0 67 + bne SubCFC2D_Block_FCC1 ; CPU:$FC58 PRG:3C58 D0 67 dec $0695 ; CPU:$FC5A PRG:3C5A CE 95 06 - bne Label_FC78 ; CPU:$FC5D PRG:3C5D D0 19 + bne SubCFC2D_Block_FC78 ; CPU:$FC5D PRG:3C5D D0 19 lda #$88 ; CPU:$FC5F PRG:3C5F A9 88 - sta $4004 ; CPU:$FC61 PRG:3C61 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FC61 PRG:3C61 8D 04 40 ldy ZpF5 ; CPU:$FC64 PRG:3C64 A4 F5 inc ZpF5 ; CPU:$FC66 PRG:3C66 E6 F5 lda (ZpF7),y ; CPU:$FC68 PRG:3C68 B1 F7 - beq Label_FC2D ; CPU:$FC6A PRG:3C6A F0 C1 + beq SubCFC2D ; CPU:$FC6A PRG:3C6A F0 C1 jsr $F852 ; CPU:$FC6C PRG:3C6C 20 52 F8 sta $0695 ; CPU:$FC6F PRG:3C6F 8D 95 06 txa ; CPU:$FC72 PRG:3C72 8A and #$3E ; CPU:$FC73 PRG:3C73 29 3E jsr $F84A ; CPU:$FC75 PRG:3C75 20 4A F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FC78 +; Routine: SubCFC2D_Block_FC78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14690,11 +14692,11 @@ Label_FC55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC78: +SubCFC2D_Block_FC78: ldy ZpF9 ; CPU:$FC78 PRG:3C78 A4 F9 - beq Label_FC9F ; CPU:$FC7A PRG:3C7A F0 23 + beq SubCFC2D_Block_FC9F ; CPU:$FC7A PRG:3C7A F0 23 dec $0698 ; CPU:$FC7C PRG:3C7C CE 98 06 - bne Label_FC9F ; CPU:$FC7F PRG:3C7F D0 1E + bne SubCFC2D_Block_FC9F ; CPU:$FC7F PRG:3C7F D0 1E inc ZpF9 ; CPU:$FC81 PRG:3C81 E6 F9 lda (ZpF7),y ; CPU:$FC83 PRG:3C83 B1 F7 jsr $F852 ; CPU:$FC85 PRG:3C85 20 52 F8 @@ -14704,10 +14706,10 @@ Label_FC78: asl a ; CPU:$FC8E PRG:3C8E 0A asl a ; CPU:$FC8F PRG:3C8F 0A cmp #$38 ; CPU:$FC90 PRG:3C90 C9 38 - bcc Label_FC96 ; CPU:$FC92 PRG:3C92 90 02 + bcc SubCFC2D_Block_FC96 ; CPU:$FC92 PRG:3C92 90 02 lda #$38 ; CPU:$FC94 PRG:3C94 A9 38 ; ----------------------------------------------------------------------------- -; Routine: Label_FC96 +; Routine: SubCFC2D_Block_FC96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14715,13 +14717,13 @@ Label_FC78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC96: - sta $4008 ; CPU:$FC96 PRG:3C96 8D 08 40 +SubCFC2D_Block_FC96: + sta APUTRIANGLECTRL ; CPU:$FC96 PRG:3C96 8D 08 40 txa ; CPU:$FC99 PRG:3C99 8A and #$3E ; CPU:$FC9A PRG:3C9A 29 3E jsr $F84E ; CPU:$FC9C PRG:3C9C 20 4E F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FC9F +; Routine: SubCFC2D_Block_FC9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14729,10 +14731,10 @@ Label_FC96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC9F: +SubCFC2D_Block_FC9F: rts ; CPU:$FC9F PRG:3C9F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FCA0 +; Routine: SubCFC2D_Block_FCA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14740,16 +14742,16 @@ Label_FC9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA0: +SubCFC2D_Block_FCA0: inc $06B3 ; CPU:$FCA0 PRG:3CA0 EE B3 06 lda $0691 ; CPU:$FCA3 PRG:3CA3 AD 91 06 sta $0696 ; CPU:$FCA6 PRG:3CA6 8D 96 06 ldy #$04 ; CPU:$FCA9 PRG:3CA9 A0 04 cmp #$20 ; CPU:$FCAB PRG:3CAB C9 20 - bcc Label_FCB1 ; CPU:$FCAD PRG:3CAD 90 02 + bcc SubCFC2D_Block_FCB1 ; CPU:$FCAD PRG:3CAD 90 02 ldy #$28 ; CPU:$FCAF PRG:3CAF A0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_FCB1 +; Routine: SubCFC2D_Block_FCB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14757,16 +14759,16 @@ Label_FCA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCB1: +SubCFC2D_Block_FCB1: sty ZpF1 ; CPU:$FCB1 PRG:3CB1 84 F1 lda #$06 ; CPU:$FCB3 PRG:3CB3 A9 06 jsr $F838 ; CPU:$FCB5 PRG:3CB5 20 38 F8 lda #$26 ; CPU:$FCB8 PRG:3CB8 A9 26 jsr $F84A ; CPU:$FCBA PRG:3CBA 20 4A F8 lda #$9F ; CPU:$FCBD PRG:3CBD A9 9F - bne Label_FCC7 ; CPU:$FCBF PRG:3CBF D0 06 + bne SubCFC2D_Block_FCC7 ; CPU:$FCBF PRG:3CBF D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC1 +; Routine: SubCFC2D_Block_FCC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14774,12 +14776,12 @@ Label_FCB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC1: +SubCFC2D_Block_FCC1: dec ZpF1 ; CPU:$FCC1 PRG:3CC1 C6 F1 - bne Label_FCCD ; CPU:$FCC3 PRG:3CC3 D0 08 + bne SubCFC2D_Block_FCCD ; CPU:$FCC3 PRG:3CC3 D0 08 lda #$86 ; CPU:$FCC5 PRG:3CC5 A9 86 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC7 +; Routine: SubCFC2D_Block_FCC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14787,11 +14789,11 @@ Label_FCC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC7: - sta $4000 ; CPU:$FCC7 PRG:3CC7 8D 00 40 - sta $4004 ; CPU:$FCCA PRG:3CCA 8D 04 40 +SubCFC2D_Block_FCC7: + sta APUPULSE1CTRL ; CPU:$FCC7 PRG:3CC7 8D 00 40 + sta APUPULSE2CTRL ; CPU:$FCCA PRG:3CCA 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FCCD +; Routine: SubCFC2D_Block_FCCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14799,8 +14801,9 @@ Label_FCC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCCD: +SubCFC2D_Block_FCCD: rts ; CPU:$FCCD PRG:3CCD 60 +VectorPageData: ; ---- data $FCCE-$FFEF (802 bytes) ---- ; referenced by `lda $FF09,y` at $F8C4 (operand $FF09 falls inside this region) ; referenced by `lda $FF33,y` at $FB7A (operand $FF33 falls inside this region) diff --git a/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl b/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl new file mode 100644 index 0000000..5835fc4 --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl @@ -0,0 +1,884 @@ +al 00FFF0 .IrqHandler +al 00FCCE .VectorPageData +al 00FCCD .SubCFC2D_Block_FCCD +al 00FCC7 .SubCFC2D_Block_FCC7 +al 00FCB1 .SubCFC2D_Block_FCB1 +al 00FC96 .SubCFC2D_Block_FC96 +al 00FC9F .SubCFC2D_Block_FC9F +al 00FC78 .SubCFC2D_Block_FC78 +al 00FCC1 .SubCFC2D_Block_FCC1 +al 00FCA0 .SubCFC2D_Block_FCA0 +al 00FC4C .SubCFC2D_Block_FC4C +al 00FC2D .SubCFC2D +al 00FC3C .SubCFC2D_Block_FC3C +al 00FC24 .SubCFBC7_Block_FC24 +al 00FC55 .SubCFC2D_Block_FC55 +al 00FC05 .SubCFBC7_Block_FC05 +al 00FC13 .SubCFBC7_Block_FC13 +al 00FBD3 .SubCFBC7_Block_FBD3 +al 00FBC7 .SubCFBC7 +al 00FBC6 .SubCFB5F_Block_FBC6 +al 00FBA8 .SubCFB5F_Block_FBA8 +al 00FBB8 .SubCFB5F_Block_FBB8 +al 00FB8E .SubCFB5F_Block_FB8E +al 00FB75 .SubCFB5F_Block_FB75 +al 00FB89 .SubCFB5F_Block_FB89 +al 00FB6B .SubCFB5F_Block_FB6B +al 00FB5F .SubCFB5F +al 00FB48 .SubCFAE8_Block_FB48 +al 00FB3D .SubCFAE8_Block_FB3D +al 00FB4A .SubCFAE8_Block_FB4A +al 00FB40 .SubCFAE8_Block_FB40 +al 00FB25 .SubCFAE8_Block_FB25 +al 00FB21 .SubCFAE8_Block_FB21 +al 00FB33 .SubCFAE8_Block_FB33 +al 00FB09 .SubCFAE8_Block_FB09 +al 00FB1A .SubCFAE8_Block_FB1A +al 00FAE8 .SubCFAE8 +al 00FB58 .SubCFAE8_Block_FB58 +al 00FADF .SubCFA3D_Block_FADF +al 00FADB .SubCFA3D_Block_FADB +al 00FB06 .SubCFAE8_Block_FB06 +al 00FAC2 .SubCFA3D_Block_FAC2 +al 00FAD1 .SubCFA3D_Block_FAD1 +al 00FAAF .SubCFA3D_Block_FAAF +al 00FAA5 .SubCFA3D_Block_FAA5 +al 00FA75 .SubCFA3D_Block_FA75 +al 00FA6A .SubCFA3D_Block_FA6A +al 00FA60 .SubCFA3D_Block_FA60 +al 00FA65 .SubCFA3D_Block_FA65 +al 00FA3D .SubCFA3D +al 00FA8D .SubCFA3D_Block_FA8D +al 00FA7A .SubCFA3D_Block_FA7A +al 00FA43 .SubCFA3D_Block_FA43 +al 00FA50 .SubCFA3D_Block_FA50 +al 00FA87 .SubCFA3D_Block_FA87 +al 00F9FE .SubCF9FE +al 00FA2D .SubCF9FE_Block_FA2D +al 00F9ED .SubCF995_Block_F9ED +al 00F9F9 .SubCF995_Block_F9F9 +al 00F9DF .SubCF995_Block_F9DF +al 00F9D1 .SubCF995_Block_F9D1 +al 00FA37 .SubCF9FE_Block_FA37 +al 00FA3A .SubCF9FE_Block_FA3A +al 00F9C0 .SubCF995_Block_F9C0 +al 00F9B1 .SubCF995_Block_F9B1 +al 00F9CF .SubCF995_Block_F9CF +al 00F9AA .SubCF995_Block_F9AA +al 00F9A7 .SubCF995_Block_F9A7 +al 00F99B .SubCF995_Block_F99B +al 00F995 .SubCF995 +al 00F98E .SubCF98E +al 00F98C .SubCF98C +al 00F98B .SubCF983_Block_F98B +al 00F985 .SubCF983_Block_F985 +al 00F983 .SubCF983 +al 00F970 .SubCF970 +al 00F8D9 .SubCF8A1_Block_F8D9 +al 00F8D4 .SubCF8A1_Block_F8D4 +al 00F8BE .SubCF8A1_Block_F8BE +al 00F8A1 .SubCF8A1 +al 00F8BB .SubCF8A1_Block_F8BB +al 00F89A .SubCF858_Block_F89A +al 00F8FD .SubCF8A1_Block_F8FD +al 00F891 .SubCF858_Block_F891 +al 00F889 .SubCF858_Block_F889 +al 00F88E .SubCF858_Block_F88E +al 00F895 .SubCF858_Block_F895 +al 00F876 .SubCF858_Block_F876 +al 00F863 .SubCF858_Block_F863 +al 00F858 .SubCF858 +al 00F852 .SubCF852 +al 00F84E .SubCF84E +al 00F84A .SubCF84A +al 00F849 .SubCF838_Block_F849 +al 00F83A .SubCF838_Block_F83A +al 00F838 .SubCF838 +al 00F835 .SubCF835 +al 00F833 .SubCF833 +al 00F088 .AudioData +al 00F071 .SubCF071 +al 00F06F .SubCF002_Block_F06F +al 00F07B .SubCF071_Block_F07B +al 00F05A .SubCF002_Block_F05A +al 00F085 .SubCF071_Block_F085 +al 00F080 .SubCF071_Block_F080 +al 00F02F .SubCF002_Block_F02F +al 00F055 .SubCF002_Block_F055 +al 00F07C .SubCF071_Block_F07C +al 00F026 .SubCF002_Block_F026 +al 00F002 .SubCF002 +al 00EFFF .SubCEFE0_Block_EFFF +al 00EFF3 .SubCEFE0_Block_EFF3 +al 00EFE0 .SubCEFE0 +al 00EFD7 .SubCEFBF_Block_EFD7 +al 00EFDB .SubCEFBF_Block_EFDB +al 00EFCA .SubCEFBF_Block_EFCA +al 00EFBF .SubCEFBF +al 00EFBE .SubCEF3A_Block_EFBE +al 00EFA2 .SubCEF3A_Block_EFA2 +al 00EF9C .SubCEF3A_Block_EF9C +al 00EF47 .SubCEF3A_Block_EF47 +al 00EF6E .SubCEF3A_Block_EF6E +al 00EF6A .SubCEF3A_Block_EF6A +al 00EF3A .SubCEF3A +al 00EF30 .SubCEF19_Block_EF30 +al 00EF1F .SubCEF19_Block_EF1F +al 00EF19 .SubCEF19 +al 00EF05 .SubCEF05 +al 00EEF1 .SubCEE9D_Block_EEF1 +al 00EEEE .SubCEE9D_Block_EEEE +al 00EEEB .SubCEE9D_Block_EEEB +al 00EEDF .SubCEE9D_Block_EEDF +al 00EEC9 .SubCEE9D_Block_EEC9 +al 00EEC8 .SubCEE9D_Block_EEC8 +al 00EE9F .SubCEE9D_Block_EE9F +al 00EE9D .SubCEE9D +al 00EE89 .SubCEE89 +al 00EE84 .SubCEE74_Block_EE84 +al 00EE74 .SubCEE74 +al 00EE70 .SubCEE5E_Block_EE70 +al 00EE6A .SubCEE5E_Block_EE6A +al 00EE5E .SubCEE5E +al 00EE5D .SubCEE4F_Block_EE5D +al 00EE4F .SubCEE4F +al 00EE4D .SubCEE4D +al 00EE21 .SubCEDF5_Block_EE21 +al 00EE0A .SubCEDF5_Block_EE0A +al 00EDF5 .SubCEDF5 +al 00EDF4 .SubCED88_Block_EDF4 +al 00EDE3 .SubCED88_Block_EDE3 +al 00EDC4 .SubCED88_Block_EDC4 +al 00ED88 .SubCED88 +al 00ED82 .SubCED77_Block_ED82 +al 00ED79 .SubCED77_Block_ED79 +al 00ED77 .SubCED77 +al 00ED70 .SubCED3F_Block_ED70 +al 00ED59 .SubCED3F_Block_ED59 +al 00ED3F .SubCED3F +al 00ED34 .SubCED34 +al 00ED20 .SubCED20 +al 00ED1C .SubCED03_Block_ED1C +al 00ED1F .SubCED03_Block_ED1F +al 00ED03 .SubCED03 +al 00ECF7 .SubCECC3_Block_ECF7 +al 00ED02 .SubCECC3_Block_ED02 +al 00ECC3 .SubCECC3 +al 00ECBE .SubCECBE +al 00ECC2 .SubCECBE_Block_ECC2 +al 00ECA6 .SubCECA6 +al 00ECA5 .SubCEC8A_Block_ECA5 +al 00EC8A .SubCEC8A +al 00EC81 .SubCEC81 +al 00EC89 .SubCEC81_Block_EC89 +al 00EC77 .SubCEC77 +al 00EC6C .SubCEC6C +al 00EC6B .SubCEC5E_Block_EC6B +al 00EC5E .SubCEC5E +al 00EC56 .SubCEC56 +al 00EC4F .SubCEC08_Block_EC4F +al 00EC33 .SubCEC08_Block_EC33 +al 00EC5B .SubCEC5B +al 00EC16 .SubCEC08_Block_EC16 +al 00EC08 .SubCEC08 +al 00EC05 .SubCEBF5_Block_EC05 +al 00EC03 .SubCEBF5_Block_EC03 +al 00EBF5 .SubCEBF5 +al 00EBE0 .SubCEBD6_Block_EBE0 +al 00EBD6 .SubCEBD6 +al 00EBCE .SubCEBA4_Block_EBCE +al 00EBF2 .SubCEBD6_Block_EBF2 +al 00EBB2 .SubCEBA4_Block_EBB2 +al 00EBA4 .SubCEBA4 +al 00EB9B .SubCEB9B +al 00EBA3 .SubCEB9B_Block_EBA3 +al 00EB89 .SubCEB89 +al 00EB88 .SubCEB73_Block_EB88 +al 00EB73 .SubCEB73 +al 00EB6D .SubCEB35_Block_EB6D +al 00EB61 .SubCEB35_Block_EB61 +al 00EB4F .SubCEB35_Block_EB4F +al 00EB72 .SubCEB35_Block_EB72 +al 00EB35 .SubCEB35 +al 00EB2E .SubCEB2E +al 00EB23 .SubCEB23 +al 00EB1A .SubCEB1A +al 00EB0C .SubCEB02_Block_EB0C +al 00EB02 .SubCEB02 +al 00EAF7 .SubCEAF7 +al 00EAFC .SubCEAF7_Block_EAFC +al 00EAF4 .SubCEAD8_Block_EAF4 +al 00EAFF .SubCEAF7_Block_EAFF +al 00EAD8 .SubCEAD8 +al 00EAD2 .SubCEAA4_Block_EAD2 +al 00EACC .SubCEAA4_Block_EACC +al 00EAD5 .SubCEAD5 +al 00EABB .SubCEAA4_Block_EABB +al 00EAB5 .SubCEAA4_Block_EAB5 +al 00EAA4 .SubCEAA4 +al 00EA97 .SubCEA97 +al 00EA94 .SubCEA8C_Block_EA94 +al 00EA8C .SubCEA8C +al 00EA79 .SubCEA79 +al 00EA76 .SubCEA6E_Block_EA76 +al 00EA6E .SubCEA6E +al 00EA67 .SubCEA67 +al 00EA5D .SubCEA5D +al 00EA4E .SubCEA4E +al 00EA43 .SubCEA27_Block_EA43 +al 00EA35 .SubCEA27_Block_EA35 +al 00EA62 .SubCEA5D_Block_EA62 +al 00EA27 .SubCEA27 +al 00EA25 .SubCEA25 +al 00EA05 .SubCE9FD_Block_EA05 +al 00E9FF .SubCE9FD_Block_E9FF +al 00E9FD .SubCE9FD +al 00E9DD .SubCE9D7_Block_E9DD +al 00E9D7 .SubCE9D7 +al 00E9AF .SubCE9A1_Block_E9AF +al 00E9AA .SubCE9A1_Block_E9AA +al 00E9A1 .SubCE9A1 +al 00E97B .SubCE96D_Block_E97B +al 00E976 .SubCE96D_Block_E976 +al 00E96D .SubCE96D +al 00E958 .SubCE952_Block_E958 +al 00E952 .SubCE952 +al 00E940 .SubCE936_Block_E940 +al 00E936 .SubCE936 +al 00E92E .SubCE92E +al 00E92B .SubCE8EA_Block_E92B +al 00E91F .SubCE8EA_Block_E91F +al 00E925 .SubCE8EA_Block_E925 +al 00E906 .SubCE8EA_Block_E906 +al 00E8EA .SubCE8EA +al 00E8E8 .SubCE8D8_Block_E8E8 +al 00E8DD .SubCE8D8_Block_E8DD +al 00E8D8 .SubCE8D8 +al 00E8CF .SubCE8CF +al 00E8C6 .SubCE8C6 +al 00E8C4 .SubCE8C4 +al 00E8BC .SubCE8BC +al 00E8B3 .SubCE8B3 +al 00E8AA .SubCE8AA +al 00E8A8 .SubCE8A8 +al 00E8A0 .SubCE8A0 +al 00E89B .SubCE89B +al 00E899 .SubCE899 +al 00E887 .SubCE887 +al 00E872 .SubCE872 +al 00E859 .SubCE859 +al 00E854 .SubCE854 +al 00E84D .SubCE84D +al 00E845 .SubCE845 +al 00E840 .SubCE80C_Block_E840 +al 00E821 .SubCE80C_Block_E821 +al 00E80C .SubCE80C +al 00E7F1 .SubCE7F1 +al 00E7EC .SubCE7EC +al 00E7DD .SubCE7BD_Block_E7DD +al 00E7BD .SubCE7BD +al 00E7B2 .SubCE7B2 +al 00E79F .SubCE79F +al 00E79B .SubCE79B +al 00E797 .SubCE797 +al 00E796 .SubCE77D_Block_E796 +al 00E77D .SubCE77D +al 00E77B .SubCE77B +al 00E765 .SubCE765 +al 00E755 .SubCE741_Block_E755 +al 00E74B .SubCE741_Block_E74B +al 00E741 .SubCE741 +al 00E723 .SubCE723 +al 00E722 .SubCE722 +al 00E71F .SubCE6E6_Block_E71F +al 00E70E .SubCE6E6_Block_E70E +al 00E6F7 .SubCE6E6_Block_E6F7 +al 00E6FD .SubCE6E6_Block_E6FD +al 00E6F2 .SubCE6E6_Block_E6F2 +al 00E6E6 .SubCE6E6 +al 00E6B0 .SubCE694_Block_E6B0 +al 00E6A9 .SubCE694_Block_E6A9 +al 00E6E5 .SubCE694_Block_E6E5 +al 00E694 .SubCE694 +al 00E689 .SubCE689 +al 00E677 .SubCE66D_Block_E677 +al 00E66D .SubCE66D +al 00E66A .SubCE5F7_Block_E66A +al 00E693 .SubCE689_Block_E693 +al 00E682 .SubCE66D_Block_E682 +al 00E678 .SubCE66D_Block_E678 +al 00E63D .SubCE5F7_Block_E63D +al 00E631 .SubCE5F7_Block_E631 +al 00E610 .SubCE5F7_Block_E610 +al 00E5F7 .SubCE5F7 +al 00E5F6 .SubCE5E6_Block_E5F6 +al 00E5E6 .SubCE5E6 +al 00E5E4 .SubCE5E4 +al 00E5DE .SubCE561_Block_E5DE +al 00E5D0 .SubCE561_Block_E5D0 +al 00E5B4 .SubCE561_Block_E5B4 +al 00E5E2 .SubCE561_Block_E5E2 +al 00E5BC .SubCE561_Block_E5BC +al 00E592 .SubCE561_Block_E592 +al 00E561 .SubCE561 +al 00E56F .SubCE561_Block_E56F +al 00E553 .SubCE540_Block_E553 +al 00E54C .SubCE540_Block_E54C +al 00E540 .SubCE540 +al 00E53A .SubCE53A +al 00E526 .SubCE526 +al 00E51F .SubCE4F4_Block_E51F +al 00E524 .SubCE4F4_Block_E524 +al 00E539 .SubCE526_Block_E539 +al 00E512 .SubCE4F4_Block_E512 +al 00E500 .SubCE4F4_Block_E500 +al 00E4F4 .SubCE4F4 +al 00E4EF .SubCE4D4_Block_E4EF +al 00E4F3 .SubCE4D4_Block_E4F3 +al 00E4D4 .SubCE4D4 +al 00E4CE .SubCE4B4_Block_E4CE +al 00E4C8 .SubCE4B4_Block_E4C8 +al 00E4D1 .SubCE4B4_Block_E4D1 +al 00E4B4 .SubCE4B4 +al 00E4B3 .SubCE488_Block_E4B3 +al 00E4A3 .SubCE488_Block_E4A3 +al 00E488 .SubCE488 +al 00E44C .SubCE410_Block_E44C +al 00E436 .SubCE410_Block_E436 +al 00E41D .SubCE410_Block_E41D +al 00E43E .SubCE410_Block_E43E +al 00E410 .SubCE410 +al 00E406 .SubCE406 +al 00E404 .SubCE3F4_Block_E404 +al 00E3F4 .SubCE3F4 +al 00E3D8 .SubCE3D8 +al 00E3C9 .SubCE3AB_Block_E3C9 +al 00E3C0 .SubCE3AB_Block_E3C0 +al 00E3B7 .SubCE3AB_Block_E3B7 +al 00E3A5 .SubCE389_Block_E3A5 +al 00E3AB .SubCE3AB +al 00E389 .SubCE389 +al 00E381 .SubCE381 +al 00E37F .SubCE365_Block_E37F +al 00E371 .SubCE365_Block_E371 +al 00E365 .SubCE365 +al 00E35E .SubCE34E_Block_E35E +al 00E34E .SubCE34E +al 00E333 .SubCE313_Block_E333 +al 00E324 .SubCE313_Block_E324 +al 00E313 .SubCE313 +al 00E30E .SubCE2EE_Block_E30E +al 00E327 .SubCE313_Block_E327 +al 00E2FA .SubCE2EE_Block_E2FA +al 00E2EE .SubCE2EE +al 00E2CD .SubCE296_Block_E2CD +al 00E2DD .SubCE296_Block_E2DD +al 00E2BC .SubCE296_Block_E2BC +al 00E296 .SubCE296 +al 00E2A4 .SubCE296_Block_E2A4 +al 00E28F .SubCE265_Block_E28F +al 00E2A3 .SubCE296_Block_E2A3 +al 00E265 .SubCE265 +al 00E260 .SubCE260 +al 00E258 .SubCE258 +al 00E24D .SubCE24D +al 00E240 .SubCE240 +al 00E233 .SubCE233 +al 00E223 .SubCE223 +al 00E21A .SubCE1FC_Block_E21A +al 00E232 .SubCE223_Block_E232 +al 00E1FC .SubCE1FC +al 00E1F0 .SubCE1A7_Block_E1F0 +al 00E1F3 .SubCE1F3 +al 00E1CC .SubCE1A7_Block_E1CC +al 00E1BE .SubCE1A7_Block_E1BE +al 00E1AC .SubCE1A7_Block_E1AC +al 00E1A7 .SubCE1A7 +al 00E197 .SubCE197 +al 00E19D .SubCE19D +al 00E191 .SubCE182_Block_E191 +al 00E182 .SubCE182 +al 00E180 .SubCE171_Block_E180 +al 00E171 .SubCE171 +al 00E16E .SubCE140_Block_E16E +al 00E158 .SubCE140_Block_E158 +al 00E1A4 .SubCE19D_Block_E1A4 +al 00E140 .SubCE140 +al 00E134 .SubCE134 +al 00E131 .SubCE125_Block_E131 +al 00E125 .SubCE125 +al 00E120 .SubCE120 +al 00E11D .SubCE0F5_Block_E11D +al 00E0F5 .SubCE0F5 +al 00E0EB .SubCE0B3_Block_E0EB +al 00E0DE .SubCE0B3_Block_E0DE +al 00E0D2 .SubCE0B3_Block_E0D2 +al 00E0B3 .SubCE0B3 +al 00E0B1 .SubCE046_Block_E0B1 +al 00E0A4 .SubCE046_Block_E0A4 +al 00E091 .SubCE046_Block_E091 +al 00E08D .SubCE046_Block_E08D +al 00E086 .SubCE046_Block_E086 +al 00E070 .SubCE046_Block_E070 +al 00E07D .SubCE046_Block_E07D +al 00E065 .SubCE046_Block_E065 +al 00E05F .SubCE046_Block_E05F +al 00E060 .SubCE046_Block_E060 +al 00E04D .SubCE046_Block_E04D +al 00E046 .SubCE046 +al 00E040 .SubCE040 +al 00E039 .SubCDFD6_Block_E039 +al 00E00C .SubCDFD6_Block_E00C +al 00E018 .SubCDFD6_Block_E018 +al 00E029 .SubCDFD6_Block_E029 +al 00DFEE .SubCDFD6_Block_DFEE +al 00DFD6 .SubCDFD6 +al 00DFCD .SubCDF95_Block_DFCD +al 00DFC0 .SubCDF95_Block_DFC0 +al 00DF95 .SubCDF95 +al 00DF88 .SubCDF88 +al 00DF6A .SubCDF33_Block_DF6A +al 00DF7A .SubCDF33_Block_DF7A +al 00DF33 .SubCDF33 +al 00DF2D .SubCDF14_Block_DF2D +al 00DF14 .SubCDF14 +al 00DF03 .SubCDEF6_Block_DF03 +al 00DEF6 .SubCDEF6 +al 00DEDE .SubCDEDE +al 00DEDA .SubCDEB0_Block_DEDA +al 00DEEE .SubCDEDE_Block_DEEE +al 00DF0D .SubCDEF6_Block_DF0D +al 00DEBB .SubCDEB0_Block_DEBB +al 00DEB0 .SubCDEB0 +al 00DEA1 .SubCDEA1 +al 00DE98 .SubCDE98 +al 00DE96 .SubCDE79_Block_DE96 +al 00DEAA .SubCDEA1_Block_DEAA +al 00DE89 .SubCDE79_Block_DE89 +al 00DE79 .SubCDE79 +al 00DE77 .SubCDE6A_Block_DE77 +al 00DE6A .SubCDE6A +al 00DE68 .SubCDE40_Block_DE68 +al 00DEA7 .SubCDEA1_Block_DEA7 +al 00DE81 .SubCDE79_Block_DE81 +al 00DE40 .SubCDE40 +al 00DE17 .SubCDE17 +al 00DE0D .SubCDDE8_Block_DE0D +al 00DDE8 .SubCDDE8 +al 00DDE6 .SubCDDCD_Block_DDE6 +al 00DDEE .SubCDDE8_Block_DDEE +al 00DE31 .SubCDE17_Block_DE31 +al 00DE36 .SubCDE17_Block_DE36 +al 00DDCD .SubCDDCD +al 00DDAC .SubCDDAC +al 00DD8C .SubCDD8C +al 00DD8A .SubCDD23_Block_DD8A +al 00DD80 .SubCDD23_Block_DD80 +al 00DD77 .SubCDD23_Block_DD77 +al 00DD61 .SubCDD23_Block_DD61 +al 00DD6B .SubCDD23_Block_DD6B +al 00DD39 .SubCDD23_Block_DD39 +al 00DD95 .SubCDD8C_Block_DD95 +al 00DD23 .SubCDD23 +al 00DD20 .SubCDD17_Block_DD20 +al 00DD17 .SubCDD17 +al 00DD0E .SubCDD0E +al 00DD05 .SubCDD05 +al 00DCFB .SubCDCEF_Block_DCFB +al 00DCEF .SubCDCEF +al 00DCE7 .SubCDCE7 +al 00DCE1 .SubCDCB2_Block_DCE1 +al 00DCEE .SubCDCE7_Block_DCEE +al 00DCC8 .SubCDCB2_Block_DCC8 +al 00DCB2 .SubCDCB2 +al 00DCA4 .SubCDCA4 +al 00DCA1 .SubCDC7A_Block_DCA1 +al 00DC8D .SubCDC7A_Block_DC8D +al 00DCBB .SubCDCB2_Block_DCBB +al 00DC72 .SubCDC57_Block_DC72 +al 00DC7A .SubCDC7A +al 00DC57 .SubCDC57 +al 00DC54 .SubCDC2A_Block_DC54 +al 00DC38 .SubCDC2A_Block_DC38 +al 00DC2A .SubCDC2A +al 00DC25 .SubCDBEA_Block_DC25 +al 00DC23 .SubCDBEA_Block_DC23 +al 00DC15 .SubCDBEA_Block_DC15 +al 00DC4A .SubCDC2A_Block_DC4A +al 00DBF5 .SubCDBEA_Block_DBF5 +al 00DBEA .SubCDBEA +al 00DBDF .SubCDBDF +al 00DBE7 .SubCDBDF_Block_DBE7 +al 00DBD4 .SubCDBC3_Block_DBD4 +al 00DBD9 .SubCDBC3_Block_DBD9 +al 00DBC3 .SubCDBC3 +al 00DBC0 .SubCDB62_Block_DBC0 +al 00DBB7 .SubCDB62_Block_DBB7 +al 00DBA3 .SubCDB62_Block_DBA3 +al 00DB9C .SubCDB62_Block_DB9C +al 00DB95 .SubCDB62_Block_DB95 +al 00DB8E .SubCDB62_Block_DB8E +al 00DB87 .SubCDB62_Block_DB87 +al 00DB80 .SubCDB62_Block_DB80 +al 00DB79 .SubCDB62_Block_DB79 +al 00DB72 .SubCDB62_Block_DB72 +al 00DB62 .SubCDB62 +al 00DB50 .SubCDB34_Block_DB50 +al 00DB34 .SubCDB34 +al 00DB32 .SubCDB0C_Block_DB32 +al 00DB2D .SubCDB0C_Block_DB2D +al 00DB51 .SubCDB34_Block_DB51 +al 00DB3A .SubCDB34_Block_DB3A +al 00DB0C .SubCDB0C +al 00DAF9 .SubCDAF9 +al 00DAF6 .SubCDAA7_Block_DAF6 +al 00DAE5 .SubCDAA7_Block_DAE5 +al 00DAC6 .SubCDAA7_Block_DAC6 +al 00DAF8 .SubCDAA7_Block_DAF8 +al 00DAC3 .SubCDAA7_Block_DAC3 +al 00DAA7 .SubCDAA7 +al 00DA9F .SubCDA9F +al 00DA81 .SubCDA81 +al 00DA8E .SubCDA81_Block_DA8E +al 00DA4B .SubCDA01_Block_DA4B +al 00DA37 .SubCDA01_Block_DA37 +al 00DA60 .SubCDA01_Block_DA60 +al 00DA15 .SubCDA01_Block_DA15 +al 00DA0B .SubCDA01_Block_DA0B +al 00DA01 .SubCDA01 +al 00D9F1 .SubCD9D9_Block_D9F1 +al 00D9FA .SubCD9D9_Block_D9FA +al 00D9D9 .SubCD9D9 +al 00D9C8 .SubCD9C8 +al 00D9A9 .SubCD9A9 +al 00D9BC .SubCD9A9_Block_D9BC +al 00D9A3 .SubCD992_Block_D9A3 +al 00D992 .SubCD992 +al 00D983 .SubCD961_Block_D983 +al 00D988 .SubCD961_Block_D988 +al 00D961 .SubCD961 +al 00D959 .SubCD938_Block_D959 +al 00D96B .SubCD961_Block_D96B +al 00D938 .SubCD938 +al 00D925 .SubCD925 +al 00D92D .SubCD925_Block_D92D +al 00D8EF .SubCD8EF +al 00D8F7 .SubCD8EF_Block_D8F7 +al 00D902 .SubCD8EF_Block_D902 +al 00D8E2 .SubCD8E2 +al 00D8DF .SubCD8BC_Block_D8DF +al 00D90F .SubCD8EF_Block_D90F +al 00D918 .SubCD8EF_Block_D918 +al 00D8CD .SubCD8BC_Block_D8CD +al 00D8BC .SubCD8BC +al 00D8B3 .SubCD8B3 +al 00D8B0 .SubCD852_Block_D8B0 +al 00D896 .SubCD852_Block_D896 +al 00D8AD .SubCD852_Block_D8AD +al 00D87D .SubCD852_Block_D87D +al 00D857 .SubCD852_Block_D857 +al 00D852 .SubCD852 +al 00D84C .SubCD839_Block_D84C +al 00D85D .SubCD852_Block_D85D +al 00D839 .SubCD839 +al 00D836 .SubCD801_Block_D836 +al 00D82B .SubCD801_Block_D82B +al 00D801 .SubCD801 +al 00D7FE .SubCD7F4_Block_D7FE +al 00D7F4 .SubCD7F4 +al 00D7E7 .SubCD7E7 +al 00D7D6 .SubCD7B2_Block_D7D6 +al 00D7D0 .SubCD7B2_Block_D7D0 +al 00D7E0 .SubCD7B2_Block_D7E0 +al 00D7C2 .SubCD7B2_Block_D7C2 +al 00D7B2 .SubCD7B2 +al 00D799 .SubCD799 +al 00D79B .SubCD799_Block_D79B +al 00D793 .SubCD751_Block_D793 +al 00D788 .SubCD751_Block_D788 +al 00D76F .SubCD751_Block_D76F +al 00D751 .SubCD751 +al 00D736 .SubCD736 +al 00D73E .SubCD736_Block_D73E +al 00D721 .SubCD6EF_Block_D721 +al 00D728 .SubCD6EF_Block_D728 +al 00D700 .SubCD6EF_Block_D700 +al 00D729 .SubCD6EF_Block_D729 +al 00D6EF .SubCD6EF +al 00D6EE .SubCD690_Block_D6EE +al 00D6E2 .SubCD690_Block_D6E2 +al 00D6D7 .SubCD690_Block_D6D7 +al 00D6D0 .SubCD690_Block_D6D0 +al 00D6C7 .SubCD690_Block_D6C7 +al 00D6B8 .SubCD690_Block_D6B8 +al 00D6A8 .SubCD690_Block_D6A8 +al 00D6B7 .SubCD690_Block_D6B7 +al 00D690 .SubCD690 +al 00D67D .SubCD641_Block_D67D +al 00D67B .SubCD641_Block_D67B +al 00D663 .SubCD641_Block_D663 +al 00D64B .SubCD641_Block_D64B +al 00D641 .SubCD641 +al 00D637 .SubCD634_Block_D637 +al 00D634 .SubCD634 +al 00D621 .SubCD607_Block_D621 +al 00D613 .SubCD607_Block_D613 +al 00D631 .SubCD607_Block_D631 +al 00D607 .SubCD607 +al 00D605 .SubCD605 +al 00D5EB .SubCD5E8_Block_D5EB +al 00D5E8 .SubCD5E8 +al 00D5C8 .SubCD5B5_Block_D5C8 +al 00D5DD .SubCD5B5_Block_D5DD +al 00D5B5 .SubCD5B5 +al 00D5A3 .SubCD591_Block_D5A3 +al 00D5B2 .SubCD591_Block_D5B2 +al 00D591 .SubCD591 +al 00D57B .SubCD56F_Block_D57B +al 00D56F .SubCD56F +al 00D553 .SubCD524_Block_D553 +al 00D565 .SubCD524_Block_D565 +al 00D524 .SubCD524 +al 00D506 .SubCD4CF_Block_D506 +al 00D4EA .SubCD4CF_Block_D4EA +al 00D523 .SubCD4CF_Block_D523 +al 00D4CF .SubCD4CF +al 00D4C6 .SubCD4C6 +al 00D4AD .SubCD4AD +al 00D4AC .SubCD499_Block_D4AC +al 00D499 .SubCD499 +al 00D498 .SubCD465_Block_D498 +al 00D465 .SubCD465 +al 00D450 .SubCD424_Block_D450 +al 00D449 .SubCD424_Block_D449 +al 00D424 .SubCD424 +al 00D422 .SubCD3EB_Block_D422 +al 00D45B .SubCD424_Block_D45B +al 00D408 .SubCD3EB_Block_D408 +al 00D3FD .SubCD3EB_Block_D3FD +al 00D3EB .SubCD3EB +al 00D3DE .SubCD3DE +al 00D3B4 .SubCD356_Block_D3B4 +al 00D3AD .SubCD356_Block_D3AD +al 00D3AE .SubCD356_Block_D3AE +al 00D399 .SubCD356_Block_D399 +al 00D38C .SubCD356_Block_D38C +al 00D3DD .SubCD356_Block_D3DD +al 00D379 .SubCD356_Block_D379 +al 00D356 .SubCD356 +al 00D365 .SubCD356_Block_D365 +al 00D349 .SubCD340_Block_D349 +al 00D340 .SubCD340 +al 00D320 .SubCD312_Block_D320 +al 00D312 .SubCD312 +al 00D333 .SubCD312_Block_D333 +al 00D334 .SubCD312_Block_D334 +al 00D2DC .SubCD2DC +al 00D2D9 .SubCD2D0_Block_D2D9 +al 00D2D0 .SubCD2D0 +al 00D2CF .SubCD2C2_Block_D2CF +al 00D2C2 .SubCD2C2 +al 00D2BE .SubCD29F_Block_D2BE +al 00D2C1 .SubCD29F_Block_D2C1 +al 00D29F .SubCD29F +al 00D29B .SubCD27E_Block_D29B +al 00D29E .SubCD27E_Block_D29E +al 00D27E .SubCD27E +al 00D26F .SubCD26F +al 00D279 .SubCD26F_Block_D279 +al 00D26D .SubCD234_Block_D26D +al 00D234 .SubCD234 +al 00D21B .SubCD21B +al 00D213 .SubCD1FC_Block_D213 +al 00D218 .SubCD1FC_Block_D218 +al 00D1FC .SubCD1FC +al 00D1F4 .SubCD1D9_Block_D1F4 +al 00D1F9 .SubCD1D9_Block_D1F9 +al 00D1D9 .SubCD1D9 +al 00D1D6 .SubCD1A7_Block_D1D6 +al 00D1A7 .SubCD1A7 +al 00D1A3 .SubCD10C_Block_D1A3 +al 00D172 .SubCD10C_Block_D172 +al 00D163 .SubCD10C_Block_D163 +al 00D159 .SubCD10C_Block_D159 +al 00D1A6 .SubCD10C_Block_D1A6 +al 00D139 .SubCD10C_Block_D139 +al 00D14E .SubCD10C_Block_D14E +al 00D14D .SubCD10C_Block_D14D +al 00D10C .SubCD10C +al 00D10B .SubCD0A7_Block_D10B +al 00D0A7 .SubCD0A7 +al 00D0A1 .SubCD079_Block_D0A1 +al 00D097 .SubCD079_Block_D097 +al 00D079 .SubCD079 +al 00D06D .SubCD06D +al 00D06C .SubCD045_Block_D06C +al 00D045 .SubCD045 +al 00D03D .SubCCFF4_Block_D03D +al 00D019 .SubCCFF4_Block_D019 +al 00D044 .SubCCFF4_Block_D044 +al 00CFF9 .SubCCFF4_Block_CFF9 +al 00CFF4 .SubCCFF4 +al 00CFEE .SubCCFEE +al 00CFEC .SubCCFEC +al 00CFEB .SubCCFA7_Block_CFEB +al 00CFD6 .SubCCFA7_Block_CFD6 +al 00CFD5 .SubCCFA7_Block_CFD5 +al 00CFD9 .SubCCFA7_Block_CFD9 +al 00CFA7 .SubCCFA7 +al 00CFA2 .SubCCF45_Block_CFA2 +al 00CF96 .SubCCF45_Block_CF96 +al 00CFAD .SubCCFA7_Block_CFAD +al 00CFAE .SubCCFA7_Block_CFAE +al 00CF79 .SubCCF45_Block_CF79 +al 00CF7D .SubCCF45_Block_CF7D +al 00CF7C .SubCCF45_Block_CF7C +al 00CF45 .SubCCF45 +al 00CF3F .SubCCF3F +al 00CF3D .SubCCF3D +al 00CF37 .SubCCF37 +al 00CF2B .SubCCF1A_Block_CF2B +al 00CF1A .SubCCF1A +al 00CF14 .SubCCF09_Block_CF14 +al 00CF09 .SubCCF09 +al 00CF06 .SubCCF06 +al 00CEF4 .SubCCED8_Block_CEF4 +al 00CF00 .SubCCED8_Block_CF00 +al 00CED8 .SubCCED8 +al 00CED7 .SubCCEAA_Block_CED7 +al 00CEAA .SubCCEAA +al 00CE9E .SubCCE6A_Block_CE9E +al 00CE71 .SubCCE6A_Block_CE71 +al 00CE6A .SubCCE6A +al 00CE5F .SubCCE4F_Block_CE5F +al 00CE53 .SubCCE4F_Block_CE53 +al 00CE4F .SubCCE4F +al 00CE48 .SubCCE48 +al 00CE32 .SubCCDEA_Block_CE32 +al 00CE28 .SubCCDEA_Block_CE28 +al 00CE09 .SubCCDEA_Block_CE09 +al 00CE14 .SubCCDEA_Block_CE14 +al 00CE08 .SubCCDEA_Block_CE08 +al 00CDEA .SubCCDEA +al 00CDDC .SubCCDAD_Block_CDDC +al 00CDAD .SubCCDAD +al 00CDAC .SubCCD8C_Block_CDAC +al 00CD9A .SubCCD8C_Block_CD9A +al 00CD8C .SubCCD8C +al 00CD80 .SubCCD29_Block_CD80 +al 00CD7D .SubCCD29_Block_CD7D +al 00CD5B .SubCCD29_Block_CD5B +al 00CD3C .SubCCD29_Block_CD3C +al 00CD36 .SubCCD29_Block_CD36 +al 00CD29 .SubCCD29 +al 00CD50 .SubCCD29_Block_CD50 +al 00CD14 .SubCCD03_Block_CD14 +al 00CD5C .SubCCD29_Block_CD5C +al 00CD03 .SubCCD03 +al 00CCFD .SubCCCFD +al 00CD02 .SubCCCFD_Block_CD02 +al 00CCEC .SubCCCA0_Block_CCEC +al 00CCD9 .SubCCCA0_Block_CCD9 +al 00CCBE .SubCCCA0_Block_CCBE +al 00CCE3 .SubCCCA0_Block_CCE3 +al 00CCE1 .SubCCCA0_Block_CCE1 +al 00CCE8 .SubCCCA0_Block_CCE8 +al 00CCA0 .SubCCCA0 +al 00CC97 .SubCCC81_Block_CC97 +al 00CC9F .SubCCC81_Block_CC9F +al 00CC81 .SubCCC81 +al 00CC78 .SubCCC78 +al 00CC73 .SubCCC1E_Block_CC73 +al 00CC3E .SubCCC1E_Block_CC3E +al 00CC33 .SubCCC1E_Block_CC33 +al 00CC7C .SubCCC7C +al 00CC1E .SubCCC1E +al 00CC0F .SubCCB94_Block_CC0F +al 00CBD9 .SubCCB94_Block_CBD9 +al 00CBA9 .SubCCB94_Block_CBA9 +al 00CBA1 .SubCCB94_Block_CBA1 +al 00CB94 .SubCCB94 +al 00CB92 .SubCCB92 +al 00CB72 .SubCCB12_Block_CB72 +al 00CB69 .SubCCB12_Block_CB69 +al 00CB68 .SubCCB12_Block_CB68 +al 00CB81 .SubCCB12_Block_CB81 +al 00CB45 .SubCCB12_Block_CB45 +al 00CB1B .SubCCB12_Block_CB1B +al 00CB12 .SubCCB12 +al 00CB11 .SubCCAD4_Block_CB11 +al 00CAF6 .SubCCAD4_Block_CAF6 +al 00CAE7 .SubCCAD4_Block_CAE7 +al 00CAEA .SubCCAD4_Block_CAEA +al 00CAE6 .SubCCAD4_Block_CAE6 +al 00CAD4 .SubCCAD4 +al 00CAC6 .SubCCA8B_Block_CAC6 +al 00CAB5 .SubCCA8B_Block_CAB5 +al 00CAAD .SubCCA8B_Block_CAAD +al 00CAB6 .SubCCA8B_Block_CAB6 +al 00CA94 .SubCCA8B_Block_CA94 +al 00CA8B .SubCCA8B +al 00CA71 .SubCCA71 +al 00CA56 .SubCCA56 +al 00CA37 .SubCCA37 +al 00CA2E .SubCCA2E +al 00CA0F .SubCCA0F +al 00CA05 .SubCCA05 +al 00C9ED .SubCC9ED +al 00C9F2 .SubCC9ED_Block_C9F2 +al 00C9E1 .SubCC998_Block_C9E1 +al 00C9C2 .SubCC998_Block_C9C2 +al 00C9C9 .SubCC998_Block_C9C9 +al 00C9CE .SubCC998_Block_C9CE +al 00C998 .SubCC998 +al 00C995 .SubCC981_Block_C995 +al 00C98F .SubCC981_Block_C98F +al 00C981 .SubCC981 +al 00C97C .SubCC951_Block_C97C +al 00C974 .SubCC951_Block_C974 +al 00C951 .SubCC951 +al 00C939 .SubCC89B_Block_C939 +al 00C8FD .SubCC89B_Block_C8FD +al 00C8CF .SubCC89B_Block_C8CF +al 00C8CD .SubCC89B_Block_C8CD +al 00C8C6 .SubCC89B_Block_C8C6 +al 00C8B9 .SubCC89B_Block_C8B9 +al 00C8B8 .SubCC89B_Block_C8B8 +al 00C8AB .SubCC89B_Block_C8AB +al 00C89B .SubCC89B +al 00C88E .SubCC88E +al 00C87A .SubCC87A +al 00C861 .SubCC81F_Block_C861 +al 00C865 .SubCC81F_Block_C865 +al 00C845 .SubCC81F_Block_C845 +al 00C81F .SubCC81F +al 00C7F6 .SubCC76A_Block_C7F6 +al 00C7EA .SubCC76A_Block_C7EA +al 00C801 .SubCC801 +al 00C7E1 .SubCC76A_Block_C7E1 +al 00C7D0 .SubCC76A_Block_C7D0 +al 00C7C3 .SubCC76A_Block_C7C3 +al 00C76A .SubCC76A +al 00C75D .SubCC75D +al 00C75A .SubCC6FC_Block_C75A +al 00C754 .SubCC6FC_Block_C754 +al 00C746 .SubCC6FC_Block_C746 +al 00C73C .SubCC6FC_Block_C73C +al 00C732 .SubCC6FC_Block_C732 +al 00C724 .SubCC6FC_Block_C724 +al 00C701 .NmiHandler +al 00C6FC .SubCC6FC +al 00C6F5 .SubCC6F1_Block_C6F5 +al 00C6F1 .SubCC6F1 +al 00C6EB .SubCC6EB +al 00C6D7 .SubCC6D7 +al 00C6D1 .SubCC6D1 +al 00C6C9 .SubCC6C9 +al 00C6A4 .SubCC686_Block_C6A4 +al 00C69C .SubCC686_Block_C69C +al 00C686 .SubCC686 +al 00C680 .SubCC680 +al 00C663 .SubCC663 +al 00C653 .SubCC653 +al 00C649 .Reset +al 00C000 .LevelData diff --git a/Popeye (JU) (PRG 0)/copilot/reconstructed.map b/Popeye (JU) (PRG 0)/copilot/reconstructed.map new file mode 100644 index 0000000..1ad1cc6 --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/reconstructed.map @@ -0,0 +1,32 @@ +Modules list: +------------- +header.o: + HEADER Offs=000000 Size=000010 Align=00001 Fill=0000 +prg.o: + PRG Offs=000000 Size=004000 Align=00001 Fill=0000 +chr.o: + CHR Offs=000000 Size=002000 Align=00001 Fill=0000 + + +Segment list: +------------- +Name Start End Size Align +---------------------------------------------------- +CHR 000000 001FFF 002000 00001 +HEADER 000000 00000F 000010 00001 +PRG 00C000 00FFFF 004000 00001 + + +Exports list by name: +--------------------- + + + +Exports list by value: +---------------------- + + + +Imports list: +------------- + diff --git a/Popeye (JU) (PRG 0)/copilot/reconstructed.nes b/Popeye (JU) (PRG 0)/copilot/reconstructed.nes new file mode 100644 index 0000000000000000000000000000000000000000..895311def784fcd6fbc7e209efb9accac538a850 GIT binary patch literal 24592 zcmbWf3w#q*_6I(hB$KoaO?U?=?Idl1B5DA^inWahSo#ZyyNkN}b1^DUf2j41TH6#l zfc;UdC`&=mP?^#xq7lRewQlGmG{|Fo*Igdr)s}}atSALa^Z%ZihN8Rs`~N@x+s@p3 z&pG$pbI(2Z+{esh>crm<)ai5#!qmy5ZW=lG+<f{y>1|c_ieB!Z14g(Ope+M=F$I&N5L1l>kiu ztxm`ODxe&}nS%!pg7)gw&Q2W*a;7uNvU)wSj&Wci739KYMBual^n?jSq~5w>Eqy(N zD45*bTqbuyu121VR4%iOVf1>2{ur~KF`Lc$P}8(dM2u8Sf-N%ghH532CAI7vtZ|&JA*st?=0Er z-}&v%XLl~!8Q6KM>kslmZw3Qt$Y`+GnSM6Asb8GkfHYl9U*!A74P#l3tj1z6TY9tR zeinuqz+}|jSU0k6Ox{juWQ#uM9Hcb&>VRqopE+GWePl}AtcPHl{Ak7(2twv9s;3@Ojr zp0z8Q8*)cD= zV9rbP<}P{c)u?^Wz&MsMU!Pz9QvH7$pQ~R~Ki^nhzp~zuc7x-_5stJpN7^1o+81^8P55i9|Dt|h{lm@~ z_&eg5;XLGEdMWMAN^06S-+uRfT54KaTJsNoPd#!pE$!IxbM?Q}U#%al{FHY7LfSun zP8;>hrHhx_uf#X>X`u0@USuptYME&C;I9xgY-!-(TB`KFkpIt~f9&}{&r`kL|Dadk z!=C@>d7!7*v+BNv2O1t}nAtG9VQ#~N4G%TArop&4H*d6IKwz|J;hXQi{Q8^ko14Ge z*Zl3bUm@(@kNaf_bZ#tbX^kS=GT0b~N%yjyoJD_${x$k^k&H({CEvqyLW=_kREW$FHp{fAjS>w)CN% z&WdqUV_ST`#I!VfO5&hjf%`yH(cWiqO`kr!_lci>?md0lgS`QJxN&ylV~r0tKGFDe z1-GI#UV*2cqK-7RJ2X@fm*Qf&z|-8LQ>B%##qK0C4HIB zDCx@d#>xRw+B$=Aw|u#hsl6+-uD7u*!pT2NBgza$skLmNQDVw^x+Shm$Mfey{P!W` zUHY<-dj53Clk=l0i(muL$P2yb)*JPL*egZ-%xZ>RDqjY`GxU^b%P3MM5qnOy6SrG_ zrGX~kbS!a;-{EV}F{w4m^v*KN{L5d1@i7tiX|97|N&%4BtNPVNGymGwwsAA!J zeE~TC*e<%i)x_7Ixz?>y!b#-jN*FC=3X>#jSzou9ESn{_a8;TvOcE!_agtRSEa^Nc zO=4dmWyBLf**xO$pqwf^;#DagQFPvxhsB4(2DE_@9*$K?cm}MKg)|{u7$OW6h6x$M zaN!2wG2sbGFFYm8=fhB~;1wQ)9M4L2VK%t1t{zg7FdGDqOAP-~69^s==7@vke&WL! zI>iFSTwz|B*-#c|kPO0Pg4Wcs2EkElFbK|C&LE_E?eo-bEQLB8l?=bU$&;~H(AC}$ z64=@iA&>W{IC!$!)Td-4@82W$5GO0~l1=D|e(dWexqFJwhIO*ub8k4zA}S8UR6cE3 zHw~sT5~eau(227JtZ06$nzN1C!wOFd10zc9;z{;W!s3ajTJ9{BrHopfEE}m{scy3a!Ed@Oakq zWe8ndHM4eFgTU0@+n{!{I6IuABuLMJ6<^7sp-_~n76|mLw`!&mA7NoSPwnu#y4tS2jNEbGfkI`O%xIp02}q_jL&H8WyRdZC1=k`bTtw0-NR=$7wrd-B_= zIpR$8al*DyvIz~n>iIFe?Ivh$Ff2p|YtacVFK&-QdC#FYS>X-o8UCi-RkLb8Xb@^V z=Ub7I8p`IgwN(vePqNajWskG9?==VurQZvSJgZuT3MnA0^3=9UL$4`D5```N({0iM z;RER&A%H>k$2RGfZZuz(&q}Vcr7X<7g7r#wcB9HsL=oB`QNXjL4V{c(2TQG*vpLGi zgCL|!ZH`$bVuV&zak`Z^c?k?-7$dv^={?5X{zN{tRbs2=tQ_UBbTPt+d_sw@nx*JN zPk24sz6DRkMAqoJ

e}GPl!AgJGob=t@`z>>OqxbfETa^I=W;y<|02vkq==kW(Px zNT}wqpm0^3DIbt@eDgl(D>Njv(%_*ERWkYFJ@P#ykF&oCk3)x6w_>HTY^WFSy^OaE$@=>Vw9!-&ujfdgem4Q`r+Db9}LBf>^ zb36<7h&L*_wo-B%=nOA(H&EU43e z5*OAfQ^JRpJG@dv7%S~Y?>Z{up)k!`RLxY!v9Z)XkE;=%QrJq1^mnoV_^g*2;j>+dPgR9YQ$;RtbD<9y+2*}aNtfcFidQmt*(|<<*^?EHAl56E z8UQkI}lbsa~x0oSbgTJqXuQBLcD%Bbev9#!3&*DF2` zMdv9_@p*X5o-`V65c9&BPs+P4~38`&zWq+fZrS1sLQ4cc5yFcdkX zG`AvGoHJNxKp#Tw4ZQwG$tCEdOO$Yvzei$j_1qe7uC$ywP|(ellSEI34qdQfvN3Fu zX^y?mh{=JKj2>>kbOwnA%r;7#bWu$X+%I)dLeOI{u#MH?s<1Dh|4i3d!j$IaO-6rv ze*Tf4xZiVOKc+2zo2Mg$KFXIz@^|cqhK&4}(|qdb$vWX9aYoqS8bosmUwTIF$yc3` zE%00{#`UYG`4`T3!+QBf7)b&D>S;L@j>XJBb6OtgdEpFt$jr|;BPV(`?k5-r1}N?Y zd?>uOT3{d{`ie7^UK&!4Bi>lBfU#%B8T3#AQN*A#&Y*Mn&s1^Wgp(ED$Z*RO`7_j& zT{1&nJ%+YHSm7~~2t2ACqze!UG;l1LUaK{et58x)& z2fjk>9KV`UKzsIoBOXz_JbPMXs%9QMSzrE#gQw~P_lQrX7bug_?-A(zD1`YK{bqns z@~TmSpFtT8v<7r(mdXfi!b#zja9TJc{3x6i&Q-nKHGxwzSmpMr=b$B$eH2{p0I1+i zbgw?nhq+QGMA1tFu+VDWr?zrQz)~FR@sy)O{sS;U~%{ulKz36*N6f zzGHK|0gjv(I>a|+m$(pmS|#W(y$lYOJHpL@!KlP0_u+5(O76vP{1Ptrhc96R9bckD z3%~NBv^-q$@y(}{RIwm^g)&&;k&*jVy)2HAZP4(T+LwZj_HrX+LB}xE*@M1P28b&f z3v9iO1!28n4s(hjY>|yniAJI$lD=X=;|iPAxB?`GFb6cRp*Os|Z7h6;YvtG-i-`3Z z$wl>_@S@Je@@O$rz8&>uYW2EQF3`3n;;Qhp^1)#_fcjCl5lnTSC%-~BE#~_l)NBW7 z;&hul5URUP@}UMB#>$)G!p2nry(jS?Z#+m=8pHsGgc!guzj9kR7_fAa7!UG^AX!ya z!OLGkxjM)lP7fF(fpQ(GKx|e1AV!R@z|cKnLD;NJ67R||=jGK%YvCJsc#uI2Fvp|@ zIBqcuBg-XZVF~GigHlXw2%cVFOEv38veGx}Mzd1VIu{#i4K0Awu$aaL@-IRwyjmp# zkNCJ;>tKHv6jJ)|hrU*UMdDa3!n@=yi`GU;M~EC}7Yid; z$bGxYoW8EiVK11lEemRSHuI!m9nbC<6k6wCYg1Xl2pBxJz+r*;*ghyY8>)>f zpOt<}T|O8)gbs;?ylRC9Sb+;Sm9tV4lyMkruv~`aPlV-~#R9AnJZayE1-Vjm-2ryp zVK($viCMj!Ssi3n%gpL#rfSYFkBJdX#fJ=AOEuwCXm(0ee zg{LvDquxpbpQHMi&G~4OWY(OF@DX|%ohrW@xE*E5igeji;zJ>r} z;6l{K^Bo}#ANq#cJD8Lu>G@f$U}O~A?DP6Um^c!K7jnFO`FH#y|KKM@_>D*SjwAf6 zqiUyQz+3d@$DQCmI?jJ{ypq8V;V}jaaspjA&cE5>hk~{}hP63=@dV$}LK$UCB`a94 zM`B@U&y)4NfQhD3C&6(F@sd-}9k(ch+af*WxR6ddCorDZzs2fFIVm!kCwVoC*+;xn zPQzB^PQN4cMAZ|K1eb1UZ3>ocm6i&uS0sDpi6>wOZQo*A_OWFptY_(AS?3ijwU1Ga z|AQL+I@CoqVulnFDh&-5Wk}QR2rIK8U4&8MW7V0y6B+wFufVi0Vgjtl_#LVzUQ9)< zBnZYz-El_Y+FFdBJHHDt(rom~*8(dtd~=&(5{>qGykMMLUBzI(VvBH!B@(BYBMFKj zVwKsZCK2{V<8a3lkZZ@2Gz~-Kxvcn%oXl@+BP--L{v8exY4WV`;?o&s#lWBY&MO{~ z6W}s=#mL{*EGy(a6+N%}J9=5~(KRFQ2I{kB%($<>{c>Qz-}}9{YLU2Hz9r%=H-#33 z7J0^g52vwwa|OmuV&kInff%>T;RVP;a+PM(uWQqW(-p6{JVRGq`a_S#Kzz$0DTS|Y z^Ssptc`gc1qlROUZABE6|toK}?>f*&hIAUu!UP-`; z(GyMQ6U~%#D(@*@xnsB1}pAUZIHA`cm)F3Tr_A4TME5WFEj;k zT`ur6KJ1t;dtwruD;VZd5ueOSHe*zXhOJl}Fv1bfTdgfVuULcy{wo<~InK|bQiJDr z&Hhd#%xLG<=8|GimPl?YCl+Cw&(Jt2`>aL6B55SaRzgw~g)?mWmLe|?4Zo7{HL2TMRiyNQdY6jDVV^S9bF^8l zK8vIQqgOI;dgJ-whuXbCAt8KL=^s9*nEmeB<3Ug650EYaenIa!*Nnc7im$|3gjYbU zw&?m&N7Pcj+8?efwbzsWgDPKzP%JLRWRZ@|0m+b1`vx`f%{tG+Kh&~0m>jKS zJWV8QM;uNr#Dq$neb&Njz1&iSjT0O|&VDRJ721$OMHxYby1WR5wyN5r4Cus<(7!zO zQ>BHbM|dV~F*Se8jl;N21Ej?Lvae^WD8U`rK~dN@%0cQGL* z1dZ3%`9HLwzeKn@{++)o=~$@tf&VWrPYeeF@$mmomm9(>%6mW_ZSWL%-f3-F)Ut>Q zTd3b(_xzzvZG|WGG={rfoFGpY1*JC~4kQ3^>F;PlMEDq%0B1Ns5Y$o0ztx6m4o^x0El0jVb9CU z^PFk}*XQ{CZM3+Ay{$Zq!Jzll{{!8x_v}3wb|Z2h3iF5phr%{QsRzR}i2583lL3!D z9M;P=%-zF6!YXMiPGGP`QdjSa-gEx}Y@RftuxE%E?-T1BYBbNC;Sqskk329Byi zdXjG-M@2_A(W;1S#MEh`v0o}EoxcoInzq~#CK?EDZE4GepWU2B$7~xYgt8qp4J1QRrJTB{S3&&jbVd} z!^%=j@M7_(4JMM72GSc^0;ghFeRM5CJs<_cYH@A&R@ox5Wyq8>MP28&y5^5LaQ@xGt6TyFL96 ziK{YCnknNGk7ncuM=Oj+g`+KRYk%U~;T|>)>uO;wt$^Vk#*j>F!%4Q=tFM_=1zFX- zkef_wElqny=~2&PhonCvPqt%}qMjEINpM)OAJ6(jI4+^1oM?E2ZE!dZ@^*SE4oR%4 zM(Ig`lmZiLS?k5d0rgcz)$V}8bc^Frx!aZ(?&G3OaVHdM#x9-_{L;&wLx)=YIC5o0 z93fbsHiPh-=a)ljhgIO5z>iUA646-@LR^K_3@l0=s(uJU1ih38St3*H(W4Cu&F>qM3!R@76Z#}>*~J|-Lqj1`5 zj~BJB2vuMwWuL_gt4b&9YSgq|Sk+R|QjuZ7mdOj=(H61NsIp)yuV@ayJ2{G7f>-=& z*zCf=?JV&LoR_-d#hP$A+>`r=SNvE3`aQXiI8Fs%KQscz9b#!g4%1?gTx_YD zDRZi)?@{~UPE5jo-brURkfJ^YbcQ)887-9c8o3l5(XrOA3h!XY^k*S-*h8(4P)-9eVViOl|faZ}^_ zHlw)N^VAXXefzw4;eD)no(eW@hBJFQ2q-ebW{{&fim|1}v+zi$rZlfctU0)?AwYmt zN5X+}bErnEi|BYuTgxWw=9kACu$zNw60l7SOL8w9!;ZnmjAt>HF=jnK9Vr8elg-Fk z=cGMhhATdPu#-gwgW0EWhg6!*RJLnp`Jq>Q5@#F}<(sespNP4Vl`WVwF;`;7^rX_A z(ttcb`yCcbswXFN!jpJnQG2i+YCTks4Hq)UD07@LwO`g_F8!(=b7}4Olx(gS^t4}z z;Fx%3ZIn8L!HTHXR0pKFPSDp{>jXostqwa0Y=BD=b{wG7!Nd&-O$a3kZ4tBUj8}*c zPs6#>OgRx7+eBE7m4Ee^XX>#HD*5hmd-z-cr@olHnU&2eWe|MK+m3twa&+7F3`HHj z=4vFZLfnT;V|;*XDlvP`qD^u}&|pjdkO|`0Df8qsPw!((GtVml)E8e^+6Uz#l*b4Z<}ocwKi-Ej(9Stm@@vhGU(ZKEY3YyzcTny z^NzuF-^#N77uoAFNxENTPxCR+`mO9D$S=((DVJ6ybRJ-9Fv5CxE*w)!Wd1A*JqY(p za~D>XF<$JUj$IFTTS)A9>IZ4$v@eZ1_r{EdI|%>EBz~A%3Xz7u`zlaIXLt z?inywvT#RRge{(@+XUEkAbcJtUt4js=49Ycm_{FS=M@tC(NT5KE?tS=qMo3`*fdtjCVg z6mg;*qa+b9jT4^39Y29-uT#>kY^!407Be)YA_g1WGLG;*lKV>4W%#a;skIXK=amF-eA^nvHqmQoCBT??i_$%JEKhK_#j zl&47X!ktz5IOhr5u}>ILZYre-EWf5S*Z#PA_%jeal8UJ?UohaQI3`KVx^wN1FJ&=l z#&FqyFZHZ$(~gDkSSClYc*XJ5%+~O!@}4l*@v&!%EvGy<{yCLls!^v7uGX{D<7}<{ z!_Ml>M(pG^bMRZ6d%$mPPK4juJg83KHYe2yCb*Q=fT78AXRCM;K0-Jdz@zro4>|j+ zHlYnJ#0CdcQ@b2bi0DuXhtR6j45n^B^C1I&-dkXsuszh%jh>}6d0uIyRaOx$AFe`m zOF{<%q*9>-TY1_dy@K75|6btN32TM7g*SzFg(?uO#$ysQPMU7QQn|cj4K0>w^YKQ8 z9xL=WPzEL5!}Lqju(4}?icLw?L7dWHr?Cakt;HJXca&#J8y&5ME6V$0z75~3>_oN( ztzz@+kNa8A#5OuCvq9xeP&IXjUohYl5Us1Z_AHbGhY8oU64P*aCgrWJ zWSZ==+1a|K@}+Vt7E8T?m7X498Do^J>3YE=>eZ=%gR`{HGVPYH2xif$^r0mYTtYAY z`;(rVPV&D~?~kkZ^(XnOC)KA*8lNh?pOK=k8*q@t(tWpler~l_WUI`6-RlMn!=~I1 z4H-GF8|GrTfxQbkR#VmG1Jc<(8WH<3>Dv6(44dSC>0_bet z(KD8K5z~|I-slv}DGRTXxDb^%UYKPVpN~dH#H=Wd>py zvnO03?ar;9Ij1TKOY<>r;87$q0 zo&u!SPwSiY_54kzl^ZJ;(xW~bTUjg`v4+HBG-W{8sPrwRXSOr2)!-lu9t@RY0r>{; ztF5Ba8`aWADcAGXX%+e&K{u<=cxeJX@)c(YuhAOo+F??c(-_y(xJv$6Tmjw*L7j3# z(5MXce0MsiSNNboNm8e40}#FVpHC}2==q7uRI(8@-FJps?XD^~zCz)u>=7Rh|Cxyq zs-x@dO2AuNs$j2BKU^%LbC8rDnA5-RujlxEHrh=DC7Gh6f!k$9!`R_ASoe849 zfp(%IG?kx!MlnjmJjG|cwVzY_{#Ng~>2wz&UP|j~Ww}@Fg}$VmEkw4pOF2C~pPwNd ztMnt>cEasYaU70tUJ+jRzR&1uS-oLzU$80wqprsNbh@0OHyb8vv0h5?=V=lk+$GP^C zjP0LZyu=}}@4NIn%)xbdiEYZ+reCEpOn?fy(#%;p{+_cn%Uv*DK!`}t@7}>P8CGON z=x{Zou6hAj8q&!}L_N$qVFPOi*}Pi;^_J$Mi&^N#_#vx0K?7<=+trFiVhjOrIL~P* z3{fOPoct5OsM;>^v*;LtnWe+&ra^90Wx*m2+RZ7C2QLjU*IStwy2Zv}F2ALc-!?{J zzZ#;)ixXWM5Fz(_3X=dJ`(MEtt5ZMeLCb8c-vx4`5XnY_8f zm&)fCGaS}FAN46=R`yxhHzR5@r!h7|M$yW?Ug#GysCJLf6>V{b0IPP4V4E9Xu8(7z zFb@ZGL}TK2%RgsUbhqJsmM5E+KNaa!L9sV(-pZ(qXEciqxQvUr#U@dQGbvr0$gG6R z&Rr6XyiWV#n*KV){1MY_q5 zjFBOkzAargZyO>TwhdLd0KYA5a&%={CR~wz+fZIBMG;C+l#XZO$}C+tzMP$Bq`fm_ZMMYpqk5!0W zWaimuI8}>`+DurEaxWS%By&ep|fX#x)= zIG__J+MWu2W`*00VB16*`GDwUd-+#6%wVglA8Q@n-(*d);c_{wuCcwWea7~;rr&C^ zrUrAPsq*+~sb5W)p86f)W_Hb{)I;q1HK`HZn$#or)TAo8ms8twqx_?~A^iX7hh+@s zpJRs(;TN)x{SRL;&S4;({#^0_uf10-g_L6 z7-vqIGVf20g~q$n?z=zFvEG#R$hhDCVS1LMj&{n|kMrk&a>a{?2J-pLo)leqWaJ=7ylt)v(hk zBE6Z*zT-s8?c5g%CWjP)&p{4iUd(SV=PNGdE+Embv9-ZaX>27cq>uyMWc*c9F#kkhbc#p|pc#Ex{$zpR^E&Ye% za#$^{u~ti8Ttmj1EY@BQboKPqrt!AaW;0%y)-ltki>VPUX+*NkEQ%t-l!)Sg>hXX+ z|LLdrFTZ$}Z_uUl$Ef9&#AVB0Tekea)%$D9o^gzrGR<+D?q$b%cEbio_1#&H8eO(y z8{$uN;~bysHaK?co^$+N_pak4JLY-EWw!DzXPoXi=ODwoX?agMhZwT6vKBapPtJ0V z)U9)lnV97qXUKj#Yr1n1i0(B!oA!d>{1X+Lh2qX9P3zacvHl(Zdgsf!cbx)A$|r7e zuGBs3e9KUI7x-0zk;pE{c5e1$IRo6x>PQuy1oCKI{Dr$sSoPPQoY_ysXknO?3G8( zy~a$xZ~AnG@lmhMnmv6r!|X{_%zwP^zUhCQHtj(S*Xh3f@|RgzS^N)^3i;#H-s3MDckSJ~cbCI3?L9~GSDPFI4V%)^(;Vqj zA9sv1Y#M~*#QmEbzx!g7W0K`>4VyM?Qg3f;a{S4#Ns=VT?1Yd13aEPf%JJ0HHyqF0 zz2337$Mzk7s<*E{|Jw8_!ff@g3#Hz2 zcUJ1{s{evJ{EdIGSqBd7XC2|_Wp%k+bma`t4NYyHHa)fNff~NVe(unrj$d6J=hQsE zA#{cp8#g&7>VD*_gtKYUO^5l7!jA}@d^K=VXcJ$v_-q;woA^zkANltH+>8QKP~iQp z0v~i02mtrtVyN>+5N}z0_|W0BL!0=mi#t0y(>i|SKN8L$T;;bd{t*P5&hQ^EK68es z`M-8C*bW9eVhlcsG5EBLfn%oqYG+#7)x(E7V{sZ1ly^v0U7GeyMVk6eNxb9aZy*WI z3@iI<8t1&|@SAScYH8Fm0@}R^d=NGv8_vmGbADnowSAWatRAWDl ztbecmgA@Dru%}t_f;+J2lWU6=Q zE-7*ASoaR*(mK5xFXzZ-D$R0R&10p*hY!y%*&i?Cs&`Dgq?y9`%C-KF@Up>} zcF&C+q4Oe6=<)*A@CX8zv;I%OQ`Yk%GVp5SrWp8n%8QFYhyQl4Pa2~@nJQw^XSR1Skz7s497Vg}%^9_6zH)rSXcINC% z+Gz=14W11i!G~8v>n_#pudBkhY2$Ww>^!`)A@qLZPmOOkPHEIN>}VKM-(LT>`d8JD z9PKX77~f~uwB#%kXR*7yX}RX|6>t8fV$IsOuo39*=GV7lnH3c}g{ycw%x{Vh=;?bD zf6;Qry-er!O66sY+gqaGpbY5wxtPszK zZ2?1GTzSpDPw0(8uIv+T^Cw)`;4eX6FQdM$MKLpk@kzJvqtQ6!1Gy#!LeHHIaGL{M zo_{dtH!Wk`(tt9(TW(&qo^}&IXC)tgote?()%E=bL0q=oZ++|j` zY}jz2<-)Q=chIUlEhlg2+`OL43w$-HGw^BEB{?xKkb-1%fqYx^C}Ifb-CH?x0L)OT#);VKjAG&gES8>AQ6dhp(69d1>r(` zS-g9A2A=e}A<_G=-u0ZaQS6Y-!Y}AggWD_qGO)?Y#tz}<9s4?}ag~*EJN9=77k9`VLi>&{JA_L+zUmMzOGRZy z_Xb7A7guiVy;gE%f8ok1IJ`c-;j)sw?=PHun=}!cVkH5_*mC*9i?S8{eOb6vww0)a zU%a+N{(<(g*HM7b${%0=n_nkBo40cE9BR-2X(^=ZYSm8uckQT$hF)I#hD%E7z6wrG zZn^Z~MM6|?_Ic6xc)XBKABvdWL^ieEdv+_Q@$?(QJZxcDiDqfi5HOM6kvR+tv$Pl@ zk{WvTPwFw`2D8K5*-<>g#$PSG-S*y9W(afXD$~=J+{yH@P3mO&ne#iRF$~=nu9@-n zjJ0dt89(EZwT~>W)Z$51kIbl?vF2@{Drb*3Eh3uAD$^o%F~;w{CA9OsKSbLQgs zg^B+TR>F3Xnv1!3q8!2vaV9&HlLq!1n3U`s!kJ6r7qbiTZ5&g#;v?;E?UuD$DD~_| z&*H3%QosBCNAt(8_-IS@N1v#f_j=EGFlh$6V#S~C``vwidhpP(gU5EY9y@&O@IUGg zBOI%5rFs@K3)$jf2JJ6z>aYd7y$c(j%H_UwG?WKz+ z&8#f#!7Q9GA#a$$;2DvZH_TN$YQ(U-k_qD{&7L&1bkgjZvtN6}`^co_c}*c^;V{Ga zEZ0=S_))_QS;dACtf6Gs?|Sw7-WauFZO=1 zs~)H?_SWxT@zMVm8iwo9XE0~Zo3WVrBD`zTv}MdBEw>lE@K?%k=yHNH%=r5mVdLk; z&?Xed8nk%W)Vw@4Z~S<6ycXvfCQM)_WM#2gTAV$eXtT4~Y>HV!-c&}IkhgG{cJqu_ zI7*-!Q#`>pAy4IP~+3{sZ;RHA#@CKHlOqRFb)SxvgpFM9Ly^$1q0 zg<8nFGlSa{Di{Jx~8Hhxy0n8 zL}tQxhOr@rra4ZpqlWnyUs9nVKhq8kMLIh>3qA`%3XL0Mw*=+^i{XRzh=Oc&!!BH0>hL38|1t1E-6ciM8 zWEO$JL+?b3GMOH|9FZeMjGN~f3@`;8f%oFdjN~rE?V=*<&xQhGaTnO0nVpl9U2u&RXH6;0Ng+G#3ij=vB~3NiVp+yM z_>Rn{agY!T^phVtQv!yh+7W}Zi;AA{^1OaPnm#clCB=rz3Jb8>5=kB_4~umx_I#e~ zRB2a~2kaFcA0;J6BFASkxoyV>W_NU4jV3QU-ehjLP0uaEuWI~;e@@YyJKYS1m~kLP z=g}`@%sD+146qgbzvcgIR(9lg%WQUOQ^UBzj(um^mCqWMHe}jt?v8)uUliTH&xKL1dw6%4P-n_KrC0Ij8$Aat}&iJh(8PYiGNN{jejuWb@ASyA45*TFblfu0}l}Yy4KdAi>~Ky zHv9+vG5y$$17W-l*e~fP#ii-zU->6BcR)W4EiFU3^s@*0+1{m}?P@o}eCSzJFBKLQ7G-}_%_*|t zjli8G-ZXXX=Tqa`8Qon&A9D^gF}izliXiIk1<`k4EqYUL^W5|Q%r7AC0TW8hv|IEx zn>~^7HRO7O!R?7}AKHIz|KVLp$;r@9N5|2&wltsF)`te?x#bYnRZm`lfv}Jk{fM8u zLC}%3*^e+x@w;ywVUn`4R5@|W%3P4&K9{GF*WS^wYzD#2`HHffeb8jd>=)3`PM-}CR;#Xs>n`s9MF1^M``A56=v)t+b|M+d*1 z0{dCAsF*S7&Bm7t3Ufw|K?mn#B`3zaFu?d^j4rp^7mT2yAj~Hiu-n&mp6ToiM*jJz zzIUAM7qZXx_5yPs)jqoieym|SFa%5Z+fk!Njf(m7vefW3KcCF)O+%a;sqvHW%D+d%i2;f`*S{IswjI z5p?rv&D%3GGYgWsCPbZ{11@;}$WKMql;oryDgASvc{n|RWz4pmn~PAzi|zRBBJwEh zjL&N;=i6L}6$Snz&}J{_Jd~ox^s&@-M(HR%^3QgqGg?%bjN|$`%out@8k>Omw7#|V zV$lmjsjbP$$<_oLYcLv(ENqYF7ZZcw2*FG~G{PO>BR*B3G|xsb#V2O(vCfE6J3FsJ zoLy+AuE%+(DQGg7H2oEpR=0YqG`NR*+qk zlWZ}#+n#fJElCFVsTal~&MM5t2z$tiZ@DeZKqKRN^rx1#-~*U{yl&!QVB8twqD9$A z>deC*$}T$c6DBqIiMN-%O>wlowI0(H6V0+`QQWy?|B_CMUmW=>!r}ZzU6MX_= zy|D)e_d{!+*kZ^OmuXAVo6II7fI(XS`d}>NFM}|A*%pA=2YpP?%^;2-C=6eKh*9`| z<&O%CMl6NEN;Pm)3nQW0^^6Hnl|LEduld6sRQ{O4Iuu_*Vw<8Y%P%J$`d*_`dSC^Z zdQ6YQT+Ms6*6q9N~W}7z{*)SAq53od#FJ1Kk7nGGVKeyHq8Pm)M)fhK; zO7*w7FrOQou|30Rn@wF%zzO9Py)vLDRKwqS=fijQ#AHPUi*b?G)nRhE^RgPZwKbnV z5^)jhfJVkRXQd-N4Qeeo@knX58Xq~n?!XEM`` z1B~gJ*YH7}LhxEX%i*}gXza!(IUKj8r^CTtA28wQ4Q4Z<6h{50NDC?%{8*5;*~p(U z>OVzV(AXqt>oJBM=v90wDA`ITj9^N^E+i!dQD=K$c1lrB&dtD>a}FQIF3+T2KvoPg zB|>-TREc)(K{6OoC`O9H|G^(veOF!RDeG_fQ|X}6!BdR6F7p3}KkBEUjF1HBZ?At_S6E@tz1kZMQeUWxW&lyZ9_@OsiEcVAn(-hw;kp>$L6k5y^ z+{&;f#Eg|y?H61g{oIGK5cECzdCjTepH(0;e0WU?M?gh6|CPmzxI8}y%75WcJi!&r zfdp4;%FUyBo7rRAzw)13Ix65%hQA;G4u=?3U@~>LBW5BXwYgk@pg(me z%-@`8AJp^RdT_^J=-W3XL7y@Vyli&NWM>#V_H*-FLVH?{V(-*!4jqLDQkuKh&7l0h zLZ&Aa3eD`cQ+uWzq3~Lff>2`Cf(Us`EfiYpSzM@lI#0@)zo%2%Zm9$v!4B?ve3mze zDXE*jGlYY2mn+7OSWI3U!9M$03-}|22HpY$$Ga*0p^5 z9<*mq`?Y*0HsZlxxBOZ@cnzQJ4ekrg&c2pMX;jx;Um>aEI(;PLCj+l+30{ z#VU<@qbj1&{rjWm&m*tJ1d9bKOKGiy2G!EUi+;&c%SEG#qUAMutxgTAm5=QM6jgyl zALFLs)nCQbK)92vzsAStV{r5bI8dEf#G-C$Uo6(3nmlx;5R*5?N8?Uqab{>zNoWmA z0mD$u@7oiktkxE~Q{7s9R4x{-o!yzDuYLRFx8KHQ9PA>ZeW#DPS1Z|lC!U(DREs8$ z))wMOSS`dfLXuNyqK?He3WCMLuVLM}SW1g=$D)VI6x}vJGcveYl?P&?iPb?d<<&(D zBKvJcTKggdL_jHOU#$LUu^OV$H&DT%UFVqj>N?s+q%r+de5@6_Wz^Nt{!{B~Ik8r1 z^{RCi%${A~^)k^#t5+|2=bb2%g^^pBg>~@i)vJrK6fX1@cnb@eXz@FX-YG7QVuMhK zfz3n-+uEv*E2=ZrKNQD$E!KY|Gr=`FEqx89?H8EnYY4=@02{5$0?0$JO)QEst*x!_ zBuo^}WOcn(pH>HP*V?05$~6sAH4OGmIn;}41~-iN4w5XE*W&B*#7)anr{!ao zq4iU&w(fRm?IRvgH+oA8gr^Xzmv9tfc!Cp0;&;7$c9)`d5JfB|xw`d9eM~%Ju|`V} zEp+qg9>Xyl#e|Q^LY!jh7!Bo#C&ffdX^JUmb!z2_6Xl7H0?|>>a$5fS`ZO#-s9#7w zS{y4Iqa_Yq>Gl{e%2SBtwetTFMkfM1M$|1Y!A~pgXOBVs8ZqwCXzLdO@ZizDQIbwN=ug}Nijo}IR??S8`;bOF!#KbQK ziRqs5q(iDZh9{h6r5a4LrufS}omr&}t!F zXzd{S7%M6lOUK$vc#@f9(=L*wTOPu6m!TAu=;p~p$sghnq$@o_MNNW&I0KIf+fmZnxv~2{((J>^27;Ut^ zxL8e_QnEAi^Sz8IMLnojVR~x{#dIVv$drh)6xPHV==e{^80ct@kcbnyEZ97F$wC78 zBKi4@7Y{!dWOYRR5oN&xNlBRe+S}m<4^W(G$t1c+K+_bGR!er_{K0r2Xfo;&dKp-j z@D#KJd(HkeD9+WgpFaB2)xu;PI7IS03X`)I;5gk4{Vcc|y>#cDbxfqaASp4CL)?KU mg`Ie0pP8LvVxS6~G@BSMF)^v2J;DHmf{_?oH7>?_@c#i*+U}hI literal 0 HcmV?d00001 diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed_prg.bin b/Popeye (JU) (PRG 0)/copilot/reconstructed_prg.bin similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/copilot/reconstructed_prg.bin rename to Popeye (JU) (PRG 0)/copilot/reconstructed_prg.bin diff --git a/Popeye (JU) (PRG 0)/copilot/rom.nes b/Popeye (JU) (PRG 0)/copilot/rom.nes new file mode 120000 index 0000000..be983bf --- /dev/null +++ b/Popeye (JU) (PRG 0)/copilot/rom.nes @@ -0,0 +1 @@ +../Popeye (JU) (PRG 0).nes \ No newline at end of file diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/symbols.inc b/Popeye (JU) (PRG 0)/copilot/symbols.inc similarity index 100% rename from _wip/Popeye (JU) (PRG 0)/copilot/symbols.inc rename to Popeye (JU) (PRG 0)/copilot/symbols.inc diff --git a/TODO.md b/TODO.md index 69a42ed..bdc7d27 100644 --- a/TODO.md +++ b/TODO.md @@ -1,11 +1,11 @@ # TODO / Handoff Written so a fresh session can pick this up cold. Everything below was verified -against the repo at commit `7330815`; if a number here disagrees with the repo, +against the repo at commit `9e2b50a`; if a number here disagrees with the repo, the repo is right and this file is stale. -> **Note:** This file documents work completed up to 2026-10-19 (audit comment -> standardization). The actual repo state is always the source of truth. +> **Note:** This file documents work completed up to 2026-10-20 (promotion of Ice Climber, +> Lode Runner and Pinball; `_wip` evaluation). The actual repo state is always the source of truth. ## The contract @@ -20,8 +20,8 @@ A build that assembles but does not print that message is a failure. Requires Two tiers exist, and the difference is real: -- **Top level (19 projects)** — `make` compares the whole ROM against `copilot/rom.nes`. -- **`_wip/` (17 projects)** — `make` only runs `cmp reconstructed_prg.bin prg.bin`. +- **Top level (25 projects)** — `make` compares the whole ROM against `copilot/rom.nes`. +- **`_wip/` (11 projects)** — `make` only runs `cmp reconstructed_prg.bin prg.bin`. Header and CHR are **not** proven for those. Promotion means adding `copilot/rom.nes`, switching to a whole-ROM compare, and changing `../../../_tools/` to `../../_tools/` in the Makefile. A promoted project also @@ -33,35 +33,37 @@ Two tiers exist, and the difference is real: ## Current state -- 21 top-level projects, all byte-identical (Lunar Pool promoted 2026-10-18, - Donkey Kong (JU) promoted 2026-10-19 after Pass 3, **Donkey Kong Jr. Math (U) promoted 2026-10-19 after Pass 3**, **Duck Hunt (JUE) promoted 2026-10-19 after Pass 3**). -- 15 `_wip/` projects, all PRG-identical and all at Pass 1 or beyond. `Pyramid (U)` - is *not* the only one with Pass 1 done — every one has it. Pass 2 is complete for - Ice Climber (JE), Ice Climber (U) and Pinball; - Golf (JU) and Mario Bros (JU) have substantial Pass 2 work. The inventory rows in +- 27 top-level projects, all byte-identical (Lunar Pool promoted 2026-10-18, + Donkey Kong (JU) promoted 2026-10-19 after Pass 3, **Donkey Kong Jr. Math (U) promoted 2026-10-19 after Pass 3**, **Duck Hunt (JUE) promoted 2026-10-19 after Pass 3**, **Ice Climber (JE) and (U) promoted 2026-10-20 after Pass 3**, **Lode Runner (U) promoted 2026-10-20 after Pass 2/3**, **Pinball (JU) promoted 2026-10-20 after Pass 2/3**). +- 9 `_wip/` projects, all PRG-identical and all at Pass 1 or beyond. `Pyramid (U)` + is *not* the only one with Pass 1 done — every one has it. Pass 2 is substantial for + Golf (JU) and Mario Bros (JU); the two Raid dumps (Pass 3 partial) use `SubC` + entry names with semantic zero-page aliases; the rest + carry address-derived `Label_` names only. Pinball (JU) and + Lode Runner (U) were promoted to the top level after Pass 2/3. The inventory rows in `OVERVIEW.md` are authoritative. - Local `master` is ahead of `origin/master`; nothing pushed. -- `_tools/verify_pass1.py` covers the **20 top-level projects** (it selects folders +- `_tools/verify_pass1.py` covers the **27 top-level projects** (it selects folders with `copilot/rom.nes`), not all 36 — the `_wip/` tier is checked by plain `make`. - Current run (2026-10-19): every one builds, all canonical, **no truncated or + Current run (2026-10-20): every one builds, all canonical, **no truncated or unfaithful Pass 1**. The earlier-reported re-trace crash on `MUSCLE (U)` / `Donkey Kong Jr. (JU)` was a false alarm — `nesdis.operand_value()` already handles the `a:` prefix via `token.removeprefix("a:").lstrip("$")`. The `make` half was always working. ```bash -python3 _tools/verify_pass1.py # all 19 top-level projects +python3 _tools/verify_pass1.py # all 27 top-level projects python3 _tools/verify_pass1.py "MUSCLE (U)" # one project (top-level only) ``` -- **Audit comment standardization complete (2026-10-19):** All 19 top-level projects now +- **Audit comment standardization complete (2026-10-19):** All 27 top-level projects now use the canonical `; CPU:$XXXX PRG:XXXX AA BB` format. - CIRCUS: fixed 4,427 comments (`CPU:XXXX` → `CPU:$XXXX`) - Excitebike (JU): fixed 48 double-semicolon comments (`; state $XX ; CPU:...`) - 9 projects received canonical comments via `_tools/audit_comment_tool.py`: Balloon Fight, Baseball, Bomberman, Burger Time, Clu Clu Land, Defender 2, Donkey Kong 3, Donkey Kong Jr., Tennis -- **Pass 3 symbol application complete (2026-10-19):** All 19 top-level projects now +- **Pass 3 symbol application complete (2026-10-19):** All 27 top-level projects now have `_tools/apply_symbols.py` run on them, substituting `symbols.inc`/`locals.inc` names into `prg.s` operands: - Balloon Fight (JU): 125 hardware + 797/813 ZP (16 `$13` residue) @@ -82,6 +84,15 @@ python3 _tools/verify_pass1.py "MUSCLE (U)" # one project (top-level only) - Tennis (JU): 18 single - Pac-Man (USA) (Namco): 524 single (727 multi-alias residue) - Urban Champion (JU): 70 operands (4 single + 66 hardware) + - Millipede (U): hardware registers substituted; 8 semantic ZP aliases (Pass 3 complete) + - Donkey Kong Jr. Math (U): 69 hardware + 13 multi-alias ZP substituted directly + - Duck Hunt (JUE): 68 hardware + 18 multi-alias ZP substituted directly + - Ice Climber (JE): 91 operands (23 single + 68 hardware) + 3 multi-alias via sites.tsv + - Ice Climber (U): 91 operands (23 single + 68 hardware) + 3 multi-alias via sites.tsv + - Lode Runner (U): 85 operands (83 hardware + 2 single); 2 semantic ZP aliases (Pass 3 partial) + - Pinball (JU): hardware registers substituted; no semantic ZP aliases (Pass 3 partial) + - Popeye (JU) (PRG 0): 79 operands (15 single + 64 hardware); 4 semantic ZP aliases (Pass 3 complete) + - Popeye (JU) (PRG 1): 80 operands (15 single + 65 hardware); 4 semantic ZP aliases (Pass 3 complete) - Excitebike (JU): skipped — inline defs in `prg.s` conflict with `locals.inc` --- @@ -273,7 +284,7 @@ top-level projects that lacked comments. | Donkey Kong Jr. (JU) | 0 | 0 | Pass 2 complete (2026-10-19) | | Balloon Fight (JU) | 0 | 0 | Pass 2 complete (2026-10-19); Pass 3 symbols applied — 16 `$13` operands left numeric | | Donkey Kong (JU) | 0 | 0 | Pass 2 complete (2026-10-19); Pass 3 complete; promoted 2026-10-19 | -| **All 19 promoted** | **0** | **0** | **All Pass 3 complete, symbols applied 2026-10-19** | +| **All 25 promoted** | **0** | **0** | **All Pass 3 complete, symbols applied 2026-10-19** | Note these counts were address-derived labels only — some were legitimately internal branch targets and may never deserve a semantic name. @@ -288,11 +299,12 @@ plain high-byte scratch beside `Temp12`; its aliases (`ReverseRecordIndex`, numeric rather than guessed. A neutral `Temp13 = $13` in `locals.inc` would close them. Rebuild stays byte-identical. -**All 19 top-level projects now have symbols applied (2026-10-19).** See the Current state section above for the per-project breakdown. Excitebike (JU) was skipped due to inline `prg.s` definitions conflicting with `locals.inc` values. +**All 27 top-level projects now have symbols applied (2026-10-19).** See the Current state section above for the per-project breakdown. Excitebike (JU) was skipped due to inline `prg.s` definitions conflicting with `locals.inc` values. -The `_wip` tier is still open. All 17 `_wip/` projects carry address-based -`Label_` definitions (**192–971 each, 11,126 in total**) and none has semantic -zero-page aliases. Five project headers and five inventory rows used to read "Pass 2 +The `_wip` tier is still open. The 11 `_wip/` projects carry address-based +`Label_` definitions (4,149 `Label_` across the 11, plus 1,102 `SubC` +entry names in Golf, Mario Bros and the two Raid dumps) and none has +semantic zero-page aliases. Five project headers and five inventory rows used to read "Pass 2 complete"; they had counted their *draft map's rows* rather than names actually present in `prg.s`, and were corrected 2026-10-19 (the `_wip` OVERVIEWs have the per-project audits): @@ -301,9 +313,7 @@ per-project audits): |---|---|---|---| | Pinball (JU) | 180 / 681 | 501 | 210 / 179 / 17 / **0** | | Mario Bros (JU) | 270 / 937 | 667 | none (262 call targets: 39 semantic + 223 `SubC`) | -| Ice Climber (JE) | 76 / 973 | 897 | 255 / 76 / 96 / **0** | -| **Duck Hunt (JUE)** | **472 / 472** | **0** | 272 / 31 / 210 / **0** (map stale; fresh Pass 2 done 2026-10-19; **Pass 3 complete 2026-10-19; promoted to top level**) | -| Ice Climber (U) | 2 / 973 | 971 | none — Pass 2 not started | +| **Lode Runner (U)** | **627 / 627** | **0** | 0 / 0 / 0 / **0** (fresh Pass 2 done 2026-10-20; **Pass 2/3 complete 2026-10-20**) | **The drafted maps are not applicable.** Auditing every row by address against the committed split: a large fraction point at addresses that are **not instruction @@ -379,14 +389,15 @@ plateaus at **~41% of `$B0FB–$BEBF`** and will not go higher by cycling stages The sweep corrected the false aggregate claims — the `_wip` "Pass-0 skeleton" prose, "`Pyramid (U)` is the only one with Pass 1", the Excitebike/Pac-Man audit-comment gap, and the "`verify_pass1.py` checks all 36" scope — and normalized every project's -mirroring label to the header-byte convention. **All 19 top-level projects now also +mirroring label to the header-byte convention. **All 27 top-level projects now also have Pass 3 symbols applied (2026-10-19).** What the sweep did **not** do: -- **The 11 stale `_wip/` project `OVERVIEW.md` files** (Hogan's Alley, Ice Climber (U), - Lode Runner, Mario Bros, Millipede, both Pac-Man, both Popeye, both Raid) were +- **The 8 stale `_wip/` project `OVERVIEW.md` files** (Hogan's Alley, + Mario Bros, both Pac-Man, both Popeye, both Raid) were retitled and restatused to match their real sources, but still lack the power-on flow analysis the top-level `OVERVIEW.md`s carry — that is Pass-1 analysis work per - project, not a doc edit. + project, not a doc edit. (Lode Runner and Ice Climber (JE)/(U) were promoted to + top level and their `OVERVIEW.md`s now carry the flow analysis.) - **`Donkey Kong 3 (JUE)` has no top-level `OVERVIEW.md` at all** (root line 3 now says so); writing it needs the same flow analysis. - **`Golf (JU)` and `Pyramid (U)` still use pre-canonical audit-comment spellings** @@ -414,6 +425,12 @@ have Pass 3 symbols applied (2026-10-19).** What the sweep did **not** do: **Duck Hunt (JUE) has since had Pass 2 and Pass 3 completed for real (2026-10-19)** with a fresh map derived from the committed split (30 semantic + 428 `SubC` + 293 `_Block` labels; 18 ZP aliases; 20 data tables named), and was **promoted to top level**. + **Ice Climber (JE) and (U) have since had Pass 2 and Pass 3 completed for real (2026-10-20)** + with fresh maps derived from the committed split (196 semantic + 431 `_Block` labels; + 2 ZP aliases; data tables named), and were **promoted to top level**. + **Lode Runner (U) has since had Pass 2 and Pass 3 completed for real (2026-10-20)** + with a fresh map derived from the committed split (196 semantic + 431 `_Block` labels; + 2 ZP aliases; data tables named). - **Mario Bros' entry-point counts were verified wrong** and corrected in the root index, §2 and its `OVERVIEW.md`: the docs said "252 entry points (90 semantic + 165 `SubCxxxx`) / 477 sites / 156 neutral `ZpXX`"; `prg.s` actually holds **262** distinct @@ -498,7 +515,7 @@ These cost real time this session. All are recorded so they don't cost it twice. - Every instruction carries a trailing `; CPU:$XXXX PRG:XXXX AA BB` comment with PRG offset and exact emitted bytes. **This is the byte-identity audit trail.** - Preserve it even while renaming labels or restructuring files. **All 19 top-level + Preserve it even while renaming labels or restructuring files. **All 25 top-level projects now use this canonical format** (standardized 2026-10-19). - Unreached or unresolved bytes stay as `.byte`/`.word`/`.incbin` with ROM provenance. Never delete or reformat them away. diff --git a/_wip/Hogan's Alley (JU)/OVERVIEW.md b/_wip/Hogan's Alley (JU)/OVERVIEW.md index 420f649..a44a174 100644 --- a/_wip/Hogan's Alley (JU)/OVERVIEW.md +++ b/_wip/Hogan's Alley (JU)/OVERVIEW.md @@ -1,57 +1,302 @@ -# Hogan's Alley (JU) — Pass 1 Disassembly +# Hogan's Alley (JU) — Game Flow from Power-On -ROM: `_wip/Hogan's Alley (JU)/Hogan's Alley (JU).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 41.8% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 9,810 lines with 568 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). Its Pass 1 seed list is suspect — see the `$E9F1` build fix recorded in the root index and `TODO.md`. +This document describes the execution flow of the disassembled Hogan's Alley (JU) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C000 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `4d03c016087976a4e334f0e23f58812517128bb8f517d7adb6b91b360b7885c7` | -| PRG SHA-256 | `b6802f4e6b79d76c9ac913436afc68448353c76ecb2e590424652445f780d39f` | +**`Reset`** ($C000–$C085) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +On power-on or reset, the 6502 jumps to `$C000`. The reset routine performs cold-start hardware initialization: -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C088` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$C000` | redirects to RESET — unused placeholder | +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `cld` / `sei` | Clear decimal mode, disable interrupts | +| 3–6 | Poll `$2002` twice (`bpl *-3`) | Wait for two full VBlank periods (PPU warm-up) | +| 7–8 | `ldx #$00` / `txs` | Initialize stack pointer to $01FF | +| 9–21 | Clear RAM $0000–$07FF | Uses Zp00/Zp01 as 16-bit pointer; clears 8 pages of 256 bytes | +| 22–23 | Warm-start signature check | Loads `$05EC` into X; if non-zero, skips full clear and sets X=$5F | +| 24 | `jsr $C221` | Initialize PPU/APU registers | +| 25 | `jsr $C231` | Additional hardware init | +| 26–27 | PPU scroll init | Write $00 to `$2005` twice (X/Y scroll) | +| 28 | `lda #$0F` / `sta $4015` | Enable all APU channels | +| 29 | `jsr $FFF7` | Call audio engine init (trampoline to $F984) | +| 30 | `lda #$90` / `sta $2000` / `sta Zp08` | PPUCTRL: NMI on, sprites at $0000, BG at $1000, + $90 shadow in Zp08 | +| 31 | `lda #$02` / `sta Zp09` | Zp09 = $02 | +| 32–36 | Copy sprite data | Copy 12 bytes from $E36A to $05F0 (OAM staging area) | +| 37 | `bmi Label_C07E` | Branch to main loop (always taken after copy) | -## `copilot/` Contents +**Warm-start signature:** Byte at `$05EC` survives RAM clear. On soft reset, if non-zero, the game skips the full 2 KB clear and initializes X=$5F instead of X=$00. -| File | Purpose | -|------|---------| -| `Hogan's Alley (JU).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 9,810 lines, 568 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +--- -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +## 2. Interrupt Vectors — CPU $FFFA–$FFFF -## Build +Located at the end of the bank (PRG offset $3FFA): -```bash -cd "_wip/Hogan's Alley (JU)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C088 | `NmiHandler` | +| RESET | $C000 | `Reset` | +| IRQ | $C000 | `Reset` (reused — unused placeholder) | + +--- + +## 3. NMI / Frame Heartbeat — `NmiHandler` ($C088) + +The NMI fires once per frame and drives the frame pacing. It implements a two-phase frame structure: + +``` +NmiHandler ($C088): + php / pha / txa / pha / tya / pha ; preserve registers + lda #$00 / sta $2003 ; OAMADDR = 0 + lda #$02 / sta $4014 ; OAM DMA from $0200 + lda Zp22 ; NMI phase flag + bne Label_C0AB ; if phase 1: skip game logic + jsr $C2BD ; update game objects + jsr $C24E ; update targets + jsr $C3A8 ; update shots + jsr $C282 ; update sprites + jsr $C3D0 ; update HUD/score +Label_C0AB: ; phase 1 entry / phase 0 exit + ldy #$01 / sty Zp22 / sty Zp20 ; set phase=1, clear main flag + pla / tay / pla / tax / pla / plp / rti ; restore, return ``` -## Pass Status +**Phase 0 (Zp22=0):** Full game logic update — objects, targets, shots, sprites, HUD. +**Phase 1 (Zp22=1):** Minimal — only OAM DMA, then returns. The main loop toggles Zp22. -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 9,810 lines of `prg.s`, 568 address-based `Label_` definitions, canonical audit comments; 41.8% code per the root inventory row | -| Pass 2 | Outstanding (root row: *needs CDL reclass*) | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +## 4. Main Game Loop — $C07E + +After initialization, control reaches the per-frame loop at **$C07E**: + +``` +Label_C07E: + lda Zp20 ; main loop flag (set by NMI phase 0) + bne Label_C065 ; if set, run frame logic + jsr $C6BD ; attract/demo mode logic + jmp $C07E ; loop +``` + +When NMI phase 0 completes, it sets **Zp20 = $01** (at $C076 in `Label_C070`). The main loop sees this, branches to **`Label_C065`** ($C065), which dispatches based on game state: + +``` +Label_C065: + lda Zp24 ; game mode/state + beq Label_C06D ; if 0: audio-only frame (jsr $FFF4) + lda Zp26 ; sub-state + beq Label_C070 ; if 0: gameplay frame +Label_C06D: + jsr $FFF4 ; audio engine update (trampoline to $FFD4) + rts +Label_C070: + jsr $C337 ; controller input + jsr $C0B8 ; state dispatcher + inc Zp2F ; frame counter + lda #$00 / sta Zp20 / sta Zp22 ; clear flags for next frame +``` + +**`Label_C0B8` ($C0B8)** — State dispatcher: +``` + lda Zp24 + beq Label_C0BF ; if game mode 0: title/gameplay + jmp $C156 ; else: other modes (game over, etc.) +``` + +**`Label_C0BF` ($C0BF)** — Title/Gameplay dispatcher: +``` + lda Zp16 / and #$10 / beq Label_C11A ; check bit 4 of Zp16 + ldy $05FC / bne Label_C11F ; check $05FC + iny / sty $05FC + ldy Zp25 / cpy #$07 / beq Label_C106 ; state 7 + cpy #$03 / beq Label_C0E4 ; state 3 + cpy #$04 / beq Label_C0E4 ; state 4 + cpy #$0A / beq Label_C0E4 ; state A + cpy #$0F / bne Label_C11F ; state F +``` + +States 3, 4, A → **`Label_C0E4`** (gameplay init); State 7 → **`Label_C106`**; others → **`Label_C11F`** (continue gameplay). + +--- + +## 5. Key Subsystems + +### 5.1 Gameplay Initialization — `Label_C0E4` ($C0E4) +``` + ldx #$05 +Label_C0E6: + lda Zp2A,x / sta $0430,x ; copy Zp2A–Zp2F to $0430–$0435 + dex / bpl Label_C0E6 + jsr $C14A ; copy stack page $01FF to $0217 + jsr $CDB4 ; initialize round data + lda #$25 / sta Zp45 ; set timer + jsr $CE4B ; spawn targets + lda Zp25 / sta Zp1C ; save state + lda #$07 / sta Zp25 ; set state = 7 + jmp $C10E +``` + +### 5.2 State 7 Handler — `Label_C106` ($C106) +``` + lda #$11 / sta Zp25 ; set state = $11 + lda #$30 / sta Zp1D ; set timer +``` + +### 5.3 Main Gameplay Loop — `Label_C10E` ($C10E) +``` + jsr $C746 ; update targets + jsr $D291 ; update shots + jsr $FFF4 ; audio engine + jmp $D2B4 ; update sprites/OAM +``` + +### 5.4 Controller Input — `$C337` +Reads controller via `$4016` (strobe + shift), stores button state in Zp16/Zp17. + +### 5.5 Audio Engine — `$FFF4` / `$FFF7` +Trampolines at $FFF4 (update) and $FFF7 (init) jump to banked code at $F9D4/$F984. + +### 5.6 Target System — `$C746`, `$CDB4`, `$CE4B` +Manages the 5–6 shootable targets (cans, birds, etc.) — position, state, scoring. + +### 5.7 Shot System — `$D291`, `$D2B4` +Player shots: tracking, collision with targets, scoring. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name (from `locals.inc`) | Use | +|---------|--------------------------|-----| +| $00–$01 | `Zp00` / `Zp01` | 16-bit pointer for RAM clear (Reset) | +| $08 | `Zp08` | PPUCTRL shadow ($90) | +| $09 | `Zp09` | Init value $02 | +| $16 | `Zp16` | Controller buttons (bit 4 = start pressed) | +| $1C | `Zp1C` | Saved game state | +| $1D | `Zp1D` | Timer/counter | +| $20 | `Zp20` | Main loop flag (set by NMI phase 0) | +| $22 | `Zp22` | NMI phase flag (0=game logic, 1=OAM only) | +| $24 | `Zp24` | Game mode (0=title/play, non-zero=other) | +| $25 | `Zp25` | Sub-state (3,4,7,A,F,11, etc.) | +| $26 | `Zp26` | Sub-state flag | +| $29 | `Zp29` | Reset signature ($B6) | +| $2A–$2F | `Zp2A`–`Zp2F` | Gameplay params, copied to $0430 | +| $2F | `Zp2F` | Frame counter | +| $30 | `Zp30` | Frame ready flag (set by NMI) | +| $45 | `Zp45` | Gameplay timer ($25 init) | +| $0430–$0435 | — | Gameplay parameter shadow | +| $05EC | — | Warm-start signature byte | +| $05F0–$05FB | — | OAM staging (12 bytes from $E36A) | +| $05FC | — | Title screen state | +| $06F0 | — | Reset signature mirror | +| $4014 | OAMDMA | OAM DMA trigger | +| $4015 | APUSTATUS | APU channel enable | +| $4016 | JOY1 | Controller 1 strobe/read | + +--- + +## 7. Object Pools / Data Structures + +| Region | Purpose | +|--------|---------| +| $0430–$0435 | Gameplay parameters (target positions, timers) | +| $05F0–$05FB | Sprite/OAM data for 4–6 objects | +| $0400–$04FF | Sprite data (positions, states) | +| $0200–$02FF | OAM buffer (DMA source) | +| $E36A–$E375 | Initial sprite data (copied to $05F0 at reset) | + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C000) ────► cld/sei, wait 2 VBlanks, init stack + │ + ├─ Clear $0000–$07FF (8 pages via Zp00/Zp01) + │ + ├─ Check $05EC warm-start signature + │ ├─ Zero: full clear, X=$00 + │ └─ Non-zero: X=$5F (skip clear) + │ + ├─ jsr $C221, $C231 (PPU/APU init) + ├─ PPU scroll = 0,0 + ├─ APU enable ($4015=$0F) + ├─ jsr $FFF7 (audio init → $F984) + ├─ PPUCTRL = $90 (NMI on) + ├─ Copy $E36A→$05F0 (12 bytes sprite data) + │ + ▼ +Main Loop ($C07E) ─────────────────────────────────────────┐ + │ │ + ├─ lda Zp20 (NMI phase 0 flag) │ + │ ├─ Zero: jsr $C6BD (attract/demo), loop │ + │ └─ Non-zero: branch to Label_C065 │ + │ │ + ▼ │ +Label_C065 ($C065) ───► lda Zp24 (game mode) │ + │ ├─ 0: jsr $FFF4 (audio only), rts │ + │ └─ Non-zero: lda Zp26 │ + │ ├─ 0: Label_C070 (gameplay frame) │ + │ └─ Non-zero: jsr $FFF4 (audio), rts │ + │ │ + ▼ │ +Label_C070 ($C070) ──► jsr $C337 (controller) │ + │ jsr $C0B8 (state dispatch) │ + │ inc Zp2F (frame counter) │ + │ clear Zp20, Zp22 │ + │ │ + ▼ │ +Label_C0B8 ($C0B8) ──► lda Zp24 │ + │ ├─ 0: Label_C0BF (title/play dispatcher) │ + │ └─ Non-zero: jmp $C156 (other modes) │ + │ │ + ▼ │ +Label_C0BF ($C0BF) ──► state machine on Zp25 │ + │ ├─ 3,4,A: Label_C0E4 (gameplay init) │ + │ ├─ 7: Label_C106 (state 7 handler) │ + │ └─ else: Label_C11F (continue) │ + │ │ + ▼ │ +Gameplay states (3,4,A→7→11→...) ──► Label_C10E │ + │ jsr $C746 (targets) │ + │ jsr $D291 (shots) │ + │ jsr $FFF4 (audio) │ + │ jmp $D2B4 (sprites) │ + │ │ + ▼ (loop back to $C07E) │ + +NMI ($C088) [once per frame] + ├─ Preserve registers + ├─ OAM DMA ($4014 from $0200) + ├─ lda Zp22 (phase flag) + │ ├─ 0: jsr $C2BD (objects), $C24E (targets), $C3A8 (shots), + │ │ $C282 (sprites), $C3D0 (HUD) + │ └─ 1: skip game logic + ├─ ldy #$01 / sty Zp22 / sty Zp20 (toggle phase, signal main) + ├─ Restore registers, rti +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 9,810 lines, 568 `Label_` definitions, canonical audit comments, 41.8% code. + +**Pass 2 outstanding** — Root inventory: *needs CDL reclass*. The 55 seeded routine entries from table references include `$E9F1` which was a false positive (data table base, not dispatch) and was forced back to data 2026-10-19. 31 of the remaining 54 have no direct `jsr`/`jmp` reference. + +**Pass 3 outstanding** — No semantic zero-page aliases; `locals.inc` holds 171 neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): +- `jmp ($0014)` at $C360 +- `jmp ($0610)` at $F927 +- `jmp ($0612)` at $F941 + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Ice Climber (JE)/copilot/Makefile b/_wip/Ice Climber (JE)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Ice Climber (JE)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Ice Climber (JE)/copilot/linker.cfg b/_wip/Ice Climber (JE)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Ice Climber (JE)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Ice Climber (JE)/copilot/sites.tsv b/_wip/Ice Climber (JE)/copilot/sites.tsv deleted file mode 100644 index 5b47043..0000000 --- a/_wip/Ice Climber (JE)/copilot/sites.tsv +++ /dev/null @@ -1,296 +0,0 @@ -75 PtrHi -77 PtrLo -95 PtrLo -98 PtrHi -171 VBlankTimer -219 VBlankTimer -334 CheckZp14 -391 VBlankTimer -403 VBlankTimer -428 PtrLo -430 PtrHi -495 PtrLo -583 VBlankTimer -585 VBlankTimer -706 SprData2 -727 SprData -734 SprData -781 CheckZp14 -910 SprData -921 SprData2 -1147 PtrLo -1149 PtrHi -1151 Ptr2Lo -1184 PtrLo -1198 PtrLo -1270 PtrLo -1329 PtrLo -1330 PtrHi -1331 Ptr2Lo -1468 CheckZp14 -1556 PtrLo -1559 PtrHi -1572 PtrLo -1575 PtrHi -1589 CheckZp14 -1603 PtrLo -1605 PtrHi -1607 PtrLo -1608 Ptr2Lo -1610 PtrLo -1612 Ptr2Lo -1689 Ptr2Lo -1718 CheckZp14 -1805 Ptr2Lo -1849 PtrHi -1869 PtrLo -1874 PtrLo -1887 PtrLo -1996 PtrHi -2005 PtrHi -2063 PtrLo -2065 VBlankTimer -2068 PtrLo -2090 PtrLo -2122 PtrLo -2123 PtrLo -2125 PtrLo -2161 PtrHi -2164 PtrHi -2185 PtrHi -2196 PtrHi -2221 PtrLo -2227 PtrHi -2241 PtrLo -2243 PtrHi -2363 PtrHi -2378 Ptr2Lo -2379 Ptr2Lo -2382 Ptr2Lo -2421 PtrHi -2422 PtrHi -2445 PtrHi -2446 Ptr2Lo -2448 Ptr2Lo -2462 Ptr2Lo -2476 PtrHi -2490 PtrHi -2493 Ptr2Lo -2595 PtrLo -2601 PtrLo -2707 PtrLo -2788 PtrLo -2791 PtrLo -2851 PtrLo -2853 PtrLo -2859 PtrLo -2860 PtrLo -2861 PtrLo -2863 PtrLo -2877 Ptr2Lo -2878 PtrLo -2881 PtrHi -2894 PtrHi -2895 Ptr2Lo -2909 PtrHi -2911 Ptr2Lo -2925 PtrLo -2928 PtrLo -2931 VBlankTimer -2986 PtrLo -2992 PtrLo -2993 PtrLo -2995 PtrHi -2996 PtrHi -3009 PtrLo -3280 SprData2 -3289 SprData2 -3301 SprData2 -3324 SprData2 -3325 SprData -3372 PtrHi -3375 PtrHi -3398 PtrHi -3461 CheckZp14 -3574 CheckZp14 -3601 SprData2 -3648 CheckZp14 -3786 SprData2 -3794 SprData -4210 SprData -4336 SprData2 -4352 SprData2 -4547 SprData2 -4556 PtrLo -4558 PtrHi -4561 Ptr2Lo -4588 PtrLo -4593 Ptr2Lo -4601 SprData2 -4680 PtrHi -4681 SprData2 -4683 SprData2 -4684 PtrHi -4787 Ptr2Lo -4790 SprData2 -4792 PtrLo -4808 PtrHi -4847 Ptr2Lo -4852 SprData2 -4870 PtrLo -4884 PtrHi -4902 SprData2 -4925 SprData -4931 SprData -5009 SprData -5023 Ptr2Lo -5027 PtrLo -5076 Ptr2Lo -5128 PtrLo -5160 Ptr2Lo -5301 PtrLo -5308 PtrHi -5381 SprData -5432 CheckZp14 -5487 PtrLo -5602 SprData -5737 SprData2 -5810 SprData -5846 SprData -5856 SprData -5922 SprData -6016 SprData -6060 CheckZp14 -6092 PtrHi -6097 PtrLo -6100 PtrHi -6103 PtrLo -6124 SprData2 -6433 SprData2 -6789 SprData -6906 SprData -7748 PtrLo -7753 PtrLo -7837 PtrLo -7838 SprData -7893 Ptr2Lo -7950 CheckZp14 -8020 PtrLo -8160 PtrLo -8165 SprData -8182 PtrLo -8188 Ptr2Lo -8189 PtrLo -8230 PtrLo -8370 PtrLo -8485 PtrLo -8496 PtrLo -8518 PtrLo -8573 PtrLo -8657 Ptr2Lo -8669 Ptr2Lo -8672 Ptr2Lo -8683 PtrLo -8695 PtrLo -8801 PtrLo -8844 PtrLo -8849 PtrLo -9012 PtrLo -9158 Ptr2Lo -9165 Ptr2Lo -9167 Ptr2Lo -9183 Ptr2Lo -9410 PtrLo -9413 PtrLo -9473 PtrHi -9475 PtrLo -9486 PtrHi -9489 Ptr2Lo -9493 PtrLo -9496 PtrLo -9499 PtrHi -9500 PtrHi -9513 PtrLo -9549 Ptr2Lo -9577 SprData -9609 PtrLo -9749 PtrLo -9778 PtrLo -9822 PtrLo -10315 SprData -10432 PtrHi -10451 PtrHi -10592 PtrLo -10604 PtrLo -10606 PtrHi -10612 PtrHi -10639 PtrHi -10652 PtrHi -10658 PtrLo -10922 PtrHi -11035 PtrLo -11048 PtrHi -11140 PtrLo -11209 PtrLo -11224 PtrHi -11283 PtrLo -11285 PtrHi -11287 Ptr2Lo -11313 PtrLo -11444 PtrHi -11446 PtrLo -11461 PtrLo -11463 PtrHi -11465 PtrLo -11487 PtrLo -11490 PtrLo -11645 PtrHi -11649 PtrHi -11713 Ptr2Lo -11715 PtrHi -11735 PtrLo -11937 PtrLo -11939 PtrHi -11941 Ptr2Lo -12056 SprData -12083 PtrLo -12087 PtrLo -12089 PtrLo -12101 PtrLo -12130 PtrLo -12144 SprData -12149 SprData -12326 SprData -12362 CheckZp14 -12547 PtrLo -12631 PtrLo -12637 PtrLo -12651 PtrLo -12654 PtrLo -13433 PtrLo -13439 PtrLo -13495 PtrLo -13499 PtrLo -13501 PtrLo -13543 PtrLo -13953 PtrLo -13989 PtrLo -13994 PtrLo -14064 PtrLo -14065 PtrHi -14082 PtrLo -14090 PtrHi -14431 PtrLo -14446 PtrLo -14508 PtrHi -14526 PtrHi -14663 Ptr2Lo -14666 PtrLo -14668 PtrHi -15177 FrameCounter -16058 FrameCounter -16073 FrameCounter -16087 FrameCounter -16140 FrameCounter -16175 FrameCounter -16239 FrameCounter \ No newline at end of file diff --git a/_wip/Ice Climber (U)/copilot/Makefile b/_wip/Ice Climber (U)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Ice Climber (U)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Ice Climber (U)/copilot/linker.cfg b/_wip/Ice Climber (U)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Ice Climber (U)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Ice Climber (U)/copilot/reconstructed.lbl b/_wip/Ice Climber (U)/copilot/reconstructed.lbl deleted file mode 100644 index d160574..0000000 --- a/_wip/Ice Climber (U)/copilot/reconstructed.lbl +++ /dev/null @@ -1,973 +0,0 @@ -al 00FD16 .SubCFBFC_Block_27 -al 00FD21 .SubCFBFC_Block_26 -al 00FCF4 .SubCFBFC_Block_24 -al 00FCF2 .SubCFBFC_Block_23 -al 00FCE0 .SubCFBFC_Block_21 -al 00FCCD .SubCFBFC_Block_22 -al 00FCFA .SubCFBFC_Block_20 -al 00FCBE .SubCFBFC_Block_18 -al 00FCA7 .SubCFBFC_Block_15 -al 00FC99 .SubCFBFC_Block_14 -al 00FCC4 .SubCFBFC_Block_17 -al 00FC79 .SubCFBFC_Block_10 -al 00FC68 .SubCFBFC_Block_7 -al 00FC84 .SubCFBFC_Block_6 -al 00FCAC .SubCFBFC_Block_5 -al 00FC17 .SubCFBFC_Block_4 -al 00FC11 .SubCFBFC_Block_12 -al 00FC51 .SubCFBFC_Block_2 -al 00FC05 .SubCFBFC_Block -al 00FBFC .SubCFBFC -al 00FBEB .SubCFBA1_Block_8 -al 00FBDB .SubCFBA1_Block_5 -al 00FBCB .SubCFBA1_Block_7 -al 00FBBB .SubCFBA1_Block_3 -al 00FBA1 .SubCFBA1 -al 00FBA0 .SubCFB8C_Block -al 00FB8C .SubCFB8C -al 00FB78 .SubCFBA1_Block_2 -al 00FB71 .SubCFBA1_Block -al 00FB38 .SubCFAC4_Block_10 -al 00FB17 .SubCFAC4_Block_8 -al 00FAF9 .SubCFAC4_Block_7 -al 00FB09 .SubCFAC4_Block_6 -al 00FAEC .SubCFAC4_Block_5 -al 00FAC4 .SubCFAC4 -al 00FAC3 .SubCFAB5_Block -al 00FAB2 .SubCFA3A_Block_7 -al 00FAAC .SubCFA3A_Block_6 -al 00FAA1 .SubCFA3A_Block_5 -al 00FA94 .SubCFAC4_Block_4 -al 00FA83 .SubCFAC4_Block_3 -al 00FA7C .SubCFAC4_Block_9 -al 00FAB5 .SubCFAB5 -al 00FA70 .SubCFA3A_Block_4 -al 00FA6B .SubCFAC4_Block_2 -al 00FA64 .SubCFAC4_Block -al 00FA52 .SubCFA3A_Block -al 00FA3A .SubCFA3A -al 00FA36 .SubCFA36 -al 00FA3F .SubCF9EB_Block_12 -al 00FA27 .SubCF9EB_Block_9 -al 00FA4A .SubCF9EB_Block_8 -al 00FA40 .SubCF9EB_Block_7 -al 00FA1B .SubCF9EB_Block_6 -al 00FA0C .SubCF9EB_Block_5 -al 00F9EB .SubCF9EB -al 00FA32 .SubCFA3A_Block_2 -al 00F9D0 .SubCF9EB_Block_4 -al 00F9D6 .SubCF983_Block_2 -al 00F9C8 .SubCF9EB_Block_3 -al 00FA2F .SubCFA3A_Block_3 -al 00F9B1 .SubCF9EB_Block_2 -al 00F9AB .SubCF9EB_Block -al 00F983 .SubCF983 -al 00F97F .SubCF97F -al 00F97B .SubCF97B -al 00F978 .SubCF978 -al 00F977 .SubCF964_Block -al 00F966 .SubCF97F_Block -al 00F964 .SubCF964 -al 00F961 .SubCF961 -al 00F95A .SubCF95A -al 00F953 .SubCF953 -al 00F94F .SubCF91E_Block_3 -al 00F949 .SubCF91E_Block -al 00F91E .SubCF91E -al 00F919 .SubCF8DB_Block_7 -al 00F911 .SubCF8DB_Block_5 -al 00F8F1 .SubCF8DB_Block_2 -al 00F8E2 .SubCF8DB_Block_6 -al 00F8F4 .SubCF8DB_Block -al 00F8DB .SubCF8DB -al 00F8D7 .SubCF8AC_Block_3 -al 00F8CB .SubCF8AC_Block_2 -al 00F8BE .SubCF8AC_Block -al 00F8AC .SubCF8AC -al 00F8A8 .SubCF838_Block_10 -al 00F889 .SubCF838_Block_7 -al 00F86B .SubCF838_Block_11 -al 00F85C .SubCF838_Block_6 -al 00F87C .SubCF838_Block_4 -al 00F899 .SubCF838_Block_3 -al 00F898 .SubCF838_Block_9 -al 00F877 .SubCF838_Block -al 00F838 .SubCF838 -al 00F82F .SubCF80C_Block -al 00F80C .SubCF80C -al 00F7AB .SubCF7AB -al 00F7A2 .SubCF78B_Block_2 -al 00F793 .SubCF78B_Block -al 00F78B .SubCF78B -al 00F783 .SubCF737_Block_6 -al 00F77D .SubCF737_Block_5 -al 00F773 .SubCF737_Block_7 -al 00F78A .SubCF78B_Block_3 -al 00F74F .SubCF737_Block_2 -al 00F737 .SubCF737 -al 00F71F .SubCF71D_Block_2 -al 00F71D .SubCF71D -al 00F72C .SubCF71D_Block -al 00F6EA .SubCF6EA -al 00F6BD .SubCF6A4_Block_3 -al 00F6DB .SubCF6A4_Block_2 -al 00F6DA .SubCF6A4_Block -al 00F6A4 .SubCF6A4 -al 00F691 .SubCF691 -al 00F671 .SubCF64C_Block_2 -al 00F660 .SubCF64C_Block -al 00F64C .SubCF64C -al 00F630 .SubCF630 -al 00F5BB .SubCF586_Block_3 -al 00F5B1 .SubCF586_Block_2 -al 00F5C4 .SubCF586_Block -al 00F586 .SubCF586 -al 00F566 .SubCF564_Block -al 00F564 .SubCF564 -al 00F52D .SubCF524_Block_2 -al 00F537 .SubCF524_Block -al 00F524 .SubCF524 -al 00F517 .SubCF45B_Block -al 00F504 .SubCF504 -al 00F465 .SubCF3D2_Block_5 -al 00F45B .SubCF45B -al 00F42A .SubCF3D2_Block_4 -al 00F3F8 .SubCF3D2_Block_3 -al 00F436 .SubCF3D2_Block_2 -al 00F430 .SubCF3D2_Block -al 00F3D2 .SubCF3D2 -al 00F3C6 .SubCF3BD_Block -al 00F3BD .SubCF3BD -al 00F3A1 .SubCF35B_Block_5 -al 00F39F .SubCF35B_Block_6 -al 00F395 .SubCF35B_Block_3 -al 00F38D .SubCF35B_Block_4 -al 00F3D1 .SubCF35B_Block_2 -al 00F362 .SubCF35B_Block -al 00F35B .SubCF35B -al 00F34E .SubCF2EC_Block_11 -al 00F34A .SubCF2EC_Block_9 -al 00F343 .SubCF2EC_Block_7 -al 00F33A .SubCF2EC_Block_8 -al 00F327 .SubCF2EC_Block_6 -al 00F309 .SubCF2EC_Block_5 -al 00F32E .SubCF2EC_Block_4 -al 00F305 .SubCF2EC_Block_3 -al 00F35A .SubCF2EC_Block_10 -al 00F2EC .SubCF2EC -al 00F19E .SubCF19E -al 00F13B .SubCF13B -al 00F137 .SubCF10B_Block_4 -al 00F13A .SubCF10B_Block_2 -al 00F11C .SubCF10B_Block_5 -al 00F10B .SubCF10B -al 00F0F9 .SubCF0C9_Block_2 -al 00F0DC .SubCF0C9_Block -al 00F0C9 .SubCF0C9 -al 00F0C8 .SubCF075_Block_8 -al 00F092 .SubCF075_Block_5 -al 00F07F .SubCF075_Block -al 00F075 .SubCF075 -al 00F04F .SubCEFF3_Block_7 -al 00F043 .SubCEFF3_Block_5 -al 00F015 .SubCEFF3_Block_4 -al 00F014 .SubCEFF3_Block_6 -al 00F03B .SubCEFF3_Block -al 00EFF3 .SubCEFF3 -al 00EFEC .SubCEFEC -al 00EFDF .SubCEF9A_Block_7 -al 00EFD3 .UpdateMusicChannel19 -al 00EFCB .SubCEF9A_Block_5 -al 00EFE1 .SubCEF9A_Block_6 -al 00EFB6 .SubCEF9A_Block_3 -al 00EFA8 .SubCEF9A_Block_2 -al 00EFB7 .SubCEF9A_Block -al 00EF9A .SubCEF9A -al 00EF8E .SubCEF8E -al 00EF83 .SubCEF83 -al 00EF7D .SubCEF7D -al 00EF7B .SubCEF7B -al 00EF70 .SubCEF70 -al 00EF6F .SubCEF56_Block_2 -al 00EF6A .SubCEF6A -al 00EF62 .SubCEF56_Block -al 00EF56 .SubCEF56 -al 00EF4E .SubCEF4E -al 00EF47 .SubCEF47 -al 00EF42 .SubCEF42 -al 00EF3A .SubCEF06_Block_5 -al 00EF19 .SubCEF06_Block_3 -al 00EF06 .SubCEF06 -al 00EF03 .SubCEEBD_Block_4 -al 00EEC2 .SubCEF06_Block_2 -al 00EEA2 .SubCEEA2 -al 00EE9D .SubCEE9D -al 00EEBD .SubCEEBD -al 00EE8D .SubCEE4A_Block_7 -al 00EE82 .SubCEE4A_Block_6 -al 00EEAA .SubCEE4A_Block_4 -al 00EEC5 .SubCEE4A_Block_3 -al 00EEA7 .SubCEE4A_Block_2 -al 00EE4A .SubCEE4A -al 00EE44 .SubCEE0D_Block_9 -al 00EE38 .SubCEE0D_Block_8 -al 00EE31 .SubCEE0D_Block_6 -al 00EE26 .SubCEE0D_Block_5 -al 00EE58 .SubCEE0D_Block_4 -al 00EE54 .SubCEE0D_Block_3 -al 00EE0F .SubCEE4A_Block -al 00EE0D .SubCEE0D -al 00EDDF .SubCEDD5_Block -al 00EDD5 .SubCEDD5 -al 00EDBF .SubCEDBF -al 00ED63 .SubCED63 -al 00ED51 .SubCED51 -al 00ED4B .SubCED25_Block_2 -al 00ED2C .SubCED25_Block -al 00ED25 .SubCED25 -al 00ECF0 .SubCECF0 -al 00ECEA .SubCECF0_Block_2 -al 00ECE2 .SubCECF0_Block -al 00ECDD .SubCECBF_Block_4 -al 00ED08 .SubCECF0_Block_3 -al 00ECC7 .SubCECBF_Block -al 00ECC1 .SubCECBF_Block_2 -al 00ECBF .SubCECBF -al 00ECA8 .SubCEC51_Block_13 -al 00EC9F .SubCEC51_Block_14 -al 00EC92 .SubCEC51_Block_10 -al 00EC82 .SubCEC51_Block_7 -al 00EC63 .SubCEC51_Block_3 -al 00EC74 .SubCEC51_Block_5 -al 00EC53 .SubCEC51_Block_11 -al 00EC51 .SubCEC51 -al 00EC42 .SubCEC2A_Block_3 -al 00EC50 .SubCEC2A_Block_4 -al 00EC2A .SubCEC2A -al 00EC23 .SubCEC23 -al 00EC12 .SubCEBD3_Block_4 -al 00EC07 .SubCEBD3_Block_3 -al 00EBFE .SubCEBD3_Block_5 -al 00EBE9 .SubCEBD3_Block_2 -al 00EBDD .SubCEBD3_Block -al 00EBD3 .SubCEBD3 -al 00EBCE .SubCEB8A_Block_4 -al 00EB8A .SubCEB8A -al 00EB7F .SubCEB7F -al 00EB6B .SubCEB8A_Block_3 -al 00EB5F .SubCEB5F -al 00EB56 .SubCEB2E_Block_4 -al 00EB6C .SubCEB2E_Block_3 -al 00EB62 .SubCEB2E_Block_2 -al 00EB68 .SubCEB2E_Block -al 00EB30 .SubCEB5F_Block -al 00EB2E .SubCEB2E -al 00EAFC .SubCEAFC -al 00EAA1 .SubCEA8E_Block_2 -al 00EA97 .SubCEA97 -al 00EA96 .SubCEA8E_Block -al 00EA8E .SubCEA8E -al 00EA55 .SubCEA55 -al 00EA4C .SubCEA4A_Block_2 -al 00EA4A .SubCEA4A -al 00EA49 .SubCEA4A_Block -al 00E9C5 .SubCE9C5 -al 00E9C3 .SubCE881_Block_2 -al 00E9AA .SubCE881_Block -al 00E999 .SubCE881_Block_3 -al 00E881 .SubCE881 -al 00E88B .SubCE7A1_Block_15 -al 00E843 .SubCE7A1_Block_13 -al 00E837 .SubCE7A1_Block_14 -al 00E833 .SubCE7A1_Block_12 -al 00E875 .SubCE7A1_Block_11 -al 00E81C .SubCE7A1_Block_9 -al 00E815 .SubCE7A1_Block_10 -al 00E80D .SubCE7A1_Block_6 -al 00E7F7 .SubCE7A1_Block_7 -al 00E7E7 .SubCE7A1_Block_4 -al 00E7CB .SubCE7A1_Block_8 -al 00E7B8 .SubCE7A1_Block_3 -al 00E7B2 .SubCE7A1_Block_2 -al 00E7A1 .SubCE7A1 -al 00E79D .SubCE79D -al 00E779 .SubCE72B_Block_4 -al 00E77C .SubCE72B_Block_3 -al 00E75E .SubCE72B_Block_2 -al 00E74B .SubCE72B_Block -al 00E747 .SubCE72B_Block_5 -al 00E72B .SubCE72B -al 00E720 .SubCE719_Block -al 00E719 .SubCE719 -al 00E726 .SubCE6D7_Block_4 -al 00E6F1 .SubCE6D7_Block_3 -al 00E6E9 .SubCE6D7_Block -al 00E6D7 .SubCE6D7 -al 00E6D3 .SubCE64E_Block_7 -al 00E6BE .SubCE64E_Block_6 -al 00E6AD .SubCE64E_Block_5 -al 00E6A5 .SubCE64E_Block_4 -al 00E69B .SubCE64E_Block_3 -al 00E678 .SubCE64E_Block_2 -al 00E668 .SubCE64E_Block -al 00E64E .SubCE64E -al 00E662 .SubCE640_Block_3 -al 00E64D .SubCE640_Block_2 -al 00E640 .SubCE640 -al 00E63D .SubCE63D -al 00E635 .SubCE614_Block -al 00E614 .SubCE614 -al 00E5FF .SubCE573_Block_11 -al 00E5F2 .SubCE573_Block_10 -al 00E5D2 .SubCE573_Block_9 -al 00E5C8 .SubCE573_Block_8 -al 00E5BB .SubCE573_Block_7 -al 00E5A9 .SubCE573_Block_6 -al 00E59B .SubCE573_Block_5 -al 00E58F .SubCE573_Block_3 -al 00E587 .SubCE573_Block_4 -al 00E583 .SubCE573_Block_2 -al 00E573 .SubCE573 -al 00E52F .SubCE523_Block_2 -al 00E527 .SubCE523_Block -al 00E523 .SubCE523 -al 00E517 .SubCE4C2_Block_6 -al 00E4EC .SubCE4C2_Block_4 -al 00E502 .SubCE4C2_Block_2 -al 00E4CC .SubCE4C2_Block_5 -al 00E4C2 .SubCE4C2 -al 00E37E .SubCE33C_Block_5 -al 00E372 .SubCE33C_Block_3 -al 00E367 .SubCE33C_Block_6 -al 00E362 .SubCE33C_Block -al 00E343 .SubCE33C_Block_2 -al 00E33C .SubCE33C -al 00E325 .SubCE321_Block -al 00E321 .SubCE321 -al 00E31A .SubCE303_Block -al 00E303 .SubCE303 -al 00E2FB .SubCE2FB -al 00E2F8 .SubCE2F8 -al 00E2EC .SubCE29A_Block_10 -al 00E2E6 .SubCE29A_Block_9 -al 00E2F4 .SubCE29A_Block_11 -al 00E2D0 .SubCE29A_Block_4 -al 00E2C5 .SubCE29A_Block_12 -al 00E2B0 .SubCE29A_Block_2 -al 00E2BE .SubCE29A_Block -al 00E2A3 .SubCE29A_Block_3 -al 00E29A .SubCE29A -al 00E296 .SubCE27A_Block_2 -al 00E27C .SubCE27A_Block_3 -al 00E27A .SubCE27A -al 00E277 .SubCE277 -al 00E265 .SubCE23E_Block_4 -al 00E250 .SubCE23E_Block_3 -al 00E243 .SubCE215_Block_6 -al 00E251 .SubCE215_Block_5 -al 00E234 .SubCE215_Block_4 -al 00E23E .SubCE23E -al 00E225 .SubCE215_Block_2 -al 00E235 .SubCE215_Block -al 00E214 .SubCE215_Block_3 -al 00E21A .SubCE189_Block_10 -al 00E202 .SubCE189_Block_9 -al 00E215 .SubCE215 -al 00E1E4 .SubCE189_Block_12 -al 00E1EE .SubCE189_Block_8 -al 00E1C6 .SubCE189_Block_7 -al 00E196 .SubCE189_Block_4 -al 00E1E1 .SubCE189_Block_2 -al 00E1E0 .SubCE189_Block_5 -al 00E189 .SubCE189 -al 00E17E .SubCE176_Block -al 00E176 .SubCE176 -al 00E184 .SubCE16B_Block -al 00E16B .SubCE16B -al 00E165 .SubCE0C0_Block_22 -al 00E153 .SubCE0C0_Block_21 -al 00E142 .SubCE0C0_Block_17 -al 00E158 .SubCE0C0_Block_19 -al 00E13D .SubCE0C0_Block_15 -al 00E12C .SubCE0C0_Block_14 -al 00E12E .SubCE0C0_Block_13 -al 00E12F .SubCE0C0_Block_10 -al 00E110 .SubCE0C0_Block_7 -al 00E115 .SubCE0C0_Block_9 -al 00E0E2 .SubCE0C0_Block_11 -al 00E11A .SubCE0C0_Block_4 -al 00E11B .SubCE0C0_Block -al 00E0C0 .SubCE0C0 -al 00E0B9 .SubCE0B9 -al 00E0A7 .SubCE0A7 -al 00E097 .SubCE097 -al 00E08F .SubCE05E_Block_2 -al 00E069 .SubCE05E_Block_3 -al 00E05E .SubCE05E -al 00E054 .SubCE002_Block_3 -al 00E01B .SubCE002_Block_4 -al 00E05D .SubCE05E_Block -al 00E004 .SubCE002_Block -al 00E002 .SubCE002 -al 00DFF8 .SubCDFF8 -al 00DFEA .SubCDFEA -al 00DFE1 .SubCDFAB_Block_2 -al 00DFCF .SubCDFAB_Block_3 -al 00DFB1 .SubCDFAB_Block_4 -al 00DFE9 .SubCDFAB_Block -al 00DFAB .SubCDFAB -al 00DFA5 .SubCDFA5 -al 00DEEC .SubCDEEA_Block -al 00DEEA .SubCDEEA -al 00DEE4 .SubCDEB9_Block_2 -al 00DEB9 .SubCDEB9 -al 00DEB2 .SubCDEB2 -al 00DE90 .SubCDE44_Block_6 -al 00DEA9 .SubCDE44_Block_5 -al 00DE7B .SubCDE44_Block_4 -al 00DE7D .SubCDE44_Block_3 -al 00DE83 .SubCDE44_Block_2 -al 00DEA5 .SubCDE44_Block -al 00DE44 .SubCDE44 -al 00DE9C .SubCDE44_Block_8 -al 00DE2E .SubCDE44_Block_7 -al 00DE22 .SubCDE22 -al 00DE1D .SubCDE12_Block -al 00DE12 .SubCDE12 -al 00DE07 .SubCDDE1_Block_3 -al 00DDEC .SubCDDE1_Block -al 00DDE1 .SubCDDE1 -al 00DE11 .SubCDE22_Block -al 00DE10 .SubCDDE1_Block_2 -al 00DDC9 .SubCDDC9 -al 00DDBF .SubCDDBD_Block -al 00DDBD .SubCDDBD -al 00DDB6 .SubCDDB6 -al 00DDA9 .SubCDDA9 -al 00DDA1 .SubCDDA1 -al 00DD8F .UpdateSound26_13 -al 00DD91 .SubCDD24_Block_8 -al 00DD94 .SubCDD24_Block_6 -al 00DD75 .UpdateSound26_11 -al 00DD97 .SubCDD24_Block_5 -al 00DD50 .SubCDD24_Block_2 -al 00DD24 .SubCDD24 -al 00DD1D .SubCDD1D -al 00DD22 .SubCDD16_Block -al 00DD16 .SubCDD16 -al 00DD0B .SubCDD24_Block -al 00DCFE .SubCDCF6_Block -al 00DCF6 .SubCDCF6 -al 00DCFA .SubCDCF0_Block -al 00DCF0 .SubCDCF0 -al 00DCEA .SubCDCEA -al 00DCB3 .SubCDCB3 -al 00DCAD .SubCDC97_Block_2 -al 00DCA4 .SubCDC97_Block -al 00DC97 .SubCDC97 -al 00DC80 .SubCDC6A_Block_2 -al 00DC6A .SubCDC6A -al 00DC58 .SubCDC6A_Block_3 -al 00DC53 .SubCDBB4_Block_22 -al 00DC5E .SubCDBB4_Block_19 -al 00DC59 .SubCDBB4_Block_18 -al 00DC43 .SubCDBB4_Block_15 -al 00DC36 .SubCDBB4_Block_13 -al 00DC2B .SubCDBB4_Block_11 -al 00DC34 .SubCDBB4_Block_14 -al 00DC18 .SubCDBB4_Block_8 -al 00DC4D .SubCDBB4_Block_17 -al 00DC0C .SubCDBB4_Block_6 -al 00DBFD .SubCDBB4_Block_5 -al 00DC56 .SubCDBB4_Block_21 -al 00DBCB .SubCDBB4_Block -al 00DBB4 .SubCDBB4 -al 00DBB6 .UpdateSound24_1 -al 00DBB0 .SubCDBB0 -al 00DBAD .SubCDBB4_Block_2 -al 00DBA2 .SubCDB57_Block_11 -al 00DBA6 .SubCDB57_Block_8 -al 00DB9C .SubCDB57_Block_7 -al 00DB86 .SubCDB57_Block_5 -al 00DB81 .SubCDB57_Block_3 -al 00DB57 .SubCDB57 -al 00DB4B .SubCDB1D_Block_9 -al 00DB54 .SubCDB1D_Block_8 -al 00DB65 .SubCDB1D_Block_7 -al 00DBA4 .SubCDB57_Block_10 -al 00DB31 .SubCDB1D_Block_3 -al 00DB2C .SubCDB1D_Block_2 -al 00DB1D .SubCDB1D -al 00DB1B .SubCDAF2_Block_5 -al 00DB0E .SubCDAF2_Block_4 -al 00DAF2 .SubCDAF2 -al 00DAF0 .SubCDAF2_Block_3 -al 00DAD5 .SubCDAD5 -al 00DAB7 .SubCDAB2_Block_2 -al 00DABC .SubCDAB2_Block -al 00DAB2 .SubCDAB2 -al 00DAD4 .SubCDA99_Block_2 -al 00DAD3 .SubCDAD5_Block_3 -al 00DA99 .SubCDA99 -al 00DA8F .SubCDA4B_Block_7 -al 00DA85 .SubCDA85 -al 00DA87 .SubCDA4B_Block_5 -al 00DA64 .SubCDA4B_Block_2 -al 00DA93 .SubCDA4B_Block_6 -al 00DA4D .SubCDA4B_Block_8 -al 00DA4B .SubCDA4B -al 00DA11 .SubCD9CC_Block_2 -al 00DA3A .SubCD9CC_Block -al 00DA44 .SubCDA44 -al 00D9CE .SubCDA44_Block -al 00D9CC .SubCD9CC -al 00D9C3 .SubCD9AD_Block -al 00D9AD .SubCD9AD -al 00D9A5 .SubCD91C_Block_8 -al 00D988 .SubCD91C_Block_7 -al 00D964 .SubCD91C_Block_6 -al 00D967 .SubCD91C_Block_5 -al 00D9A8 .SubCD91C_Block_4 -al 00D957 .SubCD91C_Block_2 -al 00D946 .SubCD91C_Block_3 -al 00D942 .SubCD91C_Block -al 00D91C .SubCD91C -al 00D90F .SubCD90F -al 00D90E .SubCD90F_Block -al 00D905 .SubCD8FD_Block -al 00D8FD .SubCD8FD -al 00D8FC .SubCD8EA_Block -al 00D8EA .SubCD8EA -al 00D8DC .SubCD8AF_Block_5 -al 00D8C6 .SubCD8AF_Block_3 -al 00D8C8 .SubCD8AF_Block_4 -al 00D8AF .SubCD8AF -al 00D8A6 .SubCD890_Block_3 -al 00D8A2 .SubCD890_Block_2 -al 00D896 .SubCD890_Block_4 -al 00D8A5 .SubCD8AF_Block_6 -al 00D890 .SubCD890 -al 00D888 .SubCD888 -al 00D884 .SubCD82F_Block_7 -al 00D863 .SubCD82F_Block_8 -al 00D887 .SubCD82F_Block_2 -al 00D82F .SubCD82F -al 00D81F .SubCD81F -al 00D819 .SubCD7DE_Block_10 -al 00D80F .SubCD7DE_Block_7 -al 00D80A .SubCD7DE_Block_6 -al 00D7FE .SubCD7DE_Block_8 -al 00D816 .SubCD7DE_Block_5 -al 00D7F8 .SubCD7DE_Block_4 -al 00D7F1 .SubCD7DE_Block_3 -al 00D7FC .SubCD7DE_Block_2 -al 00D82E .SubCD7DE_Block_11 -al 00D7DE .SubCD7DE -al 00D74C .SubCD724_Block_3 -al 00D726 .SubCD724_Block_4 -al 00D724 .SubCD724 -al 00D723 .SubCD724_Block_6 -al 00D71B .SubCD6E0_Block_7 -al 00D715 .SubCD6E0_Block_6 -al 00D6E8 .SubCD6E0_Block_8 -al 00D71A .SubCD6E0_Block -al 00D6E0 .SubCD6E0 -al 00D6DC .SubCD684_Block_9 -al 00D6C9 .SubCD684_Block_7 -al 00D6B9 .SubCD6B9 -al 00D6BF .SubCD684_Block_6 -al 00D6A5 .SubCD6A5 -al 00D6A3 .SubCD684_Block_4 -al 00D699 .SubCD684_Block_5 -al 00D68F .SubCD684_Block -al 00D686 .SubCD684_Block_2 -al 00D697 .SubCD684_Block_3 -al 00D684 .SubCD684 -al 00D680 .SubCD59C_Block_23 -al 00D6CC .SubCD59C_Block_21 -al 00D669 .SubCD59C_Block_19 -al 00D6CB .SubCD684_Block_8 -al 00D62F .SubCD59C_Block_15 -al 00D639 .SubCD59C_Block_14 -al 00D63B .SubCD59C_Block_17 -al 00D617 .SubCD59C_Block_11 -al 00D603 .SubCD59C_Block_10 -al 00D5D5 .SubCD59C_Block_12 -al 00D648 .SubCD59C_Block_4 -al 00D5C5 .SubCD59C_Block_3 -al 00D5B4 .SubCD59C_Block_2 -al 00D5B0 .SubCD59C_Block -al 00D59C .SubCD59C -al 00D594 .SubCD552_Block_8 -al 00D587 .SubCD552_Block_7 -al 00D58D .SubCD552_Block_6 -al 00D564 .SubCD552_Block_3 -al 00D567 .SubCD552_Block_2 -al 00D561 .SubCD552_Block -al 00D552 .SubCD552 -al 00D547 .SubCD507_Block_4 -al 00D507 .SubCD507 -al 00D4F5 .SubCD4F5 -al 00D4EE .SubCD493_Block_16 -al 00D4E4 .SubCD493_Block_13 -al 00D4D2 .SubCD493_Block_8 -al 00D4C0 .SubCD493_Block_6 -al 00D4AE .SubCD493_Block_3 -al 00D4A9 .SubCD493_Block_2 -al 00D49D .SubCD493_Block_4 -al 00D4CE .SubCD493_Block_11 -al 00D495 .SubCD493_Block_12 -al 00D493 .SubCD493 -al 00D48C .SubCD493_Block_14 -al 00D483 .SubCD463_Block_4 -al 00D487 .SubCD463_Block_3 -al 00D465 .SubCD463_Block_5 -al 00D463 .SubCD463 -al 00D446 .SubCD446 -al 00D441 .SubCD421_Block_3 -al 00D43C .SubCD421_Block_2 -al 00D431 .SubCD421_Block -al 00D421 .SubCD421 -al 00D400 .SubCD3B3_Block_9 -al 00D3F6 .SubCD3B3_Block_7 -al 00D3F2 .SubCD3B3_Block_6 -al 00D3EB .SubCD3B3_Block_4 -al 00D3DF .SubCD3B3_Block_3 -al 00D3D9 .SubCD3B3_Block_2 -al 00D3CF .SubCD3B3_Block_8 -al 00D3F5 .SubCD3B3_Block_11 -al 00D3B3 .SubCD3B3 -al 00D3AC .SubCD3AC -al 00D3AB .SubCD308_Block_19 -al 00D390 .SubCD308_Block_17 -al 00D385 .SubCD385 -al 00D383 .SubCD308_Block_16 -al 00D37F .SubCD308_Block_15 -al 00D367 .SubCD308_Block_12 -al 00D372 .SubCD308_Block_9 -al 00D393 .SubCD308_Block_8 -al 00D33C .SubCD308_Block_6 -al 00D32E .SubCD308_Block_7 -al 00D371 .SubCD308_Block_14 -al 00D308 .SubCD308 -al 00D301 .SubCD301 -al 00D2FB .SubCD2FB -al 00D300 .SubCD2F9_Block -al 00D2F9 .SubCD2F9 -al 00D2F8 .SubCD2D9_Block_2 -al 00D2D9 .SubCD2D9 -al 00D2D2 .UpdateSound12_4_Block -al 00D2CB .UpdateSound12_4 -al 00D2C7 .SubCD2BC_Block -al 00D2BC .SubCD2BC -al 00D2A8 .SubCD212_Block_19 -al 00D29E .SubCD212_Block_20 -al 00D2B5 .SubCD212_Block_18 -al 00D284 .SubCD212_Block_17 -al 00D282 .SubCD212_Block_16 -al 00D2B6 .SubCD212_Block_15 -al 00D266 .SubCD212_Block_13 -al 00D264 .SubCD212_Block_12 -al 00D269 .SubCD212_Block_11 -al 00D252 .SubCD212_Block_10 -al 00D24B .SubCD212_Block_9 -al 00D249 .SubCD212_Block_8 -al 00D25A .SubCD212_Block_7 -al 00D212 .SubCD212 -al 00D211 .SubCD212_Block_5 -al 00D206 .SubCD1F9_Block -al 00D1FB .SubCD1F9_Block_2 -al 00D1F9 .SubCD1F9 -al 00D1F5 .SubCD1E5_Block -al 00D1E7 .SubCD1E5_Block_2 -al 00D1E5 .SubCD1E5 -al 00D1DB .SubCD1DB -al 00D1C4 .SubCD17C_Block_5 -al 00D1D2 .SubCD17C_Block_4 -al 00D1AB .SubCD17C_Block_3 -al 00D1A7 .SubCD17C_Block_2 -al 00D192 .SubCD17C_Block -al 00D17C .SubCD17C -al 00D17B .UpdateSound6_Block_2 -al 00D16A .UpdateSound6_Block -al 00D171 .SubCD171 -al 00D151 .SubCD143_Block -al 00D160 .UpdateSound6 -al 00D143 .SubCD143 -al 00D133 .SubCD133 -al 00D127 .SubCD127 -al 00D123 .SubCD111_Block_2 -al 00D117 .UpdateSound4_11 -al 00D126 .SubCD111_Block -al 00D111 .SubCD111 -al 00D0F4 .SubCD0C5_Block -al 00D0C5 .SubCD0C5 -al 00D0C7 .SubCD07C_Block_7 -al 00D0C0 .SubCD07C_Block_6 -al 00D0B8 .SubCD0B8 -al 00D0CA .SubCD07C_Block_5 -al 00D0AA .SubCD0AA -al 00D0F7 .SubCD0C5_Block_2 -al 00D07C .SubCD07C -al 00D077 .SubCD021_Block_8 -al 00D079 .SubCD07C_Block -al 00D06B .SubCD06B -al 00D05A .SubCD021_Block_6 -al 00D053 .SubCD053 -al 00D02D .SubCD07C_Block_3 -al 00D04F .SubCD021_Block_5 -al 00D025 .SubCD07C_Block_2 -al 00D021 .SubCD021 -al 00D01E .SubCCFEF_Block_3 -al 00D018 .SubCCFEF_Block_2 -al 00D00A .SubCD00A -al 00CFFB .SubCD021_Block -al 00CFEF .SubCCFEF -al 00CFFC .SubCCFC6_Block_3 -al 00CFEB .SubCCFEB -al 00CFD1 .SubCCFC6_Block_2 -al 00CFD3 .SubCCFC6_Block -al 00CFC6 .SubCCFC6 -al 00CFC0 .SubCCFC0 -al 00CFBD .SubCCF5B_Block_10 -al 00CFA4 .SubCCF5B_Block_8 -al 00CF99 .SubCCF5B_Block_7 -al 00CFA9 .SubCCF5B_Block_5 -al 00CF7C .SubCCF5B_Block_4 -al 00CF89 .SubCCF5B_Block_3 -al 00CFA7 .SubCCF5B_Block_9 -al 00CF6D .SubCCF5B_Block -al 00CF5B .SubCCF5B -al 00CF46 .SubCCF1A_Block_5 -al 00CF55 .SubCCF1A_Block_7 -al 00CF51 .SubCCF1A_Block -al 00CF1A .SubCCF1A -al 00CF15 .SubCCEEF_Block_5 -al 00CF12 .SubCCEEF_Block_3 -al 00CF19 .SubCCEEF_Block_4 -al 00CEEF .SubCCEEF -al 00CEE7 .SubCCEDB_Block -al 00CEDD .SubCCEDB_Block_3 -al 00CEDB .SubCCEDB -al 00CECD .SubCCE8B_Block_4 -al 00CEEE .SubCCEDB_Block_2 -al 00CED0 .SubCCE8B_Block_2 -al 00CE9A .SubCCE8B_Block -al 00CE8B .SubCCE8B -al 00CE88 .SubCCE88 -al 00CE7E .SubCCE5D_Block_4 -al 00CE93 .SubCCE5D_Block_5 -al 00CE5D .SubCCE5D -al 00CE54 .SubCCE43_Block_2 -al 00CE5C .SubCCE43_Block -al 00CE3F .SubCCDFF_Block_3 -al 00CE43 .SubCCE43 -al 00CE11 .SubCCDFF_Block_2 -al 00CE29 .SubCCDFF_Block -al 00CDF1 .SubCCDB0_Block_7 -al 00CDFF .SubCCDFF -al 00CDD0 .SubCCDB0_Block_8 -al 00CDE9 .SubCCDB0_Block_5 -al 00CDDF .SubCCDB0_Block_4 -al 00CDDB .SubCCDB0_Block_3 -al 00CDC4 .SubCCDB0_Block_2 -al 00CDB0 .SubCCDB0 -al 00CDAF .SubCCD95_Block_2 -al 00CD95 .SubCCD95 -al 00CD8B .SubCCD62_Block_4 -al 00CD83 .SubCCD62_Block -al 00CD68 .SubCCD62_Block_5 -al 00CD62 .SubCCD62 -al 00CD61 .SubCCD13_Block -al 00CD13 .SubCCD13 -al 00CD0D .SubCCCF6_Block -al 00CCF6 .SubCCCF6 -al 00CD12 .UpdateSprites5_4_Block_11 -al 00CCE1 .UpdateSprites5_4_Block_9 -al 00CCB9 .UpdateSprites5_4_Block_8 -al 00CCE4 .UpdateSprites5_4_Block_10 -al 00CCED .UpdateSprites5_4_Block_6 -al 00CC9E .SubCCC9E -al 00CC1F .UpdateSprites5_4_Block_4 -al 00CC05 .SubCCC05 -al 00CBAF .UpdateSprites5_4_Block_2 -al 00CBA9 .UpdateSprites5_4_Block_3 -al 00CB9D .UpdateSprites5_4 -al 00CB9C .UpdateSprites4_6_Block -al 00CB8E .UpdateSprites4_6 -al 00CB8C .UpdateSprites4_7 -al 00CB81 .UpdateSprites2_12 -al 00CB78 .UpdateSprites_4 -al 00CB64 .UpdateController2_4_Block_3 -al 00CB61 .UpdateController2_4_Block_4 -al 00CB5E .UpdateController2_4_Block_2 -al 00CB54 .UpdateController2_4_Block -al 00CB3E .UpdateSprites_4_Block -al 00CB35 .UpdateController2_4 -al 00CB2D .UpdateController_Block_2 -al 00CB21 .UpdateController_Block_3 -al 00CB02 .UpdateController_Block -al 00CB00 .UpdateController -al 00CAED .InitSprites3 -al 00CAE6 .InitSprites_4_Block_3 -al 00CAD8 .InitSprites_4_Block -al 00CACE .InitSprites_4 -al 00CAA4 .UpdateSprites13_Block_7 -al 00CAB4 .UpdateSprites13_Block_6 -al 00CAC0 .UpdateSprites13_Block_8 -al 00CA99 .UpdateSprites13_Block_12 -al 00CACB .UpdateSprites13_Block_4 -al 00CAC6 .UpdateSprites13_Block_3 -al 00CA6B .UpdateSprites13_Block_10 -al 00CA94 .UpdateSprites13_Block_11 -al 00CAC1 .UpdateSprites13_Block -al 00CA61 .UpdateSprites13_Block_9 -al 00CA4C .UpdateSprites13 -al 00CA44 .UpdateSprites12 -al 00CA40 .UpdateSprites11 -al 00CA3D .SubCCA3D -al 00CA36 .UpdateSprites10 -al 00CA33 .UpdateSprites9 -al 00CA2C .SubCCA2C -al 00CA29 .UpdateSprites8 -al 00CA1A .UpdateSprites7_3 -al 00CA17 .UpdateSprites7_1_Block_2 -al 00CA03 .SubCCA03 -al 00CA01 .SubCCA01 -al 00CA0B .UpdateSprites7_1_Block -al 00C9F8 .UpdateSprites7_1 -al 00C9EF .UpdateSprites6_Block_3 -al 00C9F3 .UpdateSprites6_Block_2 -al 00C9E2 .UpdateSprites6_Block -al 00C9D7 .UpdateSprites6 -al 00C9D6 .UpdateSprites5_1_Block_8 -al 00C9C2 .UpdateSprites5_1_Block_7 -al 00C9BB .UpdateSprites5_1_Block_6 -al 00C977 .UpdateSprites5_1_Block_4 -al 00C99A .UpdateSprites5_1_Block_3 -al 00C995 .UpdateSprites5_1_Block_2 -al 00C963 .UpdateSprites5_1_Block -al 00C94B .UpdateSprites5_1 -al 00C92B .UpdateSprites4_5_Block_3 -al 00C94A .UpdateSprites4_5_Block_2 -al 00C8EE .UpdateSprites4_5 -al 00C8E0 .UpdateSprites3_6 -al 00C8D9 .UpdateSprites2_11_Block_3 -al 00C8BF .UpdateSprites2_11_Block_2 -al 00C8A4 .UpdateSprites2_11 -al 00C89A .UpdateSprites2_10 -al 00C891 .ClearSpriteRAM -al 00C883 .InitSprites2_1 -al 00C868 .UpdateSprites2_9 -al 00C853 .UpdateSprites2_8_Block -al 00C83D .UpdateSprites2_8 -al 00C829 .InitGameState_Block -al 00C821 .InitGameState -al 00C81D .GameLoopEntry_5 -al 00C813 .SubCC813 -al 00C7FD .UpdateSprites4_4_Block -al 00C7F7 .UpdateSprites4_4_Block_2 -al 00C7F5 .UpdateSprites4_4 -al 00C7CF .UpdateSprites4_3_Block -al 00C7CA .UpdateSprites4_3_Block_2 -al 00C7C5 .SubCC7C5 -al 00C7C1 .UpdateSprites4_3 -al 00C7A5 .UpdateSprites4_1_Block_4 -al 00C77B .UpdateSprites4_1_Block_5 -al 00C777 .UpdateSprites4_1 -al 00C76F .UpdateSprites3_5_Block_3 -al 00C759 .UpdateSprites3_5_Block -al 00C73D .UpdateSprites3_5 -al 00C728 .UpdateSprites2_7 -al 00C726 .CheckZp55 -al 00C718 .UpdateSprites3_4_Block_2 -al 00C6FB .UpdateSprites3_4 -al 00C67F .CheckZp14_Block_6 -al 00C664 .CheckZp14_Block_5 -al 00C626 .CheckZp14_Block_4 -al 00C63A .CheckZp14_Block -al 00C620 .CheckZp14 -al 00C60F .CheckZp14_Block_3 -al 00C608 .UpdateSprites3_3_Block_5 -al 00C5F9 .UpdateSprites3_3_Block_4 -al 00C5FC .UpdateSprites3_3_Block_3 -al 00C5EF .UpdateSprites3_3_Block_2 -al 00C5ED .UpdateSprites3_3_Block -al 00C5DB .UpdateSprites3_3_Block_6 -al 00C5D3 .UpdateSprites3_3 -al 00C5C9 .SubCC5C9 -al 00C5A9 .UpdateSprites2_5_Block_2 -al 00C5A7 .UpdateSprites2_5 -al 00C5B0 .UpdateSprites2_5_Block -al 00C5D2 .UpdateSprites_3_Block_5 -al 00C597 .UpdateSprites_3_Block_4 -al 00C592 .UpdateSprites_3_Block_3 -al 00C586 .UpdateSprites_3_Block_6 -al 00C582 .UpdateSprites_3_Block_2 -al 00C579 .UpdateSprites_3_Block_7 -al 00C553 .UpdateSprites_3_Block -al 00C542 .UpdateSprites_3 -al 00C508 .InitSprites_3_Block_3 -al 00C4F6 .InitSprites_3_Block_4 -al 00C4E8 .InitSprites_3_Block_2 -al 00C4D9 .InitSprites_3_Block -al 00C4D7 .InitSprites_3 -al 00C4CD .UpdateSprites3_1_Block_2 -al 00C4C8 .UpdateSprites3_1_Block -al 00C4C0 .UpdateSprites3_1 -al 00C44A .UpdateSprites2_4 -al 00C437 .CheckZp34 -al 00C436 .CheckZp34_Block -al 00C39F .UpdateSprites2_3_Block_7 -al 00C38D .SubCC38D -al 00C2D9 .UpdateSprites2_3_Block_5 -al 00C2CE .UpdateSprites2_3_Block_2 -al 00C2C1 .UpdateSprites2_3_Block_6 -al 00C2C4 .UpdateSprites2_3_Block -al 00C2B0 .SubCC2B0 -al 00C2AB .UpdateSprites2_3 -al 00C279 .UpdateSprites2_1_Block_5 -al 00C274 .UpdateSprites2_1_Block_3 -al 00C253 .UpdateSprites2_1_Block_4 -al 00C23F .UpdateSprites2_1_Block_2 -al 00C23B .UpdateSprites2_1_Block -al 00C218 .UpdateSprites_1 -al 00C207 .CopySprites_Block_10 -al 00C1FE .CopySprites_Block_11 -al 00C21D .CopySprites_Block_9 -al 00C21A .UpdateSprites2_1 -al 00C1F0 .CopySprites_Block_8 -al 00C1D7 .SubCC1D7 -al 00C1D0 .CopySprites_Block_7 -al 00C1AF .CopySprites_Block_6 -al 00C19B .CopySprites_Block_5 -al 00C189 .CopySprites_Block_3 -al 00C17F .CopySprites_Block_4 -al 00C182 .CopySprites_Block_2 -al 00C1D6 .CopySprites_Block -al 00C166 .SubCC166 -al 00C150 .CopySprites -al 00C14E .InitSprites_1 -al 00C148 .WaitVBlankFrame2 -al 00C141 .UpdateGameState2_5 -al 00C135 .GameLoopEntry_4_Block -al 00C10A .UpdateGameState6 -al 00C0FA .UpdateGameState3_1 -al 00C0F3 .NmiHandler_Block_2 -al 00C138 .UpdateGameState2_4 -al 00C100 .UpdateGameState4 -al 00C103 .UpdateGameState5 -al 00C11A .NmiHandler_Block -al 00C126 .GameLoopEntry_4 -al 00C0D3 .GameStateUpdate -al 00C095 .NmiFrameUpdate2 -al 00C083 .NmiFrameUpdate -al 00C076 .NmiHandler -al 00C070 .GameLoopEntry_1 -al 00C06D .MainGameLoop -al 00C05E .InitAPU_3 -al 00C058 .InitAPU_1 -al 00C041 .ClearZeropage -al 00C024 .WaitVBlank2_1 -al 00C01E .WaitVBlank_1 -al 00C014 .Reset diff --git a/_wip/Lode Runner (U)/OVERVIEW.md b/_wip/Lode Runner (U)/OVERVIEW.md deleted file mode 100644 index 214e953..0000000 --- a/_wip/Lode Runner (U)/OVERVIEW.md +++ /dev/null @@ -1,57 +0,0 @@ -# Lode Runner (U) — Pass 1 Disassembly - -ROM: `_wip/Lode Runner (U)/Lode Runner (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 52.6% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 11,057 lines with 627 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). - - -## ROM Facts - -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `fab50c2e96710ca620710e719c72bbd2ef71cd854f8b2ae1348314bc10d421d9` | -| PRG SHA-256 | `9a52bea695d8ae2947341d9562927c00fd350a94d170cc9c2400fa5fd78e8613` | - -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) - -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C02C` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$FFF9` | lands in the vector-page padding — unused placeholder | - -## `copilot/` Contents - -| File | Purpose | -|------|---------| -| `Lode Runner (U).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 11,057 lines, 627 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | - -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. - -## Build - -```bash -cd "_wip/Lode Runner (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 11,057 lines of `prg.s`, 627 address-based `Label_` definitions, canonical audit comments; 52.6% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | - -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. diff --git a/_wip/Lode Runner (U)/copilot/Makefile b/_wip/Lode Runner (U)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Lode Runner (U)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Lode Runner (U)/copilot/linker.cfg b/_wip/Lode Runner (U)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Lode Runner (U)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Lode Runner (U)/copilot/reconstructed.lbl b/_wip/Lode Runner (U)/copilot/reconstructed.lbl deleted file mode 100644 index 0a8b1f2..0000000 --- a/_wip/Lode Runner (U)/copilot/reconstructed.lbl +++ /dev/null @@ -1,630 +0,0 @@ -al 00FFF9 .IrqHandler -al 00EA04 .Label_EA04 -al 00EA00 .Label_EA00 -al 00E9FE .Label_E9FE -al 00E9FC .Label_E9FC -al 00E9C5 .Label_E9C5 -al 00E9B8 .Label_E9B8 -al 00E9B2 .Label_E9B2 -al 00E9A9 .Label_E9A9 -al 00E99D .Label_E99D -al 00E9A0 .Label_E9A0 -al 00E998 .Label_E998 -al 00E98B .Label_E98B -al 00E98F .Label_E98F -al 00E983 .Label_E983 -al 00E97D .Label_E97D -al 00E95B .Label_E95B -al 00E94C .Label_E94C -al 00E944 .Label_E944 -al 00E937 .Label_E937 -al 00E92C .Label_E92C -al 00E921 .Label_E921 -al 00E913 .Label_E913 -al 00E90F .Label_E90F -al 00E904 .Label_E904 -al 00E8FB .Label_E8FB -al 00E8ED .Label_E8ED -al 00E8E1 .Label_E8E1 -al 00E8D8 .Label_E8D8 -al 00E8DA .Label_E8DA -al 00E8AD .Label_E8AD -al 00E8D5 .Label_E8D5 -al 00E897 .Label_E897 -al 00E89A .Label_E89A -al 00E88B .Label_E88B -al 00E889 .Label_E889 -al 00E886 .Label_E886 -al 00E883 .Label_E883 -al 00E877 .Label_E877 -al 00E870 .Label_E870 -al 00E86F .Label_E86F -al 00E869 .Label_E869 -al 00E84E .Label_E84E -al 00E844 .Label_E844 -al 00E839 .Label_E839 -al 00E82F .Label_E82F -al 00E819 .Label_E819 -al 00E81C .Label_E81C -al 00E814 .Label_E814 -al 00E83B .Label_E83B -al 00E80D .Label_E80D -al 00E7F3 .Label_E7F3 -al 00E7D8 .Label_E7D8 -al 00E7C7 .Label_E7C7 -al 00E7B8 .Label_E7B8 -al 00E7B2 .Label_E7B2 -al 00E79A .Label_E79A -al 00E795 .Label_E795 -al 00E791 .Label_E791 -al 00E789 .Label_E789 -al 00E77C .Label_E77C -al 00E773 .Label_E773 -al 00E76C .Label_E76C -al 00E75F .Label_E75F -al 00E75D .Label_E75D -al 00E743 .Label_E743 -al 00E720 .Label_E720 -al 00E70A .Label_E70A -al 00E6F4 .Label_E6F4 -al 00E718 .Label_E718 -al 00E702 .Label_E702 -al 00E724 .Label_E724 -al 00E753 .Label_E753 -al 00E749 .Label_E749 -al 00E73D .Label_E73D -al 00E733 .Label_E733 -al 00E6C5 .Label_E6C5 -al 00E6D2 .Label_E6D2 -al 00E6C1 .Label_E6C1 -al 00E6B7 .Label_E6B7 -al 00E6B0 .Label_E6B0 -al 00E6AA .Label_E6AA -al 00E6CD .Label_E6CD -al 00E6A6 .Label_E6A6 -al 00E69C .Label_E69C -al 00E695 .Label_E695 -al 00E690 .Label_E690 -al 00E664 .Label_E664 -al 00E2A2 .Label_E2A2 -al 00E28F .Label_E28F -al 00E271 .Label_E271 -al 00E270 .Label_E270 -al 00E25F .Label_E25F -al 00E258 .Label_E258 -al 00E242 .Label_E242 -al 00E226 .Label_E226 -al 00E22C .Label_E22C -al 00E21E .Label_E21E -al 00E218 .Label_E218 -al 00E22A .Label_E22A -al 00E212 .Label_E212 -al 00E20C .Label_E20C -al 00E222 .Label_E222 -al 00E206 .Label_E206 -al 00E1F6 .Label_E1F6 -al 00E1E2 .Label_E1E2 -al 00E1DB .Label_E1DB -al 00E1D4 .Label_E1D4 -al 00E1D2 .Label_E1D2 -al 00E1C8 .Label_E1C8 -al 00E1C5 .Label_E1C5 -al 00E1C6 .Label_E1C6 -al 00E1C2 .Label_E1C2 -al 00E1B6 .Label_E1B6 -al 00E1A2 .Label_E1A2 -al 00E1B4 .Label_E1B4 -al 00E192 .Label_E192 -al 00E189 .Label_E189 -al 00E172 .Label_E172 -al 00E16D .Label_E16D -al 00E163 .Label_E163 -al 00E15D .Label_E15D -al 00E136 .Label_E136 -al 00E124 .Label_E124 -al 00E171 .Label_E171 -al 00E0FB .Label_E0FB -al 00E0BC .Label_E0BC -al 00E09D .Label_E09D -al 00E06B .Label_E06B -al 00E05E .Label_E05E -al 00E045 .Label_E045 -al 00E038 .Label_E038 -al 00E015 .Label_E015 -al 00E00E .Label_E00E -al 00E008 .Label_E008 -al 00DFF8 .Label_DFF8 -al 00DFF0 .Label_DFF0 -al 00DFEE .Label_DFEE -al 00DFE5 .Label_DFE5 -al 00DFE1 .Label_DFE1 -al 00DFCB .Label_DFCB -al 00DFBF .Label_DFBF -al 00DFBD .Label_DFBD -al 00DFAD .Label_DFAD -al 00DF6B .Label_DF6B -al 00DF5D .Label_DF5D -al 00DF3C .Label_DF3C -al 00DF2D .Label_DF2D -al 00DF1F .Label_DF1F -al 00DF0C .Label_DF0C -al 00DF09 .Label_DF09 -al 00DF03 .Label_DF03 -al 00DEFC .Label_DEFC -al 00DEEF .Label_DEEF -al 00DEEB .Label_DEEB -al 00DEE2 .Label_DEE2 -al 00DEDC .Label_DEDC -al 00DED5 .Label_DED5 -al 00DED3 .Label_DED3 -al 00DEC6 .Label_DEC6 -al 00DEC0 .Label_DEC0 -al 00DEBA .Label_DEBA -al 00DEB5 .Label_DEB5 -al 00DE9F .Label_DE9F -al 00DD84 .Label_DD84 -al 00DD7A .Label_DD7A -al 00DD6F .Label_DD6F -al 00DD58 .Label_DD58 -al 00DD62 .Label_DD62 -al 00DD4F .Label_DD4F -al 00DD30 .Label_DD30 -al 00DD21 .Label_DD21 -al 00DCBC .Label_DCBC -al 00DCB1 .Label_DCB1 -al 00DC93 .Label_DC93 -al 00DC86 .Label_DC86 -al 00DC9E .Label_DC9E -al 00DC79 .Label_DC79 -al 00DC68 .Label_DC68 -al 00DC76 .Label_DC76 -al 00DC64 .Label_DC64 -al 00DC5F .Label_DC5F -al 00DC2A .Label_DC2A -al 00DC26 .Label_DC26 -al 00DC0F .Label_DC0F -al 00DC04 .Label_DC04 -al 00DC03 .Label_DC03 -al 00DBDE .Label_DBDE -al 00DBB8 .Label_DBB8 -al 00DBA1 .Label_DBA1 -al 00DB94 .Label_DB94 -al 00DB93 .Label_DB93 -al 00DB8C .Label_DB8C -al 00DB8F .Label_DB8F -al 00DB86 .Label_DB86 -al 00DB83 .Label_DB83 -al 00DB85 .Label_DB85 -al 00DB80 .Label_DB80 -al 00DB27 .Label_DB27 -al 00DB24 .Label_DB24 -al 00DB20 .Label_DB20 -al 00DB26 .Label_DB26 -al 00DAE4 .Label_DAE4 -al 00DAE0 .Label_DAE0 -al 00DAE6 .Label_DAE6 -al 00DAA8 .Label_DAA8 -al 00DAA2 .Label_DAA2 -al 00DA9C .Label_DA9C -al 00DA89 .Label_DA89 -al 00DA9F .Label_DA9F -al 00DA5E .Label_DA5E -al 00DA66 .Label_DA66 -al 00DA91 .Label_DA91 -al 00DA21 .Label_DA21 -al 00DA1D .Label_DA1D -al 00DA1A .Label_DA1A -al 00DA15 .Label_DA15 -al 00DA02 .Label_DA02 -al 00DA0C .Label_DA0C -al 00DA17 .Label_DA17 -al 00D9CE .Label_D9CE -al 00D9D8 .Label_D9D8 -al 00D9A0 .Label_D9A0 -al 00D99C .Label_D99C -al 00D999 .Label_D999 -al 00D990 .Label_D990 -al 00D97F .Label_D97F -al 00D987 .Label_D987 -al 00D970 .Label_D970 -al 00D96F .Label_D96F -al 00D94A .Label_D94A -al 00D91F .Label_D91F -al 00D91A .Label_D91A -al 00D8F5 .Label_D8F5 -al 00D8C4 .Label_D8C4 -al 00D8BE .Label_D8BE -al 00D899 .Label_D899 -al 00D8C3 .Label_D8C3 -al 00D868 .Label_D868 -al 00D844 .Label_D844 -al 00D84D .Label_D84D -al 00D813 .Label_D813 -al 00D7EB .Label_D7EB -al 00D81C .Label_D81C -al 00D7E3 .Label_D7E3 -al 00D7DA .Label_D7DA -al 00D7C2 .Label_D7C2 -al 00D748 .Label_D748 -al 00D5F0 .Label_D5F0 -al 00D5DC .Label_D5DC -al 00D5CA .Label_D5CA -al 00D5BB .Label_D5BB -al 00D5D5 .Label_D5D5 -al 00D59A .Label_D59A -al 00D587 .Label_D587 -al 00D56D .Label_D56D -al 00D571 .Label_D571 -al 00D574 .Label_D574 -al 00D53F .Label_D53F -al 00D505 .Label_D505 -al 00D53C .Label_D53C -al 00D4EB .Label_D4EB -al 00D4E1 .Label_D4E1 -al 00D4EE .Label_D4EE -al 00D4CD .Label_D4CD -al 00D4C1 .Label_D4C1 -al 00D4BC .Label_D4BC -al 00D4B1 .Label_D4B1 -al 00D4AC .Label_D4AC -al 00D4C0 .Label_D4C0 -al 00D49C .Label_D49C -al 00D46E .Label_D46E -al 00D46A .Label_D46A -al 00D462 .Label_D462 -al 00D440 .Label_D440 -al 00D45A .Label_D45A -al 00D477 .Label_D477 -al 00D470 .Label_D470 -al 00D41C .Label_D41C -al 00D415 .Label_D415 -al 00D476 .Label_D476 -al 00D404 .Label_D404 -al 00D40D .Label_D40D -al 00D3E4 .Label_D3E4 -al 00D3CE .Label_D3CE -al 00D3C7 .Label_D3C7 -al 00D3BA .Label_D3BA -al 00D401 .Label_D401 -al 00D3A5 .Label_D3A5 -al 00D3A3 .Label_D3A3 -al 00D389 .Label_D389 -al 00D38C .Label_D38C -al 00D37F .Label_D37F -al 00D379 .Label_D379 -al 00D359 .Label_D359 -al 00D351 .Label_D351 -al 00D33F .Label_D33F -al 00D349 .Label_D349 -al 00D361 .Label_D361 -al 00D346 .Label_D346 -al 00D320 .Label_D320 -al 00D31E .Label_D31E -al 00D30F .Label_D30F -al 00D30A .Label_D30A -al 00D305 .Label_D305 -al 00D2FA .Label_D2FA -al 00D2EF .Label_D2EF -al 00D2E9 .Label_D2E9 -al 00D2E3 .Label_D2E3 -al 00D2DA .Label_D2DA -al 00D2D0 .Label_D2D0 -al 00D2CA .Label_D2CA -al 00D2C4 .Label_D2C4 -al 00D2BB .Label_D2BB -al 00D2B1 .Label_D2B1 -al 00D2AA .Label_D2AA -al 00D295 .Label_D295 -al 00D2AB .Label_D2AB -al 00D291 .Label_D291 -al 00D288 .Label_D288 -al 00D27E .Label_D27E -al 00D27D .Label_D27D -al 00D263 .Label_D263 -al 00D23F .Label_D23F -al 00D239 .Label_D239 -al 00D238 .Label_D238 -al 00D233 .Label_D233 -al 00D226 .Label_D226 -al 00D225 .Label_D225 -al 00D220 .Label_D220 -al 00D213 .Label_D213 -al 00D202 .Label_D202 -al 00D207 .Label_D207 -al 00D1DA .Label_D1DA -al 00D1D1 .Label_D1D1 -al 00D1B7 .Label_D1B7 -al 00D1B5 .Label_D1B5 -al 00D1AD .Label_D1AD -al 00D1A2 .Label_D1A2 -al 00D18F .Label_D18F -al 00D176 .Label_D176 -al 00D146 .Label_D146 -al 00D135 .Label_D135 -al 00D153 .Label_D153 -al 00D118 .Label_D118 -al 00D0F5 .Label_D0F5 -al 00D0FB .Label_D0FB -al 00D0E4 .Label_D0E4 -al 00D097 .Label_D097 -al 00D096 .Label_D096 -al 00D075 .Label_D075 -al 00D06D .Label_D06D -al 00D070 .Label_D070 -al 00D067 .Label_D067 -al 00D056 .Label_D056 -al 00D055 .Label_D055 -al 00D02B .Label_D02B -al 00D023 .Label_D023 -al 00D02A .Label_D02A -al 00CFDF .Label_CFDF -al 00CFDE .Label_CFDE -al 00CFD8 .Label_CFD8 -al 00CFC8 .Label_CFC8 -al 00CFBC .Label_CFBC -al 00CFBF .Label_CFBF -al 00CFB1 .Label_CFB1 -al 00CFA5 .Label_CFA5 -al 00CFAB .Label_CFAB -al 00CF6D .Label_CF6D -al 00CF6F .Label_CF6F -al 00CF63 .Label_CF63 -al 00CF8B .Label_CF8B -al 00CF29 .Label_CF29 -al 00CF21 .Label_CF21 -al 00CF1E .Label_CF1E -al 00CF12 .Label_CF12 -al 00CF18 .Label_CF18 -al 00CEDA .Label_CEDA -al 00CEDC .Label_CEDC -al 00CED0 .Label_CED0 -al 00CEF8 .Label_CEF8 -al 00CE98 .Label_CE98 -al 00CE90 .Label_CE90 -al 00CE8D .Label_CE8D -al 00CE74 .Label_CE74 -al 00CE8A .Label_CE8A -al 00CE58 .Label_CE58 -al 00CE5A .Label_CE5A -al 00CE37 .Label_CE37 -al 00CE28 .Label_CE28 -al 00CE11 .Label_CE11 -al 00CE25 .Label_CE25 -al 00CDFB .Label_CDFB -al 00CDD6 .Label_CDD6 -al 00CDD8 .Label_CDD8 -al 00CDB6 .Label_CDB6 -al 00CDB0 .Label_CDB0 -al 00CDA9 .Label_CDA9 -al 00CD98 .Label_CD98 -al 00CD86 .Label_CD86 -al 00CD95 .Label_CD95 -al 00CD6C .Label_CD6C -al 00CD6D .Label_CD6D -al 00CD4C .Label_CD4C -al 00CD46 .Label_CD46 -al 00CD3F .Label_CD3F -al 00CD2E .Label_CD2E -al 00CD1C .Label_CD1C -al 00CD2B .Label_CD2B -al 00CD06 .Label_CD06 -al 00CD07 .Label_CD07 -al 00CCE8 .Label_CCE8 -al 00CCE7 .Label_CCE7 -al 00CCD0 .Label_CCD0 -al 00CCD1 .Label_CCD1 -al 00CCC2 .Label_CCC2 -al 00CCBA .Label_CCBA -al 00CCA7 .Label_CCA7 -al 00CC9C .Label_CC9C -al 00CCB2 .Label_CCB2 -al 00CC91 .Label_CC91 -al 00CC75 .Label_CC75 -al 00CC7D .Label_CC7D -al 00CC64 .Label_CC64 -al 00CC52 .Label_CC52 -al 00CC3F .Label_CC3F -al 00CC23 .Label_CC23 -al 00CC06 .Label_CC06 -al 00CBD1 .Label_CBD1 -al 00CC03 .Label_CC03 -al 00CBB7 .Label_CBB7 -al 00CBBA .Label_CBBA -al 00CBAA .Label_CBAA -al 00CBA3 .Label_CBA3 -al 00CB9F .Label_CB9F -al 00CB8C .Label_CB8C -al 00CB8B .Label_CB8B -al 00CB6C .Label_CB6C -al 00CB7A .Label_CB7A -al 00CB7F .Label_CB7F -al 00CB84 .Label_CB84 -al 00CB46 .Label_CB46 -al 00CB42 .Label_CB42 -al 00CB22 .Label_CB22 -al 00CB00 .Label_CB00 -al 00CB08 .Label_CB08 -al 00CAD2 .Label_CAD2 -al 00CACF .Label_CACF -al 00CACA .Label_CACA -al 00CAC1 .Label_CAC1 -al 00CAB2 .Label_CAB2 -al 00CA9F .Label_CA9F -al 00CA9C .Label_CA9C -al 00CA7C .Label_CA7C -al 00CA57 .Label_CA57 -al 00CA35 .Label_CA35 -al 00CA2F .Label_CA2F -al 00CA2E .Label_CA2E -al 00CA26 .Label_CA26 -al 00CA28 .Label_CA28 -al 00CA22 .Label_CA22 -al 00CA1C .Label_CA1C -al 00CA01 .Label_CA01 -al 00C9FB .Label_C9FB -al 00CA15 .Label_CA15 -al 00C9DA .Label_C9DA -al 00CA16 .Label_CA16 -al 00C99E .Label_C99E -al 00C994 .Label_C994 -al 00C990 .Label_C990 -al 00C97B .Label_C97B -al 00C971 .Label_C971 -al 00C960 .Label_C960 -al 00C953 .Label_C953 -al 00C94B .Label_C94B -al 00C94A .Label_C94A -al 00C937 .Label_C937 -al 00C93B .Label_C93B -al 00C923 .Label_C923 -al 00C8F8 .Label_C8F8 -al 00C8EC .Label_C8EC -al 00C8F2 .Label_C8F2 -al 00C8D4 .Label_C8D4 -al 00C8CD .Label_C8CD -al 00C8BF .Label_C8BF -al 00C8B7 .Label_C8B7 -al 00C88F .Label_C88F -al 00C877 .Label_C877 -al 00C87B .Label_C87B -al 00C86F .Label_C86F -al 00C860 .Label_C860 -al 00C855 .Label_C855 -al 00C852 .Label_C852 -al 00C84E .Label_C84E -al 00C848 .Label_C848 -al 00C844 .Label_C844 -al 00C837 .Label_C837 -al 00C82F .Label_C82F -al 00C81D .Label_C81D -al 00C81C .Label_C81C -al 00C80B .Label_C80B -al 00C802 .Label_C802 -al 00C7FE .Label_C7FE -al 00C7D1 .Label_C7D1 -al 00C7CC .Label_C7CC -al 00C7BA .Label_C7BA -al 00C7AF .Label_C7AF -al 00C7B7 .Label_C7B7 -al 00C7A0 .Label_C7A0 -al 00C78F .Label_C78F -al 00C771 .Label_C771 -al 00C76A .Label_C76A -al 00C758 .Label_C758 -al 00C74F .Label_C74F -al 00C7C1 .Label_C7C1 -al 00C741 .Label_C741 -al 00C74D .Label_C74D -al 00C767 .Label_C767 -al 00C785 .Label_C785 -al 00C79E .Label_C79E -al 00C725 .Label_C725 -al 00C721 .Label_C721 -al 00C711 .Label_C711 -al 00C66B .Label_C66B -al 00C663 .Label_C663 -al 00C641 .Label_C641 -al 00C63B .Label_C63B -al 00C636 .Label_C636 -al 00C61F .Label_C61F -al 00C61C .Label_C61C -al 00C601 .Label_C601 -al 00C5FE .Label_C5FE -al 00C5F9 .Label_C5F9 -al 00C5EF .Label_C5EF -al 00C5CA .Label_C5CA -al 00C5B2 .Label_C5B2 -al 00C5C7 .Label_C5C7 -al 00C5A1 .Label_C5A1 -al 00C591 .Label_C591 -al 00C594 .Label_C594 -al 00C577 .Label_C577 -al 00C563 .Label_C563 -al 00C570 .Label_C570 -al 00C54B .Label_C54B -al 00C53F .Label_C53F -al 00C5A6 .Label_C5A6 -al 00C52D .Label_C52D -al 00C516 .Label_C516 -al 00C51E .Label_C51E -al 00C507 .Label_C507 -al 00C4F5 .Label_C4F5 -al 00C4F2 .Label_C4F2 -al 00C4FD .Label_C4FD -al 00C560 .Label_C560 -al 00C50B .Label_C50B -al 00C4EA .Label_C4EA -al 00C4D3 .Label_C4D3 -al 00C4CA .Label_C4CA -al 00C4BA .Label_C4BA -al 00C4A1 .Label_C4A1 -al 00C48C .Label_C48C -al 00C491 .Label_C491 -al 00C47C .Label_C47C -al 00C4B7 .Label_C4B7 -al 00C46B .Label_C46B -al 00C451 .Label_C451 -al 00C437 .Label_C437 -al 00C4AD .Label_C4AD -al 00C42D .Label_C42D -al 00C427 .Label_C427 -al 00C42A .Label_C42A -al 00C419 .Label_C419 -al 00C40A .Label_C40A -al 00C3E3 .Label_C3E3 -al 00C3DB .Label_C3DB -al 00C3F2 .Label_C3F2 -al 00C3C9 .Label_C3C9 -al 00C3BF .Label_C3BF -al 00C3A6 .Label_C3A6 -al 00C2E5 .Label_C2E5 -al 00C2DC .Label_C2DC -al 00C2D6 .Label_C2D6 -al 00C2D0 .Label_C2D0 -al 00C2C6 .Label_C2C6 -al 00C2C2 .Label_C2C2 -al 00C2BC .Label_C2BC -al 00C2CA .Label_C2CA -al 00C2B3 .Label_C2B3 -al 00C2AD .Label_C2AD -al 00C2A8 .Label_C2A8 -al 00C2A2 .Label_C2A2 -al 00C298 .Label_C298 -al 00C292 .Label_C292 -al 00C28F .Label_C28F -al 00C28C .Label_C28C -al 00C287 .Label_C287 -al 00C27C .Label_C27C -al 00C274 .Label_C274 -al 00C26E .Label_C26E -al 00C25F .Label_C25F -al 00C24D .Label_C24D -al 00C214 .Label_C214 -al 00C212 .Label_C212 -al 00C20D .Label_C20D -al 00C1FF .Label_C1FF -al 00C1EE .Label_C1EE -al 00C1E1 .Label_C1E1 -al 00C1D7 .Label_C1D7 -al 00C18E .Label_C18E -al 00C178 .Label_C178 -al 00C143 .Label_C143 -al 00C16E .Label_C16E -al 00C12D .Label_C12D -al 00C119 .Label_C119 -al 00C123 .Label_C123 -al 00C0E4 .Label_C0E4 -al 00C127 .Label_C127 -al 00C0BF .Label_C0BF -al 00C0D1 .Label_C0D1 -al 00C0A4 .Label_C0A4 -al 00C07B .Label_C07B -al 00C043 .Label_C043 -al 00C050 .Label_C050 -al 00C02C .NmiHandler -al 00C01B .Label_C01B -al 00C012 .Label_C012 -al 00C00E .Label_C00E -al 00C006 .Label_C006 -al 00C00A .Label_C00A -al 00C000 .Reset diff --git a/_wip/Mario Bros (JU)/OVERVIEW.md b/_wip/Mario Bros (JU)/OVERVIEW.md index bdf9bd4..a754262 100644 --- a/_wip/Mario Bros (JU)/OVERVIEW.md +++ b/_wip/Mario Bros (JU)/OVERVIEW.md @@ -1,178 +1,293 @@ -# Mario Bros (JU) — Pass 1 Disassembly (Pass 2 substantial) +# Mario Bros (JU) — Game Flow from Power-On -ROM: `_wip/Mario Bros (JU)/Mario Bros (JU).nes` (24,592 bytes, iNES). Status: **Pass 1 complete (72.2% code); Pass 2 substantial.** `copilot/prg.s` is a real disassembly, not a skeleton: 15,480 lines with 667 address-based `Label_` definitions (the 262 call entry points are named; the remainder are internal branch targets) and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Mario Bros (JU) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C000 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `2810051c21132abd8b9b1e1bf741b302ee6c1d4af983e0df7fe50bd05ac0a5c8` | -| PRG SHA-256 | `699ae2908486fce5a0fffdd051285e1144021f616d9af88eb511f319539acce1` | +**`Reset`** ($C000–$C06A) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +On power-on or reset, the 6502 jumps to `$C000`. The reset routine performs cold-start hardware initialization: -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C07D` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$C000` | redirects to RESET — unused placeholder | +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `cld` / `sei` | Clear decimal mode, disable interrupts | +| 3–6 | `WaitVblank1` ($C002): poll `$2002` via `bpl *-3` | Wait for first VBlank (PPU warm-up) | +| 7–8 | `ldx #$00` / `txs` | Initialize stack pointer to $01FF | +| 9–10 | `ldx Zp70` / `ldy #$06` / `sty Zp01` / `ldy #$00` / `sty Zp00` | Zp00/Zp01 = $0600 (RAM clear pointer); X = Zp70 ($70) | +| 11–15 | `ClearRamPageLoop` ($C01D): clear RAM via (Zp00),Y | Clear 6 pages ($0000–$05FF); dec Zp01 loops pages | +| 16 | `txa` / `bne Label_C02B` | If Zp70 was non-zero, skip full clear | +| 17 | `ldx #$5F` | Alternate init value for warm start | +| 18 | `stx $0500` | Store signature at $0500 | +| 19 | `jsr SubCCA1B` / `jsr SubCCA2B` | Initialize game systems | +| 20 | `ldy #$00` / `sta $2005` ×2 | PPUSCROLL = 0,0 | +| 21 | `iny` / `sty Zp30` | Zp30 ($30) = 1 | +| 22 | `lda #$0F` / `sta $4015` | Enable all APU channels | +| 23 | `lda #$90` / `sta $2000` / `sta Zp09` | PPUCTRL: NMI on, sprite $0000, BG $1000 + shadow in Zp09 | +| 24 | `lda #$06` / `sta Zp0A` | Zp0A ($0A) = $06 | -## `copilot/` Contents +**Warm-start signature:** Byte at `$0500` survives RAM clear via Zp70 ($70). On soft reset, if non-zero, the game clears only 6 pages instead of 7 and uses X=$5F. -| File | Purpose | -|------|---------| -| `Mario Bros (JU).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 15,480 lines, 667 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | 151 neutral `ZpXX` zero-page aliases (Pass 2 has not assigned semantic names) | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +--- -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. - -## Build - -```bash -cd "_wip/Mario Bros (JU)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | Description | -|------|--------|-------------| -| Pass 0 | Superseded | `prg.s` was a 12-line `.incbin` of the whole PRG — no disassembly at all | -| Pass 1 | **Complete** | 5,735 instructions / **11,829 code bytes (72.2%)** / 4,555 data bytes. Byte accounting exact: 11,800 + 4,584 = 16,384. 937 labels, 937 routine headers | -| Pass 2 | **Substantial** | **262 call entry points named** (all `jsr`/`jmp` targets resolved from raw `$XXXX` to labels): **39 semantic names** (audio/sound engine, gameplay helpers) + **223 address-based `SubCxxxx` names** for the remainder. **667 `Label_Cxxxx` internal branch targets remain** — these are local control-flow targets (loop starts, branch destinations) within routines, not subroutine entry points, and do not need semantic names for the call graph to be readable. Zero raw `$XXXX` call operands remain. | -| Pass 3 | Outstanding | Data regions inside the 4,555 unreached bytes need naming | - -### How Pass 1 got to 72.2% - -| Step | Instructions | Code | -|------|--------------|------| -| Vectors + direct `jsr`/`jmp`/branch, official opcodes | 1,185 | 2,392 B (14.6%) | -| `--undocumented` (105 extra NMOS opcodes) | 1,210 | 2,445 B (14.9%) | -| `--auto-seed` (recovered 61 table-referenced entries) | 4,187 | 8,375 B (51.1%) | -| `--extra-seed 0xC0B6,0xC5A3` | **5,735** | **11,829 B (72.2%)** | - -A plain vector trace reaches only 14.6% because almost all of this game sits -behind computed dispatch. - -### The dispatch mechanisms - -**1. Function-pointer tables, dispatched through the stack.** `$CD9E` is the -single choke point: +## 2. Post-Reset Initialization — `SubCC04F` ($C04F) onward ``` -$CDA1 pla / sta $14 ; pop the table address the caller pushed -$CDA4 pla / sta $15 -$CDA7 lda ($14),y / tax ; read the entry, indexed by A*2 -$CDAB lda ($14),y / sta $15 -$CDB1 jmp ($0014) ; and jump to it +SubCC04F ($C04F): + lda #$00 / sta Zp20 ($20) + lda Zp30 ($30) + beq Label_C05D ; if 0: jsr SubCF8A7 + lda Zp50 ($50) + cmp #$01 / bne Label_C060 ; if 1: jsr SubCF8A7 +Label_C060: + jsr SubCCD88 ; title/init + jsr SubCC4B8 ; gameplay init + lda #$01 / sta Zp22 ($22) ; NMI phase flag = 1 (gameplay) ``` -The table pointer arrives via `pla`, not `lda`, so it cannot be followed -statically from the dispatcher — the pushed value is only known in the caller's -frame. This is why `INDIRECT: [('0xcdb1', '0x14')]` is reported and left -unfollowed. +Then falls through to main loop entry. -**2. A 20-entry table of `JSR` thunks at `$C5A3`.** Probing it linearly yields -twenty valid `jsr`s followed by `rts`: +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C07D | `NmiHandler` | +| RESET | $C000 | `Reset` | +| IRQ | $C000 | `Reset` (reused — unused placeholder) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C07D) + +The NMI fires once per frame and implements a two-phase structure controlled by **Zp22** ($22): ``` -$C5A3 jsr $D56E / jsr $D202 / jsr $D301 / jsr $C5DB / jsr $C66A / jsr $E783 ... +NmiHandler ($C07D): + pha / txa / pha / tya / pha ; preserve A,X,Y + lda #$00 / sta $2003 (OAMADDR) + lda #$02 / sta $4014 (OAMDMA) ; sprite DMA from $0200 + lda Zp22 ($22) + beq Label_C0AC ; phase 0: minimal + jsr SubCCB58 ; gameplay update 1 + jsr SubCEE6A ; gameplay update 2 + jsr SubCCCFF ; gameplay update 3 + jsr SubCCA66 ; gameplay update 4 + jsr SubCCE09 ; gameplay update 5 + jsr SubCCCC5 ; gameplay update 6 + jsr SubCCAF7 ; gameplay update 7 + ldy #$01 / sty Zp20 ($20) ; main loop flag = 1 + dey / sty Zp42 ($42) ; Zp42 = 0 +Label_C0AC: + lda #$01 / sta Zp23 ($23) ; NMI done flag + pla / tay / pla / tax / pla / rti ; restore, return ``` -Seeding `$C5A3` pulls in all twenty targets at once, which is most of the jump -from 51% to 72%. +**Phase 0 (Zp22=0):** Title/attract — only OAM DMA, no game logic. +**Phase 1 (Zp22=1):** Gameplay — 7 gameplay update calls, sets main loop flag Zp20=1. -**3. The NMI phase dispatcher at `$C0B6`**, reached only by computed dispatch: +--- + +## 5. NMI Phase Dispatcher — `NmiPhaseDispatch` ($C0B6) + +Called from main loop to synchronize with NMI: ``` -$C0B6 lda $B0 / beq $C0BF -$C0BA lda $0320 / bne $C0C2 -$C0BF jmp $C149 +NmiPhaseDispatch ($C0B6): + lda ZpB0 ($B0) + beq Label_C0BF ; if 0: jmp NmiPhaseHandlerA + lda $0320 / bne Label_C0C2 ; check $0320 +Label_C0BF: + jmp NmiPhaseHandlerA ; $C149 +Label_C0C2: + lda #$20 / sta Zp14 ($14) + lda #$03 / sta Zp15 ($15) + lda #$01 / sta Zp11 ($11) + ldy #$0B / ldx #$08 / jsr SubCC44A + sta $05F7 / ora #$00 / beq NmiPhaseHandlerA + lda ZpC6 / ora $0336 / beq Label_C0F3 + ... ``` -Seeding `$C0B6` recovered 677 bytes that the vector trace could not see. +**ZpB0** ($B0) = NMI phase (0=title, non-zero=gameplay). +**$0320** = Additional state check. -### Tracer fixes required to get there +--- -Two overlapping-decode bugs had to be fixed in `_tools/nesdis.py` first: +## 6. Main Game Loop -* **Control-flow targets must win over fall-through.** `bne` at `$C4BA` targets - `$C528`, but the fall-through path had decoded `$C527` as a 2-byte - `NOP #$A5` whose operand swallowed `$C528`. No real assembler branches into - the middle of an instruction, so the spanning decode is now dropped in favour - of the target. Its bytes fall out as data, so byte accounting is unaffected. -* **Branch targets inside a surviving instruction must be pruned.** Otherwise - `emit_code`'s linear walk consumes those bytes as an operand, the label is - referenced but never defined, and **the file does not assemble at all** — - `Error: Symbol 'Label_C528' is undefined`. +The main loop runs in the main thread, synchronized with NMI via Zp20/Zp22/Zp23: -Neither change affects any already-regen-stable project; MUSCLE's `make regen` -was re-checked and still reproduces `prg.s` byte-for-byte. +``` +Main Loop (entry via SubCC06A / SubCC06D area): + ; Wait for NMI to set Zp20=1 (frame complete) + ; Process game logic + ; Clear Zp22 (NMI phase) for next frame + ; Loop +``` -### Known remaining gaps +Key synchronization points: +- **Zp20** ($20): Set to 1 by NMI phase 1; main loop waits for this +- **Zp22** ($22): NMI phase flag (set to 1 by reset init, cleared by main loop) +- **Zp23** ($23): NMI completion flag -* The tracer still reports `INVALID: ['0xc5a7']` and three overlaps - (`$C528`, `$C5A2`, `$C5A4`). The overlaps are now resolved in favour of the - control-flow target, so they are diagnostics rather than defects, but the - `$C5A2`/`$C5A4` pair means the alignment between the `D4`-padding run and the - `$C5A3` thunk table is not fully settled. -* 4,555 bytes (27.8%) are still data. Reaching more needs the tables that the - stack dispatcher at `$CD9E` reads, which means resolving the pushed addresses - in the callers' frames — that is Pass 2/3 work, not more seeding. +--- -### Pass 2 so far, and why it is partial +## 7. Key Subsystems -Two mechanical wins came first: +### 7.1 Gameplay Update Chain (NMI Phase 1) +Seven sequential calls from NMI: +1. `SubCCB58` ($CB58) — Player/enemy physics +2. `SubCEE6A` ($EE6A) — Collision detection +3. `SubCCCFF` ($CCFF) — Platform/pipe logic +4. `SubCCA66` ($CA66) — Sprite animation +5. `SubCCE09` ($CE09) — Bonus/coin logic +6. `SubCCCC5` ($CCC5) — Score/HUD update +7. `SubCCAF7` ($CAF7) — Audio trigger -* **478 `jsr`/`jmp` operands rewritten from raw `$XXXX` to labels.** The tracer - emits call and jump targets as hex, so the call graph was unreadable — the - most-called routine appeared as `jsr $CCA0` 14 times. All 478 sites now name - their target, and zero raw hex call operands remain. -* **262 call entry points named:** **39 with semantic names** (audio/sound - engine routines in `$F8xx-$F9xx`, gameplay helpers like `CheckZpB3Return`, - `CheckRangeReturn012`, `ToggleZpFC_Bit3`) + **223 with address-based names** - (`SubCxxxx`) for the remainder. All 262 distinct `jsr`/`jmp` targets now - resolve to labels. (These counts were re-verified against `prg.s` on - 2026-10-19; the earlier "477 / 252 / 90 / 165" did not match the file.) +### 7.2 Audio Engine — `$F800+` region +- `SubCF8A7` ($F8A7): Audio init (called from reset) +- `SubCCD88` ($CD88): Title music +- `SubCC4B8` ($C4B8): Gameplay music +- APU registers at $4000–$4013, frame counter at $4017 -**667 `Label_Cxxxx` internal branch targets remain**, and that is the honest -state. These are local control-flow destinations (loop starts, conditional -branch targets) within routines — not subroutine entry points. Naming them -requires reading ~5,700 instructions across 935 routines to establish what each -one does; doing it from the call graph and the NES convention alone would be -guesswork, and `PROMPTS.md` explicitly forbids skipping ahead to guessy rewrites. +### 7.3 Stack-Based Dispatch — `$CDB1` (`jmp ($0014)`) +Indirect jump through ZP pointer at $0014. The target address is pushed on stack by callers — cannot be followed statically. This is the main dispatch mechanism for 27.8% of unreached code. -The productive next step is not more naming but **more reach**: the 4,555 -unreached bytes are where most of the remaining unnamed routines live, and they -are gated behind the stack-pointer dispatch at `$CD9E`. Resolving the pushed -table addresses would enlarge both the code set and the set of names worth -assigning. +### 7.4 JSR Thunk Table — `$C5A3` +20-entry table of `jsr`/`rts` pairs. Seeding this recovered major code blocks. -## Next Steps +### 7.5 Controller Input +Read via `$4016` strobe/shift in NMI or main loop. Button state stored in ZP ($10–$15 area). -1. **Pass 1** — complete (72.2% code, byte accounting exact). -2. **Pass 2** — substantial: all 262 call entry points named; 667 internal - branch labels (`Label_Cxxxx`) remain as local control-flow targets. Filling - `locals.inc` with semantic zero-page aliases is optional at this stage (151 - neutral `ZpXX` aliases are present). -3. **Pass 3** — name data tables/structures in the 4,555 unreached bytes; release - provisional flags. -4. **Promotion** — move to a top-level `/copilot/` folder, add full-ROM build - (header.s + chr.s + vectors), and write the power-on flow `OVERVIEW.md` in the - established style; then it joins the root index's numbered inventory. +--- -**Still owed:** this file was retitled and restatused in the 2026-10-19 doc-drift -sweep to match the actual `prg.s`; the power-on flow analysis the top-level -`OVERVIEW.md`s carry is still to be written here. +## 8. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00–$01 | `Zp00`/`Zp01` | 16-bit pointer (RAM clear) | +| $09 | `Zp09` | PPUCTRL shadow ($90) | +| $0A | `Zp0A` | Init constant ($06) | +| $10 | `Zp10` | PPUCTRL working copy | +| $11 | `Zp11` | State flag | +| $14–$15 | `Zp14`/`Zp15` | NMI dispatch parameters | +| $20 | `Zp20` | Main loop sync flag (set by NMI) | +| $22 | `Zp22` | NMI phase (0=title, 1=gameplay) | +| $23 | `Zp23` | NMI done flag | +| $30 | `Zp30` | Reset signature check result | +| $42 | `Zp42` | Cleared by NMI phase 1 | +| $50 | `Zp50` | Game mode (0=title, 1=gameplay) | +| $70 | `Zp70` | Warm-start signature ($0500) | +| $B0 | `ZpB0` | NMI phase dispatch selector | +| $B1 | `ZpB1` | Heavily used (88 refs) — gameplay state | +| $B2–$BF | `ZpB2`–`ZpBF` | Object positions, velocities, timers | +| $C0–$CF | `ZpC0`–`ZpCF` | Enemy/bonus state arrays | +| $F0–$FF | `ZpF0`–`ZpFF` | Audio engine ZP | +| $0200 | OAM buffer | Sprite DMA source | +| $0300+ | Game state | Platforms, pipes, enemies, bonuses | +| $0500 | Warm-start signature | Must match Zp70 for warm start | + +--- + +## 9. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| JSR Thunk Table | $C5A3 | 20 entries of `jsr target` / `rts` | +| Stack Dispatch Targets | (dynamic) | Pushed on stack, jumped via `jmp ($0014)` at $CDB1 | +| Audio Sequences | $F800+ | Music/sound data | +| Level Layout | $0300+ | Platform positions, pipe connections | + +--- + +## 10. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C000) ────► cld/sei, wait VBlank, stack=$FF + │ + ├─ Check Zp70 ($70) warm-start signature at $0500 + │ ├─ Zero: Clear 7 pages ($0000–$06FF), X=$00 + │ └─ Non-zero: Clear 6 pages ($0000–$05FF), X=$5F + │ + ├─ stx $0500 (signature) + ├─ jsr SubCCA1B, SubCCA2B (system init) + ├─ PPUSCROLL = 0,0 + ├─ Zp30 = 1 + ├─ APU enable ($4015=$0F) + ├─ PPUCTRL = $90 (NMI on) → Zp09 + ├─ Zp0A = $06 + │ + ▼ +SubCC04F ($C04F) ──► Zp20=0 + │ + ├─ Zp30=0 or Zp50=1 → jsr SubCF8A7 (audio init) + │ + └─ jsr SubCCD88, SubCC4B8 (title/gameplay init) + lda #$01 / sta Zp22 (NMI phase = gameplay) + │ + ▼ (fall through to main loop) + +Main Loop ────────────────────────────────────────────────────┐ + │ │ + ├─ Wait for Zp20=1 (set by NMI phase 1) │ + ├─ Process frame logic │ + ├─ Call NmiPhaseDispatch ($C0B6) │ + │ ZpB0=0 → NmiPhaseHandlerA ($C149) │ + │ ZpB0≠0 → check $0320, setup Zp14/15/11, jsr SubCC44A │ + ├─ Clear Zp22 (NMI phase) for next frame │ + └─ Loop │ + +NMI ($C07D) [once per frame] + ├─ Preserve A,X,Y + ├─ OAM DMA ($4014 from $0200) + ├─ lda Zp22 + │ ├─ =0 (Title): Label_C0AC → set Zp23=1, rti + │ └─ =1 (Gameplay): + │ jsr SubCCB58 (physics) + │ jsr SubCEE6A (collision) + │ jsr SubCCCFF (platforms) + │ jsr SubCCA66 (sprites) + │ jsr SubCCE09 (bonus) + │ jsr SubCCCC5 (HUD) + │ jsr SubCCAF7 (audio trigger) + │ ldy #$01 / sty Zp20 (signal main loop) + │ dey / sty Zp42 (=0) + ├─ lda #$01 / sta Zp23 (NMI done) + └─ Restore A,X,Y, rti +``` + +--- + +## 11. Naming and Residue + +**Pass 1 complete** — 5,735 instructions / 11,829 code bytes (72.2%), byte accounting exact. 937 labels, 937 routine headers. Reached via: +- Vectors + direct `jsr`/`jmp`/branch, official opcodes: 1,185 instr (14.6%) +- `--undocumented` (105 extra NMOS opcodes): 1,210 instr (14.9%) +- `--auto-seed` (61 table-referenced entries): 4,187 instr (51.1%) +- `--extra-seed 0xC0B6,0xC5A3`: 5,735 instr (72.2%) + +**Pass 2 substantial** — **262 call entry points named** (verified 2026-10-19): +- **39 semantic names**: Audio routines in `$F8xx-$F9xx`, gameplay helpers (`CheckZpB3Return`, `CheckRangeReturn012`, `ToggleZpFC_Bit3`) +- **223 `SubC` address-based names** for remaining `jsr`/`jmp` targets +- **667 `Label_Cxxxx` internal branch targets remain** — local control-flow targets within routines +- Zero raw `$XXXX` call operands remain (all 478 `jsr`/`jmp` sites resolved to labels) + +**Pass 3 outstanding** — Data regions in 4,555 unreached bytes need naming; 151 neutral `ZpXX` aliases in `locals.inc`. + +**Indirect dispatch** (not followed statically): `jmp ($0014)` at $CDB1 — table pointer arrives via `pla`, only knowable in caller's frame. + +**Tracer fixes required** (in `_tools/nesdis.py`): +- Control-flow targets win over fall-through (fixed `bne` at $C4BA targeting $C528 vs fall-through `NOP #$A5` at $C527) +- Branch targets inside surviving instruction must be pruned (otherwise `Label_C528` undefined) + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Millipede (U)/OVERVIEW.md b/_wip/Millipede (U)/OVERVIEW.md deleted file mode 100644 index f67d99a..0000000 --- a/_wip/Millipede (U)/OVERVIEW.md +++ /dev/null @@ -1,57 +0,0 @@ -# Millipede (U) — Pass 1 Disassembly - -ROM: `_wip/Millipede (U)/Millipede (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 74.6% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 14,744 lines with 839 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). - - -## ROM Facts - -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `627c0573e7d9fe306369f184ef0258950be43b6b530e668c6e840ed6c416c52f` | -| PRG SHA-256 | `1dab22d522b86ce73dd2214447f734188907f7c3b4c7d54da2c6bb2f80daf9bb` | - -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) - -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C7F1` | per-frame heartbeat | -| RESET | `$C735` | enters at $C735 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | -| IRQ | `$FFF0` | lands in the vector-page padding — unused placeholder | - -## `copilot/` Contents - -| File | Purpose | -|------|---------| -| `Millipede (U).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 14,744 lines, 839 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | - -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. - -## Build - -```bash -cd "_wip/Millipede (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 14,744 lines of `prg.s`, 839 address-based `Label_` definitions, canonical audit comments; 74.6% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | - -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. diff --git a/_wip/Millipede (U)/copilot/Makefile b/_wip/Millipede (U)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Millipede (U)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Millipede (U)/copilot/linker.cfg b/_wip/Millipede (U)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Millipede (U)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Millipede (U)/copilot/reconstructed.lbl b/_wip/Millipede (U)/copilot/reconstructed.lbl deleted file mode 100644 index b150281..0000000 --- a/_wip/Millipede (U)/copilot/reconstructed.lbl +++ /dev/null @@ -1,841 +0,0 @@ -al 00FE5A .Label_FE5A -al 00FE53 .Label_FE53 -al 00FE60 .Label_FE60 -al 00FE28 .Label_FE28 -al 00FE0E .Label_FE0E -al 00FE33 .Label_FE33 -al 00FDEF .Label_FDEF -al 00FDDF .Label_FDDF -al 00FDBD .Label_FDBD -al 00FDB3 .Label_FDB3 -al 00FD9A .Label_FD9A -al 00FDCC .Label_FDCC -al 00FD86 .Label_FD86 -al 00FD47 .Label_FD47 -al 00FD31 .Label_FD31 -al 00FD3C .Label_FD3C -al 00FD0C .Label_FD0C -al 00FCEF .Label_FCEF -al 00FD07 .Label_FD07 -al 00FCEA .Label_FCEA -al 00FD39 .Label_FD39 -al 00FCDB .Label_FCDB -al 00FCB8 .Label_FCB8 -al 00FCA6 .Label_FCA6 -al 00FCA0 .Label_FCA0 -al 00FC86 .Label_FC86 -al 00FC7B .Label_FC7B -al 00FC77 .Label_FC77 -al 00FC64 .Label_FC64 -al 00FC59 .Label_FC59 -al 00FC49 .Label_FC49 -al 00FC31 .Label_FC31 -al 00FC2E .Label_FC2E -al 00FC55 .Label_FC55 -al 00FC62 .Label_FC62 -al 00FC82 .Label_FC82 -al 00FC34 .Label_FC34 -al 00FC45 .Label_FC45 -al 00FBF8 .Label_FBF8 -al 00FBF5 .Label_FBF5 -al 00FBF2 .Label_FBF2 -al 00FBEF .Label_FBEF -al 00FC2D .Label_FC2D -al 00FBE8 .Label_FBE8 -al 00FBDB .Label_FBDB -al 00FBBB .Label_FBBB -al 00FBC3 .Label_FBC3 -al 00FBB5 .Label_FBB5 -al 00FBB3 .Label_FBB3 -al 00FBDD .Label_FBDD -al 00FBB0 .Label_FBB0 -al 00FBAC .Label_FBAC -al 00FB90 .Label_FB90 -al 00FB87 .Label_FB87 -al 00FB94 .Label_FB94 -al 00FB7F .Label_FB7F -al 00FB71 .Label_FB71 -al 00FB6B .Label_FB6B -al 00FB5A .Label_FB5A -al 00FB4B .Label_FB4B -al 00FB37 .Label_FB37 -al 00FB07 .Label_FB07 -al 00FAE6 .Label_FAE6 -al 00FB25 .Label_FB25 -al 00FB18 .Label_FB18 -al 00FAFB .Label_FAFB -al 00FAE9 .Label_FAE9 -al 00FABF .Label_FABF -al 00FABC .Label_FABC -al 00FAB9 .Label_FAB9 -al 00FAD3 .Label_FAD3 -al 00FAA9 .Label_FAA9 -al 00FA8D .Label_FA8D -al 00FA7B .Label_FA7B -al 00FA71 .Label_FA71 -al 00FAB0 .Label_FAB0 -al 00FA6C .Label_FA6C -al 00FA60 .Label_FA60 -al 00FA4C .Label_FA4C -al 00FA42 .Label_FA42 -al 00FA1F .Label_FA1F -al 00FA0F .Label_FA0F -al 00FA09 .Label_FA09 -al 00F9FE .Label_F9FE -al 00F9FB .Label_F9FB -al 00F9F5 .Label_F9F5 -al 00F9F3 .Label_F9F3 -al 00F9EC .Label_F9EC -al 00F9E8 .Label_F9E8 -al 00F9E5 .Label_F9E5 -al 00F9E4 .Label_F9E4 -al 00F9D3 .Label_F9D3 -al 00F9D1 .Label_F9D1 -al 00F9C7 .Label_F9C7 -al 00F9C5 .Label_F9C5 -al 00F9BE .Label_F9BE -al 00F9BC .Label_F9BC -al 00F9CA .Label_F9CA -al 00F9B8 .Label_F9B8 -al 00F9C1 .Label_F9C1 -al 00F9B4 .Label_F9B4 -al 00F9A0 .Label_F9A0 -al 00F990 .Label_F990 -al 00F989 .Label_F989 -al 00F985 .Label_F985 -al 00F240 .Label_F240 -al 00F23D .Label_F23D -al 00F231 .Label_F231 -al 00F21E .Label_F21E -al 00F215 .Label_F215 -al 00F219 .Label_F219 -al 00F208 .Label_F208 -al 00F1FD .Label_F1FD -al 00F1FC .Label_F1FC -al 00F1E0 .Label_F1E0 -al 00F1DA .Label_F1DA -al 00F185 .Label_F185 -al 00F1AC .Label_F1AC -al 00F1A8 .Label_F1A8 -al 00F178 .Label_F178 -al 00F16E .Label_F16E -al 00F15B .Label_F15B -al 00F143 .Label_F143 -al 00F12F .Label_F12F -al 00F12C .Label_F12C -al 00F129 .Label_F129 -al 00F11D .Label_F11D -al 00F107 .Label_F107 -al 00F106 .Label_F106 -al 00F0DD .Label_F0DD -al 00F0DB .Label_F0DB -al 00F0BC .Label_F0BC -al 00F0AB .Label_F0AB -al 00F09B .Label_F09B -al 00F097 .Label_F097 -al 00F091 .Label_F091 -al 00F085 .Label_F085 -al 00F084 .Label_F084 -al 00F076 .Label_F076 -al 00F074 .Label_F074 -al 00F046 .Label_F046 -al 00F02F .Label_F02F -al 00F018 .Label_F018 -al 00F017 .Label_F017 -al 00F006 .Label_F006 -al 00EFDC .Label_EFDC -al 00EF9E .Label_EF9E -al 00EF98 .Label_EF98 -al 00EF8F .Label_EF8F -al 00EF8D .Label_EF8D -al 00EF86 .Label_EF86 -al 00EF6F .Label_EF6F -al 00EF55 .Label_EF55 -al 00EF4A .Label_EF4A -al 00EF36 .Label_EF36 -al 00EF32 .Label_EF32 -al 00EF35 .Label_EF35 -al 00EF19 .Label_EF19 -al 00EF0D .Label_EF0D -al 00EF18 .Label_EF18 -al 00EED9 .Label_EED9 -al 00EECE .Label_EECE -al 00EEC8 .Label_EEC8 -al 00EED0 .Label_EED0 -al 00EEB7 .Label_EEB7 -al 00EEB1 .Label_EEB1 -al 00EE72 .Label_EE72 -al 00EE5F .Label_EE5F -al 00EE4C .Label_EE4C -al 00EE2C .Label_EE2C -al 00EE26 .Label_EE26 -al 00EE24 .Label_EE24 -al 00EDFE .Label_EDFE -al 00EDF9 .Label_EDF9 -al 00EDF0 .Label_EDF0 -al 00EDDB .Label_EDDB -al 00EDD5 .Label_EDD5 -al 00EDCD .Label_EDCD -al 00EDCA .Label_EDCA -al 00EDB9 .Label_EDB9 -al 00ED9D .Label_ED9D -al 00ED8B .Label_ED8B -al 00ED81 .Label_ED81 -al 00ED80 .Label_ED80 -al 00ED67 .Label_ED67 -al 00ED65 .Label_ED65 -al 00ED50 .Label_ED50 -al 00ED47 .Label_ED47 -al 00ED3C .Label_ED3C -al 00ED30 .Label_ED30 -al 00ED12 .Label_ED12 -al 00ED0D .Label_ED0D -al 00ED19 .Label_ED19 -al 00ECFF .Label_ECFF -al 00ECFE .Label_ECFE -al 00ECD5 .Label_ECD5 -al 00ECBB .Label_ECBB -al 00ECB2 .Label_ECB2 -al 00ECAD .Label_ECAD -al 00ECA4 .Label_ECA4 -al 00EC87 .Label_EC87 -al 00EC64 .Label_EC64 -al 00EC58 .Label_EC58 -al 00EC51 .Label_EC51 -al 00EC48 .Label_EC48 -al 00EC3C .Label_EC3C -al 00EC3B .Label_EC3B -al 00EC0B .Label_EC0B -al 00EBF9 .Label_EBF9 -al 00EBE4 .Label_EBE4 -al 00EBD8 .Label_EBD8 -al 00EBD2 .Label_EBD2 -al 00EC30 .Label_EC30 -al 00EBBE .Label_EBBE -al 00EBBC .Label_EBBC -al 00EBB1 .Label_EBB1 -al 00EBA5 .Label_EBA5 -al 00EB8D .Label_EB8D -al 00EBAD .Label_EBAD -al 00EB77 .Label_EB77 -al 00EB5A .Label_EB5A -al 00EB53 .Label_EB53 -al 00EB4E .Label_EB4E -al 00EB46 .Label_EB46 -al 00EB33 .Label_EB33 -al 00EB0F .Label_EB0F -al 00EB26 .Label_EB26 -al 00EB02 .Label_EB02 -al 00EAEF .Label_EAEF -al 00EAD6 .Label_EAD6 -al 00EACA .Label_EACA -al 00EABF .Label_EABF -al 00EA9D .Label_EA9D -al 00EA96 .Label_EA96 -al 00EA8D .Label_EA8D -al 00EA81 .Label_EA81 -al 00EA66 .Label_EA66 -al 00EA54 .Label_EA54 -al 00EA4C .Label_EA4C -al 00EA3A .Label_EA3A -al 00EA78 .Label_EA78 -al 00EA26 .Label_EA26 -al 00EA24 .Label_EA24 -al 00EA19 .Label_EA19 -al 00EA0D .Label_EA0D -al 00E9EB .Label_E9EB -al 00EA15 .Label_EA15 -al 00E9D5 .Label_E9D5 -al 00E9D4 .Label_E9D4 -al 00E9AD .Label_E9AD -al 00E9A4 .Label_E9A4 -al 00E986 .Label_E986 -al 00E981 .Label_E981 -al 00E98D .Label_E98D -al 00E963 .Label_E963 -al 00E942 .Label_E942 -al 00E939 .Label_E939 -al 00E92F .Label_E92F -al 00E964 .Label_E964 -al 00E906 .Label_E906 -al 00E973 .Label_E973 -al 00E8F0 .Label_E8F0 -al 00E8C7 .Label_E8C7 -al 00E8E7 .Label_E8E7 -al 00E8B3 .Label_E8B3 -al 00E8B1 .Label_E8B1 -al 00E8A6 .Label_E8A6 -al 00E89A .Label_E89A -al 00E882 .Label_E882 -al 00E8A2 .Label_E8A2 -al 00E86C .Label_E86C -al 00E85C .Label_E85C -al 00E848 .Label_E848 -al 00E837 .Label_E837 -al 00E82F .Label_E82F -al 00E828 .Label_E828 -al 00E814 .Label_E814 -al 00E7DF .Label_E7DF -al 00E7D4 .Label_E7D4 -al 00E815 .Label_E815 -al 00E7CE .Label_E7CE -al 00E7C1 .Label_E7C1 -al 00E7B4 .Label_E7B4 -al 00E79A .Label_E79A -al 00E795 .Label_E795 -al 00E78E .Label_E78E -al 00E789 .Label_E789 -al 00E77D .Label_E77D -al 00E76D .Label_E76D -al 00E76B .Label_E76B -al 00E762 .Label_E762 -al 00E759 .Label_E759 -al 00E744 .Label_E744 -al 00E73D .Label_E73D -al 00E727 .Label_E727 -al 00E702 .Label_E702 -al 00E6F7 .Label_E6F7 -al 00E714 .Label_E714 -al 00E6F1 .Label_E6F1 -al 00E6E2 .Label_E6E2 -al 00E6CD .Label_E6CD -al 00E70D .Label_E70D -al 00E6C0 .Label_E6C0 -al 00E6B7 .Label_E6B7 -al 00E692 .Label_E692 -al 00E677 .Label_E677 -al 00E6B6 .Label_E6B6 -al 00E66F .Label_E66F -al 00E66C .Label_E66C -al 00E661 .Label_E661 -al 00E655 .Label_E655 -al 00E658 .Label_E658 -al 00E645 .Label_E645 -al 00E63A .Label_E63A -al 00E62E .Label_E62E -al 00E61F .Label_E61F -al 00E61D .Label_E61D -al 00E614 .Label_E614 -al 00E5F0 .Label_E5F0 -al 00E5ED .Label_E5ED -al 00E5E7 .Label_E5E7 -al 00E609 .Label_E609 -al 00E5B1 .Label_E5B1 -al 00E5AB .Label_E5AB -al 00E5A6 .Label_E5A6 -al 00E59A .Label_E59A -al 00E59F .Label_E59F -al 00E570 .Label_E570 -al 00E56A .Label_E56A -al 00E566 .Label_E566 -al 00E55D .Label_E55D -al 00E552 .Label_E552 -al 00E540 .Label_E540 -al 00E547 .Label_E547 -al 00E52A .Label_E52A -al 00E518 .Label_E518 -al 00E51F .Label_E51F -al 00E531 .Label_E531 -al 00E505 .Label_E505 -al 00E4FA .Label_E4FA -al 00E4E0 .Label_E4E0 -al 00E4D6 .Label_E4D6 -al 00E4CD .Label_E4CD -al 00E4C5 .Label_E4C5 -al 00E4B6 .Label_E4B6 -al 00E4AF .Label_E4AF -al 00E4B0 .Label_E4B0 -al 00E49A .Label_E49A -al 00E475 .Label_E475 -al 00E465 .Label_E465 -al 00E458 .Label_E458 -al 00E442 .Label_E442 -al 00E45D .Label_E45D -al 00E431 .Label_E431 -al 00E419 .Label_E419 -al 00E415 .Label_E415 -al 00E410 .Label_E410 -al 00E3FF .Label_E3FF -al 00E3FD .Label_E3FD -al 00E3F4 .Label_E3F4 -al 00E3EB .Label_E3EB -al 00E3D6 .Label_E3D6 -al 00E3D5 .Label_E3D5 -al 00E3C0 .Label_E3C0 -al 00E37C .Label_E37C -al 00E379 .Label_E379 -al 00E35E .Label_E35E -al 00E35C .Label_E35C -al 00E368 .Label_E368 -al 00E346 .Label_E346 -al 00E340 .Label_E340 -al 00E367 .Label_E367 -al 00E324 .Label_E324 -al 00E30B .Label_E30B -al 00E302 .Label_E302 -al 00E312 .Label_E312 -al 00E2F7 .Label_E2F7 -al 00E2F3 .Label_E2F3 -al 00E2EB .Label_E2EB -al 00E2E9 .Label_E2E9 -al 00E2DE .Label_E2DE -al 00E2D0 .Label_E2D0 -al 00E2D3 .Label_E2D3 -al 00E2CA .Label_E2CA -al 00E2BB .Label_E2BB -al 00E2B7 .Label_E2B7 -al 00E2AD .Label_E2AD -al 00E2B6 .Label_E2B6 -al 00E296 .Label_E296 -al 00E28D .Label_E28D -al 00E289 .Label_E289 -al 00E288 .Label_E288 -al 00E26D .Label_E26D -al 00E240 .Label_E240 -al 00E20C .Label_E20C -al 00E202 .Label_E202 -al 00E1EF .Label_E1EF -al 00E1B5 .Label_E1B5 -al 00E1AD .Label_E1AD -al 00E1D7 .Label_E1D7 -al 00E1BB .Label_E1BB -al 00E1C7 .Label_E1C7 -al 00E179 .Label_E179 -al 00E169 .Label_E169 -al 00E184 .Label_E184 -al 00E150 .Label_E150 -al 00E138 .Label_E138 -al 00E136 .Label_E136 -al 00E12D .Label_E12D -al 00E124 .Label_E124 -al 00E111 .Label_E111 -al 00E106 .Label_E106 -al 00E0F9 .Label_E0F9 -al 00E0F5 .Label_E0F5 -al 00E0EE .Label_E0EE -al 00E0E4 .Label_E0E4 -al 00E0DE .Label_E0DE -al 00E0DD .Label_E0DD -al 00E0D1 .Label_E0D1 -al 00E0C1 .Label_E0C1 -al 00E0B2 .Label_E0B2 -al 00E0AF .Label_E0AF -al 00E0AD .Label_E0AD -al 00E0A4 .Label_E0A4 -al 00E09B .Label_E09B -al 00E090 .Label_E090 -al 00E084 .Label_E084 -al 00E071 .Label_E071 -al 00E05E .Label_E05E -al 00E044 .Label_E044 -al 00E02C .Label_E02C -al 00DFFF .Label_DFFF -al 00DFEC .Label_DFEC -al 00DFE3 .Label_DFE3 -al 00DFDF .Label_DFDF -al 00DFD4 .Label_DFD4 -al 00DFC9 .Label_DFC9 -al 00DFBF .Label_DFBF -al 00DFB5 .Label_DFB5 -al 00DFBE .Label_DFBE -al 00DFA3 .Label_DFA3 -al 00DF96 .Label_DF96 -al 00DFA2 .Label_DFA2 -al 00DF92 .Label_DF92 -al 00DF82 .Label_DF82 -al 00DF72 .Label_DF72 -al 00DF62 .Label_DF62 -al 00DF4E .Label_DF4E -al 00DF4D .Label_DF4D -al 00DF3B .Label_DF3B -al 00DF34 .Label_DF34 -al 00DF2D .Label_DF2D -al 00DF23 .Label_DF23 -al 00DF10 .Label_DF10 -al 00DF07 .Label_DF07 -al 00DEFE .Label_DEFE -al 00DEDB .Label_DEDB -al 00DEE3 .Label_DEE3 -al 00DF20 .Label_DF20 -al 00DF1A .Label_DF1A -al 00DF14 .Label_DF14 -al 00DEB5 .Label_DEB5 -al 00DEB4 .Label_DEB4 -al 00DE8C .Label_DE8C -al 00DE73 .Label_DE73 -al 00DE60 .Label_DE60 -al 00DE55 .Label_DE55 -al 00DE4D .Label_DE4D -al 00DE2A .Label_DE2A -al 00DE1E .Label_DE1E -al 00DE14 .Label_DE14 -al 00DE0B .Label_DE0B -al 00DE07 .Label_DE07 -al 00DDE8 .Label_DDE8 -al 00DDDC .Label_DDDC -al 00DDD2 .Label_DDD2 -al 00DDB3 .Label_DDB3 -al 00DDC7 .Label_DDC7 -al 00DDA1 .Label_DDA1 -al 00DD8D .Label_DD8D -al 00DD81 .Label_DD81 -al 00DD76 .Label_DD76 -al 00DD69 .Label_DD69 -al 00DD52 .Label_DD52 -al 00DD40 .Label_DD40 -al 00DD7C .Label_DD7C -al 00DD33 .Label_DD33 -al 00DD2E .Label_DD2E -al 00DD2D .Label_DD2D -al 00DD02 .Label_DD02 -al 00DD0C .Label_DD0C -al 00DCFC .Label_DCFC -al 00DD25 .Label_DD25 -al 00DD0F .Label_DD0F -al 00DCA5 .Label_DCA5 -al 00DCA3 .Label_DCA3 -al 00DC9C .Label_DC9C -al 00DC89 .Label_DC89 -al 00DC85 .Label_DC85 -al 00DC90 .Label_DC90 -al 00DC5D .Label_DC5D -al 00DC55 .Label_DC55 -al 00DC67 .Label_DC67 -al 00DC51 .Label_DC51 -al 00DC49 .Label_DC49 -al 00DC48 .Label_DC48 -al 00DC3C .Label_DC3C -al 00DC2B .Label_DC2B -al 00DC24 .Label_DC24 -al 00DC0B .Label_DC0B -al 00DC00 .Label_DC00 -al 00DBF5 .Label_DBF5 -al 00DBE6 .Label_DBE6 -al 00DBDD .Label_DBDD -al 00DBD9 .Label_DBD9 -al 00DBD6 .Label_DBD6 -al 00DBCC .Label_DBCC -al 00DBCA .Label_DBCA -al 00DBBF .Label_DBBF -al 00DBD3 .Label_DBD3 -al 00DBAC .Label_DBAC -al 00DB97 .Label_DB97 -al 00DBA1 .Label_DBA1 -al 00DB8C .Label_DB8C -al 00DB91 .Label_DB91 -al 00DB6E .Label_DB6E -al 00DB48 .Label_DB48 -al 00DB64 .Label_DB64 -al 00DB21 .Label_DB21 -al 00DB1D .Label_DB1D -al 00DB1C .Label_DB1C -al 00DB14 .Label_DB14 -al 00DB01 .Label_DB01 -al 00DAEF .Label_DAEF -al 00DADB .Label_DADB -al 00DAC7 .Label_DAC7 -al 00DAB0 .Label_DAB0 -al 00DA9C .Label_DA9C -al 00DA9A .Label_DA9A -al 00DA91 .Label_DA91 -al 00DA90 .Label_DA90 -al 00DA54 .Label_DA54 -al 00DA4B .Label_DA4B -al 00DA4A .Label_DA4A -al 00DA07 .Label_DA07 -al 00D9FE .Label_D9FE -al 00D9FD .Label_D9FD -al 00D9C7 .Label_D9C7 -al 00D9BE .Label_D9BE -al 00D989 .Label_D989 -al 00D96E .Label_D96E -al 00D988 .Label_D988 -al 00D95E .Label_D95E -al 00D958 .Label_D958 -al 00D93E .Label_D93E -al 00D93C .Label_D93C -al 00D933 .Label_D933 -al 00D92A .Label_D92A -al 00D94F .Label_D94F -al 00D904 .Label_D904 -al 00D8EA .Label_D8EA -al 00D8DE .Label_D8DE -al 00D8C9 .Label_D8C9 -al 00D8C3 .Label_D8C3 -al 00D8D5 .Label_D8D5 -al 00D8A0 .Label_D8A0 -al 00D887 .Label_D887 -al 00D87B .Label_D87B -al 00D87A .Label_D87A -al 00D838 .Label_D838 -al 00D837 .Label_D837 -al 00D7F9 .Label_D7F9 -al 00D7E0 .Label_D7E0 -al 00D7DE .Label_D7DE -al 00D7D3 .Label_D7D3 -al 00D7AA .Label_D7AA -al 00D792 .Label_D792 -al 00D7F0 .Label_D7F0 -al 00D77B .Label_D77B -al 00D76C .Label_D76C -al 00D768 .Label_D768 -al 00D757 .Label_D757 -al 00D77A .Label_D77A -al 00D747 .Label_D747 -al 00D742 .Label_D742 -al 00D746 .Label_D746 -al 00D70E .Label_D70E -al 00D6F6 .Label_D6F6 -al 00D6E4 .Label_D6E4 -al 00D71F .Label_D71F -al 00D6B0 .Label_D6B0 -al 00D6A6 .Label_D6A6 -al 00D69C .Label_D69C -al 00D67B .Label_D67B -al 00D676 .Label_D676 -al 00D669 .Label_D669 -al 00D666 .Label_D666 -al 00D643 .Label_D643 -al 00D658 .Label_D658 -al 00D615 .Label_D615 -al 00D612 .Label_D612 -al 00D60C .Label_D60C -al 00D5EF .Label_D5EF -al 00D5C0 .Label_D5C0 -al 00D5B4 .Label_D5B4 -al 00D5B3 .Label_D5B3 -al 00D5A9 .Label_D5A9 -al 00D59C .Label_D59C -al 00D594 .Label_D594 -al 00D585 .Label_D585 -al 00D582 .Label_D582 -al 00D54F .Label_D54F -al 00D54D .Label_D54D -al 00D56E .Label_D56E -al 00D574 .Label_D574 -al 00D52F .Label_D52F -al 00D581 .Label_D581 -al 00D51F .Label_D51F -al 00D514 .Label_D514 -al 00D513 .Label_D513 -al 00D4E5 .Label_D4E5 -al 00D4E0 .Label_D4E0 -al 00D4D6 .Label_D4D6 -al 00D4B3 .Label_D4B3 -al 00D4A1 .Label_D4A1 -al 00D496 .Label_D496 -al 00D46A .Label_D46A -al 00D45A .Label_D45A -al 00D44B .Label_D44B -al 00D447 .Label_D447 -al 00D42A .Label_D42A -al 00D41B .Label_D41B -al 00D404 .Label_D404 -al 00D438 .Label_D438 -al 00D3F1 .Label_D3F1 -al 00D3E7 .Label_D3E7 -al 00D3BA .Label_D3BA -al 00D3B9 .Label_D3B9 -al 00D3A5 .Label_D3A5 -al 00D38C .Label_D38C -al 00D38A .Label_D38A -al 00D37E .Label_D37E -al 00D376 .Label_D376 -al 00D357 .Label_D357 -al 00D316 .Label_D316 -al 00D34C .Label_D34C -al 00D317 .Label_D317 -al 00D358 .Label_D358 -al 00D2FE .Label_D2FE -al 00D2FD .Label_D2FD -al 00D2B4 .Label_D2B4 -al 00D2B0 .Label_D2B0 -al 00D2AE .Label_D2AE -al 00D2A9 .Label_D2A9 -al 00D2A4 .Label_D2A4 -al 00D29F .Label_D29F -al 00D28A .Label_D28A -al 00D27B .Label_D27B -al 00D272 .Label_D272 -al 00D264 .Label_D264 -al 00D263 .Label_D263 -al 00D227 .Label_D227 -al 00D215 .Label_D215 -al 00D20E .Label_D20E -al 00D213 .Label_D213 -al 00D201 .Label_D201 -al 00D21F .Label_D21F -al 00D1E4 .Label_D1E4 -al 00D1DE .Label_D1DE -al 00D1DD .Label_D1DD -al 00D1AC .Label_D1AC -al 00D19C .Label_D19C -al 00D194 .Label_D194 -al 00D16B .Label_D16B -al 00D15A .Label_D15A -al 00D179 .Label_D179 -al 00D129 .Label_D129 -al 00D114 .Label_D114 -al 00D117 .Label_D117 -al 00D103 .Label_D103 -al 00D0FC .Label_D0FC -al 00D0F6 .Label_D0F6 -al 00D0FB .Label_D0FB -al 00D0EB .Label_D0EB -al 00D0D7 .Label_D0D7 -al 00D0BC .Label_D0BC -al 00D0E2 .Label_D0E2 -al 00D0DF .Label_D0DF -al 00D0E7 .Label_D0E7 -al 00D09C .Label_D09C -al 00D09B .Label_D09B -al 00D086 .Label_D086 -al 00D07C .Label_D07C -al 00D062 .Label_D062 -al 00D047 .Label_D047 -al 00D035 .Label_D035 -al 00D025 .Label_D025 -al 00D01F .Label_D01F -al 00D017 .Label_D017 -al 00D00F .Label_D00F -al 00CFFD .Label_CFFD -al 00CFF3 .Label_CFF3 -al 00CFD4 .Label_CFD4 -al 00CFB9 .Label_CFB9 -al 00CFA7 .Label_CFA7 -al 00CF9C .Label_CF9C -al 00CF8C .Label_CF8C -al 00CF7D .Label_CF7D -al 00CF63 .Label_CF63 -al 00CF53 .Label_CF53 -al 00CF37 .Label_CF37 -al 00CF29 .Label_CF29 -al 00CF08 .Label_CF08 -al 00CEF2 .Label_CEF2 -al 00CEBB .Label_CEBB -al 00CEB8 .Label_CEB8 -al 00CEAA .Label_CEAA -al 00CE9B .Label_CE9B -al 00CEEA .Label_CEEA -al 00CE8D .Label_CE8D -al 00CE89 .Label_CE89 -al 00CE5F .Label_CE5F -al 00CE6D .Label_CE6D -al 00CE5A .Label_CE5A -al 00CE8C .Label_CE8C -al 00CE42 .Label_CE42 -al 00CE40 .Label_CE40 -al 00CE3D .Label_CE3D -al 00CE3A .Label_CE3A -al 00CE2A .Label_CE2A -al 00CE1F .Label_CE1F -al 00CDFC .Label_CDFC -al 00CE0F .Label_CE0F -al 00CDF8 .Label_CDF8 -al 00CDEE .Label_CDEE -al 00CDEA .Label_CDEA -al 00CDE1 .Label_CDE1 -al 00CDD9 .Label_CDD9 -al 00CDBC .Label_CDBC -al 00CDBA .Label_CDBA -al 00CDAA .Label_CDAA -al 00CDB1 .Label_CDB1 -al 00CD81 .Label_CD81 -al 00CD78 .Label_CD78 -al 00CD76 .Label_CD76 -al 00CDB0 .Label_CDB0 -al 00CD53 .Label_CD53 -al 00CD48 .Label_CD48 -al 00CD47 .Label_CD47 -al 00CD65 .Label_CD65 -al 00CD14 .Label_CD14 -al 00CD1C .Label_CD1C -al 00CD03 .Label_CD03 -al 00CCE7 .Label_CCE7 -al 00CCD7 .Label_CCD7 -al 00CCCC .Label_CCCC -al 00CCD2 .Label_CCD2 -al 00CCC0 .Label_CCC0 -al 00CCD6 .Label_CCD6 -al 00CCB5 .Label_CCB5 -al 00CC90 .Label_CC90 -al 00CC81 .Label_CC81 -al 00CC6F .Label_CC6F -al 00CC65 .Label_CC65 -al 00CC64 .Label_CC64 -al 00CC5E .Label_CC5E -al 00CC56 .Label_CC56 -al 00CC50 .Label_CC50 -al 00CC4A .Label_CC4A -al 00CC44 .Label_CC44 -al 00CC30 .Label_CC30 -al 00CC25 .Label_CC25 -al 00CC1A .Label_CC1A -al 00CC0F .Label_CC0F -al 00CBFC .Label_CBFC -al 00CBF5 .Label_CBF5 -al 00CBE2 .Label_CBE2 -al 00CBD8 .Label_CBD8 -al 00CBD5 .Label_CBD5 -al 00CBD2 .Label_CBD2 -al 00CBCF .Label_CBCF -al 00CBC0 .Label_CBC0 -al 00CB72 .Label_CB72 -al 00CB2F .Label_CB2F -al 00CAF9 .Label_CAF9 -al 00CAD8 .Label_CAD8 -al 00CACC .Label_CACC -al 00CAC5 .Label_CAC5 -al 00CAB1 .Label_CAB1 -al 00CABC .Label_CABC -al 00CA9B .Label_CA9B -al 00CA89 .Label_CA89 -al 00CA82 .Label_CA82 -al 00CA7B .Label_CA7B -al 00CA74 .Label_CA74 -al 00CA6D .Label_CA6D -al 00CA66 .Label_CA66 -al 00CA57 .Label_CA57 -al 00CA4E .Label_CA4E -al 00CA56 .Label_CA56 -al 00CA44 .Label_CA44 -al 00CA31 .Label_CA31 -al 00CA18 .Label_CA18 -al 00C9EC .Label_C9EC -al 00C9AB .Label_C9AB -al 00C9AF .Label_C9AF -al 00C994 .Label_C994 -al 00C970 .Label_C970 -al 00C93B .Label_C93B -al 00C92F .Label_C92F -al 00C92B .Label_C92B -al 00C944 .Label_C944 -al 00C916 .Label_C916 -al 00C917 .Label_C917 -al 00C8FB .Label_C8FB -al 00C8ED .Label_C8ED -al 00C8AC .Label_C8AC -al 00C890 .Label_C890 -al 00C86C .Label_C86C -al 00C865 .Label_C865 -al 00C853 .Label_C853 -al 00C84C .Label_C84C -al 00C83D .Label_C83D -al 00C849 .Label_C849 -al 00C843 .Label_C843 -al 00C827 .Label_C827 -al 00C819 .Label_C819 -al 00C7F1 .NmiHandler -al 00C7EA .Label_C7EA -al 00C7E6 .Label_C7E6 -al 00C7E0 .Label_C7E0 -al 00C7CA .Label_C7CA -al 00C7BE .Label_C7BE -al 00C7B6 .Label_C7B6 -al 00C776 .Label_C776 -al 00C76E .Label_C76E -al 00C76A .Label_C76A -al 00C764 .Label_C764 -al 00C74F .Label_C74F -al 00C73F .Label_C73F -al 00C735 .Reset diff --git a/_wip/Pac-Man (Tengen) (U)/OVERVIEW.md b/_wip/Pac-Man (Tengen) (U)/OVERVIEW.md index c61fe6f..ac1c6a8 100644 --- a/_wip/Pac-Man (Tengen) (U)/OVERVIEW.md +++ b/_wip/Pac-Man (Tengen) (U)/OVERVIEW.md @@ -1,59 +1,222 @@ -# Pac-Man (Tengen) (U) — Pass 1 Disassembly +# Pac-Man (Tengen) (U) — Game Flow from Power-On -ROM: `_wip/Pac-Man (Tengen) (U)/Pac-Man (Tengen) (U) [!].nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 19.5% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 4,482 lines with 192 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Pac-Man (Tengen) (U) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. **Variant note:** `Pac-Man (U)` is an unrelated dump (different PRG). Both use horizontal mirroring. +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C033 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Horizontal | -| Battery-backed flag | clear | -| ROM SHA-256 | `1e59847da9369f6b116c95454d53e1508cdfeef6f00ea1a6968d725517ab852f` | -| PRG SHA-256 | `cf31501f973b6bccb2d3dda2b7b389840e79c3cd5938275da096c241f76153fb` | +**`Reset`** ($C033–$C0A0) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +On power-on or reset, the 6502 jumps to **$C033** (non-$C000 entry). The reset routine performs cold-start hardware initialization: -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C0FA` | per-frame heartbeat | -| RESET | `$C033` | enters at $C033 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | -| IRQ | `$C16A` | target $C16A — verify during Pass 1 | +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `sei` / `cld` | Disable interrupts, clear decimal mode | +| 3–4 | `lda #$00` / `sta $2000` / `sta $2001` | PPUCTRL=0, PPUMASK=0 (disable NMI, rendering) | +| 5–8 | `Label_C03D`: poll `$2002` via `bpl *-3` | Wait for VBlank | +| 9–10 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 11–12 | `lda #$00` / `tay` | A=0, Y=0 | +| 13–17 | `Label_C048`: `sta $0000,y` / `iny` / `cpy #$3E` / `bne` | Clear $0000–$003D (62 bytes) | +| 18–25 | `ldx #$08` / `ldy #$87` / `Label_C054`: `sta (Zp00),y` / `iny` / `bne` / `inc Zp01` / `cpx Zp01` / `bne` | Clear 9 pages from $8700 ($8700–$8F00) via Zp00/Zp01 | +| 26–27 | `lda #$06` / `sta $2001` | PPUMASK = $06 (show BG, hide sprites) | +| 28–31 | `lda #$00` / `sta $2005` ×2 | PPUSCROLL = 0,0 | +| 32–33 | `sta Zp41` / `sta Zp42` | Zp41=Zp42=0 (scroll shadows) | +| 34–35 | `sta $2000` / `sta $2001` | PPUCTRL=0, PPUMASK=0 | +| 36 | `tay` | Y=0 | +| 37–45 | `Label_C077`: `lda $C0EB,y` / `cmp $0052,y` / `bne Label_C086` / `iny` / `cpy #$0F` / `bne` / `beq Label_C0A0` | Compare 15-byte copyright string at $C0EB with RAM at $0052; if match, jump to $C0A0 | +| 46–49 | `Label_C086`: `lda #$00` / `tay` / `Label_C089`: `sta $0000,y` / `iny` / `bne` / `ldy #$00` | If mismatch: clear $0000–$00FF, Y=0 | +| 50+ | `Label_C0A0`... | Continue initialization (title screen, game setup) | -## `copilot/` Contents +**Copyright check:** 15-byte string "COPYRIGHT 1984 NAMCO LTD. ALL RIGHTS RESERVED" at $C0EB compared against RAM at $0052. On cold start, RAM is garbage so check fails, clearing $0000–$00FF. On warm reset, if signature persists, skips extra clear. -| File | Purpose | -|------|---------| -| `Pac-Man (Tengen) (U) [!].nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 4,482 lines, 192 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +--- -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +## 2. Interrupt Vectors — CPU $FFFA–$FFFF -## Build +Located at PRG offset $3FFA (end of 16 KB bank): -```bash -cd "_wip/Pac-Man (Tengen) (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C0FA | `NmiHandler` | +| RESET | $C033 | `Reset` | +| IRQ | $C16A | `IrqHandler` (single `rti` — unused placeholder) | + +--- + +## 3. NMI / Frame Heartbeat — `NmiHandler` ($C0FA) + +The NMI fires once per frame and handles PPU updates, controller input, and audio: + +``` +NmiHandler ($C0FA): + pha / txa / pha / tya / pha ; preserve A,X,Y + lda #$1E / sta $2001 ; PPUMASK = $1E (BG+sprites on, left 8px) + lda #$00 / sta $2003 (OAMADDR) + sta Zp40 ($40) ; clear Zp40 + lda Zp45 ($45) / sta $4014 (OAMDMA) ; sprite DMA from Zp45 page + jsr $DE3D ; sprite/OAM update + jsr $E261 ; game logic update + jsr $C16B ; palette/PPU update + lda Zp41 / sta $2005 ; PPUSCROLL X + lda Zp42 / sta $2005 ; PPUSCROLL Y + lda Zp47 / and Zp46 / and #$01 ; check game state flags + asl a / ora Zp43 ; combine flags + sta $2000 ; PPUCTRL update + lda #$01 / sta $4016 ; controller strobe on + lda #$00 / sta $4016 ; controller strobe off + ldx #$08 +Label_C13B: + lda $4016 / and #$01 / cmp #$01 / ror Zp4D ; read player 1 buttons → Zp4D + lda $4017 / and #$01 / cmp #$01 / ror Zp4E ; read player 2 buttons → Zp4E + dex / bne Label_C13B ; 8 bits each + ldx Zp4D + lda Zp46 / and Zp47 + beq Label_C15A + ldx Zp4E ; if Zp46&Zp47: use player 2 input +Label_C15A: + stx Zp4F ; store combined input + inc Zp4B ; frame counter + lda Zp48 + bne Label_C165 + jsr $EE8F ; attract mode logic +Label_C165: + pla / tay / pla / tax / pla / rti ; restore, return (IRQ handler follows) ``` -## Pass Status +**Key ZP Flags:** +- `Zp40` ($40): Cleared each NMI +- `Zp41`/$42 ($41/$42): Scroll X/Y shadows +- `Zp43` ($43): PPUCTRL flag (bit 0) +- `Zp45` ($45): OAM DMA source page +- `Zp46`/$47 ($46/$47): Game state flags +- `Zp4D`/$4E ($4D/$4E): Player 1/2 button state (shifted in) +- `Zp4F` ($4F): Active player input +- `Zp4B` ($4B): Frame counter -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 4,482 lines of `prg.s`, 192 address-based `Label_` definitions, canonical audit comments; 19.5% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +## 4. Key Subroutines + +### 4.1 `$DE3D` — Sprite/OAM Update +Builds OAM at $0200 from object state. + +### 4.2 `$E261` — Main Game Logic +Pac-Man movement, ghost AI, collision, dots, power pellets. + +### 4.3 `$C16B` — Palette/PPU Update +``` +Label_C16B: + lda $0299 / cmp #$0F / bne Label_C18C + lda $2002 / lda #$3F / sta $2006 / lda #$00 / sta $2006 + ldy #$00 +Label_C181: + lda $0299,y / sta $2007 / iny / cpy #$10 / bne Label_C181 +``` +When $0299=$0F, uploads 16 bytes from $0299 to PPU palette ($3F00). + +### 4.4 `$EE8F` — Attract Mode +Called when Zp48=0 (title screen). + +### 4.5 Controller Reading +8-bit shift register read from $4016 (player 1) and $4017 (player 2), results in Zp4D/Zp4E, combined to Zp4F based on Zp46/Zp47. + +--- + +## 5. Indirect Dispatch + +Multiple `jmp ($0010)` at $C250, $D90F, $D9B6, $D3CA — target in ZP $0010/$0011 set by caller. +One `jmp ($00FE)` at $EFDA — target in ZP $00FE/$00FF. + +Not followed statically; requires runtime tracing. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $10 | `Zp10` | General purpose | +| $40 | `Zp40` | Cleared each NMI | +| $41–$42 | `Zp41`/`Zp42` | Scroll X/Y shadows | +| $43 | `Zp43` | PPUCTRL flag | +| $45 | `Zp45` | OAM DMA source page | +| $46–$47 | `Zp46`/`Zp47` | Game state flags | +| $48 | `Zp48` | Attract mode flag | +| $4B | `Zp4B` | Frame counter | +| $4D–$4E | `Zp4D`/`Zp4E` | Player 1/2 button shift registers | +| $4F | `Zp4F` | Active input | +| $0200 | OAM buffer | Sprite DMA source | +| $0299 | Palette buffer | 16 bytes for $3F00 upload | +| $0052 | Copyright check | 15-byte RAM signature | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Copyright string | $C0EB | 15 bytes "COPYRIGHT 1984 NAMCO LTD. ALL RIGHTS RESERVED" | +| Palette upload | $0299 | 16 bytes, uploaded when $0299=$0F | +| Ghost AI / level data | $C000+ | Referenced by indirect dispatch | + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C033) ────► sei/cld, PPU off, wait VBlank, stack=$FF + │ + ├─ Clear $0000–$003D (62 bytes) + ├─ Clear $8700–$8F00 (9 pages via Zp00/Zp01) + ├─ PPUMASK=$06, PPUSCROLL=0,0 + ├─ Zp41=Zp42=0 + ├─ PPUCTRL=0, PPUMASK=0 + ├─ Copyright check: $C0EB vs $0052 (15 bytes) + │ ├─ Match: jump to Label_C0A0 + │ └─ Mismatch: clear $0000–$00FF + │ + ▼ +Main Initialization (Label_C0A0+) + │ + ▼ +Main Loop (VBlank synchronized) + │ + ▼ (NMI fires once per frame) + +NMI ($C0FA) + ├─ Preserve A,X,Y + ├─ PPUMASK=$1E, OAMADDR=0, Zp40=0 + ├─ OAM DMA from Zp45 page + ├─ jsr $DE3D (sprites), $E261 (game logic), $C16B (palette) + ├─ Scroll from Zp41/Zp42 + ├─ PPUCTRL from Zp43/Zp46/Zp47 + ├─ Controller strobe + 8-bit read ($4016/$4017) → Zp4D/Zp4E + ├─ Select active input → Zp4F + ├─ inc Zp4B (frame counter) + ├─ Zp48=0 → jsr $EE8F (attract) + └─ Restore, rti +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 4,482 lines, 192 `Label_` definitions, canonical audit comments, 19.5% code. 16 seeded routine entries from table references. + +**Pass 2 outstanding** — No semantic names applied; all 192 labels remain address-derived `Label_XXXX`. + +**Pass 3 outstanding** — No semantic zero-page aliases; `locals.inc` holds neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): +- `jmp ($0010)` at $C250, $D90F, $D9B6, $D3CA +- `jmp ($00FE)` at $EFDA + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Pac-Man (U)/OVERVIEW.md b/_wip/Pac-Man (U)/OVERVIEW.md index c87c693..12ce4f9 100644 --- a/_wip/Pac-Man (U)/OVERVIEW.md +++ b/_wip/Pac-Man (U)/OVERVIEW.md @@ -1,59 +1,181 @@ -# Pac-Man (U) — Pass 1 Disassembly +# Pac-Man (U) — Game Flow from Power-On -ROM: `_wip/Pac-Man (U)/Pac-Man (U) [!].nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 19.6% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 4,506 lines with 194 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Pac-Man (U) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. **Variant note:** `Pac-Man (Tengen) (U)` is an unrelated dump (different PRG). Both use horizontal mirroring. +**Unusual RESET vector:** The RESET vector points to **$FF00** (inside the vector page padding), not into the PRG code at $C000+. The PRG at $FF00 is all `$FF` bytes (invalid opcode). The actual initialization code begins at **$C042** (`Label_C042`), reached via an unknown mechanism — possibly the dump has a corrupted vector, or the game uses a hardware reset quirk. The disassembly traces from $C042 as the effective reset entry. -## ROM Facts +--- -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Horizontal | -| Battery-backed flag | clear | -| ROM SHA-256 | `d5e9c4e81ff7316d4d8b15f2198471606fdb728b8cd9da92b153bdc45124b565` | -| PRG SHA-256 | `c1b777982f55de192c9f8cd9738445d3704d5c3b31ba01647a1609aad6c2872e` | +## 1. Effective Reset Entry — $C042 (`Label_C042`) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +**`Label_C042`** ($C042–$C0A0) -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C0FA` | per-frame heartbeat | -| RESET | `$FF00` | initial execution at $FF00, inside the last PRG page — unusual; PASS 1 should confirm the true cold-start path | -| IRQ | `$C16A` | target $C16A — verify during Pass 1 | +The code at $C042 performs cold-start hardware initialization: -## `copilot/` Contents +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 3–4 | `lda #$00` / `tay` | A=0, Y=0 | +| 5–9 | `Label_C048`: `sta $0000,y` / `iny` / `cpy #$3E` / `bne` | Clear $0000–$003D (62 bytes) | +| 10–17 | `ldx #$08` / `ldy #$87` / `Label_C054`: `sta (Zp00),y` / `iny` / `bne` / `inc Zp01` / `cpx Zp01` / `bne` | Clear 9 pages from $8700 ($8700–$8F00) via Zp00/Zp01 | +| 18–19 | `lda #$06` / `sta $2001` | PPUMASK = $06 (show BG, hide sprites) | +| 20–23 | `lda #$00` / `sta $2005` ×2 | PPUSCROLL = 0,0 | +| 24–25 | `sta Zp41` / `sta Zp42` | Zp41=Zp42=0 (scroll shadows) | +| 26–27 | `sta $2000` / `sta $2001` | PPUCTRL=0, PPUMASK=0 | +| 28 | `tay` | Y=0 | +| 29–37 | `Label_C077`: `lda $C0EB,y` / `cmp $0052,y` / `bne Label_C086` / `iny` / `cpy #$0F` / `bne` / `beq Label_C0A0` | Compare 15-byte copyright string at $C0EB with RAM at $0052; if match, jump to $C0A0 | +| 38–41 | `Label_C086`: `lda #$00` / `tay` / `Label_C089`: `sta $0000,y` / `iny` / `bne` / `ldy #$00` | If mismatch: clear $0000–$00FF, Y=0 | -| File | Purpose | -|------|---------| -| `Pac-Man (U) [!].nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 4,506 lines, 194 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +**Copyright check:** 15-byte string "COPYRIGHT 1984 NAMCO LTD. ALL RIGHTS RESERVED" at $C0EB compared against RAM at $0052. On cold start, RAM is garbage so check fails, clearing $0000–$00FF. On warm reset, if signature persists, skips extra clear. -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +**Note:** The code from $C042 onward is **identical** to `Pac-Man (Tengen) (U)` from its `Label_C03D` ($C03D) onward. The only difference is the entry point ($C033 vs $C042) and the initial `sei`/`cld`/`PPU off` which are missing here (possibly executed before jumping to $C042). -## Build +--- -```bash -cd "_wip/Pac-Man (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" +## 2. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C0FA | `NmiHandler` | +| RESET | $FF00 | **Points into vector padding ($FF bytes)** — likely corrupted dump | +| IRQ | $C16A | `IrqHandler` (single `rti` — unused placeholder) | + +**Actual reset entry:** $C042 (`Label_C042`), traced as effective cold start. + +--- + +## 3. NMI / Frame Heartbeat — `NmiHandler` ($C0FA) + +Identical to `Pac-Man (Tengen) (U)` — see that document for full details. Summary: + +``` +NmiHandler ($C0FA): + pha / txa / pha / tya / pha + lda #$1E / sta $2001 + lda #$00 / sta $2003 / sta Zp40 + lda Zp45 / sta $4014 (OAMDMA) + jsr $DE3D (sprites) / jsr $E261 (game logic) / jsr $C16B (palette) + lda Zp41/Zp42 → $2005 (scroll) + lda Zp47/Zp46/Zp43 → $2000 (PPUCTRL) + Controller strobe + 8-bit read ($4016/$4017) → Zp4D/Zp4E + Select active input → Zp4F + inc Zp4B (frame counter) + Zp48=0 → jsr $EE8F (attract) + pla / tay / pla / tax / pla / rti ``` -## Pass Status +--- -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 4,506 lines of `prg.s`, 194 address-based `Label_` definitions, canonical audit comments; 19.6% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +## 4. Key Subroutines -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +Identical to `Pac-Man (Tengen) (U)`: +- `$DE3D` — Sprite/OAM update +- `$E261` — Main game logic +- `$C16B` — Palette/PPU update (uploads 16 bytes from $0299 when $0299=$0F) +- `$EE8F` — Attract mode logic +- Controller reading: 8-bit shift from $4016/$4017 → Zp4D/Zp4E → Zp4F + +--- + +## 5. Indirect Dispatch + +Same as Tengen variant: +- `jmp ($0010)` at $C250, $D90F, $D9B6, $D3CA +- `jmp ($00FE)` at $EFDA + +Not followed statically. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $40 | `Zp40` | Cleared each NMI | +| $41–$42 | `Zp41`/`Zp42` | Scroll X/Y shadows | +| $43 | `Zp43` | PPUCTRL flag | +| $45 | `Zp45` | OAM DMA source page | +| $46–$47 | `Zp46`/`Zp47` | Game state flags | +| $48 | `Zp48` | Attract mode flag | +| $4B | `Zp4B` | Frame counter | +| $4D–$4E | `Zp4D`/`Zp4E` | Player 1/2 button shift registers | +| $4F | `Zp4F` | Active input | +| $0200 | OAM buffer | Sprite DMA source | +| $0299 | Palette buffer | 16 bytes for $3F00 upload | +| $0052 | Copyright check | 15-byte RAM signature | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Copyright string | $C0EB | 15 bytes "COPYRIGHT 1984 NAMCO LTD. ALL RIGHTS RESERVED" | +| Palette upload | $0299 | 16 bytes, uploaded when $0299=$0F | + +--- + +## 8. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ (Vector points to $FF00 — $FF padding) + │ + ▼ (Unknown mechanism reaches $C042) +Label_C042 ($C042) ────► stack=$FF + │ + ├─ Clear $0000–$003D (62 bytes) + ├─ Clear $8700–$8F00 (9 pages via Zp00/Zp01) + ├─ PPUMASK=$06, PPUSCROLL=0,0 + ├─ Zp41=Zp42=0 + ├─ PPUCTRL=0, PPUMASK=0 + ├─ Copyright check: $C0EB vs $0052 (15 bytes) + │ ├─ Match: jump to Label_C0A0 + │ └─ Mismatch: clear $0000–$00FF + │ + ▼ +Main Initialization (Label_C0A0+) + │ + ▼ +Main Loop (VBlank synchronized) + │ + ▼ (NMI fires once per frame) + +NMI ($C0FA) [identical to Tengen variant] + ├─ Preserve A,X,Y + ├─ PPUMASK=$1E, OAMADDR=0, Zp40=0 + ├─ OAM DMA from Zp45 page + ├─ jsr $DE3D (sprites), $E261 (game logic), $C16B (palette) + ├─ Scroll from Zp41/Zp42 + ├─ PPUCTRL from Zp43/Zp46/Zp47 + ├─ Controller strobe + 8-bit read ($4016/$4017) → Zp4D/Zp4E + ├─ Select active input → Zp4F + ├─ inc Zp4B (frame counter) + ├─ Zp48=0 → jsr $EE8F (attract) + └─ Restore, rti +``` + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 4,506 lines, 194 `Label_` definitions, canonical audit comments, 19.6% code. 16 seeded routine entries from table references (same as Tengen variant). + +**Pass 2 outstanding** — No semantic names applied; all 194 labels remain address-derived `Label_XXXX`. + +**Pass 3 outstanding** — No semantic zero-page aliases; `locals.inc` holds neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): +- `jmp ($0010)` at $C250, $D90F, $D9B6, $D3CA +- `jmp ($00FE)` at $EFDA + +**Unusual RESET vector** — Points to $FF00 (vector page padding). The disassembly traces from $C042 as the effective entry. This may indicate a bad dump or a hardware quirk. + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Pinball (JU)/copilot/Makefile b/_wip/Pinball (JU)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Pinball (JU)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Pinball (JU)/copilot/linker.cfg b/_wip/Pinball (JU)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Pinball (JU)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Pinball (JU)/copilot/reconstructed.lbl b/_wip/Pinball (JU)/copilot/reconstructed.lbl deleted file mode 100644 index 62100f5..0000000 --- a/_wip/Pinball (JU)/copilot/reconstructed.lbl +++ /dev/null @@ -1,681 +0,0 @@ -al 00FFF7 .ResetVector -al 00FFF0 .UpdateAPU19 -al 00FFE9 .UpdateAPU18 -al 00FFE3 .UpdateAPU17 -al 00FFDC .UpdateAPU16 -al 00FEBC .Label_FEBC -al 00FEB6 .Label_FEB6 -al 00FE9B .Label_FE9B -al 00FEC5 .Label_FEC5 -al 00FE82 .Label_FE82 -al 00FE88 .Label_FE88 -al 00FE71 .Label_FE71 -al 00FE56 .Label_FE56 -al 00FE8B .Label_FE8B -al 00FE41 .Label_FE41 -al 00FE30 .Label_FE30 -al 00FE15 .Label_FE15 -al 00FE1B .Label_FE1B -al 00FE44 .Label_FE44 -al 00FE01 .Label_FE01 -al 00FE04 .Label_FE04 -al 00FDA2 .Label_FDA2 -al 00FD9C .Label_FD9C -al 00FDE7 .Label_FDE7 -al 00FD9A .Label_FD9A -al 00FD91 .UpdateAPU15 -al 00FD87 .Label_FD87 -al 00FD52 .Label_FD52 -al 00FD40 .Label_FD40 -al 00FD10 .Label_FD10 -al 00FD6D .Label_FD6D -al 00FD5C .Label_FD5C -al 00FD33 .Label_FD33 -al 00FD24 .Label_FD24 -al 00FD0D .UpdateAPU13 -al 00FCE2 .UpdateAPU12 -al 00FD55 .UpdateAPU14 -al 00FCD1 .Label_FCD1 -al 00FCC4 .Label_FCC4 -al 00FCB4 .Label_FCB4 -al 00FCA5 .Label_FCA5 -al 00FC83 .Label_FC83 -al 00FC72 .UpdateAPU11 -al 00FC5F .Label_FC5F -al 00FC2B .UpdateAPU10 -al 00FC18 .Label_FC18 -al 00FC54 .Label_FC54 -al 00FC45 .Label_FC45 -al 00FC34 .Label_FC34 -al 00FC15 .Label_FC15 -al 00FC12 .Label_FC12 -al 00FC61 .Label_FC61 -al 00FBDD .UpdateAPU8 -al 00FC0F .UpdateAPU9 -al 00FBCC .Label_FBCC -al 00FBC3 .Label_FBC3 -al 00FBBB .Label_FBBB -al 00FBCE .Label_FBCE -al 00FBAC .Label_FBAC -al 00FC27 .Label_FC27 -al 00FBAA .Label_FBAA -al 00FB8C .Label_FB8C -al 00FB7F .Label_FB7F -al 00FB6E .UpdateAPU7 -al 00FB5D .UpdateAPU6 -al 00FB5C .Label_FB5C -al 00FB49 .UpdateAPU5 -al 00FB46 .UpdateAPU4 -al 00FB43 .UpdateAPU3 -al 00FB40 .UpdateAPU2 -al 00FB2C .UpdateAPU -al 00F4AB .Label_F4AB -al 00F4A8 .Label_F4A8 -al 00F4A2 .Label_F4A2 -al 00F461 .Label_F461 -al 00F44B .UpdateMusicChannel35 -al 00F44A .Label_F44A -al 00F441 .Label_F441 -al 00F41E .UpdateMusicChannel34 -al 00F415 .Label_F415 -al 00F402 .Label_F402 -al 00F3ED .Label_F3ED -al 00F3E8 .UpdateMusicChannel33 -al 00F3E2 .Label_F3E2 -al 00F3D7 .Label_F3D7 -al 00F3B9 .UpdateMusicChannel32 -al 00F3B0 .Label_F3B0 -al 00F3AC .Label_F3AC -al 00F36D .Label_F36D -al 00F321 .UpdateMusicChannel31 -al 00F320 .Label_F320 -al 00F2F0 .UpdateMusicChannel30 -al 00F2D5 .Label_F2D5 -al 00F2E3 .Label_F2E3 -al 00F2C4 .Label_F2C4 -al 00F267 .Label_F267 -al 00F271 .Label_F271 -al 00F257 .Label_F257 -al 00F259 .Label_F259 -al 00F232 .Label_F232 -al 00F22C .Label_F22C -al 00F226 .UpdateMusicChannel29 -al 00F1FB .UpdateMusicChannel28 -al 00F1F0 .Label_F1F0 -al 00F1D1 .Label_F1D1 -al 00F1E5 .Label_F1E5 -al 00F1CB .Label_F1CB -al 00F1AD .Label_F1AD -al 00F1A1 .Label_F1A1 -al 00F181 .Label_F181 -al 00F1C0 .Label_F1C0 -al 00F16B .Label_F16B -al 00F157 .Label_F157 -al 00F150 .Label_F150 -al 00F15C .Label_F15C -al 00F140 .UpdateMusicChannel27 -al 00F138 .UpdateMusicChannel26 -al 00F12E .Label_F12E -al 00F106 .Label_F106 -al 00F10E .Label_F10E -al 00F0FD .Label_F0FD -al 00F0E7 .UpdateMusicChannel25 -al 00F10F .Label_F10F -al 00F0DF .UpdateMusicChannel24 -al 00F0D4 .Label_F0D4 -al 00F0D0 .Label_F0D0 -al 00F0C4 .UpdateMusicChannel23 -al 00F0B6 .Label_F0B6 -al 00F0B2 .Label_F0B2 -al 00F0A5 .Label_F0A5 -al 00F096 .Label_F096 -al 00F0A0 .Label_F0A0 -al 00F08D .Label_F08D -al 00F076 .Label_F076 -al 00F06F .UpdateMusicChannel22 -al 00F062 .Label_F062 -al 00F05A .Label_F05A -al 00F03F .UpdateMusicChannel21 -al 00F03A .Label_F03A -al 00F021 .Label_F021 -al 00F015 .Label_F015 -al 00F003 .Label_F003 -al 00EFFB .Label_EFFB -al 00F013 .Label_F013 -al 00EFDC .UpdateMusicChannel20 -al 00EFD8 .Label_EFD8 -al 00EFD3 .UpdateMusicChannel19 -al 00EF79 .UpdateMusicChannel18 -al 00EF5F .Label_EF5F -al 00EF50 .Label_EF50 -al 00EF49 .Label_EF49 -al 00EF2F .Label_EF2F -al 00EF34 .Label_EF34 -al 00EF60 .Label_EF60 -al 00EF28 .UpdateMusicChannel17 -al 00EECD .Label_EECD -al 00EEBC .Label_EEBC -al 00EEBE .Label_EEBE -al 00EEAC .Label_EEAC -al 00EE9D .Label_EE9D -al 00EE8B .Label_EE8B -al 00EE67 .Label_EE67 -al 00EE5B .Label_EE5B -al 00EE4D .UpdateMusicChannel16 -al 00EE42 .Label_EE42 -al 00EE3D .UpdateMusicChannel15 -al 00EE21 .Label_EE21 -al 00EE08 .Label_EE08 -al 00EDF2 .UpdateMusicChannel14 -al 00EE2B .Label_EE2B -al 00EDED .UpdateMusicChannel13 -al 00EDD6 .Label_EDD6 -al 00EDCD .Label_EDCD -al 00EDD4 .Label_EDD4 -al 00EDB6 .Label_EDB6 -al 00EDB0 .UpdateMusicChannel12 -al 00ED1F .Label_ED1F -al 00ED0C .Label_ED0C -al 00ED06 .UpdateMusicChannel11 -al 00ECC9 .Label_ECC9 -al 00ECC5 .Label_ECC5 -al 00ECAF .Label_ECAF -al 00EC94 .Label_EC94 -al 00EC8D .UpdateMusicChannel10 -al 00EC88 .Label_EC88 -al 00EC80 .UpdateMusic2 -al 00EC32 .Label_EC32 -al 00EC23 .Label_EC23 -al 00EC22 .Label_EC22 -al 00EC4A .Label_EC4A -al 00EBF9 .UpdateSoundChannel9 -al 00EBD1 .Label_EBD1 -al 00EBBE .Label_EBBE -al 00EBB5 .Label_EBB5 -al 00EBE0 .Label_EBE0 -al 00EB9D .UpdateSoundChannel8 -al 00EB5B .Label_EB5B -al 00EB3C .Label_EB3C -al 00EB33 .Label_EB33 -al 00EB27 .UpdateSoundChannel7 -al 00EB20 .Label_EB20 -al 00EB18 .Label_EB18 -al 00EB07 .Label_EB07 -al 00EAF9 .Label_EAF9 -al 00EB0D .UpdateSoundChannel6 -al 00EAE5 .UpdateSoundChannel5 -al 00EADE .Label_EADE -al 00EAD1 .UpdateSoundChannel4_EAD1_3 -al 00EA58 .UpdateSoundEffect2 -al 00EA57 .Label_EA57 -al 00EA50 .UpdateSoundEffect -al 00EA46 .Label_EA46 -al 00EA42 .Label_EA42 -al 00EA33 .Label_EA33 -al 00EA2F .UpdateSoundChannels -al 00EA25 .Label_EA25 -al 00EA23 .Label_EA23 -al 00EA1C .Label_EA1C -al 00E9ED .UpdateSoundChannel3_E9ED_3 -al 00E9D6 .Label_E9D6 -al 00E9A5 .Label_E9A5 -al 00E9BC .Label_E9BC -al 00E999 .Label_E999 -al 00E9A8 .Label_E9A8 -al 00E9E5 .Label_E9E5 -al 00E9DE .Label_E9DE -al 00E96A .UpdateSoundChannel2_E96A_3 -al 00E959 .Label_E959 -al 00E94D .UpdateSoundEffects -al 00E94A .Label_E94A -al 00E931 .Label_E931 -al 00E961 .Label_E961 -al 00E92C .Label_E92C -al 00E91E .Label_E91E -al 00E91C .Label_E91C -al 00E908 .Label_E908 -al 00E8F3 .Label_E8F3 -al 00E8EC .Label_E8EC -al 00E8D0 .Label_E8D0 -al 00E8AC .Label_E8AC -al 00E8B2 .Label_E8B2 -al 00E8A4 .Label_E8A4 -al 00E87A .Label_E87A -al 00E86D .Label_E86D -al 00E863 .Label_E863 -al 00E829 .Label_E829 -al 00E819 .Label_E819 -al 00E81E .Label_E81E -al 00E7FC .Label_E7FC -al 00E801 .Label_E801 -al 00E7B0 .Label_E7B0 -al 00E7AC .UpdateMusicChannel2 -al 00E770 .Label_E770 -al 00E768 .Label_E768 -al 00E782 .Label_E782 -al 00E747 .Label_E747 -al 00E75F .Label_E75F -al 00E733 .Label_E733 -al 00E728 .Label_E728 -al 00E72C .Label_E72C -al 00E718 .Label_E718 -al 00E716 .Label_E716 -al 00E6F9 .Label_E6F9 -al 00E6DE .Label_E6DE -al 00E6C6 .Label_E6C6 -al 00E6B4 .Label_E6B4 -al 00E70B .Label_E70B -al 00E6A1 .Label_E6A1 -al 00E68F .UpdateMusicChannel -al 00E686 .Label_E686 -al 00E672 .Label_E672 -al 00E67C .Label_E67C -al 00E687 .Label_E687 -al 00E658 .Label_E658 -al 00E64C .Label_E64C -al 00E62F .Label_E62F -al 00E639 .Label_E639 -al 00E645 .Label_E645 -al 00E615 .Label_E615 -al 00E609 .UpdateMusicEngine -al 00E608 .Label_E608 -al 00E5B6 .Label_E5B6 -al 00E565 .Label_E565 -al 00E575 .Label_E575 -al 00E4F6 .Label_E4F6 -al 00E506 .PlaySound -al 00E497 .UpdateDisplay3 -al 00E490 .Label_E490 -al 00E48C .UpdateSprites_C34B3 -al 00E45B .Label_E45B -al 00E40E .UpdateDisplay -al 00E407 .Label_E407 -al 00E403 .CheckGameState -al 00E3E6 .Label_E3E6 -al 00E3E2 .UpdateGameMode -al 00E2A6 .UpdateBallPhysics -al 00E29D .Label_E29D -al 00E293 .InitSprites2 -al 00E28A .InitSound -al 00E284 .Label_E284 -al 00E278 .UpdateBallTrajectory_E278_3 -al 00E252 .Label_E252 -al 00E25D .Label_E25D -al 00E23B .Label_E23B -al 00E236 .Label_E236 -al 00E22D .Label_E22D -al 00E20D .Label_E20D -al 00E202 .Label_E202 -al 00E21E .Label_E21E -al 00E1F7 .Label_E1F7 -al 00E1E8 .Label_E1E8 -al 00E1C3 .Label_E1C3 -al 00E1CC .Label_E1CC -al 00E19F .Label_E19F -al 00E194 .Label_E194 -al 00E181 .Label_E181 -al 00E17B .Label_E17B -al 00E166 .Label_E166 -al 00E15B .Label_E15B -al 00E159 .Label_E159 -al 00E170 .Label_E170 -al 00E14B .Label_E14B -al 00E136 .Label_E136 -al 00E0FD .InitGame -al 00E0F6 .WritePPU2 -al 00E0EF .WritePPU -al 00E0E8 .Label_E0E8 -al 00E0E3 .DrawSprite -al 00E0BB .Label_E0BB -al 00E09D .Label_E09D -al 00E09B .InitSprites -al 00E087 .Label_E087 -al 00E082 .Label_E082 -al 00E092 .Label_E092 -al 00E06B .Label_E06B -al 00E059 .Label_E059 -al 00E049 .InitPPU -al 00E046 .WaitFrame -al 00E041 .Label_E041 -al 00E03A .Label_E03A -al 00E035 .WaitPPUReady -al 00E030 .Label_E030 -al 00E02C .WaitVBlank_E0232 -al 00E025 .WaitVBlank_E023_3 -al 00E023 .WaitVBlank_E023Loop -al 00E019 .Label_E019 -al 00E015 .Label_E015 -al 00DFEA .Label_DFEA -al 00DFE8 .Label_DFE8 -al 00DE7E .UpdateSoundChannel4_EAD1_1 -al 00DE75 .UpdateSoundChannel3_E9ED_1 -al 00DE6C .Label_DE6C -al 00DE63 .UpdateSoundChannel2_E96A_1 -al 00DE52 .Label_DE52 -al 00DE41 .UpdateSoundChannel -al 00DE30 .UpdateSoundEngine -al 00DE1B .Label_DE1B -al 00DDFA .Label_DDFA -al 00DDF1 .UpdateBumperState16 -al 00DDD9 .Label_DDD9 -al 00DDD0 .Label_DDD0 -al 00DDC9 .Label_DDC9 -al 00DDC7 .UpdateBumperState15 -al 00DDBE .UpdateBumperHit4 -al 00DDB5 .Label_DDB5 -al 00DDAC .UpdateBumperState13 -al 00DDA3 .UpdateBumperState12 -al 00DDA2 .Label_DDA2 -al 00DD92 .UpdateBumperState11 -al 00DD8F .UpdateBumperState10 -al 00DD84 .Label_DD84 -al 00DD78 .UpdateBumperState9 -al 00DD75 .UpdateBumperState8 -al 00DD6F .Label_DD6F -al 00DD6C .Label_DD6C -al 00DD65 .Label_DD65 -al 00DD5D .UpdateBumperState7 -al 00DD5A .Label_DD5A -al 00DD4E .Label_DD4E -al 00DD43 .Label_DD43 -al 00DD32 .UpdateBumperChain2 -al 00DD31 .Label_DD31 -al 00DD1B .Label_DD1B -al 00DD0D .Label_DD0D -al 00DD14 .Label_DD14 -al 00DD1E .Label_DD1E -al 00DD05 .Label_DD05 -al 00DCFB .Label_DCFB -al 00DCF9 .Label_DCF9 -al 00DCE3 .UpdateBumperState5 -al 00DCEC .UpdateBumperState6 -al 00DCDD .UpdateBumperChain -al 00DCCB .Label_DCCB -al 00DCC9 .Label_DCC9 -al 00DCC8 .Label_DCC8 -al 00DCAA .UpdateBumperState4 -al 00DC9E .Label_DC9E -al 00DC82 .Label_DC82 -al 00DC7A .Label_DC7A -al 00DC8E .Label_DC8E -al 00DC6C .Label_DC6C -al 00DC64 .Label_DC64 -al 00DC5A .Label_DC5A -al 00DC3E .UpdateBumperHit2 -al 00DC2E .Label_DC2E -al 00DC34 .Label_DC34 -al 00DC37 .Label_DC37 -al 00DC11 .UpdateBumperState3 -al 00DC0D .UpdateBumperState2 -al 00DBFC .Label_DBFC -al 00DBFA .UpdateBumperSprites -al 00DBF9 .Label_DBF9 -al 00DBEE .Label_DBEE -al 00DBE3 .UpdateBumperHit -al 00DBDE .Label_DBDE -al 00DBCD .Label_DBCD -al 00DBC8 .UpdateBumperState -al 00DBB8 .Label_DBB8 -al 00DBB6 .UpdateBumper -al 00D744 .Label_D744 -al 00D739 .UpdateBallDirection -al 00D738 .Label_D738 -al 00D730 .CheckBallSpeed -al 00D726 .Label_D726 -al 00D728 .Label_D728 -al 00D70E .Label_D70E -al 00D71F .Label_D71F -al 00D70C .Label_D70C -al 00D710 .Label_D710 -al 00D6F5 .Label_D6F5 -al 00D6C3 .Label_D6C3 -al 00D70F .Label_D70F -al 00D6CB .Label_D6CB -al 00D6A8 .UpdateBallVelocity -al 00D69A .Label_D69A -al 00D677 .Label_D677 -al 00D66C .Label_D66C -al 00D678 .Label_D678 -al 00D63F .Label_D63F -al 00D63A .Label_D63A -al 00D61A .Label_D61A -al 00D5F5 .UpdateFlipperSprites_3 -al 00D5F1 .Label_D5F1 -al 00D5F0 .Label_D5F0 -al 00D5CB .Label_D5CB -al 00D5C3 .Label_D5C3 -al 00D5C1 .CheckFlipperPressed -al 00D5D7 .Label_D5D7 -al 00D5D1 .UpdateFlipperState -al 00D553 .Label_D553 -al 00D544 .Label_D544 -al 00D53E .Label_D53E -al 00D52F .Label_D52F -al 00D528 .Label_D528 -al 00D4F0 .UpdateFlippers_3 -al 00D4CF .UpdateScoreDisplay2 -al 00D4B9 .ReadPPUData2 -al 00D4A1 .ReadPPUData_3 -al 00D49F .Label_D49F -al 00D481 .Label_D481 -al 00D48F .Label_D48F -al 00D45C .Label_D45C -al 00D445 .Label_D445 -al 00D46A .Label_D46A -al 00D437 .Label_D437 -al 00D497 .Label_D497 -al 00D499 .Label_D499 -al 00D420 .Label_D420 -al 00D413 .Label_D413 -al 00D41E .Label_D41E -al 00D439 .Label_D439 -al 00D40B .Label_D40B -al 00D42E .Label_D42E -al 00D42A .Label_D42A -al 00D3EA .Label_D3EA -al 00D3F4 .Label_D3F4 -al 00D40F .Label_D40F -al 00D441 .Label_D441 -al 00D3CC .UpdateScoreDigits -al 00D3AA .UpdateScoreDisplay_3 -al 00D3A8 .Label_D3A8 -al 00D390 .DrawScore -al 00D38F .Label_D38F -al 00D386 .CheckTiltSwitch -al 00D37F .Label_D37F -al 00D381 .Label_D381 -al 00D379 .Label_D379 -al 00D36B .Label_D36B -al 00D36D .Label_D36D -al 00D365 .Label_D365 -al 00D359 .CheckBallPosition -al 00D358 .Label_D358 -al 00D33C .Label_D33C -al 00D334 .CheckBallVelocity -al 00D2E9 .CheckBallPocket -al 00D2E0 .Label_D2E0 -al 00D2E7 .Label_D2E7 -al 00D2A3 .Label_D2A3 -al 00D2B8 .Label_D2B8 -al 00D288 .Label_D288 -al 00D271 .Label_D271 -al 00D2E4 .CheckFlipperHit -al 00D296 .CheckCollision -al 00D25B .Label_D25B -al 00D261 .Label_D261 -al 00D238 .Label_D238 -al 00D248 .Label_D248 -al 00D1FB .UpdateBallSprite -al 00D1EA .Label_D1EA -al 00D203 .Label_D203 -al 00D1D1 .Label_D1D1 -al 00D1CA .Label_D1CA -al 00D1BD .Label_D1BD -al 00D1CE .Label_D1CE -al 00D1B3 .Label_D1B3 -al 00D1AA .Label_D1AA -al 00D1B8 .Label_D1B8 -al 00D191 .UpdateBallY2 -al 00D18E .Label_D18E -al 00D15B .UpdateBallPosition2 -al 00D159 .UpdateBallPosition_3 -al 00D154 .Label_D154 -al 00D125 .Label_D125 -al 00D11E .Label_D11E -al 00D118 .Label_D118 -al 00D10E .Label_D10E -al 00D157 .Label_D157 -al 00D0F8 .Label_D0F8 -al 00D0F5 .Label_D0F5 -al 00D0E0 .UpdateFlipperSound -al 00D0DF .Label_D0DF -al 00D0D2 .Label_D0D2 -al 00D0C9 .Label_D0C9 -al 00D0AD .UpdateScore2 -al 00D093 .UpdateBallX -al 00D08F .Label_D08F -al 00D076 .Label_D076 -al 00D06C .Label_D06C -al 00D07C .UpdateBallY -al 00D066 .Label_D066 -al 00D055 .Label_D055 -al 00D03C .UpdateScore -al 00D030 .Label_D030 -al 00CFEC .UpdateSprites_C34B2 -al 00CFEB .Label_CFEB -al 00CFD5 .Label_CFD5 -al 00CFCC .Label_CFCC -al 00CFC1 .Label_CFC1 -al 00CFA7 .Label_CFA7 -al 00CF9E .Label_CF9E -al 00CF97 .Label_CF97 -al 00CF95 .Label_CF95 -al 00CF8A .Label_CF8A -al 00CFD3 .Label_CFD3 -al 00CF82 .ProcessSpriteAttributes2 -al 00CF43 .Label_CF43 -al 00CF3A .Label_CF3A -al 00CF76 .Label_CF76 -al 00CF25 .Label_CF25 -al 00CF7B .Label_CF7B -al 00CF04 .ProcessSpriteAttributes -al 00CEF2 .ProcessSpriteData -al 00CEEA .Label_CEEA -al 00CED1 .Label_CED1 -al 00CEC9 .Label_CEC9 -al 00CEC5 .Label_CEC5 -al 00CEA9 .Label_CEA9 -al 00CE96 .Label_CE96 -al 00CE77 .Label_CE77 -al 00CE70 .Label_CE70 -al 00CE6C .InitializeRAM -al 00CE4E .Label_CE4E -al 00CDA5 .Label_CDA5 -al 00CDA4 .UpdateBonusDisplay_3 -al 00CD9C .IncrementBonus -al 00CD7D .Label_CD7D -al 00CD71 .Label_CD71 -al 00CD68 .Label_CD68 -al 00CD5E .Label_CD5E -al 00CD59 .Label_CD59 -al 00CD97 .Label_CD97 -al 00CD46 .Label_CD46 -al 00CD41 .Label_CD41 -al 00CD34 .Label_CD34 -al 00CD30 .Label_CD30 -al 00CD0B .Label_CD0B -al 00CD02 .Label_CD02 -al 00CCE9 .Label_CCE9 -al 00CCDD .Label_CCDD -al 00CCD9 .Label_CCD9 -al 00CCD3 .Label_CCD3 -al 00CCA2 .Label_CCA2 -al 00CCB7 .Label_CCB7 -al 00CCBB .Label_CCBB -al 00CCB6 .Label_CCB6 -al 00CC8F .Label_CC8F -al 00CC7F .Label_CC7F -al 00CC78 .Label_CC78 -al 00CC77 .Label_CC77 -al 00CC70 .Label_CC70 -al 00CC64 .Label_CC64 -al 00CC58 .Label_CC58 -al 00CC5D .Label_CC5D -al 00CC35 .Label_CC35 -al 00CC3A .Label_CC3A -al 00CC18 .Label_CC18 -al 00CC15 .Label_CC15 -al 00CBF6 .Label_CBF6 -al 00CBFD .Label_CBFD -al 00CC06 .Label_CC06 -al 00CC01 .Label_CC01 -al 00CBE9 .Label_CBE9 -al 00CBCF .Label_CBCF -al 00CBC4 .Label_CBC4 -al 00CBBA .Label_CBBA -al 00CBB6 .Label_CBB6 -al 00CBB4 .Label_CBB4 -al 00CBAF .Label_CBAF -al 00CBA7 .Label_CBA7 -al 00C3F4 .ClearPlayfieldRTS -al 00C3E9 .Label_C3E9 -al 00C3E0 .DrawGameOverScreen -al 00C3CE .UpdateBonusTimer -al 00C3C7 .BallLost -al 00C3B7 .UpdateBallTrajectory_E278_1 -al 00C3B1 .UpdateFlipper -al 00C3D3 .BallLostHandler -al 00C38C .CheckTilt -al 00C37C .BallPhysicsMain -al 00C34D .Label_C34D -al 00C33F .Label_C33F -al 00C34B .UpdateSprites_C34B_3 -al 00C32E .DrawDigits -al 00C315 .Label_C315 -al 00C301 .DrawStatusBar -al 00C2F0 .Label_C2F0 -al 00C2DE .DrawPlayfield -al 00C2CF .Label_C2CF -al 00C2BD .Label_C2BD -al 00C294 .InitBallLaunch -al 00C27F .GameStateUpdate -al 00C26F .HandleBonus -al 00C22B .Label_C22B -al 00C223 .Label_C223 -al 00C231 .Label_C231 -al 00C25A .NmiFrameEnd -al 00C20B .Label_C20B -al 00C1ED .NmiHandler -al 00C1DD .Label_C1DD -al 00C1E7 .Label_C1E7 -al 00C1C5 .Label_C1C5 -al 00C1EA .Label_C1EA -al 00C18F .UpdateSpritePositions -al 00C181 .UpdateSprites_C34B_1 -al 00C160 .Label_C160 -al 00C157 .Label_C157 -al 00C142 .Label_C142 -al 00C18C .Label_C18C -al 00C145 .Label_C145 -al 00C12F .Label_C12F -al 00C121 .Label_C121 -al 00C10B .Label_C10B -al 00C10E .ProcessController -al 00C0E9 .CheckHighScore -al 00C0CC .CheckController -al 00C0BF .WaitVBlank_E023Frame -al 00C0BC .GameModePlay -al 00C0D3 .UpdateFrameCounter -al 00C0A4 .Label_C0A4 -al 00C0AE .GameModeTitle -al 00C09B .CheckGameMode -al 00C074 .Label_C074 -al 00C06C .Label_C06C -al 00C04A .ClearSpriteRAM -al 00C058 .InitLevel -al 00C03B .MainGameLoop -al 00C023 .InitGameState -al 00C01D .Label_C01D -al 00C00D .ClearZeropage -al 00C002 .WaitVBlank_E023_1 -al 00C000 .Reset diff --git a/_wip/Pinball (JU)/copilot/reconstructed.map b/_wip/Pinball (JU)/copilot/reconstructed.map deleted file mode 100644 index aaf7f17..0000000 --- a/_wip/Pinball (JU)/copilot/reconstructed.map +++ /dev/null @@ -1,26 +0,0 @@ -Modules list: -------------- -prg.o: - PRG Offs=000000 Size=004000 Align=00001 Fill=0000 - - -Segment list: -------------- -Name Start End Size Align ----------------------------------------------------- -PRG 00C000 00FFFF 004000 00001 - - -Exports list by name: ---------------------- - - - -Exports list by value: ----------------------- - - - -Imports list: -------------- - diff --git a/_wip/Popeye (JU) (PRG 0)/OVERVIEW.md b/_wip/Popeye (JU) (PRG 0)/OVERVIEW.md deleted file mode 100644 index 8822ff4..0000000 --- a/_wip/Popeye (JU) (PRG 0)/OVERVIEW.md +++ /dev/null @@ -1,59 +0,0 @@ -# Popeye (JU) (PRG 0) — Pass 1 Disassembly - -ROM: `_wip/Popeye (JU) (PRG 0)/Popeye (JU) (PRG 0).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 72.3% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 14,875 lines with 878 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). - -**Companion note:** `Popeye (JU) (PRG 1)` holds a different PRG image of the same title (different mirroring flag, too). Neither is currently known to be a superset of the other. - - -## ROM Facts - -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `a9e586a0449d23c294cf8f2443a8b4a85be6832507c6baba6c275028360e71c9` | -| PRG SHA-256 | `8f095a389c8d357cd2042e39e7a111b2d42838159d52e374c24bb2b8f2560c56` | - -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) - -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C701` | per-frame heartbeat | -| RESET | `$C649` | enters at $C649 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | -| IRQ | `$FFF0` | lands in the vector-page padding — unused placeholder | - -## `copilot/` Contents - -| File | Purpose | -|------|---------| -| `Popeye (JU) (PRG 0).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 14,875 lines, 878 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | - -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. - -## Build - -```bash -cd "_wip/Popeye (JU) (PRG 0)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` - -## Pass Status - -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 14,875 lines of `prg.s`, 878 address-based `Label_` definitions, canonical audit comments; 72.3% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | - -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/Makefile b/_wip/Popeye (JU) (PRG 0)/copilot/Makefile deleted file mode 100644 index 3f9ba6f..0000000 --- a/_wip/Popeye (JU) (PRG 0)/copilot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -all: reconstructed_prg.bin verify -prg.o: prg.s symbols.inc prg.bin - ca65 -g -o $@ prg.s -reconstructed_prg.bin: prg.o linker.cfg - ld65 -C linker.cfg -m reconstructed.map -Ln reconstructed.lbl -o $@ prg.o -verify: reconstructed_prg.bin prg.bin - cmp reconstructed_prg.bin prg.bin - @echo BYTE-IDENTICAL -clean: - rm -f prg.o reconstructed_prg.bin reconstructed.map reconstructed.lbl diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/linker.cfg b/_wip/Popeye (JU) (PRG 0)/copilot/linker.cfg deleted file mode 100644 index d9d421d..0000000 --- a/_wip/Popeye (JU) (PRG 0)/copilot/linker.cfg +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - PRG: start = $C000, size = $4000, file = %O, fill = yes; -} -SEGMENTS { - PRG: load = PRG, type = ro; -} diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl b/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl deleted file mode 100644 index 80407df..0000000 --- a/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.lbl +++ /dev/null @@ -1,881 +0,0 @@ -al 00FFF0 .IrqHandler -al 00FCCD .Label_FCCD -al 00FCC7 .Label_FCC7 -al 00FCB1 .Label_FCB1 -al 00FC96 .Label_FC96 -al 00FC9F .Label_FC9F -al 00FC78 .Label_FC78 -al 00FCC1 .Label_FCC1 -al 00FCA0 .Label_FCA0 -al 00FC4C .Label_FC4C -al 00FC2D .Label_FC2D -al 00FC3C .Label_FC3C -al 00FC24 .Label_FC24 -al 00FC55 .Label_FC55 -al 00FC05 .Label_FC05 -al 00FC13 .Label_FC13 -al 00FBD3 .Label_FBD3 -al 00FBC7 .Label_FBC7 -al 00FBC6 .Label_FBC6 -al 00FBA8 .Label_FBA8 -al 00FBB8 .Label_FBB8 -al 00FB8E .Label_FB8E -al 00FB75 .Label_FB75 -al 00FB89 .Label_FB89 -al 00FB6B .Label_FB6B -al 00FB5F .Label_FB5F -al 00FB48 .Label_FB48 -al 00FB3D .Label_FB3D -al 00FB4A .Label_FB4A -al 00FB40 .Label_FB40 -al 00FB25 .Label_FB25 -al 00FB21 .Label_FB21 -al 00FB33 .Label_FB33 -al 00FB09 .Label_FB09 -al 00FB1A .Label_FB1A -al 00FAE8 .Label_FAE8 -al 00FB58 .Label_FB58 -al 00FADF .Label_FADF -al 00FADB .Label_FADB -al 00FB06 .Label_FB06 -al 00FAC2 .Label_FAC2 -al 00FAD1 .Label_FAD1 -al 00FAAF .Label_FAAF -al 00FAA5 .Label_FAA5 -al 00FA75 .Label_FA75 -al 00FA6A .Label_FA6A -al 00FA60 .Label_FA60 -al 00FA65 .Label_FA65 -al 00FA3D .Label_FA3D -al 00FA8D .Label_FA8D -al 00FA7A .Label_FA7A -al 00FA43 .Label_FA43 -al 00FA50 .Label_FA50 -al 00FA87 .Label_FA87 -al 00F9FE .Label_F9FE -al 00FA2D .Label_FA2D -al 00F9ED .Label_F9ED -al 00F9F9 .Label_F9F9 -al 00F9DF .Label_F9DF -al 00F9D1 .Label_F9D1 -al 00FA37 .Label_FA37 -al 00FA3A .Label_FA3A -al 00F9C0 .Label_F9C0 -al 00F9B1 .Label_F9B1 -al 00F9CF .Label_F9CF -al 00F9AA .Label_F9AA -al 00F9A7 .Label_F9A7 -al 00F99B .Label_F99B -al 00F995 .Label_F995 -al 00F98E .Label_F98E -al 00F98C .Label_F98C -al 00F98B .Label_F98B -al 00F985 .Label_F985 -al 00F983 .Label_F983 -al 00F970 .Label_F970 -al 00F8D9 .Label_F8D9 -al 00F8D4 .Label_F8D4 -al 00F8BE .Label_F8BE -al 00F8A1 .Label_F8A1 -al 00F8BB .Label_F8BB -al 00F89A .Label_F89A -al 00F8FD .Label_F8FD -al 00F891 .Label_F891 -al 00F889 .Label_F889 -al 00F88E .Label_F88E -al 00F895 .Label_F895 -al 00F876 .Label_F876 -al 00F863 .Label_F863 -al 00F858 .Label_F858 -al 00F852 .Label_F852 -al 00F84E .Label_F84E -al 00F84A .Label_F84A -al 00F849 .Label_F849 -al 00F83A .Label_F83A -al 00F838 .Label_F838 -al 00F835 .Label_F835 -al 00F833 .Label_F833 -al 00F071 .Label_F071 -al 00F06F .Label_F06F -al 00F07B .Label_F07B -al 00F05A .Label_F05A -al 00F085 .Label_F085 -al 00F080 .Label_F080 -al 00F02F .Label_F02F -al 00F055 .Label_F055 -al 00F07C .Label_F07C -al 00F026 .Label_F026 -al 00F002 .Label_F002 -al 00EFFF .Label_EFFF -al 00EFF3 .Label_EFF3 -al 00EFE0 .Label_EFE0 -al 00EFD7 .Label_EFD7 -al 00EFDB .Label_EFDB -al 00EFCA .Label_EFCA -al 00EFBF .Label_EFBF -al 00EFBE .Label_EFBE -al 00EFA2 .Label_EFA2 -al 00EF9C .Label_EF9C -al 00EF47 .Label_EF47 -al 00EF6E .Label_EF6E -al 00EF6A .Label_EF6A -al 00EF3A .Label_EF3A -al 00EF30 .Label_EF30 -al 00EF1F .Label_EF1F -al 00EF19 .Label_EF19 -al 00EF05 .Label_EF05 -al 00EEF1 .Label_EEF1 -al 00EEEE .Label_EEEE -al 00EEEB .Label_EEEB -al 00EEDF .Label_EEDF -al 00EEC9 .Label_EEC9 -al 00EEC8 .Label_EEC8 -al 00EE9F .Label_EE9F -al 00EE9D .Label_EE9D -al 00EE89 .Label_EE89 -al 00EE84 .Label_EE84 -al 00EE74 .Label_EE74 -al 00EE70 .Label_EE70 -al 00EE6A .Label_EE6A -al 00EE5E .Label_EE5E -al 00EE5D .Label_EE5D -al 00EE4F .Label_EE4F -al 00EE4D .Label_EE4D -al 00EE21 .Label_EE21 -al 00EE0A .Label_EE0A -al 00EDF5 .Label_EDF5 -al 00EDF4 .Label_EDF4 -al 00EDE3 .Label_EDE3 -al 00EDC4 .Label_EDC4 -al 00ED88 .Label_ED88 -al 00ED82 .Label_ED82 -al 00ED79 .Label_ED79 -al 00ED77 .Label_ED77 -al 00ED70 .Label_ED70 -al 00ED59 .Label_ED59 -al 00ED3F .Label_ED3F -al 00ED34 .Label_ED34 -al 00ED20 .Label_ED20 -al 00ED1C .Label_ED1C -al 00ED1F .Label_ED1F -al 00ED03 .Label_ED03 -al 00ECF7 .Label_ECF7 -al 00ED02 .Label_ED02 -al 00ECC3 .Label_ECC3 -al 00ECBE .Label_ECBE -al 00ECC2 .Label_ECC2 -al 00ECA6 .Label_ECA6 -al 00ECA5 .Label_ECA5 -al 00EC8A .Label_EC8A -al 00EC81 .Label_EC81 -al 00EC89 .Label_EC89 -al 00EC77 .Label_EC77 -al 00EC6C .Label_EC6C -al 00EC6B .Label_EC6B -al 00EC5E .Label_EC5E -al 00EC56 .Label_EC56 -al 00EC4F .Label_EC4F -al 00EC33 .Label_EC33 -al 00EC5B .Label_EC5B -al 00EC16 .Label_EC16 -al 00EC08 .Label_EC08 -al 00EC05 .Label_EC05 -al 00EC03 .Label_EC03 -al 00EBF5 .Label_EBF5 -al 00EBE0 .Label_EBE0 -al 00EBD6 .Label_EBD6 -al 00EBCE .Label_EBCE -al 00EBF2 .Label_EBF2 -al 00EBB2 .Label_EBB2 -al 00EBA4 .Label_EBA4 -al 00EB9B .Label_EB9B -al 00EBA3 .Label_EBA3 -al 00EB89 .Label_EB89 -al 00EB88 .Label_EB88 -al 00EB73 .Label_EB73 -al 00EB6D .Label_EB6D -al 00EB61 .Label_EB61 -al 00EB4F .Label_EB4F -al 00EB72 .Label_EB72 -al 00EB35 .Label_EB35 -al 00EB2E .Label_EB2E -al 00EB23 .Label_EB23 -al 00EB1A .Label_EB1A -al 00EB0C .Label_EB0C -al 00EB02 .Label_EB02 -al 00EAF7 .Label_EAF7 -al 00EAFC .Label_EAFC -al 00EAF4 .Label_EAF4 -al 00EAFF .Label_EAFF -al 00EAD8 .Label_EAD8 -al 00EAD2 .Label_EAD2 -al 00EACC .Label_EACC -al 00EAD5 .Label_EAD5 -al 00EABB .Label_EABB -al 00EAB5 .Label_EAB5 -al 00EAA4 .Label_EAA4 -al 00EA97 .Label_EA97 -al 00EA94 .Label_EA94 -al 00EA8C .Label_EA8C -al 00EA79 .Label_EA79 -al 00EA76 .Label_EA76 -al 00EA6E .Label_EA6E -al 00EA67 .Label_EA67 -al 00EA5D .Label_EA5D -al 00EA4E .Label_EA4E -al 00EA43 .Label_EA43 -al 00EA35 .Label_EA35 -al 00EA62 .Label_EA62 -al 00EA27 .Label_EA27 -al 00EA25 .Label_EA25 -al 00EA05 .Label_EA05 -al 00E9FF .Label_E9FF -al 00E9FD .Label_E9FD -al 00E9DD .Label_E9DD -al 00E9D7 .Label_E9D7 -al 00E9AF .Label_E9AF -al 00E9AA .Label_E9AA -al 00E9A1 .Label_E9A1 -al 00E97B .Label_E97B -al 00E976 .Label_E976 -al 00E96D .Label_E96D -al 00E958 .Label_E958 -al 00E952 .Label_E952 -al 00E940 .Label_E940 -al 00E936 .Label_E936 -al 00E92E .Label_E92E -al 00E92B .Label_E92B -al 00E91F .Label_E91F -al 00E925 .Label_E925 -al 00E906 .Label_E906 -al 00E8EA .Label_E8EA -al 00E8E8 .Label_E8E8 -al 00E8DD .Label_E8DD -al 00E8D8 .Label_E8D8 -al 00E8CF .Label_E8CF -al 00E8C6 .Label_E8C6 -al 00E8C4 .Label_E8C4 -al 00E8BC .Label_E8BC -al 00E8B3 .Label_E8B3 -al 00E8AA .Label_E8AA -al 00E8A8 .Label_E8A8 -al 00E8A0 .Label_E8A0 -al 00E89B .Label_E89B -al 00E899 .Label_E899 -al 00E887 .Label_E887 -al 00E872 .Label_E872 -al 00E859 .Label_E859 -al 00E854 .Label_E854 -al 00E84D .Label_E84D -al 00E845 .Label_E845 -al 00E840 .Label_E840 -al 00E821 .Label_E821 -al 00E80C .Label_E80C -al 00E7F1 .Label_E7F1 -al 00E7EC .Label_E7EC -al 00E7DD .Label_E7DD -al 00E7BD .Label_E7BD -al 00E7B2 .Label_E7B2 -al 00E79F .Label_E79F -al 00E79B .Label_E79B -al 00E797 .Label_E797 -al 00E796 .Label_E796 -al 00E77D .Label_E77D -al 00E77B .Label_E77B -al 00E765 .Label_E765 -al 00E755 .Label_E755 -al 00E74B .Label_E74B -al 00E741 .Label_E741 -al 00E723 .Label_E723 -al 00E722 .Label_E722 -al 00E71F .Label_E71F -al 00E70E .Label_E70E -al 00E6F7 .Label_E6F7 -al 00E6FD .Label_E6FD -al 00E6F2 .Label_E6F2 -al 00E6E6 .Label_E6E6 -al 00E6B0 .Label_E6B0 -al 00E6A9 .Label_E6A9 -al 00E6E5 .Label_E6E5 -al 00E694 .Label_E694 -al 00E689 .Label_E689 -al 00E677 .Label_E677 -al 00E66D .Label_E66D -al 00E66A .Label_E66A -al 00E693 .Label_E693 -al 00E682 .Label_E682 -al 00E678 .Label_E678 -al 00E63D .Label_E63D -al 00E631 .Label_E631 -al 00E610 .Label_E610 -al 00E5F7 .Label_E5F7 -al 00E5F6 .Label_E5F6 -al 00E5E6 .Label_E5E6 -al 00E5E4 .Label_E5E4 -al 00E5DE .Label_E5DE -al 00E5D0 .Label_E5D0 -al 00E5B4 .Label_E5B4 -al 00E5E2 .Label_E5E2 -al 00E5BC .Label_E5BC -al 00E592 .Label_E592 -al 00E561 .Label_E561 -al 00E56F .Label_E56F -al 00E553 .Label_E553 -al 00E54C .Label_E54C -al 00E540 .Label_E540 -al 00E53A .Label_E53A -al 00E526 .Label_E526 -al 00E51F .Label_E51F -al 00E524 .Label_E524 -al 00E539 .Label_E539 -al 00E512 .Label_E512 -al 00E500 .Label_E500 -al 00E4F4 .Label_E4F4 -al 00E4EF .Label_E4EF -al 00E4F3 .Label_E4F3 -al 00E4D4 .Label_E4D4 -al 00E4CE .Label_E4CE -al 00E4C8 .Label_E4C8 -al 00E4D1 .Label_E4D1 -al 00E4B4 .Label_E4B4 -al 00E4B3 .Label_E4B3 -al 00E4A3 .Label_E4A3 -al 00E488 .Label_E488 -al 00E44C .Label_E44C -al 00E436 .Label_E436 -al 00E41D .Label_E41D -al 00E43E .Label_E43E -al 00E410 .Label_E410 -al 00E406 .Label_E406 -al 00E404 .Label_E404 -al 00E3F4 .Label_E3F4 -al 00E3D8 .Label_E3D8 -al 00E3C9 .Label_E3C9 -al 00E3C0 .Label_E3C0 -al 00E3B7 .Label_E3B7 -al 00E3A5 .Label_E3A5 -al 00E3AB .Label_E3AB -al 00E389 .Label_E389 -al 00E381 .Label_E381 -al 00E37F .Label_E37F -al 00E371 .Label_E371 -al 00E365 .Label_E365 -al 00E35E .Label_E35E -al 00E34E .Label_E34E -al 00E333 .Label_E333 -al 00E324 .Label_E324 -al 00E313 .Label_E313 -al 00E30E .Label_E30E -al 00E327 .Label_E327 -al 00E2FA .Label_E2FA -al 00E2EE .Label_E2EE -al 00E2CD .Label_E2CD -al 00E2DD .Label_E2DD -al 00E2BC .Label_E2BC -al 00E296 .Label_E296 -al 00E2A4 .Label_E2A4 -al 00E28F .Label_E28F -al 00E2A3 .Label_E2A3 -al 00E265 .Label_E265 -al 00E260 .Label_E260 -al 00E258 .Label_E258 -al 00E24D .Label_E24D -al 00E240 .Label_E240 -al 00E233 .Label_E233 -al 00E223 .Label_E223 -al 00E21A .Label_E21A -al 00E232 .Label_E232 -al 00E1FC .Label_E1FC -al 00E1F0 .Label_E1F0 -al 00E1F3 .Label_E1F3 -al 00E1CC .Label_E1CC -al 00E1BE .Label_E1BE -al 00E1AC .Label_E1AC -al 00E1A7 .Label_E1A7 -al 00E197 .Label_E197 -al 00E19D .Label_E19D -al 00E191 .Label_E191 -al 00E182 .Label_E182 -al 00E180 .Label_E180 -al 00E171 .Label_E171 -al 00E16E .Label_E16E -al 00E158 .Label_E158 -al 00E1A4 .Label_E1A4 -al 00E140 .Label_E140 -al 00E134 .Label_E134 -al 00E131 .Label_E131 -al 00E125 .Label_E125 -al 00E120 .Label_E120 -al 00E11D .Label_E11D -al 00E0F5 .Label_E0F5 -al 00E0EB .Label_E0EB -al 00E0DE .Label_E0DE -al 00E0D2 .Label_E0D2 -al 00E0B3 .Label_E0B3 -al 00E0B1 .Label_E0B1 -al 00E0A4 .Label_E0A4 -al 00E091 .Label_E091 -al 00E08D .Label_E08D -al 00E086 .Label_E086 -al 00E070 .Label_E070 -al 00E07D .Label_E07D -al 00E065 .Label_E065 -al 00E05F .Label_E05F -al 00E060 .Label_E060 -al 00E04D .Label_E04D -al 00E046 .Label_E046 -al 00E040 .Label_E040 -al 00E039 .Label_E039 -al 00E00C .Label_E00C -al 00E018 .Label_E018 -al 00E029 .Label_E029 -al 00DFEE .Label_DFEE -al 00DFD6 .Label_DFD6 -al 00DFCD .Label_DFCD -al 00DFC0 .Label_DFC0 -al 00DF95 .Label_DF95 -al 00DF88 .Label_DF88 -al 00DF6A .Label_DF6A -al 00DF7A .Label_DF7A -al 00DF33 .Label_DF33 -al 00DF2D .Label_DF2D -al 00DF14 .Label_DF14 -al 00DF03 .Label_DF03 -al 00DEF6 .Label_DEF6 -al 00DEDE .Label_DEDE -al 00DEDA .Label_DEDA -al 00DEEE .Label_DEEE -al 00DF0D .Label_DF0D -al 00DEBB .Label_DEBB -al 00DEB0 .Label_DEB0 -al 00DEA1 .Label_DEA1 -al 00DE98 .Label_DE98 -al 00DE96 .Label_DE96 -al 00DEAA .Label_DEAA -al 00DE89 .Label_DE89 -al 00DE79 .Label_DE79 -al 00DE77 .Label_DE77 -al 00DE6A .Label_DE6A -al 00DE68 .Label_DE68 -al 00DEA7 .Label_DEA7 -al 00DE81 .Label_DE81 -al 00DE40 .Label_DE40 -al 00DE17 .Label_DE17 -al 00DE0D .Label_DE0D -al 00DDE8 .Label_DDE8 -al 00DDE6 .Label_DDE6 -al 00DDEE .Label_DDEE -al 00DE31 .Label_DE31 -al 00DE36 .Label_DE36 -al 00DDCD .Label_DDCD -al 00DDAC .Label_DDAC -al 00DD8C .Label_DD8C -al 00DD8A .Label_DD8A -al 00DD80 .Label_DD80 -al 00DD77 .Label_DD77 -al 00DD61 .Label_DD61 -al 00DD6B .Label_DD6B -al 00DD39 .Label_DD39 -al 00DD95 .Label_DD95 -al 00DD23 .Label_DD23 -al 00DD20 .Label_DD20 -al 00DD17 .Label_DD17 -al 00DD0E .Label_DD0E -al 00DD05 .Label_DD05 -al 00DCFB .Label_DCFB -al 00DCEF .Label_DCEF -al 00DCE7 .Label_DCE7 -al 00DCE1 .Label_DCE1 -al 00DCEE .Label_DCEE -al 00DCC8 .Label_DCC8 -al 00DCB2 .Label_DCB2 -al 00DCA4 .Label_DCA4 -al 00DCA1 .Label_DCA1 -al 00DC8D .Label_DC8D -al 00DCBB .Label_DCBB -al 00DC72 .Label_DC72 -al 00DC7A .Label_DC7A -al 00DC57 .Label_DC57 -al 00DC54 .Label_DC54 -al 00DC38 .Label_DC38 -al 00DC2A .Label_DC2A -al 00DC25 .Label_DC25 -al 00DC23 .Label_DC23 -al 00DC15 .Label_DC15 -al 00DC4A .Label_DC4A -al 00DBF5 .Label_DBF5 -al 00DBEA .Label_DBEA -al 00DBDF .Label_DBDF -al 00DBE7 .Label_DBE7 -al 00DBD4 .Label_DBD4 -al 00DBD9 .Label_DBD9 -al 00DBC3 .Label_DBC3 -al 00DBC0 .Label_DBC0 -al 00DBB7 .Label_DBB7 -al 00DBA3 .Label_DBA3 -al 00DB9C .Label_DB9C -al 00DB95 .Label_DB95 -al 00DB8E .Label_DB8E -al 00DB87 .Label_DB87 -al 00DB80 .Label_DB80 -al 00DB79 .Label_DB79 -al 00DB72 .Label_DB72 -al 00DB62 .Label_DB62 -al 00DB50 .Label_DB50 -al 00DB34 .Label_DB34 -al 00DB32 .Label_DB32 -al 00DB2D .Label_DB2D -al 00DB51 .Label_DB51 -al 00DB3A .Label_DB3A -al 00DB0C .Label_DB0C -al 00DAF9 .Label_DAF9 -al 00DAF6 .Label_DAF6 -al 00DAE5 .Label_DAE5 -al 00DAC6 .Label_DAC6 -al 00DAF8 .Label_DAF8 -al 00DAC3 .Label_DAC3 -al 00DAA7 .Label_DAA7 -al 00DA9F .Label_DA9F -al 00DA81 .Label_DA81 -al 00DA8E .Label_DA8E -al 00DA4B .Label_DA4B -al 00DA37 .Label_DA37 -al 00DA60 .Label_DA60 -al 00DA15 .Label_DA15 -al 00DA0B .Label_DA0B -al 00DA01 .Label_DA01 -al 00D9F1 .Label_D9F1 -al 00D9FA .Label_D9FA -al 00D9D9 .Label_D9D9 -al 00D9C8 .Label_D9C8 -al 00D9A9 .Label_D9A9 -al 00D9BC .Label_D9BC -al 00D9A3 .Label_D9A3 -al 00D992 .Label_D992 -al 00D983 .Label_D983 -al 00D988 .Label_D988 -al 00D961 .Label_D961 -al 00D959 .Label_D959 -al 00D96B .Label_D96B -al 00D938 .Label_D938 -al 00D925 .Label_D925 -al 00D92D .Label_D92D -al 00D8EF .Label_D8EF -al 00D8F7 .Label_D8F7 -al 00D902 .Label_D902 -al 00D8E2 .Label_D8E2 -al 00D8DF .Label_D8DF -al 00D90F .Label_D90F -al 00D918 .Label_D918 -al 00D8CD .Label_D8CD -al 00D8BC .Label_D8BC -al 00D8B3 .Label_D8B3 -al 00D8B0 .Label_D8B0 -al 00D896 .Label_D896 -al 00D8AD .Label_D8AD -al 00D87D .Label_D87D -al 00D857 .Label_D857 -al 00D852 .Label_D852 -al 00D84C .Label_D84C -al 00D85D .Label_D85D -al 00D839 .Label_D839 -al 00D836 .Label_D836 -al 00D82B .Label_D82B -al 00D801 .Label_D801 -al 00D7FE .Label_D7FE -al 00D7F4 .Label_D7F4 -al 00D7E7 .Label_D7E7 -al 00D7D6 .Label_D7D6 -al 00D7D0 .Label_D7D0 -al 00D7E0 .Label_D7E0 -al 00D7C2 .Label_D7C2 -al 00D7B2 .Label_D7B2 -al 00D799 .Label_D799 -al 00D79B .Label_D79B -al 00D793 .Label_D793 -al 00D788 .Label_D788 -al 00D76F .Label_D76F -al 00D751 .Label_D751 -al 00D736 .Label_D736 -al 00D73E .Label_D73E -al 00D721 .Label_D721 -al 00D728 .Label_D728 -al 00D700 .Label_D700 -al 00D729 .Label_D729 -al 00D6EF .Label_D6EF -al 00D6EE .Label_D6EE -al 00D6E2 .Label_D6E2 -al 00D6D7 .Label_D6D7 -al 00D6D0 .Label_D6D0 -al 00D6C7 .Label_D6C7 -al 00D6B8 .Label_D6B8 -al 00D6A8 .Label_D6A8 -al 00D6B7 .Label_D6B7 -al 00D690 .Label_D690 -al 00D67D .Label_D67D -al 00D67B .Label_D67B -al 00D663 .Label_D663 -al 00D64B .Label_D64B -al 00D641 .Label_D641 -al 00D637 .Label_D637 -al 00D634 .Label_D634 -al 00D621 .Label_D621 -al 00D613 .Label_D613 -al 00D631 .Label_D631 -al 00D607 .Label_D607 -al 00D605 .Label_D605 -al 00D5EB .Label_D5EB -al 00D5E8 .Label_D5E8 -al 00D5C8 .Label_D5C8 -al 00D5DD .Label_D5DD -al 00D5B5 .Label_D5B5 -al 00D5A3 .Label_D5A3 -al 00D5B2 .Label_D5B2 -al 00D591 .Label_D591 -al 00D57B .Label_D57B -al 00D56F .Label_D56F -al 00D553 .Label_D553 -al 00D565 .Label_D565 -al 00D524 .Label_D524 -al 00D506 .Label_D506 -al 00D4EA .Label_D4EA -al 00D523 .Label_D523 -al 00D4CF .Label_D4CF -al 00D4C6 .Label_D4C6 -al 00D4AD .Label_D4AD -al 00D4AC .Label_D4AC -al 00D499 .Label_D499 -al 00D498 .Label_D498 -al 00D465 .Label_D465 -al 00D450 .Label_D450 -al 00D449 .Label_D449 -al 00D424 .Label_D424 -al 00D422 .Label_D422 -al 00D45B .Label_D45B -al 00D408 .Label_D408 -al 00D3FD .Label_D3FD -al 00D3EB .Label_D3EB -al 00D3DE .Label_D3DE -al 00D3B4 .Label_D3B4 -al 00D3AD .Label_D3AD -al 00D3AE .Label_D3AE -al 00D399 .Label_D399 -al 00D38C .Label_D38C -al 00D3DD .Label_D3DD -al 00D379 .Label_D379 -al 00D356 .Label_D356 -al 00D365 .Label_D365 -al 00D349 .Label_D349 -al 00D340 .Label_D340 -al 00D320 .Label_D320 -al 00D312 .Label_D312 -al 00D333 .Label_D333 -al 00D334 .Label_D334 -al 00D2DC .Label_D2DC -al 00D2D9 .Label_D2D9 -al 00D2D0 .Label_D2D0 -al 00D2CF .Label_D2CF -al 00D2C2 .Label_D2C2 -al 00D2BE .Label_D2BE -al 00D2C1 .Label_D2C1 -al 00D29F .Label_D29F -al 00D29B .Label_D29B -al 00D29E .Label_D29E -al 00D27E .Label_D27E -al 00D26F .Label_D26F -al 00D279 .Label_D279 -al 00D26D .Label_D26D -al 00D234 .Label_D234 -al 00D21B .Label_D21B -al 00D213 .Label_D213 -al 00D218 .Label_D218 -al 00D1FC .Label_D1FC -al 00D1F4 .Label_D1F4 -al 00D1F9 .Label_D1F9 -al 00D1D9 .Label_D1D9 -al 00D1D6 .Label_D1D6 -al 00D1A7 .Label_D1A7 -al 00D1A3 .Label_D1A3 -al 00D172 .Label_D172 -al 00D163 .Label_D163 -al 00D159 .Label_D159 -al 00D1A6 .Label_D1A6 -al 00D139 .Label_D139 -al 00D14E .Label_D14E -al 00D14D .Label_D14D -al 00D10C .Label_D10C -al 00D10B .Label_D10B -al 00D0A7 .Label_D0A7 -al 00D0A1 .Label_D0A1 -al 00D097 .Label_D097 -al 00D079 .Label_D079 -al 00D06D .Label_D06D -al 00D06C .Label_D06C -al 00D045 .Label_D045 -al 00D03D .Label_D03D -al 00D019 .Label_D019 -al 00D044 .Label_D044 -al 00CFF9 .Label_CFF9 -al 00CFF4 .Label_CFF4 -al 00CFEE .Label_CFEE -al 00CFEC .Label_CFEC -al 00CFEB .Label_CFEB -al 00CFD6 .Label_CFD6 -al 00CFD5 .Label_CFD5 -al 00CFD9 .Label_CFD9 -al 00CFA7 .Label_CFA7 -al 00CFA2 .Label_CFA2 -al 00CF96 .Label_CF96 -al 00CFAD .Label_CFAD -al 00CFAE .Label_CFAE -al 00CF79 .Label_CF79 -al 00CF7D .Label_CF7D -al 00CF7C .Label_CF7C -al 00CF45 .Label_CF45 -al 00CF3F .Label_CF3F -al 00CF3D .Label_CF3D -al 00CF37 .Label_CF37 -al 00CF2B .Label_CF2B -al 00CF1A .Label_CF1A -al 00CF14 .Label_CF14 -al 00CF09 .Label_CF09 -al 00CF06 .Label_CF06 -al 00CEF4 .Label_CEF4 -al 00CF00 .Label_CF00 -al 00CED8 .Label_CED8 -al 00CED7 .Label_CED7 -al 00CEAA .Label_CEAA -al 00CE9E .Label_CE9E -al 00CE71 .Label_CE71 -al 00CE6A .Label_CE6A -al 00CE5F .Label_CE5F -al 00CE53 .Label_CE53 -al 00CE4F .Label_CE4F -al 00CE48 .Label_CE48 -al 00CE32 .Label_CE32 -al 00CE28 .Label_CE28 -al 00CE09 .Label_CE09 -al 00CE14 .Label_CE14 -al 00CE08 .Label_CE08 -al 00CDEA .Label_CDEA -al 00CDDC .Label_CDDC -al 00CDAD .Label_CDAD -al 00CDAC .Label_CDAC -al 00CD9A .Label_CD9A -al 00CD8C .Label_CD8C -al 00CD80 .Label_CD80 -al 00CD7D .Label_CD7D -al 00CD5B .Label_CD5B -al 00CD3C .Label_CD3C -al 00CD36 .Label_CD36 -al 00CD29 .Label_CD29 -al 00CD50 .Label_CD50 -al 00CD14 .Label_CD14 -al 00CD5C .Label_CD5C -al 00CD03 .Label_CD03 -al 00CCFD .Label_CCFD -al 00CD02 .Label_CD02 -al 00CCEC .Label_CCEC -al 00CCD9 .Label_CCD9 -al 00CCBE .Label_CCBE -al 00CCE3 .Label_CCE3 -al 00CCE1 .Label_CCE1 -al 00CCE8 .Label_CCE8 -al 00CCA0 .Label_CCA0 -al 00CC97 .Label_CC97 -al 00CC9F .Label_CC9F -al 00CC81 .Label_CC81 -al 00CC78 .Label_CC78 -al 00CC73 .Label_CC73 -al 00CC3E .Label_CC3E -al 00CC33 .Label_CC33 -al 00CC7C .Label_CC7C -al 00CC1E .Label_CC1E -al 00CC0F .Label_CC0F -al 00CBD9 .Label_CBD9 -al 00CBA9 .Label_CBA9 -al 00CBA1 .Label_CBA1 -al 00CB94 .Label_CB94 -al 00CB92 .Label_CB92 -al 00CB72 .Label_CB72 -al 00CB69 .Label_CB69 -al 00CB68 .Label_CB68 -al 00CB81 .Label_CB81 -al 00CB45 .Label_CB45 -al 00CB1B .Label_CB1B -al 00CB12 .Label_CB12 -al 00CB11 .Label_CB11 -al 00CAF6 .Label_CAF6 -al 00CAE7 .Label_CAE7 -al 00CAEA .Label_CAEA -al 00CAE6 .Label_CAE6 -al 00CAD4 .Label_CAD4 -al 00CAC6 .Label_CAC6 -al 00CAB5 .Label_CAB5 -al 00CAAD .Label_CAAD -al 00CAB6 .Label_CAB6 -al 00CA94 .Label_CA94 -al 00CA8B .Label_CA8B -al 00CA71 .Label_CA71 -al 00CA56 .Label_CA56 -al 00CA37 .Label_CA37 -al 00CA2E .Label_CA2E -al 00CA0F .Label_CA0F -al 00CA05 .Label_CA05 -al 00C9ED .Label_C9ED -al 00C9F2 .Label_C9F2 -al 00C9E1 .Label_C9E1 -al 00C9C2 .Label_C9C2 -al 00C9C9 .Label_C9C9 -al 00C9CE .Label_C9CE -al 00C998 .Label_C998 -al 00C995 .Label_C995 -al 00C98F .Label_C98F -al 00C981 .Label_C981 -al 00C97C .Label_C97C -al 00C974 .Label_C974 -al 00C951 .Label_C951 -al 00C939 .Label_C939 -al 00C8FD .Label_C8FD -al 00C8CF .Label_C8CF -al 00C8CD .Label_C8CD -al 00C8C6 .Label_C8C6 -al 00C8B9 .Label_C8B9 -al 00C8B8 .Label_C8B8 -al 00C8AB .Label_C8AB -al 00C89B .Label_C89B -al 00C88E .Label_C88E -al 00C87A .Label_C87A -al 00C861 .Label_C861 -al 00C865 .Label_C865 -al 00C845 .Label_C845 -al 00C81F .Label_C81F -al 00C7F6 .Label_C7F6 -al 00C7EA .Label_C7EA -al 00C801 .Label_C801 -al 00C7E1 .Label_C7E1 -al 00C7D0 .Label_C7D0 -al 00C7C3 .Label_C7C3 -al 00C76A .Label_C76A -al 00C75D .Label_C75D -al 00C75A .Label_C75A -al 00C754 .Label_C754 -al 00C746 .Label_C746 -al 00C73C .Label_C73C -al 00C732 .Label_C732 -al 00C724 .Label_C724 -al 00C701 .NmiHandler -al 00C6FC .Label_C6FC -al 00C6F5 .Label_C6F5 -al 00C6F1 .Label_C6F1 -al 00C6EB .Label_C6EB -al 00C6D7 .Label_C6D7 -al 00C6D1 .Label_C6D1 -al 00C6C9 .Label_C6C9 -al 00C6A4 .Label_C6A4 -al 00C69C .Label_C69C -al 00C686 .Label_C686 -al 00C680 .Label_C680 -al 00C663 .Label_C663 -al 00C653 .Label_C653 -al 00C649 .Reset diff --git a/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.map b/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.map deleted file mode 100644 index aaf7f17..0000000 --- a/_wip/Popeye (JU) (PRG 0)/copilot/reconstructed.map +++ /dev/null @@ -1,26 +0,0 @@ -Modules list: -------------- -prg.o: - PRG Offs=000000 Size=004000 Align=00001 Fill=0000 - - -Segment list: -------------- -Name Start End Size Align ----------------------------------------------------- -PRG 00C000 00FFFF 004000 00001 - - -Exports list by name: ---------------------- - - - -Exports list by value: ----------------------- - - - -Imports list: -------------- - diff --git a/_wip/Popeye (JU) (PRG 1)/OVERVIEW.md b/_wip/Popeye (JU) (PRG 1)/OVERVIEW.md index ab17730..63434ac 100644 --- a/_wip/Popeye (JU) (PRG 1)/OVERVIEW.md +++ b/_wip/Popeye (JU) (PRG 1)/OVERVIEW.md @@ -1,59 +1,196 @@ -# Popeye (JU) (PRG 1) — Pass 1 Disassembly +# Popeye (JU) (PRG 1) — Game Flow from Power-On -ROM: `_wip/Popeye (JU) (PRG 1)/Popeye (JU) (PRG 1) [!].nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 72.3% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 14,855 lines with 876 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Popeye (JU) (PRG 1) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. -**Companion note:** `Popeye (JU) (PRG 0)` holds a different PRG image of the same title (different mirroring flag, too). Neither is currently known to be a superset of the other. +**Companion note:** `Popeye (JU) (PRG 0)` holds a different PRG image of the same title (different mirroring flag: Vertical vs Horizontal). Neither is currently known to be a superset of the other. +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C649 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Horizontal | -| Battery-backed flag | clear | -| ROM SHA-256 | `0016065132a2dc98afb1181a735edcb9c656b0b89af4e0771e94807ba67bd8b4` | -| PRG SHA-256 | `72f06b36f4e908e15639564e83a32e0afe680189e82f0f9d7fa5a9fadaa2e646` | +**`Reset`** ($C649–$C683) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +**Identical to PRG 0** — On power-on or reset, the 6502 jumps to **$C649** (non-$C000 entry, Donkey Kong Jr. style). The reset routine performs cold-start hardware initialization: -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C701` | per-frame heartbeat | -| RESET | `$C649` | enters at $C649 inside the first pages (the Donkey Kong Jr.-style non-$C000 entry) | -| IRQ | `$FFF0` | lands in the vector-page padding — unused placeholder | +| Step | Code | Purpose | +|------|------|---------| +| 1–2 | `sei` / `cld` | Disable interrupts, clear decimal mode | +| 3–4 | `lda #$10` / `sta $2000` | PPUCTRL = $10 (NMI off, sprite $0000, BG $0000, 8×8) | +| 5–6 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 7–11 | `Label_C653`: poll `$2002` via `and #$80` / `beq` | Wait for VBlank (bit 7 of PPUSTATUS) | +| 12–13 | `ldy #$07` / `sty Zp01` / `ldy #$00` / `sty Zp00` | Zp00/Zp01 = $0700 (RAM clear pointer) | +| 14 | `tya` | A = 0 | +| 15–19 | `Label_C663`: `sta (Zp00),y` / `dey` / `bne` / `dec Zp01` / `bpl` | Clear $0000–$07FF (8 pages) | +| 20 | `jsr $C686` | Initialize player/object state at $0500–$0504 | +| 21 | `lda #$01` / `sta Zp60` | Zp60 ($60) = 1 (game state) | +| 22 | `lda #$00` / `sta Zp63` | Zp63 ($63) = 0 | +| 23 | `lda Zp10` / `eor #$80` / `sta $2000` / `sta Zp10` | PPUCTRL ^= $80 (toggle NMI enable) + shadow | +| 24 | `Label_C680`: `jsr $EE74` / `jmp $C680` | Infinite loop: waits for first NMI | -## `copilot/` Contents - -| File | Purpose | -|------|---------| -| `Popeye (JU) (PRG 1) [!].nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 14,855 lines, 876 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | - -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. - -## Build - -```bash -cd "_wip/Popeye (JU) (PRG 1)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" +**`$C686` (Label_C686)** — Player state init (identical to PRG 0): +``` + lda #$11 / sta $0500 / sta $0502 + lda #$03 / sta $0501 + lda #$01 / sta $0503 + ldx #$19 / lda #$24 +Label_C69C: + sta $0504,x ; fill $0504–$051C with $24 (25 bytes) + dex / bne Label_C69C + ldx #$00 ``` -## Pass Status +Then falls through to `$C6A4` (main loop entry). -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 14,855 lines of `prg.s`, 876 address-based `Label_` definitions, canonical audit comments; 72.3% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +## 2. Main Loop — `$C6A4` onward + +Identical to PRG 0 — main loop runs synchronized with NMI via Zp10/Zp60/Zp63 flags. + +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C701 | `NmiHandler` | +| RESET | $C649 | `Reset` | +| IRQ | $FFF0 | `IrqHandler` (single `sta (Zp16,x)` — undocumented opcode $81, effectively unused) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C701) + +**Identical to PRG 0** — The NMI fires once per frame and implements a state machine dispatching on Zp30/Zp31/Zp60/Zp63: + +``` +NmiHandler ($C701): + lda Zp10 ($10) / and #$7F / sta $2000 / sta Zp10 ; PPUCTRL &= ~$80 (NMI off during frame) + lda Zp11 ($11) / eor #$18 / sta $2001 ; PPUMASK ^= $18 (toggle bits 3,4) + jsr $ED34 ; sprite/OAM update + jsr $ED20 ; PPU/scroll update + lda $0400 / bne Label_C724 ; check $0400 + lda $0401 / bne Label_C724 ; check $0401 + jsr $EE5E ; attract mode audio +Label_C724: + jsr $F970 ; gameplay audio + jsr $EE89 ; sound effects + lda Zp43 ($43) + bne Label_C732 + lda #$FF / sta Zp43 ; init Zp43 = $FF +Label_C732: + lda Zp30 ($30) + beq Label_C73C + jsr $CA8B / jmp $C75D ; state: Zp30≠0 +Label_C73C: + lda Zp31 ($31) + beq Label_C746 + jsr $CAD4 / jmp $C75D ; state: Zp31≠0 +Label_C746: + lda Zp60 ($60) + bne Label_C754 + lda Zp63 ($63) + beq Label_C75A + jsr $CB12 / jmp $C75D ; state: Zp60=0, Zp63≠0 +Label_C754: + jsr $C76A / jmp $C75D ; state: Zp60≠0 +Label_C75A: + jsr $C89B ; state: Zp60=0, Zp63=0 +Label_C75D: + ... (common NMI exit → rti) +``` + +**NMI State Machine:** +| Condition | Handler | Description | +|-----------|---------|-------------| +| $0400≠0 or $0401≠0 | `$EE5E` | Attract mode audio | +| Zp30≠0 | `$CA8B` | Gameplay mode A | +| Zp31≠0 | `$CAD4` | Gameplay mode B | +| Zp60≠0 | `$C76A` | Gameplay mode C | +| Zp60=0, Zp63≠0 | `$CB12` | Bonus/stage transition | +| Zp60=0, Zp63=0 | `$C89B` | Title/attract mode | + +--- + +## 5. Key Subsystems + +### 5.1 Sprite/OAM System — `$ED34` / `$ED20` +- `$ED34`: Builds OAM at $0200 from object arrays +- `$ED20`: PPU scroll/register updates + +### 5.2 Audio Engine +- **Attract:** `$EE5E` (called when $0400/$0401 set) +- **Gameplay:** `$F970` (music), `$EE89` (sound effects) +- APU registers at $4000–$4013 + +### 5.3 Gameplay Logic +- `$CA8B` / `$CAD4` / `$C76A` / `$CB12` / `$C89B`: State-specific gameplay updates +- Player (Popeye), enemies (Bluto, Sea Hag), projectiles, collectibles (spinach, hearts, letters) + +### 5.4 Level Data — $C000–$C648 region +- 1609 bytes classified as `.byte` data but referenced by 148+ code instructions +- Contains level layouts, enemy paths, platform positions +- Referenced via `lda $Cxxx,x`, `bit $Cxxx` — this is **level/map data**, not code + +### 5.5 Indirect Dispatch — `$ED03` (`jmp ($0002)`) +`jmp ($0002)` at $ED03 — target address in ZP $0002/$0003, set by caller. Not followed statically. (Address differs slightly from PRG 0's $ECFF.) + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00–$01 | `Zp00`/`Zp01` | 16-bit pointer (RAM clear) | +| $02–$03 | `Zp02`/`Zp03` | Indirect dispatch pointer (`jmp ($0002)`) | +| $10 | `Zp10` | PPUCTRL shadow (bit 7 = NMI enable) | +| $11 | `Zp11` | PPUMASK shadow (toggled via EOR #$18) | +| $30–$31 | `Zp30`/`Zp31` | Gameplay state selectors | +| $43 | `Zp43` | Audio state (init $FF) | +| $60 | `Zp60` | Game state (set 1 at reset) | +| $63 | `Zp63` | Sub-state (cleared at reset) | +| $0200 | OAM buffer | Sprite DMA source | +| $0400–$0401 | Attract flags | Checked in NMI for audio path | +| $0500–$051C | Player state | Initialized at $C686 ($11,$03,$11,$24×25) | + +--- + +## 7. Data Tables + +| Table | Address | Description | +|-------|---------|-------------| +| Level/map data | $C000–$C648 | 1609 bytes of level layouts, enemy paths (referenced by code) | +| Audio sequences | $F970+ | Music/SFX data | + +--- + +## 8. Summary of Execution Flow + +**Identical to PRG 0** — See `Popeye (JU) (PRG 0)/OVERVIEW.md` for full flow diagram. The only differences between PRG 0 and PRG 1 are: + +1. **Mirroring:** PRG 0 = Vertical, PRG 1 = Horizontal (iNES header byte 6 bit 0) +2. **PRG bytes differ slightly** — Different build/revision +3. **Indirect dispatch address:** PRG 0 at $ECFF, PRG 1 at $ED03 +4. **Seeded routine entries:** PRG 0 has `$EF19, $EF3A, $EFBF, $EFE0, $F002, $F071`; PRG 1 has `$EF1D, $EF3E, $EFC3, $EFE4, $F006, $F057` (offset by a few bytes) + +--- + +## 9. Naming and Residue + +**Pass 1 complete** — 14,855 lines, canonical audit comments, 72.3% code. 6 seeded routine entries from table references. + +**Pass 2 complete** — all 876 `Label_` definitions renamed: 2 semantic entry names (`Reset`, `NmiHandler`) + 315 `SubC` entry points + 561 `_Block_` internal branch targets. No `Label_` remains. Every `jsr`/`jmp` target is a named routine. + +**Pass 3 complete** — 4 semantic zero-page aliases (PtrLo/Hi, Ptr2Lo/Hi) added to `locals.inc`; 80 operands substituted via `apply_symbols.py` (15 single + 65 hardware); data tables named: `LevelData` ($C000–$C648), `AudioData` ($F08C–$F832), `VectorPageData` ($FCCE–$FFEF). Remaining zero-page slots retain neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): `jmp ($0002)` at $ED03. + +**Large data region** — $C000–$C648 (1609 bytes) classified as data but referenced by 148+ code instructions. This is level/enemy pattern data. + +**PRG 0 vs PRG 1** — Same vectors, same structure. PRG 0: Vertical mirroring. PRG 1: Horizontal mirroring. PRG bytes differ slightly (different build). + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Popeye (JU) (PRG 1)/copilot/locals.inc b/_wip/Popeye (JU) (PRG 1)/copilot/locals.inc index cff80a5..f7f7d06 100644 --- a/_wip/Popeye (JU) (PRG 1)/copilot/locals.inc +++ b/_wip/Popeye (JU) (PRG 1)/copilot/locals.inc @@ -201,3 +201,9 @@ ZpFC = $FC ; 11 refs; reads=5 writes=6; used at $CB15, CBB7, ZpFD = $FD ; 7 refs; reads=1 writes=6; used at $C7C0, C9E2, C9F1, CB35, +3 more ZpFE = $FE ; 12 refs; reads=4 writes=8; used at $DB54, DECF, DFD1, E5E6, +5 more ZpFF = $FF ; 37 refs; reads=14 writes=23; used at $D134, D3E1, D4B0, D50E, +25 more + +; Semantic aliases (Pass 3) +PtrLo = $00 ; semantic alias for Zp00 +PtrHi = $01 ; semantic alias for Zp01 +Ptr2Lo = $02 ; semantic alias for Zp02 +Ptr2Hi = $03 ; semantic alias for Zp03 diff --git a/_wip/Popeye (JU) (PRG 1)/copilot/prg.s b/_wip/Popeye (JU) (PRG 1)/copilot/prg.s index fb6716c..84d2a3e 100644 --- a/_wip/Popeye (JU) (PRG 1)/copilot/prg.s +++ b/_wip/Popeye (JU) (PRG 1)/copilot/prg.s @@ -21,6 +21,7 @@ .segment "PRG" +LevelData: ; ---- data $C000-$C648 (1609 bytes) ---- ; referenced by `lda $C643,x` at $C6A4 (operand $C643 falls inside this region) ; referenced by `lda $C50F,x` at $C786 (operand $C50F falls inside this region) @@ -143,11 +144,11 @@ Reset: sei ; CPU:$C649 PRG:0649 78 cld ; CPU:$C64A PRG:064A D8 lda #$10 ; CPU:$C64B PRG:064B A9 10 - sta $2000 ; CPU:$C64D PRG:064D 8D 00 20 + sta PPUCTRL ; CPU:$C64D PRG:064D 8D 00 20 ldx #$FF ; CPU:$C650 PRG:0650 A2 FF txs ; CPU:$C652 PRG:0652 9A ; ----------------------------------------------------------------------------- -; Routine: Label_C653 +; Routine: SubCC653 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -155,17 +156,17 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C653: - lda $2002 ; CPU:$C653 PRG:0653 AD 02 20 +SubCC653: + lda PPUSTATUS ; CPU:$C653 PRG:0653 AD 02 20 and #$80 ; CPU:$C656 PRG:0656 29 80 - beq Label_C653 ; CPU:$C658 PRG:0658 F0 F9 + beq SubCC653 ; CPU:$C658 PRG:0658 F0 F9 ldy #$07 ; CPU:$C65A PRG:065A A0 07 sty Zp01 ; CPU:$C65C PRG:065C 84 01 ldy #$00 ; CPU:$C65E PRG:065E A0 00 sty Zp00 ; CPU:$C660 PRG:0660 84 00 tya ; CPU:$C662 PRG:0662 98 ; ----------------------------------------------------------------------------- -; Routine: Label_C663 +; Routine: SubCC663 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -173,12 +174,12 @@ Label_C653: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C663: +SubCC663: sta (Zp00),y ; CPU:$C663 PRG:0663 91 00 dey ; CPU:$C665 PRG:0665 88 - bne Label_C663 ; CPU:$C666 PRG:0666 D0 FB + bne SubCC663 ; CPU:$C666 PRG:0666 D0 FB dec Zp01 ; CPU:$C668 PRG:0668 C6 01 - bpl Label_C663 ; CPU:$C66A PRG:066A 10 F7 + bpl SubCC663 ; CPU:$C66A PRG:066A 10 F7 jsr $C686 ; CPU:$C66C PRG:066C 20 86 C6 lda #$01 ; CPU:$C66F PRG:066F A9 01 sta Zp60 ; CPU:$C671 PRG:0671 85 60 @@ -186,10 +187,10 @@ Label_C663: sta Zp63 ; CPU:$C675 PRG:0675 85 63 lda Zp10 ; CPU:$C677 PRG:0677 A5 10 eor #$80 ; CPU:$C679 PRG:0679 49 80 - sta $2000 ; CPU:$C67B PRG:067B 8D 00 20 + sta PPUCTRL ; CPU:$C67B PRG:067B 8D 00 20 sta Zp10 ; CPU:$C67E PRG:067E 85 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C680 +; Routine: SubCC680 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -197,11 +198,11 @@ Label_C663: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C680: +SubCC680: jsr $EE78 ; CPU:$C680 PRG:0680 20 78 EE jmp $C680 ; CPU:$C683 PRG:0683 4C 80 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C686 +; Routine: SubCC686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -209,7 +210,7 @@ Label_C680: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C686: +SubCC686: lda #$11 ; CPU:$C686 PRG:0686 A9 11 sta $0500 ; CPU:$C688 PRG:0688 8D 00 05 sta $0502 ; CPU:$C68B PRG:068B 8D 02 05 @@ -220,7 +221,7 @@ Label_C686: ldx #$19 ; CPU:$C698 PRG:0698 A2 19 lda #$24 ; CPU:$C69A PRG:069A A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C69C +; Routine: SubCC686_Block_C69C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -228,13 +229,13 @@ Label_C686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C69C: +SubCC686_Block_C69C: sta $0504,x ; CPU:$C69C PRG:069C 9D 04 05 dex ; CPU:$C69F PRG:069F CA - bne Label_C69C ; CPU:$C6A0 PRG:06A0 D0 FA + bne SubCC686_Block_C69C ; CPU:$C6A0 PRG:06A0 D0 FA ldx #$00 ; CPU:$C6A2 PRG:06A2 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6A4 +; Routine: SubCC686_Block_C6A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -242,24 +243,24 @@ Label_C69C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6A4: +SubCC686_Block_C6A4: lda $C643,x ; CPU:$C6A4 PRG:06A4 BD 43 C6 sta $0513,x ; CPU:$C6A7 PRG:06A7 9D 13 05 inx ; CPU:$C6AA PRG:06AA E8 cpx #$06 ; CPU:$C6AB PRG:06AB E0 06 - bne Label_C6A4 ; CPU:$C6AD PRG:06AD D0 F5 + bne SubCC686_Block_C6A4 ; CPU:$C6AD PRG:06AD D0 F5 lda #$2C ; CPU:$C6AF PRG:06AF A9 2C sta $0504 ; CPU:$C6B1 PRG:06B1 8D 04 05 lda #$E7 ; CPU:$C6B4 PRG:06B4 A9 E7 sta $051A ; CPU:$C6B6 PRG:06B6 8D 1A 05 lda #$00 ; CPU:$C6B9 PRG:06B9 A9 00 - sta $4011 ; CPU:$C6BB PRG:06BB 8D 11 40 + sta APUDMCDIRECT ; CPU:$C6BB PRG:06BB 8D 11 40 lda #$06 ; CPU:$C6BE PRG:06BE A9 06 - sta $2001 ; CPU:$C6C0 PRG:06C0 8D 01 20 + sta PPUMASK ; CPU:$C6C0 PRG:06C0 8D 01 20 jsr $C6F1 ; CPU:$C6C3 PRG:06C3 20 F1 C6 jsr $C6D7 ; CPU:$C6C6 PRG:06C6 20 D7 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C6C9 +; Routine: SubCC6C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -267,12 +268,12 @@ Label_C6A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6C9: +SubCC6C9: lda #$00 ; CPU:$C6C9 PRG:06C9 A9 00 sta $0330 ; CPU:$C6CB PRG:06CB 8D 30 03 sta $0331 ; CPU:$C6CE PRG:06CE 8D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C6D1 +; Routine: SubCC6D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -280,11 +281,11 @@ Label_C6C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6D1: +SubCC6D1: jsr $C6EB ; CPU:$C6D1 PRG:06D1 20 EB C6 jmp $ED43 ; CPU:$C6D4 PRG:06D4 4C 43 ED ; ----------------------------------------------------------------------------- -; Routine: Label_C6D7 +; Routine: SubCC6D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -292,18 +293,18 @@ Label_C6D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6D7: +SubCC6D7: lda #$10 ; CPU:$C6D7 PRG:06D7 A9 10 - sta $2000 ; CPU:$C6D9 PRG:06D9 8D 00 20 + sta PPUCTRL ; CPU:$C6D9 PRG:06D9 8D 00 20 sta Zp10 ; CPU:$C6DC PRG:06DC 85 10 lda #$00 ; CPU:$C6DE PRG:06DE A9 00 - sta $2005 ; CPU:$C6E0 PRG:06E0 8D 05 20 + sta PPUSCROLL ; CPU:$C6E0 PRG:06E0 8D 05 20 sta Zp12 ; CPU:$C6E3 PRG:06E3 85 12 - sta $2005 ; CPU:$C6E5 PRG:06E5 8D 05 20 + sta PPUSCROLL ; CPU:$C6E5 PRG:06E5 8D 05 20 sta Zp13 ; CPU:$C6E8 PRG:06E8 85 13 rts ; CPU:$C6EA PRG:06EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6EB +; Routine: SubCC6EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -311,12 +312,12 @@ Label_C6D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6EB: +SubCC6EB: lda #$00 ; CPU:$C6EB PRG:06EB A9 00 - sta $2001 ; CPU:$C6ED PRG:06ED 8D 01 20 + sta PPUMASK ; CPU:$C6ED PRG:06ED 8D 01 20 rts ; CPU:$C6F0 PRG:06F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6F1 +; Routine: SubCC6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -324,11 +325,11 @@ Label_C6EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F1: +SubCC6F1: lda #$FF ; CPU:$C6F1 PRG:06F1 A9 FF ldy #$00 ; CPU:$C6F3 PRG:06F3 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6F5 +; Routine: SubCC6F1_Block_C6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -336,13 +337,13 @@ Label_C6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F5: +SubCC6F1_Block_C6F5: sta $0200,y ; CPU:$C6F5 PRG:06F5 99 00 02 dey ; CPU:$C6F8 PRG:06F8 88 - bne Label_C6F5 ; CPU:$C6F9 PRG:06F9 D0 FA + bne SubCC6F1_Block_C6F5 ; CPU:$C6F9 PRG:06F9 D0 FA rts ; CPU:$C6FB PRG:06FB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C6FC +; Routine: SubCC6FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -350,7 +351,7 @@ Label_C6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6FC: +SubCC6FC: lda #$00 ; CPU:$C6FC PRG:06FC A9 00 jmp $EA2D ; CPU:$C6FE PRG:06FE 4C 2D EA ; ----------------------------------------------------------------------------- @@ -365,20 +366,20 @@ Label_C6FC: NmiHandler: lda Zp10 ; CPU:$C701 PRG:0701 A5 10 and #$7F ; CPU:$C703 PRG:0703 29 7F - sta $2000 ; CPU:$C705 PRG:0705 8D 00 20 + sta PPUCTRL ; CPU:$C705 PRG:0705 8D 00 20 sta Zp10 ; CPU:$C708 PRG:0708 85 10 lda Zp11 ; CPU:$C70A PRG:070A A5 11 eor #$18 ; CPU:$C70C PRG:070C 49 18 - sta $2001 ; CPU:$C70E PRG:070E 8D 01 20 + sta PPUMASK ; CPU:$C70E PRG:070E 8D 01 20 jsr $ED38 ; CPU:$C711 PRG:0711 20 38 ED jsr $ED24 ; CPU:$C714 PRG:0714 20 24 ED lda $0400 ; CPU:$C717 PRG:0717 AD 00 04 - bne Label_C724 ; CPU:$C71A PRG:071A D0 08 + bne SubCC6FC_Block_C724 ; CPU:$C71A PRG:071A D0 08 lda $0401 ; CPU:$C71C PRG:071C AD 01 04 - bne Label_C724 ; CPU:$C71F PRG:071F D0 03 + bne SubCC6FC_Block_C724 ; CPU:$C71F PRG:071F D0 03 jsr $EE62 ; CPU:$C721 PRG:0721 20 62 EE ; ----------------------------------------------------------------------------- -; Routine: Label_C724 +; Routine: SubCC6FC_Block_C724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -386,15 +387,15 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C724: +SubCC6FC_Block_C724: jsr $F970 ; CPU:$C724 PRG:0724 20 70 F9 jsr $EE8D ; CPU:$C727 PRG:0727 20 8D EE lda Zp43 ; CPU:$C72A PRG:072A A5 43 - bne Label_C732 ; CPU:$C72C PRG:072C D0 04 + bne SubCC6FC_Block_C732 ; CPU:$C72C PRG:072C D0 04 lda #$FF ; CPU:$C72E PRG:072E A9 FF sta Zp43 ; CPU:$C730 PRG:0730 85 43 ; ----------------------------------------------------------------------------- -; Routine: Label_C732 +; Routine: SubCC6FC_Block_C732 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -402,13 +403,13 @@ Label_C724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C732: +SubCC6FC_Block_C732: lda Zp30 ; CPU:$C732 PRG:0732 A5 30 - beq Label_C73C ; CPU:$C734 PRG:0734 F0 06 + beq SubCC6FC_Block_C73C ; CPU:$C734 PRG:0734 F0 06 jsr $CA91 ; CPU:$C736 PRG:0736 20 91 CA jmp $C75D ; CPU:$C739 PRG:0739 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C73C +; Routine: SubCC6FC_Block_C73C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -416,13 +417,13 @@ Label_C732: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C73C: +SubCC6FC_Block_C73C: lda Zp31 ; CPU:$C73C PRG:073C A5 31 - beq Label_C746 ; CPU:$C73E PRG:073E F0 06 + beq SubCC6FC_Block_C746 ; CPU:$C73E PRG:073E F0 06 jsr $CADA ; CPU:$C740 PRG:0740 20 DA CA jmp $C75D ; CPU:$C743 PRG:0743 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C746 +; Routine: SubCC6FC_Block_C746 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -430,15 +431,15 @@ Label_C73C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C746: +SubCC6FC_Block_C746: lda Zp60 ; CPU:$C746 PRG:0746 A5 60 - bne Label_C754 ; CPU:$C748 PRG:0748 D0 0A + bne SubCC6FC_Block_C754 ; CPU:$C748 PRG:0748 D0 0A lda Zp63 ; CPU:$C74A PRG:074A A5 63 - beq Label_C75A ; CPU:$C74C PRG:074C F0 0C + beq SubCC6FC_Block_C75A ; CPU:$C74C PRG:074C F0 0C jsr $CB18 ; CPU:$C74E PRG:074E 20 18 CB jmp $C75D ; CPU:$C751 PRG:0751 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C754 +; Routine: SubCC6FC_Block_C754 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -446,11 +447,11 @@ Label_C746: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C754: +SubCC6FC_Block_C754: jsr $C76D ; CPU:$C754 PRG:0754 20 6D C7 jmp $C75D ; CPU:$C757 PRG:0757 4C 5D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C75A +; Routine: SubCC6FC_Block_C75A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -458,10 +459,10 @@ Label_C754: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75A: +SubCC6FC_Block_C75A: jsr $C89E ; CPU:$C75A PRG:075A 20 9E C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C75D +; Routine: SubCC75D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -469,16 +470,16 @@ Label_C75A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75D: +SubCC75D: jsr $ECC7 ; CPU:$C75D PRG:075D 20 C7 EC - lda $2002 ; CPU:$C760 PRG:0760 AD 02 20 + lda PPUSTATUS ; CPU:$C760 PRG:0760 AD 02 20 lda Zp10 ; CPU:$C763 PRG:0763 A5 10 eor #$80 ; CPU:$C765 PRG:0765 49 80 - sta $2000 ; CPU:$C767 PRG:0767 8D 00 20 + sta PPUCTRL ; CPU:$C767 PRG:0767 8D 00 20 sta Zp10 ; CPU:$C76A PRG:076A 85 10 rti ; CPU:$C76C PRG:076C 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C76D +; Routine: SubCC76D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -486,9 +487,9 @@ Label_C75D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C76D: +SubCC76D: lda Zp71 ; CPU:$C76D PRG:076D A5 71 - bne Label_C7C6 ; CPU:$C76F PRG:076F D0 55 + bne SubCC76D_Block_C7C6 ; CPU:$C76F PRG:076F D0 55 jsr $C6EB ; CPU:$C771 PRG:0771 20 EB C6 lda #$94 ; CPU:$C774 PRG:0774 A9 94 sta Zp00 ; CPU:$C776 PRG:0776 85 00 @@ -520,15 +521,15 @@ Label_C76D: lda #$38 ; CPU:$C7B1 PRG:07B1 A9 38 sta Zp46 ; CPU:$C7B3 PRG:07B3 85 46 lda #$0F ; CPU:$C7B5 PRG:07B5 A9 0F - sta $4015 ; CPU:$C7B7 PRG:07B7 8D 15 40 + sta APUSTATUS ; CPU:$C7B7 PRG:07B7 8D 15 40 lda Zp1E ; CPU:$C7BA PRG:07BA A5 1E - bne Label_C7C6 ; CPU:$C7BC PRG:07BC D0 08 + bne SubCC76D_Block_C7C6 ; CPU:$C7BC PRG:07BC D0 08 lda #$40 ; CPU:$C7BE PRG:07BE A9 40 sta ZpFD ; CPU:$C7C0 PRG:07C0 85 FD lda #$55 ; CPU:$C7C2 PRG:07C2 A9 55 sta Zp46 ; CPU:$C7C4 PRG:07C4 85 46 ; ----------------------------------------------------------------------------- -; Routine: Label_C7C6 +; Routine: SubCC76D_Block_C7C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -536,15 +537,15 @@ Label_C76D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C6: +SubCC76D_Block_C7C6: lda Zp46 ; CPU:$C7C6 PRG:07C6 A5 46 - bne Label_C7D3 ; CPU:$C7C8 PRG:07C8 D0 09 + bne SubCC76D_Block_C7D3 ; CPU:$C7C8 PRG:07C8 D0 09 lda #$0F ; CPU:$C7CA PRG:07CA A9 0F sta Zp1D ; CPU:$C7CC PRG:07CC 85 1D lda #$01 ; CPU:$C7CE PRG:07CE A9 01 jmp $C822 ; CPU:$C7D0 PRG:07D0 4C 22 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C7D3 +; Routine: SubCC76D_Block_C7D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -552,17 +553,17 @@ Label_C7C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7D3: +SubCC76D_Block_C7D3: lda Zp15 ; CPU:$C7D3 PRG:07D3 A5 15 sta Zp1F ; CPU:$C7D5 PRG:07D5 85 1F bit $C06E ; CPU:$C7D7 PRG:07D7 2C 6E C0 - bne Label_C7E4 ; CPU:$C7DA PRG:07DA D0 08 + bne SubCC76D_Block_C7E4 ; CPU:$C7DA PRG:07DA D0 08 bit $C06D ; CPU:$C7DC PRG:07DC 2C 6D C0 - bne Label_C804 ; CPU:$C7DF PRG:07DF D0 23 + bne SubCC804 ; CPU:$C7DF PRG:07DF D0 23 sta Zp62 ; CPU:$C7E1 PRG:07E1 85 62 rts ; CPU:$C7E3 PRG:07E3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E4 +; Routine: SubCC76D_Block_C7E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -570,14 +571,14 @@ Label_C7D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E4: +SubCC76D_Block_C7E4: lda #$55 ; CPU:$C7E4 PRG:07E4 A9 55 sta Zp46 ; CPU:$C7E6 PRG:07E6 85 46 lda Zp62 ; CPU:$C7E8 PRG:07E8 A5 62 - beq Label_C7ED ; CPU:$C7EA PRG:07EA F0 01 + beq SubCC76D_Block_C7ED ; CPU:$C7EA PRG:07EA F0 01 rts ; CPU:$C7EC PRG:07EC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C7ED +; Routine: SubCC76D_Block_C7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -585,15 +586,15 @@ Label_C7E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7ED: +SubCC76D_Block_C7ED: inc Zp61 ; CPU:$C7ED PRG:07ED E6 61 lda Zp61 ; CPU:$C7EF PRG:07EF A5 61 cmp #$04 ; CPU:$C7F1 PRG:07F1 C9 04 - bne Label_C7F9 ; CPU:$C7F3 PRG:07F3 D0 04 + bne SubCC76D_Block_C7F9 ; CPU:$C7F3 PRG:07F3 D0 04 lda #$00 ; CPU:$C7F5 PRG:07F5 A9 00 sta Zp61 ; CPU:$C7F7 PRG:07F7 85 61 ; ----------------------------------------------------------------------------- -; Routine: Label_C7F9 +; Routine: SubCC76D_Block_C7F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -601,14 +602,14 @@ Label_C7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7F9: +SubCC76D_Block_C7F9: ldx Zp61 ; CPU:$C7F9 PRG:07F9 A6 61 lda $C50F,x ; CPU:$C7FB PRG:07FB BD 0F C5 sta $0200 ; CPU:$C7FE PRG:07FE 8D 00 02 sta Zp62 ; CPU:$C801 PRG:0801 85 62 rts ; CPU:$C803 PRG:0803 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C804 +; Routine: SubCC804 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -616,7 +617,7 @@ Label_C7F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C804: +SubCC804: lda #$00 ; CPU:$C804 PRG:0804 A9 00 sta Zp1D ; CPU:$C806 PRG:0806 85 1D sta Zp1E ; CPU:$C808 PRG:0808 85 1E @@ -633,7 +634,7 @@ Label_C804: lda #$03 ; CPU:$C81E PRG:081E A9 03 sta Zp71 ; CPU:$C820 PRG:0820 85 71 ; ----------------------------------------------------------------------------- -; Routine: Label_C822 +; Routine: SubCC822 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -641,7 +642,7 @@ Label_C804: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C822: +SubCC822: sta Zp6C ; CPU:$C822 PRG:0822 85 6C jsr $C6C9 ; CPU:$C824 PRG:0824 20 C9 C6 lda #$00 ; CPU:$C827 PRG:0827 A9 00 @@ -653,7 +654,7 @@ Label_C822: sta Zp66 ; CPU:$C833 PRG:0833 85 66 lda Zp61 ; CPU:$C835 PRG:0835 A5 61 cmp #$02 ; CPU:$C837 PRG:0837 C9 02 - bmi Label_C848 ; CPU:$C839 PRG:0839 30 0D + bmi SubCC822_Block_C848 ; CPU:$C839 PRG:0839 30 0D lda #$1C ; CPU:$C83B PRG:083B A9 1C sta Zp66 ; CPU:$C83D PRG:083D 85 66 lda #$03 ; CPU:$C83F PRG:083F A9 03 @@ -661,7 +662,7 @@ Label_C822: lda #$00 ; CPU:$C843 PRG:0843 A9 00 jsr $C87D ; CPU:$C845 PRG:0845 20 7D C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C848 +; Routine: SubCC822_Block_C848 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -669,22 +670,22 @@ Label_C822: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C848: +SubCC822_Block_C848: lda #$00 ; CPU:$C848 PRG:0848 A9 00 sta Zp62 ; CPU:$C84A PRG:084A 85 62 sta Zp67 ; CPU:$C84C PRG:084C 85 67 lda Zp1D ; CPU:$C84E PRG:084E A5 1D - bne Label_C868 ; CPU:$C850 PRG:0850 D0 16 + bne SubCC822_Block_C868 ; CPU:$C850 PRG:0850 D0 16 lda Zp61 ; CPU:$C852 PRG:0852 A5 61 and #$01 ; CPU:$C854 PRG:0854 29 01 - beq Label_C864 ; CPU:$C856 PRG:0856 F0 0C + beq SubCC822_Block_C864 ; CPU:$C856 PRG:0856 F0 0C lda #$03 ; CPU:$C858 PRG:0858 A9 03 sta Zp68 ; CPU:$C85A PRG:085A 85 68 sta Zp69 ; CPU:$C85C PRG:085C 85 69 sta $0408 ; CPU:$C85E PRG:085E 8D 08 04 sta $0409 ; CPU:$C861 PRG:0861 8D 09 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C864 +; Routine: SubCC822_Block_C864 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -692,11 +693,11 @@ Label_C848: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C864: +SubCC822_Block_C864: lda #$04 ; CPU:$C864 PRG:0864 A9 04 sta Zp49 ; CPU:$C866 PRG:0866 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C868 +; Routine: SubCC822_Block_C868 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -704,7 +705,7 @@ Label_C864: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C868: +SubCC822_Block_C868: lda Zp61 ; CPU:$C868 PRG:0868 A5 61 and #$01 ; CPU:$C86A PRG:086A 29 01 tax ; CPU:$C86C PRG:086C AA @@ -716,7 +717,7 @@ Label_C868: sta Zp23 ; CPU:$C87A PRG:087A 85 23 rts ; CPU:$C87C PRG:087C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C87D +; Routine: SubCC87D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -724,7 +725,7 @@ Label_C868: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C87D: +SubCC87D: clc ; CPU:$C87D PRG:087D 18 adc #$E7 ; CPU:$C87E PRG:087E 69 E7 sta $051A ; CPU:$C880 PRG:0880 8D 1A 05 @@ -735,7 +736,7 @@ Label_C87D: jsr $C891 ; CPU:$C88B PRG:088B 20 91 C8 jmp $CD2F ; CPU:$C88E PRG:088E 4C 2F CD ; ----------------------------------------------------------------------------- -; Routine: Label_C891 +; Routine: SubCC891 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -743,14 +744,14 @@ Label_C87D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C891: +SubCC891: sta Zp01 ; CPU:$C891 PRG:0891 85 01 lda $C62B,x ; CPU:$C893 PRG:0893 BD 2B C6 sta Zp02 ; CPU:$C896 PRG:0896 85 02 lda $C62C,x ; CPU:$C898 PRG:0898 BD 2C C6 jmp $E266 ; CPU:$C89B PRG:089B 4C 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_C89E +; Routine: SubCC89E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -758,16 +759,16 @@ Label_C891: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C89E: +SubCC89E: lda Zp1D ; CPU:$C89E PRG:089E A5 1D eor #$0F ; CPU:$C8A0 PRG:08A0 49 0F - sta $4015 ; CPU:$C8A2 PRG:08A2 8D 15 40 + sta APUSTATUS ; CPU:$C8A2 PRG:08A2 8D 15 40 lda Zp71 ; CPU:$C8A5 PRG:08A5 A5 71 - bne Label_C8AE ; CPU:$C8A7 PRG:08A7 D0 05 + bne SubCC89E_Block_C8AE ; CPU:$C8A7 PRG:08A7 D0 05 jsr $CCA6 ; CPU:$C8A9 PRG:08A9 20 A6 CC - bne Label_C8BB ; CPU:$C8AC PRG:08AC D0 0D + bne SubCC89E_Block_C8BB ; CPU:$C8AC PRG:08AC D0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_C8AE +; Routine: SubCC89E_Block_C8AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -775,15 +776,15 @@ Label_C89E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8AE: +SubCC89E_Block_C8AE: lda Zp49 ; CPU:$C8AE PRG:08AE A5 49 - beq Label_C8BC ; CPU:$C8B0 PRG:08B0 F0 0A + beq SubCC89E_Block_C8BC ; CPU:$C8B0 PRG:08B0 F0 0A lda #$10 ; CPU:$C8B2 PRG:08B2 A9 10 sta Zp11 ; CPU:$C8B4 PRG:08B4 85 11 lda #$00 ; CPU:$C8B6 PRG:08B6 A9 00 - sta $4015 ; CPU:$C8B8 PRG:08B8 8D 15 40 + sta APUSTATUS ; CPU:$C8B8 PRG:08B8 8D 15 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C8BB +; Routine: SubCC89E_Block_C8BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -791,10 +792,10 @@ Label_C8AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8BB: +SubCC89E_Block_C8BB: rts ; CPU:$C8BB PRG:08BB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C8BC +; Routine: SubCC89E_Block_C8BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -802,15 +803,15 @@ Label_C8BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8BC: +SubCC89E_Block_C8BC: lda #$00 ; CPU:$C8BC PRG:08BC A9 00 sta Zp11 ; CPU:$C8BE PRG:08BE 85 11 lda Zp74 ; CPU:$C8C0 PRG:08C0 A5 74 cmp #$01 ; CPU:$C8C2 PRG:08C2 C9 01 - bne Label_C8C9 ; CPU:$C8C4 PRG:08C4 D0 03 + bne SubCC89E_Block_C8C9 ; CPU:$C8C4 PRG:08C4 D0 03 jmp $C957 ; CPU:$C8C6 PRG:08C6 4C 57 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8C9 +; Routine: SubCC89E_Block_C8C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -818,12 +819,12 @@ Label_C8BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8C9: +SubCC89E_Block_C8C9: cmp #$02 ; CPU:$C8C9 PRG:08C9 C9 02 - bne Label_C8D0 ; CPU:$C8CB PRG:08CB D0 03 + bne SubCC89E_Block_C8D0 ; CPU:$C8CB PRG:08CB D0 03 jmp $C987 ; CPU:$C8CD PRG:08CD 4C 87 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C8D0 +; Routine: SubCC89E_Block_C8D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -831,10 +832,10 @@ Label_C8C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8D0: +SubCC89E_Block_C8D0: ldx #$00 ; CPU:$C8D0 PRG:08D0 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C8D2 +; Routine: SubCC89E_Block_C8D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -842,12 +843,12 @@ Label_C8D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8D2: +SubCC89E_Block_C8D2: lda $C4BB,x ; CPU:$C8D2 PRG:08D2 BD BB C4 sta $0550,x ; CPU:$C8D5 PRG:08D5 9D 50 05 inx ; CPU:$C8D8 PRG:08D8 E8 cpx #$31 ; CPU:$C8D9 PRG:08D9 E0 31 - bne Label_C8D2 ; CPU:$C8DB PRG:08DB D0 F5 + bne SubCC89E_Block_C8D2 ; CPU:$C8DB PRG:08DB D0 F5 lda #$50 ; CPU:$C8DD PRG:08DD A9 50 sta Zp01 ; CPU:$C8DF PRG:08DF 85 01 lda Zp66 ; CPU:$C8E1 PRG:08E1 A5 66 @@ -865,7 +866,7 @@ Label_C8D2: jsr $C6D7 ; CPU:$C8FB PRG:08FB 20 D7 C6 ldx #$FB ; CPU:$C8FE PRG:08FE A2 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C900 +; Routine: SubCC89E_Block_C900 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -873,12 +874,12 @@ Label_C8D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C900: +SubCC89E_Block_C900: lda #$00 ; CPU:$C900 PRG:0900 A9 00 sta Zp00,x ; CPU:$C902 PRG:0902 95 00 dex ; CPU:$C904 PRG:0904 CA cpx #$6F ; CPU:$C905 PRG:0905 E0 6F - bne Label_C900 ; CPU:$C907 PRG:0907 D0 F7 + bne SubCC89E_Block_C900 ; CPU:$C907 PRG:0907 D0 F7 sta $040B ; CPU:$C909 PRG:0909 8D 0B 04 lda #$01 ; CPU:$C90C PRG:090C A9 01 sta Zp7D ; CPU:$C90E PRG:090E 85 7D @@ -901,12 +902,12 @@ Label_C900: lda $0408,y ; CPU:$C931 PRG:0931 B9 08 04 tax ; CPU:$C934 PRG:0934 AA cmp #$09 ; CPU:$C935 PRG:0935 C9 09 - bmi Label_C93F ; CPU:$C937 PRG:0937 30 06 + bmi SubCC89E_Block_C93F ; CPU:$C937 PRG:0937 30 06 lda #$06 ; CPU:$C939 PRG:0939 A9 06 sta $0408,y ; CPU:$C93B PRG:093B 99 08 04 tax ; CPU:$C93E PRG:093E AA ; ----------------------------------------------------------------------------- -; Routine: Label_C93F +; Routine: SubCC89E_Block_C93F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -914,7 +915,7 @@ Label_C900: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C93F: +SubCC89E_Block_C93F: stx Zp7B ; CPU:$C93F PRG:093F 86 7B lda $C04E,x ; CPU:$C941 PRG:0941 BD 4E C0 sta Zp64 ; CPU:$C944 PRG:0944 85 64 @@ -927,7 +928,7 @@ Label_C93F: sta Zp74 ; CPU:$C952 PRG:0952 85 74 jmp $C6D1 ; CPU:$C954 PRG:0954 4C D1 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C957 +; Routine: SubCC957 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -935,7 +936,7 @@ Label_C93F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C957: +SubCC957: jsr $C6EB ; CPU:$C957 PRG:0957 20 EB C6 ldx Zp64 ; CPU:$C95A PRG:095A A6 64 lda $C450,x ; CPU:$C95C PRG:095C BD 50 C4 @@ -945,14 +946,14 @@ Label_C957: jsr $EF09 ; CPU:$C966 PRG:0966 20 09 EF lda Zp66 ; CPU:$C969 PRG:0969 A5 66 cmp #$1C ; CPU:$C96B PRG:096B C9 1C - beq Label_C97A ; CPU:$C96D PRG:096D F0 0B + beq SubCC957_Block_C97A ; CPU:$C96D PRG:096D F0 0B lda #$75 ; CPU:$C96F PRG:096F A9 75 sta Zp00 ; CPU:$C971 PRG:0971 85 00 lda #$20 ; CPU:$C973 PRG:0973 A9 20 ldx #$02 ; CPU:$C975 PRG:0975 A2 02 jsr $C891 ; CPU:$C977 PRG:0977 20 91 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C97A +; Routine: SubCC957_Block_C97A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -960,13 +961,13 @@ Label_C957: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C97A: +SubCC957_Block_C97A: lda Zp1D ; CPU:$C97A PRG:097A A5 1D - bne Label_C982 ; CPU:$C97C PRG:097C D0 04 + bne SubCC957_Block_C982 ; CPU:$C97C PRG:097C D0 04 lda #$04 ; CPU:$C97E PRG:097E A9 04 sta Zp49 ; CPU:$C980 PRG:0980 85 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C982 +; Routine: SubCC957_Block_C982 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -974,12 +975,12 @@ Label_C97A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C982: +SubCC957_Block_C982: lda #$02 ; CPU:$C982 PRG:0982 A9 02 sta Zp74 ; CPU:$C984 PRG:0984 85 74 rts ; CPU:$C986 PRG:0986 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C987 +; Routine: SubCC987 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -987,15 +988,15 @@ Label_C982: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C987: +SubCC987: ldx Zp64 ; CPU:$C987 PRG:0987 A6 64 - beq Label_C995 ; CPU:$C989 PRG:0989 F0 0A + beq SubCC987_Block_C995 ; CPU:$C989 PRG:0989 F0 0A cpx #$02 ; CPU:$C98B PRG:098B E0 02 - beq Label_C99B ; CPU:$C98D PRG:098D F0 0C + beq SubCC987_Block_C99B ; CPU:$C98D PRG:098D F0 0C jsr $CA77 ; CPU:$C98F PRG:098F 20 77 CA jmp $C99E ; CPU:$C992 PRG:0992 4C 9E C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C995 +; Routine: SubCC987_Block_C995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1003,11 +1004,11 @@ Label_C987: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C995: +SubCC987_Block_C995: jsr $CA3D ; CPU:$C995 PRG:0995 20 3D CA jmp $C99E ; CPU:$C998 PRG:0998 4C 9E C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C99B +; Routine: SubCC987_Block_C99B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1015,10 +1016,10 @@ Label_C995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C99B: +SubCC987_Block_C99B: jsr $CA5C ; CPU:$C99B PRG:099B 20 5C CA ; ----------------------------------------------------------------------------- -; Routine: Label_C99E +; Routine: SubCC99E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1026,7 +1027,7 @@ Label_C99B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C99E: +SubCC99E: jsr $CA15 ; CPU:$C99E PRG:099E 20 15 CA lda #$A6 ; CPU:$C9A1 PRG:09A1 A9 A6 sta $0211 ; CPU:$C9A3 PRG:09A3 8D 11 02 @@ -1036,18 +1037,18 @@ Label_C99E: lda Zp75 ; CPU:$C9AD PRG:09AD A5 75 ldx Zp67 ; CPU:$C9AF PRG:09AF A6 67 cmp Zp6A,x ; CPU:$C9B1 PRG:09B1 D5 6A - beq Label_C9D4 ; CPU:$C9B3 PRG:09B3 F0 1F + beq SubCC99E_Block_C9D4 ; CPU:$C9B3 PRG:09B3 F0 1F inc Zp75 ; CPU:$C9B5 PRG:09B5 E6 75 ldx Zp64 ; CPU:$C9B7 PRG:09B7 A6 64 cpx #$04 ; CPU:$C9B9 PRG:09B9 E0 04 - beq Label_C9CF ; CPU:$C9BB PRG:09BB F0 12 + beq SubCC99E_Block_C9CF ; CPU:$C9BB PRG:09BB F0 12 cpx #$02 ; CPU:$C9BD PRG:09BD E0 02 - beq Label_C9C8 ; CPU:$C9BF PRG:09BF F0 07 + beq SubCC99E_Block_C9C8 ; CPU:$C9BF PRG:09BF F0 07 ldx #$00 ; CPU:$C9C1 PRG:09C1 A2 00 lda Zp75 ; CPU:$C9C3 PRG:09C3 A5 75 jmp $D5EE ; CPU:$C9C5 PRG:09C5 4C EE D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C9C8 +; Routine: SubCC99E_Block_C9C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1055,12 +1056,12 @@ Label_C99E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9C8: +SubCC99E_Block_C9C8: ldy #$00 ; CPU:$C9C8 PRG:09C8 A0 00 lda Zp75 ; CPU:$C9CA PRG:09CA A5 75 jmp $D63A ; CPU:$C9CC PRG:09CC 4C 3A D6 ; ----------------------------------------------------------------------------- -; Routine: Label_C9CF +; Routine: SubCC99E_Block_C9CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1068,11 +1069,11 @@ Label_C9C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9CF: +SubCC99E_Block_C9CF: lda Zp75 ; CPU:$C9CF PRG:09CF A5 75 jmp $D575 ; CPU:$C9D1 PRG:09D1 4C 75 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D4 +; Routine: SubCC99E_Block_C9D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1080,18 +1081,18 @@ Label_C9CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D4: +SubCC99E_Block_C9D4: ldx Zp67 ; CPU:$C9D4 PRG:09D4 A6 67 lda Zp64 ; CPU:$C9D6 PRG:09D6 A5 64 cmp #$04 ; CPU:$C9D8 PRG:09D8 C9 04 - bne Label_C9E7 ; CPU:$C9DA PRG:09DA D0 0B + bne SubCC99E_Block_C9E7 ; CPU:$C9DA PRG:09DA D0 0B lda Zp32,x ; CPU:$C9DC PRG:09DC B5 32 - bne Label_C9E7 ; CPU:$C9DE PRG:09DE D0 07 + bne SubCC99E_Block_C9E7 ; CPU:$C9DE PRG:09DE D0 07 lda #$80 ; CPU:$C9E0 PRG:09E0 A9 80 sta ZpFD ; CPU:$C9E2 PRG:09E2 85 FD jmp $C9F3 ; CPU:$C9E4 PRG:09E4 4C F3 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E7 +; Routine: SubCC99E_Block_C9E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1099,15 +1100,15 @@ Label_C9D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E7: +SubCC99E_Block_C9E7: lda Zp2E,x ; CPU:$C9E7 PRG:09E7 B5 2E - bne Label_C9F8 ; CPU:$C9E9 PRG:09E9 D0 0D + bne SubCC9F3_Block_C9F8 ; CPU:$C9E9 PRG:09E9 D0 0D lda Zp1D ; CPU:$C9EB PRG:09EB A5 1D - bne Label_C9F8 ; CPU:$C9ED PRG:09ED D0 09 + bne SubCC9F3_Block_C9F8 ; CPU:$C9ED PRG:09ED D0 09 lda #$01 ; CPU:$C9EF PRG:09EF A9 01 sta ZpFD ; CPU:$C9F1 PRG:09F1 85 FD ; ----------------------------------------------------------------------------- -; Routine: Label_C9F3 +; Routine: SubCC9F3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1115,12 +1116,12 @@ Label_C9E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F3: +SubCC9F3: lda #$01 ; CPU:$C9F3 PRG:09F3 A9 01 sta Zp30 ; CPU:$C9F5 PRG:09F5 85 30 rts ; CPU:$C9F7 PRG:09F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9F8 +; Routine: SubCC9F3_Block_C9F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1128,7 +1129,7 @@ Label_C9F3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9F8: +SubCC9F3_Block_C9F8: lda #$01 ; CPU:$C9F8 PRG:09F8 A9 01 sta Zp63 ; CPU:$C9FA PRG:09FA 85 63 lda #$00 ; CPU:$C9FC PRG:09FC A9 00 @@ -1139,7 +1140,7 @@ Label_C9F8: lda #$73 ; CPU:$CA06 PRG:0A06 A9 73 jsr $CA34 ; CPU:$CA08 PRG:0A08 20 34 CA ; ----------------------------------------------------------------------------- -; Routine: Label_CA0B +; Routine: SubCCA0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1147,13 +1148,13 @@ Label_C9F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0B: +SubCCA0B: ldx Zp65 ; CPU:$CA0B PRG:0A0B A6 65 lda $C4AF,x ; CPU:$CA0D PRG:0A0D BD AF C4 sta ZpAA ; CPU:$CA10 PRG:0A10 85 AA jmp $E7F7 ; CPU:$CA12 PRG:0A12 4C F7 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA15 +; Routine: SubCCA15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1161,7 +1162,7 @@ Label_CA0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA15: +SubCCA15: ldx Zp65 ; CPU:$CA15 PRG:0A15 A6 65 lda $C4A9,x ; CPU:$CA17 PRG:0A17 BD A9 C4 sta $026C ; CPU:$CA1A PRG:0A1A 8D 6C 02 @@ -1175,7 +1176,7 @@ Label_CA15: sta Zp83 ; CPU:$CA2F PRG:0A2F 85 83 jmp $E79D ; CPU:$CA31 PRG:0A31 4C 9D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA34 +; Routine: SubCCA34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1183,13 +1184,13 @@ Label_CA15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA34: +SubCCA34: sta Zp98 ; CPU:$CA34 PRG:0A34 85 98 lda #$B0 ; CPU:$CA36 PRG:0A36 A9 B0 sta Zp97 ; CPU:$CA38 PRG:0A38 85 97 jmp $E7C3 ; CPU:$CA3A PRG:0A3A 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CA3D +; Routine: SubCCA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1197,7 +1198,7 @@ Label_CA34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA3D: +SubCCA3D: lda #$27 ; CPU:$CA3D PRG:0A3D A9 27 sta Zp00 ; CPU:$CA3F PRG:0A3F 85 00 lda #$C0 ; CPU:$CA41 PRG:0A41 A9 C0 @@ -1213,7 +1214,7 @@ Label_CA3D: lda #$00 ; CPU:$CA57 PRG:0A57 A9 00 jmp $E85F ; CPU:$CA59 PRG:0A59 4C 5F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA5C +; Routine: SubCCA5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1221,7 +1222,7 @@ Label_CA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA5C: +SubCCA5C: lda #$34 ; CPU:$CA5C PRG:0A5C A9 34 sta Zp00 ; CPU:$CA5E PRG:0A5E 85 00 lda #$C0 ; CPU:$CA60 PRG:0A60 A9 C0 @@ -1235,7 +1236,7 @@ Label_CA5C: sta $0298 ; CPU:$CA73 PRG:0A73 8D 98 02 rts ; CPU:$CA76 PRG:0A76 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA77 +; Routine: SubCCA77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1243,7 +1244,7 @@ Label_CA5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA77: +SubCCA77: lda #$41 ; CPU:$CA77 PRG:0A77 A9 41 sta Zp00 ; CPU:$CA79 PRG:0A79 85 00 lda #$C0 ; CPU:$CA7B PRG:0A7B A9 C0 @@ -1257,7 +1258,7 @@ Label_CA77: sta ZpB0 ; CPU:$CA8C PRG:0A8C 85 B0 jmp $E88D ; CPU:$CA8E PRG:0A8E 4C 8D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CA91 +; Routine: SubCCA91 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1265,13 +1266,13 @@ Label_CA77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA91: +SubCCA91: jsr $CCA6 ; CPU:$CA91 PRG:0A91 20 A6 CC lda $0400 ; CPU:$CA94 PRG:0A94 AD 00 04 - beq Label_CA9A ; CPU:$CA97 PRG:0A97 F0 01 + beq SubCCA91_Block_CA9A ; CPU:$CA97 PRG:0A97 F0 01 rts ; CPU:$CA99 PRG:0A99 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA9A +; Routine: SubCCA91_Block_CA9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1279,21 +1280,21 @@ Label_CA91: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA9A: +SubCCA91_Block_CA9A: ldx Zp67 ; CPU:$CA9A PRG:0A9A A6 67 lda $06FF ; CPU:$CA9C PRG:0A9C AD FF 06 - bne Label_CABC ; CPU:$CA9F PRG:0A9F D0 1B + bne SubCCA91_Block_CABC ; CPU:$CA9F PRG:0A9F D0 1B lda #$00 ; CPU:$CAA1 PRG:0AA1 A9 00 sta Zp30 ; CPU:$CAA3 PRG:0AA3 85 30 lda Zp64 ; CPU:$CAA5 PRG:0AA5 A5 64 cmp #$04 ; CPU:$CAA7 PRG:0AA7 C9 04 - bne Label_CAB3 ; CPU:$CAA9 PRG:0AA9 D0 08 + bne SubCCA91_Block_CAB3 ; CPU:$CAA9 PRG:0AA9 D0 08 lda #$F0 ; CPU:$CAAB PRG:0AAB A9 F0 sta ZpE8 ; CPU:$CAAD PRG:0AAD 85 E8 lda #$00 ; CPU:$CAAF PRG:0AAF A9 00 sta ZpE7 ; CPU:$CAB1 PRG:0AB1 85 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_CAB3 +; Routine: SubCCA91_Block_CAB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1301,13 +1302,13 @@ Label_CA9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAB3: +SubCCA91_Block_CAB3: lda Zp1D ; CPU:$CAB3 PRG:0AB3 A5 1D - bne Label_CABB ; CPU:$CAB5 PRG:0AB5 D0 04 + bne SubCCA91_Block_CABB ; CPU:$CAB5 PRG:0AB5 D0 04 lda #$01 ; CPU:$CAB7 PRG:0AB7 A9 01 sta Zp2E,x ; CPU:$CAB9 PRG:0AB9 95 2E ; ----------------------------------------------------------------------------- -; Routine: Label_CABB +; Routine: SubCCA91_Block_CABB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1315,10 +1316,10 @@ Label_CAB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CABB: +SubCCA91_Block_CABB: rts ; CPU:$CABB PRG:0ABB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CABC +; Routine: SubCCA91_Block_CABC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1326,16 +1327,16 @@ Label_CABB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CABC: +SubCCA91_Block_CABC: lda Zp64 ; CPU:$CABC PRG:0ABC A5 64 cmp #$04 ; CPU:$CABE PRG:0ABE C9 04 - beq Label_CACC ; CPU:$CAC0 PRG:0AC0 F0 0A + beq SubCCA91_Block_CACC ; CPU:$CAC0 PRG:0AC0 F0 0A lda #$35 ; CPU:$CAC2 PRG:0AC2 A9 35 sta Zp93 ; CPU:$CAC4 PRG:0AC4 85 93 jsr $CA34 ; CPU:$CAC6 PRG:0AC6 20 34 CA jmp $CA0B ; CPU:$CAC9 PRG:0AC9 4C 0B CA ; ----------------------------------------------------------------------------- -; Routine: Label_CACC +; Routine: SubCCA91_Block_CACC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1343,7 +1344,7 @@ Label_CABC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CACC: +SubCCA91_Block_CACC: ldy #$0E ; CPU:$CACC PRG:0ACC A0 0E jsr $E729 ; CPU:$CACE PRG:0ACE 20 29 E7 lda #$02 ; CPU:$CAD1 PRG:0AD1 A9 02 @@ -1351,7 +1352,7 @@ Label_CACC: sta Zp32,x ; CPU:$CAD5 PRG:0AD5 95 32 jmp $E812 ; CPU:$CAD7 PRG:0AD7 4C 12 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CADA +; Routine: SubCCADA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1359,17 +1360,17 @@ Label_CACC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CADA: +SubCCADA: jsr $CCA6 ; CPU:$CADA PRG:0ADA 20 A6 CC lda $0400 ; CPU:$CADD PRG:0ADD AD 00 04 - bne Label_CAEC ; CPU:$CAE0 PRG:0AE0 D0 0A + bne SubCCADA_Block_CAEC ; CPU:$CAE0 PRG:0AE0 D0 0A lda Zp6E ; CPU:$CAE2 PRG:0AE2 A5 6E - beq Label_CAF0 ; CPU:$CAE4 PRG:0AE4 F0 0A + beq SubCCADA_Block_CAF0 ; CPU:$CAE4 PRG:0AE4 F0 0A ldx Zp65 ; CPU:$CAE6 PRG:0AE6 A6 65 - beq Label_CAED ; CPU:$CAE8 PRG:0AE8 F0 03 + beq SubCCADA_Block_CAED ; CPU:$CAE8 PRG:0AE8 F0 03 dec Zp6E ; CPU:$CAEA PRG:0AEA C6 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CAEC +; Routine: SubCCADA_Block_CAEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1377,10 +1378,10 @@ Label_CADA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAEC: +SubCCADA_Block_CAEC: rts ; CPU:$CAEC PRG:0AEC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAED +; Routine: SubCCADA_Block_CAED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1388,10 +1389,10 @@ Label_CAEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAED: +SubCCADA_Block_CAED: jmp $D5BB ; CPU:$CAED PRG:0AED 4C BB D5 ; ----------------------------------------------------------------------------- -; Routine: Label_CAF0 +; Routine: SubCCADA_Block_CAF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1399,14 +1400,14 @@ Label_CAED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAF0: +SubCCADA_Block_CAF0: lda $06FF ; CPU:$CAF0 PRG:0AF0 AD FF 06 - beq Label_CAFC ; CPU:$CAF3 PRG:0AF3 F0 07 + beq SubCCADA_Block_CAFC ; CPU:$CAF3 PRG:0AF3 F0 07 lda #$04 ; CPU:$CAF5 PRG:0AF5 A9 04 sta Zp49 ; CPU:$CAF7 PRG:0AF7 85 49 jmp $E13A ; CPU:$CAF9 PRG:0AF9 4C 3A E1 ; ----------------------------------------------------------------------------- -; Routine: Label_CAFC +; Routine: SubCCADA_Block_CAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1414,7 +1415,7 @@ Label_CAF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAFC: +SubCCADA_Block_CAFC: ldx Zp67 ; CPU:$CAFC PRG:0AFC A6 67 sta Zp32,x ; CPU:$CAFE PRG:0AFE 95 32 inc Zp68,x ; CPU:$CB00 PRG:0B00 F6 68 @@ -1428,7 +1429,7 @@ Label_CAFC: jsr $C6F1 ; CPU:$CB12 PRG:0B12 20 F1 C6 sta ZpFC ; CPU:$CB15 PRG:0B15 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_CB17 +; Routine: SubCCADA_Block_CB17 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1436,10 +1437,10 @@ Label_CAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB17: +SubCCADA_Block_CB17: rts ; CPU:$CB17 PRG:0B17 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB18 +; Routine: SubCCB18 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1447,13 +1448,13 @@ Label_CB17: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB18: +SubCCB18: ldx Zp67 ; CPU:$CB18 PRG:0B18 A6 67 lda Zp6C,x ; CPU:$CB1A PRG:0B1A B5 6C - bne Label_CB21 ; CPU:$CB1C PRG:0B1C D0 03 + bne SubCCB18_Block_CB21 ; CPU:$CB1C PRG:0B1C D0 03 jmp $CD09 ; CPU:$CB1E PRG:0B1E 4C 09 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CB21 +; Routine: SubCCB18_Block_CB21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1461,19 +1462,19 @@ Label_CB18: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB21: +SubCCB18_Block_CB21: ldx Zp67 ; CPU:$CB21 PRG:0B21 A6 67 lda Zp6A,x ; CPU:$CB23 PRG:0B23 B5 6A ldx Zp65 ; CPU:$CB25 PRG:0B25 A6 65 cmp $C4B8,x ; CPU:$CB27 PRG:0B27 DD B8 C4 - bne Label_CB4B ; CPU:$CB2A PRG:0B2A D0 1F + bne SubCCB18_Block_CB4B ; CPU:$CB2A PRG:0B2A D0 1F lda #$01 ; CPU:$CB2C PRG:0B2C A9 01 sta Zp31 ; CPU:$CB2E PRG:0B2E 85 31 ldx Zp65 ; CPU:$CB30 PRG:0B30 A6 65 lda $C06A,x ; CPU:$CB32 PRG:0B32 BD 6A C0 sta ZpFD ; CPU:$CB35 PRG:0B35 85 FD lda Zp64 ; CPU:$CB37 PRG:0B37 A5 64 - bne Label_CB17 ; CPU:$CB39 PRG:0B39 D0 DC + bne SubCCADA_Block_CB17 ; CPU:$CB39 PRG:0B39 D0 DC lda #$01 ; CPU:$CB3B PRG:0B3B A9 01 jsr $CEDE ; CPU:$CB3D PRG:0B3D 20 DE CE lda #$D2 ; CPU:$CB40 PRG:0B40 A9 D2 @@ -1482,7 +1483,7 @@ Label_CB21: ldx #$04 ; CPU:$CB46 PRG:0B46 A2 04 jmp $C891 ; CPU:$CB48 PRG:0B48 4C 91 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CB4B +; Routine: SubCCB18_Block_CB4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1490,13 +1491,13 @@ Label_CB21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB4B: +SubCCB18_Block_CB4B: lda Zp1D ; CPU:$CB4B PRG:0B4B A5 1D - beq Label_CB87 ; CPU:$CB4D PRG:0B4D F0 38 + beq SubCCB18_Block_CB87 ; CPU:$CB4D PRG:0B4D F0 38 jsr $CC87 ; CPU:$CB4F PRG:0B4F 20 87 CC - bne Label_CB6E ; CPU:$CB52 PRG:0B52 D0 1A + bne SubCCB18_Block_CB6E ; CPU:$CB52 PRG:0B52 D0 1A lda Zp1A ; CPU:$CB54 PRG:0B54 A5 1A - bne Label_CB6F ; CPU:$CB56 PRG:0B56 D0 17 + bne SubCCB18_Block_CB6F ; CPU:$CB56 PRG:0B56 D0 17 lda #$00 ; CPU:$CB58 PRG:0B58 A9 00 sta Zp1C ; CPU:$CB5A PRG:0B5A 85 1C sta Zp1B ; CPU:$CB5C PRG:0B5C 85 1B @@ -1505,11 +1506,11 @@ Label_CB4B: inc Zp1E ; CPU:$CB62 PRG:0B62 E6 1E lda Zp1E ; CPU:$CB64 PRG:0B64 A5 1E cmp #$03 ; CPU:$CB66 PRG:0B66 C9 03 - bmi Label_CB6E ; CPU:$CB68 PRG:0B68 30 04 + bmi SubCCB18_Block_CB6E ; CPU:$CB68 PRG:0B68 30 04 lda #$00 ; CPU:$CB6A PRG:0B6A A9 00 sta Zp1E ; CPU:$CB6C PRG:0B6C 85 1E ; ----------------------------------------------------------------------------- -; Routine: Label_CB6E +; Routine: SubCCB18_Block_CB6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1517,10 +1518,10 @@ Label_CB4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB6E: +SubCCB18_Block_CB6E: rts ; CPU:$CB6E PRG:0B6E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB6F +; Routine: SubCCB18_Block_CB6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1528,13 +1529,13 @@ Label_CB6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB6F: +SubCCB18_Block_CB6F: lda Zp1B ; CPU:$CB6F PRG:0B6F A5 1B - beq Label_CB78 ; CPU:$CB71 PRG:0B71 F0 05 + beq SubCCB18_Block_CB78 ; CPU:$CB71 PRG:0B71 F0 05 dec Zp1B ; CPU:$CB73 PRG:0B73 C6 1B jmp $CB9A ; CPU:$CB75 PRG:0B75 4C 9A CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB78 +; Routine: SubCCB18_Block_CB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1542,7 +1543,7 @@ Label_CB6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB78: +SubCCB18_Block_CB78: ldx Zp1C ; CPU:$CB78 PRG:0B78 A6 1C lda $C592,x ; CPU:$CB7A PRG:0B7A BD 92 C5 sta Zp1B ; CPU:$CB7D PRG:0B7D 85 1B @@ -1550,7 +1551,7 @@ Label_CB78: lda $C5C8,x ; CPU:$CB81 PRG:0B81 BD C8 C5 jmp $CB98 ; CPU:$CB84 PRG:0B84 4C 98 CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB87 +; Routine: SubCCB18_Block_CB87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1558,17 +1559,17 @@ Label_CB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB87: +SubCCB18_Block_CB87: jsr $CCA6 ; CPU:$CB87 PRG:0B87 20 A6 CC lda $0400 ; CPU:$CB8A PRG:0B8A AD 00 04 ora $0401 ; CPU:$CB8D PRG:0B8D 0D 01 04 - bne Label_CB6E ; CPU:$CB90 PRG:0B90 D0 DC + bne SubCCB18_Block_CB6E ; CPU:$CB90 PRG:0B90 D0 DC lda Zp67 ; CPU:$CB92 PRG:0B92 A5 67 asl a ; CPU:$CB94 PRG:0B94 0A tax ; CPU:$CB95 PRG:0B95 AA lda Zp15,x ; CPU:$CB96 PRG:0B96 B5 15 ; ----------------------------------------------------------------------------- -; Routine: Label_CB98 +; Routine: SubCCB98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1576,10 +1577,10 @@ Label_CB87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB98: +SubCCB98: sta Zp7A ; CPU:$CB98 PRG:0B98 85 7A ; ----------------------------------------------------------------------------- -; Routine: Label_CB9A +; Routine: SubCCB9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1587,14 +1588,14 @@ Label_CB98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB9A: +SubCCB9A: jsr $CD92 ; CPU:$CB9A PRG:0B9A 20 92 CD jsr $CDF0 ; CPU:$CB9D PRG:0B9D 20 F0 CD lda Zp73 ; CPU:$CBA0 PRG:0BA0 A5 73 - beq Label_CBA7 ; CPU:$CBA2 PRG:0BA2 F0 03 + beq SubCCB9A_Block_CBA7 ; CPU:$CBA2 PRG:0BA2 F0 03 jmp $CC24 ; CPU:$CBA4 PRG:0BA4 4C 24 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CBA7 +; Routine: SubCCB9A_Block_CBA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1602,13 +1603,13 @@ Label_CB9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBA7: +SubCCB9A_Block_CBA7: lda ZpE0 ; CPU:$CBA7 PRG:0BA7 A5 E0 - beq Label_CBAF ; CPU:$CBA9 PRG:0BA9 F0 04 + beq SubCCB9A_Block_CBAF ; CPU:$CBA9 PRG:0BA9 F0 04 lda #$00 ; CPU:$CBAB PRG:0BAB A9 00 sta Zp18 ; CPU:$CBAD PRG:0BAD 85 18 ; ----------------------------------------------------------------------------- -; Routine: Label_CBAF +; Routine: SubCCB9A_Block_CBAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1616,7 +1617,7 @@ Label_CBA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBAF: +SubCCB9A_Block_CBAF: jsr $CF3D ; CPU:$CBAF PRG:0BAF 20 3D CF ldx Zp65 ; CPU:$CBB2 PRG:0BB2 A6 65 lda $C06A,x ; CPU:$CBB4 PRG:0BB4 BD 6A C0 @@ -1625,23 +1626,23 @@ Label_CBAF: jsr $D52A ; CPU:$CBBC PRG:0BBC 20 2A D5 jsr $CE55 ; CPU:$CBBF PRG:0BBF 20 55 CE lda Zp1D ; CPU:$CBC2 PRG:0BC2 A5 1D - bne Label_CBDF ; CPU:$CBC4 PRG:0BC4 D0 19 + bne SubCCB9A_Block_CBDF ; CPU:$CBC4 PRG:0BC4 D0 19 lda Zp67 ; CPU:$CBC6 PRG:0BC6 A5 67 tax ; CPU:$CBC8 PRG:0BC8 AA asl a ; CPU:$CBC9 PRG:0BC9 0A asl a ; CPU:$CBCA PRG:0BCA 0A tay ; CPU:$CBCB PRG:0BCB A8 lda Zp2C,x ; CPU:$CBCC PRG:0BCC B5 2C - bne Label_CBDF ; CPU:$CBCE PRG:0BCE D0 0F - lda a:$0025,y ; CPU:$CBD0 PRG:0BD0 B9 25 00 + bne SubCCB9A_Block_CBDF ; CPU:$CBCE PRG:0BCE D0 0F + lda a:Zp25,y ; CPU:$CBD0 PRG:0BD0 B9 25 00 cmp #$02 ; CPU:$CBD3 PRG:0BD3 C9 02 - bmi Label_CBDF ; CPU:$CBD5 PRG:0BD5 30 08 + bmi SubCCB9A_Block_CBDF ; CPU:$CBD5 PRG:0BD5 30 08 sta Zp2C,x ; CPU:$CBD7 PRG:0BD7 95 2C inc Zp6C,x ; CPU:$CBD9 PRG:0BD9 F6 6C lda #$08 ; CPU:$CBDB PRG:0BDB A9 08 sta ZpFB ; CPU:$CBDD PRG:0BDD 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_CBDF +; Routine: SubCCB9A_Block_CBDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1649,7 +1650,7 @@ Label_CBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CBDF: +SubCCB9A_Block_CBDF: ldx Zp67 ; CPU:$CBDF PRG:0BDF A6 67 lda Zp6C,x ; CPU:$CBE1 PRG:0BE1 B5 6C sec ; CPU:$CBE3 PRG:0BE3 38 @@ -1668,15 +1669,15 @@ Label_CBDF: sta $0503 ; CPU:$CBFF PRG:0BFF 8D 03 05 lda Zp61 ; CPU:$CC02 PRG:0C02 A5 61 and #$01 ; CPU:$CC04 PRG:0C04 29 01 - beq Label_CC15 ; CPU:$CC06 PRG:0C06 F0 0D + beq SubCCB9A_Block_CC15 ; CPU:$CC06 PRG:0C06 F0 0D lda Zp1D ; CPU:$CC08 PRG:0C08 A5 1D - bne Label_CC15 ; CPU:$CC0A PRG:0C0A D0 09 + bne SubCCB9A_Block_CC15 ; CPU:$CC0A PRG:0C0A D0 09 lda $0503 ; CPU:$CC0C PRG:0C0C AD 03 05 sec ; CPU:$CC0F PRG:0C0F 38 sbc #$03 ; CPU:$CC10 PRG:0C10 E9 03 sta $0503 ; CPU:$CC12 PRG:0C12 8D 03 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CC15 +; Routine: SubCCB9A_Block_CC15 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1684,7 +1685,7 @@ Label_CBDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC15: +SubCCB9A_Block_CC15: ldx Zp64 ; CPU:$CC15 PRG:0C15 A6 64 lda $C519,x ; CPU:$CC17 PRG:0C17 BD 19 C5 sta Zp00 ; CPU:$CC1A PRG:0C1A 85 00 @@ -1692,7 +1693,7 @@ Label_CC15: ldx #$08 ; CPU:$CC1F PRG:0C1F A2 08 jmp $C891 ; CPU:$CC21 PRG:0C21 4C 91 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC24 +; Routine: SubCCC24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1700,18 +1701,18 @@ Label_CC15: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC24: +SubCCC24: lda Zp76 ; CPU:$CC24 PRG:0C24 A5 76 - bne Label_CC82 ; CPU:$CC26 PRG:0C26 D0 5A + bne SubCCC82 ; CPU:$CC26 PRG:0C26 D0 5A lda Zp8B ; CPU:$CC28 PRG:0C28 A5 8B - bne Label_CC39 ; CPU:$CC2A PRG:0C2A D0 0D + bne SubCCC24_Block_CC39 ; CPU:$CC2A PRG:0C2A D0 0D jsr $DB12 ; CPU:$CC2C PRG:0C2C 20 12 DB lda Zp79 ; CPU:$CC2F PRG:0C2F A5 79 - beq Label_CC82 ; CPU:$CC31 PRG:0C31 F0 4F + beq SubCCC82 ; CPU:$CC31 PRG:0C31 F0 4F jsr $E48E ; CPU:$CC33 PRG:0C33 20 8E E4 jmp $CC82 ; CPU:$CC36 PRG:0C36 4C 82 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC39 +; Routine: SubCCC24_Block_CC39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1719,14 +1720,14 @@ Label_CC24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC39: +SubCCC24_Block_CC39: lda Zp3E ; CPU:$CC39 PRG:0C39 A5 3E - bne Label_CC44 ; CPU:$CC3B PRG:0C3B D0 07 + bne SubCCC24_Block_CC44 ; CPU:$CC3B PRG:0C3B D0 07 lda #$20 ; CPU:$CC3D PRG:0C3D A9 20 sta Zp3E ; CPU:$CC3F PRG:0C3F 85 3E jmp $CC82 ; CPU:$CC41 PRG:0C41 4C 82 CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC44 +; Routine: SubCCC24_Block_CC44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1734,13 +1735,13 @@ Label_CC39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC44: +SubCCC24_Block_CC44: cmp #$01 ; CPU:$CC44 PRG:0C44 C9 01 - bne Label_CC82 ; CPU:$CC46 PRG:0C46 D0 3A + bne SubCCC82 ; CPU:$CC46 PRG:0C46 D0 3A ldx Zp67 ; CPU:$CC48 PRG:0C48 A6 67 dec Zp6C,x ; CPU:$CC4A PRG:0C4A D6 6C lda Zp6C,x ; CPU:$CC4C PRG:0C4C B5 6C - beq Label_CC82 ; CPU:$CC4E PRG:0C4E F0 32 + beq SubCCC82 ; CPU:$CC4E PRG:0C4E F0 32 lda #$00 ; CPU:$CC50 PRG:0C50 A9 00 sta Zp63 ; CPU:$CC52 PRG:0C52 85 63 lda #$04 ; CPU:$CC54 PRG:0C54 A9 04 @@ -1748,22 +1749,22 @@ Label_CC44: jsr $C6C9 ; CPU:$CC58 PRG:0C58 20 C9 C6 jsr $C6F1 ; CPU:$CC5B PRG:0C5B 20 F1 C6 lda Zp1D ; CPU:$CC5E PRG:0C5E A5 1D - bne Label_CC82 ; CPU:$CC60 PRG:0C60 D0 20 + bne SubCCC82 ; CPU:$CC60 PRG:0C60 D0 20 lda Zp66 ; CPU:$CC62 PRG:0C62 A5 66 cmp #$18 ; CPU:$CC64 PRG:0C64 C9 18 - beq Label_CC82 ; CPU:$CC66 PRG:0C66 F0 1A + beq SubCCC82 ; CPU:$CC66 PRG:0C66 F0 1A ldx Zp67 ; CPU:$CC68 PRG:0C68 A6 67 inx ; CPU:$CC6A PRG:0C6A E8 txa ; CPU:$CC6B PRG:0C6B 8A and #$01 ; CPU:$CC6C PRG:0C6C 29 01 tax ; CPU:$CC6E PRG:0C6E AA lda Zp6C,x ; CPU:$CC6F PRG:0C6F B5 6C - beq Label_CC79 ; CPU:$CC71 PRG:0C71 F0 06 + beq SubCCC24_Block_CC79 ; CPU:$CC71 PRG:0C71 F0 06 txa ; CPU:$CC73 PRG:0C73 8A sta Zp67 ; CPU:$CC74 PRG:0C74 85 67 jmp $CC7E ; CPU:$CC76 PRG:0C76 4C 7E CC ; ----------------------------------------------------------------------------- -; Routine: Label_CC79 +; Routine: SubCCC24_Block_CC79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1771,12 +1772,12 @@ Label_CC44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC79: +SubCCC24_Block_CC79: lda Zp2D ; CPU:$CC79 PRG:0C79 A5 2D - beq Label_CC7E ; CPU:$CC7B PRG:0C7B F0 01 + beq SubCCC7E ; CPU:$CC7B PRG:0C7B F0 01 inx ; CPU:$CC7D PRG:0C7D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC7E +; Routine: SubCCC7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1784,11 +1785,11 @@ Label_CC79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC7E: +SubCCC7E: txa ; CPU:$CC7E PRG:0C7E 8A jsr $C87D ; CPU:$CC7F PRG:0C7F 20 7D C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CC82 +; Routine: SubCCC82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1796,12 +1797,12 @@ Label_CC7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC82: +SubCCC82: lda #$04 ; CPU:$CC82 PRG:0C82 A9 04 sta Zp49 ; CPU:$CC84 PRG:0C84 85 49 rts ; CPU:$CC86 PRG:0C86 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC87 +; Routine: SubCCC87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1809,19 +1810,19 @@ Label_CC82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC87: +SubCCC87: lda Zp1D ; CPU:$CC87 PRG:0C87 A5 1D - beq Label_CCA5 ; CPU:$CC89 PRG:0C89 F0 1A + beq SubCCC87_Block_CCA5 ; CPU:$CC89 PRG:0C89 F0 1A lda Zp15 ; CPU:$CC8B PRG:0C8B A5 15 bit $C06D ; CPU:$CC8D PRG:0C8D 2C 6D C0 - bne Label_CC9D ; CPU:$CC90 PRG:0C90 D0 0B + bne SubCCC87_Block_CC9D ; CPU:$CC90 PRG:0C90 D0 0B bit $C06E ; CPU:$CC92 PRG:0C92 2C 6E C0 - beq Label_CCA5 ; CPU:$CC95 PRG:0C95 F0 0E + beq SubCCC87_Block_CCA5 ; CPU:$CC95 PRG:0C95 F0 0E jsr $CDB3 ; CPU:$CC97 PRG:0C97 20 B3 CD sta Zp62 ; CPU:$CC9A PRG:0C9A 85 62 rts ; CPU:$CC9C PRG:0C9C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CC9D +; Routine: SubCCC87_Block_CC9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1829,12 +1830,12 @@ Label_CC87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CC9D: +SubCCC87_Block_CC9D: jsr $C6F1 ; CPU:$CC9D PRG:0C9D 20 F1 C6 jsr $C804 ; CPU:$CCA0 PRG:0CA0 20 04 C8 lda #$01 ; CPU:$CCA3 PRG:0CA3 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_CCA5 +; Routine: SubCCC87_Block_CCA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1842,10 +1843,10 @@ Label_CC9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA5: +SubCCC87_Block_CCA5: rts ; CPU:$CCA5 PRG:0CA5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCA6 +; Routine: SubCCCA6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1853,23 +1854,23 @@ Label_CCA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCA6: +SubCCCA6: lda $0401 ; CPU:$CCA6 PRG:0CA6 AD 01 04 - bne Label_CCEE ; CPU:$CCA9 PRG:0CA9 D0 43 + bne SubCCCA6_Block_CCEE ; CPU:$CCA9 PRG:0CA9 D0 43 lda Zp15 ; CPU:$CCAB PRG:0CAB A5 15 and #$10 ; CPU:$CCAD PRG:0CAD 29 10 - beq Label_CCE7 ; CPU:$CCAF PRG:0CAF F0 36 + beq SubCCCA6_Block_CCE7 ; CPU:$CCAF PRG:0CAF F0 36 lda Zp15 ; CPU:$CCB1 PRG:0CB1 A5 15 cmp Zp1F ; CPU:$CCB3 PRG:0CB3 C5 1F - beq Label_CCE9 ; CPU:$CCB5 PRG:0CB5 F0 32 + beq SubCCCA6_Block_CCE9 ; CPU:$CCB5 PRG:0CB5 F0 32 lda Zp15 ; CPU:$CCB7 PRG:0CB7 A5 15 sta Zp1F ; CPU:$CCB9 PRG:0CB9 85 1F lda $0401 ; CPU:$CCBB PRG:0CBB AD 01 04 - bne Label_CCC4 ; CPU:$CCBE PRG:0CBE D0 04 + bne SubCCCA6_Block_CCC4 ; CPU:$CCBE PRG:0CBE D0 04 lda #$08 ; CPU:$CCC0 PRG:0CC0 A9 08 sta ZpFB ; CPU:$CCC2 PRG:0CC2 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_CCC4 +; Routine: SubCCCA6_Block_CCC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1877,21 +1878,21 @@ Label_CCA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC4: +SubCCCA6_Block_CCC4: lda $0400 ; CPU:$CCC4 PRG:0CC4 AD 00 04 - beq Label_CCDF ; CPU:$CCC7 PRG:0CC7 F0 16 + beq SubCCCA6_Block_CCDF ; CPU:$CCC7 PRG:0CC7 F0 16 lda Zp11 ; CPU:$CCC9 PRG:0CC9 A5 11 and #$E7 ; CPU:$CCCB PRG:0CCB 29 E7 sta Zp11 ; CPU:$CCCD PRG:0CCD 85 11 lda #$0F ; CPU:$CCCF PRG:0CCF A9 0F - sta $4015 ; CPU:$CCD1 PRG:0CD1 8D 15 40 + sta APUSTATUS ; CPU:$CCD1 PRG:0CD1 8D 15 40 lda #$00 ; CPU:$CCD4 PRG:0CD4 A9 00 sta $0400 ; CPU:$CCD6 PRG:0CD6 8D 00 04 lda #$40 ; CPU:$CCD9 PRG:0CD9 A9 40 sta $0401 ; CPU:$CCDB PRG:0CDB 8D 01 04 rts ; CPU:$CCDE PRG:0CDE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCDF +; Routine: SubCCCA6_Block_CCDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1899,12 +1900,12 @@ Label_CCC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCDF: +SubCCCA6_Block_CCDF: lda #$01 ; CPU:$CCDF PRG:0CDF A9 01 sta $0400 ; CPU:$CCE1 PRG:0CE1 8D 00 04 jmp $CD03 ; CPU:$CCE4 PRG:0CE4 4C 03 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CCE7 +; Routine: SubCCCA6_Block_CCE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1912,10 +1913,10 @@ Label_CCDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE7: +SubCCCA6_Block_CCE7: sta Zp1F ; CPU:$CCE7 PRG:0CE7 85 1F ; ----------------------------------------------------------------------------- -; Routine: Label_CCE9 +; Routine: SubCCCA6_Block_CCE9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1923,11 +1924,11 @@ Label_CCE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCE9: +SubCCCA6_Block_CCE9: lda $0401 ; CPU:$CCE9 PRG:0CE9 AD 01 04 - beq Label_CCF2 ; CPU:$CCEC PRG:0CEC F0 04 + beq SubCCCA6_Block_CCF2 ; CPU:$CCEC PRG:0CEC F0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CCEE +; Routine: SubCCCA6_Block_CCEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1935,11 +1936,11 @@ Label_CCE9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCEE: +SubCCCA6_Block_CCEE: dec $0401 ; CPU:$CCEE PRG:0CEE CE 01 04 rts ; CPU:$CCF1 PRG:0CF1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CCF2 +; Routine: SubCCCA6_Block_CCF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1947,17 +1948,17 @@ Label_CCEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCF2: +SubCCCA6_Block_CCF2: lda $0400 ; CPU:$CCF2 PRG:0CF2 AD 00 04 - beq Label_CD08 ; CPU:$CCF5 PRG:0CF5 F0 11 + beq SubCCD03_Block_CD08 ; CPU:$CCF5 PRG:0CF5 F0 11 lda Zp11 ; CPU:$CCF7 PRG:0CF7 A5 11 ora #$10 ; CPU:$CCF9 PRG:0CF9 09 10 sta Zp11 ; CPU:$CCFB PRG:0CFB 85 11 lda #$00 ; CPU:$CCFD PRG:0CFD A9 00 - sta $4015 ; CPU:$CCFF PRG:0CFF 8D 15 40 + sta APUSTATUS ; CPU:$CCFF PRG:0CFF 8D 15 40 rts ; CPU:$CD02 PRG:0D02 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD03 +; Routine: SubCCD03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1965,11 +1966,11 @@ Label_CCF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD03: +SubCCD03: lda #$40 ; CPU:$CD03 PRG:0D03 A9 40 sta $0401 ; CPU:$CD05 PRG:0D05 8D 01 04 ; ----------------------------------------------------------------------------- -; Routine: Label_CD08 +; Routine: SubCCD03_Block_CD08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1977,10 +1978,10 @@ Label_CD03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD08: +SubCCD03_Block_CD08: rts ; CPU:$CD08 PRG:0D08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD09 +; Routine: SubCCD09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1988,18 +1989,18 @@ Label_CD08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD09: +SubCCD09: lda Zp1D ; CPU:$CD09 PRG:0D09 A5 1D - bne Label_CD62 ; CPU:$CD0B PRG:0D0B D0 55 + bne SubCCD2F_Block_CD62 ; CPU:$CD0B PRG:0D0B D0 55 lda Zp36 ; CPU:$CD0D PRG:0D0D A5 36 - beq Label_CD1A ; CPU:$CD0F PRG:0D0F F0 09 + beq SubCCD09_Block_CD1A ; CPU:$CD0F PRG:0D0F F0 09 cmp #$01 ; CPU:$CD11 PRG:0D11 C9 01 - beq Label_CD62 ; CPU:$CD13 PRG:0D13 F0 4D + beq SubCCD2F_Block_CD62 ; CPU:$CD13 PRG:0D13 F0 4D cmp #$DF ; CPU:$CD15 PRG:0D15 C9 DF - beq Label_CD56 ; CPU:$CD17 PRG:0D17 F0 3D + beq SubCCD2F_Block_CD56 ; CPU:$CD17 PRG:0D17 F0 3D rts ; CPU:$CD19 PRG:0D19 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD1A +; Routine: SubCCD09_Block_CD1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2007,7 +2008,7 @@ Label_CD09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD1A: +SubCCD09_Block_CD1A: lda #$E0 ; CPU:$CD1A PRG:0D1A A9 E0 sta Zp36 ; CPU:$CD1C PRG:0D1C 85 36 lda #$CA ; CPU:$CD1E PRG:0D1E A9 CA @@ -2018,7 +2019,7 @@ Label_CD1A: jsr $C6F1 ; CPU:$CD29 PRG:0D29 20 F1 C6 jsr $C6D7 ; CPU:$CD2C PRG:0D2C 20 D7 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CD2F +; Routine: SubCCD2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2026,17 +2027,17 @@ Label_CD1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD2F: +SubCCD2F: ldx Zp64 ; CPU:$CD2F PRG:0D2F A6 64 lda Zp66 ; CPU:$CD31 PRG:0D31 A5 66 cmp #$1C ; CPU:$CD33 PRG:0D33 C9 1C - beq Label_CD3C ; CPU:$CD35 PRG:0D35 F0 05 + beq SubCCD2F_Block_CD3C ; CPU:$CD35 PRG:0D35 F0 05 txa ; CPU:$CD37 PRG:0D37 8A clc ; CPU:$CD38 PRG:0D38 18 adc #$06 ; CPU:$CD39 PRG:0D39 69 06 tax ; CPU:$CD3B PRG:0D3B AA ; ----------------------------------------------------------------------------- -; Routine: Label_CD3C +; Routine: SubCCD2F_Block_CD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2044,12 +2045,12 @@ Label_CD2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD3C: +SubCCD2F_Block_CD3C: lda Zp71 ; CPU:$CD3C PRG:0D3C A5 71 - beq Label_CD42 ; CPU:$CD3E PRG:0D3E F0 02 + beq SubCCD2F_Block_CD42 ; CPU:$CD3E PRG:0D3E F0 02 ldx #$0C ; CPU:$CD40 PRG:0D40 A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CD42 +; Routine: SubCCD2F_Block_CD42 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2057,7 +2058,7 @@ Label_CD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD42: +SubCCD2F_Block_CD42: lda #$DA ; CPU:$CD42 PRG:0D42 A9 DA sta Zp00 ; CPU:$CD44 PRG:0D44 85 00 lda #$23 ; CPU:$CD46 PRG:0D46 A9 23 @@ -2068,7 +2069,7 @@ Label_CD42: jsr $E266 ; CPU:$CD52 PRG:0D52 20 66 E2 rts ; CPU:$CD55 PRG:0D55 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD56 +; Routine: SubCCD2F_Block_CD56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2076,14 +2077,14 @@ Label_CD42: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD56: +SubCCD2F_Block_CD56: lda Zp66 ; CPU:$CD56 PRG:0D56 A5 66 cmp #$1C ; CPU:$CD58 PRG:0D58 C9 1C - bne Label_CD61 ; CPU:$CD5A PRG:0D5A D0 05 + bne SubCCD2F_Block_CD61 ; CPU:$CD5A PRG:0D5A D0 05 lda Zp67 ; CPU:$CD5C PRG:0D5C A5 67 jsr $C87D ; CPU:$CD5E PRG:0D5E 20 7D C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CD61 +; Routine: SubCCD2F_Block_CD61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2091,10 +2092,10 @@ Label_CD56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD61: +SubCCD2F_Block_CD61: rts ; CPU:$CD61 PRG:0D61 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD62 +; Routine: SubCCD2F_Block_CD62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2102,15 +2103,15 @@ Label_CD61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD62: +SubCCD2F_Block_CD62: lda #$04 ; CPU:$CD62 PRG:0D62 A9 04 sta Zp4F ; CPU:$CD64 PRG:0D64 85 4F jsr $C6C9 ; CPU:$CD66 PRG:0D66 20 C9 C6 lda Zp1D ; CPU:$CD69 PRG:0D69 A5 1D - bne Label_CD83 ; CPU:$CD6B PRG:0D6B D0 16 + bne SubCCD2F_Block_CD83 ; CPU:$CD6B PRG:0D6B D0 16 lda Zp66 ; CPU:$CD6D PRG:0D6D A5 66 cmp #$18 ; CPU:$CD6F PRG:0D6F C9 18 - beq Label_CD83 ; CPU:$CD71 PRG:0D71 F0 10 + beq SubCCD2F_Block_CD83 ; CPU:$CD71 PRG:0D71 F0 10 ldx Zp67 ; CPU:$CD73 PRG:0D73 A6 67 inx ; CPU:$CD75 PRG:0D75 E8 txa ; CPU:$CD76 PRG:0D76 8A @@ -2120,9 +2121,9 @@ Label_CD62: pla ; CPU:$CD7D PRG:0D7D 68 tax ; CPU:$CD7E PRG:0D7E AA lda Zp6C,x ; CPU:$CD7F PRG:0D7F B5 6C - bne Label_CD86 ; CPU:$CD81 PRG:0D81 D0 03 + bne SubCCD2F_Block_CD86 ; CPU:$CD81 PRG:0D81 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CD83 +; Routine: SubCCD2F_Block_CD83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2130,10 +2131,10 @@ Label_CD62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD83: +SubCCD2F_Block_CD83: jmp $CDB3 ; CPU:$CD83 PRG:0D83 4C B3 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CD86 +; Routine: SubCCD2F_Block_CD86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2141,7 +2142,7 @@ Label_CD83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD86: +SubCCD2F_Block_CD86: txa ; CPU:$CD86 PRG:0D86 8A sta Zp67 ; CPU:$CD87 PRG:0D87 85 67 lda #$00 ; CPU:$CD89 PRG:0D89 A9 00 @@ -2150,7 +2151,7 @@ Label_CD86: sta Zp49 ; CPU:$CD8F PRG:0D8F 85 49 rts ; CPU:$CD91 PRG:0D91 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CD92 +; Routine: SubCCD92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2158,16 +2159,16 @@ Label_CD86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD92: +SubCCD92: lda Zp7D ; CPU:$CD92 PRG:0D92 A5 7D and #$20 ; CPU:$CD94 PRG:0D94 29 20 - bne Label_CDA0 ; CPU:$CD96 PRG:0D96 D0 08 + bne SubCCD92_Block_CDA0 ; CPU:$CD96 PRG:0D96 D0 08 lda Zp7A ; CPU:$CD98 PRG:0D98 A5 7A and #$80 ; CPU:$CD9A PRG:0D9A 29 80 - beq Label_CDA0 ; CPU:$CD9C PRG:0D9C F0 02 + beq SubCCD92_Block_CDA0 ; CPU:$CD9C PRG:0D9C F0 02 sta ZpE1 ; CPU:$CD9E PRG:0D9E 85 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA0 +; Routine: SubCCD92_Block_CDA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2175,10 +2176,10 @@ Label_CD92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA0: +SubCCD92_Block_CDA0: lda Zp7A ; CPU:$CDA0 PRG:0DA0 A5 7A and #$03 ; CPU:$CDA2 PRG:0DA2 29 03 - beq Label_CDB2 ; CPU:$CDA4 PRG:0DA4 F0 0C + beq SubCCD92_Block_CDB2 ; CPU:$CDA4 PRG:0DA4 F0 0C tax ; CPU:$CDA6 PRG:0DA6 AA lda Zp7D ; CPU:$CDA7 PRG:0DA7 A5 7D and #$FC ; CPU:$CDA9 PRG:0DA9 29 FC @@ -2187,7 +2188,7 @@ Label_CDA0: ora Zp7D ; CPU:$CDAE PRG:0DAE 05 7D sta Zp7D ; CPU:$CDB0 PRG:0DB0 85 7D ; ----------------------------------------------------------------------------- -; Routine: Label_CDB2 +; Routine: SubCCD92_Block_CDB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2195,10 +2196,10 @@ Label_CDA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB2: +SubCCD92_Block_CDB2: rts ; CPU:$CDB2 PRG:0DB2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDB3 +; Routine: SubCCDB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2206,7 +2207,7 @@ Label_CDB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDB3: +SubCCDB3: lda Zp61 ; CPU:$CDB3 PRG:0DB3 A5 61 and #$01 ; CPU:$CDB5 PRG:0DB5 29 01 tax ; CPU:$CDB7 PRG:0DB7 AA @@ -2228,7 +2229,7 @@ Label_CDB3: jsr $C6F1 ; CPU:$CDDD PRG:0DDD 20 F1 C6 ldx #$FF ; CPU:$CDE0 PRG:0DE0 A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CDE2 +; Routine: SubCCDB3_Block_CDE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2236,17 +2237,17 @@ Label_CDB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE2: +SubCCDB3_Block_CDE2: lda #$00 ; CPU:$CDE2 PRG:0DE2 A9 00 sta Zp00,x ; CPU:$CDE4 PRG:0DE4 95 00 dex ; CPU:$CDE6 PRG:0DE6 CA cpx #$63 ; CPU:$CDE7 PRG:0DE7 E0 63 - bne Label_CDE2 ; CPU:$CDE9 PRG:0DE9 D0 F7 + bne SubCCDB3_Block_CDE2 ; CPU:$CDE9 PRG:0DE9 D0 F7 lda #$01 ; CPU:$CDEB PRG:0DEB A9 01 sta Zp60 ; CPU:$CDED PRG:0DED 85 60 rts ; CPU:$CDEF PRG:0DEF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CDF0 +; Routine: SubCCDF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2254,23 +2255,23 @@ Label_CDE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF0: +SubCCDF0: lda Zp76 ; CPU:$CDF0 PRG:0DF0 A5 76 - beq Label_CE0E ; CPU:$CDF2 PRG:0DF2 F0 1A + beq SubCCDF0_Block_CE0E ; CPU:$CDF2 PRG:0DF2 F0 1A lda Zp4A ; CPU:$CDF4 PRG:0DF4 A5 4A - beq Label_CE1A ; CPU:$CDF6 PRG:0DF6 F0 22 + beq SubCCDF0_Block_CE1A ; CPU:$CDF6 PRG:0DF6 F0 22 lda Zp76 ; CPU:$CDF8 PRG:0DF8 A5 76 cmp #$02 ; CPU:$CDFA PRG:0DFA C9 02 - bne Label_CE0F ; CPU:$CDFC PRG:0DFC D0 11 + bne SubCCDF0_Block_CE0F ; CPU:$CDFC PRG:0DFC D0 11 lda $06FF ; CPU:$CDFE PRG:0DFE AD FF 06 - beq Label_CE2E ; CPU:$CE01 PRG:0E01 F0 2B + beq SubCCDF0_Block_CE2E ; CPU:$CE01 PRG:0E01 F0 2B lda Zp4A ; CPU:$CE03 PRG:0E03 A5 4A cmp #$38 ; CPU:$CE05 PRG:0E05 C9 38 - bcc Label_CE38 ; CPU:$CE07 PRG:0E07 90 2F + bcc SubCCDF0_Block_CE38 ; CPU:$CE07 PRG:0E07 90 2F lda #$01 ; CPU:$CE09 PRG:0E09 A9 01 jsr $CF0F ; CPU:$CE0B PRG:0E0B 20 0F CF ; ----------------------------------------------------------------------------- -; Routine: Label_CE0E +; Routine: SubCCDF0_Block_CE0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2278,10 +2279,10 @@ Label_CDF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE0E: +SubCCDF0_Block_CE0E: rts ; CPU:$CE0E PRG:0E0E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE0F +; Routine: SubCCDF0_Block_CE0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2289,15 +2290,15 @@ Label_CE0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE0F: +SubCCDF0_Block_CE0F: lda Zp4A ; CPU:$CE0F PRG:0E0F A5 4A cmp #$30 ; CPU:$CE11 PRG:0E11 C9 30 - bne Label_CE0E ; CPU:$CE13 PRG:0E13 D0 F9 + bne SubCCDF0_Block_CE0E ; CPU:$CE13 PRG:0E13 D0 F9 lda #$00 ; CPU:$CE15 PRG:0E15 A9 00 sta Zp76 ; CPU:$CE17 PRG:0E17 85 76 rts ; CPU:$CE19 PRG:0E19 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE1A +; Routine: SubCCDF0_Block_CE1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2305,7 +2306,7 @@ Label_CE0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE1A: +SubCCDF0_Block_CE1A: lda Zp77 ; CPU:$CE1A PRG:0E1A A5 77 sta $0213 ; CPU:$CE1C PRG:0E1C 8D 13 02 clc ; CPU:$CE1F PRG:0E1F 18 @@ -2316,7 +2317,7 @@ Label_CE1A: lda #$C8 ; CPU:$CE29 PRG:0E29 A9 C8 jmp $CE4E ; CPU:$CE2B PRG:0E2B 4C 4E CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE2E +; Routine: SubCCDF0_Block_CE2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2324,14 +2325,14 @@ Label_CE1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2E: +SubCCDF0_Block_CE2E: lda #$03 ; CPU:$CE2E PRG:0E2E A9 03 sta Zp94 ; CPU:$CE30 PRG:0E30 85 94 lda #$00 ; CPU:$CE32 PRG:0E32 A9 00 sta Zp76 ; CPU:$CE34 PRG:0E34 85 76 sta Zp4A ; CPU:$CE36 PRG:0E36 85 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CE38 +; Routine: SubCCDF0_Block_CE38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2339,7 +2340,7 @@ Label_CE2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE38: +SubCCDF0_Block_CE38: lda #$00 ; CPU:$CE38 PRG:0E38 A9 00 jsr $CF0F ; CPU:$CE3A PRG:0E3A 20 0F CF lda #$01 ; CPU:$CE3D PRG:0E3D A9 01 @@ -2351,7 +2352,7 @@ Label_CE38: jsr $E93C ; CPU:$CE49 PRG:0E49 20 3C E9 lda #$FF ; CPU:$CE4C PRG:0E4C A9 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CE4E +; Routine: SubCCE4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2359,12 +2360,12 @@ Label_CE38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE4E: +SubCCE4E: sta $0210 ; CPU:$CE4E PRG:0E4E 8D 10 02 sta $0214 ; CPU:$CE51 PRG:0E51 8D 14 02 rts ; CPU:$CE54 PRG:0E54 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE55 +; Routine: SubCCE55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2372,11 +2373,11 @@ Label_CE4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE55: +SubCCE55: ldx #$00 ; CPU:$CE55 PRG:0E55 A2 00 ldy #$00 ; CPU:$CE57 PRG:0E57 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CE59 +; Routine: SubCCE55_Block_CE59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2384,14 +2385,14 @@ Label_CE55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE59: +SubCCE55_Block_CE59: lda Zp47,x ; CPU:$CE59 PRG:0E59 B5 47 - bne Label_CE65 ; CPU:$CE5B PRG:0E5B D0 08 + bne SubCCE55_Block_CE65 ; CPU:$CE5B PRG:0E5B D0 08 lda #$FF ; CPU:$CE5D PRG:0E5D A9 FF sta $0200,y ; CPU:$CE5F PRG:0E5F 99 00 02 sta $0204,y ; CPU:$CE62 PRG:0E62 99 04 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE65 +; Routine: SubCCE55_Block_CE65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2399,17 +2400,17 @@ Label_CE59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE65: +SubCCE55_Block_CE65: inx ; CPU:$CE65 PRG:0E65 E8 tya ; CPU:$CE66 PRG:0E66 98 clc ; CPU:$CE67 PRG:0E67 18 adc #$08 ; CPU:$CE68 PRG:0E68 69 08 tay ; CPU:$CE6A PRG:0E6A A8 cpx #$02 ; CPU:$CE6B PRG:0E6B E0 02 - bmi Label_CE59 ; CPU:$CE6D PRG:0E6D 30 EA + bmi SubCCE55_Block_CE59 ; CPU:$CE6D PRG:0E6D 30 EA rts ; CPU:$CE6F PRG:0E6F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE70 +; Routine: SubCCE70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2417,12 +2418,12 @@ Label_CE65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE70: +SubCCE70: ldy #$00 ; CPU:$CE70 PRG:0E70 A0 00 sty Zp0F ; CPU:$CE72 PRG:0E72 84 0F jsr $CEB0 ; CPU:$CE74 PRG:0E74 20 B0 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE77 +; Routine: SubCCE70_Block_CE77 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2430,10 +2431,10 @@ Label_CE70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE77: +SubCCE70_Block_CE77: lda $0200,y ; CPU:$CE77 PRG:0E77 B9 00 02 cmp #$FF ; CPU:$CE7A PRG:0E7A C9 FF - bne Label_CEA4 ; CPU:$CE7C PRG:0E7C D0 26 + bne SubCCE70_Block_CEA4 ; CPU:$CE7C PRG:0E7C D0 26 lda Zp05 ; CPU:$CE7E PRG:0E7E A5 05 sta $0203,y ; CPU:$CE80 PRG:0E80 99 03 02 clc ; CPU:$CE83 PRG:0E83 18 @@ -2451,7 +2452,7 @@ Label_CE77: sta Zp47,x ; CPU:$CEA1 PRG:0EA1 95 47 rts ; CPU:$CEA3 PRG:0EA3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEA4 +; Routine: SubCCE70_Block_CEA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2459,17 +2460,17 @@ Label_CE77: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEA4: +SubCCE70_Block_CEA4: tya ; CPU:$CEA4 PRG:0EA4 98 clc ; CPU:$CEA5 PRG:0EA5 18 adc #$08 ; CPU:$CEA6 PRG:0EA6 69 08 tay ; CPU:$CEA8 PRG:0EA8 A8 inc Zp0F ; CPU:$CEA9 PRG:0EA9 E6 0F cpy #$10 ; CPU:$CEAB PRG:0EAB C0 10 - bmi Label_CE77 ; CPU:$CEAD PRG:0EAD 30 C8 + bmi SubCCE70_Block_CE77 ; CPU:$CEAD PRG:0EAD 30 C8 rts ; CPU:$CEAF PRG:0EAF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEB0 +; Routine: SubCCEB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2477,9 +2478,9 @@ Label_CEA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEB0: +SubCCEB0: lda Zp1D ; CPU:$CEB0 PRG:0EB0 A5 1D - bne Label_CEDD ; CPU:$CEB2 PRG:0EB2 D0 29 + bne SubCCEB0_Block_CEDD ; CPU:$CEB2 PRG:0EB2 D0 29 txa ; CPU:$CEB4 PRG:0EB4 8A pha ; CPU:$CEB5 PRG:0EB5 48 tya ; CPU:$CEB6 PRG:0EB6 98 @@ -2503,7 +2504,7 @@ Label_CEB0: pla ; CPU:$CEDB PRG:0EDB 68 tax ; CPU:$CEDC PRG:0EDC AA ; ----------------------------------------------------------------------------- -; Routine: Label_CEDD +; Routine: SubCCEB0_Block_CEDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2511,10 +2512,10 @@ Label_CEB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEDD: +SubCCEB0_Block_CEDD: rts ; CPU:$CEDD PRG:0EDD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CEDE +; Routine: SubCCEDE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2522,24 +2523,24 @@ Label_CEDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEDE: +SubCCEDE: pha ; CPU:$CEDE PRG:0EDE 48 lda #$8E ; CPU:$CEDF PRG:0EDF A9 8E sta Zp00 ; CPU:$CEE1 PRG:0EE1 85 00 lda #$21 ; CPU:$CEE3 PRG:0EE3 A9 21 sta Zp01 ; CPU:$CEE5 PRG:0EE5 85 01 pla ; CPU:$CEE7 PRG:0EE7 68 - bne Label_CF06 ; CPU:$CEE8 PRG:0EE8 D0 1C + bne SubCCEDE_Block_CF06 ; CPU:$CEE8 PRG:0EE8 D0 1C lda Zp4C ; CPU:$CEEA PRG:0EEA A5 4C and #$01 ; CPU:$CEEC PRG:0EEC 29 01 - bne Label_CF06 ; CPU:$CEEE PRG:0EEE D0 16 + bne SubCCEDE_Block_CF06 ; CPU:$CEEE PRG:0EEE D0 16 lda Zp92 ; CPU:$CEF0 PRG:0EF0 A5 92 eor #$05 ; CPU:$CEF2 PRG:0EF2 49 05 cmp #$07 ; CPU:$CEF4 PRG:0EF4 C9 07 - bne Label_CEFA ; CPU:$CEF6 PRG:0EF6 D0 02 + bne SubCCEDE_Block_CEFA ; CPU:$CEF6 PRG:0EF6 D0 02 lda #$02 ; CPU:$CEF8 PRG:0EF8 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CEFA +; Routine: SubCCEDE_Block_CEFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2547,14 +2548,14 @@ Label_CEDE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEFA: +SubCCEDE_Block_CEFA: sta $0556 ; CPU:$CEFA PRG:0EFA 8D 56 05 lda #$50 ; CPU:$CEFD PRG:0EFD A9 50 sta Zp02 ; CPU:$CEFF PRG:0EFF 85 02 lda #$05 ; CPU:$CF01 PRG:0F01 A9 05 jmp $CF0C ; CPU:$CF03 PRG:0F03 4C 0C CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF06 +; Routine: SubCCEDE_Block_CF06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2562,12 +2563,12 @@ Label_CEFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF06: +SubCCEDE_Block_CF06: lda #$EC ; CPU:$CF06 PRG:0F06 A9 EC sta Zp02 ; CPU:$CF08 PRG:0F08 85 02 lda #$C4 ; CPU:$CF0A PRG:0F0A A9 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_CF0C +; Routine: SubCCF0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2575,10 +2576,10 @@ Label_CF06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF0C: +SubCCF0C: jmp $E266 ; CPU:$CF0C PRG:0F0C 4C 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_CF0F +; Routine: SubCCF0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2586,14 +2587,14 @@ Label_CF0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF0F: - beq Label_CF1A ; CPU:$CF0F PRG:0F0F F0 09 +SubCCF0F: + beq SubCCF0F_Block_CF1A ; CPU:$CF0F PRG:0F0F F0 09 lda #$F7 ; CPU:$CF11 PRG:0F11 A9 F7 sta Zp02 ; CPU:$CF13 PRG:0F13 85 02 lda #$C4 ; CPU:$CF15 PRG:0F15 A9 C4 jmp $CF20 ; CPU:$CF17 PRG:0F17 4C 20 CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF1A +; Routine: SubCCF0F_Block_CF1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2601,12 +2602,12 @@ Label_CF0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF1A: +SubCCF0F_Block_CF1A: lda #$FC ; CPU:$CF1A PRG:0F1A A9 FC sta Zp02 ; CPU:$CF1C PRG:0F1C 85 02 lda #$C4 ; CPU:$CF1E PRG:0F1E A9 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_CF20 +; Routine: SubCCF20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2614,17 +2615,17 @@ Label_CF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF20: +SubCCF20: sta Zp03 ; CPU:$CF20 PRG:0F20 85 03 ldx Zp64 ; CPU:$CF22 PRG:0F22 A6 64 lda $C502,x ; CPU:$CF24 PRG:0F24 BD 02 C5 tay ; CPU:$CF27 PRG:0F27 A8 lda Zp97 ; CPU:$CF28 PRG:0F28 A5 97 cmp #$80 ; CPU:$CF2A PRG:0F2A C9 80 - bcs Label_CF31 ; CPU:$CF2C PRG:0F2C B0 03 + bcs SubCCF20_Block_CF31 ; CPU:$CF2C PRG:0F2C B0 03 ldy $C501,x ; CPU:$CF2E PRG:0F2E BC 01 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_CF31 +; Routine: SubCCF20_Block_CF31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2632,7 +2633,7 @@ Label_CF20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF31: +SubCCF20_Block_CF31: sty Zp00 ; CPU:$CF31 PRG:0F31 84 00 txa ; CPU:$CF33 PRG:0F33 8A lsr a ; CPU:$CF34 PRG:0F34 4A @@ -2641,7 +2642,7 @@ Label_CF31: sta Zp01 ; CPU:$CF38 PRG:0F38 85 01 jmp $EDF9 ; CPU:$CF3A PRG:0F3A 4C F9 ED ; ----------------------------------------------------------------------------- -; Routine: Label_CF3D +; Routine: SubCCF3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2649,11 +2650,11 @@ Label_CF31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF3D: +SubCCF3D: jsr $CF4B ; CPU:$CF3D PRG:0F3D 20 4B CF jmp $CFFA ; CPU:$CF40 PRG:0F40 4C FA CF ; ----------------------------------------------------------------------------- -; Routine: Label_CF43 +; Routine: SubCCF43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2661,10 +2662,10 @@ Label_CF3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF43: +SubCCF43: ldx #$00 ; CPU:$CF43 PRG:0F43 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CF45 +; Routine: SubCCF45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2672,11 +2673,11 @@ Label_CF43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF45: +SubCCF45: jsr $E8A6 ; CPU:$CF45 PRG:0F45 20 A6 E8 jmp $C6FC ; CPU:$CF48 PRG:0F48 4C FC C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CF4B +; Routine: SubCCF4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2684,10 +2685,10 @@ Label_CF45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF4B: +SubCCF4B: lda Zp7D ; CPU:$CF4B PRG:0F4B A5 7D and #$70 ; CPU:$CF4D PRG:0F4D 29 70 - bne Label_CF82 ; CPU:$CF4F PRG:0F4F D0 31 + bne SubCCF4B_Block_CF82 ; CPU:$CF4F PRG:0F4F D0 31 jsr $CF43 ; CPU:$CF51 PRG:0F51 20 43 CF lda #$00 ; CPU:$CF54 PRG:0F54 A9 00 sta Zp05 ; CPU:$CF56 PRG:0F56 85 05 @@ -2697,19 +2698,19 @@ Label_CF4B: sta ZpB4 ; CPU:$CF60 PRG:0F60 85 B4 lda Zp5E ; CPU:$CF62 PRG:0F62 A5 5E cmp #$04 ; CPU:$CF64 PRG:0F64 C9 04 - bmi Label_CF83 ; CPU:$CF66 PRG:0F66 30 1B + bmi SubCCF4B_Block_CF83 ; CPU:$CF66 PRG:0F66 30 1B lda #$08 ; CPU:$CF68 PRG:0F68 A9 08 sta Zp7C ; CPU:$CF6A PRG:0F6A 85 7C jsr $EC8F ; CPU:$CF6C PRG:0F6C 20 8F EC - bne Label_CF82 ; CPU:$CF6F PRG:0F6F D0 11 + bne SubCCF4B_Block_CF82 ; CPU:$CF6F PRG:0F6F D0 11 jsr $ECAA ; CPU:$CF71 PRG:0F71 20 AA EC - bne Label_CF82 ; CPU:$CF74 PRG:0F74 D0 0C + bne SubCCF4B_Block_CF82 ; CPU:$CF74 PRG:0F74 D0 0C lda Zp64 ; CPU:$CF76 PRG:0F76 A5 64 cmp #$02 ; CPU:$CF78 PRG:0F78 C9 02 - beq Label_CF7F ; CPU:$CF7A PRG:0F7A F0 03 + beq SubCCF4B_Block_CF7F ; CPU:$CF7A PRG:0F7A F0 03 jmp $EB8F ; CPU:$CF7C PRG:0F7C 4C 8F EB ; ----------------------------------------------------------------------------- -; Routine: Label_CF7F +; Routine: SubCCF4B_Block_CF7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2717,10 +2718,10 @@ Label_CF4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7F: +SubCCF4B_Block_CF7F: jsr $EC7C ; CPU:$CF7F PRG:0F7F 20 7C EC ; ----------------------------------------------------------------------------- -; Routine: Label_CF82 +; Routine: SubCCF4B_Block_CF82 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2728,10 +2729,10 @@ Label_CF7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF82: +SubCCF4B_Block_CF82: rts ; CPU:$CF82 PRG:0F82 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CF83 +; Routine: SubCCF4B_Block_CF83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2739,20 +2740,20 @@ Label_CF82: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF83: +SubCCF4B_Block_CF83: cmp #$03 ; CPU:$CF83 PRG:0F83 C9 03 - bne Label_CFB4 ; CPU:$CF85 PRG:0F85 D0 2D + bne SubCCFAD_Block_CFB4 ; CPU:$CF85 PRG:0F85 D0 2D lda #$04 ; CPU:$CF87 PRG:0F87 A9 04 sta Zp7C ; CPU:$CF89 PRG:0F89 85 7C jsr $EB8F ; CPU:$CF8B PRG:0F8B 20 8F EB - bne Label_CFB3 ; CPU:$CF8E PRG:0F8E D0 23 + bne SubCCFAD_Block_CFB3 ; CPU:$CF8E PRG:0F8E D0 23 lda Zp64 ; CPU:$CF90 PRG:0F90 A5 64 - bne Label_CF9C ; CPU:$CF92 PRG:0F92 D0 08 + bne SubCCF4B_Block_CF9C ; CPU:$CF92 PRG:0F92 D0 08 jsr $EB79 ; CPU:$CF94 PRG:0F94 20 79 EB - bne Label_CFB3 ; CPU:$CF97 PRG:0F97 D0 1A + bne SubCCFAD_Block_CFB3 ; CPU:$CF97 PRG:0F97 D0 1A jmp $EC7C ; CPU:$CF99 PRG:0F99 4C 7C EC ; ----------------------------------------------------------------------------- -; Routine: Label_CF9C +; Routine: SubCCF4B_Block_CF9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2760,14 +2761,14 @@ Label_CF83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF9C: +SubCCF4B_Block_CF9C: cmp #$02 ; CPU:$CF9C PRG:0F9C C9 02 - bne Label_CFA8 ; CPU:$CF9E PRG:0F9E D0 08 + bne SubCCF4B_Block_CFA8 ; CPU:$CF9E PRG:0F9E D0 08 jsr $EC64 ; CPU:$CFA0 PRG:0FA0 20 64 EC - bne Label_CFB3 ; CPU:$CFA3 PRG:0FA3 D0 0E + bne SubCCFAD_Block_CFB3 ; CPU:$CFA3 PRG:0FA3 D0 0E jmp $CFAD ; CPU:$CFA5 PRG:0FA5 4C AD CF ; ----------------------------------------------------------------------------- -; Routine: Label_CFA8 +; Routine: SubCCF4B_Block_CFA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2775,11 +2776,11 @@ Label_CF9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFA8: +SubCCF4B_Block_CFA8: jsr $EB79 ; CPU:$CFA8 PRG:0FA8 20 79 EB - bne Label_CFB3 ; CPU:$CFAB PRG:0FAB D0 06 + bne SubCCFAD_Block_CFB3 ; CPU:$CFAB PRG:0FAB D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_CFAD +; Routine: SubCCFAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2787,11 +2788,11 @@ Label_CFA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFAD: +SubCCFAD: jsr $EC8F ; CPU:$CFAD PRG:0FAD 20 8F EC jsr $ECAA ; CPU:$CFB0 PRG:0FB0 20 AA EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFB3 +; Routine: SubCCFAD_Block_CFB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2799,10 +2800,10 @@ Label_CFAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB3: +SubCCFAD_Block_CFB3: rts ; CPU:$CFB3 PRG:0FB3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB4 +; Routine: SubCCFAD_Block_CFB4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2810,26 +2811,26 @@ Label_CFB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB4: +SubCCFAD_Block_CFB4: cmp #$02 ; CPU:$CFB4 PRG:0FB4 C9 02 - bne Label_CFDF ; CPU:$CFB6 PRG:0FB6 D0 27 + bne SubCCFAD_Block_CFDF ; CPU:$CFB6 PRG:0FB6 D0 27 lda #$02 ; CPU:$CFB8 PRG:0FB8 A9 02 sta Zp7C ; CPU:$CFBA PRG:0FBA 85 7C jsr $EB8F ; CPU:$CFBC PRG:0FBC 20 8F EB - bne Label_CFDB ; CPU:$CFBF PRG:0FBF D0 1A + bne SubCCFAD_Block_CFDB ; CPU:$CFBF PRG:0FBF D0 1A jsr $EB79 ; CPU:$CFC1 PRG:0FC1 20 79 EB - bne Label_CFDB ; CPU:$CFC4 PRG:0FC4 D0 15 + bne SubCCFAD_Block_CFDB ; CPU:$CFC4 PRG:0FC4 D0 15 lda Zp64 ; CPU:$CFC6 PRG:0FC6 A5 64 - beq Label_CFDC ; CPU:$CFC8 PRG:0FC8 F0 12 + beq SubCCFAD_Block_CFDC ; CPU:$CFC8 PRG:0FC8 F0 12 jsr $EC8F ; CPU:$CFCA PRG:0FCA 20 8F EC jsr $ECAA ; CPU:$CFCD PRG:0FCD 20 AA EC - bne Label_CFDB ; CPU:$CFD0 PRG:0FD0 D0 09 + bne SubCCFAD_Block_CFDB ; CPU:$CFD0 PRG:0FD0 D0 09 lda Zp64 ; CPU:$CFD2 PRG:0FD2 A5 64 cmp #$02 ; CPU:$CFD4 PRG:0FD4 C9 02 - bne Label_CFDB ; CPU:$CFD6 PRG:0FD6 D0 03 + bne SubCCFAD_Block_CFDB ; CPU:$CFD6 PRG:0FD6 D0 03 jsr $EC7C ; CPU:$CFD8 PRG:0FD8 20 7C EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFDB +; Routine: SubCCFAD_Block_CFDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2837,10 +2838,10 @@ Label_CFB4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDB: +SubCCFAD_Block_CFDB: rts ; CPU:$CFDB PRG:0FDB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFDC +; Routine: SubCCFAD_Block_CFDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2848,10 +2849,10 @@ Label_CFDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDC: +SubCCFAD_Block_CFDC: jmp $EC64 ; CPU:$CFDC PRG:0FDC 4C 64 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFDF +; Routine: SubCCFAD_Block_CFDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2859,17 +2860,17 @@ Label_CFDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDF: +SubCCFAD_Block_CFDF: lda #$01 ; CPU:$CFDF PRG:0FDF A9 01 sta Zp7C ; CPU:$CFE1 PRG:0FE1 85 7C jsr $EB79 ; CPU:$CFE3 PRG:0FE3 20 79 EB - bne Label_CFF1 ; CPU:$CFE6 PRG:0FE6 D0 09 + bne SubCCFAD_Block_CFF1 ; CPU:$CFE6 PRG:0FE6 D0 09 lda Zp64 ; CPU:$CFE8 PRG:0FE8 A5 64 cmp #$02 ; CPU:$CFEA PRG:0FEA C9 02 - bne Label_CFF1 ; CPU:$CFEC PRG:0FEC D0 03 + bne SubCCFAD_Block_CFF1 ; CPU:$CFEC PRG:0FEC D0 03 jsr $EC64 ; CPU:$CFEE PRG:0FEE 20 64 EC ; ----------------------------------------------------------------------------- -; Routine: Label_CFF1 +; Routine: SubCCFAD_Block_CFF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2877,10 +2878,10 @@ Label_CFDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF1: +SubCCFAD_Block_CFF1: rts ; CPU:$CFF1 PRG:0FF1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF2 +; Routine: SubCCFF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2888,10 +2889,10 @@ Label_CFF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF2: +SubCCFF2: ldx #$00 ; CPU:$CFF2 PRG:0FF2 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CFF4 +; Routine: SubCCFF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2899,11 +2900,11 @@ Label_CFF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFF4: +SubCCFF4: jsr $E8C2 ; CPU:$CFF4 PRG:0FF4 20 C2 E8 jmp $C6FC ; CPU:$CFF7 PRG:0FF7 4C FC C6 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFA +; Routine: SubCCFFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2911,12 +2912,12 @@ Label_CFF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFA: +SubCCFFA: lda Zp94 ; CPU:$CFFA PRG:0FFA A5 94 - beq Label_CFFF ; CPU:$CFFC PRG:0FFC F0 01 + beq SubCCFFA_Block_CFFF ; CPU:$CFFC PRG:0FFC F0 01 rts ; CPU:$CFFE PRG:0FFE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFF +; Routine: SubCCFFA_Block_CFFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2924,10 +2925,10 @@ Label_CFFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFF: +SubCCFFA_Block_CFFF: lda Zp93 ; CPU:$CFFF PRG:0FFF A5 93 and #$40 ; CPU:$D001 PRG:1001 29 40 - bne Label_D04A ; CPU:$D003 PRG:1003 D0 45 + bne SubCCFFA_Block_D04A ; CPU:$D003 PRG:1003 D0 45 jsr $CFF2 ; CPU:$D005 PRG:1005 20 F2 CF lda #$01 ; CPU:$D008 PRG:1008 A9 01 sta Zp05 ; CPU:$D00A PRG:100A 85 05 @@ -2935,12 +2936,12 @@ Label_CFFF: jsr $EB29 ; CPU:$D00F PRG:100F 20 29 EB lda Zp5E ; CPU:$D012 PRG:1012 A5 5E cmp #$03 ; CPU:$D014 PRG:1014 C9 03 - bne Label_D01F ; CPU:$D016 PRG:1016 D0 07 + bne SubCCFFA_Block_D01F ; CPU:$D016 PRG:1016 D0 07 lda #$04 ; CPU:$D018 PRG:1018 A9 04 sta Zp92 ; CPU:$D01A PRG:101A 85 92 jmp $EC0E ; CPU:$D01C PRG:101C 4C 0E EC ; ----------------------------------------------------------------------------- -; Routine: Label_D01F +; Routine: SubCCFFA_Block_D01F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2948,27 +2949,27 @@ Label_CFFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01F: +SubCCFFA_Block_D01F: cmp #$02 ; CPU:$D01F PRG:101F C9 02 - bne Label_D043 ; CPU:$D021 PRG:1021 D0 20 + bne SubCCFFA_Block_D043 ; CPU:$D021 PRG:1021 D0 20 lda #$02 ; CPU:$D023 PRG:1023 A9 02 sta Zp92 ; CPU:$D025 PRG:1025 85 92 jsr $EBAA ; CPU:$D027 PRG:1027 20 AA EB - bne Label_D04A ; CPU:$D02A PRG:102A D0 1E + bne SubCCFFA_Block_D04A ; CPU:$D02A PRG:102A D0 1E lda Zp64 ; CPU:$D02C PRG:102C A5 64 cmp #$02 ; CPU:$D02E PRG:102E C9 02 - bne Label_D04A ; CPU:$D030 PRG:1030 D0 18 + bne SubCCFFA_Block_D04A ; CPU:$D030 PRG:1030 D0 18 lda Zp97 ; CPU:$D032 PRG:1032 A5 97 cmp #$30 ; CPU:$D034 PRG:1034 C9 30 - bcs Label_D04A ; CPU:$D036 PRG:1036 B0 12 + bcs SubCCFFA_Block_D04A ; CPU:$D036 PRG:1036 B0 12 lda Zp98 ; CPU:$D038 PRG:1038 A5 98 cmp #$90 ; CPU:$D03A PRG:103A C9 90 - bcc Label_D04A ; CPU:$D03C PRG:103C 90 0C + bcc SubCCFFA_Block_D04A ; CPU:$D03C PRG:103C 90 0C lda #$10 ; CPU:$D03E PRG:103E A9 10 sta Zp94 ; CPU:$D040 PRG:1040 85 94 rts ; CPU:$D042 PRG:1042 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D043 +; Routine: SubCCFFA_Block_D043 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2976,12 +2977,12 @@ Label_D01F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D043: +SubCCFFA_Block_D043: lda #$01 ; CPU:$D043 PRG:1043 A9 01 sta Zp92 ; CPU:$D045 PRG:1045 85 92 jsr $EBAA ; CPU:$D047 PRG:1047 20 AA EB ; ----------------------------------------------------------------------------- -; Routine: Label_D04A +; Routine: SubCCFFA_Block_D04A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2989,10 +2990,10 @@ Label_D043: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04A: +SubCCFFA_Block_D04A: rts ; CPU:$D04A PRG:104A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D04B +; Routine: SubCD04B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3000,10 +3001,10 @@ Label_D04A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04B: +SubCD04B: lda Zp94 ; CPU:$D04B PRG:104B A5 94 cmp #$04 ; CPU:$D04D PRG:104D C9 04 - beq Label_D072 ; CPU:$D04F PRG:104F F0 21 + beq SubCD04B_Block_D072 ; CPU:$D04F PRG:104F F0 21 jsr $CFF2 ; CPU:$D051 PRG:1051 20 F2 CF lda ZpAF ; CPU:$D054 PRG:1054 A5 AF sta Zp00 ; CPU:$D056 PRG:1056 85 00 @@ -3012,7 +3013,7 @@ Label_D04B: lda #$04 ; CPU:$D05C PRG:105C A9 04 jsr $D073 ; CPU:$D05E PRG:105E 20 73 D0 jsr $EA2B ; CPU:$D061 PRG:1061 20 2B EA - beq Label_D072 ; CPU:$D064 PRG:1064 F0 0C + beq SubCD04B_Block_D072 ; CPU:$D064 PRG:1064 F0 0C lda #$04 ; CPU:$D066 PRG:1066 A9 04 sta Zp94 ; CPU:$D068 PRG:1068 85 94 lda #$30 ; CPU:$D06A PRG:106A A9 30 @@ -3020,7 +3021,7 @@ Label_D04B: lda #$10 ; CPU:$D06E PRG:106E A9 10 sta ZpFB ; CPU:$D070 PRG:1070 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D072 +; Routine: SubCD04B_Block_D072 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3028,10 +3029,10 @@ Label_D04B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D072: +SubCD04B_Block_D072: rts ; CPU:$D072 PRG:1072 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D073 +; Routine: SubCD073 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3039,7 +3040,7 @@ Label_D072: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D073: +SubCD073: tax ; CPU:$D073 PRG:1073 AA lda $C639,x ; CPU:$D074 PRG:1074 BD 39 C6 sta Zp02 ; CPU:$D077 PRG:1077 85 02 @@ -3047,7 +3048,7 @@ Label_D073: sta Zp03 ; CPU:$D07C PRG:107C 85 03 rts ; CPU:$D07E PRG:107E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D07F +; Routine: SubCD07F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3055,7 +3056,7 @@ Label_D073: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D07F: +SubCD07F: jsr $CF43 ; CPU:$D07F PRG:107F 20 43 CF jsr $D346 ; CPU:$D082 PRG:1082 20 46 D3 jsr $D0AD ; CPU:$D085 PRG:1085 20 AD D0 @@ -3064,11 +3065,11 @@ Label_D07F: jsr $D112 ; CPU:$D08E PRG:108E 20 12 D1 lda Zp64 ; CPU:$D091 PRG:1091 A5 64 cmp #$00 ; CPU:$D093 PRG:1093 C9 00 - bne Label_D09D ; CPU:$D095 PRG:1095 D0 06 + bne SubCD07F_Block_D09D ; CPU:$D095 PRG:1095 D0 06 jsr $D46B ; CPU:$D097 PRG:1097 20 6B D4 jmp $D2E2 ; CPU:$D09A PRG:109A 4C E2 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D09D +; Routine: SubCD07F_Block_D09D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3076,13 +3077,13 @@ Label_D07F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D09D: +SubCD07F_Block_D09D: cmp #$02 ; CPU:$D09D PRG:109D C9 02 - bne Label_D0A7 ; CPU:$D09F PRG:109F D0 06 + bne SubCD07F_Block_D0A7 ; CPU:$D09F PRG:109F D0 06 jsr $D49F ; CPU:$D0A1 PRG:10A1 20 9F D4 jmp $D2E2 ; CPU:$D0A4 PRG:10A4 4C E2 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A7 +; Routine: SubCD07F_Block_D0A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3090,11 +3091,11 @@ Label_D09D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A7: +SubCD07F_Block_D0A7: jsr $CF43 ; CPU:$D0A7 PRG:10A7 20 43 CF jmp $D4D5 ; CPU:$D0AA PRG:10AA 4C D5 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D0AD +; Routine: SubCD0AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3102,19 +3103,19 @@ Label_D0A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AD: +SubCD0AD: lda ZpE1 ; CPU:$D0AD PRG:10AD A5 E1 - beq Label_D111 ; CPU:$D0AF PRG:10AF F0 60 + beq SubCD0AD_Block_D111 ; CPU:$D0AF PRG:10AF F0 60 jsr $EB08 ; CPU:$D0B1 PRG:10B1 20 08 EB lda Zp00 ; CPU:$D0B4 PRG:10B4 A5 00 ldx Zp64 ; CPU:$D0B6 PRG:10B6 A6 64 cmp $C3E9,x ; CPU:$D0B8 PRG:10B8 DD E9 C3 - bcc Label_D111 ; CPU:$D0BB PRG:10BB 90 54 + bcc SubCD0AD_Block_D111 ; CPU:$D0BB PRG:10BB 90 54 cmp $C3EA,x ; CPU:$D0BD PRG:10BD DD EA C3 - bcs Label_D111 ; CPU:$D0C0 PRG:10C0 B0 4F + bcs SubCD0AD_Block_D111 ; CPU:$D0C0 PRG:10C0 B0 4F lda Zp6F ; CPU:$D0C2 PRG:10C2 A5 6F and Zp7C ; CPU:$D0C4 PRG:10C4 25 7C - beq Label_D111 ; CPU:$D0C6 PRG:10C6 F0 49 + beq SubCD0AD_Block_D111 ; CPU:$D0C6 PRG:10C6 F0 49 lda #$40 ; CPU:$D0C8 PRG:10C8 A9 40 sta ZpE0 ; CPU:$D0CA PRG:10CA 85 E0 lda #$00 ; CPU:$D0CC PRG:10CC A9 00 @@ -3129,7 +3130,7 @@ Label_D0AD: jsr $E93C ; CPU:$D0DE PRG:10DE 20 3C E9 lda Zp64 ; CPU:$D0E1 PRG:10E1 A5 64 cmp #$04 ; CPU:$D0E3 PRG:10E3 C9 04 - beq Label_D111 ; CPU:$D0E5 PRG:10E5 F0 2A + beq SubCD0AD_Block_D111 ; CPU:$D0E5 PRG:10E5 F0 2A lda #$40 ; CPU:$D0E7 PRG:10E7 A9 40 sta Zp02 ; CPU:$D0E9 PRG:10E9 85 02 lda #$04 ; CPU:$D0EB PRG:10EB A9 04 @@ -3151,7 +3152,7 @@ Label_D0AD: sta ZpE7 ; CPU:$D10D PRG:110D 85 E7 sta Zp78 ; CPU:$D10F PRG:110F 85 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D111 +; Routine: SubCD0AD_Block_D111 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3159,10 +3160,10 @@ Label_D0AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D111: +SubCD0AD_Block_D111: rts ; CPU:$D111 PRG:1111 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D112 +; Routine: SubCD112 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3170,16 +3171,16 @@ Label_D111: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D112: +SubCD112: lda Zp94 ; CPU:$D112 PRG:1112 A5 94 cmp #$02 ; CPU:$D114 PRG:1114 C9 02 - beq Label_D153 ; CPU:$D116 PRG:1116 F0 3B + beq SubCD112_Block_D153 ; CPU:$D116 PRG:1116 F0 3B ldx Zp75 ; CPU:$D118 PRG:1118 A6 75 jsr $E8C2 ; CPU:$D11A PRG:111A 20 C2 E8 jsr $EA2B ; CPU:$D11D PRG:111D 20 2B EA - beq Label_D154 ; CPU:$D120 PRG:1120 F0 32 + beq SubCD112_Block_D154 ; CPU:$D120 PRG:1120 F0 32 lda ZpE0 ; CPU:$D122 PRG:1122 A5 E0 - beq Label_D13F ; CPU:$D124 PRG:1124 F0 19 + beq SubCD112_Block_D13F ; CPU:$D124 PRG:1124 F0 19 lda #$02 ; CPU:$D126 PRG:1126 A9 02 sta Zp94 ; CPU:$D128 PRG:1128 85 94 lda Zp7D ; CPU:$D12A PRG:112A A5 7D @@ -3189,11 +3190,11 @@ Label_D112: lda #$01 ; CPU:$D132 PRG:1132 A9 01 sta ZpFF ; CPU:$D134 PRG:1134 85 FF lda Zp64 ; CPU:$D136 PRG:1136 A5 64 - bne Label_D153 ; CPU:$D138 PRG:1138 D0 19 + bne SubCD112_Block_D153 ; CPU:$D138 PRG:1138 D0 19 lda #$01 ; CPU:$D13A PRG:113A A9 01 jmp $CEDE ; CPU:$D13C PRG:113C 4C DE CE ; ----------------------------------------------------------------------------- -; Routine: Label_D13F +; Routine: SubCD112_Block_D13F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3201,10 +3202,10 @@ Label_D112: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D13F: +SubCD112_Block_D13F: lda Zp94 ; CPU:$D13F PRG:113F A5 94 cmp #$04 ; CPU:$D141 PRG:1141 C9 04 - beq Label_D1AC ; CPU:$D143 PRG:1143 F0 67 + beq SubCD112_Block_D1AC ; CPU:$D143 PRG:1143 F0 67 lda #$01 ; CPU:$D145 PRG:1145 A9 01 sta Zp72 ; CPU:$D147 PRG:1147 85 72 sta Zp73 ; CPU:$D149 PRG:1149 85 73 @@ -3213,7 +3214,7 @@ Label_D13F: lda #$FF ; CPU:$D14F PRG:114F A9 FF sta Zp3B ; CPU:$D151 PRG:1151 85 3B ; ----------------------------------------------------------------------------- -; Routine: Label_D153 +; Routine: SubCD112_Block_D153 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3221,10 +3222,10 @@ Label_D13F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D153: +SubCD112_Block_D153: rts ; CPU:$D153 PRG:1153 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D154 +; Routine: SubCD112_Block_D154 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3232,14 +3233,14 @@ Label_D153: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D154: +SubCD112_Block_D154: lda Zp64 ; CPU:$D154 PRG:1154 A5 64 cmp #$02 ; CPU:$D156 PRG:1156 C9 02 - bne Label_D15F ; CPU:$D158 PRG:1158 D0 05 + bne SubCD112_Block_D15F ; CPU:$D158 PRG:1158 D0 05 jsr $D2C8 ; CPU:$D15A PRG:115A 20 C8 D2 - bne Label_D1AC ; CPU:$D15D PRG:115D D0 4D + bne SubCD112_Block_D1AC ; CPU:$D15D PRG:115D D0 4D ; ----------------------------------------------------------------------------- -; Routine: Label_D15F +; Routine: SubCD112_Block_D15F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3247,13 +3248,13 @@ Label_D154: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D15F: +SubCD112_Block_D15F: jsr $D04B ; CPU:$D15F PRG:115F 20 4B D0 lda ZpE0 ; CPU:$D162 PRG:1162 A5 E0 - beq Label_D169 ; CPU:$D164 PRG:1164 F0 03 + beq SubCD112_Block_D169 ; CPU:$D164 PRG:1164 F0 03 jmp $D2A5 ; CPU:$D166 PRG:1166 4C A5 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D169 +; Routine: SubCD112_Block_D169 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3261,16 +3262,16 @@ Label_D15F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D169: +SubCD112_Block_D169: lda Zp93 ; CPU:$D169 PRG:1169 A5 93 and #$50 ; CPU:$D16B PRG:116B 29 50 - bne Label_D1AC ; CPU:$D16D PRG:116D D0 3D + bne SubCD112_Block_D1AC ; CPU:$D16D PRG:116D D0 3D lda $040A ; CPU:$D16F PRG:116F AD 0A 04 - beq Label_D178 ; CPU:$D172 PRG:1172 F0 04 + beq SubCD112_Block_D178 ; CPU:$D172 PRG:1172 F0 04 lda #$20 ; CPU:$D174 PRG:1174 A9 20 sta ZpFC ; CPU:$D176 PRG:1176 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_D178 +; Routine: SubCD112_Block_D178 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3278,31 +3279,31 @@ Label_D169: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D178: +SubCD112_Block_D178: lda Zp94 ; CPU:$D178 PRG:1178 A5 94 - bne Label_D1AC ; CPU:$D17A PRG:117A D0 30 + bne SubCD112_Block_D1AC ; CPU:$D17A PRG:117A D0 30 lda Zp82 ; CPU:$D17C PRG:117C A5 82 sta Zp00 ; CPU:$D17E PRG:117E 85 00 lda Zp97 ; CPU:$D180 PRG:1180 A5 97 sta Zp01 ; CPU:$D182 PRG:1182 85 01 ldx Zp65 ; CPU:$D184 PRG:1184 A6 65 cmp $C61D,x ; CPU:$D186 PRG:1186 DD 1D C6 - bcc Label_D1AC ; CPU:$D189 PRG:1189 90 21 + bcc SubCD112_Block_D1AC ; CPU:$D189 PRG:1189 90 21 cmp #$D8 ; CPU:$D18B PRG:118B C9 D8 - bcs Label_D1AC ; CPU:$D18D PRG:118D B0 1D + bcs SubCD112_Block_D1AC ; CPU:$D18D PRG:118D B0 1D lda Zp7D ; CPU:$D18F PRG:118F A5 7D and #$10 ; CPU:$D191 PRG:1191 29 10 - bne Label_D1A9 ; CPU:$D193 PRG:1193 D0 14 + bne SubCD112_Block_D1A9 ; CPU:$D193 PRG:1193 D0 14 jsr $D23A ; CPU:$D195 PRG:1195 20 3A D2 - bne Label_D1AC ; CPU:$D198 PRG:1198 D0 12 + bne SubCD112_Block_D1AC ; CPU:$D198 PRG:1198 D0 12 jsr $D1AD ; CPU:$D19A PRG:119A 20 AD D1 - bne Label_D1AC ; CPU:$D19D PRG:119D D0 0D + bne SubCD112_Block_D1AC ; CPU:$D19D PRG:119D D0 0D jsr $D1DF ; CPU:$D19F PRG:119F 20 DF D1 - bne Label_D1AC ; CPU:$D1A2 PRG:11A2 D0 08 + bne SubCD112_Block_D1AC ; CPU:$D1A2 PRG:11A2 D0 08 jsr $D202 ; CPU:$D1A4 PRG:11A4 20 02 D2 - bne Label_D1AC ; CPU:$D1A7 PRG:11A7 D0 03 + bne SubCD112_Block_D1AC ; CPU:$D1A7 PRG:11A7 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A9 +; Routine: SubCD112_Block_D1A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3310,10 +3311,10 @@ Label_D178: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A9: +SubCD112_Block_D1A9: jsr $D284 ; CPU:$D1A9 PRG:11A9 20 84 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AC +; Routine: SubCD112_Block_D1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3321,10 +3322,10 @@ Label_D1A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AC: +SubCD112_Block_D1AC: rts ; CPU:$D1AC PRG:11AC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1AD +; Routine: SubCD1AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3332,31 +3333,31 @@ Label_D1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1AD: +SubCD1AD: lda $040A ; CPU:$D1AD PRG:11AD AD 0A 04 - bne Label_D1DC ; CPU:$D1B0 PRG:11B0 D0 2A + bne SubCD1AD_Block_D1DC ; CPU:$D1B0 PRG:11B0 D0 2A lda #$80 ; CPU:$D1B2 PRG:11B2 A9 80 jsr $EADE ; CPU:$D1B4 PRG:11B4 20 DE EA - beq Label_D1DC ; CPU:$D1B7 PRG:11B7 F0 23 + beq SubCD1AD_Block_D1DC ; CPU:$D1B7 PRG:11B7 F0 23 lda Zp7C ; CPU:$D1B9 PRG:11B9 A5 7C and Zp92 ; CPU:$D1BB PRG:11BB 25 92 - beq Label_D1DC ; CPU:$D1BD PRG:11BD F0 1D + beq SubCD1AD_Block_D1DC ; CPU:$D1BD PRG:11BD F0 1D lda #$20 ; CPU:$D1BF PRG:11BF A9 20 jsr $EADE ; CPU:$D1C1 PRG:11C1 20 DE EA - bne Label_D1DC ; CPU:$D1C4 PRG:11C4 D0 16 + bne SubCD1AD_Block_D1DC ; CPU:$D1C4 PRG:11C4 D0 16 ldx Zp7B ; CPU:$D1C6 PRG:11C6 A6 7B lda Zp35 ; CPU:$D1C8 PRG:11C8 A5 35 - bne Label_D1DC ; CPU:$D1CA PRG:11CA D0 10 + bne SubCD1AD_Block_D1DC ; CPU:$D1CA PRG:11CA D0 10 lda #$30 ; CPU:$D1CC PRG:11CC A9 30 sta Zp35 ; CPU:$D1CE PRG:11CE 85 35 lda $C07A,x ; CPU:$D1D0 PRG:11D0 BD 7A C0 cmp Zp18 ; CPU:$D1D3 PRG:11D3 C5 18 - bcc Label_D1DC ; CPU:$D1D5 PRG:11D5 90 05 + bcc SubCD1AD_Block_D1DC ; CPU:$D1D5 PRG:11D5 90 05 lda #$80 ; CPU:$D1D7 PRG:11D7 A9 80 sta Zp94 ; CPU:$D1D9 PRG:11D9 85 94 rts ; CPU:$D1DB PRG:11DB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DC +; Routine: SubCD1AD_Block_D1DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3364,11 +3365,11 @@ Label_D1AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DC: +SubCD1AD_Block_D1DC: lda #$00 ; CPU:$D1DC PRG:11DC A9 00 rts ; CPU:$D1DE PRG:11DE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DF +; Routine: SubCD1DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3376,22 +3377,22 @@ Label_D1DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DF: +SubCD1DF: ldx #$00 ; CPU:$D1DF PRG:11DF A2 00 jsr $D221 ; CPU:$D1E1 PRG:11E1 20 21 D2 - beq Label_D1FF ; CPU:$D1E4 PRG:11E4 F0 19 + beq SubCD1DF_Block_D1FF ; CPU:$D1E4 PRG:11E4 F0 19 lda Zp92 ; CPU:$D1E6 PRG:11E6 A5 92 cmp Zp7C ; CPU:$D1E8 PRG:11E8 C5 7C - bpl Label_D1FF ; CPU:$D1EA PRG:11EA 10 13 + bpl SubCD1DF_Block_D1FF ; CPU:$D1EA PRG:11EA 10 13 ora Zp7C ; CPU:$D1EC PRG:11EC 05 7C cmp #$03 ; CPU:$D1EE PRG:11EE C9 03 - beq Label_D1FA ; CPU:$D1F0 PRG:11F0 F0 08 + beq SubCD1DF_Block_D1FA ; CPU:$D1F0 PRG:11F0 F0 08 cmp #$06 ; CPU:$D1F2 PRG:11F2 C9 06 - beq Label_D1FA ; CPU:$D1F4 PRG:11F4 F0 04 + beq SubCD1DF_Block_D1FA ; CPU:$D1F4 PRG:11F4 F0 04 cmp #$0C ; CPU:$D1F6 PRG:11F6 C9 0C - bne Label_D1FF ; CPU:$D1F8 PRG:11F8 D0 05 + bne SubCD1DF_Block_D1FF ; CPU:$D1F8 PRG:11F8 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D1FA +; Routine: SubCD1DF_Block_D1FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3399,12 +3400,12 @@ Label_D1DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1FA: +SubCD1DF_Block_D1FA: lda #$40 ; CPU:$D1FA PRG:11FA A9 40 sta Zp94 ; CPU:$D1FC PRG:11FC 85 94 rts ; CPU:$D1FE PRG:11FE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1FF +; Routine: SubCD1DF_Block_D1FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3412,11 +3413,11 @@ Label_D1FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1FF: +SubCD1DF_Block_D1FF: lda #$00 ; CPU:$D1FF PRG:11FF A9 00 rts ; CPU:$D201 PRG:1201 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D202 +; Routine: SubCD202 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3424,20 +3425,20 @@ Label_D1FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D202: +SubCD202: ldx #$01 ; CPU:$D202 PRG:1202 A2 01 jsr $D221 ; CPU:$D204 PRG:1204 20 21 D2 - beq Label_D21E ; CPU:$D207 PRG:1207 F0 15 + beq SubCD202_Block_D21E ; CPU:$D207 PRG:1207 F0 15 lda Zp7C ; CPU:$D209 PRG:1209 A5 7C cmp Zp92 ; CPU:$D20B PRG:120B C5 92 - bpl Label_D21E ; CPU:$D20D PRG:120D 10 0F + bpl SubCD202_Block_D21E ; CPU:$D20D PRG:120D 10 0F ora Zp92 ; CPU:$D20F PRG:120F 05 92 cmp #$03 ; CPU:$D211 PRG:1211 C9 03 - beq Label_D219 ; CPU:$D213 PRG:1213 F0 04 + beq SubCD202_Block_D219 ; CPU:$D213 PRG:1213 F0 04 cmp #$06 ; CPU:$D215 PRG:1215 C9 06 - bne Label_D21E ; CPU:$D217 PRG:1217 D0 05 + bne SubCD202_Block_D21E ; CPU:$D217 PRG:1217 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D219 +; Routine: SubCD202_Block_D219 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3445,12 +3446,12 @@ Label_D202: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D219: +SubCD202_Block_D219: lda #$20 ; CPU:$D219 PRG:1219 A9 20 sta Zp94 ; CPU:$D21B PRG:121B 85 94 rts ; CPU:$D21D PRG:121D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D21E +; Routine: SubCD202_Block_D21E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3458,11 +3459,11 @@ Label_D219: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D21E: +SubCD202_Block_D21E: lda #$00 ; CPU:$D21E PRG:121E A9 00 rts ; CPU:$D220 PRG:1220 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D221 +; Routine: SubCD221 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3470,21 +3471,21 @@ Label_D21E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D221: +SubCD221: ldy Zp7B ; CPU:$D221 PRG:1221 A4 7B lda Zp36,x ; CPU:$D223 PRG:1223 B5 36 - bne Label_D21E ; CPU:$D225 PRG:1225 D0 F7 + bne SubCD202_Block_D21E ; CPU:$D225 PRG:1225 D0 F7 lda #$30 ; CPU:$D227 PRG:1227 A9 30 sta Zp36,x ; CPU:$D229 PRG:1229 95 36 lda $C083,y ; CPU:$D22B PRG:122B B9 83 C0 cmp Zp18 ; CPU:$D22E PRG:122E C5 18 - bcc Label_D21E ; CPU:$D230 PRG:1230 90 EC + bcc SubCD202_Block_D21E ; CPU:$D230 PRG:1230 90 EC lda #$30 ; CPU:$D232 PRG:1232 A9 30 jsr $EADE ; CPU:$D234 PRG:1234 20 DE EA - beq Label_D21E ; CPU:$D237 PRG:1237 F0 E5 + beq SubCD202_Block_D21E ; CPU:$D237 PRG:1237 F0 E5 rts ; CPU:$D239 PRG:1239 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D23A +; Routine: SubCD23A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3492,36 +3493,36 @@ Label_D221: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D23A: +SubCD23A: ldx Zp7B ; CPU:$D23A PRG:123A A6 7B lda Zp86 ; CPU:$D23C PRG:123C A5 86 - bne Label_D273 ; CPU:$D23E PRG:123E D0 33 + bne SubCD23A_Block_D273 ; CPU:$D23E PRG:123E D0 33 lda Zp38 ; CPU:$D240 PRG:1240 A5 38 - bne Label_D27F ; CPU:$D242 PRG:1242 D0 3B + bne SubCD275_Block_D27F ; CPU:$D242 PRG:1242 D0 3B lda #$30 ; CPU:$D244 PRG:1244 A9 30 sta Zp38 ; CPU:$D246 PRG:1246 85 38 lda $C07A,x ; CPU:$D248 PRG:1248 BD 7A C0 cmp Zp18 ; CPU:$D24B PRG:124B C5 18 - bcc Label_D27F ; CPU:$D24D PRG:124D 90 30 + bcc SubCD275_Block_D27F ; CPU:$D24D PRG:124D 90 30 lda Zp7C ; CPU:$D24F PRG:124F A5 7C cmp Zp92 ; CPU:$D251 PRG:1251 C5 92 - bpl Label_D27F ; CPU:$D253 PRG:1253 10 2A + bpl SubCD275_Block_D27F ; CPU:$D253 PRG:1253 10 2A lda #$40 ; CPU:$D255 PRG:1255 A9 40 jsr $EADE ; CPU:$D257 PRG:1257 20 DE EA - beq Label_D27F ; CPU:$D25A PRG:125A F0 23 + beq SubCD275_Block_D27F ; CPU:$D25A PRG:125A F0 23 lda Zp97 ; CPU:$D25C PRG:125C A5 97 cmp #$50 ; CPU:$D25E PRG:125E C9 50 - bcc Label_D27F ; CPU:$D260 PRG:1260 90 1D + bcc SubCD275_Block_D27F ; CPU:$D260 PRG:1260 90 1D cmp #$D0 ; CPU:$D262 PRG:1262 C9 D0 - bcs Label_D27F ; CPU:$D264 PRG:1264 B0 19 + bcs SubCD275_Block_D27F ; CPU:$D264 PRG:1264 B0 19 lda Zp92 ; CPU:$D266 PRG:1266 A5 92 ora Zp7C ; CPU:$D268 PRG:1268 05 7C cmp #$05 ; CPU:$D26A PRG:126A C9 05 - bne Label_D273 ; CPU:$D26C PRG:126C D0 05 + bne SubCD23A_Block_D273 ; CPU:$D26C PRG:126C D0 05 lda #$01 ; CPU:$D26E PRG:126E A9 01 jmp $D275 ; CPU:$D270 PRG:1270 4C 75 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D273 +; Routine: SubCD23A_Block_D273 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3529,10 +3530,10 @@ Label_D23A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D273: +SubCD23A_Block_D273: lda #$00 ; CPU:$D273 PRG:1273 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D275 +; Routine: SubCD275 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3540,14 +3541,14 @@ Label_D273: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D275: +SubCD275: sta Zp86 ; CPU:$D275 PRG:1275 85 86 jsr $DD1D ; CPU:$D277 PRG:1277 20 1D DD lda #$10 ; CPU:$D27A PRG:127A A9 10 sta Zp94 ; CPU:$D27C PRG:127C 85 94 rts ; CPU:$D27E PRG:127E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D27F +; Routine: SubCD275_Block_D27F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3555,12 +3556,12 @@ Label_D275: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D27F: +SubCD275_Block_D27F: lda #$00 ; CPU:$D27F PRG:127F A9 00 sta Zp86 ; CPU:$D281 PRG:1281 85 86 rts ; CPU:$D283 PRG:1283 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D284 +; Routine: SubCD284 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3568,23 +3569,23 @@ Label_D27F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D284: +SubCD284: ldx Zp7B ; CPU:$D284 PRG:1284 A6 7B lda Zp39 ; CPU:$D286 PRG:1286 A5 39 - bne Label_D2A4 ; CPU:$D288 PRG:1288 D0 1A + bne SubCD284_Block_D2A4 ; CPU:$D288 PRG:1288 D0 1A lda #$FF ; CPU:$D28A PRG:128A A9 FF sta Zp39 ; CPU:$D28C PRG:128C 85 39 lda #$80 ; CPU:$D28E PRG:128E A9 80 cmp Zp18 ; CPU:$D290 PRG:1290 C5 18 - bcc Label_D2A4 ; CPU:$D292 PRG:1292 90 10 + bcc SubCD284_Block_D2A4 ; CPU:$D292 PRG:1292 90 10 lda #$08 ; CPU:$D294 PRG:1294 A9 08 sta Zp94 ; CPU:$D296 PRG:1296 85 94 lda Zp82 ; CPU:$D298 PRG:1298 A5 82 cmp Zp97 ; CPU:$D29A PRG:129A C5 97 - bcs Label_D2A1 ; CPU:$D29C PRG:129C B0 03 + bcs SubCD284_Block_D2A1 ; CPU:$D29C PRG:129C B0 03 jmp $DD14 ; CPU:$D29E PRG:129E 4C 14 DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2A1 +; Routine: SubCD284_Block_D2A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3592,10 +3593,10 @@ Label_D284: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A1: +SubCD284_Block_D2A1: jsr $DD0B ; CPU:$D2A1 PRG:12A1 20 0B DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2A4 +; Routine: SubCD284_Block_D2A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3603,10 +3604,10 @@ Label_D2A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A4: +SubCD284_Block_D2A4: rts ; CPU:$D2A4 PRG:12A4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2A5 +; Routine: SubCD2A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3614,24 +3615,24 @@ Label_D2A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2A5: +SubCD2A5: lda Zp93 ; CPU:$D2A5 PRG:12A5 A5 93 and #$C0 ; CPU:$D2A7 PRG:12A7 29 C0 - bne Label_D2C7 ; CPU:$D2A9 PRG:12A9 D0 1C + bne SubCD2A5_Block_D2C7 ; CPU:$D2A9 PRG:12A9 D0 1C lda Zp7C ; CPU:$D2AB PRG:12AB A5 7C cmp Zp92 ; CPU:$D2AD PRG:12AD C5 92 - bne Label_D2C7 ; CPU:$D2AF PRG:12AF D0 16 + bne SubCD2A5_Block_D2C7 ; CPU:$D2AF PRG:12AF D0 16 lda Zp97 ; CPU:$D2B1 PRG:12B1 A5 97 cmp #$30 ; CPU:$D2B3 PRG:12B3 C9 30 - bcc Label_D2C7 ; CPU:$D2B5 PRG:12B5 90 10 + bcc SubCD2A5_Block_D2C7 ; CPU:$D2B5 PRG:12B5 90 10 cmp #$C0 ; CPU:$D2B7 PRG:12B7 C9 C0 - bcs Label_D2C7 ; CPU:$D2B9 PRG:12B9 B0 0C + bcs SubCD2A5_Block_D2C7 ; CPU:$D2B9 PRG:12B9 B0 0C lda Zp82 ; CPU:$D2BB PRG:12BB A5 82 cmp Zp97 ; CPU:$D2BD PRG:12BD C5 97 - bcs Label_D2C4 ; CPU:$D2BF PRG:12BF B0 03 + bcs SubCD2A5_Block_D2C4 ; CPU:$D2BF PRG:12BF B0 03 jmp $DD0B ; CPU:$D2C1 PRG:12C1 4C 0B DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2C4 +; Routine: SubCD2A5_Block_D2C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3639,10 +3640,10 @@ Label_D2A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C4: +SubCD2A5_Block_D2C4: jsr $DD14 ; CPU:$D2C4 PRG:12C4 20 14 DD ; ----------------------------------------------------------------------------- -; Routine: Label_D2C7 +; Routine: SubCD2A5_Block_D2C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3650,10 +3651,10 @@ Label_D2C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C7: +SubCD2A5_Block_D2C7: rts ; CPU:$D2C7 PRG:12C7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2C8 +; Routine: SubCD2C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3661,15 +3662,15 @@ Label_D2C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2C8: +SubCD2C8: lda Zp97 ; CPU:$D2C8 PRG:12C8 A5 97 ldx Zp98 ; CPU:$D2CA PRG:12CA A6 98 jsr $D2D6 ; CPU:$D2CC PRG:12CC 20 D6 D2 - beq Label_D2D5 ; CPU:$D2CF PRG:12CF F0 04 + beq SubCD2C8_Block_D2D5 ; CPU:$D2CF PRG:12CF F0 04 lda #$01 ; CPU:$D2D1 PRG:12D1 A9 01 sta Zp94 ; CPU:$D2D3 PRG:12D3 85 94 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D5 +; Routine: SubCD2C8_Block_D2D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3677,10 +3678,10 @@ Label_D2C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D5: +SubCD2C8_Block_D2D5: rts ; CPU:$D2D5 PRG:12D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D6 +; Routine: SubCD2D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3688,14 +3689,14 @@ Label_D2D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D6: +SubCD2D6: cmp #$25 ; CPU:$D2D6 PRG:12D6 C9 25 - bcs Label_D2DF ; CPU:$D2D8 PRG:12D8 B0 05 + bcs SubCD2D6_Block_D2DF ; CPU:$D2D8 PRG:12D8 B0 05 cpx #$B0 ; CPU:$D2DA PRG:12DA E0 B0 - bcc Label_D2DF ; CPU:$D2DC PRG:12DC 90 01 + bcc SubCD2D6_Block_D2DF ; CPU:$D2DC PRG:12DC 90 01 rts ; CPU:$D2DE PRG:12DE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2DF +; Routine: SubCD2D6_Block_D2DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3703,11 +3704,11 @@ Label_D2D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2DF: +SubCD2D6_Block_D2DF: lda #$00 ; CPU:$D2DF PRG:12DF A9 00 rts ; CPU:$D2E1 PRG:12E1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2E2 +; Routine: SubCD2E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3715,16 +3716,16 @@ Label_D2DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E2: +SubCD2E2: lda ZpE7 ; CPU:$D2E2 PRG:12E2 A5 E7 - beq Label_D33A ; CPU:$D2E4 PRG:12E4 F0 54 + beq SubCD318_Block_D33A ; CPU:$D2E4 PRG:12E4 F0 54 lda ZpE0 ; CPU:$D2E6 PRG:12E6 A5 E0 ora Zp7D ; CPU:$D2E8 PRG:12E8 05 7D and #$40 ; CPU:$D2EA PRG:12EA 29 40 - bne Label_D33A ; CPU:$D2EC PRG:12EC D0 4C + bne SubCD318_Block_D33A ; CPU:$D2EC PRG:12EC D0 4C lda Zp7C ; CPU:$D2EE PRG:12EE A5 7C cmp #$08 ; CPU:$D2F0 PRG:12F0 C9 08 - beq Label_D33A ; CPU:$D2F2 PRG:12F2 F0 46 + beq SubCD318_Block_D33A ; CPU:$D2F2 PRG:12F2 F0 46 lda Zp43 ; CPU:$D2F4 PRG:12F4 A5 43 and #$08 ; CPU:$D2F6 PRG:12F6 29 08 lsr a ; CPU:$D2F8 PRG:12F8 4A @@ -3739,12 +3740,12 @@ Label_D2E2: lda $C41C,x ; CPU:$D308 PRG:1308 BD 1C C4 jsr $E266 ; CPU:$D30B PRG:130B 20 66 E2 lda Zp3C ; CPU:$D30E PRG:130E A5 3C - bne Label_D339 ; CPU:$D310 PRG:1310 D0 27 + bne SubCD318_Block_D339 ; CPU:$D310 PRG:1310 D0 27 lda #$30 ; CPU:$D312 PRG:1312 A9 30 sta Zp3C ; CPU:$D314 PRG:1314 85 3C ldx #$00 ; CPU:$D316 PRG:1316 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D318 +; Routine: SubCD318 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3752,17 +3753,17 @@ Label_D2E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D318: +SubCD318: lda $0230,x ; CPU:$D318 PRG:1318 BD 30 02 cmp #$FF ; CPU:$D31B PRG:131B C9 FF - beq Label_D326 ; CPU:$D31D PRG:131D F0 07 + beq SubCD318_Block_D326 ; CPU:$D31D PRG:131D F0 07 inx ; CPU:$D31F PRG:131F E8 inx ; CPU:$D320 PRG:1320 E8 inx ; CPU:$D321 PRG:1321 E8 inx ; CPU:$D322 PRG:1322 E8 jmp $D318 ; CPU:$D323 PRG:1323 4C 18 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D326 +; Routine: SubCD318_Block_D326 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3770,7 +3771,7 @@ Label_D318: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D326: +SubCD318_Block_D326: lda #$AA ; CPU:$D326 PRG:1326 A9 AA sta $0231,x ; CPU:$D328 PRG:1328 9D 31 02 lda #$D4 ; CPU:$D32B PRG:132B A9 D4 @@ -3780,7 +3781,7 @@ Label_D326: dec ZpE7 ; CPU:$D335 PRG:1335 C6 E7 dec Zp78 ; CPU:$D337 PRG:1337 C6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D339 +; Routine: SubCD318_Block_D339 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3788,10 +3789,10 @@ Label_D326: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D339: +SubCD318_Block_D339: rts ; CPU:$D339 PRG:1339 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D33A +; Routine: SubCD318_Block_D33A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3799,15 +3800,15 @@ Label_D339: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33A: +SubCD318_Block_D33A: ldx Zp7B ; CPU:$D33A PRG:133A A6 7B lda $C060,x ; CPU:$D33C PRG:133C BD 60 C0 cmp Zp78 ; CPU:$D33F PRG:133F C5 78 - bne Label_D339 ; CPU:$D341 PRG:1341 D0 F6 + bne SubCD318_Block_D339 ; CPU:$D341 PRG:1341 D0 F6 sta ZpE7 ; CPU:$D343 PRG:1343 85 E7 rts ; CPU:$D345 PRG:1345 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D346 +; Routine: SubCD346 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3815,13 +3816,13 @@ Label_D33A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D346: +SubCD346: ldy #$00 ; CPU:$D346 PRG:1346 A0 00 ldx #$00 ; CPU:$D348 PRG:1348 A2 00 lda #$00 ; CPU:$D34A PRG:134A A9 00 jsr $D073 ; CPU:$D34C PRG:134C 20 73 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D34F +; Routine: SubCD346_Block_D34F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3829,14 +3830,14 @@ Label_D346: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34F: +SubCD346_Block_D34F: lda $0221,x ; CPU:$D34F PRG:134F BD 21 02 cmp $C61B,y ; CPU:$D352 PRG:1352 D9 1B C6 - beq Label_D36B ; CPU:$D355 PRG:1355 F0 14 + beq SubCD35C_Block_D36B ; CPU:$D355 PRG:1355 F0 14 jsr $D3E4 ; CPU:$D357 PRG:1357 20 E4 D3 - beq Label_D36B ; CPU:$D35A PRG:135A F0 0F + beq SubCD35C_Block_D36B ; CPU:$D35A PRG:135A F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D35C +; Routine: SubCD35C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3844,7 +3845,7 @@ Label_D34F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D35C: +SubCD35C: lda #$02 ; CPU:$D35C PRG:135C A9 02 sta Zp72 ; CPU:$D35E PRG:135E 85 72 sta Zp73 ; CPU:$D360 PRG:1360 85 73 @@ -3854,7 +3855,7 @@ Label_D35C: sta ZpFB ; CPU:$D368 PRG:1368 85 FB rts ; CPU:$D36A PRG:136A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D36B +; Routine: SubCD35C_Block_D36B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3862,21 +3863,21 @@ Label_D35C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D36B: +SubCD35C_Block_D36B: inx ; CPU:$D36B PRG:136B E8 inx ; CPU:$D36C PRG:136C E8 inx ; CPU:$D36D PRG:136D E8 inx ; CPU:$D36E PRG:136E E8 cpx #$10 ; CPU:$D36F PRG:136F E0 10 - bmi Label_D34F ; CPU:$D371 PRG:1371 30 DC + bmi SubCD346_Block_D34F ; CPU:$D371 PRG:1371 30 DC lda Zp64 ; CPU:$D373 PRG:1373 A5 64 cmp #$04 ; CPU:$D375 PRG:1375 C9 04 - beq Label_D37F ; CPU:$D377 PRG:1377 F0 06 + beq SubCD35C_Block_D37F ; CPU:$D377 PRG:1377 F0 06 ldy #$01 ; CPU:$D379 PRG:1379 A0 01 cpx #$20 ; CPU:$D37B PRG:137B E0 20 - bmi Label_D34F ; CPU:$D37D PRG:137D 30 D0 + bmi SubCD346_Block_D34F ; CPU:$D37D PRG:137D 30 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D37F +; Routine: SubCD35C_Block_D37F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3884,9 +3885,9 @@ Label_D36B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37F: +SubCD35C_Block_D37F: lda ZpE1 ; CPU:$D37F PRG:137F A5 E1 - beq Label_D3E3 ; CPU:$D381 PRG:1381 F0 60 + beq SubCD35C_Block_D3E3 ; CPU:$D381 PRG:1381 F0 60 jsr $EB08 ; CPU:$D383 PRG:1383 20 08 EB lda #$04 ; CPU:$D386 PRG:1386 A9 04 jsr $D073 ; CPU:$D388 PRG:1388 20 73 D0 @@ -3894,7 +3895,7 @@ Label_D37F: ldx #$00 ; CPU:$D38E PRG:138E A2 00 ldy #$00 ; CPU:$D390 PRG:1390 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D392 +; Routine: SubCD35C_Block_D392 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3902,14 +3903,14 @@ Label_D37F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D392: +SubCD35C_Block_D392: lda $0221,x ; CPU:$D392 PRG:1392 BD 21 02 cmp $C61B,y ; CPU:$D395 PRG:1395 D9 1B C6 - beq Label_D39F ; CPU:$D398 PRG:1398 F0 05 + beq SubCD35C_Block_D39F ; CPU:$D398 PRG:1398 F0 05 jsr $D3E4 ; CPU:$D39A PRG:139A 20 E4 D3 - bne Label_D3B4 ; CPU:$D39D PRG:139D D0 15 + bne SubCD35C_Block_D3B4 ; CPU:$D39D PRG:139D D0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_D39F +; Routine: SubCD35C_Block_D39F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3917,21 +3918,21 @@ Label_D392: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D39F: +SubCD35C_Block_D39F: inx ; CPU:$D39F PRG:139F E8 inx ; CPU:$D3A0 PRG:13A0 E8 inx ; CPU:$D3A1 PRG:13A1 E8 inx ; CPU:$D3A2 PRG:13A2 E8 cpx #$10 ; CPU:$D3A3 PRG:13A3 E0 10 - bmi Label_D392 ; CPU:$D3A5 PRG:13A5 30 EB + bmi SubCD35C_Block_D392 ; CPU:$D3A5 PRG:13A5 30 EB lda Zp64 ; CPU:$D3A7 PRG:13A7 A5 64 cmp #$04 ; CPU:$D3A9 PRG:13A9 C9 04 - beq Label_D3B3 ; CPU:$D3AB PRG:13AB F0 06 + beq SubCD35C_Block_D3B3 ; CPU:$D3AB PRG:13AB F0 06 ldy #$01 ; CPU:$D3AD PRG:13AD A0 01 cpx #$20 ; CPU:$D3AF PRG:13AF E0 20 - bmi Label_D392 ; CPU:$D3B1 PRG:13B1 30 DF + bmi SubCD35C_Block_D392 ; CPU:$D3B1 PRG:13B1 30 DF ; ----------------------------------------------------------------------------- -; Routine: Label_D3B3 +; Routine: SubCD35C_Block_D3B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3939,10 +3940,10 @@ Label_D39F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3B3: +SubCD35C_Block_D3B3: rts ; CPU:$D3B3 PRG:13B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3B4 +; Routine: SubCD35C_Block_D3B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3950,12 +3951,12 @@ Label_D3B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3B4: +SubCD35C_Block_D3B4: cpx #$10 ; CPU:$D3B4 PRG:13B4 E0 10 - bmi Label_D3BA ; CPU:$D3B6 PRG:13B6 30 02 + bmi SubCD35C_Block_D3BA ; CPU:$D3B6 PRG:13B6 30 02 inc Zp78 ; CPU:$D3B8 PRG:13B8 E6 78 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BA +; Routine: SubCD35C_Block_D3BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3963,7 +3964,7 @@ Label_D3B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BA: +SubCD35C_Block_D3BA: lda $0220,x ; CPU:$D3BA PRG:13BA BD 20 02 sec ; CPU:$D3BD PRG:13BD 38 sbc #$04 ; CPU:$D3BE PRG:13BE E9 04 @@ -3983,7 +3984,7 @@ Label_D3BA: lda #$08 ; CPU:$D3DF PRG:13DF A9 08 sta ZpFF ; CPU:$D3E1 PRG:13E1 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D3E3 +; Routine: SubCD35C_Block_D3E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3991,10 +3992,10 @@ Label_D3BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E3: +SubCD35C_Block_D3E3: rts ; CPU:$D3E3 PRG:13E3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3E4 +; Routine: SubCD3E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4002,14 +4003,14 @@ Label_D3E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E4: +SubCD3E4: lda $0223,x ; CPU:$D3E4 PRG:13E4 BD 23 02 sta Zp00 ; CPU:$D3E7 PRG:13E7 85 00 lda $0220,x ; CPU:$D3E9 PRG:13E9 BD 20 02 sta Zp01 ; CPU:$D3EC PRG:13EC 85 01 jmp $EA2B ; CPU:$D3EE PRG:13EE 4C 2B EA ; ----------------------------------------------------------------------------- -; Routine: Label_D3F1 +; Routine: SubCD3F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4017,7 +4018,7 @@ Label_D3E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F1: +SubCD3F1: ldx Zp65 ; CPU:$D3F1 PRG:13F1 A6 65 lda $C06A,x ; CPU:$D3F3 PRG:13F3 BD 6A C0 ora ZpFC ; CPU:$D3F6 PRG:13F6 05 FC @@ -4027,7 +4028,7 @@ Label_D3F1: ldx #$00 ; CPU:$D3FF PRG:13FF A2 00 ldy #$00 ; CPU:$D401 PRG:1401 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D403 +; Routine: SubCD3F1_Block_D403 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4035,14 +4036,14 @@ Label_D3F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D403: +SubCD3F1_Block_D403: lda $02DC,x ; CPU:$D403 PRG:1403 BD DC 02 sta Zp06 ; CPU:$D406 PRG:1406 85 06 cmp #$C8 ; CPU:$D408 PRG:1408 C9 C8 - bcc Label_D40E ; CPU:$D40A PRG:140A 90 02 + bcc SubCD3F1_Block_D40E ; CPU:$D40A PRG:140A 90 02 lda #$C8 ; CPU:$D40C PRG:140C A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D40E +; Routine: SubCD3F1_Block_D40E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4050,21 +4051,21 @@ Label_D403: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D40E: +SubCD3F1_Block_D40E: sta Zp01 ; CPU:$D40E PRG:140E 85 01 lda $02DF,x ; CPU:$D410 PRG:1410 BD DF 02 sta Zp05 ; CPU:$D413 PRG:1413 85 05 sta Zp00 ; CPU:$D415 PRG:1415 85 00 jsr $EA2B ; CPU:$D417 PRG:1417 20 2B EA - beq Label_D461 ; CPU:$D41A PRG:141A F0 45 + beq SubCD42A_Block_D461 ; CPU:$D41A PRG:141A F0 45 lda ZpE0 ; CPU:$D41C PRG:141C A5 E0 - beq Label_D428 ; CPU:$D41E PRG:141E F0 08 + beq SubCD3F1_Block_D428 ; CPU:$D41E PRG:141E F0 08 lda Zp7C ; CPU:$D420 PRG:1420 A5 7C clc ; CPU:$D422 PRG:1422 18 adc #$01 ; CPU:$D423 PRG:1423 69 01 jmp $D42A ; CPU:$D425 PRG:1425 4C 2A D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D428 +; Routine: SubCD3F1_Block_D428 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4072,10 +4073,10 @@ Label_D40E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D428: +SubCD3F1_Block_D428: lda Zp7C ; CPU:$D428 PRG:1428 A5 7C ; ----------------------------------------------------------------------------- -; Routine: Label_D42A +; Routine: SubCD42A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4083,25 +4084,25 @@ Label_D428: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42A: +SubCD42A: pha ; CPU:$D42A PRG:142A 48 lda #$FF ; CPU:$D42B PRG:142B A9 FF sta $02DC,x ; CPU:$D42D PRG:142D 9D DC 02 sta $02DF,x ; CPU:$D430 PRG:1430 9D DF 02 dec ZpB7 ; CPU:$D433 PRG:1433 C6 B7 lda #$00 ; CPU:$D435 PRG:1435 A9 00 - sta a:$00B8,y ; CPU:$D437 PRG:1437 99 B8 00 - sta a:$00C0,y ; CPU:$D43A PRG:143A 99 C0 00 - sta a:$00D0,y ; CPU:$D43D PRG:143D 99 D0 00 - sta a:$00D8,y ; CPU:$D440 PRG:1440 99 D8 00 + sta a:ZpB8,y ; CPU:$D437 PRG:1437 99 B8 00 + sta a:ZpC0,y ; CPU:$D43A PRG:143A 99 C0 00 + sta a:ZpD0,y ; CPU:$D43D PRG:143D 99 D0 00 + sta a:ZpD8,y ; CPU:$D440 PRG:1440 99 D8 00 ldx Zp67 ; CPU:$D443 PRG:1443 A6 67 inc Zp6A,x ; CPU:$D445 PRG:1445 F6 6A lda ZpE0 ; CPU:$D447 PRG:1447 A5 E0 - bne Label_D44F ; CPU:$D449 PRG:1449 D0 04 + bne SubCD42A_Block_D44F ; CPU:$D449 PRG:1449 D0 04 lda #$00 ; CPU:$D44B PRG:144B A9 00 sta ZpB6 ; CPU:$D44D PRG:144D 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_D44F +; Routine: SubCD42A_Block_D44F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4109,14 +4110,14 @@ Label_D42A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D44F: +SubCD42A_Block_D44F: txa ; CPU:$D44F PRG:144F 8A asl a ; CPU:$D450 PRG:1450 0A - bne Label_D456 ; CPU:$D451 PRG:1451 D0 03 + bne SubCD42A_Block_D456 ; CPU:$D451 PRG:1451 D0 03 tya ; CPU:$D453 PRG:1453 98 and #$01 ; CPU:$D454 PRG:1454 29 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D456 +; Routine: SubCD42A_Block_D456 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4124,7 +4125,7 @@ Label_D44F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D456: +SubCD42A_Block_D456: tax ; CPU:$D456 PRG:1456 AA lda $C069,x ; CPU:$D457 PRG:1457 BD 69 C0 sta ZpFB ; CPU:$D45A PRG:145A 85 FB @@ -4132,7 +4133,7 @@ Label_D456: tax ; CPU:$D45D PRG:145D AA jmp $CE70 ; CPU:$D45E PRG:145E 4C 70 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D461 +; Routine: SubCD42A_Block_D461 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4140,17 +4141,17 @@ Label_D456: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D461: +SubCD42A_Block_D461: inx ; CPU:$D461 PRG:1461 E8 inx ; CPU:$D462 PRG:1462 E8 inx ; CPU:$D463 PRG:1463 E8 inx ; CPU:$D464 PRG:1464 E8 iny ; CPU:$D465 PRG:1465 C8 cpx #$20 ; CPU:$D466 PRG:1466 E0 20 - bmi Label_D403 ; CPU:$D468 PRG:1468 30 99 + bmi SubCD3F1_Block_D403 ; CPU:$D468 PRG:1468 30 99 rts ; CPU:$D46A PRG:146A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D46B +; Routine: SubCD46B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4158,19 +4159,19 @@ Label_D461: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46B: +SubCD46B: lda ZpB1 ; CPU:$D46B PRG:146B A5 B1 - bne Label_D49E ; CPU:$D46D PRG:146D D0 2F + bne SubCD46B_Block_D49E ; CPU:$D46D PRG:146D D0 2F lda ZpE1 ; CPU:$D46F PRG:146F A5 E1 - beq Label_D49E ; CPU:$D471 PRG:1471 F0 2B + beq SubCD46B_Block_D49E ; CPU:$D471 PRG:1471 F0 2B lda Zp82 ; CPU:$D473 PRG:1473 A5 82 cmp #$B5 ; CPU:$D475 PRG:1475 C9 B5 - bcs Label_D49E ; CPU:$D477 PRG:1477 B0 25 + bcs SubCD46B_Block_D49E ; CPU:$D477 PRG:1477 B0 25 cmp #$A0 ; CPU:$D479 PRG:1479 C9 A0 - bcc Label_D49E ; CPU:$D47B PRG:147B 90 21 + bcc SubCD46B_Block_D49E ; CPU:$D47B PRG:147B 90 21 lda Zp83 ; CPU:$D47D PRG:147D A5 83 cmp #$60 ; CPU:$D47F PRG:147F C9 60 - bcs Label_D49E ; CPU:$D481 PRG:1481 B0 1B + bcs SubCD46B_Block_D49E ; CPU:$D481 PRG:1481 B0 1B lda #$08 ; CPU:$D483 PRG:1483 A9 08 sta ZpB1 ; CPU:$D485 PRG:1485 85 B1 lda $0287 ; CPU:$D487 PRG:1487 AD 87 02 @@ -4185,7 +4186,7 @@ Label_D46B: sta Zp40 ; CPU:$D49A PRG:149A 85 40 sta ZpB3 ; CPU:$D49C PRG:149C 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_D49E +; Routine: SubCD46B_Block_D49E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4193,10 +4194,10 @@ Label_D46B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D49E: +SubCD46B_Block_D49E: rts ; CPU:$D49E PRG:149E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D49F +; Routine: SubCD49F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4204,18 +4205,18 @@ Label_D49E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D49F: +SubCD49F: lda Zp82 ; CPU:$D49F PRG:149F A5 82 ldx Zp83 ; CPU:$D4A1 PRG:14A1 A6 83 jsr $D2D6 ; CPU:$D4A3 PRG:14A3 20 D6 D2 - beq Label_D4B2 ; CPU:$D4A6 PRG:14A6 F0 0A + beq SubCD49F_Block_D4B2 ; CPU:$D4A6 PRG:14A6 F0 0A lda #$08 ; CPU:$D4A8 PRG:14A8 A9 08 ora Zp72 ; CPU:$D4AA PRG:14AA 05 72 sta Zp72 ; CPU:$D4AC PRG:14AC 85 72 lda #$04 ; CPU:$D4AE PRG:14AE A9 04 sta ZpFF ; CPU:$D4B0 PRG:14B0 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D4B2 +; Routine: SubCD49F_Block_D4B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4223,10 +4224,10 @@ Label_D49F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4B2: +SubCD49F_Block_D4B2: rts ; CPU:$D4B2 PRG:14B2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4B3 +; Routine: SubCD4B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4234,7 +4235,7 @@ Label_D4B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4B3: +SubCD4B3: ldx #$04 ; CPU:$D4B3 PRG:14B3 A2 04 jsr $CF45 ; CPU:$D4B5 PRG:14B5 20 45 CF lda ZpAF ; CPU:$D4B8 PRG:14B8 A5 AF @@ -4247,7 +4248,7 @@ Label_D4B3: sta ZpB4 ; CPU:$D4C9 PRG:14C9 85 B4 rts ; CPU:$D4CB PRG:14CB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4CC +; Routine: SubCD4CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4255,14 +4256,14 @@ Label_D4B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4CC: +SubCD4CC: lda ZpE7 ; CPU:$D4CC PRG:14CC A5 E7 sta Zp00 ; CPU:$D4CE PRG:14CE 85 00 lda ZpE8 ; CPU:$D4D0 PRG:14D0 A5 E8 sta Zp01 ; CPU:$D4D2 PRG:14D2 85 01 rts ; CPU:$D4D4 PRG:14D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D4D5 +; Routine: SubCD4D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4270,20 +4271,20 @@ Label_D4CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D5: +SubCD4D5: lda $0241 ; CPU:$D4D5 PRG:14D5 AD 41 02 cmp #$FA ; CPU:$D4D8 PRG:14D8 C9 FA - beq Label_D529 ; CPU:$D4DA PRG:14DA F0 4D + beq SubCD4D5_Block_D529 ; CPU:$D4DA PRG:14DA F0 4D jsr $D4CC ; CPU:$D4DC PRG:14DC 20 CC D4 lda #$06 ; CPU:$D4DF PRG:14DF A9 06 jsr $D073 ; CPU:$D4E1 PRG:14E1 20 73 D0 jsr $EA2B ; CPU:$D4E4 PRG:14E4 20 2B EA - beq Label_D4F0 ; CPU:$D4E7 PRG:14E7 F0 07 + beq SubCD4D5_Block_D4F0 ; CPU:$D4E7 PRG:14E7 F0 07 lda ZpE0 ; CPU:$D4E9 PRG:14E9 A5 E0 - bne Label_D50C ; CPU:$D4EB PRG:14EB D0 1F + bne SubCD4D5_Block_D50C ; CPU:$D4EB PRG:14EB D0 1F jmp $D35C ; CPU:$D4ED PRG:14ED 4C 5C D3 ; ----------------------------------------------------------------------------- -; Routine: Label_D4F0 +; Routine: SubCD4D5_Block_D4F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4291,9 +4292,9 @@ Label_D4D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4F0: +SubCD4D5_Block_D4F0: lda ZpE1 ; CPU:$D4F0 PRG:14F0 A5 E1 - beq Label_D529 ; CPU:$D4F2 PRG:14F2 F0 35 + beq SubCD4D5_Block_D529 ; CPU:$D4F2 PRG:14F2 F0 35 jsr $EB08 ; CPU:$D4F4 PRG:14F4 20 08 EB lda #$02 ; CPU:$D4F7 PRG:14F7 A9 02 jsr $D073 ; CPU:$D4F9 PRG:14F9 20 73 D0 @@ -4302,9 +4303,9 @@ Label_D4F0: jsr $D073 ; CPU:$D501 PRG:1501 20 73 D0 jsr $D4CC ; CPU:$D504 PRG:1504 20 CC D4 jsr $EA2B ; CPU:$D507 PRG:1507 20 2B EA - beq Label_D529 ; CPU:$D50A PRG:150A F0 1D + beq SubCD4D5_Block_D529 ; CPU:$D50A PRG:150A F0 1D ; ----------------------------------------------------------------------------- -; Routine: Label_D50C +; Routine: SubCD4D5_Block_D50C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4312,7 +4313,7 @@ Label_D4F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D50C: +SubCD4D5_Block_D50C: lda #$08 ; CPU:$D50C PRG:150C A9 08 sta ZpFF ; CPU:$D50E PRG:150E 85 FF lda #$03 ; CPU:$D510 PRG:1510 A9 03 @@ -4328,7 +4329,7 @@ Label_D50C: lda #$20 ; CPU:$D525 PRG:1525 A9 20 sta Zp3F ; CPU:$D527 PRG:1527 85 3F ; ----------------------------------------------------------------------------- -; Routine: Label_D529 +; Routine: SubCD4D5_Block_D529 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4336,10 +4337,10 @@ Label_D50C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D529: +SubCD4D5_Block_D529: rts ; CPU:$D529 PRG:1529 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D52A +; Routine: SubCD52A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4347,7 +4348,7 @@ Label_D529: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52A: +SubCD52A: jsr $D696 ; CPU:$D52A PRG:152A 20 96 D6 jsr $DB68 ; CPU:$D52D PRG:152D 20 68 DB jsr $E04C ; CPU:$D530 PRG:1530 20 4C E0 @@ -4356,18 +4357,18 @@ Label_D52A: jsr $E26B ; CPU:$D539 PRG:1539 20 6B E2 lda Zp64 ; CPU:$D53C PRG:153C A5 64 cmp #$04 ; CPU:$D53E PRG:153E C9 04 - beq Label_D56B ; CPU:$D540 PRG:1540 F0 29 + beq SubCD52A_Block_D56B ; CPU:$D540 PRG:1540 F0 29 cmp #$02 ; CPU:$D542 PRG:1542 C9 02 - beq Label_D559 ; CPU:$D544 PRG:1544 F0 13 + beq SubCD52A_Block_D559 ; CPU:$D544 PRG:1544 F0 13 jsr $E540 ; CPU:$D546 PRG:1546 20 40 E5 jsr $E4BA ; CPU:$D549 PRG:1549 20 BA E4 jsr $E4DA ; CPU:$D54C PRG:154C 20 DA E4 ldx #$00 ; CPU:$D54F PRG:154F A2 00 ldy Zp67 ; CPU:$D551 PRG:1551 A4 67 - lda a:$006A,y ; CPU:$D553 PRG:1553 B9 6A 00 + lda a:Zp6A,y ; CPU:$D553 PRG:1553 B9 6A 00 jmp $D5EE ; CPU:$D556 PRG:1556 4C EE D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D559 +; Routine: SubCD52A_Block_D559 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4375,7 +4376,7 @@ Label_D52A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D559: +SubCD52A_Block_D559: jsr $E540 ; CPU:$D559 PRG:1559 20 40 E5 jsr $E4FA ; CPU:$D55C PRG:155C 20 FA E4 jsr $E69A ; CPU:$D55F PRG:155F 20 9A E6 @@ -4384,7 +4385,7 @@ Label_D559: lda Zp6A,x ; CPU:$D566 PRG:1566 B5 6A jmp $D63A ; CPU:$D568 PRG:1568 4C 3A D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D56B +; Routine: SubCD52A_Block_D56B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4392,13 +4393,13 @@ Label_D559: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D56B: +SubCD52A_Block_D56B: jsr $E5FD ; CPU:$D56B PRG:156B 20 FD E5 jsr $E6EC ; CPU:$D56E PRG:156E 20 EC E6 ldx Zp67 ; CPU:$D571 PRG:1571 A6 67 lda Zp6A,x ; CPU:$D573 PRG:1573 B5 6A ; ----------------------------------------------------------------------------- -; Routine: Label_D575 +; Routine: SubCD575 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4406,15 +4407,15 @@ Label_D56B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D575: - beq Label_D529 ; CPU:$D575 PRG:1575 F0 B2 +SubCD575: + beq SubCD4D5_Block_D529 ; CPU:$D575 PRG:1575 F0 B2 ldx #$02 ; CPU:$D577 PRG:1577 A2 02 sta Zp0C ; CPU:$D579 PRG:1579 85 0C and #$01 ; CPU:$D57B PRG:157B 29 01 - beq Label_D581 ; CPU:$D57D PRG:157D F0 02 + beq SubCD575_Block_D581 ; CPU:$D57D PRG:157D F0 02 ldx #$00 ; CPU:$D57F PRG:157F A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D581 +; Routine: SubCD575_Block_D581 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4422,7 +4423,7 @@ Label_D575: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D581: +SubCD575_Block_D581: lda $C476,x ; CPU:$D581 PRG:1581 BD 76 C4 sta Zp02 ; CPU:$D584 PRG:1584 85 02 lda $C477,x ; CPU:$D586 PRG:1586 BD 77 C4 @@ -4434,7 +4435,7 @@ Label_D581: lda #$22 ; CPU:$D593 PRG:1593 A9 22 sta Zp01 ; CPU:$D595 PRG:1595 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D597 +; Routine: SubCD597 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4442,18 +4443,18 @@ Label_D581: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D597: +SubCD597: cpx Zp0C ; CPU:$D597 PRG:1597 E4 0C - beq Label_D5B8 ; CPU:$D599 PRG:1599 F0 1D + beq SubCD597_Block_D5B8 ; CPU:$D599 PRG:1599 F0 1D inx ; CPU:$D59B PRG:159B E8 cpx #$0D ; CPU:$D59C PRG:159C E0 0D - bne Label_D5A9 ; CPU:$D59E PRG:159E D0 09 + bne SubCD597_Block_D5A9 ; CPU:$D59E PRG:159E D0 09 dec Zp01 ; CPU:$D5A0 PRG:15A0 C6 01 lda #$EF ; CPU:$D5A2 PRG:15A2 A9 EF sta Zp00 ; CPU:$D5A4 PRG:15A4 85 00 jmp $D597 ; CPU:$D5A6 PRG:15A6 4C 97 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5A9 +; Routine: SubCD597_Block_D5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4461,17 +4462,17 @@ Label_D597: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5A9: +SubCD597_Block_D5A9: txa ; CPU:$D5A9 PRG:15A9 8A and #$01 ; CPU:$D5AA PRG:15AA 29 01 - beq Label_D597 ; CPU:$D5AC PRG:15AC F0 E9 + beq SubCD597 ; CPU:$D5AC PRG:15AC F0 E9 lda Zp00 ; CPU:$D5AE PRG:15AE A5 00 sec ; CPU:$D5B0 PRG:15B0 38 sbc #$20 ; CPU:$D5B1 PRG:15B1 E9 20 sta Zp00 ; CPU:$D5B3 PRG:15B3 85 00 jmp $D597 ; CPU:$D5B5 PRG:15B5 4C 97 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5B8 +; Routine: SubCD597_Block_D5B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4479,10 +4480,10 @@ Label_D5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5B8: +SubCD597_Block_D5B8: jmp $EDF9 ; CPU:$D5B8 PRG:15B8 4C F9 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D5BB +; Routine: SubCD5BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4490,19 +4491,19 @@ Label_D5B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5BB: +SubCD5BB: lda Zp41 ; CPU:$D5BB PRG:15BB A5 41 - bne Label_D5E3 ; CPU:$D5BD PRG:15BD D0 24 + bne SubCD5BB_Block_D5E3 ; CPU:$D5BD PRG:15BD D0 24 lda #$05 ; CPU:$D5BF PRG:15BF A9 05 sta Zp41 ; CPU:$D5C1 PRG:15C1 85 41 ldy #$21 ; CPU:$D5C3 PRG:15C3 A0 21 dec Zp6E ; CPU:$D5C5 PRG:15C5 C6 6E ldx Zp6E ; CPU:$D5C7 PRG:15C7 A6 6E cpx #$0B ; CPU:$D5C9 PRG:15C9 E0 0B - bmi Label_D5CE ; CPU:$D5CB PRG:15CB 30 01 + bmi SubCD5BB_Block_D5CE ; CPU:$D5CB PRG:15CB 30 01 dey ; CPU:$D5CD PRG:15CD 88 ; ----------------------------------------------------------------------------- -; Routine: Label_D5CE +; Routine: SubCD5BB_Block_D5CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4510,7 +4511,7 @@ Label_D5BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5CE: +SubCD5BB_Block_D5CE: lda $C51F,x ; CPU:$D5CE PRG:15CE BD 1F C5 sta Zp00 ; CPU:$D5D1 PRG:15D1 85 00 ldx #$0C ; CPU:$D5D3 PRG:15D3 A2 0C @@ -4522,7 +4523,7 @@ Label_D5CE: ldx #$02 ; CPU:$D5DE PRG:15DE A2 02 jsr $D5EE ; CPU:$D5E0 PRG:15E0 20 EE D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E3 +; Routine: SubCD5BB_Block_D5E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4530,13 +4531,13 @@ Label_D5CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E3: +SubCD5BB_Block_D5E3: lda #$FF ; CPU:$D5E3 PRG:15E3 A9 FF sta $0280 ; CPU:$D5E5 PRG:15E5 8D 80 02 sta $0284 ; CPU:$D5E8 PRG:15E8 8D 84 02 jmp $DF8E ; CPU:$D5EB PRG:15EB 4C 8E DF ; ----------------------------------------------------------------------------- -; Routine: Label_D5EE +; Routine: SubCD5EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4544,11 +4545,11 @@ Label_D5E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5EE: - bne Label_D5F1 ; CPU:$D5EE PRG:15EE D0 01 +SubCD5EE: + bne SubCD5EE_Block_D5F1 ; CPU:$D5EE PRG:15EE D0 01 rts ; CPU:$D5F0 PRG:15F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5F1 +; Routine: SubCD5EE_Block_D5F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4556,7 +4557,7 @@ Label_D5EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F1: +SubCD5EE_Block_D5F1: sta Zp0C ; CPU:$D5F1 PRG:15F1 85 0C lda $C46A,x ; CPU:$D5F3 PRG:15F3 BD 6A C4 sta Zp02 ; CPU:$D5F6 PRG:15F6 85 02 @@ -4570,7 +4571,7 @@ Label_D5F1: sta Zp01 ; CPU:$D607 PRG:1607 85 01 sta Zp0B ; CPU:$D609 PRG:1609 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D60B +; Routine: SubCD60B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4578,10 +4579,10 @@ Label_D5F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D60B: +SubCD60B: ldx #$04 ; CPU:$D60B PRG:160B A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D60D +; Routine: SubCD60D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4589,16 +4590,16 @@ Label_D60B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D60D: +SubCD60D: cpy Zp0C ; CPU:$D60D PRG:160D C4 0C - beq Label_D637 ; CPU:$D60F PRG:160F F0 26 + beq SubCD60D_Block_D637 ; CPU:$D60F PRG:160F F0 26 iny ; CPU:$D611 PRG:1611 C8 dex ; CPU:$D612 PRG:1612 CA cpx #$02 ; CPU:$D613 PRG:1613 E0 02 - bne Label_D619 ; CPU:$D615 PRG:1615 D0 02 + bne SubCD60D_Block_D619 ; CPU:$D615 PRG:1615 D0 02 dec Zp01 ; CPU:$D617 PRG:1617 C6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D619 +; Routine: SubCD60D_Block_D619 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4606,16 +4607,16 @@ Label_D60D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D619: +SubCD60D_Block_D619: cpx #$00 ; CPU:$D619 PRG:1619 E0 00 - beq Label_D627 ; CPU:$D61B PRG:161B F0 0A + beq SubCD60D_Block_D627 ; CPU:$D61B PRG:161B F0 0A lda Zp00 ; CPU:$D61D PRG:161D A5 00 sec ; CPU:$D61F PRG:161F 38 sbc #$20 ; CPU:$D620 PRG:1620 E9 20 sta Zp00 ; CPU:$D622 PRG:1622 85 00 jmp $D60D ; CPU:$D624 PRG:1624 4C 0D D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D627 +; Routine: SubCD60D_Block_D627 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4623,7 +4624,7 @@ Label_D619: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D627: +SubCD60D_Block_D627: lda Zp00 ; CPU:$D627 PRG:1627 A5 00 clc ; CPU:$D629 PRG:1629 18 adc #$60 ; CPU:$D62A PRG:162A 69 60 @@ -4633,7 +4634,7 @@ Label_D627: sta Zp01 ; CPU:$D632 PRG:1632 85 01 jmp $D60B ; CPU:$D634 PRG:1634 4C 0B D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D637 +; Routine: SubCD60D_Block_D637 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4641,10 +4642,10 @@ Label_D627: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D637: +SubCD60D_Block_D637: jmp $EDF9 ; CPU:$D637 PRG:1637 4C F9 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D63A +; Routine: SubCD63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4652,11 +4653,11 @@ Label_D637: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63A: - bne Label_D63D ; CPU:$D63A PRG:163A D0 01 +SubCD63A: + bne SubCD63A_Block_D63D ; CPU:$D63A PRG:163A D0 01 rts ; CPU:$D63C PRG:163C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D63D +; Routine: SubCD63A_Block_D63D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4664,7 +4665,7 @@ Label_D63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63D: +SubCD63A_Block_D63D: sta Zp00 ; CPU:$D63D PRG:163D 85 00 tya ; CPU:$D63F PRG:163F 98 pha ; CPU:$D640 PRG:1640 48 @@ -4672,7 +4673,7 @@ Label_D63D: sta Zp05 ; CPU:$D643 PRG:1643 85 05 ldx #$01 ; CPU:$D645 PRG:1645 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D647 +; Routine: SubCD647 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4680,14 +4681,14 @@ Label_D63D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D647: +SubCD647: cpx Zp00 ; CPU:$D647 PRG:1647 E4 00 - beq Label_D651 ; CPU:$D649 PRG:1649 F0 06 + beq SubCD647_Block_D651 ; CPU:$D649 PRG:1649 F0 06 inx ; CPU:$D64B PRG:164B E8 inc Zp05 ; CPU:$D64C PRG:164C E6 05 jmp $D647 ; CPU:$D64E PRG:164E 4C 47 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D651 +; Routine: SubCD647_Block_D651 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4695,7 +4696,7 @@ Label_D647: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D651: +SubCD647_Block_D651: dec Zp00 ; CPU:$D651 PRG:1651 C6 00 lda #$66 ; CPU:$D653 PRG:1653 A9 66 sta Zp01 ; CPU:$D655 PRG:1655 85 01 @@ -4703,13 +4704,13 @@ Label_D651: sta Zp02 ; CPU:$D659 PRG:1659 85 02 lda Zp00 ; CPU:$D65B PRG:165B A5 00 jsr $E8DE ; CPU:$D65D PRG:165D 20 DE E8 - beq Label_D669 ; CPU:$D660 PRG:1660 F0 07 + beq SubCD647_Block_D669 ; CPU:$D660 PRG:1660 F0 07 lda Zp05 ; CPU:$D662 PRG:1662 A5 05 clc ; CPU:$D664 PRG:1664 18 adc #$20 ; CPU:$D665 PRG:1665 69 20 sta Zp05 ; CPU:$D667 PRG:1667 85 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D669 +; Routine: SubCD647_Block_D669 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4717,22 +4718,22 @@ Label_D651: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D669: +SubCD647_Block_D669: pla ; CPU:$D669 PRG:1669 68 tay ; CPU:$D66A PRG:166A A8 ldx Zp00 ; CPU:$D66B PRG:166B A6 00 cpx #$02 ; CPU:$D66D PRG:166D E0 02 - beq Label_D681 ; CPU:$D66F PRG:166F F0 10 + beq SubCD647_Block_D681 ; CPU:$D66F PRG:166F F0 10 cpx #$06 ; CPU:$D671 PRG:1671 E0 06 - beq Label_D681 ; CPU:$D673 PRG:1673 F0 0C + beq SubCD647_Block_D681 ; CPU:$D673 PRG:1673 F0 0C cpx #$09 ; CPU:$D675 PRG:1675 E0 09 - beq Label_D681 ; CPU:$D677 PRG:1677 F0 08 + beq SubCD647_Block_D681 ; CPU:$D677 PRG:1677 F0 08 cpx #$0B ; CPU:$D679 PRG:1679 E0 0B - beq Label_D681 ; CPU:$D67B PRG:167B F0 04 + beq SubCD647_Block_D681 ; CPU:$D67B PRG:167B F0 04 cpx #$0F ; CPU:$D67D PRG:167D E0 0F - bne Label_D683 ; CPU:$D67F PRG:167F D0 02 + bne SubCD647_Block_D683 ; CPU:$D67F PRG:167F D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D681 +; Routine: SubCD647_Block_D681 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4740,11 +4741,11 @@ Label_D669: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D681: +SubCD647_Block_D681: iny ; CPU:$D681 PRG:1681 C8 iny ; CPU:$D682 PRG:1682 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D683 +; Routine: SubCD647_Block_D683 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4752,7 +4753,7 @@ Label_D681: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D683: +SubCD647_Block_D683: lda Zp05 ; CPU:$D683 PRG:1683 A5 05 sta Zp00 ; CPU:$D685 PRG:1685 85 00 lda #$20 ; CPU:$D687 PRG:1687 A9 20 @@ -4762,7 +4763,7 @@ Label_D683: lda $C46F,y ; CPU:$D690 PRG:1690 B9 6F C4 jmp $E266 ; CPU:$D693 PRG:1693 4C 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_D696 +; Routine: SubCD696 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4770,19 +4771,19 @@ Label_D683: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D696: +SubCD696: lda #$FF ; CPU:$D696 PRG:1696 A9 FF sta $0268 ; CPU:$D698 PRG:1698 8D 68 02 lda Zp73 ; CPU:$D69B PRG:169B A5 73 - bne Label_D6BD ; CPU:$D69D PRG:169D D0 1E + bne SubCD696_Block_D6BD ; CPU:$D69D PRG:169D D0 1E jsr $E8B9 ; CPU:$D69F PRG:169F 20 B9 E8 lda ZpE0 ; CPU:$D6A2 PRG:16A2 A5 E0 - beq Label_D6AE ; CPU:$D6A4 PRG:16A4 F0 08 + beq SubCD696_Block_D6AE ; CPU:$D6A4 PRG:16A4 F0 08 jsr $DAAD ; CPU:$D6A6 PRG:16A6 20 AD DA - bne Label_D6BD ; CPU:$D6A9 PRG:16A9 D0 12 + bne SubCD696_Block_D6BD ; CPU:$D6A9 PRG:16A9 D0 12 jsr $E8B9 ; CPU:$D6AB PRG:16AB 20 B9 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D6AE +; Routine: SubCD696_Block_D6AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4790,16 +4791,16 @@ Label_D696: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6AE: +SubCD696_Block_D6AE: lda Zp64 ; CPU:$D6AE PRG:16AE A5 64 cmp #$02 ; CPU:$D6B0 PRG:16B0 C9 02 - bne Label_D6BE ; CPU:$D6B2 PRG:16B2 D0 0A + bne SubCD696_Block_D6BE ; CPU:$D6B2 PRG:16B2 D0 0A lda Zp72 ; CPU:$D6B4 PRG:16B4 A5 72 and #$08 ; CPU:$D6B6 PRG:16B6 29 08 - beq Label_D6BE ; CPU:$D6B8 PRG:16B8 F0 04 + beq SubCD696_Block_D6BE ; CPU:$D6B8 PRG:16B8 F0 04 jsr $D6F5 ; CPU:$D6BA PRG:16BA 20 F5 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D6BD +; Routine: SubCD696_Block_D6BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4807,10 +4808,10 @@ Label_D6AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6BD: +SubCD696_Block_D6BD: rts ; CPU:$D6BD PRG:16BD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6BE +; Routine: SubCD696_Block_D6BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4818,16 +4819,16 @@ Label_D6BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6BE: +SubCD696_Block_D6BE: lda ZpE1 ; CPU:$D6BE PRG:16BE A5 E1 - bne Label_D6CD ; CPU:$D6C0 PRG:16C0 D0 0B + bne SubCD696_Block_D6CD ; CPU:$D6C0 PRG:16C0 D0 0B lda Zp7D ; CPU:$D6C2 PRG:16C2 A5 7D and #$20 ; CPU:$D6C4 PRG:16C4 29 20 - beq Label_D6CD ; CPU:$D6C6 PRG:16C6 F0 05 + beq SubCD696_Block_D6CD ; CPU:$D6C6 PRG:16C6 F0 05 jsr $D83F ; CPU:$D6C8 PRG:16C8 20 3F D8 - bne Label_D6BD ; CPU:$D6CB PRG:16CB D0 F0 + bne SubCD696_Block_D6BD ; CPU:$D6CB PRG:16CB D0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_D6CD +; Routine: SubCD696_Block_D6CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4835,13 +4836,13 @@ Label_D6BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CD: +SubCD696_Block_D6CD: lda Zp7D ; CPU:$D6CD PRG:16CD A5 7D and #$10 ; CPU:$D6CF PRG:16CF 29 10 - beq Label_D6D6 ; CPU:$D6D1 PRG:16D1 F0 03 + beq SubCD696_Block_D6D6 ; CPU:$D6D1 PRG:16D1 F0 03 jsr $DA07 ; CPU:$D6D3 PRG:16D3 20 07 DA ; ----------------------------------------------------------------------------- -; Routine: Label_D6D6 +; Routine: SubCD696_Block_D6D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4849,12 +4850,12 @@ Label_D6CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6D6: +SubCD696_Block_D6D6: lda ZpE1 ; CPU:$D6D6 PRG:16D6 A5 E1 - beq Label_D6DD ; CPU:$D6D8 PRG:16D8 F0 03 + beq SubCD696_Block_D6DD ; CPU:$D6D8 PRG:16D8 F0 03 jmp $D807 ; CPU:$D6DA PRG:16DA 4C 07 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D6DD +; Routine: SubCD696_Block_D6DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4862,14 +4863,14 @@ Label_D6D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6DD: +SubCD696_Block_D6DD: lda Zp7D ; CPU:$D6DD PRG:16DD A5 7D and #$40 ; CPU:$D6DF PRG:16DF 29 40 - beq Label_D6E8 ; CPU:$D6E1 PRG:16E1 F0 05 + beq SubCD696_Block_D6E8 ; CPU:$D6E1 PRG:16E1 F0 05 jsr $D8C2 ; CPU:$D6E3 PRG:16E3 20 C2 D8 - bne Label_D6F4 ; CPU:$D6E6 PRG:16E6 D0 0C + bne SubCD696_Block_D6F4 ; CPU:$D6E6 PRG:16E6 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D6E8 +; Routine: SubCD696_Block_D6E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4877,14 +4878,14 @@ Label_D6DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6E8: +SubCD696_Block_D6E8: lda Zp7D ; CPU:$D6E8 PRG:16E8 A5 7D and #$50 ; CPU:$D6EA PRG:16EA 29 50 - bne Label_D6F4 ; CPU:$D6EC PRG:16EC D0 06 + bne SubCD696_Block_D6F4 ; CPU:$D6EC PRG:16EC D0 06 jsr $E8B9 ; CPU:$D6EE PRG:16EE 20 B9 E8 jsr $D757 ; CPU:$D6F1 PRG:16F1 20 57 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F4 +; Routine: SubCD696_Block_D6F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4892,10 +4893,10 @@ Label_D6E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F4: +SubCD696_Block_D6F4: rts ; CPU:$D6F4 PRG:16F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F5 +; Routine: SubCD6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4903,17 +4904,17 @@ Label_D6F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F5: +SubCD6F5: ldx Zp83 ; CPU:$D6F5 PRG:16F5 A6 83 lda Zp8E ; CPU:$D6F7 PRG:16F7 A5 8E - bne Label_D72F ; CPU:$D6F9 PRG:16F9 D0 34 + bne SubCD6F5_Block_D72F ; CPU:$D6F9 PRG:16F9 D0 34 cpx #$40 ; CPU:$D6FB PRG:16FB E0 40 - bcc Label_D706 ; CPU:$D6FD PRG:16FD 90 07 + bcc SubCD6F5_Block_D706 ; CPU:$D6FD PRG:16FD 90 07 dec Zp83 ; CPU:$D6FF PRG:16FF C6 83 dec Zp83 ; CPU:$D701 PRG:1701 C6 83 jmp $D73C ; CPU:$D703 PRG:1703 4C 3C D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D706 +; Routine: SubCD6F5_Block_D706 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4921,14 +4922,14 @@ Label_D6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D706: +SubCD6F5_Block_D706: lda #$01 ; CPU:$D706 PRG:1706 A9 01 sta Zp8E ; CPU:$D708 PRG:1708 85 8E lda $0298 ; CPU:$D70A PRG:170A AD 98 02 clc ; CPU:$D70D PRG:170D 18 adc #$0E ; CPU:$D70E PRG:170E 69 0E cmp Zp83 ; CPU:$D710 PRG:1710 C5 83 - bcc Label_D72E ; CPU:$D712 PRG:1712 90 1A + bcc SubCD6F5_Block_D72E ; CPU:$D712 PRG:1712 90 1A lda #$02 ; CPU:$D714 PRG:1714 A9 02 sta Zp8E ; CPU:$D716 PRG:1716 85 8E lda #$30 ; CPU:$D718 PRG:1718 A9 30 @@ -4937,10 +4938,10 @@ Label_D706: sta Zp06 ; CPU:$D71E PRG:171E 85 06 ldx #$08 ; CPU:$D720 PRG:1720 A2 08 lda ZpE0 ; CPU:$D722 PRG:1722 A5 E0 - beq Label_D727 ; CPU:$D724 PRG:1724 F0 01 + beq SubCD6F5_Block_D727 ; CPU:$D724 PRG:1724 F0 01 inx ; CPU:$D726 PRG:1726 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D727 +; Routine: SubCD6F5_Block_D727 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4948,12 +4949,12 @@ Label_D706: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D727: +SubCD6F5_Block_D727: jsr $CE70 ; CPU:$D727 PRG:1727 20 70 CE lda #$10 ; CPU:$D72A PRG:172A A9 10 sta ZpFB ; CPU:$D72C PRG:172C 85 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D72E +; Routine: SubCD6F5_Block_D72E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4961,10 +4962,10 @@ Label_D727: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D72E: +SubCD6F5_Block_D72E: rts ; CPU:$D72E PRG:172E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D72F +; Routine: SubCD6F5_Block_D72F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4972,16 +4973,16 @@ Label_D72E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D72F: +SubCD6F5_Block_D72F: lda Zp8E ; CPU:$D72F PRG:172F A5 8E and #$01 ; CPU:$D731 PRG:1731 29 01 tay ; CPU:$D733 PRG:1733 A8 txa ; CPU:$D734 PRG:1734 8A cmp $C50D,y ; CPU:$D735 PRG:1735 D9 0D C5 - bcs Label_D744 ; CPU:$D738 PRG:1738 B0 0A + bcs SubCD73C_Block_D744 ; CPU:$D738 PRG:1738 B0 0A inc Zp83 ; CPU:$D73A PRG:173A E6 83 ; ----------------------------------------------------------------------------- -; Routine: Label_D73C +; Routine: SubCD73C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4989,12 +4990,12 @@ Label_D72F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D73C: +SubCD73C: lda #$1F ; CPU:$D73C PRG:173C A9 1F jsr $E8AE ; CPU:$D73E PRG:173E 20 AE E8 jmp $E8A1 ; CPU:$D741 PRG:1741 4C A1 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D744 +; Routine: SubCD73C_Block_D744 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5002,7 +5003,7 @@ Label_D73C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D744: +SubCD73C_Block_D744: lda Zp72 ; CPU:$D744 PRG:1744 A5 72 and #$F7 ; CPU:$D746 PRG:1746 29 F7 sta Zp72 ; CPU:$D748 PRG:1748 85 72 @@ -5013,7 +5014,7 @@ Label_D744: sta Zp8E ; CPU:$D752 PRG:1752 85 8E jmp $E79D ; CPU:$D754 PRG:1754 4C 9D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D757 +; Routine: SubCD757 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5021,10 +5022,10 @@ Label_D744: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D757: +SubCD757: lda Zp7A ; CPU:$D757 PRG:1757 A5 7A and #$03 ; CPU:$D759 PRG:1759 29 03 - beq Label_D72E ; CPU:$D75B PRG:175B F0 D1 + beq SubCD6F5_Block_D72E ; CPU:$D75B PRG:175B F0 D1 lda ZpFF ; CPU:$D75D PRG:175D A5 FF ora #$80 ; CPU:$D75F PRG:175F 09 80 sta ZpFF ; CPU:$D761 PRG:1761 85 FF @@ -5034,10 +5035,10 @@ Label_D757: sta Zp02 ; CPU:$D769 PRG:1769 85 02 lda Zp7E ; CPU:$D76B PRG:176B A5 7E jsr $E8DE ; CPU:$D76D PRG:176D 20 DE E8 - bne Label_D775 ; CPU:$D770 PRG:1770 D0 03 + bne SubCD757_Block_D775 ; CPU:$D770 PRG:1770 D0 03 jmp $D7FA ; CPU:$D772 PRG:1772 4C FA D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D775 +; Routine: SubCD757_Block_D775 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5045,21 +5046,21 @@ Label_D757: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D775: +SubCD757_Block_D775: lda #$01 ; CPU:$D775 PRG:1775 A9 01 sta Zp0A ; CPU:$D777 PRG:1777 85 0A lda Zp7E ; CPU:$D779 PRG:1779 A5 7E cmp #$06 ; CPU:$D77B PRG:177B C9 06 - beq Label_D78E ; CPU:$D77D PRG:177D F0 0F + beq SubCD757_Block_D78E ; CPU:$D77D PRG:177D F0 0F cmp #$0A ; CPU:$D77F PRG:177F C9 0A - beq Label_D78E ; CPU:$D781 PRG:1781 F0 0B + beq SubCD757_Block_D78E ; CPU:$D781 PRG:1781 F0 0B cmp #$01 ; CPU:$D783 PRG:1783 C9 01 - beq Label_D78E ; CPU:$D785 PRG:1785 F0 07 + beq SubCD757_Block_D78E ; CPU:$D785 PRG:1785 F0 07 lda Zp84 ; CPU:$D787 PRG:1787 A5 84 sta Zp02 ; CPU:$D789 PRG:1789 85 02 jmp $D7B8 ; CPU:$D78B PRG:178B 4C B8 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D78E +; Routine: SubCD757_Block_D78E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5067,14 +5068,14 @@ Label_D775: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D78E: +SubCD757_Block_D78E: lda Zp84 ; CPU:$D78E PRG:178E A5 84 cmp #$0C ; CPU:$D790 PRG:1790 C9 0C - bne Label_D799 ; CPU:$D792 PRG:1792 D0 05 + bne SubCD757_Block_D799 ; CPU:$D792 PRG:1792 D0 05 lda #$FA ; CPU:$D794 PRG:1794 A9 FA jmp $D79F ; CPU:$D796 PRG:1796 4C 9F D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D799 +; Routine: SubCD757_Block_D799 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5082,12 +5083,12 @@ Label_D78E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D799: +SubCD757_Block_D799: cmp #$00 ; CPU:$D799 PRG:1799 C9 00 - bne Label_D7A1 ; CPU:$D79B PRG:179B D0 04 + bne SubCD79F_Block_D7A1 ; CPU:$D79B PRG:179B D0 04 lda #$06 ; CPU:$D79D PRG:179D A9 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D79F +; Routine: SubCD79F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5095,10 +5096,10 @@ Label_D799: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D79F: +SubCD79F: sta Zp8D ; CPU:$D79F PRG:179F 85 8D ; ----------------------------------------------------------------------------- -; Routine: Label_D7A1 +; Routine: SubCD79F_Block_D7A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5106,21 +5107,21 @@ Label_D79F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A1: +SubCD79F_Block_D7A1: lda Zp84 ; CPU:$D7A1 PRG:17A1 A5 84 clc ; CPU:$D7A3 PRG:17A3 18 adc Zp8D ; CPU:$D7A4 PRG:17A4 65 8D sta Zp02 ; CPU:$D7A6 PRG:17A6 85 02 sta Zp84 ; CPU:$D7A8 PRG:17A8 85 84 lda ZpE0 ; CPU:$D7AA PRG:17AA A5 E0 - beq Label_D7B8 ; CPU:$D7AC PRG:17AC F0 0A + beq SubCD7B8 ; CPU:$D7AC PRG:17AC F0 0A lda Zp43 ; CPU:$D7AE PRG:17AE A5 43 and #$01 ; CPU:$D7B0 PRG:17B0 29 01 - bne Label_D7B8 ; CPU:$D7B2 PRG:17B2 D0 04 + bne SubCD7B8 ; CPU:$D7B2 PRG:17B2 D0 04 lda #$02 ; CPU:$D7B4 PRG:17B4 A9 02 sta Zp0A ; CPU:$D7B6 PRG:17B6 85 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D7B8 +; Routine: SubCD7B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5128,17 +5129,17 @@ Label_D7A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7B8: +SubCD7B8: lda Zp7D ; CPU:$D7B8 PRG:17B8 A5 7D cmp #$82 ; CPU:$D7BA PRG:17BA C9 82 - bne Label_D7C8 ; CPU:$D7BC PRG:17BC D0 0A + bne SubCD7B8_Block_D7C8 ; CPU:$D7BC PRG:17BC D0 0A lda Zp7A ; CPU:$D7BE PRG:17BE A5 7A and #$01 ; CPU:$D7C0 PRG:17C0 29 01 tax ; CPU:$D7C2 PRG:17C2 AA - bne Label_D7E6 ; CPU:$D7C3 PRG:17C3 D0 21 + bne SubCD7B8_Block_D7E6 ; CPU:$D7C3 PRG:17C3 D0 21 jmp $D7ED ; CPU:$D7C5 PRG:17C5 4C ED D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C8 +; Routine: SubCD7B8_Block_D7C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5146,16 +5147,16 @@ Label_D7B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C8: +SubCD7B8_Block_D7C8: cmp #$81 ; CPU:$D7C8 PRG:17C8 C9 81 - bne Label_D7D6 ; CPU:$D7CA PRG:17CA D0 0A + bne SubCD7B8_Block_D7D6 ; CPU:$D7CA PRG:17CA D0 0A lda Zp7A ; CPU:$D7CC PRG:17CC A5 7A and #$01 ; CPU:$D7CE PRG:17CE 29 01 tax ; CPU:$D7D0 PRG:17D0 AA - beq Label_D7DC ; CPU:$D7D1 PRG:17D1 F0 09 + beq SubCD7B8_Block_D7DC ; CPU:$D7D1 PRG:17D1 F0 09 jmp $D7ED ; CPU:$D7D3 PRG:17D3 4C ED D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D7D6 +; Routine: SubCD7B8_Block_D7D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5163,12 +5164,12 @@ Label_D7C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7D6: +SubCD7B8_Block_D7D6: lda Zp7A ; CPU:$D7D6 PRG:17D6 A5 7A and #$02 ; CPU:$D7D8 PRG:17D8 29 02 - beq Label_D7E6 ; CPU:$D7DA PRG:17DA F0 0A + beq SubCD7B8_Block_D7E6 ; CPU:$D7DA PRG:17DA F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D7DC +; Routine: SubCD7B8_Block_D7DC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5176,14 +5177,14 @@ Label_D7D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DC: +SubCD7B8_Block_D7DC: dec Zp0A ; CPU:$D7DC PRG:17DC C6 0A lda Zp0A ; CPU:$D7DE PRG:17DE A5 0A eor #$FF ; CPU:$D7E0 PRG:17E0 49 FF sta Zp0A ; CPU:$D7E2 PRG:17E2 85 0A ldx #$00 ; CPU:$D7E4 PRG:17E4 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D7E6 +; Routine: SubCD7B8_Block_D7E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5191,13 +5192,13 @@ Label_D7DC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7E6: +SubCD7B8_Block_D7E6: lda Zp82 ; CPU:$D7E6 PRG:17E6 A5 82 clc ; CPU:$D7E8 PRG:17E8 18 adc Zp0A ; CPU:$D7E9 PRG:17E9 65 0A sta Zp82 ; CPU:$D7EB PRG:17EB 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D7ED +; Routine: SubCD7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5205,7 +5206,7 @@ Label_D7E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7ED: +SubCD7ED: jsr $E8B0 ; CPU:$D7ED PRG:17ED 20 B0 E8 txa ; CPU:$D7F0 PRG:17F0 8A jsr $E8F0 ; CPU:$D7F1 PRG:17F1 20 F0 E8 @@ -5213,7 +5214,7 @@ Label_D7ED: and #$7F ; CPU:$D7F6 PRG:17F6 29 7F sta Zp7D ; CPU:$D7F8 PRG:17F8 85 7D ; ----------------------------------------------------------------------------- -; Routine: Label_D7FA +; Routine: SubCD7FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5221,14 +5222,14 @@ Label_D7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FA: +SubCD7FA: lda Zp7E ; CPU:$D7FA PRG:17FA A5 7E cmp #$10 ; CPU:$D7FC PRG:17FC C9 10 - bmi Label_D804 ; CPU:$D7FE PRG:17FE 30 04 + bmi SubCD7FA_Block_D804 ; CPU:$D7FE PRG:17FE 30 04 lda #$00 ; CPU:$D800 PRG:1800 A9 00 sta Zp7E ; CPU:$D802 PRG:1802 85 7E ; ----------------------------------------------------------------------------- -; Routine: Label_D804 +; Routine: SubCD7FA_Block_D804 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5236,11 +5237,11 @@ Label_D7FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D804: +SubCD7FA_Block_D804: inc Zp7E ; CPU:$D804 PRG:1804 E6 7E rts ; CPU:$D806 PRG:1806 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D807 +; Routine: SubCD807 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5248,7 +5249,7 @@ Label_D804: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D807: +SubCD807: lda #$12 ; CPU:$D807 PRG:1807 A9 12 jsr $E8AE ; CPU:$D809 PRG:1809 20 AE E8 lda Zp7D ; CPU:$D80C PRG:180C A5 7D @@ -5265,12 +5266,12 @@ Label_D807: pla ; CPU:$D823 PRG:1823 68 jsr $E8F0 ; CPU:$D824 PRG:1824 20 F0 E8 lda Zp80 ; CPU:$D827 PRG:1827 A5 80 - bne Label_D831 ; CPU:$D829 PRG:1829 D0 06 + bne SubCD807_Block_D831 ; CPU:$D829 PRG:1829 D0 06 lda #$10 ; CPU:$D82B PRG:182B A9 10 ora ZpFF ; CPU:$D82D PRG:182D 05 FF sta ZpFF ; CPU:$D82F PRG:182F 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_D831 +; Routine: SubCD807_Block_D831 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5278,14 +5279,14 @@ Label_D807: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D831: +SubCD807_Block_D831: cmp #$0F ; CPU:$D831 PRG:1831 C9 0F - bne Label_D83C ; CPU:$D833 PRG:1833 D0 07 + bne SubCD807_Block_D83C ; CPU:$D833 PRG:1833 D0 07 lda #$00 ; CPU:$D835 PRG:1835 A9 00 sta ZpE1 ; CPU:$D837 PRG:1837 85 E1 jmp $E7A1 ; CPU:$D839 PRG:1839 4C A1 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D83C +; Routine: SubCD807_Block_D83C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5293,11 +5294,11 @@ Label_D831: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D83C: +SubCD807_Block_D83C: inc Zp80 ; CPU:$D83C PRG:183C E6 80 rts ; CPU:$D83E PRG:183E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D83F +; Routine: SubCD83F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5305,18 +5306,18 @@ Label_D83C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D83F: +SubCD83F: lda Zp7F ; CPU:$D83F PRG:183F A5 7F - bne Label_D863 ; CPU:$D841 PRG:1841 D0 20 + bne SubCD858_Block_D863 ; CPU:$D841 PRG:1841 D0 20 lda Zp7D ; CPU:$D843 PRG:1843 A5 7D and #$08 ; CPU:$D845 PRG:1845 29 08 - bne Label_D852 ; CPU:$D847 PRG:1847 D0 09 + bne SubCD83F_Block_D852 ; CPU:$D847 PRG:1847 D0 09 ldy #$02 ; CPU:$D849 PRG:1849 A0 02 lda Zp7A ; CPU:$D84B PRG:184B A5 7A and #$04 ; CPU:$D84D PRG:184D 29 04 jmp $D858 ; CPU:$D84F PRG:184F 4C 58 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D852 +; Routine: SubCD83F_Block_D852 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5324,12 +5325,12 @@ Label_D83F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D852: +SubCD83F_Block_D852: ldy #$FE ; CPU:$D852 PRG:1852 A0 FE lda Zp7A ; CPU:$D854 PRG:1854 A5 7A and #$08 ; CPU:$D856 PRG:1856 29 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D858 +; Routine: SubCD858 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5337,11 +5338,11 @@ Label_D852: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D858: - bne Label_D85D ; CPU:$D858 PRG:1858 D0 03 +SubCD858: + bne SubCD858_Block_D85D ; CPU:$D858 PRG:1858 D0 03 jmp $D8B9 ; CPU:$D85A PRG:185A 4C B9 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D85D +; Routine: SubCD858_Block_D85D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5349,12 +5350,12 @@ Label_D858: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D85D: +SubCD858_Block_D85D: sty Zp81 ; CPU:$D85D PRG:185D 84 81 lda #$00 ; CPU:$D85F PRG:185F A9 00 sta Zp84 ; CPU:$D861 PRG:1861 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D863 +; Routine: SubCD858_Block_D863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5362,13 +5363,13 @@ Label_D85D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D863: +SubCD858_Block_D863: lda #$40 ; CPU:$D863 PRG:1863 A9 40 ora ZpFF ; CPU:$D865 PRG:1865 05 FF sta ZpFF ; CPU:$D867 PRG:1867 85 FF lda Zp7F ; CPU:$D869 PRG:1869 A5 7F cmp #$01 ; CPU:$D86B PRG:186B C9 01 - bne Label_D883 ; CPU:$D86D PRG:186D D0 14 + bne SubCD858_Block_D883 ; CPU:$D86D PRG:186D D0 14 ldx Zp64 ; CPU:$D86F PRG:186F A6 64 lda $C29F,x ; CPU:$D871 PRG:1871 BD 9F C2 sta Zp00 ; CPU:$D874 PRG:1874 85 00 @@ -5379,7 +5380,7 @@ Label_D863: lda (Zp00),y ; CPU:$D87F PRG:187F B1 00 sta Zp82 ; CPU:$D881 PRG:1881 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D883 +; Routine: SubCD858_Block_D883 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5387,21 +5388,21 @@ Label_D863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D883: +SubCD858_Block_D883: lda #$70 ; CPU:$D883 PRG:1883 A9 70 sta Zp01 ; CPU:$D885 PRG:1885 85 01 sta Zp02 ; CPU:$D887 PRG:1887 85 02 lda Zp7F ; CPU:$D889 PRG:1889 A5 7F jsr $E8DE ; CPU:$D88B PRG:188B 20 DE E8 - beq Label_D8B3 ; CPU:$D88E PRG:188E F0 23 + beq SubCD858_Block_D8B3 ; CPU:$D88E PRG:188E F0 23 lda Zp7F ; CPU:$D890 PRG:1890 A5 7F and #$04 ; CPU:$D892 PRG:1892 29 04 - beq Label_D89C ; CPU:$D894 PRG:1894 F0 06 + beq SubCD858_Block_D89C ; CPU:$D894 PRG:1894 F0 06 lda Zp84 ; CPU:$D896 PRG:1896 A5 84 eor #$01 ; CPU:$D898 PRG:1898 49 01 sta Zp84 ; CPU:$D89A PRG:189A 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D89C +; Routine: SubCD858_Block_D89C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5409,7 +5410,7 @@ Label_D883: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D89C: +SubCD858_Block_D89C: lda Zp81 ; CPU:$D89C PRG:189C A5 81 clc ; CPU:$D89E PRG:189E 18 adc Zp83 ; CPU:$D89F PRG:189F 65 83 @@ -5420,9 +5421,9 @@ Label_D89C: jsr $E8F0 ; CPU:$D8AA PRG:18AA 20 F0 E8 lda Zp7F ; CPU:$D8AD PRG:18AD A5 7F cmp #$29 ; CPU:$D8AF PRG:18AF C9 29 - bpl Label_D8B6 ; CPU:$D8B1 PRG:18B1 10 03 + bpl SubCD858_Block_D8B6 ; CPU:$D8B1 PRG:18B1 10 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B3 +; Routine: SubCD858_Block_D8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5430,11 +5431,11 @@ Label_D89C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B3: +SubCD858_Block_D8B3: inc Zp7F ; CPU:$D8B3 PRG:18B3 E6 7F rts ; CPU:$D8B5 PRG:18B5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B6 +; Routine: SubCD858_Block_D8B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5442,10 +5443,10 @@ Label_D8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B6: +SubCD858_Block_D8B6: jsr $E79D ; CPU:$D8B6 PRG:18B6 20 9D E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B9 +; Routine: SubCD8B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5453,14 +5454,14 @@ Label_D8B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B9: +SubCD8B9: lda Zp7D ; CPU:$D8B9 PRG:18B9 A5 7D and #$D3 ; CPU:$D8BB PRG:18BB 29 D3 sta Zp7D ; CPU:$D8BD PRG:18BD 85 7D lda #$00 ; CPU:$D8BF PRG:18BF A9 00 rts ; CPU:$D8C1 PRG:18C1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8C2 +; Routine: SubCD8C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5468,17 +5469,17 @@ Label_D8B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8C2: +SubCD8C2: ldx Zp7F ; CPU:$D8C2 PRG:18C2 A6 7F - beq Label_D8D3 ; CPU:$D8C4 PRG:18C4 F0 0D + beq SubCD8C2_Block_D8D3 ; CPU:$D8C4 PRG:18C4 F0 0D lda #$FF ; CPU:$D8C6 PRG:18C6 A9 FF sta Zp88 ; CPU:$D8C8 PRG:18C8 85 88 lda Zp81 ; CPU:$D8CA PRG:18CA A5 81 cmp #$80 ; CPU:$D8CC PRG:18CC C9 80 - beq Label_D91E ; CPU:$D8CE PRG:18CE F0 4E + beq SubCD8F5_Block_D91E ; CPU:$D8CE PRG:18CE F0 4E jmp $D8E8 ; CPU:$D8D0 PRG:18D0 4C E8 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D8D3 +; Routine: SubCD8C2_Block_D8D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5486,18 +5487,18 @@ Label_D8C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8D3: +SubCD8C2_Block_D8D3: lda Zp7A ; CPU:$D8D3 PRG:18D3 A5 7A and #$08 ; CPU:$D8D5 PRG:18D5 29 08 - bne Label_D915 ; CPU:$D8D7 PRG:18D7 D0 3C + bne SubCD8F5_Block_D915 ; CPU:$D8D7 PRG:18D7 D0 3C lda Zp7A ; CPU:$D8D9 PRG:18D9 A5 7A and #$04 ; CPU:$D8DB PRG:18DB 29 04 - beq Label_D8E5 ; CPU:$D8DD PRG:18DD F0 06 + beq SubCD8C2_Block_D8E5 ; CPU:$D8DD PRG:18DD F0 06 lda Zp7D ; CPU:$D8DF PRG:18DF A5 7D and #$04 ; CPU:$D8E1 PRG:18E1 29 04 - bne Label_D8E8 ; CPU:$D8E3 PRG:18E3 D0 03 + bne SubCD8E8 ; CPU:$D8E3 PRG:18E3 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E5 +; Routine: SubCD8C2_Block_D8E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5505,10 +5506,10 @@ Label_D8D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E5: +SubCD8C2_Block_D8E5: jmp $D9DF ; CPU:$D8E5 PRG:18E5 4C DF D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E8 +; Routine: SubCD8E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5516,15 +5517,15 @@ Label_D8E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E8: +SubCD8E8: lda $C0CD,x ; CPU:$D8E8 PRG:18E8 BD CD C0 sta Zp0B ; CPU:$D8EB PRG:18EB 85 0B cmp #$EE ; CPU:$D8ED PRG:18ED C9 EE - beq Label_D908 ; CPU:$D8EF PRG:18EF F0 17 + beq SubCD8F5_Block_D908 ; CPU:$D8EF PRG:18EF F0 17 cmp #$DD ; CPU:$D8F1 PRG:18F1 C9 DD - beq Label_D8FD ; CPU:$D8F3 PRG:18F3 F0 08 + beq SubCD8F5_Block_D8FD ; CPU:$D8F3 PRG:18F3 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D8F5 +; Routine: SubCD8F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5532,12 +5533,12 @@ Label_D8E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8F5: +SubCD8F5: ldy #$40 ; CPU:$D8F5 PRG:18F5 A0 40 lda $C0E4,x ; CPU:$D8F7 PRG:18F7 BD E4 C0 jmp $D93E ; CPU:$D8FA PRG:18FA 4C 3E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8FD +; Routine: SubCD8F5_Block_D8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5545,14 +5546,14 @@ Label_D8F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FD: +SubCD8F5_Block_D8FD: lda #$00 ; CPU:$D8FD PRG:18FD A9 00 sta Zp0B ; CPU:$D8FF PRG:18FF 85 0B lda ZpE0 ; CPU:$D901 PRG:1901 A5 E0 - bne Label_D908 ; CPU:$D903 PRG:1903 D0 03 + bne SubCD8F5_Block_D908 ; CPU:$D903 PRG:1903 D0 03 jmp $D8F5 ; CPU:$D905 PRG:1905 4C F5 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D908 +; Routine: SubCD8F5_Block_D908 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5560,7 +5561,7 @@ Label_D8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D908: +SubCD8F5_Block_D908: lda #$40 ; CPU:$D908 PRG:1908 A9 40 sta ZpFF ; CPU:$D90A PRG:190A 85 FF lda Zp7D ; CPU:$D90C PRG:190C A5 7D @@ -5568,7 +5569,7 @@ Label_D908: sta Zp7D ; CPU:$D910 PRG:1910 85 7D jmp $D9DF ; CPU:$D912 PRG:1912 4C DF D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D915 +; Routine: SubCD8F5_Block_D915 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5576,13 +5577,13 @@ Label_D908: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D915: +SubCD8F5_Block_D915: lda Zp7D ; CPU:$D915 PRG:1915 A5 7D and #$08 ; CPU:$D917 PRG:1917 29 08 - bne Label_D91E ; CPU:$D919 PRG:1919 D0 03 + bne SubCD8F5_Block_D91E ; CPU:$D919 PRG:1919 D0 03 jmp $D9DF ; CPU:$D91B PRG:191B 4C DF D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D91E +; Routine: SubCD8F5_Block_D91E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5590,15 +5591,15 @@ Label_D915: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D91E: +SubCD8F5_Block_D91E: lda $C0CD,x ; CPU:$D91E PRG:191E BD CD C0 sta Zp0B ; CPU:$D921 PRG:1921 85 0B cmp #$EE ; CPU:$D923 PRG:1923 C9 EE - beq Label_D908 ; CPU:$D925 PRG:1925 F0 E1 + beq SubCD8F5_Block_D908 ; CPU:$D925 PRG:1925 F0 E1 cmp #$DD ; CPU:$D927 PRG:1927 C9 DD - beq Label_D933 ; CPU:$D929 PRG:1929 F0 08 + beq SubCD92B_Block_D933 ; CPU:$D929 PRG:1929 F0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D92B +; Routine: SubCD92B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5606,12 +5607,12 @@ Label_D91E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D92B: +SubCD92B: ldy #$80 ; CPU:$D92B PRG:192B A0 80 lda $C0D9,x ; CPU:$D92D PRG:192D BD D9 C0 jmp $D93E ; CPU:$D930 PRG:1930 4C 3E D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D933 +; Routine: SubCD92B_Block_D933 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5619,14 +5620,14 @@ Label_D92B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D933: +SubCD92B_Block_D933: lda #$00 ; CPU:$D933 PRG:1933 A9 00 sta Zp0B ; CPU:$D935 PRG:1935 85 0B lda ZpE0 ; CPU:$D937 PRG:1937 A5 E0 - bne Label_D908 ; CPU:$D939 PRG:1939 D0 CD + bne SubCD8F5_Block_D908 ; CPU:$D939 PRG:1939 D0 CD jmp $D92B ; CPU:$D93B PRG:193B 4C 2B D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D93E +; Routine: SubCD93E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5634,7 +5635,7 @@ Label_D933: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D93E: +SubCD93E: clc ; CPU:$D93E PRG:193E 18 adc Zp83 ; CPU:$D93F PRG:193F 65 83 sta Zp83 ; CPU:$D941 PRG:1941 85 83 @@ -5642,17 +5643,17 @@ Label_D93E: sta Zp81 ; CPU:$D944 PRG:1944 85 81 lda Zp88 ; CPU:$D946 PRG:1946 A5 88 cmp #$FF ; CPU:$D948 PRG:1948 C9 FF - beq Label_D971 ; CPU:$D94A PRG:194A F0 25 + beq SubCD967_Block_D971 ; CPU:$D94A PRG:194A F0 25 ldx Zp64 ; CPU:$D94C PRG:194C A6 64 lda Zp81 ; CPU:$D94E PRG:194E A5 81 cmp #$80 ; CPU:$D950 PRG:1950 C9 80 - beq Label_D95F ; CPU:$D952 PRG:1952 F0 0B + beq SubCD93E_Block_D95F ; CPU:$D952 PRG:1952 F0 0B lda $C293,x ; CPU:$D954 PRG:1954 BD 93 C2 sta Zp00 ; CPU:$D957 PRG:1957 85 00 lda $C294,x ; CPU:$D959 PRG:1959 BD 94 C2 jmp $D967 ; CPU:$D95C PRG:195C 4C 67 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D95F +; Routine: SubCD93E_Block_D95F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5660,12 +5661,12 @@ Label_D93E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D95F: +SubCD93E_Block_D95F: lda $C299,x ; CPU:$D95F PRG:195F BD 99 C2 sta Zp00 ; CPU:$D962 PRG:1962 85 00 lda $C29A,x ; CPU:$D964 PRG:1964 BD 9A C2 ; ----------------------------------------------------------------------------- -; Routine: Label_D967 +; Routine: SubCD967 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5673,14 +5674,14 @@ Label_D95F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D967: +SubCD967: sta Zp01 ; CPU:$D967 PRG:1967 85 01 dec Zp8F ; CPU:$D969 PRG:1969 C6 8F ldy Zp8F ; CPU:$D96B PRG:196B A4 8F lda (Zp00),y ; CPU:$D96D PRG:196D B1 00 sta Zp82 ; CPU:$D96F PRG:196F 85 82 ; ----------------------------------------------------------------------------- -; Routine: Label_D971 +; Routine: SubCD967_Block_D971 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5688,20 +5689,20 @@ Label_D967: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D971: +SubCD967_Block_D971: lda #$F0 ; CPU:$D971 PRG:1971 A9 F0 sta Zp01 ; CPU:$D973 PRG:1973 85 01 sta Zp02 ; CPU:$D975 PRG:1975 85 02 lda Zp7F ; CPU:$D977 PRG:1977 A5 7F jsr $E8DE ; CPU:$D979 PRG:1979 20 DE E8 - beq Label_D98E ; CPU:$D97C PRG:197C F0 10 + beq SubCD967_Block_D98E ; CPU:$D97C PRG:197C F0 10 lda Zp81 ; CPU:$D97E PRG:197E A5 81 cmp #$80 ; CPU:$D980 PRG:1980 C9 80 - bne Label_D989 ; CPU:$D982 PRG:1982 D0 05 + bne SubCD967_Block_D989 ; CPU:$D982 PRG:1982 D0 05 ldx #$2B ; CPU:$D984 PRG:1984 A2 2B jmp $D998 ; CPU:$D986 PRG:1986 4C 98 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D989 +; Routine: SubCD967_Block_D989 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5709,11 +5710,11 @@ Label_D971: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D989: +SubCD967_Block_D989: ldx #$06 ; CPU:$D989 PRG:1989 A2 06 jmp $D998 ; CPU:$D98B PRG:198B 4C 98 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D98E +; Routine: SubCD967_Block_D98E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5721,14 +5722,14 @@ Label_D989: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D98E: +SubCD967_Block_D98E: ldx #$25 ; CPU:$D98E PRG:198E A2 25 lda Zp81 ; CPU:$D990 PRG:1990 A5 81 cmp #$80 ; CPU:$D992 PRG:1992 C9 80 - beq Label_D998 ; CPU:$D994 PRG:1994 F0 02 + beq SubCD998 ; CPU:$D994 PRG:1994 F0 02 ldx #$0C ; CPU:$D996 PRG:1996 A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D998 +; Routine: SubCD998 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5736,17 +5737,17 @@ Label_D98E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D998: +SubCD998: stx Zp02 ; CPU:$D998 PRG:1998 86 02 lda Zp81 ; CPU:$D99A PRG:199A A5 81 cmp #$80 ; CPU:$D99C PRG:199C C9 80 - beq Label_D9A9 ; CPU:$D99E PRG:199E F0 09 + beq SubCD998_Block_D9A9 ; CPU:$D99E PRG:199E F0 09 lda Zp8F ; CPU:$D9A0 PRG:19A0 A5 8F cmp #$03 ; CPU:$D9A2 PRG:19A2 C9 03 - bmi Label_D9C2 ; CPU:$D9A4 PRG:19A4 30 1C + bmi SubCD9AF_Block_D9C2 ; CPU:$D9A4 PRG:19A4 30 1C jmp $D9AF ; CPU:$D9A6 PRG:19A6 4C AF D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A9 +; Routine: SubCD998_Block_D9A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5754,12 +5755,12 @@ Label_D998: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A9: +SubCD998_Block_D9A9: lda Zp8F ; CPU:$D9A9 PRG:19A9 A5 8F cmp #$03 ; CPU:$D9AB PRG:19AB C9 03 - bpl Label_D9C2 ; CPU:$D9AD PRG:19AD 10 13 + bpl SubCD9AF_Block_D9C2 ; CPU:$D9AD PRG:19AD 10 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D9AF +; Routine: SubCD9AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5767,7 +5768,7 @@ Label_D9A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AF: +SubCD9AF: lda Zp7D ; CPU:$D9AF PRG:19AF A5 7D and #$FC ; CPU:$D9B1 PRG:19B1 29 FC ora #$02 ; CPU:$D9B3 PRG:19B3 09 02 @@ -5778,7 +5779,7 @@ Label_D9AF: ldx #$00 ; CPU:$D9BD PRG:19BD A2 00 jmp $D9CE ; CPU:$D9BF PRG:19BF 4C CE D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9C2 +; Routine: SubCD9AF_Block_D9C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5786,7 +5787,7 @@ Label_D9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9C2: +SubCD9AF_Block_D9C2: lda Zp7D ; CPU:$D9C2 PRG:19C2 A5 7D and #$FC ; CPU:$D9C4 PRG:19C4 29 FC ora #$01 ; CPU:$D9C6 PRG:19C6 09 01 @@ -5794,7 +5795,7 @@ Label_D9C2: lda Zp0B ; CPU:$D9CA PRG:19CA A5 0B ldx #$01 ; CPU:$D9CC PRG:19CC A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D9CE +; Routine: SubCD9CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5802,7 +5803,7 @@ Label_D9C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CE: +SubCD9CE: clc ; CPU:$D9CE PRG:19CE 18 adc Zp82 ; CPU:$D9CF PRG:19CF 65 82 sta Zp82 ; CPU:$D9D1 PRG:19D1 85 82 @@ -5813,7 +5814,7 @@ Label_D9CE: lda #$01 ; CPU:$D9DC PRG:19DC A9 01 rts ; CPU:$D9DE PRG:19DE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9DF +; Routine: SubCD9DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5821,20 +5822,20 @@ Label_D9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9DF: +SubCD9DF: ldx #$02 ; CPU:$D9DF PRG:19DF A2 02 jsr $CF45 ; CPU:$D9E1 PRG:19E1 20 45 CF jsr $EB29 ; CPU:$D9E4 PRG:19E4 20 29 EB - beq Label_DA00 ; CPU:$D9E7 PRG:19E7 F0 17 + beq SubCD9DF_Block_DA00 ; CPU:$D9E7 PRG:19E7 F0 17 lda #$00 ; CPU:$D9E9 PRG:19E9 A9 00 sta Zp88 ; CPU:$D9EB PRG:19EB 85 88 lda Zp81 ; CPU:$D9ED PRG:19ED A5 81 and #$C0 ; CPU:$D9EF PRG:19EF 29 C0 - beq Label_D9F7 ; CPU:$D9F1 PRG:19F1 F0 04 + beq SubCD9DF_Block_D9F7 ; CPU:$D9F1 PRG:19F1 F0 04 lda #$00 ; CPU:$D9F3 PRG:19F3 A9 00 sta Zp7F ; CPU:$D9F5 PRG:19F5 85 7F ; ----------------------------------------------------------------------------- -; Routine: Label_D9F7 +; Routine: SubCD9DF_Block_D9F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5842,14 +5843,14 @@ Label_D9DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F7: +SubCD9DF_Block_D9F7: lda Zp7D ; CPU:$D9F7 PRG:19F7 A5 7D and #$B3 ; CPU:$D9F9 PRG:19F9 29 B3 sta Zp7D ; CPU:$D9FB PRG:19FB 85 7D lda #$00 ; CPU:$D9FD PRG:19FD A9 00 rts ; CPU:$D9FF PRG:19FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA00 +; Routine: SubCD9DF_Block_DA00 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5857,13 +5858,13 @@ Label_D9F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA00: +SubCD9DF_Block_DA00: lda #$00 ; CPU:$DA00 PRG:1A00 A9 00 sta Zp7F ; CPU:$DA02 PRG:1A02 85 7F lda #$01 ; CPU:$DA04 PRG:1A04 A9 01 rts ; CPU:$DA06 PRG:1A06 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA07 +; Routine: SubCDA07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5871,14 +5872,14 @@ Label_DA00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA07: +SubCDA07: lda ZpB4 ; CPU:$DA07 PRG:1A07 A5 B4 - bne Label_DA11 ; CPU:$DA09 PRG:1A09 D0 06 + bne SubCDA07_Block_DA11 ; CPU:$DA09 PRG:1A09 D0 06 lda #$20 ; CPU:$DA0B PRG:1A0B A9 20 ora ZpFF ; CPU:$DA0D PRG:1A0D 05 FF sta ZpFF ; CPU:$DA0F PRG:1A0F 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DA11 +; Routine: SubCDA07_Block_DA11 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5886,14 +5887,14 @@ Label_DA07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA11: +SubCDA07_Block_DA11: ldx #$0C ; CPU:$DA11 PRG:1A11 A2 0C lda Zp43 ; CPU:$DA13 PRG:1A13 A5 43 and #$08 ; CPU:$DA15 PRG:1A15 29 08 - beq Label_DA1B ; CPU:$DA17 PRG:1A17 F0 02 + beq SubCDA07_Block_DA1B ; CPU:$DA17 PRG:1A17 F0 02 ldx #$06 ; CPU:$DA19 PRG:1A19 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DA1B +; Routine: SubCDA07_Block_DA1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5901,25 +5902,25 @@ Label_DA11: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA1B: +SubCDA07_Block_DA1B: stx Zp02 ; CPU:$DA1B PRG:1A1B 86 02 ldx Zp7F ; CPU:$DA1D PRG:1A1D A6 7F lda $C08C,x ; CPU:$DA1F PRG:1A1F BD 8C C0 sta Zp0B ; CPU:$DA22 PRG:1A22 85 0B cmp #$EE ; CPU:$DA24 PRG:1A24 C9 EE - beq Label_DA66 ; CPU:$DA26 PRG:1A26 F0 3E + beq SubCDA07_Block_DA66 ; CPU:$DA26 PRG:1A26 F0 3E lda $C0AD,x ; CPU:$DA28 PRG:1A28 BD AD C0 clc ; CPU:$DA2B PRG:1A2B 18 adc Zp83 ; CPU:$DA2C PRG:1A2C 65 83 sta Zp83 ; CPU:$DA2E PRG:1A2E 85 83 lda Zp91 ; CPU:$DA30 PRG:1A30 A5 91 and #$02 ; CPU:$DA32 PRG:1A32 29 02 - beq Label_DA3D ; CPU:$DA34 PRG:1A34 F0 07 + beq SubCDA07_Block_DA3D ; CPU:$DA34 PRG:1A34 F0 07 lda Zp0B ; CPU:$DA36 PRG:1A36 A5 0B jsr $E046 ; CPU:$DA38 PRG:1A38 20 46 E0 sta Zp0B ; CPU:$DA3B PRG:1A3B 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DA3D +; Routine: SubCDA07_Block_DA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5927,7 +5928,7 @@ Label_DA1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3D: +SubCDA07_Block_DA3D: lda Zp02 ; CPU:$DA3D PRG:1A3D A5 02 pha ; CPU:$DA3F PRG:1A3F 48 jsr $D4B3 ; CPU:$DA40 PRG:1A40 20 B3 D4 @@ -5935,12 +5936,12 @@ Label_DA3D: pla ; CPU:$DA44 PRG:1A44 68 sta Zp02 ; CPU:$DA45 PRG:1A45 85 02 txa ; CPU:$DA47 PRG:1A47 8A - beq Label_DA51 ; CPU:$DA48 PRG:1A48 F0 07 + beq SubCDA07_Block_DA51 ; CPU:$DA48 PRG:1A48 F0 07 lda #$53 ; CPU:$DA4A PRG:1A4A A9 53 sta Zp83 ; CPU:$DA4C PRG:1A4C 85 83 jmp $DA87 ; CPU:$DA4E PRG:1A4E 4C 87 DA ; ----------------------------------------------------------------------------- -; Routine: Label_DA51 +; Routine: SubCDA07_Block_DA51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5948,7 +5949,7 @@ Label_DA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA51: +SubCDA07_Block_DA51: lda Zp0B ; CPU:$DA51 PRG:1A51 A5 0B clc ; CPU:$DA53 PRG:1A53 18 adc Zp82 ; CPU:$DA54 PRG:1A54 65 82 @@ -5960,7 +5961,7 @@ Label_DA51: inc Zp7F ; CPU:$DA63 PRG:1A63 E6 7F rts ; CPU:$DA65 PRG:1A65 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA66 +; Routine: SubCDA07_Block_DA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5968,25 +5969,25 @@ Label_DA51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA66: +SubCDA07_Block_DA66: lda Zp02 ; CPU:$DA66 PRG:1A66 A5 02 sta Zp0C ; CPU:$DA68 PRG:1A68 85 0C jsr $DAA5 ; CPU:$DA6A PRG:1A6A 20 A5 DA - beq Label_DA94 ; CPU:$DA6D PRG:1A6D F0 25 + beq SubCDA87_Block_DA94 ; CPU:$DA6D PRG:1A6D F0 25 lda Zp64 ; CPU:$DA6F PRG:1A6F A5 64 - beq Label_DA87 ; CPU:$DA71 PRG:1A71 F0 14 + beq SubCDA87 ; CPU:$DA71 PRG:1A71 F0 14 lda Zp82 ; CPU:$DA73 PRG:1A73 A5 82 cmp #$90 ; CPU:$DA75 PRG:1A75 C9 90 - bcc Label_DA87 ; CPU:$DA77 PRG:1A77 90 0E + bcc SubCDA87 ; CPU:$DA77 PRG:1A77 90 0E cmp #$B0 ; CPU:$DA79 PRG:1A79 C9 B0 - bcs Label_DA87 ; CPU:$DA7B PRG:1A7B B0 0A + bcs SubCDA87 ; CPU:$DA7B PRG:1A7B B0 0A lda Zp83 ; CPU:$DA7D PRG:1A7D A5 83 cmp #$72 ; CPU:$DA7F PRG:1A7F C9 72 - bcc Label_DA87 ; CPU:$DA81 PRG:1A81 90 04 + bcc SubCDA87 ; CPU:$DA81 PRG:1A81 90 04 cmp #$92 ; CPU:$DA83 PRG:1A83 C9 92 - bcc Label_DA94 ; CPU:$DA85 PRG:1A85 90 0D + bcc SubCDA87_Block_DA94 ; CPU:$DA85 PRG:1A85 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_DA87 +; Routine: SubCDA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5994,7 +5995,7 @@ Label_DA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA87: +SubCDA87: lda Zp7D ; CPU:$DA87 PRG:1A87 A5 7D and #$EF ; CPU:$DA89 PRG:1A89 29 EF sta Zp7D ; CPU:$DA8B PRG:1A8B 85 7D @@ -6002,7 +6003,7 @@ Label_DA87: sta Zp7F ; CPU:$DA8F PRG:1A8F 85 7F jmp $E7A5 ; CPU:$DA91 PRG:1A91 4C A5 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DA94 +; Routine: SubCDA87_Block_DA94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6010,7 +6011,7 @@ Label_DA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA94: +SubCDA87_Block_DA94: inc Zp83 ; CPU:$DA94 PRG:1A94 E6 83 inc Zp83 ; CPU:$DA96 PRG:1A96 E6 83 jsr $E8B9 ; CPU:$DA98 PRG:1A98 20 B9 E8 @@ -6019,7 +6020,7 @@ Label_DA94: lda Zp91 ; CPU:$DAA0 PRG:1AA0 A5 91 jmp $E85A ; CPU:$DAA2 PRG:1AA2 4C 5A E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DAA5 +; Routine: SubCDAA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6027,12 +6028,12 @@ Label_DA94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAA5: +SubCDAA5: ldx #$02 ; CPU:$DAA5 PRG:1AA5 A2 02 jsr $CF45 ; CPU:$DAA7 PRG:1AA7 20 45 CF jmp $EB29 ; CPU:$DAAA PRG:1AAA 4C 29 EB ; ----------------------------------------------------------------------------- -; Routine: Label_DAAD +; Routine: SubCDAAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6040,20 +6041,20 @@ Label_DAA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAAD: +SubCDAAD: lda Zp44 ; CPU:$DAAD PRG:1AAD A5 44 - bne Label_DAFE ; CPU:$DAAF PRG:1AAF D0 4D + bne SubCDAAD_Block_DAFE ; CPU:$DAAF PRG:1AAF D0 4D lda Zp85 ; CPU:$DAB1 PRG:1AB1 A5 85 - beq Label_DAC8 ; CPU:$DAB3 PRG:1AB3 F0 13 + beq SubCDAAD_Block_DAC8 ; CPU:$DAB3 PRG:1AB3 F0 13 lda $06FF ; CPU:$DAB5 PRG:1AB5 AD FF 06 - bne Label_DAC5 ; CPU:$DAB8 PRG:1AB8 D0 0B + bne SubCDAAD_Block_DAC5 ; CPU:$DAB8 PRG:1AB8 D0 0B ldx #$02 ; CPU:$DABA PRG:1ABA A2 02 jsr $DAFF ; CPU:$DABC PRG:1ABC 20 FF DA lda #$00 ; CPU:$DABF PRG:1ABF A9 00 sta ZpE0 ; CPU:$DAC1 PRG:1AC1 85 E0 sta ZpB6 ; CPU:$DAC3 PRG:1AC3 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC5 +; Routine: SubCDAAD_Block_DAC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6061,11 +6062,11 @@ Label_DAAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC5: +SubCDAAD_Block_DAC5: lda #$00 ; CPU:$DAC5 PRG:1AC5 A9 00 rts ; CPU:$DAC7 PRG:1AC7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAC8 +; Routine: SubCDAAD_Block_DAC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6073,9 +6074,9 @@ Label_DAC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAC8: +SubCDAAD_Block_DAC8: lda ZpE1 ; CPU:$DAC8 PRG:1AC8 A5 E1 - bne Label_DAC5 ; CPU:$DACA PRG:1ACA D0 F9 + bne SubCDAAD_Block_DAC5 ; CPU:$DACA PRG:1ACA D0 F9 lda #$05 ; CPU:$DACC PRG:1ACC A9 05 sta Zp44 ; CPU:$DACE PRG:1ACE 85 44 sta Zp85 ; CPU:$DAD0 PRG:1AD0 85 85 @@ -6087,10 +6088,10 @@ Label_DAC8: jsr $E246 ; CPU:$DADF PRG:1ADF 20 46 E2 lda Zp6F ; CPU:$DAE2 PRG:1AE2 A5 6F and #$04 ; CPU:$DAE4 PRG:1AE4 29 04 - bne Label_DAEB ; CPU:$DAE6 PRG:1AE6 D0 03 + bne SubCDAAD_Block_DAEB ; CPU:$DAE6 PRG:1AE6 D0 03 jsr $E239 ; CPU:$DAE8 PRG:1AE8 20 39 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_DAEB +; Routine: SubCDAAD_Block_DAEB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6098,17 +6099,17 @@ Label_DAC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAEB: +SubCDAAD_Block_DAEB: jsr $E253 ; CPU:$DAEB PRG:1AEB 20 53 E2 lda #$00 ; CPU:$DAEE PRG:1AEE A9 00 sta Zp6F ; CPU:$DAF0 PRG:1AF0 85 6F ldx #$20 ; CPU:$DAF2 PRG:1AF2 A2 20 lda Zp7B ; CPU:$DAF4 PRG:1AF4 A5 7B cmp #$05 ; CPU:$DAF6 PRG:1AF6 C9 05 - bpl Label_DAFC ; CPU:$DAF8 PRG:1AF8 10 02 + bpl SubCDAAD_Block_DAFC ; CPU:$DAF8 PRG:1AF8 10 02 ldx #$10 ; CPU:$DAFA PRG:1AFA A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_DAFC +; Routine: SubCDAAD_Block_DAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6116,10 +6117,10 @@ Label_DAEB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAFC: +SubCDAAD_Block_DAFC: stx ZpFD ; CPU:$DAFC PRG:1AFC 86 FD ; ----------------------------------------------------------------------------- -; Routine: Label_DAFE +; Routine: SubCDAAD_Block_DAFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6127,10 +6128,10 @@ Label_DAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAFE: +SubCDAAD_Block_DAFE: rts ; CPU:$DAFE PRG:1AFE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DAFF +; Routine: SubCDAFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6138,7 +6139,7 @@ Label_DAFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DAFF: +SubCDAFF: lda #$12 ; CPU:$DAFF PRG:1AFF A9 12 sta Zp00 ; CPU:$DB01 PRG:1B01 85 00 lda #$3F ; CPU:$DB03 PRG:1B03 A9 3F @@ -6148,7 +6149,7 @@ Label_DAFF: lda $C625,x ; CPU:$DB0C PRG:1B0C BD 25 C6 jmp $E266 ; CPU:$DB0F PRG:1B0F 4C 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_DB12 +; Routine: SubCDB12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6156,25 +6157,25 @@ Label_DAFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB12: +SubCDB12: lda #$00 ; CPU:$DB12 PRG:1B12 A9 00 sta ZpFC ; CPU:$DB14 PRG:1B14 85 FC lda #$FF ; CPU:$DB16 PRG:1B16 A9 FF sta $0268 ; CPU:$DB18 PRG:1B18 8D 68 02 ldx Zp3B ; CPU:$DB1B PRG:1B1B A6 3B - beq Label_DB40 ; CPU:$DB1D PRG:1B1D F0 21 + beq SubCDB3A_Block_DB40 ; CPU:$DB1D PRG:1B1D F0 21 lda Zp72 ; CPU:$DB1F PRG:1B1F A5 72 and #$06 ; CPU:$DB21 PRG:1B21 29 06 - bne Label_DB57 ; CPU:$DB23 PRG:1B23 D0 32 + bne SubCDB3A_Block_DB57 ; CPU:$DB23 PRG:1B23 D0 32 lda Zp94 ; CPU:$DB25 PRG:1B25 A5 94 and #$30 ; CPU:$DB27 PRG:1B27 29 30 - bne Label_DB33 ; CPU:$DB29 PRG:1B29 D0 08 + bne SubCDB12_Block_DB33 ; CPU:$DB29 PRG:1B29 D0 08 cpx #$EF ; CPU:$DB2B PRG:1B2B E0 EF - bcs Label_DB38 ; CPU:$DB2D PRG:1B2D B0 09 + bcs SubCDB12_Block_DB38 ; CPU:$DB2D PRG:1B2D B0 09 cpx #$E5 ; CPU:$DB2F PRG:1B2F E0 E5 - bcs Label_DB57 ; CPU:$DB31 PRG:1B31 B0 24 + bcs SubCDB3A_Block_DB57 ; CPU:$DB31 PRG:1B31 B0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_DB33 +; Routine: SubCDB12_Block_DB33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6182,11 +6183,11 @@ Label_DB12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB33: +SubCDB12_Block_DB33: inc Zp83 ; CPU:$DB33 PRG:1B33 E6 83 jmp $DB3A ; CPU:$DB35 PRG:1B35 4C 3A DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB38 +; Routine: SubCDB12_Block_DB38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6194,10 +6195,10 @@ Label_DB33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB38: +SubCDB12_Block_DB38: dec Zp83 ; CPU:$DB38 PRG:1B38 C6 83 ; ----------------------------------------------------------------------------- -; Routine: Label_DB3A +; Routine: SubCDB3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6205,12 +6206,12 @@ Label_DB38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB3A: +SubCDB3A: lda Zp83 ; CPU:$DB3A PRG:1B3A A5 83 cmp #$D0 ; CPU:$DB3C PRG:1B3C C9 D0 - bcc Label_DB57 ; CPU:$DB3E PRG:1B3E 90 17 + bcc SubCDB3A_Block_DB57 ; CPU:$DB3E PRG:1B3E 90 17 ; ----------------------------------------------------------------------------- -; Routine: Label_DB40 +; Routine: SubCDB3A_Block_DB40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6218,12 +6219,12 @@ Label_DB3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB40: +SubCDB3A_Block_DB40: lda #$01 ; CPU:$DB40 PRG:1B40 A9 01 sta Zp8B ; CPU:$DB42 PRG:1B42 85 8B lda Zp72 ; CPU:$DB44 PRG:1B44 A5 72 and #$06 ; CPU:$DB46 PRG:1B46 29 06 - bne Label_DB56 ; CPU:$DB48 PRG:1B48 D0 0C + bne SubCDB3A_Block_DB56 ; CPU:$DB48 PRG:1B48 D0 0C lda #$01 ; CPU:$DB4A PRG:1B4A A9 01 sta Zp76 ; CPU:$DB4C PRG:1B4C 85 76 lda Zp82 ; CPU:$DB4E PRG:1B4E A5 82 @@ -6231,7 +6232,7 @@ Label_DB40: lda #$01 ; CPU:$DB52 PRG:1B52 A9 01 sta ZpFE ; CPU:$DB54 PRG:1B54 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_DB56 +; Routine: SubCDB3A_Block_DB56 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6239,10 +6240,10 @@ Label_DB40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB56: +SubCDB3A_Block_DB56: rts ; CPU:$DB56 PRG:1B56 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DB57 +; Routine: SubCDB3A_Block_DB57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6250,7 +6251,7 @@ Label_DB56: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB57: +SubCDB3A_Block_DB57: jsr $E8B9 ; CPU:$DB57 PRG:1B57 20 B9 E8 lda #$19 ; CPU:$DB5A PRG:1B5A A9 19 jsr $E8AE ; CPU:$DB5C PRG:1B5C 20 AE E8 @@ -6261,7 +6262,7 @@ Label_DB57: lsr a ; CPU:$DB64 PRG:1B64 4A jmp $E8F0 ; CPU:$DB65 PRG:1B65 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DB68 +; Routine: SubCDB68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6269,16 +6270,16 @@ Label_DB57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB68: +SubCDB68: lda #$00 ; CPU:$DB68 PRG:1B68 A9 00 sta Zp75 ; CPU:$DB6A PRG:1B6A 85 75 jsr $E8D5 ; CPU:$DB6C PRG:1B6C 20 D5 E8 lda Zp94 ; CPU:$DB6F PRG:1B6F A5 94 cmp #$02 ; CPU:$DB71 PRG:1B71 C9 02 - bne Label_DB78 ; CPU:$DB73 PRG:1B73 D0 03 + bne SubCDB68_Block_DB78 ; CPU:$DB73 PRG:1B73 D0 03 jmp $DF9B ; CPU:$DB75 PRG:1B75 4C 9B DF ; ----------------------------------------------------------------------------- -; Routine: Label_DB78 +; Routine: SubCDB68_Block_DB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6286,12 +6287,12 @@ Label_DB68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB78: +SubCDB68_Block_DB78: cmp #$01 ; CPU:$DB78 PRG:1B78 C9 01 - bne Label_DB7F ; CPU:$DB7A PRG:1B7A D0 03 + bne SubCDB68_Block_DB7F ; CPU:$DB7A PRG:1B7A D0 03 jmp $DBC9 ; CPU:$DB7C PRG:1B7C 4C C9 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DB7F +; Routine: SubCDB68_Block_DB7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6299,12 +6300,12 @@ Label_DB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB7F: +SubCDB68_Block_DB7F: cmp #$80 ; CPU:$DB7F PRG:1B7F C9 80 - bne Label_DB86 ; CPU:$DB81 PRG:1B81 D0 03 + bne SubCDB68_Block_DB86 ; CPU:$DB81 PRG:1B81 D0 03 jmp $DDD3 ; CPU:$DB83 PRG:1B83 4C D3 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DB86 +; Routine: SubCDB68_Block_DB86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6312,12 +6313,12 @@ Label_DB7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB86: +SubCDB68_Block_DB86: cmp #$40 ; CPU:$DB86 PRG:1B86 C9 40 - bne Label_DB8D ; CPU:$DB88 PRG:1B88 D0 03 + bne SubCDB68_Block_DB8D ; CPU:$DB88 PRG:1B88 D0 03 jmp $DE46 ; CPU:$DB8A PRG:1B8A 4C 46 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DB8D +; Routine: SubCDB68_Block_DB8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6325,12 +6326,12 @@ Label_DB86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB8D: +SubCDB68_Block_DB8D: cmp #$20 ; CPU:$DB8D PRG:1B8D C9 20 - bne Label_DB94 ; CPU:$DB8F PRG:1B8F D0 03 + bne SubCDB68_Block_DB94 ; CPU:$DB8F PRG:1B8F D0 03 jmp $DEB6 ; CPU:$DB91 PRG:1B91 4C B6 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DB94 +; Routine: SubCDB68_Block_DB94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6338,12 +6339,12 @@ Label_DB8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB94: +SubCDB68_Block_DB94: cmp #$10 ; CPU:$DB94 PRG:1B94 C9 10 - bne Label_DB9B ; CPU:$DB96 PRG:1B96 D0 03 + bne SubCDB68_Block_DB9B ; CPU:$DB96 PRG:1B96 D0 03 jmp $DD29 ; CPU:$DB98 PRG:1B98 4C 29 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DB9B +; Routine: SubCDB68_Block_DB9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6351,12 +6352,12 @@ Label_DB94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DB9B: +SubCDB68_Block_DB9B: cmp #$08 ; CPU:$DB9B PRG:1B9B C9 08 - bne Label_DBA2 ; CPU:$DB9D PRG:1B9D D0 03 + bne SubCDB68_Block_DBA2 ; CPU:$DB9D PRG:1B9D D0 03 jmp $DF1A ; CPU:$DB9F PRG:1B9F 4C 1A DF ; ----------------------------------------------------------------------------- -; Routine: Label_DBA2 +; Routine: SubCDB68_Block_DBA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6364,12 +6365,12 @@ Label_DB9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA2: +SubCDB68_Block_DBA2: cmp #$04 ; CPU:$DBA2 PRG:1BA2 C9 04 - bne Label_DBA9 ; CPU:$DBA4 PRG:1BA4 D0 03 + bne SubCDB68_Block_DBA9 ; CPU:$DBA4 PRG:1BA4 D0 03 jmp $DF39 ; CPU:$DBA6 PRG:1BA6 4C 39 DF ; ----------------------------------------------------------------------------- -; Routine: Label_DBA9 +; Routine: SubCDB68_Block_DBA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6377,9 +6378,9 @@ Label_DBA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA9: +SubCDB68_Block_DBA9: cmp #$03 ; CPU:$DBA9 PRG:1BA9 C9 03 - bne Label_DBBD ; CPU:$DBAB PRG:1BAB D0 10 + bne SubCDB68_Block_DBBD ; CPU:$DBAB PRG:1BAB D0 10 ldx Zp65 ; CPU:$DBAD PRG:1BAD A6 65 lda $C628,x ; CPU:$DBAF PRG:1BAF BD 28 C6 sta Zp97 ; CPU:$DBB2 PRG:1BB2 85 97 @@ -6389,7 +6390,7 @@ Label_DBA9: sta Zp94 ; CPU:$DBBA PRG:1BBA 85 94 rts ; CPU:$DBBC PRG:1BBC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBBD +; Routine: SubCDB68_Block_DBBD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6397,13 +6398,13 @@ Label_DBA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBBD: +SubCDB68_Block_DBBD: lda Zp93 ; CPU:$DBBD PRG:1BBD A5 93 and #$40 ; CPU:$DBBF PRG:1BBF 29 40 - beq Label_DBC6 ; CPU:$DBC1 PRG:1BC1 F0 03 + beq SubCDB68_Block_DBC6 ; CPU:$DBC1 PRG:1BC1 F0 03 jmp $DC5D ; CPU:$DBC3 PRG:1BC3 4C 5D DC ; ----------------------------------------------------------------------------- -; Routine: Label_DBC6 +; Routine: SubCDB68_Block_DBC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6411,10 +6412,10 @@ Label_DBBD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC6: +SubCDB68_Block_DBC6: jmp $DBF0 ; CPU:$DBC6 PRG:1BC6 4C F0 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBC9 +; Routine: SubCDBC9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6422,17 +6423,17 @@ Label_DBC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC9: +SubCDBC9: ldx Zp98 ; CPU:$DBC9 PRG:1BC9 A6 98 lda ZpA6 ; CPU:$DBCB PRG:1BCB A5 A6 - bne Label_DBDF ; CPU:$DBCD PRG:1BCD D0 10 + bne SubCDBC9_Block_DBDF ; CPU:$DBCD PRG:1BCD D0 10 cpx #$58 ; CPU:$DBCF PRG:1BCF E0 58 - bcc Label_DBDA ; CPU:$DBD1 PRG:1BD1 90 07 + bcc SubCDBC9_Block_DBDA ; CPU:$DBD1 PRG:1BD1 90 07 dec Zp98 ; CPU:$DBD3 PRG:1BD3 C6 98 dec Zp98 ; CPU:$DBD5 PRG:1BD5 C6 98 jmp $DBE5 ; CPU:$DBD7 PRG:1BD7 4C E5 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBDA +; Routine: SubCDBC9_Block_DBDA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6440,12 +6441,12 @@ Label_DBC9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDA: +SubCDBC9_Block_DBDA: lda #$01 ; CPU:$DBDA PRG:1BDA A9 01 sta ZpA6 ; CPU:$DBDC PRG:1BDC 85 A6 rts ; CPU:$DBDE PRG:1BDE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBDF +; Routine: SubCDBC9_Block_DBDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6453,12 +6454,12 @@ Label_DBDA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBDF: +SubCDBC9_Block_DBDF: cpx #$73 ; CPU:$DBDF PRG:1BDF E0 73 - bcs Label_DBED ; CPU:$DBE1 PRG:1BE1 B0 0A + bcs SubCDBE5_Block_DBED ; CPU:$DBE1 PRG:1BE1 B0 0A inc Zp98 ; CPU:$DBE3 PRG:1BE3 E6 98 ; ----------------------------------------------------------------------------- -; Routine: Label_DBE5 +; Routine: SubCDBE5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6466,12 +6467,12 @@ Label_DBDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBE5: +SubCDBE5: lda #$6F ; CPU:$DBE5 PRG:1BE5 A9 6F jsr $E8CA ; CPU:$DBE7 PRG:1BE7 20 CA E8 jmp $E8A1 ; CPU:$DBEA PRG:1BEA 4C A1 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DBED +; Routine: SubCDBE5_Block_DBED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6479,10 +6480,10 @@ Label_DBE5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBED: +SubCDBE5_Block_DBED: jmp $E7C3 ; CPU:$DBED PRG:1BED 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DBF0 +; Routine: SubCDBF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6490,14 +6491,14 @@ Label_DBED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF0: +SubCDBF0: lda #$FF ; CPU:$DBF0 PRG:1BF0 A9 FF ldx ZpE0 ; CPU:$DBF2 PRG:1BF2 A6 E0 - bne Label_DBFB ; CPU:$DBF4 PRG:1BF4 D0 05 + bne SubCDBF0_Block_DBFB ; CPU:$DBF4 PRG:1BF4 D0 05 ldx Zp7B ; CPU:$DBF6 PRG:1BF6 A6 7B lda $C057,x ; CPU:$DBF8 PRG:1BF8 BD 57 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_DBFB +; Routine: SubCDBF0_Block_DBFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6505,24 +6506,24 @@ Label_DBF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBFB: +SubCDBF0_Block_DBFB: sta Zp01 ; CPU:$DBFB PRG:1BFB 85 01 sta Zp02 ; CPU:$DBFD PRG:1BFD 85 02 lda Zp9D ; CPU:$DBFF PRG:1BFF A5 9D jsr $E8DE ; CPU:$DC01 PRG:1C01 20 DE E8 - beq Label_DC50 ; CPU:$DC04 PRG:1C04 F0 4A + beq SubCDC30_Block_DC50 ; CPU:$DC04 PRG:1C04 F0 4A lda Zp9D ; CPU:$DC06 PRG:1C06 A5 9D cmp #$06 ; CPU:$DC08 PRG:1C08 C9 06 - beq Label_DC1B ; CPU:$DC0A PRG:1C0A F0 0F + beq SubCDBF0_Block_DC1B ; CPU:$DC0A PRG:1C0A F0 0F cmp #$0C ; CPU:$DC0C PRG:1C0C C9 0C - beq Label_DC1B ; CPU:$DC0E PRG:1C0E F0 0B + beq SubCDBF0_Block_DC1B ; CPU:$DC0E PRG:1C0E F0 0B lda Zp9D ; CPU:$DC10 PRG:1C10 A5 9D cmp #$01 ; CPU:$DC12 PRG:1C12 C9 01 - beq Label_DC1B ; CPU:$DC14 PRG:1C14 F0 05 + beq SubCDBF0_Block_DC1B ; CPU:$DC14 PRG:1C14 F0 05 lda Zp9A ; CPU:$DC16 PRG:1C16 A5 9A jmp $DC30 ; CPU:$DC18 PRG:1C18 4C 30 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC1B +; Routine: SubCDBF0_Block_DC1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6530,16 +6531,16 @@ Label_DBFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC1B: +SubCDBF0_Block_DC1B: ldx #$FA ; CPU:$DC1B PRG:1C1B A2 FA lda Zp9A ; CPU:$DC1D PRG:1C1D A5 9A cmp #$57 ; CPU:$DC1F PRG:1C1F C9 57 - beq Label_DC29 ; CPU:$DC21 PRG:1C21 F0 06 + beq SubCDBF0_Block_DC29 ; CPU:$DC21 PRG:1C21 F0 06 cmp #$4B ; CPU:$DC23 PRG:1C23 C9 4B - bne Label_DC2B ; CPU:$DC25 PRG:1C25 D0 04 + bne SubCDBF0_Block_DC2B ; CPU:$DC25 PRG:1C25 D0 04 ldx #$06 ; CPU:$DC27 PRG:1C27 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DC29 +; Routine: SubCDBF0_Block_DC29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6547,10 +6548,10 @@ Label_DC1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC29: +SubCDBF0_Block_DC29: stx Zp99 ; CPU:$DC29 PRG:1C29 86 99 ; ----------------------------------------------------------------------------- -; Routine: Label_DC2B +; Routine: SubCDBF0_Block_DC2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6558,12 +6559,12 @@ Label_DC29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2B: +SubCDBF0_Block_DC2B: lda Zp9A ; CPU:$DC2B PRG:1C2B A5 9A clc ; CPU:$DC2D PRG:1C2D 18 adc Zp99 ; CPU:$DC2E PRG:1C2E 65 99 ; ----------------------------------------------------------------------------- -; Routine: Label_DC30 +; Routine: SubCDC30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6571,16 +6572,16 @@ Label_DC2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC30: +SubCDC30: sta Zp02 ; CPU:$DC30 PRG:1C30 85 02 sta Zp9A ; CPU:$DC32 PRG:1C32 85 9A ldx #$01 ; CPU:$DC34 PRG:1C34 A2 01 lda Zp93 ; CPU:$DC36 PRG:1C36 A5 93 and #$01 ; CPU:$DC38 PRG:1C38 29 01 - bne Label_DC3E ; CPU:$DC3A PRG:1C3A D0 02 + bne SubCDC30_Block_DC3E ; CPU:$DC3A PRG:1C3A D0 02 ldx #$FF ; CPU:$DC3C PRG:1C3C A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DC3E +; Routine: SubCDC30_Block_DC3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6588,7 +6589,7 @@ Label_DC30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC3E: +SubCDC30_Block_DC3E: txa ; CPU:$DC3E PRG:1C3E 8A clc ; CPU:$DC3F PRG:1C3F 18 adc Zp97 ; CPU:$DC40 PRG:1C40 65 97 @@ -6599,7 +6600,7 @@ Label_DC3E: and #$73 ; CPU:$DC4C PRG:1C4C 29 73 sta Zp93 ; CPU:$DC4E PRG:1C4E 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_DC50 +; Routine: SubCDC30_Block_DC50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6607,14 +6608,14 @@ Label_DC3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC50: +SubCDC30_Block_DC50: lda Zp9D ; CPU:$DC50 PRG:1C50 A5 9D cmp #$10 ; CPU:$DC52 PRG:1C52 C9 10 - bmi Label_DC5A ; CPU:$DC54 PRG:1C54 30 04 + bmi SubCDC30_Block_DC5A ; CPU:$DC54 PRG:1C54 30 04 lda #$00 ; CPU:$DC56 PRG:1C56 A9 00 sta Zp9D ; CPU:$DC58 PRG:1C58 85 9D ; ----------------------------------------------------------------------------- -; Routine: Label_DC5A +; Routine: SubCDC30_Block_DC5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6622,11 +6623,11 @@ Label_DC50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5A: +SubCDC30_Block_DC5A: inc Zp9D ; CPU:$DC5A PRG:1C5A E6 9D rts ; CPU:$DC5C PRG:1C5C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC5D +; Routine: SubCDC5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6634,22 +6635,22 @@ Label_DC5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5D: +SubCDC5D: lda Zp93 ; CPU:$DC5D PRG:1C5D A5 93 and #$08 ; CPU:$DC5F PRG:1C5F 29 08 - beq Label_DC80 ; CPU:$DC61 PRG:1C61 F0 1D + beq SubCDC80 ; CPU:$DC61 PRG:1C61 F0 1D lda ZpA3 ; CPU:$DC63 PRG:1C63 A5 A3 - bne Label_DC80 ; CPU:$DC65 PRG:1C65 D0 19 + bne SubCDC80 ; CPU:$DC65 PRG:1C65 D0 19 ldx Zp9C ; CPU:$DC67 PRG:1C67 A6 9C cpx #$20 ; CPU:$DC69 PRG:1C69 E0 20 - bmi Label_DC78 ; CPU:$DC6B PRG:1C6B 30 0B + bmi SubCDC5D_Block_DC78 ; CPU:$DC6B PRG:1C6B 30 0B lda #$01 ; CPU:$DC6D PRG:1C6D A9 01 sta ZpA3 ; CPU:$DC6F PRG:1C6F 85 A3 lda #$00 ; CPU:$DC71 PRG:1C71 A9 00 sta Zp9C ; CPU:$DC73 PRG:1C73 85 9C jmp $DC80 ; CPU:$DC75 PRG:1C75 4C 80 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC78 +; Routine: SubCDC5D_Block_DC78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6657,12 +6658,12 @@ Label_DC5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC78: +SubCDC5D_Block_DC78: jsr $DCF5 ; CPU:$DC78 PRG:1C78 20 F5 DC ldy #$63 ; CPU:$DC7B PRG:1C7B A0 63 jmp $DCB8 ; CPU:$DC7D PRG:1C7D 4C B8 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DC80 +; Routine: SubCDC80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6670,18 +6671,18 @@ Label_DC78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC80: +SubCDC80: ldx Zp9C ; CPU:$DC80 PRG:1C80 A6 9C lda $C0CD,x ; CPU:$DC82 PRG:1C82 BD CD C0 sta Zp0B ; CPU:$DC85 PRG:1C85 85 0B cmp #$EE ; CPU:$DC87 PRG:1C87 C9 EE - beq Label_DCC1 ; CPU:$DC89 PRG:1C89 F0 36 + beq SubCDCB8_Block_DCC1 ; CPU:$DC89 PRG:1C89 F0 36 cmp #$DD ; CPU:$DC8B PRG:1C8B C9 DD - bne Label_DC93 ; CPU:$DC8D PRG:1C8D D0 04 + bne SubCDC80_Block_DC93 ; CPU:$DC8D PRG:1C8D D0 04 lda #$00 ; CPU:$DC8F PRG:1C8F A9 00 sta Zp0B ; CPU:$DC91 PRG:1C91 85 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DC93 +; Routine: SubCDC80_Block_DC93 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6689,18 +6690,18 @@ Label_DC80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC93: +SubCDC80_Block_DC93: jsr $DCF5 ; CPU:$DC93 PRG:1C93 20 F5 DC clc ; CPU:$DC96 PRG:1C96 18 adc Zp97 ; CPU:$DC97 PRG:1C97 65 97 sta Zp97 ; CPU:$DC99 PRG:1C99 85 97 lda Zp93 ; CPU:$DC9B PRG:1C9B A5 93 and #$08 ; CPU:$DC9D PRG:1C9D 29 08 - bne Label_DCA7 ; CPU:$DC9F PRG:1C9F D0 06 + bne SubCDC80_Block_DCA7 ; CPU:$DC9F PRG:1C9F D0 06 lda $C0E4,x ; CPU:$DCA1 PRG:1CA1 BD E4 C0 jmp $DCAA ; CPU:$DCA4 PRG:1CA4 4C AA DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCA7 +; Routine: SubCDC80_Block_DCA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6708,10 +6709,10 @@ Label_DC93: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCA7: +SubCDC80_Block_DCA7: lda $C0D9,x ; CPU:$DCA7 PRG:1CA7 BD D9 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_DCAA +; Routine: SubCDCAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6719,17 +6720,17 @@ Label_DCA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCAA: +SubCDCAA: clc ; CPU:$DCAA PRG:1CAA 18 adc Zp98 ; CPU:$DCAB PRG:1CAB 65 98 sta Zp98 ; CPU:$DCAD PRG:1CAD 85 98 ldy #$57 ; CPU:$DCAF PRG:1CAF A0 57 txa ; CPU:$DCB1 PRG:1CB1 8A and #$01 ; CPU:$DCB2 PRG:1CB2 29 01 - bne Label_DCB8 ; CPU:$DCB4 PRG:1CB4 D0 02 + bne SubCDCB8 ; CPU:$DCB4 PRG:1CB4 D0 02 ldy #$4B ; CPU:$DCB6 PRG:1CB6 A0 4B ; ----------------------------------------------------------------------------- -; Routine: Label_DCB8 +; Routine: SubCDCB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6737,13 +6738,13 @@ Label_DCAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCB8: +SubCDCB8: tya ; CPU:$DCB8 PRG:1CB8 98 jsr $E8CA ; CPU:$DCB9 PRG:1CB9 20 CA E8 inc Zp9C ; CPU:$DCBC PRG:1CBC E6 9C jmp $E7F2 ; CPU:$DCBE PRG:1CBE 4C F2 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC1 +; Routine: SubCDCB8_Block_DCC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6751,16 +6752,16 @@ Label_DCB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC1: +SubCDCB8_Block_DCC1: lda #$00 ; CPU:$DCC1 PRG:1CC1 A9 00 sta Zp9C ; CPU:$DCC3 PRG:1CC3 85 9C lda Zp9F ; CPU:$DCC5 PRG:1CC5 A5 9F - bne Label_DCCE ; CPU:$DCC7 PRG:1CC7 D0 05 + bne SubCDCB8_Block_DCCE ; CPU:$DCC7 PRG:1CC7 D0 05 lda #$01 ; CPU:$DCC9 PRG:1CC9 A9 01 sta Zp9F ; CPU:$DCCB PRG:1CCB 85 9F rts ; CPU:$DCCD PRG:1CCD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCCE +; Routine: SubCDCB8_Block_DCCE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6768,20 +6769,20 @@ Label_DCC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCCE: +SubCDCB8_Block_DCCE: ldx #$02 ; CPU:$DCCE PRG:1CCE A2 02 jsr $CFF4 ; CPU:$DCD0 PRG:1CD0 20 F4 CF jsr $EB29 ; CPU:$DCD3 PRG:1CD3 20 29 EB - beq Label_DCF4 ; CPU:$DCD6 PRG:1CD6 F0 1C + beq SubCDCED_Block_DCF4 ; CPU:$DCD6 PRG:1CD6 F0 1C lda Zp93 ; CPU:$DCD8 PRG:1CD8 A5 93 and #$01 ; CPU:$DCDA PRG:1CDA 29 01 - beq Label_DCE7 ; CPU:$DCDC PRG:1CDC F0 09 + beq SubCDCB8_Block_DCE7 ; CPU:$DCDC PRG:1CDC F0 09 inc Zp97 ; CPU:$DCDE PRG:1CDE E6 97 inc Zp97 ; CPU:$DCE0 PRG:1CE0 E6 97 inc Zp97 ; CPU:$DCE2 PRG:1CE2 E6 97 jmp $DCED ; CPU:$DCE4 PRG:1CE4 4C ED DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCE7 +; Routine: SubCDCB8_Block_DCE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6789,12 +6790,12 @@ Label_DCCE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCE7: +SubCDCB8_Block_DCE7: dec Zp97 ; CPU:$DCE7 PRG:1CE7 C6 97 dec Zp97 ; CPU:$DCE9 PRG:1CE9 C6 97 dec Zp97 ; CPU:$DCEB PRG:1CEB C6 97 ; ----------------------------------------------------------------------------- -; Routine: Label_DCED +; Routine: SubCDCED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6802,12 +6803,12 @@ Label_DCE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCED: +SubCDCED: jsr $E7C3 ; CPU:$DCED PRG:1CED 20 C3 E7 lda #$00 ; CPU:$DCF0 PRG:1CF0 A9 00 sta Zp9F ; CPU:$DCF2 PRG:1CF2 85 9F ; ----------------------------------------------------------------------------- -; Routine: Label_DCF4 +; Routine: SubCDCED_Block_DCF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6815,10 +6816,10 @@ Label_DCED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF4: +SubCDCED_Block_DCF4: rts ; CPU:$DCF4 PRG:1CF4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCF5 +; Routine: SubCDCF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6826,15 +6827,15 @@ Label_DCF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF5: +SubCDCF5: lda ZpA7 ; CPU:$DCF5 PRG:1CF5 A5 A7 cmp #$04 ; CPU:$DCF7 PRG:1CF7 C9 04 - bmi Label_DD01 ; CPU:$DCF9 PRG:1CF9 30 06 + bmi SubCDCF5_Block_DD01 ; CPU:$DCF9 PRG:1CF9 30 06 jsr $DD0B ; CPU:$DCFB PRG:1CFB 20 0B DD lda Zp0B ; CPU:$DCFE PRG:1CFE A5 0B rts ; CPU:$DD00 PRG:1D00 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD01 +; Routine: SubCDCF5_Block_DD01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6842,14 +6843,14 @@ Label_DCF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD01: +SubCDCF5_Block_DD01: jsr $DD14 ; CPU:$DD01 PRG:1D01 20 14 DD dec Zp0B ; CPU:$DD04 PRG:1D04 C6 0B lda Zp0B ; CPU:$DD06 PRG:1D06 A5 0B eor #$FF ; CPU:$DD08 PRG:1D08 49 FF rts ; CPU:$DD0A PRG:1D0A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD0B +; Routine: SubCDD0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6857,14 +6858,14 @@ Label_DD01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD0B: +SubCDD0B: lda Zp93 ; CPU:$DD0B PRG:1D0B A5 93 and #$FC ; CPU:$DD0D PRG:1D0D 29 FC ora #$01 ; CPU:$DD0F PRG:1D0F 09 01 sta Zp93 ; CPU:$DD11 PRG:1D11 85 93 rts ; CPU:$DD13 PRG:1D13 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD14 +; Routine: SubCDD14 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6872,14 +6873,14 @@ Label_DD0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD14: +SubCDD14: lda Zp93 ; CPU:$DD14 PRG:1D14 A5 93 and #$FC ; CPU:$DD16 PRG:1D16 29 FC ora #$02 ; CPU:$DD18 PRG:1D18 09 02 sta Zp93 ; CPU:$DD1A PRG:1D1A 85 93 rts ; CPU:$DD1C PRG:1D1C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD1D +; Routine: SubCDD1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6887,13 +6888,13 @@ Label_DD14: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1D: +SubCDD1D: lda Zp82 ; CPU:$DD1D PRG:1D1D A5 82 cmp Zp97 ; CPU:$DD1F PRG:1D1F C5 97 - bcs Label_DD26 ; CPU:$DD21 PRG:1D21 B0 03 + bcs SubCDD1D_Block_DD26 ; CPU:$DD21 PRG:1D21 B0 03 jmp $DD14 ; CPU:$DD23 PRG:1D23 4C 14 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD26 +; Routine: SubCDD1D_Block_DD26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6901,10 +6902,10 @@ Label_DD1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD26: +SubCDD1D_Block_DD26: jmp $DD0B ; CPU:$DD26 PRG:1D26 4C 0B DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD29 +; Routine: SubCDD29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6912,20 +6913,20 @@ Label_DD26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD29: +SubCDD29: lda Zp93 ; CPU:$DD29 PRG:1D29 A5 93 and #$01 ; CPU:$DD2B PRG:1D2B 29 01 tay ; CPU:$DD2D PRG:1D2D A8 lda Zp9C ; CPU:$DD2E PRG:1D2E A5 9C cmp #$37 ; CPU:$DD30 PRG:1D30 C9 37 - bpl Label_DD9B ; CPU:$DD32 PRG:1D32 10 67 + bpl SubCDD92_Block_DD9B ; CPU:$DD32 PRG:1D32 10 67 cmp #$12 ; CPU:$DD34 PRG:1D34 C9 12 - bpl Label_DD3F ; CPU:$DD36 PRG:1D36 10 07 + bpl SubCDD29_Block_DD3F ; CPU:$DD36 PRG:1D36 10 07 lda #$69 ; CPU:$DD38 PRG:1D38 A9 69 sta Zp02 ; CPU:$DD3A PRG:1D3A 85 02 jmp $DD92 ; CPU:$DD3C PRG:1D3C 4C 92 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD3F +; Routine: SubCDD29_Block_DD3F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6933,9 +6934,9 @@ Label_DD29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD3F: +SubCDD29_Block_DD3F: cmp #$2A ; CPU:$DD3F PRG:1D3F C9 2A - bpl Label_DD71 ; CPU:$DD41 PRG:1D41 10 2E + bpl SubCDD29_Block_DD71 ; CPU:$DD41 PRG:1D41 10 2E lda #$69 ; CPU:$DD43 PRG:1D43 A9 69 sta Zp02 ; CPU:$DD45 PRG:1D45 85 02 lda Zp9C ; CPU:$DD47 PRG:1D47 A5 9C @@ -6950,13 +6951,13 @@ Label_DD3F: adc Zp98 ; CPU:$DD58 PRG:1D58 65 98 sta Zp98 ; CPU:$DD5A PRG:1D5A 85 98 tya ; CPU:$DD5C PRG:1D5C 98 - bne Label_DD67 ; CPU:$DD5D PRG:1D5D D0 08 + bne SubCDD29_Block_DD67 ; CPU:$DD5D PRG:1D5D D0 08 lda Zp0B ; CPU:$DD5F PRG:1D5F A5 0B eor #$FF ; CPU:$DD61 PRG:1D61 49 FF sta Zp0B ; CPU:$DD63 PRG:1D63 85 0B inc Zp0B ; CPU:$DD65 PRG:1D65 E6 0B ; ----------------------------------------------------------------------------- -; Routine: Label_DD67 +; Routine: SubCDD29_Block_DD67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6964,14 +6965,14 @@ Label_DD3F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD67: +SubCDD29_Block_DD67: lda Zp0B ; CPU:$DD67 PRG:1D67 A5 0B clc ; CPU:$DD69 PRG:1D69 18 adc Zp97 ; CPU:$DD6A PRG:1D6A 65 97 sta Zp97 ; CPU:$DD6C PRG:1D6C 85 97 jmp $DD92 ; CPU:$DD6E PRG:1D6E 4C 92 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD71 +; Routine: SubCDD29_Block_DD71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6979,15 +6980,15 @@ Label_DD67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD71: +SubCDD29_Block_DD71: dec ZpA8 ; CPU:$DD71 PRG:1D71 C6 A8 lda ZpA8 ; CPU:$DD73 PRG:1D73 A5 A8 cmp #$EF ; CPU:$DD75 PRG:1D75 C9 EF - bne Label_DD7D ; CPU:$DD77 PRG:1D77 D0 04 + bne SubCDD29_Block_DD7D ; CPU:$DD77 PRG:1D77 D0 04 lda #$02 ; CPU:$DD79 PRG:1D79 A9 02 sta ZpFF ; CPU:$DD7B PRG:1D7B 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DD7D +; Routine: SubCDD29_Block_DD7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6995,13 +6996,13 @@ Label_DD71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD7D: +SubCDD29_Block_DD7D: lda ZpA8 ; CPU:$DD7D PRG:1D7D A5 A8 and #$08 ; CPU:$DD7F PRG:1D7F 29 08 - beq Label_DD86 ; CPU:$DD81 PRG:1D81 F0 03 + beq SubCDD29_Block_DD86 ; CPU:$DD81 PRG:1D81 F0 03 jsr $DDB2 ; CPU:$DD83 PRG:1D83 20 B2 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DD86 +; Routine: SubCDD29_Block_DD86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7009,14 +7010,14 @@ Label_DD7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD86: +SubCDD29_Block_DD86: ldx #$75 ; CPU:$DD86 PRG:1D86 A2 75 lda Zp9C ; CPU:$DD88 PRG:1D88 A5 9C and #$04 ; CPU:$DD8A PRG:1D8A 29 04 - beq Label_DD90 ; CPU:$DD8C PRG:1D8C F0 02 + beq SubCDD29_Block_DD90 ; CPU:$DD8C PRG:1D8C F0 02 ldx #$7B ; CPU:$DD8E PRG:1D8E A2 7B ; ----------------------------------------------------------------------------- -; Routine: Label_DD90 +; Routine: SubCDD29_Block_DD90 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7024,10 +7025,10 @@ Label_DD86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD90: +SubCDD29_Block_DD90: stx Zp02 ; CPU:$DD90 PRG:1D90 86 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DD92 +; Routine: SubCDD92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7035,13 +7036,13 @@ Label_DD90: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD92: +SubCDD92: jsr $E8CC ; CPU:$DD92 PRG:1D92 20 CC E8 inc Zp9C ; CPU:$DD95 PRG:1D95 E6 9C tya ; CPU:$DD97 PRG:1D97 98 jmp $E8F0 ; CPU:$DD98 PRG:1D98 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DD9B +; Routine: SubCDD92_Block_DD9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7049,7 +7050,7 @@ Label_DD92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD9B: +SubCDD92_Block_DD9B: lda Zp93 ; CPU:$DD9B PRG:1D9B A5 93 and #$EF ; CPU:$DD9D PRG:1D9D 29 EF sta Zp93 ; CPU:$DD9F PRG:1D9F 85 93 @@ -7062,7 +7063,7 @@ Label_DD9B: sta Zp98 ; CPU:$DDAD PRG:1DAD 85 98 jmp $E7C3 ; CPU:$DDAF PRG:1DAF 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DDB2 +; Routine: SubCDDB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7070,24 +7071,24 @@ Label_DD9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDB2: +SubCDDB2: lda ZpA8 ; CPU:$DDB2 PRG:1DB2 A5 A8 sta Zp01 ; CPU:$DDB4 PRG:1DB4 85 01 lda #$00 ; CPU:$DDB6 PRG:1DB6 A9 00 sta Zp00 ; CPU:$DDB8 PRG:1DB8 85 00 lda #$12 ; CPU:$DDBA PRG:1DBA A9 12 - sta $2000 ; CPU:$DDBC PRG:1DBC 8D 00 20 + sta PPUCTRL ; CPU:$DDBC PRG:1DBC 8D 00 20 sta Zp10 ; CPU:$DDBF PRG:1DBF 85 10 - lda $2002 ; CPU:$DDC1 PRG:1DC1 AD 02 20 + lda PPUSTATUS ; CPU:$DDC1 PRG:1DC1 AD 02 20 lda Zp00 ; CPU:$DDC4 PRG:1DC4 A5 00 - sta $2005 ; CPU:$DDC6 PRG:1DC6 8D 05 20 + sta PPUSCROLL ; CPU:$DDC6 PRG:1DC6 8D 05 20 sta Zp12 ; CPU:$DDC9 PRG:1DC9 85 12 lda Zp01 ; CPU:$DDCB PRG:1DCB A5 01 - sta $2005 ; CPU:$DDCD PRG:1DCD 8D 05 20 + sta PPUSCROLL ; CPU:$DDCD PRG:1DCD 8D 05 20 sta Zp13 ; CPU:$DDD0 PRG:1DD0 85 13 rts ; CPU:$DDD2 PRG:1DD2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDD3 +; Routine: SubCDDD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7095,21 +7096,21 @@ Label_DDB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD3: +SubCDDD3: lda ZpE0 ; CPU:$DDD3 PRG:1DD3 A5 E0 - bne Label_DE3C ; CPU:$DDD5 PRG:1DD5 D0 65 + bne SubCDE1D_Block_DE3C ; CPU:$DDD5 PRG:1DD5 D0 65 inc Zp9C ; CPU:$DDD7 PRG:1DD7 E6 9C lda Zp9C ; CPU:$DDD9 PRG:1DD9 A5 9C cmp #$20 ; CPU:$DDDB PRG:1DDB C9 20 - bpl Label_DE37 ; CPU:$DDDD PRG:1DDD 10 58 + bpl SubCDE1D_Block_DE37 ; CPU:$DDDD PRG:1DDD 10 58 cmp #$11 ; CPU:$DDDF PRG:1DDF C9 11 - beq Label_DDF4 ; CPU:$DDE1 PRG:1DE1 F0 11 + beq SubCDDEE_Block_DDF4 ; CPU:$DDE1 PRG:1DE1 F0 11 cmp #$10 ; CPU:$DDE3 PRG:1DE3 C9 10 - bpl Label_DDEC ; CPU:$DDE5 PRG:1DE5 10 05 + bpl SubCDDD3_Block_DDEC ; CPU:$DDE5 PRG:1DE5 10 05 lda #$96 ; CPU:$DDE7 PRG:1DE7 A9 96 jmp $DDEE ; CPU:$DDE9 PRG:1DE9 4C EE DD ; ----------------------------------------------------------------------------- -; Routine: Label_DDEC +; Routine: SubCDDD3_Block_DDEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7117,10 +7118,10 @@ Label_DDD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDEC: +SubCDDD3_Block_DDEC: lda #$69 ; CPU:$DDEC PRG:1DEC A9 69 ; ----------------------------------------------------------------------------- -; Routine: Label_DDEE +; Routine: SubCDDEE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7128,11 +7129,11 @@ Label_DDEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDEE: +SubCDDEE: jsr $E8CA ; CPU:$DDEE PRG:1DEE 20 CA E8 jmp $E7F2 ; CPU:$DDF1 PRG:1DF1 4C F2 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DDF4 +; Routine: SubCDDEE_Block_DDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7140,7 +7141,7 @@ Label_DDEE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDF4: +SubCDDEE_Block_DDF4: ldx Zp9E ; CPU:$DDF4 PRG:1DF4 A6 9E lda Zp98 ; CPU:$DDF6 PRG:1DF6 A5 98 sta $0220,x ; CPU:$DDF8 PRG:1DF8 9D 20 02 @@ -7148,7 +7149,7 @@ Label_DDF4: sta $0221,x ; CPU:$DDFD PRG:1DFD 9D 21 02 lda Zp93 ; CPU:$DE00 PRG:1E00 A5 93 and #$01 ; CPU:$DE02 PRG:1E02 29 01 - beq Label_DE13 ; CPU:$DE04 PRG:1E04 F0 0D + beq SubCDDEE_Block_DE13 ; CPU:$DE04 PRG:1E04 F0 0D lda Zp97 ; CPU:$DE06 PRG:1E06 A5 97 clc ; CPU:$DE08 PRG:1E08 18 adc #$10 ; CPU:$DE09 PRG:1E09 69 10 @@ -7156,7 +7157,7 @@ Label_DDF4: ldy #$40 ; CPU:$DE0E PRG:1E0E A0 40 jmp $DE1D ; CPU:$DE10 PRG:1E10 4C 1D DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE13 +; Routine: SubCDDEE_Block_DE13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7164,14 +7165,14 @@ Label_DDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE13: +SubCDDEE_Block_DE13: lda Zp97 ; CPU:$DE13 PRG:1E13 A5 97 sec ; CPU:$DE15 PRG:1E15 38 sbc #$08 ; CPU:$DE16 PRG:1E16 E9 08 sta $0223,x ; CPU:$DE18 PRG:1E18 9D 23 02 ldy #$80 ; CPU:$DE1B PRG:1E1B A0 80 ; ----------------------------------------------------------------------------- -; Routine: Label_DE1D +; Routine: SubCDE1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7179,7 +7180,7 @@ Label_DE13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE1D: +SubCDE1D: lda ZpE2 ; CPU:$DE1D PRG:1E1D A5 E2 and #$3F ; CPU:$DE1F PRG:1E1F 29 3F sta ZpE2 ; CPU:$DE21 PRG:1E21 85 E2 @@ -7192,10 +7193,10 @@ Label_DE1D: inc Zp9E ; CPU:$DE2E PRG:1E2E E6 9E lda Zp9E ; CPU:$DE30 PRG:1E30 A5 9E cmp #$0D ; CPU:$DE32 PRG:1E32 C9 0D - bpl Label_DE3C ; CPU:$DE34 PRG:1E34 10 06 + bpl SubCDE1D_Block_DE3C ; CPU:$DE34 PRG:1E34 10 06 rts ; CPU:$DE36 PRG:1E36 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE37 +; Routine: SubCDE1D_Block_DE37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7203,12 +7204,12 @@ Label_DE1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE37: +SubCDE1D_Block_DE37: lda #$00 ; CPU:$DE37 PRG:1E37 A9 00 sta Zp9C ; CPU:$DE39 PRG:1E39 85 9C rts ; CPU:$DE3B PRG:1E3B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE3C +; Routine: SubCDE1D_Block_DE3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7216,13 +7217,13 @@ Label_DE37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE3C: +SubCDE1D_Block_DE3C: ldx Zp7B ; CPU:$DE3C PRG:1E3C A6 7B lda $C08C,x ; CPU:$DE3E PRG:1E3E BD 8C C0 sta Zp35 ; CPU:$DE41 PRG:1E41 85 35 jmp $E7C3 ; CPU:$DE43 PRG:1E43 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DE46 +; Routine: SubCDE46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7230,10 +7231,10 @@ Label_DE3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE46: +SubCDE46: lda Zp9C ; CPU:$DE46 PRG:1E46 A5 9C cmp #$1C ; CPU:$DE48 PRG:1E48 C9 1C - bpl Label_DE87 ; CPU:$DE4A PRG:1E4A 10 3B + bpl SubCDE7F_Block_DE87 ; CPU:$DE4A PRG:1E4A 10 3B tay ; CPU:$DE4C PRG:1E4C A8 ldx Zp7B ; CPU:$DE4D PRG:1E4D A6 7B lda $C057,x ; CPU:$DE4F PRG:1E4F BD 57 C0 @@ -7241,17 +7242,17 @@ Label_DE46: sta Zp02 ; CPU:$DE54 PRG:1E54 85 02 tya ; CPU:$DE56 PRG:1E56 98 jsr $E8DE ; CPU:$DE57 PRG:1E57 20 DE E8 - beq Label_DEAD ; CPU:$DE5A PRG:1E5A F0 51 + beq SubCDEA7_Block_DEAD ; CPU:$DE5A PRG:1E5A F0 51 lda #$F0 ; CPU:$DE5C PRG:1E5C A9 F0 sta Zp01 ; CPU:$DE5E PRG:1E5E 85 01 sta Zp02 ; CPU:$DE60 PRG:1E60 85 02 lda Zp9C ; CPU:$DE62 PRG:1E62 A5 9C jsr $E8DE ; CPU:$DE64 PRG:1E64 20 DE E8 - bne Label_DE6E ; CPU:$DE67 PRG:1E67 D0 05 + bne SubCDE46_Block_DE6E ; CPU:$DE67 PRG:1E67 D0 05 lda #$63 ; CPU:$DE69 PRG:1E69 A9 63 jmp $DE70 ; CPU:$DE6B PRG:1E6B 4C 70 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE6E +; Routine: SubCDE46_Block_DE6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7259,10 +7260,10 @@ Label_DE46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE6E: +SubCDE46_Block_DE6E: lda #$5D ; CPU:$DE6E PRG:1E6E A9 5D ; ----------------------------------------------------------------------------- -; Routine: Label_DE70 +; Routine: SubCDE70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7270,15 +7271,15 @@ Label_DE6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE70: +SubCDE70: sta Zp02 ; CPU:$DE70 PRG:1E70 85 02 lda Zp93 ; CPU:$DE72 PRG:1E72 A5 93 and #$01 ; CPU:$DE74 PRG:1E74 29 01 - bne Label_DE7D ; CPU:$DE76 PRG:1E76 D0 05 + bne SubCDE70_Block_DE7D ; CPU:$DE76 PRG:1E76 D0 05 lda #$FF ; CPU:$DE78 PRG:1E78 A9 FF jmp $DE7F ; CPU:$DE7A PRG:1E7A 4C 7F DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE7D +; Routine: SubCDE70_Block_DE7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7286,10 +7287,10 @@ Label_DE70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7D: +SubCDE70_Block_DE7D: lda #$01 ; CPU:$DE7D PRG:1E7D A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DE7F +; Routine: SubCDE7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7297,13 +7298,13 @@ Label_DE7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7F: +SubCDE7F: clc ; CPU:$DE7F PRG:1E7F 18 adc Zp97 ; CPU:$DE80 PRG:1E80 65 97 sta Zp97 ; CPU:$DE82 PRG:1E82 85 97 jmp $DEA7 ; CPU:$DE84 PRG:1E84 4C A7 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE87 +; Routine: SubCDE7F_Block_DE87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7311,13 +7312,13 @@ Label_DE7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE87: +SubCDE7F_Block_DE87: cmp #$1C ; CPU:$DE87 PRG:1E87 C9 1C - bne Label_DE8F ; CPU:$DE89 PRG:1E89 D0 04 + bne SubCDE7F_Block_DE8F ; CPU:$DE89 PRG:1E89 D0 04 lda #$08 ; CPU:$DE8B PRG:1E8B A9 08 sta ZpFF ; CPU:$DE8D PRG:1E8D 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_DE8F +; Routine: SubCDE7F_Block_DE8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7325,15 +7326,15 @@ Label_DE87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE8F: +SubCDE7F_Block_DE8F: cmp #$2C ; CPU:$DE8F PRG:1E8F C9 2C - bpl Label_DEB0 ; CPU:$DE91 PRG:1E91 10 1D + bpl SubCDEA7_Block_DEB0 ; CPU:$DE91 PRG:1E91 10 1D cmp #$24 ; CPU:$DE93 PRG:1E93 C9 24 - bpl Label_DE9C ; CPU:$DE95 PRG:1E95 10 05 + bpl SubCDE7F_Block_DE9C ; CPU:$DE95 PRG:1E95 10 05 lda #$FE ; CPU:$DE97 PRG:1E97 A9 FE jmp $DE9E ; CPU:$DE99 PRG:1E99 4C 9E DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE9C +; Routine: SubCDE7F_Block_DE9C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7341,10 +7342,10 @@ Label_DE8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9C: +SubCDE7F_Block_DE9C: lda #$02 ; CPU:$DE9C PRG:1E9C A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DE9E +; Routine: SubCDE9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7352,14 +7353,14 @@ Label_DE9C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9E: +SubCDE9E: clc ; CPU:$DE9E PRG:1E9E 18 adc Zp98 ; CPU:$DE9F PRG:1E9F 65 98 sta Zp98 ; CPU:$DEA1 PRG:1EA1 85 98 lda #$6F ; CPU:$DEA3 PRG:1EA3 A9 6F sta Zp02 ; CPU:$DEA5 PRG:1EA5 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA7 +; Routine: SubCDEA7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7367,11 +7368,11 @@ Label_DE9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA7: +SubCDEA7: jsr $E8CC ; CPU:$DEA7 PRG:1EA7 20 CC E8 jsr $E7F2 ; CPU:$DEAA PRG:1EAA 20 F2 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAD +; Routine: SubCDEA7_Block_DEAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7379,11 +7380,11 @@ Label_DEA7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAD: +SubCDEA7_Block_DEAD: inc Zp9C ; CPU:$DEAD PRG:1EAD E6 9C rts ; CPU:$DEAF PRG:1EAF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEB0 +; Routine: SubCDEA7_Block_DEB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7391,11 +7392,11 @@ Label_DEAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB0: +SubCDEA7_Block_DEB0: jsr $DD1D ; CPU:$DEB0 PRG:1EB0 20 1D DD jmp $E7C3 ; CPU:$DEB3 PRG:1EB3 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DEB6 +; Routine: SubCDEB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7403,15 +7404,15 @@ Label_DEB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEB6: +SubCDEB6: ldx #$FF ; CPU:$DEB6 PRG:1EB6 A2 FF lda Zp93 ; CPU:$DEB8 PRG:1EB8 A5 93 and #$01 ; CPU:$DEBA PRG:1EBA 29 01 tay ; CPU:$DEBC PRG:1EBC A8 - beq Label_DEC1 ; CPU:$DEBD PRG:1EBD F0 02 + beq SubCDEB6_Block_DEC1 ; CPU:$DEBD PRG:1EBD F0 02 ldx #$01 ; CPU:$DEBF PRG:1EBF A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DEC1 +; Routine: SubCDEB6_Block_DEC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7419,24 +7420,24 @@ Label_DEB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEC1: +SubCDEB6_Block_DEC1: stx Zp0A ; CPU:$DEC1 PRG:1EC1 86 0A lda Zp9C ; CPU:$DEC3 PRG:1EC3 A5 9C cmp #$40 ; CPU:$DEC5 PRG:1EC5 C9 40 - bpl Label_DF13 ; CPU:$DEC7 PRG:1EC7 10 4A + bpl SubCDEFC_Block_DF13 ; CPU:$DEC7 PRG:1EC7 10 4A cmp #$14 ; CPU:$DEC9 PRG:1EC9 C9 14 - bmi Label_DEF4 ; CPU:$DECB PRG:1ECB 30 27 + bmi SubCDEE4_Block_DEF4 ; CPU:$DECB PRG:1ECB 30 27 lda #$02 ; CPU:$DECD PRG:1ECD A9 02 sta ZpFE ; CPU:$DECF PRG:1ECF 85 FE lda Zp9C ; CPU:$DED1 PRG:1ED1 A5 9C and #$08 ; CPU:$DED3 PRG:1ED3 29 08 - beq Label_DEE0 ; CPU:$DED5 PRG:1ED5 F0 09 + beq SubCDEB6_Block_DEE0 ; CPU:$DED5 PRG:1ED5 F0 09 lda #$00 ; CPU:$DED7 PRG:1ED7 A9 00 sta ZpA0 ; CPU:$DED9 PRG:1ED9 85 A0 lda #$7B ; CPU:$DEDB PRG:1EDB A9 7B jmp $DEE4 ; CPU:$DEDD PRG:1EDD 4C E4 DE ; ----------------------------------------------------------------------------- -; Routine: Label_DEE0 +; Routine: SubCDEB6_Block_DEE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7444,11 +7445,11 @@ Label_DEC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEE0: +SubCDEB6_Block_DEE0: inc ZpA0 ; CPU:$DEE0 PRG:1EE0 E6 A0 lda #$75 ; CPU:$DEE2 PRG:1EE2 A9 75 ; ----------------------------------------------------------------------------- -; Routine: Label_DEE4 +; Routine: SubCDEE4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7456,7 +7457,7 @@ Label_DEE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEE4: +SubCDEE4: sta Zp02 ; CPU:$DEE4 PRG:1EE4 85 02 lda Zp98 ; CPU:$DEE6 PRG:1EE6 A5 98 clc ; CPU:$DEE8 PRG:1EE8 18 @@ -7466,7 +7467,7 @@ Label_DEE4: sta Zp75 ; CPU:$DEEF PRG:1EEF 85 75 jmp $DEFC ; CPU:$DEF1 PRG:1EF1 4C FC DE ; ----------------------------------------------------------------------------- -; Routine: Label_DEF4 +; Routine: SubCDEE4_Block_DEF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7474,13 +7475,13 @@ Label_DEE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEF4: +SubCDEE4_Block_DEF4: lda #$69 ; CPU:$DEF4 PRG:1EF4 A9 69 sta Zp02 ; CPU:$DEF6 PRG:1EF6 85 02 lda Zp98 ; CPU:$DEF8 PRG:1EF8 A5 98 sta Zp01 ; CPU:$DEFA PRG:1EFA 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DEFC +; Routine: SubCDEFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7488,16 +7489,16 @@ Label_DEF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEFC: +SubCDEFC: lda ZpA0 ; CPU:$DEFC PRG:1EFC A5 A0 cmp #$01 ; CPU:$DEFE PRG:1EFE C9 01 - bne Label_DF09 ; CPU:$DF00 PRG:1F00 D0 07 + bne SubCDEFC_Block_DF09 ; CPU:$DF00 PRG:1F00 D0 07 lda Zp0A ; CPU:$DF02 PRG:1F02 A5 0A clc ; CPU:$DF04 PRG:1F04 18 adc Zp97 ; CPU:$DF05 PRG:1F05 65 97 sta Zp97 ; CPU:$DF07 PRG:1F07 85 97 ; ----------------------------------------------------------------------------- -; Routine: Label_DF09 +; Routine: SubCDEFC_Block_DF09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7505,14 +7506,14 @@ Label_DEFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF09: +SubCDEFC_Block_DF09: lda Zp97 ; CPU:$DF09 PRG:1F09 A5 97 sta Zp00 ; CPU:$DF0B PRG:1F0B 85 00 tya ; CPU:$DF0D PRG:1F0D 98 inc Zp9C ; CPU:$DF0E PRG:1F0E E6 9C jmp $E8F0 ; CPU:$DF10 PRG:1F10 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DF13 +; Routine: SubCDEFC_Block_DF13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7520,12 +7521,12 @@ Label_DF09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF13: +SubCDEFC_Block_DF13: lda #$00 ; CPU:$DF13 PRG:1F13 A9 00 sta ZpA0 ; CPU:$DF15 PRG:1F15 85 A0 jmp $E7C3 ; CPU:$DF17 PRG:1F17 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF1A +; Routine: SubCDF1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7533,12 +7534,12 @@ Label_DF13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF1A: +SubCDF1A: lda #$81 ; CPU:$DF1A PRG:1F1A A9 81 jsr $E8CA ; CPU:$DF1C PRG:1F1C 20 CA E8 lda Zp9C ; CPU:$DF1F PRG:1F1F A5 9C cmp #$70 ; CPU:$DF21 PRG:1F21 C9 70 - bcs Label_DF33 ; CPU:$DF23 PRG:1F23 B0 0E + bcs SubCDF1A_Block_DF33 ; CPU:$DF23 PRG:1F23 B0 0E and #$20 ; CPU:$DF25 PRG:1F25 29 20 lsr a ; CPU:$DF27 PRG:1F27 4A lsr a ; CPU:$DF28 PRG:1F28 4A @@ -7549,7 +7550,7 @@ Label_DF1A: inc Zp9C ; CPU:$DF2E PRG:1F2E E6 9C jmp $E7F2 ; CPU:$DF30 PRG:1F30 4C F2 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF33 +; Routine: SubCDF1A_Block_DF33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7557,11 +7558,11 @@ Label_DF1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF33: +SubCDF1A_Block_DF33: jsr $DD1D ; CPU:$DF33 PRG:1F33 20 1D DD jmp $E7C3 ; CPU:$DF36 PRG:1F36 4C C3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_DF39 +; Routine: SubCDF39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7569,9 +7570,9 @@ Label_DF33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF39: +SubCDF39: ldx Zp4C ; CPU:$DF39 PRG:1F39 A6 4C - beq Label_DF80 ; CPU:$DF3B PRG:1F3B F0 43 + beq SubCDF39_Block_DF80 ; CPU:$DF3B PRG:1F3B F0 43 lda #$00 ; CPU:$DF3D PRG:1F3D A9 00 jsr $CEDE ; CPU:$DF3F PRG:1F3F 20 DE CE lda Zp97 ; CPU:$DF42 PRG:1F42 A5 97 @@ -7589,7 +7590,7 @@ Label_DF39: lsr a ; CPU:$DF59 PRG:1F59 4A jsr $E8F0 ; CPU:$DF5A PRG:1F5A 20 F0 E8 lda $040B ; CPU:$DF5D PRG:1F5D AD 0B 04 - bne Label_DF70 ; CPU:$DF60 PRG:1F60 D0 0E + bne SubCDF39_Block_DF70 ; CPU:$DF60 PRG:1F60 D0 0E lda Zp92 ; CPU:$DF62 PRG:1F62 A5 92 clc ; CPU:$DF64 PRG:1F64 18 adc #$05 ; CPU:$DF65 PRG:1F65 69 05 @@ -7598,7 +7599,7 @@ Label_DF39: lda #$01 ; CPU:$DF6B PRG:1F6B A9 01 sta $040B ; CPU:$DF6D PRG:1F6D 8D 0B 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DF70 +; Routine: SubCDF39_Block_DF70 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7606,7 +7607,7 @@ Label_DF39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF70: +SubCDF39_Block_DF70: lda Zp97 ; CPU:$DF70 PRG:1F70 A5 97 sta ZpAF ; CPU:$DF72 PRG:1F72 85 AF lda Zp98 ; CPU:$DF74 PRG:1F74 A5 98 @@ -7616,7 +7617,7 @@ Label_DF70: lda #$02 ; CPU:$DF7B PRG:1F7B A9 02 jmp $E85F ; CPU:$DF7D PRG:1F7D 4C 5F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DF80 +; Routine: SubCDF39_Block_DF80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7624,7 +7625,7 @@ Label_DF70: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF80: +SubCDF39_Block_DF80: jsr $E7C3 ; CPU:$DF80 PRG:1F80 20 C3 E7 lda #$00 ; CPU:$DF83 PRG:1F83 A9 00 sta $040B ; CPU:$DF85 PRG:1F85 8D 0B 04 @@ -7632,7 +7633,7 @@ Label_DF80: sta ZpAF ; CPU:$DF8A PRG:1F8A 85 AF sta ZpB0 ; CPU:$DF8C PRG:1F8C 85 B0 ; ----------------------------------------------------------------------------- -; Routine: Label_DF8E +; Routine: SubCDF8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7640,14 +7641,14 @@ Label_DF80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF8E: +SubCDF8E: sta $0270 ; CPU:$DF8E PRG:1F8E 8D 70 02 sta $0274 ; CPU:$DF91 PRG:1F91 8D 74 02 sta $0278 ; CPU:$DF94 PRG:1F94 8D 78 02 sta $027C ; CPU:$DF97 PRG:1F97 8D 7C 02 rts ; CPU:$DF9A PRG:1F9A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DF9B +; Routine: SubCDF9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7655,10 +7656,10 @@ Label_DF8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DF9B: +SubCDF9B: lda Zp98 ; CPU:$DF9B PRG:1F9B A5 98 cmp #$D0 ; CPU:$DF9D PRG:1F9D C9 D0 - bcs Label_DFC6 ; CPU:$DF9F PRG:1F9F B0 25 + bcs SubCDF9B_Block_DFC6 ; CPU:$DF9F PRG:1F9F B0 25 lda #$03 ; CPU:$DFA1 PRG:1FA1 A9 03 sta Zp01 ; CPU:$DFA3 PRG:1FA3 85 01 lda #$FD ; CPU:$DFA5 PRG:1FA5 A9 FD @@ -7677,7 +7678,7 @@ Label_DF9B: inc ZpA4 ; CPU:$DFC1 PRG:1FC1 E6 A4 jmp $E8F0 ; CPU:$DFC3 PRG:1FC3 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DFC6 +; Routine: SubCDF9B_Block_DFC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7685,15 +7686,15 @@ Label_DF9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFC6: +SubCDF9B_Block_DFC6: lda Zp76 ; CPU:$DFC6 PRG:1FC6 A5 76 - bne Label_DFD3 ; CPU:$DFC8 PRG:1FC8 D0 09 + bne SubCDF9B_Block_DFD3 ; CPU:$DFC8 PRG:1FC8 D0 09 ldx #$0A ; CPU:$DFCA PRG:1FCA A2 0A jsr $CEB0 ; CPU:$DFCC PRG:1FCC 20 B0 CE lda #$01 ; CPU:$DFCF PRG:1FCF A9 01 sta ZpFE ; CPU:$DFD1 PRG:1FD1 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_DFD3 +; Routine: SubCDF9B_Block_DFD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7701,14 +7702,14 @@ Label_DFC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFD3: +SubCDF9B_Block_DFD3: lda #$02 ; CPU:$DFD3 PRG:1FD3 A9 02 sta Zp76 ; CPU:$DFD5 PRG:1FD5 85 76 lda Zp97 ; CPU:$DFD7 PRG:1FD7 A5 97 sta Zp77 ; CPU:$DFD9 PRG:1FD9 85 77 rts ; CPU:$DFDB PRG:1FDB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DFDC +; Routine: SubCDFDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7716,9 +7717,9 @@ Label_DFD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFDC: +SubCDFDC: tax ; CPU:$DFDC PRG:1FDC AA - bne Label_DFF4 ; CPU:$DFDD PRG:1FDD D0 15 + bne SubCDFDC_Block_DFF4 ; CPU:$DFDD PRG:1FDD D0 15 lda Zp01 ; CPU:$DFDF PRG:1FDF A5 01 jsr $E046 ; CPU:$DFE1 PRG:1FE1 20 46 E0 sta Zp01 ; CPU:$DFE4 PRG:1FE4 85 01 @@ -7729,7 +7730,7 @@ Label_DFDC: jsr $E046 ; CPU:$DFEF PRG:1FEF 20 46 E0 sta Zp03 ; CPU:$DFF2 PRG:1FF2 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DFF4 +; Routine: SubCDFDC_Block_DFF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7737,17 +7738,17 @@ Label_DFDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DFF4: +SubCDFDC_Block_DFF4: lda Zp97 ; CPU:$DFF4 PRG:1FF4 A5 97 cmp #$10 ; CPU:$DFF6 PRG:1FF6 C9 10 - bcc Label_E02F ; CPU:$DFF8 PRG:1FF8 90 35 + bcc SubCDFDC_Block_E02F ; CPU:$DFF8 PRG:1FF8 90 35 cmp #$E0 ; CPU:$DFFA PRG:1FFA C9 E0 - bcs Label_E02F ; CPU:$DFFC PRG:1FFC B0 31 + bcs SubCDFDC_Block_E02F ; CPU:$DFFC PRG:1FFC B0 31 lda ZpA5 ; CPU:$DFFE PRG:1FFE A5 A5 cmp #$02 ; CPU:$E000 PRG:2000 C9 02 - beq Label_E01E ; CPU:$E002 PRG:2002 F0 1A + beq SubCDFDC_Block_E01E ; CPU:$E002 PRG:2002 F0 1A cmp #$01 ; CPU:$E004 PRG:2004 C9 01 - beq Label_E012 ; CPU:$E006 PRG:2006 F0 0A + beq SubCDFDC_Block_E012 ; CPU:$E006 PRG:2006 F0 0A lda Zp01 ; CPU:$E008 PRG:2008 A5 01 clc ; CPU:$E00A PRG:200A 18 adc Zp97 ; CPU:$E00B PRG:200B 65 97 @@ -7755,7 +7756,7 @@ Label_DFF4: dec Zp98 ; CPU:$E00F PRG:200F C6 98 rts ; CPU:$E011 PRG:2011 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E012 +; Routine: SubCDFDC_Block_E012 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7763,7 +7764,7 @@ Label_DFF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E012: +SubCDFDC_Block_E012: lda Zp97 ; CPU:$E012 PRG:2012 A5 97 clc ; CPU:$E014 PRG:2014 18 adc Zp02 ; CPU:$E015 PRG:2015 65 02 @@ -7773,7 +7774,7 @@ Label_E012: tax ; CPU:$E01C PRG:201C AA rts ; CPU:$E01D PRG:201D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E01E +; Routine: SubCDFDC_Block_E01E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7781,7 +7782,7 @@ Label_E012: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E01E: +SubCDFDC_Block_E01E: lda Zp97 ; CPU:$E01E PRG:201E A5 97 clc ; CPU:$E020 PRG:2020 18 adc Zp03 ; CPU:$E021 PRG:2021 65 03 @@ -7794,7 +7795,7 @@ Label_E01E: tax ; CPU:$E02D PRG:202D AA rts ; CPU:$E02E PRG:202E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E02F +; Routine: SubCDFDC_Block_E02F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7802,17 +7803,17 @@ Label_E01E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E02F: +SubCDFDC_Block_E02F: lda #$02 ; CPU:$E02F PRG:202F A9 02 sta ZpFF ; CPU:$E031 PRG:2031 85 FF inc ZpA5 ; CPU:$E033 PRG:2033 E6 A5 ldx #$05 ; CPU:$E035 PRG:2035 A2 05 lda Zp97 ; CPU:$E037 PRG:2037 A5 97 cmp #$10 ; CPU:$E039 PRG:2039 C9 10 - bcc Label_E03F ; CPU:$E03B PRG:203B 90 02 + bcc SubCDFDC_Block_E03F ; CPU:$E03B PRG:203B 90 02 ldx #$FB ; CPU:$E03D PRG:203D A2 FB ; ----------------------------------------------------------------------------- -; Routine: Label_E03F +; Routine: SubCDFDC_Block_E03F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7820,14 +7821,14 @@ Label_E02F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E03F: +SubCDFDC_Block_E03F: txa ; CPU:$E03F PRG:203F 8A clc ; CPU:$E040 PRG:2040 18 adc Zp97 ; CPU:$E041 PRG:2041 65 97 sta Zp97 ; CPU:$E043 PRG:2043 85 97 rts ; CPU:$E045 PRG:2045 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E046 +; Routine: SubCE046 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7835,13 +7836,13 @@ Label_E03F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E046: +SubCE046: eor #$FF ; CPU:$E046 PRG:2046 49 FF clc ; CPU:$E048 PRG:2048 18 adc #$01 ; CPU:$E049 PRG:2049 69 01 rts ; CPU:$E04B PRG:204B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E04C +; Routine: SubCE04C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7849,13 +7850,13 @@ Label_E046: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E04C: +SubCE04C: lda ZpB7 ; CPU:$E04C PRG:204C A5 B7 cmp #$08 ; CPU:$E04E PRG:204E C9 08 - bmi Label_E053 ; CPU:$E050 PRG:2050 30 01 + bmi SubCE04C_Block_E053 ; CPU:$E050 PRG:2050 30 01 rts ; CPU:$E052 PRG:2052 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E053 +; Routine: SubCE04C_Block_E053 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7863,17 +7864,17 @@ Label_E04C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E053: +SubCE04C_Block_E053: ldx Zp65 ; CPU:$E053 PRG:2053 A6 65 lda Zp6E ; CPU:$E055 PRG:2055 A5 6E cmp $C4B8,x ; CPU:$E057 PRG:2057 DD B8 C4 - bmi Label_E066 ; CPU:$E05A PRG:205A 30 0A + bmi SubCE04C_Block_E066 ; CPU:$E05A PRG:205A 30 0A lda ZpAA ; CPU:$E05C PRG:205C A5 AA cmp #$90 ; CPU:$E05E PRG:205E C9 90 - beq Label_E065 ; CPU:$E060 PRG:2060 F0 03 + beq SubCE04C_Block_E065 ; CPU:$E060 PRG:2060 F0 03 jmp $E146 ; CPU:$E062 PRG:2062 4C 46 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E065 +; Routine: SubCE04C_Block_E065 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7881,10 +7882,10 @@ Label_E053: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E065: +SubCE04C_Block_E065: rts ; CPU:$E065 PRG:2065 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E066 +; Routine: SubCE04C_Block_E066 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7892,12 +7893,12 @@ Label_E065: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E066: +SubCE04C_Block_E066: lda ZpB6 ; CPU:$E066 PRG:2066 A5 B6 - beq Label_E06B ; CPU:$E068 PRG:2068 F0 01 + beq SubCE04C_Block_E06B ; CPU:$E068 PRG:2068 F0 01 rts ; CPU:$E06A PRG:206A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E06B +; Routine: SubCE04C_Block_E06B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7905,14 +7906,14 @@ Label_E066: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E06B: +SubCE04C_Block_E06B: lda ZpAC ; CPU:$E06B PRG:206B A5 AC - bne Label_E083 ; CPU:$E06D PRG:206D D0 14 + bne SubCE04C_Block_E083 ; CPU:$E06D PRG:206D D0 14 lda Zp3A ; CPU:$E06F PRG:206F A5 3A - beq Label_E076 ; CPU:$E071 PRG:2071 F0 03 + beq SubCE04C_Block_E076 ; CPU:$E071 PRG:2071 F0 03 jmp $E146 ; CPU:$E073 PRG:2073 4C 46 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E076 +; Routine: SubCE04C_Block_E076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7920,7 +7921,7 @@ Label_E06B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E076: +SubCE04C_Block_E076: lda #$80 ; CPU:$E076 PRG:2076 A9 80 sta Zp3A ; CPU:$E078 PRG:2078 85 3A lda #$00 ; CPU:$E07A PRG:207A A9 00 @@ -7929,7 +7930,7 @@ Label_E076: sta ZpAC ; CPU:$E080 PRG:2080 85 AC rts ; CPU:$E082 PRG:2082 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E083 +; Routine: SubCE04C_Block_E083 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7937,13 +7938,13 @@ Label_E076: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E083: +SubCE04C_Block_E083: lda ZpAB ; CPU:$E083 PRG:2083 A5 AB cmp #$21 ; CPU:$E085 PRG:2085 C9 21 - bmi Label_E08C ; CPU:$E087 PRG:2087 30 03 + bmi SubCE04C_Block_E08C ; CPU:$E087 PRG:2087 30 03 jmp $E12B ; CPU:$E089 PRG:2089 4C 2B E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E08C +; Routine: SubCE04C_Block_E08C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7951,12 +7952,12 @@ Label_E083: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E08C: +SubCE04C_Block_E08C: cmp #$20 ; CPU:$E08C PRG:208C C9 20 - beq Label_E093 ; CPU:$E08E PRG:208E F0 03 + beq SubCE04C_Block_E093 ; CPU:$E08E PRG:208E F0 03 jmp $E13A ; CPU:$E090 PRG:2090 4C 3A E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E093 +; Routine: SubCE04C_Block_E093 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7964,11 +7965,11 @@ Label_E08C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E093: +SubCE04C_Block_E093: ldx #$00 ; CPU:$E093 PRG:2093 A2 00 ldy #$00 ; CPU:$E095 PRG:2095 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E097 +; Routine: SubCE04C_Block_E097 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7976,20 +7977,20 @@ Label_E093: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E097: +SubCE04C_Block_E097: lda $02DC,x ; CPU:$E097 PRG:2097 BD DC 02 cmp #$FF ; CPU:$E09A PRG:209A C9 FF - beq Label_E0AA ; CPU:$E09C PRG:209C F0 0C + beq SubCE04C_Block_E0AA ; CPU:$E09C PRG:209C F0 0C inx ; CPU:$E09E PRG:209E E8 inx ; CPU:$E09F PRG:209F E8 inx ; CPU:$E0A0 PRG:20A0 E8 inx ; CPU:$E0A1 PRG:20A1 E8 iny ; CPU:$E0A2 PRG:20A2 C8 cpx #$20 ; CPU:$E0A3 PRG:20A3 E0 20 - bmi Label_E097 ; CPU:$E0A5 PRG:20A5 30 F0 + bmi SubCE04C_Block_E097 ; CPU:$E0A5 PRG:20A5 30 F0 jmp $E146 ; CPU:$E0A7 PRG:20A7 4C 46 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E0AA +; Routine: SubCE04C_Block_E0AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7997,15 +7998,15 @@ Label_E097: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0AA: +SubCE04C_Block_E0AA: sty Zp0F ; CPU:$E0AA PRG:20AA 84 0F lda ZpA9 ; CPU:$E0AC PRG:20AC A5 A9 and #$01 ; CPU:$E0AE PRG:20AE 29 01 - bne Label_E0B7 ; CPU:$E0B0 PRG:20B0 D0 05 + bne SubCE04C_Block_E0B7 ; CPU:$E0B0 PRG:20B0 D0 05 lda #$F8 ; CPU:$E0B2 PRG:20B2 A9 F8 jmp $E0B9 ; CPU:$E0B4 PRG:20B4 4C B9 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B7 +; Routine: SubCE04C_Block_E0B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8013,10 +8014,10 @@ Label_E0AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B7: +SubCE04C_Block_E0B7: lda #$08 ; CPU:$E0B7 PRG:20B7 A9 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B9 +; Routine: SubCE0B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8024,7 +8025,7 @@ Label_E0B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B9: +SubCE0B9: clc ; CPU:$E0B9 PRG:20B9 18 adc ZpAA ; CPU:$E0BA PRG:20BA 65 AA sta $02DF,x ; CPU:$E0BC PRG:20BC 9D DF 02 @@ -8036,11 +8037,11 @@ Label_E0B9: sta $02DE,x ; CPU:$E0CA PRG:20CA 9D DE 02 lda Zp64 ; CPU:$E0CD PRG:20CD A5 64 cmp #$04 ; CPU:$E0CF PRG:20CF C9 04 - bne Label_E0D8 ; CPU:$E0D1 PRG:20D1 D0 05 + bne SubCE0B9_Block_E0D8 ; CPU:$E0D1 PRG:20D1 D0 05 lda #$00 ; CPU:$E0D3 PRG:20D3 A9 00 sta $02DE,x ; CPU:$E0D5 PRG:20D5 9D DE 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D8 +; Routine: SubCE0B9_Block_E0D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8048,15 +8049,15 @@ Label_E0B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D8: +SubCE0B9_Block_E0D8: stx Zp0C ; CPU:$E0D8 PRG:20D8 86 0C ldx Zp64 ; CPU:$E0DA PRG:20DA A6 64 - bne Label_E0E4 ; CPU:$E0DC PRG:20DC D0 06 + bne SubCE0B9_Block_E0E4 ; CPU:$E0DC PRG:20DC D0 06 lda Zp7B ; CPU:$E0DE PRG:20DE A5 7B cmp #$05 ; CPU:$E0E0 PRG:20E0 C9 05 - bpl Label_E0F1 ; CPU:$E0E2 PRG:20E2 10 0D + bpl SubCE0B9_Block_E0F1 ; CPU:$E0E2 PRG:20E2 10 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E0E4 +; Routine: SubCE0B9_Block_E0E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8064,14 +8065,14 @@ Label_E0D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E4: +SubCE0B9_Block_E0E4: lda $C15C,x ; CPU:$E0E4 PRG:20E4 BD 5C C1 sta Zp00 ; CPU:$E0E7 PRG:20E7 85 00 lda $C15D,x ; CPU:$E0E9 PRG:20E9 BD 5D C1 sta Zp01 ; CPU:$E0EC PRG:20EC 85 01 jmp $E0FB ; CPU:$E0EE PRG:20EE 4C FB E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E0F1 +; Routine: SubCE0B9_Block_E0F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8079,13 +8080,13 @@ Label_E0E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0F1: +SubCE0B9_Block_E0F1: lda $C162 ; CPU:$E0F1 PRG:20F1 AD 62 C1 sta Zp00 ; CPU:$E0F4 PRG:20F4 85 00 lda $C163 ; CPU:$E0F6 PRG:20F6 AD 63 C1 sta Zp01 ; CPU:$E0F9 PRG:20F9 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E0FB +; Routine: SubCE0FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8093,7 +8094,7 @@ Label_E0F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0FB: +SubCE0FB: ldy Zp6E ; CPU:$E0FB PRG:20FB A4 6E ldx Zp0F ; CPU:$E0FD PRG:20FD A6 0F lda (Zp00),y ; CPU:$E0FF PRG:20FF B1 00 @@ -8107,7 +8108,7 @@ Label_E0FB: lsr a ; CPU:$E10F PRG:210F 4A tax ; CPU:$E110 PRG:2110 AA cpx #$02 ; CPU:$E111 PRG:2111 E0 02 - bne Label_E123 ; CPU:$E113 PRG:2113 D0 0E + bne SubCE0FB_Block_E123 ; CPU:$E113 PRG:2113 D0 0E lda Zp6E ; CPU:$E115 PRG:2115 A5 6E sec ; CPU:$E117 PRG:2117 38 sbc #$01 ; CPU:$E118 PRG:2118 E9 01 @@ -8116,7 +8117,7 @@ Label_E0FB: lda $C509,x ; CPU:$E11D PRG:211D BD 09 C5 jmp $E126 ; CPU:$E120 PRG:2120 4C 26 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E123 +; Routine: SubCE0FB_Block_E123 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8124,10 +8125,10 @@ Label_E0FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E123: +SubCE0FB_Block_E123: lda $C507,x ; CPU:$E123 PRG:2123 BD 07 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_E126 +; Routine: SubCE126 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8135,11 +8136,11 @@ Label_E123: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E126: +SubCE126: ldx Zp0C ; CPU:$E126 PRG:2126 A6 0C sta $02DD,x ; CPU:$E128 PRG:2128 9D DD 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E12B +; Routine: SubCE12B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8147,15 +8148,15 @@ Label_E126: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E12B: +SubCE12B: lda Zp43 ; CPU:$E12B PRG:212B A5 43 cmp #$D0 ; CPU:$E12D PRG:212D C9 D0 - bcc Label_E137 ; CPU:$E12F PRG:212F 90 06 + bcc SubCE12B_Block_E137 ; CPU:$E12F PRG:212F 90 06 lda ZpA9 ; CPU:$E131 PRG:2131 A5 A9 eor #$03 ; CPU:$E133 PRG:2133 49 03 sta ZpA9 ; CPU:$E135 PRG:2135 85 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E137 +; Routine: SubCE12B_Block_E137 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8163,10 +8164,10 @@ Label_E12B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E137: +SubCE12B_Block_E137: jmp $E7F7 ; CPU:$E137 PRG:2137 4C F7 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E13A +; Routine: SubCE13A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8174,7 +8175,7 @@ Label_E137: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E13A: +SubCE13A: lda Zp64 ; CPU:$E13A PRG:213A A5 64 lsr a ; CPU:$E13C PRG:213C 4A tax ; CPU:$E13D PRG:213D AA @@ -8182,7 +8183,7 @@ Label_E13A: sta Zp02 ; CPU:$E141 PRG:2141 85 02 jmp $E1A3 ; CPU:$E143 PRG:2143 4C A3 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E146 +; Routine: SubCE146 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8190,20 +8191,20 @@ Label_E13A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E146: +SubCE146: lda #$33 ; CPU:$E146 PRG:2146 A9 33 sta Zp01 ; CPU:$E148 PRG:2148 85 01 sta Zp02 ; CPU:$E14A PRG:214A 85 02 lda ZpAB ; CPU:$E14C PRG:214C A5 AB jsr $E8DE ; CPU:$E14E PRG:214E 20 DE E8 - beq Label_E1AA ; CPU:$E151 PRG:2151 F0 57 + beq SubCE1A3_Block_E1AA ; CPU:$E151 PRG:2151 F0 57 lda ZpAB ; CPU:$E153 PRG:2153 A5 AB cmp ZpAE ; CPU:$E155 PRG:2155 C5 AE - bpl Label_E15E ; CPU:$E157 PRG:2157 10 05 + bpl SubCE146_Block_E15E ; CPU:$E157 PRG:2157 10 05 lda ZpAD ; CPU:$E159 PRG:2159 A5 AD jmp $E177 ; CPU:$E15B PRG:215B 4C 77 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E15E +; Routine: SubCE146_Block_E15E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8211,7 +8212,7 @@ Label_E146: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E15E: +SubCE146_Block_E15E: lda ZpAE ; CPU:$E15E PRG:215E A5 AE clc ; CPU:$E160 PRG:2160 18 adc #$0A ; CPU:$E161 PRG:2161 69 0A @@ -8219,11 +8220,11 @@ Label_E15E: ldx Zp64 ; CPU:$E165 PRG:2165 A6 64 lda $C071,x ; CPU:$E167 PRG:2167 BD 71 C0 cmp ZpAD ; CPU:$E16A PRG:216A C5 AD - bne Label_E174 ; CPU:$E16C PRG:216C D0 06 + bne SubCE146_Block_E174 ; CPU:$E16C PRG:216C D0 06 lda $C072,x ; CPU:$E16E PRG:216E BD 72 C0 jmp $E177 ; CPU:$E171 PRG:2171 4C 77 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E174 +; Routine: SubCE146_Block_E174 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8231,10 +8232,10 @@ Label_E15E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E174: +SubCE146_Block_E174: lda $C071,x ; CPU:$E174 PRG:2174 BD 71 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E177 +; Routine: SubCE177 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8242,16 +8243,16 @@ Label_E174: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E177: +SubCE177: sta ZpAD ; CPU:$E177 PRG:2177 85 AD sta Zp02 ; CPU:$E179 PRG:2179 85 02 lda ZpA9 ; CPU:$E17B PRG:217B A5 A9 and #$01 ; CPU:$E17D PRG:217D 29 01 - beq Label_E186 ; CPU:$E17F PRG:217F F0 05 + beq SubCE177_Block_E186 ; CPU:$E17F PRG:217F F0 05 inc ZpAA ; CPU:$E181 PRG:2181 E6 AA jmp $E188 ; CPU:$E183 PRG:2183 4C 88 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E186 +; Routine: SubCE177_Block_E186 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8259,10 +8260,10 @@ Label_E177: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E186: +SubCE177_Block_E186: dec ZpAA ; CPU:$E186 PRG:2186 C6 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E188 +; Routine: SubCE188 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8270,17 +8271,17 @@ Label_E186: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E188: +SubCE188: txa ; CPU:$E188 PRG:2188 8A lsr a ; CPU:$E189 PRG:2189 4A tax ; CPU:$E18A PRG:218A AA lda ZpAA ; CPU:$E18B PRG:218B A5 AA cmp $C4B5,x ; CPU:$E18D PRG:218D DD B5 C4 - bcs Label_E197 ; CPU:$E190 PRG:2190 B0 05 + bcs SubCE188_Block_E197 ; CPU:$E190 PRG:2190 B0 05 inc ZpAA ; CPU:$E192 PRG:2192 E6 AA jmp $E19D ; CPU:$E194 PRG:2194 4C 9D E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E197 +; Routine: SubCE188_Block_E197 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8288,12 +8289,12 @@ Label_E188: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E197: +SubCE188_Block_E197: cmp #$B0 ; CPU:$E197 PRG:2197 C9 B0 - bcc Label_E1A3 ; CPU:$E199 PRG:2199 90 08 + bcc SubCE1A3 ; CPU:$E199 PRG:2199 90 08 dec ZpAA ; CPU:$E19B PRG:219B C6 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E19D +; Routine: SubCE19D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8301,12 +8302,12 @@ Label_E197: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E19D: +SubCE19D: lda ZpA9 ; CPU:$E19D PRG:219D A5 A9 eor #$03 ; CPU:$E19F PRG:219F 49 03 sta ZpA9 ; CPU:$E1A1 PRG:21A1 85 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E1A3 +; Routine: SubCE1A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8314,12 +8315,12 @@ Label_E19D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1A3: +SubCE1A3: lda ZpA9 ; CPU:$E1A3 PRG:21A3 A5 A9 and #$01 ; CPU:$E1A5 PRG:21A5 29 01 jsr $E812 ; CPU:$E1A7 PRG:21A7 20 12 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E1AA +; Routine: SubCE1A3_Block_E1AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8327,11 +8328,11 @@ Label_E1A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AA: +SubCE1A3_Block_E1AA: inc ZpAB ; CPU:$E1AA PRG:21AA E6 AB rts ; CPU:$E1AC PRG:21AC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E1AD +; Routine: SubCE1AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8339,11 +8340,11 @@ Label_E1AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AD: +SubCE1AD: ldx #$00 ; CPU:$E1AD PRG:21AD A2 00 stx $040A ; CPU:$E1AF PRG:21AF 8E 0A 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E1B2 +; Routine: SubCE1AD_Block_E1B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8351,17 +8352,17 @@ Label_E1AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1B2: +SubCE1AD_Block_E1B2: lda $0223,x ; CPU:$E1B2 PRG:21B2 BD 23 02 cmp #$FF ; CPU:$E1B5 PRG:21B5 C9 FF - beq Label_E1C4 ; CPU:$E1B7 PRG:21B7 F0 0B + beq SubCE1AD_Block_E1C4 ; CPU:$E1B7 PRG:21B7 F0 0B lda $0221,x ; CPU:$E1B9 PRG:21B9 BD 21 02 cmp #$A9 ; CPU:$E1BC PRG:21BC C9 A9 - bne Label_E1D2 ; CPU:$E1BE PRG:21BE D0 12 + bne SubCE1AD_Block_E1D2 ; CPU:$E1BE PRG:21BE D0 12 lda Zp3E ; CPU:$E1C0 PRG:21C0 A5 3E - bne Label_E1F9 ; CPU:$E1C2 PRG:21C2 D0 35 + bne SubCE1F9 ; CPU:$E1C2 PRG:21C2 D0 35 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C4 +; Routine: SubCE1AD_Block_E1C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8369,14 +8370,14 @@ Label_E1B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C4: +SubCE1AD_Block_E1C4: lda #$FF ; CPU:$E1C4 PRG:21C4 A9 FF sta $0220,x ; CPU:$E1C6 PRG:21C6 9D 20 02 sta $0221,x ; CPU:$E1C9 PRG:21C9 9D 21 02 sta $0223,x ; CPU:$E1CC PRG:21CC 9D 23 02 jmp $E1F9 ; CPU:$E1CF PRG:21CF 4C F9 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1D2 +; Routine: SubCE1AD_Block_E1D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8384,7 +8385,7 @@ Label_E1C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1D2: +SubCE1AD_Block_E1D2: sta $040A ; CPU:$E1D2 PRG:21D2 8D 0A 04 lda $0222,x ; CPU:$E1D5 PRG:21D5 BD 22 02 and #$3F ; CPU:$E1D8 PRG:21D8 29 3F @@ -8397,11 +8398,11 @@ Label_E1D2: sta $0222,x ; CPU:$E1E7 PRG:21E7 9D 22 02 lda ZpE2 ; CPU:$E1EA PRG:21EA A5 E2 and #$80 ; CPU:$E1EC PRG:21EC 29 80 - beq Label_E1F6 ; CPU:$E1EE PRG:21EE F0 06 + beq SubCE1AD_Block_E1F6 ; CPU:$E1EE PRG:21EE F0 06 dec $0223,x ; CPU:$E1F0 PRG:21F0 DE 23 02 jmp $E1F9 ; CPU:$E1F3 PRG:21F3 4C F9 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F6 +; Routine: SubCE1AD_Block_E1F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8409,10 +8410,10 @@ Label_E1D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F6: +SubCE1AD_Block_E1F6: inc $0223,x ; CPU:$E1F6 PRG:21F6 FE 23 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E1F9 +; Routine: SubCE1F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8420,16 +8421,16 @@ Label_E1F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1F9: +SubCE1F9: inx ; CPU:$E1F9 PRG:21F9 E8 inx ; CPU:$E1FA PRG:21FA E8 inx ; CPU:$E1FB PRG:21FB E8 inx ; CPU:$E1FC PRG:21FC E8 cpx #$10 ; CPU:$E1FD PRG:21FD E0 10 - bmi Label_E1B2 ; CPU:$E1FF PRG:21FF 30 B1 + bmi SubCE1AD_Block_E1B2 ; CPU:$E1FF PRG:21FF 30 B1 rts ; CPU:$E201 PRG:2201 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E202 +; Routine: SubCE202 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8437,22 +8438,22 @@ Label_E1F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E202: +SubCE202: lda Zp6F ; CPU:$E202 PRG:2202 A5 6F - beq Label_E238 ; CPU:$E204 PRG:2204 F0 32 + beq SubCE229_Block_E238 ; CPU:$E204 PRG:2204 F0 32 lda Zp45 ; CPU:$E206 PRG:2206 A5 45 - bne Label_E238 ; CPU:$E208 PRG:2208 D0 2E + bne SubCE229_Block_E238 ; CPU:$E208 PRG:2208 D0 2E lda #$20 ; CPU:$E20A PRG:220A A9 20 sta Zp45 ; CPU:$E20C PRG:220C 85 45 lda Zp6F ; CPU:$E20E PRG:220E A5 6F and #$02 ; CPU:$E210 PRG:2210 29 02 - bne Label_E220 ; CPU:$E212 PRG:2212 D0 0C + bne SubCE202_Block_E220 ; CPU:$E212 PRG:2212 D0 0C jsr $E246 ; CPU:$E214 PRG:2214 20 46 E2 jsr $E253 ; CPU:$E217 PRG:2217 20 53 E2 jsr $E239 ; CPU:$E21A PRG:221A 20 39 E2 jmp $E229 ; CPU:$E21D PRG:221D 4C 29 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E220 +; Routine: SubCE202_Block_E220 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8460,12 +8461,12 @@ Label_E202: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E220: +SubCE202_Block_E220: jsr $E239 ; CPU:$E220 PRG:2220 20 39 E2 jsr $E253 ; CPU:$E223 PRG:2223 20 53 E2 jsr $E246 ; CPU:$E226 PRG:2226 20 46 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E229 +; Routine: SubCE229 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8473,16 +8474,16 @@ Label_E220: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E229: +SubCE229: jsr $E25E ; CPU:$E229 PRG:2229 20 5E E2 lda Zp64 ; CPU:$E22C PRG:222C A5 64 cmp #$02 ; CPU:$E22E PRG:222E C9 02 - beq Label_E238 ; CPU:$E230 PRG:2230 F0 06 + beq SubCE229_Block_E238 ; CPU:$E230 PRG:2230 F0 06 lda Zp6F ; CPU:$E232 PRG:2232 A5 6F eor #$06 ; CPU:$E234 PRG:2234 49 06 sta Zp6F ; CPU:$E236 PRG:2236 85 6F ; ----------------------------------------------------------------------------- -; Routine: Label_E238 +; Routine: SubCE229_Block_E238 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8490,10 +8491,10 @@ Label_E229: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E238: +SubCE229_Block_E238: rts ; CPU:$E238 PRG:2238 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E239 +; Routine: SubCE239 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8501,7 +8502,7 @@ Label_E238: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E239: +SubCE239: ldx Zp64 ; CPU:$E239 PRG:2239 A6 64 lda $C3DD,x ; CPU:$E23B PRG:223B BD DD C3 sta Zp00 ; CPU:$E23E PRG:223E 85 00 @@ -8509,7 +8510,7 @@ Label_E239: sta Zp01 ; CPU:$E243 PRG:2243 85 01 rts ; CPU:$E245 PRG:2245 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E246 +; Routine: SubCE246 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8517,7 +8518,7 @@ Label_E239: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E246: +SubCE246: ldx Zp64 ; CPU:$E246 PRG:2246 A6 64 lda $C3E3,x ; CPU:$E248 PRG:2248 BD E3 C3 sta Zp00 ; CPU:$E24B PRG:224B 85 00 @@ -8525,7 +8526,7 @@ Label_E246: sta Zp01 ; CPU:$E250 PRG:2250 85 01 rts ; CPU:$E252 PRG:2252 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E253 +; Routine: SubCE253 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8533,13 +8534,13 @@ Label_E246: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E253: +SubCE253: lda $C3D1,x ; CPU:$E253 PRG:2253 BD D1 C3 sta Zp02 ; CPU:$E256 PRG:2256 85 02 lda $C3D2,x ; CPU:$E258 PRG:2258 BD D2 C3 jmp $E266 ; CPU:$E25B PRG:225B 4C 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E25E +; Routine: SubCE25E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8547,12 +8548,12 @@ Label_E253: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E25E: +SubCE25E: lda $C3D7,x ; CPU:$E25E PRG:225E BD D7 C3 sta Zp02 ; CPU:$E261 PRG:2261 85 02 lda $C3D8,x ; CPU:$E263 PRG:2263 BD D8 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E266 +; Routine: SubCE266 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8560,11 +8561,11 @@ Label_E25E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E266: +SubCE266: sta Zp03 ; CPU:$E266 PRG:2266 85 03 jmp $EDF9 ; CPU:$E268 PRG:2268 4C F9 ED ; ----------------------------------------------------------------------------- -; Routine: Label_E26B +; Routine: SubCE26B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8572,9 +8573,9 @@ Label_E266: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E26B: +SubCE26B: lda ZpE0 ; CPU:$E26B PRG:226B A5 E0 - bne Label_E2A9 ; CPU:$E26D PRG:226D D0 3A + bne SubCE29C_Block_E2A9 ; CPU:$E26D PRG:226D D0 3A ldx Zp64 ; CPU:$E26F PRG:226F A6 64 lda $C1FF,x ; CPU:$E271 PRG:2271 BD FF C1 sta Zp00 ; CPU:$E274 PRG:2274 85 00 @@ -8592,7 +8593,7 @@ Label_E26B: ldy #$00 ; CPU:$E291 PRG:2291 A0 00 sty Zp0B ; CPU:$E293 PRG:2293 84 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E295 +; Routine: SubCE26B_Block_E295 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8600,12 +8601,12 @@ Label_E26B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E295: +SubCE26B_Block_E295: lda $02DC,y ; CPU:$E295 PRG:2295 B9 DC 02 cmp #$FF ; CPU:$E298 PRG:2298 C9 FF - bne Label_E2AA ; CPU:$E29A PRG:229A D0 0E + bne SubCE29C_Block_E2AA ; CPU:$E29A PRG:229A D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E29C +; Routine: SubCE29C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8613,7 +8614,7 @@ Label_E295: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29C: +SubCE29C: ldy Zp0B ; CPU:$E29C PRG:229C A4 0B iny ; CPU:$E29E PRG:229E C8 iny ; CPU:$E29F PRG:229F C8 @@ -8622,9 +8623,9 @@ Label_E29C: sty Zp0B ; CPU:$E2A2 PRG:22A2 84 0B inx ; CPU:$E2A4 PRG:22A4 E8 cpx #$08 ; CPU:$E2A5 PRG:22A5 E0 08 - bmi Label_E295 ; CPU:$E2A7 PRG:22A7 30 EC + bmi SubCE26B_Block_E295 ; CPU:$E2A7 PRG:22A7 30 EC ; ----------------------------------------------------------------------------- -; Routine: Label_E2A9 +; Routine: SubCE29C_Block_E2A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8632,10 +8633,10 @@ Label_E29C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A9: +SubCE29C_Block_E2A9: rts ; CPU:$E2A9 PRG:22A9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E2AA +; Routine: SubCE29C_Block_E2AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8643,12 +8644,12 @@ Label_E2A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2AA: +SubCE29C_Block_E2AA: sta Zp0A ; CPU:$E2AA PRG:22AA 85 0A cmp #$50 ; CPU:$E2AC PRG:22AC C9 50 - bcs Label_E2C2 ; CPU:$E2AE PRG:22AE B0 12 + bcs SubCE29C_Block_E2C2 ; CPU:$E2AE PRG:22AE B0 12 lda Zp64 ; CPU:$E2B0 PRG:22B0 A5 64 - bne Label_E2C2 ; CPU:$E2B2 PRG:22B2 D0 0E + bne SubCE29C_Block_E2C2 ; CPU:$E2B2 PRG:22B2 D0 0E lda #$10 ; CPU:$E2B4 PRG:22B4 A9 10 sta Zp0E ; CPU:$E2B6 PRG:22B6 85 0E lda #$01 ; CPU:$E2B8 PRG:22B8 A9 01 @@ -8656,7 +8657,7 @@ Label_E2AA: jsr $E38F ; CPU:$E2BC PRG:22BC 20 8F E3 jmp $E354 ; CPU:$E2BF PRG:22BF 4C 54 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E2C2 +; Routine: SubCE29C_Block_E2C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8664,17 +8665,17 @@ Label_E2AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2C2: +SubCE29C_Block_E2C2: ldy Zp0B ; CPU:$E2C2 PRG:22C2 A4 0B lda $02DC,y ; CPU:$E2C4 PRG:22C4 B9 DC 02 cmp #$CA ; CPU:$E2C7 PRG:22C7 C9 CA - bcc Label_E2E3 ; CPU:$E2C9 PRG:22C9 90 18 + bcc SubCE29C_Block_E2E3 ; CPU:$E2C9 PRG:22C9 90 18 cmp #$EF ; CPU:$E2CB PRG:22CB C9 EF - bcs Label_E2D3 ; CPU:$E2CD PRG:22CD B0 04 + bcs SubCE29C_Block_E2D3 ; CPU:$E2CD PRG:22CD B0 04 lda #$40 ; CPU:$E2CF PRG:22CF A9 40 sta ZpFC ; CPU:$E2D1 PRG:22D1 85 FC ; ----------------------------------------------------------------------------- -; Routine: Label_E2D3 +; Routine: SubCE29C_Block_E2D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8682,7 +8683,7 @@ Label_E2C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D3: +SubCE29C_Block_E2D3: lda #$00 ; CPU:$E2D3 PRG:22D3 A9 00 sta ZpD8,x ; CPU:$E2D5 PRG:22D5 95 D8 sta ZpD0,x ; CPU:$E2D7 PRG:22D7 95 D0 @@ -8691,7 +8692,7 @@ Label_E2D3: jsr $E416 ; CPU:$E2DD PRG:22DD 20 16 E4 jmp $E29C ; CPU:$E2E0 PRG:22E0 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2E3 +; Routine: SubCE29C_Block_E2E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8699,7 +8700,7 @@ Label_E2D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2E3: +SubCE29C_Block_E2E3: lda ZpB8,x ; CPU:$E2E3 PRG:22E3 B5 B8 and #$F0 ; CPU:$E2E5 PRG:22E5 29 F0 lsr a ; CPU:$E2E7 PRG:22E7 4A @@ -8712,7 +8713,7 @@ Label_E2E3: and #$0F ; CPU:$E2F0 PRG:22F0 29 0F sta Zp09 ; CPU:$E2F2 PRG:22F2 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E2F4 +; Routine: SubCE2F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8720,15 +8721,15 @@ Label_E2E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2F4: +SubCE2F4: lda (Zp00),y ; CPU:$E2F4 PRG:22F4 B1 00 cmp Zp0A ; CPU:$E2F6 PRG:22F6 C5 0A - bcs Label_E300 ; CPU:$E2F8 PRG:22F8 B0 06 + bcs SubCE2F4_Block_E300 ; CPU:$E2F8 PRG:22F8 B0 06 iny ; CPU:$E2FA PRG:22FA C8 sty Zp08 ; CPU:$E2FB PRG:22FB 84 08 jmp $E2F4 ; CPU:$E2FD PRG:22FD 4C F4 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E300 +; Routine: SubCE2F4_Block_E300 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8736,19 +8737,19 @@ Label_E2F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E300: +SubCE2F4_Block_E300: lda Zp64 ; CPU:$E300 PRG:2300 A5 64 - bne Label_E32D ; CPU:$E302 PRG:2302 D0 29 + bne SubCE319_Block_E32D ; CPU:$E302 PRG:2302 D0 29 cpy #$04 ; CPU:$E304 PRG:2304 C0 04 - bpl Label_E32D ; CPU:$E306 PRG:2306 10 25 + bpl SubCE319_Block_E32D ; CPU:$E306 PRG:2306 10 25 lda (Zp00),y ; CPU:$E308 PRG:2308 B1 00 cpy #$00 ; CPU:$E30A PRG:230A C0 00 - bne Label_E314 ; CPU:$E30C PRG:230C D0 06 + bne SubCE2F4_Block_E314 ; CPU:$E30C PRG:230C D0 06 sec ; CPU:$E30E PRG:230E 38 sbc #$50 ; CPU:$E30F PRG:230F E9 50 jmp $E319 ; CPU:$E311 PRG:2311 4C 19 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E314 +; Routine: SubCE2F4_Block_E314 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8756,13 +8757,13 @@ Label_E300: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E314: +SubCE2F4_Block_E314: dey ; CPU:$E314 PRG:2314 88 sec ; CPU:$E315 PRG:2315 38 sbc (Zp00),y ; CPU:$E316 PRG:2316 F1 00 iny ; CPU:$E318 PRG:2318 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_E319 +; Routine: SubCE319 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8770,17 +8771,17 @@ Label_E314: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E319: +SubCE319: sta Zp0E ; CPU:$E319 PRG:2319 85 0E ldy Zp08 ; CPU:$E31B PRG:231B A4 08 lda (Zp02),y ; CPU:$E31D PRG:231D B1 02 sta Zp0F ; CPU:$E31F PRG:231F 85 0F lda Zp43 ; CPU:$E321 PRG:2321 A5 43 and #$01 ; CPU:$E323 PRG:2323 29 01 - beq Label_E32A ; CPU:$E325 PRG:2325 F0 03 + beq SubCE319_Block_E32A ; CPU:$E325 PRG:2325 F0 03 jsr $E38F ; CPU:$E327 PRG:2327 20 8F E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E32A +; Routine: SubCE319_Block_E32A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8788,10 +8789,10 @@ Label_E319: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E32A: +SubCE319_Block_E32A: jmp $E354 ; CPU:$E32A PRG:232A 4C 54 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E32D +; Routine: SubCE319_Block_E32D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8799,15 +8800,15 @@ Label_E32A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E32D: +SubCE319_Block_E32D: lda ZpC8,x ; CPU:$E32D PRG:232D B5 C8 clc ; CPU:$E32F PRG:232F 18 adc (Zp02),y ; CPU:$E330 PRG:2330 71 02 sta ZpC8,x ; CPU:$E332 PRG:2332 95 C8 - bcs Label_E339 ; CPU:$E334 PRG:2334 B0 03 + bcs SubCE319_Block_E339 ; CPU:$E334 PRG:2334 B0 03 jmp $E29C ; CPU:$E336 PRG:2336 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E339 +; Routine: SubCE319_Block_E339 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8815,7 +8816,7 @@ Label_E32D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E339: +SubCE319_Block_E339: ldy Zp08 ; CPU:$E339 PRG:2339 A4 08 lda (Zp04),y ; CPU:$E33B PRG:233B B1 04 sta Zp0D ; CPU:$E33D PRG:233D 85 0D @@ -8826,10 +8827,10 @@ Label_E339: adc #$01 ; CPU:$E348 PRG:2348 69 01 sta $02DC,y ; CPU:$E34A PRG:234A 99 DC 02 lda Zp64 ; CPU:$E34D PRG:234D A5 64 - beq Label_E354 ; CPU:$E34F PRG:234F F0 03 + beq SubCE354 ; CPU:$E34F PRG:234F F0 03 jmp $E29C ; CPU:$E351 PRG:2351 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E354 +; Routine: SubCE354 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8837,16 +8838,16 @@ Label_E339: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E354: +SubCE354: ldy Zp0B ; CPU:$E354 PRG:2354 A4 0B lda ZpC0,x ; CPU:$E356 PRG:2356 B5 C0 and #$01 ; CPU:$E358 PRG:2358 29 01 - bne Label_E364 ; CPU:$E35A PRG:235A D0 08 + bne SubCE354_Block_E364 ; CPU:$E35A PRG:235A D0 08 lda $02DE,y ; CPU:$E35C PRG:235C B9 DE 02 and #$3F ; CPU:$E35F PRG:235F 29 3F jmp $E36B ; CPU:$E361 PRG:2361 4C 6B E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E364 +; Routine: SubCE354_Block_E364 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8854,12 +8855,12 @@ Label_E354: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E364: +SubCE354_Block_E364: lda $02DE,y ; CPU:$E364 PRG:2364 B9 DE 02 and #$3F ; CPU:$E367 PRG:2367 29 3F ora #$40 ; CPU:$E369 PRG:2369 09 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E36B +; Routine: SubCE36B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8867,14 +8868,14 @@ Label_E364: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E36B: +SubCE36B: sta $02DE,y ; CPU:$E36B PRG:236B 99 DE 02 lda ZpD8,x ; CPU:$E36E PRG:236E B5 D8 - bne Label_E377 ; CPU:$E370 PRG:2370 D0 05 + bne SubCE36B_Block_E377 ; CPU:$E370 PRG:2370 D0 05 lda #$46 ; CPU:$E372 PRG:2372 A9 46 jmp $E387 ; CPU:$E374 PRG:2374 4C 87 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E377 +; Routine: SubCE36B_Block_E377 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8882,15 +8883,15 @@ Label_E36B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E377: +SubCE36B_Block_E377: ldy Zp0B ; CPU:$E377 PRG:2377 A4 0B lda $02DC,y ; CPU:$E379 PRG:2379 B9 DC 02 and #$04 ; CPU:$E37C PRG:237C 29 04 - bne Label_E385 ; CPU:$E37E PRG:237E D0 05 + bne SubCE36B_Block_E385 ; CPU:$E37E PRG:237E D0 05 lda #$47 ; CPU:$E380 PRG:2380 A9 47 jmp $E387 ; CPU:$E382 PRG:2382 4C 87 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E385 +; Routine: SubCE36B_Block_E385 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8898,10 +8899,10 @@ Label_E377: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E385: +SubCE36B_Block_E385: lda #$48 ; CPU:$E385 PRG:2385 A9 48 ; ----------------------------------------------------------------------------- -; Routine: Label_E387 +; Routine: SubCE387 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8909,12 +8910,12 @@ Label_E385: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E387: +SubCE387: ldy Zp0B ; CPU:$E387 PRG:2387 A4 0B sta $02DD,y ; CPU:$E389 PRG:2389 99 DD 02 jmp $E29C ; CPU:$E38C PRG:238C 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E38F +; Routine: SubCE38F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8922,23 +8923,23 @@ Label_E387: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E38F: +SubCE38F: lda Zp0E ; CPU:$E38F PRG:238F A5 0E lsr a ; CPU:$E391 PRG:2391 4A lsr a ; CPU:$E392 PRG:2392 4A cmp ZpD8,x ; CPU:$E393 PRG:2393 D5 D8 - bpl Label_E3B1 ; CPU:$E395 PRG:2395 10 1A + bpl SubCE3B1 ; CPU:$E395 PRG:2395 10 1A lda #$00 ; CPU:$E397 PRG:2397 A9 00 sta ZpD8,x ; CPU:$E399 PRG:2399 95 D8 sta ZpD0,x ; CPU:$E39B PRG:239B 95 D0 lda ZpC0,x ; CPU:$E39D PRG:239D B5 C0 bit $C06F ; CPU:$E39F PRG:239F 2C 6F C0 - beq Label_E3AB ; CPU:$E3A2 PRG:23A2 F0 07 + beq SubCE38F_Block_E3AB ; CPU:$E3A2 PRG:23A2 F0 07 and #$BF ; CPU:$E3A4 PRG:23A4 29 BF sta ZpC0,x ; CPU:$E3A6 PRG:23A6 95 C0 jmp $E3B1 ; CPU:$E3A8 PRG:23A8 4C B1 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3AB +; Routine: SubCE38F_Block_E3AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8946,12 +8947,12 @@ Label_E38F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3AB: +SubCE38F_Block_E3AB: ora #$40 ; CPU:$E3AB PRG:23AB 09 40 eor #$03 ; CPU:$E3AD PRG:23AD 49 03 sta ZpC0,x ; CPU:$E3AF PRG:23AF 95 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_E3B1 +; Routine: SubCE3B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8959,15 +8960,15 @@ Label_E3AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3B1: +SubCE3B1: ldy ZpD8,x ; CPU:$E3B1 PRG:23B1 B4 D8 lda $C21D,y ; CPU:$E3B3 PRG:23B3 B9 1D C2 cmp ZpD0,x ; CPU:$E3B6 PRG:23B6 D5 D0 - bne Label_E3BD ; CPU:$E3B8 PRG:23B8 D0 03 + bne SubCE3B1_Block_E3BD ; CPU:$E3B8 PRG:23B8 D0 03 inc ZpD0,x ; CPU:$E3BA PRG:23BA F6 D0 rts ; CPU:$E3BC PRG:23BC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3BD +; Routine: SubCE3B1_Block_E3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8975,13 +8976,13 @@ Label_E3B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3BD: - bmi Label_E3C6 ; CPU:$E3BD PRG:23BD 30 07 +SubCE3B1_Block_E3BD: + bmi SubCE3B1_Block_E3C6 ; CPU:$E3BD PRG:23BD 30 07 lda #$01 ; CPU:$E3BF PRG:23BF A9 01 inc ZpD0,x ; CPU:$E3C1 PRG:23C1 F6 D0 jmp $E3DE ; CPU:$E3C3 PRG:23C3 4C DE E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C6 +; Routine: SubCE3B1_Block_E3C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8989,14 +8990,14 @@ Label_E3BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C6: +SubCE3B1_Block_E3C6: lda Zp0F ; CPU:$E3C6 PRG:23C6 A5 0F cmp ZpD0,x ; CPU:$E3C8 PRG:23C8 D5 D0 - bmi Label_E3CF ; CPU:$E3CA PRG:23CA 30 03 + bmi SubCE3B1_Block_E3CF ; CPU:$E3CA PRG:23CA 30 03 inc ZpD0,x ; CPU:$E3CC PRG:23CC F6 D0 rts ; CPU:$E3CE PRG:23CE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3CF +; Routine: SubCE3B1_Block_E3CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9004,7 +9005,7 @@ Label_E3C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3CF: +SubCE3B1_Block_E3CF: inc ZpD8,x ; CPU:$E3CF PRG:23CF F6 D8 lda #$00 ; CPU:$E3D1 PRG:23D1 A9 00 sta ZpD0,x ; CPU:$E3D3 PRG:23D3 95 D0 @@ -9014,7 +9015,7 @@ Label_E3CF: tax ; CPU:$E3DB PRG:23DB AA lda #$00 ; CPU:$E3DC PRG:23DC A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E3DE +; Routine: SubCE3DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9022,14 +9023,14 @@ Label_E3CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3DE: +SubCE3DE: sta Zp0D ; CPU:$E3DE PRG:23DE 85 0D jmp $E3FA ; CPU:$E3E0 PRG:23E0 4C FA E3 ; ---- data $E3E3-$E3F9 (23 bytes) ---- .byte $B4, $D8, $B9, $1D, $C2, $38, $F5, $D0, $85, $0D, $A9, $00, $95, $D0, $F6, $D8 ; CPU:$E3E3 PRG:23E3 B4 D8 B9 1D C2 38 F5 D0 85 0D A9 00 95 D0 F6 D8 .byte $8A, $A6, $0B, $FE, $DC, $02, $AA ; CPU:$E3F3 PRG:23F3 8A A6 0B FE DC 02 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E3FA +; Routine: SubCE3FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9037,17 +9038,17 @@ Label_E3DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3FA: +SubCE3FA: lda ZpC0,x ; CPU:$E3FA PRG:23FA B5 C0 and #$01 ; CPU:$E3FC PRG:23FC 29 01 - bne Label_E40A ; CPU:$E3FE PRG:23FE D0 0A + bne SubCE3FA_Block_E40A ; CPU:$E3FE PRG:23FE D0 0A lda Zp0D ; CPU:$E400 PRG:2400 A5 0D eor #$FF ; CPU:$E402 PRG:2402 49 FF clc ; CPU:$E404 PRG:2404 18 adc #$01 ; CPU:$E405 PRG:2405 69 01 jmp $E40C ; CPU:$E407 PRG:2407 4C 0C E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E40A +; Routine: SubCE3FA_Block_E40A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9055,10 +9056,10 @@ Label_E3FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E40A: +SubCE3FA_Block_E40A: lda Zp0D ; CPU:$E40A PRG:240A A5 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E40C +; Routine: SubCE40C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9066,14 +9067,14 @@ Label_E40A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E40C: +SubCE40C: ldy Zp0B ; CPU:$E40C PRG:240C A4 0B clc ; CPU:$E40E PRG:240E 18 adc $02DF,y ; CPU:$E40F PRG:240F 79 DF 02 sta $02DF,y ; CPU:$E412 PRG:2412 99 DF 02 rts ; CPU:$E415 PRG:2415 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E416 +; Routine: SubCE416 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9081,15 +9082,15 @@ Label_E40C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E416: +SubCE416: lda Zp4D,x ; CPU:$E416 PRG:2416 B5 4D - beq Label_E444 ; CPU:$E418 PRG:2418 F0 2A + beq SubCE416_Block_E444 ; CPU:$E418 PRG:2418 F0 2A lda Zp64 ; CPU:$E41A PRG:241A A5 64 - bne Label_E423 ; CPU:$E41C PRG:241C D0 05 + bne SubCE416_Block_E423 ; CPU:$E41C PRG:241C D0 05 lda #$46 ; CPU:$E41E PRG:241E A9 46 sta $02DD,y ; CPU:$E420 PRG:2420 99 DD 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E423 +; Routine: SubCE416_Block_E423 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9097,7 +9098,7 @@ Label_E416: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E423: +SubCE416_Block_E423: lda Zp4D,x ; CPU:$E423 PRG:2423 B5 4D and #$02 ; CPU:$E425 PRG:2425 29 02 clc ; CPU:$E427 PRG:2427 18 @@ -9105,13 +9106,13 @@ Label_E423: sta $02DE,y ; CPU:$E42A PRG:242A 99 DE 02 lda Zp64 ; CPU:$E42D PRG:242D A5 64 cmp #$04 ; CPU:$E42F PRG:242F C9 04 - bne Label_E43C ; CPU:$E431 PRG:2431 D0 09 + bne SubCE416_Block_E43C ; CPU:$E431 PRG:2431 D0 09 lda $02DE,y ; CPU:$E433 PRG:2433 B9 DE 02 sec ; CPU:$E436 PRG:2436 38 sbc #$02 ; CPU:$E437 PRG:2437 E9 02 sta $02DE,y ; CPU:$E439 PRG:2439 99 DE 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E43C +; Routine: SubCE416_Block_E43C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9119,13 +9120,13 @@ Label_E423: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E43C: +SubCE416_Block_E43C: lda $02DC,y ; CPU:$E43C PRG:243C B9 DC 02 cmp #$D2 ; CPU:$E43F PRG:243F C9 D2 - bcs Label_E452 ; CPU:$E441 PRG:2441 B0 0F + bcs SubCE416_Block_E452 ; CPU:$E441 PRG:2441 B0 0F rts ; CPU:$E443 PRG:2443 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E444 +; Routine: SubCE416_Block_E444 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9133,7 +9134,7 @@ Label_E43C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E444: +SubCE416_Block_E444: lda #$0A ; CPU:$E444 PRG:2444 A9 0A sta Zp4D,x ; CPU:$E446 PRG:2446 95 4D lda $02DC,y ; CPU:$E448 PRG:2448 B9 DC 02 @@ -9142,7 +9143,7 @@ Label_E444: sta $02DC,y ; CPU:$E44E PRG:244E 99 DC 02 rts ; CPU:$E451 PRG:2451 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E452 +; Routine: SubCE416_Block_E452 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9150,7 +9151,7 @@ Label_E444: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E452: +SubCE416_Block_E452: lda #$40 ; CPU:$E452 PRG:2452 A9 40 sta Zp3B ; CPU:$E454 PRG:2454 85 3B lda #$01 ; CPU:$E456 PRG:2456 A9 01 @@ -9180,7 +9181,7 @@ Label_E452: tax ; CPU:$E48C PRG:248C AA rts ; CPU:$E48D PRG:248D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E48E +; Routine: SubCE48E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9188,21 +9189,21 @@ Label_E452: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E48E: +SubCE48E: lda #$80 ; CPU:$E48E PRG:248E A9 80 sta ZpFB ; CPU:$E490 PRG:2490 85 FB ldx ZpB5 ; CPU:$E492 PRG:2492 A6 B5 lda Zp3D ; CPU:$E494 PRG:2494 A5 3D - beq Label_E4A9 ; CPU:$E496 PRG:2496 F0 11 + beq SubCE48E_Block_E4A9 ; CPU:$E496 PRG:2496 F0 11 cmp #$10 ; CPU:$E498 PRG:2498 C9 10 - bne Label_E4B9 ; CPU:$E49A PRG:249A D0 1D + bne SubCE48E_Block_E4B9 ; CPU:$E49A PRG:249A D0 1D inc $02DF,x ; CPU:$E49C PRG:249C FE DF 02 inc $02DF,x ; CPU:$E49F PRG:249F FE DF 02 dec $02FF ; CPU:$E4A2 PRG:24A2 CE FF 02 dec $02FF ; CPU:$E4A5 PRG:24A5 CE FF 02 rts ; CPU:$E4A8 PRG:24A8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4A9 +; Routine: SubCE48E_Block_E4A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9210,7 +9211,7 @@ Label_E48E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4A9: +SubCE48E_Block_E4A9: lda #$20 ; CPU:$E4A9 PRG:24A9 A9 20 sta Zp3D ; CPU:$E4AB PRG:24AB 85 3D dec $02DF,x ; CPU:$E4AD PRG:24AD DE DF 02 @@ -9218,7 +9219,7 @@ Label_E4A9: inc $02FF ; CPU:$E4B3 PRG:24B3 EE FF 02 inc $02FF ; CPU:$E4B6 PRG:24B6 EE FF 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B9 +; Routine: SubCE48E_Block_E4B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9226,10 +9227,10 @@ Label_E4A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B9: +SubCE48E_Block_E4B9: rts ; CPU:$E4B9 PRG:24B9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4BA +; Routine: SubCE4BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9237,19 +9238,19 @@ Label_E4B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4BA: +SubCE4BA: ldx #$FC ; CPU:$E4BA PRG:24BA A2 FC lda ZpB1 ; CPU:$E4BC PRG:24BC A5 B1 - beq Label_E4D7 ; CPU:$E4BE PRG:24BE F0 17 + beq SubCE4BA_Block_E4D7 ; CPU:$E4BE PRG:24BE F0 17 lda Zp40 ; CPU:$E4C0 PRG:24C0 A5 40 - beq Label_E4D7 ; CPU:$E4C2 PRG:24C2 F0 13 + beq SubCE4BA_Block_E4D7 ; CPU:$E4C2 PRG:24C2 F0 13 cmp #$12 ; CPU:$E4C4 PRG:24C4 C9 12 - bcs Label_E4CE ; CPU:$E4C6 PRG:24C6 B0 06 + bcs SubCE4BA_Block_E4CE ; CPU:$E4C6 PRG:24C6 B0 06 cmp #$11 ; CPU:$E4C8 PRG:24C8 C9 11 - bcs Label_E4D4 ; CPU:$E4CA PRG:24CA B0 08 + bcs SubCE4BA_Block_E4D4 ; CPU:$E4CA PRG:24CA B0 08 ldx #$02 ; CPU:$E4CC PRG:24CC A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E4CE +; Routine: SubCE4BA_Block_E4CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9257,13 +9258,13 @@ Label_E4BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4CE: +SubCE4BA_Block_E4CE: txa ; CPU:$E4CE PRG:24CE 8A clc ; CPU:$E4CF PRG:24CF 18 adc ZpB2 ; CPU:$E4D0 PRG:24D0 65 B2 sta ZpB2 ; CPU:$E4D2 PRG:24D2 85 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D4 +; Routine: SubCE4BA_Block_E4D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9271,10 +9272,10 @@ Label_E4CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D4: +SubCE4BA_Block_E4D4: jmp $E878 ; CPU:$E4D4 PRG:24D4 4C 78 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E4D7 +; Routine: SubCE4BA_Block_E4D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9282,11 +9283,11 @@ Label_E4D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4D7: +SubCE4BA_Block_E4D7: sta ZpB1 ; CPU:$E4D7 PRG:24D7 85 B1 rts ; CPU:$E4D9 PRG:24D9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4DA +; Routine: SubCE4DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9294,22 +9295,22 @@ Label_E4D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4DA: +SubCE4DA: lda ZpB0 ; CPU:$E4DA PRG:24DA A5 B0 cmp #$F1 ; CPU:$E4DC PRG:24DC C9 F1 - beq Label_E4F9 ; CPU:$E4DE PRG:24DE F0 19 + beq SubCE4DA_Block_E4F9 ; CPU:$E4DE PRG:24DE F0 19 lda ZpB3 ; CPU:$E4E0 PRG:24E0 A5 B3 - beq Label_E4F9 ; CPU:$E4E2 PRG:24E2 F0 15 + beq SubCE4DA_Block_E4F9 ; CPU:$E4E2 PRG:24E2 F0 15 lda Zp40 ; CPU:$E4E4 PRG:24E4 A5 40 cmp #$08 ; CPU:$E4E6 PRG:24E6 C9 08 - beq Label_E4F5 ; CPU:$E4E8 PRG:24E8 F0 0B - bcs Label_E4F9 ; CPU:$E4EA PRG:24EA B0 0D + beq SubCE4DA_Block_E4F5 ; CPU:$E4E8 PRG:24E8 F0 0B + bcs SubCE4DA_Block_E4F9 ; CPU:$E4EA PRG:24EA B0 0D inc ZpB0 ; CPU:$E4EC PRG:24EC E6 B0 inc ZpB0 ; CPU:$E4EE PRG:24EE E6 B0 lda #$02 ; CPU:$E4F0 PRG:24F0 A9 02 jmp $E85F ; CPU:$E4F2 PRG:24F2 4C 5F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F5 +; Routine: SubCE4DA_Block_E4F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9317,11 +9318,11 @@ Label_E4DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F5: +SubCE4DA_Block_E4F5: lda #$01 ; CPU:$E4F5 PRG:24F5 A9 01 sta ZpFF ; CPU:$E4F7 PRG:24F7 85 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E4F9 +; Routine: SubCE4DA_Block_E4F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9329,10 +9330,10 @@ Label_E4F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F9: +SubCE4DA_Block_E4F9: rts ; CPU:$E4F9 PRG:24F9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4FA +; Routine: SubCE4FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9340,15 +9341,15 @@ Label_E4F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4FA: +SubCE4FA: lda Zp82 ; CPU:$E4FA PRG:24FA A5 82 cmp #$25 ; CPU:$E4FC PRG:24FC C9 25 - bcs Label_E506 ; CPU:$E4FE PRG:24FE B0 06 + bcs SubCE4FA_Block_E506 ; CPU:$E4FE PRG:24FE B0 06 ldx Zp83 ; CPU:$E500 PRG:2500 A6 83 cpx #$9A ; CPU:$E502 PRG:2502 E0 9A - bcs Label_E518 ; CPU:$E504 PRG:2504 B0 12 + bcs SubCE4FA_Block_E518 ; CPU:$E504 PRG:2504 B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_E506 +; Routine: SubCE4FA_Block_E506 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9356,18 +9357,18 @@ Label_E4FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E506: +SubCE4FA_Block_E506: lda Zp94 ; CPU:$E506 PRG:2506 A5 94 cmp #$02 ; CPU:$E508 PRG:2508 C9 02 - beq Label_E53F ; CPU:$E50A PRG:250A F0 33 + beq SubCE52C_Block_E53F ; CPU:$E50A PRG:250A F0 33 lda Zp97 ; CPU:$E50C PRG:250C A5 97 cmp #$25 ; CPU:$E50E PRG:250E C9 25 - bcs Label_E53F ; CPU:$E510 PRG:2510 B0 2D + bcs SubCE52C_Block_E53F ; CPU:$E510 PRG:2510 B0 2D ldx Zp98 ; CPU:$E512 PRG:2512 A6 98 cpx #$9A ; CPU:$E514 PRG:2514 E0 9A - bcc Label_E53F ; CPU:$E516 PRG:2516 90 27 + bcc SubCE52C_Block_E53F ; CPU:$E516 PRG:2516 90 27 ; ----------------------------------------------------------------------------- -; Routine: Label_E518 +; Routine: SubCE4FA_Block_E518 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9375,15 +9376,15 @@ Label_E506: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E518: +SubCE4FA_Block_E518: cpx #$A8 ; CPU:$E518 PRG:2518 E0 A8 - bcs Label_E52A ; CPU:$E51A PRG:251A B0 0E + bcs SubCE4FA_Block_E52A ; CPU:$E51A PRG:251A B0 0E cpx #$A0 ; CPU:$E51C PRG:251C E0 A0 - bcs Label_E525 ; CPU:$E51E PRG:251E B0 05 + bcs SubCE4FA_Block_E525 ; CPU:$E51E PRG:251E B0 05 ldx #$00 ; CPU:$E520 PRG:2520 A2 00 jmp $E52C ; CPU:$E522 PRG:2522 4C 2C E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E525 +; Routine: SubCE4FA_Block_E525 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9391,11 +9392,11 @@ Label_E518: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E525: +SubCE4FA_Block_E525: ldx #$02 ; CPU:$E525 PRG:2525 A2 02 jmp $E52C ; CPU:$E527 PRG:2527 4C 2C E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E52A +; Routine: SubCE4FA_Block_E52A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9403,10 +9404,10 @@ Label_E525: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52A: +SubCE4FA_Block_E52A: ldx #$04 ; CPU:$E52A PRG:252A A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E52C +; Routine: SubCE52C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9414,7 +9415,7 @@ Label_E52A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52C: +SubCE52C: lda #$E2 ; CPU:$E52C PRG:252C A9 E2 sta Zp00 ; CPU:$E52E PRG:252E 85 00 lda #$22 ; CPU:$E530 PRG:2530 A9 22 @@ -9424,7 +9425,7 @@ Label_E52C: lda $C405,x ; CPU:$E539 PRG:2539 BD 05 C4 jsr $E266 ; CPU:$E53C PRG:253C 20 66 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E53F +; Routine: SubCE52C_Block_E53F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9432,10 +9433,10 @@ Label_E52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E53F: +SubCE52C_Block_E53F: rts ; CPU:$E53F PRG:253F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E540 +; Routine: SubCE540 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9443,12 +9444,12 @@ Label_E53F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E540: +SubCE540: ldx #$00 ; CPU:$E540 PRG:2540 A2 00 ldy #$00 ; CPU:$E542 PRG:2542 A0 00 stx Zp00 ; CPU:$E544 PRG:2544 86 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E546 +; Routine: SubCE546 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9456,14 +9457,14 @@ Label_E540: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E546: +SubCE546: lda $0230,y ; CPU:$E546 PRG:2546 B9 30 02 cmp #$F0 ; CPU:$E549 PRG:2549 C9 F0 - bne Label_E552 ; CPU:$E54B PRG:254B D0 05 + bne SubCE546_Block_E552 ; CPU:$E54B PRG:254B D0 05 inc Zp78 ; CPU:$E54D PRG:254D E6 78 jmp $E567 ; CPU:$E54F PRG:254F 4C 67 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E552 +; Routine: SubCE546_Block_E552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9471,12 +9472,12 @@ Label_E546: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E552: +SubCE546_Block_E552: cmp #$FF ; CPU:$E552 PRG:2552 C9 FF - bne Label_E559 ; CPU:$E554 PRG:2554 D0 03 + bne SubCE546_Block_E559 ; CPU:$E554 PRG:2554 D0 03 jmp $E5EC ; CPU:$E556 PRG:2556 4C EC E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E559 +; Routine: SubCE546_Block_E559 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9484,15 +9485,15 @@ Label_E552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E559: +SubCE546_Block_E559: lda $0231,y ; CPU:$E559 PRG:2559 B9 31 02 cmp #$AB ; CPU:$E55C PRG:255C C9 AB - bne Label_E575 ; CPU:$E55E PRG:255E D0 15 + bne SubCE567_Block_E575 ; CPU:$E55E PRG:255E D0 15 lda Zp3E ; CPU:$E560 PRG:2560 A5 3E - beq Label_E567 ; CPU:$E562 PRG:2562 F0 03 + beq SubCE567 ; CPU:$E562 PRG:2562 F0 03 jmp $E5EC ; CPU:$E564 PRG:2564 4C EC E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E567 +; Routine: SubCE567 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9500,7 +9501,7 @@ Label_E559: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E567: +SubCE567: lda #$FF ; CPU:$E567 PRG:2567 A9 FF sta $0230,y ; CPU:$E569 PRG:2569 99 30 02 lda #$00 ; CPU:$E56C PRG:256C A9 00 @@ -9508,7 +9509,7 @@ Label_E567: sta ZpE8,x ; CPU:$E570 PRG:2570 95 E8 jmp $E5EC ; CPU:$E572 PRG:2572 4C EC E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E575 +; Routine: SubCE567_Block_E575 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9516,25 +9517,25 @@ Label_E567: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E575: +SubCE567_Block_E575: lda ZpE8,x ; CPU:$E575 PRG:2575 B5 E8 - bne Label_E598 ; CPU:$E577 PRG:2577 D0 1F + bne SubCE567_Block_E598 ; CPU:$E577 PRG:2577 D0 1F lda $0230,y ; CPU:$E579 PRG:2579 B9 30 02 cmp #$83 ; CPU:$E57C PRG:257C C9 83 - beq Label_E5C2 ; CPU:$E57E PRG:257E F0 42 + beq SubCE567_Block_E5C2 ; CPU:$E57E PRG:257E F0 42 cmp #$A3 ; CPU:$E580 PRG:2580 C9 A3 - beq Label_E5C2 ; CPU:$E582 PRG:2582 F0 3E + beq SubCE567_Block_E5C2 ; CPU:$E582 PRG:2582 F0 3E cmp #$C3 ; CPU:$E584 PRG:2584 C9 C3 - beq Label_E5C2 ; CPU:$E586 PRG:2586 F0 3A + beq SubCE567_Block_E5C2 ; CPU:$E586 PRG:2586 F0 3A cmp #$1C ; CPU:$E588 PRG:2588 C9 1C - beq Label_E5E8 ; CPU:$E58A PRG:258A F0 5C + beq SubCE567_Block_E5E8 ; CPU:$E58A PRG:258A F0 5C lda $0230,y ; CPU:$E58C PRG:258C B9 30 02 clc ; CPU:$E58F PRG:258F 18 adc #$01 ; CPU:$E590 PRG:2590 69 01 sta $0230,y ; CPU:$E592 PRG:2592 99 30 02 jmp $E5EC ; CPU:$E595 PRG:2595 4C EC E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E598 +; Routine: SubCE567_Block_E598 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9542,12 +9543,12 @@ Label_E575: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E598: +SubCE567_Block_E598: lda ZpEC,x ; CPU:$E598 PRG:2598 B5 EC tax ; CPU:$E59A PRG:259A AA lda $C41F,x ; CPU:$E59B PRG:259B BD 1F C4 cmp #$DD ; CPU:$E59E PRG:259E C9 DD - beq Label_E5BA ; CPU:$E5A0 PRG:25A0 F0 18 + beq SubCE567_Block_E5BA ; CPU:$E5A0 PRG:25A0 F0 18 clc ; CPU:$E5A2 PRG:25A2 18 adc $0233,y ; CPU:$E5A3 PRG:25A3 79 33 02 sta $0233,y ; CPU:$E5A6 PRG:25A6 99 33 02 @@ -9559,7 +9560,7 @@ Label_E598: inc ZpEC,x ; CPU:$E5B5 PRG:25B5 F6 EC jmp $E5EC ; CPU:$E5B7 PRG:25B7 4C EC E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5BA +; Routine: SubCE567_Block_E5BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9567,13 +9568,13 @@ Label_E598: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5BA: +SubCE567_Block_E5BA: lda #$00 ; CPU:$E5BA PRG:25BA A9 00 ldx Zp00 ; CPU:$E5BC PRG:25BC A6 00 sta ZpE8,x ; CPU:$E5BE PRG:25BE 95 E8 sta ZpEC,x ; CPU:$E5C0 PRG:25C0 95 EC ; ----------------------------------------------------------------------------- -; Routine: Label_E5C2 +; Routine: SubCE567_Block_E5C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9581,18 +9582,18 @@ Label_E5BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C2: +SubCE567_Block_E5C2: lda $0230,y ; CPU:$E5C2 PRG:25C2 B9 30 02 cmp #$30 ; CPU:$E5C5 PRG:25C5 C9 30 - bcc Label_E5D6 ; CPU:$E5C7 PRG:25C7 90 0D + bcc SubCE567_Block_E5D6 ; CPU:$E5C7 PRG:25C7 90 0D lda $0233,y ; CPU:$E5C9 PRG:25C9 B9 33 02 cmp #$30 ; CPU:$E5CC PRG:25CC C9 30 - bcc Label_E5D6 ; CPU:$E5CE PRG:25CE 90 06 + bcc SubCE567_Block_E5D6 ; CPU:$E5CE PRG:25CE 90 06 lda Zp18 ; CPU:$E5D0 PRG:25D0 A5 18 cmp #$50 ; CPU:$E5D2 PRG:25D2 C9 50 - bcs Label_E5E4 ; CPU:$E5D4 PRG:25D4 B0 0E + bcs SubCE567_Block_E5E4 ; CPU:$E5D4 PRG:25D4 B0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E5D6 +; Routine: SubCE567_Block_E5D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9600,7 +9601,7 @@ Label_E5C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D6: +SubCE567_Block_E5D6: lda $0230,y ; CPU:$E5D6 PRG:25D6 B9 30 02 clc ; CPU:$E5D9 PRG:25D9 18 adc #$01 ; CPU:$E5DA PRG:25DA 69 01 @@ -9608,7 +9609,7 @@ Label_E5D6: lda #$00 ; CPU:$E5DF PRG:25DF A9 00 jmp $E5EA ; CPU:$E5E1 PRG:25E1 4C EA E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E4 +; Routine: SubCE567_Block_E5E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9616,11 +9617,11 @@ Label_E5D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E4: +SubCE567_Block_E5E4: lda #$04 ; CPU:$E5E4 PRG:25E4 A9 04 sta ZpFE ; CPU:$E5E6 PRG:25E6 85 FE ; ----------------------------------------------------------------------------- -; Routine: Label_E5E8 +; Routine: SubCE567_Block_E5E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9628,10 +9629,10 @@ Label_E5E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E8: +SubCE567_Block_E5E8: lda #$01 ; CPU:$E5E8 PRG:25E8 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E5EA +; Routine: SubCE5EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9639,10 +9640,10 @@ Label_E5E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5EA: +SubCE5EA: sta ZpE8,x ; CPU:$E5EA PRG:25EA 95 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E5EC +; Routine: SubCE5EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9650,7 +9651,7 @@ Label_E5EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5EC: +SubCE5EC: ldx Zp00 ; CPU:$E5EC PRG:25EC A6 00 inx ; CPU:$E5EE PRG:25EE E8 stx Zp00 ; CPU:$E5EF PRG:25EF 86 00 @@ -9659,10 +9660,10 @@ Label_E5EC: iny ; CPU:$E5F3 PRG:25F3 C8 iny ; CPU:$E5F4 PRG:25F4 C8 cpx #$04 ; CPU:$E5F5 PRG:25F5 E0 04 - bpl Label_E5FC ; CPU:$E5F7 PRG:25F7 10 03 + bpl SubCE5EC_Block_E5FC ; CPU:$E5F7 PRG:25F7 10 03 jmp $E546 ; CPU:$E5F9 PRG:25F9 4C 46 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5FC +; Routine: SubCE5EC_Block_E5FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9670,10 +9671,10 @@ Label_E5EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5FC: +SubCE5EC_Block_E5FC: rts ; CPU:$E5FC PRG:25FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5FD +; Routine: SubCE5FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9681,9 +9682,9 @@ Label_E5FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5FD: +SubCE5FD: ldx ZpB4 ; CPU:$E5FD PRG:25FD A6 B4 - bne Label_E616 ; CPU:$E5FF PRG:25FF D0 15 + bne SubCE5FD_Block_E616 ; CPU:$E5FF PRG:25FF D0 15 lda #$A8 ; CPU:$E601 PRG:2601 A9 A8 sta $0570 ; CPU:$E603 PRG:2603 8D 70 05 sta $0572 ; CPU:$E606 PRG:2606 8D 72 05 @@ -9691,10 +9692,10 @@ Label_E5FD: sta $055B ; CPU:$E60B PRG:260B 8D 5B 05 sta $055D ; CPU:$E60E PRG:260E 8D 5D 05 lda Zp4C ; CPU:$E611 PRG:2611 A5 4C - beq Label_E616 ; CPU:$E613 PRG:2613 F0 01 + beq SubCE5FD_Block_E616 ; CPU:$E613 PRG:2613 F0 01 rts ; CPU:$E615 PRG:2615 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E616 +; Routine: SubCE5FD_Block_E616 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9702,7 +9703,7 @@ Label_E5FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E616: +SubCE5FD_Block_E616: lda ZpAF ; CPU:$E616 PRG:2616 A5 AF sta $0570 ; CPU:$E618 PRG:2618 8D 70 05 sta $0572 ; CPU:$E61B PRG:261B 8D 72 05 @@ -9713,12 +9714,12 @@ Label_E616: sta $055D ; CPU:$E626 PRG:2626 8D 5D 05 ldy ZpAF ; CPU:$E629 PRG:2629 A4 AF cpy #$80 ; CPU:$E62B PRG:262B C0 80 - bcc Label_E637 ; CPU:$E62D PRG:262D 90 08 + bcc SubCE5FD_Block_E637 ; CPU:$E62D PRG:262D 90 08 lda #$7C ; CPU:$E62F PRG:262F A9 7C sta $055B ; CPU:$E631 PRG:2631 8D 5B 05 sta $055D ; CPU:$E634 PRG:2634 8D 5D 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E637 +; Routine: SubCE5FD_Block_E637 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9726,14 +9727,14 @@ Label_E616: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E637: +SubCE5FD_Block_E637: cpy #$7F ; CPU:$E637 PRG:2637 C0 7F - bcs Label_E643 ; CPU:$E639 PRG:2639 B0 08 + bcs SubCE5FD_Block_E643 ; CPU:$E639 PRG:2639 B0 08 lda #$A8 ; CPU:$E63B PRG:263B A9 A8 sta $0570 ; CPU:$E63D PRG:263D 8D 70 05 sta $0572 ; CPU:$E640 PRG:2640 8D 72 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E643 +; Routine: SubCE5FD_Block_E643 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9741,18 +9742,18 @@ Label_E637: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E643: +SubCE5FD_Block_E643: cpy #$90 ; CPU:$E643 PRG:2643 C0 90 - bcs Label_E67E ; CPU:$E645 PRG:2645 B0 37 + bcs SubCE673_Block_E67E ; CPU:$E645 PRG:2645 B0 37 cpy #$78 ; CPU:$E647 PRG:2647 C0 78 - bcc Label_E688 ; CPU:$E649 PRG:2649 90 3D + bcc SubCE673_Block_E688 ; CPU:$E649 PRG:2649 90 3D lda ZpB0 ; CPU:$E64B PRG:264B A5 B0 clc ; CPU:$E64D PRG:264D 18 adc ZpAF ; CPU:$E64E PRG:264E 65 AF sta ZpAF ; CPU:$E650 PRG:2650 85 AF jsr $E88D ; CPU:$E652 PRG:2652 20 8D E8 txa ; CPU:$E655 PRG:2655 8A - beq Label_E699 ; CPU:$E656 PRG:2656 F0 41 + beq SubCE68F_Block_E699 ; CPU:$E656 PRG:2656 F0 41 lda ZpB0 ; CPU:$E658 PRG:2658 A5 B0 clc ; CPU:$E65A PRG:265A 18 adc Zp82 ; CPU:$E65B PRG:265B 65 82 @@ -9760,12 +9761,12 @@ Label_E643: lda #$0C ; CPU:$E65F PRG:265F A9 0C sta Zp02 ; CPU:$E661 PRG:2661 85 02 lda ZpE1 ; CPU:$E663 PRG:2663 A5 E1 - beq Label_E670 ; CPU:$E665 PRG:2665 F0 09 + beq SubCE5FD_Block_E670 ; CPU:$E665 PRG:2665 F0 09 jsr $E8B9 ; CPU:$E667 PRG:2667 20 B9 E8 jsr $D807 ; CPU:$E66A PRG:266A 20 07 D8 jmp $E673 ; CPU:$E66D PRG:266D 4C 73 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E670 +; Routine: SubCE5FD_Block_E670 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9773,10 +9774,10 @@ Label_E643: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E670: +SubCE5FD_Block_E670: jsr $E7B8 ; CPU:$E670 PRG:2670 20 B8 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E673 +; Routine: SubCE673 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9784,14 +9785,14 @@ Label_E670: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E673: +SubCE673: lda ZpB3 ; CPU:$E673 PRG:2673 A5 B3 - bne Label_E67D ; CPU:$E675 PRG:2675 D0 06 + bne SubCE673_Block_E67D ; CPU:$E675 PRG:2675 D0 06 lda #$04 ; CPU:$E677 PRG:2677 A9 04 sta ZpFF ; CPU:$E679 PRG:2679 85 FF sta ZpB3 ; CPU:$E67B PRG:267B 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_E67D +; Routine: SubCE673_Block_E67D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9799,10 +9800,10 @@ Label_E673: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E67D: +SubCE673_Block_E67D: rts ; CPU:$E67D PRG:267D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E67E +; Routine: SubCE673_Block_E67E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9810,14 +9811,14 @@ Label_E67D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E67E: +SubCE673_Block_E67E: txa ; CPU:$E67E PRG:267E 8A - bne Label_E699 ; CPU:$E67F PRG:267F D0 18 + bne SubCE68F_Block_E699 ; CPU:$E67F PRG:267F D0 18 lda #$FF ; CPU:$E681 PRG:2681 A9 FF dec ZpAF ; CPU:$E683 PRG:2683 C6 AF jmp $E68F ; CPU:$E685 PRG:2685 4C 8F E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E688 +; Routine: SubCE673_Block_E688 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9825,13 +9826,13 @@ Label_E67E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E688: +SubCE673_Block_E688: txa ; CPU:$E688 PRG:2688 8A - bne Label_E699 ; CPU:$E689 PRG:2689 D0 0E + bne SubCE68F_Block_E699 ; CPU:$E689 PRG:2689 D0 0E lda #$01 ; CPU:$E68B PRG:268B A9 01 inc ZpAF ; CPU:$E68D PRG:268D E6 AF ; ----------------------------------------------------------------------------- -; Routine: Label_E68F +; Routine: SubCE68F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9839,14 +9840,14 @@ Label_E688: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E68F: +SubCE68F: sta ZpB0 ; CPU:$E68F PRG:268F 85 B0 lda #$07 ; CPU:$E691 PRG:2691 A9 07 sta Zp4C ; CPU:$E693 PRG:2693 85 4C lda #$00 ; CPU:$E695 PRG:2695 A9 00 sta ZpB3 ; CPU:$E697 PRG:2697 85 B3 ; ----------------------------------------------------------------------------- -; Routine: Label_E699 +; Routine: SubCE68F_Block_E699 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9854,10 +9855,10 @@ Label_E68F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E699: +SubCE68F_Block_E699: rts ; CPU:$E699 PRG:2699 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E69A +; Routine: SubCE69A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9865,19 +9866,19 @@ Label_E699: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E69A: +SubCE69A: lda Zp41 ; CPU:$E69A PRG:269A A5 41 - bne Label_E6EB ; CPU:$E69C PRG:269C D0 4D + bne SubCE69A_Block_E6EB ; CPU:$E69C PRG:269C D0 4D lda #$0A ; CPU:$E69E PRG:269E A9 0A sta Zp41 ; CPU:$E6A0 PRG:26A0 85 41 ldx Zp70 ; CPU:$E6A2 PRG:26A2 A6 70 lda $0270 ; CPU:$E6A4 PRG:26A4 AD 70 02 cmp #$18 ; CPU:$E6A7 PRG:26A7 C9 18 - bcc Label_E6AF ; CPU:$E6A9 PRG:26A9 90 04 + bcc SubCE69A_Block_E6AF ; CPU:$E6A9 PRG:26A9 90 04 cmp #$2C ; CPU:$E6AB PRG:26AB C9 2C - bcc Label_E6B6 ; CPU:$E6AD PRG:26AD 90 07 + bcc SubCE69A_Block_E6B6 ; CPU:$E6AD PRG:26AD 90 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E6AF +; Routine: SubCE69A_Block_E6AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9885,13 +9886,13 @@ Label_E69A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6AF: +SubCE69A_Block_E6AF: txa ; CPU:$E6AF PRG:26AF 8A jsr $E046 ; CPU:$E6B0 PRG:26B0 20 46 E0 sta Zp70 ; CPU:$E6B3 PRG:26B3 85 70 tax ; CPU:$E6B5 PRG:26B5 AA ; ----------------------------------------------------------------------------- -; Routine: Label_E6B6 +; Routine: SubCE69A_Block_E6B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9899,7 +9900,7 @@ Label_E6AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6B6: +SubCE69A_Block_E6B6: txa ; CPU:$E6B6 PRG:26B6 8A pha ; CPU:$E6B7 PRG:26B7 48 clc ; CPU:$E6B8 PRG:26B8 18 @@ -9928,7 +9929,7 @@ Label_E6B6: lda #$88 ; CPU:$E6E6 PRG:26E6 A9 88 jmp $E89F ; CPU:$E6E8 PRG:26E8 4C 9F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E6EB +; Routine: SubCE69A_Block_E6EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9936,10 +9937,10 @@ Label_E6B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6EB: +SubCE69A_Block_E6EB: rts ; CPU:$E6EB PRG:26EB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6EC +; Routine: SubCE6EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9947,15 +9948,15 @@ Label_E6EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6EC: +SubCE6EC: lda $0241 ; CPU:$E6EC PRG:26EC AD 41 02 cmp #$FA ; CPU:$E6EF PRG:26EF C9 FA - bne Label_E6F8 ; CPU:$E6F1 PRG:26F1 D0 05 + bne SubCE6EC_Block_E6F8 ; CPU:$E6F1 PRG:26F1 D0 05 lda Zp3F ; CPU:$E6F3 PRG:26F3 A5 3F - beq Label_E703 ; CPU:$E6F5 PRG:26F5 F0 0C + beq SubCE6EC_Block_E703 ; CPU:$E6F5 PRG:26F5 F0 0C rts ; CPU:$E6F7 PRG:26F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F8 +; Routine: SubCE6EC_Block_E6F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9963,12 +9964,12 @@ Label_E6EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F8: +SubCE6EC_Block_E6F8: lda Zp42 ; CPU:$E6F8 PRG:26F8 A5 42 - beq Label_E6FD ; CPU:$E6FA PRG:26FA F0 01 + beq SubCE6EC_Block_E6FD ; CPU:$E6FA PRG:26FA F0 01 rts ; CPU:$E6FC PRG:26FC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FD +; Routine: SubCE6EC_Block_E6FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9976,12 +9977,12 @@ Label_E6F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FD: +SubCE6EC_Block_E6FD: lda ZpE7 ; CPU:$E6FD PRG:26FD A5 E7 cmp #$EA ; CPU:$E6FF PRG:26FF C9 EA - bcc Label_E714 ; CPU:$E701 PRG:2701 90 11 + bcc SubCE6EC_Block_E714 ; CPU:$E701 PRG:2701 90 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E703 +; Routine: SubCE6EC_Block_E703 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9989,7 +9990,7 @@ Label_E6FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E703: +SubCE6EC_Block_E703: lda #$40 ; CPU:$E703 PRG:2703 A9 40 sta Zp42 ; CPU:$E705 PRG:2705 85 42 lda #$F0 ; CPU:$E707 PRG:2707 A9 F0 @@ -9999,7 +10000,7 @@ Label_E703: inc ZpEA ; CPU:$E70F PRG:270F E6 EA jmp $E76B ; CPU:$E711 PRG:2711 4C 6B E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E714 +; Routine: SubCE6EC_Block_E714 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10007,17 +10008,17 @@ Label_E703: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E714: +SubCE6EC_Block_E714: lda ZpEA ; CPU:$E714 PRG:2714 A5 EA and #$07 ; CPU:$E716 PRG:2716 29 07 tax ; CPU:$E718 PRG:2718 AA lda Zp7B ; CPU:$E719 PRG:2719 A5 7B cmp #$05 ; CPU:$E71B PRG:271B C9 05 - bpl Label_E725 ; CPU:$E71D PRG:271D 10 06 + bpl SubCE6EC_Block_E725 ; CPU:$E71D PRG:271D 10 06 lda $C14C,x ; CPU:$E71F PRG:271F BD 4C C1 jmp $E728 ; CPU:$E722 PRG:2722 4C 28 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E725 +; Routine: SubCE6EC_Block_E725 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10025,10 +10026,10 @@ Label_E714: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E725: +SubCE6EC_Block_E725: lda $C154,x ; CPU:$E725 PRG:2725 BD 54 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_E728 +; Routine: SubCE728 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10036,10 +10037,10 @@ Label_E725: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E728: +SubCE728: tay ; CPU:$E728 PRG:2728 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_E729 +; Routine: SubCE729 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10047,7 +10048,7 @@ Label_E728: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E729: +SubCE729: lda $C205 ; CPU:$E729 PRG:2729 AD 05 C2 sta Zp00 ; CPU:$E72C PRG:272C 85 00 lda $C206 ; CPU:$E72E PRG:272E AD 06 C2 @@ -10061,7 +10062,7 @@ Label_E729: lda $C21C ; CPU:$E742 PRG:2742 AD 1C C2 sta Zp07 ; CPU:$E745 PRG:2745 85 07 ; ----------------------------------------------------------------------------- -; Routine: Label_E747 +; Routine: SubCE747 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10069,14 +10070,14 @@ Label_E729: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E747: +SubCE747: lda (Zp00),y ; CPU:$E747 PRG:2747 B1 00 cmp ZpE7 ; CPU:$E749 PRG:2749 C5 E7 - bcs Label_E751 ; CPU:$E74B PRG:274B B0 04 + bcs SubCE747_Block_E751 ; CPU:$E74B PRG:274B B0 04 iny ; CPU:$E74D PRG:274D C8 jmp $E747 ; CPU:$E74E PRG:274E 4C 47 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E751 +; Routine: SubCE747_Block_E751 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10084,15 +10085,15 @@ Label_E747: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E751: +SubCE747_Block_E751: lda ZpE9 ; CPU:$E751 PRG:2751 A5 E9 clc ; CPU:$E753 PRG:2753 18 adc (Zp02),y ; CPU:$E754 PRG:2754 71 02 sta ZpE9 ; CPU:$E756 PRG:2756 85 E9 - bcs Label_E75B ; CPU:$E758 PRG:2758 B0 01 + bcs SubCE747_Block_E75B ; CPU:$E758 PRG:2758 B0 01 rts ; CPU:$E75A PRG:275A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E75B +; Routine: SubCE747_Block_E75B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10100,7 +10101,7 @@ Label_E751: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E75B: +SubCE747_Block_E75B: inc ZpE7 ; CPU:$E75B PRG:275B E6 E7 lda (Zp06),y ; CPU:$E75D PRG:275D B1 06 clc ; CPU:$E75F PRG:275F 18 @@ -10112,7 +10113,7 @@ Label_E75B: lsr a ; CPU:$E769 PRG:2769 4A lsr a ; CPU:$E76A PRG:276A 4A ; ----------------------------------------------------------------------------- -; Routine: Label_E76B +; Routine: SubCE76B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10120,7 +10121,7 @@ Label_E75B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E76B: +SubCE76B: tax ; CPU:$E76B PRG:276B AA lda $C58E,x ; CPU:$E76C PRG:276C BD 8E C5 sta Zp02 ; CPU:$E76F PRG:276F 85 02 @@ -10132,7 +10133,7 @@ Label_E76B: lda #$00 ; CPU:$E77C PRG:277C A9 00 jmp $E8F0 ; CPU:$E77E PRG:277E 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E781 +; Routine: SubCE781 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10140,10 +10141,10 @@ Label_E76B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E781: +SubCE781: ldy #$00 ; CPU:$E781 PRG:2781 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E783 +; Routine: SubCE783 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10151,10 +10152,10 @@ Label_E781: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E783: +SubCE783: lda (Zp00),y ; CPU:$E783 PRG:2783 B1 00 cmp #$FF ; CPU:$E785 PRG:2785 C9 FF - beq Label_E79C ; CPU:$E787 PRG:2787 F0 13 + beq SubCE783_Block_E79C ; CPU:$E787 PRG:2787 F0 13 sta Zp02 ; CPU:$E789 PRG:2789 85 02 iny ; CPU:$E78B PRG:278B C8 lda (Zp00),y ; CPU:$E78C PRG:278C B1 00 @@ -10166,7 +10167,7 @@ Label_E783: iny ; CPU:$E798 PRG:2798 C8 jmp $E783 ; CPU:$E799 PRG:2799 4C 83 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E79C +; Routine: SubCE783_Block_E79C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10174,10 +10175,10 @@ Label_E783: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79C: +SubCE783_Block_E79C: rts ; CPU:$E79C PRG:279C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E79D +; Routine: SubCE79D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10185,11 +10186,11 @@ Label_E79C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79D: +SubCE79D: lda #$00 ; CPU:$E79D PRG:279D A9 00 sta Zp7F ; CPU:$E79F PRG:279F 85 7F ; ----------------------------------------------------------------------------- -; Routine: Label_E7A1 +; Routine: SubCE7A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10197,11 +10198,11 @@ Label_E79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A1: +SubCE7A1: lda #$00 ; CPU:$E7A1 PRG:27A1 A9 00 sta Zp80 ; CPU:$E7A3 PRG:27A3 85 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A5 +; Routine: SubCE7A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10209,7 +10210,7 @@ Label_E7A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A5: +SubCE7A5: lda #$00 ; CPU:$E7A5 PRG:27A5 A9 00 sta Zp7E ; CPU:$E7A7 PRG:27A7 85 7E lda #$FF ; CPU:$E7A9 PRG:27A9 A9 FF @@ -10220,7 +10221,7 @@ Label_E7A5: sta Zp02 ; CPU:$E7B4 PRG:27B4 85 02 sta Zp84 ; CPU:$E7B6 PRG:27B6 85 84 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B8 +; Routine: SubCE7B8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10228,13 +10229,13 @@ Label_E7A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B8: +SubCE7B8: jsr $E8B0 ; CPU:$E7B8 PRG:27B8 20 B0 E8 jsr $E8B9 ; CPU:$E7BB PRG:27BB 20 B9 E8 lda Zp7D ; CPU:$E7BE PRG:27BE A5 7D jmp $E85A ; CPU:$E7C0 PRG:27C0 4C 5A E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7C3 +; Routine: SubCE7C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10242,7 +10243,7 @@ Label_E7B8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7C3: +SubCE7C3: ldy #$51 ; CPU:$E7C3 PRG:27C3 A0 51 lda #$00 ; CPU:$E7C5 PRG:27C5 A9 00 sta Zp9D ; CPU:$E7C7 PRG:27C7 85 9D @@ -10254,13 +10255,13 @@ Label_E7C3: lda #$06 ; CPU:$E7D3 PRG:27D3 A9 06 sta Zp99 ; CPU:$E7D5 PRG:27D5 85 99 lda Zp1D ; CPU:$E7D7 PRG:27D7 A5 1D - bne Label_E7E3 ; CPU:$E7D9 PRG:27D9 D0 08 + bne SubCE7C3_Block_E7E3 ; CPU:$E7D9 PRG:27D9 D0 08 ldx Zp67 ; CPU:$E7DB PRG:27DB A6 67 lda Zp2E,x ; CPU:$E7DD PRG:27DD B5 2E - bne Label_E7E3 ; CPU:$E7DF PRG:27DF D0 02 + bne SubCE7C3_Block_E7E3 ; CPU:$E7DF PRG:27DF D0 02 ldy #$90 ; CPU:$E7E1 PRG:27E1 A0 90 ; ----------------------------------------------------------------------------- -; Routine: Label_E7E3 +; Routine: SubCE7C3_Block_E7E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10268,7 +10269,7 @@ Label_E7C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7E3: +SubCE7C3_Block_E7E3: sty Zp9A ; CPU:$E7E3 PRG:27E3 84 9A tya ; CPU:$E7E5 PRG:27E5 98 jsr $E8CA ; CPU:$E7E6 PRG:27E6 20 CA E8 @@ -10277,7 +10278,7 @@ Label_E7E3: and #$03 ; CPU:$E7EE PRG:27EE 29 03 sta Zp93 ; CPU:$E7F0 PRG:27F0 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F2 +; Routine: SubCE7F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10285,11 +10286,11 @@ Label_E7E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F2: +SubCE7F2: lda Zp93 ; CPU:$E7F2 PRG:27F2 A5 93 jmp $E85A ; CPU:$E7F4 PRG:27F4 4C 5A E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F7 +; Routine: SubCE7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10297,7 +10298,7 @@ Label_E7F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F7: +SubCE7F7: lda #$00 ; CPU:$E7F7 PRG:27F7 A9 00 sta ZpAC ; CPU:$E7F9 PRG:27F9 85 AC sta ZpAB ; CPU:$E7FB PRG:27FB 85 AB @@ -10312,7 +10313,7 @@ Label_E7F7: lda ZpA9 ; CPU:$E80E PRG:280E A5 A9 and #$01 ; CPU:$E810 PRG:2810 29 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E812 +; Routine: SubCE812 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10320,10 +10321,10 @@ Label_E7F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E812: +SubCE812: tay ; CPU:$E812 PRG:2812 A8 cpy #$02 ; CPU:$E813 PRG:2813 C0 02 - beq Label_E827 ; CPU:$E815 PRG:2815 F0 10 + beq SubCE812_Block_E827 ; CPU:$E815 PRG:2815 F0 10 ldx Zp65 ; CPU:$E817 PRG:2817 A6 65 lda $C4B2,x ; CPU:$E819 PRG:2819 BD B2 C4 sta Zp01 ; CPU:$E81C PRG:281C 85 01 @@ -10332,7 +10333,7 @@ Label_E812: lda #$32 ; CPU:$E822 PRG:2822 A9 32 jmp $E853 ; CPU:$E824 PRG:2824 4C 53 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E827 +; Routine: SubCE812_Block_E827 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10340,14 +10341,14 @@ Label_E812: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E827: +SubCE812_Block_E827: lda ZpE7 ; CPU:$E827 PRG:2827 A5 E7 sta Zp00 ; CPU:$E829 PRG:2829 85 00 cmp #$98 ; CPU:$E82B PRG:282B C9 98 - bcc Label_E846 ; CPU:$E82D PRG:282D 90 17 + bcc SubCE812_Block_E846 ; CPU:$E82D PRG:282D 90 17 lda $02A0 ; CPU:$E82F PRG:282F AD A0 02 cmp #$2F ; CPU:$E832 PRG:2832 C9 2F - beq Label_E7F7 ; CPU:$E834 PRG:2834 F0 C1 + beq SubCE7F7 ; CPU:$E834 PRG:2834 F0 C1 lda ZpE7 ; CPU:$E836 PRG:2836 A5 E7 sta ZpAA ; CPU:$E838 PRG:2838 85 AA lda Zp43 ; CPU:$E83A PRG:283A A5 43 @@ -10357,7 +10358,7 @@ Label_E827: adc $02A0 ; CPU:$E840 PRG:2840 6D A0 02 jmp $E84B ; CPU:$E843 PRG:2843 4C 4B E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E846 +; Routine: SubCE812_Block_E846 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10365,12 +10366,12 @@ Label_E827: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E846: +SubCE812_Block_E846: lda ZpE8 ; CPU:$E846 PRG:2846 A5 E8 clc ; CPU:$E848 PRG:2848 18 adc #$10 ; CPU:$E849 PRG:2849 69 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E84B +; Routine: SubCE84B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10378,13 +10379,13 @@ Label_E846: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E84B: +SubCE84B: sta Zp01 ; CPU:$E84B PRG:284B 85 01 lda #$C8 ; CPU:$E84D PRG:284D A9 C8 sta Zp02 ; CPU:$E84F PRG:284F 85 02 lda #$23 ; CPU:$E851 PRG:2851 A9 23 ; ----------------------------------------------------------------------------- -; Routine: Label_E853 +; Routine: SubCE853 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10392,13 +10393,13 @@ Label_E84B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E853: +SubCE853: sta Zp03 ; CPU:$E853 PRG:2853 85 03 lda #$A0 ; CPU:$E855 PRG:2855 A9 A0 sta Zp04 ; CPU:$E857 PRG:2857 85 04 tya ; CPU:$E859 PRG:2859 98 ; ----------------------------------------------------------------------------- -; Routine: Label_E85A +; Routine: SubCE85A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10406,11 +10407,11 @@ Label_E853: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E85A: +SubCE85A: and #$01 ; CPU:$E85A PRG:285A 29 01 jmp $E8F0 ; CPU:$E85C PRG:285C 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E85F +; Routine: SubCE85F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10418,7 +10419,7 @@ Label_E85A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E85F: +SubCE85F: tax ; CPU:$E85F PRG:285F AA lda ZpAF ; CPU:$E860 PRG:2860 A5 AF sta Zp00 ; CPU:$E862 PRG:2862 85 00 @@ -10433,7 +10434,7 @@ Label_E85F: txa ; CPU:$E874 PRG:2874 8A jmp $E8F0 ; CPU:$E875 PRG:2875 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E878 +; Routine: SubCE878 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10441,7 +10442,7 @@ Label_E85F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E878: +SubCE878: lda ZpB2 ; CPU:$E878 PRG:2878 A5 B2 sta Zp00 ; CPU:$E87A PRG:287A 85 00 lda #$4F ; CPU:$E87C PRG:287C A9 4F @@ -10453,7 +10454,7 @@ Label_E878: lda #$80 ; CPU:$E888 PRG:2888 A9 80 jmp $E89F ; CPU:$E88A PRG:288A 4C 9F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E88D +; Routine: SubCE88D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10461,7 +10462,7 @@ Label_E878: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E88D: +SubCE88D: lda ZpAF ; CPU:$E88D PRG:288D A5 AF sta Zp00 ; CPU:$E88F PRG:288F 85 00 lda #$6B ; CPU:$E891 PRG:2891 A9 6B @@ -10472,7 +10473,7 @@ Label_E88D: sta Zp03 ; CPU:$E89B PRG:289B 85 03 lda #$70 ; CPU:$E89D PRG:289D A9 70 ; ----------------------------------------------------------------------------- -; Routine: Label_E89F +; Routine: SubCE89F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10480,10 +10481,10 @@ Label_E88D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89F: +SubCE89F: sta Zp04 ; CPU:$E89F PRG:289F 85 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A1 +; Routine: SubCE8A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10491,11 +10492,11 @@ Label_E89F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A1: +SubCE8A1: lda #$01 ; CPU:$E8A1 PRG:28A1 A9 01 jmp $E8F0 ; CPU:$E8A3 PRG:28A3 4C F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E8A6 +; Routine: SubCE8A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10503,12 +10504,12 @@ Label_E8A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8A6: +SubCE8A6: lda $C25A,x ; CPU:$E8A6 PRG:28A6 BD 5A C2 sta Zp03 ; CPU:$E8A9 PRG:28A9 85 03 lda $C259,x ; CPU:$E8AB PRG:28AB BD 59 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E8AE +; Routine: SubCE8AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10516,10 +10517,10 @@ Label_E8A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8AE: +SubCE8AE: sta Zp02 ; CPU:$E8AE PRG:28AE 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8B0 +; Routine: SubCE8B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10527,14 +10528,14 @@ Label_E8AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B0: +SubCE8B0: lda Zp82 ; CPU:$E8B0 PRG:28B0 A5 82 sta Zp00 ; CPU:$E8B2 PRG:28B2 85 00 lda Zp83 ; CPU:$E8B4 PRG:28B4 A5 83 sta Zp01 ; CPU:$E8B6 PRG:28B6 85 01 rts ; CPU:$E8B8 PRG:28B8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8B9 +; Routine: SubCE8B9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10542,14 +10543,14 @@ Label_E8B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8B9: +SubCE8B9: lda #$32 ; CPU:$E8B9 PRG:28B9 A9 32 sta Zp03 ; CPU:$E8BB PRG:28BB 85 03 lda #$50 ; CPU:$E8BD PRG:28BD A9 50 sta Zp04 ; CPU:$E8BF PRG:28BF 85 04 rts ; CPU:$E8C1 PRG:28C1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C2 +; Routine: SubCE8C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10557,12 +10558,12 @@ Label_E8B9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C2: +SubCE8C2: lda $C262,x ; CPU:$E8C2 PRG:28C2 BD 62 C2 sta Zp03 ; CPU:$E8C5 PRG:28C5 85 03 lda $C261,x ; CPU:$E8C7 PRG:28C7 BD 61 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E8CA +; Routine: SubCE8CA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10570,10 +10571,10 @@ Label_E8C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8CA: +SubCE8CA: sta Zp02 ; CPU:$E8CA PRG:28CA 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E8CC +; Routine: SubCE8CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10581,14 +10582,14 @@ Label_E8CA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8CC: +SubCE8CC: lda Zp97 ; CPU:$E8CC PRG:28CC A5 97 sta Zp00 ; CPU:$E8CE PRG:28CE 85 00 lda Zp98 ; CPU:$E8D0 PRG:28D0 A5 98 sta Zp01 ; CPU:$E8D2 PRG:28D2 85 01 rts ; CPU:$E8D4 PRG:28D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8D5 +; Routine: SubCE8D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10596,14 +10597,14 @@ Label_E8CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8D5: +SubCE8D5: lda #$32 ; CPU:$E8D5 PRG:28D5 A9 32 sta Zp03 ; CPU:$E8D7 PRG:28D7 85 03 lda #$B8 ; CPU:$E8D9 PRG:28D9 A9 B8 sta Zp04 ; CPU:$E8DB PRG:28DB 85 04 rts ; CPU:$E8DD PRG:28DD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8DE +; Routine: SubCE8DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10611,13 +10612,13 @@ Label_E8D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8DE: +SubCE8DE: tay ; CPU:$E8DE PRG:28DE A8 ldx #$00 ; CPU:$E8DF PRG:28DF A2 00 iny ; CPU:$E8E1 PRG:28E1 C8 clc ; CPU:$E8E2 PRG:28E2 18 ; ----------------------------------------------------------------------------- -; Routine: Label_E8E3 +; Routine: SubCE8DE_Block_E8E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10625,15 +10626,15 @@ Label_E8DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8E3: +SubCE8DE_Block_E8E3: ror Zp02 ; CPU:$E8E3 PRG:28E3 66 02 ror Zp01 ; CPU:$E8E5 PRG:28E5 66 01 dey ; CPU:$E8E7 PRG:28E7 88 - bne Label_E8E3 ; CPU:$E8E8 PRG:28E8 D0 F9 - bcc Label_E8EE ; CPU:$E8EA PRG:28EA 90 02 + bne SubCE8DE_Block_E8E3 ; CPU:$E8E8 PRG:28E8 D0 F9 + bcc SubCE8DE_Block_E8EE ; CPU:$E8EA PRG:28EA 90 02 ldx #$01 ; CPU:$E8EC PRG:28EC A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E8EE +; Routine: SubCE8DE_Block_E8EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10641,11 +10642,11 @@ Label_E8E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8EE: +SubCE8DE_Block_E8EE: txa ; CPU:$E8EE PRG:28EE 8A rts ; CPU:$E8EF PRG:28EF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8F0 +; Routine: SubCE8F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10653,7 +10654,7 @@ Label_E8EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8F0: +SubCE8F0: sta Zp0F ; CPU:$E8F0 PRG:28F0 85 0F txa ; CPU:$E8F2 PRG:28F2 8A pha ; CPU:$E8F3 PRG:28F3 48 @@ -10674,7 +10675,7 @@ Label_E8F0: lda #$00 ; CPU:$E909 PRG:2909 A9 00 clc ; CPU:$E90B PRG:290B 18 ; ----------------------------------------------------------------------------- -; Routine: Label_E90C +; Routine: SubCE8F0_Block_E90C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10682,21 +10683,21 @@ Label_E8F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E90C: +SubCE8F0_Block_E90C: adc Zp07 ; CPU:$E90C PRG:290C 65 07 dex ; CPU:$E90E PRG:290E CA - bne Label_E90C ; CPU:$E90F PRG:290F D0 FB + bne SubCE8F0_Block_E90C ; CPU:$E90F PRG:290F D0 FB sta Zp08 ; CPU:$E911 PRG:2911 85 08 lda Zp0F ; CPU:$E913 PRG:2913 A5 0F - beq Label_E92B ; CPU:$E915 PRG:2915 F0 14 + beq SubCE8F0_Block_E92B ; CPU:$E915 PRG:2915 F0 14 cmp #$01 ; CPU:$E917 PRG:2917 C9 01 - beq Label_E925 ; CPU:$E919 PRG:2919 F0 0A + beq SubCE8F0_Block_E925 ; CPU:$E919 PRG:2919 F0 0A cmp #$02 ; CPU:$E91B PRG:291B C9 02 - beq Label_E931 ; CPU:$E91D PRG:291D F0 12 + beq SubCE8F0_Block_E931 ; CPU:$E91D PRG:291D F0 12 jsr $E9DD ; CPU:$E91F PRG:291F 20 DD E9 jmp $E934 ; CPU:$E922 PRG:2922 4C 34 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E925 +; Routine: SubCE8F0_Block_E925 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10704,11 +10705,11 @@ Label_E90C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E925: +SubCE8F0_Block_E925: jsr $E958 ; CPU:$E925 PRG:2925 20 58 E9 jmp $E934 ; CPU:$E928 PRG:2928 4C 34 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E92B +; Routine: SubCE8F0_Block_E92B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10716,11 +10717,11 @@ Label_E925: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92B: +SubCE8F0_Block_E92B: jsr $E973 ; CPU:$E92B PRG:292B 20 73 E9 jmp $E934 ; CPU:$E92E PRG:292E 4C 34 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E931 +; Routine: SubCE8F0_Block_E931 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10728,10 +10729,10 @@ Label_E92B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E931: +SubCE8F0_Block_E931: jsr $E9A7 ; CPU:$E931 PRG:2931 20 A7 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E934 +; Routine: SubCE934 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10739,7 +10740,7 @@ Label_E931: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E934: +SubCE934: jsr $EA03 ; CPU:$E934 PRG:2934 20 03 EA pla ; CPU:$E937 PRG:2937 68 tay ; CPU:$E938 PRG:2938 A8 @@ -10747,7 +10748,7 @@ Label_E934: tax ; CPU:$E93A PRG:293A AA rts ; CPU:$E93B PRG:293B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E93C +; Routine: SubCE93C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10755,7 +10756,7 @@ Label_E934: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E93C: +SubCE93C: tya ; CPU:$E93C PRG:293C 98 pha ; CPU:$E93D PRG:293D 48 lda #$02 ; CPU:$E93E PRG:293E A9 02 @@ -10763,7 +10764,7 @@ Label_E93C: ldx Zp03 ; CPU:$E942 PRG:2942 A6 03 ldy #$00 ; CPU:$E944 PRG:2944 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E946 +; Routine: SubCE93C_Block_E946 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10771,7 +10772,7 @@ Label_E93C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E946: +SubCE93C_Block_E946: lda #$FF ; CPU:$E946 PRG:2946 A9 FF sta (Zp04),y ; CPU:$E948 PRG:2948 91 04 iny ; CPU:$E94A PRG:294A C8 @@ -10781,12 +10782,12 @@ Label_E946: iny ; CPU:$E950 PRG:2950 C8 iny ; CPU:$E951 PRG:2951 C8 dex ; CPU:$E952 PRG:2952 CA - bne Label_E946 ; CPU:$E953 PRG:2953 D0 F1 + bne SubCE93C_Block_E946 ; CPU:$E953 PRG:2953 D0 F1 pla ; CPU:$E955 PRG:2955 68 tay ; CPU:$E956 PRG:2956 A8 rts ; CPU:$E957 PRG:2957 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E958 +; Routine: SubCE958 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10794,12 +10795,12 @@ Label_E946: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E958: +SubCE958: lda Zp02 ; CPU:$E958 PRG:2958 A5 02 ldx Zp08 ; CPU:$E95A PRG:295A A6 08 ldy #$01 ; CPU:$E95C PRG:295C A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E95E +; Routine: SubCE958_Block_E95E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10807,7 +10808,7 @@ Label_E958: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E95E: +SubCE958_Block_E95E: sta (Zp04),y ; CPU:$E95E PRG:295E 91 04 clc ; CPU:$E960 PRG:2960 18 adc #$01 ; CPU:$E961 PRG:2961 69 01 @@ -10821,10 +10822,10 @@ Label_E95E: iny ; CPU:$E96D PRG:296D C8 iny ; CPU:$E96E PRG:296E C8 dex ; CPU:$E96F PRG:296F CA - bne Label_E95E ; CPU:$E970 PRG:2970 D0 EC + bne SubCE958_Block_E95E ; CPU:$E970 PRG:2970 D0 EC rts ; CPU:$E972 PRG:2972 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E973 +; Routine: SubCE973 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10832,14 +10833,14 @@ Label_E95E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E973: +SubCE973: ldy #$01 ; CPU:$E973 PRG:2973 A0 01 sty Zp0A ; CPU:$E975 PRG:2975 84 0A lda Zp08 ; CPU:$E977 PRG:2977 A5 08 sec ; CPU:$E979 PRG:2979 38 sbc Zp06 ; CPU:$E97A PRG:297A E5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E97C +; Routine: SubCE973_Block_E97C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10847,12 +10848,12 @@ Label_E973: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E97C: +SubCE973_Block_E97C: tay ; CPU:$E97C PRG:297C A8 sta Zp0B ; CPU:$E97D PRG:297D 85 0B ldx Zp06 ; CPU:$E97F PRG:297F A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E981 +; Routine: SubCE973_Block_E981 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10860,7 +10861,7 @@ Label_E97C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E981: +SubCE973_Block_E981: tya ; CPU:$E981 PRG:2981 98 pha ; CPU:$E982 PRG:2982 48 clc ; CPU:$E983 PRG:2983 18 @@ -10881,14 +10882,14 @@ Label_E981: tay ; CPU:$E99A PRG:299A A8 iny ; CPU:$E99B PRG:299B C8 dex ; CPU:$E99C PRG:299C CA - bne Label_E981 ; CPU:$E99D PRG:299D D0 E2 + bne SubCE973_Block_E981 ; CPU:$E99D PRG:299D D0 E2 lda Zp0B ; CPU:$E99F PRG:299F A5 0B sec ; CPU:$E9A1 PRG:29A1 38 sbc Zp06 ; CPU:$E9A2 PRG:29A2 E5 06 - bpl Label_E97C ; CPU:$E9A4 PRG:29A4 10 D6 + bpl SubCE973_Block_E97C ; CPU:$E9A4 PRG:29A4 10 D6 rts ; CPU:$E9A6 PRG:29A6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9A7 +; Routine: SubCE9A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10896,14 +10897,14 @@ Label_E981: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A7: +SubCE9A7: lda #$01 ; CPU:$E9A7 PRG:29A7 A9 01 sta Zp0A ; CPU:$E9A9 PRG:29A9 85 0A lda Zp06 ; CPU:$E9AB PRG:29AB A5 06 sec ; CPU:$E9AD PRG:29AD 38 sbc #$01 ; CPU:$E9AE PRG:29AE E9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E9B0 +; Routine: SubCE9A7_Block_E9B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10911,12 +10912,12 @@ Label_E9A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9B0: +SubCE9A7_Block_E9B0: tay ; CPU:$E9B0 PRG:29B0 A8 sta Zp0B ; CPU:$E9B1 PRG:29B1 85 0B ldx Zp06 ; CPU:$E9B3 PRG:29B3 A6 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E9B5 +; Routine: SubCE9A7_Block_E9B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10924,7 +10925,7 @@ Label_E9B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9B5: +SubCE9A7_Block_E9B5: tya ; CPU:$E9B5 PRG:29B5 98 pha ; CPU:$E9B6 PRG:29B6 48 clc ; CPU:$E9B7 PRG:29B7 18 @@ -10945,15 +10946,15 @@ Label_E9B5: tay ; CPU:$E9CE PRG:29CE A8 dey ; CPU:$E9CF PRG:29CF 88 dex ; CPU:$E9D0 PRG:29D0 CA - bne Label_E9B5 ; CPU:$E9D1 PRG:29D1 D0 E2 + bne SubCE9A7_Block_E9B5 ; CPU:$E9D1 PRG:29D1 D0 E2 lda Zp0B ; CPU:$E9D3 PRG:29D3 A5 0B clc ; CPU:$E9D5 PRG:29D5 18 adc Zp06 ; CPU:$E9D6 PRG:29D6 65 06 cmp Zp08 ; CPU:$E9D8 PRG:29D8 C5 08 - bmi Label_E9B0 ; CPU:$E9DA PRG:29DA 30 D4 + bmi SubCE9A7_Block_E9B0 ; CPU:$E9DA PRG:29DA 30 D4 rts ; CPU:$E9DC PRG:29DC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9DD +; Routine: SubCE9DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10961,12 +10962,12 @@ Label_E9B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DD: +SubCE9DD: lda #$01 ; CPU:$E9DD PRG:29DD A9 01 sta Zp0A ; CPU:$E9DF PRG:29DF 85 0A ldy Zp08 ; CPU:$E9E1 PRG:29E1 A4 08 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E3 +; Routine: SubCE9DD_Block_E9E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10974,7 +10975,7 @@ Label_E9DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E3: +SubCE9DD_Block_E9E3: tya ; CPU:$E9E3 PRG:29E3 98 pha ; CPU:$E9E4 PRG:29E4 48 clc ; CPU:$E9E5 PRG:29E5 18 @@ -10995,10 +10996,10 @@ Label_E9E3: pla ; CPU:$E9FD PRG:29FD 68 tay ; CPU:$E9FE PRG:29FE A8 dey ; CPU:$E9FF PRG:29FF 88 - bne Label_E9E3 ; CPU:$EA00 PRG:2A00 D0 E1 + bne SubCE9DD_Block_E9E3 ; CPU:$EA00 PRG:2A00 D0 E1 rts ; CPU:$EA02 PRG:2A02 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA03 +; Routine: SubCEA03 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11006,10 +11007,10 @@ Label_E9E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA03: +SubCEA03: ldy #$00 ; CPU:$EA03 PRG:2A03 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EA05 +; Routine: SubCEA03_Block_EA05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11017,12 +11018,12 @@ Label_EA03: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA05: +SubCEA03_Block_EA05: ldx Zp06 ; CPU:$EA05 PRG:2A05 A6 06 lda Zp01 ; CPU:$EA07 PRG:2A07 A5 01 sta Zp09 ; CPU:$EA09 PRG:2A09 85 09 ; ----------------------------------------------------------------------------- -; Routine: Label_EA0B +; Routine: SubCEA03_Block_EA0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11030,7 +11031,7 @@ Label_EA05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA0B: +SubCEA03_Block_EA0B: lda Zp09 ; CPU:$EA0B PRG:2A0B A5 09 sta (Zp04),y ; CPU:$EA0D PRG:2A0D 91 04 clc ; CPU:$EA0F PRG:2A0F 18 @@ -11043,16 +11044,16 @@ Label_EA0B: sta (Zp04),y ; CPU:$EA19 PRG:2A19 91 04 iny ; CPU:$EA1B PRG:2A1B C8 dex ; CPU:$EA1C PRG:2A1C CA - bne Label_EA0B ; CPU:$EA1D PRG:2A1D D0 EC + bne SubCEA03_Block_EA0B ; CPU:$EA1D PRG:2A1D D0 EC lda Zp00 ; CPU:$EA1F PRG:2A1F A5 00 clc ; CPU:$EA21 PRG:2A21 18 adc #$08 ; CPU:$EA22 PRG:2A22 69 08 sta Zp00 ; CPU:$EA24 PRG:2A24 85 00 dec Zp07 ; CPU:$EA26 PRG:2A26 C6 07 - bne Label_EA05 ; CPU:$EA28 PRG:2A28 D0 DB + bne SubCEA03_Block_EA05 ; CPU:$EA28 PRG:2A28 D0 DB rts ; CPU:$EA2A PRG:2A2A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA2B +; Routine: SubCEA2B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11060,10 +11061,10 @@ Label_EA0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA2B: +SubCEA2B: lda #$01 ; CPU:$EA2B PRG:2A2B A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EA2D +; Routine: SubCEA2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11071,7 +11072,7 @@ Label_EA2B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA2D: +SubCEA2D: sta Zp0F ; CPU:$EA2D PRG:2A2D 85 0F txa ; CPU:$EA2F PRG:2A2F 8A pha ; CPU:$EA30 PRG:2A30 48 @@ -11080,9 +11081,9 @@ Label_EA2D: ldy #$00 ; CPU:$EA33 PRG:2A33 A0 00 sty Zp5E ; CPU:$EA35 PRG:2A35 84 5E lda Zp0F ; CPU:$EA37 PRG:2A37 A5 0F - beq Label_EA68 ; CPU:$EA39 PRG:2A39 F0 2D + beq SubCEA63_Block_EA68 ; CPU:$EA39 PRG:2A39 F0 2D ; ----------------------------------------------------------------------------- -; Routine: Label_EA3B +; Routine: SubCEA2D_Block_EA3B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11090,15 +11091,15 @@ Label_EA2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA3B: +SubCEA2D_Block_EA3B: lda Zp0F ; CPU:$EA3B PRG:2A3B A5 0F cmp #$01 ; CPU:$EA3D PRG:2A3D C9 01 - beq Label_EA49 ; CPU:$EA3F PRG:2A3F F0 08 + beq SubCEA2D_Block_EA49 ; CPU:$EA3F PRG:2A3F F0 08 lda #$01 ; CPU:$EA41 PRG:2A41 A9 01 jsr $EA92 ; CPU:$EA43 PRG:2A43 20 92 EA jmp $EA54 ; CPU:$EA46 PRG:2A46 4C 54 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA49 +; Routine: SubCEA2D_Block_EA49 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11106,13 +11107,13 @@ Label_EA3B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA49: +SubCEA2D_Block_EA49: lda #$01 ; CPU:$EA49 PRG:2A49 A9 01 jsr $EA74 ; CPU:$EA4B PRG:2A4B 20 74 EA jsr $EAAA ; CPU:$EA4E PRG:2A4E 20 AA EA jmp $EA63 ; CPU:$EA51 PRG:2A51 4C 63 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA54 +; Routine: SubCEA54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11120,16 +11121,16 @@ Label_EA49: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA54: +SubCEA54: inc Zp5E ; CPU:$EA54 PRG:2A54 E6 5E jsr $EAAA ; CPU:$EA56 PRG:2A56 20 AA EA - bne Label_EA63 ; CPU:$EA59 PRG:2A59 D0 08 + bne SubCEA63 ; CPU:$EA59 PRG:2A59 D0 08 lda (Zp02),y ; CPU:$EA5B PRG:2A5B B1 02 cmp #$FF ; CPU:$EA5D PRG:2A5D C9 FF - bne Label_EA3B ; CPU:$EA5F PRG:2A5F D0 DA + bne SubCEA2D_Block_EA3B ; CPU:$EA5F PRG:2A5F D0 DA lda #$00 ; CPU:$EA61 PRG:2A61 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EA63 +; Routine: SubCEA63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11137,11 +11138,11 @@ Label_EA54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA63: +SubCEA63: sta Zp0F ; CPU:$EA63 PRG:2A63 85 0F jmp $EA6D ; CPU:$EA65 PRG:2A65 4C 6D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA68 +; Routine: SubCEA63_Block_EA68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11149,11 +11150,11 @@ Label_EA63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA68: +SubCEA63_Block_EA68: ldx #$01 ; CPU:$EA68 PRG:2A68 A2 01 jsr $EA74 ; CPU:$EA6A PRG:2A6A 20 74 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA6D +; Routine: SubCEA6D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11161,7 +11162,7 @@ Label_EA68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA6D: +SubCEA6D: pla ; CPU:$EA6D PRG:2A6D 68 tay ; CPU:$EA6E PRG:2A6E A8 pla ; CPU:$EA6F PRG:2A6F 68 @@ -11169,7 +11170,7 @@ Label_EA6D: lda Zp0F ; CPU:$EA71 PRG:2A71 A5 0F rts ; CPU:$EA73 PRG:2A73 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA74 +; Routine: SubCEA74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11177,13 +11178,13 @@ Label_EA6D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA74: +SubCEA74: ldx #$00 ; CPU:$EA74 PRG:2A74 A2 00 lda Zp0F ; CPU:$EA76 PRG:2A76 A5 0F - beq Label_EA7C ; CPU:$EA78 PRG:2A78 F0 02 + beq SubCEA74_Block_EA7C ; CPU:$EA78 PRG:2A78 F0 02 ldx #$04 ; CPU:$EA7A PRG:2A7A A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA7C +; Routine: SubCEA74_Block_EA7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11191,10 +11192,10 @@ Label_EA74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA7C: +SubCEA74_Block_EA7C: jsr $EA7F ; CPU:$EA7C PRG:2A7C 20 7F EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA7F +; Routine: SubCEA7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11202,7 +11203,7 @@ Label_EA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA7F: +SubCEA7F: lda (Zp02),y ; CPU:$EA7F PRG:2A7F B1 02 clc ; CPU:$EA81 PRG:2A81 18 adc Zp00 ; CPU:$EA82 PRG:2A82 65 00 @@ -11217,7 +11218,7 @@ Label_EA7F: iny ; CPU:$EA90 PRG:2A90 C8 rts ; CPU:$EA91 PRG:2A91 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA92 +; Routine: SubCEA92 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11225,13 +11226,13 @@ Label_EA7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA92: +SubCEA92: ldx #$00 ; CPU:$EA92 PRG:2A92 A2 00 lda Zp0F ; CPU:$EA94 PRG:2A94 A5 0F - beq Label_EA9A ; CPU:$EA96 PRG:2A96 F0 02 + beq SubCEA92_Block_EA9A ; CPU:$EA96 PRG:2A96 F0 02 ldx #$04 ; CPU:$EA98 PRG:2A98 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EA9A +; Routine: SubCEA92_Block_EA9A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11239,10 +11240,10 @@ Label_EA92: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA9A: +SubCEA92_Block_EA9A: jsr $EA9D ; CPU:$EA9A PRG:2A9A 20 9D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA9D +; Routine: SubCEA9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11250,7 +11251,7 @@ Label_EA9A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA9D: +SubCEA9D: lda (Zp02),y ; CPU:$EA9D PRG:2A9D B1 02 sta Zp56,x ; CPU:$EA9F PRG:2A9F 95 56 inx ; CPU:$EAA1 PRG:2AA1 E8 @@ -11261,7 +11262,7 @@ Label_EA9D: iny ; CPU:$EAA8 PRG:2AA8 C8 rts ; CPU:$EAA9 PRG:2AA9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAAA +; Routine: SubCEAAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11269,17 +11270,17 @@ Label_EA9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAAA: +SubCEAAA: lda Zp56 ; CPU:$EAAA PRG:2AAA A5 56 cmp Zp5A ; CPU:$EAAC PRG:2AAC C5 5A - bcc Label_EABB ; CPU:$EAAE PRG:2AAE 90 0B - beq Label_EAC1 ; CPU:$EAB0 PRG:2AB0 F0 0F + bcc SubCEAAA_Block_EABB ; CPU:$EAAE PRG:2AAE 90 0B + beq SubCEAAA_Block_EAC1 ; CPU:$EAB0 PRG:2AB0 F0 0F cmp Zp5C ; CPU:$EAB2 PRG:2AB2 C5 5C - bcc Label_EAC1 ; CPU:$EAB4 PRG:2AB4 90 0B - beq Label_EAC1 ; CPU:$EAB6 PRG:2AB6 F0 09 + bcc SubCEAAA_Block_EAC1 ; CPU:$EAB4 PRG:2AB4 90 0B + beq SubCEAAA_Block_EAC1 ; CPU:$EAB6 PRG:2AB6 F0 09 jmp $EADB ; CPU:$EAB8 PRG:2AB8 4C DB EA ; ----------------------------------------------------------------------------- -; Routine: Label_EABB +; Routine: SubCEAAA_Block_EABB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11287,12 +11288,12 @@ Label_EAAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EABB: +SubCEAAA_Block_EABB: lda Zp58 ; CPU:$EABB PRG:2ABB A5 58 cmp Zp5A ; CPU:$EABD PRG:2ABD C5 5A - bcc Label_EADB ; CPU:$EABF PRG:2ABF 90 1A + bcc SubCEADB ; CPU:$EABF PRG:2ABF 90 1A ; ----------------------------------------------------------------------------- -; Routine: Label_EAC1 +; Routine: SubCEAAA_Block_EAC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11300,17 +11301,17 @@ Label_EABB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAC1: +SubCEAAA_Block_EAC1: lda Zp57 ; CPU:$EAC1 PRG:2AC1 A5 57 cmp Zp5B ; CPU:$EAC3 PRG:2AC3 C5 5B - bcc Label_EAD2 ; CPU:$EAC5 PRG:2AC5 90 0B - beq Label_EAD8 ; CPU:$EAC7 PRG:2AC7 F0 0F + bcc SubCEAAA_Block_EAD2 ; CPU:$EAC5 PRG:2AC5 90 0B + beq SubCEAAA_Block_EAD8 ; CPU:$EAC7 PRG:2AC7 F0 0F cmp Zp5D ; CPU:$EAC9 PRG:2AC9 C5 5D - bcc Label_EAD8 ; CPU:$EACB PRG:2ACB 90 0B - beq Label_EAD8 ; CPU:$EACD PRG:2ACD F0 09 + bcc SubCEAAA_Block_EAD8 ; CPU:$EACB PRG:2ACB 90 0B + beq SubCEAAA_Block_EAD8 ; CPU:$EACD PRG:2ACD F0 09 jmp $EADB ; CPU:$EACF PRG:2ACF 4C DB EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAD2 +; Routine: SubCEAAA_Block_EAD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11318,12 +11319,12 @@ Label_EAC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD2: +SubCEAAA_Block_EAD2: lda Zp59 ; CPU:$EAD2 PRG:2AD2 A5 59 cmp Zp5B ; CPU:$EAD4 PRG:2AD4 C5 5B - bcc Label_EADB ; CPU:$EAD6 PRG:2AD6 90 03 + bcc SubCEADB ; CPU:$EAD6 PRG:2AD6 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD8 +; Routine: SubCEAAA_Block_EAD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11331,11 +11332,11 @@ Label_EAD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD8: +SubCEAAA_Block_EAD8: lda #$01 ; CPU:$EAD8 PRG:2AD8 A9 01 rts ; CPU:$EADA PRG:2ADA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EADB +; Routine: SubCEADB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11343,11 +11344,11 @@ Label_EAD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EADB: +SubCEADB: lda #$00 ; CPU:$EADB PRG:2ADB A9 00 rts ; CPU:$EADD PRG:2ADD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EADE +; Routine: SubCEADE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11355,7 +11356,7 @@ Label_EADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EADE: +SubCEADE: sta Zp02 ; CPU:$EADE PRG:2ADE 85 02 lda Zp93 ; CPU:$EAE0 PRG:2AE0 A5 93 and #$01 ; CPU:$EAE2 PRG:2AE2 29 01 @@ -11364,16 +11365,16 @@ Label_EADE: sec ; CPU:$EAE7 PRG:2AE7 38 sbc Zp01 ; CPU:$EAE8 PRG:2AE8 E5 01 tay ; CPU:$EAEA PRG:2AEA A8 - beq Label_EB05 ; CPU:$EAEB PRG:2AEB F0 18 - bcs Label_EAFA ; CPU:$EAED PRG:2AED B0 0B + beq SubCEAFD_Block_EB05 ; CPU:$EAEB PRG:2AEB F0 18 + bcs SubCEADE_Block_EAFA ; CPU:$EAED PRG:2AED B0 0B txa ; CPU:$EAEF PRG:2AEF 8A - bne Label_EB02 ; CPU:$EAF0 PRG:2AF0 D0 10 + bne SubCEAFD_Block_EB02 ; CPU:$EAF0 PRG:2AF0 D0 10 tya ; CPU:$EAF2 PRG:2AF2 98 jsr $E046 ; CPU:$EAF3 PRG:2AF3 20 46 E0 tay ; CPU:$EAF6 PRG:2AF6 A8 jmp $EAFD ; CPU:$EAF7 PRG:2AF7 4C FD EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAFA +; Routine: SubCEADE_Block_EAFA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11381,11 +11382,11 @@ Label_EADE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFA: +SubCEADE_Block_EAFA: txa ; CPU:$EAFA PRG:2AFA 8A - beq Label_EB02 ; CPU:$EAFB PRG:2AFB F0 05 + beq SubCEAFD_Block_EB02 ; CPU:$EAFB PRG:2AFB F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EAFD +; Routine: SubCEAFD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11393,12 +11394,12 @@ Label_EAFA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAFD: +SubCEAFD: tya ; CPU:$EAFD PRG:2AFD 98 cmp Zp02 ; CPU:$EAFE PRG:2AFE C5 02 - bcc Label_EB05 ; CPU:$EB00 PRG:2B00 90 03 + bcc SubCEAFD_Block_EB05 ; CPU:$EB00 PRG:2B00 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EB02 +; Routine: SubCEAFD_Block_EB02 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11406,11 +11407,11 @@ Label_EAFD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB02: +SubCEAFD_Block_EB02: lda #$00 ; CPU:$EB02 PRG:2B02 A9 00 rts ; CPU:$EB04 PRG:2B04 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB05 +; Routine: SubCEAFD_Block_EB05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11418,11 +11419,11 @@ Label_EB02: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB05: +SubCEAFD_Block_EB05: lda #$01 ; CPU:$EB05 PRG:2B05 A9 01 rts ; CPU:$EB07 PRG:2B07 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB08 +; Routine: SubCEB08 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11430,14 +11431,14 @@ Label_EB05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB08: +SubCEB08: ldx #$F8 ; CPU:$EB08 PRG:2B08 A2 F8 lda Zp7D ; CPU:$EB0A PRG:2B0A A5 7D and #$01 ; CPU:$EB0C PRG:2B0C 29 01 - beq Label_EB12 ; CPU:$EB0E PRG:2B0E F0 02 + beq SubCEB08_Block_EB12 ; CPU:$EB0E PRG:2B0E F0 02 ldx #$10 ; CPU:$EB10 PRG:2B10 A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_EB12 +; Routine: SubCEB08_Block_EB12 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11445,7 +11446,7 @@ Label_EB08: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB12: +SubCEB08_Block_EB12: txa ; CPU:$EB12 PRG:2B12 8A clc ; CPU:$EB13 PRG:2B13 18 adc Zp82 ; CPU:$EB14 PRG:2B14 65 82 @@ -11456,7 +11457,7 @@ Label_EB12: sta Zp01 ; CPU:$EB1D PRG:2B1D 85 01 rts ; CPU:$EB1F PRG:2B1F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB20 +; Routine: SubCEB20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11464,14 +11465,14 @@ Label_EB12: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB20: +SubCEB20: lda #$00 ; CPU:$EB20 PRG:2B20 A9 00 sta Zp00 ; CPU:$EB22 PRG:2B22 85 00 sta Zp01 ; CPU:$EB24 PRG:2B24 85 01 ldx Zp64 ; CPU:$EB26 PRG:2B26 A6 64 rts ; CPU:$EB28 PRG:2B28 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB29 +; Routine: SubCEB29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11479,13 +11480,13 @@ Label_EB20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB29: +SubCEB29: jsr $EB20 ; CPU:$EB29 PRG:2B29 20 20 EB lda $C39E ; CPU:$EB2C PRG:2B2C AD 9E C3 sta Zp02 ; CPU:$EB2F PRG:2B2F 85 02 lda $C39F ; CPU:$EB31 PRG:2B31 AD 9F C3 ; ----------------------------------------------------------------------------- -; Routine: Label_EB34 +; Routine: SubCEB34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11493,12 +11494,12 @@ Label_EB29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB34: +SubCEB34: sta Zp03 ; CPU:$EB34 PRG:2B34 85 03 lda #$02 ; CPU:$EB36 PRG:2B36 A9 02 jmp $EA2D ; CPU:$EB38 PRG:2B38 4C 2D EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB3B +; Routine: SubCEB3B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11506,20 +11507,20 @@ Label_EB34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB3B: +SubCEB3B: jsr $EB20 ; CPU:$EB3B PRG:2B3B 20 20 EB lda $C3A0,x ; CPU:$EB3E PRG:2B3E BD A0 C3 sta Zp02 ; CPU:$EB41 PRG:2B41 85 02 lda $C3A1,x ; CPU:$EB43 PRG:2B43 BD A1 C3 jsr $EB34 ; CPU:$EB46 PRG:2B46 20 34 EB - beq Label_EB78 ; CPU:$EB49 PRG:2B49 F0 2D + beq SubCEB3B_Block_EB78 ; CPU:$EB49 PRG:2B49 F0 2D ldx #$82 ; CPU:$EB4B PRG:2B4B A2 82 lda Zp5E ; CPU:$EB4D PRG:2B4D A5 5E cmp #$04 ; CPU:$EB4F PRG:2B4F C9 04 - bpl Label_EB55 ; CPU:$EB51 PRG:2B51 10 02 + bpl SubCEB3B_Block_EB55 ; CPU:$EB51 PRG:2B51 10 02 ldx #$81 ; CPU:$EB53 PRG:2B53 A2 81 ; ----------------------------------------------------------------------------- -; Routine: Label_EB55 +; Routine: SubCEB3B_Block_EB55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11527,19 +11528,19 @@ Label_EB3B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB55: +SubCEB3B_Block_EB55: lda Zp05 ; CPU:$EB55 PRG:2B55 A5 05 - bne Label_EB67 ; CPU:$EB57 PRG:2B57 D0 0E + bne SubCEB3B_Block_EB67 ; CPU:$EB57 PRG:2B57 D0 0E lda Zp5E ; CPU:$EB59 PRG:2B59 A5 5E cmp #$03 ; CPU:$EB5B PRG:2B5B C9 03 - beq Label_EB78 ; CPU:$EB5D PRG:2B5D F0 19 + beq SubCEB3B_Block_EB78 ; CPU:$EB5D PRG:2B5D F0 19 cmp #$05 ; CPU:$EB5F PRG:2B5F C9 05 - beq Label_EB78 ; CPU:$EB61 PRG:2B61 F0 15 + beq SubCEB3B_Block_EB78 ; CPU:$EB61 PRG:2B61 F0 15 txa ; CPU:$EB63 PRG:2B63 8A sta Zp7D ; CPU:$EB64 PRG:2B64 85 7D rts ; CPU:$EB66 PRG:2B66 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB67 +; Routine: SubCEB3B_Block_EB67 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11547,15 +11548,15 @@ Label_EB55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB67: +SubCEB3B_Block_EB67: lda Zp5E ; CPU:$EB67 PRG:2B67 A5 5E cmp #$01 ; CPU:$EB69 PRG:2B69 C9 01 - bne Label_EB73 ; CPU:$EB6B PRG:2B6B D0 06 + bne SubCEB3B_Block_EB73 ; CPU:$EB6B PRG:2B6B D0 06 lda Zp93 ; CPU:$EB6D PRG:2B6D A5 93 and #$02 ; CPU:$EB6F PRG:2B6F 29 02 - bne Label_EB78 ; CPU:$EB71 PRG:2B71 D0 05 + bne SubCEB3B_Block_EB78 ; CPU:$EB71 PRG:2B71 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EB73 +; Routine: SubCEB3B_Block_EB73 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11563,12 +11564,12 @@ Label_EB67: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB73: +SubCEB3B_Block_EB73: txa ; CPU:$EB73 PRG:2B73 8A eor #$03 ; CPU:$EB74 PRG:2B74 49 03 sta Zp93 ; CPU:$EB76 PRG:2B76 85 93 ; ----------------------------------------------------------------------------- -; Routine: Label_EB78 +; Routine: SubCEB3B_Block_EB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11576,10 +11577,10 @@ Label_EB73: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB78: +SubCEB3B_Block_EB78: rts ; CPU:$EB78 PRG:2B78 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB79 +; Routine: SubCEB79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11587,17 +11588,17 @@ Label_EB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB79: +SubCEB79: jsr $EB20 ; CPU:$EB79 PRG:2B79 20 20 EB lda $C3A6,x ; CPU:$EB7C PRG:2B7C BD A6 C3 sta Zp02 ; CPU:$EB7F PRG:2B7F 85 02 lda $C3A7,x ; CPU:$EB81 PRG:2B81 BD A7 C3 jsr $EB34 ; CPU:$EB84 PRG:2B84 20 34 EB - beq Label_EB8E ; CPU:$EB87 PRG:2B87 F0 05 + beq SubCEB79_Block_EB8E ; CPU:$EB87 PRG:2B87 F0 05 lda #$48 ; CPU:$EB89 PRG:2B89 A9 48 jmp $EBA1 ; CPU:$EB8B PRG:2B8B 4C A1 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB8E +; Routine: SubCEB79_Block_EB8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11605,10 +11606,10 @@ Label_EB79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8E: +SubCEB79_Block_EB8E: rts ; CPU:$EB8E PRG:2B8E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB8F +; Routine: SubCEB8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11616,16 +11617,16 @@ Label_EB8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8F: +SubCEB8F: jsr $EB20 ; CPU:$EB8F PRG:2B8F 20 20 EB lda $C3AC,x ; CPU:$EB92 PRG:2B92 BD AC C3 sta Zp02 ; CPU:$EB95 PRG:2B95 85 02 lda $C3AD,x ; CPU:$EB97 PRG:2B97 BD AD C3 jsr $EB34 ; CPU:$EB9A PRG:2B9A 20 34 EB - beq Label_EBA9 ; CPU:$EB9D PRG:2B9D F0 0A + beq SubCEBA1_Block_EBA9 ; CPU:$EB9D PRG:2B9D F0 0A lda #$44 ; CPU:$EB9F PRG:2B9F A9 44 ; ----------------------------------------------------------------------------- -; Routine: Label_EBA1 +; Routine: SubCEBA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11633,13 +11634,13 @@ Label_EB8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBA1: +SubCEBA1: ora Zp7D ; CPU:$EBA1 PRG:2BA1 05 7D sta Zp7D ; CPU:$EBA3 PRG:2BA3 85 7D lda Zp5E ; CPU:$EBA5 PRG:2BA5 A5 5E sta Zp8F ; CPU:$EBA7 PRG:2BA7 85 8F ; ----------------------------------------------------------------------------- -; Routine: Label_EBA9 +; Routine: SubCEBA1_Block_EBA9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11647,10 +11648,10 @@ Label_EBA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBA9: +SubCEBA1_Block_EBA9: rts ; CPU:$EBA9 PRG:2BA9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBAA +; Routine: SubCEBAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11658,7 +11659,7 @@ Label_EBA9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBAA: +SubCEBAA: ldx Zp64 ; CPU:$EBAA PRG:2BAA A6 64 lda $C299,x ; CPU:$EBAC PRG:2BAC BD 99 C2 sta Zp00 ; CPU:$EBAF PRG:2BAF 85 00 @@ -11666,7 +11667,7 @@ Label_EBAA: sta Zp01 ; CPU:$EBB4 PRG:2BB4 85 01 ldy #$00 ; CPU:$EBB6 PRG:2BB6 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB8 +; Routine: SubCEBAA_Block_EBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11674,23 +11675,23 @@ Label_EBAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB8: +SubCEBAA_Block_EBB8: lda (Zp00),y ; CPU:$EBB8 PRG:2BB8 B1 00 cmp #$FF ; CPU:$EBBA PRG:2BBA C9 FF - beq Label_EBF8 ; CPU:$EBBC PRG:2BBC F0 3A + beq SubCEBDC_Block_EBF8 ; CPU:$EBBC PRG:2BBC F0 3A iny ; CPU:$EBBE PRG:2BBE C8 cmp Zp97 ; CPU:$EBBF PRG:2BBF C5 97 - bne Label_EBB8 ; CPU:$EBC1 PRG:2BC1 D0 F5 + bne SubCEBAA_Block_EBB8 ; CPU:$EBC1 PRG:2BC1 D0 F5 lda Zp92 ; CPU:$EBC3 PRG:2BC3 A5 92 cmp #$01 ; CPU:$EBC5 PRG:2BC5 C9 01 - bne Label_EBD4 ; CPU:$EBC7 PRG:2BC7 D0 0B + bne SubCEBAA_Block_EBD4 ; CPU:$EBC7 PRG:2BC7 D0 0B cpy #$01 ; CPU:$EBC9 PRG:2BC9 C0 01 - beq Label_EBF8 ; CPU:$EBCB PRG:2BCB F0 2B + beq SubCEBDC_Block_EBF8 ; CPU:$EBCB PRG:2BCB F0 2B cpy #$05 ; CPU:$EBCD PRG:2BCD C0 05 - beq Label_EBF8 ; CPU:$EBCF PRG:2BCF F0 27 + beq SubCEBDC_Block_EBF8 ; CPU:$EBCF PRG:2BCF F0 27 jmp $EBDC ; CPU:$EBD1 PRG:2BD1 4C DC EB ; ----------------------------------------------------------------------------- -; Routine: Label_EBD4 +; Routine: SubCEBAA_Block_EBD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11698,13 +11699,13 @@ Label_EBB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBD4: +SubCEBAA_Block_EBD4: cpy #$03 ; CPU:$EBD4 PRG:2BD4 C0 03 - beq Label_EBF8 ; CPU:$EBD6 PRG:2BD6 F0 20 + beq SubCEBDC_Block_EBF8 ; CPU:$EBD6 PRG:2BD6 F0 20 cpy #$04 ; CPU:$EBD8 PRG:2BD8 C0 04 - beq Label_EBF8 ; CPU:$EBDA PRG:2BDA F0 1C + beq SubCEBDC_Block_EBF8 ; CPU:$EBDA PRG:2BDA F0 1C ; ----------------------------------------------------------------------------- -; Routine: Label_EBDC +; Routine: SubCEBDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11712,14 +11713,14 @@ Label_EBD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBDC: +SubCEBDC: lda Zp64 ; CPU:$EBDC PRG:2BDC A5 64 cmp #$04 ; CPU:$EBDE PRG:2BDE C9 04 - bne Label_EBE6 ; CPU:$EBE0 PRG:2BE0 D0 04 + bne SubCEBDC_Block_EBE6 ; CPU:$EBE0 PRG:2BE0 D0 04 cpy #$01 ; CPU:$EBE2 PRG:2BE2 C0 01 - beq Label_EBF8 ; CPU:$EBE4 PRG:2BE4 F0 12 + beq SubCEBDC_Block_EBF8 ; CPU:$EBE4 PRG:2BE4 F0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_EBE6 +; Routine: SubCEBDC_Block_EBE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11727,17 +11728,17 @@ Label_EBDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBE6: +SubCEBDC_Block_EBE6: jsr $EBFB ; CPU:$EBE6 PRG:2BE6 20 FB EB - beq Label_EBF8 ; CPU:$EBE9 PRG:2BE9 F0 0D + beq SubCEBDC_Block_EBF8 ; CPU:$EBE9 PRG:2BE9 F0 0D lda Zp7C ; CPU:$EBEB PRG:2BEB A5 7C cmp Zp92 ; CPU:$EBED PRG:2BED C5 92 - bmi Label_EBF8 ; CPU:$EBEF PRG:2BEF 30 07 + bmi SubCEBDC_Block_EBF8 ; CPU:$EBEF PRG:2BEF 30 07 sty ZpA7 ; CPU:$EBF1 PRG:2BF1 84 A7 lda #$48 ; CPU:$EBF3 PRG:2BF3 A9 48 jmp $EC5C ; CPU:$EBF5 PRG:2BF5 4C 5C EC ; ----------------------------------------------------------------------------- -; Routine: Label_EBF8 +; Routine: SubCEBDC_Block_EBF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11745,11 +11746,11 @@ Label_EBE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBF8: +SubCEBDC_Block_EBF8: lda #$00 ; CPU:$EBF8 PRG:2BF8 A9 00 rts ; CPU:$EBFA PRG:2BFA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBFB +; Routine: SubCEBFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11757,16 +11758,16 @@ Label_EBF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBFB: +SubCEBFB: lda #$40 ; CPU:$EBFB PRG:2BFB A9 40 ldx Zp7C ; CPU:$EBFD PRG:2BFD A6 7C cpx Zp92 ; CPU:$EBFF PRG:2BFF E4 92 - beq Label_EC09 ; CPU:$EC01 PRG:2C01 F0 06 + beq SubCEBFB_Block_EC09 ; CPU:$EC01 PRG:2C01 F0 06 ldx Zp18 ; CPU:$EC03 PRG:2C03 A6 18 cpx #$80 ; CPU:$EC05 PRG:2C05 E0 80 - bcc Label_EC0B ; CPU:$EC07 PRG:2C07 90 02 + bcc SubCEBFB_Block_EC0B ; CPU:$EC07 PRG:2C07 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EC09 +; Routine: SubCEBFB_Block_EC09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11774,10 +11775,10 @@ Label_EBFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC09: +SubCEBFB_Block_EC09: lda #$00 ; CPU:$EC09 PRG:2C09 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC0B +; Routine: SubCEBFB_Block_EC0B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11785,11 +11786,11 @@ Label_EC09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC0B: +SubCEBFB_Block_EC0B: eor ZpE0 ; CPU:$EC0B PRG:2C0B 45 E0 rts ; CPU:$EC0D PRG:2C0D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC0E +; Routine: SubCEC0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11797,7 +11798,7 @@ Label_EC0B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC0E: +SubCEC0E: ldx Zp64 ; CPU:$EC0E PRG:2C0E A6 64 lda $C293,x ; CPU:$EC10 PRG:2C10 BD 93 C2 sta Zp00 ; CPU:$EC13 PRG:2C13 85 00 @@ -11805,7 +11806,7 @@ Label_EC0E: sta Zp01 ; CPU:$EC18 PRG:2C18 85 01 ldy #$00 ; CPU:$EC1A PRG:2C1A A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EC1C +; Routine: SubCEC0E_Block_EC1C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11813,24 +11814,24 @@ Label_EC0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC1C: +SubCEC0E_Block_EC1C: lda (Zp00),y ; CPU:$EC1C PRG:2C1C B1 00 cmp #$FF ; CPU:$EC1E PRG:2C1E C9 FF - beq Label_EC61 ; CPU:$EC20 PRG:2C20 F0 3F + beq SubCEC61 ; CPU:$EC20 PRG:2C20 F0 3F iny ; CPU:$EC22 PRG:2C22 C8 cmp Zp97 ; CPU:$EC23 PRG:2C23 C5 97 - bne Label_EC1C ; CPU:$EC25 PRG:2C25 D0 F5 + bne SubCEC0E_Block_EC1C ; CPU:$EC25 PRG:2C25 D0 F5 cpy #$03 ; CPU:$EC27 PRG:2C27 C0 03 - beq Label_EC61 ; CPU:$EC29 PRG:2C29 F0 36 + beq SubCEC61 ; CPU:$EC29 PRG:2C29 F0 36 cpy #$04 ; CPU:$EC2B PRG:2C2B C0 04 - beq Label_EC61 ; CPU:$EC2D PRG:2C2D F0 32 + beq SubCEC61 ; CPU:$EC2D PRG:2C2D F0 32 lda Zp64 ; CPU:$EC2F PRG:2C2F A5 64 cmp #$04 ; CPU:$EC31 PRG:2C31 C9 04 - bne Label_EC39 ; CPU:$EC33 PRG:2C33 D0 04 + bne SubCEC0E_Block_EC39 ; CPU:$EC33 PRG:2C33 D0 04 cpy #$06 ; CPU:$EC35 PRG:2C35 C0 06 - beq Label_EC61 ; CPU:$EC37 PRG:2C37 F0 28 + beq SubCEC61 ; CPU:$EC37 PRG:2C37 F0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_EC39 +; Routine: SubCEC0E_Block_EC39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11838,7 +11839,7 @@ Label_EC1C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC39: +SubCEC0E_Block_EC39: sty ZpA7 ; CPU:$EC39 PRG:2C39 84 A7 lda #$07 ; CPU:$EC3B PRG:2C3B A9 07 sec ; CPU:$EC3D PRG:2C3D 38 @@ -11846,15 +11847,15 @@ Label_EC39: sta ZpA7 ; CPU:$EC40 PRG:2C40 85 A7 lda Zp7C ; CPU:$EC42 PRG:2C42 A5 7C cmp #$08 ; CPU:$EC44 PRG:2C44 C9 08 - bne Label_EC55 ; CPU:$EC46 PRG:2C46 D0 0D + bne SubCEC0E_Block_EC55 ; CPU:$EC46 PRG:2C46 D0 0D lda Zp82 ; CPU:$EC48 PRG:2C48 A5 82 cmp #$10 ; CPU:$EC4A PRG:2C4A C9 10 - bcc Label_EC55 ; CPU:$EC4C PRG:2C4C 90 07 + bcc SubCEC0E_Block_EC55 ; CPU:$EC4C PRG:2C4C 90 07 cmp #$E0 ; CPU:$EC4E PRG:2C4E C9 E0 - bcs Label_EC55 ; CPU:$EC50 PRG:2C50 B0 03 + bcs SubCEC0E_Block_EC55 ; CPU:$EC50 PRG:2C50 B0 03 jmp $EC61 ; CPU:$EC52 PRG:2C52 4C 61 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC55 +; Routine: SubCEC0E_Block_EC55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11862,12 +11863,12 @@ Label_EC39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC55: +SubCEC0E_Block_EC55: jsr $EBFB ; CPU:$EC55 PRG:2C55 20 FB EB - beq Label_EC61 ; CPU:$EC58 PRG:2C58 F0 07 + beq SubCEC61 ; CPU:$EC58 PRG:2C58 F0 07 lda #$44 ; CPU:$EC5A PRG:2C5A A9 44 ; ----------------------------------------------------------------------------- -; Routine: Label_EC5C +; Routine: SubCEC5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11875,12 +11876,12 @@ Label_EC55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC5C: +SubCEC5C: ora Zp93 ; CPU:$EC5C PRG:2C5C 05 93 sta Zp93 ; CPU:$EC5E PRG:2C5E 85 93 rts ; CPU:$EC60 PRG:2C60 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC61 +; Routine: SubCEC61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11888,11 +11889,11 @@ Label_EC5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC61: +SubCEC61: lda #$00 ; CPU:$EC61 PRG:2C61 A9 00 rts ; CPU:$EC63 PRG:2C63 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC64 +; Routine: SubCEC64 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11900,14 +11901,14 @@ Label_EC61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC64: +SubCEC64: jsr $EB20 ; CPU:$EC64 PRG:2C64 20 20 EB jsr $EC71 ; CPU:$EC67 PRG:2C67 20 71 EC - beq Label_EC8E ; CPU:$EC6A PRG:2C6A F0 22 + beq SubCEC86_Block_EC8E ; CPU:$EC6A PRG:2C6A F0 22 lda #$28 ; CPU:$EC6C PRG:2C6C A9 28 jmp $EC86 ; CPU:$EC6E PRG:2C6E 4C 86 EC ; ----------------------------------------------------------------------------- -; Routine: Label_EC71 +; Routine: SubCEC71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11915,13 +11916,13 @@ Label_EC64: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC71: +SubCEC71: lda $C3BE,x ; CPU:$EC71 PRG:2C71 BD BE C3 sta Zp02 ; CPU:$EC74 PRG:2C74 85 02 lda $C3BF,x ; CPU:$EC76 PRG:2C76 BD BF C3 jmp $EB34 ; CPU:$EC79 PRG:2C79 4C 34 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EC7C +; Routine: SubCEC7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11929,13 +11930,13 @@ Label_EC71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC7C: +SubCEC7C: jsr $EB20 ; CPU:$EC7C PRG:2C7C 20 20 EB jsr $EC71 ; CPU:$EC7F PRG:2C7F 20 71 EC - beq Label_EC8E ; CPU:$EC82 PRG:2C82 F0 0A + beq SubCEC86_Block_EC8E ; CPU:$EC82 PRG:2C82 F0 0A lda #$24 ; CPU:$EC84 PRG:2C84 A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EC86 +; Routine: SubCEC86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11943,13 +11944,13 @@ Label_EC7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC86: +SubCEC86: ora Zp7D ; CPU:$EC86 PRG:2C86 05 7D sta Zp7D ; CPU:$EC88 PRG:2C88 85 7D lda Zp5E ; CPU:$EC8A PRG:2C8A A5 5E sta Zp90 ; CPU:$EC8C PRG:2C8C 85 90 ; ----------------------------------------------------------------------------- -; Routine: Label_EC8E +; Routine: SubCEC86_Block_EC8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11957,10 +11958,10 @@ Label_EC86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC8E: +SubCEC86_Block_EC8E: rts ; CPU:$EC8E PRG:2C8E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EC8F +; Routine: SubCEC8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11968,20 +11969,20 @@ Label_EC8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC8F: +SubCEC8F: lda Zp7D ; CPU:$EC8F PRG:2C8F A5 7D and #$01 ; CPU:$EC91 PRG:2C91 29 01 - beq Label_ECC6 ; CPU:$EC93 PRG:2C93 F0 31 + beq SubCECC2_Block_ECC6 ; CPU:$EC93 PRG:2C93 F0 31 jsr $EB20 ; CPU:$EC95 PRG:2C95 20 20 EB lda $C3B2,x ; CPU:$EC98 PRG:2C98 BD B2 C3 sta Zp02 ; CPU:$EC9B PRG:2C9B 85 02 lda $C3B3,x ; CPU:$EC9D PRG:2C9D BD B3 C3 jsr $EB34 ; CPU:$ECA0 PRG:2CA0 20 34 EB - beq Label_ECC6 ; CPU:$ECA3 PRG:2CA3 F0 21 + beq SubCECC2_Block_ECC6 ; CPU:$ECA3 PRG:2CA3 F0 21 lda #$11 ; CPU:$ECA5 PRG:2CA5 A9 11 jmp $ECC2 ; CPU:$ECA7 PRG:2CA7 4C C2 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECAA +; Routine: SubCECAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11989,19 +11990,19 @@ Label_EC8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECAA: +SubCECAA: lda Zp7D ; CPU:$ECAA PRG:2CAA A5 7D and #$02 ; CPU:$ECAC PRG:2CAC 29 02 - beq Label_ECC6 ; CPU:$ECAE PRG:2CAE F0 16 + beq SubCECC2_Block_ECC6 ; CPU:$ECAE PRG:2CAE F0 16 jsr $EB20 ; CPU:$ECB0 PRG:2CB0 20 20 EB lda $C3B8,x ; CPU:$ECB3 PRG:2CB3 BD B8 C3 sta Zp02 ; CPU:$ECB6 PRG:2CB6 85 02 lda $C3B9,x ; CPU:$ECB8 PRG:2CB8 BD B9 C3 jsr $EB34 ; CPU:$ECBB PRG:2CBB 20 34 EB - beq Label_ECC6 ; CPU:$ECBE PRG:2CBE F0 06 + beq SubCECC2_Block_ECC6 ; CPU:$ECBE PRG:2CBE F0 06 lda #$12 ; CPU:$ECC0 PRG:2CC0 A9 12 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC2 +; Routine: SubCECC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12009,11 +12010,11 @@ Label_ECAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC2: +SubCECC2: sta Zp7D ; CPU:$ECC2 PRG:2CC2 85 7D sta Zp91 ; CPU:$ECC4 PRG:2CC4 85 91 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC6 +; Routine: SubCECC2_Block_ECC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12021,10 +12022,10 @@ Label_ECC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC6: +SubCECC2_Block_ECC6: rts ; CPU:$ECC6 PRG:2CC6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ECC7 +; Routine: SubCECC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12032,10 +12033,10 @@ Label_ECC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC7: +SubCECC7: ldx $0300 ; CPU:$ECC7 PRG:2CC7 AE 00 03 lda $0302,x ; CPU:$ECCA PRG:2CCA BD 02 03 - beq Label_ED06 ; CPU:$ECCD PRG:2CCD F0 37 + beq SubCECC7_Block_ED06 ; CPU:$ECCD PRG:2CCD F0 37 and #$F0 ; CPU:$ECCF PRG:2CCF 29 F0 lsr a ; CPU:$ECD1 PRG:2CD1 4A lsr a ; CPU:$ECD2 PRG:2CD2 4A @@ -12059,10 +12060,10 @@ Label_ECC7: inx ; CPU:$ECF3 PRG:2CF3 E8 txa ; CPU:$ECF4 PRG:2CF4 8A cmp #$2E ; CPU:$ECF5 PRG:2CF5 C9 2E - bcc Label_ECFB ; CPU:$ECF7 PRG:2CF7 90 02 + bcc SubCECC7_Block_ECFB ; CPU:$ECF7 PRG:2CF7 90 02 lda #$00 ; CPU:$ECF9 PRG:2CF9 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ECFB +; Routine: SubCECC7_Block_ECFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12070,13 +12071,13 @@ Label_ECC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECFB: +SubCECC7_Block_ECFB: sta $0300 ; CPU:$ECFB PRG:2CFB 8D 00 03 lda $0301,x ; CPU:$ECFE PRG:2CFE BD 01 03 sta Zp00 ; CPU:$ED01 PRG:2D01 85 00 jmp ($0002) ; CPU:$ED03 PRG:2D03 6C 02 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED06 +; Routine: SubCECC7_Block_ED06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12084,10 +12085,10 @@ Label_ECFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED06: +SubCECC7_Block_ED06: rts ; CPU:$ED06 PRG:2D06 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED07 +; Routine: SubCED07 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12095,10 +12096,10 @@ Label_ED06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED07: +SubCED07: ldx $0301 ; CPU:$ED07 PRG:2D07 AE 01 03 ldy $0302,x ; CPU:$ED0A PRG:2D0A BC 02 03 - bne Label_ED23 ; CPU:$ED0D PRG:2D0D D0 14 + bne SubCED07_Block_ED23 ; CPU:$ED0D PRG:2D0D D0 14 sta $0303,x ; CPU:$ED0F PRG:2D0F 9D 03 03 lda Zp01 ; CPU:$ED12 PRG:2D12 A5 01 sta $0302,x ; CPU:$ED14 PRG:2D14 9D 02 03 @@ -12106,10 +12107,10 @@ Label_ED07: inx ; CPU:$ED18 PRG:2D18 E8 txa ; CPU:$ED19 PRG:2D19 8A cmp #$2E ; CPU:$ED1A PRG:2D1A C9 2E - bcc Label_ED20 ; CPU:$ED1C PRG:2D1C 90 02 + bcc SubCED07_Block_ED20 ; CPU:$ED1C PRG:2D1C 90 02 lda #$00 ; CPU:$ED1E PRG:2D1E A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED20 +; Routine: SubCED07_Block_ED20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12117,10 +12118,10 @@ Label_ED07: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED20: +SubCED07_Block_ED20: sta $0301 ; CPU:$ED20 PRG:2D20 8D 01 03 ; ----------------------------------------------------------------------------- -; Routine: Label_ED23 +; Routine: SubCED07_Block_ED23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12128,10 +12129,10 @@ Label_ED20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED23: +SubCED07_Block_ED23: rts ; CPU:$ED23 PRG:2D23 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED24 +; Routine: SubCED24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12139,7 +12140,7 @@ Label_ED23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED24: +SubCED24: lda #$31 ; CPU:$ED24 PRG:2D24 A9 31 sta Zp00 ; CPU:$ED26 PRG:2D26 85 00 lda #$03 ; CPU:$ED28 PRG:2D28 A9 03 @@ -12150,7 +12151,7 @@ Label_ED24: sta $0331 ; CPU:$ED34 PRG:2D34 8D 31 03 rts ; CPU:$ED37 PRG:2D37 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED38 +; Routine: SubCED38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12158,14 +12159,14 @@ Label_ED24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED38: +SubCED38: lda #$00 ; CPU:$ED38 PRG:2D38 A9 00 - sta $2003 ; CPU:$ED3A PRG:2D3A 8D 03 20 + sta OAMADDR ; CPU:$ED3A PRG:2D3A 8D 03 20 lda #$02 ; CPU:$ED3D PRG:2D3D A9 02 - sta $4014 ; CPU:$ED3F PRG:2D3F 8D 14 40 + sta OAMDMA ; CPU:$ED3F PRG:2D3F 8D 14 40 rts ; CPU:$ED42 PRG:2D42 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED43 +; Routine: SubCED43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12173,20 +12174,20 @@ Label_ED38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED43: - lda $2002 ; CPU:$ED43 PRG:2D43 AD 02 20 +SubCED43: + lda PPUSTATUS ; CPU:$ED43 PRG:2D43 AD 02 20 lda Zp10 ; CPU:$ED46 PRG:2D46 A5 10 and #$FB ; CPU:$ED48 PRG:2D48 29 FB - sta $2000 ; CPU:$ED4A PRG:2D4A 8D 00 20 + sta PPUCTRL ; CPU:$ED4A PRG:2D4A 8D 00 20 lda #$20 ; CPU:$ED4D PRG:2D4D A9 20 - sta $2006 ; CPU:$ED4F PRG:2D4F 8D 06 20 + sta PPUADDR ; CPU:$ED4F PRG:2D4F 8D 06 20 lda #$00 ; CPU:$ED52 PRG:2D52 A9 00 - sta $2006 ; CPU:$ED54 PRG:2D54 8D 06 20 + sta PPUADDR ; CPU:$ED54 PRG:2D54 8D 06 20 ldx #$04 ; CPU:$ED57 PRG:2D57 A2 04 ldy #$00 ; CPU:$ED59 PRG:2D59 A0 00 lda #$24 ; CPU:$ED5B PRG:2D5B A9 24 ; ----------------------------------------------------------------------------- -; Routine: Label_ED5D +; Routine: SubCED43_Block_ED5D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12194,20 +12195,20 @@ Label_ED43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED5D: - sta $2007 ; CPU:$ED5D PRG:2D5D 8D 07 20 +SubCED43_Block_ED5D: + sta PPUDATA ; CPU:$ED5D PRG:2D5D 8D 07 20 dey ; CPU:$ED60 PRG:2D60 88 - bne Label_ED5D ; CPU:$ED61 PRG:2D61 D0 FA + bne SubCED43_Block_ED5D ; CPU:$ED61 PRG:2D61 D0 FA dex ; CPU:$ED63 PRG:2D63 CA - bne Label_ED5D ; CPU:$ED64 PRG:2D64 D0 F7 + bne SubCED43_Block_ED5D ; CPU:$ED64 PRG:2D64 D0 F7 lda #$23 ; CPU:$ED66 PRG:2D66 A9 23 - sta $2006 ; CPU:$ED68 PRG:2D68 8D 06 20 + sta PPUADDR ; CPU:$ED68 PRG:2D68 8D 06 20 lda #$C0 ; CPU:$ED6B PRG:2D6B A9 C0 - sta $2006 ; CPU:$ED6D PRG:2D6D 8D 06 20 + sta PPUADDR ; CPU:$ED6D PRG:2D6D 8D 06 20 ldy #$40 ; CPU:$ED70 PRG:2D70 A0 40 lda #$00 ; CPU:$ED72 PRG:2D72 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_ED74 +; Routine: SubCED43_Block_ED74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12215,13 +12216,13 @@ Label_ED5D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED74: - sta $2007 ; CPU:$ED74 PRG:2D74 8D 07 20 +SubCED43_Block_ED74: + sta PPUDATA ; CPU:$ED74 PRG:2D74 8D 07 20 dey ; CPU:$ED77 PRG:2D77 88 - bne Label_ED74 ; CPU:$ED78 PRG:2D78 D0 FA + bne SubCED43_Block_ED74 ; CPU:$ED78 PRG:2D78 D0 FA rts ; CPU:$ED7A PRG:2D7A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED7B +; Routine: SubCED7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12229,10 +12230,10 @@ Label_ED74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED7B: +SubCED7B: lda #$04 ; CPU:$ED7B PRG:2D7B A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_ED7D +; Routine: SubCED7B_Block_ED7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12240,14 +12241,14 @@ Label_ED7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED7D: +SubCED7B_Block_ED7D: lsr Zp00 ; CPU:$ED7D PRG:2D7D 46 00 - bcc Label_ED86 ; CPU:$ED7F PRG:2D7F 90 05 + bcc SubCED7B_Block_ED86 ; CPU:$ED7F PRG:2D7F 90 05 pha ; CPU:$ED81 PRG:2D81 48 jsr $ED8C ; CPU:$ED82 PRG:2D82 20 8C ED pla ; CPU:$ED85 PRG:2D85 68 ; ----------------------------------------------------------------------------- -; Routine: Label_ED86 +; Routine: SubCED7B_Block_ED86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12255,13 +12256,13 @@ Label_ED7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED86: +SubCED7B_Block_ED86: clc ; CPU:$ED86 PRG:2D86 18 sbc #$00 ; CPU:$ED87 PRG:2D87 E9 00 - bpl Label_ED7D ; CPU:$ED89 PRG:2D89 10 F2 + bpl SubCED7B_Block_ED7D ; CPU:$ED89 PRG:2D89 10 F2 rts ; CPU:$ED8B PRG:2D8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED8C +; Routine: SubCED8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12269,7 +12270,7 @@ Label_ED86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8C: +SubCED8C: asl a ; CPU:$ED8C PRG:2D8C 0A asl a ; CPU:$ED8D PRG:2D8D 0A tay ; CPU:$ED8E PRG:2D8E A8 @@ -12299,7 +12300,7 @@ Label_ED8C: lda $C008,y ; CPU:$EDC3 PRG:2DC3 B9 08 C0 sta Zp03 ; CPU:$EDC6 PRG:2DC6 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EDC8 +; Routine: SubCED8C_Block_EDC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12307,15 +12308,15 @@ Label_ED8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDC8: +SubCED8C_Block_EDC8: dex ; CPU:$EDC8 PRG:2DC8 CA - lda a:$0020,y ; CPU:$EDC9 PRG:2DC9 B9 20 00 + lda a:Zp20,y ; CPU:$EDC9 PRG:2DC9 B9 20 00 and #$0F ; CPU:$EDCC PRG:2DCC 29 0F sta $0331,x ; CPU:$EDCE PRG:2DCE 9D 31 03 dec Zp01 ; CPU:$EDD1 PRG:2DD1 C6 01 - beq Label_EDE7 ; CPU:$EDD3 PRG:2DD3 F0 12 + beq SubCED8C_Block_EDE7 ; CPU:$EDD3 PRG:2DD3 F0 12 dex ; CPU:$EDD5 PRG:2DD5 CA - lda a:$0020,y ; CPU:$EDD6 PRG:2DD6 B9 20 00 + lda a:Zp20,y ; CPU:$EDD6 PRG:2DD6 B9 20 00 and #$F0 ; CPU:$EDD9 PRG:2DD9 29 F0 lsr a ; CPU:$EDDB PRG:2DDB 4A lsr a ; CPU:$EDDC PRG:2DDC 4A @@ -12324,9 +12325,9 @@ Label_EDC8: sta $0331,x ; CPU:$EDDF PRG:2DDF 9D 31 03 dey ; CPU:$EDE2 PRG:2DE2 88 dec Zp01 ; CPU:$EDE3 PRG:2DE3 C6 01 - bne Label_EDC8 ; CPU:$EDE5 PRG:2DE5 D0 E1 + bne SubCED8C_Block_EDC8 ; CPU:$EDE5 PRG:2DE5 D0 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_EDE7 +; Routine: SubCED8C_Block_EDE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12334,17 +12335,17 @@ Label_EDC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE7: +SubCED8C_Block_EDE7: lda Zp03 ; CPU:$EDE7 PRG:2DE7 A5 03 and #$01 ; CPU:$EDE9 PRG:2DE9 29 01 - beq Label_EDF8 ; CPU:$EDEB PRG:2DEB F0 0B + beq SubCED8C_Block_EDF8 ; CPU:$EDEB PRG:2DEB F0 0B ldy Zp02 ; CPU:$EDED PRG:2DED A4 02 clc ; CPU:$EDEF PRG:2DEF 18 - lda a:$0020,y ; CPU:$EDF0 PRG:2DF0 B9 20 00 + lda a:Zp20,y ; CPU:$EDF0 PRG:2DF0 B9 20 00 adc #$37 ; CPU:$EDF3 PRG:2DF3 69 37 sta $0331,x ; CPU:$EDF5 PRG:2DF5 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF8 +; Routine: SubCED8C_Block_EDF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12352,10 +12353,10 @@ Label_EDE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF8: +SubCED8C_Block_EDF8: rts ; CPU:$EDF8 PRG:2DF8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF9 +; Routine: SubCEDF9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12363,7 +12364,7 @@ Label_EDF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF9: +SubCEDF9: txa ; CPU:$EDF9 PRG:2DF9 8A pha ; CPU:$EDFA PRG:2DFA 48 ldy #$00 ; CPU:$EDFB PRG:2DFB A0 00 @@ -12378,7 +12379,7 @@ Label_EDF9: sta Zp04 ; CPU:$EE09 PRG:2E09 85 04 ldx $0330 ; CPU:$EE0B PRG:2E0B AE 30 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE0E +; Routine: SubCEDF9_Block_EE0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12386,7 +12387,7 @@ Label_EDF9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE0E: +SubCEDF9_Block_EE0E: lda Zp01 ; CPU:$EE0E PRG:2E0E A5 01 sta $0331,x ; CPU:$EE10 PRG:2E10 9D 31 03 jsr $EE51 ; CPU:$EE13 PRG:2E13 20 51 EE @@ -12397,7 +12398,7 @@ Label_EE0E: sta Zp06 ; CPU:$EE20 PRG:2E20 85 06 sta $0331,x ; CPU:$EE22 PRG:2E22 9D 31 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE25 +; Routine: SubCEDF9_Block_EE25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12405,13 +12406,13 @@ Label_EE0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE25: +SubCEDF9_Block_EE25: jsr $EE51 ; CPU:$EE25 PRG:2E25 20 51 EE iny ; CPU:$EE28 PRG:2E28 C8 lda (Zp02),y ; CPU:$EE29 PRG:2E29 B1 02 sta $0331,x ; CPU:$EE2B PRG:2E2B 9D 31 03 dec Zp06 ; CPU:$EE2E PRG:2E2E C6 06 - bne Label_EE25 ; CPU:$EE30 PRG:2E30 D0 F3 + bne SubCEDF9_Block_EE25 ; CPU:$EE30 PRG:2E30 D0 F3 jsr $EE51 ; CPU:$EE32 PRG:2E32 20 51 EE stx $0330 ; CPU:$EE35 PRG:2E35 8E 30 03 clc ; CPU:$EE38 PRG:2E38 18 @@ -12422,14 +12423,14 @@ Label_EE25: adc Zp01 ; CPU:$EE41 PRG:2E41 65 01 sta Zp01 ; CPU:$EE43 PRG:2E43 85 01 dec Zp04 ; CPU:$EE45 PRG:2E45 C6 04 - bne Label_EE0E ; CPU:$EE47 PRG:2E47 D0 C5 + bne SubCEDF9_Block_EE0E ; CPU:$EE47 PRG:2E47 D0 C5 lda #$00 ; CPU:$EE49 PRG:2E49 A9 00 sta $0331,x ; CPU:$EE4B PRG:2E4B 9D 31 03 pla ; CPU:$EE4E PRG:2E4E 68 tax ; CPU:$EE4F PRG:2E4F AA rts ; CPU:$EE50 PRG:2E50 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE51 +; Routine: SubCEE51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12437,11 +12438,11 @@ Label_EE25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE51: +SubCEE51: inx ; CPU:$EE51 PRG:2E51 E8 txa ; CPU:$EE52 PRG:2E52 8A ; ----------------------------------------------------------------------------- -; Routine: Label_EE53 +; Routine: SubCEE53 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12449,16 +12450,16 @@ Label_EE51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE53: +SubCEE53: cmp #$3F ; CPU:$EE53 PRG:2E53 C9 3F - bcc Label_EE61 ; CPU:$EE55 PRG:2E55 90 0A + bcc SubCEE53_Block_EE61 ; CPU:$EE55 PRG:2E55 90 0A ldx $0330 ; CPU:$EE57 PRG:2E57 AE 30 03 lda #$00 ; CPU:$EE5A PRG:2E5A A9 00 sta $0331,x ; CPU:$EE5C PRG:2E5C 9D 31 03 pla ; CPU:$EE5F PRG:2E5F 68 pla ; CPU:$EE60 PRG:2E60 68 ; ----------------------------------------------------------------------------- -; Routine: Label_EE61 +; Routine: SubCEE53_Block_EE61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12466,10 +12467,10 @@ Label_EE53: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE61: +SubCEE53_Block_EE61: rts ; CPU:$EE61 PRG:2E61 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE62 +; Routine: SubCEE62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12477,15 +12478,15 @@ Label_EE61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE62: +SubCEE62: ldx #$0E ; CPU:$EE62 PRG:2E62 A2 0E dec Zp34 ; CPU:$EE64 PRG:2E64 C6 34 - bpl Label_EE6E ; CPU:$EE66 PRG:2E66 10 06 + bpl SubCEE62_Block_EE6E ; CPU:$EE66 PRG:2E66 10 06 lda #$0A ; CPU:$EE68 PRG:2E68 A9 0A sta Zp34 ; CPU:$EE6A PRG:2E6A 85 34 ldx #$20 ; CPU:$EE6C PRG:2E6C A2 20 ; ----------------------------------------------------------------------------- -; Routine: Label_EE6E +; Routine: SubCEE62_Block_EE6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12493,12 +12494,12 @@ Label_EE62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE6E: +SubCEE62_Block_EE6E: lda Zp35,x ; CPU:$EE6E PRG:2E6E B5 35 - beq Label_EE74 ; CPU:$EE70 PRG:2E70 F0 02 + beq SubCEE62_Block_EE74 ; CPU:$EE70 PRG:2E70 F0 02 dec Zp35,x ; CPU:$EE72 PRG:2E72 D6 35 ; ----------------------------------------------------------------------------- -; Routine: Label_EE74 +; Routine: SubCEE62_Block_EE74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12506,12 +12507,12 @@ Label_EE6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE74: +SubCEE62_Block_EE74: dex ; CPU:$EE74 PRG:2E74 CA - bpl Label_EE6E ; CPU:$EE75 PRG:2E75 10 F7 + bpl SubCEE62_Block_EE6E ; CPU:$EE75 PRG:2E75 10 F7 rts ; CPU:$EE77 PRG:2E77 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE78 +; Routine: SubCEE78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12519,7 +12520,7 @@ Label_EE74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE78: +SubCEE78: lda Zp18 ; CPU:$EE78 PRG:2E78 A5 18 and #$02 ; CPU:$EE7A PRG:2E7A 29 02 sta Zp00 ; CPU:$EE7C PRG:2E7C 85 00 @@ -12527,10 +12528,10 @@ Label_EE78: and #$02 ; CPU:$EE80 PRG:2E80 29 02 eor Zp00 ; CPU:$EE82 PRG:2E82 45 00 clc ; CPU:$EE84 PRG:2E84 18 - beq Label_EE88 ; CPU:$EE85 PRG:2E85 F0 01 + beq SubCEE78_Block_EE88 ; CPU:$EE85 PRG:2E85 F0 01 sec ; CPU:$EE87 PRG:2E87 38 ; ----------------------------------------------------------------------------- -; Routine: Label_EE88 +; Routine: SubCEE78_Block_EE88 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12538,12 +12539,12 @@ Label_EE78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE88: +SubCEE78_Block_EE88: ror Zp18 ; CPU:$EE88 PRG:2E88 66 18 ror Zp19 ; CPU:$EE8A PRG:2E8A 66 19 rts ; CPU:$EE8C PRG:2E8C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE8D +; Routine: SubCEE8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12551,18 +12552,18 @@ Label_EE88: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE8D: +SubCEE8D: lda #$01 ; CPU:$EE8D PRG:2E8D A9 01 - sta $4016 ; CPU:$EE8F PRG:2E8F 8D 16 40 + sta JOY1 ; CPU:$EE8F PRG:2E8F 8D 16 40 ldx #$00 ; CPU:$EE92 PRG:2E92 A2 00 lda #$00 ; CPU:$EE94 PRG:2E94 A9 00 - sta $4016 ; CPU:$EE96 PRG:2E96 8D 16 40 + sta JOY1 ; CPU:$EE96 PRG:2E96 8D 16 40 jsr $EEA1 ; CPU:$EE99 PRG:2E99 20 A1 EE inx ; CPU:$EE9C PRG:2E9C E8 jsr $EEA1 ; CPU:$EE9D PRG:2E9D 20 A1 EE rts ; CPU:$EEA0 PRG:2EA0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EEA1 +; Routine: SubCEEA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12570,10 +12571,10 @@ Label_EE8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA1: +SubCEEA1: ldy #$08 ; CPU:$EEA1 PRG:2EA1 A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_EEA3 +; Routine: SubCEEA1_Block_EEA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12581,9 +12582,9 @@ Label_EEA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA3: +SubCEEA1_Block_EEA3: pha ; CPU:$EEA3 PRG:2EA3 48 - lda $4016,x ; CPU:$EEA4 PRG:2EA4 BD 16 40 + lda JOY1,x ; CPU:$EEA4 PRG:2EA4 BD 16 40 sta Zp00 ; CPU:$EEA7 PRG:2EA7 85 00 lsr a ; CPU:$EEA9 PRG:2EA9 4A ora Zp00 ; CPU:$EEAA PRG:2EAA 05 00 @@ -12591,7 +12592,7 @@ Label_EEA3: pla ; CPU:$EEAD PRG:2EAD 68 rol a ; CPU:$EEAE PRG:2EAE 2A dey ; CPU:$EEAF PRG:2EAF 88 - bne Label_EEA3 ; CPU:$EEB0 PRG:2EB0 D0 F1 + bne SubCEEA1_Block_EEA3 ; CPU:$EEB0 PRG:2EB0 D0 F1 stx Zp00 ; CPU:$EEB2 PRG:2EB2 86 00 asl Zp00 ; CPU:$EEB4 PRG:2EB4 06 00 ldx Zp00 ; CPU:$EEB6 PRG:2EB6 A6 00 @@ -12600,13 +12601,13 @@ Label_EEA3: sta Zp14,x ; CPU:$EEBC PRG:2EBC 95 14 sta Zp15,x ; CPU:$EEBE PRG:2EBE 95 15 and #$FF ; CPU:$EEC0 PRG:2EC0 29 FF - bpl Label_EECC ; CPU:$EEC2 PRG:2EC2 10 08 + bpl SubCEEA1_Block_EECC ; CPU:$EEC2 PRG:2EC2 10 08 bit Zp00 ; CPU:$EEC4 PRG:2EC4 24 00 - bpl Label_EECC ; CPU:$EEC6 PRG:2EC6 10 04 + bpl SubCEEA1_Block_EECC ; CPU:$EEC6 PRG:2EC6 10 04 and #$7F ; CPU:$EEC8 PRG:2EC8 29 7F sta Zp15,x ; CPU:$EECA PRG:2ECA 95 15 ; ----------------------------------------------------------------------------- -; Routine: Label_EECC +; Routine: SubCEEA1_Block_EECC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12614,10 +12615,10 @@ Label_EEA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECC: +SubCEEA1_Block_EECC: rts ; CPU:$EECC PRG:2ECC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EECD +; Routine: SubCEEA1_Block_EECD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12625,21 +12626,21 @@ Label_EECC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECD: - sta $2006 ; CPU:$EECD PRG:2ECD 8D 06 20 +SubCEEA1_Block_EECD: + sta PPUADDR ; CPU:$EECD PRG:2ECD 8D 06 20 iny ; CPU:$EED0 PRG:2ED0 C8 lda (Zp00),y ; CPU:$EED1 PRG:2ED1 B1 00 - sta $2006 ; CPU:$EED3 PRG:2ED3 8D 06 20 + sta PPUADDR ; CPU:$EED3 PRG:2ED3 8D 06 20 iny ; CPU:$EED6 PRG:2ED6 C8 lda (Zp00),y ; CPU:$EED7 PRG:2ED7 B1 00 asl a ; CPU:$EED9 PRG:2ED9 0A pha ; CPU:$EEDA PRG:2EDA 48 lda Zp10 ; CPU:$EEDB PRG:2EDB A5 10 ora #$04 ; CPU:$EEDD PRG:2EDD 09 04 - bcs Label_EEE3 ; CPU:$EEDF PRG:2EDF B0 02 + bcs SubCEEA1_Block_EEE3 ; CPU:$EEDF PRG:2EDF B0 02 and #$FB ; CPU:$EEE1 PRG:2EE1 29 FB ; ----------------------------------------------------------------------------- -; Routine: Label_EEE3 +; Routine: SubCEEA1_Block_EEE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12647,16 +12648,16 @@ Label_EECD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEE3: - sta $2000 ; CPU:$EEE3 PRG:2EE3 8D 00 20 +SubCEEA1_Block_EEE3: + sta PPUCTRL ; CPU:$EEE3 PRG:2EE3 8D 00 20 sta Zp10 ; CPU:$EEE6 PRG:2EE6 85 10 pla ; CPU:$EEE8 PRG:2EE8 68 asl a ; CPU:$EEE9 PRG:2EE9 0A - bcc Label_EEEF ; CPU:$EEEA PRG:2EEA 90 03 + bcc SubCEEA1_Block_EEEF ; CPU:$EEEA PRG:2EEA 90 03 ora #$02 ; CPU:$EEEC PRG:2EEC 09 02 iny ; CPU:$EEEE PRG:2EEE C8 ; ----------------------------------------------------------------------------- -; Routine: Label_EEEF +; Routine: SubCEEA1_Block_EEEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12664,12 +12665,12 @@ Label_EEE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEEF: +SubCEEA1_Block_EEEF: lsr a ; CPU:$EEEF PRG:2EEF 4A lsr a ; CPU:$EEF0 PRG:2EF0 4A tax ; CPU:$EEF1 PRG:2EF1 AA ; ----------------------------------------------------------------------------- -; Routine: Label_EEF2 +; Routine: SubCEEA1_Block_EEF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12677,11 +12678,11 @@ Label_EEEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEF2: - bcs Label_EEF5 ; CPU:$EEF2 PRG:2EF2 B0 01 +SubCEEA1_Block_EEF2: + bcs SubCEEA1_Block_EEF5 ; CPU:$EEF2 PRG:2EF2 B0 01 iny ; CPU:$EEF4 PRG:2EF4 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_EEF5 +; Routine: SubCEEA1_Block_EEF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12689,11 +12690,11 @@ Label_EEF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEF5: +SubCEEA1_Block_EEF5: lda (Zp00),y ; CPU:$EEF5 PRG:2EF5 B1 00 - sta $2007 ; CPU:$EEF7 PRG:2EF7 8D 07 20 + sta PPUDATA ; CPU:$EEF7 PRG:2EF7 8D 07 20 dex ; CPU:$EEFA PRG:2EFA CA - bne Label_EEF2 ; CPU:$EEFB PRG:2EFB D0 F5 + bne SubCEEA1_Block_EEF2 ; CPU:$EEFB PRG:2EFB D0 F5 sec ; CPU:$EEFD PRG:2EFD 38 tya ; CPU:$EEFE PRG:2EFE 98 adc Zp00 ; CPU:$EEFF PRG:2EFF 65 00 @@ -12702,7 +12703,7 @@ Label_EEF5: adc Zp01 ; CPU:$EF05 PRG:2F05 65 01 sta Zp01 ; CPU:$EF07 PRG:2F07 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EF09 +; Routine: SubCEF09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12710,18 +12711,18 @@ Label_EEF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF09: - ldx $2002 ; CPU:$EF09 PRG:2F09 AE 02 20 +SubCEF09: + ldx PPUSTATUS ; CPU:$EF09 PRG:2F09 AE 02 20 ldy #$00 ; CPU:$EF0C PRG:2F0C A0 00 lda (Zp00),y ; CPU:$EF0E PRG:2F0E B1 00 - bne Label_EECD ; CPU:$EF10 PRG:2F10 D0 BB + bne SubCEEA1_Block_EECD ; CPU:$EF10 PRG:2F10 D0 BB lda Zp12 ; CPU:$EF12 PRG:2F12 A5 12 - sta $2005 ; CPU:$EF14 PRG:2F14 8D 05 20 + sta PPUSCROLL ; CPU:$EF14 PRG:2F14 8D 05 20 lda Zp13 ; CPU:$EF17 PRG:2F17 A5 13 - sta $2005 ; CPU:$EF19 PRG:2F19 8D 05 20 + sta PPUSCROLL ; CPU:$EF19 PRG:2F19 8D 05 20 rts ; CPU:$EF1C PRG:2F1C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF1D +; Routine: SubCEF1D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12729,12 +12730,12 @@ Label_EF09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF1D: +SubCEF1D: ldx #$FF ; CPU:$EF1D PRG:2F1D A2 FF - bne Label_EF23 ; CPU:$EF1F PRG:2F1F D0 02 + bne SubCEF1D_Block_EF23 ; CPU:$EF1F PRG:2F1F D0 02 ldx #$00 ; CPU:$EF21 PRG:2F21 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF23 +; Routine: SubCEF1D_Block_EF23 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12742,7 +12743,7 @@ Label_EF1D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF23: +SubCEF1D_Block_EF23: stx Zp04 ; CPU:$EF23 PRG:2F23 86 04 ldx #$00 ; CPU:$EF25 PRG:2F25 A2 00 stx Zp05 ; CPU:$EF27 PRG:2F27 86 05 @@ -12750,10 +12751,10 @@ Label_EF23: stx Zp07 ; CPU:$EF2B PRG:2F2B 86 07 lda Zp01 ; CPU:$EF2D PRG:2F2D A5 01 and #$08 ; CPU:$EF2F PRG:2F2F 29 08 - bne Label_EF34 ; CPU:$EF31 PRG:2F31 D0 01 + bne SubCEF1D_Block_EF34 ; CPU:$EF31 PRG:2F31 D0 01 inx ; CPU:$EF33 PRG:2F33 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EF34 +; Routine: SubCEF1D_Block_EF34 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12761,14 +12762,14 @@ Label_EF23: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF34: +SubCEF1D_Block_EF34: lda Zp00 ; CPU:$EF34 PRG:2F34 A5 00 sta Zp06,x ; CPU:$EF36 PRG:2F36 95 06 lda Zp01 ; CPU:$EF38 PRG:2F38 A5 01 jsr $EF3E ; CPU:$EF3A PRG:2F3A 20 3E EF rts ; CPU:$EF3D PRG:2F3D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF3E +; Routine: SubCEF3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12776,17 +12777,17 @@ Label_EF34: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF3E: +SubCEF3E: and #$07 ; CPU:$EF3E PRG:2F3E 29 07 asl a ; CPU:$EF40 PRG:2F40 0A asl a ; CPU:$EF41 PRG:2F41 0A tax ; CPU:$EF42 PRG:2F42 AA lda Zp04 ; CPU:$EF43 PRG:2F43 A5 04 - beq Label_EF6E ; CPU:$EF45 PRG:2F45 F0 27 + beq SubCEF3E_Block_EF6E ; CPU:$EF45 PRG:2F45 F0 27 lda Zp24,x ; CPU:$EF47 PRG:2F47 B5 24 - beq Label_EF72 ; CPU:$EF49 PRG:2F49 F0 27 + beq SubCEF3E_Block_EF72 ; CPU:$EF49 PRG:2F49 F0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_EF4B +; Routine: SubCEF3E_Block_EF4B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12794,7 +12795,7 @@ Label_EF3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF4B: +SubCEF3E_Block_EF4B: clc ; CPU:$EF4B PRG:2F4B 18 lda Zp27,x ; CPU:$EF4C PRG:2F4C B5 27 sta Zp03 ; CPU:$EF4E PRG:2F4E 85 03 @@ -12813,7 +12814,7 @@ Label_EF4B: sta Zp25,x ; CPU:$EF6B PRG:2F6B 95 25 rts ; CPU:$EF6D PRG:2F6D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF6E +; Routine: SubCEF3E_Block_EF6E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12821,11 +12822,11 @@ Label_EF4B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF6E: +SubCEF3E_Block_EF6E: lda Zp24,x ; CPU:$EF6E PRG:2F6E B5 24 - beq Label_EF4B ; CPU:$EF70 PRG:2F70 F0 D9 + beq SubCEF3E_Block_EF4B ; CPU:$EF70 PRG:2F70 F0 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_EF72 +; Routine: SubCEF3E_Block_EF72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12833,7 +12834,7 @@ Label_EF6E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF72: +SubCEF3E_Block_EF72: sec ; CPU:$EF72 PRG:2F72 38 lda Zp27,x ; CPU:$EF73 PRG:2F73 B5 27 sta Zp03 ; CPU:$EF75 PRG:2F75 85 03 @@ -12851,13 +12852,13 @@ Label_EF72: jsr $EFE4 ; CPU:$EF8F PRG:2F8F 20 E4 EF sta Zp25,x ; CPU:$EF92 PRG:2F92 95 25 lda Zp25,x ; CPU:$EF94 PRG:2F94 B5 25 - bne Label_EFA0 ; CPU:$EF96 PRG:2F96 D0 08 + bne SubCEF3E_Block_EFA0 ; CPU:$EF96 PRG:2F96 D0 08 lda Zp26,x ; CPU:$EF98 PRG:2F98 B5 26 - bne Label_EFA0 ; CPU:$EF9A PRG:2F9A D0 04 + bne SubCEF3E_Block_EFA0 ; CPU:$EF9A PRG:2F9A D0 04 lda Zp27,x ; CPU:$EF9C PRG:2F9C B5 27 - beq Label_EFA6 ; CPU:$EF9E PRG:2F9E F0 06 + beq SubCEF3E_Block_EFA6 ; CPU:$EF9E PRG:2F9E F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_EFA0 +; Routine: SubCEF3E_Block_EFA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12865,12 +12866,12 @@ Label_EF72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFA0: - bcs Label_EFC2 ; CPU:$EFA0 PRG:2FA0 B0 20 +SubCEF3E_Block_EFA0: + bcs SubCEF3E_Block_EFC2 ; CPU:$EFA0 PRG:2FA0 B0 20 lda Zp24,x ; CPU:$EFA2 PRG:2FA2 B5 24 eor #$FF ; CPU:$EFA4 PRG:2FA4 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_EFA6 +; Routine: SubCEF3E_Block_EFA6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12878,7 +12879,7 @@ Label_EFA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFA6: +SubCEF3E_Block_EFA6: sta Zp24,x ; CPU:$EFA6 PRG:2FA6 95 24 sec ; CPU:$EFA8 PRG:2FA8 38 lda #$00 ; CPU:$EFA9 PRG:2FA9 A9 00 @@ -12893,7 +12894,7 @@ Label_EFA6: jsr $EFE4 ; CPU:$EFBD PRG:2FBD 20 E4 EF sta Zp25,x ; CPU:$EFC0 PRG:2FC0 95 25 ; ----------------------------------------------------------------------------- -; Routine: Label_EFC2 +; Routine: SubCEF3E_Block_EFC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12901,10 +12902,10 @@ Label_EFA6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFC2: +SubCEF3E_Block_EFC2: rts ; CPU:$EFC2 PRG:2FC2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFC3 +; Routine: SubCEFC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12912,14 +12913,14 @@ Label_EFC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFC3: +SubCEFC3: jsr $F006 ; CPU:$EFC3 PRG:2FC3 20 06 F0 adc Zp01 ; CPU:$EFC6 PRG:2FC6 65 01 cmp #$0A ; CPU:$EFC8 PRG:2FC8 C9 0A - bcc Label_EFCE ; CPU:$EFCA PRG:2FCA 90 02 + bcc SubCEFC3_Block_EFCE ; CPU:$EFCA PRG:2FCA 90 02 adc #$05 ; CPU:$EFCC PRG:2FCC 69 05 ; ----------------------------------------------------------------------------- -; Routine: Label_EFCE +; Routine: SubCEFC3_Block_EFCE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12927,16 +12928,16 @@ Label_EFC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFCE: +SubCEFC3_Block_EFCE: clc ; CPU:$EFCE PRG:2FCE 18 adc Zp02 ; CPU:$EFCF PRG:2FCF 65 02 sta Zp02 ; CPU:$EFD1 PRG:2FD1 85 02 lda Zp03 ; CPU:$EFD3 PRG:2FD3 A5 03 and #$F0 ; CPU:$EFD5 PRG:2FD5 29 F0 adc Zp02 ; CPU:$EFD7 PRG:2FD7 65 02 - bcc Label_EFDF ; CPU:$EFD9 PRG:2FD9 90 04 + bcc SubCEFC3_Block_EFDF ; CPU:$EFD9 PRG:2FD9 90 04 ; ----------------------------------------------------------------------------- -; Routine: Label_EFDB +; Routine: SubCEFC3_Block_EFDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12944,12 +12945,12 @@ Label_EFCE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFDB: +SubCEFC3_Block_EFDB: adc #$5F ; CPU:$EFDB PRG:2FDB 69 5F sec ; CPU:$EFDD PRG:2FDD 38 rts ; CPU:$EFDE PRG:2FDE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFDF +; Routine: SubCEFC3_Block_EFDF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12957,12 +12958,12 @@ Label_EFDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFDF: +SubCEFC3_Block_EFDF: cmp #$A0 ; CPU:$EFDF PRG:2FDF C9 A0 - bcs Label_EFDB ; CPU:$EFE1 PRG:2FE1 B0 F8 + bcs SubCEFC3_Block_EFDB ; CPU:$EFE1 PRG:2FE1 B0 F8 rts ; CPU:$EFE3 PRG:2FE3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFE4 +; Routine: SubCEFE4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12970,18 +12971,18 @@ Label_EFDF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE4: +SubCEFE4: jsr $F006 ; CPU:$EFE4 PRG:2FE4 20 06 F0 sbc Zp01 ; CPU:$EFE7 PRG:2FE7 E5 01 sta Zp01 ; CPU:$EFE9 PRG:2FE9 85 01 - bcs Label_EFF7 ; CPU:$EFEB PRG:2FEB B0 0A + bcs SubCEFE4_Block_EFF7 ; CPU:$EFEB PRG:2FEB B0 0A adc #$0A ; CPU:$EFED PRG:2FED 69 0A sta Zp01 ; CPU:$EFEF PRG:2FEF 85 01 lda Zp02 ; CPU:$EFF1 PRG:2FF1 A5 02 adc #$0F ; CPU:$EFF3 PRG:2FF3 69 0F sta Zp02 ; CPU:$EFF5 PRG:2FF5 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EFF7 +; Routine: SubCEFE4_Block_EFF7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12989,16 +12990,16 @@ Label_EFE4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFF7: +SubCEFE4_Block_EFF7: lda Zp03 ; CPU:$EFF7 PRG:2FF7 A5 03 and #$F0 ; CPU:$EFF9 PRG:2FF9 29 F0 sec ; CPU:$EFFB PRG:2FFB 38 sbc Zp02 ; CPU:$EFFC PRG:2FFC E5 02 - bcs Label_F003 ; CPU:$EFFE PRG:2FFE B0 03 + bcs SubCEFE4_Block_F003 ; CPU:$EFFE PRG:2FFE B0 03 adc #$A0 ; CPU:$F000 PRG:3000 69 A0 clc ; CPU:$F002 PRG:3002 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F003 +; Routine: SubCEFE4_Block_F003 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13006,11 +13007,11 @@ Label_EFF7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F003: +SubCEFE4_Block_F003: ora Zp01 ; CPU:$F003 PRG:3003 05 01 rts ; CPU:$F005 PRG:3005 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F006 +; Routine: SubCF006 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13018,7 +13019,7 @@ Label_F003: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F006: +SubCF006: pha ; CPU:$F006 PRG:3006 48 and #$0F ; CPU:$F007 PRG:3007 29 0F sta Zp01 ; CPU:$F009 PRG:3009 85 01 @@ -13032,7 +13033,7 @@ Label_F006: .byte $A9, $00, $85, $04, $18, $A5, $00, $69, $10, $29, $F0, $4A, $4A, $A8, $A5, $00 ; CPU:$F015 PRG:3015 A9 00 85 04 18 A5 00 69 10 29 F0 4A 4A A8 A5 00 .byte $29, $07, $0A, $0A, $AA ; CPU:$F025 PRG:3025 29 07 0A 0A AA ; ----------------------------------------------------------------------------- -; Routine: Label_F02A +; Routine: SubCF006_Block_F02A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13040,13 +13041,13 @@ Label_F006: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02A: - lda a:$0020,y ; CPU:$F02A PRG:302A B9 20 00 - beq Label_F080 ; CPU:$F02D PRG:302D F0 51 +SubCF006_Block_F02A: + lda a:Zp20,y ; CPU:$F02A PRG:302A B9 20 00 + beq SubCF057_Block_F080 ; CPU:$F02D PRG:302D F0 51 lda Zp24,x ; CPU:$F02F PRG:302F B5 24 - beq Label_F059 ; CPU:$F031 PRG:3031 F0 26 + beq SubCF057_Block_F059 ; CPU:$F031 PRG:3031 F0 26 ; ----------------------------------------------------------------------------- -; Routine: Label_F033 +; Routine: SubCF006_Block_F033 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13054,24 +13055,24 @@ Label_F02A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F033: +SubCF006_Block_F033: sec ; CPU:$F033 PRG:3033 38 - lda a:$0023,y ; CPU:$F034 PRG:3034 B9 23 00 + lda a:Zp23,y ; CPU:$F034 PRG:3034 B9 23 00 sta Zp03 ; CPU:$F037 PRG:3037 85 03 lda Zp27,x ; CPU:$F039 PRG:3039 B5 27 jsr $EFE4 ; CPU:$F03B PRG:303B 20 E4 EF - lda a:$0022,y ; CPU:$F03E PRG:303E B9 22 00 + lda a:Zp22,y ; CPU:$F03E PRG:303E B9 22 00 sta Zp03 ; CPU:$F041 PRG:3041 85 03 lda Zp26,x ; CPU:$F043 PRG:3043 B5 26 jsr $EFE4 ; CPU:$F045 PRG:3045 20 E4 EF - lda a:$0021,y ; CPU:$F048 PRG:3048 B9 21 00 + lda a:Zp21,y ; CPU:$F048 PRG:3048 B9 21 00 sta Zp03 ; CPU:$F04B PRG:304B 85 03 lda Zp25,x ; CPU:$F04D PRG:304D B5 25 jsr $EFE4 ; CPU:$F04F PRG:304F 20 E4 EF - bcs Label_F084 ; CPU:$F052 PRG:3052 B0 30 - lda a:$0020,y ; CPU:$F054 PRG:3054 B9 20 00 + bcs SubCF057_Block_F084 ; CPU:$F052 PRG:3052 B0 30 + lda a:Zp20,y ; CPU:$F054 PRG:3054 B9 20 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F057 +; Routine: SubCF057 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13079,10 +13080,10 @@ Label_F033: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F057: - bne Label_F089 ; CPU:$F057 PRG:3057 D0 30 +SubCF057: + bne SubCF057_Block_F089 ; CPU:$F057 PRG:3057 D0 30 ; ----------------------------------------------------------------------------- -; Routine: Label_F059 +; Routine: SubCF057_Block_F059 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13090,12 +13091,12 @@ Label_F057: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F059: +SubCF057_Block_F059: lda #$FF ; CPU:$F059 PRG:3059 A9 FF sta Zp04 ; CPU:$F05B PRG:305B 85 04 sec ; CPU:$F05D PRG:305D 38 ; ----------------------------------------------------------------------------- -; Routine: Label_F05E +; Routine: SubCF057_Block_F05E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13103,10 +13104,10 @@ Label_F059: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F05E: +SubCF057_Block_F05E: tya ; CPU:$F05E PRG:305E 98 - bne Label_F07F ; CPU:$F05F PRG:305F D0 1E - bcc Label_F073 ; CPU:$F061 PRG:3061 90 10 + bne SubCF057_Block_F07F ; CPU:$F05F PRG:305F D0 1E + bcc SubCF057_Block_F073 ; CPU:$F061 PRG:3061 90 10 lda Zp24,x ; CPU:$F063 PRG:3063 B5 24 sta Zp20 ; CPU:$F065 PRG:3065 85 20 lda Zp25,x ; CPU:$F067 PRG:3067 B5 25 @@ -13116,7 +13117,7 @@ Label_F05E: lda Zp27,x ; CPU:$F06F PRG:306F B5 27 sta Zp23 ; CPU:$F071 PRG:3071 85 23 ; ----------------------------------------------------------------------------- -; Routine: Label_F073 +; Routine: SubCF057_Block_F073 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13124,17 +13125,17 @@ Label_F05E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F073: +SubCF057_Block_F073: lda Zp00 ; CPU:$F073 PRG:3073 A5 00 and #$08 ; CPU:$F075 PRG:3075 29 08 - beq Label_F07F ; CPU:$F077 PRG:3077 F0 06 + beq SubCF057_Block_F07F ; CPU:$F077 PRG:3077 F0 06 dex ; CPU:$F079 PRG:3079 CA dex ; CPU:$F07A PRG:307A CA dex ; CPU:$F07B PRG:307B CA dex ; CPU:$F07C PRG:307C CA - bpl Label_F02A ; CPU:$F07D PRG:307D 10 AB + bpl SubCF006_Block_F02A ; CPU:$F07D PRG:307D 10 AB ; ----------------------------------------------------------------------------- -; Routine: Label_F07F +; Routine: SubCF057_Block_F07F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13142,10 +13143,10 @@ Label_F073: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07F: +SubCF057_Block_F07F: rts ; CPU:$F07F PRG:307F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F080 +; Routine: SubCF057_Block_F080 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13153,11 +13154,11 @@ Label_F07F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F080: +SubCF057_Block_F080: lda Zp24,x ; CPU:$F080 PRG:3080 B5 24 - beq Label_F033 ; CPU:$F082 PRG:3082 F0 AF + beq SubCF006_Block_F033 ; CPU:$F082 PRG:3082 F0 AF ; ----------------------------------------------------------------------------- -; Routine: Label_F084 +; Routine: SubCF057_Block_F084 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13165,11 +13166,11 @@ Label_F080: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F084: - lda a:$0020,y ; CPU:$F084 PRG:3084 B9 20 00 - bne Label_F059 ; CPU:$F087 PRG:3087 D0 D0 +SubCF057_Block_F084: + lda a:Zp20,y ; CPU:$F084 PRG:3084 B9 20 00 + bne SubCF057_Block_F059 ; CPU:$F087 PRG:3087 D0 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_F089 +; Routine: SubCF057_Block_F089 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13177,9 +13178,10 @@ Label_F084: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F089: +SubCF057_Block_F089: clc ; CPU:$F089 PRG:3089 18 - bcc Label_F05E ; CPU:$F08A PRG:308A 90 D2 + bcc SubCF057_Block_F05E ; CPU:$F08A PRG:308A 90 D2 +AudioData: ; ---- data $F08C-$F832 (1959 bytes) ---- .byte $3F, $00, $1D, $0F, $30, $16, $02, $0F, $2A, $17, $07, $0F, $1C, $10, $07, $0F ; CPU:$F08C PRG:308C 3F 00 1D 0F 30 16 02 0F 2A 17 07 0F 1C 10 07 0F .byte $1C, $30, $21, $0F, $30, $36, $12, $0F, $14, $36, $17, $0F, $25, $37, $07, $0F ; CPU:$F09C PRG:309C 1C 30 21 0F 30 36 12 0F 14 36 17 0F 25 37 07 0F @@ -13305,7 +13307,7 @@ Label_F089: .byte $0D, $EB, $23, $4B, $0D, $16, $0A, $0D, $0E, $24, $12, $17, $24, $13, $0A, $19 ; CPU:$F81C PRG:381C 0D EB 23 4B 0D 16 0A 0D 0E 24 12 17 24 13 0A 19 .byte $0A, $17, $2B, $81, $7F, $24, $00 ; CPU:$F82C PRG:382C 0A 17 2B 81 7F 24 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F833 +; Routine: SubCF833 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13313,10 +13315,10 @@ Label_F089: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F833: +SubCF833: ldy #$7F ; CPU:$F833 PRG:3833 A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F835 +; Routine: SubCF835 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13324,10 +13326,10 @@ Label_F833: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F835: +SubCF835: jsr $F98E ; CPU:$F835 PRG:3835 20 8E F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F838 +; Routine: SubCF838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13335,10 +13337,10 @@ Label_F835: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F838: +SubCF838: ldx #$00 ; CPU:$F838 PRG:3838 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F83A +; Routine: SubCF838_Block_F83A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13346,15 +13348,15 @@ Label_F838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F83A: +SubCF838_Block_F83A: tay ; CPU:$F83A PRG:383A A8 lda $F901,y ; CPU:$F83B PRG:383B B9 01 F9 - beq Label_F849 ; CPU:$F83E PRG:383E F0 09 - sta $4002,x ; CPU:$F840 PRG:3840 9D 02 40 + beq SubCF838_Block_F849 ; CPU:$F83E PRG:383E F0 09 + sta APUPULSE1TIMERLO,x ; CPU:$F840 PRG:3840 9D 02 40 lda $F900,y ; CPU:$F843 PRG:3843 B9 00 F9 - sta $4003,x ; CPU:$F846 PRG:3846 9D 03 40 + sta APUPULSE1TIMERHI,x ; CPU:$F846 PRG:3846 9D 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_F849 +; Routine: SubCF838_Block_F849 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13362,10 +13364,10 @@ Label_F83A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F849: +SubCF838_Block_F849: rts ; CPU:$F849 PRG:3849 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F84A +; Routine: SubCF84A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13373,11 +13375,11 @@ Label_F849: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F84A: +SubCF84A: ldx #$04 ; CPU:$F84A PRG:384A A2 04 - bne Label_F83A ; CPU:$F84C PRG:384C D0 EC + bne SubCF838_Block_F83A ; CPU:$F84C PRG:384C D0 EC ; ----------------------------------------------------------------------------- -; Routine: Label_F84E +; Routine: SubCF84E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13385,11 +13387,11 @@ Label_F84A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F84E: +SubCF84E: ldx #$08 ; CPU:$F84E PRG:384E A2 08 - bne Label_F83A ; CPU:$F850 PRG:3850 D0 E8 + bne SubCF838_Block_F83A ; CPU:$F850 PRG:3850 D0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_F852 +; Routine: SubCF852 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13397,7 +13399,7 @@ Label_F84E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F852: +SubCF852: tax ; CPU:$F852 PRG:3852 AA ror a ; CPU:$F853 PRG:3853 6A txa ; CPU:$F854 PRG:3854 8A @@ -13405,7 +13407,7 @@ Label_F852: rol a ; CPU:$F856 PRG:3856 2A rol a ; CPU:$F857 PRG:3857 2A ; ----------------------------------------------------------------------------- -; Routine: Label_F858 +; Routine: SubCF858 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13413,7 +13415,7 @@ Label_F852: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F858: +SubCF858: and #$07 ; CPU:$F858 PRG:3858 29 07 clc ; CPU:$F85A PRG:385A 18 adc $068D ; CPU:$F85B PRG:385B 6D 8D 06 @@ -13421,7 +13423,7 @@ Label_F858: lda $F950,y ; CPU:$F85F PRG:385F B9 50 F9 rts ; CPU:$F862 PRG:3862 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F863 +; Routine: SubCF858_Block_F863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13429,7 +13431,7 @@ Label_F858: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F863: +SubCF858_Block_F863: inc $06A0 ; CPU:$F863 PRG:3863 EE A0 06 lda #$64 ; CPU:$F866 PRG:3866 A9 64 sta ZpF1 ; CPU:$F868 PRG:3868 85 F1 @@ -13439,7 +13441,7 @@ Label_F863: jsr $F835 ; CPU:$F870 PRG:3870 20 35 F8 jmp $FC2D ; CPU:$F873 PRG:3873 4C 2D FC ; ----------------------------------------------------------------------------- -; Routine: Label_F876 +; Routine: SubCF858_Block_F876 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13447,19 +13449,19 @@ Label_F863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F876: +SubCF858_Block_F876: dec ZpF1 ; CPU:$F876 PRG:3876 C6 F1 lda ZpF1 ; CPU:$F878 PRG:3878 A5 F1 - beq Label_F895 ; CPU:$F87A PRG:387A F0 19 + beq SubCF858_Block_F895 ; CPU:$F87A PRG:387A F0 19 lsr a ; CPU:$F87C PRG:387C 4A - bcs Label_F88E ; CPU:$F87D PRG:387D B0 0F + bcs SubCF858_Block_F88E ; CPU:$F87D PRG:387D B0 0F cmp #$2C ; CPU:$F87F PRG:387F C9 2C ldx #$9C ; CPU:$F881 PRG:3881 A2 9C ldy #$B4 ; CPU:$F883 PRG:3883 A0 B4 - bcc Label_F889 ; CPU:$F885 PRG:3885 90 02 + bcc SubCF858_Block_F889 ; CPU:$F885 PRG:3885 90 02 ldy #$BA ; CPU:$F887 PRG:3887 A0 BA ; ----------------------------------------------------------------------------- -; Routine: Label_F889 +; Routine: SubCF858_Block_F889 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13467,11 +13469,11 @@ Label_F876: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F889: +SubCF858_Block_F889: jsr $F98E ; CPU:$F889 PRG:3889 20 8E F9 - bne Label_F891 ; CPU:$F88C PRG:388C D0 03 + bne SubCF858_Block_F891 ; CPU:$F88C PRG:388C D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_F88E +; Routine: SubCF858_Block_F88E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13479,10 +13481,10 @@ Label_F889: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F88E: +SubCF858_Block_F88E: jsr $F995 ; CPU:$F88E PRG:388E 20 95 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F891 +; Routine: SubCF858_Block_F891 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13490,11 +13492,11 @@ Label_F88E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F891: +SubCF858_Block_F891: inc ZpF9 ; CPU:$F891 PRG:3891 E6 F9 - bne Label_F8FD ; CPU:$F893 PRG:3893 D0 68 + bne SubCF8A1_Block_F8FD ; CPU:$F893 PRG:3893 D0 68 ; ----------------------------------------------------------------------------- -; Routine: Label_F895 +; Routine: SubCF858_Block_F895 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13502,11 +13504,11 @@ Label_F891: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F895: +SubCF858_Block_F895: sta $06A0 ; CPU:$F895 PRG:3895 8D A0 06 sta ZpF9 ; CPU:$F898 PRG:3898 85 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F89A +; Routine: SubCF858_Block_F89A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13514,12 +13516,12 @@ Label_F895: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F89A: +SubCF858_Block_F89A: lda #$00 ; CPU:$F89A PRG:389A A9 00 sta $06A3 ; CPU:$F89C PRG:389C 8D A3 06 - beq Label_F8BB ; CPU:$F89F PRG:389F F0 1A + beq SubCF8A1_Block_F8BB ; CPU:$F89F PRG:389F F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_F8A1 +; Routine: SubCF8A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13527,21 +13529,21 @@ Label_F89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8A1: +SubCF8A1: lda ZpFA ; CPU:$F8A1 PRG:38A1 A5 FA - bne Label_F8FD ; CPU:$F8A3 PRG:38A3 D0 58 + bne SubCF8A1_Block_F8FD ; CPU:$F8A3 PRG:38A3 D0 58 lda $06A0 ; CPU:$F8A5 PRG:38A5 AD A0 06 - bne Label_F876 ; CPU:$F8A8 PRG:38A8 D0 CC + bne SubCF858_Block_F876 ; CPU:$F8A8 PRG:38A8 D0 CC lda ZpFB ; CPU:$F8AA PRG:38AA A5 FB - bmi Label_F863 ; CPU:$F8AC PRG:38AC 30 B5 - bne Label_F8BE ; CPU:$F8AE PRG:38AE D0 0E + bmi SubCF858_Block_F863 ; CPU:$F8AC PRG:38AC 30 B5 + bne SubCF8A1_Block_F8BE ; CPU:$F8AE PRG:38AE D0 0E lda ZpFF ; CPU:$F8B0 PRG:38B0 A5 FF and #$0F ; CPU:$F8B2 PRG:38B2 29 0F - bne Label_F89A ; CPU:$F8B4 PRG:38B4 D0 E4 + bne SubCF858_Block_F89A ; CPU:$F8B4 PRG:38B4 D0 E4 lda $06A3 ; CPU:$F8B6 PRG:38B6 AD A3 06 - bne Label_F8D4 ; CPU:$F8B9 PRG:38B9 D0 19 + bne SubCF8A1_Block_F8D4 ; CPU:$F8B9 PRG:38B9 D0 19 ; ----------------------------------------------------------------------------- -; Routine: Label_F8BB +; Routine: SubCF8A1_Block_F8BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13549,10 +13551,10 @@ Label_F8A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8BB: +SubCF8A1_Block_F8BB: jmp $F9FE ; CPU:$F8BB PRG:38BB 4C FE F9 ; ----------------------------------------------------------------------------- -; Routine: Label_F8BE +; Routine: SubCF8A1_Block_F8BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13560,7 +13562,7 @@ Label_F8BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8BE: +SubCF8A1_Block_F8BE: jsr $F983 ; CPU:$F8BE PRG:38BE 20 83 F9 inc $06A3 ; CPU:$F8C1 PRG:38C1 EE A3 06 lda $FF09,y ; CPU:$F8C4 PRG:38C4 B9 09 FF @@ -13569,9 +13571,9 @@ Label_F8BE: sta ZpF1 ; CPU:$F8CC PRG:38CC 85 F1 lda #$FF ; CPU:$F8CE PRG:38CE A9 FF sta ZpF2 ; CPU:$F8D0 PRG:38D0 85 F2 - bne Label_F8D9 ; CPU:$F8D2 PRG:38D2 D0 05 + bne SubCF8A1_Block_F8D9 ; CPU:$F8D2 PRG:38D2 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_F8D4 +; Routine: SubCF8A1_Block_F8D4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13579,11 +13581,11 @@ Label_F8BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8D4: +SubCF8A1_Block_F8D4: dec $069B ; CPU:$F8D4 PRG:38D4 CE 9B 06 - bne Label_F8FD ; CPU:$F8D7 PRG:38D7 D0 24 + bne SubCF8A1_Block_F8FD ; CPU:$F8D7 PRG:38D7 D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_F8D9 +; Routine: SubCF8A1_Block_F8D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13591,13 +13593,13 @@ Label_F8D4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8D9: +SubCF8A1_Block_F8D9: ldx #$84 ; CPU:$F8D9 PRG:38D9 A2 84 jsr $F98C ; CPU:$F8DB PRG:38DB 20 8C F9 ldy $0684 ; CPU:$F8DE PRG:38DE AC 84 06 inc $0684 ; CPU:$F8E1 PRG:38E1 EE 84 06 lda (ZpF1),y ; CPU:$F8E4 PRG:38E4 B1 F1 - beq Label_F89A ; CPU:$F8E6 PRG:38E6 F0 B2 + beq SubCF858_Block_F89A ; CPU:$F8E6 PRG:38E6 F0 B2 tax ; CPU:$F8E8 PRG:38E8 AA ror a ; CPU:$F8E9 PRG:38E9 6A txa ; CPU:$F8EA PRG:38EA 8A @@ -13612,7 +13614,7 @@ Label_F8D9: and #$3E ; CPU:$F8F8 PRG:38F8 29 3E jsr $F838 ; CPU:$F8FA PRG:38FA 20 38 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F8FD +; Routine: SubCF8A1_Block_F8FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13620,7 +13622,7 @@ Label_F8D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F8FD: +SubCF8A1_Block_F8FD: jmp $FAE8 ; CPU:$F8FD PRG:38FD 4C E8 FA ; ---- data $F900-$F96F (112 bytes) ---- ; referenced by `lda $F901,y` at $F83B (operand $F901 falls inside this region) @@ -13637,7 +13639,7 @@ Label_F8FD: .byte $04, $08, $10, $20, $40, $18, $30, $06, $05, $0A, $14, $28, $50, $1E, $3C, $07 ; CPU:$F950 PRG:3950 04 08 10 20 40 18 30 06 05 0A 14 28 50 1E 3C 07 .byte $06, $0C, $18, $30, $60, $24, $48, $08, $90, $92, $94, $96, $98, $9A, $9C, $9B ; CPU:$F960 PRG:3960 06 0C 18 30 60 24 48 08 90 92 94 96 98 9A 9C 9B ; ----------------------------------------------------------------------------- -; Routine: Label_F970 +; Routine: SubCF970 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13645,9 +13647,9 @@ Label_F8FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F970: +SubCF970: lda #$C0 ; CPU:$F970 PRG:3970 A9 C0 - sta $4017 ; CPU:$F972 PRG:3972 8D 17 40 + sta JOY2 ; CPU:$F972 PRG:3972 8D 17 40 jsr $F8A1 ; CPU:$F975 PRG:3975 20 A1 F8 lda #$00 ; CPU:$F978 PRG:3978 A9 00 sta ZpFF ; CPU:$F97A PRG:397A 85 FF @@ -13656,7 +13658,7 @@ Label_F970: sta ZpFB ; CPU:$F980 PRG:3980 85 FB rts ; CPU:$F982 PRG:3982 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F983 +; Routine: SubCF983 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13664,10 +13666,10 @@ Label_F970: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F983: +SubCF983: ldy #$07 ; CPU:$F983 PRG:3983 A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_F985 +; Routine: SubCF983_Block_F985 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13675,13 +13677,13 @@ Label_F983: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F985: +SubCF983_Block_F985: asl a ; CPU:$F985 PRG:3985 0A - bcs Label_F98B ; CPU:$F986 PRG:3986 B0 03 + bcs SubCF983_Block_F98B ; CPU:$F986 PRG:3986 B0 03 dey ; CPU:$F988 PRG:3988 88 - bne Label_F985 ; CPU:$F989 PRG:3989 D0 FA + bne SubCF983_Block_F985 ; CPU:$F989 PRG:3989 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F98B +; Routine: SubCF983_Block_F98B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13689,10 +13691,10 @@ Label_F985: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98B: +SubCF983_Block_F98B: rts ; CPU:$F98B PRG:398B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F98C +; Routine: SubCF98C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13700,10 +13702,10 @@ Label_F98B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98C: +SubCF98C: ldy #$7F ; CPU:$F98C PRG:398C A0 7F ; ----------------------------------------------------------------------------- -; Routine: Label_F98E +; Routine: SubCF98E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13711,12 +13713,12 @@ Label_F98C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F98E: - stx $4000 ; CPU:$F98E PRG:398E 8E 00 40 - sty $4001 ; CPU:$F991 PRG:3991 8C 01 40 +SubCF98E: + stx APUPULSE1CTRL ; CPU:$F98E PRG:398E 8E 00 40 + sty APUPULSE1SWEEP ; CPU:$F991 PRG:3991 8C 01 40 rts ; CPU:$F994 PRG:3994 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F995 +; Routine: SubCF995 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13724,12 +13726,12 @@ Label_F98E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F995: +SubCF995: lda #$90 ; CPU:$F995 PRG:3995 A9 90 - sta $4000 ; CPU:$F997 PRG:3997 8D 00 40 + sta APUPULSE1CTRL ; CPU:$F997 PRG:3997 8D 00 40 rts ; CPU:$F99A PRG:399A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F99B +; Routine: SubCF995_Block_F99B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13737,7 +13739,7 @@ Label_F995: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F99B: +SubCF995_Block_F99B: sty ZpF0 ; CPU:$F99B PRG:399B 84 F0 lda #$20 ; CPU:$F99D PRG:399D A9 20 sta ZpF1 ; CPU:$F99F PRG:399F 85 F1 @@ -13745,7 +13747,7 @@ Label_F99B: ldy #$95 ; CPU:$F9A3 PRG:39A3 A0 95 lda #$00 ; CPU:$F9A5 PRG:39A5 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F9A7 +; Routine: SubCF995_Block_F9A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13753,10 +13755,10 @@ Label_F99B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9A7: +SubCF995_Block_F9A7: jsr $F835 ; CPU:$F9A7 PRG:39A7 20 35 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9AA +; Routine: SubCF995_Block_F9AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13764,12 +13766,12 @@ Label_F9A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9AA: +SubCF995_Block_F9AA: dec ZpF1 ; CPU:$F9AA PRG:39AA C6 F1 - bne Label_F9CF ; CPU:$F9AC PRG:39AC D0 21 + bne SubCF995_Block_F9CF ; CPU:$F9AC PRG:39AC D0 21 jmp $FA3D ; CPU:$F9AE PRG:39AE 4C 3D FA ; ----------------------------------------------------------------------------- -; Routine: Label_F9B1 +; Routine: SubCF995_Block_F9B1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13777,7 +13779,7 @@ Label_F9AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9B1: +SubCF995_Block_F9B1: sty ZpF0 ; CPU:$F9B1 PRG:39B1 84 F0 lda #$14 ; CPU:$F9B3 PRG:39B3 A9 14 sta ZpF1 ; CPU:$F9B5 PRG:39B5 85 F1 @@ -13786,7 +13788,7 @@ Label_F9B1: lda #$28 ; CPU:$F9BB PRG:39BB A9 28 jsr $F835 ; CPU:$F9BD PRG:39BD 20 35 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9C0 +; Routine: SubCF995_Block_F9C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13794,16 +13796,16 @@ Label_F9B1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9C0: +SubCF995_Block_F9C0: dec ZpF1 ; CPU:$F9C0 PRG:39C0 C6 F1 lda ZpF1 ; CPU:$F9C2 PRG:39C2 A5 F1 - beq Label_FA3A ; CPU:$F9C4 PRG:39C4 F0 74 + beq SubCF9FE_Block_FA3A ; CPU:$F9C4 PRG:39C4 F0 74 cmp #$0C ; CPU:$F9C6 PRG:39C6 C9 0C - bne Label_FA37 ; CPU:$F9C8 PRG:39C8 D0 6D + bne SubCF9FE_Block_FA37 ; CPU:$F9C8 PRG:39C8 D0 6D lda #$28 ; CPU:$F9CA PRG:39CA A9 28 jsr $F838 ; CPU:$F9CC PRG:39CC 20 38 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9CF +; Routine: SubCF995_Block_F9CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13811,10 +13813,10 @@ Label_F9C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9CF: - bne Label_FA37 ; CPU:$F9CF PRG:39CF D0 66 +SubCF995_Block_F9CF: + bne SubCF9FE_Block_FA37 ; CPU:$F9CF PRG:39CF D0 66 ; ----------------------------------------------------------------------------- -; Routine: Label_F9D1 +; Routine: SubCF995_Block_F9D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13822,16 +13824,16 @@ Label_F9CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9D1: +SubCF995_Block_F9D1: sty ZpF0 ; CPU:$F9D1 PRG:39D1 84 F0 lda #$2A ; CPU:$F9D3 PRG:39D3 A9 2A sta ZpF1 ; CPU:$F9D5 PRG:39D5 85 F1 ldx #$8F ; CPU:$F9D7 PRG:39D7 A2 8F ldy #$9C ; CPU:$F9D9 PRG:39D9 A0 9C lda #$28 ; CPU:$F9DB PRG:39DB A9 28 - bne Label_F9A7 ; CPU:$F9DD PRG:39DD D0 C8 + bne SubCF995_Block_F9A7 ; CPU:$F9DD PRG:39DD D0 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_F9DF +; Routine: SubCF995_Block_F9DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13839,16 +13841,16 @@ Label_F9D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9DF: +SubCF995_Block_F9DF: sty ZpF0 ; CPU:$F9DF PRG:39DF 84 F0 lda #$0E ; CPU:$F9E1 PRG:39E1 A9 0E sta ZpF1 ; CPU:$F9E3 PRG:39E3 85 F1 ldx #$83 ; CPU:$F9E5 PRG:39E5 A2 83 ldy #$9A ; CPU:$F9E7 PRG:39E7 A0 9A lda #$28 ; CPU:$F9E9 PRG:39E9 A9 28 - bne Label_F9F9 ; CPU:$F9EB PRG:39EB D0 0C + bne SubCF995_Block_F9F9 ; CPU:$F9EB PRG:39EB D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_F9ED +; Routine: SubCF995_Block_F9ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13856,7 +13858,7 @@ Label_F9DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9ED: +SubCF995_Block_F9ED: sty ZpF0 ; CPU:$F9ED PRG:39ED 84 F0 lda #$06 ; CPU:$F9EF PRG:39EF A9 06 sta ZpF1 ; CPU:$F9F1 PRG:39F1 85 F1 @@ -13864,7 +13866,7 @@ Label_F9ED: ldy #$9B ; CPU:$F9F5 PRG:39F5 A0 9B lda #$04 ; CPU:$F9F7 PRG:39F7 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_F9F9 +; Routine: SubCF995_Block_F9F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13872,11 +13874,11 @@ Label_F9ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9F9: +SubCF995_Block_F9F9: jsr $F835 ; CPU:$F9F9 PRG:39F9 20 35 F8 - bne Label_FA2D ; CPU:$F9FC PRG:39FC D0 2F + bne SubCF9FE_Block_FA2D ; CPU:$F9FC PRG:39FC D0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_F9FE +; Routine: SubCF9FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13884,36 +13886,36 @@ Label_F9F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F9FE: +SubCF9FE: ldy ZpFF ; CPU:$F9FE PRG:39FE A4 FF lda ZpF0 ; CPU:$FA00 PRG:3A00 A5 F0 lsr a ; CPU:$FA02 PRG:3A02 4A - bcs Label_F9AA ; CPU:$FA03 PRG:3A03 B0 A5 + bcs SubCF995_Block_F9AA ; CPU:$FA03 PRG:3A03 B0 A5 lsr ZpFF ; CPU:$FA05 PRG:3A05 46 FF - bcs Label_F99B ; CPU:$FA07 PRG:3A07 B0 92 + bcs SubCF995_Block_F99B ; CPU:$FA07 PRG:3A07 B0 92 lsr a ; CPU:$FA09 PRG:3A09 4A - bcs Label_F9C0 ; CPU:$FA0A PRG:3A0A B0 B4 + bcs SubCF995_Block_F9C0 ; CPU:$FA0A PRG:3A0A B0 B4 lsr ZpFF ; CPU:$FA0C PRG:3A0C 46 FF - bcs Label_F9B1 ; CPU:$FA0E PRG:3A0E B0 A1 + bcs SubCF995_Block_F9B1 ; CPU:$FA0E PRG:3A0E B0 A1 lsr a ; CPU:$FA10 PRG:3A10 4A - bcs Label_F9AA ; CPU:$FA11 PRG:3A11 B0 97 + bcs SubCF995_Block_F9AA ; CPU:$FA11 PRG:3A11 B0 97 lsr ZpFF ; CPU:$FA13 PRG:3A13 46 FF - bcs Label_F9D1 ; CPU:$FA15 PRG:3A15 B0 BA + bcs SubCF995_Block_F9D1 ; CPU:$FA15 PRG:3A15 B0 BA lsr a ; CPU:$FA17 PRG:3A17 4A - bcs Label_FA87 ; CPU:$FA18 PRG:3A18 B0 6D + bcs SubCFA3D_Block_FA87 ; CPU:$FA18 PRG:3A18 B0 6D lsr ZpFF ; CPU:$FA1A PRG:3A1A 46 FF - bcs Label_F9DF ; CPU:$FA1C PRG:3A1C B0 C1 + bcs SubCF995_Block_F9DF ; CPU:$FA1C PRG:3A1C B0 C1 lsr a ; CPU:$FA1E PRG:3A1E 4A - bcs Label_FA87 ; CPU:$FA1F PRG:3A1F B0 66 + bcs SubCFA3D_Block_FA87 ; CPU:$FA1F PRG:3A1F B0 66 lsr ZpFF ; CPU:$FA21 PRG:3A21 46 FF - bcs Label_F9ED ; CPU:$FA23 PRG:3A23 B0 C8 + bcs SubCF995_Block_F9ED ; CPU:$FA23 PRG:3A23 B0 C8 lsr a ; CPU:$FA25 PRG:3A25 4A - bcs Label_FA50 ; CPU:$FA26 PRG:3A26 B0 28 + bcs SubCFA3D_Block_FA50 ; CPU:$FA26 PRG:3A26 B0 28 lsr ZpFF ; CPU:$FA28 PRG:3A28 46 FF - bcs Label_FA43 ; CPU:$FA2A PRG:3A2A B0 17 + bcs SubCFA3D_Block_FA43 ; CPU:$FA2A PRG:3A2A B0 17 tax ; CPU:$FA2C PRG:3A2C AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA2D +; Routine: SubCF9FE_Block_FA2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13921,14 +13923,14 @@ Label_F9FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA2D: - bne Label_FA87 ; CPU:$FA2D PRG:3A2D D0 58 +SubCF9FE_Block_FA2D: + bne SubCFA3D_Block_FA87 ; CPU:$FA2D PRG:3A2D D0 58 lsr ZpFF ; CPU:$FA2F PRG:3A2F 46 FF - bcs Label_FA7A ; CPU:$FA31 PRG:3A31 B0 47 + bcs SubCFA3D_Block_FA7A ; CPU:$FA31 PRG:3A31 B0 47 lsr ZpFF ; CPU:$FA33 PRG:3A33 46 FF - bcs Label_FA8D ; CPU:$FA35 PRG:3A35 B0 56 + bcs SubCFA3D_Block_FA8D ; CPU:$FA35 PRG:3A35 B0 56 ; ----------------------------------------------------------------------------- -; Routine: Label_FA37 +; Routine: SubCF9FE_Block_FA37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13936,10 +13938,10 @@ Label_FA2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA37: +SubCF9FE_Block_FA37: jmp $FAE8 ; CPU:$FA37 PRG:3A37 4C E8 FA ; ----------------------------------------------------------------------------- -; Routine: Label_FA3A +; Routine: SubCF9FE_Block_FA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13947,10 +13949,10 @@ Label_FA37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3A: +SubCF9FE_Block_FA3A: jsr $F995 ; CPU:$FA3A PRG:3A3A 20 95 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_FA3D +; Routine: SubCFA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13958,12 +13960,12 @@ Label_FA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA3D: +SubCFA3D: lda #$00 ; CPU:$FA3D PRG:3A3D A9 00 sta ZpF0 ; CPU:$FA3F PRG:3A3F 85 F0 - beq Label_FA37 ; CPU:$FA41 PRG:3A41 F0 F4 + beq SubCF9FE_Block_FA37 ; CPU:$FA41 PRG:3A41 F0 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FA43 +; Routine: SubCFA3D_Block_FA43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13971,15 +13973,15 @@ Label_FA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA43: +SubCFA3D_Block_FA43: sty ZpF0 ; CPU:$FA43 PRG:3A43 84 F0 lda #$22 ; CPU:$FA45 PRG:3A45 A9 22 sta ZpF1 ; CPU:$FA47 PRG:3A47 85 F1 lda #$06 ; CPU:$FA49 PRG:3A49 A9 06 jsr $F838 ; CPU:$FA4B PRG:3A4B 20 38 F8 - bne Label_FA65 ; CPU:$FA4E PRG:3A4E D0 15 + bne SubCFA3D_Block_FA65 ; CPU:$FA4E PRG:3A4E D0 15 ; ----------------------------------------------------------------------------- -; Routine: Label_FA50 +; Routine: SubCFA3D_Block_FA50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13987,18 +13989,18 @@ Label_FA43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA50: +SubCFA3D_Block_FA50: dec ZpF1 ; CPU:$FA50 PRG:3A50 C6 F1 - beq Label_FA3A ; CPU:$FA52 PRG:3A52 F0 E6 + beq SubCF9FE_Block_FA3A ; CPU:$FA52 PRG:3A52 F0 E6 ldx #$98 ; CPU:$FA54 PRG:3A54 A2 98 lda ZpF1 ; CPU:$FA56 PRG:3A56 A5 F1 cmp #$10 ; CPU:$FA58 PRG:3A58 C9 10 - bcs Label_FA60 ; CPU:$FA5A PRG:3A5A B0 04 + bcs SubCFA3D_Block_FA60 ; CPU:$FA5A PRG:3A5A B0 04 lsr a ; CPU:$FA5C PRG:3A5C 4A ora #$90 ; CPU:$FA5D PRG:3A5D 09 90 tax ; CPU:$FA5F PRG:3A5F AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA60 +; Routine: SubCFA3D_Block_FA60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14006,11 +14008,11 @@ Label_FA50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA60: +SubCFA3D_Block_FA60: dec $06BA ; CPU:$FA60 PRG:3A60 CE BA 06 - bne Label_FA6A ; CPU:$FA63 PRG:3A63 D0 05 + bne SubCFA3D_Block_FA6A ; CPU:$FA63 PRG:3A63 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FA65 +; Routine: SubCFA3D_Block_FA65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14018,11 +14020,11 @@ Label_FA60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA65: +SubCFA3D_Block_FA65: lda #$06 ; CPU:$FA65 PRG:3A65 A9 06 sta $06BA ; CPU:$FA67 PRG:3A67 8D BA 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FA6A +; Routine: SubCFA3D_Block_FA6A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14030,14 +14032,14 @@ Label_FA65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA6A: +SubCFA3D_Block_FA6A: lda $06BA ; CPU:$FA6A PRG:3A6A AD BA 06 cmp #$04 ; CPU:$FA6D PRG:3A6D C9 04 ldy #$84 ; CPU:$FA6F PRG:3A6F A0 84 - bcc Label_FA75 ; CPU:$FA71 PRG:3A71 90 02 + bcc SubCFA3D_Block_FA75 ; CPU:$FA71 PRG:3A71 90 02 ldy #$8C ; CPU:$FA73 PRG:3A73 A0 8C ; ----------------------------------------------------------------------------- -; Routine: Label_FA75 +; Routine: SubCFA3D_Block_FA75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14045,11 +14047,11 @@ Label_FA6A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA75: +SubCFA3D_Block_FA75: jsr $F98E ; CPU:$FA75 PRG:3A75 20 8E F9 - bne Label_FA37 ; CPU:$FA78 PRG:3A78 D0 BD + bne SubCF9FE_Block_FA37 ; CPU:$FA78 PRG:3A78 D0 BD ; ----------------------------------------------------------------------------- -; Routine: Label_FA7A +; Routine: SubCFA3D_Block_FA7A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14057,7 +14059,7 @@ Label_FA75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA7A: +SubCFA3D_Block_FA7A: sty ZpF0 ; CPU:$FA7A PRG:3A7A 84 F0 lda #$08 ; CPU:$FA7C PRG:3A7C A9 08 sta ZpF1 ; CPU:$FA7E PRG:3A7E 85 F1 @@ -14065,7 +14067,7 @@ Label_FA7A: lda #$34 ; CPU:$FA82 PRG:3A82 A9 34 jsr $F833 ; CPU:$FA84 PRG:3A84 20 33 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FA87 +; Routine: SubCFA3D_Block_FA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14073,12 +14075,12 @@ Label_FA7A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA87: +SubCFA3D_Block_FA87: dec ZpF1 ; CPU:$FA87 PRG:3A87 C6 F1 - beq Label_FA3A ; CPU:$FA89 PRG:3A89 F0 AF - bne Label_FA37 ; CPU:$FA8B PRG:3A8B D0 AA + beq SubCF9FE_Block_FA3A ; CPU:$FA89 PRG:3A89 F0 AF + bne SubCF9FE_Block_FA37 ; CPU:$FA8B PRG:3A8B D0 AA ; ----------------------------------------------------------------------------- -; Routine: Label_FA8D +; Routine: SubCFA3D_Block_FA8D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14086,7 +14088,7 @@ Label_FA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FA8D: +SubCFA3D_Block_FA8D: sty ZpF0 ; CPU:$FA8D PRG:3A8D 84 F0 lda #$08 ; CPU:$FA8F PRG:3A8F A9 08 sta ZpF1 ; CPU:$FA91 PRG:3A91 85 F1 @@ -14096,10 +14098,10 @@ Label_FA8D: lda $06B0 ; CPU:$FA9B PRG:3A9B AD B0 06 lsr a ; CPU:$FA9E PRG:3A9E 4A ldy #$1D ; CPU:$FA9F PRG:3A9F A0 1D - bcc Label_FAA5 ; CPU:$FAA1 PRG:3AA1 90 02 + bcc SubCFA3D_Block_FAA5 ; CPU:$FAA1 PRG:3AA1 90 02 ldy #$AB ; CPU:$FAA3 PRG:3AA3 A0 AB ; ----------------------------------------------------------------------------- -; Routine: Label_FAA5 +; Routine: SubCFA3D_Block_FAA5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14107,13 +14109,13 @@ Label_FA8D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAA5: - sty $4002 ; CPU:$FAA5 PRG:3AA5 8C 02 40 +SubCFA3D_Block_FAA5: + sty APUPULSE1TIMERLO ; CPU:$FAA5 PRG:3AA5 8C 02 40 lda #$19 ; CPU:$FAA8 PRG:3AA8 A9 19 - sta $4003 ; CPU:$FAAA PRG:3AAA 8D 03 40 - bne Label_FA87 ; CPU:$FAAD PRG:3AAD D0 D8 + sta APUPULSE1TIMERHI ; CPU:$FAAA PRG:3AAA 8D 03 40 + bne SubCFA3D_Block_FA87 ; CPU:$FAAD PRG:3AAD D0 D8 ; ----------------------------------------------------------------------------- -; Routine: Label_FAAF +; Routine: SubCFA3D_Block_FAAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14121,7 +14123,7 @@ Label_FAA5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAAF: +SubCFA3D_Block_FAAF: sty $06A1 ; CPU:$FAAF PRG:3AAF 8C A1 06 lda #$0A ; CPU:$FAB2 PRG:3AB2 A9 0A sta ZpF3 ; CPU:$FAB4 PRG:3AB4 85 F3 @@ -14130,9 +14132,9 @@ Label_FAAF: lda #$FF ; CPU:$FAB9 PRG:3AB9 A9 FF sta $06BB ; CPU:$FABB PRG:3ABB 8D BB 06 ldy #$02 ; CPU:$FABE PRG:3ABE A0 02 - bne Label_FAD1 ; CPU:$FAC0 PRG:3AC0 D0 0F + bne SubCFA3D_Block_FAD1 ; CPU:$FAC0 PRG:3AC0 D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_FAC2 +; Routine: SubCFA3D_Block_FAC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14140,16 +14142,16 @@ Label_FAAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAC2: +SubCFA3D_Block_FAC2: dec ZpF3 ; CPU:$FAC2 PRG:3AC2 C6 F3 - bne Label_FB06 ; CPU:$FAC4 PRG:3AC4 D0 40 + bne SubCFAE8_Block_FB06 ; CPU:$FAC4 PRG:3AC4 D0 40 lda #$05 ; CPU:$FAC6 PRG:3AC6 A9 05 sta ZpF3 ; CPU:$FAC8 PRG:3AC8 85 F3 inc $06BB ; CPU:$FACA PRG:3ACA EE BB 06 - bne Label_FADB ; CPU:$FACD PRG:3ACD D0 0C + bne SubCFA3D_Block_FADB ; CPU:$FACD PRG:3ACD D0 0C ldy #$04 ; CPU:$FACF PRG:3ACF A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FAD1 +; Routine: SubCFA3D_Block_FAD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14157,13 +14159,13 @@ Label_FAC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAD1: +SubCFA3D_Block_FAD1: lda #$0F ; CPU:$FAD1 PRG:3AD1 A9 0F - sta $400C ; CPU:$FAD3 PRG:3AD3 8D 0C 40 - sta $400F ; CPU:$FAD6 PRG:3AD6 8D 0F 40 - bne Label_FADF ; CPU:$FAD9 PRG:3AD9 D0 04 + sta APUNOISECTRL ; CPU:$FAD3 PRG:3AD3 8D 0C 40 + sta APUNOISELENGTH ; CPU:$FAD6 PRG:3AD6 8D 0F 40 + bne SubCFA3D_Block_FADF ; CPU:$FAD9 PRG:3AD9 D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FADB +; Routine: SubCFA3D_Block_FADB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14171,11 +14173,11 @@ Label_FAD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FADB: +SubCFA3D_Block_FADB: ldy ZpF4 ; CPU:$FADB PRG:3ADB A4 F4 inc ZpF4 ; CPU:$FADD PRG:3ADD E6 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FADF +; Routine: SubCFA3D_Block_FADF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14183,13 +14185,13 @@ Label_FADB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FADF: - sty $400E ; CPU:$FADF PRG:3ADF 8C 0E 40 +SubCFA3D_Block_FADF: + sty APUNOISEPERIOD ; CPU:$FADF PRG:3ADF 8C 0E 40 cpy #$0F ; CPU:$FAE2 PRG:3AE2 C0 0F - beq Label_FB58 ; CPU:$FAE4 PRG:3AE4 F0 72 - bne Label_FB06 ; CPU:$FAE6 PRG:3AE6 D0 1E + beq SubCFAE8_Block_FB58 ; CPU:$FAE4 PRG:3AE4 F0 72 + bne SubCFAE8_Block_FB06 ; CPU:$FAE6 PRG:3AE6 D0 1E ; ----------------------------------------------------------------------------- -; Routine: Label_FAE8 +; Routine: SubCFAE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14197,25 +14199,25 @@ Label_FADF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FAE8: +SubCFAE8: ldy ZpFE ; CPU:$FAE8 PRG:3AE8 A4 FE lda $06A1 ; CPU:$FAEA PRG:3AEA AD A1 06 lsr a ; CPU:$FAED PRG:3AED 4A - bcs Label_FAC2 ; CPU:$FAEE PRG:3AEE B0 D2 + bcs SubCFA3D_Block_FAC2 ; CPU:$FAEE PRG:3AEE B0 D2 lsr ZpFE ; CPU:$FAF0 PRG:3AF0 46 FE - bcs Label_FAAF ; CPU:$FAF2 PRG:3AF2 B0 BB + bcs SubCFA3D_Block_FAAF ; CPU:$FAF2 PRG:3AF2 B0 BB ldx ZpF9 ; CPU:$FAF4 PRG:3AF4 A6 F9 - bne Label_FB06 ; CPU:$FAF6 PRG:3AF6 D0 0E + bne SubCFAE8_Block_FB06 ; CPU:$FAF6 PRG:3AF6 D0 0E lsr a ; CPU:$FAF8 PRG:3AF8 4A - bcs Label_FB1A ; CPU:$FAF9 PRG:3AF9 B0 1F + bcs SubCFAE8_Block_FB1A ; CPU:$FAF9 PRG:3AF9 B0 1F lsr ZpFE ; CPU:$FAFB PRG:3AFB 46 FE - bcs Label_FB09 ; CPU:$FAFD PRG:3AFD B0 0A + bcs SubCFAE8_Block_FB09 ; CPU:$FAFD PRG:3AFD B0 0A lsr a ; CPU:$FAFF PRG:3AFF 4A - bcs Label_FB33 ; CPU:$FB00 PRG:3B00 B0 31 + bcs SubCFAE8_Block_FB33 ; CPU:$FB00 PRG:3B00 B0 31 lsr ZpFE ; CPU:$FB02 PRG:3B02 46 FE - bcs Label_FB21 ; CPU:$FB04 PRG:3B04 B0 1B + bcs SubCFAE8_Block_FB21 ; CPU:$FB04 PRG:3B04 B0 1B ; ----------------------------------------------------------------------------- -; Routine: Label_FB06 +; Routine: SubCFAE8_Block_FB06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14223,10 +14225,10 @@ Label_FAE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB06: +SubCFAE8_Block_FB06: jmp $FBC7 ; CPU:$FB06 PRG:3B06 4C C7 FB ; ----------------------------------------------------------------------------- -; Routine: Label_FB09 +; Routine: SubCFAE8_Block_FB09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14234,17 +14236,17 @@ Label_FB06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB09: +SubCFAE8_Block_FB09: inc $06B2 ; CPU:$FB09 PRG:3B09 EE B2 06 lda $06B2 ; CPU:$FB0C PRG:3B0C AD B2 06 lsr a ; CPU:$FB0F PRG:3B0F 4A ldx #$03 ; CPU:$FB10 PRG:3B10 A2 03 lda #$D4 ; CPU:$FB12 PRG:3B12 A9 D4 - bcc Label_FB25 ; CPU:$FB14 PRG:3B14 90 0F + bcc SubCFAE8_Block_FB25 ; CPU:$FB14 PRG:3B14 90 0F lda #$A8 ; CPU:$FB16 PRG:3B16 A9 A8 - bcs Label_FB25 ; CPU:$FB18 PRG:3B18 B0 0B + bcs SubCFAE8_Block_FB25 ; CPU:$FB18 PRG:3B18 B0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FB1A +; Routine: SubCFAE8_Block_FB1A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14252,14 +14254,14 @@ Label_FB09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB1A: +SubCFAE8_Block_FB1A: lda ZpF4 ; CPU:$FB1A PRG:3B1A A5 F4 tay ; CPU:$FB1C PRG:3B1C A8 lsr a ; CPU:$FB1D PRG:3B1D 4A lsr a ; CPU:$FB1E PRG:3B1E 4A - bne Label_FB40 ; CPU:$FB1F PRG:3B1F D0 1F + bne SubCFAE8_Block_FB40 ; CPU:$FB1F PRG:3B1F D0 1F ; ----------------------------------------------------------------------------- -; Routine: Label_FB21 +; Routine: SubCFAE8_Block_FB21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14267,11 +14269,11 @@ Label_FB1A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB21: +SubCFAE8_Block_FB21: lda #$69 ; CPU:$FB21 PRG:3B21 A9 69 ldx #$04 ; CPU:$FB23 PRG:3B23 A2 04 ; ----------------------------------------------------------------------------- -; Routine: Label_FB25 +; Routine: SubCFAE8_Block_FB25 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14279,15 +14281,15 @@ Label_FB21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB25: +SubCFAE8_Block_FB25: sty $06A1 ; CPU:$FB25 PRG:3B25 8C A1 06 - stx $4008 ; CPU:$FB28 PRG:3B28 8E 08 40 + stx APUTRIANGLECTRL ; CPU:$FB28 PRG:3B28 8E 08 40 ldy #$0C ; CPU:$FB2B PRG:3B2B A0 0C sty ZpF3 ; CPU:$FB2D PRG:3B2D 84 F3 sta ZpF4 ; CPU:$FB2F PRG:3B2F 85 F4 - bne Label_FB4A ; CPU:$FB31 PRG:3B31 D0 17 + bne SubCFAE8_Block_FB4A ; CPU:$FB31 PRG:3B31 D0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_FB33 +; Routine: SubCFAE8_Block_FB33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14295,14 +14297,14 @@ Label_FB25: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB33: +SubCFAE8_Block_FB33: lda ZpF3 ; CPU:$FB33 PRG:3B33 A5 F3 cmp #$06 ; CPU:$FB35 PRG:3B35 C9 06 - bne Label_FB3D ; CPU:$FB37 PRG:3B37 D0 04 + bne SubCFAE8_Block_FB3D ; CPU:$FB37 PRG:3B37 D0 04 lda #$69 ; CPU:$FB39 PRG:3B39 A9 69 - bne Label_FB48 ; CPU:$FB3B PRG:3B3B D0 0B + bne SubCFAE8_Block_FB48 ; CPU:$FB3B PRG:3B3B D0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_FB3D +; Routine: SubCFAE8_Block_FB3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14310,11 +14312,11 @@ Label_FB33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB3D: +SubCFAE8_Block_FB3D: lda ZpF4 ; CPU:$FB3D PRG:3B3D A5 F4 tay ; CPU:$FB3F PRG:3B3F A8 ; ----------------------------------------------------------------------------- -; Routine: Label_FB40 +; Routine: SubCFAE8_Block_FB40 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14322,7 +14324,7 @@ Label_FB3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB40: +SubCFAE8_Block_FB40: lsr a ; CPU:$FB40 PRG:3B40 4A lsr a ; CPU:$FB41 PRG:3B41 4A sta ZpF4 ; CPU:$FB42 PRG:3B42 85 F4 @@ -14330,7 +14332,7 @@ Label_FB40: sec ; CPU:$FB45 PRG:3B45 38 sbc ZpF4 ; CPU:$FB46 PRG:3B46 E5 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FB48 +; Routine: SubCFAE8_Block_FB48 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14338,10 +14340,10 @@ Label_FB40: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB48: +SubCFAE8_Block_FB48: sta ZpF4 ; CPU:$FB48 PRG:3B48 85 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_FB4A +; Routine: SubCFAE8_Block_FB4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14349,16 +14351,16 @@ Label_FB48: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB4A: +SubCFAE8_Block_FB4A: asl a ; CPU:$FB4A PRG:3B4A 0A - sta $400A ; CPU:$FB4B PRG:3B4B 8D 0A 40 + sta APUTRIANGLETIMERLO ; CPU:$FB4B PRG:3B4B 8D 0A 40 rol a ; CPU:$FB4E PRG:3B4E 2A and #$01 ; CPU:$FB4F PRG:3B4F 29 01 - sta $400B ; CPU:$FB51 PRG:3B51 8D 0B 40 + sta APUTRIANGLETIMERHI ; CPU:$FB51 PRG:3B51 8D 0B 40 dec ZpF3 ; CPU:$FB54 PRG:3B54 C6 F3 - bne Label_FB06 ; CPU:$FB56 PRG:3B56 D0 AE + bne SubCFAE8_Block_FB06 ; CPU:$FB56 PRG:3B56 D0 AE ; ----------------------------------------------------------------------------- -; Routine: Label_FB58 +; Routine: SubCFAE8_Block_FB58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14366,12 +14368,12 @@ Label_FB4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB58: +SubCFAE8_Block_FB58: lda #$00 ; CPU:$FB58 PRG:3B58 A9 00 sta $06A1 ; CPU:$FB5A PRG:3B5A 8D A1 06 - beq Label_FB06 ; CPU:$FB5D PRG:3B5D F0 A7 + beq SubCFAE8_Block_FB06 ; CPU:$FB5D PRG:3B5D F0 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_FB5F +; Routine: SubCFB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14379,15 +14381,15 @@ Label_FB58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB5F: +SubCFB5F: lda ZpFC ; CPU:$FB5F PRG:3B5F A5 FC - bne Label_FB6B ; CPU:$FB61 PRG:3B61 D0 08 + bne SubCFB5F_Block_FB6B ; CPU:$FB61 PRG:3B61 D0 08 sta ZpF6 ; CPU:$FB63 PRG:3B63 85 F6 lda #$90 ; CPU:$FB65 PRG:3B65 A9 90 - sta $4004 ; CPU:$FB67 PRG:3B67 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FB67 PRG:3B67 8D 04 40 rts ; CPU:$FB6A PRG:3B6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FB6B +; Routine: SubCFB5F_Block_FB6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14395,14 +14397,14 @@ Label_FB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB6B: +SubCFB5F_Block_FB6B: lda ZpF6 ; CPU:$FB6B PRG:3B6B A5 F6 eor ZpFC ; CPU:$FB6D PRG:3B6D 45 FC - beq Label_FB89 ; CPU:$FB6F PRG:3B6F F0 18 + beq SubCFB5F_Block_FB89 ; CPU:$FB6F PRG:3B6F F0 18 lda ZpFC ; CPU:$FB71 PRG:3B71 A5 FC sta ZpF6 ; CPU:$FB73 PRG:3B73 85 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_FB75 +; Routine: SubCFB5F_Block_FB75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14410,7 +14412,7 @@ Label_FB6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB75: +SubCFB5F_Block_FB75: lda ZpFC ; CPU:$FB75 PRG:3B75 A5 FC jsr $F983 ; CPU:$FB77 PRG:3B77 20 83 F9 lda $FF33,y ; CPU:$FB7A PRG:3B7A B9 33 FF @@ -14419,9 +14421,9 @@ Label_FB75: sta ZpF7 ; CPU:$FB81 PRG:3B81 85 F7 lda #$FF ; CPU:$FB83 PRG:3B83 A9 FF sta ZpF8 ; CPU:$FB85 PRG:3B85 85 F8 - bne Label_FB8E ; CPU:$FB87 PRG:3B87 D0 05 + bne SubCFB5F_Block_FB8E ; CPU:$FB87 PRG:3B87 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_FB89 +; Routine: SubCFB5F_Block_FB89 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14429,11 +14431,11 @@ Label_FB75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB89: +SubCFB5F_Block_FB89: dec $0695 ; CPU:$FB89 PRG:3B89 CE 95 06 - bne Label_FBB8 ; CPU:$FB8C PRG:3B8C D0 2A + bne SubCFB5F_Block_FBB8 ; CPU:$FB8C PRG:3B8C D0 2A ; ----------------------------------------------------------------------------- -; Routine: Label_FB8E +; Routine: SubCFB5F_Block_FB8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14441,12 +14443,12 @@ Label_FB89: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FB8E: +SubCFB5F_Block_FB8E: ldy ZpF5 ; CPU:$FB8E PRG:3B8E A4 F5 inc ZpF5 ; CPU:$FB90 PRG:3B90 E6 F5 lda (ZpF7),y ; CPU:$FB92 PRG:3B92 B1 F7 - beq Label_FB75 ; CPU:$FB94 PRG:3B94 F0 DF - bpl Label_FBA8 ; CPU:$FB96 PRG:3B96 10 10 + beq SubCFB5F_Block_FB75 ; CPU:$FB94 PRG:3B94 F0 DF + bpl SubCFB5F_Block_FBA8 ; CPU:$FB96 PRG:3B96 10 10 and #$07 ; CPU:$FB98 PRG:3B98 29 07 clc ; CPU:$FB9A PRG:3B9A 18 tay ; CPU:$FB9B PRG:3B9B A8 @@ -14456,7 +14458,7 @@ Label_FB8E: inc ZpF5 ; CPU:$FBA4 PRG:3BA4 E6 F5 lda (ZpF7),y ; CPU:$FBA6 PRG:3BA6 B1 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_FBA8 +; Routine: SubCFB5F_Block_FBA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14464,15 +14466,15 @@ Label_FB8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBA8: +SubCFB5F_Block_FBA8: ldx $0690 ; CPU:$FBA8 PRG:3BA8 AE 90 06 stx $0695 ; CPU:$FBAB PRG:3BAB 8E 95 06 jsr $F84A ; CPU:$FBAE PRG:3BAE 20 4A F8 - beq Label_FBB8 ; CPU:$FBB1 PRG:3BB1 F0 05 + beq SubCFB5F_Block_FBB8 ; CPU:$FBB1 PRG:3BB1 F0 05 lda #$08 ; CPU:$FBB3 PRG:3BB3 A9 08 sta $069A ; CPU:$FBB5 PRG:3BB5 8D 9A 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FBB8 +; Routine: SubCFB5F_Block_FBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14480,14 +14482,14 @@ Label_FBA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBB8: +SubCFB5F_Block_FBB8: ldy $069A ; CPU:$FBB8 PRG:3BB8 AC 9A 06 - beq Label_FBC6 ; CPU:$FBBB PRG:3BBB F0 09 + beq SubCFB5F_Block_FBC6 ; CPU:$FBBB PRG:3BBB F0 09 dec $069A ; CPU:$FBBD PRG:3BBD CE 9A 06 lda $F967,y ; CPU:$FBC0 PRG:3BC0 B9 67 F9 - sta $4004 ; CPU:$FBC3 PRG:3BC3 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FBC3 PRG:3BC3 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FBC6 +; Routine: SubCFB5F_Block_FBC6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14495,10 +14497,10 @@ Label_FBB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC6: +SubCFB5F_Block_FBC6: rts ; CPU:$FBC6 PRG:3BC6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FBC7 +; Routine: SubCFBC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14506,14 +14508,14 @@ Label_FBC6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBC7: +SubCFBC7: lda ZpFD ; CPU:$FBC7 PRG:3BC7 A5 FD - bne Label_FBD3 ; CPU:$FBC9 PRG:3BC9 D0 08 + bne SubCFBC7_Block_FBD3 ; CPU:$FBC9 PRG:3BC9 D0 08 lda $06FF ; CPU:$FBCB PRG:3BCB AD FF 06 - bne Label_FC13 ; CPU:$FBCE PRG:3BCE D0 43 + bne SubCFBC7_Block_FC13 ; CPU:$FBCE PRG:3BCE D0 43 jmp $FB5F ; CPU:$FBD0 PRG:3BD0 4C 5F FB ; ----------------------------------------------------------------------------- -; Routine: Label_FBD3 +; Routine: SubCFBC7_Block_FBD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14521,7 +14523,7 @@ Label_FBC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FBD3: +SubCFBC7_Block_FBD3: jsr $F983 ; CPU:$FBD3 PRG:3BD3 20 83 F9 jsr $FC2D ; CPU:$FBD6 PRG:3BD6 20 2D FC sta ZpF5 ; CPU:$FBD9 PRG:3BD9 85 F5 @@ -14538,12 +14540,12 @@ Label_FBD3: lda $FCD2,y ; CPU:$FBF4 PRG:3BF4 B9 D2 FC sta ZpFA ; CPU:$FBF7 PRG:3BF7 85 FA lda #$7F ; CPU:$FBF9 PRG:3BF9 A9 7F - sta $4005 ; CPU:$FBFB PRG:3BFB 8D 05 40 + sta APUPULSE2SWEEP ; CPU:$FBFB PRG:3BFB 8D 05 40 ldy ZpF0 ; CPU:$FBFE PRG:3BFE A4 F0 - bne Label_FC05 ; CPU:$FC00 PRG:3C00 D0 03 - sta $4001 ; CPU:$FC02 PRG:3C02 8D 01 40 + bne SubCFBC7_Block_FC05 ; CPU:$FC00 PRG:3C00 D0 03 + sta APUPULSE1SWEEP ; CPU:$FC02 PRG:3C02 8D 01 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FC05 +; Routine: SubCFBC7_Block_FC05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14551,14 +14553,14 @@ Label_FBD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC05: +SubCFBC7_Block_FC05: lda #$01 ; CPU:$FC05 PRG:3C05 A9 01 sta $0695 ; CPU:$FC07 PRG:3C07 8D 95 06 sta $0696 ; CPU:$FC0A PRG:3C0A 8D 96 06 sta $0698 ; CPU:$FC0D PRG:3C0D 8D 98 06 sta $06FF ; CPU:$FC10 PRG:3C10 8D FF 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FC13 +; Routine: SubCFBC7_Block_FC13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14566,17 +14568,17 @@ Label_FC05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC13: +SubCFBC7_Block_FC13: ldy ZpFA ; CPU:$FC13 PRG:3C13 A4 FA - beq Label_FC55 ; CPU:$FC15 PRG:3C15 F0 3E + beq SubCFC2D_Block_FC55 ; CPU:$FC15 PRG:3C15 F0 3E dec $0696 ; CPU:$FC17 PRG:3C17 CE 96 06 - bne Label_FC55 ; CPU:$FC1A PRG:3C1A D0 39 + bne SubCFC2D_Block_FC55 ; CPU:$FC1A PRG:3C1A D0 39 lda #$45 ; CPU:$FC1C PRG:3C1C A9 45 ldx ZpF9 ; CPU:$FC1E PRG:3C1E A6 F9 - bne Label_FC24 ; CPU:$FC20 PRG:3C20 D0 02 + bne SubCFBC7_Block_FC24 ; CPU:$FC20 PRG:3C20 D0 02 lda #$85 ; CPU:$FC22 PRG:3C22 A9 85 ; ----------------------------------------------------------------------------- -; Routine: Label_FC24 +; Routine: SubCFBC7_Block_FC24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14584,13 +14586,13 @@ Label_FC13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC24: - sta $4000 ; CPU:$FC24 PRG:3C24 8D 00 40 +SubCFBC7_Block_FC24: + sta APUPULSE1CTRL ; CPU:$FC24 PRG:3C24 8D 00 40 inc ZpFA ; CPU:$FC27 PRG:3C27 E6 FA lda (ZpF7),y ; CPU:$FC29 PRG:3C29 B1 F7 - bne Label_FC3C ; CPU:$FC2B PRG:3C2B D0 0F + bne SubCFC2D_Block_FC3C ; CPU:$FC2B PRG:3C2B D0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_FC2D +; Routine: SubCFC2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14598,7 +14600,7 @@ Label_FC24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC2D: +SubCFC2D: lda #$00 ; CPU:$FC2D PRG:3C2D A9 00 sta ZpFA ; CPU:$FC2F PRG:3C2F 85 FA sta ZpF9 ; CPU:$FC31 PRG:3C31 85 F9 @@ -14607,7 +14609,7 @@ Label_FC2D: sta ZpF6 ; CPU:$FC39 PRG:3C39 85 F6 rts ; CPU:$FC3B PRG:3C3B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FC3C +; Routine: SubCFC2D_Block_FC3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14615,16 +14617,16 @@ Label_FC2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC3C: - bpl Label_FC4C ; CPU:$FC3C PRG:3C3C 10 0E +SubCFC2D_Block_FC3C: + bpl SubCFC2D_Block_FC4C ; CPU:$FC3C PRG:3C3C 10 0E jsr $F858 ; CPU:$FC3E PRG:3C3E 20 58 F8 sta $0691 ; CPU:$FC41 PRG:3C41 8D 91 06 ldy ZpFA ; CPU:$FC44 PRG:3C44 A4 FA inc ZpFA ; CPU:$FC46 PRG:3C46 E6 FA lda (ZpF7),y ; CPU:$FC48 PRG:3C48 B1 F7 - beq Label_FCA0 ; CPU:$FC4A PRG:3C4A F0 54 + beq SubCFC2D_Block_FCA0 ; CPU:$FC4A PRG:3C4A F0 54 ; ----------------------------------------------------------------------------- -; Routine: Label_FC4C +; Routine: SubCFC2D_Block_FC4C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14632,12 +14634,12 @@ Label_FC3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC4C: +SubCFC2D_Block_FC4C: jsr $F838 ; CPU:$FC4C PRG:3C4C 20 38 F8 lda $0691 ; CPU:$FC4F PRG:3C4F AD 91 06 sta $0696 ; CPU:$FC52 PRG:3C52 8D 96 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FC55 +; Routine: SubCFC2D_Block_FC55 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14645,24 +14647,24 @@ Label_FC4C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC55: +SubCFC2D_Block_FC55: lda $06B3 ; CPU:$FC55 PRG:3C55 AD B3 06 - bne Label_FCC1 ; CPU:$FC58 PRG:3C58 D0 67 + bne SubCFC2D_Block_FCC1 ; CPU:$FC58 PRG:3C58 D0 67 dec $0695 ; CPU:$FC5A PRG:3C5A CE 95 06 - bne Label_FC78 ; CPU:$FC5D PRG:3C5D D0 19 + bne SubCFC2D_Block_FC78 ; CPU:$FC5D PRG:3C5D D0 19 lda #$88 ; CPU:$FC5F PRG:3C5F A9 88 - sta $4004 ; CPU:$FC61 PRG:3C61 8D 04 40 + sta APUPULSE2CTRL ; CPU:$FC61 PRG:3C61 8D 04 40 ldy ZpF5 ; CPU:$FC64 PRG:3C64 A4 F5 inc ZpF5 ; CPU:$FC66 PRG:3C66 E6 F5 lda (ZpF7),y ; CPU:$FC68 PRG:3C68 B1 F7 - beq Label_FC2D ; CPU:$FC6A PRG:3C6A F0 C1 + beq SubCFC2D ; CPU:$FC6A PRG:3C6A F0 C1 jsr $F852 ; CPU:$FC6C PRG:3C6C 20 52 F8 sta $0695 ; CPU:$FC6F PRG:3C6F 8D 95 06 txa ; CPU:$FC72 PRG:3C72 8A and #$3E ; CPU:$FC73 PRG:3C73 29 3E jsr $F84A ; CPU:$FC75 PRG:3C75 20 4A F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FC78 +; Routine: SubCFC2D_Block_FC78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14670,11 +14672,11 @@ Label_FC55: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC78: +SubCFC2D_Block_FC78: ldy ZpF9 ; CPU:$FC78 PRG:3C78 A4 F9 - beq Label_FC9F ; CPU:$FC7A PRG:3C7A F0 23 + beq SubCFC2D_Block_FC9F ; CPU:$FC7A PRG:3C7A F0 23 dec $0698 ; CPU:$FC7C PRG:3C7C CE 98 06 - bne Label_FC9F ; CPU:$FC7F PRG:3C7F D0 1E + bne SubCFC2D_Block_FC9F ; CPU:$FC7F PRG:3C7F D0 1E inc ZpF9 ; CPU:$FC81 PRG:3C81 E6 F9 lda (ZpF7),y ; CPU:$FC83 PRG:3C83 B1 F7 jsr $F852 ; CPU:$FC85 PRG:3C85 20 52 F8 @@ -14684,10 +14686,10 @@ Label_FC78: asl a ; CPU:$FC8E PRG:3C8E 0A asl a ; CPU:$FC8F PRG:3C8F 0A cmp #$38 ; CPU:$FC90 PRG:3C90 C9 38 - bcc Label_FC96 ; CPU:$FC92 PRG:3C92 90 02 + bcc SubCFC2D_Block_FC96 ; CPU:$FC92 PRG:3C92 90 02 lda #$38 ; CPU:$FC94 PRG:3C94 A9 38 ; ----------------------------------------------------------------------------- -; Routine: Label_FC96 +; Routine: SubCFC2D_Block_FC96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14695,13 +14697,13 @@ Label_FC78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC96: - sta $4008 ; CPU:$FC96 PRG:3C96 8D 08 40 +SubCFC2D_Block_FC96: + sta APUTRIANGLECTRL ; CPU:$FC96 PRG:3C96 8D 08 40 txa ; CPU:$FC99 PRG:3C99 8A and #$3E ; CPU:$FC9A PRG:3C9A 29 3E jsr $F84E ; CPU:$FC9C PRG:3C9C 20 4E F8 ; ----------------------------------------------------------------------------- -; Routine: Label_FC9F +; Routine: SubCFC2D_Block_FC9F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14709,10 +14711,10 @@ Label_FC96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FC9F: +SubCFC2D_Block_FC9F: rts ; CPU:$FC9F PRG:3C9F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_FCA0 +; Routine: SubCFC2D_Block_FCA0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14720,16 +14722,16 @@ Label_FC9F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCA0: +SubCFC2D_Block_FCA0: inc $06B3 ; CPU:$FCA0 PRG:3CA0 EE B3 06 lda $0691 ; CPU:$FCA3 PRG:3CA3 AD 91 06 sta $0696 ; CPU:$FCA6 PRG:3CA6 8D 96 06 ldy #$04 ; CPU:$FCA9 PRG:3CA9 A0 04 cmp #$20 ; CPU:$FCAB PRG:3CAB C9 20 - bcc Label_FCB1 ; CPU:$FCAD PRG:3CAD 90 02 + bcc SubCFC2D_Block_FCB1 ; CPU:$FCAD PRG:3CAD 90 02 ldy #$28 ; CPU:$FCAF PRG:3CAF A0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_FCB1 +; Routine: SubCFC2D_Block_FCB1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14737,16 +14739,16 @@ Label_FCA0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCB1: +SubCFC2D_Block_FCB1: sty ZpF1 ; CPU:$FCB1 PRG:3CB1 84 F1 lda #$06 ; CPU:$FCB3 PRG:3CB3 A9 06 jsr $F838 ; CPU:$FCB5 PRG:3CB5 20 38 F8 lda #$26 ; CPU:$FCB8 PRG:3CB8 A9 26 jsr $F84A ; CPU:$FCBA PRG:3CBA 20 4A F8 lda #$9F ; CPU:$FCBD PRG:3CBD A9 9F - bne Label_FCC7 ; CPU:$FCBF PRG:3CBF D0 06 + bne SubCFC2D_Block_FCC7 ; CPU:$FCBF PRG:3CBF D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC1 +; Routine: SubCFC2D_Block_FCC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14754,12 +14756,12 @@ Label_FCB1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC1: +SubCFC2D_Block_FCC1: dec ZpF1 ; CPU:$FCC1 PRG:3CC1 C6 F1 - bne Label_FCCD ; CPU:$FCC3 PRG:3CC3 D0 08 + bne SubCFC2D_Block_FCCD ; CPU:$FCC3 PRG:3CC3 D0 08 lda #$86 ; CPU:$FCC5 PRG:3CC5 A9 86 ; ----------------------------------------------------------------------------- -; Routine: Label_FCC7 +; Routine: SubCFC2D_Block_FCC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14767,11 +14769,11 @@ Label_FCC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCC7: - sta $4000 ; CPU:$FCC7 PRG:3CC7 8D 00 40 - sta $4004 ; CPU:$FCCA PRG:3CCA 8D 04 40 +SubCFC2D_Block_FCC7: + sta APUPULSE1CTRL ; CPU:$FCC7 PRG:3CC7 8D 00 40 + sta APUPULSE2CTRL ; CPU:$FCCA PRG:3CCA 8D 04 40 ; ----------------------------------------------------------------------------- -; Routine: Label_FCCD +; Routine: SubCFC2D_Block_FCCD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14779,8 +14781,9 @@ Label_FCC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_FCCD: +SubCFC2D_Block_FCCD: rts ; CPU:$FCCD PRG:3CCD 60 +VectorPageData: ; ---- data $FCCE-$FFEF (802 bytes) ---- ; referenced by `lda $FF09,y` at $F8C4 (operand $FF09 falls inside this region) ; referenced by `lda $FF33,y` at $FB7A (operand $FF33 falls inside this region) diff --git a/_wip/Popeye (JU) (PRG 1)/copilot/reconstructed.lbl b/_wip/Popeye (JU) (PRG 1)/copilot/reconstructed.lbl index 0188bee..17764c2 100644 --- a/_wip/Popeye (JU) (PRG 1)/copilot/reconstructed.lbl +++ b/_wip/Popeye (JU) (PRG 1)/copilot/reconstructed.lbl @@ -1,879 +1,882 @@ al 00FFF0 .IrqHandler -al 00FCCD .Label_FCCD -al 00FCC7 .Label_FCC7 -al 00FCB1 .Label_FCB1 -al 00FC96 .Label_FC96 -al 00FC9F .Label_FC9F -al 00FC78 .Label_FC78 -al 00FCC1 .Label_FCC1 -al 00FCA0 .Label_FCA0 -al 00FC4C .Label_FC4C -al 00FC2D .Label_FC2D -al 00FC3C .Label_FC3C -al 00FC24 .Label_FC24 -al 00FC55 .Label_FC55 -al 00FC05 .Label_FC05 -al 00FC13 .Label_FC13 -al 00FBD3 .Label_FBD3 -al 00FBC7 .Label_FBC7 -al 00FBC6 .Label_FBC6 -al 00FBA8 .Label_FBA8 -al 00FBB8 .Label_FBB8 -al 00FB8E .Label_FB8E -al 00FB75 .Label_FB75 -al 00FB89 .Label_FB89 -al 00FB6B .Label_FB6B -al 00FB5F .Label_FB5F -al 00FB48 .Label_FB48 -al 00FB3D .Label_FB3D -al 00FB4A .Label_FB4A -al 00FB40 .Label_FB40 -al 00FB25 .Label_FB25 -al 00FB21 .Label_FB21 -al 00FB33 .Label_FB33 -al 00FB09 .Label_FB09 -al 00FB1A .Label_FB1A -al 00FAE8 .Label_FAE8 -al 00FB58 .Label_FB58 -al 00FADF .Label_FADF -al 00FADB .Label_FADB -al 00FB06 .Label_FB06 -al 00FAC2 .Label_FAC2 -al 00FAD1 .Label_FAD1 -al 00FAAF .Label_FAAF -al 00FAA5 .Label_FAA5 -al 00FA75 .Label_FA75 -al 00FA6A .Label_FA6A -al 00FA60 .Label_FA60 -al 00FA65 .Label_FA65 -al 00FA3D .Label_FA3D -al 00FA8D .Label_FA8D -al 00FA7A .Label_FA7A -al 00FA43 .Label_FA43 -al 00FA50 .Label_FA50 -al 00FA87 .Label_FA87 -al 00F9FE .Label_F9FE -al 00FA2D .Label_FA2D -al 00F9ED .Label_F9ED -al 00F9F9 .Label_F9F9 -al 00F9DF .Label_F9DF -al 00F9D1 .Label_F9D1 -al 00FA37 .Label_FA37 -al 00FA3A .Label_FA3A -al 00F9C0 .Label_F9C0 -al 00F9B1 .Label_F9B1 -al 00F9CF .Label_F9CF -al 00F9AA .Label_F9AA -al 00F9A7 .Label_F9A7 -al 00F99B .Label_F99B -al 00F995 .Label_F995 -al 00F98E .Label_F98E -al 00F98C .Label_F98C -al 00F98B .Label_F98B -al 00F985 .Label_F985 -al 00F983 .Label_F983 -al 00F970 .Label_F970 -al 00F8D9 .Label_F8D9 -al 00F8D4 .Label_F8D4 -al 00F8BE .Label_F8BE -al 00F8A1 .Label_F8A1 -al 00F8BB .Label_F8BB -al 00F89A .Label_F89A -al 00F8FD .Label_F8FD -al 00F891 .Label_F891 -al 00F889 .Label_F889 -al 00F88E .Label_F88E -al 00F895 .Label_F895 -al 00F876 .Label_F876 -al 00F863 .Label_F863 -al 00F858 .Label_F858 -al 00F852 .Label_F852 -al 00F84E .Label_F84E -al 00F84A .Label_F84A -al 00F849 .Label_F849 -al 00F83A .Label_F83A -al 00F838 .Label_F838 -al 00F835 .Label_F835 -al 00F833 .Label_F833 -al 00F073 .Label_F073 -al 00F07F .Label_F07F -al 00F05E .Label_F05E -al 00F089 .Label_F089 -al 00F057 .Label_F057 -al 00F084 .Label_F084 -al 00F033 .Label_F033 -al 00F059 .Label_F059 -al 00F080 .Label_F080 -al 00F02A .Label_F02A -al 00F006 .Label_F006 -al 00F003 .Label_F003 -al 00EFF7 .Label_EFF7 -al 00EFE4 .Label_EFE4 -al 00EFDB .Label_EFDB -al 00EFDF .Label_EFDF -al 00EFCE .Label_EFCE -al 00EFC3 .Label_EFC3 -al 00EFC2 .Label_EFC2 -al 00EFA6 .Label_EFA6 -al 00EFA0 .Label_EFA0 -al 00EF4B .Label_EF4B -al 00EF72 .Label_EF72 -al 00EF6E .Label_EF6E -al 00EF3E .Label_EF3E -al 00EF34 .Label_EF34 -al 00EF23 .Label_EF23 -al 00EF1D .Label_EF1D -al 00EF09 .Label_EF09 -al 00EEF5 .Label_EEF5 -al 00EEF2 .Label_EEF2 -al 00EEEF .Label_EEEF -al 00EEE3 .Label_EEE3 -al 00EECD .Label_EECD -al 00EECC .Label_EECC -al 00EEA3 .Label_EEA3 -al 00EEA1 .Label_EEA1 -al 00EE8D .Label_EE8D -al 00EE88 .Label_EE88 -al 00EE78 .Label_EE78 -al 00EE74 .Label_EE74 -al 00EE6E .Label_EE6E -al 00EE62 .Label_EE62 -al 00EE61 .Label_EE61 -al 00EE53 .Label_EE53 -al 00EE51 .Label_EE51 -al 00EE25 .Label_EE25 -al 00EE0E .Label_EE0E -al 00EDF9 .Label_EDF9 -al 00EDF8 .Label_EDF8 -al 00EDE7 .Label_EDE7 -al 00EDC8 .Label_EDC8 -al 00ED8C .Label_ED8C -al 00ED86 .Label_ED86 -al 00ED7D .Label_ED7D -al 00ED7B .Label_ED7B -al 00ED74 .Label_ED74 -al 00ED5D .Label_ED5D -al 00ED43 .Label_ED43 -al 00ED38 .Label_ED38 -al 00ED24 .Label_ED24 -al 00ED20 .Label_ED20 -al 00ED23 .Label_ED23 -al 00ED07 .Label_ED07 -al 00ECFB .Label_ECFB -al 00ED06 .Label_ED06 -al 00ECC7 .Label_ECC7 -al 00ECC2 .Label_ECC2 -al 00ECAA .Label_ECAA -al 00ECC6 .Label_ECC6 -al 00EC8F .Label_EC8F -al 00EC86 .Label_EC86 -al 00EC7C .Label_EC7C -al 00EC71 .Label_EC71 -al 00EC8E .Label_EC8E -al 00EC64 .Label_EC64 -al 00EC5C .Label_EC5C -al 00EC55 .Label_EC55 -al 00EC39 .Label_EC39 -al 00EC61 .Label_EC61 -al 00EC1C .Label_EC1C -al 00EC0E .Label_EC0E -al 00EC0B .Label_EC0B -al 00EC09 .Label_EC09 -al 00EBFB .Label_EBFB -al 00EBE6 .Label_EBE6 -al 00EBDC .Label_EBDC -al 00EBD4 .Label_EBD4 -al 00EBF8 .Label_EBF8 -al 00EBB8 .Label_EBB8 -al 00EBAA .Label_EBAA -al 00EBA1 .Label_EBA1 -al 00EBA9 .Label_EBA9 -al 00EB8F .Label_EB8F -al 00EB8E .Label_EB8E -al 00EB79 .Label_EB79 -al 00EB73 .Label_EB73 -al 00EB67 .Label_EB67 -al 00EB55 .Label_EB55 -al 00EB78 .Label_EB78 -al 00EB3B .Label_EB3B -al 00EB34 .Label_EB34 -al 00EB29 .Label_EB29 -al 00EB20 .Label_EB20 -al 00EB12 .Label_EB12 -al 00EB08 .Label_EB08 -al 00EAFD .Label_EAFD -al 00EB02 .Label_EB02 -al 00EAFA .Label_EAFA -al 00EB05 .Label_EB05 -al 00EADE .Label_EADE -al 00EAD8 .Label_EAD8 -al 00EAD2 .Label_EAD2 -al 00EADB .Label_EADB -al 00EAC1 .Label_EAC1 -al 00EABB .Label_EABB -al 00EAAA .Label_EAAA -al 00EA9D .Label_EA9D -al 00EA9A .Label_EA9A -al 00EA92 .Label_EA92 -al 00EA7F .Label_EA7F -al 00EA7C .Label_EA7C -al 00EA74 .Label_EA74 -al 00EA6D .Label_EA6D -al 00EA63 .Label_EA63 -al 00EA54 .Label_EA54 -al 00EA49 .Label_EA49 -al 00EA3B .Label_EA3B -al 00EA68 .Label_EA68 -al 00EA2D .Label_EA2D -al 00EA2B .Label_EA2B -al 00EA0B .Label_EA0B -al 00EA05 .Label_EA05 -al 00EA03 .Label_EA03 -al 00E9E3 .Label_E9E3 -al 00E9DD .Label_E9DD -al 00E9B5 .Label_E9B5 -al 00E9B0 .Label_E9B0 -al 00E9A7 .Label_E9A7 -al 00E981 .Label_E981 -al 00E97C .Label_E97C -al 00E973 .Label_E973 -al 00E95E .Label_E95E -al 00E958 .Label_E958 -al 00E946 .Label_E946 -al 00E93C .Label_E93C -al 00E934 .Label_E934 -al 00E931 .Label_E931 -al 00E925 .Label_E925 -al 00E92B .Label_E92B -al 00E90C .Label_E90C -al 00E8F0 .Label_E8F0 -al 00E8EE .Label_E8EE -al 00E8E3 .Label_E8E3 -al 00E8DE .Label_E8DE -al 00E8D5 .Label_E8D5 -al 00E8CC .Label_E8CC -al 00E8CA .Label_E8CA -al 00E8C2 .Label_E8C2 -al 00E8B9 .Label_E8B9 -al 00E8B0 .Label_E8B0 -al 00E8AE .Label_E8AE -al 00E8A6 .Label_E8A6 -al 00E8A1 .Label_E8A1 -al 00E89F .Label_E89F -al 00E88D .Label_E88D -al 00E878 .Label_E878 -al 00E85F .Label_E85F -al 00E85A .Label_E85A -al 00E853 .Label_E853 -al 00E84B .Label_E84B -al 00E846 .Label_E846 -al 00E827 .Label_E827 -al 00E812 .Label_E812 -al 00E7F7 .Label_E7F7 -al 00E7F2 .Label_E7F2 -al 00E7E3 .Label_E7E3 -al 00E7C3 .Label_E7C3 -al 00E7B8 .Label_E7B8 -al 00E7A5 .Label_E7A5 -al 00E7A1 .Label_E7A1 -al 00E79D .Label_E79D -al 00E79C .Label_E79C -al 00E783 .Label_E783 -al 00E781 .Label_E781 -al 00E76B .Label_E76B -al 00E75B .Label_E75B -al 00E751 .Label_E751 -al 00E747 .Label_E747 -al 00E729 .Label_E729 -al 00E728 .Label_E728 -al 00E725 .Label_E725 -al 00E714 .Label_E714 -al 00E6FD .Label_E6FD -al 00E703 .Label_E703 -al 00E6F8 .Label_E6F8 -al 00E6EC .Label_E6EC -al 00E6B6 .Label_E6B6 -al 00E6AF .Label_E6AF -al 00E6EB .Label_E6EB -al 00E69A .Label_E69A -al 00E68F .Label_E68F -al 00E67D .Label_E67D -al 00E673 .Label_E673 -al 00E670 .Label_E670 -al 00E699 .Label_E699 -al 00E688 .Label_E688 -al 00E67E .Label_E67E -al 00E643 .Label_E643 -al 00E637 .Label_E637 -al 00E616 .Label_E616 -al 00E5FD .Label_E5FD -al 00E5FC .Label_E5FC -al 00E5EC .Label_E5EC -al 00E5EA .Label_E5EA -al 00E5E4 .Label_E5E4 -al 00E5D6 .Label_E5D6 -al 00E5BA .Label_E5BA -al 00E5E8 .Label_E5E8 -al 00E5C2 .Label_E5C2 -al 00E598 .Label_E598 -al 00E567 .Label_E567 -al 00E575 .Label_E575 -al 00E559 .Label_E559 -al 00E552 .Label_E552 -al 00E546 .Label_E546 -al 00E540 .Label_E540 -al 00E52C .Label_E52C -al 00E525 .Label_E525 -al 00E52A .Label_E52A -al 00E53F .Label_E53F -al 00E518 .Label_E518 -al 00E506 .Label_E506 -al 00E4FA .Label_E4FA -al 00E4F5 .Label_E4F5 -al 00E4F9 .Label_E4F9 -al 00E4DA .Label_E4DA -al 00E4D4 .Label_E4D4 -al 00E4CE .Label_E4CE -al 00E4D7 .Label_E4D7 -al 00E4BA .Label_E4BA -al 00E4B9 .Label_E4B9 -al 00E4A9 .Label_E4A9 -al 00E48E .Label_E48E -al 00E452 .Label_E452 -al 00E43C .Label_E43C -al 00E423 .Label_E423 -al 00E444 .Label_E444 -al 00E416 .Label_E416 -al 00E40C .Label_E40C -al 00E40A .Label_E40A -al 00E3FA .Label_E3FA -al 00E3DE .Label_E3DE -al 00E3CF .Label_E3CF -al 00E3C6 .Label_E3C6 -al 00E3BD .Label_E3BD -al 00E3AB .Label_E3AB -al 00E3B1 .Label_E3B1 -al 00E38F .Label_E38F -al 00E387 .Label_E387 -al 00E385 .Label_E385 -al 00E377 .Label_E377 -al 00E36B .Label_E36B -al 00E364 .Label_E364 -al 00E354 .Label_E354 -al 00E339 .Label_E339 -al 00E32A .Label_E32A -al 00E319 .Label_E319 -al 00E314 .Label_E314 -al 00E32D .Label_E32D -al 00E300 .Label_E300 -al 00E2F4 .Label_E2F4 -al 00E2D3 .Label_E2D3 -al 00E2E3 .Label_E2E3 -al 00E2C2 .Label_E2C2 -al 00E29C .Label_E29C -al 00E2AA .Label_E2AA -al 00E295 .Label_E295 -al 00E2A9 .Label_E2A9 -al 00E26B .Label_E26B -al 00E266 .Label_E266 -al 00E25E .Label_E25E -al 00E253 .Label_E253 -al 00E246 .Label_E246 -al 00E239 .Label_E239 -al 00E229 .Label_E229 -al 00E220 .Label_E220 -al 00E238 .Label_E238 -al 00E202 .Label_E202 -al 00E1F6 .Label_E1F6 -al 00E1F9 .Label_E1F9 -al 00E1D2 .Label_E1D2 -al 00E1C4 .Label_E1C4 -al 00E1B2 .Label_E1B2 -al 00E1AD .Label_E1AD -al 00E19D .Label_E19D -al 00E1A3 .Label_E1A3 -al 00E197 .Label_E197 -al 00E188 .Label_E188 -al 00E186 .Label_E186 -al 00E177 .Label_E177 -al 00E174 .Label_E174 -al 00E15E .Label_E15E -al 00E1AA .Label_E1AA -al 00E146 .Label_E146 -al 00E13A .Label_E13A -al 00E137 .Label_E137 -al 00E12B .Label_E12B -al 00E126 .Label_E126 -al 00E123 .Label_E123 -al 00E0FB .Label_E0FB -al 00E0F1 .Label_E0F1 -al 00E0E4 .Label_E0E4 -al 00E0D8 .Label_E0D8 -al 00E0B9 .Label_E0B9 -al 00E0B7 .Label_E0B7 -al 00E0AA .Label_E0AA -al 00E097 .Label_E097 -al 00E093 .Label_E093 -al 00E08C .Label_E08C -al 00E076 .Label_E076 -al 00E083 .Label_E083 -al 00E06B .Label_E06B -al 00E065 .Label_E065 -al 00E066 .Label_E066 -al 00E053 .Label_E053 -al 00E04C .Label_E04C -al 00E046 .Label_E046 -al 00E03F .Label_E03F -al 00E012 .Label_E012 -al 00E01E .Label_E01E -al 00E02F .Label_E02F -al 00DFF4 .Label_DFF4 -al 00DFDC .Label_DFDC -al 00DFD3 .Label_DFD3 -al 00DFC6 .Label_DFC6 -al 00DF9B .Label_DF9B -al 00DF8E .Label_DF8E -al 00DF70 .Label_DF70 -al 00DF80 .Label_DF80 -al 00DF39 .Label_DF39 -al 00DF33 .Label_DF33 -al 00DF1A .Label_DF1A -al 00DF09 .Label_DF09 -al 00DEFC .Label_DEFC -al 00DEE4 .Label_DEE4 -al 00DEE0 .Label_DEE0 -al 00DEF4 .Label_DEF4 -al 00DF13 .Label_DF13 -al 00DEC1 .Label_DEC1 -al 00DEB6 .Label_DEB6 -al 00DEA7 .Label_DEA7 -al 00DE9E .Label_DE9E -al 00DE9C .Label_DE9C -al 00DEB0 .Label_DEB0 -al 00DE8F .Label_DE8F -al 00DE7F .Label_DE7F -al 00DE7D .Label_DE7D -al 00DE70 .Label_DE70 -al 00DE6E .Label_DE6E -al 00DEAD .Label_DEAD -al 00DE87 .Label_DE87 -al 00DE46 .Label_DE46 -al 00DE1D .Label_DE1D -al 00DE13 .Label_DE13 -al 00DDEE .Label_DDEE -al 00DDEC .Label_DDEC -al 00DDF4 .Label_DDF4 -al 00DE37 .Label_DE37 -al 00DE3C .Label_DE3C -al 00DDD3 .Label_DDD3 -al 00DDB2 .Label_DDB2 -al 00DD92 .Label_DD92 -al 00DD90 .Label_DD90 -al 00DD86 .Label_DD86 -al 00DD7D .Label_DD7D -al 00DD67 .Label_DD67 -al 00DD71 .Label_DD71 -al 00DD3F .Label_DD3F -al 00DD9B .Label_DD9B -al 00DD29 .Label_DD29 -al 00DD26 .Label_DD26 -al 00DD1D .Label_DD1D -al 00DD14 .Label_DD14 -al 00DD0B .Label_DD0B -al 00DD01 .Label_DD01 -al 00DCF5 .Label_DCF5 -al 00DCED .Label_DCED -al 00DCE7 .Label_DCE7 -al 00DCF4 .Label_DCF4 -al 00DCCE .Label_DCCE -al 00DCB8 .Label_DCB8 -al 00DCAA .Label_DCAA -al 00DCA7 .Label_DCA7 -al 00DC93 .Label_DC93 -al 00DCC1 .Label_DCC1 -al 00DC78 .Label_DC78 -al 00DC80 .Label_DC80 -al 00DC5D .Label_DC5D -al 00DC5A .Label_DC5A -al 00DC3E .Label_DC3E -al 00DC30 .Label_DC30 -al 00DC2B .Label_DC2B -al 00DC29 .Label_DC29 -al 00DC1B .Label_DC1B -al 00DC50 .Label_DC50 -al 00DBFB .Label_DBFB -al 00DBF0 .Label_DBF0 -al 00DBE5 .Label_DBE5 -al 00DBED .Label_DBED -al 00DBDA .Label_DBDA -al 00DBDF .Label_DBDF -al 00DBC9 .Label_DBC9 -al 00DBC6 .Label_DBC6 -al 00DBBD .Label_DBBD -al 00DBA9 .Label_DBA9 -al 00DBA2 .Label_DBA2 -al 00DB9B .Label_DB9B -al 00DB94 .Label_DB94 -al 00DB8D .Label_DB8D -al 00DB86 .Label_DB86 -al 00DB7F .Label_DB7F -al 00DB78 .Label_DB78 -al 00DB68 .Label_DB68 -al 00DB56 .Label_DB56 -al 00DB3A .Label_DB3A -al 00DB38 .Label_DB38 -al 00DB33 .Label_DB33 -al 00DB57 .Label_DB57 -al 00DB40 .Label_DB40 -al 00DB12 .Label_DB12 -al 00DAFF .Label_DAFF -al 00DAFC .Label_DAFC -al 00DAEB .Label_DAEB -al 00DAC5 .Label_DAC5 -al 00DAC8 .Label_DAC8 -al 00DAFE .Label_DAFE -al 00DAAD .Label_DAAD -al 00DAA5 .Label_DAA5 -al 00DA87 .Label_DA87 -al 00DA94 .Label_DA94 -al 00DA51 .Label_DA51 -al 00DA3D .Label_DA3D -al 00DA66 .Label_DA66 -al 00DA1B .Label_DA1B -al 00DA11 .Label_DA11 -al 00DA07 .Label_DA07 -al 00D9F7 .Label_D9F7 -al 00DA00 .Label_DA00 -al 00D9DF .Label_D9DF -al 00D9CE .Label_D9CE -al 00D9AF .Label_D9AF -al 00D9C2 .Label_D9C2 -al 00D9A9 .Label_D9A9 -al 00D998 .Label_D998 -al 00D989 .Label_D989 -al 00D98E .Label_D98E -al 00D967 .Label_D967 -al 00D95F .Label_D95F -al 00D971 .Label_D971 -al 00D93E .Label_D93E -al 00D92B .Label_D92B -al 00D933 .Label_D933 -al 00D8F5 .Label_D8F5 -al 00D8FD .Label_D8FD -al 00D908 .Label_D908 -al 00D8E8 .Label_D8E8 -al 00D8E5 .Label_D8E5 -al 00D915 .Label_D915 -al 00D91E .Label_D91E -al 00D8D3 .Label_D8D3 -al 00D8C2 .Label_D8C2 -al 00D8B9 .Label_D8B9 -al 00D8B6 .Label_D8B6 -al 00D89C .Label_D89C -al 00D8B3 .Label_D8B3 -al 00D883 .Label_D883 -al 00D85D .Label_D85D -al 00D858 .Label_D858 -al 00D852 .Label_D852 -al 00D863 .Label_D863 -al 00D83F .Label_D83F -al 00D83C .Label_D83C -al 00D831 .Label_D831 -al 00D807 .Label_D807 -al 00D804 .Label_D804 -al 00D7FA .Label_D7FA -al 00D7ED .Label_D7ED -al 00D7DC .Label_D7DC -al 00D7D6 .Label_D7D6 -al 00D7E6 .Label_D7E6 -al 00D7C8 .Label_D7C8 -al 00D7B8 .Label_D7B8 -al 00D79F .Label_D79F -al 00D7A1 .Label_D7A1 -al 00D799 .Label_D799 -al 00D78E .Label_D78E -al 00D775 .Label_D775 -al 00D757 .Label_D757 -al 00D73C .Label_D73C -al 00D744 .Label_D744 -al 00D727 .Label_D727 -al 00D72E .Label_D72E -al 00D706 .Label_D706 -al 00D72F .Label_D72F -al 00D6F5 .Label_D6F5 -al 00D6F4 .Label_D6F4 -al 00D6E8 .Label_D6E8 -al 00D6DD .Label_D6DD -al 00D6D6 .Label_D6D6 -al 00D6CD .Label_D6CD -al 00D6BE .Label_D6BE -al 00D6AE .Label_D6AE -al 00D6BD .Label_D6BD -al 00D696 .Label_D696 -al 00D683 .Label_D683 -al 00D681 .Label_D681 -al 00D669 .Label_D669 -al 00D651 .Label_D651 -al 00D647 .Label_D647 -al 00D63D .Label_D63D -al 00D63A .Label_D63A -al 00D627 .Label_D627 -al 00D619 .Label_D619 -al 00D637 .Label_D637 -al 00D60D .Label_D60D -al 00D60B .Label_D60B -al 00D5F1 .Label_D5F1 -al 00D5EE .Label_D5EE -al 00D5CE .Label_D5CE -al 00D5E3 .Label_D5E3 -al 00D5BB .Label_D5BB -al 00D5A9 .Label_D5A9 -al 00D5B8 .Label_D5B8 -al 00D597 .Label_D597 -al 00D581 .Label_D581 -al 00D575 .Label_D575 -al 00D559 .Label_D559 -al 00D56B .Label_D56B -al 00D52A .Label_D52A -al 00D50C .Label_D50C -al 00D4F0 .Label_D4F0 -al 00D529 .Label_D529 -al 00D4D5 .Label_D4D5 -al 00D4CC .Label_D4CC -al 00D4B3 .Label_D4B3 -al 00D4B2 .Label_D4B2 -al 00D49F .Label_D49F -al 00D49E .Label_D49E -al 00D46B .Label_D46B -al 00D456 .Label_D456 -al 00D44F .Label_D44F -al 00D42A .Label_D42A -al 00D428 .Label_D428 -al 00D461 .Label_D461 -al 00D40E .Label_D40E -al 00D403 .Label_D403 -al 00D3F1 .Label_D3F1 -al 00D3E4 .Label_D3E4 -al 00D3BA .Label_D3BA -al 00D3B3 .Label_D3B3 -al 00D3B4 .Label_D3B4 -al 00D39F .Label_D39F -al 00D392 .Label_D392 -al 00D3E3 .Label_D3E3 -al 00D37F .Label_D37F -al 00D35C .Label_D35C -al 00D36B .Label_D36B -al 00D34F .Label_D34F -al 00D346 .Label_D346 -al 00D326 .Label_D326 -al 00D318 .Label_D318 -al 00D339 .Label_D339 -al 00D33A .Label_D33A -al 00D2E2 .Label_D2E2 -al 00D2DF .Label_D2DF -al 00D2D6 .Label_D2D6 -al 00D2D5 .Label_D2D5 -al 00D2C8 .Label_D2C8 -al 00D2C4 .Label_D2C4 -al 00D2C7 .Label_D2C7 -al 00D2A5 .Label_D2A5 -al 00D2A1 .Label_D2A1 -al 00D2A4 .Label_D2A4 -al 00D284 .Label_D284 -al 00D275 .Label_D275 -al 00D27F .Label_D27F -al 00D273 .Label_D273 -al 00D23A .Label_D23A -al 00D221 .Label_D221 -al 00D219 .Label_D219 -al 00D21E .Label_D21E -al 00D202 .Label_D202 -al 00D1FA .Label_D1FA -al 00D1FF .Label_D1FF -al 00D1DF .Label_D1DF -al 00D1DC .Label_D1DC -al 00D1AD .Label_D1AD -al 00D1A9 .Label_D1A9 -al 00D178 .Label_D178 -al 00D169 .Label_D169 -al 00D15F .Label_D15F -al 00D1AC .Label_D1AC -al 00D13F .Label_D13F -al 00D154 .Label_D154 -al 00D153 .Label_D153 -al 00D112 .Label_D112 -al 00D111 .Label_D111 -al 00D0AD .Label_D0AD -al 00D0A7 .Label_D0A7 -al 00D09D .Label_D09D -al 00D07F .Label_D07F -al 00D073 .Label_D073 -al 00D072 .Label_D072 -al 00D04B .Label_D04B -al 00D043 .Label_D043 -al 00D01F .Label_D01F -al 00D04A .Label_D04A -al 00CFFF .Label_CFFF -al 00CFFA .Label_CFFA -al 00CFF4 .Label_CFF4 -al 00CFF2 .Label_CFF2 -al 00CFF1 .Label_CFF1 -al 00CFDC .Label_CFDC -al 00CFDB .Label_CFDB -al 00CFDF .Label_CFDF -al 00CFAD .Label_CFAD -al 00CFA8 .Label_CFA8 -al 00CF9C .Label_CF9C -al 00CFB3 .Label_CFB3 -al 00CFB4 .Label_CFB4 -al 00CF7F .Label_CF7F -al 00CF83 .Label_CF83 -al 00CF82 .Label_CF82 -al 00CF4B .Label_CF4B -al 00CF45 .Label_CF45 -al 00CF43 .Label_CF43 -al 00CF3D .Label_CF3D -al 00CF31 .Label_CF31 -al 00CF20 .Label_CF20 -al 00CF1A .Label_CF1A -al 00CF0F .Label_CF0F -al 00CF0C .Label_CF0C -al 00CEFA .Label_CEFA -al 00CF06 .Label_CF06 -al 00CEDE .Label_CEDE -al 00CEDD .Label_CEDD -al 00CEB0 .Label_CEB0 -al 00CEA4 .Label_CEA4 -al 00CE77 .Label_CE77 -al 00CE70 .Label_CE70 -al 00CE65 .Label_CE65 -al 00CE59 .Label_CE59 -al 00CE55 .Label_CE55 -al 00CE4E .Label_CE4E -al 00CE38 .Label_CE38 -al 00CE2E .Label_CE2E -al 00CE0F .Label_CE0F -al 00CE1A .Label_CE1A -al 00CE0E .Label_CE0E -al 00CDF0 .Label_CDF0 -al 00CDE2 .Label_CDE2 -al 00CDB3 .Label_CDB3 -al 00CDB2 .Label_CDB2 -al 00CDA0 .Label_CDA0 -al 00CD92 .Label_CD92 -al 00CD86 .Label_CD86 -al 00CD83 .Label_CD83 -al 00CD61 .Label_CD61 -al 00CD42 .Label_CD42 -al 00CD3C .Label_CD3C -al 00CD2F .Label_CD2F -al 00CD56 .Label_CD56 -al 00CD1A .Label_CD1A -al 00CD62 .Label_CD62 -al 00CD09 .Label_CD09 -al 00CD03 .Label_CD03 -al 00CD08 .Label_CD08 -al 00CCF2 .Label_CCF2 -al 00CCDF .Label_CCDF -al 00CCC4 .Label_CCC4 -al 00CCE9 .Label_CCE9 -al 00CCE7 .Label_CCE7 -al 00CCEE .Label_CCEE -al 00CCA6 .Label_CCA6 -al 00CC9D .Label_CC9D -al 00CCA5 .Label_CCA5 -al 00CC87 .Label_CC87 -al 00CC7E .Label_CC7E -al 00CC79 .Label_CC79 -al 00CC44 .Label_CC44 -al 00CC39 .Label_CC39 -al 00CC82 .Label_CC82 -al 00CC24 .Label_CC24 -al 00CC15 .Label_CC15 -al 00CBDF .Label_CBDF -al 00CBAF .Label_CBAF -al 00CBA7 .Label_CBA7 -al 00CB9A .Label_CB9A -al 00CB98 .Label_CB98 -al 00CB78 .Label_CB78 -al 00CB6F .Label_CB6F -al 00CB6E .Label_CB6E -al 00CB87 .Label_CB87 -al 00CB4B .Label_CB4B -al 00CB21 .Label_CB21 -al 00CB18 .Label_CB18 -al 00CB17 .Label_CB17 -al 00CAFC .Label_CAFC -al 00CAED .Label_CAED -al 00CAF0 .Label_CAF0 -al 00CAEC .Label_CAEC -al 00CADA .Label_CADA -al 00CACC .Label_CACC -al 00CABB .Label_CABB -al 00CAB3 .Label_CAB3 -al 00CABC .Label_CABC -al 00CA9A .Label_CA9A -al 00CA91 .Label_CA91 -al 00CA77 .Label_CA77 -al 00CA5C .Label_CA5C -al 00CA3D .Label_CA3D -al 00CA34 .Label_CA34 -al 00CA15 .Label_CA15 -al 00CA0B .Label_CA0B -al 00C9F3 .Label_C9F3 -al 00C9F8 .Label_C9F8 -al 00C9E7 .Label_C9E7 -al 00C9C8 .Label_C9C8 -al 00C9CF .Label_C9CF -al 00C9D4 .Label_C9D4 -al 00C99E .Label_C99E -al 00C99B .Label_C99B -al 00C995 .Label_C995 -al 00C987 .Label_C987 -al 00C982 .Label_C982 -al 00C97A .Label_C97A -al 00C957 .Label_C957 -al 00C93F .Label_C93F -al 00C900 .Label_C900 -al 00C8D2 .Label_C8D2 -al 00C8D0 .Label_C8D0 -al 00C8C9 .Label_C8C9 -al 00C8BC .Label_C8BC -al 00C8BB .Label_C8BB -al 00C8AE .Label_C8AE -al 00C89E .Label_C89E -al 00C891 .Label_C891 -al 00C87D .Label_C87D -al 00C864 .Label_C864 -al 00C868 .Label_C868 -al 00C848 .Label_C848 -al 00C822 .Label_C822 -al 00C7F9 .Label_C7F9 -al 00C7ED .Label_C7ED -al 00C804 .Label_C804 -al 00C7E4 .Label_C7E4 -al 00C7D3 .Label_C7D3 -al 00C7C6 .Label_C7C6 -al 00C76D .Label_C76D -al 00C75D .Label_C75D -al 00C75A .Label_C75A -al 00C754 .Label_C754 -al 00C746 .Label_C746 -al 00C73C .Label_C73C -al 00C732 .Label_C732 -al 00C724 .Label_C724 +al 00FCCE .VectorPageData +al 00FCCD .SubCFC2D_Block_FCCD +al 00FCC7 .SubCFC2D_Block_FCC7 +al 00FCB1 .SubCFC2D_Block_FCB1 +al 00FC96 .SubCFC2D_Block_FC96 +al 00FC9F .SubCFC2D_Block_FC9F +al 00FC78 .SubCFC2D_Block_FC78 +al 00FCC1 .SubCFC2D_Block_FCC1 +al 00FCA0 .SubCFC2D_Block_FCA0 +al 00FC4C .SubCFC2D_Block_FC4C +al 00FC2D .SubCFC2D +al 00FC3C .SubCFC2D_Block_FC3C +al 00FC24 .SubCFBC7_Block_FC24 +al 00FC55 .SubCFC2D_Block_FC55 +al 00FC05 .SubCFBC7_Block_FC05 +al 00FC13 .SubCFBC7_Block_FC13 +al 00FBD3 .SubCFBC7_Block_FBD3 +al 00FBC7 .SubCFBC7 +al 00FBC6 .SubCFB5F_Block_FBC6 +al 00FBA8 .SubCFB5F_Block_FBA8 +al 00FBB8 .SubCFB5F_Block_FBB8 +al 00FB8E .SubCFB5F_Block_FB8E +al 00FB75 .SubCFB5F_Block_FB75 +al 00FB89 .SubCFB5F_Block_FB89 +al 00FB6B .SubCFB5F_Block_FB6B +al 00FB5F .SubCFB5F +al 00FB48 .SubCFAE8_Block_FB48 +al 00FB3D .SubCFAE8_Block_FB3D +al 00FB4A .SubCFAE8_Block_FB4A +al 00FB40 .SubCFAE8_Block_FB40 +al 00FB25 .SubCFAE8_Block_FB25 +al 00FB21 .SubCFAE8_Block_FB21 +al 00FB33 .SubCFAE8_Block_FB33 +al 00FB09 .SubCFAE8_Block_FB09 +al 00FB1A .SubCFAE8_Block_FB1A +al 00FAE8 .SubCFAE8 +al 00FB58 .SubCFAE8_Block_FB58 +al 00FADF .SubCFA3D_Block_FADF +al 00FADB .SubCFA3D_Block_FADB +al 00FB06 .SubCFAE8_Block_FB06 +al 00FAC2 .SubCFA3D_Block_FAC2 +al 00FAD1 .SubCFA3D_Block_FAD1 +al 00FAAF .SubCFA3D_Block_FAAF +al 00FAA5 .SubCFA3D_Block_FAA5 +al 00FA75 .SubCFA3D_Block_FA75 +al 00FA6A .SubCFA3D_Block_FA6A +al 00FA60 .SubCFA3D_Block_FA60 +al 00FA65 .SubCFA3D_Block_FA65 +al 00FA3D .SubCFA3D +al 00FA8D .SubCFA3D_Block_FA8D +al 00FA7A .SubCFA3D_Block_FA7A +al 00FA43 .SubCFA3D_Block_FA43 +al 00FA50 .SubCFA3D_Block_FA50 +al 00FA87 .SubCFA3D_Block_FA87 +al 00F9FE .SubCF9FE +al 00FA2D .SubCF9FE_Block_FA2D +al 00F9ED .SubCF995_Block_F9ED +al 00F9F9 .SubCF995_Block_F9F9 +al 00F9DF .SubCF995_Block_F9DF +al 00F9D1 .SubCF995_Block_F9D1 +al 00FA37 .SubCF9FE_Block_FA37 +al 00FA3A .SubCF9FE_Block_FA3A +al 00F9C0 .SubCF995_Block_F9C0 +al 00F9B1 .SubCF995_Block_F9B1 +al 00F9CF .SubCF995_Block_F9CF +al 00F9AA .SubCF995_Block_F9AA +al 00F9A7 .SubCF995_Block_F9A7 +al 00F99B .SubCF995_Block_F99B +al 00F995 .SubCF995 +al 00F98E .SubCF98E +al 00F98C .SubCF98C +al 00F98B .SubCF983_Block_F98B +al 00F985 .SubCF983_Block_F985 +al 00F983 .SubCF983 +al 00F970 .SubCF970 +al 00F8D9 .SubCF8A1_Block_F8D9 +al 00F8D4 .SubCF8A1_Block_F8D4 +al 00F8BE .SubCF8A1_Block_F8BE +al 00F8A1 .SubCF8A1 +al 00F8BB .SubCF8A1_Block_F8BB +al 00F89A .SubCF858_Block_F89A +al 00F8FD .SubCF8A1_Block_F8FD +al 00F891 .SubCF858_Block_F891 +al 00F889 .SubCF858_Block_F889 +al 00F88E .SubCF858_Block_F88E +al 00F895 .SubCF858_Block_F895 +al 00F876 .SubCF858_Block_F876 +al 00F863 .SubCF858_Block_F863 +al 00F858 .SubCF858 +al 00F852 .SubCF852 +al 00F84E .SubCF84E +al 00F84A .SubCF84A +al 00F849 .SubCF838_Block_F849 +al 00F83A .SubCF838_Block_F83A +al 00F838 .SubCF838 +al 00F835 .SubCF835 +al 00F833 .SubCF833 +al 00F08C .AudioData +al 00F073 .SubCF057_Block_F073 +al 00F07F .SubCF057_Block_F07F +al 00F05E .SubCF057_Block_F05E +al 00F089 .SubCF057_Block_F089 +al 00F057 .SubCF057 +al 00F084 .SubCF057_Block_F084 +al 00F033 .SubCF006_Block_F033 +al 00F059 .SubCF057_Block_F059 +al 00F080 .SubCF057_Block_F080 +al 00F02A .SubCF006_Block_F02A +al 00F006 .SubCF006 +al 00F003 .SubCEFE4_Block_F003 +al 00EFF7 .SubCEFE4_Block_EFF7 +al 00EFE4 .SubCEFE4 +al 00EFDB .SubCEFC3_Block_EFDB +al 00EFDF .SubCEFC3_Block_EFDF +al 00EFCE .SubCEFC3_Block_EFCE +al 00EFC3 .SubCEFC3 +al 00EFC2 .SubCEF3E_Block_EFC2 +al 00EFA6 .SubCEF3E_Block_EFA6 +al 00EFA0 .SubCEF3E_Block_EFA0 +al 00EF4B .SubCEF3E_Block_EF4B +al 00EF72 .SubCEF3E_Block_EF72 +al 00EF6E .SubCEF3E_Block_EF6E +al 00EF3E .SubCEF3E +al 00EF34 .SubCEF1D_Block_EF34 +al 00EF23 .SubCEF1D_Block_EF23 +al 00EF1D .SubCEF1D +al 00EF09 .SubCEF09 +al 00EEF5 .SubCEEA1_Block_EEF5 +al 00EEF2 .SubCEEA1_Block_EEF2 +al 00EEEF .SubCEEA1_Block_EEEF +al 00EEE3 .SubCEEA1_Block_EEE3 +al 00EECD .SubCEEA1_Block_EECD +al 00EECC .SubCEEA1_Block_EECC +al 00EEA3 .SubCEEA1_Block_EEA3 +al 00EEA1 .SubCEEA1 +al 00EE8D .SubCEE8D +al 00EE88 .SubCEE78_Block_EE88 +al 00EE78 .SubCEE78 +al 00EE74 .SubCEE62_Block_EE74 +al 00EE6E .SubCEE62_Block_EE6E +al 00EE62 .SubCEE62 +al 00EE61 .SubCEE53_Block_EE61 +al 00EE53 .SubCEE53 +al 00EE51 .SubCEE51 +al 00EE25 .SubCEDF9_Block_EE25 +al 00EE0E .SubCEDF9_Block_EE0E +al 00EDF9 .SubCEDF9 +al 00EDF8 .SubCED8C_Block_EDF8 +al 00EDE7 .SubCED8C_Block_EDE7 +al 00EDC8 .SubCED8C_Block_EDC8 +al 00ED8C .SubCED8C +al 00ED86 .SubCED7B_Block_ED86 +al 00ED7D .SubCED7B_Block_ED7D +al 00ED7B .SubCED7B +al 00ED74 .SubCED43_Block_ED74 +al 00ED5D .SubCED43_Block_ED5D +al 00ED43 .SubCED43 +al 00ED38 .SubCED38 +al 00ED24 .SubCED24 +al 00ED20 .SubCED07_Block_ED20 +al 00ED23 .SubCED07_Block_ED23 +al 00ED07 .SubCED07 +al 00ECFB .SubCECC7_Block_ECFB +al 00ED06 .SubCECC7_Block_ED06 +al 00ECC7 .SubCECC7 +al 00ECC2 .SubCECC2 +al 00ECAA .SubCECAA +al 00ECC6 .SubCECC2_Block_ECC6 +al 00EC8F .SubCEC8F +al 00EC86 .SubCEC86 +al 00EC7C .SubCEC7C +al 00EC71 .SubCEC71 +al 00EC8E .SubCEC86_Block_EC8E +al 00EC64 .SubCEC64 +al 00EC5C .SubCEC5C +al 00EC55 .SubCEC0E_Block_EC55 +al 00EC39 .SubCEC0E_Block_EC39 +al 00EC61 .SubCEC61 +al 00EC1C .SubCEC0E_Block_EC1C +al 00EC0E .SubCEC0E +al 00EC0B .SubCEBFB_Block_EC0B +al 00EC09 .SubCEBFB_Block_EC09 +al 00EBFB .SubCEBFB +al 00EBE6 .SubCEBDC_Block_EBE6 +al 00EBDC .SubCEBDC +al 00EBD4 .SubCEBAA_Block_EBD4 +al 00EBF8 .SubCEBDC_Block_EBF8 +al 00EBB8 .SubCEBAA_Block_EBB8 +al 00EBAA .SubCEBAA +al 00EBA1 .SubCEBA1 +al 00EBA9 .SubCEBA1_Block_EBA9 +al 00EB8F .SubCEB8F +al 00EB8E .SubCEB79_Block_EB8E +al 00EB79 .SubCEB79 +al 00EB73 .SubCEB3B_Block_EB73 +al 00EB67 .SubCEB3B_Block_EB67 +al 00EB55 .SubCEB3B_Block_EB55 +al 00EB78 .SubCEB3B_Block_EB78 +al 00EB3B .SubCEB3B +al 00EB34 .SubCEB34 +al 00EB29 .SubCEB29 +al 00EB20 .SubCEB20 +al 00EB12 .SubCEB08_Block_EB12 +al 00EB08 .SubCEB08 +al 00EAFD .SubCEAFD +al 00EB02 .SubCEAFD_Block_EB02 +al 00EAFA .SubCEADE_Block_EAFA +al 00EB05 .SubCEAFD_Block_EB05 +al 00EADE .SubCEADE +al 00EAD8 .SubCEAAA_Block_EAD8 +al 00EAD2 .SubCEAAA_Block_EAD2 +al 00EADB .SubCEADB +al 00EAC1 .SubCEAAA_Block_EAC1 +al 00EABB .SubCEAAA_Block_EABB +al 00EAAA .SubCEAAA +al 00EA9D .SubCEA9D +al 00EA9A .SubCEA92_Block_EA9A +al 00EA92 .SubCEA92 +al 00EA7F .SubCEA7F +al 00EA7C .SubCEA74_Block_EA7C +al 00EA74 .SubCEA74 +al 00EA6D .SubCEA6D +al 00EA63 .SubCEA63 +al 00EA54 .SubCEA54 +al 00EA49 .SubCEA2D_Block_EA49 +al 00EA3B .SubCEA2D_Block_EA3B +al 00EA68 .SubCEA63_Block_EA68 +al 00EA2D .SubCEA2D +al 00EA2B .SubCEA2B +al 00EA0B .SubCEA03_Block_EA0B +al 00EA05 .SubCEA03_Block_EA05 +al 00EA03 .SubCEA03 +al 00E9E3 .SubCE9DD_Block_E9E3 +al 00E9DD .SubCE9DD +al 00E9B5 .SubCE9A7_Block_E9B5 +al 00E9B0 .SubCE9A7_Block_E9B0 +al 00E9A7 .SubCE9A7 +al 00E981 .SubCE973_Block_E981 +al 00E97C .SubCE973_Block_E97C +al 00E973 .SubCE973 +al 00E95E .SubCE958_Block_E95E +al 00E958 .SubCE958 +al 00E946 .SubCE93C_Block_E946 +al 00E93C .SubCE93C +al 00E934 .SubCE934 +al 00E931 .SubCE8F0_Block_E931 +al 00E925 .SubCE8F0_Block_E925 +al 00E92B .SubCE8F0_Block_E92B +al 00E90C .SubCE8F0_Block_E90C +al 00E8F0 .SubCE8F0 +al 00E8EE .SubCE8DE_Block_E8EE +al 00E8E3 .SubCE8DE_Block_E8E3 +al 00E8DE .SubCE8DE +al 00E8D5 .SubCE8D5 +al 00E8CC .SubCE8CC +al 00E8CA .SubCE8CA +al 00E8C2 .SubCE8C2 +al 00E8B9 .SubCE8B9 +al 00E8B0 .SubCE8B0 +al 00E8AE .SubCE8AE +al 00E8A6 .SubCE8A6 +al 00E8A1 .SubCE8A1 +al 00E89F .SubCE89F +al 00E88D .SubCE88D +al 00E878 .SubCE878 +al 00E85F .SubCE85F +al 00E85A .SubCE85A +al 00E853 .SubCE853 +al 00E84B .SubCE84B +al 00E846 .SubCE812_Block_E846 +al 00E827 .SubCE812_Block_E827 +al 00E812 .SubCE812 +al 00E7F7 .SubCE7F7 +al 00E7F2 .SubCE7F2 +al 00E7E3 .SubCE7C3_Block_E7E3 +al 00E7C3 .SubCE7C3 +al 00E7B8 .SubCE7B8 +al 00E7A5 .SubCE7A5 +al 00E7A1 .SubCE7A1 +al 00E79D .SubCE79D +al 00E79C .SubCE783_Block_E79C +al 00E783 .SubCE783 +al 00E781 .SubCE781 +al 00E76B .SubCE76B +al 00E75B .SubCE747_Block_E75B +al 00E751 .SubCE747_Block_E751 +al 00E747 .SubCE747 +al 00E729 .SubCE729 +al 00E728 .SubCE728 +al 00E725 .SubCE6EC_Block_E725 +al 00E714 .SubCE6EC_Block_E714 +al 00E6FD .SubCE6EC_Block_E6FD +al 00E703 .SubCE6EC_Block_E703 +al 00E6F8 .SubCE6EC_Block_E6F8 +al 00E6EC .SubCE6EC +al 00E6B6 .SubCE69A_Block_E6B6 +al 00E6AF .SubCE69A_Block_E6AF +al 00E6EB .SubCE69A_Block_E6EB +al 00E69A .SubCE69A +al 00E68F .SubCE68F +al 00E67D .SubCE673_Block_E67D +al 00E673 .SubCE673 +al 00E670 .SubCE5FD_Block_E670 +al 00E699 .SubCE68F_Block_E699 +al 00E688 .SubCE673_Block_E688 +al 00E67E .SubCE673_Block_E67E +al 00E643 .SubCE5FD_Block_E643 +al 00E637 .SubCE5FD_Block_E637 +al 00E616 .SubCE5FD_Block_E616 +al 00E5FD .SubCE5FD +al 00E5FC .SubCE5EC_Block_E5FC +al 00E5EC .SubCE5EC +al 00E5EA .SubCE5EA +al 00E5E4 .SubCE567_Block_E5E4 +al 00E5D6 .SubCE567_Block_E5D6 +al 00E5BA .SubCE567_Block_E5BA +al 00E5E8 .SubCE567_Block_E5E8 +al 00E5C2 .SubCE567_Block_E5C2 +al 00E598 .SubCE567_Block_E598 +al 00E567 .SubCE567 +al 00E575 .SubCE567_Block_E575 +al 00E559 .SubCE546_Block_E559 +al 00E552 .SubCE546_Block_E552 +al 00E546 .SubCE546 +al 00E540 .SubCE540 +al 00E52C .SubCE52C +al 00E525 .SubCE4FA_Block_E525 +al 00E52A .SubCE4FA_Block_E52A +al 00E53F .SubCE52C_Block_E53F +al 00E518 .SubCE4FA_Block_E518 +al 00E506 .SubCE4FA_Block_E506 +al 00E4FA .SubCE4FA +al 00E4F5 .SubCE4DA_Block_E4F5 +al 00E4F9 .SubCE4DA_Block_E4F9 +al 00E4DA .SubCE4DA +al 00E4D4 .SubCE4BA_Block_E4D4 +al 00E4CE .SubCE4BA_Block_E4CE +al 00E4D7 .SubCE4BA_Block_E4D7 +al 00E4BA .SubCE4BA +al 00E4B9 .SubCE48E_Block_E4B9 +al 00E4A9 .SubCE48E_Block_E4A9 +al 00E48E .SubCE48E +al 00E452 .SubCE416_Block_E452 +al 00E43C .SubCE416_Block_E43C +al 00E423 .SubCE416_Block_E423 +al 00E444 .SubCE416_Block_E444 +al 00E416 .SubCE416 +al 00E40C .SubCE40C +al 00E40A .SubCE3FA_Block_E40A +al 00E3FA .SubCE3FA +al 00E3DE .SubCE3DE +al 00E3CF .SubCE3B1_Block_E3CF +al 00E3C6 .SubCE3B1_Block_E3C6 +al 00E3BD .SubCE3B1_Block_E3BD +al 00E3AB .SubCE38F_Block_E3AB +al 00E3B1 .SubCE3B1 +al 00E38F .SubCE38F +al 00E387 .SubCE387 +al 00E385 .SubCE36B_Block_E385 +al 00E377 .SubCE36B_Block_E377 +al 00E36B .SubCE36B +al 00E364 .SubCE354_Block_E364 +al 00E354 .SubCE354 +al 00E339 .SubCE319_Block_E339 +al 00E32A .SubCE319_Block_E32A +al 00E319 .SubCE319 +al 00E314 .SubCE2F4_Block_E314 +al 00E32D .SubCE319_Block_E32D +al 00E300 .SubCE2F4_Block_E300 +al 00E2F4 .SubCE2F4 +al 00E2D3 .SubCE29C_Block_E2D3 +al 00E2E3 .SubCE29C_Block_E2E3 +al 00E2C2 .SubCE29C_Block_E2C2 +al 00E29C .SubCE29C +al 00E2AA .SubCE29C_Block_E2AA +al 00E295 .SubCE26B_Block_E295 +al 00E2A9 .SubCE29C_Block_E2A9 +al 00E26B .SubCE26B +al 00E266 .SubCE266 +al 00E25E .SubCE25E +al 00E253 .SubCE253 +al 00E246 .SubCE246 +al 00E239 .SubCE239 +al 00E229 .SubCE229 +al 00E220 .SubCE202_Block_E220 +al 00E238 .SubCE229_Block_E238 +al 00E202 .SubCE202 +al 00E1F6 .SubCE1AD_Block_E1F6 +al 00E1F9 .SubCE1F9 +al 00E1D2 .SubCE1AD_Block_E1D2 +al 00E1C4 .SubCE1AD_Block_E1C4 +al 00E1B2 .SubCE1AD_Block_E1B2 +al 00E1AD .SubCE1AD +al 00E19D .SubCE19D +al 00E1A3 .SubCE1A3 +al 00E197 .SubCE188_Block_E197 +al 00E188 .SubCE188 +al 00E186 .SubCE177_Block_E186 +al 00E177 .SubCE177 +al 00E174 .SubCE146_Block_E174 +al 00E15E .SubCE146_Block_E15E +al 00E1AA .SubCE1A3_Block_E1AA +al 00E146 .SubCE146 +al 00E13A .SubCE13A +al 00E137 .SubCE12B_Block_E137 +al 00E12B .SubCE12B +al 00E126 .SubCE126 +al 00E123 .SubCE0FB_Block_E123 +al 00E0FB .SubCE0FB +al 00E0F1 .SubCE0B9_Block_E0F1 +al 00E0E4 .SubCE0B9_Block_E0E4 +al 00E0D8 .SubCE0B9_Block_E0D8 +al 00E0B9 .SubCE0B9 +al 00E0B7 .SubCE04C_Block_E0B7 +al 00E0AA .SubCE04C_Block_E0AA +al 00E097 .SubCE04C_Block_E097 +al 00E093 .SubCE04C_Block_E093 +al 00E08C .SubCE04C_Block_E08C +al 00E076 .SubCE04C_Block_E076 +al 00E083 .SubCE04C_Block_E083 +al 00E06B .SubCE04C_Block_E06B +al 00E065 .SubCE04C_Block_E065 +al 00E066 .SubCE04C_Block_E066 +al 00E053 .SubCE04C_Block_E053 +al 00E04C .SubCE04C +al 00E046 .SubCE046 +al 00E03F .SubCDFDC_Block_E03F +al 00E012 .SubCDFDC_Block_E012 +al 00E01E .SubCDFDC_Block_E01E +al 00E02F .SubCDFDC_Block_E02F +al 00DFF4 .SubCDFDC_Block_DFF4 +al 00DFDC .SubCDFDC +al 00DFD3 .SubCDF9B_Block_DFD3 +al 00DFC6 .SubCDF9B_Block_DFC6 +al 00DF9B .SubCDF9B +al 00DF8E .SubCDF8E +al 00DF70 .SubCDF39_Block_DF70 +al 00DF80 .SubCDF39_Block_DF80 +al 00DF39 .SubCDF39 +al 00DF33 .SubCDF1A_Block_DF33 +al 00DF1A .SubCDF1A +al 00DF09 .SubCDEFC_Block_DF09 +al 00DEFC .SubCDEFC +al 00DEE4 .SubCDEE4 +al 00DEE0 .SubCDEB6_Block_DEE0 +al 00DEF4 .SubCDEE4_Block_DEF4 +al 00DF13 .SubCDEFC_Block_DF13 +al 00DEC1 .SubCDEB6_Block_DEC1 +al 00DEB6 .SubCDEB6 +al 00DEA7 .SubCDEA7 +al 00DE9E .SubCDE9E +al 00DE9C .SubCDE7F_Block_DE9C +al 00DEB0 .SubCDEA7_Block_DEB0 +al 00DE8F .SubCDE7F_Block_DE8F +al 00DE7F .SubCDE7F +al 00DE7D .SubCDE70_Block_DE7D +al 00DE70 .SubCDE70 +al 00DE6E .SubCDE46_Block_DE6E +al 00DEAD .SubCDEA7_Block_DEAD +al 00DE87 .SubCDE7F_Block_DE87 +al 00DE46 .SubCDE46 +al 00DE1D .SubCDE1D +al 00DE13 .SubCDDEE_Block_DE13 +al 00DDEE .SubCDDEE +al 00DDEC .SubCDDD3_Block_DDEC +al 00DDF4 .SubCDDEE_Block_DDF4 +al 00DE37 .SubCDE1D_Block_DE37 +al 00DE3C .SubCDE1D_Block_DE3C +al 00DDD3 .SubCDDD3 +al 00DDB2 .SubCDDB2 +al 00DD92 .SubCDD92 +al 00DD90 .SubCDD29_Block_DD90 +al 00DD86 .SubCDD29_Block_DD86 +al 00DD7D .SubCDD29_Block_DD7D +al 00DD67 .SubCDD29_Block_DD67 +al 00DD71 .SubCDD29_Block_DD71 +al 00DD3F .SubCDD29_Block_DD3F +al 00DD9B .SubCDD92_Block_DD9B +al 00DD29 .SubCDD29 +al 00DD26 .SubCDD1D_Block_DD26 +al 00DD1D .SubCDD1D +al 00DD14 .SubCDD14 +al 00DD0B .SubCDD0B +al 00DD01 .SubCDCF5_Block_DD01 +al 00DCF5 .SubCDCF5 +al 00DCED .SubCDCED +al 00DCE7 .SubCDCB8_Block_DCE7 +al 00DCF4 .SubCDCED_Block_DCF4 +al 00DCCE .SubCDCB8_Block_DCCE +al 00DCB8 .SubCDCB8 +al 00DCAA .SubCDCAA +al 00DCA7 .SubCDC80_Block_DCA7 +al 00DC93 .SubCDC80_Block_DC93 +al 00DCC1 .SubCDCB8_Block_DCC1 +al 00DC78 .SubCDC5D_Block_DC78 +al 00DC80 .SubCDC80 +al 00DC5D .SubCDC5D +al 00DC5A .SubCDC30_Block_DC5A +al 00DC3E .SubCDC30_Block_DC3E +al 00DC30 .SubCDC30 +al 00DC2B .SubCDBF0_Block_DC2B +al 00DC29 .SubCDBF0_Block_DC29 +al 00DC1B .SubCDBF0_Block_DC1B +al 00DC50 .SubCDC30_Block_DC50 +al 00DBFB .SubCDBF0_Block_DBFB +al 00DBF0 .SubCDBF0 +al 00DBE5 .SubCDBE5 +al 00DBED .SubCDBE5_Block_DBED +al 00DBDA .SubCDBC9_Block_DBDA +al 00DBDF .SubCDBC9_Block_DBDF +al 00DBC9 .SubCDBC9 +al 00DBC6 .SubCDB68_Block_DBC6 +al 00DBBD .SubCDB68_Block_DBBD +al 00DBA9 .SubCDB68_Block_DBA9 +al 00DBA2 .SubCDB68_Block_DBA2 +al 00DB9B .SubCDB68_Block_DB9B +al 00DB94 .SubCDB68_Block_DB94 +al 00DB8D .SubCDB68_Block_DB8D +al 00DB86 .SubCDB68_Block_DB86 +al 00DB7F .SubCDB68_Block_DB7F +al 00DB78 .SubCDB68_Block_DB78 +al 00DB68 .SubCDB68 +al 00DB56 .SubCDB3A_Block_DB56 +al 00DB3A .SubCDB3A +al 00DB38 .SubCDB12_Block_DB38 +al 00DB33 .SubCDB12_Block_DB33 +al 00DB57 .SubCDB3A_Block_DB57 +al 00DB40 .SubCDB3A_Block_DB40 +al 00DB12 .SubCDB12 +al 00DAFF .SubCDAFF +al 00DAFC .SubCDAAD_Block_DAFC +al 00DAEB .SubCDAAD_Block_DAEB +al 00DAC5 .SubCDAAD_Block_DAC5 +al 00DAC8 .SubCDAAD_Block_DAC8 +al 00DAFE .SubCDAAD_Block_DAFE +al 00DAAD .SubCDAAD +al 00DAA5 .SubCDAA5 +al 00DA87 .SubCDA87 +al 00DA94 .SubCDA87_Block_DA94 +al 00DA51 .SubCDA07_Block_DA51 +al 00DA3D .SubCDA07_Block_DA3D +al 00DA66 .SubCDA07_Block_DA66 +al 00DA1B .SubCDA07_Block_DA1B +al 00DA11 .SubCDA07_Block_DA11 +al 00DA07 .SubCDA07 +al 00D9F7 .SubCD9DF_Block_D9F7 +al 00DA00 .SubCD9DF_Block_DA00 +al 00D9DF .SubCD9DF +al 00D9CE .SubCD9CE +al 00D9AF .SubCD9AF +al 00D9C2 .SubCD9AF_Block_D9C2 +al 00D9A9 .SubCD998_Block_D9A9 +al 00D998 .SubCD998 +al 00D989 .SubCD967_Block_D989 +al 00D98E .SubCD967_Block_D98E +al 00D967 .SubCD967 +al 00D95F .SubCD93E_Block_D95F +al 00D971 .SubCD967_Block_D971 +al 00D93E .SubCD93E +al 00D92B .SubCD92B +al 00D933 .SubCD92B_Block_D933 +al 00D8F5 .SubCD8F5 +al 00D8FD .SubCD8F5_Block_D8FD +al 00D908 .SubCD8F5_Block_D908 +al 00D8E8 .SubCD8E8 +al 00D8E5 .SubCD8C2_Block_D8E5 +al 00D915 .SubCD8F5_Block_D915 +al 00D91E .SubCD8F5_Block_D91E +al 00D8D3 .SubCD8C2_Block_D8D3 +al 00D8C2 .SubCD8C2 +al 00D8B9 .SubCD8B9 +al 00D8B6 .SubCD858_Block_D8B6 +al 00D89C .SubCD858_Block_D89C +al 00D8B3 .SubCD858_Block_D8B3 +al 00D883 .SubCD858_Block_D883 +al 00D85D .SubCD858_Block_D85D +al 00D858 .SubCD858 +al 00D852 .SubCD83F_Block_D852 +al 00D863 .SubCD858_Block_D863 +al 00D83F .SubCD83F +al 00D83C .SubCD807_Block_D83C +al 00D831 .SubCD807_Block_D831 +al 00D807 .SubCD807 +al 00D804 .SubCD7FA_Block_D804 +al 00D7FA .SubCD7FA +al 00D7ED .SubCD7ED +al 00D7DC .SubCD7B8_Block_D7DC +al 00D7D6 .SubCD7B8_Block_D7D6 +al 00D7E6 .SubCD7B8_Block_D7E6 +al 00D7C8 .SubCD7B8_Block_D7C8 +al 00D7B8 .SubCD7B8 +al 00D79F .SubCD79F +al 00D7A1 .SubCD79F_Block_D7A1 +al 00D799 .SubCD757_Block_D799 +al 00D78E .SubCD757_Block_D78E +al 00D775 .SubCD757_Block_D775 +al 00D757 .SubCD757 +al 00D73C .SubCD73C +al 00D744 .SubCD73C_Block_D744 +al 00D727 .SubCD6F5_Block_D727 +al 00D72E .SubCD6F5_Block_D72E +al 00D706 .SubCD6F5_Block_D706 +al 00D72F .SubCD6F5_Block_D72F +al 00D6F5 .SubCD6F5 +al 00D6F4 .SubCD696_Block_D6F4 +al 00D6E8 .SubCD696_Block_D6E8 +al 00D6DD .SubCD696_Block_D6DD +al 00D6D6 .SubCD696_Block_D6D6 +al 00D6CD .SubCD696_Block_D6CD +al 00D6BE .SubCD696_Block_D6BE +al 00D6AE .SubCD696_Block_D6AE +al 00D6BD .SubCD696_Block_D6BD +al 00D696 .SubCD696 +al 00D683 .SubCD647_Block_D683 +al 00D681 .SubCD647_Block_D681 +al 00D669 .SubCD647_Block_D669 +al 00D651 .SubCD647_Block_D651 +al 00D647 .SubCD647 +al 00D63D .SubCD63A_Block_D63D +al 00D63A .SubCD63A +al 00D627 .SubCD60D_Block_D627 +al 00D619 .SubCD60D_Block_D619 +al 00D637 .SubCD60D_Block_D637 +al 00D60D .SubCD60D +al 00D60B .SubCD60B +al 00D5F1 .SubCD5EE_Block_D5F1 +al 00D5EE .SubCD5EE +al 00D5CE .SubCD5BB_Block_D5CE +al 00D5E3 .SubCD5BB_Block_D5E3 +al 00D5BB .SubCD5BB +al 00D5A9 .SubCD597_Block_D5A9 +al 00D5B8 .SubCD597_Block_D5B8 +al 00D597 .SubCD597 +al 00D581 .SubCD575_Block_D581 +al 00D575 .SubCD575 +al 00D559 .SubCD52A_Block_D559 +al 00D56B .SubCD52A_Block_D56B +al 00D52A .SubCD52A +al 00D50C .SubCD4D5_Block_D50C +al 00D4F0 .SubCD4D5_Block_D4F0 +al 00D529 .SubCD4D5_Block_D529 +al 00D4D5 .SubCD4D5 +al 00D4CC .SubCD4CC +al 00D4B3 .SubCD4B3 +al 00D4B2 .SubCD49F_Block_D4B2 +al 00D49F .SubCD49F +al 00D49E .SubCD46B_Block_D49E +al 00D46B .SubCD46B +al 00D456 .SubCD42A_Block_D456 +al 00D44F .SubCD42A_Block_D44F +al 00D42A .SubCD42A +al 00D428 .SubCD3F1_Block_D428 +al 00D461 .SubCD42A_Block_D461 +al 00D40E .SubCD3F1_Block_D40E +al 00D403 .SubCD3F1_Block_D403 +al 00D3F1 .SubCD3F1 +al 00D3E4 .SubCD3E4 +al 00D3BA .SubCD35C_Block_D3BA +al 00D3B3 .SubCD35C_Block_D3B3 +al 00D3B4 .SubCD35C_Block_D3B4 +al 00D39F .SubCD35C_Block_D39F +al 00D392 .SubCD35C_Block_D392 +al 00D3E3 .SubCD35C_Block_D3E3 +al 00D37F .SubCD35C_Block_D37F +al 00D35C .SubCD35C +al 00D36B .SubCD35C_Block_D36B +al 00D34F .SubCD346_Block_D34F +al 00D346 .SubCD346 +al 00D326 .SubCD318_Block_D326 +al 00D318 .SubCD318 +al 00D339 .SubCD318_Block_D339 +al 00D33A .SubCD318_Block_D33A +al 00D2E2 .SubCD2E2 +al 00D2DF .SubCD2D6_Block_D2DF +al 00D2D6 .SubCD2D6 +al 00D2D5 .SubCD2C8_Block_D2D5 +al 00D2C8 .SubCD2C8 +al 00D2C4 .SubCD2A5_Block_D2C4 +al 00D2C7 .SubCD2A5_Block_D2C7 +al 00D2A5 .SubCD2A5 +al 00D2A1 .SubCD284_Block_D2A1 +al 00D2A4 .SubCD284_Block_D2A4 +al 00D284 .SubCD284 +al 00D275 .SubCD275 +al 00D27F .SubCD275_Block_D27F +al 00D273 .SubCD23A_Block_D273 +al 00D23A .SubCD23A +al 00D221 .SubCD221 +al 00D219 .SubCD202_Block_D219 +al 00D21E .SubCD202_Block_D21E +al 00D202 .SubCD202 +al 00D1FA .SubCD1DF_Block_D1FA +al 00D1FF .SubCD1DF_Block_D1FF +al 00D1DF .SubCD1DF +al 00D1DC .SubCD1AD_Block_D1DC +al 00D1AD .SubCD1AD +al 00D1A9 .SubCD112_Block_D1A9 +al 00D178 .SubCD112_Block_D178 +al 00D169 .SubCD112_Block_D169 +al 00D15F .SubCD112_Block_D15F +al 00D1AC .SubCD112_Block_D1AC +al 00D13F .SubCD112_Block_D13F +al 00D154 .SubCD112_Block_D154 +al 00D153 .SubCD112_Block_D153 +al 00D112 .SubCD112 +al 00D111 .SubCD0AD_Block_D111 +al 00D0AD .SubCD0AD +al 00D0A7 .SubCD07F_Block_D0A7 +al 00D09D .SubCD07F_Block_D09D +al 00D07F .SubCD07F +al 00D073 .SubCD073 +al 00D072 .SubCD04B_Block_D072 +al 00D04B .SubCD04B +al 00D043 .SubCCFFA_Block_D043 +al 00D01F .SubCCFFA_Block_D01F +al 00D04A .SubCCFFA_Block_D04A +al 00CFFF .SubCCFFA_Block_CFFF +al 00CFFA .SubCCFFA +al 00CFF4 .SubCCFF4 +al 00CFF2 .SubCCFF2 +al 00CFF1 .SubCCFAD_Block_CFF1 +al 00CFDC .SubCCFAD_Block_CFDC +al 00CFDB .SubCCFAD_Block_CFDB +al 00CFDF .SubCCFAD_Block_CFDF +al 00CFAD .SubCCFAD +al 00CFA8 .SubCCF4B_Block_CFA8 +al 00CF9C .SubCCF4B_Block_CF9C +al 00CFB3 .SubCCFAD_Block_CFB3 +al 00CFB4 .SubCCFAD_Block_CFB4 +al 00CF7F .SubCCF4B_Block_CF7F +al 00CF83 .SubCCF4B_Block_CF83 +al 00CF82 .SubCCF4B_Block_CF82 +al 00CF4B .SubCCF4B +al 00CF45 .SubCCF45 +al 00CF43 .SubCCF43 +al 00CF3D .SubCCF3D +al 00CF31 .SubCCF20_Block_CF31 +al 00CF20 .SubCCF20 +al 00CF1A .SubCCF0F_Block_CF1A +al 00CF0F .SubCCF0F +al 00CF0C .SubCCF0C +al 00CEFA .SubCCEDE_Block_CEFA +al 00CF06 .SubCCEDE_Block_CF06 +al 00CEDE .SubCCEDE +al 00CEDD .SubCCEB0_Block_CEDD +al 00CEB0 .SubCCEB0 +al 00CEA4 .SubCCE70_Block_CEA4 +al 00CE77 .SubCCE70_Block_CE77 +al 00CE70 .SubCCE70 +al 00CE65 .SubCCE55_Block_CE65 +al 00CE59 .SubCCE55_Block_CE59 +al 00CE55 .SubCCE55 +al 00CE4E .SubCCE4E +al 00CE38 .SubCCDF0_Block_CE38 +al 00CE2E .SubCCDF0_Block_CE2E +al 00CE0F .SubCCDF0_Block_CE0F +al 00CE1A .SubCCDF0_Block_CE1A +al 00CE0E .SubCCDF0_Block_CE0E +al 00CDF0 .SubCCDF0 +al 00CDE2 .SubCCDB3_Block_CDE2 +al 00CDB3 .SubCCDB3 +al 00CDB2 .SubCCD92_Block_CDB2 +al 00CDA0 .SubCCD92_Block_CDA0 +al 00CD92 .SubCCD92 +al 00CD86 .SubCCD2F_Block_CD86 +al 00CD83 .SubCCD2F_Block_CD83 +al 00CD61 .SubCCD2F_Block_CD61 +al 00CD42 .SubCCD2F_Block_CD42 +al 00CD3C .SubCCD2F_Block_CD3C +al 00CD2F .SubCCD2F +al 00CD56 .SubCCD2F_Block_CD56 +al 00CD1A .SubCCD09_Block_CD1A +al 00CD62 .SubCCD2F_Block_CD62 +al 00CD09 .SubCCD09 +al 00CD03 .SubCCD03 +al 00CD08 .SubCCD03_Block_CD08 +al 00CCF2 .SubCCCA6_Block_CCF2 +al 00CCDF .SubCCCA6_Block_CCDF +al 00CCC4 .SubCCCA6_Block_CCC4 +al 00CCE9 .SubCCCA6_Block_CCE9 +al 00CCE7 .SubCCCA6_Block_CCE7 +al 00CCEE .SubCCCA6_Block_CCEE +al 00CCA6 .SubCCCA6 +al 00CC9D .SubCCC87_Block_CC9D +al 00CCA5 .SubCCC87_Block_CCA5 +al 00CC87 .SubCCC87 +al 00CC7E .SubCCC7E +al 00CC79 .SubCCC24_Block_CC79 +al 00CC44 .SubCCC24_Block_CC44 +al 00CC39 .SubCCC24_Block_CC39 +al 00CC82 .SubCCC82 +al 00CC24 .SubCCC24 +al 00CC15 .SubCCB9A_Block_CC15 +al 00CBDF .SubCCB9A_Block_CBDF +al 00CBAF .SubCCB9A_Block_CBAF +al 00CBA7 .SubCCB9A_Block_CBA7 +al 00CB9A .SubCCB9A +al 00CB98 .SubCCB98 +al 00CB78 .SubCCB18_Block_CB78 +al 00CB6F .SubCCB18_Block_CB6F +al 00CB6E .SubCCB18_Block_CB6E +al 00CB87 .SubCCB18_Block_CB87 +al 00CB4B .SubCCB18_Block_CB4B +al 00CB21 .SubCCB18_Block_CB21 +al 00CB18 .SubCCB18 +al 00CB17 .SubCCADA_Block_CB17 +al 00CAFC .SubCCADA_Block_CAFC +al 00CAED .SubCCADA_Block_CAED +al 00CAF0 .SubCCADA_Block_CAF0 +al 00CAEC .SubCCADA_Block_CAEC +al 00CADA .SubCCADA +al 00CACC .SubCCA91_Block_CACC +al 00CABB .SubCCA91_Block_CABB +al 00CAB3 .SubCCA91_Block_CAB3 +al 00CABC .SubCCA91_Block_CABC +al 00CA9A .SubCCA91_Block_CA9A +al 00CA91 .SubCCA91 +al 00CA77 .SubCCA77 +al 00CA5C .SubCCA5C +al 00CA3D .SubCCA3D +al 00CA34 .SubCCA34 +al 00CA15 .SubCCA15 +al 00CA0B .SubCCA0B +al 00C9F3 .SubCC9F3 +al 00C9F8 .SubCC9F3_Block_C9F8 +al 00C9E7 .SubCC99E_Block_C9E7 +al 00C9C8 .SubCC99E_Block_C9C8 +al 00C9CF .SubCC99E_Block_C9CF +al 00C9D4 .SubCC99E_Block_C9D4 +al 00C99E .SubCC99E +al 00C99B .SubCC987_Block_C99B +al 00C995 .SubCC987_Block_C995 +al 00C987 .SubCC987 +al 00C982 .SubCC957_Block_C982 +al 00C97A .SubCC957_Block_C97A +al 00C957 .SubCC957 +al 00C93F .SubCC89E_Block_C93F +al 00C900 .SubCC89E_Block_C900 +al 00C8D2 .SubCC89E_Block_C8D2 +al 00C8D0 .SubCC89E_Block_C8D0 +al 00C8C9 .SubCC89E_Block_C8C9 +al 00C8BC .SubCC89E_Block_C8BC +al 00C8BB .SubCC89E_Block_C8BB +al 00C8AE .SubCC89E_Block_C8AE +al 00C89E .SubCC89E +al 00C891 .SubCC891 +al 00C87D .SubCC87D +al 00C864 .SubCC822_Block_C864 +al 00C868 .SubCC822_Block_C868 +al 00C848 .SubCC822_Block_C848 +al 00C822 .SubCC822 +al 00C7F9 .SubCC76D_Block_C7F9 +al 00C7ED .SubCC76D_Block_C7ED +al 00C804 .SubCC804 +al 00C7E4 .SubCC76D_Block_C7E4 +al 00C7D3 .SubCC76D_Block_C7D3 +al 00C7C6 .SubCC76D_Block_C7C6 +al 00C76D .SubCC76D +al 00C75D .SubCC75D +al 00C75A .SubCC6FC_Block_C75A +al 00C754 .SubCC6FC_Block_C754 +al 00C746 .SubCC6FC_Block_C746 +al 00C73C .SubCC6FC_Block_C73C +al 00C732 .SubCC6FC_Block_C732 +al 00C724 .SubCC6FC_Block_C724 al 00C701 .NmiHandler -al 00C6FC .Label_C6FC -al 00C6F5 .Label_C6F5 -al 00C6F1 .Label_C6F1 -al 00C6EB .Label_C6EB -al 00C6D7 .Label_C6D7 -al 00C6D1 .Label_C6D1 -al 00C6C9 .Label_C6C9 -al 00C6A4 .Label_C6A4 -al 00C69C .Label_C69C -al 00C686 .Label_C686 -al 00C680 .Label_C680 -al 00C663 .Label_C663 -al 00C653 .Label_C653 +al 00C6FC .SubCC6FC +al 00C6F5 .SubCC6F1_Block_C6F5 +al 00C6F1 .SubCC6F1 +al 00C6EB .SubCC6EB +al 00C6D7 .SubCC6D7 +al 00C6D1 .SubCC6D1 +al 00C6C9 .SubCC6C9 +al 00C6A4 .SubCC686_Block_C6A4 +al 00C69C .SubCC686_Block_C69C +al 00C686 .SubCC686 +al 00C680 .SubCC680 +al 00C663 .SubCC663 +al 00C653 .SubCC653 al 00C649 .Reset +al 00C000 .LevelData diff --git a/_wip/Pyramid (U)/copilot/reconstructed.lbl b/_wip/Pyramid (U)/copilot/reconstructed.lbl index 58e608c..b5a1874 100644 --- a/_wip/Pyramid (U)/copilot/reconstructed.lbl +++ b/_wip/Pyramid (U)/copilot/reconstructed.lbl @@ -99,6 +99,7 @@ al 00DF29 .Label_DF29 al 00DF14 .Label_DF14 al 00DEFF .Label_DEFF al 00DF0E .Label_DF0E +al 00DECB .Label_DECB al 00DEBB .Label_DEBB al 00DEA9 .Label_DEA9 al 00DE9A .Label_DE9A @@ -122,6 +123,7 @@ al 00D720 .Label_D720 al 00D6C9 .Label_D6C9 al 00D6BB .Label_D6BB al 00D6B2 .Label_D6B2 +al 00D6AC .Label_D6AC al 00D69C .Label_D69C al 00D679 .Label_D679 al 00D66D .Label_D66D @@ -152,7 +154,6 @@ al 00D476 .Label_D476 al 00D467 .Label_D467 al 00D45E .Label_D45E al 00D45A .Label_D45A -al 00D6AC .Label_D6AC al 00D43E .Label_D43E al 00D42E .Label_D42E al 00D424 .Label_D424 @@ -185,6 +186,7 @@ al 00D1D7 .Label_D1D7 al 00D1BB .Label_D1BB al 00D1B2 .Label_D1B2 al 00D1AA .Label_D1AA +al 00D193 .Label_D193 al 00D190 .Label_D190 al 00D185 .Label_D185 al 00D16A .Label_D16A @@ -239,7 +241,6 @@ al 00CEEB .Label_CEEB al 00CEE0 .Label_CEE0 al 00CED6 .Label_CED6 al 00CED3 .Label_CED3 -al 00D193 .Label_D193 al 00CEA8 .Label_CEA8 al 00CEA0 .Label_CEA0 al 00CE96 .Label_CE96 @@ -296,7 +297,6 @@ al 00CBAD .Label_CBAD al 00CB99 .Label_CB99 al 00CB82 .Label_CB82 al 00CB6C .Label_CB6C -al 00D4C1 .Label_D028 al 00CB68 .Label_CB68 al 00CAF3 .Label_CAF3 al 00CAAA .Label_CAAA @@ -307,7 +307,6 @@ al 00CA68 .Label_CA68 al 00CA32 .Label_CA32 al 00CA61 .Label_CA61 al 00CA1D .Label_CA1D -al 00DECB .Label_DECB al 00C9A7 .Label_C9A7 al 00C95A .Label_C95A al 00C934 .Label_C934 diff --git a/_wip/Pyramid (U)/copilot/reconstructed_prg.bin b/_wip/Pyramid (U)/copilot/reconstructed_prg.bin index ec5637562b331be63b6b3bb4199bf0de485c590d..3f75c8b4857aef62b3465956a5a7415d7dc166da 100644 GIT binary patch delta 33 jcmZo@U~Fh$+>p%8q;X+$D)%-P5G^ZU0j9%6R%!zPz7z`j delta 33 jcmZo@U~Fh$+>p%8bnwdNRPJpoAX-+y0!)XCtkebo*`W;4 diff --git a/_wip/Raid on Bungeling Bay (U) [a2]/OVERVIEW.md b/_wip/Raid on Bungeling Bay (U) [a2]/OVERVIEW.md index 91434dd..5495ad7 100644 --- a/_wip/Raid on Bungeling Bay (U) [a2]/OVERVIEW.md +++ b/_wip/Raid on Bungeling Bay (U) [a2]/OVERVIEW.md @@ -1,59 +1,93 @@ -# Raid on Bungeling Bay (U) [a2] — Pass 1 Disassembly +# Raid on Bungeling Bay (U) [a2] — Game Flow from Power-On -ROM: `_wip/Raid on Bungeling Bay (U) [a2]/Raid on Bungeling Bay (U) [a2].nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 64.3% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 14,325 lines with 863 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Raid on Bungeling Bay (U) [a2] PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. -**Revision note:** these are two different PRG images of the same title; `Raid on Bungeling Bay (U)` and this `[a2]` dump differ in PRG content *and* mirroring flag (H vs V). +**Revision note:** These are two different PRG images of the same title; `Raid on Bungeling Bay (U)` and this `[a2]` dump differ in PRG content *and* mirroring flag (H vs V). +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C000 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Horizontal | -| Battery-backed flag | clear | -| ROM SHA-256 | `fe7d426c04627e0e233b0fcec1163d932ff161e20f5d1acbebaa5e9748bf5e17` | -| PRG SHA-256 | `d30a3ea8a3ed0c4a90ab01f784780cf8ac0f0c769aa7f02d8202515b6e80cb53` | +**Identical to base version** — The RESET vector points to $C000, which contains a single `jmp $C6E3`. The actual reset routine begins at **$C6E3** and is byte-for-byte identical to the base version. -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +See `Raid on Bungeling Bay (U)/OVERVIEW.md` for the complete reset flow table. -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C04C` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$C2C0` | target $C2C0 — verify during Pass 1 | +--- -## `copilot/` Contents +## 2. Main Loop -| File | Purpose | -|------|---------| -| `Raid on Bungeling Bay (U) [a2].nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 14,325 lines, 863 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +Identical to base version — main loop runs continuously, synchronized with NMI via ZpC4 flag. -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +--- -## Build +## 3. Interrupt Vectors — CPU $FFFA–$FFFF -```bash -cd "_wip/Raid on Bungeling Bay (U) [a2]/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" -``` +Located at PRG offset $3FFA (end of 16 KB bank): -## Pass Status +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C04C | `NmiHandler` | +| RESET | $C000 | `Reset` (jumps to $C6E3) | +| IRQ | $C2C0 | `IrqHandler` (target $C2C0 — verify during Pass 1) | -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 14,325 lines of `prg.s`, 863 address-based `Label_` definitions, canonical audit comments; 64.3% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +--- -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C04C) + +**Identical to base version** — The NMI fires once per frame and implements a state machine based on **ZpC4** ($C4) with two paths (ZpC4=0 minimal, ZpC4≠0 full) and bit-based dispatch on $0200. + +See `Raid on Bungeling Bay (U)/OVERVIEW.md` for the complete NMI flow. + +--- + +## 5. Key Subsystems + +All identical to base version: +- PPU Helper: `$C006` / `$C003` +- Sprite/OAM System: OAM DMA from $0700 (Path A) or $0200 (Path B) +- Palette Updates: `$C08E` / `$C4E4` (16 bytes to $3F00) +- Gameplay Logic: `$C0C1` (collision), `$C0A8` (enemies), `$C0A6` (sprites), `$C17A` (base) +- Indirect Dispatch (not followed statically): + - `jmp ($001B)` at $E7A3 + - `jmp ($0017)` at $E79D + - `jmp ($0019)` at $E7A0 + - `jmp ($0001)` at $E2EC + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +Identical to base version — see `Raid on Bungeling Bay (U)/OVERVIEW.md` for full table. + +--- + +## 7. Differences from Base Version + +| Property | Base (U) | [a2] Variant | +|----------|----------|--------------| +| Mirroring | Vertical | **Horizontal** | +| PRG SHA-256 | `46e80cd2d105178efc2adbdd49463421eb455b7729867c352ec8e5fb45d032d8` | `d30a3ea8a3ed0c4a90ab01f784780cf8ac0f0c769aa7f02d8202515b6e80cb53` | +| iNES header byte 6 | Bit 0 = 1 (Vertical) | **Bit 0 = 0 (Horizontal)** | +| Code structure | Identical | Identical (byte-for-byte same logic) | + +The two PRGs are **different builds** of the same game — same logic, same flow, but different mirroring and slightly different code bytes (likely a later revision or different cartridge board). + +--- + +## 8. Naming and Residue + +**Pass 1 complete** — 14,325 lines, 863 `Label_` definitions, canonical audit comments, 64.3% code. + +**Pass 2 outstanding** — No semantic names applied; all 863 labels remain address-derived `Label_XXXX`. + +**Pass 3 outstanding** — No semantic zero-page aliases; `locals.inc` holds neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): +- `jmp ($001B)` at $E7A3 +- `jmp ($0017)` at $E79D +- `jmp ($0019)` at $E7A0 +- `jmp ($0001)` at $E2EC + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Raid on Bungeling Bay (U) [a2]/copilot/prg.s b/_wip/Raid on Bungeling Bay (U) [a2]/copilot/prg.s index 008862f..c97fa3c 100644 --- a/_wip/Raid on Bungeling Bay (U) [a2]/copilot/prg.s +++ b/_wip/Raid on Bungeling Bay (U) [a2]/copilot/prg.s @@ -34,9 +34,9 @@ ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Reset: - jmp $C6E3 ; CPU:$C000 PRG:0000 4C E3 C6 + jmp ResetEntry ; CPU:$C000 PRG:0000 4C E3 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C003 +; Routine: SubCC003 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -44,10 +44,10 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C003: +SubCC003: lda $0200,x ; CPU:$C003 PRG:0003 BD 00 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C006 +; Routine: SubCC006 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -55,8 +55,8 @@ Label_C003: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C006: - sta $2007 ; CPU:$C006 PRG:0006 8D 07 20 +SubCC006: + sta PPUDATA ; CPU:$C006 PRG:0006 8D 07 20 rts ; CPU:$C009 PRG:0009 60 ; ---- data $C00A-$C031 (40 bytes) ---- ; referenced by `lda $C02E,x` at $C4BC (operand $C02E falls inside this region) @@ -67,7 +67,7 @@ Label_C006: .byte $0F, $16, $30, $25, $15, $30, $10, $00, $19, $10, $1F, $1C, $1C, $14, $19, $1B ; CPU:$C01A PRG:001A 0F 16 30 25 15 30 10 00 19 10 1F 1C 1C 14 19 1B .byte $13, $17, $0F, $15, $07, $17, $17, $17 ; CPU:$C02A PRG:002A 13 17 0F 15 07 17 17 17 ; ----------------------------------------------------------------------------- -; Routine: Label_C032 +; Routine: SubCC032 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -75,12 +75,12 @@ Label_C006: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C032: +SubCC032: lda #$14 ; CPU:$C032 PRG:0032 A9 14 - bne Label_C038 ; CPU:$C034 PRG:0034 D0 02 + bne Sub_8764_OnNonzero_C038 ; CPU:$C034 PRG:0034 D0 02 lda #$04 ; CPU:$C036 PRG:0036 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C038 +; Routine: Sub_8764_OnNonzero_C038 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -88,15 +88,15 @@ Label_C032: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C038: +Sub_8764_OnNonzero_C038: ldy #$00 ; CPU:$C038 PRG:0038 A0 00 - jsr $C043 ; CPU:$C03A PRG:003A 20 43 C0 + jsr SubCC043 ; CPU:$C03A PRG:003A 20 43 C0 sec ; CPU:$C03D PRG:003D 38 sbc #$01 ; CPU:$C03E PRG:003E E9 01 - bne Label_C038 ; CPU:$C040 PRG:0040 D0 F6 + bne Sub_8764_OnNonzero_C038 ; CPU:$C040 PRG:0040 D0 F6 rts ; CPU:$C042 PRG:0042 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C043 +; Routine: SubCC043 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -104,10 +104,10 @@ Label_C038: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C043: +SubCC043: ldx #$00 ; CPU:$C043 PRG:0043 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C045 +; Routine: Sub_8764_OnNonzero_C045 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -115,11 +115,11 @@ Label_C043: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C045: +Sub_8764_OnNonzero_C045: dex ; CPU:$C045 PRG:0045 CA - bne Label_C045 ; CPU:$C046 PRG:0046 D0 FD + bne Sub_8764_OnNonzero_C045 ; CPU:$C046 PRG:0046 D0 FD dey ; CPU:$C048 PRG:0048 88 - bne Label_C043 ; CPU:$C049 PRG:0049 D0 F8 + bne SubCC043 ; CPU:$C049 PRG:0049 D0 F8 rts ; CPU:$C04B PRG:004B 60 ; ----------------------------------------------------------------------------- ; Routine: NmiHandler @@ -137,13 +137,13 @@ NmiHandler: tya ; CPU:$C04F PRG:004F 98 pha ; CPU:$C050 PRG:0050 48 lda ZpC4 ; CPU:$C051 PRG:0051 A5 C4 - bne Label_C05F ; CPU:$C053 PRG:0053 D0 0A + bne Sub_8764_OnNonzero_C05F ; CPU:$C053 PRG:0053 D0 0A lda #$00 ; CPU:$C055 PRG:0055 A9 00 - sta $2003 ; CPU:$C057 PRG:0057 8D 03 20 + sta OAMADDR ; CPU:$C057 PRG:0057 8D 03 20 lda #$07 ; CPU:$C05A PRG:005A A9 07 - sta $4014 ; CPU:$C05C PRG:005C 8D 14 40 + sta OAMDMA ; CPU:$C05C PRG:005C 8D 14 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C05F +; Routine: Sub_8764_OnNonzero_C05F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -151,33 +151,33 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C05F: +Sub_8764_OnNonzero_C05F: lda $0200 ; CPU:$C05F PRG:005F AD 00 02 ldx #$00 ; CPU:$C062 PRG:0062 A2 00 stx $0200 ; CPU:$C064 PRG:0064 8E 00 02 lsr a ; CPU:$C067 PRG:0067 4A - bcs Label_C0C1 ; CPU:$C068 PRG:0068 B0 57 + bcs Sub_8764_OnCarrySet_C0C1 ; CPU:$C068 PRG:0068 B0 57 lsr a ; CPU:$C06A PRG:006A 4A - bcs Label_C0A8 ; CPU:$C06B PRG:006B B0 3B + bcs Sub_8764_OnCarrySet_C0A8 ; CPU:$C06B PRG:006B B0 3B lsr a ; CPU:$C06D PRG:006D 4A - bcs Label_C0A6 ; CPU:$C06E PRG:006E B0 36 + bcs Sub_8764_OnCarrySet_C0A6 ; CPU:$C06E PRG:006E B0 36 lsr a ; CPU:$C070 PRG:0070 4A - bcs Label_C0A6 ; CPU:$C071 PRG:0071 B0 33 + bcs Sub_8764_OnCarrySet_C0A6 ; CPU:$C071 PRG:0071 B0 33 lda ZpC4 ; CPU:$C073 PRG:0073 A5 C4 - bne Label_C0A3 ; CPU:$C075 PRG:0075 D0 2C + bne Sub_8764_OnNonzero_C0A3 ; CPU:$C075 PRG:0075 D0 2C lda Zp55 ; CPU:$C077 PRG:0077 A5 55 - beq Label_C09A ; CPU:$C079 PRG:0079 F0 1F + beq Sub_8764_OnZero_C09A ; CPU:$C079 PRG:0079 F0 1F dec Zp55 ; CPU:$C07B PRG:007B C6 55 lsr a ; CPU:$C07D PRG:007D 4A - bcs Label_C0A0 ; CPU:$C07E PRG:007E B0 20 + bcs Sub_8764_OnCarrySet_C0A0 ; CPU:$C07E PRG:007E B0 20 lda #$3F ; CPU:$C080 PRG:0080 A9 3F - sta $2006 ; CPU:$C082 PRG:0082 8D 06 20 + sta PPUADDR ; CPU:$C082 PRG:0082 8D 06 20 ldx #$00 ; CPU:$C085 PRG:0085 A2 00 - stx $2006 ; CPU:$C087 PRG:0087 8E 06 20 + stx PPUADDR ; CPU:$C087 PRG:0087 8E 06 20 ldx #$10 ; CPU:$C08A PRG:008A A2 10 lda #$14 ; CPU:$C08C PRG:008C A9 14 ; ----------------------------------------------------------------------------- -; Routine: Label_C08E +; Routine: Sub_8764_OnNonzero_C08E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -185,14 +185,14 @@ Label_C05F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C08E: - jsr $C006 ; CPU:$C08E PRG:008E 20 06 C0 +Sub_8764_OnNonzero_C08E: + jsr SubCC006 ; CPU:$C08E PRG:008E 20 06 C0 dex ; CPU:$C091 PRG:0091 CA - bne Label_C08E ; CPU:$C092 PRG:0092 D0 FA - jsr $C4E4 ; CPU:$C094 PRG:0094 20 E4 C4 - jmp $C17A ; CPU:$C097 PRG:0097 4C 7A C1 + bne Sub_8764_OnNonzero_C08E ; CPU:$C092 PRG:0092 D0 FA + jsr SubCC4E4 ; CPU:$C094 PRG:0094 20 E4 C4 + jmp SubCC17A ; CPU:$C097 PRG:0097 4C 7A C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C09A +; Routine: Sub_8764_OnZero_C09A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -200,12 +200,12 @@ Label_C08E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C09A: +Sub_8764_OnZero_C09A: lda ZpD6 ; CPU:$C09A PRG:009A A5 D6 cmp #$02 ; CPU:$C09C PRG:009C C9 02 - bne Label_C0A3 ; CPU:$C09E PRG:009E D0 03 + bne Sub_8764_OnNonzero_C0A3 ; CPU:$C09E PRG:009E D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A0 +; Routine: Sub_8764_OnCarrySet_C0A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -213,10 +213,10 @@ Label_C09A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A0: - jsr $C48E ; CPU:$C0A0 PRG:00A0 20 8E C4 +Sub_8764_OnCarrySet_C0A0: + jsr SubCC48E ; CPU:$C0A0 PRG:00A0 20 8E C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A3 +; Routine: Sub_8764_OnNonzero_C0A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -224,10 +224,10 @@ Label_C0A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A3: - jmp $C17A ; CPU:$C0A3 PRG:00A3 4C 7A C1 +Sub_8764_OnNonzero_C0A3: + jmp SubCC17A ; CPU:$C0A3 PRG:00A3 4C 7A C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A6 +; Routine: Sub_8764_OnCarrySet_C0A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -235,10 +235,10 @@ Label_C0A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A6: - bcs Label_C10D ; CPU:$C0A6 PRG:00A6 B0 65 +Sub_8764_OnCarrySet_C0A6: + bcs Sub_8764_OnCarrySet_C10D ; CPU:$C0A6 PRG:00A6 B0 65 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A8 +; Routine: Sub_8764_OnCarrySet_C0A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -246,14 +246,14 @@ Label_C0A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A8: +Sub_8764_OnCarrySet_C0A8: ldy #$20 ; CPU:$C0A8 PRG:00A8 A0 20 lda ZpC2 ; CPU:$C0AA PRG:00AA A5 C2 and #$01 ; CPU:$C0AC PRG:00AC 29 01 - bne Label_C0B2 ; CPU:$C0AE PRG:00AE D0 02 + bne Sub_8764_OnNonzero_C0B2 ; CPU:$C0AE PRG:00AE D0 02 ldy #$24 ; CPU:$C0B0 PRG:00B0 A0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C0B2 +; Routine: Sub_8764_OnNonzero_C0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -261,17 +261,17 @@ Label_C0A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0B2: +Sub_8764_OnNonzero_C0B2: lda ZpC1 ; CPU:$C0B2 PRG:00B2 A5 C1 clc ; CPU:$C0B4 PRG:00B4 18 adc #$08 ; CPU:$C0B5 PRG:00B5 69 08 tax ; CPU:$C0B7 PRG:00B7 AA - bcc Label_C0BE ; CPU:$C0B8 PRG:00B8 90 04 + bcc Sub_8764_OnCarryClear_C0BE ; CPU:$C0B8 PRG:00B8 90 04 tya ; CPU:$C0BA PRG:00BA 98 eor #$04 ; CPU:$C0BB PRG:00BB 49 04 tay ; CPU:$C0BD PRG:00BD A8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0BE +; Routine: Sub_8764_OnCarryClear_C0BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -279,10 +279,10 @@ Label_C0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0BE: - jmp $C0D7 ; CPU:$C0BE PRG:00BE 4C D7 C0 +Sub_8764_OnCarryClear_C0BE: + jmp SubCC0D7 ; CPU:$C0BE PRG:00BE 4C D7 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C0C1 +; Routine: Sub_8764_OnCarrySet_C0C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -290,14 +290,14 @@ Label_C0BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0C1: +Sub_8764_OnCarrySet_C0C1: ldy #$20 ; CPU:$C0C1 PRG:00C1 A0 20 lda ZpC2 ; CPU:$C0C3 PRG:00C3 A5 C2 and #$01 ; CPU:$C0C5 PRG:00C5 29 01 - beq Label_C0CB ; CPU:$C0C7 PRG:00C7 F0 02 + beq Sub_8764_OnZero_C0CB ; CPU:$C0C7 PRG:00C7 F0 02 ldy #$24 ; CPU:$C0C9 PRG:00C9 A0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C0CB +; Routine: Sub_8764_OnZero_C0CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -305,17 +305,17 @@ Label_C0C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0CB: +Sub_8764_OnZero_C0CB: lda ZpC1 ; CPU:$C0CB PRG:00CB A5 C1 sec ; CPU:$C0CD PRG:00CD 38 sbc #$08 ; CPU:$C0CE PRG:00CE E9 08 tax ; CPU:$C0D0 PRG:00D0 AA - bcs Label_C0D7 ; CPU:$C0D1 PRG:00D1 B0 04 + bcs SubCC0D7 ; CPU:$C0D1 PRG:00D1 B0 04 tya ; CPU:$C0D3 PRG:00D3 98 eor #$04 ; CPU:$C0D4 PRG:00D4 49 04 tay ; CPU:$C0D6 PRG:00D6 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0D7 +; Routine: SubCC0D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -323,17 +323,17 @@ Label_C0CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0D7: +SubCC0D7: lda ZpC2 ; CPU:$C0D7 PRG:00D7 A5 C2 ora #$04 ; CPU:$C0D9 PRG:00D9 09 04 sta ZpC2 ; CPU:$C0DB PRG:00DB 85 C2 - sta $2000 ; CPU:$C0DD PRG:00DD 8D 00 20 - sty $2006 ; CPU:$C0E0 PRG:00E0 8C 06 20 + sta PPUCTRL ; CPU:$C0DD PRG:00DD 8D 00 20 + sty PPUADDR ; CPU:$C0E0 PRG:00E0 8C 06 20 txa ; CPU:$C0E3 PRG:00E3 8A lsr a ; CPU:$C0E4 PRG:00E4 4A lsr a ; CPU:$C0E5 PRG:00E5 4A lsr a ; CPU:$C0E6 PRG:00E6 4A - sta $2006 ; CPU:$C0E7 PRG:00E7 8D 06 20 + sta PPUADDR ; CPU:$C0E7 PRG:00E7 8D 06 20 lda ZpC3 ; CPU:$C0EA PRG:00EA A5 C3 lsr a ; CPU:$C0EC PRG:00EC 4A lsr a ; CPU:$C0ED PRG:00ED 4A @@ -345,7 +345,7 @@ Label_C0D7: tax ; CPU:$C0F5 PRG:00F5 AA inx ; CPU:$C0F6 PRG:00F6 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0F7 +; Routine: Sub_8764_OnNonzero_C0F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -353,16 +353,16 @@ Label_C0D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0F7: - jsr $C003 ; CPU:$C0F7 PRG:00F7 20 03 C0 +Sub_8764_OnNonzero_C0F7: + jsr SubCC003 ; CPU:$C0F7 PRG:00F7 20 03 C0 inx ; CPU:$C0FA PRG:00FA E8 cpx #$1F ; CPU:$C0FB PRG:00FB E0 1F - bne Label_C0F7 ; CPU:$C0FD PRG:00FD D0 F8 + bne Sub_8764_OnNonzero_C0F7 ; CPU:$C0FD PRG:00FD D0 F8 ldx #$01 ; CPU:$C0FF PRG:00FF A2 01 tya ; CPU:$C101 PRG:0101 98 - beq Label_C17A ; CPU:$C102 PRG:0102 F0 76 + beq SubCC17A ; CPU:$C102 PRG:0102 F0 76 ; ----------------------------------------------------------------------------- -; Routine: Label_C104 +; Routine: Sub_8764_OnNonzero_C104 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -370,14 +370,14 @@ Label_C0F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C104: - jsr $C003 ; CPU:$C104 PRG:0104 20 03 C0 +Sub_8764_OnNonzero_C104: + jsr SubCC003 ; CPU:$C104 PRG:0104 20 03 C0 inx ; CPU:$C107 PRG:0107 E8 dey ; CPU:$C108 PRG:0108 88 - bne Label_C104 ; CPU:$C109 PRG:0109 D0 F9 - beq Label_C17A ; CPU:$C10B PRG:010B F0 6D + bne Sub_8764_OnNonzero_C104 ; CPU:$C109 PRG:0109 D0 F9 + beq SubCC17A ; CPU:$C10B PRG:010B F0 6D ; ----------------------------------------------------------------------------- -; Routine: Label_C10D +; Routine: Sub_8764_OnCarrySet_C10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -385,17 +385,17 @@ Label_C104: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C10D: +Sub_8764_OnCarrySet_C10D: lda ZpC2 ; CPU:$C10D PRG:010D A5 C2 and #$FB ; CPU:$C10F PRG:010F 29 FB sta ZpC2 ; CPU:$C111 PRG:0111 85 C2 - sta $2000 ; CPU:$C113 PRG:0113 8D 00 20 + sta PPUCTRL ; CPU:$C113 PRG:0113 8D 00 20 ldx #$20 ; CPU:$C116 PRG:0116 A2 20 and #$01 ; CPU:$C118 PRG:0118 29 01 - beq Label_C11E ; CPU:$C11A PRG:011A F0 02 + beq Sub_8764_OnZero_C11E ; CPU:$C11A PRG:011A F0 02 ldx #$24 ; CPU:$C11C PRG:011C A2 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C11E +; Routine: Sub_8764_OnZero_C11E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -403,7 +403,7 @@ Label_C10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C11E: +Sub_8764_OnZero_C11E: lda #$00 ; CPU:$C11E PRG:011E A9 00 sta ZpC6 ; CPU:$C120 PRG:0120 85 C6 lda ZpC3 ; CPU:$C122 PRG:0122 A5 C3 @@ -427,11 +427,11 @@ Label_C11E: tax ; CPU:$C13D PRG:013D AA lda ZpC6 ; CPU:$C13E PRG:013E A5 C6 adc #$00 ; CPU:$C140 PRG:0140 69 00 - sta $2006 ; CPU:$C142 PRG:0142 8D 06 20 - stx $2006 ; CPU:$C145 PRG:0145 8E 06 20 + sta PPUADDR ; CPU:$C142 PRG:0142 8D 06 20 + stx PPUADDR ; CPU:$C145 PRG:0145 8E 06 20 ldx #$01 ; CPU:$C148 PRG:0148 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C14A +; Routine: Sub_8764_OnNonzero_C14A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -439,20 +439,20 @@ Label_C11E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C14A: - jsr $C003 ; CPU:$C14A PRG:014A 20 03 C0 +Sub_8764_OnNonzero_C14A: + jsr SubCC003 ; CPU:$C14A PRG:014A 20 03 C0 inx ; CPU:$C14D PRG:014D E8 iny ; CPU:$C14E PRG:014E C8 cpy #$20 ; CPU:$C14F PRG:014F C0 20 - bne Label_C14A ; CPU:$C151 PRG:0151 D0 F7 + bne Sub_8764_OnNonzero_C14A ; CPU:$C151 PRG:0151 D0 F7 pla ; CPU:$C153 PRG:0153 68 tay ; CPU:$C154 PRG:0154 A8 eor #$04 ; CPU:$C155 PRG:0155 49 04 - sta $2006 ; CPU:$C157 PRG:0157 8D 06 20 + sta PPUADDR ; CPU:$C157 PRG:0157 8D 06 20 lda ZpC5 ; CPU:$C15A PRG:015A A5 C5 - sta $2006 ; CPU:$C15C PRG:015C 8D 06 20 + sta PPUADDR ; CPU:$C15C PRG:015C 8D 06 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C15F +; Routine: Sub_8764_OnNonzero_C15F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -460,14 +460,14 @@ Label_C14A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C15F: +Sub_8764_OnNonzero_C15F: cpx #$22 ; CPU:$C15F PRG:015F E0 22 - beq Label_C169 ; CPU:$C161 PRG:0161 F0 06 - jsr $C003 ; CPU:$C163 PRG:0163 20 03 C0 + beq Sub_8764_OnZero_C169 ; CPU:$C161 PRG:0161 F0 06 + jsr SubCC003 ; CPU:$C163 PRG:0163 20 03 C0 inx ; CPU:$C166 PRG:0166 E8 - bne Label_C15F ; CPU:$C167 PRG:0167 D0 F6 + bne Sub_8764_OnNonzero_C15F ; CPU:$C167 PRG:0167 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_C169 +; Routine: Sub_8764_OnZero_C169 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -475,15 +475,15 @@ Label_C15F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C169: +Sub_8764_OnZero_C169: lda ZpC1 ; CPU:$C169 PRG:0169 A5 C1 cmp #$F8 ; CPU:$C16B PRG:016B C9 F8 - bcc Label_C177 ; CPU:$C16D PRG:016D 90 08 - sty $2006 ; CPU:$C16F PRG:016F 8C 06 20 + bcc Sub_8764_OnCarryClear_C177 ; CPU:$C16D PRG:016D 90 08 + sty PPUADDR ; CPU:$C16F PRG:016F 8C 06 20 lda ZpC5 ; CPU:$C172 PRG:0172 A5 C5 - sta $2006 ; CPU:$C174 PRG:0174 8D 06 20 + sta PPUADDR ; CPU:$C174 PRG:0174 8D 06 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C177 +; Routine: Sub_8764_OnCarryClear_C177 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -491,10 +491,10 @@ Label_C169: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C177: - jsr $C003 ; CPU:$C177 PRG:0177 20 03 C0 +Sub_8764_OnCarryClear_C177: + jsr SubCC003 ; CPU:$C177 PRG:0177 20 03 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C17A +; Routine: SubCC17A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -502,19 +502,19 @@ Label_C177: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C17A: +SubCC17A: lda ZpC4 ; CPU:$C17A PRG:017A A5 C4 - bne Label_C191 ; CPU:$C17C PRG:017C D0 13 + bne Sub_8764_OnNonzero_C191 ; CPU:$C17C PRG:017C D0 13 lda ZpC1 ; CPU:$C17E PRG:017E A5 C1 - sta $2005 ; CPU:$C180 PRG:0180 8D 05 20 + sta PPUSCROLL ; CPU:$C180 PRG:0180 8D 05 20 lda ZpC3 ; CPU:$C183 PRG:0183 A5 C3 - sta $2005 ; CPU:$C185 PRG:0185 8D 05 20 + sta PPUSCROLL ; CPU:$C185 PRG:0185 8D 05 20 lda ZpC2 ; CPU:$C188 PRG:0188 A5 C2 and #$FB ; CPU:$C18A PRG:018A 29 FB sta ZpC2 ; CPU:$C18C PRG:018C 85 C2 - sta $2000 ; CPU:$C18E PRG:018E 8D 00 20 + sta PPUCTRL ; CPU:$C18E PRG:018E 8D 00 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C191 +; Routine: Sub_8764_OnNonzero_C191 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -522,16 +522,16 @@ Label_C17A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C191: +Sub_8764_OnNonzero_C191: lda #$01 ; CPU:$C191 PRG:0191 A9 01 - sta $4016 ; CPU:$C193 PRG:0193 8D 16 40 + sta JOY1 ; CPU:$C193 PRG:0193 8D 16 40 lda #$00 ; CPU:$C196 PRG:0196 A9 00 - sta $4016 ; CPU:$C198 PRG:0198 8D 16 40 + sta JOY1 ; CPU:$C198 PRG:0198 8D 16 40 sta Zp50 ; CPU:$C19B PRG:019B 85 50 sta Zp51 ; CPU:$C19D PRG:019D 85 51 ldy #$08 ; CPU:$C19F PRG:019F A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_C1A1 +; Routine: Sub_8764_OnNonzero_C1A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -539,15 +539,15 @@ Label_C191: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1A1: - lda $4017 ; CPU:$C1A1 PRG:01A1 AD 17 40 +Sub_8764_OnNonzero_C1A1: + lda JOY2 ; CPU:$C1A1 PRG:01A1 AD 17 40 lsr a ; CPU:$C1A4 PRG:01A4 4A rol Zp51 ; CPU:$C1A5 PRG:01A5 26 51 dey ; CPU:$C1A7 PRG:01A7 88 - bne Label_C1A1 ; CPU:$C1A8 PRG:01A8 D0 F7 + bne Sub_8764_OnNonzero_C1A1 ; CPU:$C1A8 PRG:01A8 D0 F7 ldy #$08 ; CPU:$C1AA PRG:01AA A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_C1AC +; Routine: Sub_8764_OnNonzero_C1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -555,27 +555,27 @@ Label_C1A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1AC: - lda $4016 ; CPU:$C1AC PRG:01AC AD 16 40 +Sub_8764_OnNonzero_C1AC: + lda JOY1 ; CPU:$C1AC PRG:01AC AD 16 40 lsr a ; CPU:$C1AF PRG:01AF 4A rol Zp50 ; CPU:$C1B0 PRG:01B0 26 50 dey ; CPU:$C1B2 PRG:01B2 88 - bne Label_C1AC ; CPU:$C1B3 PRG:01B3 D0 F7 + bne Sub_8764_OnNonzero_C1AC ; CPU:$C1B3 PRG:01B3 D0 F7 lda ZpD4 ; CPU:$C1B5 PRG:01B5 A5 D4 - beq Label_C209 ; CPU:$C1B7 PRG:01B7 F0 50 + beq Sub_8764_JoinBranchPaths_C209 ; CPU:$C1B7 PRG:01B7 F0 50 lda ZpCA ; CPU:$C1B9 PRG:01B9 A5 CA - beq Label_C20C ; CPU:$C1BB PRG:01BB F0 4F + beq Sub_8764_OnZero_C20C ; CPU:$C1BB PRG:01BB F0 4F inc ZpCB ; CPU:$C1BD PRG:01BD E6 CB lda ZpCB ; CPU:$C1BF PRG:01BF A5 CB and #$07 ; CPU:$C1C1 PRG:01C1 29 07 cmp #$07 ; CPU:$C1C3 PRG:01C3 C9 07 - bne Label_C209 ; CPU:$C1C5 PRG:01C5 D0 42 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C1C5 PRG:01C5 D0 42 ldy #$00 ; CPU:$C1C7 PRG:01C7 A0 00 sty ZpCB ; CPU:$C1C9 PRG:01C9 84 CB asl ZpCE ; CPU:$C1CB PRG:01CB 06 CE - bcc Label_C1E1 ; CPU:$C1CD PRG:01CD 90 12 + bcc Sub_8764_OnCarryClear_C1E1 ; CPU:$C1CD PRG:01CD 90 12 ; ----------------------------------------------------------------------------- -; Routine: Label_C1CF +; Routine: Sub_8764_OnNonzero_C1CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -583,19 +583,19 @@ Label_C1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1CF: +Sub_8764_OnNonzero_C1CF: ldx ZpCD ; CPU:$C1CF PRG:01CF A6 CD lda $C374,x ; CPU:$C1D1 PRG:01D1 BD 74 C3 - jsr $C332 ; CPU:$C1D4 PRG:01D4 20 32 C3 + jsr SubCC332 ; CPU:$C1D4 PRG:01D4 20 32 C3 inc ZpCD ; CPU:$C1D7 PRG:01D7 E6 CD iny ; CPU:$C1D9 PRG:01D9 C8 iny ; CPU:$C1DA PRG:01DA C8 iny ; CPU:$C1DB PRG:01DB C8 iny ; CPU:$C1DC PRG:01DC C8 cpy #$08 ; CPU:$C1DD PRG:01DD C0 08 - bne Label_C1CF ; CPU:$C1DF PRG:01DF D0 EE + bne Sub_8764_OnNonzero_C1CF ; CPU:$C1DF PRG:01DF D0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_C1E1 +; Routine: Sub_8764_OnCarryClear_C1E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -603,13 +603,13 @@ Label_C1CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1E1: +Sub_8764_OnCarryClear_C1E1: asl ZpD0 ; CPU:$C1E1 PRG:01E1 06 D0 - bcc Label_C1EA ; CPU:$C1E3 PRG:01E3 90 05 + bcc Sub_8764_OnCarryClear_C1EA ; CPU:$C1E3 PRG:01E3 90 05 lda #$27 ; CPU:$C1E5 PRG:01E5 A9 27 - jsr $C332 ; CPU:$C1E7 PRG:01E7 20 32 C3 + jsr SubCC332 ; CPU:$C1E7 PRG:01E7 20 32 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C1EA +; Routine: Sub_8764_OnCarryClear_C1EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -617,22 +617,22 @@ Label_C1E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1EA: +Sub_8764_OnCarryClear_C1EA: inc ZpCC ; CPU:$C1EA PRG:01EA E6 CC lda ZpCC ; CPU:$C1EC PRG:01EC A5 CC and #$07 ; CPU:$C1EE PRG:01EE 29 07 - bne Label_C209 ; CPU:$C1F0 PRG:01F0 D0 17 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C1F0 PRG:01F0 D0 17 ldx ZpCF ; CPU:$C1F2 PRG:01F2 A6 CF inc ZpCF ; CPU:$C1F4 PRG:01F4 E6 CF cpx #$08 ; CPU:$C1F6 PRG:01F6 E0 08 - beq Label_C206 ; CPU:$C1F8 PRG:01F8 F0 0C + beq Sub_8764_OnZero_C206 ; CPU:$C1F8 PRG:01F8 F0 0C lda $C3AC,x ; CPU:$C1FA PRG:01FA BD AC C3 sta ZpCE ; CPU:$C1FD PRG:01FD 85 CE lda $C3B4,x ; CPU:$C1FF PRG:01FF BD B4 C3 sta ZpD0 ; CPU:$C202 PRG:0202 85 D0 - bne Label_C209 ; CPU:$C204 PRG:0204 D0 03 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C204 PRG:0204 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C206 +; Routine: Sub_8764_OnZero_C206 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -640,10 +640,10 @@ Label_C1EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C206: - jsr $C2EA ; CPU:$C206 PRG:0206 20 EA C2 +Sub_8764_OnZero_C206: + jsr SubCC2EA ; CPU:$C206 PRG:0206 20 EA C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C209 +; Routine: Sub_8764_JoinBranchPaths_C209 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -651,10 +651,10 @@ Label_C206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C209: - jmp $C2BB ; CPU:$C209 PRG:0209 4C BB C2 +Sub_8764_JoinBranchPaths_C209: + jmp SubCC2BB ; CPU:$C209 PRG:0209 4C BB C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C20C +; Routine: Sub_8764_OnZero_C20C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -662,16 +662,16 @@ Label_C209: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C20C: +Sub_8764_OnZero_C20C: ldx ZpCD ; CPU:$C20C PRG:020C A6 CD - beq Label_C21C ; CPU:$C20E PRG:020E F0 0C + beq Sub_8764_OnZero_C21C ; CPU:$C20E PRG:020E F0 0C lda #$00 ; CPU:$C210 PRG:0210 A9 00 - sta $4002 ; CPU:$C212 PRG:0212 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$C212 PRG:0212 8D 02 40 lda #$0D ; CPU:$C215 PRG:0215 A9 0D - sta $4003 ; CPU:$C217 PRG:0217 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$C217 PRG:0217 8D 03 40 dec ZpCD ; CPU:$C21A PRG:021A C6 CD ; ----------------------------------------------------------------------------- -; Routine: Label_C21C +; Routine: Sub_8764_OnZero_C21C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -679,20 +679,20 @@ Label_C20C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C21C: +Sub_8764_OnZero_C21C: ldx ZpCE ; CPU:$C21C PRG:021C A6 CE - beq Label_C23E ; CPU:$C21E PRG:021E F0 1E + beq SubCC23E ; CPU:$C21E PRG:021E F0 1E dex ; CPU:$C220 PRG:0220 CA - beq Label_C232 ; CPU:$C221 PRG:0221 F0 0F + beq Sub_8764_OnZero_C232 ; CPU:$C221 PRG:0221 F0 0F lda #$20 ; CPU:$C223 PRG:0223 A9 20 cpx #$14 ; CPU:$C225 PRG:0225 E0 14 - beq Label_C234 ; CPU:$C227 PRG:0227 F0 0B + beq Sub_8764_OnZero_C234 ; CPU:$C227 PRG:0227 F0 0B dex ; CPU:$C229 PRG:0229 CA - bne Label_C23C ; CPU:$C22A PRG:022A D0 10 - jsr $D293 ; CPU:$C22C PRG:022C 20 93 D2 - jmp $C23E ; CPU:$C22F PRG:022F 4C 3E C2 + bne Sub_8764_OnNonzero_C23C ; CPU:$C22A PRG:022A D0 10 + jsr SubCD293 ; CPU:$C22C PRG:022C 20 93 D2 + jmp SubCC23E ; CPU:$C22F PRG:022F 4C 3E C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C232 +; Routine: Sub_8764_OnZero_C232 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -700,10 +700,10 @@ Label_C21C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C232: +Sub_8764_OnZero_C232: lda #$0A ; CPU:$C232 PRG:0232 A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_C234 +; Routine: Sub_8764_OnZero_C234 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -711,12 +711,12 @@ Label_C232: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C234: +Sub_8764_OnZero_C234: ldx #$80 ; CPU:$C234 PRG:0234 A2 80 - stx $4006 ; CPU:$C236 PRG:0236 8E 06 40 - sta $4007 ; CPU:$C239 PRG:0239 8D 07 40 + stx APUPULSE2TIMERLO ; CPU:$C236 PRG:0236 8E 06 40 + sta APUPULSE2TIMERHI ; CPU:$C239 PRG:0239 8D 07 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C23C +; Routine: Sub_8764_OnNonzero_C23C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -724,10 +724,10 @@ Label_C234: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23C: +Sub_8764_OnNonzero_C23C: dec ZpCE ; CPU:$C23C PRG:023C C6 CE ; ----------------------------------------------------------------------------- -; Routine: Label_C23E +; Routine: SubCC23E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -735,16 +735,16 @@ Label_C23C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23E: +SubCC23E: lda ZpD1 ; CPU:$C23E PRG:023E A5 D1 - beq Label_C24F ; CPU:$C240 PRG:0240 F0 0D - sta $400A ; CPU:$C242 PRG:0242 8D 0A 40 + beq Sub_8764_OnZero_C24F ; CPU:$C240 PRG:0240 F0 0D + sta APUTRIANGLETIMERLO ; CPU:$C242 PRG:0242 8D 0A 40 lda #$11 ; CPU:$C245 PRG:0245 A9 11 - sta $400B ; CPU:$C247 PRG:0247 8D 0B 40 - sta $4007 ; CPU:$C24A PRG:024A 8D 07 40 - bne Label_C278 ; CPU:$C24D PRG:024D D0 29 + sta APUTRIANGLETIMERHI ; CPU:$C247 PRG:0247 8D 0B 40 + sta APUPULSE2TIMERHI ; CPU:$C24A PRG:024A 8D 07 40 + bne Sub_8764_JoinBranchPaths_C278 ; CPU:$C24D PRG:024D D0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_C24F +; Routine: Sub_8764_OnZero_C24F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -752,13 +752,13 @@ Label_C23E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C24F: +Sub_8764_OnZero_C24F: inc ZpCB ; CPU:$C24F PRG:024F E6 CB lda ZpCB ; CPU:$C251 PRG:0251 A5 CB and #$07 ; CPU:$C253 PRG:0253 29 07 - bne Label_C278 ; CPU:$C255 PRG:0255 D0 21 + bne Sub_8764_JoinBranchPaths_C278 ; CPU:$C255 PRG:0255 D0 21 ; ----------------------------------------------------------------------------- -; Routine: Label_C257 +; Routine: Sub_8764_OnNonzero_C257 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -766,17 +766,17 @@ Label_C24F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C257: +Sub_8764_OnNonzero_C257: ldx ZpCF ; CPU:$C257 PRG:0257 A6 CF - beq Label_C278 ; CPU:$C259 PRG:0259 F0 1D + beq Sub_8764_JoinBranchPaths_C278 ; CPU:$C259 PRG:0259 F0 1D ldy #$08 ; CPU:$C25B PRG:025B A0 08 lda $C3BB,x ; CPU:$C25D PRG:025D BD BB C3 - bne Label_C268 ; CPU:$C260 PRG:0260 D0 06 + bne Sub_8764_OnNonzero_C268 ; CPU:$C260 PRG:0260 D0 06 lda #$01 ; CPU:$C262 PRG:0262 A9 01 sta ZpCF ; CPU:$C264 PRG:0264 85 CF - bne Label_C257 ; CPU:$C266 PRG:0266 D0 EF + bne Sub_8764_OnNonzero_C257 ; CPU:$C266 PRG:0266 D0 EF ; ----------------------------------------------------------------------------- -; Routine: Label_C268 +; Routine: Sub_8764_OnNonzero_C268 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -784,15 +784,15 @@ Label_C257: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C268: +Sub_8764_OnNonzero_C268: ldx ZpAD ; CPU:$C268 PRG:0268 A6 AD - beq Label_C273 ; CPU:$C26A PRG:026A F0 07 + beq Sub_8764_OnZero_C273 ; CPU:$C26A PRG:026A F0 07 cmp #$81 ; CPU:$C26C PRG:026C C9 81 - beq Label_C273 ; CPU:$C26E PRG:026E F0 03 + beq Sub_8764_OnZero_C273 ; CPU:$C26E PRG:026E F0 03 clc ; CPU:$C270 PRG:0270 18 adc #$02 ; CPU:$C271 PRG:0271 69 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C273 +; Routine: Sub_8764_OnZero_C273 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -800,11 +800,11 @@ Label_C268: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C273: - jsr $C332 ; CPU:$C273 PRG:0273 20 32 C3 +Sub_8764_OnZero_C273: + jsr SubCC332 ; CPU:$C273 PRG:0273 20 32 C3 inc ZpCF ; CPU:$C276 PRG:0276 E6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_C278 +; Routine: Sub_8764_JoinBranchPaths_C278 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -812,22 +812,22 @@ Label_C273: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C278: +Sub_8764_JoinBranchPaths_C278: inc ZpCC ; CPU:$C278 PRG:0278 E6 CC lda ZpCC ; CPU:$C27A PRG:027A A5 CC and #$07 ; CPU:$C27C PRG:027C 29 07 - bne Label_C2BB ; CPU:$C27E PRG:027E D0 3B + bne SubCC2BB ; CPU:$C27E PRG:027E D0 3B lda ZpD2 ; CPU:$C280 PRG:0280 A5 D2 - bne Label_C2A3 ; CPU:$C282 PRG:0282 D0 1F + bne Sub_8764_JoinBranchPaths_C2A3 ; CPU:$C282 PRG:0282 D0 1F ldx #$3F ; CPU:$C284 PRG:0284 A2 3F lda ZpB7 ; CPU:$C286 PRG:0286 A5 B7 cmp #$FF ; CPU:$C288 PRG:0288 C9 FF - bne Label_C292 ; CPU:$C28A PRG:028A D0 06 + bne Sub_8764_OnNonzero_C292 ; CPU:$C28A PRG:028A D0 06 ldx #$0A ; CPU:$C28C PRG:028C A2 0A cpx ZpB8 ; CPU:$C28E PRG:028E E4 B8 - beq Label_C2A3 ; CPU:$C290 PRG:0290 F0 11 + beq Sub_8764_JoinBranchPaths_C2A3 ; CPU:$C290 PRG:0290 F0 11 ; ----------------------------------------------------------------------------- -; Routine: Label_C292 +; Routine: Sub_8764_OnNonzero_C292 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -835,17 +835,17 @@ Label_C278: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C292: +Sub_8764_OnNonzero_C292: rol a ; CPU:$C292 PRG:0292 2A rol a ; CPU:$C293 PRG:0293 2A ora #$0C ; CPU:$C294 PRG:0294 09 0C - sta $400E ; CPU:$C296 PRG:0296 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$C296 PRG:0296 8D 0E 40 stx ZpB8 ; CPU:$C299 PRG:0299 86 B8 - stx $400C ; CPU:$C29B PRG:029B 8E 0C 40 + stx APUNOISECTRL ; CPU:$C29B PRG:029B 8E 0C 40 lda #$08 ; CPU:$C29E PRG:029E A9 08 - sta $400F ; CPU:$C2A0 PRG:02A0 8D 0F 40 + sta APUNOISELENGTH ; CPU:$C2A0 PRG:02A0 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C2A3 +; Routine: Sub_8764_JoinBranchPaths_C2A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -853,19 +853,19 @@ Label_C292: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2A3: +Sub_8764_JoinBranchPaths_C2A3: ldx ZpD0 ; CPU:$C2A3 PRG:02A3 A6 D0 - beq Label_C2BB ; CPU:$C2A5 PRG:02A5 F0 14 + beq SubCC2BB ; CPU:$C2A5 PRG:02A5 F0 14 lda $C3CC,x ; CPU:$C2A7 PRG:02A7 BD CC C3 - beq Label_C2BB ; CPU:$C2AA PRG:02AA F0 0F - sta $400E ; CPU:$C2AC PRG:02AC 8D 0E 40 + beq SubCC2BB ; CPU:$C2AA PRG:02AA F0 0F + sta APUNOISEPERIOD ; CPU:$C2AC PRG:02AC 8D 0E 40 lda #$0A ; CPU:$C2AF PRG:02AF A9 0A - sta $400C ; CPU:$C2B1 PRG:02B1 8D 0C 40 + sta APUNOISECTRL ; CPU:$C2B1 PRG:02B1 8D 0C 40 lda #$40 ; CPU:$C2B4 PRG:02B4 A9 40 - sta $400F ; CPU:$C2B6 PRG:02B6 8D 0F 40 + sta APUNOISELENGTH ; CPU:$C2B6 PRG:02B6 8D 0F 40 inc ZpD0 ; CPU:$C2B9 PRG:02B9 E6 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C2BB +; Routine: SubCC2BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -873,7 +873,7 @@ Label_C2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2BB: +SubCC2BB: pla ; CPU:$C2BB PRG:02BB 68 tay ; CPU:$C2BC PRG:02BC A8 pla ; CPU:$C2BD PRG:02BD 68 @@ -891,7 +891,7 @@ Label_C2BB: IrqHandler: rti ; CPU:$C2C0 PRG:02C0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C2C1 +; Routine: SubCC2C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -899,8 +899,8 @@ IrqHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2C1: - jsr $C304 ; CPU:$C2C1 PRG:02C1 20 04 C3 +SubCC2C1: + jsr SubCC304 ; CPU:$C2C1 PRG:02C1 20 04 C3 lda #$08 ; CPU:$C2C4 PRG:02C4 A9 08 sta ZpCF ; CPU:$C2C6 PRG:02C6 85 CF lda #$E0 ; CPU:$C2C8 PRG:02C8 A9 E0 @@ -908,7 +908,7 @@ Label_C2C1: lda #$00 ; CPU:$C2CC PRG:02CC A9 00 sta ZpD0 ; CPU:$C2CE PRG:02CE 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C2D0 +; Routine: Sub_8764_OnNonzero_C2D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -916,13 +916,13 @@ Label_C2C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2D0: +Sub_8764_OnNonzero_C2D0: lda ZpCA ; CPU:$C2D0 PRG:02D0 A5 CA - bne Label_C2D0 ; CPU:$C2D2 PRG:02D2 D0 FC - sta $4015 ; CPU:$C2D4 PRG:02D4 8D 15 40 + bne Sub_8764_OnNonzero_C2D0 ; CPU:$C2D2 PRG:02D2 D0 FC + sta APUSTATUS ; CPU:$C2D4 PRG:02D4 8D 15 40 rts ; CPU:$C2D7 PRG:02D7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C2D8 +; Routine: SubCC2D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -930,8 +930,8 @@ Label_C2D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2D8: - jsr $C304 ; CPU:$C2D8 PRG:02D8 20 04 C3 +SubCC2D8: + jsr SubCC304 ; CPU:$C2D8 PRG:02D8 20 04 C3 lda #$06 ; CPU:$C2DB PRG:02DB A9 06 sta ZpCD ; CPU:$C2DD PRG:02DD 85 CD lda $C3AC ; CPU:$C2DF PRG:02DF AD AC C3 @@ -940,7 +940,7 @@ Label_C2D8: sta ZpD0 ; CPU:$C2E7 PRG:02E7 85 D0 rts ; CPU:$C2E9 PRG:02E9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C2EA +; Routine: SubCC2EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -948,20 +948,20 @@ Label_C2D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2EA: - jsr $C304 ; CPU:$C2EA PRG:02EA 20 04 C3 +SubCC2EA: + jsr SubCC304 ; CPU:$C2EA PRG:02EA 20 04 C3 dec ZpCA ; CPU:$C2ED PRG:02ED C6 CA lda #$C0 ; CPU:$C2EF PRG:02EF A9 C0 - sta $4000 ; CPU:$C2F1 PRG:02F1 8D 00 40 + sta APUPULSE1CTRL ; CPU:$C2F1 PRG:02F1 8D 00 40 lda #$84 ; CPU:$C2F4 PRG:02F4 A9 84 - sta $4001 ; CPU:$C2F6 PRG:02F6 8D 01 40 + sta APUPULSE1SWEEP ; CPU:$C2F6 PRG:02F6 8D 01 40 lda #$94 ; CPU:$C2F9 PRG:02F9 A9 94 - sta $4005 ; CPU:$C2FB PRG:02FB 8D 05 40 + sta APUPULSE2SWEEP ; CPU:$C2FB PRG:02FB 8D 05 40 lda #$10 ; CPU:$C2FE PRG:02FE A9 10 - sta $4008 ; CPU:$C300 PRG:0300 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$C300 PRG:0300 8D 08 40 rts ; CPU:$C303 PRG:0303 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C304 +; Routine: SubCC304 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -969,11 +969,11 @@ Label_C2EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C304: +SubCC304: lda #$00 ; CPU:$C304 PRG:0304 A9 00 tax ; CPU:$C306 PRG:0306 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C307 +; Routine: Sub_8764_OnNonzero_C307 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -981,11 +981,11 @@ Label_C304: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C307: - sta $4000,x ; CPU:$C307 PRG:0307 9D 00 40 +Sub_8764_OnNonzero_C307: + sta APUPULSE1CTRL,x ; CPU:$C307 PRG:0307 9D 00 40 inx ; CPU:$C30A PRG:030A E8 cpx #$10 ; CPU:$C30B PRG:030B E0 10 - bne Label_C307 ; CPU:$C30D PRG:030D D0 F8 + bne Sub_8764_OnNonzero_C307 ; CPU:$C30D PRG:030D D0 F8 sta ZpCD ; CPU:$C30F PRG:030F 85 CD sta ZpCE ; CPU:$C311 PRG:0311 85 CE sta ZpD0 ; CPU:$C313 PRG:0313 85 D0 @@ -994,13 +994,13 @@ Label_C307: sta ZpCA ; CPU:$C319 PRG:0319 85 CA sta ZpCF ; CPU:$C31B PRG:031B 85 CF lda #$CA ; CPU:$C31D PRG:031D A9 CA - sta $4000 ; CPU:$C31F PRG:031F 8D 00 40 + sta APUPULSE1CTRL ; CPU:$C31F PRG:031F 8D 00 40 lda #$C4 ; CPU:$C322 PRG:0322 A9 C4 - sta $4004 ; CPU:$C324 PRG:0324 8D 04 40 + sta APUPULSE2CTRL ; CPU:$C324 PRG:0324 8D 04 40 lda #$20 ; CPU:$C327 PRG:0327 A9 20 - sta $4008 ; CPU:$C329 PRG:0329 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$C329 PRG:0329 8D 08 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C32C +; Routine: SubCC32C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1008,12 +1008,12 @@ Label_C307: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C32C: +SubCC32C: lda #$0F ; CPU:$C32C PRG:032C A9 0F - sta $4015 ; CPU:$C32E PRG:032E 8D 15 40 + sta APUSTATUS ; CPU:$C32E PRG:032E 8D 15 40 rts ; CPU:$C331 PRG:0331 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C332 +; Routine: SubCC332 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1021,9 +1021,9 @@ Label_C32C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C332: +SubCC332: cmp #$81 ; CPU:$C332 PRG:0332 C9 81 - beq Label_C35B ; CPU:$C334 PRG:0334 F0 25 + beq Sub_8764_OnZero_C35B ; CPU:$C334 PRG:0334 F0 25 pha ; CPU:$C336 PRG:0336 48 and #$0F ; CPU:$C337 PRG:0337 29 0F asl a ; CPU:$C339 PRG:0339 0A @@ -1038,7 +1038,7 @@ Label_C332: sta ZpC6 ; CPU:$C345 PRG:0345 85 C6 lda $C35C,x ; CPU:$C347 PRG:0347 BD 5C C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C34A +; Routine: Sub_8764_OnNonzero_C34A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1046,17 +1046,17 @@ Label_C332: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C34A: +Sub_8764_OnNonzero_C34A: lsr ZpC6 ; CPU:$C34A PRG:034A 46 C6 ror a ; CPU:$C34C PRG:034C 6A dec ZpC5 ; CPU:$C34D PRG:034D C6 C5 - bne Label_C34A ; CPU:$C34F PRG:034F D0 F9 - sta $4002,y ; CPU:$C351 PRG:0351 99 02 40 + bne Sub_8764_OnNonzero_C34A ; CPU:$C34F PRG:034F D0 F9 + sta APUPULSE1TIMERLO,y ; CPU:$C351 PRG:0351 99 02 40 lda ZpC6 ; CPU:$C354 PRG:0354 A5 C6 ora #$20 ; CPU:$C356 PRG:0356 09 20 - sta $4003,y ; CPU:$C358 PRG:0358 99 03 40 + sta APUPULSE1TIMERHI,y ; CPU:$C358 PRG:0358 99 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C35B +; Routine: Sub_8764_OnZero_C35B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1064,7 +1064,7 @@ Label_C34A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C35B: +Sub_8764_OnZero_C35B: rts ; CPU:$C35B PRG:035B 60 ; ---- data $C35C-$C3E1 (134 bytes) ---- ; referenced by `lda $C374,x` at $C1D1 (operand $C374 falls inside this region) @@ -1084,7 +1084,7 @@ Label_C35B: .byte $00, $0A, $09, $0C, $00, $0D, $0F, $00, $0B, $00, $0A, $09, $0B, $0A, $0C, $0B ; CPU:$C3CC PRG:03CC 00 0A 09 0C 00 0D 0F 00 0B 00 0A 09 0B 0A 0C 0B .byte $0D, $0C, $0F, $0E, $0F, $00 ; CPU:$C3DC PRG:03DC 0D 0C 0F 0E 0F 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C3E2 +; Routine: SubCC3E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1092,13 +1092,13 @@ Label_C35B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3E2: +SubCC3E2: lda #$00 ; CPU:$C3E2 PRG:03E2 A9 00 sta $0200 ; CPU:$C3E4 PRG:03E4 8D 00 02 lda #$01 ; CPU:$C3E7 PRG:03E7 A9 01 sta ZpC4 ; CPU:$C3E9 PRG:03E9 85 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C3EB +; Routine: SubCC3EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1106,11 +1106,11 @@ Label_C3E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3EB: - jsr $C407 ; CPU:$C3EB PRG:03EB 20 07 C4 +SubCC3EB: + jsr SubCC407 ; CPU:$C3EB PRG:03EB 20 07 C4 lda #$00 ; CPU:$C3EE PRG:03EE A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C3F0 +; Routine: SubCC3F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1118,11 +1118,11 @@ Label_C3EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3F0: - sta $2001 ; CPU:$C3F0 PRG:03F0 8D 01 20 +SubCC3F0: + sta PPUMASK ; CPU:$C3F0 PRG:03F0 8D 01 20 rts ; CPU:$C3F3 PRG:03F3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C3F4 +; Routine: SubCC3F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1130,17 +1130,17 @@ Label_C3F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3F4: +SubCC3F4: lda #$00 ; CPU:$C3F4 PRG:03F4 A9 00 sta ZpC1 ; CPU:$C3F6 PRG:03F6 85 C1 - sta $2005 ; CPU:$C3F8 PRG:03F8 8D 05 20 + sta PPUSCROLL ; CPU:$C3F8 PRG:03F8 8D 05 20 sta ZpC3 ; CPU:$C3FB PRG:03FB 85 C3 - sta $2005 ; CPU:$C3FD PRG:03FD 8D 05 20 + sta PPUSCROLL ; CPU:$C3FD PRG:03FD 8D 05 20 lda ZpC2 ; CPU:$C400 PRG:0400 A5 C2 and #$FC ; CPU:$C402 PRG:0402 29 FC - jmp $C969 ; CPU:$C404 PRG:0404 4C 69 C9 + jmp SubCC969 ; CPU:$C404 PRG:0404 4C 69 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C407 +; Routine: SubCC407 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1148,11 +1148,11 @@ Label_C3F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C407: - lda $2002 ; CPU:$C407 PRG:0407 AD 02 20 - bmi Label_C407 ; CPU:$C40A PRG:040A 30 FB +SubCC407: + lda PPUSTATUS ; CPU:$C407 PRG:0407 AD 02 20 + bmi SubCC407 ; CPU:$C40A PRG:040A 30 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C40C +; Routine: Sub_8764_OnNonnegative_C40C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1160,12 +1160,12 @@ Label_C407: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C40C: - lda $2002 ; CPU:$C40C PRG:040C AD 02 20 - bpl Label_C40C ; CPU:$C40F PRG:040F 10 FB +Sub_8764_OnNonnegative_C40C: + lda PPUSTATUS ; CPU:$C40C PRG:040C AD 02 20 + bpl Sub_8764_OnNonnegative_C40C ; CPU:$C40F PRG:040F 10 FB rts ; CPU:$C411 PRG:0411 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C412 +; Routine: SubCC412 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1173,14 +1173,14 @@ Label_C40C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C412: +SubCC412: inc ZpEA ; CPU:$C412 PRG:0412 E6 EA dec ZpEB ; CPU:$C414 PRG:0414 C6 EB - bne Label_C41C ; CPU:$C416 PRG:0416 D0 04 + bne Sub_8764_OnNonzero_C41C ; CPU:$C416 PRG:0416 D0 04 lda #$75 ; CPU:$C418 PRG:0418 A9 75 sta ZpEB ; CPU:$C41A PRG:041A 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_C41C +; Routine: Sub_8764_OnNonzero_C41C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1188,14 +1188,14 @@ Label_C412: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C41C: +Sub_8764_OnNonzero_C41C: lda ZpEA ; CPU:$C41C PRG:041C A5 EA cmp #$77 ; CPU:$C41E PRG:041E C9 77 - bne Label_C426 ; CPU:$C420 PRG:0420 D0 04 + bne Sub_8764_OnNonzero_C426 ; CPU:$C420 PRG:0420 D0 04 lda #$01 ; CPU:$C422 PRG:0422 A9 01 sta ZpEA ; CPU:$C424 PRG:0424 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_C426 +; Routine: Sub_8764_OnNonzero_C426 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1203,7 +1203,7 @@ Label_C41C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C426: +Sub_8764_OnNonzero_C426: eor ZpEB ; CPU:$C426 PRG:0426 45 EB asl a ; CPU:$C428 PRG:0428 0A php ; CPU:$C429 PRG:0429 08 @@ -1226,7 +1226,7 @@ Label_C426: adc Zp50 ; CPU:$C43F PRG:043F 65 50 rts ; CPU:$C441 PRG:0441 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C442 +; Routine: SubCC442 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1234,11 +1234,11 @@ Label_C426: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C442: - jsr $C3E2 ; CPU:$C442 PRG:0442 20 E2 C3 +SubCC442: + jsr SubCC3E2 ; CPU:$C442 PRG:0442 20 E2 C3 lda #$AA ; CPU:$C445 PRG:0445 A9 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C447 +; Routine: SubCC447 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1246,11 +1246,11 @@ Label_C442: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C447: +SubCC447: ldx #$0F ; CPU:$C447 PRG:0447 A2 0F ldy #$00 ; CPU:$C449 PRG:0449 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C44B +; Routine: SubCC44B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1258,18 +1258,18 @@ Label_C447: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C44B: +SubCC44B: sta Zp00 ; CPU:$C44B PRG:044B 85 00 stx ZpB9 ; CPU:$C44D PRG:044D 86 B9 - jsr $C48E ; CPU:$C44F PRG:044F 20 8E C4 + jsr SubCC48E ; CPU:$C44F PRG:044F 20 8E C4 dey ; CPU:$C452 PRG:0452 88 - beq Label_C45F ; CPU:$C453 PRG:0453 F0 0A + beq Sub_8764_OnZero_C45F ; CPU:$C453 PRG:0453 F0 0A ldx #$20 ; CPU:$C455 PRG:0455 A2 20 - jsr $C46D ; CPU:$C457 PRG:0457 20 6D C4 + jsr SubCC46D ; CPU:$C457 PRG:0457 20 6D C4 ldx #$24 ; CPU:$C45A PRG:045A A2 24 - jsr $C46D ; CPU:$C45C PRG:045C 20 6D C4 + jsr SubCC46D ; CPU:$C45C PRG:045C 20 6D C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C45F +; Routine: Sub_8764_OnZero_C45F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1277,11 +1277,11 @@ Label_C44B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C45F: +Sub_8764_OnZero_C45F: ldx #$00 ; CPU:$C45F PRG:045F A2 00 ldy #$00 ; CPU:$C461 PRG:0461 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C463 +; Routine: SubCC463 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1289,15 +1289,15 @@ Label_C45F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C463: +SubCC463: lda #$F8 ; CPU:$C463 PRG:0463 A9 F8 sta $0700,x ; CPU:$C465 PRG:0465 9D 00 07 inx ; CPU:$C468 PRG:0468 E8 dey ; CPU:$C469 PRG:0469 88 - bne Label_C463 ; CPU:$C46A PRG:046A D0 F7 + bne SubCC463 ; CPU:$C46A PRG:046A D0 F7 rts ; CPU:$C46C PRG:046C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C46D +; Routine: SubCC46D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1305,19 +1305,19 @@ Label_C463: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C46D: - stx $2006 ; CPU:$C46D PRG:046D 8E 06 20 +SubCC46D: + stx PPUADDR ; CPU:$C46D PRG:046D 8E 06 20 lda #$00 ; CPU:$C470 PRG:0470 A9 00 - sta $2006 ; CPU:$C472 PRG:0472 8D 06 20 + sta PPUADDR ; CPU:$C472 PRG:0472 8D 06 20 ldx #$C0 ; CPU:$C475 PRG:0475 A2 C0 ldy #$04 ; CPU:$C477 PRG:0477 A0 04 lda #$80 ; CPU:$C479 PRG:0479 A9 80 - jsr $C484 ; CPU:$C47B PRG:047B 20 84 C4 + jsr SubCC484 ; CPU:$C47B PRG:047B 20 84 C4 ldx #$40 ; CPU:$C47E PRG:047E A2 40 ldy #$01 ; CPU:$C480 PRG:0480 A0 01 lda Zp00 ; CPU:$C482 PRG:0482 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C484 +; Routine: SubCC484 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1325,15 +1325,15 @@ Label_C46D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C484: - jsr $C006 ; CPU:$C484 PRG:0484 20 06 C0 +SubCC484: + jsr SubCC006 ; CPU:$C484 PRG:0484 20 06 C0 dex ; CPU:$C487 PRG:0487 CA - bne Label_C484 ; CPU:$C488 PRG:0488 D0 FA + bne SubCC484 ; CPU:$C488 PRG:0488 D0 FA dey ; CPU:$C48A PRG:048A 88 - bne Label_C484 ; CPU:$C48B PRG:048B D0 F7 + bne SubCC484 ; CPU:$C48B PRG:048B D0 F7 rts ; CPU:$C48D PRG:048D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C48E +; Routine: SubCC48E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1341,14 +1341,14 @@ Label_C484: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C48E: +SubCC48E: lda #$3F ; CPU:$C48E PRG:048E A9 3F - sta $2006 ; CPU:$C490 PRG:0490 8D 06 20 + sta PPUADDR ; CPU:$C490 PRG:0490 8D 06 20 ldx #$00 ; CPU:$C493 PRG:0493 A2 00 - stx $2006 ; CPU:$C495 PRG:0495 8E 06 20 + stx PPUADDR ; CPU:$C495 PRG:0495 8E 06 20 ldx #$00 ; CPU:$C498 PRG:0498 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C49A +; Routine: Sub_8764_OnNonzero_C49A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1356,12 +1356,12 @@ Label_C48E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C49A: +Sub_8764_OnNonzero_C49A: lda ZpB9 ; CPU:$C49A PRG:049A A5 B9 - jsr $C006 ; CPU:$C49C PRG:049C 20 06 C0 + jsr SubCC006 ; CPU:$C49C PRG:049C 20 06 C0 ldy #$03 ; CPU:$C49F PRG:049F A0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C4A1 +; Routine: Sub_8764_OnNonzero_C4A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1369,19 +1369,19 @@ Label_C49A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4A1: +Sub_8764_OnNonzero_C4A1: cpx #$03 ; CPU:$C4A1 PRG:04A1 E0 03 - bne Label_C4C3 ; CPU:$C4A3 PRG:04A3 D0 1E + bne Sub_8764_OnNonzero_C4C3 ; CPU:$C4A3 PRG:04A3 D0 1E lda ZpD6 ; CPU:$C4A5 PRG:04A5 A5 D6 cmp #$02 ; CPU:$C4A7 PRG:04A7 C9 02 - bne Label_C4D6 ; CPU:$C4A9 PRG:04A9 D0 2B + bne Sub_8764_OnNonzero_C4D6 ; CPU:$C4A9 PRG:04A9 D0 2B inc $06E7 ; CPU:$C4AB PRG:04AB EE E7 06 lda $06E7 ; CPU:$C4AE PRG:04AE AD E7 06 and #$0F ; CPU:$C4B1 PRG:04B1 29 0F - bne Label_C4B7 ; CPU:$C4B3 PRG:04B3 D0 02 + bne Sub_8764_OnNonzero_C4B7 ; CPU:$C4B3 PRG:04B3 D0 02 inc ZpE2 ; CPU:$C4B5 PRG:04B5 E6 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_C4B7 +; Routine: Sub_8764_OnNonzero_C4B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1389,15 +1389,15 @@ Label_C4A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4B7: +Sub_8764_OnNonzero_C4B7: lda ZpE2 ; CPU:$C4B7 PRG:04B7 A5 E2 and #$03 ; CPU:$C4B9 PRG:04B9 29 03 tax ; CPU:$C4BB PRG:04BB AA lda $C02E,x ; CPU:$C4BC PRG:04BC BD 2E C0 ldx #$03 ; CPU:$C4BF PRG:04BF A2 03 - bne Label_C4D9 ; CPU:$C4C1 PRG:04C1 D0 16 + bne Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4C1 PRG:04C1 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_C4C3 +; Routine: Sub_8764_OnNonzero_C4C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1405,15 +1405,15 @@ Label_C4B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4C3: +Sub_8764_OnNonzero_C4C3: cpx #$04 ; CPU:$C4C3 PRG:04C3 E0 04 - bne Label_C4D0 ; CPU:$C4C5 PRG:04C5 D0 09 + bne Sub_8764_OnNonzero_C4D0 ; CPU:$C4C5 PRG:04C5 D0 09 ldx ZpD6 ; CPU:$C4C7 PRG:04C7 A6 D6 lda $C022,x ; CPU:$C4C9 PRG:04C9 BD 22 C0 ldx #$04 ; CPU:$C4CC PRG:04CC A2 04 - bne Label_C4D9 ; CPU:$C4CE PRG:04CE D0 09 + bne Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4CE PRG:04CE D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D0 +; Routine: Sub_8764_OnNonzero_C4D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1421,12 +1421,12 @@ Label_C4C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D0: +Sub_8764_OnNonzero_C4D0: lda ZpDB ; CPU:$C4D0 PRG:04D0 A5 DB cpx #$17 ; CPU:$C4D2 PRG:04D2 E0 17 - beq Label_C4D9 ; CPU:$C4D4 PRG:04D4 F0 03 + beq Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4D4 PRG:04D4 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D6 +; Routine: Sub_8764_OnNonzero_C4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1434,10 +1434,10 @@ Label_C4D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D6: +Sub_8764_OnNonzero_C4D6: lda $C00A,x ; CPU:$C4D6 PRG:04D6 BD 0A C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D9 +; Routine: Sub_8764_JoinBranchPaths_C4D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1445,15 +1445,15 @@ Label_C4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D9: - jsr $C006 ; CPU:$C4D9 PRG:04D9 20 06 C0 +Sub_8764_JoinBranchPaths_C4D9: + jsr SubCC006 ; CPU:$C4D9 PRG:04D9 20 06 C0 inx ; CPU:$C4DC PRG:04DC E8 dey ; CPU:$C4DD PRG:04DD 88 - bne Label_C4A1 ; CPU:$C4DE PRG:04DE D0 C1 + bne Sub_8764_OnNonzero_C4A1 ; CPU:$C4DE PRG:04DE D0 C1 cpx #$18 ; CPU:$C4E0 PRG:04E0 E0 18 - bne Label_C49A ; CPU:$C4E2 PRG:04E2 D0 B6 + bne Sub_8764_OnNonzero_C49A ; CPU:$C4E2 PRG:04E2 D0 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_C4E4 +; Routine: SubCC4E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1461,16 +1461,16 @@ Label_C4D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4E4: +SubCC4E4: lda #$3F ; CPU:$C4E4 PRG:04E4 A9 3F - sta $2006 ; CPU:$C4E6 PRG:04E6 8D 06 20 + sta PPUADDR ; CPU:$C4E6 PRG:04E6 8D 06 20 lda #$00 ; CPU:$C4E9 PRG:04E9 A9 00 - sta $2006 ; CPU:$C4EB PRG:04EB 8D 06 20 - sta $2006 ; CPU:$C4EE PRG:04EE 8D 06 20 - sta $2006 ; CPU:$C4F1 PRG:04F1 8D 06 20 + sta PPUADDR ; CPU:$C4EB PRG:04EB 8D 06 20 + sta PPUADDR ; CPU:$C4EE PRG:04EE 8D 06 20 + sta PPUADDR ; CPU:$C4F1 PRG:04F1 8D 06 20 rts ; CPU:$C4F4 PRG:04F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F5 +; Routine: SubCC4F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1478,11 +1478,11 @@ Label_C4E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F5: +SubCC4F5: lda #$01 ; CPU:$C4F5 PRG:04F5 A9 01 - bne Label_C51D ; CPU:$C4F7 PRG:04F7 D0 24 + bne Sub_8764_OnNonzero_C51D ; CPU:$C4F7 PRG:04F7 D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F9 +; Routine: SubCC4F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1490,7 +1490,7 @@ Label_C4F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F9: +SubCC4F9: clc ; CPU:$C4F9 PRG:04F9 18 adc $02EF,y ; CPU:$C4FA PRG:04FA 79 EF 02 sta $02F0 ; CPU:$C4FD PRG:04FD 8D F0 02 @@ -1500,7 +1500,7 @@ Label_C4F9: lda #$7D ; CPU:$C508 PRG:0508 A9 7D sta $043D ; CPU:$C50A PRG:050A 8D 3D 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C50D +; Routine: SubCC50D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1508,13 +1508,13 @@ Label_C4F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C50D: +SubCC50D: lda #$05 ; CPU:$C50D PRG:050D A9 05 - bne Label_C51D ; CPU:$C50F PRG:050F D0 0C + bne Sub_8764_OnNonzero_C51D ; CPU:$C50F PRG:050F D0 0C lda #$08 ; CPU:$C511 PRG:0511 A9 08 - bne Label_C523 ; CPU:$C513 PRG:0513 D0 0E + bne Sub_8764_OnNonzero_C523 ; CPU:$C513 PRG:0513 D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_C515 +; Routine: SubCC515 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1522,13 +1522,13 @@ Label_C50D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C515: +SubCC515: lda ZpCA ; CPU:$C515 PRG:0515 A5 CA - bne Label_C51D ; CPU:$C517 PRG:0517 D0 04 + bne Sub_8764_OnNonzero_C51D ; CPU:$C517 PRG:0517 D0 04 lda #$0A ; CPU:$C519 PRG:0519 A9 0A sta ZpD0 ; CPU:$C51B PRG:051B 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C51D +; Routine: Sub_8764_OnNonzero_C51D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1536,13 +1536,13 @@ Label_C515: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C51D: +Sub_8764_OnNonzero_C51D: pha ; CPU:$C51D PRG:051D 48 lda #$0A ; CPU:$C51E PRG:051E A9 0A sta Zp55 ; CPU:$C520 PRG:0520 85 55 pla ; CPU:$C522 PRG:0522 68 ; ----------------------------------------------------------------------------- -; Routine: Label_C523 +; Routine: Sub_8764_OnNonzero_C523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1550,18 +1550,18 @@ Label_C51D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C523: +Sub_8764_OnNonzero_C523: sta Zp01 ; CPU:$C523 PRG:0523 85 01 stx Zp02 ; CPU:$C525 PRG:0525 86 02 ldx ZpD0 ; CPU:$C527 PRG:0527 A6 D0 lda $C3CC,x ; CPU:$C529 PRG:0529 BD CC C3 - bne Label_C536 ; CPU:$C52C PRG:052C D0 08 + bne Sub_8764_OnNonzero_C536 ; CPU:$C52C PRG:052C D0 08 lda ZpCA ; CPU:$C52E PRG:052E A5 CA - bne Label_C536 ; CPU:$C530 PRG:0530 D0 04 + bne Sub_8764_OnNonzero_C536 ; CPU:$C530 PRG:0530 D0 04 lda Zp01 ; CPU:$C532 PRG:0532 A5 01 sta ZpD0 ; CPU:$C534 PRG:0534 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C536 +; Routine: Sub_8764_OnNonzero_C536 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1569,10 +1569,10 @@ Label_C523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C536: +Sub_8764_OnNonzero_C536: ldx Zp02 ; CPU:$C536 PRG:0536 A6 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C538 +; Routine: Sub_8764_OnZero_C538 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1580,10 +1580,10 @@ Label_C536: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C538: +Sub_8764_OnZero_C538: rts ; CPU:$C538 PRG:0538 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C539 +; Routine: SubCC539 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1591,12 +1591,12 @@ Label_C538: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C539: +SubCC539: inc Zp4E ; CPU:$C539 PRG:0539 E6 4E - bne Label_C53F ; CPU:$C53B PRG:053B D0 02 + bne SubCC53F ; CPU:$C53B PRG:053B D0 02 inc Zp4F ; CPU:$C53D PRG:053D E6 4F ; ----------------------------------------------------------------------------- -; Routine: Label_C53F +; Routine: SubCC53F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1604,14 +1604,14 @@ Label_C539: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C53F: +SubCC53F: ldy #$00 ; CPU:$C53F PRG:053F A0 00 lda (Zp4E),y ; CPU:$C541 PRG:0541 B1 4E - beq Label_C538 ; CPU:$C543 PRG:0543 F0 F3 - bmi Label_C54D ; CPU:$C545 PRG:0545 30 06 - jsr $C006 ; CPU:$C547 PRG:0547 20 06 C0 + beq Sub_8764_OnZero_C538 ; CPU:$C543 PRG:0543 F0 F3 + bmi Sub_8764_OnNegative_C54D ; CPU:$C545 PRG:0545 30 06 + jsr SubCC006 ; CPU:$C547 PRG:0547 20 06 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C54A +; Routine: Sub_8764_OnZero_C54A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1619,10 +1619,10 @@ Label_C53F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C54A: - jmp $C539 ; CPU:$C54A PRG:054A 4C 39 C5 +Sub_8764_OnZero_C54A: + jmp SubCC539 ; CPU:$C54A PRG:054A 4C 39 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C54D +; Routine: Sub_8764_OnNegative_C54D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1630,12 +1630,12 @@ Label_C54A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C54D: +Sub_8764_OnNegative_C54D: and #$7F ; CPU:$C54D PRG:054D 29 7F tay ; CPU:$C54F PRG:054F A8 lda #$80 ; CPU:$C550 PRG:0550 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_C552 +; Routine: Sub_8764_OnNonzero_C552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1643,13 +1643,13 @@ Label_C54D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C552: - jsr $C006 ; CPU:$C552 PRG:0552 20 06 C0 +Sub_8764_OnNonzero_C552: + jsr SubCC006 ; CPU:$C552 PRG:0552 20 06 C0 dey ; CPU:$C555 PRG:0555 88 - bne Label_C552 ; CPU:$C556 PRG:0556 D0 FA - beq Label_C54A ; CPU:$C558 PRG:0558 F0 F0 + bne Sub_8764_OnNonzero_C552 ; CPU:$C556 PRG:0556 D0 FA + beq Sub_8764_OnZero_C54A ; CPU:$C558 PRG:0558 F0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_C55A +; Routine: SubCC55A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1657,15 +1657,15 @@ Label_C552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C55A: - jsr $C5A1 ; CPU:$C55A PRG:055A 20 A1 C5 +SubCC55A: + jsr SubCC5A1 ; CPU:$C55A PRG:055A 20 A1 C5 asl a ; CPU:$C55D PRG:055D 0A asl a ; CPU:$C55E PRG:055E 0A tax ; CPU:$C55F PRG:055F AA lda #$F8 ; CPU:$C560 PRG:0560 A9 F8 ldy #$04 ; CPU:$C562 PRG:0562 A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C564 +; Routine: Sub_8764_OnNonzero_C564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1673,14 +1673,14 @@ Label_C55A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C564: +Sub_8764_OnNonzero_C564: sta $0700,x ; CPU:$C564 PRG:0564 9D 00 07 inx ; CPU:$C567 PRG:0567 E8 dey ; CPU:$C568 PRG:0568 88 - bne Label_C564 ; CPU:$C569 PRG:0569 D0 F9 - beq Label_C59C ; CPU:$C56B PRG:056B F0 2F + bne Sub_8764_OnNonzero_C564 ; CPU:$C569 PRG:0569 D0 F9 + beq SubCC59C ; CPU:$C56B PRG:056B F0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_C56D +; Routine: SubCC56D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1688,7 +1688,7 @@ Label_C564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C56D: +SubCC56D: stx Zp52 ; CPU:$C56D PRG:056D 86 52 asl a ; CPU:$C56F PRG:056F 0A asl a ; CPU:$C570 PRG:0570 0A @@ -1704,7 +1704,7 @@ Label_C56D: ldx Zp52 ; CPU:$C586 PRG:0586 A6 52 rts ; CPU:$C588 PRG:0588 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C589 +; Routine: SubCC589 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1712,8 +1712,8 @@ Label_C56D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C589: - jsr $C5A1 ; CPU:$C589 PRG:0589 20 A1 C5 +SubCC589: + jsr SubCC5A1 ; CPU:$C589 PRG:0589 20 A1 C5 asl a ; CPU:$C58C PRG:058C 0A asl a ; CPU:$C58D PRG:058D 0A asl a ; CPU:$C58E PRG:058E 0A @@ -1722,7 +1722,7 @@ Label_C589: lda #$F8 ; CPU:$C591 PRG:0591 A9 F8 ldy #$10 ; CPU:$C593 PRG:0593 A0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C595 +; Routine: Sub_8764_OnNonzero_C595 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1730,13 +1730,13 @@ Label_C589: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C595: +Sub_8764_OnNonzero_C595: sta $0700,x ; CPU:$C595 PRG:0595 9D 00 07 inx ; CPU:$C598 PRG:0598 E8 dey ; CPU:$C599 PRG:0599 88 - bne Label_C595 ; CPU:$C59A PRG:059A D0 F9 + bne Sub_8764_OnNonzero_C595 ; CPU:$C59A PRG:059A D0 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_C59C +; Routine: SubCC59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1744,12 +1744,12 @@ Label_C595: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C59C: +SubCC59C: ldx Zp52 ; CPU:$C59C PRG:059C A6 52 ldy Zp53 ; CPU:$C59E PRG:059E A4 53 rts ; CPU:$C5A0 PRG:05A0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A1 +; Routine: SubCC5A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1757,12 +1757,12 @@ Label_C59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A1: +SubCC5A1: stx Zp52 ; CPU:$C5A1 PRG:05A1 86 52 sty Zp53 ; CPU:$C5A3 PRG:05A3 84 53 rts ; CPU:$C5A5 PRG:05A5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A6 +; Routine: SubCC5A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1770,8 +1770,8 @@ Label_C5A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A6: - jsr $C5A1 ; CPU:$C5A6 PRG:05A6 20 A1 C5 +SubCC5A6: + jsr SubCC5A1 ; CPU:$C5A6 PRG:05A6 20 A1 C5 asl a ; CPU:$C5A9 PRG:05A9 0A asl a ; CPU:$C5AA PRG:05AA 0A asl a ; CPU:$C5AB PRG:05AB 0A @@ -1779,7 +1779,7 @@ Label_C5A6: tax ; CPU:$C5AD PRG:05AD AA ldy #$00 ; CPU:$C5AE PRG:05AE A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5B0 +; Routine: Sub_8764_OnNonzero_C5B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1787,21 +1787,21 @@ Label_C5A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5B0: - jsr $C5FD ; CPU:$C5B0 PRG:05B0 20 FD C5 - jsr $C607 ; CPU:$C5B3 PRG:05B3 20 07 C6 - jsr $C611 ; CPU:$C5B6 PRG:05B6 20 11 C6 - jsr $C61B ; CPU:$C5B9 PRG:05B9 20 1B C6 +Sub_8764_OnNonzero_C5B0: + jsr SubCC5FD ; CPU:$C5B0 PRG:05B0 20 FD C5 + jsr SubCC607 ; CPU:$C5B3 PRG:05B3 20 07 C6 + jsr SubCC611 ; CPU:$C5B6 PRG:05B6 20 11 C6 + jsr SubCC61B ; CPU:$C5B9 PRG:05B9 20 1B C6 inx ; CPU:$C5BC PRG:05BC E8 inx ; CPU:$C5BD PRG:05BD E8 inx ; CPU:$C5BE PRG:05BE E8 inx ; CPU:$C5BF PRG:05BF E8 iny ; CPU:$C5C0 PRG:05C0 C8 cpy #$04 ; CPU:$C5C1 PRG:05C1 C0 04 - bne Label_C5B0 ; CPU:$C5C3 PRG:05C3 D0 EB - beq Label_C59C ; CPU:$C5C5 PRG:05C5 F0 D5 + bne Sub_8764_OnNonzero_C5B0 ; CPU:$C5C3 PRG:05C3 D0 EB + beq SubCC59C ; CPU:$C5C5 PRG:05C5 F0 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C5C7 +; Routine: SubCC5C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1809,8 +1809,8 @@ Label_C5B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5C7: - jsr $C5A1 ; CPU:$C5C7 PRG:05C7 20 A1 C5 +SubCC5C7: + jsr SubCC5A1 ; CPU:$C5C7 PRG:05C7 20 A1 C5 asl a ; CPU:$C5CA PRG:05CA 0A asl a ; CPU:$C5CB PRG:05CB 0A asl a ; CPU:$C5CC PRG:05CC 0A @@ -1825,7 +1825,7 @@ Label_C5C7: lda #$04 ; CPU:$C5D9 PRG:05D9 A9 04 sta Zp01 ; CPU:$C5DB PRG:05DB 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C5DD +; Routine: Sub_8764_OnNonzero_C5DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1833,14 +1833,14 @@ Label_C5C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5DD: +Sub_8764_OnNonzero_C5DD: ldy Zp02 ; CPU:$C5DD PRG:05DD A4 02 - jsr $C5FD ; CPU:$C5DF PRG:05DF 20 FD C5 - jsr $C61B ; CPU:$C5E2 PRG:05E2 20 1B C6 + jsr SubCC5FD ; CPU:$C5DF PRG:05DF 20 FD C5 + jsr SubCC61B ; CPU:$C5E2 PRG:05E2 20 1B C6 ldy Zp4C ; CPU:$C5E5 PRG:05E5 A4 4C - jsr $C611 ; CPU:$C5E7 PRG:05E7 20 11 C6 + jsr SubCC611 ; CPU:$C5E7 PRG:05E7 20 11 C6 ldy Zp00 ; CPU:$C5EA PRG:05EA A4 00 - jsr $C607 ; CPU:$C5EC PRG:05EC 20 07 C6 + jsr SubCC607 ; CPU:$C5EC PRG:05EC 20 07 C6 inx ; CPU:$C5EF PRG:05EF E8 inx ; CPU:$C5F0 PRG:05F0 E8 inx ; CPU:$C5F1 PRG:05F1 E8 @@ -1848,10 +1848,10 @@ Label_C5DD: inc Zp00 ; CPU:$C5F3 PRG:05F3 E6 00 inc Zp02 ; CPU:$C5F5 PRG:05F5 E6 02 dec Zp01 ; CPU:$C5F7 PRG:05F7 C6 01 - bne Label_C5DD ; CPU:$C5F9 PRG:05F9 D0 E2 - beq Label_C59C ; CPU:$C5FB PRG:05FB F0 9F + bne Sub_8764_OnNonzero_C5DD ; CPU:$C5F9 PRG:05F9 D0 E2 + beq SubCC59C ; CPU:$C5FB PRG:05FB F0 9F ; ----------------------------------------------------------------------------- -; Routine: Label_C5FD +; Routine: SubCC5FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1859,14 +1859,14 @@ Label_C5DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5FD: +SubCC5FD: lda Zp4A ; CPU:$C5FD PRG:05FD A5 4A clc ; CPU:$C5FF PRG:05FF 18 adc $C629,y ; CPU:$C600 PRG:0600 79 29 C6 sta $0700,x ; CPU:$C603 PRG:0603 9D 00 07 rts ; CPU:$C606 PRG:0606 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C607 +; Routine: SubCC607 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1874,14 +1874,14 @@ Label_C5FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C607: +SubCC607: lda Zp4B ; CPU:$C607 PRG:0607 A5 4B clc ; CPU:$C609 PRG:0609 18 adc $C63D,y ; CPU:$C60A PRG:060A 79 3D C6 sta $0701,x ; CPU:$C60D PRG:060D 9D 01 07 rts ; CPU:$C610 PRG:0610 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C611 +; Routine: SubCC611 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1889,14 +1889,14 @@ Label_C607: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C611: +SubCC611: lda Zp4D ; CPU:$C611 PRG:0611 A5 4D clc ; CPU:$C613 PRG:0613 18 adc $C62D,y ; CPU:$C614 PRG:0614 79 2D C6 sta $0702,x ; CPU:$C617 PRG:0617 9D 02 07 rts ; CPU:$C61A PRG:061A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C61B +; Routine: SubCC61B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1904,7 +1904,7 @@ Label_C611: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C61B: +SubCC61B: lda Zp49 ; CPU:$C61B PRG:061B A5 49 clc ; CPU:$C61D PRG:061D 18 adc $C625,y ; CPU:$C61E PRG:061E 79 25 C6 @@ -1928,7 +1928,7 @@ Label_C61B: .byte $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F, $7F ; CPU:$C6C5 PRG:06C5 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F .byte $7F, $7F, $7F, $7F, $91, $00, $62, $79, $7F, $6B, $69, $6B, $75, $00 ; CPU:$C6D5 PRG:06D5 7F 7F 7F 7F 91 00 62 79 7F 6B 69 6B 75 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6E3 +; Routine: ResetEntry ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1936,12 +1936,12 @@ Label_C61B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6E3: +ResetEntry: lda #$10 ; CPU:$C6E3 PRG:06E3 A9 10 - sta $2000 ; CPU:$C6E5 PRG:06E5 8D 00 20 + sta PPUCTRL ; CPU:$C6E5 PRG:06E5 8D 00 20 sta ZpC2 ; CPU:$C6E8 PRG:06E8 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C6EA +; Routine: Sub_8764_OnNonnegative_C6EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1949,16 +1949,16 @@ Label_C6E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6EA: +Sub_8764_OnNonnegative_C6EA: inc ZpEA ; CPU:$C6EA PRG:06EA E6 EA - lda $2002 ; CPU:$C6EC PRG:06EC AD 02 20 - bpl Label_C6EA ; CPU:$C6EF PRG:06EF 10 F9 + lda PPUSTATUS ; CPU:$C6EC PRG:06EC AD 02 20 + bpl Sub_8764_OnNonnegative_C6EA ; CPU:$C6EF PRG:06EF 10 F9 ldx #$FF ; CPU:$C6F1 PRG:06F1 A2 FF txs ; CPU:$C6F3 PRG:06F3 9A inx ; CPU:$C6F4 PRG:06F4 E8 txa ; CPU:$C6F5 PRG:06F5 8A ; ----------------------------------------------------------------------------- -; Routine: Label_C6F6 +; Routine: Sub_8764_OnNonzero_C6F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1966,20 +1966,20 @@ Label_C6EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F6: +Sub_8764_OnNonzero_C6F6: sta Zp00,x ; CPU:$C6F6 PRG:06F6 95 00 inx ; CPU:$C6F8 PRG:06F8 E8 cpx #$EA ; CPU:$C6F9 PRG:06F9 E0 EA - bne Label_C6F6 ; CPU:$C6FB PRG:06FB D0 F9 - jsr $C98E ; CPU:$C6FD PRG:06FD 20 8E C9 + bne Sub_8764_OnNonzero_C6F6 ; CPU:$C6FB PRG:06FB D0 F9 + jsr SubCC98E ; CPU:$C6FD PRG:06FD 20 8E C9 lda $026D ; CPU:$C700 PRG:0700 AD 6D 02 ora $0273 ; CPU:$C703 PRG:0703 0D 73 02 cmp #$23 ; CPU:$C706 PRG:0706 C9 23 - beq Label_C719 ; CPU:$C708 PRG:0708 F0 0F + beq SubCC719 ; CPU:$C708 PRG:0708 F0 0F lda #$23 ; CPU:$C70A PRG:070A A9 23 ldx #$0B ; CPU:$C70C PRG:070C A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_C70E +; Routine: Sub_8764_OnNonnegative_C70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1987,14 +1987,14 @@ Label_C6F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C70E: +Sub_8764_OnNonnegative_C70E: sta $0268,x ; CPU:$C70E PRG:070E 9D 68 02 dex ; CPU:$C711 PRG:0711 CA - bpl Label_C70E ; CPU:$C712 PRG:0712 10 FA + bpl Sub_8764_OnNonnegative_C70E ; CPU:$C712 PRG:0712 10 FA lda #$25 ; CPU:$C714 PRG:0714 A9 25 sta $026F ; CPU:$C716 PRG:0716 8D 6F 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C719 +; Routine: SubCC719 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2002,14 +2002,14 @@ Label_C70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C719: +SubCC719: ldx #$FF ; CPU:$C719 PRG:0719 A2 FF txs ; CPU:$C71B PRG:071B 9A - jsr $C98E ; CPU:$C71C PRG:071C 20 8E C9 + jsr SubCC98E ; CPU:$C71C PRG:071C 20 8E C9 lda #$01 ; CPU:$C71F PRG:071F A9 01 ldx #$06 ; CPU:$C721 PRG:0721 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C723 +; Routine: Sub_8764_OnNonnegative_C723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2017,13 +2017,13 @@ Label_C719: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C723: +Sub_8764_OnNonnegative_C723: sta ZpE3,x ; CPU:$C723 PRG:0723 95 E3 dex ; CPU:$C725 PRG:0725 CA - bpl Label_C723 ; CPU:$C726 PRG:0726 10 FB + bpl Sub_8764_OnNonnegative_C723 ; CPU:$C726 PRG:0726 10 FB ldx #$29 ; CPU:$C728 PRG:0728 A2 29 ; ----------------------------------------------------------------------------- -; Routine: Label_C72A +; Routine: Sub_8764_OnNonnegative_C72A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2031,21 +2031,21 @@ Label_C723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C72A: +Sub_8764_OnNonnegative_C72A: lda $DADD,x ; CPU:$C72A PRG:072A BD DD DA sta $06AD,x ; CPU:$C72D PRG:072D 9D AD 06 dex ; CPU:$C730 PRG:0730 CA - bpl Label_C72A ; CPU:$C731 PRG:0731 10 F7 - jsr $C3E2 ; CPU:$C733 PRG:0733 20 E2 C3 + bpl Sub_8764_OnNonnegative_C72A ; CPU:$C731 PRG:0731 10 F7 + jsr SubCC3E2 ; CPU:$C733 PRG:0733 20 E2 C3 lda #$00 ; CPU:$C736 PRG:0736 A9 00 - jsr $C447 ; CPU:$C738 PRG:0738 20 47 C4 + jsr SubCC447 ; CPU:$C738 PRG:0738 20 47 C4 lda #$20 ; CPU:$C73B PRG:073B A9 20 - sta $2006 ; CPU:$C73D PRG:073D 8D 06 20 + sta PPUADDR ; CPU:$C73D PRG:073D 8D 06 20 ldx #$C8 ; CPU:$C740 PRG:0740 A2 C8 - stx $2006 ; CPU:$C742 PRG:0742 8E 06 20 + stx PPUADDR ; CPU:$C742 PRG:0742 8E 06 20 ldy #$00 ; CPU:$C745 PRG:0745 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C747 +; Routine: Sub_8764_OnNonzero_C747 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2053,10 +2053,10 @@ Label_C72A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C747: +Sub_8764_OnNonzero_C747: ldx #$10 ; CPU:$C747 PRG:0747 A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C749 +; Routine: Sub_8764_OnNonzero_C749 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2064,19 +2064,19 @@ Label_C747: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C749: +Sub_8764_OnNonzero_C749: tya ; CPU:$C749 PRG:0749 98 - jsr $C006 ; CPU:$C74A PRG:074A 20 06 C0 + jsr SubCC006 ; CPU:$C74A PRG:074A 20 06 C0 iny ; CPU:$C74D PRG:074D C8 dex ; CPU:$C74E PRG:074E CA - bne Label_C749 ; CPU:$C74F PRG:074F D0 F8 + bne Sub_8764_OnNonzero_C749 ; CPU:$C74F PRG:074F D0 F8 tya ; CPU:$C751 PRG:0751 98 and #$10 ; CPU:$C752 PRG:0752 29 10 - bne Label_C75A ; CPU:$C754 PRG:0754 D0 04 + bne Sub_8764_OnNonzero_C75A ; CPU:$C754 PRG:0754 D0 04 ldx #$30 ; CPU:$C756 PRG:0756 A2 30 - bne Label_C75C ; CPU:$C758 PRG:0758 D0 02 + bne Sub_8764_OnNonzero_C75C ; CPU:$C758 PRG:0758 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C75A +; Routine: Sub_8764_OnNonzero_C75A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2084,10 +2084,10 @@ Label_C749: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75A: +Sub_8764_OnNonzero_C75A: ldx #$10 ; CPU:$C75A PRG:075A A2 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C75C +; Routine: Sub_8764_OnNonzero_C75C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2095,28 +2095,28 @@ Label_C75A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C75C: +Sub_8764_OnNonzero_C75C: lda #$80 ; CPU:$C75C PRG:075C A9 80 - jsr $C006 ; CPU:$C75E PRG:075E 20 06 C0 + jsr SubCC006 ; CPU:$C75E PRG:075E 20 06 C0 dex ; CPU:$C761 PRG:0761 CA - bne Label_C75C ; CPU:$C762 PRG:0762 D0 F8 + bne Sub_8764_OnNonzero_C75C ; CPU:$C762 PRG:0762 D0 F8 cpy #$60 ; CPU:$C764 PRG:0764 C0 60 - bne Label_C747 ; CPU:$C766 PRG:0766 D0 DF + bne Sub_8764_OnNonzero_C747 ; CPU:$C766 PRG:0766 D0 DF lda #$22 ; CPU:$C768 PRG:0768 A9 22 - sta $2006 ; CPU:$C76A PRG:076A 8D 06 20 + sta PPUADDR ; CPU:$C76A PRG:076A 8D 06 20 ldx #$2D ; CPU:$C76D PRG:076D A2 2D - stx $2006 ; CPU:$C76F PRG:076F 8E 06 20 + stx PPUADDR ; CPU:$C76F PRG:076F 8E 06 20 lda #$7D ; CPU:$C772 PRG:0772 A9 7D sta Zp4E ; CPU:$C774 PRG:0774 85 4E lda #$C6 ; CPU:$C776 PRG:0776 A9 C6 sta Zp4F ; CPU:$C778 PRG:0778 85 4F - jsr $C53F ; CPU:$C77A PRG:077A 20 3F C5 + jsr SubCC53F ; CPU:$C77A PRG:077A 20 3F C5 lda Zp50 ; CPU:$C77D PRG:077D A5 50 eor #$68 ; CPU:$C77F PRG:077F 49 68 - bne Label_C786 ; CPU:$C781 PRG:0781 D0 03 - jsr $C539 ; CPU:$C783 PRG:0783 20 39 C5 + bne Sub_8764_OnNonzero_C786 ; CPU:$C781 PRG:0781 D0 03 + jsr SubCC539 ; CPU:$C783 PRG:0783 20 39 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C786 +; Routine: Sub_8764_OnNonzero_C786 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2124,13 +2124,13 @@ Label_C75C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C786: - jsr $C95A ; CPU:$C786 PRG:0786 20 5A C9 +Sub_8764_OnNonzero_C786: + jsr SubCC95A ; CPU:$C786 PRG:0786 20 5A C9 lda #$01 ; CPU:$C789 PRG:0789 A9 01 sta ZpC7 ; CPU:$C78B PRG:078B 85 C7 - bne Label_C7C7 ; CPU:$C78D PRG:078D D0 38 + bne Sub_8764_OnNonzero_C7C7 ; CPU:$C78D PRG:078D D0 38 ; ----------------------------------------------------------------------------- -; Routine: Label_C78F +; Routine: Sub_8764_OnZero_C78F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2138,11 +2138,11 @@ Label_C786: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C78F: +Sub_8764_OnZero_C78F: lda #$C8 ; CPU:$C78F PRG:078F A9 C8 sta ZpD4 ; CPU:$C791 PRG:0791 85 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C793 +; Routine: Sub_8764_JoinBranchPaths_C793 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2150,20 +2150,20 @@ Label_C78F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C793: +Sub_8764_JoinBranchPaths_C793: lda #$00 ; CPU:$C793 PRG:0793 A9 00 - sta $4015 ; CPU:$C795 PRG:0795 8D 15 40 + sta APUSTATUS ; CPU:$C795 PRG:0795 8D 15 40 dec ZpD4 ; CPU:$C798 PRG:0798 C6 D4 - beq Label_C7ED ; CPU:$C79A PRG:079A F0 51 + beq Sub_8764_OnZero_C7ED ; CPU:$C79A PRG:079A F0 51 ldy #$64 ; CPU:$C79C PRG:079C A0 64 - jsr $C043 ; CPU:$C79E PRG:079E 20 43 C0 - jsr $C412 ; CPU:$C7A1 PRG:07A1 20 12 C4 + jsr SubCC043 ; CPU:$C79E PRG:079E 20 43 C0 + jsr SubCC412 ; CPU:$C7A1 PRG:07A1 20 12 C4 ldx Zp50 ; CPU:$C7A4 PRG:07A4 A6 50 - bne Label_C7AC ; CPU:$C7A6 PRG:07A6 D0 04 + bne Sub_8764_OnNonzero_C7AC ; CPU:$C7A6 PRG:07A6 D0 04 stx ZpC7 ; CPU:$C7A8 PRG:07A8 86 C7 - beq Label_C793 ; CPU:$C7AA PRG:07AA F0 E7 + beq Sub_8764_JoinBranchPaths_C793 ; CPU:$C7AA PRG:07AA F0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_C7AC +; Routine: Sub_8764_OnNonzero_C7AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2171,22 +2171,22 @@ Label_C793: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7AC: +Sub_8764_OnNonzero_C7AC: lda ZpC7 ; CPU:$C7AC PRG:07AC A5 C7 - bne Label_C793 ; CPU:$C7AE PRG:07AE D0 E3 + bne Sub_8764_JoinBranchPaths_C793 ; CPU:$C7AE PRG:07AE D0 E3 inc ZpC7 ; CPU:$C7B0 PRG:07B0 E6 C7 txa ; CPU:$C7B2 PRG:07B2 8A and #$10 ; CPU:$C7B3 PRG:07B3 29 10 - bne Label_C7E3 ; CPU:$C7B5 PRG:07B5 D0 2C + bne Sub_8764_OnNonzero_C7E3 ; CPU:$C7B5 PRG:07B5 D0 2C txa ; CPU:$C7B7 PRG:07B7 8A and #$20 ; CPU:$C7B8 PRG:07B8 29 20 - beq Label_C793 ; CPU:$C7BA PRG:07BA F0 D7 + beq Sub_8764_JoinBranchPaths_C793 ; CPU:$C7BA PRG:07BA F0 D7 ldx ZpC9 ; CPU:$C7BC PRG:07BC A6 C9 cpx #$02 ; CPU:$C7BE PRG:07BE E0 02 - bne Label_C7C4 ; CPU:$C7C0 PRG:07C0 D0 02 + bne Sub_8764_OnNonzero_C7C4 ; CPU:$C7C0 PRG:07C0 D0 02 ldx #$FF ; CPU:$C7C2 PRG:07C2 A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_C7C4 +; Routine: Sub_8764_OnNonzero_C7C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2194,11 +2194,11 @@ Label_C7AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C4: +Sub_8764_OnNonzero_C7C4: inx ; CPU:$C7C4 PRG:07C4 E8 stx ZpC9 ; CPU:$C7C5 PRG:07C5 86 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C7C7 +; Routine: Sub_8764_OnNonzero_C7C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2206,7 +2206,7 @@ Label_C7C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C7: +Sub_8764_OnNonzero_C7C7: lda ZpC9 ; CPU:$C7C7 PRG:07C7 A5 C9 asl a ; CPU:$C7C9 PRG:07C9 0A asl a ; CPU:$C7CA PRG:07CA 0A @@ -2220,9 +2220,9 @@ Label_C7C7: stx $0701 ; CPU:$C7D9 PRG:07D9 8E 01 07 lda #$00 ; CPU:$C7DC PRG:07DC A9 00 sta $0702 ; CPU:$C7DE PRG:07DE 8D 02 07 - beq Label_C78F ; CPU:$C7E1 PRG:07E1 F0 AC + beq Sub_8764_OnZero_C78F ; CPU:$C7E1 PRG:07E1 F0 AC ; ----------------------------------------------------------------------------- -; Routine: Label_C7E3 +; Routine: Sub_8764_OnNonzero_C7E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2230,11 +2230,11 @@ Label_C7C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E3: +Sub_8764_OnNonzero_C7E3: lda #$23 ; CPU:$C7E3 PRG:07E3 A9 23 ldx #$05 ; CPU:$C7E5 PRG:07E5 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E7 +; Routine: Sub_8764_OnNonnegative_C7E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2242,12 +2242,12 @@ Label_C7E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E7: +Sub_8764_OnNonnegative_C7E7: sta $0268,x ; CPU:$C7E7 PRG:07E7 9D 68 02 dex ; CPU:$C7EA PRG:07EA CA - bpl Label_C7E7 ; CPU:$C7EB PRG:07EB 10 FA + bpl Sub_8764_OnNonnegative_C7E7 ; CPU:$C7EB PRG:07EB 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_C7ED +; Routine: Sub_8764_OnZero_C7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2255,7 +2255,7 @@ Label_C7E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7ED: +Sub_8764_OnZero_C7ED: lda #$01 ; CPU:$C7ED PRG:07ED A9 01 sta ZpD3 ; CPU:$C7EF PRG:07EF 85 D3 lda #$05 ; CPU:$C7F1 PRG:07F1 A9 05 @@ -2268,7 +2268,7 @@ Label_C7ED: ldx #$6E ; CPU:$C7FE PRG:07FE A2 6E lda #$C8 ; CPU:$C800 PRG:0800 A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C802 +; Routine: Sub_8764_OnNonzero_C802 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2276,13 +2276,13 @@ Label_C7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C802: +Sub_8764_OnNonzero_C802: sta $035E,x ; CPU:$C802 PRG:0802 9D 5E 03 dex ; CPU:$C805 PRG:0805 CA cpx #$58 ; CPU:$C806 PRG:0806 E0 58 - bne Label_C802 ; CPU:$C808 PRG:0808 D0 F8 + bne Sub_8764_OnNonzero_C802 ; CPU:$C808 PRG:0808 D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_C80A +; Routine: SubCC80A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2290,11 +2290,11 @@ Label_C802: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C80A: +SubCC80A: ldx #$58 ; CPU:$C80A PRG:080A A2 58 lda #$C8 ; CPU:$C80C PRG:080C A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C80E +; Routine: Sub_8764_OnNonnegative_C80E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2302,11 +2302,11 @@ Label_C80A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C80E: +Sub_8764_OnNonnegative_C80E: sta $035E,x ; CPU:$C80E PRG:080E 9D 5E 03 dex ; CPU:$C811 PRG:0811 CA - bpl Label_C80E ; CPU:$C812 PRG:0812 10 FA - jsr $C9AB ; CPU:$C814 PRG:0814 20 AB C9 + bpl Sub_8764_OnNonnegative_C80E ; CPU:$C812 PRG:0812 10 FA + jsr SubCC9AB ; CPU:$C814 PRG:0814 20 AB C9 lda #$01 ; CPU:$C817 PRG:0817 A9 01 sta ZpBB ; CPU:$C819 PRG:0819 85 BB sta ZpBC ; CPU:$C81B PRG:081B 85 BC @@ -2314,7 +2314,7 @@ Label_C80E: sta $0262 ; CPU:$C81F PRG:081F 8D 62 02 lda #$27 ; CPU:$C822 PRG:0822 A9 27 sta $0267 ; CPU:$C824 PRG:0824 8D 67 02 - jsr $CCC0 ; CPU:$C827 PRG:0827 20 C0 CC + jsr SubCCCC0 ; CPU:$C827 PRG:0827 20 C0 CC lda #$06 ; CPU:$C82A PRG:082A A9 06 sta ZpBD ; CPU:$C82C PRG:082C 85 BD lda #$00 ; CPU:$C82E PRG:082E A9 00 @@ -2323,7 +2323,7 @@ Label_C80E: sta ZpDA ; CPU:$C834 PRG:0834 85 DA sta ZpDF ; CPU:$C836 PRG:0836 85 DF ; ----------------------------------------------------------------------------- -; Routine: Label_C838 +; Routine: SubCC838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2331,24 +2331,24 @@ Label_C80E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C838: +SubCC838: lda ZpD4 ; CPU:$C838 PRG:0838 A5 D4 - beq Label_C89A ; CPU:$C83A PRG:083A F0 5E - jsr $C442 ; CPU:$C83C PRG:083C 20 42 C4 + beq Sub_8764_OnZero_C89A ; CPU:$C83A PRG:083A F0 5E + jsr SubCC442 ; CPU:$C83C PRG:083C 20 42 C4 lda #$21 ; CPU:$C83F PRG:083F A9 21 - sta $2006 ; CPU:$C841 PRG:0841 8D 06 20 + sta PPUADDR ; CPU:$C841 PRG:0841 8D 06 20 ldx #$2B ; CPU:$C844 PRG:0844 A2 2B - stx $2006 ; CPU:$C846 PRG:0846 8E 06 20 + stx PPUADDR ; CPU:$C846 PRG:0846 8E 06 20 lda #$6F ; CPU:$C849 PRG:0849 A9 6F sta Zp4E ; CPU:$C84B PRG:084B 85 4E lda #$C9 ; CPU:$C84D PRG:084D A9 C9 sta Zp4F ; CPU:$C84F PRG:084F 85 4F - jsr $C53F ; CPU:$C851 PRG:0851 20 3F C5 + jsr SubCC53F ; CPU:$C851 PRG:0851 20 3F C5 lda #$00 ; CPU:$C854 PRG:0854 A9 00 sta Zp00 ; CPU:$C856 PRG:0856 85 00 lda ZpD3 ; CPU:$C858 PRG:0858 A5 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_C85A +; Routine: SubCC85A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2356,13 +2356,13 @@ Label_C838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C85A: +SubCC85A: cmp #$0A ; CPU:$C85A PRG:085A C9 0A - bcc Label_C863 ; CPU:$C85C PRG:085C 90 05 + bcc Sub_8764_OnCarryClear_C863 ; CPU:$C85C PRG:085C 90 05 sbc #$0A ; CPU:$C85E PRG:085E E9 0A - jmp $C85A ; CPU:$C860 PRG:0860 4C 5A C8 + jmp SubCC85A ; CPU:$C860 PRG:0860 4C 5A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C863 +; Routine: Sub_8764_OnCarryClear_C863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2370,33 +2370,33 @@ Label_C85A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C863: +Sub_8764_OnCarryClear_C863: ldy #$47 ; CPU:$C863 PRG:0863 A0 47 - jsr $C921 ; CPU:$C865 PRG:0865 20 21 C9 + jsr SubCC921 ; CPU:$C865 PRG:0865 20 21 C9 lda $0262 ; CPU:$C868 PRG:0868 AD 62 02 sec ; CPU:$C86B PRG:086B 38 sbc #$23 ; CPU:$C86C PRG:086C E9 23 ldy #$5F ; CPU:$C86E PRG:086E A0 5F - jsr $C921 ; CPU:$C870 PRG:0870 20 21 C9 + jsr SubCC921 ; CPU:$C870 PRG:0870 20 21 C9 lda ZpD5 ; CPU:$C873 PRG:0873 A5 D5 sec ; CPU:$C875 PRG:0875 38 sbc #$01 ; CPU:$C876 PRG:0876 E9 01 ldy #$77 ; CPU:$C878 PRG:0878 A0 77 - jsr $C921 ; CPU:$C87A PRG:087A 20 21 C9 + jsr SubCC921 ; CPU:$C87A PRG:087A 20 21 C9 ldx #$80 ; CPU:$C87D PRG:087D A2 80 ldy #$97 ; CPU:$C87F PRG:087F A0 97 - jsr $C8FB ; CPU:$C881 PRG:0881 20 FB C8 + jsr SubCC8FB ; CPU:$C881 PRG:0881 20 FB C8 ldx #$80 ; CPU:$C884 PRG:0884 A2 80 ldy #$A7 ; CPU:$C886 PRG:0886 A0 A7 lda #$88 ; CPU:$C888 PRG:0888 A9 88 sta Zp00 ; CPU:$C88A PRG:088A 85 00 lda #$2E ; CPU:$C88C PRG:088C A9 2E - jsr $C901 ; CPU:$C88E PRG:088E 20 01 C9 - jsr $C95A ; CPU:$C891 PRG:0891 20 5A C9 - jsr $C2D8 ; CPU:$C894 PRG:0894 20 D8 C2 - jsr $C032 ; CPU:$C897 PRG:0897 20 32 C0 + jsr SubCC901 ; CPU:$C88E PRG:088E 20 01 C9 + jsr SubCC95A ; CPU:$C891 PRG:0891 20 5A C9 + jsr SubCC2D8 ; CPU:$C894 PRG:0894 20 D8 C2 + jsr SubCC032 ; CPU:$C897 PRG:0897 20 32 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C89A +; Routine: Sub_8764_OnZero_C89A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2404,21 +2404,21 @@ Label_C863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C89A: +Sub_8764_OnZero_C89A: lda #$00 ; CPU:$C89A PRG:089A A9 00 sta ZpDB ; CPU:$C89C PRG:089C 85 DB - jsr $C3E2 ; CPU:$C89E PRG:089E 20 E2 C3 + jsr SubCC3E2 ; CPU:$C89E PRG:089E 20 E2 C3 lda #$55 ; CPU:$C8A1 PRG:08A1 A9 55 ldx #$02 ; CPU:$C8A3 PRG:08A3 A2 02 ldy #$01 ; CPU:$C8A5 PRG:08A5 A0 01 - jsr $C44B ; CPU:$C8A7 PRG:08A7 20 4B C4 - jsr $C95A ; CPU:$C8AA PRG:08AA 20 5A C9 - jsr $CD26 ; CPU:$C8AD PRG:08AD 20 26 CD + jsr SubCC44B ; CPU:$C8A7 PRG:08A7 20 4B C4 + jsr SubCC95A ; CPU:$C8AA PRG:08AA 20 5A C9 + jsr SubCCD26 ; CPU:$C8AD PRG:08AD 20 26 CD lda ZpD7 ; CPU:$C8B0 PRG:08B0 A5 D7 - beq Label_C8B7 ; CPU:$C8B2 PRG:08B2 F0 03 - jsr $D1E6 ; CPU:$C8B4 PRG:08B4 20 E6 D1 + beq Sub_8764_OnZero_C8B7 ; CPU:$C8B2 PRG:08B2 F0 03 + jsr SubCD1E6 ; CPU:$C8B4 PRG:08B4 20 E6 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B7 +; Routine: Sub_8764_OnZero_C8B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2426,18 +2426,18 @@ Label_C89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B7: - lda $4016 ; CPU:$C8B7 PRG:08B7 AD 16 40 +Sub_8764_OnZero_C8B7: + lda JOY1 ; CPU:$C8B7 PRG:08B7 AD 16 40 and #$04 ; CPU:$C8BA PRG:08BA 29 04 sta ZpE1 ; CPU:$C8BC PRG:08BC 85 E1 - jsr $CED3 ; CPU:$C8BE PRG:08BE 20 D3 CE + jsr SubCCED3 ; CPU:$C8BE PRG:08BE 20 D3 CE lda ZpD4 ; CPU:$C8C1 PRG:08C1 A5 D4 - beq Label_C8E5 ; CPU:$C8C3 PRG:08C3 F0 20 + beq Sub_8764_OnZero_C8E5 ; CPU:$C8C3 PRG:08C3 F0 20 lda ZpD5 ; CPU:$C8C5 PRG:08C5 A5 D5 - beq Label_C8CC ; CPU:$C8C7 PRG:08C7 F0 03 - jmp $C838 ; CPU:$C8C9 PRG:08C9 4C 38 C8 + beq Sub_8764_OnZero_C8CC ; CPU:$C8C7 PRG:08C7 F0 03 + jmp SubCC838 ; CPU:$C8C9 PRG:08C9 4C 38 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C8CC +; Routine: Sub_8764_OnZero_C8CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2445,19 +2445,19 @@ Label_C8B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8CC: - jsr $C8E8 ; CPU:$C8CC PRG:08CC 20 E8 C8 - jsr $C3E2 ; CPU:$C8CF PRG:08CF 20 E2 C3 +Sub_8764_OnZero_C8CC: + jsr SubCC8E8 ; CPU:$C8CC PRG:08CC 20 E8 C8 + jsr SubCC3E2 ; CPU:$C8CF PRG:08CF 20 E2 C3 lda #$00 ; CPU:$C8D2 PRG:08D2 A9 00 - jsr $C447 ; CPU:$C8D4 PRG:08D4 20 47 C4 + jsr SubCC447 ; CPU:$C8D4 PRG:08D4 20 47 C4 lda #$F0 ; CPU:$C8D7 PRG:08D7 A9 F0 sta Zp4E ; CPU:$C8D9 PRG:08D9 85 4E lda #$C8 ; CPU:$C8DB PRG:08DB A9 C8 sta Zp4F ; CPU:$C8DD PRG:08DD 85 4F - jsr $C94D ; CPU:$C8DF PRG:08DF 20 4D C9 - jsr $C032 ; CPU:$C8E2 PRG:08E2 20 32 C0 + jsr SubCC94D ; CPU:$C8DF PRG:08DF 20 4D C9 + jsr SubCC032 ; CPU:$C8E2 PRG:08E2 20 32 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E5 +; Routine: Sub_8764_OnZero_C8E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2465,10 +2465,10 @@ Label_C8CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E5: - jmp $C719 ; CPU:$C8E5 PRG:08E5 4C 19 C7 +Sub_8764_OnZero_C8E5: + jmp SubCC719 ; CPU:$C8E5 PRG:08E5 4C 19 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E8 +; Routine: SubCC8E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2476,7 +2476,7 @@ Label_C8E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E8: +SubCC8E8: ldx #$FF ; CPU:$C8E8 PRG:08E8 A2 FF stx ZpB7 ; CPU:$C8EA PRG:08EA 86 B7 inx ; CPU:$C8EC PRG:08EC E8 @@ -2485,7 +2485,7 @@ Label_C8E8: ; ---- data $C8F0-$C8FA (11 bytes) ---- .byte $67, $61, $6D, $65, $7F, $7F, $6F, $76, $65, $72, $00 ; CPU:$C8F0 PRG:08F0 67 61 6D 65 7F 7F 6F 76 65 72 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C8FB +; Routine: SubCC8FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2493,12 +2493,12 @@ Label_C8E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8FB: +SubCC8FB: lda #$B0 ; CPU:$C8FB PRG:08FB A9 B0 sta Zp00 ; CPU:$C8FD PRG:08FD 85 00 lda #$28 ; CPU:$C8FF PRG:08FF A9 28 ; ----------------------------------------------------------------------------- -; Routine: Label_C901 +; Routine: SubCC901 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2506,12 +2506,12 @@ Label_C8FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C901: +SubCC901: sta Zp4C ; CPU:$C901 PRG:0901 85 4C lda #$06 ; CPU:$C903 PRG:0903 A9 06 sta Zp02 ; CPU:$C905 PRG:0905 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C907 +; Routine: SubCC907 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2519,10 +2519,10 @@ Label_C901: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C907: +SubCC907: stx Zp49 ; CPU:$C907 PRG:0907 86 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C909 +; Routine: Sub_8764_OnNonzero_C909 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2530,21 +2530,21 @@ Label_C907: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C909: +Sub_8764_OnNonzero_C909: ldx Zp4C ; CPU:$C909 PRG:0909 A6 4C lda $0240,x ; CPU:$C90B PRG:090B BD 40 02 ldx Zp49 ; CPU:$C90E PRG:090E A6 49 - jsr $C927 ; CPU:$C910 PRG:0910 20 27 C9 + jsr SubCC927 ; CPU:$C910 PRG:0910 20 27 C9 lda Zp49 ; CPU:$C913 PRG:0913 A5 49 clc ; CPU:$C915 PRG:0915 18 adc #$08 ; CPU:$C916 PRG:0916 69 08 sta Zp49 ; CPU:$C918 PRG:0918 85 49 inc Zp4C ; CPU:$C91A PRG:091A E6 4C dec Zp02 ; CPU:$C91C PRG:091C C6 02 - bne Label_C909 ; CPU:$C91E PRG:091E D0 E9 + bne Sub_8764_OnNonzero_C909 ; CPU:$C91E PRG:091E D0 E9 rts ; CPU:$C920 PRG:0920 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C921 +; Routine: SubCC921 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2552,11 +2552,11 @@ Label_C909: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C921: +SubCC921: ldx #$98 ; CPU:$C921 PRG:0921 A2 98 - bne Label_C92A ; CPU:$C923 PRG:0923 D0 05 + bne Sub_8764_OnNonzero_C92A ; CPU:$C923 PRG:0923 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C925 +; Routine: SubCC925 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2564,10 +2564,10 @@ Label_C921: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C925: +SubCC925: ldy #$D0 ; CPU:$C925 PRG:0925 A0 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C927 +; Routine: SubCC927 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2575,11 +2575,11 @@ Label_C925: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C927: +SubCC927: sec ; CPU:$C927 PRG:0927 38 sbc #$23 ; CPU:$C928 PRG:0928 E9 23 ; ----------------------------------------------------------------------------- -; Routine: Label_C92A +; Routine: Sub_8764_OnNonzero_C92A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2587,7 +2587,7 @@ Label_C927: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C92A: +Sub_8764_OnNonzero_C92A: stx Zp52 ; CPU:$C92A PRG:092A 86 52 ldx Zp00 ; CPU:$C92C PRG:092C A6 00 asl a ; CPU:$C92E PRG:092E 0A @@ -2608,7 +2608,7 @@ Label_C92A: sta Zp00 ; CPU:$C94A PRG:094A 85 00 rts ; CPU:$C94C PRG:094C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C94D +; Routine: SubCC94D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2616,14 +2616,14 @@ Label_C92A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C94D: +SubCC94D: lda #$21 ; CPU:$C94D PRG:094D A9 21 - sta $2006 ; CPU:$C94F PRG:094F 8D 06 20 + sta PPUADDR ; CPU:$C94F PRG:094F 8D 06 20 ldx #$AA ; CPU:$C952 PRG:0952 A2 AA - stx $2006 ; CPU:$C954 PRG:0954 8E 06 20 - jsr $C53F ; CPU:$C957 PRG:0957 20 3F C5 + stx PPUADDR ; CPU:$C954 PRG:0954 8E 06 20 + jsr SubCC53F ; CPU:$C957 PRG:0957 20 3F C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C95A +; Routine: SubCC95A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2631,15 +2631,15 @@ Label_C94D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C95A: - jsr $C3F4 ; CPU:$C95A PRG:095A 20 F4 C3 - jsr $CDE2 ; CPU:$C95D PRG:095D 20 E2 CD +SubCC95A: + jsr SubCC3F4 ; CPU:$C95A PRG:095A 20 F4 C3 + jsr SubCCDE2 ; CPU:$C95D PRG:095D 20 E2 CD lda #$00 ; CPU:$C960 PRG:0960 A9 00 sta ZpC4 ; CPU:$C962 PRG:0962 85 C4 - jsr $C407 ; CPU:$C964 PRG:0964 20 07 C4 + jsr SubCC407 ; CPU:$C964 PRG:0964 20 07 C4 lda #$90 ; CPU:$C967 PRG:0967 A9 90 ; ----------------------------------------------------------------------------- -; Routine: Label_C969 +; Routine: SubCC969 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2647,15 +2647,15 @@ Label_C95A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C969: - sta $2000 ; CPU:$C969 PRG:0969 8D 00 20 +SubCC969: + sta PPUCTRL ; CPU:$C969 PRG:0969 8D 00 20 sta ZpC2 ; CPU:$C96C PRG:096C 85 C2 rts ; CPU:$C96E PRG:096E 60 ; ---- data $C96F-$C98D (31 bytes) ---- .byte $72, $6F, $75, $6E, $64, $DB, $66, $61, $63, $74, $6F, $72, $79, $D9, $6C, $65 ; CPU:$C96F PRG:096F 72 6F 75 6E 64 DB 66 61 63 74 6F 72 79 D9 6C 65 .byte $66, $74, $FA, $73, $63, $6F, $72, $65, $BB, $74, $7F, $6F, $7F, $70, $00 ; CPU:$C97F PRG:097F 66 74 FA 73 63 6F 72 65 BB 74 7F 6F 7F 70 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C98E +; Routine: SubCC98E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2663,11 +2663,11 @@ Label_C969: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C98E: +SubCC98E: lda #$00 ; CPU:$C98E PRG:098E A9 00 tax ; CPU:$C990 PRG:0990 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C991 +; Routine: Sub_8764_OnNonzero_C991 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2675,17 +2675,17 @@ Label_C98E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C991: +Sub_8764_OnNonzero_C991: sta $0300,x ; CPU:$C991 PRG:0991 9D 00 03 sta $0400,x ; CPU:$C994 PRG:0994 9D 00 04 sta $0500,x ; CPU:$C997 PRG:0997 9D 00 05 sta $0600,x ; CPU:$C99A PRG:099A 9D 00 06 inx ; CPU:$C99D PRG:099D E8 - bne Label_C991 ; CPU:$C99E PRG:099E D0 F1 + bne Sub_8764_OnNonzero_C991 ; CPU:$C99E PRG:099E D0 F1 ldx #$67 ; CPU:$C9A0 PRG:09A0 A2 67 lda #$00 ; CPU:$C9A2 PRG:09A2 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C9A4 +; Routine: Sub_8764_OnNonnegative_C9A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2693,13 +2693,13 @@ Label_C991: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9A4: +Sub_8764_OnNonnegative_C9A4: sta $0200,x ; CPU:$C9A4 PRG:09A4 9D 00 02 dex ; CPU:$C9A7 PRG:09A7 CA - bpl Label_C9A4 ; CPU:$C9A8 PRG:09A8 10 FA + bpl Sub_8764_OnNonnegative_C9A4 ; CPU:$C9A8 PRG:09A8 10 FA rts ; CPU:$C9AA PRG:09AA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AB +; Routine: SubCC9AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2707,10 +2707,10 @@ Label_C9A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AB: +SubCC9AB: ldx #$38 ; CPU:$C9AB PRG:09AB A2 38 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AD +; Routine: Sub_8764_OnNonnegative_C9AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2718,15 +2718,15 @@ Label_C9AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AD: +Sub_8764_OnNonnegative_C9AD: lda $CC83,x ; CPU:$C9AD PRG:09AD BD 83 CC sta $0667,x ; CPU:$C9B0 PRG:09B0 9D 67 06 dex ; CPU:$C9B3 PRG:09B3 CA - bpl Label_C9AD ; CPU:$C9B4 PRG:09B4 10 F7 + bpl Sub_8764_OnNonnegative_C9AD ; CPU:$C9B4 PRG:09B4 10 F7 ldx #$05 ; CPU:$C9B6 PRG:09B6 A2 05 lda #$0A ; CPU:$C9B8 PRG:09B8 A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_C9BA +; Routine: Sub_8764_OnNonnegative_C9BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2734,10 +2734,10 @@ Label_C9AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9BA: +Sub_8764_OnNonnegative_C9BA: sta $06A7,x ; CPU:$C9BA PRG:09BA 9D A7 06 dex ; CPU:$C9BD PRG:09BD CA - bpl Label_C9BA ; CPU:$C9BE PRG:09BE 10 FA + bpl Sub_8764_OnNonnegative_C9BA ; CPU:$C9BE PRG:09BE 10 FA lda #$6E ; CPU:$C9C0 PRG:09C0 A9 6E sta ZpBE ; CPU:$C9C2 PRG:09C2 85 BE lda #$04 ; CPU:$C9C4 PRG:09C4 A9 04 @@ -2746,7 +2746,7 @@ Label_C9BA: sta ZpC0 ; CPU:$C9CA PRG:09CA 85 C0 ldx #$05 ; CPU:$C9CC PRG:09CC A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C9CE +; Routine: Sub_8764_OnNonnegative_C9CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2754,13 +2754,13 @@ Label_C9BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9CE: - jsr $C9DE ; CPU:$C9CE PRG:09CE 20 DE C9 +Sub_8764_OnNonnegative_C9CE: + jsr SubCC9DE ; CPU:$C9CE PRG:09CE 20 DE C9 dex ; CPU:$C9D1 PRG:09D1 CA - bpl Label_C9CE ; CPU:$C9D2 PRG:09D2 10 FA + bpl Sub_8764_OnNonnegative_C9CE ; CPU:$C9D2 PRG:09D2 10 FA rts ; CPU:$C9D4 PRG:09D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D5 +; Routine: SubCC9D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2768,13 +2768,13 @@ Label_C9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D5: +SubCC9D5: stx Zp25 ; CPU:$C9D5 PRG:09D5 86 25 ldx #$01 ; CPU:$C9D7 PRG:09D7 A2 01 - jsr $CA74 ; CPU:$C9D9 PRG:09D9 20 74 CA + jsr SubCCA74 ; CPU:$C9D9 PRG:09D9 20 74 CA ldx Zp25 ; CPU:$C9DC PRG:09DC A6 25 ; ----------------------------------------------------------------------------- -; Routine: Label_C9DE +; Routine: SubCC9DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2782,12 +2782,12 @@ Label_C9D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9DE: +SubCC9DE: stx Zp25 ; CPU:$C9DE PRG:09DE 86 25 lda #$03 ; CPU:$C9E0 PRG:09E0 A9 03 sta Zp00 ; CPU:$C9E2 PRG:09E2 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E4 +; Routine: Sub_8764_OnNonzero_C9E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2795,23 +2795,23 @@ Label_C9DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E4: +Sub_8764_OnNonzero_C9E4: ldx Zp25 ; CPU:$C9E4 PRG:09E4 A6 25 - jsr $CA04 ; CPU:$C9E6 PRG:09E6 20 04 CA + jsr SubCCA04 ; CPU:$C9E6 PRG:09E6 20 04 CA dec Zp00 ; CPU:$C9E9 PRG:09E9 C6 00 - bne Label_C9E4 ; CPU:$C9EB PRG:09EB D0 F7 + bne Sub_8764_OnNonzero_C9E4 ; CPU:$C9EB PRG:09EB D0 F7 ldx Zp25 ; CPU:$C9ED PRG:09ED A6 25 - jsr $CA72 ; CPU:$C9EF PRG:09EF 20 72 CA + jsr SubCCA72 ; CPU:$C9EF PRG:09EF 20 72 CA ldx Zp25 ; CPU:$C9F2 PRG:09F2 A6 25 - jsr $CAA8 ; CPU:$C9F4 PRG:09F4 20 A8 CA + jsr SubCCAA8 ; CPU:$C9F4 PRG:09F4 20 A8 CA ldx Zp25 ; CPU:$C9F7 PRG:09F7 A6 25 - jsr $CAE6 ; CPU:$C9F9 PRG:09F9 20 E6 CA + jsr SubCCAE6 ; CPU:$C9F9 PRG:09F9 20 E6 CA ldx Zp25 ; CPU:$C9FC PRG:09FC A6 25 - jsr $CAFC ; CPU:$C9FE PRG:09FE 20 FC CA + jsr SubCCAFC ; CPU:$C9FE PRG:09FE 20 FC CA ldx Zp25 ; CPU:$CA01 PRG:0A01 A6 25 rts ; CPU:$CA03 PRG:0A03 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA04 +; Routine: SubCCA04 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2819,13 +2819,13 @@ Label_C9E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA04: +SubCCA04: lda #$00 ; CPU:$CA04 PRG:0A04 A9 00 sta Zp03 ; CPU:$CA06 PRG:0A06 85 03 sta Zp26 ; CPU:$CA08 PRG:0A08 85 26 ldy #$54 ; CPU:$CA0A PRG:0A0A A0 54 ; ----------------------------------------------------------------------------- -; Routine: Label_CA0C +; Routine: Sub_8764_OnCarrySet_CA0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2833,18 +2833,18 @@ Label_CA04: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0C: +Sub_8764_OnCarrySet_CA0C: lda $035E,y ; CPU:$CA0C PRG:0A0C B9 5E 03 - bmi Label_CA22 ; CPU:$CA0F PRG:0A0F 30 11 + bmi Sub_8764_OnNegative_CA22 ; CPU:$CA0F PRG:0A0F 30 11 lda $04AB,y ; CPU:$CA11 PRG:0A11 B9 AB 04 cmp $CBDB,x ; CPU:$CA14 PRG:0A14 DD DB CB - bne Label_CA24 ; CPU:$CA17 PRG:0A17 D0 0B + bne Sub_8764_JoinBranchPaths_CA24 ; CPU:$CA17 PRG:0A17 D0 0B inc Zp03 ; CPU:$CA19 PRG:0A19 E6 03 lda Zp03 ; CPU:$CA1B PRG:0A1B A5 03 cmp #$04 ; CPU:$CA1D PRG:0A1D C9 04 - bcc Label_CA24 ; CPU:$CA1F PRG:0A1F 90 03 + bcc Sub_8764_JoinBranchPaths_CA24 ; CPU:$CA1F PRG:0A1F 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CA21 +; Routine: Sub_8764_OnZero_CA21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2852,10 +2852,10 @@ Label_CA0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA21: +Sub_8764_OnZero_CA21: rts ; CPU:$CA21 PRG:0A21 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA22 +; Routine: Sub_8764_OnNegative_CA22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2863,10 +2863,10 @@ Label_CA21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA22: +Sub_8764_OnNegative_CA22: sty Zp26 ; CPU:$CA22 PRG:0A22 84 26 ; ----------------------------------------------------------------------------- -; Routine: Label_CA24 +; Routine: Sub_8764_JoinBranchPaths_CA24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2874,12 +2874,12 @@ Label_CA22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA24: +Sub_8764_JoinBranchPaths_CA24: dey ; CPU:$CA24 PRG:0A24 88 cpy #$3D ; CPU:$CA25 PRG:0A25 C0 3D - bcs Label_CA0C ; CPU:$CA27 PRG:0A27 B0 E3 + bcs Sub_8764_OnCarrySet_CA0C ; CPU:$CA27 PRG:0A27 B0 E3 ldy Zp26 ; CPU:$CA29 PRG:0A29 A4 26 - beq Label_CA21 ; CPU:$CA2B PRG:0A2B F0 F4 + beq Sub_8764_OnZero_CA21 ; CPU:$CA2B PRG:0A2B F0 F4 lda $CBDB,x ; CPU:$CA2D PRG:0A2D BD DB CB sta $04AB,y ; CPU:$CA30 PRG:0A30 99 AB 04 lda $CBE1,x ; CPU:$CA33 PRG:0A33 BD E1 CB @@ -2893,11 +2893,11 @@ Label_CA24: lda $CBF9,x ; CPU:$CA4B PRG:0A4B BD F9 CB sta $02EF,y ; CPU:$CA4E PRG:0A4E 99 EF 02 dec ZpE3,x ; CPU:$CA51 PRG:0A51 D6 E3 - bpl Label_CA59 ; CPU:$CA53 PRG:0A53 10 04 + bpl Sub_8764_OnNonnegative_CA59 ; CPU:$CA53 PRG:0A53 10 04 lda #$02 ; CPU:$CA55 PRG:0A55 A9 02 sta ZpE3,x ; CPU:$CA57 PRG:0A57 95 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_CA59 +; Routine: Sub_8764_OnNonnegative_CA59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2905,17 +2905,17 @@ Label_CA24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA59: +Sub_8764_OnNonnegative_CA59: lda ZpE3,x ; CPU:$CA59 PRG:0A59 B5 E3 - beq Label_CA66 ; CPU:$CA5B PRG:0A5B F0 09 + beq Sub_8764_OnZero_CA66 ; CPU:$CA5B PRG:0A5B F0 09 cmp #$01 ; CPU:$CA5D PRG:0A5D C9 01 - beq Label_CA6B ; CPU:$CA5F PRG:0A5F F0 0A + beq Sub_8764_OnZero_CA6B ; CPU:$CA5F PRG:0A5F F0 0A txa ; CPU:$CA61 PRG:0A61 8A clc ; CPU:$CA62 PRG:0A62 18 adc #$06 ; CPU:$CA63 PRG:0A63 69 06 tax ; CPU:$CA65 PRG:0A65 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CA66 +; Routine: Sub_8764_OnZero_CA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2923,13 +2923,13 @@ Label_CA59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA66: +Sub_8764_OnZero_CA66: txa ; CPU:$CA66 PRG:0A66 8A clc ; CPU:$CA67 PRG:0A67 18 adc #$06 ; CPU:$CA68 PRG:0A68 69 06 tax ; CPU:$CA6A PRG:0A6A AA ; ----------------------------------------------------------------------------- -; Routine: Label_CA6B +; Routine: Sub_8764_OnZero_CA6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2937,12 +2937,12 @@ Label_CA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA6B: +Sub_8764_OnZero_CA6B: lda $CBFF,x ; CPU:$CA6B PRG:0A6B BD FF CB sta $051A,y ; CPU:$CA6E PRG:0A6E 99 1A 05 rts ; CPU:$CA71 PRG:0A71 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA72 +; Routine: SubCCA72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2950,10 +2950,10 @@ Label_CA6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA72: +SubCCA72: ldx #$00 ; CPU:$CA72 PRG:0A72 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CA74 +; Routine: SubCCA74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2961,13 +2961,13 @@ Label_CA72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA74: +SubCCA74: lda ZpBE ; CPU:$CA74 PRG:0A74 A5 BE cmp #$6E ; CPU:$CA76 PRG:0A76 C9 6E - beq Label_CA86 ; CPU:$CA78 PRG:0A78 F0 0C + beq Sub_8764_OnZero_CA86 ; CPU:$CA78 PRG:0A78 F0 0C ldy #$6E ; CPU:$CA7A PRG:0A7A A0 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CA7C +; Routine: Sub_8764_OnCarrySet_CA7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2975,14 +2975,14 @@ Label_CA74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA7C: +Sub_8764_OnCarrySet_CA7C: lda $035E,y ; CPU:$CA7C PRG:0A7C B9 5E 03 - bmi Label_CA87 ; CPU:$CA7F PRG:0A7F 30 06 + bmi Sub_8764_OnNegative_CA87 ; CPU:$CA7F PRG:0A7F 30 06 dey ; CPU:$CA81 PRG:0A81 88 cpy ZpBE ; CPU:$CA82 PRG:0A82 C4 BE - bcs Label_CA7C ; CPU:$CA84 PRG:0A84 B0 F6 + bcs Sub_8764_OnCarrySet_CA7C ; CPU:$CA84 PRG:0A84 B0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_CA86 +; Routine: Sub_8764_OnZero_CA86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2990,10 +2990,10 @@ Label_CA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA86: +Sub_8764_OnZero_CA86: rts ; CPU:$CA86 PRG:0A86 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA87 +; Routine: Sub_8764_OnNegative_CA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3001,7 +3001,7 @@ Label_CA86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA87: +Sub_8764_OnNegative_CA87: txa ; CPU:$CA87 PRG:0A87 8A sta $04AB,y ; CPU:$CA88 PRG:0A88 99 AB 04 lda #$84 ; CPU:$CA8B PRG:0A8B A9 84 @@ -3011,11 +3011,11 @@ Label_CA87: sta $051A,y ; CPU:$CA95 PRG:0A95 99 1A 05 lda ZpB1 ; CPU:$CA98 PRG:0A98 A5 B1 cmp #$03 ; CPU:$CA9A PRG:0A9A C9 03 - bcs Label_CAA2 ; CPU:$CA9C PRG:0A9C B0 04 + bcs Sub_8764_OnCarrySet_CAA2 ; CPU:$CA9C PRG:0A9C B0 04 lda #$06 ; CPU:$CA9E PRG:0A9E A9 06 - bne Label_CAA4 ; CPU:$CAA0 PRG:0AA0 D0 02 + bne Sub_8764_OnNonzero_CAA4 ; CPU:$CAA0 PRG:0AA0 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA2 +; Routine: Sub_8764_OnCarrySet_CAA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3023,10 +3023,10 @@ Label_CA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA2: +Sub_8764_OnCarrySet_CAA2: lda #$02 ; CPU:$CAA2 PRG:0AA2 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA4 +; Routine: Sub_8764_OnNonzero_CAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3034,11 +3034,11 @@ Label_CAA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA4: +Sub_8764_OnNonzero_CAA4: sta $03CD,y ; CPU:$CAA4 PRG:0AA4 99 CD 03 rts ; CPU:$CAA7 PRG:0AA7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA8 +; Routine: SubCCAA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3046,9 +3046,9 @@ Label_CAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA8: +SubCCAA8: lda $0391,x ; CPU:$CAA8 PRG:0AA8 BD 91 03 - bpl Label_CAD3 ; CPU:$CAAB PRG:0AAB 10 26 + bpl Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAAB PRG:0AAB 10 26 lda #$29 ; CPU:$CAAD PRG:0AAD A9 29 sta $04DE,x ; CPU:$CAAF PRG:0AAF 9D DE 04 lda #$9C ; CPU:$CAB2 PRG:0AB2 A9 9C @@ -3064,7 +3064,7 @@ Label_CAA8: lda $CAE0,x ; CPU:$CACD PRG:0ACD BD E0 CA sta $054D,x ; CPU:$CAD0 PRG:0AD0 9D 4D 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD3 +; Routine: Sub_8764_JoinBranchPaths_CAD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3072,7 +3072,7 @@ Label_CAA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD3: +Sub_8764_JoinBranchPaths_CAD3: rts ; CPU:$CAD3 PRG:0AD3 60 ; ---- data $CAD4-$CAE5 (18 bytes) ---- ; referenced by `lda $CAD4,x` at $CAB7 (operand $CAD4 falls inside this region) @@ -3081,7 +3081,7 @@ Label_CAD3: .byte $83, $85, $07, $63, $C9, $4B, $03, $42, $44, $46, $86, $41, $04, $0C, $13, $16 ; CPU:$CAD4 PRG:0AD4 83 85 07 63 C9 4B 03 42 44 46 86 41 04 0C 13 16 .byte $1B, $23 ; CPU:$CAE4 PRG:0AE4 1B 23 ; ----------------------------------------------------------------------------- -; Routine: Label_CAE6 +; Routine: SubCCAE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3089,18 +3089,18 @@ Label_CAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE6: - jsr $CB5A ; CPU:$CAE6 PRG:0AE6 20 5A CB - bcc Label_CAD3 ; CPU:$CAE9 PRG:0AE9 90 E8 +SubCCAE6: + jsr SubCCB5A ; CPU:$CAE6 PRG:0AE6 20 5A CB + bcc Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAE9 PRG:0AE9 90 E8 lda #$92 ; CPU:$CAEB PRG:0AEB A9 92 sta $043C,y ; CPU:$CAED PRG:0AED 99 3C 04 ldx Zp25 ; CPU:$CAF0 PRG:0AF0 A6 25 lda $CB85,x ; CPU:$CAF2 PRG:0AF2 BD 85 CB sta Zp03 ; CPU:$CAF5 PRG:0AF5 85 03 lda $CB7F,x ; CPU:$CAF7 PRG:0AF7 BD 7F CB - bne Label_CB10 ; CPU:$CAFA PRG:0AFA D0 14 + bne Sub_8764_OnNonzero_CB10 ; CPU:$CAFA PRG:0AFA D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_CAFC +; Routine: SubCCAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3108,9 +3108,9 @@ Label_CAE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAFC: - jsr $CB5A ; CPU:$CAFC PRG:0AFC 20 5A CB - bcc Label_CAD3 ; CPU:$CAFF PRG:0AFF 90 D2 +SubCCAFC: + jsr SubCCB5A ; CPU:$CAFC PRG:0AFC 20 5A CB + bcc Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAFF PRG:0AFF 90 D2 lda #$78 ; CPU:$CB01 PRG:0B01 A9 78 sta $043C,y ; CPU:$CB03 PRG:0B03 99 3C 04 ldx Zp25 ; CPU:$CB06 PRG:0B06 A6 25 @@ -3118,7 +3118,7 @@ Label_CAFC: sta Zp03 ; CPU:$CB0B PRG:0B0B 85 03 lda $CB8B,x ; CPU:$CB0D PRG:0B0D BD 8B CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB10 +; Routine: Sub_8764_OnNonzero_CB10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3126,11 +3126,11 @@ Label_CAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB10: +Sub_8764_OnNonzero_CB10: tax ; CPU:$CB10 PRG:0B10 AA sty Zp27 ; CPU:$CB11 PRG:0B11 84 27 ; ----------------------------------------------------------------------------- -; Routine: Label_CB13 +; Routine: Sub_8764_OnCarryClear_CB13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3138,17 +3138,17 @@ Label_CB10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB13: +Sub_8764_OnCarryClear_CB13: lda $CB97,x ; CPU:$CB13 PRG:0B13 BD 97 CB tay ; CPU:$CB16 PRG:0B16 A8 lda $0667,y ; CPU:$CB17 PRG:0B17 B9 67 06 - bpl Label_CB22 ; CPU:$CB1A PRG:0B1A 10 06 + bpl Sub_8764_OnNonnegative_CB22 ; CPU:$CB1A PRG:0B1A 10 06 inx ; CPU:$CB1C PRG:0B1C E8 cpx Zp03 ; CPU:$CB1D PRG:0B1D E4 03 - bcc Label_CB13 ; CPU:$CB1F PRG:0B1F 90 F2 + bcc Sub_8764_OnCarryClear_CB13 ; CPU:$CB1F PRG:0B1F 90 F2 rts ; CPU:$CB21 PRG:0B21 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB22 +; Routine: Sub_8764_OnNonnegative_CB22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3156,7 +3156,7 @@ Label_CB13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB22: +Sub_8764_OnNonnegative_CB22: tya ; CPU:$CB22 PRG:0B22 98 tax ; CPU:$CB23 PRG:0B23 AA ldy Zp27 ; CPU:$CB24 PRG:0B24 A4 27 @@ -3182,7 +3182,7 @@ Label_CB22: sta $05E3,y ; CPU:$CB56 PRG:0B56 99 E3 05 rts ; CPU:$CB59 PRG:0B59 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB5A +; Routine: SubCCB5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3190,10 +3190,10 @@ Label_CB22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB5A: +SubCCB5A: ldy #$32 ; CPU:$CB5A PRG:0B5A A0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CB5C +; Routine: Sub_8764_OnCarrySet_CB5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3201,15 +3201,15 @@ Label_CB5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB5C: +Sub_8764_OnCarrySet_CB5C: lda $035E,y ; CPU:$CB5C PRG:0B5C B9 5E 03 - bmi Label_CB76 ; CPU:$CB5F PRG:0B5F 30 15 + bmi Sub_8764_OnNegative_CB76 ; CPU:$CB5F PRG:0B5F 30 15 dey ; CPU:$CB61 PRG:0B61 88 cpy #$15 ; CPU:$CB62 PRG:0B62 C0 15 - bcs Label_CB5C ; CPU:$CB64 PRG:0B64 B0 F6 + bcs Sub_8764_OnCarrySet_CB5C ; CPU:$CB64 PRG:0B64 B0 F6 ldy #$32 ; CPU:$CB66 PRG:0B66 A0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CB68 +; Routine: Sub_8764_OnCarrySet_CB68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3217,15 +3217,15 @@ Label_CB5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB68: +Sub_8764_OnCarrySet_CB68: lda $05E3,y ; CPU:$CB68 PRG:0B68 B9 E3 05 tax ; CPU:$CB6B PRG:0B6B AA lda $036D,x ; CPU:$CB6C PRG:0B6C BD 6D 03 - bpl Label_CB78 ; CPU:$CB6F PRG:0B6F 10 07 + bpl Sub_8764_OnNonnegative_CB78 ; CPU:$CB6F PRG:0B6F 10 07 lda #$FF ; CPU:$CB71 PRG:0B71 A9 FF sta $035E,y ; CPU:$CB73 PRG:0B73 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CB76 +; Routine: Sub_8764_OnNegative_CB76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3233,11 +3233,11 @@ Label_CB68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB76: +Sub_8764_OnNegative_CB76: sec ; CPU:$CB76 PRG:0B76 38 rts ; CPU:$CB77 PRG:0B77 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB78 +; Routine: Sub_8764_OnNonnegative_CB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3245,10 +3245,10 @@ Label_CB76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB78: +Sub_8764_OnNonnegative_CB78: dey ; CPU:$CB78 PRG:0B78 88 cpy #$15 ; CPU:$CB79 PRG:0B79 C0 15 - bcs Label_CB68 ; CPU:$CB7B PRG:0B7B B0 EB + bcs Sub_8764_OnCarrySet_CB68 ; CPU:$CB7B PRG:0B7B B0 EB clc ; CPU:$CB7D PRG:0B7D 18 rts ; CPU:$CB7E PRG:0B7E 60 ; ---- data $CB7F-$CCBB (317 bytes) ---- @@ -3280,7 +3280,7 @@ Label_CB78: .byte $0A, $0A, $0A, $0B, $0B, $0B, $02, $02, $05, $07, $02, $05, $07, $07, $01, $03 ; CPU:$CC9F PRG:0C9F 0A 0A 0A 0B 0B 0B 02 02 05 07 02 05 07 07 01 03 .byte $04, $04, $07, $09, $0A, $0A, $08, $0A, $08, $0A, $0A, $0C, $0C ; CPU:$CCAF PRG:0CAF 04 04 07 09 0A 0A 08 0A 08 0A 0A 0C 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CCBC +; Routine: SubCCCBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3288,11 +3288,11 @@ Label_CB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCBC: +SubCCCBC: ldx #$01 ; CPU:$CCBC PRG:0CBC A2 01 - bne Label_CCC2 ; CPU:$CCBE PRG:0CBE D0 02 + bne Sub_8764_JoinBranchPaths_CCC2 ; CPU:$CCBE PRG:0CBE D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CCC0 +; Routine: SubCCCC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3300,10 +3300,10 @@ Label_CCBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC0: +SubCCCC0: ldx #$09 ; CPU:$CCC0 PRG:0CC0 A2 09 ; ----------------------------------------------------------------------------- -; Routine: Label_CCC2 +; Routine: Sub_8764_JoinBranchPaths_CCC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3311,7 +3311,7 @@ Label_CCC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC2: +Sub_8764_JoinBranchPaths_CCC2: lda $CCEA,x ; CPU:$CCC2 PRG:0CC2 BD EA CC sta $028B,x ; CPU:$CCC5 PRG:0CC5 9D 8B 02 lda $CCF4,x ; CPU:$CCC8 PRG:0CC8 BD F4 CC @@ -3325,7 +3325,7 @@ Label_CCC2: lda $CD1C,x ; CPU:$CCE0 PRG:0CE0 BD 1C CD sta $04B6,x ; CPU:$CCE3 PRG:0CE3 9D B6 04 dex ; CPU:$CCE6 PRG:0CE6 CA - bpl Label_CCC2 ; CPU:$CCE7 PRG:0CE7 10 D9 + bpl Sub_8764_JoinBranchPaths_CCC2 ; CPU:$CCE7 PRG:0CE7 10 D9 rts ; CPU:$CCE9 PRG:0CE9 60 ; ---- data $CCEA-$CD25 (60 bytes) ---- ; referenced by `lda $CCEA,x` at $CCC2 (operand $CCEA falls inside this region) @@ -3339,7 +3339,7 @@ Label_CCC2: .byte $00, $00, $02, $02, $04, $06, $06, $01, $66, $67, $64, $65, $AA, $AA, $AA, $AA ; CPU:$CD0A PRG:0D0A 00 00 02 02 04 06 06 01 66 67 64 65 AA AA AA AA .byte $AA, $AA, $3C, $3C, $3C, $3C, $3F, $32, $3B, $3D, $33, $38 ; CPU:$CD1A PRG:0D1A AA AA 3C 3C 3C 3C 3F 32 3B 3D 33 38 ; ----------------------------------------------------------------------------- -; Routine: Label_CD26 +; Routine: SubCCD26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3347,11 +3347,11 @@ Label_CCC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD26: +SubCCD26: lda #$00 ; CPU:$CD26 PRG:0D26 A9 00 tax ; CPU:$CD28 PRG:0D28 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CD29 +; Routine: Sub_8764_OnNonzero_CD29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3359,14 +3359,14 @@ Label_CD26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD29: +Sub_8764_OnNonzero_CD29: sta Zp00,x ; CPU:$CD29 PRG:0D29 95 00 inx ; CPU:$CD2B PRG:0D2B E8 cpx #$A5 ; CPU:$CD2C PRG:0D2C E0 A5 - bne Label_CD29 ; CPU:$CD2E PRG:0D2E D0 F9 + bne Sub_8764_OnNonzero_CD29 ; CPU:$CD2E PRG:0D2E D0 F9 ldx #$07 ; CPU:$CD30 PRG:0D30 A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CD32 +; Routine: Sub_8764_OnNonnegative_CD32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3374,14 +3374,14 @@ Label_CD29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD32: +Sub_8764_OnNonnegative_CD32: sta $0589,x ; CPU:$CD32 PRG:0D32 9D 89 05 dex ; CPU:$CD35 PRG:0D35 CA - bpl Label_CD32 ; CPU:$CD36 PRG:0D36 10 FA + bpl Sub_8764_OnNonnegative_CD32 ; CPU:$CD36 PRG:0D36 10 FA lda #$FF ; CPU:$CD38 PRG:0D38 A9 FF ldx #$0F ; CPU:$CD3A PRG:0D3A A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CD3C +; Routine: Sub_8764_OnNonnegative_CD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3389,15 +3389,15 @@ Label_CD32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD3C: +Sub_8764_OnNonnegative_CD3C: sta Zp65,x ; CPU:$CD3C PRG:0D3C 95 65 sta Zp95,x ; CPU:$CD3E PRG:0D3E 95 95 dex ; CPU:$CD40 PRG:0D40 CA - bpl Label_CD3C ; CPU:$CD41 PRG:0D41 10 F9 + bpl Sub_8764_OnNonnegative_CD3C ; CPU:$CD41 PRG:0D41 10 F9 ldx #$02 ; CPU:$CD43 PRG:0D43 A2 02 lda #$00 ; CPU:$CD45 PRG:0D45 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CD47 +; Routine: Sub_8764_OnNonnegative_CD47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3405,14 +3405,14 @@ Label_CD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD47: +Sub_8764_OnNonnegative_CD47: sta Zp65,x ; CPU:$CD47 PRG:0D47 95 65 sta Zp6D,x ; CPU:$CD49 PRG:0D49 95 6D dex ; CPU:$CD4B PRG:0D4B CA - bpl Label_CD47 ; CPU:$CD4C PRG:0D4C 10 F9 + bpl Sub_8764_OnNonnegative_CD47 ; CPU:$CD4C PRG:0D4C 10 F9 ldx #$6E ; CPU:$CD4E PRG:0D4E A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CD50 +; Routine: Sub_8764_OnNonnegative_CD50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3420,26 +3420,26 @@ Label_CD47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD50: +Sub_8764_OnNonnegative_CD50: lda $04AB,x ; CPU:$CD50 PRG:0D50 BD AB 04 and #$7F ; CPU:$CD53 PRG:0D53 29 7F sta $04AB,x ; CPU:$CD55 PRG:0D55 9D AB 04 dex ; CPU:$CD58 PRG:0D58 CA - bpl Label_CD50 ; CPU:$CD59 PRG:0D59 10 F5 + bpl Sub_8764_OnNonnegative_CD50 ; CPU:$CD59 PRG:0D59 10 F5 lda #$83 ; CPU:$CD5B PRG:0D5B A9 83 sta $043E ; CPU:$CD5D PRG:0D5D 8D 3E 04 lda #$22 ; CPU:$CD60 PRG:0D60 A9 22 sta $04AD ; CPU:$CD62 PRG:0D62 8D AD 04 lda #$FA ; CPU:$CD65 PRG:0D65 A9 FA sta $0368 ; CPU:$CD67 PRG:0D67 8D 68 03 - jsr $D00A ; CPU:$CD6A PRG:0D6A 20 0A D0 + jsr SubCD00A ; CPU:$CD6A PRG:0D6A 20 0A D0 lda #$28 ; CPU:$CD6D PRG:0D6D A9 28 sta $0254 ; CPU:$CD6F PRG:0D6F 8D 54 02 lda #$D2 ; CPU:$CD72 PRG:0D72 A9 D2 sta $0240 ; CPU:$CD74 PRG:0D74 8D 40 02 ldx #$00 ; CPU:$CD77 PRG:0D77 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CD79 +; Routine: Sub_8764_OnNonzero_CD79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3447,25 +3447,25 @@ Label_CD50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD79: +Sub_8764_OnNonzero_CD79: lda $CE08,x ; CPU:$CD79 PRG:0D79 BD 08 CE sta ZpA5,x ; CPU:$CD7C PRG:0D7C 95 A5 inx ; CPU:$CD7E PRG:0D7E E8 cpx #$16 ; CPU:$CD7F PRG:0D7F E0 16 - bne Label_CD79 ; CPU:$CD81 PRG:0D81 D0 F6 - jsr $D43A ; CPU:$CD83 PRG:0D83 20 3A D4 + bne Sub_8764_OnNonzero_CD79 ; CPU:$CD81 PRG:0D81 D0 F6 + jsr SubCD43A ; CPU:$CD83 PRG:0D83 20 3A D4 dec ZpD5 ; CPU:$CD86 PRG:0D86 C6 D5 lda ZpD5 ; CPU:$CD88 PRG:0D88 A5 D5 cmp #$04 ; CPU:$CD8A PRG:0D8A C9 04 - beq Label_CDF4 ; CPU:$CD8C PRG:0D8C F0 66 + beq Sub_8764_OnZero_CDF4 ; CPU:$CD8C PRG:0D8C F0 66 dec $0267 ; CPU:$CD8E PRG:0D8E CE 67 02 lda $02FA ; CPU:$CD91 PRG:0D91 AD FA 02 sta Zp2D ; CPU:$CD94 PRG:0D94 85 2D lda $03D8 ; CPU:$CD96 PRG:0D96 AD D8 03 sta Zp2E ; CPU:$CD99 PRG:0D99 85 2E - jsr $CCBC ; CPU:$CD9B PRG:0D9B 20 BC CC + jsr SubCCCBC ; CPU:$CD9B PRG:0D9B 20 BC CC ; ----------------------------------------------------------------------------- -; Routine: Label_CD9E +; Routine: Sub_8764_OnNonzero_CD9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3473,10 +3473,10 @@ Label_CD79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD9E: - jsr $C3EB ; CPU:$CD9E PRG:0D9E 20 EB C3 +Sub_8764_OnNonzero_CD9E: + jsr SubCC3EB ; CPU:$CD9E PRG:0D9E 20 EB C3 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA1 +; Routine: SubCCDA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3484,15 +3484,15 @@ Label_CD9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA1: +SubCCDA1: lda $03D8 ; CPU:$CDA1 PRG:0DA1 AD D8 03 cmp Zp2E ; CPU:$CDA4 PRG:0DA4 C5 2E - bne Label_CDAF ; CPU:$CDA6 PRG:0DA6 D0 07 + bne Sub_8764_OnNonzero_CDAF ; CPU:$CDA6 PRG:0DA6 D0 07 lda $02FA ; CPU:$CDA8 PRG:0DA8 AD FA 02 cmp Zp2D ; CPU:$CDAB PRG:0DAB C5 2D - beq Label_CDBB ; CPU:$CDAD PRG:0DAD F0 0C + beq Sub_8764_OnZero_CDBB ; CPU:$CDAD PRG:0DAD F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CDAF +; Routine: Sub_8764_OnNonzero_CDAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3500,13 +3500,13 @@ Label_CDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAF: - jsr $D9E7 ; CPU:$CDAF PRG:0DAF 20 E7 D9 - jsr $E7C0 ; CPU:$CDB2 PRG:0DB2 20 C0 E7 - jsr $E82D ; CPU:$CDB5 PRG:0DB5 20 2D E8 - jmp $CDA1 ; CPU:$CDB8 PRG:0DB8 4C A1 CD +Sub_8764_OnNonzero_CDAF: + jsr SubCD9E7 ; CPU:$CDAF PRG:0DAF 20 E7 D9 + jsr SubCE7C0 ; CPU:$CDB2 PRG:0DB2 20 C0 E7 + jsr SubCE82D ; CPU:$CDB5 PRG:0DB5 20 2D E8 + jmp SubCCDA1 ; CPU:$CDB8 PRG:0DB8 4C A1 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDBB +; Routine: Sub_8764_OnZero_CDBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3514,11 +3514,11 @@ Label_CDAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBB: - jsr $F127 ; CPU:$CDBB PRG:0DBB 20 27 F1 +Sub_8764_OnZero_CDBB: + jsr SubCF127 ; CPU:$CDBB PRG:0DBB 20 27 F1 ldx #$E4 ; CPU:$CDBE PRG:0DBE A2 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_CDC0 +; Routine: Sub_8764_OnNonzero_CDC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3526,17 +3526,17 @@ Label_CDBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDC0: +Sub_8764_OnNonzero_CDC0: txa ; CPU:$CDC0 PRG:0DC0 8A pha ; CPU:$CDC1 PRG:0DC1 48 - jsr $E7C0 ; CPU:$CDC2 PRG:0DC2 20 C0 E7 + jsr SubCE7C0 ; CPU:$CDC2 PRG:0DC2 20 C0 E7 pla ; CPU:$CDC5 PRG:0DC5 68 tax ; CPU:$CDC6 PRG:0DC6 AA dex ; CPU:$CDC7 PRG:0DC7 CA - bne Label_CDC0 ; CPU:$CDC8 PRG:0DC8 D0 F6 + bne Sub_8764_OnNonzero_CDC0 ; CPU:$CDC8 PRG:0DC8 D0 F6 ldx #$C8 ; CPU:$CDCA PRG:0DCA A2 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CDCC +; Routine: Sub_8764_OnNonzero_CDCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3544,17 +3544,17 @@ Label_CDC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDCC: +Sub_8764_OnNonzero_CDCC: txa ; CPU:$CDCC PRG:0DCC 8A pha ; CPU:$CDCD PRG:0DCD 48 - jsr $E7A6 ; CPU:$CDCE PRG:0DCE 20 A6 E7 + jsr SubCE7A6 ; CPU:$CDCE PRG:0DCE 20 A6 E7 pla ; CPU:$CDD1 PRG:0DD1 68 tax ; CPU:$CDD2 PRG:0DD2 AA dex ; CPU:$CDD3 PRG:0DD3 CA - bne Label_CDCC ; CPU:$CDD4 PRG:0DD4 D0 F6 + bne Sub_8764_OnNonzero_CDCC ; CPU:$CDD4 PRG:0DD4 D0 F6 ldx #$0C ; CPU:$CDD6 PRG:0DD6 A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CDD8 +; Routine: Sub_8764_OnNonzero_CDD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3562,16 +3562,16 @@ Label_CDCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD8: +Sub_8764_OnNonzero_CDD8: txa ; CPU:$CDD8 PRG:0DD8 8A pha ; CPU:$CDD9 PRG:0DD9 48 - jsr $E7D6 ; CPU:$CDDA PRG:0DDA 20 D6 E7 + jsr SubCE7D6 ; CPU:$CDDA PRG:0DDA 20 D6 E7 pla ; CPU:$CDDD PRG:0DDD 68 tax ; CPU:$CDDE PRG:0DDE AA dex ; CPU:$CDDF PRG:0DDF CA - bne Label_CDD8 ; CPU:$CDE0 PRG:0DE0 D0 F6 + bne Sub_8764_OnNonzero_CDD8 ; CPU:$CDE0 PRG:0DE0 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_CDE2 +; Routine: SubCCDE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3579,16 +3579,16 @@ Label_CDD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE2: - jsr $C407 ; CPU:$CDE2 PRG:0DE2 20 07 C4 +SubCCDE2: + jsr SubCC407 ; CPU:$CDE2 PRG:0DE2 20 07 C4 lda #$00 ; CPU:$CDE5 PRG:0DE5 A9 00 - sta $2003 ; CPU:$CDE7 PRG:0DE7 8D 03 20 + sta OAMADDR ; CPU:$CDE7 PRG:0DE7 8D 03 20 lda #$07 ; CPU:$CDEA PRG:0DEA A9 07 - sta $4014 ; CPU:$CDEC PRG:0DEC 8D 14 40 + sta OAMDMA ; CPU:$CDEC PRG:0DEC 8D 14 40 lda #$1E ; CPU:$CDEF PRG:0DEF A9 1E - jmp $C3F0 ; CPU:$CDF1 PRG:0DF1 4C F0 C3 + jmp SubCC3F0 ; CPU:$CDF1 PRG:0DF1 4C F0 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_CDF4 +; Routine: Sub_8764_OnZero_CDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3596,22 +3596,22 @@ Label_CDE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF4: - jsr $C412 ; CPU:$CDF4 PRG:0DF4 20 12 C4 +Sub_8764_OnZero_CDF4: + jsr SubCC412 ; CPU:$CDF4 PRG:0DF4 20 12 C4 sta Zp2D ; CPU:$CDF7 PRG:0DF7 85 2D - jsr $C412 ; CPU:$CDF9 PRG:0DF9 20 12 C4 + jsr SubCC412 ; CPU:$CDF9 PRG:0DF9 20 12 C4 and #$07 ; CPU:$CDFC PRG:0DFC 29 07 sta Zp2E ; CPU:$CDFE PRG:0DFE 85 2E cmp #$07 ; CPU:$CE00 PRG:0E00 C9 07 - bne Label_CD9E ; CPU:$CE02 PRG:0E02 D0 9A + bne Sub_8764_OnNonzero_CD9E ; CPU:$CE02 PRG:0E02 D0 9A dec Zp2E ; CPU:$CE04 PRG:0E04 C6 2E - bne Label_CD9E ; CPU:$CE06 PRG:0E06 D0 96 + bne Sub_8764_OnNonzero_CD9E ; CPU:$CE06 PRG:0E06 D0 96 ; ---- data $CE08-$CE1D (22 bytes) ---- ; referenced by `lda $CE08,x` at $CD79 (operand $CE08 falls inside this region) .byte $07, $44, $80, $80, $80, $80, $FA, $0A, $40, $2A, $0B, $F6, $06, $61, $5A, $AA ; CPU:$CE08 PRG:0E08 07 44 80 80 80 80 FA 0A 40 2A 0B F6 06 61 5A AA .byte $87, $2E, $FF, $0A, $02, $0C ; CPU:$CE18 PRG:0E18 87 2E FF 0A 02 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CE1E +; Routine: SubCCE1E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3619,10 +3619,10 @@ Label_CDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE1E: +SubCCE1E: lda #$02 ; CPU:$CE1E PRG:0E1E A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE20 +; Routine: SubCCE20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3630,7 +3630,7 @@ Label_CE1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE20: +SubCCE20: pha ; CPU:$CE20 PRG:0E20 48 sta Zp0D ; CPU:$CE21 PRG:0E21 85 0D lda #$30 ; CPU:$CE23 PRG:0E23 A9 30 @@ -3639,7 +3639,7 @@ Label_CE20: sta ZpA6 ; CPU:$CE29 PRG:0E29 85 A6 pla ; CPU:$CE2B PRG:0E2B 68 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2C +; Routine: Sub_8764_OnZero_CE2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3647,10 +3647,10 @@ Label_CE20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2C: +Sub_8764_OnZero_CE2C: rts ; CPU:$CE2C PRG:0E2C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2D +; Routine: SubCCE2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3658,11 +3658,11 @@ Label_CE2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2D: +SubCCE2D: ldx Zp0D ; CPU:$CE2D PRG:0E2D A6 0D - beq Label_CE2C ; CPU:$CE2F PRG:0E2F F0 FB + beq Sub_8764_OnZero_CE2C ; CPU:$CE2F PRG:0E2F F0 FB dec Zp0E ; CPU:$CE31 PRG:0E31 C6 0E - beq Label_CE81 ; CPU:$CE33 PRG:0E33 F0 4C + beq Sub_8764_OnZero_CE81 ; CPU:$CE33 PRG:0E33 F0 4C dex ; CPU:$CE35 PRG:0E35 CA lda $CEC9,x ; CPU:$CE36 PRG:0E36 BD C9 CE sta Zp4E ; CPU:$CE39 PRG:0E39 85 4E @@ -3671,8 +3671,8 @@ Label_CE2D: ldx Zp0E ; CPU:$CE40 PRG:0E40 A6 0E txa ; CPU:$CE42 PRG:0E42 8A and #$04 ; CPU:$CE43 PRG:0E43 29 04 - bne Label_CE8F ; CPU:$CE45 PRG:0E45 D0 48 - jsr $CE8F ; CPU:$CE47 PRG:0E47 20 8F CE + bne SubCCE8F ; CPU:$CE45 PRG:0E45 D0 48 + jsr SubCCE8F ; CPU:$CE47 PRG:0E47 20 8F CE lda #$38 ; CPU:$CE4A PRG:0E4A A9 38 sta Zp54 ; CPU:$CE4C PRG:0E4C 85 54 txa ; CPU:$CE4E PRG:0E4E 8A @@ -3681,7 +3681,7 @@ Label_CE2D: pha ; CPU:$CE51 PRG:0E51 48 ldy #$FF ; CPU:$CE52 PRG:0E52 A0 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CE54 +; Routine: Sub_8764_OnZero_CE54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3689,17 +3689,17 @@ Label_CE2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE54: +Sub_8764_OnZero_CE54: iny ; CPU:$CE54 PRG:0E54 C8 lda (Zp4E),y ; CPU:$CE55 PRG:0E55 B1 4E cmp #$FF ; CPU:$CE57 PRG:0E57 C9 FF - beq Label_CE7C ; CPU:$CE59 PRG:0E59 F0 21 + beq Sub_8764_OnZero_CE7C ; CPU:$CE59 PRG:0E59 F0 21 sta Zp49 ; CPU:$CE5B PRG:0E5B 85 49 iny ; CPU:$CE5D PRG:0E5D C8 lda (Zp4E),y ; CPU:$CE5E PRG:0E5E B1 4E sta Zp4A ; CPU:$CE60 PRG:0E60 85 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CE62 +; Routine: SubCCE62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3707,18 +3707,18 @@ Label_CE54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE62: +SubCCE62: iny ; CPU:$CE62 PRG:0E62 C8 lda (Zp4E),y ; CPU:$CE63 PRG:0E63 B1 4E sta Zp4B ; CPU:$CE65 PRG:0E65 85 4B - beq Label_CE54 ; CPU:$CE67 PRG:0E67 F0 EB + beq Sub_8764_OnZero_CE54 ; CPU:$CE67 PRG:0E67 F0 EB cmp #$20 ; CPU:$CE69 PRG:0E69 C9 20 - beq Label_CE74 ; CPU:$CE6B PRG:0E6B F0 07 + beq Sub_8764_OnZero_CE74 ; CPU:$CE6B PRG:0E6B F0 07 lda Zp54 ; CPU:$CE6D PRG:0E6D A5 54 - jsr $C56D ; CPU:$CE6F PRG:0E6F 20 6D C5 + jsr SubCC56D ; CPU:$CE6F PRG:0E6F 20 6D C5 inc Zp54 ; CPU:$CE72 PRG:0E72 E6 54 ; ----------------------------------------------------------------------------- -; Routine: Label_CE74 +; Routine: Sub_8764_OnZero_CE74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3726,12 +3726,12 @@ Label_CE62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE74: +Sub_8764_OnZero_CE74: lda #$08 ; CPU:$CE74 PRG:0E74 A9 08 - jsr $F18C ; CPU:$CE76 PRG:0E76 20 8C F1 - jmp $CE62 ; CPU:$CE79 PRG:0E79 4C 62 CE + jsr SubCF18C ; CPU:$CE76 PRG:0E76 20 8C F1 + jmp SubCCE62 ; CPU:$CE79 PRG:0E79 4C 62 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE7C +; Routine: Sub_8764_OnZero_CE7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3739,14 +3739,14 @@ Label_CE74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE7C: +Sub_8764_OnZero_CE7C: pla ; CPU:$CE7C PRG:0E7C 68 tay ; CPU:$CE7D PRG:0E7D A8 pla ; CPU:$CE7E PRG:0E7E 68 tax ; CPU:$CE7F PRG:0E7F AA rts ; CPU:$CE80 PRG:0E80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE81 +; Routine: Sub_8764_OnZero_CE81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3754,16 +3754,16 @@ Label_CE7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE81: +Sub_8764_OnZero_CE81: lda #$00 ; CPU:$CE81 PRG:0E81 A9 00 sta Zp0D ; CPU:$CE83 PRG:0E83 85 0D lda #$44 ; CPU:$CE85 PRG:0E85 A9 44 sta ZpA6 ; CPU:$CE87 PRG:0E87 85 A6 lda ZpCA ; CPU:$CE89 PRG:0E89 A5 CA - bne Label_CE8F ; CPU:$CE8B PRG:0E8B D0 02 + bne SubCCE8F ; CPU:$CE8B PRG:0E8B D0 02 sta ZpCE ; CPU:$CE8D PRG:0E8D 85 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE8F +; Routine: SubCCE8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3771,10 +3771,10 @@ Label_CE81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8F: +SubCCE8F: ldx #$E0 ; CPU:$CE8F PRG:0E8F A2 E0 ldy #$20 ; CPU:$CE91 PRG:0E91 A0 20 - jmp $C463 ; CPU:$CE93 PRG:0E93 4C 63 C4 + jmp SubCC463 ; CPU:$CE93 PRG:0E93 4C 63 C4 ; ---- data $CE96-$CED2 (61 bytes) ---- ; referenced by `lda $CEC9,x` at $CE36 (operand $CEC9 falls inside this region) ; referenced by `lda $CECE,x` at $CE3B (operand $CECE falls inside this region) @@ -3783,7 +3783,7 @@ Label_CE8F: .byte $3D, $25, $8E, $65, $54, $74, $00, $FF, $64, $3D, $55, $34, $65, $45, $A7, $25 ; CPU:$CEB6 PRG:0EB6 3D 25 8E 65 54 74 00 FF 64 3D 55 34 65 45 A7 25 .byte $8E, $00, $FF, $96, $A1, $AC, $B5, $BE, $CE, $CE, $CE, $CE, $CE ; CPU:$CEC6 PRG:0EC6 8E 00 FF 96 A1 AC B5 BE CE CE CE CE CE ; ----------------------------------------------------------------------------- -; Routine: Label_CED3 +; Routine: SubCCED3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3791,7 +3791,7 @@ Label_CE8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED3: +SubCCED3: ldx #$00 ; CPU:$CED3 PRG:0ED3 A2 00 stx Zp15 ; CPU:$CED5 PRG:0ED5 86 15 stx Zp16 ; CPU:$CED7 PRG:0ED7 86 16 @@ -3804,9 +3804,9 @@ Label_CED3: stx ZpAA ; CPU:$CEE3 PRG:0EE3 86 AA lda #$05 ; CPU:$CEE5 PRG:0EE5 A9 05 sta ZpA5 ; CPU:$CEE7 PRG:0EE7 85 A5 - jsr $CFFF ; CPU:$CEE9 PRG:0EE9 20 FF CF + jsr SubCCFFF ; CPU:$CEE9 PRG:0EE9 20 FF CF ; ----------------------------------------------------------------------------- -; Routine: Label_CEEC +; Routine: SubCCEEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3814,16 +3814,16 @@ Label_CED3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEC: +SubCCEEC: lda ZpAD ; CPU:$CEEC PRG:0EEC A5 AD - beq Label_CEFF ; CPU:$CEEE PRG:0EEE F0 0F - jsr $D2EB ; CPU:$CEF0 PRG:0EF0 20 EB D2 - jsr $D459 ; CPU:$CEF3 PRG:0EF3 20 59 D4 - jsr $D01A ; CPU:$CEF6 PRG:0EF6 20 1A D0 - jsr $D2D7 ; CPU:$CEF9 PRG:0EF9 20 D7 D2 - jmp $CEEC ; CPU:$CEFC PRG:0EFC 4C EC CE + beq Sub_8764_OnZero_CEFF ; CPU:$CEEE PRG:0EEE F0 0F + jsr SubCD2EB ; CPU:$CEF0 PRG:0EF0 20 EB D2 + jsr SubCD459 ; CPU:$CEF3 PRG:0EF3 20 59 D4 + jsr SubCD01A ; CPU:$CEF6 PRG:0EF6 20 1A D0 + jsr SubCD2D7 ; CPU:$CEF9 PRG:0EF9 20 D7 D2 + jmp SubCCEEC ; CPU:$CEFC PRG:0EFC 4C EC CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEFF +; Routine: Sub_8764_OnZero_CEFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3831,12 +3831,12 @@ Label_CEEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEFF: +Sub_8764_OnZero_CEFF: lda #$80 ; CPU:$CEFF PRG:0EFF A9 80 sta ZpA9 ; CPU:$CF01 PRG:0F01 85 A9 sta ZpAA ; CPU:$CF03 PRG:0F03 85 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CF05 +; Routine: Sub_8764_JoinBranchPaths_CF05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3844,24 +3844,24 @@ Label_CEFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF05: +Sub_8764_JoinBranchPaths_CF05: lda ZpAD ; CPU:$CF05 PRG:0F05 A5 AD - beq Label_CF45 ; CPU:$CF07 PRG:0F07 F0 3C - bpl Label_CED3 ; CPU:$CF09 PRG:0F09 10 C8 + beq Sub_8764_OnZero_CF45 ; CPU:$CF07 PRG:0F07 F0 3C + bpl SubCCED3 ; CPU:$CF09 PRG:0F09 10 C8 lda #$80 ; CPU:$CF0B PRG:0F0B A9 80 sta ZpA9 ; CPU:$CF0D PRG:0F0D 85 A9 sta ZpAA ; CPU:$CF0F PRG:0F0F 85 AA lda #$00 ; CPU:$CF11 PRG:0F11 A9 00 sta Zp13 ; CPU:$CF13 PRG:0F13 85 13 sta Zp14 ; CPU:$CF15 PRG:0F15 85 14 - jsr $D014 ; CPU:$CF17 PRG:0F17 20 14 D0 + jsr SubCD014 ; CPU:$CF17 PRG:0F17 20 14 D0 lda $024D ; CPU:$CF1A PRG:0F1A AD 4D 02 cmp #$28 ; CPU:$CF1D PRG:0F1D C9 28 - bcc Label_CF26 ; CPU:$CF1F PRG:0F1F 90 05 + bcc Sub_8764_JoinBranchPaths_CF26 ; CPU:$CF1F PRG:0F1F 90 05 lda #$28 ; CPU:$CF21 PRG:0F21 A9 28 sta $024D ; CPU:$CF23 PRG:0F23 8D 4D 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CF26 +; Routine: Sub_8764_JoinBranchPaths_CF26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3869,14 +3869,14 @@ Label_CF05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF26: - jsr $D2EB ; CPU:$CF26 PRG:0F26 20 EB D2 - jsr $D61B ; CPU:$CF29 PRG:0F29 20 1B D6 - bcc Label_CF33 ; CPU:$CF2C PRG:0F2C 90 05 +Sub_8764_JoinBranchPaths_CF26: + jsr SubCD2EB ; CPU:$CF26 PRG:0F26 20 EB D2 + jsr SubCD61B ; CPU:$CF29 PRG:0F29 20 1B D6 + bcc Sub_8764_OnCarryClear_CF33 ; CPU:$CF2C PRG:0F2C 90 05 inc $024C ; CPU:$CF2E PRG:0F2E EE 4C 02 - bne Label_CF8F ; CPU:$CF31 PRG:0F31 D0 5C + bne SubCCF8F ; CPU:$CF31 PRG:0F31 D0 5C ; ----------------------------------------------------------------------------- -; Routine: Label_CF33 +; Routine: Sub_8764_OnCarryClear_CF33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3884,16 +3884,16 @@ Label_CF26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF33: - jsr $D01A ; CPU:$CF33 PRG:0F33 20 1A D0 - jsr $D01A ; CPU:$CF36 PRG:0F36 20 1A D0 - jsr $D459 ; CPU:$CF39 PRG:0F39 20 59 D4 - jsr $D2D7 ; CPU:$CF3C PRG:0F3C 20 D7 D2 +Sub_8764_OnCarryClear_CF33: + jsr SubCD01A ; CPU:$CF33 PRG:0F33 20 1A D0 + jsr SubCD01A ; CPU:$CF36 PRG:0F36 20 1A D0 + jsr SubCD459 ; CPU:$CF39 PRG:0F39 20 59 D4 + jsr SubCD2D7 ; CPU:$CF3C PRG:0F3C 20 D7 D2 lda ZpAD ; CPU:$CF3F PRG:0F3F A5 AD - bne Label_CF26 ; CPU:$CF41 PRG:0F41 D0 E3 - beq Label_CEFF ; CPU:$CF43 PRG:0F43 F0 BA + bne Sub_8764_JoinBranchPaths_CF26 ; CPU:$CF41 PRG:0F41 D0 E3 + beq Sub_8764_OnZero_CEFF ; CPU:$CF43 PRG:0F43 F0 BA ; ----------------------------------------------------------------------------- -; Routine: Label_CF45 +; Routine: Sub_8764_OnZero_CF45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3901,18 +3901,18 @@ Label_CF33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF45: - jsr $D2EB ; CPU:$CF45 PRG:0F45 20 EB D2 - jsr $D5E7 ; CPU:$CF48 PRG:0F48 20 E7 D5 +Sub_8764_OnZero_CF45: + jsr SubCD2EB ; CPU:$CF45 PRG:0F45 20 EB D2 + jsr SubCD5E7 ; CPU:$CF48 PRG:0F48 20 E7 D5 lda $0262 ; CPU:$CF4B PRG:0F4B AD 62 02 cmp #$23 ; CPU:$CF4E PRG:0F4E C9 23 - bne Label_CF62 ; CPU:$CF50 PRG:0F50 D0 10 - jsr $D194 ; CPU:$CF52 PRG:0F52 20 94 D1 - jsr $D194 ; CPU:$CF55 PRG:0F55 20 94 D1 + bne Sub_8764_OnNonzero_CF62 ; CPU:$CF50 PRG:0F50 D0 10 + jsr SubCD194 ; CPU:$CF52 PRG:0F52 20 94 D1 + jsr SubCD194 ; CPU:$CF55 PRG:0F55 20 94 D1 lda ZpA6 ; CPU:$CF58 PRG:0F58 A5 A6 - bmi Label_CF05 ; CPU:$CF5A PRG:0F5A 30 A9 + bmi Sub_8764_JoinBranchPaths_CF05 ; CPU:$CF5A PRG:0F5A 30 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_CF5C +; Routine: SubCCF5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3920,12 +3920,12 @@ Label_CF45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF5C: +SubCCF5C: inc ZpD3 ; CPU:$CF5C PRG:0F5C E6 D3 inc ZpD5 ; CPU:$CF5E PRG:0F5E E6 D5 - bne Label_CFDD ; CPU:$CF60 PRG:0F60 D0 7B + bne Sub_8764_OnNonzero_CFDD ; CPU:$CF60 PRG:0F60 D0 7B ; ----------------------------------------------------------------------------- -; Routine: Label_CF62 +; Routine: Sub_8764_OnNonzero_CF62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3933,16 +3933,16 @@ Label_CF5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF62: +Sub_8764_OnNonzero_CF62: lda $024C ; CPU:$CF62 PRG:0F62 AD 4C 02 cmp #$24 ; CPU:$CF65 PRG:0F65 C9 24 - bcc Label_CF05 ; CPU:$CF67 PRG:0F67 90 9C - jsr $D200 ; CPU:$CF69 PRG:0F69 20 00 D2 + bcc Sub_8764_JoinBranchPaths_CF05 ; CPU:$CF67 PRG:0F67 90 9C + jsr SubCD200 ; CPU:$CF69 PRG:0F69 20 00 D2 lda #$C8 ; CPU:$CF6C PRG:0F6C A9 C8 sta Zp3F ; CPU:$CF6E PRG:0F6E 85 3F sta ZpD1 ; CPU:$CF70 PRG:0F70 85 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CF72 +; Routine: Sub_8764_OnNonzero_CF72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3950,14 +3950,14 @@ Label_CF62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF72: - jsr $C412 ; CPU:$CF72 PRG:0F72 20 12 C4 +Sub_8764_OnNonzero_CF72: + jsr SubCC412 ; CPU:$CF72 PRG:0F72 20 12 C4 cmp #$80 ; CPU:$CF75 PRG:0F75 C9 80 - bcc Label_CF7D ; CPU:$CF77 PRG:0F77 90 04 + bcc Sub_8764_OnCarryClear_CF7D ; CPU:$CF77 PRG:0F77 90 04 inc ZpB6 ; CPU:$CF79 PRG:0F79 E6 B6 - bne Label_CF7F ; CPU:$CF7B PRG:0F7B D0 02 + bne Sub_8764_OnNonzero_CF7F ; CPU:$CF7B PRG:0F7B D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7D +; Routine: Sub_8764_OnCarryClear_CF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3965,10 +3965,10 @@ Label_CF72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7D: +Sub_8764_OnCarryClear_CF7D: dec ZpB6 ; CPU:$CF7D PRG:0F7D C6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7F +; Routine: Sub_8764_OnNonzero_CF7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3976,16 +3976,16 @@ Label_CF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7F: +Sub_8764_OnNonzero_CF7F: inc Zp11 ; CPU:$CF7F PRG:0F7F E6 11 - jsr $D5E7 ; CPU:$CF81 PRG:0F81 20 E7 D5 + jsr SubCD5E7 ; CPU:$CF81 PRG:0F81 20 E7 D5 lda #$FF ; CPU:$CF84 PRG:0F84 A9 FF sta $0361 ; CPU:$CF86 PRG:0F86 8D 61 03 dec ZpD1 ; CPU:$CF89 PRG:0F89 C6 D1 dec Zp3F ; CPU:$CF8B PRG:0F8B C6 3F - bne Label_CF72 ; CPU:$CF8D PRG:0F8D D0 E3 + bne Sub_8764_OnNonzero_CF72 ; CPU:$CF8D PRG:0F8D D0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_CF8F +; Routine: SubCCF8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3993,7 +3993,7 @@ Label_CF7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF8F: +SubCCF8F: lda #$32 ; CPU:$CF8F PRG:0F8F A9 32 sta $04AC ; CPU:$CF91 PRG:0F91 8D AC 04 lda #$FA ; CPU:$CF94 PRG:0F94 A9 FA @@ -4001,7 +4001,7 @@ Label_CF8F: sta $0361 ; CPU:$CF98 PRG:0F98 8D 61 03 ldx #$00 ; CPU:$CF9B PRG:0F9B A2 00 ldy #$30 ; CPU:$CF9D PRG:0F9D A0 30 - jsr $C463 ; CPU:$CF9F PRG:0F9F 20 63 C4 + jsr SubCC463 ; CPU:$CF9F PRG:0F9F 20 63 C4 lda #$AD ; CPU:$CFA2 PRG:0FA2 A9 AD sta ZpB2 ; CPU:$CFA4 PRG:0FA4 85 B2 sta ZpB3 ; CPU:$CFA6 PRG:0FA6 85 B3 @@ -4009,9 +4009,9 @@ Label_CF8F: sta ZpA5 ; CPU:$CFAA PRG:0FAA 85 A5 lda #$64 ; CPU:$CFAC PRG:0FAC A9 64 sta Zp3F ; CPU:$CFAE PRG:0FAE 85 3F - jsr $C515 ; CPU:$CFB0 PRG:0FB0 20 15 C5 + jsr SubCC515 ; CPU:$CFB0 PRG:0FB0 20 15 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB3 +; Routine: Sub_8764_OnZero_CFB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4019,10 +4019,10 @@ Label_CF8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB3: - jsr $D2CC ; CPU:$CFB3 PRG:0FB3 20 CC D2 +Sub_8764_OnZero_CFB3: + jsr SubCD2CC ; CPU:$CFB3 PRG:0FB3 20 CC D2 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB6 +; Routine: Sub_8764_OnNonzero_CFB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4030,17 +4030,17 @@ Label_CFB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB6: +Sub_8764_OnNonzero_CFB6: dec Zp3F ; CPU:$CFB6 PRG:0FB6 C6 3F - jsr $D191 ; CPU:$CFB8 PRG:0FB8 20 91 D1 + jsr SubCD191 ; CPU:$CFB8 PRG:0FB8 20 91 D1 lda Zp3F ; CPU:$CFBB PRG:0FBB A5 3F cmp #$60 ; CPU:$CFBD PRG:0FBD C9 60 - beq Label_CFB3 ; CPU:$CFBF PRG:0FBF F0 F2 + beq Sub_8764_OnZero_CFB3 ; CPU:$CFBF PRG:0FBF F0 F2 cmp #$55 ; CPU:$CFC1 PRG:0FC1 C9 55 - bcc Label_CFC8 ; CPU:$CFC3 PRG:0FC3 90 03 - jsr $D61B ; CPU:$CFC5 PRG:0FC5 20 1B D6 + bcc Sub_8764_OnCarryClear_CFC8 ; CPU:$CFC3 PRG:0FC3 90 03 + jsr SubCD61B ; CPU:$CFC5 PRG:0FC5 20 1B D6 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC8 +; Routine: Sub_8764_OnCarryClear_CFC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4048,11 +4048,11 @@ Label_CFB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC8: +Sub_8764_OnCarryClear_CFC8: lda Zp3F ; CPU:$CFC8 PRG:0FC8 A5 3F - bne Label_CFB6 ; CPU:$CFCA PRG:0FCA D0 EA + bne Sub_8764_OnNonzero_CFB6 ; CPU:$CFCA PRG:0FCA D0 EA ; ----------------------------------------------------------------------------- -; Routine: Label_CFCC +; Routine: Sub_8764_OnNegative_CFCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4060,16 +4060,16 @@ Label_CFC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFCC: - jsr $D191 ; CPU:$CFCC PRG:0FCC 20 91 D1 +Sub_8764_OnNegative_CFCC: + jsr SubCD191 ; CPU:$CFCC PRG:0FCC 20 91 D1 lda ZpA6 ; CPU:$CFCF PRG:0FCF A5 A6 - bmi Label_CFCC ; CPU:$CFD1 PRG:0FD1 30 F9 + bmi Sub_8764_OnNegative_CFCC ; CPU:$CFD1 PRG:0FD1 30 F9 lda $0262 ; CPU:$CFD3 PRG:0FD3 AD 62 02 cmp #$23 ; CPU:$CFD6 PRG:0FD6 C9 23 - bne Label_D019 ; CPU:$CFD8 PRG:0FD8 D0 3F - jmp $CF5C ; CPU:$CFDA PRG:0FDA 4C 5C CF + bne Sub_8764_OnNonzero_D019 ; CPU:$CFD8 PRG:0FD8 D0 3F + jmp SubCCF5C ; CPU:$CFDA PRG:0FDA 4C 5C CF ; ----------------------------------------------------------------------------- -; Routine: Label_CFDD +; Routine: Sub_8764_OnNonzero_CFDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4077,20 +4077,20 @@ Label_CFCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDD: - jsr $C8E8 ; CPU:$CFDD PRG:0FDD 20 E8 C8 - jsr $C442 ; CPU:$CFE0 PRG:0FE0 20 42 C4 +Sub_8764_OnNonzero_CFDD: + jsr SubCC8E8 ; CPU:$CFDD PRG:0FDD 20 E8 C8 + jsr SubCC442 ; CPU:$CFE0 PRG:0FE0 20 42 C4 lda #$F4 ; CPU:$CFE3 PRG:0FE3 A9 F4 sta Zp4E ; CPU:$CFE5 PRG:0FE5 85 4E lda #$CF ; CPU:$CFE7 PRG:0FE7 A9 CF sta Zp4F ; CPU:$CFE9 PRG:0FE9 85 4F - jsr $C94D ; CPU:$CFEB PRG:0FEB 20 4D C9 - jsr $C032 ; CPU:$CFEE PRG:0FEE 20 32 C0 - jmp $C80A ; CPU:$CFF1 PRG:0FF1 4C 0A C8 + jsr SubCC94D ; CPU:$CFEB PRG:0FEB 20 4D C9 + jsr SubCC032 ; CPU:$CFEE PRG:0FEE 20 32 C0 + jmp SubCC80A ; CPU:$CFF1 PRG:0FF1 4C 0A C8 ; ---- data $CFF4-$CFFE (11 bytes) ---- .byte $7F, $7F, $63, $6F, $6D, $70, $6C, $65, $74, $65, $00 ; CPU:$CFF4 PRG:0FF4 7F 7F 63 6F 6D 70 6C 65 74 65 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFF +; Routine: SubCCFFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4098,14 +4098,14 @@ Label_CFDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFF: +SubCCFFF: lda #$02 ; CPU:$CFFF PRG:0FFF A9 02 sta ZpB9 ; CPU:$D001 PRG:1001 85 B9 - jsr $D224 ; CPU:$D003 PRG:1003 20 24 D2 + jsr SubCD224 ; CPU:$D003 PRG:1003 20 24 D2 lda #$1F ; CPU:$D006 PRG:1006 A9 1F sta Zp3C ; CPU:$D008 PRG:1008 85 3C ; ----------------------------------------------------------------------------- -; Routine: Label_D00A +; Routine: SubCD00A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4113,11 +4113,11 @@ Label_CFFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00A: +SubCD00A: lda #$23 ; CPU:$D00A PRG:100A A9 23 ldx #$02 ; CPU:$D00C PRG:100C A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D00E +; Routine: Sub_8764_OnNonnegative_D00E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4125,12 +4125,12 @@ Label_D00A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00E: +Sub_8764_OnNonnegative_D00E: sta $024C,x ; CPU:$D00E PRG:100E 9D 4C 02 dex ; CPU:$D011 PRG:1011 CA - bpl Label_D00E ; CPU:$D012 PRG:1012 10 FA + bpl Sub_8764_OnNonnegative_D00E ; CPU:$D012 PRG:1012 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_D014 +; Routine: SubCD014 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4138,11 +4138,11 @@ Label_D00E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D014: +SubCD014: lda #$2C ; CPU:$D014 PRG:1014 A9 2C sta $0254 ; CPU:$D016 PRG:1016 8D 54 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D019 +; Routine: Sub_8764_OnNonzero_D019 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4150,10 +4150,10 @@ Label_D014: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D019: +Sub_8764_OnNonzero_D019: rts ; CPU:$D019 PRG:1019 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D01A +; Routine: SubCD01A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4161,29 +4161,29 @@ Label_D019: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01A: +SubCD01A: ldy #$19 ; CPU:$D01A PRG:101A A0 19 - jsr $C043 ; CPU:$D01C PRG:101C 20 43 C0 - jsr $E83E ; CPU:$D01F PRG:101F 20 3E E8 - jsr $E28B ; CPU:$D022 PRG:1022 20 8B E2 - jsr $EAF6 ; CPU:$D025 PRG:1025 20 F6 EA - jsr $D800 ; CPU:$D028 PRG:1028 20 00 D8 - jsr $D199 ; CPU:$D02B PRG:102B 20 99 D1 - jsr $EEBC ; CPU:$D02E PRG:102E 20 BC EE - jsr $E157 ; CPU:$D031 PRG:1031 20 57 E1 - beq Label_D06F ; CPU:$D034 PRG:1034 F0 39 - lda $4016 ; CPU:$D036 PRG:1036 AD 16 40 + jsr SubCC043 ; CPU:$D01C PRG:101C 20 43 C0 + jsr SubCE83E ; CPU:$D01F PRG:101F 20 3E E8 + jsr SubCE28B ; CPU:$D022 PRG:1022 20 8B E2 + jsr SubCEAF6 ; CPU:$D025 PRG:1025 20 F6 EA + jsr SubCD800 ; CPU:$D028 PRG:1028 20 00 D8 + jsr SubCD199 ; CPU:$D02B PRG:102B 20 99 D1 + jsr SubCEEBC ; CPU:$D02E PRG:102E 20 BC EE + jsr SubCE157 ; CPU:$D031 PRG:1031 20 57 E1 + beq Sub_8764_JoinBranchPaths_D06F ; CPU:$D034 PRG:1034 F0 39 + lda JOY1 ; CPU:$D036 PRG:1036 AD 16 40 and #$04 ; CPU:$D039 PRG:1039 29 04 cmp ZpE1 ; CPU:$D03B PRG:103B C5 E1 - beq Label_D04A ; CPU:$D03D PRG:103D F0 0B + beq Sub_8764_JoinBranchPaths_D04A ; CPU:$D03D PRG:103D F0 0B sta ZpE1 ; CPU:$D03F PRG:103F 85 E1 lda ZpDF ; CPU:$D041 PRG:1041 A5 DF - bmi Label_D04A ; CPU:$D043 PRG:1043 30 05 + bmi Sub_8764_JoinBranchPaths_D04A ; CPU:$D043 PRG:1043 30 05 clc ; CPU:$D045 PRG:1045 18 adc #$08 ; CPU:$D046 PRG:1046 69 08 sta ZpDF ; CPU:$D048 PRG:1048 85 DF ; ----------------------------------------------------------------------------- -; Routine: Label_D04A +; Routine: Sub_8764_JoinBranchPaths_D04A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4191,15 +4191,15 @@ Label_D01A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04A: +Sub_8764_JoinBranchPaths_D04A: lda ZpDF ; CPU:$D04A PRG:104A A5 DF - beq Label_D06F ; CPU:$D04C PRG:104C F0 21 + beq Sub_8764_JoinBranchPaths_D06F ; CPU:$D04C PRG:104C F0 21 ldx #$03 ; CPU:$D04E PRG:104E A2 03 cmp #$40 ; CPU:$D050 PRG:1050 C9 40 - bcc Label_D055 ; CPU:$D052 PRG:1052 90 01 + bcc Sub_8764_OnCarryClear_D055 ; CPU:$D052 PRG:1052 90 01 dex ; CPU:$D054 PRG:1054 CA ; ----------------------------------------------------------------------------- -; Routine: Label_D055 +; Routine: Sub_8764_OnCarryClear_D055 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4207,7 +4207,7 @@ Label_D04A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D055: +Sub_8764_OnCarryClear_D055: stx Zp4D ; CPU:$D055 PRG:1055 86 4D lda #$78 ; CPU:$D057 PRG:1057 A9 78 sta Zp49 ; CPU:$D059 PRG:1059 85 49 @@ -4216,12 +4216,12 @@ Label_D055: lda #$CC ; CPU:$D05F PRG:105F A9 CC sta Zp4B ; CPU:$D061 PRG:1061 85 4B lda #$01 ; CPU:$D063 PRG:1063 A9 01 - jsr $C5A6 ; CPU:$D065 PRG:1065 20 A6 C5 + jsr SubCC5A6 ; CPU:$D065 PRG:1065 20 A6 C5 dec ZpDF ; CPU:$D068 PRG:1068 C6 DF - bne Label_D06F ; CPU:$D06A PRG:106A D0 03 - jsr $D4C3 ; CPU:$D06C PRG:106C 20 C3 D4 + bne Sub_8764_JoinBranchPaths_D06F ; CPU:$D06A PRG:106A D0 03 + jsr SubCD4C3 ; CPU:$D06C PRG:106C 20 C3 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D06F +; Routine: Sub_8764_JoinBranchPaths_D06F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4229,12 +4229,12 @@ Label_D055: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06F: +Sub_8764_JoinBranchPaths_D06F: lda Zp0D ; CPU:$D06F PRG:106F A5 0D - bne Label_D0A5 ; CPU:$D071 PRG:1071 D0 32 + bne Sub_8764_OnNonzero_D0A5 ; CPU:$D071 PRG:1071 D0 32 ldx #$0B ; CPU:$D073 PRG:1073 A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D075 +; Routine: Sub_8764_OnNonnegative_D075 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4242,11 +4242,11 @@ Label_D06F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D075: +Sub_8764_OnNonnegative_D075: lda $D119,x ; CPU:$D075 PRG:1075 BD 19 D1 sta $07F4,x ; CPU:$D078 PRG:1078 9D F4 07 dex ; CPU:$D07B PRG:107B CA - bpl Label_D075 ; CPU:$D07C PRG:107C 10 F7 + bpl Sub_8764_OnNonnegative_D075 ; CPU:$D07C PRG:107C 10 F7 lda #$E0 ; CPU:$D07E PRG:107E A9 E0 sta Zp00 ; CPU:$D080 PRG:1080 85 00 lda #$0C ; CPU:$D082 PRG:1082 A9 0C @@ -4255,17 +4255,17 @@ Label_D075: sta Zp02 ; CPU:$D088 PRG:1088 85 02 ldx #$78 ; CPU:$D08A PRG:108A A2 78 ldy #$B8 ; CPU:$D08C PRG:108C A0 B8 - jsr $C907 ; CPU:$D08E PRG:108E 20 07 C9 + jsr SubCC907 ; CPU:$D08E PRG:108E 20 07 C9 lda #$EC ; CPU:$D091 PRG:1091 A9 EC sta Zp00 ; CPU:$D093 PRG:1093 85 00 ldx #$6E ; CPU:$D095 PRG:1095 A2 6E lda $0254 ; CPU:$D097 PRG:1097 AD 54 02 - jsr $C925 ; CPU:$D09A PRG:109A 20 25 C9 + jsr SubCC925 ; CPU:$D09A PRG:109A 20 25 C9 ldx #$92 ; CPU:$D09D PRG:109D A2 92 lda $0262 ; CPU:$D09F PRG:109F AD 62 02 - jsr $C925 ; CPU:$D0A2 PRG:10A2 20 25 C9 + jsr SubCC925 ; CPU:$D0A2 PRG:10A2 20 25 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A5 +; Routine: Sub_8764_OnNonzero_D0A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4273,13 +4273,13 @@ Label_D075: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A5: +Sub_8764_OnNonzero_D0A5: ldx #$0B ; CPU:$D0A5 PRG:10A5 A2 0B - jsr $ED61 ; CPU:$D0A7 PRG:10A7 20 61 ED - bcc Label_D0DD ; CPU:$D0AA PRG:10AA 90 31 + jsr SubCED61 ; CPU:$D0A7 PRG:10A7 20 61 ED + bcc Sub_8764_JoinBranchPaths_D0DD ; CPU:$D0AA PRG:10AA 90 31 ldx #$03 ; CPU:$D0AC PRG:10AC A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D0AE +; Routine: Sub_8764_OnNonnegative_D0AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4287,19 +4287,19 @@ Label_D0A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AE: +Sub_8764_OnNonnegative_D0AE: lda $D115,x ; CPU:$D0AE PRG:10AE BD 15 D1 sta $07C8,x ; CPU:$D0B1 PRG:10B1 9D C8 07 dex ; CPU:$D0B4 PRG:10B4 CA - bpl Label_D0AE ; CPU:$D0B5 PRG:10B5 10 F7 + bpl Sub_8764_OnNonnegative_D0AE ; CPU:$D0B5 PRG:10B5 10 F7 ldx #$6E ; CPU:$D0B7 PRG:10B7 A2 6E ldy #$20 ; CPU:$D0B9 PRG:10B9 A0 20 - jsr $C8FB ; CPU:$D0BB PRG:10BB 20 FB C8 + jsr SubCC8FB ; CPU:$D0BB PRG:10BB 20 FB C8 ldx #$D0 ; CPU:$D0BE PRG:10BE A2 D0 ldy #$10 ; CPU:$D0C0 PRG:10C0 A0 10 - jsr $C463 ; CPU:$D0C2 PRG:10C2 20 63 C4 + jsr SubCC463 ; CPU:$D0C2 PRG:10C2 20 63 C4 lda $0240 ; CPU:$D0C5 PRG:10C5 AD 40 02 - beq Label_D0DD ; CPU:$D0C8 PRG:10C8 F0 13 + beq Sub_8764_JoinBranchPaths_D0DD ; CPU:$D0C8 PRG:10C8 F0 13 sta Zp4B ; CPU:$D0CA PRG:10CA 85 4B lda #$7A ; CPU:$D0CC PRG:10CC A9 7A sta Zp49 ; CPU:$D0CE PRG:10CE 85 49 @@ -4308,9 +4308,9 @@ Label_D0AE: lda #$03 ; CPU:$D0D4 PRG:10D4 A9 03 sta Zp4D ; CPU:$D0D6 PRG:10D6 85 4D lda #$33 ; CPU:$D0D8 PRG:10D8 A9 33 - jsr $C56D ; CPU:$D0DA PRG:10DA 20 6D C5 + jsr SubCC56D ; CPU:$D0DA PRG:10DA 20 6D C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D0DD +; Routine: Sub_8764_JoinBranchPaths_D0DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4318,13 +4318,13 @@ Label_D0AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0DD: +Sub_8764_JoinBranchPaths_D0DD: lda $0240 ; CPU:$D0DD PRG:10DD AD 40 02 - bne Label_D0E7 ; CPU:$D0E0 PRG:10E0 D0 05 + bne Sub_8764_OnNonzero_D0E7 ; CPU:$D0E0 PRG:10E0 D0 05 lda #$33 ; CPU:$D0E2 PRG:10E2 A9 33 - jsr $C55A ; CPU:$D0E4 PRG:10E4 20 5A C5 + jsr SubCC55A ; CPU:$D0E4 PRG:10E4 20 5A C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D0E7 +; Routine: Sub_8764_OnNonzero_D0E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4332,19 +4332,19 @@ Label_D0DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E7: +Sub_8764_OnNonzero_D0E7: lda ZpD4 ; CPU:$D0E7 PRG:10E7 A5 D4 - beq Label_D125 ; CPU:$D0E9 PRG:10E9 F0 3A + beq Sub_8764_OnZero_D125 ; CPU:$D0E9 PRG:10E9 F0 3A lda Zp3F ; CPU:$D0EB PRG:10EB A5 3F - bne Label_D145 ; CPU:$D0ED PRG:10ED D0 56 + bne SubCD145 ; CPU:$D0ED PRG:10ED D0 56 lda ZpCA ; CPU:$D0EF PRG:10EF A5 CA - bne Label_D145 ; CPU:$D0F1 PRG:10F1 D0 52 - jsr $D110 ; CPU:$D0F3 PRG:10F3 20 10 D1 - beq Label_D145 ; CPU:$D0F6 PRG:10F6 F0 4D - jsr $C2C1 ; CPU:$D0F8 PRG:10F8 20 C1 C2 + bne SubCD145 ; CPU:$D0F1 PRG:10F1 D0 52 + jsr SubCD110 ; CPU:$D0F3 PRG:10F3 20 10 D1 + beq SubCD145 ; CPU:$D0F6 PRG:10F6 F0 4D + jsr SubCC2C1 ; CPU:$D0F8 PRG:10F8 20 C1 C2 dec ZpCF ; CPU:$D0FB PRG:10FB C6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_D0FD +; Routine: Sub_8764_OnNonzero_D0FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4352,11 +4352,11 @@ Label_D0E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FD: - jsr $D110 ; CPU:$D0FD PRG:10FD 20 10 D1 - bne Label_D0FD ; CPU:$D100 PRG:1100 D0 FB +Sub_8764_OnNonzero_D0FD: + jsr SubCD110 ; CPU:$D0FD PRG:10FD 20 10 D1 + bne Sub_8764_OnNonzero_D0FD ; CPU:$D100 PRG:1100 D0 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D102 +; Routine: Sub_8764_OnZero_D102 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4364,14 +4364,14 @@ Label_D0FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D102: - jsr $D110 ; CPU:$D102 PRG:1102 20 10 D1 - beq Label_D102 ; CPU:$D105 PRG:1105 F0 FB - jsr $C2C1 ; CPU:$D107 PRG:1107 20 C1 C2 - jsr $C32C ; CPU:$D10A PRG:110A 20 2C C3 - jmp $D145 ; CPU:$D10D PRG:110D 4C 45 D1 +Sub_8764_OnZero_D102: + jsr SubCD110 ; CPU:$D102 PRG:1102 20 10 D1 + beq Sub_8764_OnZero_D102 ; CPU:$D105 PRG:1105 F0 FB + jsr SubCC2C1 ; CPU:$D107 PRG:1107 20 C1 C2 + jsr SubCC32C ; CPU:$D10A PRG:110A 20 2C C3 + jmp SubCD145 ; CPU:$D10D PRG:110D 4C 45 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D110 +; Routine: SubCD110 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4379,7 +4379,7 @@ Label_D102: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D110: +SubCD110: lda Zp50 ; CPU:$D110 PRG:1110 A5 50 and #$10 ; CPU:$D112 PRG:1112 29 10 rts ; CPU:$D114 PRG:1114 60 @@ -4388,7 +4388,7 @@ Label_D110: ; referenced by `lda $D115,x` at $D0AE (operand $D115 falls inside this region) .byte $20, $55, $00, $62, $B8, $64, $00, $6C, $D0, $44, $00, $62, $D0, $86, $00, $86 ; CPU:$D115 PRG:1115 20 55 00 62 B8 64 00 6C D0 44 00 62 D0 86 00 86 ; ----------------------------------------------------------------------------- -; Routine: Label_D125 +; Routine: Sub_8764_OnZero_D125 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4396,13 +4396,13 @@ Label_D110: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D125: +Sub_8764_OnZero_D125: lda Zp50 ; CPU:$D125 PRG:1125 A5 50 and #$30 ; CPU:$D127 PRG:1127 29 30 - beq Label_D12E ; CPU:$D129 PRG:1129 F0 03 - jmp $C719 ; CPU:$D12B PRG:112B 4C 19 C7 + beq Sub_8764_OnZero_D12E ; CPU:$D129 PRG:1129 F0 03 + jmp SubCC719 ; CPU:$D12B PRG:112B 4C 19 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D12E +; Routine: Sub_8764_OnZero_D12E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4410,20 +4410,20 @@ Label_D125: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D12E: +Sub_8764_OnZero_D12E: inc Zp56 ; CPU:$D12E PRG:112E E6 56 lda Zp56 ; CPU:$D130 PRG:1130 A5 56 and #$3F ; CPU:$D132 PRG:1132 29 3F - bne Label_D144 ; CPU:$D134 PRG:1134 D0 0E + bne Sub_8764_JoinBranchPaths_D144 ; CPU:$D134 PRG:1134 D0 0E inc Zp10 ; CPU:$D136 PRG:1136 E6 10 inc ZpB6 ; CPU:$D138 PRG:1138 E6 B6 inc ZpB6 ; CPU:$D13A PRG:113A E6 B6 lda Zp11 ; CPU:$D13C PRG:113C A5 11 cmp #$14 ; CPU:$D13E PRG:113E C9 14 - beq Label_D144 ; CPU:$D140 PRG:1140 F0 02 + beq Sub_8764_JoinBranchPaths_D144 ; CPU:$D140 PRG:1140 F0 02 inc Zp11 ; CPU:$D142 PRG:1142 E6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_D144 +; Routine: Sub_8764_JoinBranchPaths_D144 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4431,10 +4431,10 @@ Label_D12E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D144: +Sub_8764_JoinBranchPaths_D144: rts ; CPU:$D144 PRG:1144 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D145 +; Routine: SubCD145 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4442,10 +4442,10 @@ Label_D144: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D145: +SubCD145: ldx #$00 ; CPU:$D145 PRG:1145 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D147 +; Routine: Sub_8764_OnNonzero_D147 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4453,17 +4453,17 @@ Label_D145: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D147: +Sub_8764_OnNonzero_D147: lda $026E,x ; CPU:$D147 PRG:1147 BD 6E 02 cmp $0268,x ; CPU:$D14A PRG:114A DD 68 02 - bcc Label_D158 ; CPU:$D14D PRG:114D 90 09 - bne Label_D163 ; CPU:$D14F PRG:114F D0 12 + bcc Sub_8764_OnCarryClear_D158 ; CPU:$D14D PRG:114D 90 09 + bne Sub_8764_JoinBranchPaths_D163 ; CPU:$D14F PRG:114F D0 12 inx ; CPU:$D151 PRG:1151 E8 cpx #$06 ; CPU:$D152 PRG:1152 E0 06 - bne Label_D147 ; CPU:$D154 PRG:1154 D0 F1 - beq Label_D163 ; CPU:$D156 PRG:1156 F0 0B + bne Sub_8764_OnNonzero_D147 ; CPU:$D154 PRG:1154 D0 F1 + beq Sub_8764_JoinBranchPaths_D163 ; CPU:$D156 PRG:1156 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D158 +; Routine: Sub_8764_OnCarryClear_D158 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4471,10 +4471,10 @@ Label_D147: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D158: +Sub_8764_OnCarryClear_D158: ldx #$05 ; CPU:$D158 PRG:1158 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D15A +; Routine: Sub_8764_OnNonnegative_D15A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4482,13 +4482,13 @@ Label_D158: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D15A: +Sub_8764_OnNonnegative_D15A: lda $0268,x ; CPU:$D15A PRG:115A BD 68 02 sta $026E,x ; CPU:$D15D PRG:115D 9D 6E 02 dex ; CPU:$D160 PRG:1160 CA - bpl Label_D15A ; CPU:$D161 PRG:1161 10 F7 + bpl Sub_8764_OnNonnegative_D15A ; CPU:$D161 PRG:1161 10 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_D163 +; Routine: Sub_8764_JoinBranchPaths_D163 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4496,18 +4496,18 @@ Label_D15A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D163: +Sub_8764_JoinBranchPaths_D163: ldx Zp50 ; CPU:$D163 PRG:1163 A6 50 txa ; CPU:$D165 PRG:1165 8A and #$80 ; CPU:$D166 PRG:1166 29 80 - beq Label_D173 ; CPU:$D168 PRG:1168 F0 09 + beq Sub_8764_OnZero_D173 ; CPU:$D168 PRG:1168 F0 09 lda ZpC7 ; CPU:$D16A PRG:116A A5 C7 - bne Label_D175 ; CPU:$D16C PRG:116C D0 07 + bne Sub_8764_OnNonzero_D175 ; CPU:$D16C PRG:116C D0 07 inc ZpC7 ; CPU:$D16E PRG:116E E6 C7 inc Zp10 ; CPU:$D170 PRG:1170 E6 10 rts ; CPU:$D172 PRG:1172 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D173 +; Routine: Sub_8764_OnZero_D173 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4515,10 +4515,10 @@ Label_D163: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D173: +Sub_8764_OnZero_D173: sta ZpC7 ; CPU:$D173 PRG:1173 85 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D175 +; Routine: Sub_8764_OnNonzero_D175 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4526,22 +4526,22 @@ Label_D173: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D175: +Sub_8764_OnNonzero_D175: txa ; CPU:$D175 PRG:1175 8A and #$40 ; CPU:$D176 PRG:1176 29 40 - beq Label_D18E ; CPU:$D178 PRG:1178 F0 14 + beq Sub_8764_OnZero_D18E ; CPU:$D178 PRG:1178 F0 14 lda ZpC8 ; CPU:$D17A PRG:117A A5 C8 - bne Label_D190 ; CPU:$D17C PRG:117C D0 12 + bne Sub_8764_JoinBranchPaths_D190 ; CPU:$D17C PRG:117C D0 12 lda $0361 ; CPU:$D17E PRG:117E AD 61 03 - bpl Label_D190 ; CPU:$D181 PRG:1181 10 0D + bpl Sub_8764_JoinBranchPaths_D190 ; CPU:$D181 PRG:1181 10 0D lda Zp12 ; CPU:$D183 PRG:1183 A5 12 and #$03 ; CPU:$D185 PRG:1185 29 03 - bne Label_D190 ; CPU:$D187 PRG:1187 D0 07 + bne Sub_8764_JoinBranchPaths_D190 ; CPU:$D187 PRG:1187 D0 07 inc ZpC8 ; CPU:$D189 PRG:1189 E6 C8 dec Zp10 ; CPU:$D18B PRG:118B C6 10 rts ; CPU:$D18D PRG:118D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D18E +; Routine: Sub_8764_OnZero_D18E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4549,10 +4549,10 @@ Label_D175: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D18E: +Sub_8764_OnZero_D18E: sta ZpC8 ; CPU:$D18E PRG:118E 85 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D190 +; Routine: Sub_8764_JoinBranchPaths_D190 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4560,10 +4560,10 @@ Label_D18E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D190: +Sub_8764_JoinBranchPaths_D190: rts ; CPU:$D190 PRG:1190 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D191 +; Routine: SubCD191 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4571,10 +4571,10 @@ Label_D190: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D191: - jsr $D01A ; CPU:$D191 PRG:1191 20 1A D0 +SubCD191: + jsr SubCD01A ; CPU:$D191 PRG:1191 20 1A D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D194 +; Routine: SubCD194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4582,11 +4582,11 @@ Label_D191: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D194: +SubCD194: ldy #$13 ; CPU:$D194 PRG:1194 A0 13 - jmp $C043 ; CPU:$D196 PRG:1196 4C 43 C0 + jmp SubCC043 ; CPU:$D196 PRG:1196 4C 43 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_D199 +; Routine: SubCD199 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4594,14 +4594,14 @@ Label_D194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D199: +SubCD199: lda ZpA5 ; CPU:$D199 PRG:1199 A5 A5 and #$03 ; CPU:$D19B PRG:119B 29 03 - bne Label_D1A5 ; CPU:$D19D PRG:119D D0 06 - jsr $CE2D ; CPU:$D19F PRG:119F 20 2D CE - jsr $D200 ; CPU:$D1A2 PRG:11A2 20 00 D2 + bne Sub_8764_OnNonzero_D1A5 ; CPU:$D19D PRG:119D D0 06 + jsr SubCCE2D ; CPU:$D19F PRG:119F 20 2D CE + jsr SubCD200 ; CPU:$D1A2 PRG:11A2 20 00 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A5 +; Routine: Sub_8764_OnNonzero_D1A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4609,27 +4609,27 @@ Label_D199: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A5: +Sub_8764_OnNonzero_D1A5: lda ZpA5 ; CPU:$D1A5 PRG:11A5 A5 A5 cmp #$05 ; CPU:$D1A7 PRG:11A7 C9 05 - bne Label_D1DA ; CPU:$D1A9 PRG:11A9 D0 2F - jsr $D24C ; CPU:$D1AB PRG:11AB 20 4C D2 + bne Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1A9 PRG:11A9 D0 2F + jsr SubCD24C ; CPU:$D1AB PRG:11AB 20 4C D2 ldx ZpD8 ; CPU:$D1AE PRG:11AE A6 D8 - bmi Label_D1DA ; CPU:$D1B0 PRG:11B0 30 28 + bmi Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1B0 PRG:11B0 30 28 dec ZpD8 ; CPU:$D1B2 PRG:11B2 C6 D8 - beq Label_D1DB ; CPU:$D1B4 PRG:11B4 F0 25 + beq Sub_8764_OnZero_D1DB ; CPU:$D1B4 PRG:11B4 F0 25 lda $04B6 ; CPU:$D1B6 PRG:11B6 AD B6 04 - bpl Label_D1DA ; CPU:$D1B9 PRG:11B9 10 1F + bpl Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1B9 PRG:11B9 10 1F txa ; CPU:$D1BB PRG:11BB 8A and #$07 ; CPU:$D1BC PRG:11BC 29 07 tax ; CPU:$D1BE PRG:11BE AA ldy #$0B ; CPU:$D1BF PRG:11BF A0 0B sty ZpD2 ; CPU:$D1C1 PRG:11C1 84 D2 lda $D1F8,x ; CPU:$D1C3 PRG:11C3 BD F8 D1 - jsr $C4F9 ; CPU:$D1C6 PRG:11C6 20 F9 C4 + jsr SubCC4F9 ; CPU:$D1C6 PRG:11C6 20 F9 C4 lda #$00 ; CPU:$D1C9 PRG:11C9 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CB +; Routine: SubCD1CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4637,7 +4637,7 @@ Label_D1A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CB: +SubCD1CB: clc ; CPU:$D1CB PRG:11CB 18 adc $0280,y ; CPU:$D1CC PRG:11CC 79 80 02 sta $0281 ; CPU:$D1CF PRG:11CF 8D 81 02 @@ -4645,7 +4645,7 @@ Label_D1CB: adc #$00 ; CPU:$D1D5 PRG:11D5 69 00 sta $035F ; CPU:$D1D7 PRG:11D7 8D 5F 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DA +; Routine: Sub_8764_JoinBranchPaths_D1DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4653,10 +4653,10 @@ Label_D1CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DA: +Sub_8764_JoinBranchPaths_D1DA: rts ; CPU:$D1DA PRG:11DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DB +; Routine: Sub_8764_OnZero_D1DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4664,14 +4664,14 @@ Label_D1DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DB: +Sub_8764_OnZero_D1DB: lda #$03 ; CPU:$D1DB PRG:11DB A9 03 - jsr $CE20 ; CPU:$D1DD PRG:11DD 20 20 CE + jsr SubCCE20 ; CPU:$D1DD PRG:11DD 20 20 CE lda #$00 ; CPU:$D1E0 PRG:11E0 A9 00 sta ZpD5 ; CPU:$D1E2 PRG:11E2 85 D5 sta ZpD2 ; CPU:$D1E4 PRG:11E4 85 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E6 +; Routine: SubCD1E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4679,7 +4679,7 @@ Label_D1DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E6: +SubCD1E6: lda #$FF ; CPU:$D1E6 PRG:11E6 A9 FF sta $0369 ; CPU:$D1E8 PRG:11E8 8D 69 03 sta $036A ; CPU:$D1EB PRG:11EB 8D 6A 03 @@ -4692,7 +4692,7 @@ Label_D1E6: ; referenced by `lda $D1F8,x` at $D1C3 (operand $D1F8 falls inside this region) .byte $00, $00, $32, $1E, $0A, $28, $00, $14 ; CPU:$D1F8 PRG:11F8 00 00 32 1E 0A 28 00 14 ; ----------------------------------------------------------------------------- -; Routine: Label_D200 +; Routine: SubCD200 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4700,19 +4700,19 @@ Label_D1E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D200: +SubCD200: lda $024C ; CPU:$D200 PRG:1200 AD 4C 02 cmp #$24 ; CPU:$D203 PRG:1203 C9 24 - bcs Label_D216 ; CPU:$D205 PRG:1205 B0 0F + bcs Sub_8764_OnCarrySet_D216 ; CPU:$D205 PRG:1205 B0 0F lda $024D ; CPU:$D207 PRG:1207 AD 4D 02 cmp #$2B ; CPU:$D20A PRG:120A C9 2B - bcs Label_D216 ; CPU:$D20C PRG:120C B0 08 + bcs Sub_8764_OnCarrySet_D216 ; CPU:$D20C PRG:120C B0 08 cmp #$28 ; CPU:$D20E PRG:120E C9 28 - bcs Label_D21C ; CPU:$D210 PRG:1210 B0 0A + bcs Sub_8764_OnCarrySet_D21C ; CPU:$D210 PRG:1210 B0 0A ldx #$02 ; CPU:$D212 PRG:1212 A2 02 - bne Label_D228 ; CPU:$D214 PRG:1214 D0 12 + bne Sub_8764_OnNonzero_D228 ; CPU:$D214 PRG:1214 D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D216 +; Routine: Sub_8764_OnCarrySet_D216 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4720,12 +4720,12 @@ Label_D200: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D216: +Sub_8764_OnCarrySet_D216: ldx #$05 ; CPU:$D216 PRG:1216 A2 05 ldy #$10 ; CPU:$D218 PRG:1218 A0 10 - bne Label_D220 ; CPU:$D21A PRG:121A D0 04 + bne Sub_8764_OnNonzero_D220 ; CPU:$D21A PRG:121A D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D21C +; Routine: Sub_8764_OnCarrySet_D21C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4733,11 +4733,11 @@ Label_D216: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D21C: +Sub_8764_OnCarrySet_D21C: ldx #$07 ; CPU:$D21C PRG:121C A2 07 ldy #$18 ; CPU:$D21E PRG:121E A0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_D220 +; Routine: Sub_8764_OnNonzero_D220 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4745,11 +4745,11 @@ Label_D21C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D220: +Sub_8764_OnNonzero_D220: sty Zp3C ; CPU:$D220 PRG:1220 84 3C stx ZpB9 ; CPU:$D222 PRG:1222 86 B9 ; ----------------------------------------------------------------------------- -; Routine: Label_D224 +; Routine: SubCD224 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4757,11 +4757,11 @@ Label_D220: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D224: +SubCD224: lda #$01 ; CPU:$D224 PRG:1224 A9 01 sta Zp55 ; CPU:$D226 PRG:1226 85 55 ; ----------------------------------------------------------------------------- -; Routine: Label_D228 +; Routine: Sub_8764_OnNonzero_D228 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4769,10 +4769,10 @@ Label_D224: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D228: +Sub_8764_OnNonzero_D228: rts ; CPU:$D228 PRG:1228 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D229 +; Routine: Sub_8764_OnZero_D229 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4780,16 +4780,16 @@ Label_D228: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D229: +Sub_8764_OnZero_D229: lda $03D8 ; CPU:$D229 PRG:1229 AD D8 03 - bne Label_D244 ; CPU:$D22C PRG:122C D0 16 + bne Sub_8764_JoinBranchPaths_D244 ; CPU:$D22C PRG:122C D0 16 lda $02FA ; CPU:$D22E PRG:122E AD FA 02 cmp #$5C ; CPU:$D231 PRG:1231 C9 5C - bcs Label_D244 ; CPU:$D233 PRG:1233 B0 0F + bcs Sub_8764_JoinBranchPaths_D244 ; CPU:$D233 PRG:1233 B0 0F lda $0369 ; CPU:$D235 PRG:1235 AD 69 03 - bmi Label_D244 ; CPU:$D238 PRG:1238 30 0A + bmi Sub_8764_JoinBranchPaths_D244 ; CPU:$D238 PRG:1238 30 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D23A +; Routine: SubCD23A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4797,14 +4797,14 @@ Label_D229: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D23A: +SubCD23A: lda ZpD8 ; CPU:$D23A PRG:123A A5 D8 - bpl Label_D244 ; CPU:$D23C PRG:123C 10 06 + bpl Sub_8764_JoinBranchPaths_D244 ; CPU:$D23C PRG:123C 10 06 lda #$0F ; CPU:$D23E PRG:123E A9 0F sta ZpD8 ; CPU:$D240 PRG:1240 85 D8 inc ZpD7 ; CPU:$D242 PRG:1242 E6 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D244 +; Routine: Sub_8764_JoinBranchPaths_D244 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4812,13 +4812,13 @@ Label_D23A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D244: +Sub_8764_JoinBranchPaths_D244: rts ; CPU:$D244 PRG:1244 60 ; ---- data $D245-$D24B (7 bytes) ---- ; referenced by `lda $D245,x` at $D262 (operand $D245 falls inside this region) .byte $1F, $1F, $1F, $3F, $7F, $7F, $FF ; CPU:$D245 PRG:1245 1F 1F 1F 3F 7F 7F FF ; ----------------------------------------------------------------------------- -; Routine: Label_D24C +; Routine: SubCD24C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4826,29 +4826,29 @@ Label_D244: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D24C: +SubCD24C: lda $036B ; CPU:$D24C PRG:124C AD 6B 03 - bmi Label_D244 ; CPU:$D24F PRG:124F 30 F3 + bmi Sub_8764_JoinBranchPaths_D244 ; CPU:$D24F PRG:124F 30 F3 lda ZpBC ; CPU:$D251 PRG:1251 A5 BC - bmi Label_D29C ; CPU:$D253 PRG:1253 30 47 + bmi Sub_8764_OnNegative_D29C ; CPU:$D253 PRG:1253 30 47 lda ZpBB ; CPU:$D255 PRG:1255 A5 BB - beq Label_D229 ; CPU:$D257 PRG:1257 F0 D0 - bmi Label_D29F ; CPU:$D259 PRG:1259 30 44 - jsr $D8A7 ; CPU:$D25B PRG:125B 20 A7 D8 - beq Label_D244 ; CPU:$D25E PRG:125E F0 E4 + beq Sub_8764_OnZero_D229 ; CPU:$D257 PRG:1257 F0 D0 + bmi Sub_8764_OnNegative_D29F ; CPU:$D259 PRG:1259 30 44 + jsr SubCD8A7 ; CPU:$D25B PRG:125B 20 A7 D8 + beq Sub_8764_JoinBranchPaths_D244 ; CPU:$D25E PRG:125E F0 E4 ldx ZpBD ; CPU:$D260 PRG:1260 A6 BD lda $D245,x ; CPU:$D262 PRG:1262 BD 45 D2 and Zp12 ; CPU:$D265 PRG:1265 25 12 - bne Label_D244 ; CPU:$D267 PRG:1267 D0 DB + bne Sub_8764_JoinBranchPaths_D244 ; CPU:$D267 PRG:1267 D0 DB ldx ZpBB ; CPU:$D269 PRG:1269 A6 BB cpx #$16 ; CPU:$D26B PRG:126B E0 16 - bcs Label_D279 ; CPU:$D26D PRG:126D B0 0A + bcs Sub_8764_OnCarrySet_D279 ; CPU:$D26D PRG:126D B0 0A inc ZpBB ; CPU:$D26F PRG:126F E6 BB cpx #$0F ; CPU:$D271 PRG:1271 E0 0F - bne Label_D278 ; CPU:$D273 PRG:1273 D0 03 - jsr $CE1E ; CPU:$D275 PRG:1275 20 1E CE + bne Sub_8764_JoinBranchPaths_D278 ; CPU:$D273 PRG:1273 D0 03 + jsr SubCCE1E ; CPU:$D275 PRG:1275 20 1E CE ; ----------------------------------------------------------------------------- -; Routine: Label_D278 +; Routine: Sub_8764_JoinBranchPaths_D278 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4856,10 +4856,10 @@ Label_D24C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D278: +Sub_8764_JoinBranchPaths_D278: rts ; CPU:$D278 PRG:1278 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D279 +; Routine: Sub_8764_OnCarrySet_D279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4867,14 +4867,14 @@ Label_D278: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D279: +Sub_8764_OnCarrySet_D279: lda $03D8 ; CPU:$D279 PRG:1279 AD D8 03 cmp #$03 ; CPU:$D27C PRG:127C C9 03 - bcc Label_D284 ; CPU:$D27E PRG:127E 90 04 + bcc Sub_8764_OnCarryClear_D284 ; CPU:$D27E PRG:127E 90 04 cmp #$07 ; CPU:$D280 PRG:1280 C9 07 - bcc Label_D278 ; CPU:$D282 PRG:1282 90 F4 + bcc Sub_8764_JoinBranchPaths_D278 ; CPU:$D282 PRG:1282 90 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_D284 +; Routine: Sub_8764_OnCarryClear_D284 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4882,16 +4882,16 @@ Label_D279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D284: +Sub_8764_OnCarryClear_D284: lda #$0F ; CPU:$D284 PRG:1284 A9 0F sta ZpBC ; CPU:$D286 PRG:1286 85 BC lda #$0C ; CPU:$D288 PRG:1288 A9 0C sta ZpBA ; CPU:$D28A PRG:128A 85 BA lda #$BE ; CPU:$D28C PRG:128C A9 BE sta ZpBB ; CPU:$D28E PRG:128E 85 BB - jsr $CE1E ; CPU:$D290 PRG:1290 20 1E CE + jsr SubCCE1E ; CPU:$D290 PRG:1290 20 1E CE ; ----------------------------------------------------------------------------- -; Routine: Label_D293 +; Routine: SubCD293 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4899,13 +4899,13 @@ Label_D284: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D293: +SubCD293: lda ZpCA ; CPU:$D293 PRG:1293 A5 CA - bne Label_D29B ; CPU:$D295 PRG:1295 D0 04 + bne Sub_8764_OnNonzero_D29B ; CPU:$D295 PRG:1295 D0 04 lda #$15 ; CPU:$D297 PRG:1297 A9 15 sta ZpCE ; CPU:$D299 PRG:1299 85 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D29B +; Routine: Sub_8764_OnNonzero_D29B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4913,10 +4913,10 @@ Label_D293: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29B: +Sub_8764_OnNonzero_D29B: rts ; CPU:$D29B PRG:129B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D29C +; Routine: Sub_8764_OnNegative_D29C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4924,10 +4924,10 @@ Label_D29B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29C: - jmp $D650 ; CPU:$D29C PRG:129C 4C 50 D6 +Sub_8764_OnNegative_D29C: + jmp SubCD650 ; CPU:$D29C PRG:129C 4C 50 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D29F +; Routine: Sub_8764_OnNegative_D29F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4935,21 +4935,21 @@ Label_D29C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29F: +Sub_8764_OnNegative_D29F: ldx #$0D ; CPU:$D29F PRG:129F A2 0D - jsr $EDD5 ; CPU:$D2A1 PRG:12A1 20 D5 ED + jsr SubCEDD5 ; CPU:$D2A1 PRG:12A1 20 D5 ED ldx #$0E ; CPU:$D2A4 PRG:12A4 A2 0E - jsr $EDD5 ; CPU:$D2A6 PRG:12A6 20 D5 ED + jsr SubCEDD5 ; CPU:$D2A6 PRG:12A6 20 D5 ED dec ZpBB ; CPU:$D2A9 PRG:12A9 C6 BB - bmi Label_D2BB ; CPU:$D2AB PRG:12AB 30 0E + bmi Sub_8764_OnNegative_D2BB ; CPU:$D2AB PRG:12AB 30 0E lda #$83 ; CPU:$D2AD PRG:12AD A9 83 sta ZpBB ; CPU:$D2AF PRG:12AF 85 BB ldx #$0D ; CPU:$D2B1 PRG:12B1 A2 0D - jsr $EDE0 ; CPU:$D2B3 PRG:12B3 20 E0 ED + jsr SubCEDE0 ; CPU:$D2B3 PRG:12B3 20 E0 ED ldx #$0E ; CPU:$D2B6 PRG:12B6 A2 0E - jsr $EDE0 ; CPU:$D2B8 PRG:12B8 20 E0 ED + jsr SubCEDE0 ; CPU:$D2B8 PRG:12B8 20 E0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D2BB +; Routine: Sub_8764_OnNegative_D2BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4957,16 +4957,16 @@ Label_D29F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2BB: +Sub_8764_OnNegative_D2BB: lda $036B ; CPU:$D2BB PRG:12BB AD 6B 03 - bne Label_D2CB ; CPU:$D2BE PRG:12BE D0 0B + bne Sub_8764_JoinBranchPaths_D2CB ; CPU:$D2BE PRG:12BE D0 0B lda $028D ; CPU:$D2C0 PRG:12C0 AD 8D 02 cmp #$64 ; CPU:$D2C3 PRG:12C3 C9 64 - bcs Label_D2CB ; CPU:$D2C5 PRG:12C5 B0 04 + bcs Sub_8764_JoinBranchPaths_D2CB ; CPU:$D2C5 PRG:12C5 B0 04 lda #$00 ; CPU:$D2C7 PRG:12C7 A9 00 sta ZpBB ; CPU:$D2C9 PRG:12C9 85 BB ; ----------------------------------------------------------------------------- -; Routine: Label_D2CB +; Routine: Sub_8764_JoinBranchPaths_D2CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4974,10 +4974,10 @@ Label_D2BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CB: +Sub_8764_JoinBranchPaths_D2CB: rts ; CPU:$D2CB PRG:12CB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2CC +; Routine: SubCD2CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4985,14 +4985,14 @@ Label_D2CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CC: +SubCD2CC: ldx #$01 ; CPU:$D2CC PRG:12CC A2 01 - jsr $D561 ; CPU:$D2CE PRG:12CE 20 61 D5 + jsr SubCD561 ; CPU:$D2CE PRG:12CE 20 61 D5 lda #$7C ; CPU:$D2D1 PRG:12D1 A9 7C sta $043D ; CPU:$D2D3 PRG:12D3 8D 3D 04 rts ; CPU:$D2D6 PRG:12D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D7 +; Routine: SubCD2D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5000,15 +5000,15 @@ Label_D2CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D7: +SubCD2D7: lda $024C ; CPU:$D2D7 PRG:12D7 AD 4C 02 cmp #$24 ; CPU:$D2DA PRG:12DA C9 24 - bcs Label_D2E3 ; CPU:$D2DC PRG:12DC B0 05 + bcs Sub_8764_OnCarrySet_D2E3 ; CPU:$D2DC PRG:12DC B0 05 lda ZpBD ; CPU:$D2DE PRG:12DE A5 BD - beq Label_D2E8 ; CPU:$D2E0 PRG:12E0 F0 06 + beq Sub_8764_OnZero_D2E8 ; CPU:$D2E0 PRG:12E0 F0 06 rts ; CPU:$D2E2 PRG:12E2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2E3 +; Routine: Sub_8764_OnCarrySet_D2E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5016,12 +5016,12 @@ Label_D2D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E3: +Sub_8764_OnCarrySet_D2E3: pla ; CPU:$D2E3 PRG:12E3 68 pla ; CPU:$D2E4 PRG:12E4 68 - jmp $CF8F ; CPU:$D2E5 PRG:12E5 4C 8F CF + jmp SubCCF8F ; CPU:$D2E5 PRG:12E5 4C 8F CF ; ----------------------------------------------------------------------------- -; Routine: Label_D2E8 +; Routine: Sub_8764_OnZero_D2E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5029,12 +5029,12 @@ Label_D2E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E8: +Sub_8764_OnZero_D2E8: pla ; CPU:$D2E8 PRG:12E8 68 pla ; CPU:$D2E9 PRG:12E9 68 rts ; CPU:$D2EA PRG:12EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2EB +; Routine: SubCD2EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5042,16 +5042,16 @@ Label_D2E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2EB: +SubCD2EB: lda Zp07 ; CPU:$D2EB PRG:12EB A5 07 - beq Label_D2FE ; CPU:$D2ED PRG:12ED F0 0F - bmi Label_D317 ; CPU:$D2EF PRG:12EF 30 26 + beq Sub_8764_OnZero_D2FE ; CPU:$D2ED PRG:12ED F0 0F + bmi Sub_8764_OnNegative_D317 ; CPU:$D2EF PRG:12EF 30 26 lda Zp08 ; CPU:$D2F1 PRG:12F1 A5 08 - bmi Label_D2FF ; CPU:$D2F3 PRG:12F3 30 0A + bmi Sub_8764_OnNegative_D2FF ; CPU:$D2F3 PRG:12F3 30 0A cmp #$51 ; CPU:$D2F5 PRG:12F5 C9 51 - bne Label_D2F9 ; CPU:$D2F7 PRG:12F7 D0 00 + bne Sub_8764_OnNonzero_D2F9 ; CPU:$D2F7 PRG:12F7 D0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D2F9 +; Routine: Sub_8764_OnNonzero_D2F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5059,11 +5059,11 @@ Label_D2EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2F9: - jsr $D30A ; CPU:$D2F9 PRG:12F9 20 0A D3 +Sub_8764_OnNonzero_D2F9: + jsr SubCD30A ; CPU:$D2F9 PRG:12F9 20 0A D3 inc Zp08 ; CPU:$D2FC PRG:12FC E6 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FE +; Routine: Sub_8764_OnZero_D2FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5071,10 +5071,10 @@ Label_D2F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FE: +Sub_8764_OnZero_D2FE: rts ; CPU:$D2FE PRG:12FE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FF +; Routine: Sub_8764_OnNegative_D2FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5082,7 +5082,7 @@ Label_D2FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FF: +Sub_8764_OnNegative_D2FF: lda #$00 ; CPU:$D2FF PRG:12FF A9 00 sta Zp07 ; CPU:$D301 PRG:1301 85 07 sta ZpAD ; CPU:$D303 PRG:1303 85 AD @@ -5090,7 +5090,7 @@ Label_D2FF: sta ZpAB ; CPU:$D307 PRG:1307 85 AB rts ; CPU:$D309 PRG:1309 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D30A +; Routine: SubCD30A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5098,12 +5098,12 @@ Label_D2FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D30A: +SubCD30A: lda Zp08 ; CPU:$D30A PRG:130A A5 08 - beq Label_D316 ; CPU:$D30C PRG:130C F0 08 + beq Sub_8764_OnZero_D316 ; CPU:$D30C PRG:130C F0 08 ldy #$00 ; CPU:$D30E PRG:130E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D310 +; Routine: Sub_8764_OnCarryClear_D310 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5111,13 +5111,13 @@ Label_D30A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D310: +Sub_8764_OnCarryClear_D310: iny ; CPU:$D310 PRG:1310 C8 rol a ; CPU:$D311 PRG:1311 2A - bcc Label_D310 ; CPU:$D312 PRG:1312 90 FC + bcc Sub_8764_OnCarryClear_D310 ; CPU:$D312 PRG:1312 90 FC sty ZpAB ; CPU:$D314 PRG:1314 84 AB ; ----------------------------------------------------------------------------- -; Routine: Label_D316 +; Routine: Sub_8764_OnZero_D316 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5125,10 +5125,10 @@ Label_D310: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D316: +Sub_8764_OnZero_D316: rts ; CPU:$D316 PRG:1316 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D317 +; Routine: Sub_8764_OnNegative_D317 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5136,19 +5136,19 @@ Label_D316: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D317: +Sub_8764_OnNegative_D317: lda Zp08 ; CPU:$D317 PRG:1317 A5 08 - beq Label_D32C ; CPU:$D319 PRG:1319 F0 11 + beq Sub_8764_OnZero_D32C ; CPU:$D319 PRG:1319 F0 11 dec Zp08 ; CPU:$D31B PRG:131B C6 08 lda #$00 ; CPU:$D31D PRG:131D A9 00 sta Zp11 ; CPU:$D31F PRG:131F 85 11 - jsr $D30A ; CPU:$D321 PRG:1321 20 0A D3 + jsr SubCD30A ; CPU:$D321 PRG:1321 20 0A D3 lda Zp08 ; CPU:$D324 PRG:1324 A5 08 cmp #$50 ; CPU:$D326 PRG:1326 C9 50 - bne Label_D33A ; CPU:$D328 PRG:1328 D0 10 - beq Label_D33B ; CPU:$D32A PRG:132A F0 0F + bne Sub_8764_OnNonzero_D33A ; CPU:$D328 PRG:1328 D0 10 + beq Sub_8764_OnZero_D33B ; CPU:$D32A PRG:132A F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D32C +; Routine: Sub_8764_OnZero_D32C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5156,7 +5156,7 @@ Label_D317: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D32C: +Sub_8764_OnZero_D32C: lda #$00 ; CPU:$D32C PRG:132C A9 00 sta Zp07 ; CPU:$D32E PRG:132E 85 07 sta Zp11 ; CPU:$D330 PRG:1330 85 11 @@ -5165,7 +5165,7 @@ Label_D32C: lda #$0A ; CPU:$D336 PRG:1336 A9 0A sta ZpAC ; CPU:$D338 PRG:1338 85 AC ; ----------------------------------------------------------------------------- -; Routine: Label_D33A +; Routine: Sub_8764_OnNonzero_D33A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5173,10 +5173,10 @@ Label_D32C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33A: +Sub_8764_OnNonzero_D33A: rts ; CPU:$D33A PRG:133A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D33B +; Routine: Sub_8764_OnZero_D33B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5184,17 +5184,17 @@ Label_D33A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33B: +Sub_8764_OnZero_D33B: lda ZpAF ; CPU:$D33B PRG:133B A5 AF cmp #$02 ; CPU:$D33D PRG:133D C9 02 - beq Label_D34C ; CPU:$D33F PRG:133F F0 0B + beq Sub_8764_OnZero_D34C ; CPU:$D33F PRG:133F F0 0B lda #$00 ; CPU:$D341 PRG:1341 A9 00 sta ZpDB ; CPU:$D343 PRG:1343 85 DB - jsr $D224 ; CPU:$D345 PRG:1345 20 24 D2 + jsr SubCD224 ; CPU:$D345 PRG:1345 20 24 D2 lda #$40 ; CPU:$D348 PRG:1348 A9 40 - bne Label_D34E ; CPU:$D34A PRG:134A D0 02 + bne Sub_8764_OnNonzero_D34E ; CPU:$D34A PRG:134A D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D34C +; Routine: Sub_8764_OnZero_D34C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5202,10 +5202,10 @@ Label_D33B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34C: +Sub_8764_OnZero_D34C: lda #$80 ; CPU:$D34C PRG:134C A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_D34E +; Routine: Sub_8764_OnNonzero_D34E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5213,13 +5213,13 @@ Label_D34C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34E: +Sub_8764_OnNonzero_D34E: sta ZpAD ; CPU:$D34E PRG:134E 85 AD lda #$01 ; CPU:$D350 PRG:1350 A9 01 sta Zp0A ; CPU:$D352 PRG:1352 85 0A - jmp $D4BF ; CPU:$D354 PRG:1354 4C BF D4 + jmp SubCD4BF ; CPU:$D354 PRG:1354 4C BF D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D357 +; Routine: SubCD357 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5227,28 +5227,28 @@ Label_D34E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D357: +SubCD357: lda $0369 ; CPU:$D357 PRG:1357 AD 69 03 - bmi Label_D38F ; CPU:$D35A PRG:135A 30 33 + bmi Sub_8764_JoinBranchPaths_D38F ; CPU:$D35A PRG:135A 30 33 lda Zp0F ; CPU:$D35C PRG:135C A5 0F - bne Label_D38F ; CPU:$D35E PRG:135E D0 2F + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D35E PRG:135E D0 2F lda ZpAF ; CPU:$D360 PRG:1360 A5 AF cmp #$0B ; CPU:$D362 PRG:1362 C9 0B - bne Label_D38F ; CPU:$D364 PRG:1364 D0 29 + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D364 PRG:1364 D0 29 lda ZpAE ; CPU:$D366 PRG:1366 A5 AE cmp #$24 ; CPU:$D368 PRG:1368 C9 24 - bcc Label_D38F ; CPU:$D36A PRG:136A 90 23 + bcc Sub_8764_JoinBranchPaths_D38F ; CPU:$D36A PRG:136A 90 23 cmp #$33 ; CPU:$D36C PRG:136C C9 33 - bcs Label_D38F ; CPU:$D36E PRG:136E B0 1F - jsr $EE66 ; CPU:$D370 PRG:1370 20 66 EE + bcs Sub_8764_JoinBranchPaths_D38F ; CPU:$D36E PRG:136E B0 1F + jsr SubCEE66 ; CPU:$D370 PRG:1370 20 66 EE clc ; CPU:$D373 PRG:1373 18 lda Zp27 ; CPU:$D374 PRG:1374 A5 27 adc #$0A ; CPU:$D376 PRG:1376 69 0A sta Zp27 ; CPU:$D378 PRG:1378 85 27 - bcc Label_D37E ; CPU:$D37A PRG:137A 90 02 + bcc Sub_8764_OnCarryClear_D37E ; CPU:$D37A PRG:137A 90 02 inc Zp28 ; CPU:$D37C PRG:137C E6 28 ; ----------------------------------------------------------------------------- -; Routine: Label_D37E +; Routine: Sub_8764_OnCarryClear_D37E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5256,16 +5256,16 @@ Label_D357: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37E: +Sub_8764_OnCarryClear_D37E: ldx #$0C ; CPU:$D37E PRG:137E A2 0C - jsr $E665 ; CPU:$D380 PRG:1380 20 65 E6 + jsr SubCE665 ; CPU:$D380 PRG:1380 20 65 E6 lda Zp28 ; CPU:$D383 PRG:1383 A5 28 - bne Label_D38F ; CPU:$D385 PRG:1385 D0 08 + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D385 PRG:1385 D0 08 lda Zp27 ; CPU:$D387 PRG:1387 A5 27 cmp #$1E ; CPU:$D389 PRG:1389 C9 1E - bcs Label_D38F ; CPU:$D38B PRG:138B B0 02 + bcs Sub_8764_JoinBranchPaths_D38F ; CPU:$D38B PRG:138B B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D38D +; Routine: Sub_8764_OnCarryClear_D38D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5273,11 +5273,11 @@ Label_D37E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38D: +Sub_8764_OnCarryClear_D38D: sec ; CPU:$D38D PRG:138D 38 rts ; CPU:$D38E PRG:138E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D38F +; Routine: Sub_8764_JoinBranchPaths_D38F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5285,24 +5285,24 @@ Label_D38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38F: +Sub_8764_JoinBranchPaths_D38F: lda ZpAF ; CPU:$D38F PRG:138F A5 AF cmp #$02 ; CPU:$D391 PRG:1391 C9 02 - bne Label_D3AD ; CPU:$D393 PRG:1393 D0 18 + bne Sub_8764_JoinBranchPaths_D3AD ; CPU:$D393 PRG:1393 D0 18 lda ZpB1 ; CPU:$D395 PRG:1395 A5 B1 - bne Label_D3AD ; CPU:$D397 PRG:1397 D0 14 + bne Sub_8764_JoinBranchPaths_D3AD ; CPU:$D397 PRG:1397 D0 14 lda ZpAE ; CPU:$D399 PRG:1399 A5 AE cmp #$58 ; CPU:$D39B PRG:139B C9 58 - bcc Label_D3AD ; CPU:$D39D PRG:139D 90 0E + bcc Sub_8764_JoinBranchPaths_D3AD ; CPU:$D39D PRG:139D 90 0E cmp #$AD ; CPU:$D39F PRG:139F C9 AD - bcs Label_D3AD ; CPU:$D3A1 PRG:13A1 B0 0A + bcs Sub_8764_JoinBranchPaths_D3AD ; CPU:$D3A1 PRG:13A1 B0 0A lda ZpB0 ; CPU:$D3A3 PRG:13A3 A5 B0 cmp #$D4 ; CPU:$D3A5 PRG:13A5 C9 D4 - bcc Label_D3AD ; CPU:$D3A7 PRG:13A7 90 04 + bcc Sub_8764_JoinBranchPaths_D3AD ; CPU:$D3A7 PRG:13A7 90 04 cmp #$F8 ; CPU:$D3A9 PRG:13A9 C9 F8 - bcc Label_D38D ; CPU:$D3AB PRG:13AB 90 E0 + bcc Sub_8764_OnCarryClear_D38D ; CPU:$D3AB PRG:13AB 90 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AD +; Routine: Sub_8764_JoinBranchPaths_D3AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5310,11 +5310,11 @@ Label_D38F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AD: +Sub_8764_JoinBranchPaths_D3AD: clc ; CPU:$D3AD PRG:13AD 18 rts ; CPU:$D3AE PRG:13AE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AF +; Routine: SubCD3AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5322,16 +5322,16 @@ Label_D3AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AF: +SubCD3AF: lda ZpB6 ; CPU:$D3AF PRG:13AF A5 B6 cmp #$04 ; CPU:$D3B1 PRG:13B1 C9 04 - bcc Label_D3BD ; CPU:$D3B3 PRG:13B3 90 08 + bcc Sub_8764_OnCarryClear_D3BD ; CPU:$D3B3 PRG:13B3 90 08 cmp #$44 ; CPU:$D3B5 PRG:13B5 C9 44 - bcc Label_D3C1 ; CPU:$D3B7 PRG:13B7 90 08 + bcc Sub_8764_OnCarryClear_D3C1 ; CPU:$D3B7 PRG:13B7 90 08 lda #$04 ; CPU:$D3B9 PRG:13B9 A9 04 - bne Label_D3BF ; CPU:$D3BB PRG:13BB D0 02 + bne Sub_8764_OnNonzero_D3BF ; CPU:$D3BB PRG:13BB D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BD +; Routine: Sub_8764_OnCarryClear_D3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5339,10 +5339,10 @@ Label_D3AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BD: +Sub_8764_OnCarryClear_D3BD: lda #$43 ; CPU:$D3BD PRG:13BD A9 43 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BF +; Routine: Sub_8764_OnNonzero_D3BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5350,10 +5350,10 @@ Label_D3BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BF: +Sub_8764_OnNonzero_D3BF: sta ZpB6 ; CPU:$D3BF PRG:13BF 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_D3C1 +; Routine: Sub_8764_OnCarryClear_D3C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5361,25 +5361,25 @@ Label_D3BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3C1: +Sub_8764_OnCarryClear_D3C1: ldy Zp3D ; CPU:$D3C1 PRG:13C1 A4 3D lda $D3FE,y ; CPU:$D3C3 PRG:13C3 B9 FE D3 - jsr $D422 ; CPU:$D3C6 PRG:13C6 20 22 D4 + jsr SubCD422 ; CPU:$D3C6 PRG:13C6 20 22 D4 lda Zp48 ; CPU:$D3C9 PRG:13C9 A5 48 lsr a ; CPU:$D3CB PRG:13CB 4A lsr a ; CPU:$D3CC PRG:13CC 4A sta Zp47 ; CPU:$D3CD PRG:13CD 85 47 lda $D410,y ; CPU:$D3CF PRG:13CF B9 10 D4 - jsr $D422 ; CPU:$D3D2 PRG:13D2 20 22 D4 + jsr SubCD422 ; CPU:$D3D2 PRG:13D2 20 22 D4 lsr Zp48 ; CPU:$D3D5 PRG:13D5 46 48 lsr Zp48 ; CPU:$D3D7 PRG:13D7 46 48 lda $D3FE,y ; CPU:$D3D9 PRG:13D9 B9 FE D3 - bmi Label_D3E4 ; CPU:$D3DC PRG:13DC 30 06 + bmi Sub_8764_OnNegative_D3E4 ; CPU:$D3DC PRG:13DC 30 06 lda Zp47 ; CPU:$D3DE PRG:13DE A5 47 ora #$80 ; CPU:$D3E0 PRG:13E0 09 80 - bne Label_D3E9 ; CPU:$D3E2 PRG:13E2 D0 05 + bne Sub_8764_OnNonzero_D3E9 ; CPU:$D3E2 PRG:13E2 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D3E4 +; Routine: Sub_8764_OnNegative_D3E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5387,12 +5387,12 @@ Label_D3C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E4: +Sub_8764_OnNegative_D3E4: sec ; CPU:$D3E4 PRG:13E4 38 lda #$80 ; CPU:$D3E5 PRG:13E5 A9 80 sbc Zp47 ; CPU:$D3E7 PRG:13E7 E5 47 ; ----------------------------------------------------------------------------- -; Routine: Label_D3E9 +; Routine: Sub_8764_OnNonzero_D3E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5400,15 +5400,15 @@ Label_D3E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E9: +Sub_8764_OnNonzero_D3E9: sta Zp45 ; CPU:$D3E9 PRG:13E9 85 45 lda $D410,y ; CPU:$D3EB PRG:13EB B9 10 D4 - bmi Label_D3F6 ; CPU:$D3EE PRG:13EE 30 06 + bmi Sub_8764_OnNegative_D3F6 ; CPU:$D3EE PRG:13EE 30 06 lda Zp48 ; CPU:$D3F0 PRG:13F0 A5 48 ora #$80 ; CPU:$D3F2 PRG:13F2 09 80 - bne Label_D3FB ; CPU:$D3F4 PRG:13F4 D0 05 + bne Sub_8764_OnNonzero_D3FB ; CPU:$D3F4 PRG:13F4 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F6 +; Routine: Sub_8764_OnNegative_D3F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5416,12 +5416,12 @@ Label_D3E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F6: +Sub_8764_OnNegative_D3F6: sec ; CPU:$D3F6 PRG:13F6 38 lda #$80 ; CPU:$D3F7 PRG:13F7 A9 80 sbc Zp48 ; CPU:$D3F9 PRG:13F9 E5 48 ; ----------------------------------------------------------------------------- -; Routine: Label_D3FB +; Routine: Sub_8764_OnNonzero_D3FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5429,7 +5429,7 @@ Label_D3F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3FB: +Sub_8764_OnNonzero_D3FB: sta Zp46 ; CPU:$D3FB PRG:13FB 85 46 rts ; CPU:$D3FD PRG:13FD 60 ; ---- data $D3FE-$D421 (36 bytes) ---- @@ -5441,7 +5441,7 @@ Label_D3FB: .byte $87, $85, $00, $84, $85, $86, $85, $84, $82, $00, $02, $04, $05, $06, $05, $04 ; CPU:$D40E PRG:140E 87 85 00 84 85 86 85 84 82 00 02 04 05 06 05 04 .byte $02, $00, $82, $84 ; CPU:$D41E PRG:141E 02 00 82 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D422 +; Routine: SubCD422 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5449,14 +5449,14 @@ Label_D3FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D422: +SubCD422: and #$7F ; CPU:$D422 PRG:1422 29 7F sta Zp29 ; CPU:$D424 PRG:1424 85 29 lda #$00 ; CPU:$D426 PRG:1426 A9 00 sta Zp48 ; CPU:$D428 PRG:1428 85 48 ldx #$08 ; CPU:$D42A PRG:142A A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D42C +; Routine: Sub_8764_OnNonzero_D42C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5464,13 +5464,13 @@ Label_D422: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42C: +Sub_8764_OnNonzero_D42C: lsr Zp29 ; CPU:$D42C PRG:142C 46 29 - bcc Label_D433 ; CPU:$D42E PRG:142E 90 03 + bcc Sub_8764_OnCarryClear_D433 ; CPU:$D42E PRG:142E 90 03 clc ; CPU:$D430 PRG:1430 18 adc Zp11 ; CPU:$D431 PRG:1431 65 11 ; ----------------------------------------------------------------------------- -; Routine: Label_D433 +; Routine: Sub_8764_OnCarryClear_D433 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5478,14 +5478,14 @@ Label_D42C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D433: +Sub_8764_OnCarryClear_D433: ror a ; CPU:$D433 PRG:1433 6A ror Zp48 ; CPU:$D434 PRG:1434 66 48 dex ; CPU:$D436 PRG:1436 CA - bne Label_D42C ; CPU:$D437 PRG:1437 D0 F3 + bne Sub_8764_OnNonzero_D42C ; CPU:$D437 PRG:1437 D0 F3 rts ; CPU:$D439 PRG:1439 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D43A +; Routine: SubCD43A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5493,7 +5493,7 @@ Label_D433: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D43A: +SubCD43A: lda ZpB6 ; CPU:$D43A PRG:143A A5 B6 lsr a ; CPU:$D43C PRG:143C 4A lsr a ; CPU:$D43D PRG:143D 4A @@ -5512,7 +5512,7 @@ Label_D43A: sta ZpB4 ; CPU:$D452 PRG:1452 85 B4 rts ; CPU:$D454 PRG:1454 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D455 +; Routine: SubCD455 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5520,11 +5520,11 @@ Label_D43A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D455: +SubCD455: lda Zp0A ; CPU:$D455 PRG:1455 A5 0A - bne Label_D4BF ; CPU:$D457 PRG:1457 D0 66 + bne SubCD4BF ; CPU:$D457 PRG:1457 D0 66 ; ----------------------------------------------------------------------------- -; Routine: Label_D459 +; Routine: SubCD459 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5532,15 +5532,15 @@ Label_D455: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D459: +SubCD459: lda Zp10 ; CPU:$D459 PRG:1459 A5 10 - beq Label_D469 ; CPU:$D45B PRG:145B F0 0C + beq Sub_8764_OnZero_D469 ; CPU:$D45B PRG:145B F0 0C lda ZpAD ; CPU:$D45D PRG:145D A5 AD - beq Label_D46A ; CPU:$D45F PRG:145F F0 09 + beq Sub_8764_OnZero_D46A ; CPU:$D45F PRG:145F F0 09 lda #$01 ; CPU:$D461 PRG:1461 A9 01 sta Zp07 ; CPU:$D463 PRG:1463 85 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D465 +; Routine: Sub_8764_OnNonzero_D465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5548,11 +5548,11 @@ Label_D459: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D465: +Sub_8764_OnNonzero_D465: lda #$00 ; CPU:$D465 PRG:1465 A9 00 sta Zp10 ; CPU:$D467 PRG:1467 85 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D469 +; Routine: Sub_8764_OnZero_D469 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5560,10 +5560,10 @@ Label_D465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D469: +Sub_8764_OnZero_D469: rts ; CPU:$D469 PRG:1469 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D46A +; Routine: Sub_8764_OnZero_D46A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5571,19 +5571,19 @@ Label_D469: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46A: +Sub_8764_OnZero_D46A: lda Zp11 ; CPU:$D46A PRG:146A A5 11 cmp #$04 ; CPU:$D46C PRG:146C C9 04 - bcs Label_D47F ; CPU:$D46E PRG:146E B0 0F + bcs Sub_8764_JoinBranchPaths_D47F ; CPU:$D46E PRG:146E B0 0F lda Zp38 ; CPU:$D470 PRG:1470 A5 38 - bne Label_D47F ; CPU:$D472 PRG:1472 D0 0B - jsr $D357 ; CPU:$D474 PRG:1474 20 57 D3 - bcc Label_D47F ; CPU:$D477 PRG:1477 90 06 + bne Sub_8764_JoinBranchPaths_D47F ; CPU:$D472 PRG:1472 D0 0B + jsr SubCD357 ; CPU:$D474 PRG:1474 20 57 D3 + bcc Sub_8764_JoinBranchPaths_D47F ; CPU:$D477 PRG:1477 90 06 lda #$80 ; CPU:$D479 PRG:1479 A9 80 sta Zp07 ; CPU:$D47B PRG:147B 85 07 - bne Label_D465 ; CPU:$D47D PRG:147D D0 E6 + bne Sub_8764_OnNonzero_D465 ; CPU:$D47D PRG:147D D0 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D47F +; Routine: Sub_8764_JoinBranchPaths_D47F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5591,12 +5591,12 @@ Label_D46A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D47F: +Sub_8764_JoinBranchPaths_D47F: lda Zp10 ; CPU:$D47F PRG:147F A5 10 - bpl Label_D486 ; CPU:$D481 PRG:1481 10 03 - jmp $D5C9 ; CPU:$D483 PRG:1483 4C C9 D5 + bpl Sub_8764_OnNonnegative_D486 ; CPU:$D481 PRG:1481 10 03 + jmp SubCD5C9 ; CPU:$D483 PRG:1483 4C C9 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D486 +; Routine: Sub_8764_OnNonnegative_D486 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5604,7 +5604,7 @@ Label_D47F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D486: +Sub_8764_OnNonnegative_D486: lda ZpB4 ; CPU:$D486 PRG:1486 A5 B4 sta Zp1F ; CPU:$D488 PRG:1488 85 1F lda ZpB5 ; CPU:$D48A PRG:148A A5 B5 @@ -5617,14 +5617,14 @@ Label_D486: sta Zp0A ; CPU:$D499 PRG:1499 85 0A lda #$00 ; CPU:$D49B PRG:149B A9 00 sta Zp10 ; CPU:$D49D PRG:149D 85 10 - jsr $D4BF ; CPU:$D49F PRG:149F 20 BF D4 + jsr SubCD4BF ; CPU:$D49F PRG:149F 20 BF D4 lda ZpCE ; CPU:$D4A2 PRG:14A2 A5 CE - bne Label_D4AC ; CPU:$D4A4 PRG:14A4 D0 06 + bne Sub_8764_OnNonzero_D4AC ; CPU:$D4A4 PRG:14A4 D0 06 lda ZpCA ; CPU:$D4A6 PRG:14A6 A5 CA - bne Label_D4AC ; CPU:$D4A8 PRG:14A8 D0 02 + bne Sub_8764_OnNonzero_D4AC ; CPU:$D4A8 PRG:14A8 D0 02 inc ZpCE ; CPU:$D4AA PRG:14AA E6 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D4AC +; Routine: Sub_8764_OnNonzero_D4AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5632,14 +5632,14 @@ Label_D486: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AC: +Sub_8764_OnNonzero_D4AC: rts ; CPU:$D4AC PRG:14AC 60 ; ---- data $D4AD-$D4BE (18 bytes) ---- ; referenced by `lda $D4AD,x` at $D496 (operand $D4AD falls inside this region) .byte $FF, $16, $14, $12, $14, $16, $12, $0E, $12, $16, $16, $14, $16, $16, $12, $0E ; CPU:$D4AD PRG:14AD FF 16 14 12 14 16 12 0E 12 16 16 14 16 16 12 0E .byte $12, $16 ; CPU:$D4BD PRG:14BD 12 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D4BF +; Routine: SubCD4BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5647,11 +5647,11 @@ Label_D4AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4BF: +SubCD4BF: dec Zp0A ; CPU:$D4BF PRG:14BF C6 0A - bne Label_D4C8 ; CPU:$D4C1 PRG:14C1 D0 05 + bne Sub_8764_OnNonzero_D4C8 ; CPU:$D4C1 PRG:14C1 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C3 +; Routine: SubCD4C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5659,11 +5659,11 @@ Label_D4BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C3: +SubCD4C3: lda #$01 ; CPU:$D4C3 PRG:14C3 A9 01 - jmp $C589 ; CPU:$D4C5 PRG:14C5 4C 89 C5 + jmp SubCC589 ; CPU:$D4C5 PRG:14C5 4C 89 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C8 +; Routine: Sub_8764_OnNonzero_D4C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5671,15 +5671,15 @@ Label_D4C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C8: +Sub_8764_OnNonzero_D4C8: ldx Zp3E ; CPU:$D4C8 PRG:14C8 A6 3E ldy #$00 ; CPU:$D4CA PRG:14CA A0 00 lda $D53D,x ; CPU:$D4CC PRG:14CC BD 3D D5 - jsr $D524 ; CPU:$D4CF PRG:14CF 20 24 D5 - bcc Label_D4D6 ; CPU:$D4D2 PRG:14D2 90 02 + jsr SubCD524 ; CPU:$D4CF PRG:14CF 20 24 D5 + bcc Sub_8764_OnCarryClear_D4D6 ; CPU:$D4D2 PRG:14D2 90 02 inc Zp0B ; CPU:$D4D4 PRG:14D4 E6 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D4D6 +; Routine: Sub_8764_OnCarryClear_D4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5687,18 +5687,18 @@ Label_D4C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D6: +Sub_8764_OnCarryClear_D4D6: iny ; CPU:$D4D6 PRG:14D6 C8 lda $D54F,x ; CPU:$D4D7 PRG:14D7 BD 4F D5 - jsr $D524 ; CPU:$D4DA PRG:14DA 20 24 D5 + jsr SubCD524 ; CPU:$D4DA PRG:14DA 20 24 D5 lda ZpDF ; CPU:$D4DD PRG:14DD A5 DF - beq Label_D4E9 ; CPU:$D4DF PRG:14DF F0 08 + beq Sub_8764_OnZero_D4E9 ; CPU:$D4DF PRG:14DF F0 08 inc ZpE0 ; CPU:$D4E1 PRG:14E1 E6 E0 lda ZpE0 ; CPU:$D4E3 PRG:14E3 A5 E0 and #$01 ; CPU:$D4E5 PRG:14E5 29 01 - beq Label_D4EC ; CPU:$D4E7 PRG:14E7 F0 03 + beq Sub_8764_OnZero_D4EC ; CPU:$D4E7 PRG:14E7 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E9 +; Routine: Sub_8764_OnZero_D4E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5706,10 +5706,10 @@ Label_D4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E9: - jsr $F0EE ; CPU:$D4E9 PRG:14E9 20 EE F0 +Sub_8764_OnZero_D4E9: + jsr SubCF0EE ; CPU:$D4E9 PRG:14E9 20 EE F0 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EC +; Routine: Sub_8764_OnZero_D4EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5717,18 +5717,18 @@ Label_D4E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EC: - jsr $D70E ; CPU:$D4EC PRG:14EC 20 0E D7 - bcc Label_D523 ; CPU:$D4EF PRG:14EF 90 32 +Sub_8764_OnZero_D4EC: + jsr SubCD70E ; CPU:$D4EC PRG:14EC 20 0E D7 + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D4EF PRG:14EF 90 32 lda Zp65,x ; CPU:$D4F1 PRG:14F1 B5 65 cmp #$0A ; CPU:$D4F3 PRG:14F3 C9 0A - beq Label_D4FF ; CPU:$D4F5 PRG:14F5 F0 08 + beq Sub_8764_OnZero_D4FF ; CPU:$D4F5 PRG:14F5 F0 08 cmp #$04 ; CPU:$D4F7 PRG:14F7 C9 04 - beq Label_D4FF ; CPU:$D4F9 PRG:14F9 F0 04 + beq Sub_8764_OnZero_D4FF ; CPU:$D4F9 PRG:14F9 F0 04 cmp #$15 ; CPU:$D4FB PRG:14FB C9 15 - bcc Label_D523 ; CPU:$D4FD PRG:14FD 90 24 + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D4FD PRG:14FD 90 24 ; ----------------------------------------------------------------------------- -; Routine: Label_D4FF +; Routine: Sub_8764_OnZero_D4FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5736,15 +5736,15 @@ Label_D4EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4FF: +Sub_8764_OnZero_D4FF: ldy #$00 ; CPU:$D4FF PRG:14FF A0 00 sty Zp0A ; CPU:$D501 PRG:1501 84 0A pha ; CPU:$D503 PRG:1503 48 lda #$01 ; CPU:$D504 PRG:1504 A9 01 - jsr $C589 ; CPU:$D506 PRG:1506 20 89 C5 + jsr SubCC589 ; CPU:$D506 PRG:1506 20 89 C5 pla ; CPU:$D509 PRG:1509 68 ; ----------------------------------------------------------------------------- -; Routine: Label_D50A +; Routine: SubCD50A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5752,12 +5752,12 @@ Label_D4FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D50A: - jsr $E621 ; CPU:$D50A PRG:150A 20 21 E6 +SubCD50A: + jsr SubCE621 ; CPU:$D50A PRG:150A 20 21 E6 cpx #$33 ; CPU:$D50D PRG:150D E0 33 - bcs Label_D523 ; CPU:$D50F PRG:150F B0 12 + bcs Sub_8764_JoinBranchPaths_D523 ; CPU:$D50F PRG:150F B0 12 cpx #$15 ; CPU:$D511 PRG:1511 E0 15 - bcc Label_D523 ; CPU:$D513 PRG:1513 90 0E + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D513 PRG:1513 90 0E lda $051A,x ; CPU:$D515 PRG:1515 BD 1A 05 and #$3F ; CPU:$D518 PRG:1518 29 3F tax ; CPU:$D51A PRG:151A AA @@ -5765,7 +5765,7 @@ Label_D50A: and #$7F ; CPU:$D51E PRG:151E 29 7F sta $0667,x ; CPU:$D520 PRG:1520 9D 67 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D523 +; Routine: Sub_8764_JoinBranchPaths_D523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5773,10 +5773,10 @@ Label_D50A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D523: +Sub_8764_JoinBranchPaths_D523: rts ; CPU:$D523 PRG:1523 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D524 +; Routine: SubCD524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5784,14 +5784,14 @@ Label_D523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D524: - bmi Label_D52E ; CPU:$D524 PRG:1524 30 08 +SubCD524: + bmi Sub_8764_OnNegative_D52E ; CPU:$D524 PRG:1524 30 08 clc ; CPU:$D526 PRG:1526 18 - adc a:$001F,y ; CPU:$D527 PRG:1527 79 1F 00 - sta a:$001F,y ; CPU:$D52A PRG:152A 99 1F 00 + adc a:Zp1F,y ; CPU:$D527 PRG:1527 79 1F 00 + sta a:Zp1F,y ; CPU:$D52A PRG:152A 99 1F 00 rts ; CPU:$D52D PRG:152D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D52E +; Routine: Sub_8764_OnNegative_D52E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5799,13 +5799,13 @@ Label_D524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52E: +Sub_8764_OnNegative_D52E: and #$7F ; CPU:$D52E PRG:152E 29 7F sta Zp29 ; CPU:$D530 PRG:1530 85 29 sec ; CPU:$D532 PRG:1532 38 - lda a:$001F,y ; CPU:$D533 PRG:1533 B9 1F 00 + lda a:Zp1F,y ; CPU:$D533 PRG:1533 B9 1F 00 sbc Zp29 ; CPU:$D536 PRG:1536 E5 29 - sta a:$001F,y ; CPU:$D538 PRG:1538 99 1F 00 + sta a:Zp1F,y ; CPU:$D538 PRG:1538 99 1F 00 clc ; CPU:$D53B PRG:153B 18 rts ; CPU:$D53C PRG:153C 60 ; ---- data $D53D-$D560 (36 bytes) ---- @@ -5815,7 +5815,7 @@ Label_D52E: .byte $06, $04, $FF, $04, $05, $06, $05, $04, $02, $00, $82, $84, $85, $86, $85, $84 ; CPU:$D54D PRG:154D 06 04 FF 04 05 06 05 04 02 00 82 84 85 86 85 84 .byte $82, $00, $02, $04 ; CPU:$D55D PRG:155D 82 00 02 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D561 +; Routine: SubCD561 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5823,20 +5823,20 @@ Label_D52E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D561: - jsr $C5A1 ; CPU:$D561 PRG:1561 20 A1 C5 +SubCD561: + jsr SubCC5A1 ; CPU:$D561 PRG:1561 20 A1 C5 txa ; CPU:$D564 PRG:1564 8A pha ; CPU:$D565 PRG:1565 48 ldx #$00 ; CPU:$D566 PRG:1566 A2 00 - jsr $D576 ; CPU:$D568 PRG:1568 20 76 D5 + jsr SubCD576 ; CPU:$D568 PRG:1568 20 76 D5 pla ; CPU:$D56B PRG:156B 68 clc ; CPU:$D56C PRG:156C 18 adc #$6F ; CPU:$D56D PRG:156D 69 6F inx ; CPU:$D56F PRG:156F E8 - jsr $D576 ; CPU:$D570 PRG:1570 20 76 D5 - jmp $C59C ; CPU:$D573 PRG:1573 4C 9C C5 + jsr SubCD576 ; CPU:$D570 PRG:1570 20 76 D5 + jmp SubCC59C ; CPU:$D573 PRG:1573 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D576 +; Routine: SubCD576 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5844,15 +5844,15 @@ Label_D561: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D576: +SubCD576: tay ; CPU:$D576 PRG:1576 A8 clc ; CPU:$D577 PRG:1577 18 lda ZpB4,x ; CPU:$D578 PRG:1578 B5 B4 cpx #$00 ; CPU:$D57A PRG:157A E0 00 - beq Label_D57F ; CPU:$D57C PRG:157C F0 01 + beq Sub_8764_OnZero_D57F ; CPU:$D57C PRG:157C F0 01 inx ; CPU:$D57E PRG:157E E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D57F +; Routine: Sub_8764_OnZero_D57F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5860,7 +5860,7 @@ Label_D576: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D57F: +Sub_8764_OnZero_D57F: adc $D5BD,x ; CPU:$D57F PRG:157F 7D BD D5 sta Zp29 ; CPU:$D582 PRG:1582 85 29 lda $D5C0,x ; CPU:$D584 PRG:1584 BD C0 D5 @@ -5874,13 +5874,13 @@ Label_D57F: adc Zp2A ; CPU:$D595 PRG:1595 65 2A sta $035E,y ; CPU:$D597 PRG:1597 99 5E 03 cmp $D5C3,x ; CPU:$D59A PRG:159A DD C3 D5 - bcc Label_D5BC ; CPU:$D59D PRG:159D 90 1D - bne Label_D5A9 ; CPU:$D59F PRG:159F D0 08 + bcc Sub_8764_OnCarryClear_D5BC ; CPU:$D59D PRG:159D 90 1D + bne Sub_8764_OnNonzero_D5A9 ; CPU:$D59F PRG:159F D0 08 lda $0280,y ; CPU:$D5A1 PRG:15A1 B9 80 02 cmp $D5C6,x ; CPU:$D5A4 PRG:15A4 DD C6 D5 - bcc Label_D5BC ; CPU:$D5A7 PRG:15A7 90 13 + bcc Sub_8764_OnCarryClear_D5BC ; CPU:$D5A7 PRG:15A7 90 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D5A9 +; Routine: Sub_8764_OnNonzero_D5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5888,7 +5888,7 @@ Label_D57F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5A9: +Sub_8764_OnNonzero_D5A9: sec ; CPU:$D5A9 PRG:15A9 38 lda $0280,y ; CPU:$D5AA PRG:15AA B9 80 02 sbc $D5C6,x ; CPU:$D5AD PRG:15AD FD C6 D5 @@ -5897,7 +5897,7 @@ Label_D5A9: sbc $D5C3,x ; CPU:$D5B6 PRG:15B6 FD C3 D5 sta $035E,y ; CPU:$D5B9 PRG:15B9 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D5BC +; Routine: Sub_8764_OnCarryClear_D5BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5905,7 +5905,7 @@ Label_D5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5BC: +Sub_8764_OnCarryClear_D5BC: rts ; CPU:$D5BC PRG:15BC 60 ; ---- data $D5BD-$D5C8 (12 bytes) ---- ; referenced by `adc $D5BD,x` at $D57F (operand $D5BD falls inside this region) @@ -5916,7 +5916,7 @@ Label_D5BC: ; referenced by `sbc $D5C3,x` at $D5B6 (operand $D5C3 falls inside this region) .byte $32, $00, $A2, $01, $00, $00, $0C, $00, $07, $80, $00, $D0 ; CPU:$D5BD PRG:15BD 32 00 A2 01 00 00 0C 00 07 80 00 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C9 +; Routine: SubCD5C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5924,19 +5924,19 @@ Label_D5BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C9: +SubCD5C9: lda $0254 ; CPU:$D5C9 PRG:15C9 AD 54 02 cmp #$24 ; CPU:$D5CC PRG:15CC C9 24 - bcc Label_D5E2 ; CPU:$D5CE PRG:15CE 90 12 + bcc Sub_8764_OnCarryClear_D5E2 ; CPU:$D5CE PRG:15CE 90 12 dec $0254 ; CPU:$D5D0 PRG:15D0 CE 54 02 lda #$7D ; CPU:$D5D3 PRG:15D3 A9 7D sta $043F ; CPU:$D5D5 PRG:15D5 8D 3F 04 ldx #$03 ; CPU:$D5D8 PRG:15D8 A2 03 - jsr $D561 ; CPU:$D5DA PRG:15DA 20 61 D5 + jsr SubCD561 ; CPU:$D5DA PRG:15DA 20 61 D5 lda #$20 ; CPU:$D5DD PRG:15DD A9 20 sta $04AE ; CPU:$D5DF PRG:15DF 8D AE 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E2 +; Routine: Sub_8764_OnCarryClear_D5E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5944,12 +5944,12 @@ Label_D5C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E2: +Sub_8764_OnCarryClear_D5E2: lda #$00 ; CPU:$D5E2 PRG:15E2 A9 00 sta Zp10 ; CPU:$D5E4 PRG:15E4 85 10 rts ; CPU:$D5E6 PRG:15E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E7 +; Routine: SubCD5E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5957,14 +5957,14 @@ Label_D5E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E7: - jsr $E700 ; CPU:$D5E7 PRG:15E7 20 00 E7 - jsr $D455 ; CPU:$D5EA PRG:15EA 20 55 D4 - jsr $D43A ; CPU:$D5ED PRG:15ED 20 3A D4 - jsr $D01A ; CPU:$D5F0 PRG:15F0 20 1A D0 +SubCD5E7: + jsr SubCE700 ; CPU:$D5E7 PRG:15E7 20 00 E7 + jsr SubCD455 ; CPU:$D5EA PRG:15EA 20 55 D4 + jsr SubCD43A ; CPU:$D5ED PRG:15ED 20 3A D4 + jsr SubCD01A ; CPU:$D5F0 PRG:15F0 20 1A D0 ldy #$0F ; CPU:$D5F3 PRG:15F3 A0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D5F5 +; Routine: Sub_8764_OnNonnegative_D5F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5972,15 +5972,15 @@ Label_D5E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F5: - lda a:$0065,y ; CPU:$D5F5 PRG:15F5 B9 65 00 +Sub_8764_OnNonnegative_D5F5: + lda a:Zp65,y ; CPU:$D5F5 PRG:15F5 B9 65 00 cmp #$03 ; CPU:$D5F8 PRG:15F8 C9 03 - beq Label_D600 ; CPU:$D5FA PRG:15FA F0 04 + beq Sub_8764_OnZero_D600 ; CPU:$D5FA PRG:15FA F0 04 dey ; CPU:$D5FC PRG:15FC 88 - bpl Label_D5F5 ; CPU:$D5FD PRG:15FD 10 F6 + bpl Sub_8764_OnNonnegative_D5F5 ; CPU:$D5FD PRG:15FD 10 F6 rts ; CPU:$D5FF PRG:15FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D600 +; Routine: Sub_8764_OnZero_D600 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5988,17 +5988,17 @@ Label_D5F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D600: +Sub_8764_OnZero_D600: ldx #$03 ; CPU:$D600 PRG:1600 A2 03 - jsr $E3B5 ; CPU:$D602 PRG:1602 20 B5 E3 + jsr SubCE3B5 ; CPU:$D602 PRG:1602 20 B5 E3 lda $043F ; CPU:$D605 PRG:1605 AD 3F 04 cmp #$7E ; CPU:$D608 PRG:1608 C9 7E - bne Label_D611 ; CPU:$D60A PRG:160A D0 05 + bne Sub_8764_OnNonzero_D611 ; CPU:$D60A PRG:160A D0 05 pha ; CPU:$D60C PRG:160C 48 - jsr $C50D ; CPU:$D60D PRG:160D 20 0D C5 + jsr SubCC50D ; CPU:$D60D PRG:160D 20 0D C5 pla ; CPU:$D610 PRG:1610 68 ; ----------------------------------------------------------------------------- -; Routine: Label_D611 +; Routine: Sub_8764_OnNonzero_D611 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6006,13 +6006,13 @@ Label_D600: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D611: +Sub_8764_OnNonzero_D611: cmp #$82 ; CPU:$D611 PRG:1611 C9 82 - bne Label_D61A ; CPU:$D613 PRG:1613 D0 05 - jsr $D6FE ; CPU:$D615 PRG:1615 20 FE D6 - bcs Label_D62C ; CPU:$D618 PRG:1618 B0 12 + bne Sub_8764_OnNonzero_D61A ; CPU:$D613 PRG:1613 D0 05 + jsr SubCD6FE ; CPU:$D615 PRG:1615 20 FE D6 + bcs Sub_8764_OnCarrySet_D62C ; CPU:$D618 PRG:1618 B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D61A +; Routine: Sub_8764_OnNonzero_D61A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6020,10 +6020,10 @@ Label_D611: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D61A: +Sub_8764_OnNonzero_D61A: rts ; CPU:$D61A PRG:161A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D61B +; Routine: SubCD61B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6031,17 +6031,17 @@ Label_D61A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D61B: +SubCD61B: lda ZpB4 ; CPU:$D61B PRG:161B A5 B4 sta Zp25 ; CPU:$D61D PRG:161D 85 25 lda ZpB5 ; CPU:$D61F PRG:161F A5 B5 sta Zp27 ; CPU:$D621 PRG:1621 85 27 lda #$00 ; CPU:$D623 PRG:1623 A9 00 sta Zp03 ; CPU:$D625 PRG:1625 85 03 - jsr $D71A ; CPU:$D627 PRG:1627 20 1A D7 - bcc Label_D63A ; CPU:$D62A PRG:162A 90 0E + jsr SubCD71A ; CPU:$D627 PRG:1627 20 1A D7 + bcc Sub_8764_OnCarryClear_D63A ; CPU:$D62A PRG:162A 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D62C +; Routine: Sub_8764_OnCarrySet_D62C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6049,16 +6049,16 @@ Label_D61B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D62C: +Sub_8764_OnCarrySet_D62C: lda Zp65,x ; CPU:$D62C PRG:162C B5 65 cmp #$15 ; CPU:$D62E PRG:162E C9 15 - bcs Label_D63B ; CPU:$D630 PRG:1630 B0 09 + bcs Sub_8764_OnCarrySet_D63B ; CPU:$D630 PRG:1630 B0 09 cmp #$0F ; CPU:$D632 PRG:1632 C9 0F - bcs Label_D68E ; CPU:$D634 PRG:1634 B0 58 + bcs Sub_8764_OnCarrySet_D68E ; CPU:$D634 PRG:1634 B0 58 cmp #$0D ; CPU:$D636 PRG:1636 C9 0D - bcs Label_D644 ; CPU:$D638 PRG:1638 B0 0A + bcs Sub_8764_OnCarrySet_D644 ; CPU:$D638 PRG:1638 B0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D63A +; Routine: Sub_8764_OnCarryClear_D63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6066,10 +6066,10 @@ Label_D62C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63A: +Sub_8764_OnCarryClear_D63A: rts ; CPU:$D63A PRG:163A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D63B +; Routine: Sub_8764_OnCarrySet_D63B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6077,12 +6077,12 @@ Label_D63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63B: +Sub_8764_OnCarrySet_D63B: cmp #$59 ; CPU:$D63B PRG:163B C9 59 - bcs Label_D642 ; CPU:$D63D PRG:163D B0 03 - jmp $D50A ; CPU:$D63F PRG:163F 4C 0A D5 + bcs Sub_8764_OnCarrySet_D642 ; CPU:$D63D PRG:163D B0 03 + jmp SubCD50A ; CPU:$D63F PRG:163F 4C 0A D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D642 +; Routine: Sub_8764_OnCarrySet_D642 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6090,11 +6090,11 @@ Label_D63B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D642: +Sub_8764_OnCarrySet_D642: clc ; CPU:$D642 PRG:1642 18 rts ; CPU:$D643 PRG:1643 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D644 +; Routine: Sub_8764_OnCarrySet_D644 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6102,15 +6102,15 @@ Label_D642: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D644: +Sub_8764_OnCarrySet_D644: lda ZpBB ; CPU:$D644 PRG:1644 A5 BB - bpl Label_D66F ; CPU:$D646 PRG:1646 10 27 + bpl Sub_8764_OnNonnegative_D66F ; CPU:$D646 PRG:1646 10 27 dec ZpBC ; CPU:$D648 PRG:1648 C6 BC lda ZpBC ; CPU:$D64A PRG:164A A5 BC and #$03 ; CPU:$D64C PRG:164C 29 03 - bne Label_D675 ; CPU:$D64E PRG:164E D0 25 + bne Sub_8764_JoinBranchPaths_D675 ; CPU:$D64E PRG:164E D0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_D650 +; Routine: SubCD650 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6118,17 +6118,17 @@ Label_D644: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D650: +SubCD650: dec ZpBA ; CPU:$D650 PRG:1650 C6 BA - beq Label_D664 ; CPU:$D652 PRG:1652 F0 10 + beq Sub_8764_OnZero_D664 ; CPU:$D652 PRG:1652 F0 10 ldy #$0D ; CPU:$D654 PRG:1654 A0 0D ldx ZpBA ; CPU:$D656 PRG:1656 A6 BA lda $D682,x ; CPU:$D658 PRG:1658 BD 82 D6 - jsr $C4F9 ; CPU:$D65B PRG:165B 20 F9 C4 + jsr SubCC4F9 ; CPU:$D65B PRG:165B 20 F9 C4 lda $D676,x ; CPU:$D65E PRG:165E BD 76 D6 - jmp $D1CB ; CPU:$D661 PRG:1661 4C CB D1 + jmp SubCD1CB ; CPU:$D661 PRG:1661 4C CB D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D664 +; Routine: Sub_8764_OnZero_D664 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6136,13 +6136,13 @@ Label_D650: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D664: +Sub_8764_OnZero_D664: lda #$FF ; CPU:$D664 PRG:1664 A9 FF sta $036B ; CPU:$D666 PRG:1666 8D 6B 03 sta $036C ; CPU:$D669 PRG:1669 8D 6C 03 - jmp $D6EF ; CPU:$D66C PRG:166C 4C EF D6 + jmp SubCD6EF ; CPU:$D66C PRG:166C 4C EF D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D66F +; Routine: Sub_8764_OnNonnegative_D66F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6150,12 +6150,12 @@ Label_D664: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D66F: +Sub_8764_OnNonnegative_D66F: dec ZpBB ; CPU:$D66F PRG:166F C6 BB - bne Label_D675 ; CPU:$D671 PRG:1671 D0 02 + bne Sub_8764_JoinBranchPaths_D675 ; CPU:$D671 PRG:1671 D0 02 inc ZpBB ; CPU:$D673 PRG:1673 E6 BB ; ----------------------------------------------------------------------------- -; Routine: Label_D675 +; Routine: Sub_8764_JoinBranchPaths_D675 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6163,7 +6163,7 @@ Label_D66F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D675: +Sub_8764_JoinBranchPaths_D675: rts ; CPU:$D675 PRG:1675 60 ; ---- data $D676-$D68D (24 bytes) ---- ; referenced by `lda $D682,x` at $D658 (operand $D682 falls inside this region) @@ -6171,7 +6171,7 @@ Label_D675: .byte $18, $18, $18, $28, $10, $10, $20, $30, $18, $28, $10, $20, $0E, $0E, $0E, $0A ; CPU:$D676 PRG:1676 18 18 18 28 10 10 20 30 18 28 10 20 0E 0E 0E 0A .byte $08, $06, $06, $08, $06, $06, $06, $0E ; CPU:$D686 PRG:1686 08 06 06 08 06 06 06 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D68E +; Routine: Sub_8764_OnCarrySet_D68E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6179,10 +6179,10 @@ Label_D675: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D68E: +Sub_8764_OnCarrySet_D68E: tax ; CPU:$D68E PRG:168E AA dec $0698,x ; CPU:$D68F PRG:168F DE 98 06 - bpl Label_D675 ; CPU:$D692 PRG:1692 10 E1 + bpl Sub_8764_JoinBranchPaths_D675 ; CPU:$D692 PRG:1692 10 E1 lda $0280,x ; CPU:$D694 PRG:1694 BD 80 02 clc ; CPU:$D697 PRG:1697 18 adc #$08 ; CPU:$D698 PRG:1698 69 08 @@ -6197,7 +6197,7 @@ Label_D68E: lda $03CD,x ; CPU:$D6AE PRG:16AE BD CD 03 adc #$00 ; CPU:$D6B1 PRG:16B1 69 00 sta $03D4 ; CPU:$D6B3 PRG:16B3 8D D4 03 - jsr $DDDB ; CPU:$D6B6 PRG:16B6 20 DB DD + jsr SubCDDDB ; CPU:$D6B6 PRG:16B6 20 DB DD lda #$7C ; CPU:$D6B9 PRG:16B9 A9 7C sta $0443 ; CPU:$D6BB PRG:16BB 8D 43 04 lda #$04 ; CPU:$D6BE PRG:16BE A9 04 @@ -6207,7 +6207,7 @@ Label_D68E: dec $0262 ; CPU:$D6C8 PRG:16C8 CE 62 02 ldy #$0C ; CPU:$D6CB PRG:16CB A0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D6CD +; Routine: Sub_8764_OnNonzero_D6CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6215,25 +6215,25 @@ Label_D68E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CD: +Sub_8764_OnNonzero_D6CD: lda $0240,y ; CPU:$D6CD PRG:16CD B9 40 02 cmp #$23 ; CPU:$D6D0 PRG:16D0 C9 23 - bne Label_D6EF ; CPU:$D6D2 PRG:16D2 D0 1B + bne SubCD6EF ; CPU:$D6D2 PRG:16D2 D0 1B iny ; CPU:$D6D4 PRG:16D4 C8 cpy #$0F ; CPU:$D6D5 PRG:16D5 C0 0F - bne Label_D6CD ; CPU:$D6D7 PRG:16D7 D0 F4 + bne Sub_8764_OnNonzero_D6CD ; CPU:$D6D7 PRG:16D7 D0 F4 inc ZpDA ; CPU:$D6D9 PRG:16D9 E6 DA lda ZpDA ; CPU:$D6DB PRG:16DB A5 DA and #$07 ; CPU:$D6DD PRG:16DD 29 07 tay ; CPU:$D6DF PRG:16DF A8 lda $C026,y ; CPU:$D6E0 PRG:16E0 B9 26 C0 sta ZpDB ; CPU:$D6E3 PRG:16E3 85 DB - jsr $D224 ; CPU:$D6E5 PRG:16E5 20 24 D2 - jsr $D6F7 ; CPU:$D6E8 PRG:16E8 20 F7 D6 + jsr SubCD224 ; CPU:$D6E5 PRG:16E5 20 24 D2 + jsr SubCD6F7 ; CPU:$D6E8 PRG:16E8 20 F7 D6 lda #$05 ; CPU:$D6EB PRG:16EB A9 05 - bne Label_D6F1 ; CPU:$D6ED PRG:16ED D0 02 + bne Sub_8764_OnNonzero_D6F1 ; CPU:$D6ED PRG:16ED D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EF +; Routine: SubCD6EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6241,10 +6241,10 @@ Label_D6CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EF: +SubCD6EF: lda #$01 ; CPU:$D6EF PRG:16EF A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F1 +; Routine: Sub_8764_OnNonzero_D6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6252,11 +6252,11 @@ Label_D6EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F1: - jsr $CE20 ; CPU:$D6F1 PRG:16F1 20 20 CE - jsr $C515 ; CPU:$D6F4 PRG:16F4 20 15 C5 +Sub_8764_OnNonzero_D6F1: + jsr SubCCE20 ; CPU:$D6F1 PRG:16F1 20 20 CE + jsr SubCC515 ; CPU:$D6F4 PRG:16F4 20 15 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F7 +; Routine: SubCD6F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6264,12 +6264,12 @@ Label_D6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F7: +SubCD6F7: lda #$05 ; CPU:$D6F7 PRG:16F7 A9 05 ldy #$2A ; CPU:$D6F9 PRG:16F9 A0 2A - jmp $E5F1 ; CPU:$D6FB PRG:16FB 4C F1 E5 + jmp SubCE5F1 ; CPU:$D6FB PRG:16FB 4C F1 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_D6FE +; Routine: SubCD6FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6277,16 +6277,16 @@ Label_D6F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6FE: - lda a:$0085,y ; CPU:$D6FE PRG:16FE B9 85 00 +SubCD6FE: + lda a:Zp85,y ; CPU:$D6FE PRG:16FE B9 85 00 sta Zp25 ; CPU:$D701 PRG:1701 85 25 - lda a:$0095,y ; CPU:$D703 PRG:1703 B9 95 00 + lda a:Zp95,y ; CPU:$D703 PRG:1703 B9 95 00 sta Zp27 ; CPU:$D706 PRG:1706 85 27 lda #$00 ; CPU:$D708 PRG:1708 A9 00 sta Zp03 ; CPU:$D70A PRG:170A 85 03 - beq Label_D71A ; CPU:$D70C PRG:170C F0 0C + beq SubCD71A ; CPU:$D70C PRG:170C F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D70E +; Routine: SubCD70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6294,7 +6294,7 @@ Label_D6FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70E: +SubCD70E: lda Zp1F ; CPU:$D70E PRG:170E A5 1F sta Zp25 ; CPU:$D710 PRG:1710 85 25 lda Zp20 ; CPU:$D712 PRG:1712 A5 20 @@ -6302,7 +6302,7 @@ Label_D70E: lda #$00 ; CPU:$D716 PRG:1716 A9 00 sta Zp03 ; CPU:$D718 PRG:1718 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D71A +; Routine: SubCD71A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6310,11 +6310,11 @@ Label_D70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71A: +SubCD71A: ldx #$07 ; CPU:$D71A PRG:171A A2 07 - bne Label_D724 ; CPU:$D71C PRG:171C D0 06 + bne Sub_8764_JoinBranchPaths_D724 ; CPU:$D71C PRG:171C D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D71E +; Routine: Sub_8764_JoinBranchPaths_D71E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6322,13 +6322,13 @@ Label_D71A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71E: +Sub_8764_JoinBranchPaths_D71E: dex ; CPU:$D71E PRG:171E CA cpx #$03 ; CPU:$D71F PRG:171F E0 03 - bcs Label_D724 ; CPU:$D721 PRG:1721 B0 01 + bcs Sub_8764_JoinBranchPaths_D724 ; CPU:$D721 PRG:1721 B0 01 rts ; CPU:$D723 PRG:1723 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D724 +; Routine: Sub_8764_JoinBranchPaths_D724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6336,20 +6336,20 @@ Label_D71E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D724: +Sub_8764_JoinBranchPaths_D724: lda Zp65,x ; CPU:$D724 PRG:1724 B5 65 - bmi Label_D71E ; CPU:$D726 PRG:1726 30 F6 - beq Label_D71E ; CPU:$D728 PRG:1728 F0 F4 + bmi Sub_8764_JoinBranchPaths_D71E ; CPU:$D726 PRG:1726 30 F6 + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D728 PRG:1728 F0 F4 cmp #$04 ; CPU:$D72A PRG:172A C9 04 - bcc Label_D740 ; CPU:$D72C PRG:172C 90 12 + bcc Sub_8764_OnCarryClear_D740 ; CPU:$D72C PRG:172C 90 12 lda Zp34 ; CPU:$D72E PRG:172E A5 34 and $E6CD,x ; CPU:$D730 PRG:1730 3D CD E6 - beq Label_D73B ; CPU:$D733 PRG:1733 F0 06 - jsr $D784 ; CPU:$D735 PRG:1735 20 84 D7 - bcc Label_D740 ; CPU:$D738 PRG:1738 90 06 + beq Sub_8764_OnZero_D73B ; CPU:$D733 PRG:1733 F0 06 + jsr SubCD784 ; CPU:$D735 PRG:1735 20 84 D7 + bcc Sub_8764_OnCarryClear_D740 ; CPU:$D738 PRG:1738 90 06 rts ; CPU:$D73A PRG:173A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D73B +; Routine: Sub_8764_OnZero_D73B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6357,11 +6357,11 @@ Label_D724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D73B: - jsr $D77A ; CPU:$D73B PRG:173B 20 7A D7 - bcs Label_D772 ; CPU:$D73E PRG:173E B0 32 +Sub_8764_OnZero_D73B: + jsr SubCD77A ; CPU:$D73B PRG:173B 20 7A D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D73E PRG:173E B0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_D740 +; Routine: Sub_8764_OnCarryClear_D740 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6369,26 +6369,26 @@ Label_D73B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D740: +Sub_8764_OnCarryClear_D740: lda Zp6D,x ; CPU:$D740 PRG:1740 B5 6D - beq Label_D71E ; CPU:$D742 PRG:1742 F0 DA - bmi Label_D71E ; CPU:$D744 PRG:1744 30 D8 + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D742 PRG:1742 F0 DA + bmi Sub_8764_JoinBranchPaths_D71E ; CPU:$D744 PRG:1744 30 D8 cmp #$04 ; CPU:$D746 PRG:1746 C9 04 - bcc Label_D71E ; CPU:$D748 PRG:1748 90 D4 + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D748 PRG:1748 90 D4 lda Zp09 ; CPU:$D74A PRG:174A A5 09 and $E6CD,x ; CPU:$D74C PRG:174C 3D CD E6 - beq Label_D71E ; CPU:$D74F PRG:174F F0 CD + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D74F PRG:174F F0 CD stx Zp03 ; CPU:$D751 PRG:1751 86 03 lda Zp35 ; CPU:$D753 PRG:1753 A5 35 and $E6CD,x ; CPU:$D755 PRG:1755 3D CD E6 - beq Label_D766 ; CPU:$D758 PRG:1758 F0 0C - jsr $D774 ; CPU:$D75A PRG:175A 20 74 D7 - jsr $D784 ; CPU:$D75D PRG:175D 20 84 D7 - bcs Label_D772 ; CPU:$D760 PRG:1760 B0 10 + beq Sub_8764_OnZero_D766 ; CPU:$D758 PRG:1758 F0 0C + jsr SubCD774 ; CPU:$D75A PRG:175A 20 74 D7 + jsr SubCD784 ; CPU:$D75D PRG:175D 20 84 D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D760 PRG:1760 B0 10 ldx Zp03 ; CPU:$D762 PRG:1762 A6 03 - bcc Label_D71E ; CPU:$D764 PRG:1764 90 B8 + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D764 PRG:1764 90 B8 ; ----------------------------------------------------------------------------- -; Routine: Label_D766 +; Routine: Sub_8764_OnZero_D766 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6396,14 +6396,14 @@ Label_D740: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D766: - jsr $D774 ; CPU:$D766 PRG:1766 20 74 D7 - jsr $D77A ; CPU:$D769 PRG:1769 20 7A D7 - bcs Label_D772 ; CPU:$D76C PRG:176C B0 04 +Sub_8764_OnZero_D766: + jsr SubCD774 ; CPU:$D766 PRG:1766 20 74 D7 + jsr SubCD77A ; CPU:$D769 PRG:1769 20 7A D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D76C PRG:176C B0 04 ldx Zp03 ; CPU:$D76E PRG:176E A6 03 - bcc Label_D71E ; CPU:$D770 PRG:1770 90 AC + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D770 PRG:1770 90 AC ; ----------------------------------------------------------------------------- -; Routine: Label_D772 +; Routine: Sub_8764_OnCarrySet_D772 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6411,11 +6411,11 @@ Label_D766: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D772: +Sub_8764_OnCarrySet_D772: sec ; CPU:$D772 PRG:1772 38 rts ; CPU:$D773 PRG:1773 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D774 +; Routine: SubCD774 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6423,14 +6423,14 @@ Label_D772: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D774: +SubCD774: txa ; CPU:$D774 PRG:1774 8A clc ; CPU:$D775 PRG:1775 18 adc #$08 ; CPU:$D776 PRG:1776 69 08 tax ; CPU:$D778 PRG:1778 AA rts ; CPU:$D779 PRG:1779 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D77A +; Routine: SubCD77A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6438,14 +6438,14 @@ Label_D774: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D77A: +SubCD77A: lda #$F6 ; CPU:$D77A PRG:177A A9 F6 sta Zp2A ; CPU:$D77C PRG:177C 85 2A lda #$0A ; CPU:$D77E PRG:177E A9 0A sta Zp29 ; CPU:$D780 PRG:1780 85 29 - bne Label_D78C ; CPU:$D782 PRG:1782 D0 08 + bne Sub_8764_OnNonzero_D78C ; CPU:$D782 PRG:1782 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D784 +; Routine: SubCD784 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6453,13 +6453,13 @@ Label_D77A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D784: +SubCD784: lda #$F0 ; CPU:$D784 PRG:1784 A9 F0 sta Zp2A ; CPU:$D786 PRG:1786 85 2A lda #$1E ; CPU:$D788 PRG:1788 A9 1E sta Zp29 ; CPU:$D78A PRG:178A 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_D78C +; Routine: Sub_8764_OnNonzero_D78C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6467,18 +6467,18 @@ Label_D784: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D78C: +Sub_8764_OnNonzero_D78C: sec ; CPU:$D78C PRG:178C 38 lda Zp27 ; CPU:$D78D PRG:178D A5 27 sbc Zp95,x ; CPU:$D78F PRG:178F F5 95 cmp Zp2A ; CPU:$D791 PRG:1791 C5 2A - bcs Label_D79B ; CPU:$D793 PRG:1793 B0 06 + bcs Sub_8764_JoinBranchPaths_D79B ; CPU:$D793 PRG:1793 B0 06 cmp Zp29 ; CPU:$D795 PRG:1795 C5 29 - bcc Label_D79B ; CPU:$D797 PRG:1797 90 02 + bcc Sub_8764_JoinBranchPaths_D79B ; CPU:$D797 PRG:1797 90 02 clc ; CPU:$D799 PRG:1799 18 rts ; CPU:$D79A PRG:179A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D79B +; Routine: Sub_8764_JoinBranchPaths_D79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6486,13 +6486,13 @@ Label_D78C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D79B: +Sub_8764_JoinBranchPaths_D79B: cpx #$08 ; CPU:$D79B PRG:179B E0 08 - bcc Label_D7A3 ; CPU:$D79D PRG:179D 90 04 + bcc Sub_8764_OnCarryClear_D7A3 ; CPU:$D79D PRG:179D 90 04 lda Zp37 ; CPU:$D79F PRG:179F A5 37 - bcs Label_D7A5 ; CPU:$D7A1 PRG:17A1 B0 02 + bcs Sub_8764_OnCarrySet_D7A5 ; CPU:$D7A1 PRG:17A1 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A3 +; Routine: Sub_8764_OnCarryClear_D7A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6500,10 +6500,10 @@ Label_D79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A3: +Sub_8764_OnCarryClear_D7A3: lda Zp36 ; CPU:$D7A3 PRG:17A3 A5 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A5 +; Routine: Sub_8764_OnCarrySet_D7A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6511,13 +6511,13 @@ Label_D7A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A5: +Sub_8764_OnCarrySet_D7A5: and $E6CD,x ; CPU:$D7A5 PRG:17A5 3D CD E6 - beq Label_D7AE ; CPU:$D7A8 PRG:17A8 F0 04 + beq Sub_8764_OnZero_D7AE ; CPU:$D7A8 PRG:17A8 F0 04 lda #$01 ; CPU:$D7AA PRG:17AA A9 01 - bne Label_D7B0 ; CPU:$D7AC PRG:17AC D0 02 + bne Sub_8764_OnNonzero_D7B0 ; CPU:$D7AC PRG:17AC D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D7AE +; Routine: Sub_8764_OnZero_D7AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6525,10 +6525,10 @@ Label_D7A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7AE: +Sub_8764_OnZero_D7AE: lda #$00 ; CPU:$D7AE PRG:17AE A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D7B0 +; Routine: Sub_8764_OnNonzero_D7B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6536,7 +6536,7 @@ Label_D7AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7B0: +Sub_8764_OnNonzero_D7B0: sta Zp04 ; CPU:$D7B0 PRG:17B0 85 04 sec ; CPU:$D7B2 PRG:17B2 38 lda Zp25 ; CPU:$D7B3 PRG:17B3 A5 25 @@ -6544,12 +6544,12 @@ Label_D7B0: sta Zp05 ; CPU:$D7B7 PRG:17B7 85 05 lda Zp03 ; CPU:$D7B9 PRG:17B9 A5 03 sbc Zp04 ; CPU:$D7BB PRG:17BB E5 04 - beq Label_D7C7 ; CPU:$D7BD PRG:17BD F0 08 + beq Sub_8764_OnZero_D7C7 ; CPU:$D7BD PRG:17BD F0 08 lda Zp05 ; CPU:$D7BF PRG:17BF A5 05 cmp Zp2A ; CPU:$D7C1 PRG:17C1 C5 2A - bcs Label_D7CD ; CPU:$D7C3 PRG:17C3 B0 08 + bcs Sub_8764_OnCarrySet_D7CD ; CPU:$D7C3 PRG:17C3 B0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C5 +; Routine: Sub_8764_OnCarrySet_D7C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6557,11 +6557,11 @@ Label_D7B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C5: +Sub_8764_OnCarrySet_D7C5: clc ; CPU:$D7C5 PRG:17C5 18 rts ; CPU:$D7C6 PRG:17C6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C7 +; Routine: Sub_8764_OnZero_D7C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6569,12 +6569,12 @@ Label_D7C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C7: +Sub_8764_OnZero_D7C7: lda Zp05 ; CPU:$D7C7 PRG:17C7 A5 05 cmp Zp29 ; CPU:$D7C9 PRG:17C9 C5 29 - bcs Label_D7C5 ; CPU:$D7CB PRG:17CB B0 F8 + bcs Sub_8764_OnCarrySet_D7C5 ; CPU:$D7CB PRG:17CB B0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_D7CD +; Routine: Sub_8764_OnCarrySet_D7CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6582,11 +6582,11 @@ Label_D7C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7CD: +Sub_8764_OnCarrySet_D7CD: sec ; CPU:$D7CD PRG:17CD 38 rts ; CPU:$D7CE PRG:17CE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7CF +; Routine: Sub_8764_OnZero_D7CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6594,7 +6594,7 @@ Label_D7CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7CF: +Sub_8764_OnZero_D7CF: ldx #$6E ; CPU:$D7CF PRG:17CF A2 6E lda #$84 ; CPU:$D7D1 PRG:17D1 A9 84 sta Zp40 ; CPU:$D7D3 PRG:17D3 85 40 @@ -6603,7 +6603,7 @@ Label_D7CF: lda #$28 ; CPU:$D7D9 PRG:17D9 A9 28 sta Zp06 ; CPU:$D7DB PRG:17DB 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D7DD +; Routine: Sub_8764_OnCarrySet_D7DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6611,19 +6611,19 @@ Label_D7CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DD: +Sub_8764_OnCarrySet_D7DD: lda $035E,x ; CPU:$D7DD PRG:17DD BD 5E 03 - bmi Label_D7FA ; CPU:$D7E0 PRG:17E0 30 18 + bmi Sub_8764_OnNegative_D7FA ; CPU:$D7E0 PRG:17E0 30 18 lda $04AB,x ; CPU:$D7E2 PRG:17E2 BD AB 04 - bmi Label_D7F7 ; CPU:$D7E5 PRG:17E5 30 10 + bmi Sub_8764_OnNegative_D7F7 ; CPU:$D7E5 PRG:17E5 30 10 lda $043C,x ; CPU:$D7E7 PRG:17E7 BD 3C 04 tay ; CPU:$D7EA PRG:17EA A8 lda $DA41,y ; CPU:$D7EB PRG:17EB B9 41 DA - jsr $EDD7 ; CPU:$D7EE PRG:17EE 20 D7 ED + jsr SubCEDD7 ; CPU:$D7EE PRG:17EE 20 D7 ED lda $DA4D,y ; CPU:$D7F1 PRG:17F1 B9 4D DA - jsr $EDE2 ; CPU:$D7F4 PRG:17F4 20 E2 ED + jsr SubCEDE2 ; CPU:$D7F4 PRG:17F4 20 E2 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D7F7 +; Routine: Sub_8764_OnNegative_D7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6631,10 +6631,10 @@ Label_D7DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F7: - jsr $DC81 ; CPU:$D7F7 PRG:17F7 20 81 DC +Sub_8764_OnNegative_D7F7: + jsr SubCDC81 ; CPU:$D7F7 PRG:17F7 20 81 DC ; ----------------------------------------------------------------------------- -; Routine: Label_D7FA +; Routine: Sub_8764_OnNegative_D7FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6642,13 +6642,13 @@ Label_D7F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FA: +Sub_8764_OnNegative_D7FA: dex ; CPU:$D7FA PRG:17FA CA cpx #$59 ; CPU:$D7FB PRG:17FB E0 59 - bcs Label_D7DD ; CPU:$D7FD PRG:17FD B0 DE + bcs Sub_8764_OnCarrySet_D7DD ; CPU:$D7FD PRG:17FD B0 DE rts ; CPU:$D7FF PRG:17FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D800 +; Routine: SubCD800 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6656,14 +6656,14 @@ Label_D7FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D800: +SubCD800: lda Zp11 ; CPU:$D800 PRG:1800 A5 11 cmp #$05 ; CPU:$D802 PRG:1802 C9 05 - bcs Label_D80B ; CPU:$D804 PRG:1804 B0 05 + bcs Sub_8764_OnCarrySet_D80B ; CPU:$D804 PRG:1804 B0 05 ldy #$09 ; CPU:$D806 PRG:1806 A0 09 - jsr $C043 ; CPU:$D808 PRG:1808 20 43 C0 + jsr SubCC043 ; CPU:$D808 PRG:1808 20 43 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_D80B +; Routine: Sub_8764_OnCarrySet_D80B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6671,14 +6671,14 @@ Label_D800: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D80B: - jsr $E4B7 ; CPU:$D80B PRG:180B 20 B7 E4 +Sub_8764_OnCarrySet_D80B: + jsr SubCE4B7 ; CPU:$D80B PRG:180B 20 B7 E4 dec ZpA5 ; CPU:$D80E PRG:180E C6 A5 - bne Label_D816 ; CPU:$D810 PRG:1810 D0 04 + bne Sub_8764_OnNonzero_D816 ; CPU:$D810 PRG:1810 D0 04 lda #$08 ; CPU:$D812 PRG:1812 A9 08 sta ZpA5 ; CPU:$D814 PRG:1814 85 A5 ; ----------------------------------------------------------------------------- -; Routine: Label_D816 +; Routine: Sub_8764_OnNonzero_D816 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6686,18 +6686,18 @@ Label_D80B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D816: +Sub_8764_OnNonzero_D816: lda ZpA5 ; CPU:$D816 PRG:1816 A5 A5 cmp #$05 ; CPU:$D818 PRG:1818 C9 05 - beq Label_D7CF ; CPU:$D81A PRG:181A F0 B3 + beq Sub_8764_OnZero_D7CF ; CPU:$D81A PRG:181A F0 B3 cmp #$02 ; CPU:$D81C PRG:181C C9 02 - beq Label_D829 ; CPU:$D81E PRG:181E F0 09 + beq Sub_8764_OnZero_D829 ; CPU:$D81E PRG:181E F0 09 cmp #$07 ; CPU:$D820 PRG:1820 C9 07 - beq Label_D83E ; CPU:$D822 PRG:1822 F0 1A + beq Sub_8764_OnZero_D83E ; CPU:$D822 PRG:1822 F0 1A cmp #$06 ; CPU:$D824 PRG:1824 C9 06 - beq Label_D82F ; CPU:$D826 PRG:1826 F0 07 + beq Sub_8764_OnZero_D82F ; CPU:$D826 PRG:1826 F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D828 +; Routine: Sub_8764_OnNonzero_D828 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6705,10 +6705,10 @@ Label_D816: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D828: +Sub_8764_OnNonzero_D828: rts ; CPU:$D828 PRG:1828 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D829 +; Routine: Sub_8764_OnZero_D829 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6716,11 +6716,11 @@ Label_D828: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D829: - jsr $DA43 ; CPU:$D829 PRG:1829 20 43 DA - jmp $D9F2 ; CPU:$D82C PRG:182C 4C F2 D9 +Sub_8764_OnZero_D829: + jsr SubCDA43 ; CPU:$D829 PRG:1829 20 43 DA + jmp SubCD9F2 ; CPU:$D82C PRG:182C 4C F2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D82F +; Routine: Sub_8764_OnZero_D82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6728,13 +6728,13 @@ Label_D829: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82F: - jsr $DBA8 ; CPU:$D82F PRG:182F 20 A8 DB +Sub_8764_OnZero_D82F: + jsr SubCDBA8 ; CPU:$D82F PRG:182F 20 A8 DB lda Zp0F ; CPU:$D832 PRG:1832 A5 0F - beq Label_D838 ; CPU:$D834 PRG:1834 F0 02 + beq Sub_8764_OnZero_D838 ; CPU:$D834 PRG:1834 F0 02 dec Zp0F ; CPU:$D836 PRG:1836 C6 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D838 +; Routine: Sub_8764_OnZero_D838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6742,11 +6742,11 @@ Label_D82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D838: - jsr $D9E7 ; CPU:$D838 PRG:1838 20 E7 D9 - jmp $D8DA ; CPU:$D83B PRG:183B 4C DA D8 +Sub_8764_OnZero_D838: + jsr SubCD9E7 ; CPU:$D838 PRG:1838 20 E7 D9 + jmp SubCD8DA ; CPU:$D83B PRG:183B 4C DA D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D83E +; Routine: Sub_8764_OnZero_D83E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6754,17 +6754,17 @@ Label_D838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D83E: +Sub_8764_OnZero_D83E: dec Zp12 ; CPU:$D83E PRG:183E C6 12 lda Zp12 ; CPU:$D840 PRG:1840 A5 12 and #$3F ; CPU:$D842 PRG:1842 29 3F - bne Label_D828 ; CPU:$D844 PRG:1844 D0 E2 + bne Sub_8764_OnNonzero_D828 ; CPU:$D844 PRG:1844 D0 E2 lda #$FF ; CPU:$D846 PRG:1846 A9 FF sta $0366 ; CPU:$D848 PRG:1848 8D 66 03 ldx #$14 ; CPU:$D84B PRG:184B A2 14 ldy #$00 ; CPU:$D84D PRG:184D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D84F +; Routine: Sub_8764_OnCarrySet_D84F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6772,12 +6772,12 @@ Label_D83E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D84F: +Sub_8764_OnCarrySet_D84F: lda $035E,x ; CPU:$D84F PRG:184F BD 5E 03 - bmi Label_D855 ; CPU:$D852 PRG:1852 30 01 + bmi Sub_8764_OnNegative_D855 ; CPU:$D852 PRG:1852 30 01 iny ; CPU:$D854 PRG:1854 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D855 +; Routine: Sub_8764_OnNegative_D855 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6785,24 +6785,24 @@ Label_D84F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D855: +Sub_8764_OnNegative_D855: dex ; CPU:$D855 PRG:1855 CA cpx #$0F ; CPU:$D856 PRG:1856 E0 0F - bcs Label_D84F ; CPU:$D858 PRG:1858 B0 F5 + bcs Sub_8764_OnCarrySet_D84F ; CPU:$D858 PRG:1858 B0 F5 tya ; CPU:$D85A PRG:185A 98 - beq Label_D873 ; CPU:$D85B PRG:185B F0 16 + beq Sub_8764_OnZero_D873 ; CPU:$D85B PRG:185B F0 16 lda ZpD4 ; CPU:$D85D PRG:185D A5 D4 - beq Label_D871 ; CPU:$D85F PRG:185F F0 10 + beq Sub_8764_JoinBranchPaths_D871 ; CPU:$D85F PRG:185F F0 10 lda ZpD3 ; CPU:$D861 PRG:1861 A5 D3 cmp #$03 ; CPU:$D863 PRG:1863 C9 03 - bcs Label_D871 ; CPU:$D865 PRG:1865 B0 0A + bcs Sub_8764_JoinBranchPaths_D871 ; CPU:$D865 PRG:1865 B0 0A lda ZpBB ; CPU:$D867 PRG:1867 A5 BB - beq Label_D871 ; CPU:$D869 PRG:1869 F0 06 - bmi Label_D871 ; CPU:$D86B PRG:186B 30 04 + beq Sub_8764_JoinBranchPaths_D871 ; CPU:$D869 PRG:1869 F0 06 + bmi Sub_8764_JoinBranchPaths_D871 ; CPU:$D86B PRG:186B 30 04 lda ZpC9 ; CPU:$D86D PRG:186D A5 C9 - beq Label_D873 ; CPU:$D86F PRG:186F F0 02 + beq Sub_8764_OnZero_D873 ; CPU:$D86F PRG:186F F0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D871 +; Routine: Sub_8764_JoinBranchPaths_D871 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6810,10 +6810,10 @@ Label_D855: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D871: +Sub_8764_JoinBranchPaths_D871: ldy #$01 ; CPU:$D871 PRG:1871 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D873 +; Routine: Sub_8764_OnZero_D873 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6821,7 +6821,7 @@ Label_D871: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D873: +Sub_8764_OnZero_D873: lda $D8C5,y ; CPU:$D873 PRG:1873 B9 C5 D8 sta ZpBE ; CPU:$D876 PRG:1876 85 BE lda $D8D3,y ; CPU:$D878 PRG:1878 B9 D3 D8 @@ -6831,7 +6831,7 @@ Label_D873: sty ZpBD ; CPU:$D882 PRG:1882 84 BD ldx #$05 ; CPU:$D884 PRG:1884 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D886 +; Routine: Sub_8764_OnNonnegative_D886 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6839,19 +6839,19 @@ Label_D873: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D886: +Sub_8764_OnNonnegative_D886: lda $036D,x ; CPU:$D886 PRG:1886 BD 6D 03 - bmi Label_D8A1 ; CPU:$D889 PRG:1889 30 16 + bmi Sub_8764_JoinBranchPaths_D8A1 ; CPU:$D889 PRG:1889 30 16 inc $06A7,x ; CPU:$D88B PRG:188B FE A7 06 lda $06A7,x ; CPU:$D88E PRG:188E BD A7 06 cmp $D8B7,y ; CPU:$D891 PRG:1891 D9 B7 D8 - bcc Label_D8A1 ; CPU:$D894 PRG:1894 90 0B - jsr $C9D5 ; CPU:$D896 PRG:1896 20 D5 C9 + bcc Sub_8764_JoinBranchPaths_D8A1 ; CPU:$D894 PRG:1894 90 0B + jsr SubCC9D5 ; CPU:$D896 PRG:1896 20 D5 C9 ldy ZpBD ; CPU:$D899 PRG:1899 A4 BD lda $D8BE,y ; CPU:$D89B PRG:189B B9 BE D8 sta $06A7,x ; CPU:$D89E PRG:189E 9D A7 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A1 +; Routine: Sub_8764_JoinBranchPaths_D8A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6859,12 +6859,12 @@ Label_D886: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A1: +Sub_8764_JoinBranchPaths_D8A1: dex ; CPU:$D8A1 PRG:18A1 CA - bpl Label_D886 ; CPU:$D8A2 PRG:18A2 10 E2 - jmp $D942 ; CPU:$D8A4 PRG:18A4 4C 42 D9 + bpl Sub_8764_OnNonnegative_D886 ; CPU:$D8A2 PRG:18A2 10 E2 + jmp SubCD942 ; CPU:$D8A4 PRG:18A4 4C 42 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A7 +; Routine: SubCD8A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6872,15 +6872,15 @@ Label_D8A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A7: +SubCD8A7: lda ZpC9 ; CPU:$D8A7 PRG:18A7 A5 C9 - bne Label_D8B3 ; CPU:$D8A9 PRG:18A9 D0 08 + bne Sub_8764_OnNonzero_D8B3 ; CPU:$D8A9 PRG:18A9 D0 08 lda ZpD4 ; CPU:$D8AB PRG:18AB A5 D4 - beq Label_D8B4 ; CPU:$D8AD PRG:18AD F0 05 + beq Sub_8764_OnZero_D8B4 ; CPU:$D8AD PRG:18AD F0 05 lda ZpD3 ; CPU:$D8AF PRG:18AF A5 D3 cmp #$01 ; CPU:$D8B1 PRG:18B1 C9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B3 +; Routine: Sub_8764_OnNonzero_D8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6888,10 +6888,10 @@ Label_D8A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B3: +Sub_8764_OnNonzero_D8B3: rts ; CPU:$D8B3 PRG:18B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B4 +; Routine: Sub_8764_OnZero_D8B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6899,7 +6899,7 @@ Label_D8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B4: +Sub_8764_OnZero_D8B4: lda #$01 ; CPU:$D8B4 PRG:18B4 A9 01 rts ; CPU:$D8B6 PRG:18B6 60 ; ---- data $D8B7-$D8D9 (35 bytes) ---- @@ -6912,7 +6912,7 @@ Label_D8B4: .byte $59, $67, $67, $69, $6E, $01, $01, $01, $03, $03, $07, $07, $FF, $FF, $FF, $FF ; CPU:$D8C7 PRG:18C7 59 67 67 69 6E 01 01 01 03 03 07 07 FF FF FF FF .byte $14, $0B, $06 ; CPU:$D8D7 PRG:18D7 14 0B 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DA +; Routine: SubCD8DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6920,13 +6920,13 @@ Label_D8B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DA: +SubCD8DA: lda $036A ; CPU:$D8DA PRG:18DA AD 6A 03 - bpl Label_D8E3 ; CPU:$D8DD PRG:18DD 10 04 + bpl Sub_8764_OnNonnegative_D8E3 ; CPU:$D8DD PRG:18DD 10 04 lda #$00 ; CPU:$D8DF PRG:18DF A9 00 - beq Label_D914 ; CPU:$D8E1 PRG:18E1 F0 31 + beq Sub_8764_OnZero_D914 ; CPU:$D8E1 PRG:18E1 F0 31 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E3 +; Routine: Sub_8764_OnNonnegative_D8E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6934,16 +6934,16 @@ Label_D8DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E3: - jsr $EE66 ; CPU:$D8E3 PRG:18E3 20 66 EE +Sub_8764_OnNonnegative_D8E3: + jsr SubCEE66 ; CPU:$D8E3 PRG:18E3 20 66 EE clc ; CPU:$D8E6 PRG:18E6 18 lda Zp27 ; CPU:$D8E7 PRG:18E7 A5 27 adc #$08 ; CPU:$D8E9 PRG:18E9 69 08 sta Zp27 ; CPU:$D8EB PRG:18EB 85 27 - bcc Label_D8F1 ; CPU:$D8ED PRG:18ED 90 02 + bcc Sub_8764_OnCarryClear_D8F1 ; CPU:$D8ED PRG:18ED 90 02 inc Zp28 ; CPU:$D8EF PRG:18EF E6 28 ; ----------------------------------------------------------------------------- -; Routine: Label_D8F1 +; Routine: Sub_8764_OnCarryClear_D8F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6951,15 +6951,15 @@ Label_D8E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8F1: +Sub_8764_OnCarryClear_D8F1: sec ; CPU:$D8F1 PRG:18F1 38 lda Zp25 ; CPU:$D8F2 PRG:18F2 A5 25 sbc #$01 ; CPU:$D8F4 PRG:18F4 E9 01 sta Zp25 ; CPU:$D8F6 PRG:18F6 85 25 - bcs Label_D8FC ; CPU:$D8F8 PRG:18F8 B0 02 + bcs Sub_8764_OnCarrySet_D8FC ; CPU:$D8F8 PRG:18F8 B0 02 dec Zp26 ; CPU:$D8FA PRG:18FA C6 26 ; ----------------------------------------------------------------------------- -; Routine: Label_D8FC +; Routine: Sub_8764_OnCarrySet_D8FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6967,15 +6967,15 @@ Label_D8F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FC: +Sub_8764_OnCarrySet_D8FC: ldx #$0C ; CPU:$D8FC PRG:18FC A2 0C - jsr $E665 ; CPU:$D8FE PRG:18FE 20 65 E6 + jsr SubCE665 ; CPU:$D8FE PRG:18FE 20 65 E6 inc Zp03 ; CPU:$D901 PRG:1901 E6 03 lda Zp26 ; CPU:$D903 PRG:1903 A5 26 - bne Label_D909 ; CPU:$D905 PRG:1905 D0 02 + bne Sub_8764_OnNonzero_D909 ; CPU:$D905 PRG:1905 D0 02 dec Zp03 ; CPU:$D907 PRG:1907 C6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D909 +; Routine: Sub_8764_OnNonzero_D909 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6983,12 +6983,12 @@ Label_D8FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D909: +Sub_8764_OnNonzero_D909: lda Zp28 ; CPU:$D909 PRG:1909 A5 28 - bne Label_D90F ; CPU:$D90B PRG:190B D0 02 + bne Sub_8764_OnNonzero_D90F ; CPU:$D90B PRG:190B D0 02 inc Zp03 ; CPU:$D90D PRG:190D E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D90F +; Routine: Sub_8764_OnNonzero_D90F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6996,11 +6996,11 @@ Label_D909: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D90F: +Sub_8764_OnNonzero_D90F: ldx Zp03 ; CPU:$D90F PRG:190F A6 03 lda $D933,x ; CPU:$D911 PRG:1911 BD 33 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D914 +; Routine: Sub_8764_OnZero_D914 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7008,10 +7008,10 @@ Label_D90F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D914: +Sub_8764_OnZero_D914: sta $0240 ; CPU:$D914 PRG:1914 8D 40 02 lda $036A ; CPU:$D917 PRG:1917 AD 6A 03 - bmi Label_D932 ; CPU:$D91A PRG:191A 30 16 + bmi Sub_8764_OnNegative_D932 ; CPU:$D91A PRG:191A 30 16 lda $028C ; CPU:$D91C PRG:191C AD 8C 02 and #$F0 ; CPU:$D91F PRG:191F 29 F0 ora $036A ; CPU:$D921 PRG:1921 0D 6A 03 @@ -7021,7 +7021,7 @@ Label_D914: ora $03D9 ; CPU:$D92C PRG:192C 0D D9 03 sta $06D5 ; CPU:$D92F PRG:192F 8D D5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D932 +; Routine: Sub_8764_OnNegative_D932 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7029,13 +7029,13 @@ Label_D914: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D932: +Sub_8764_OnNegative_D932: rts ; CPU:$D932 PRG:1932 60 ; ---- data $D933-$D941 (15 bytes) ---- ; referenced by `lda $D933,x` at $D911 (operand $D933 falls inside this region) .byte $D2, $D7, $D3, $D3, $C2, $C7, $D3, $D2, $D2, $D6, $C3, $C3, $C2, $C6, $C3 ; CPU:$D933 PRG:1933 D2 D7 D3 D3 C2 C7 D3 D2 D2 D6 C3 C3 C2 C6 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_D942 +; Routine: SubCD942 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7043,13 +7043,13 @@ Label_D932: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D942: +SubCD942: lda Zp39 ; CPU:$D942 PRG:1942 A5 39 - beq Label_D949 ; CPU:$D944 PRG:1944 F0 03 + beq Sub_8764_OnZero_D949 ; CPU:$D944 PRG:1944 F0 03 dec Zp39 ; CPU:$D946 PRG:1946 C6 39 rts ; CPU:$D948 PRG:1948 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D949 +; Routine: Sub_8764_OnZero_D949 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7057,7 +7057,7 @@ Label_D942: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D949: +Sub_8764_OnZero_D949: lda ZpBD ; CPU:$D949 PRG:1949 A5 BD eor #$07 ; CPU:$D94B PRG:194B 49 07 asl a ; CPU:$D94D PRG:194D 0A @@ -7066,15 +7066,15 @@ Label_D949: clc ; CPU:$D950 PRG:1950 18 adc #$20 ; CPU:$D951 PRG:1951 69 20 sta Zp54 ; CPU:$D953 PRG:1953 85 54 - jsr $C412 ; CPU:$D955 PRG:1955 20 12 C4 + jsr SubCC412 ; CPU:$D955 PRG:1955 20 12 C4 cmp Zp54 ; CPU:$D958 PRG:1958 C5 54 - bcs Label_D992 ; CPU:$D95A PRG:195A B0 36 + bcs Sub_8764_JoinBranchPaths_D992 ; CPU:$D95A PRG:195A B0 36 lda $036A ; CPU:$D95C PRG:195C AD 6A 03 - bmi Label_D992 ; CPU:$D95F PRG:195F 30 31 + bmi Sub_8764_JoinBranchPaths_D992 ; CPU:$D95F PRG:195F 30 31 ldy #$02 ; CPU:$D961 PRG:1961 A0 02 ldx #$6E ; CPU:$D963 PRG:1963 A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D965 +; Routine: Sub_8764_OnCarrySet_D965 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7082,18 +7082,18 @@ Label_D949: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D965: +Sub_8764_OnCarrySet_D965: lda $035E,x ; CPU:$D965 PRG:1965 BD 5E 03 - bmi Label_D979 ; CPU:$D968 PRG:1968 30 0F + bmi Sub_8764_JoinBranchPaths_D979 ; CPU:$D968 PRG:1968 30 0F lda $04AB,x ; CPU:$D96A PRG:196A BD AB 04 and #$01 ; CPU:$D96D PRG:196D 29 01 - bne Label_D979 ; CPU:$D96F PRG:196F D0 08 + bne Sub_8764_JoinBranchPaths_D979 ; CPU:$D96F PRG:196F D0 08 lda #$13 ; CPU:$D971 PRG:1971 A9 13 sta $051A,x ; CPU:$D973 PRG:1973 9D 1A 05 dey ; CPU:$D976 PRG:1976 88 - beq Label_D97E ; CPU:$D977 PRG:1977 F0 05 + beq Sub_8764_OnZero_D97E ; CPU:$D977 PRG:1977 F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D979 +; Routine: Sub_8764_JoinBranchPaths_D979 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7101,12 +7101,12 @@ Label_D965: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D979: +Sub_8764_JoinBranchPaths_D979: dex ; CPU:$D979 PRG:1979 CA cpx #$59 ; CPU:$D97A PRG:197A E0 59 - bcs Label_D965 ; CPU:$D97C PRG:197C B0 E7 + bcs Sub_8764_OnCarrySet_D965 ; CPU:$D97C PRG:197C B0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D97E +; Routine: Sub_8764_OnZero_D97E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7114,13 +7114,13 @@ Label_D979: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D97E: - jsr $D8A7 ; CPU:$D97E PRG:197E 20 A7 D8 - beq Label_D987 ; CPU:$D981 PRG:1981 F0 04 +Sub_8764_OnZero_D97E: + jsr SubCD8A7 ; CPU:$D97E PRG:197E 20 A7 D8 + beq Sub_8764_OnZero_D987 ; CPU:$D981 PRG:1981 F0 04 lda #$28 ; CPU:$D983 PRG:1983 A9 28 - bne Label_D989 ; CPU:$D985 PRG:1985 D0 02 + bne Sub_8764_OnNonzero_D989 ; CPU:$D985 PRG:1985 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D987 +; Routine: Sub_8764_OnZero_D987 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7128,10 +7128,10 @@ Label_D97E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D987: +Sub_8764_OnZero_D987: lda #$46 ; CPU:$D987 PRG:1987 A9 46 ; ----------------------------------------------------------------------------- -; Routine: Label_D989 +; Routine: Sub_8764_OnNonzero_D989 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7139,14 +7139,14 @@ Label_D987: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D989: +Sub_8764_OnNonzero_D989: sta ZpD9 ; CPU:$D989 PRG:1989 85 D9 clc ; CPU:$D98B PRG:198B 18 lda ZpBD ; CPU:$D98C PRG:198C A5 BD adc #$02 ; CPU:$D98E PRG:198E 69 02 sta Zp39 ; CPU:$D990 PRG:1990 85 39 ; ----------------------------------------------------------------------------- -; Routine: Label_D992 +; Routine: Sub_8764_JoinBranchPaths_D992 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7154,10 +7154,10 @@ Label_D989: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D992: +Sub_8764_JoinBranchPaths_D992: rts ; CPU:$D992 PRG:1992 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D993 +; Routine: SubCD993 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7165,16 +7165,16 @@ Label_D992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D993: +SubCD993: lda ZpA5 ; CPU:$D993 PRG:1993 A5 A5 cmp #$07 ; CPU:$D995 PRG:1995 C9 07 - bne Label_D9A3 ; CPU:$D997 PRG:1997 D0 0A + bne Sub_8764_OnNonzero_D9A3 ; CPU:$D997 PRG:1997 D0 0A lda $043C,x ; CPU:$D999 PRG:1999 BD 3C 04 cmp #$7B ; CPU:$D99C PRG:199C C9 7B - beq Label_D9A5 ; CPU:$D99E PRG:199E F0 05 + beq Sub_8764_OnZero_D9A5 ; CPU:$D99E PRG:199E F0 05 inc $043C,x ; CPU:$D9A0 PRG:19A0 FE 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A3 +; Routine: Sub_8764_OnNonzero_D9A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7182,10 +7182,10 @@ Label_D993: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A3: - bne Label_D9AF ; CPU:$D9A3 PRG:19A3 D0 0A +Sub_8764_OnNonzero_D9A3: + bne Sub_8764_OnNonzero_D9AF ; CPU:$D9A3 PRG:19A3 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D9A5 +; Routine: Sub_8764_OnZero_D9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7193,13 +7193,13 @@ Label_D9A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A5: +Sub_8764_OnZero_D9A5: lda #$74 ; CPU:$D9A5 PRG:19A5 A9 74 sta $043C,x ; CPU:$D9A7 PRG:19A7 9D 3C 04 lda #$03 ; CPU:$D9AA PRG:19AA A9 03 - jsr $D9B2 ; CPU:$D9AC PRG:19AC 20 B2 D9 + jsr SubCD9B2 ; CPU:$D9AC PRG:19AC 20 B2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9AF +; Routine: Sub_8764_OnNonzero_D9AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7207,10 +7207,10 @@ Label_D9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AF: - jmp $E320 ; CPU:$D9AF PRG:19AF 4C 20 E3 +Sub_8764_OnNonzero_D9AF: + jmp SubCE320 ; CPU:$D9AF PRG:19AF 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B2 +; Routine: SubCD9B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7218,7 +7218,7 @@ Label_D9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B2: +SubCD9B2: sta Zp03 ; CPU:$D9B2 PRG:19B2 85 03 lda $0280,x ; CPU:$D9B4 PRG:19B4 BD 80 02 and #$F0 ; CPU:$D9B7 PRG:19B7 29 F0 @@ -7230,7 +7230,7 @@ Label_D9B2: sta $06D4 ; CPU:$D9C7 PRG:19C7 8D D4 06 ldx #$6E ; CPU:$D9CA PRG:19CA A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D9CC +; Routine: Sub_8764_OnCarrySet_D9CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7238,18 +7238,18 @@ Label_D9B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CC: +Sub_8764_OnCarrySet_D9CC: lda $035E,x ; CPU:$D9CC PRG:19CC BD 5E 03 - bmi Label_D9E1 ; CPU:$D9CF PRG:19CF 30 10 + bmi Sub_8764_JoinBranchPaths_D9E1 ; CPU:$D9CF PRG:19CF 30 10 lda $04AB,x ; CPU:$D9D1 PRG:19D1 BD AB 04 and #$01 ; CPU:$D9D4 PRG:19D4 29 01 - beq Label_D9E1 ; CPU:$D9D6 PRG:19D6 F0 09 + beq Sub_8764_JoinBranchPaths_D9E1 ; CPU:$D9D6 PRG:19D6 F0 09 lda #$12 ; CPU:$D9D8 PRG:19D8 A9 12 sta $051A,x ; CPU:$D9DA PRG:19DA 9D 1A 05 dec Zp03 ; CPU:$D9DD PRG:19DD C6 03 - beq Label_D9E6 ; CPU:$D9DF PRG:19DF F0 05 + beq Sub_8764_OnZero_D9E6 ; CPU:$D9DF PRG:19DF F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E1 +; Routine: Sub_8764_JoinBranchPaths_D9E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7257,12 +7257,12 @@ Label_D9CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E1: +Sub_8764_JoinBranchPaths_D9E1: dex ; CPU:$D9E1 PRG:19E1 CA cpx #$59 ; CPU:$D9E2 PRG:19E2 E0 59 - bcs Label_D9CC ; CPU:$D9E4 PRG:19E4 B0 E6 + bcs Sub_8764_OnCarrySet_D9CC ; CPU:$D9E4 PRG:19E4 B0 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E6 +; Routine: Sub_8764_OnZero_D9E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7270,10 +7270,10 @@ Label_D9E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E6: +Sub_8764_OnZero_D9E6: rts ; CPU:$D9E6 PRG:19E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E7 +; Routine: SubCD9E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7281,14 +7281,14 @@ Label_D9E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E7: +SubCD9E7: ldx #$0B ; CPU:$D9E7 PRG:19E7 A2 0B - jsr $EDE0 ; CPU:$D9E9 PRG:19E9 20 E0 ED + jsr SubCEDE0 ; CPU:$D9E9 PRG:19E9 20 E0 ED ldx #$0C ; CPU:$D9EC PRG:19EC A2 0C - jsr $EDE0 ; CPU:$D9EE PRG:19EE 20 E0 ED + jsr SubCEDE0 ; CPU:$D9EE PRG:19EE 20 E0 ED rts ; CPU:$D9F1 PRG:19F1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9F2 +; Routine: SubCD9F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7296,13 +7296,13 @@ Label_D9E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F2: +SubCD9F2: lda #$00 ; CPU:$D9F2 PRG:19F2 A9 00 sta Zp2F ; CPU:$D9F4 PRG:19F4 85 2F sta Zp30 ; CPU:$D9F6 PRG:19F6 85 30 ldy #$58 ; CPU:$D9F8 PRG:19F8 A0 58 ; ----------------------------------------------------------------------------- -; Routine: Label_D9FA +; Routine: Sub_8764_OnCarrySet_D9FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7310,16 +7310,16 @@ Label_D9F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FA: +Sub_8764_OnCarrySet_D9FA: lda $035E,y ; CPU:$D9FA PRG:19FA B9 5E 03 - bmi Label_DA0A ; CPU:$D9FD PRG:19FD 30 0B + bmi Sub_8764_JoinBranchPaths_DA0A ; CPU:$D9FD PRG:19FD 30 0B lda $04AB,y ; CPU:$D9FF PRG:19FF B9 AB 04 and #$40 ; CPU:$DA02 PRG:1A02 29 40 - beq Label_DA0A ; CPU:$DA04 PRG:1A04 F0 04 + beq Sub_8764_JoinBranchPaths_DA0A ; CPU:$DA04 PRG:1A04 F0 04 tya ; CPU:$DA06 PRG:1A06 98 - jsr $DD6B ; CPU:$DA07 PRG:1A07 20 6B DD + jsr SubCDD6B ; CPU:$DA07 PRG:1A07 20 6B DD ; ----------------------------------------------------------------------------- -; Routine: Label_DA0A +; Routine: Sub_8764_JoinBranchPaths_DA0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7327,10 +7327,10 @@ Label_D9FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA0A: +Sub_8764_JoinBranchPaths_DA0A: dey ; CPU:$DA0A PRG:1A0A 88 cpy #$55 ; CPU:$DA0B PRG:1A0B C0 55 - bcs Label_D9FA ; CPU:$DA0D PRG:1A0D B0 EB + bcs Sub_8764_OnCarrySet_D9FA ; CPU:$DA0D PRG:1A0D B0 EB lda #$84 ; CPU:$DA0F PRG:1A0F A9 84 sta Zp40 ; CPU:$DA11 PRG:1A11 85 40 lda #$05 ; CPU:$DA13 PRG:1A13 A9 05 @@ -7338,7 +7338,7 @@ Label_DA0A: sta Zp06 ; CPU:$DA17 PRG:1A17 85 06 ldx #$58 ; CPU:$DA19 PRG:1A19 A2 58 ; ----------------------------------------------------------------------------- -; Routine: Label_DA1B +; Routine: Sub_8764_OnCarrySet_DA1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7346,22 +7346,22 @@ Label_DA0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA1B: +Sub_8764_OnCarrySet_DA1B: lda $035E,x ; CPU:$DA1B PRG:1A1B BD 5E 03 - bmi Label_DA3D ; CPU:$DA1E PRG:1A1E 30 1D + bmi Sub_8764_OnNegative_DA3D ; CPU:$DA1E PRG:1A1E 30 1D lda $04AB,x ; CPU:$DA20 PRG:1A20 BD AB 04 and #$40 ; CPU:$DA23 PRG:1A23 29 40 - beq Label_DA3A ; CPU:$DA25 PRG:1A25 F0 13 + beq Sub_8764_OnZero_DA3A ; CPU:$DA25 PRG:1A25 F0 13 sec ; CPU:$DA27 PRG:1A27 38 lda $043C,x ; CPU:$DA28 PRG:1A28 BD 3C 04 sbc #$84 ; CPU:$DA2B PRG:1A2B E9 84 tay ; CPU:$DA2D PRG:1A2D A8 lda $DA8D,y ; CPU:$DA2E PRG:1A2E B9 8D DA - jsr $EDD7 ; CPU:$DA31 PRG:1A31 20 D7 ED + jsr SubCEDD7 ; CPU:$DA31 PRG:1A31 20 D7 ED lda $DA99,y ; CPU:$DA34 PRG:1A34 B9 99 DA - jsr $EDE2 ; CPU:$DA37 PRG:1A37 20 E2 ED + jsr SubCEDE2 ; CPU:$DA37 PRG:1A37 20 E2 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DA3A +; Routine: Sub_8764_OnZero_DA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7369,10 +7369,10 @@ Label_DA1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3A: - jsr $DD80 ; CPU:$DA3A PRG:1A3A 20 80 DD +Sub_8764_OnZero_DA3A: + jsr SubCDD80 ; CPU:$DA3A PRG:1A3A 20 80 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DA3D +; Routine: Sub_8764_OnNegative_DA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7380,13 +7380,13 @@ Label_DA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3D: +Sub_8764_OnNegative_DA3D: dex ; CPU:$DA3D PRG:1A3D CA cpx #$55 ; CPU:$DA3E PRG:1A3E E0 55 - bcs Label_DA1B ; CPU:$DA40 PRG:1A40 B0 D9 + bcs Sub_8764_OnCarrySet_DA1B ; CPU:$DA40 PRG:1A40 B0 D9 rts ; CPU:$DA42 PRG:1A42 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA43 +; Routine: SubCDA43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7394,7 +7394,7 @@ Label_DA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA43: +SubCDA43: ldx #$54 ; CPU:$DA43 PRG:1A43 A2 54 lda #$68 ; CPU:$DA45 PRG:1A45 A9 68 sta Zp40 ; CPU:$DA47 PRG:1A47 85 40 @@ -7403,7 +7403,7 @@ Label_DA43: lda #$10 ; CPU:$DA4D PRG:1A4D A9 10 sta Zp06 ; CPU:$DA4F PRG:1A4F 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DA51 +; Routine: Sub_8764_OnCarrySet_DA51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7411,21 +7411,21 @@ Label_DA43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA51: +Sub_8764_OnCarrySet_DA51: lda $035E,x ; CPU:$DA51 PRG:1A51 BD 5E 03 - bmi Label_DA6F ; CPU:$DA54 PRG:1A54 30 19 + bmi Sub_8764_JoinBranchPaths_DA6F ; CPU:$DA54 PRG:1A54 30 19 lda $043C,x ; CPU:$DA56 PRG:1A56 BD 3C 04 tay ; CPU:$DA59 PRG:1A59 A8 lda $DA0D,y ; CPU:$DA5A PRG:1A5A B9 0D DA - jsr $EDD7 ; CPU:$DA5D PRG:1A5D 20 D7 ED + jsr SubCEDD7 ; CPU:$DA5D PRG:1A5D 20 D7 ED lda $DA19,y ; CPU:$DA60 PRG:1A60 B9 19 DA - jsr $EDE2 ; CPU:$DA63 PRG:1A63 20 E2 ED + jsr SubCEDE2 ; CPU:$DA63 PRG:1A63 20 E2 ED lda Zp12 ; CPU:$DA66 PRG:1A66 A5 12 and #$03 ; CPU:$DA68 PRG:1A68 29 03 - bne Label_DA6F ; CPU:$DA6A PRG:1A6A D0 03 - jsr $DEBB ; CPU:$DA6C PRG:1A6C 20 BB DE + bne Sub_8764_JoinBranchPaths_DA6F ; CPU:$DA6A PRG:1A6A D0 03 + jsr SubCDEBB ; CPU:$DA6C PRG:1A6C 20 BB DE ; ----------------------------------------------------------------------------- -; Routine: Label_DA6F +; Routine: Sub_8764_JoinBranchPaths_DA6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7433,10 +7433,10 @@ Label_DA51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA6F: +Sub_8764_JoinBranchPaths_DA6F: dex ; CPU:$DA6F PRG:1A6F CA cpx #$3D ; CPU:$DA70 PRG:1A70 E0 3D - bcs Label_DA51 ; CPU:$DA72 PRG:1A72 B0 DD + bcs Sub_8764_OnCarrySet_DA51 ; CPU:$DA72 PRG:1A72 B0 DD rts ; CPU:$DA74 PRG:1A74 60 ; ---- data $DA75-$DBA7 (307 bytes) ---- ; referenced by `lda $DADD,x` at $C72A (operand $DADD falls inside this region) @@ -7467,7 +7467,7 @@ Label_DA6F: .byte $52, $A3, $C3, $C6, $12, $F1, $02, $03, $7A, $65, $35, $9E, $A6, $77, $BF, $E1 ; CPU:$DB95 PRG:1B95 52 A3 C3 C6 12 F1 02 03 7A 65 35 9E A6 77 BF E1 .byte $42, $AD, $EE ; CPU:$DBA5 PRG:1BA5 42 AD EE ; ----------------------------------------------------------------------------- -; Routine: Label_DBA8 +; Routine: SubCDBA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7475,10 +7475,10 @@ Label_DA6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA8: +SubCDBA8: ldx #$3C ; CPU:$DBA8 PRG:1BA8 A2 3C ; ----------------------------------------------------------------------------- -; Routine: Label_DBAA +; Routine: Sub_8764_OnCarrySet_DBAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7486,18 +7486,18 @@ Label_DBA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBAA: +Sub_8764_OnCarrySet_DBAA: lda $035E,x ; CPU:$DBAA PRG:1BAA BD 5E 03 - bmi Label_DBC2 ; CPU:$DBAD PRG:1BAD 30 13 + bmi Sub_8764_OnNegative_DBC2 ; CPU:$DBAD PRG:1BAD 30 13 lda $043C,x ; CPU:$DBAF PRG:1BAF BD 3C 04 tay ; CPU:$DBB2 PRG:1BB2 A8 lda $DA09,y ; CPU:$DBB3 PRG:1BB3 B9 09 DA - jsr $EDD7 ; CPU:$DBB6 PRG:1BB6 20 D7 ED + jsr SubCEDD7 ; CPU:$DBB6 PRG:1BB6 20 D7 ED lda $DA0D,y ; CPU:$DBB9 PRG:1BB9 B9 0D DA - jsr $EDE2 ; CPU:$DBBC PRG:1BBC 20 E2 ED - jsr $DBC8 ; CPU:$DBBF PRG:1BBF 20 C8 DB + jsr SubCEDE2 ; CPU:$DBBC PRG:1BBC 20 E2 ED + jsr SubCDBC8 ; CPU:$DBBF PRG:1BBF 20 C8 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBC2 +; Routine: Sub_8764_OnNegative_DBC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7505,13 +7505,13 @@ Label_DBAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC2: +Sub_8764_OnNegative_DBC2: dex ; CPU:$DBC2 PRG:1BC2 CA cpx #$33 ; CPU:$DBC3 PRG:1BC3 E0 33 - bcs Label_DBAA ; CPU:$DBC5 PRG:1BC5 B0 E3 + bcs Sub_8764_OnCarrySet_DBAA ; CPU:$DBC5 PRG:1BC5 B0 E3 rts ; CPU:$DBC7 PRG:1BC7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBC8 +; Routine: SubCDBC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7519,7 +7519,7 @@ Label_DBC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC8: +SubCDBC8: lda $051A,x ; CPU:$DBC8 PRG:1BC8 BD 1A 05 tay ; CPU:$DBCB PRG:1BCB A8 lda $DB49,y ; CPU:$DBCC PRG:1BCC B9 49 DB @@ -7527,15 +7527,15 @@ Label_DBC8: lda $DB8B,y ; CPU:$DBD0 PRG:1BD0 B9 8B DB sta Zp28 ; CPU:$DBD3 PRG:1BD3 85 28 lda $DB6E,y ; CPU:$DBD5 PRG:1BD5 B9 6E DB - jsr $E020 ; CPU:$DBD8 PRG:1BD8 20 20 E0 - jsr $E665 ; CPU:$DBDB PRG:1BDB 20 65 E6 + jsr SubCE020 ; CPU:$DBD8 PRG:1BD8 20 20 E0 + jsr SubCE665 ; CPU:$DBDB PRG:1BDB 20 65 E6 lda Zp28 ; CPU:$DBDE PRG:1BDE A5 28 - bne Label_DBE8 ; CPU:$DBE0 PRG:1BE0 D0 06 + bne Sub_8764_OnNonzero_DBE8 ; CPU:$DBE0 PRG:1BE0 D0 06 lda Zp27 ; CPU:$DBE2 PRG:1BE2 A5 27 cmp #$14 ; CPU:$DBE4 PRG:1BE4 C9 14 - bcc Label_DBF6 ; CPU:$DBE6 PRG:1BE6 90 0E + bcc Sub_8764_OnCarryClear_DBF6 ; CPU:$DBE6 PRG:1BE6 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_DBE8 +; Routine: Sub_8764_OnNonzero_DBE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7543,14 +7543,14 @@ Label_DBC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBE8: +Sub_8764_OnNonzero_DBE8: lda Zp03 ; CPU:$DBE8 PRG:1BE8 A5 03 and #$04 ; CPU:$DBEA PRG:1BEA 29 04 - beq Label_DBF2 ; CPU:$DBEC PRG:1BEC F0 04 + beq Sub_8764_OnZero_DBF2 ; CPU:$DBEC PRG:1BEC F0 04 lda #$9E ; CPU:$DBEE PRG:1BEE A9 9E - bne Label_DC0C ; CPU:$DBF0 PRG:1BF0 D0 1A + bne Sub_8764_OnNonzero_DC0C ; CPU:$DBF0 PRG:1BF0 D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_DBF2 +; Routine: Sub_8764_OnZero_DBF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7558,11 +7558,11 @@ Label_DBE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF2: +Sub_8764_OnZero_DBF2: lda #$9C ; CPU:$DBF2 PRG:1BF2 A9 9C - bne Label_DC0C ; CPU:$DBF4 PRG:1BF4 D0 16 + bne Sub_8764_OnNonzero_DC0C ; CPU:$DBF4 PRG:1BF4 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_DBF6 +; Routine: Sub_8764_OnCarryClear_DBF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7570,14 +7570,14 @@ Label_DBF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF6: +Sub_8764_OnCarryClear_DBF6: lda Zp26 ; CPU:$DBF6 PRG:1BF6 A5 26 - bne Label_DC00 ; CPU:$DBF8 PRG:1BF8 D0 06 + bne Sub_8764_OnNonzero_DC00 ; CPU:$DBF8 PRG:1BF8 D0 06 lda Zp25 ; CPU:$DBFA PRG:1BFA A5 25 cmp #$14 ; CPU:$DBFC PRG:1BFC C9 14 - bcc Label_DC10 ; CPU:$DBFE PRG:1BFE 90 10 + bcc Sub_8764_OnCarryClear_DC10 ; CPU:$DBFE PRG:1BFE 90 10 ; ----------------------------------------------------------------------------- -; Routine: Label_DC00 +; Routine: Sub_8764_OnNonzero_DC00 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7585,14 +7585,14 @@ Label_DBF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC00: +Sub_8764_OnNonzero_DC00: lda Zp03 ; CPU:$DC00 PRG:1C00 A5 03 and #$08 ; CPU:$DC02 PRG:1C02 29 08 - beq Label_DC0A ; CPU:$DC04 PRG:1C04 F0 04 + beq Sub_8764_OnZero_DC0A ; CPU:$DC04 PRG:1C04 F0 04 lda #$9D ; CPU:$DC06 PRG:1C06 A9 9D - bne Label_DC0C ; CPU:$DC08 PRG:1C08 D0 02 + bne Sub_8764_OnNonzero_DC0C ; CPU:$DC08 PRG:1C08 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DC0A +; Routine: Sub_8764_OnZero_DC0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7600,10 +7600,10 @@ Label_DC00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0A: +Sub_8764_OnZero_DC0A: lda #$9F ; CPU:$DC0A PRG:1C0A A9 9F ; ----------------------------------------------------------------------------- -; Routine: Label_DC0C +; Routine: Sub_8764_OnNonzero_DC0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7611,11 +7611,11 @@ Label_DC0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0C: +Sub_8764_OnNonzero_DC0C: sta $043C,x ; CPU:$DC0C PRG:1C0C 9D 3C 04 rts ; CPU:$DC0F PRG:1C0F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC10 +; Routine: Sub_8764_OnCarryClear_DC10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7623,12 +7623,12 @@ Label_DC0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC10: +Sub_8764_OnCarryClear_DC10: inc $051A,x ; CPU:$DC10 PRG:1C10 FE 1A 05 lda $051A,x ; CPU:$DC13 PRG:1C13 BD 1A 05 tay ; CPU:$DC16 PRG:1C16 A8 lda $DB49,y ; CPU:$DC17 PRG:1C17 B9 49 DB - bne Label_DC38 ; CPU:$DC1A PRG:1C1A D0 1C + bne Sub_8764_OnNonzero_DC38 ; CPU:$DC1A PRG:1C1A D0 1C dey ; CPU:$DC1C PRG:1C1C 88 stx Zp27 ; CPU:$DC1D PRG:1C1D 86 27 lda $DB49,y ; CPU:$DC1F PRG:1C1F B9 49 DB @@ -7638,7 +7638,7 @@ Label_DC10: inc $06A6,x ; CPU:$DC28 PRG:1C28 FE A6 06 ldx Zp27 ; CPU:$DC2B PRG:1C2B A6 27 ; ----------------------------------------------------------------------------- -; Routine: Label_DC2D +; Routine: Sub_8764_OnNonzero_DC2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7646,15 +7646,15 @@ Label_DC10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2D: +Sub_8764_OnNonzero_DC2D: dey ; CPU:$DC2D PRG:1C2D 88 lda $DB49,y ; CPU:$DC2E PRG:1C2E B9 49 DB - bne Label_DC2D ; CPU:$DC31 PRG:1C31 D0 FA + bne Sub_8764_OnNonzero_DC2D ; CPU:$DC31 PRG:1C31 D0 FA iny ; CPU:$DC33 PRG:1C33 C8 tya ; CPU:$DC34 PRG:1C34 98 sta $051A,x ; CPU:$DC35 PRG:1C35 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DC38 +; Routine: Sub_8764_OnNonzero_DC38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7662,10 +7662,10 @@ Label_DC2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC38: +Sub_8764_OnNonzero_DC38: rts ; CPU:$DC38 PRG:1C38 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC39 +; Routine: SubCDC39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7673,12 +7673,12 @@ Label_DC38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC39: +SubCDC39: lda $04AF ; CPU:$DC39 PRG:1C39 AD AF 04 - bmi Label_DC5A ; CPU:$DC3C PRG:1C3C 30 1C + bmi Sub_8764_OnNegative_DC5A ; CPU:$DC3C PRG:1C3C 30 1C ldy Zp29 ; CPU:$DC3E PRG:1C3E A4 29 lda #$04 ; CPU:$DC40 PRG:1C40 A9 04 - jsr $E039 ; CPU:$DC42 PRG:1C42 20 39 E0 + jsr SubCE039 ; CPU:$DC42 PRG:1C42 20 39 E0 lda $DC5B,y ; CPU:$DC45 PRG:1C45 B9 5B DC sta $0440 ; CPU:$DC48 PRG:1C48 8D 40 04 lda #$20 ; CPU:$DC4B PRG:1C4B A9 20 @@ -7688,7 +7688,7 @@ Label_DC39: lda $DC74,y ; CPU:$DC55 PRG:1C55 B9 74 DC sta Zp42 ; CPU:$DC58 PRG:1C58 85 42 ; ----------------------------------------------------------------------------- -; Routine: Label_DC5A +; Routine: Sub_8764_OnNegative_DC5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7696,7 +7696,7 @@ Label_DC39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5A: +Sub_8764_OnNegative_DC5A: rts ; CPU:$DC5A PRG:1C5A 60 ; ---- data $DC5B-$DC80 (38 bytes) ---- ; referenced by `lda $DC5B,y` at $DC45 (operand $DC5B falls inside this region) @@ -7706,7 +7706,7 @@ Label_DC5A: .byte $0C, $06, $00, $86, $8C, $8E, $8C, $86, $00, $8A, $88, $84, $00, $04, $08, $0A ; CPU:$DC6B PRG:1C6B 0C 06 00 86 8C 8E 8C 86 00 8A 88 84 00 04 08 0A .byte $08, $04, $00, $84, $88, $8A ; CPU:$DC7B PRG:1C7B 08 04 00 84 88 8A ; ----------------------------------------------------------------------------- -; Routine: Label_DC81 +; Routine: SubCDC81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7714,14 +7714,14 @@ Label_DC5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC81: - jsr $E157 ; CPU:$DC81 PRG:1C81 20 57 E1 - beq Label_DC8C ; CPU:$DC84 PRG:1C84 F0 06 +SubCDC81: + jsr SubCE157 ; CPU:$DC81 PRG:1C81 20 57 E1 + beq Sub_8764_OnZero_DC8C ; CPU:$DC84 PRG:1C84 F0 06 lda ZpDF ; CPU:$DC86 PRG:1C86 A5 DF cmp #$40 ; CPU:$DC88 PRG:1C88 C9 40 - bcs Label_DCAE ; CPU:$DC8A PRG:1C8A B0 22 + bcs Sub_8764_OnCarrySet_DCAE ; CPU:$DC8A PRG:1C8A B0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_DC8C +; Routine: Sub_8764_OnZero_DC8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7729,26 +7729,26 @@ Label_DC81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC8C: +Sub_8764_OnZero_DC8C: lda $04AB,x ; CPU:$DC8C PRG:1C8C BD AB 04 - bpl Label_DCD2 ; CPU:$DC8F PRG:1C8F 10 41 + bpl Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC8F PRG:1C8F 10 41 lsr a ; CPU:$DC91 PRG:1C91 4A - bcc Label_DCD2 ; CPU:$DC92 PRG:1C92 90 3E + bcc Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC92 PRG:1C92 90 3E lda Zp09 ; CPU:$DC94 PRG:1C94 A5 09 - bne Label_DCC2 ; CPU:$DC96 PRG:1C96 D0 2A + bne Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DC96 PRG:1C96 D0 2A lda $051A,x ; CPU:$DC98 PRG:1C98 BD 1A 05 cmp #$05 ; CPU:$DC9B PRG:1C9B C9 05 - bcc Label_DCD2 ; CPU:$DC9D PRG:1C9D 90 33 + bcc Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC9D PRG:1C9D 90 33 lda ZpBD ; CPU:$DC9F PRG:1C9F A5 BD asl a ; CPU:$DCA1 PRG:1CA1 0A clc ; CPU:$DCA2 PRG:1CA2 18 adc #$05 ; CPU:$DCA3 PRG:1CA3 69 05 sta Zp54 ; CPU:$DCA5 PRG:1CA5 85 54 - jsr $C412 ; CPU:$DCA7 PRG:1CA7 20 12 C4 + jsr SubCC412 ; CPU:$DCA7 PRG:1CA7 20 12 C4 cmp Zp54 ; CPU:$DCAA PRG:1CAA C5 54 - bcc Label_DCC2 ; CPU:$DCAC PRG:1CAC 90 14 + bcc Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCAC PRG:1CAC 90 14 ; ----------------------------------------------------------------------------- -; Routine: Label_DCAE +; Routine: Sub_8764_OnCarrySet_DCAE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7756,18 +7756,18 @@ Label_DC8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCAE: - jsr $EE66 ; CPU:$DCAE PRG:1CAE 20 66 EE - jsr $DE31 ; CPU:$DCB1 PRG:1CB1 20 31 DE - bcs Label_DCC3 ; CPU:$DCB4 PRG:1CB4 B0 0D +Sub_8764_OnCarrySet_DCAE: + jsr SubCEE66 ; CPU:$DCAE PRG:1CAE 20 66 EE + jsr SubCDE31 ; CPU:$DCB1 PRG:1CB1 20 31 DE + bcs Sub_8764_OnCarrySet_DCC3 ; CPU:$DCB4 PRG:1CB4 B0 0D lda $DEFC,y ; CPU:$DCB6 PRG:1CB6 B9 FC DE cmp Zp29 ; CPU:$DCB9 PRG:1CB9 C5 29 - bne Label_DCC2 ; CPU:$DCBB PRG:1CBB D0 05 + bne Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCBB PRG:1CBB D0 05 lda Zp12 ; CPU:$DCBD PRG:1CBD A5 12 lsr a ; CPU:$DCBF PRG:1CBF 4A - bcs Label_DCCB ; CPU:$DCC0 PRG:1CC0 B0 09 + bcs Sub_8764_OnCarrySet_DCCB ; CPU:$DCC0 PRG:1CC0 B0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC2 +; Routine: Sub_8764_JoinBranchPaths_DCC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7775,10 +7775,10 @@ Label_DCAE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC2: +Sub_8764_JoinBranchPaths_DCC2: rts ; CPU:$DCC2 PRG:1CC2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC3 +; Routine: Sub_8764_OnCarrySet_DCC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7786,13 +7786,13 @@ Label_DCC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC3: +Sub_8764_OnCarrySet_DCC3: sec ; CPU:$DCC3 PRG:1CC3 38 lda $043C,x ; CPU:$DCC4 PRG:1CC4 BD 3C 04 sbc #$84 ; CPU:$DCC7 PRG:1CC7 E9 84 sta Zp29 ; CPU:$DCC9 PRG:1CC9 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_DCCB +; Routine: Sub_8764_OnCarrySet_DCCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7800,12 +7800,12 @@ Label_DCC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCCB: +Sub_8764_OnCarrySet_DCCB: lda ZpB3 ; CPU:$DCCB PRG:1CCB A5 B3 - bmi Label_DCC2 ; CPU:$DCCD PRG:1CCD 30 F3 - jmp $DC39 ; CPU:$DCCF PRG:1CCF 4C 39 DC + bmi Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCCD PRG:1CCD 30 F3 + jmp SubCDC39 ; CPU:$DCCF PRG:1CCF 4C 39 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCD2 +; Routine: Sub_8764_JoinBranchPaths_DCD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7813,22 +7813,22 @@ Label_DCCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCD2: +Sub_8764_JoinBranchPaths_DCD2: lda $051A,x ; CPU:$DCD2 PRG:1CD2 BD 1A 05 tay ; CPU:$DCD5 PRG:1CD5 A8 lda $06C2,y ; CPU:$DCD6 PRG:1CD6 B9 C2 06 sta Zp28 ; CPU:$DCD9 PRG:1CD9 85 28 lda $06AD,y ; CPU:$DCDB PRG:1CDB B9 AD 06 - jsr $E020 ; CPU:$DCDE PRG:1CDE 20 20 E0 - jsr $DE31 ; CPU:$DCE1 PRG:1CE1 20 31 DE - bcc Label_DCC2 ; CPU:$DCE4 PRG:1CE4 90 DC + jsr SubCE020 ; CPU:$DCDE PRG:1CDE 20 20 E0 + jsr SubCDE31 ; CPU:$DCE1 PRG:1CE1 20 31 DE + bcc Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCE4 PRG:1CE4 90 DC lda $051A,x ; CPU:$DCE6 PRG:1CE6 BD 1A 05 cmp #$05 ; CPU:$DCE9 PRG:1CE9 C9 05 - bcc Label_DCFE ; CPU:$DCEB PRG:1CEB 90 11 + bcc Sub_8764_OnCarryClear_DCFE ; CPU:$DCEB PRG:1CEB 90 11 cmp #$13 ; CPU:$DCED PRG:1CED C9 13 - beq Label_DD09 ; CPU:$DCEF PRG:1CEF F0 18 + beq Sub_8764_OnZero_DD09 ; CPU:$DCEF PRG:1CEF F0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DCF1 +; Routine: SubCDCF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7836,8 +7836,8 @@ Label_DCD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF1: - jsr $C412 ; CPU:$DCF1 PRG:1CF1 20 12 C4 +SubCDCF1: + jsr SubCC412 ; CPU:$DCF1 PRG:1CF1 20 12 C4 lsr a ; CPU:$DCF4 PRG:1CF4 4A and #$0F ; CPU:$DCF5 PRG:1CF5 29 0F clc ; CPU:$DCF7 PRG:1CF7 18 @@ -7845,7 +7845,7 @@ Label_DCF1: sta $051A,x ; CPU:$DCFA PRG:1CFA 9D 1A 05 rts ; CPU:$DCFD PRG:1CFD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFE +; Routine: Sub_8764_OnCarryClear_DCFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7853,14 +7853,14 @@ Label_DCF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFE: +Sub_8764_OnCarryClear_DCFE: cmp #$03 ; CPU:$DCFE PRG:1CFE C9 03 - bcc Label_DD3D ; CPU:$DD00 PRG:1D00 90 3B + bcc Sub_8764_OnCarryClear_DD3D ; CPU:$DD00 PRG:1D00 90 3B dec $051A,x ; CPU:$DD02 PRG:1D02 DE 1A 05 dec $051A,x ; CPU:$DD05 PRG:1D05 DE 1A 05 rts ; CPU:$DD08 PRG:1D08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD09 +; Routine: Sub_8764_OnZero_DD09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7868,16 +7868,16 @@ Label_DCFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD09: +Sub_8764_OnZero_DD09: lda $04AB,x ; CPU:$DD09 PRG:1D09 BD AB 04 - bpl Label_DD1B ; CPU:$DD0C PRG:1D0C 10 0D + bpl Sub_8764_OnNonnegative_DD1B ; CPU:$DD0C PRG:1D0C 10 0D lda #$01 ; CPU:$DD0E PRG:1D0E A9 01 - jsr $E039 ; CPU:$DD10 PRG:1D10 20 39 E0 + jsr SubCE039 ; CPU:$DD10 PRG:1D10 20 39 E0 lda #$7C ; CPU:$DD13 PRG:1D13 A9 7C sta $043D ; CPU:$DD15 PRG:1D15 8D 3D 04 - jsr $C50D ; CPU:$DD18 PRG:1D18 20 0D C5 + jsr SubCC50D ; CPU:$DD18 PRG:1D18 20 0D C5 ; ----------------------------------------------------------------------------- -; Routine: Label_DD1B +; Routine: Sub_8764_OnNonnegative_DD1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7885,16 +7885,16 @@ Label_DD09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1B: +Sub_8764_OnNonnegative_DD1B: lda $036A ; CPU:$DD1B PRG:1D1B AD 6A 03 - bmi Label_DD37 ; CPU:$DD1E PRG:1D1E 30 17 + bmi Sub_8764_OnNegative_DD37 ; CPU:$DD1E PRG:1D1E 30 17 lda ZpA6 ; CPU:$DD20 PRG:1D20 A5 A6 - bmi Label_DD2C ; CPU:$DD22 PRG:1D22 30 08 + bmi Sub_8764_OnNegative_DD2C ; CPU:$DD22 PRG:1D22 30 08 lda #$04 ; CPU:$DD24 PRG:1D24 A9 04 - jsr $CE20 ; CPU:$DD26 PRG:1D26 20 20 CE - jsr $D293 ; CPU:$DD29 PRG:1D29 20 93 D2 + jsr SubCCE20 ; CPU:$DD26 PRG:1D26 20 20 CE + jsr SubCD293 ; CPU:$DD29 PRG:1D29 20 93 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_DD2C +; Routine: Sub_8764_OnNegative_DD2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7902,14 +7902,14 @@ Label_DD1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD2C: +Sub_8764_OnNegative_DD2C: lda #$1E ; CPU:$DD2C PRG:1D2C A9 1E sta Zp0F ; CPU:$DD2E PRG:1D2E 85 0F dec ZpD9 ; CPU:$DD30 PRG:1D30 C6 D9 - bpl Label_DD3C ; CPU:$DD32 PRG:1D32 10 08 - jmp $D23A ; CPU:$DD34 PRG:1D34 4C 3A D2 + bpl Sub_8764_OnNonnegative_DD3C ; CPU:$DD32 PRG:1D32 10 08 + jmp SubCD23A ; CPU:$DD34 PRG:1D34 4C 3A D2 ; ----------------------------------------------------------------------------- -; Routine: Label_DD37 +; Routine: Sub_8764_OnNegative_DD37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7917,11 +7917,11 @@ Label_DD2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD37: +Sub_8764_OnNegative_DD37: lda #$0A ; CPU:$DD37 PRG:1D37 A9 0A sta $051A,x ; CPU:$DD39 PRG:1D39 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DD3C +; Routine: Sub_8764_OnNonnegative_DD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7929,10 +7929,10 @@ Label_DD37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD3C: +Sub_8764_OnNonnegative_DD3C: rts ; CPU:$DD3C PRG:1D3C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD3D +; Routine: Sub_8764_OnCarryClear_DD3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7940,14 +7940,14 @@ Label_DD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD3D: +Sub_8764_OnCarryClear_DD3D: ldy #$58 ; CPU:$DD3D PRG:1D3D A0 58 lda $051A,x ; CPU:$DD3F PRG:1D3F BD 1A 05 lsr a ; CPU:$DD42 PRG:1D42 4A - bcc Label_DD46 ; CPU:$DD43 PRG:1D43 90 01 + bcc Sub_8764_JoinBranchPaths_DD46 ; CPU:$DD43 PRG:1D43 90 01 dey ; CPU:$DD45 PRG:1D45 88 ; ----------------------------------------------------------------------------- -; Routine: Label_DD46 +; Routine: Sub_8764_JoinBranchPaths_DD46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7955,15 +7955,15 @@ Label_DD3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD46: +Sub_8764_JoinBranchPaths_DD46: lda $035E,y ; CPU:$DD46 PRG:1D46 B9 5E 03 - bmi Label_DD54 ; CPU:$DD49 PRG:1D49 30 09 + bmi Sub_8764_OnNegative_DD54 ; CPU:$DD49 PRG:1D49 30 09 dey ; CPU:$DD4B PRG:1D4B 88 dey ; CPU:$DD4C PRG:1D4C 88 cpy #$55 ; CPU:$DD4D PRG:1D4D C0 55 - bcs Label_DD46 ; CPU:$DD4F PRG:1D4F B0 F5 + bcs Sub_8764_JoinBranchPaths_DD46 ; CPU:$DD4F PRG:1D4F B0 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_DD51 +; Routine: Sub_8764_OnCarryClear_DD51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7971,10 +7971,10 @@ Label_DD46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD51: - jmp $DCF1 ; CPU:$DD51 PRG:1D51 4C F1 DC +Sub_8764_OnCarryClear_DD51: + jmp SubCDCF1 ; CPU:$DD51 PRG:1D51 4C F1 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DD54 +; Routine: Sub_8764_OnNegative_DD54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7982,14 +7982,14 @@ Label_DD51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD54: +Sub_8764_OnNegative_DD54: lda $051A,x ; CPU:$DD54 PRG:1D54 BD 1A 05 - jsr $DD6B ; CPU:$DD57 PRG:1D57 20 6B DD - bcc Label_DD51 ; CPU:$DD5A PRG:1D5A 90 F5 + jsr SubCDD6B ; CPU:$DD57 PRG:1D57 20 6B DD + bcc Sub_8764_OnCarryClear_DD51 ; CPU:$DD5A PRG:1D5A 90 F5 lda $04AB,x ; CPU:$DD5C PRG:1D5C BD AB 04 - bpl Label_DD61 ; CPU:$DD5F PRG:1D5F 10 00 + bpl Sub_8764_OnNonnegative_DD61 ; CPU:$DD5F PRG:1D5F 10 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD61 +; Routine: Sub_8764_OnNonnegative_DD61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7997,13 +7997,13 @@ Label_DD54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD61: - jsr $DE19 ; CPU:$DD61 PRG:1D61 20 19 DE +Sub_8764_OnNonnegative_DD61: + jsr SubCDE19 ; CPU:$DD61 PRG:1D61 20 19 DE lda $DAD3,y ; CPU:$DD64 PRG:1D64 B9 D3 DA sta $051A,y ; CPU:$DD67 PRG:1D67 99 1A 05 rts ; CPU:$DD6A PRG:1D6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD6B +; Routine: SubCDD6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8011,16 +8011,16 @@ Label_DD61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD6B: +SubCDD6B: lsr a ; CPU:$DD6B PRG:1D6B 4A - bcc Label_DD76 ; CPU:$DD6C PRG:1D6C 90 08 + bcc Sub_8764_OnCarryClear_DD76 ; CPU:$DD6C PRG:1D6C 90 08 lda Zp30 ; CPU:$DD6E PRG:1D6E A5 30 - bne Label_DD7E ; CPU:$DD70 PRG:1D70 D0 0C + bne Sub_8764_OnNonzero_DD7E ; CPU:$DD70 PRG:1D70 D0 0C inc Zp30 ; CPU:$DD72 PRG:1D72 E6 30 sec ; CPU:$DD74 PRG:1D74 38 rts ; CPU:$DD75 PRG:1D75 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD76 +; Routine: Sub_8764_OnCarryClear_DD76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8028,14 +8028,14 @@ Label_DD6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD76: +Sub_8764_OnCarryClear_DD76: lda Zp2F ; CPU:$DD76 PRG:1D76 A5 2F - bne Label_DD7E ; CPU:$DD78 PRG:1D78 D0 04 + bne Sub_8764_OnNonzero_DD7E ; CPU:$DD78 PRG:1D78 D0 04 inc Zp2F ; CPU:$DD7A PRG:1D7A E6 2F sec ; CPU:$DD7C PRG:1D7C 38 rts ; CPU:$DD7D PRG:1D7D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD7E +; Routine: Sub_8764_OnNonzero_DD7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8043,11 +8043,11 @@ Label_DD76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD7E: +Sub_8764_OnNonzero_DD7E: clc ; CPU:$DD7E PRG:1D7E 18 rts ; CPU:$DD7F PRG:1D7F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD80 +; Routine: SubCDD80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8055,22 +8055,22 @@ Label_DD7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD80: +SubCDD80: lda $04AB,x ; CPU:$DD80 PRG:1D80 BD AB 04 and #$40 ; CPU:$DD83 PRG:1D83 29 40 - bne Label_DD9D ; CPU:$DD85 PRG:1D85 D0 16 + bne Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD85 PRG:1D85 D0 16 lda Zp12 ; CPU:$DD87 PRG:1D87 A5 12 and #$3F ; CPU:$DD89 PRG:1D89 29 3F cmp #$10 ; CPU:$DD8B PRG:1D8B C9 10 - bne Label_DD9D ; CPU:$DD8D PRG:1D8D D0 0E + bne Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD8D PRG:1D8D D0 0E txa ; CPU:$DD8F PRG:1D8F 8A - jsr $DD6B ; CPU:$DD90 PRG:1D90 20 6B DD - bcc Label_DD9D ; CPU:$DD93 PRG:1D93 90 08 + jsr SubCDD6B ; CPU:$DD90 PRG:1D90 20 6B DD + bcc Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD93 PRG:1D93 90 08 lda $04AB,x ; CPU:$DD95 PRG:1D95 BD AB 04 ora #$40 ; CPU:$DD98 PRG:1D98 09 40 sta $04AB,x ; CPU:$DD9A PRG:1D9A 9D AB 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DD9D +; Routine: Sub_8764_JoinBranchPaths_DD9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8078,7 +8078,7 @@ Label_DD80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD9D: +Sub_8764_JoinBranchPaths_DD9D: lda $051A,x ; CPU:$DD9D PRG:1D9D BD 1A 05 tay ; CPU:$DDA0 PRG:1DA0 A8 lda $DB07,y ; CPU:$DDA1 PRG:1DA1 B9 07 DB @@ -8087,19 +8087,19 @@ Label_DD9D: lda $DB3B,y ; CPU:$DDA6 PRG:1DA6 B9 3B DB sta Zp28 ; CPU:$DDA9 PRG:1DA9 85 28 lda $DB2C,y ; CPU:$DDAB PRG:1DAB B9 2C DB - jsr $E020 ; CPU:$DDAE PRG:1DAE 20 20 E0 - jsr $DE31 ; CPU:$DDB1 PRG:1DB1 20 31 DE + jsr SubCE020 ; CPU:$DDAE PRG:1DAE 20 20 E0 + jsr SubCDE31 ; CPU:$DDB1 PRG:1DB1 20 31 DE pla ; CPU:$DDB4 PRG:1DB4 68 - bcs Label_DDC4 ; CPU:$DDB5 PRG:1DB5 B0 0D + bcs Sub_8764_OnCarrySet_DDC4 ; CPU:$DDB5 PRG:1DB5 B0 0D cmp #$0B ; CPU:$DDB7 PRG:1DB7 C9 0B - beq Label_DDF1 ; CPU:$DDB9 PRG:1DB9 F0 36 + beq Sub_8764_OnZero_DDF1 ; CPU:$DDB9 PRG:1DB9 F0 36 cmp #$08 ; CPU:$DDBB PRG:1DBB C9 08 - beq Label_DDF1 ; CPU:$DDBD PRG:1DBD F0 32 + beq Sub_8764_OnZero_DDF1 ; CPU:$DDBD PRG:1DBD F0 32 cmp #$0C ; CPU:$DDBF PRG:1DBF C9 0C - bcs Label_DDFE ; CPU:$DDC1 PRG:1DC1 B0 3B + bcs Sub_8764_OnCarrySet_DDFE ; CPU:$DDC1 PRG:1DC1 B0 3B rts ; CPU:$DDC3 PRG:1DC3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDC4 +; Routine: Sub_8764_OnCarrySet_DDC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8107,15 +8107,15 @@ Label_DD9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC4: +Sub_8764_OnCarrySet_DDC4: lda $051A,x ; CPU:$DDC4 PRG:1DC4 BD 1A 05 tay ; CPU:$DDC7 PRG:1DC7 A8 lda $DB07,y ; CPU:$DDC8 PRG:1DC8 B9 07 DB cmp #$0C ; CPU:$DDCB PRG:1DCB C9 0C - bcc Label_DDE1 ; CPU:$DDCD PRG:1DCD 90 12 + bcc Sub_8764_OnCarryClear_DDE1 ; CPU:$DDCD PRG:1DCD 90 12 ldy #$6E ; CPU:$DDCF PRG:1DCF A0 6E ; ----------------------------------------------------------------------------- -; Routine: Label_DDD1 +; Routine: Sub_8764_OnCarrySet_DDD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8123,14 +8123,14 @@ Label_DDC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD1: +Sub_8764_OnCarrySet_DDD1: lda $035E,y ; CPU:$DDD1 PRG:1DD1 B9 5E 03 - bmi Label_DE0F ; CPU:$DDD4 PRG:1DD4 30 39 + bmi Sub_8764_OnNegative_DE0F ; CPU:$DDD4 PRG:1DD4 30 39 dey ; CPU:$DDD6 PRG:1DD6 88 cpy #$59 ; CPU:$DDD7 PRG:1DD7 C0 59 - bcs Label_DDD1 ; CPU:$DDD9 PRG:1DD9 B0 F6 + bcs Sub_8764_OnCarrySet_DDD1 ; CPU:$DDD9 PRG:1DD9 B0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_DDDB +; Routine: SubCDDDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8138,12 +8138,12 @@ Label_DDD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDDB: +SubCDDDB: lda #$FF ; CPU:$DDDB PRG:1DDB A9 FF sta $035E,x ; CPU:$DDDD PRG:1DDD 9D 5E 03 rts ; CPU:$DDE0 PRG:1DE0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDE1 +; Routine: Sub_8764_OnCarryClear_DDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8151,14 +8151,14 @@ Label_DDDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE1: +Sub_8764_OnCarryClear_DDE1: cmp #$05 ; CPU:$DDE1 PRG:1DE1 C9 05 - bcs Label_DDED ; CPU:$DDE3 PRG:1DE3 B0 08 + bcs Sub_8764_OnCarrySet_DDED ; CPU:$DDE3 PRG:1DE3 B0 08 lda $04AB,x ; CPU:$DDE5 PRG:1DE5 BD AB 04 and #$BF ; CPU:$DDE8 PRG:1DE8 29 BF sta $04AB,x ; CPU:$DDEA PRG:1DEA 9D AB 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DDED +; Routine: Sub_8764_OnCarrySet_DDED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8166,11 +8166,11 @@ Label_DDE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDED: +Sub_8764_OnCarrySet_DDED: inc $051A,x ; CPU:$DDED PRG:1DED FE 1A 05 rts ; CPU:$DDF0 PRG:1DF0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDF1 +; Routine: Sub_8764_OnZero_DDF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8178,16 +8178,16 @@ Label_DDED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDF1: +Sub_8764_OnZero_DDF1: lda Zp25 ; CPU:$DDF1 PRG:1DF1 A5 25 lsr a ; CPU:$DDF3 PRG:1DF3 4A lsr a ; CPU:$DDF4 PRG:1DF4 4A lsr a ; CPU:$DDF5 PRG:1DF5 4A - beq Label_DDFB ; CPU:$DDF6 PRG:1DF6 F0 03 + beq Sub_8764_OnZero_DDFB ; CPU:$DDF6 PRG:1DF6 F0 03 sec ; CPU:$DDF8 PRG:1DF8 38 sbc #$01 ; CPU:$DDF9 PRG:1DF9 E9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DDFB +; Routine: Sub_8764_OnZero_DDFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8195,10 +8195,10 @@ Label_DDF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDFB: - jmp $EDD7 ; CPU:$DDFB PRG:1DFB 4C D7 ED +Sub_8764_OnZero_DDFB: + jmp SubCEDD7 ; CPU:$DDFB PRG:1DFB 4C D7 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DDFE +; Routine: Sub_8764_OnCarrySet_DDFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8206,18 +8206,18 @@ Label_DDFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDFE: +Sub_8764_OnCarrySet_DDFE: ror Zp26 ; CPU:$DDFE PRG:1DFE 66 26 lda Zp25 ; CPU:$DE00 PRG:1E00 A5 25 ror a ; CPU:$DE02 PRG:1E02 6A cmp #$20 ; CPU:$DE03 PRG:1E03 C9 20 - bcs Label_DE0E ; CPU:$DE05 PRG:1E05 B0 07 + bcs Sub_8764_OnCarrySet_DE0E ; CPU:$DE05 PRG:1E05 B0 07 lsr a ; CPU:$DE07 PRG:1E07 4A lsr a ; CPU:$DE08 PRG:1E08 4A eor #$87 ; CPU:$DE09 PRG:1E09 49 87 - jsr $EDD7 ; CPU:$DE0B PRG:1E0B 20 D7 ED + jsr SubCEDD7 ; CPU:$DE0B PRG:1E0B 20 D7 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DE0E +; Routine: Sub_8764_OnCarrySet_DE0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8225,10 +8225,10 @@ Label_DDFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0E: +Sub_8764_OnCarrySet_DE0E: rts ; CPU:$DE0E PRG:1E0E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE0F +; Routine: Sub_8764_OnNegative_DE0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8236,13 +8236,13 @@ Label_DE0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0F: - jsr $DE19 ; CPU:$DE0F PRG:1E0F 20 19 DE - jsr $DCF1 ; CPU:$DE12 PRG:1E12 20 F1 DC +Sub_8764_OnNegative_DE0F: + jsr SubCDE19 ; CPU:$DE0F PRG:1E0F 20 19 DE + jsr SubCDCF1 ; CPU:$DE12 PRG:1E12 20 F1 DC sta $051A,y ; CPU:$DE15 PRG:1E15 99 1A 05 rts ; CPU:$DE18 PRG:1E18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE19 +; Routine: SubCDE19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8250,19 +8250,19 @@ Label_DE0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE19: +SubCDE19: tya ; CPU:$DE19 PRG:1E19 98 - jsr $E039 ; CPU:$DE1A PRG:1E1A 20 39 E0 + jsr SubCE039 ; CPU:$DE1A PRG:1E1A 20 39 E0 lda $043C,x ; CPU:$DE1D PRG:1E1D BD 3C 04 sta $043C,y ; CPU:$DE20 PRG:1E20 99 3C 04 lda $04AB,x ; CPU:$DE23 PRG:1E23 BD AB 04 and #$3F ; CPU:$DE26 PRG:1E26 29 3F ora #$40 ; CPU:$DE28 PRG:1E28 09 40 sta $04AB,y ; CPU:$DE2A PRG:1E2A 99 AB 04 - jsr $DDDB ; CPU:$DE2D PRG:1E2D 20 DB DD + jsr SubCDDDB ; CPU:$DE2D PRG:1E2D 20 DB DD rts ; CPU:$DE30 PRG:1E30 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE31 +; Routine: SubCDE31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8270,15 +8270,15 @@ Label_DE19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE31: - jsr $E665 ; CPU:$DE31 PRG:1E31 20 65 E6 +SubCDE31: + jsr SubCE665 ; CPU:$DE31 PRG:1E31 20 65 E6 lda Zp26 ; CPU:$DE34 PRG:1E34 A5 26 cmp Zp28 ; CPU:$DE36 PRG:1E36 C5 28 - bcc Label_DE63 ; CPU:$DE38 PRG:1E38 90 29 - beq Label_DE3E ; CPU:$DE3A PRG:1E3A F0 02 - bcs Label_DE44 ; CPU:$DE3C PRG:1E3C B0 06 + bcc Sub_8764_OnCarryClear_DE63 ; CPU:$DE38 PRG:1E38 90 29 + beq Sub_8764_OnZero_DE3E ; CPU:$DE3A PRG:1E3A F0 02 + bcs Sub_8764_OnCarrySet_DE44 ; CPU:$DE3C PRG:1E3C B0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DE3E +; Routine: Sub_8764_OnZero_DE3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8286,12 +8286,12 @@ Label_DE31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE3E: +Sub_8764_OnZero_DE3E: lda Zp25 ; CPU:$DE3E PRG:1E3E A5 25 cmp Zp27 ; CPU:$DE40 PRG:1E40 C5 27 - bcc Label_DE63 ; CPU:$DE42 PRG:1E42 90 1F + bcc Sub_8764_OnCarryClear_DE63 ; CPU:$DE42 PRG:1E42 90 1F ; ----------------------------------------------------------------------------- -; Routine: Label_DE44 +; Routine: Sub_8764_OnCarrySet_DE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8299,16 +8299,16 @@ Label_DE3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE44: +Sub_8764_OnCarrySet_DE44: lda Zp26 ; CPU:$DE44 PRG:1E44 A5 26 - bne Label_DE50 ; CPU:$DE46 PRG:1E46 D0 08 + bne Sub_8764_JoinBranchPaths_DE50 ; CPU:$DE46 PRG:1E46 D0 08 lda Zp25 ; CPU:$DE48 PRG:1E48 A5 25 cmp Zp06 ; CPU:$DE4A PRG:1E4A C5 06 - bcs Label_DE50 ; CPU:$DE4C PRG:1E4C B0 02 + bcs Sub_8764_JoinBranchPaths_DE50 ; CPU:$DE4C PRG:1E4C B0 02 sec ; CPU:$DE4E PRG:1E4E 38 rts ; CPU:$DE4F PRG:1E4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE50 +; Routine: Sub_8764_JoinBranchPaths_DE50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8316,17 +8316,17 @@ Label_DE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE50: +Sub_8764_JoinBranchPaths_DE50: inc Zp03 ; CPU:$DE50 PRG:1E50 E6 03 inc Zp03 ; CPU:$DE52 PRG:1E52 E6 03 lda Zp28 ; CPU:$DE54 PRG:1E54 A5 28 - bne Label_DE60 ; CPU:$DE56 PRG:1E56 D0 08 + bne Sub_8764_JoinBranchPaths_DE60 ; CPU:$DE56 PRG:1E56 D0 08 lda Zp27 ; CPU:$DE58 PRG:1E58 A5 27 cmp Zp05 ; CPU:$DE5A PRG:1E5A C5 05 - bcs Label_DE60 ; CPU:$DE5C PRG:1E5C B0 02 + bcs Sub_8764_JoinBranchPaths_DE60 ; CPU:$DE5C PRG:1E5C B0 02 inc Zp03 ; CPU:$DE5E PRG:1E5E E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DE60 +; Routine: Sub_8764_JoinBranchPaths_DE60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8334,10 +8334,10 @@ Label_DE50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE60: - jmp $DE7B ; CPU:$DE60 PRG:1E60 4C 7B DE +Sub_8764_JoinBranchPaths_DE60: + jmp SubCDE7B ; CPU:$DE60 PRG:1E60 4C 7B DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE63 +; Routine: Sub_8764_OnCarryClear_DE63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8345,16 +8345,16 @@ Label_DE60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE63: +Sub_8764_OnCarryClear_DE63: lda Zp28 ; CPU:$DE63 PRG:1E63 A5 28 - bne Label_DE6F ; CPU:$DE65 PRG:1E65 D0 08 + bne Sub_8764_JoinBranchPaths_DE6F ; CPU:$DE65 PRG:1E65 D0 08 lda Zp27 ; CPU:$DE67 PRG:1E67 A5 27 cmp Zp06 ; CPU:$DE69 PRG:1E69 C5 06 - bcs Label_DE6F ; CPU:$DE6B PRG:1E6B B0 02 + bcs Sub_8764_JoinBranchPaths_DE6F ; CPU:$DE6B PRG:1E6B B0 02 sec ; CPU:$DE6D PRG:1E6D 38 rts ; CPU:$DE6E PRG:1E6E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE6F +; Routine: Sub_8764_JoinBranchPaths_DE6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8362,14 +8362,14 @@ Label_DE63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE6F: +Sub_8764_JoinBranchPaths_DE6F: lda Zp26 ; CPU:$DE6F PRG:1E6F A5 26 - bne Label_DE79 ; CPU:$DE71 PRG:1E71 D0 06 + bne Sub_8764_OnNonzero_DE79 ; CPU:$DE71 PRG:1E71 D0 06 lda Zp25 ; CPU:$DE73 PRG:1E73 A5 25 cmp Zp05 ; CPU:$DE75 PRG:1E75 C5 05 - bcc Label_DE7B ; CPU:$DE77 PRG:1E77 90 02 + bcc SubCDE7B ; CPU:$DE77 PRG:1E77 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DE79 +; Routine: Sub_8764_OnNonzero_DE79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8377,10 +8377,10 @@ Label_DE6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE79: +Sub_8764_OnNonzero_DE79: inc Zp03 ; CPU:$DE79 PRG:1E79 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DE7B +; Routine: SubCDE7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8388,11 +8388,11 @@ Label_DE79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7B: +SubCDE7B: ldy Zp03 ; CPU:$DE7B PRG:1E7B A4 03 lda $DEFC,y ; CPU:$DE7D PRG:1E7D B9 FC DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE80 +; Routine: SubCDE80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8400,7 +8400,7 @@ Label_DE7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE80: +SubCDE80: sta Zp2A ; CPU:$DE80 PRG:1E80 85 2A lda $043C,x ; CPU:$DE82 PRG:1E82 BD 3C 04 sec ; CPU:$DE85 PRG:1E85 38 @@ -8408,13 +8408,13 @@ Label_DE80: sta Zp29 ; CPU:$DE88 PRG:1E88 85 29 sec ; CPU:$DE8A PRG:1E8A 38 sbc Zp2A ; CPU:$DE8B PRG:1E8B E5 2A - beq Label_DEAB ; CPU:$DE8D PRG:1E8D F0 1C - bmi Label_DE97 ; CPU:$DE8F PRG:1E8F 30 06 + beq Sub_8764_OnZero_DEAB ; CPU:$DE8D PRG:1E8D F0 1C + bmi Sub_8764_OnNegative_DE97 ; CPU:$DE8F PRG:1E8F 30 06 cmp #$06 ; CPU:$DE91 PRG:1E91 C9 06 - bcc Label_DE9B ; CPU:$DE93 PRG:1E93 90 06 - bcs Label_DEAD ; CPU:$DE95 PRG:1E95 B0 16 + bcc Sub_8764_OnCarryClear_DE9B ; CPU:$DE93 PRG:1E93 90 06 + bcs Sub_8764_OnCarrySet_DEAD ; CPU:$DE95 PRG:1E95 B0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_DE97 +; Routine: Sub_8764_OnNegative_DE97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8422,11 +8422,11 @@ Label_DE80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE97: +Sub_8764_OnNegative_DE97: cmp #$FA ; CPU:$DE97 PRG:1E97 C9 FA - bcs Label_DEAD ; CPU:$DE99 PRG:1E99 B0 12 + bcs Sub_8764_OnCarrySet_DEAD ; CPU:$DE99 PRG:1E99 B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_DE9B +; Routine: Sub_8764_OnCarryClear_DE9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8434,13 +8434,13 @@ Label_DE97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9B: +Sub_8764_OnCarryClear_DE9B: dec Zp29 ; CPU:$DE9B PRG:1E9B C6 29 - bpl Label_DEA3 ; CPU:$DE9D PRG:1E9D 10 04 + bpl Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DE9D PRG:1E9D 10 04 lda #$0B ; CPU:$DE9F PRG:1E9F A9 0B sta Zp29 ; CPU:$DEA1 PRG:1EA1 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA3 +; Routine: Sub_8764_JoinBranchPaths_DEA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8448,13 +8448,13 @@ Label_DE9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA3: +Sub_8764_JoinBranchPaths_DEA3: lda Zp29 ; CPU:$DEA3 PRG:1EA3 A5 29 clc ; CPU:$DEA5 PRG:1EA5 18 adc Zp40 ; CPU:$DEA6 PRG:1EA6 65 40 sta $043C,x ; CPU:$DEA8 PRG:1EA8 9D 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAB +; Routine: Sub_8764_OnZero_DEAB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8462,10 +8462,10 @@ Label_DEA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAB: +Sub_8764_OnZero_DEAB: clc ; CPU:$DEAB PRG:1EAB 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAC +; Routine: Sub_8764_OnCarryClear_DEAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8473,10 +8473,10 @@ Label_DEAB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAC: +Sub_8764_OnCarryClear_DEAC: rts ; CPU:$DEAC PRG:1EAC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAD +; Routine: Sub_8764_OnCarrySet_DEAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8484,16 +8484,16 @@ Label_DEAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAD: +Sub_8764_OnCarrySet_DEAD: inc Zp29 ; CPU:$DEAD PRG:1EAD E6 29 lda Zp29 ; CPU:$DEAF PRG:1EAF A5 29 cmp #$0C ; CPU:$DEB1 PRG:1EB1 C9 0C - bcc Label_DEA3 ; CPU:$DEB3 PRG:1EB3 90 EE + bcc Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DEB3 PRG:1EB3 90 EE lda #$00 ; CPU:$DEB5 PRG:1EB5 A9 00 sta Zp29 ; CPU:$DEB7 PRG:1EB7 85 29 - beq Label_DEA3 ; CPU:$DEB9 PRG:1EB9 F0 E8 + beq Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DEB9 PRG:1EB9 F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DEBB +; Routine: SubCDEBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8501,7 +8501,7 @@ Label_DEAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEBB: +SubCDEBB: lda $051A,x ; CPU:$DEBB PRG:1EBB BD 1A 05 tay ; CPU:$DEBE PRG:1EBE A8 lda $DF0D,y ; CPU:$DEBF PRG:1EBF B9 0D DF @@ -8509,14 +8509,14 @@ Label_DEBB: lda $DFE4,y ; CPU:$DEC3 PRG:1EC3 B9 E4 DF sta Zp28 ; CPU:$DEC6 PRG:1EC6 85 28 lda $DFA8,y ; CPU:$DEC8 PRG:1EC8 B9 A8 DF - jsr $E020 ; CPU:$DECB PRG:1ECB 20 20 E0 - jsr $DE31 ; CPU:$DECE PRG:1ECE 20 31 DE - bcc Label_DEAC ; CPU:$DED1 PRG:1ED1 90 D9 + jsr SubCE020 ; CPU:$DECB PRG:1ECB 20 20 E0 + jsr SubCDE31 ; CPU:$DECE PRG:1ECE 20 31 DE + bcc Sub_8764_OnCarryClear_DEAC ; CPU:$DED1 PRG:1ED1 90 D9 inc $051A,x ; CPU:$DED3 PRG:1ED3 FE 1A 05 lda $051A,x ; CPU:$DED6 PRG:1ED6 BD 1A 05 tay ; CPU:$DED9 PRG:1ED9 A8 lda $DF0D,y ; CPU:$DEDA PRG:1EDA B9 0D DF - bne Label_DEFB ; CPU:$DEDD PRG:1EDD D0 1C + bne Sub_8764_OnNonzero_DEFB ; CPU:$DEDD PRG:1EDD D0 1C dey ; CPU:$DEDF PRG:1EDF 88 stx Zp27 ; CPU:$DEE0 PRG:1EE0 86 27 lda $DF0D,y ; CPU:$DEE2 PRG:1EE2 B9 0D DF @@ -8526,7 +8526,7 @@ Label_DEBB: inc $06A6,x ; CPU:$DEEB PRG:1EEB FE A6 06 ldx Zp27 ; CPU:$DEEE PRG:1EEE A6 27 ; ----------------------------------------------------------------------------- -; Routine: Label_DEF0 +; Routine: Sub_8764_OnNonzero_DEF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8534,15 +8534,15 @@ Label_DEBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEF0: +Sub_8764_OnNonzero_DEF0: dey ; CPU:$DEF0 PRG:1EF0 88 lda $DF0D,y ; CPU:$DEF1 PRG:1EF1 B9 0D DF - bne Label_DEF0 ; CPU:$DEF4 PRG:1EF4 D0 FA + bne Sub_8764_OnNonzero_DEF0 ; CPU:$DEF4 PRG:1EF4 D0 FA iny ; CPU:$DEF6 PRG:1EF6 C8 tya ; CPU:$DEF7 PRG:1EF7 98 sta $051A,x ; CPU:$DEF8 PRG:1EF8 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DEFB +; Routine: Sub_8764_OnNonzero_DEFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8550,7 +8550,7 @@ Label_DEF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEFB: +Sub_8764_OnNonzero_DEFB: rts ; CPU:$DEFB PRG:1EFB 60 ; ---- data $DEFC-$E01F (292 bytes) ---- ; referenced by `lda $DEFC,y` at $DCB6 (operand $DEFC falls inside this region) @@ -8580,7 +8580,7 @@ Label_DEFB: .byte $C5, $05, $04, $83, $03, $43, $03, $C2, $82, $42, $02, $F1, $21, $01, $80, $01 ; CPU:$E00C PRG:200C C5 05 04 83 03 43 03 C2 82 42 02 F1 21 01 80 01 .byte $40, $60, $C0, $40 ; CPU:$E01C PRG:201C 40 60 C0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E020 +; Routine: SubCE020 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8588,7 +8588,7 @@ Label_DEFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E020: +SubCE020: sta Zp26 ; CPU:$E020 PRG:2020 85 26 and #$F0 ; CPU:$E022 PRG:2022 29 F0 sta Zp25 ; CPU:$E024 PRG:2024 85 25 @@ -8603,7 +8603,7 @@ Label_E020: sta Zp28 ; CPU:$E036 PRG:2036 85 28 rts ; CPU:$E038 PRG:2038 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E039 +; Routine: SubCE039 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8611,14 +8611,14 @@ Label_E020: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E039: +SubCE039: sty Zp27 ; CPU:$E039 PRG:2039 84 27 tay ; CPU:$E03B PRG:203B A8 - jsr $E042 ; CPU:$E03C PRG:203C 20 42 E0 + jsr SubCE042 ; CPU:$E03C PRG:203C 20 42 E0 ldy Zp27 ; CPU:$E03F PRG:203F A4 27 rts ; CPU:$E041 PRG:2041 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E042 +; Routine: SubCE042 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8626,7 +8626,7 @@ Label_E039: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E042: +SubCE042: lda $035E,x ; CPU:$E042 PRG:2042 BD 5E 03 sta $035E,y ; CPU:$E045 PRG:2045 99 5E 03 lda $0280,x ; CPU:$E048 PRG:2048 BD 80 02 @@ -8637,7 +8637,7 @@ Label_E042: sta $02EF,y ; CPU:$E057 PRG:2057 99 EF 02 rts ; CPU:$E05A PRG:205A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E05B +; Routine: SubCE05B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8645,19 +8645,19 @@ Label_E042: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05B: +SubCE05B: lda ZpA5 ; CPU:$E05B PRG:205B A5 A5 and ZpC0 ; CPU:$E05D PRG:205D 25 C0 - beq Label_E072 ; CPU:$E05F PRG:205F F0 11 + beq Sub_8764_JoinBranchPaths_E072 ; CPU:$E05F PRG:205F F0 11 lda ZpB3 ; CPU:$E061 PRG:2061 A5 B3 - bmi Label_E072 ; CPU:$E063 PRG:2063 30 0D + bmi Sub_8764_JoinBranchPaths_E072 ; CPU:$E063 PRG:2063 30 0D lda ZpD4 ; CPU:$E065 PRG:2065 A5 D4 - beq Label_E06F ; CPU:$E067 PRG:2067 F0 06 + beq Sub_8764_OnZero_E06F ; CPU:$E067 PRG:2067 F0 06 lda ZpC9 ; CPU:$E069 PRG:2069 A5 C9 cmp #$02 ; CPU:$E06B PRG:206B C9 02 - beq Label_E072 ; CPU:$E06D PRG:206D F0 03 + beq Sub_8764_JoinBranchPaths_E072 ; CPU:$E06D PRG:206D F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E06F +; Routine: Sub_8764_OnZero_E06F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8665,10 +8665,10 @@ Label_E05B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E06F: - jmp $E167 ; CPU:$E06F PRG:206F 4C 67 E1 +Sub_8764_OnZero_E06F: + jmp SubCE167 ; CPU:$E06F PRG:206F 4C 67 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E072 +; Routine: Sub_8764_JoinBranchPaths_E072 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8676,17 +8676,17 @@ Label_E06F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E072: - lda a:$0095,y ; CPU:$E072 PRG:2072 B9 95 00 +Sub_8764_JoinBranchPaths_E072: + lda a:Zp95,y ; CPU:$E072 PRG:2072 B9 95 00 cmp #$89 ; CPU:$E075 PRG:2075 C9 89 - bcc Label_E082 ; CPU:$E077 PRG:2077 90 09 + bcc Sub_8764_OnCarryClear_E082 ; CPU:$E077 PRG:2077 90 09 sec ; CPU:$E079 PRG:2079 38 sbc #$89 ; CPU:$E07A PRG:207A E9 89 sta Zp27 ; CPU:$E07C PRG:207C 85 27 lda #$00 ; CPU:$E07E PRG:207E A9 00 - beq Label_E08C ; CPU:$E080 PRG:2080 F0 0A + beq Sub_8764_OnZero_E08C ; CPU:$E080 PRG:2080 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E082 +; Routine: Sub_8764_OnCarryClear_E082 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8694,14 +8694,14 @@ Label_E072: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E082: +Sub_8764_OnCarryClear_E082: sec ; CPU:$E082 PRG:2082 38 lda #$89 ; CPU:$E083 PRG:2083 A9 89 - sbc a:$0095,y ; CPU:$E085 PRG:2085 F9 95 00 + sbc a:Zp95,y ; CPU:$E085 PRG:2085 F9 95 00 sta Zp27 ; CPU:$E088 PRG:2088 85 27 lda #$80 ; CPU:$E08A PRG:208A A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E08C +; Routine: Sub_8764_OnZero_E08C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8709,22 +8709,22 @@ Label_E082: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E08C: +Sub_8764_OnZero_E08C: sta Zp29 ; CPU:$E08C PRG:208C 85 29 lda $E6CD,y ; CPU:$E08E PRG:208E B9 CD E6 and Zp36 ; CPU:$E091 PRG:2091 25 36 - bne Label_E0A8 ; CPU:$E093 PRG:2093 D0 13 - lda a:$0085,y ; CPU:$E095 PRG:2095 B9 85 00 + bne Sub_8764_JoinBranchPaths_E0A8 ; CPU:$E093 PRG:2093 D0 13 + lda a:Zp85,y ; CPU:$E095 PRG:2095 B9 85 00 cmp #$AB ; CPU:$E098 PRG:2098 C9 AB - bcs Label_E0A8 ; CPU:$E09A PRG:209A B0 0C + bcs Sub_8764_JoinBranchPaths_E0A8 ; CPU:$E09A PRG:209A B0 0C sec ; CPU:$E09C PRG:209C 38 lda #$AB ; CPU:$E09D PRG:209D A9 AB - sbc a:$0085,y ; CPU:$E09F PRG:209F F9 85 00 + sbc a:Zp85,y ; CPU:$E09F PRG:209F F9 85 00 sta Zp25 ; CPU:$E0A2 PRG:20A2 85 25 lda #$80 ; CPU:$E0A4 PRG:20A4 A9 80 - bne Label_E0B2 ; CPU:$E0A6 PRG:20A6 D0 0A + bne Sub_8764_OnNonzero_E0B2 ; CPU:$E0A6 PRG:20A6 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E0A8 +; Routine: Sub_8764_JoinBranchPaths_E0A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8732,14 +8732,14 @@ Label_E08C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A8: +Sub_8764_JoinBranchPaths_E0A8: sec ; CPU:$E0A8 PRG:20A8 38 - lda a:$0085,y ; CPU:$E0A9 PRG:20A9 B9 85 00 + lda a:Zp85,y ; CPU:$E0A9 PRG:20A9 B9 85 00 sbc #$AB ; CPU:$E0AC PRG:20AC E9 AB sta Zp25 ; CPU:$E0AE PRG:20AE 85 25 lda #$00 ; CPU:$E0B0 PRG:20B0 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B2 +; Routine: Sub_8764_OnNonzero_E0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8747,21 +8747,21 @@ Label_E0A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B2: +Sub_8764_OnNonzero_E0B2: sta Zp2A ; CPU:$E0B2 PRG:20B2 85 2A lda #$01 ; CPU:$E0B4 PRG:20B4 A9 01 sta Zp03 ; CPU:$E0B6 PRG:20B6 85 03 lda Zp27 ; CPU:$E0B8 PRG:20B8 A5 27 cmp Zp25 ; CPU:$E0BA PRG:20BA C5 25 - bcc Label_E0C8 ; CPU:$E0BC PRG:20BC 90 0A + bcc Sub_8764_OnCarryClear_E0C8 ; CPU:$E0BC PRG:20BC 90 0A lsr a ; CPU:$E0BE PRG:20BE 4A lsr a ; CPU:$E0BF PRG:20BF 4A cmp Zp25 ; CPU:$E0C0 PRG:20C0 C5 25 - bcs Label_E0D6 ; CPU:$E0C2 PRG:20C2 B0 12 + bcs Sub_8764_JoinBranchPaths_E0D6 ; CPU:$E0C2 PRG:20C2 B0 12 inc Zp03 ; CPU:$E0C4 PRG:20C4 E6 03 - bcc Label_E0D6 ; CPU:$E0C6 PRG:20C6 90 0E + bcc Sub_8764_JoinBranchPaths_E0D6 ; CPU:$E0C6 PRG:20C6 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E0C8 +; Routine: Sub_8764_OnCarryClear_E0C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8769,15 +8769,15 @@ Label_E0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0C8: +Sub_8764_OnCarryClear_E0C8: lda Zp25 ; CPU:$E0C8 PRG:20C8 A5 25 lsr a ; CPU:$E0CA PRG:20CA 4A lsr a ; CPU:$E0CB PRG:20CB 4A cmp Zp27 ; CPU:$E0CC PRG:20CC C5 27 - bcc Label_E0D2 ; CPU:$E0CE PRG:20CE 90 02 + bcc Sub_8764_OnCarryClear_E0D2 ; CPU:$E0CE PRG:20CE 90 02 inc Zp03 ; CPU:$E0D0 PRG:20D0 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D2 +; Routine: Sub_8764_OnCarryClear_E0D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8785,11 +8785,11 @@ Label_E0C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D2: +Sub_8764_OnCarryClear_E0D2: inc Zp03 ; CPU:$E0D2 PRG:20D2 E6 03 inc Zp03 ; CPU:$E0D4 PRG:20D4 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D6 +; Routine: Sub_8764_JoinBranchPaths_E0D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8797,15 +8797,15 @@ Label_E0D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D6: +Sub_8764_JoinBranchPaths_E0D6: lda Zp29 ; CPU:$E0D6 PRG:20D6 A5 29 - bpl Label_E0E1 ; CPU:$E0D8 PRG:20D8 10 07 + bpl Sub_8764_OnNonnegative_E0E1 ; CPU:$E0D8 PRG:20D8 10 07 clc ; CPU:$E0DA PRG:20DA 18 lda Zp03 ; CPU:$E0DB PRG:20DB A5 03 adc #$04 ; CPU:$E0DD PRG:20DD 69 04 sta Zp03 ; CPU:$E0DF PRG:20DF 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0E1 +; Routine: Sub_8764_OnNonnegative_E0E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8813,15 +8813,15 @@ Label_E0D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E1: +Sub_8764_OnNonnegative_E0E1: lda Zp2A ; CPU:$E0E1 PRG:20E1 A5 2A - bmi Label_E0EC ; CPU:$E0E3 PRG:20E3 30 07 + bmi Sub_8764_OnNegative_E0EC ; CPU:$E0E3 PRG:20E3 30 07 clc ; CPU:$E0E5 PRG:20E5 18 lda Zp03 ; CPU:$E0E6 PRG:20E6 A5 03 adc #$08 ; CPU:$E0E8 PRG:20E8 69 08 sta Zp03 ; CPU:$E0EA PRG:20EA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0EC +; Routine: Sub_8764_OnNegative_E0EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8829,25 +8829,25 @@ Label_E0E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0EC: +Sub_8764_OnNegative_E0EC: ldx Zp03 ; CPU:$E0EC PRG:20EC A6 03 lda #$90 ; CPU:$E0EE PRG:20EE A9 90 sta Zp40 ; CPU:$E0F0 PRG:20F0 85 40 - jsr $E157 ; CPU:$E0F2 PRG:20F2 20 57 E1 - beq Label_E126 ; CPU:$E0F5 PRG:20F5 F0 2F + jsr SubCE157 ; CPU:$E0F2 PRG:20F2 20 57 E1 + beq Sub_8764_OnZero_E126 ; CPU:$E0F5 PRG:20F5 F0 2F inc ZpDE ; CPU:$E0F7 PRG:20F7 E6 DE lda ZpDE ; CPU:$E0F9 PRG:20F9 A5 DE and #$03 ; CPU:$E0FB PRG:20FB 29 03 - bne Label_E121 ; CPU:$E0FD PRG:20FD D0 22 + bne Sub_8764_JoinBranchPaths_E121 ; CPU:$E0FD PRG:20FD D0 22 lda Zp51 ; CPU:$E0FF PRG:20FF A5 51 and #$02 ; CPU:$E101 PRG:2101 29 02 - beq Label_E110 ; CPU:$E103 PRG:2103 F0 0B + beq Sub_8764_OnZero_E110 ; CPU:$E103 PRG:2103 F0 0B ldx ZpDD ; CPU:$E105 PRG:2105 A6 DD cpx #$00 ; CPU:$E107 PRG:2107 E0 00 - bne Label_E10D ; CPU:$E109 PRG:2109 D0 02 + bne Sub_8764_OnNonzero_E10D ; CPU:$E109 PRG:2109 D0 02 ldx #$0C ; CPU:$E10B PRG:210B A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E10D +; Routine: Sub_8764_OnNonzero_E10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8855,11 +8855,11 @@ Label_E0EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E10D: +Sub_8764_OnNonzero_E10D: dex ; CPU:$E10D PRG:210D CA stx ZpDD ; CPU:$E10E PRG:210E 86 DD ; ----------------------------------------------------------------------------- -; Routine: Label_E110 +; Routine: Sub_8764_OnZero_E110 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8867,16 +8867,16 @@ Label_E10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E110: +Sub_8764_OnZero_E110: lda Zp51 ; CPU:$E110 PRG:2110 A5 51 and #$01 ; CPU:$E112 PRG:2112 29 01 - beq Label_E121 ; CPU:$E114 PRG:2114 F0 0B + beq Sub_8764_JoinBranchPaths_E121 ; CPU:$E114 PRG:2114 F0 0B ldx ZpDD ; CPU:$E116 PRG:2116 A6 DD cpx #$0B ; CPU:$E118 PRG:2118 E0 0B - bne Label_E11E ; CPU:$E11A PRG:211A D0 02 + bne Sub_8764_OnNonzero_E11E ; CPU:$E11A PRG:211A D0 02 ldx #$FF ; CPU:$E11C PRG:211C A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E11E +; Routine: Sub_8764_OnNonzero_E11E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8884,11 +8884,11 @@ Label_E110: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E11E: +Sub_8764_OnNonzero_E11E: inx ; CPU:$E11E PRG:211E E8 stx ZpDD ; CPU:$E11F PRG:211F 86 DD ; ----------------------------------------------------------------------------- -; Routine: Label_E121 +; Routine: Sub_8764_JoinBranchPaths_E121 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8896,11 +8896,11 @@ Label_E11E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E121: +Sub_8764_JoinBranchPaths_E121: lda ZpDD ; CPU:$E121 PRG:2121 A5 DD - jmp $E129 ; CPU:$E123 PRG:2123 4C 29 E1 + jmp SubCE129 ; CPU:$E123 PRG:2123 4C 29 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E126 +; Routine: Sub_8764_OnZero_E126 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8908,10 +8908,10 @@ Label_E121: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E126: +Sub_8764_OnZero_E126: lda $E146,x ; CPU:$E126 PRG:2126 BD 46 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E129 +; Routine: SubCE129 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8919,22 +8919,22 @@ Label_E126: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E129: +SubCE129: pha ; CPU:$E129 PRG:2129 48 - lda a:$0065,y ; CPU:$E12A PRG:212A B9 65 00 + lda a:Zp65,y ; CPU:$E12A PRG:212A B9 65 00 tax ; CPU:$E12D PRG:212D AA pla ; CPU:$E12E PRG:212E 68 - jsr $DE80 ; CPU:$E12F PRG:212F 20 80 DE - jsr $E157 ; CPU:$E132 PRG:2132 20 57 E1 - beq Label_E143 ; CPU:$E135 PRG:2135 F0 0C + jsr SubCDE80 ; CPU:$E12F PRG:212F 20 80 DE + jsr SubCE157 ; CPU:$E132 PRG:2132 20 57 E1 + beq Sub_8764_OnZero_E143 ; CPU:$E135 PRG:2135 F0 0C lda Zp51 ; CPU:$E137 PRG:2137 A5 51 and #$80 ; CPU:$E139 PRG:2139 29 80 - bne Label_E18E ; CPU:$E13B PRG:213B D0 51 + bne Sub_8764_JoinBranchPaths_E18E ; CPU:$E13B PRG:213B D0 51 lda Zp51 ; CPU:$E13D PRG:213D A5 51 and #$40 ; CPU:$E13F PRG:213F 29 40 - bne Label_E17B ; CPU:$E141 PRG:2141 D0 38 + bne Sub_8764_OnNonzero_E17B ; CPU:$E141 PRG:2141 D0 38 ; ----------------------------------------------------------------------------- -; Routine: Label_E143 +; Routine: Sub_8764_OnZero_E143 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8942,14 +8942,14 @@ Label_E129: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E143: - jmp $E320 ; CPU:$E143 PRG:2143 4C 20 E3 +Sub_8764_OnZero_E143: + jmp SubCE320 ; CPU:$E143 PRG:2143 4C 20 E3 ; ---- data $E146-$E156 (17 bytes) ---- ; referenced by `lda $E146,x` at $E126 (operand $E146 falls inside this region) .byte $00, $00, $01, $02, $03, $06, $05, $04, $03, $00, $0B, $0A, $09, $06, $07, $08 ; CPU:$E146 PRG:2146 00 00 01 02 03 06 05 04 03 00 0B 0A 09 06 07 08 .byte $09 ; CPU:$E156 PRG:2156 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E157 +; Routine: SubCE157 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8957,16 +8957,16 @@ Label_E143: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E157: +SubCE157: lda ZpD4 ; CPU:$E157 PRG:2157 A5 D4 - beq Label_E164 ; CPU:$E159 PRG:2159 F0 09 + beq Sub_8764_JoinBranchPaths_E164 ; CPU:$E159 PRG:2159 F0 09 lda ZpC9 ; CPU:$E15B PRG:215B A5 C9 cmp #$02 ; CPU:$E15D PRG:215D C9 02 - bne Label_E164 ; CPU:$E15F PRG:215F D0 03 + bne Sub_8764_JoinBranchPaths_E164 ; CPU:$E15F PRG:215F D0 03 lda #$01 ; CPU:$E161 PRG:2161 A9 01 rts ; CPU:$E163 PRG:2163 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E164 +; Routine: Sub_8764_JoinBranchPaths_E164 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8974,11 +8974,11 @@ Label_E157: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E164: +Sub_8764_JoinBranchPaths_E164: lda #$00 ; CPU:$E164 PRG:2164 A9 00 rts ; CPU:$E166 PRG:2166 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E167 +; Routine: SubCE167 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8986,12 +8986,12 @@ Label_E164: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E167: - jsr $C412 ; CPU:$E167 PRG:2167 20 12 C4 +SubCE167: + jsr SubCC412 ; CPU:$E167 PRG:2167 20 12 C4 cmp ZpBF ; CPU:$E16A PRG:216A C5 BF - bcc Label_E18E ; CPU:$E16C PRG:216C 90 20 + bcc Sub_8764_JoinBranchPaths_E18E ; CPU:$E16C PRG:216C 90 20 ; ----------------------------------------------------------------------------- -; Routine: Label_E16E +; Routine: Sub_8764_OnNegative_E16E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8999,15 +8999,15 @@ Label_E167: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E16E: +Sub_8764_OnNegative_E16E: lda ZpBD ; CPU:$E16E PRG:216E A5 BD cmp #$04 ; CPU:$E170 PRG:2170 C9 04 - bcs Label_E18B ; CPU:$E172 PRG:2172 B0 17 - jsr $C412 ; CPU:$E174 PRG:2174 20 12 C4 + bcs Sub_8764_JoinBranchPaths_E18B ; CPU:$E172 PRG:2172 B0 17 + jsr SubCC412 ; CPU:$E174 PRG:2174 20 12 C4 cmp #$FA ; CPU:$E177 PRG:2177 C9 FA - bcc Label_E18B ; CPU:$E179 PRG:2179 90 10 + bcc Sub_8764_JoinBranchPaths_E18B ; CPU:$E179 PRG:2179 90 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E17B +; Routine: Sub_8764_OnNonzero_E17B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9015,16 +9015,16 @@ Label_E16E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E17B: +Sub_8764_OnNonzero_E17B: lda $043C,x ; CPU:$E17B PRG:217B BD 3C 04 stx Zp26 ; CPU:$E17E PRG:217E 86 26 tax ; CPU:$E180 PRG:2180 AA lda $DBCB,x ; CPU:$E181 PRG:2181 BD CB DB sta Zp25 ; CPU:$E184 PRG:2184 85 25 ldx Zp26 ; CPU:$E186 PRG:2186 A6 26 - jsr $E499 ; CPU:$E188 PRG:2188 20 99 E4 + jsr SubCE499 ; CPU:$E188 PRG:2188 20 99 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E18B +; Routine: Sub_8764_JoinBranchPaths_E18B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9032,10 +9032,10 @@ Label_E17B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E18B: - jmp $E320 ; CPU:$E18B PRG:218B 4C 20 E3 +Sub_8764_JoinBranchPaths_E18B: + jmp SubCE320 ; CPU:$E18B PRG:218B 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E18E +; Routine: Sub_8764_JoinBranchPaths_E18E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9043,22 +9043,22 @@ Label_E18B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E18E: +Sub_8764_JoinBranchPaths_E18E: lda $04AD ; CPU:$E18E PRG:218E AD AD 04 - bmi Label_E16E ; CPU:$E191 PRG:2191 30 DB + bmi Sub_8764_OnNegative_E16E ; CPU:$E191 PRG:2191 30 DB lda Zp09 ; CPU:$E193 PRG:2193 A5 09 - bne Label_E18B ; CPU:$E195 PRG:2195 D0 F4 + bne Sub_8764_JoinBranchPaths_E18B ; CPU:$E195 PRG:2195 D0 F4 lda #$02 ; CPU:$E197 PRG:2197 A9 02 - jsr $E039 ; CPU:$E199 PRG:2199 20 39 E0 + jsr SubCE039 ; CPU:$E199 PRG:2199 20 39 E0 lda #$7C ; CPU:$E19C PRG:219C A9 7C sta $043E ; CPU:$E19E PRG:219E 8D 3E 04 sec ; CPU:$E1A1 PRG:21A1 38 - lda a:$0095,y ; CPU:$E1A2 PRG:21A2 B9 95 00 + lda a:Zp95,y ; CPU:$E1A2 PRG:21A2 B9 95 00 sbc #$89 ; CPU:$E1A5 PRG:21A5 E9 89 - bpl Label_E1AB ; CPU:$E1A7 PRG:21A7 10 02 + bpl Sub_8764_OnNonnegative_E1AB ; CPU:$E1A7 PRG:21A7 10 02 eor #$FF ; CPU:$E1A9 PRG:21A9 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E1AB +; Routine: Sub_8764_OnNonnegative_E1AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9066,15 +9066,15 @@ Label_E18E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AB: +Sub_8764_OnNonnegative_E1AB: sta Zp05 ; CPU:$E1AB PRG:21AB 85 05 sec ; CPU:$E1AD PRG:21AD 38 - lda a:$0085,y ; CPU:$E1AE PRG:21AE B9 85 00 + lda a:Zp85,y ; CPU:$E1AE PRG:21AE B9 85 00 sbc #$AB ; CPU:$E1B1 PRG:21B1 E9 AB - bpl Label_E1B7 ; CPU:$E1B3 PRG:21B3 10 02 + bpl Sub_8764_OnNonnegative_E1B7 ; CPU:$E1B3 PRG:21B3 10 02 eor #$FF ; CPU:$E1B5 PRG:21B5 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E1B7 +; Routine: Sub_8764_OnNonnegative_E1B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9082,14 +9082,14 @@ Label_E1AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1B7: +Sub_8764_OnNonnegative_E1B7: cmp Zp05 ; CPU:$E1B7 PRG:21B7 C5 05 php ; CPU:$E1B9 PRG:21B9 08 - bcs Label_E1C0 ; CPU:$E1BA PRG:21BA B0 04 + bcs Sub_8764_OnCarrySet_E1C0 ; CPU:$E1BA PRG:21BA B0 04 lsr a ; CPU:$E1BC PRG:21BC 4A - jmp $E1C2 ; CPU:$E1BD PRG:21BD 4C C2 E1 + jmp SubCE1C2 ; CPU:$E1BD PRG:21BD 4C C2 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C0 +; Routine: Sub_8764_OnCarrySet_E1C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9097,10 +9097,10 @@ Label_E1B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C0: +Sub_8764_OnCarrySet_E1C0: lsr Zp05 ; CPU:$E1C0 PRG:21C0 46 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C2 +; Routine: SubCE1C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9108,18 +9108,18 @@ Label_E1C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C2: +SubCE1C2: clc ; CPU:$E1C2 PRG:21C2 18 adc Zp05 ; CPU:$E1C3 PRG:21C3 65 05 lsr a ; CPU:$E1C5 PRG:21C5 4A lsr a ; CPU:$E1C6 PRG:21C6 4A lsr a ; CPU:$E1C7 PRG:21C7 4A plp ; CPU:$E1C8 PRG:21C8 28 - bcs Label_E1CE ; CPU:$E1C9 PRG:21C9 B0 03 + bcs Sub_8764_OnCarrySet_E1CE ; CPU:$E1C9 PRG:21C9 B0 03 clc ; CPU:$E1CB PRG:21CB 18 adc #$03 ; CPU:$E1CC PRG:21CC 69 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E1CE +; Routine: Sub_8764_OnCarrySet_E1CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9127,7 +9127,7 @@ Label_E1C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1CE: +Sub_8764_OnCarrySet_E1CE: clc ; CPU:$E1CE PRG:21CE 18 adc #$01 ; CPU:$E1CF PRG:21CF 69 01 sta $058B ; CPU:$E1D1 PRG:21D1 8D 8B 05 @@ -9141,14 +9141,14 @@ Label_E1CE: lda $E1F9,y ; CPU:$E1E2 PRG:21E2 B9 F9 E1 sta Zp44 ; CPU:$E1E5 PRG:21E5 85 44 ldy Zp03 ; CPU:$E1E7 PRG:21E7 A4 03 - jmp $E320 ; CPU:$E1E9 PRG:21E9 4C 20 E3 + jmp SubCE320 ; CPU:$E1E9 PRG:21E9 4C 20 E3 ; ---- data $E1EC-$E205 (26 bytes) ---- ; referenced by `lda $E1EC,y` at $E1DD (operand $E1EC falls inside this region) ; referenced by `lda $E1F9,y` at $E1E2 (operand $E1F9 falls inside this region) .byte $00, $04, $07, $08, $07, $04, $00, $84, $87, $88, $87, $84, $00, $86, $85, $83 ; CPU:$E1EC PRG:21EC 00 04 07 08 07 04 00 84 87 88 87 84 00 86 85 83 .byte $00, $03, $05, $06, $05, $03, $00, $83, $85, $86 ; CPU:$E1FC PRG:21FC 00 03 05 06 05 03 00 83 85 86 ; ----------------------------------------------------------------------------- -; Routine: Label_E206 +; Routine: SubCE206 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9156,17 +9156,17 @@ Label_E1CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E206: +SubCE206: lda ZpA5 ; CPU:$E206 PRG:2206 A5 A5 cmp #$07 ; CPU:$E208 PRG:2208 C9 07 - bne Label_E235 ; CPU:$E20A PRG:220A D0 29 + bne Sub_8764_OnNonzero_E235 ; CPU:$E20A PRG:220A D0 29 lda $0698,x ; CPU:$E20C PRG:220C BD 98 06 cmp #$0A ; CPU:$E20F PRG:220F C9 0A - bcs Label_E217 ; CPU:$E211 PRG:2211 B0 04 + bcs Sub_8764_OnCarrySet_E217 ; CPU:$E211 PRG:2211 B0 04 lda #$A9 ; CPU:$E213 PRG:2213 A9 A9 - bne Label_E227 ; CPU:$E215 PRG:2215 D0 10 + bne Sub_8764_OnNonzero_E227 ; CPU:$E215 PRG:2215 D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E217 +; Routine: Sub_8764_OnCarrySet_E217 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9174,14 +9174,14 @@ Label_E206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E217: +Sub_8764_OnCarrySet_E217: lda $043C,x ; CPU:$E217 PRG:2217 BD 3C 04 cmp #$AC ; CPU:$E21A PRG:221A C9 AC - bcc Label_E222 ; CPU:$E21C PRG:221C 90 04 + bcc Sub_8764_OnCarryClear_E222 ; CPU:$E21C PRG:221C 90 04 lda #$AA ; CPU:$E21E PRG:221E A9 AA - bne Label_E227 ; CPU:$E220 PRG:2220 D0 05 + bne Sub_8764_OnNonzero_E227 ; CPU:$E220 PRG:2220 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E222 +; Routine: Sub_8764_OnCarryClear_E222 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9189,11 +9189,11 @@ Label_E217: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E222: +Sub_8764_OnCarryClear_E222: inc $043C,x ; CPU:$E222 PRG:2222 FE 3C 04 - bne Label_E22A ; CPU:$E225 PRG:2225 D0 03 + bne Sub_8764_OnNonzero_E22A ; CPU:$E225 PRG:2225 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E227 +; Routine: Sub_8764_OnNonzero_E227 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9201,10 +9201,10 @@ Label_E222: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E227: +Sub_8764_OnNonzero_E227: sta $043C,x ; CPU:$E227 PRG:2227 9D 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E22A +; Routine: Sub_8764_OnNonzero_E22A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9212,14 +9212,14 @@ Label_E227: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E22A: +Sub_8764_OnNonzero_E22A: lda Zp12 ; CPU:$E22A PRG:222A A5 12 and #$3F ; CPU:$E22C PRG:222C 29 3F - bne Label_E235 ; CPU:$E22E PRG:222E D0 05 + bne Sub_8764_OnNonzero_E235 ; CPU:$E22E PRG:222E D0 05 lda #$01 ; CPU:$E230 PRG:2230 A9 01 - jsr $D9B2 ; CPU:$E232 PRG:2232 20 B2 D9 + jsr SubCD9B2 ; CPU:$E232 PRG:2232 20 B2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E235 +; Routine: Sub_8764_OnNonzero_E235 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9227,13 +9227,13 @@ Label_E22A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E235: - jmp $E320 ; CPU:$E235 PRG:2235 4C 20 E3 +Sub_8764_OnNonzero_E235: + jmp SubCE320 ; CPU:$E235 PRG:2235 4C 20 E3 ; ---- data $E238-$E250 (25 bytes) ---- .byte $A5, $A5, $6A, $B0, $0D, $FE, $3C, $04, $BD, $3C, $04, $C9, $84, $D0, $03, $20 ; CPU:$E238 PRG:2238 A5 A5 6A B0 0D FE 3C 04 BD 3C 04 C9 84 D0 03 20 .byte $DB, $DD, $60, $20, $38, $E2, $4C, $20, $E3 ; CPU:$E248 PRG:2248 DB DD 60 20 38 E2 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E251 +; Routine: Sub_8764_OnCarrySet_E251 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9241,14 +9241,14 @@ Label_E235: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E251: +Sub_8764_OnCarrySet_E251: sec ; CPU:$E251 PRG:2251 38 - lda a:$0085,y ; CPU:$E252 PRG:2252 B9 85 00 + lda a:Zp85,y ; CPU:$E252 PRG:2252 B9 85 00 sbc ZpB4 ; CPU:$E255 PRG:2255 E5 B4 - bcs Label_E25B ; CPU:$E257 PRG:2257 B0 02 + bcs Sub_8764_OnCarrySet_E25B ; CPU:$E257 PRG:2257 B0 02 eor #$FF ; CPU:$E259 PRG:2259 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E25B +; Routine: Sub_8764_OnCarrySet_E25B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9256,15 +9256,15 @@ Label_E251: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E25B: +Sub_8764_OnCarrySet_E25B: sta Zp25 ; CPU:$E25B PRG:225B 85 25 sec ; CPU:$E25D PRG:225D 38 - lda a:$0095,y ; CPU:$E25E PRG:225E B9 95 00 + lda a:Zp95,y ; CPU:$E25E PRG:225E B9 95 00 sbc ZpB5 ; CPU:$E261 PRG:2261 E5 B5 - bcs Label_E267 ; CPU:$E263 PRG:2263 B0 02 + bcs Sub_8764_OnCarrySet_E267 ; CPU:$E263 PRG:2263 B0 02 eor #$FF ; CPU:$E265 PRG:2265 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E267 +; Routine: Sub_8764_OnCarrySet_E267 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9272,13 +9272,13 @@ Label_E25B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E267: +Sub_8764_OnCarrySet_E267: clc ; CPU:$E267 PRG:2267 18 adc Zp25 ; CPU:$E268 PRG:2268 65 25 - bcc Label_E26E ; CPU:$E26A PRG:226A 90 02 + bcc Sub_8764_OnCarryClear_E26E ; CPU:$E26A PRG:226A 90 02 lda #$FE ; CPU:$E26C PRG:226C A9 FE ; ----------------------------------------------------------------------------- -; Routine: Label_E26E +; Routine: Sub_8764_OnCarryClear_E26E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9286,12 +9286,12 @@ Label_E267: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E26E: +Sub_8764_OnCarryClear_E26E: cmp ZpB7 ; CPU:$E26E PRG:226E C5 B7 - bcs Label_E274 ; CPU:$E270 PRG:2270 B0 02 + bcs Sub_8764_OnCarrySet_E274 ; CPU:$E270 PRG:2270 B0 02 sta ZpB7 ; CPU:$E272 PRG:2272 85 B7 ; ----------------------------------------------------------------------------- -; Routine: Label_E274 +; Routine: Sub_8764_OnCarrySet_E274 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9299,18 +9299,18 @@ Label_E26E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E274: +Sub_8764_OnCarrySet_E274: sty Zp29 ; CPU:$E274 PRG:2274 84 29 lda $043C,x ; CPU:$E276 PRG:2276 BD 3C 04 tay ; CPU:$E279 PRG:2279 A8 lda $DA29,y ; CPU:$E27A PRG:227A B9 29 DA - jsr $EDD7 ; CPU:$E27D PRG:227D 20 D7 ED + jsr SubCEDD7 ; CPU:$E27D PRG:227D 20 D7 ED lda $DA35,y ; CPU:$E280 PRG:2280 B9 35 DA - jsr $EDE2 ; CPU:$E283 PRG:2283 20 E2 ED + jsr SubCEDE2 ; CPU:$E283 PRG:2283 20 E2 ED ldy Zp29 ; CPU:$E286 PRG:2286 A4 29 - jmp $E320 ; CPU:$E288 PRG:2288 4C 20 E3 + jmp SubCE320 ; CPU:$E288 PRG:2288 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E28B +; Routine: SubCE28B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9318,11 +9318,11 @@ Label_E274: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E28B: - jsr $E923 ; CPU:$E28B PRG:228B 20 23 E9 +SubCE28B: + jsr SubCE923 ; CPU:$E28B PRG:228B 20 23 E9 inc Zp1D ; CPU:$E28E PRG:228E E6 1D ; ----------------------------------------------------------------------------- -; Routine: Label_E290 +; Routine: SubCE290 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9330,13 +9330,13 @@ Label_E28B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E290: +SubCE290: dec Zp1D ; CPU:$E290 PRG:2290 C6 1D - beq Label_E29A ; CPU:$E292 PRG:2292 F0 06 - jsr $E79D ; CPU:$E294 PRG:2294 20 9D E7 - jmp $E290 ; CPU:$E297 PRG:2297 4C 90 E2 + beq Sub_8764_OnZero_E29A ; CPU:$E292 PRG:2292 F0 06 + jsr SubCE79D ; CPU:$E294 PRG:2294 20 9D E7 + jmp SubCE290 ; CPU:$E297 PRG:2297 4C 90 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E29A +; Routine: Sub_8764_OnZero_E29A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9344,10 +9344,10 @@ Label_E290: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29A: +Sub_8764_OnZero_E29A: inc Zp1E ; CPU:$E29A PRG:229A E6 1E ; ----------------------------------------------------------------------------- -; Routine: Label_E29C +; Routine: SubCE29C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9355,13 +9355,13 @@ Label_E29A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29C: +SubCE29C: dec Zp1E ; CPU:$E29C PRG:229C C6 1E - beq Label_E2A6 ; CPU:$E29E PRG:229E F0 06 - jsr $E7A0 ; CPU:$E2A0 PRG:22A0 20 A0 E7 - jmp $E29C ; CPU:$E2A3 PRG:22A3 4C 9C E2 + beq Sub_8764_OnZero_E2A6 ; CPU:$E29E PRG:229E F0 06 + jsr SubCE7A0 ; CPU:$E2A0 PRG:22A0 20 A0 E7 + jmp SubCE29C ; CPU:$E2A3 PRG:22A3 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2A6 +; Routine: Sub_8764_OnZero_E2A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9369,14 +9369,14 @@ Label_E29C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A6: +Sub_8764_OnZero_E2A6: lda #$02 ; CPU:$E2A6 PRG:22A6 A9 02 sta Zp0C ; CPU:$E2A8 PRG:22A8 85 0C lda #$FF ; CPU:$E2AA PRG:22AA A9 FF sta ZpB7 ; CPU:$E2AC PRG:22AC 85 B7 ldy #$00 ; CPU:$E2AE PRG:22AE A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E2B0 +; Routine: Sub_8764_OnCarryClear_E2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9384,25 +9384,25 @@ Label_E2A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B0: - lda a:$0065,y ; CPU:$E2B0 PRG:22B0 B9 65 00 - bmi Label_E320 ; CPU:$E2B3 PRG:22B3 30 6B - beq Label_E320 ; CPU:$E2B5 PRG:22B5 F0 69 +Sub_8764_OnCarryClear_E2B0: + lda a:Zp65,y ; CPU:$E2B0 PRG:22B0 B9 65 00 + bmi SubCE320 ; CPU:$E2B3 PRG:22B3 30 6B + beq SubCE320 ; CPU:$E2B5 PRG:22B5 F0 69 tax ; CPU:$E2B7 PRG:22B7 AA cmp #$15 ; CPU:$E2B8 PRG:22B8 C9 15 - bcc Label_E2D8 ; CPU:$E2BA PRG:22BA 90 1C + bcc Sub_8764_OnCarryClear_E2D8 ; CPU:$E2BA PRG:22BA 90 1C cmp #$59 ; CPU:$E2BC PRG:22BC C9 59 - bcs Label_E251 ; CPU:$E2BE PRG:22BE B0 91 + bcs Sub_8764_OnCarrySet_E251 ; CPU:$E2BE PRG:22BE B0 91 cmp #$55 ; CPU:$E2C0 PRG:22C0 C9 55 - bcs Label_E320 ; CPU:$E2C2 PRG:22C2 B0 5C + bcs SubCE320 ; CPU:$E2C2 PRG:22C2 B0 5C cmp #$33 ; CPU:$E2C4 PRG:22C4 C9 33 - bcs Label_E2D5 ; CPU:$E2C6 PRG:22C6 B0 0D + bcs Sub_8764_OnCarrySet_E2D5 ; CPU:$E2C6 PRG:22C6 B0 0D lda $043C,x ; CPU:$E2C8 PRG:22C8 BD 3C 04 cmp #$8C ; CPU:$E2CB PRG:22CB C9 8C - bcs Label_E2D2 ; CPU:$E2CD PRG:22CD B0 03 - jmp $D993 ; CPU:$E2CF PRG:22CF 4C 93 D9 + bcs Sub_8764_OnCarrySet_E2D2 ; CPU:$E2CD PRG:22CD B0 03 + jmp SubCD993 ; CPU:$E2CF PRG:22CF 4C 93 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D2 +; Routine: Sub_8764_OnCarrySet_E2D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9410,10 +9410,10 @@ Label_E2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D2: - jmp $E05B ; CPU:$E2D2 PRG:22D2 4C 5B E0 +Sub_8764_OnCarrySet_E2D2: + jmp SubCE05B ; CPU:$E2D2 PRG:22D2 4C 5B E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D5 +; Routine: Sub_8764_OnCarrySet_E2D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9421,10 +9421,10 @@ Label_E2D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D5: - jmp $E326 ; CPU:$E2D5 PRG:22D5 4C 26 E3 +Sub_8764_OnCarrySet_E2D5: + jmp SubCE326 ; CPU:$E2D5 PRG:22D5 4C 26 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D8 +; Routine: Sub_8764_OnCarryClear_E2D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9432,9 +9432,9 @@ Label_E2D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D8: +Sub_8764_OnCarryClear_E2D8: cmp #$09 ; CPU:$E2D8 PRG:22D8 C9 09 - bcs Label_E301 ; CPU:$E2DA PRG:22DA B0 25 + bcs Sub_8764_OnCarrySet_E301 ; CPU:$E2DA PRG:22DA B0 25 stx Zp00 ; CPU:$E2DC PRG:22DC 86 00 asl a ; CPU:$E2DE PRG:22DE 0A tax ; CPU:$E2DF PRG:22DF AA @@ -9443,14 +9443,14 @@ Label_E2D8: lda $E2F0,x ; CPU:$E2E5 PRG:22E5 BD F0 E2 sta Zp02 ; CPU:$E2E8 PRG:22E8 85 02 ldx Zp00 ; CPU:$E2EA PRG:22EA A6 00 - jmp ($0001) ; CPU:$E2EC PRG:22EC 6C 01 00 + jmp (Zp01) ; CPU:$E2EC PRG:22EC 6C 01 00 ; ---- data $E2EF-$E300 (18 bytes) ---- ; referenced by `lda $E2EF,x` at $E2E0 (operand $E2EF falls inside this region) ; referenced by `lda $E2F0,x` at $E2E5 (operand $E2F0 falls inside this region) .byte $20, $E3, $4B, $E2, $8B, $E3, $20, $E3, $7B, $E3, $1D, $E3, $20, $E3, $CE, $E3 ; CPU:$E2EF PRG:22EF 20 E3 4B E2 8B E3 20 E3 7B E3 1D E3 20 E3 CE E3 .byte $5B, $E3 ; CPU:$E2FF PRG:22FF 5B E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E301 +; Routine: Sub_8764_OnCarrySet_E301 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9458,12 +9458,12 @@ Label_E2D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E301: +Sub_8764_OnCarrySet_E301: cmp #$0F ; CPU:$E301 PRG:2301 C9 0F - bcc Label_E308 ; CPU:$E303 PRG:2303 90 03 - jmp $E206 ; CPU:$E305 PRG:2305 4C 06 E2 + bcc Sub_8764_OnCarryClear_E308 ; CPU:$E303 PRG:2303 90 03 + jmp SubCE206 ; CPU:$E305 PRG:2305 4C 06 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E308 +; Routine: Sub_8764_OnCarryClear_E308 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9471,16 +9471,16 @@ Label_E301: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E308: +Sub_8764_OnCarryClear_E308: cmp #$0D ; CPU:$E308 PRG:2308 C9 0D - beq Label_E317 ; CPU:$E30A PRG:230A F0 0B + beq Sub_8764_OnZero_E317 ; CPU:$E30A PRG:230A F0 0B cmp #$0B ; CPU:$E30C PRG:230C C9 0B - beq Label_E31A ; CPU:$E30E PRG:230E F0 0A + beq Sub_8764_OnZero_E31A ; CPU:$E30E PRG:230E F0 0A cmp #$0A ; CPU:$E310 PRG:2310 C9 0A - bne Label_E320 ; CPU:$E312 PRG:2312 D0 0C - jmp $E412 ; CPU:$E314 PRG:2314 4C 12 E4 + bne SubCE320 ; CPU:$E312 PRG:2312 D0 0C + jmp SubCE412 ; CPU:$E314 PRG:2314 4C 12 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E317 +; Routine: Sub_8764_OnZero_E317 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9488,10 +9488,10 @@ Label_E308: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E317: - jmp $E42F ; CPU:$E317 PRG:2317 4C 2F E4 +Sub_8764_OnZero_E317: + jmp SubCE42F ; CPU:$E317 PRG:2317 4C 2F E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E31A +; Routine: Sub_8764_OnZero_E31A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9499,12 +9499,12 @@ Label_E317: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E31A: - jmp $E44A ; CPU:$E31A PRG:231A 4C 4A E4 +Sub_8764_OnZero_E31A: + jmp SubCE44A ; CPU:$E31A PRG:231A 4C 4A E4 ; ---- data $E31D-$E31F (3 bytes) ---- .byte $20, $38, $E2 ; CPU:$E31D PRG:231D 20 38 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E320 +; Routine: SubCE320 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9512,13 +9512,13 @@ Label_E31A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E320: +SubCE320: iny ; CPU:$E320 PRG:2320 C8 cpy #$10 ; CPU:$E321 PRG:2321 C0 10 - bcc Label_E2B0 ; CPU:$E323 PRG:2323 90 8B + bcc Sub_8764_OnCarryClear_E2B0 ; CPU:$E323 PRG:2323 90 8B rts ; CPU:$E325 PRG:2325 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E326 +; Routine: SubCE326 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9526,32 +9526,32 @@ Label_E320: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E326: - jsr $C412 ; CPU:$E326 PRG:2326 20 12 C4 +SubCE326: + jsr SubCC412 ; CPU:$E326 PRG:2326 20 12 C4 lsr a ; CPU:$E329 PRG:2329 4A cmp #$7E ; CPU:$E32A PRG:232A C9 7E - bcc Label_E320 ; CPU:$E32C PRG:232C 90 F2 + bcc SubCE320 ; CPU:$E32C PRG:232C 90 F2 lda Zp09 ; CPU:$E32E PRG:232E A5 09 - bne Label_E320 ; CPU:$E330 PRG:2330 D0 EE + bne SubCE320 ; CPU:$E330 PRG:2330 D0 EE lda $0366 ; CPU:$E332 PRG:2332 AD 66 03 - bpl Label_E320 ; CPU:$E335 PRG:2335 10 E9 + bpl SubCE320 ; CPU:$E335 PRG:2335 10 E9 stx Zp2B ; CPU:$E337 PRG:2337 86 2B lda #$08 ; CPU:$E339 PRG:2339 A9 08 - jsr $E039 ; CPU:$E33B PRG:233B 20 39 E0 + jsr SubCE039 ; CPU:$E33B PRG:233B 20 39 E0 lda #$0F ; CPU:$E33E PRG:233E A9 0F sta Zp2C ; CPU:$E340 PRG:2340 85 2C lda #$22 ; CPU:$E342 PRG:2342 A9 22 sta $04B3 ; CPU:$E344 PRG:2344 8D B3 04 lda #$7D ; CPU:$E347 PRG:2347 A9 7D sta $0444 ; CPU:$E349 PRG:2349 8D 44 04 - jsr $C412 ; CPU:$E34C PRG:234C 20 12 C4 + jsr SubCC412 ; CPU:$E34C PRG:234C 20 12 C4 pha ; CPU:$E34F PRG:234F 48 pla ; CPU:$E350 PRG:2350 68 - bmi Label_E358 ; CPU:$E351 PRG:2351 30 05 + bmi Sub_8764_OnNegative_E358 ; CPU:$E351 PRG:2351 30 05 lda #$01 ; CPU:$E353 PRG:2353 A9 01 - jsr $E5C5 ; CPU:$E355 PRG:2355 20 C5 E5 + jsr SubCE5C5 ; CPU:$E355 PRG:2355 20 C5 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E358 +; Routine: Sub_8764_OnNegative_E358 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9559,8 +9559,8 @@ Label_E326: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E358: - jmp $E320 ; CPU:$E358 PRG:2358 4C 20 E3 +Sub_8764_OnNegative_E358: + jmp SubCE320 ; CPU:$E358 PRG:2358 4C 20 E3 ; ---- data $E35B-$E3B4 (90 bytes) ---- .byte $C6, $2C, $F0, $15, $AD, $44, $04, $49, $03, $8D, $44, $04, $A6, $2B, $A9, $08 ; CPU:$E35B PRG:235B C6 2C F0 15 AD 44 04 49 03 8D 44 04 A6 2B A9 08 .byte $20, $39, $E0, $20, $11, $C5, $4C, $20, $E3, $A9, $FF, $8D, $66, $03, $D0, $A5 ; CPU:$E36B PRG:236B 20 39 E0 20 11 C5 4C 20 E3 A9 FF 8D 66 03 D0 A5 @@ -9569,7 +9569,7 @@ Label_E358: .byte $44, $20, $E2, $ED, $4C, $20, $E3, $20, $B5, $E3, $AD, $3E, $04, $C9, $80, $D0 ; CPU:$E39B PRG:239B 44 20 E2 ED 4C 20 E3 20 B5 E3 AD 3E 04 C9 80 D0 .byte $06, $20, $87, $E5, $20, $0D, $C5, $4C, $20, $E3 ; CPU:$E3AB PRG:23AB 06 20 87 E5 20 0D C5 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3B5 +; Routine: SubCE3B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9577,16 +9577,16 @@ Label_E358: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3B5: +SubCE3B5: lda ZpA5 ; CPU:$E3B5 PRG:23B5 A5 A5 ror a ; CPU:$E3B7 PRG:23B7 6A - bcs Label_E3C4 ; CPU:$E3B8 PRG:23B8 B0 0A + bcs Sub_8764_OnCarrySet_E3C4 ; CPU:$E3B8 PRG:23B8 B0 0A lda $043C,x ; CPU:$E3BA PRG:23BA BD 3C 04 cmp #$83 ; CPU:$E3BD PRG:23BD C9 83 - beq Label_E3C5 ; CPU:$E3BF PRG:23BF F0 04 + beq Sub_8764_OnZero_E3C5 ; CPU:$E3BF PRG:23BF F0 04 inc $043C,x ; CPU:$E3C1 PRG:23C1 FE 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C4 +; Routine: Sub_8764_OnCarrySet_E3C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9594,10 +9594,10 @@ Label_E3B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C4: +Sub_8764_OnCarrySet_E3C4: rts ; CPU:$E3C4 PRG:23C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C5 +; Routine: Sub_8764_OnZero_E3C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9605,8 +9605,8 @@ Label_E3C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C5: - jsr $DDDB ; CPU:$E3C5 PRG:23C5 20 DB DD +Sub_8764_OnZero_E3C5: + jsr SubCDDDB ; CPU:$E3C5 PRG:23C5 20 DB DD lda #$00 ; CPU:$E3C8 PRG:23C8 A9 00 sta $0589,x ; CPU:$E3CA PRG:23CA 9D 89 05 rts ; CPU:$E3CD PRG:23CD 60 @@ -9617,7 +9617,7 @@ Label_E3C5: .byte $15, $C5, $4C, $20, $E3, $A9, $FF, $8D, $65, $03, $D0, $22, $00, $9F, $14, $8A ; CPU:$E3FE PRG:23FE 15 C5 4C 20 E3 A9 FF 8D 65 03 D0 22 00 9F 14 8A .byte $00, $00, $14, $8A ; CPU:$E40E PRG:240E 00 00 14 8A ; ----------------------------------------------------------------------------- -; Routine: Label_E412 +; Routine: SubCE412 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9625,20 +9625,20 @@ Label_E3C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E412: - jsr $E587 ; CPU:$E412 PRG:2412 20 87 E5 +SubCE412: + jsr SubCE587 ; CPU:$E412 PRG:2412 20 87 E5 lda Zp3F ; CPU:$E415 PRG:2415 A5 3F - bne Label_E42C ; CPU:$E417 PRG:2417 D0 13 + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E417 PRG:2417 D0 13 lda ZpD4 ; CPU:$E419 PRG:2419 A5 D4 - beq Label_E42C ; CPU:$E41B PRG:241B F0 0F + beq Sub_8764_JoinBranchPaths_E42C ; CPU:$E41B PRG:241B F0 0F lda #$18 ; CPU:$E41D PRG:241D A9 18 - sta $400C ; CPU:$E41F PRG:241F 8D 0C 40 + sta APUNOISECTRL ; CPU:$E41F PRG:241F 8D 0C 40 lda #$08 ; CPU:$E422 PRG:2422 A9 08 - sta $400E ; CPU:$E424 PRG:2424 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$E424 PRG:2424 8D 0E 40 lda #$28 ; CPU:$E427 PRG:2427 A9 28 - sta $400F ; CPU:$E429 PRG:2429 8D 0F 40 + sta APUNOISELENGTH ; CPU:$E429 PRG:2429 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E42C +; Routine: Sub_8764_JoinBranchPaths_E42C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9646,10 +9646,10 @@ Label_E412: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E42C: - jmp $E320 ; CPU:$E42C PRG:242C 4C 20 E3 +Sub_8764_JoinBranchPaths_E42C: + jmp SubCE320 ; CPU:$E42C PRG:242C 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E42F +; Routine: SubCE42F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9657,12 +9657,12 @@ Label_E42C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E42F: +SubCE42F: lda ZpBB ; CPU:$E42F PRG:242F A5 BB - bmi Label_E435 ; CPU:$E431 PRG:2431 30 02 - bne Label_E42C ; CPU:$E433 PRG:2433 D0 F7 + bmi Sub_8764_OnNegative_E435 ; CPU:$E431 PRG:2431 30 02 + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E433 PRG:2433 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_E435 +; Routine: Sub_8764_OnNegative_E435 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9670,19 +9670,19 @@ Label_E42F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E435: +Sub_8764_OnNegative_E435: lda #$A6 ; CPU:$E435 PRG:2435 A9 A6 sta Zp25 ; CPU:$E437 PRG:2437 85 25 - jsr $E499 ; CPU:$E439 PRG:2439 20 99 E4 + jsr SubCE499 ; CPU:$E439 PRG:2439 20 99 E4 lda #$EC ; CPU:$E43C PRG:243C A9 EC sta Zp25 ; CPU:$E43E PRG:243E 85 25 lda #$50 ; CPU:$E440 PRG:2440 A9 50 sta Zp26 ; CPU:$E442 PRG:2442 85 26 lda #$F6 ; CPU:$E444 PRG:2444 A9 F6 ldx #$1E ; CPU:$E446 PRG:2446 A2 1E - bne Label_E456 ; CPU:$E448 PRG:2448 D0 0C + bne Sub_8764_OnNonzero_E456 ; CPU:$E448 PRG:2448 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E44A +; Routine: SubCE44A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9690,7 +9690,7 @@ Label_E435: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E44A: +SubCE44A: lda #$F6 ; CPU:$E44A PRG:244A A9 F6 sta Zp25 ; CPU:$E44C PRG:244C 85 25 lda #$0E ; CPU:$E44E PRG:244E A9 0E @@ -9698,7 +9698,7 @@ Label_E44A: lda #$F4 ; CPU:$E452 PRG:2452 A9 F4 ldx #$32 ; CPU:$E454 PRG:2454 A2 32 ; ----------------------------------------------------------------------------- -; Routine: Label_E456 +; Routine: Sub_8764_OnNonzero_E456 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9706,12 +9706,12 @@ Label_E44A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E456: +Sub_8764_OnNonzero_E456: sta Zp27 ; CPU:$E456 PRG:2456 85 27 stx Zp28 ; CPU:$E458 PRG:2458 86 28 ldx #$0F ; CPU:$E45A PRG:245A A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_E45C +; Routine: Sub_8764_OnNonnegative_E45C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9719,14 +9719,14 @@ Label_E456: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E45C: +Sub_8764_OnNonnegative_E45C: lda Zp65,x ; CPU:$E45C PRG:245C B5 65 cmp #$55 ; CPU:$E45E PRG:245E C9 55 - bcs Label_E466 ; CPU:$E460 PRG:2460 B0 04 + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E460 PRG:2460 B0 04 cmp #$3D ; CPU:$E462 PRG:2462 C9 3D - bcs Label_E46B ; CPU:$E464 PRG:2464 B0 05 + bcs Sub_8764_OnCarrySet_E46B ; CPU:$E464 PRG:2464 B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E466 +; Routine: Sub_8764_OnCarrySet_E466 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9734,12 +9734,12 @@ Label_E45C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E466: +Sub_8764_OnCarrySet_E466: dex ; CPU:$E466 PRG:2466 CA - bpl Label_E45C ; CPU:$E467 PRG:2467 10 F3 - bmi Label_E42C ; CPU:$E469 PRG:2469 30 C1 + bpl Sub_8764_OnNonnegative_E45C ; CPU:$E467 PRG:2467 10 F3 + bmi Sub_8764_JoinBranchPaths_E42C ; CPU:$E469 PRG:2469 30 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_E46B +; Routine: Sub_8764_OnCarrySet_E46B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9747,16 +9747,16 @@ Label_E466: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E46B: +Sub_8764_OnCarrySet_E46B: sec ; CPU:$E46B PRG:246B 38 lda Zp85,x ; CPU:$E46C PRG:246C B5 85 - sbc a:$0085,y ; CPU:$E46E PRG:246E F9 85 00 + sbc a:Zp85,y ; CPU:$E46E PRG:246E F9 85 00 cmp Zp25 ; CPU:$E471 PRG:2471 C5 25 - bcs Label_E479 ; CPU:$E473 PRG:2473 B0 04 + bcs Sub_8764_OnCarrySet_E479 ; CPU:$E473 PRG:2473 B0 04 cmp Zp26 ; CPU:$E475 PRG:2475 C5 26 - bcs Label_E466 ; CPU:$E477 PRG:2477 B0 ED + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E477 PRG:2477 B0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_E479 +; Routine: Sub_8764_OnCarrySet_E479 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9764,16 +9764,16 @@ Label_E46B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E479: +Sub_8764_OnCarrySet_E479: sec ; CPU:$E479 PRG:2479 38 lda Zp95,x ; CPU:$E47A PRG:247A B5 95 - sbc a:$0095,y ; CPU:$E47C PRG:247C F9 95 00 + sbc a:Zp95,y ; CPU:$E47C PRG:247C F9 95 00 cmp Zp27 ; CPU:$E47F PRG:247F C5 27 - bcs Label_E487 ; CPU:$E481 PRG:2481 B0 04 + bcs Sub_8764_OnCarrySet_E487 ; CPU:$E481 PRG:2481 B0 04 cmp Zp28 ; CPU:$E483 PRG:2483 C5 28 - bcs Label_E466 ; CPU:$E485 PRG:2485 B0 DF + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E485 PRG:2485 B0 DF ; ----------------------------------------------------------------------------- -; Routine: Label_E487 +; Routine: Sub_8764_OnCarrySet_E487 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9781,17 +9781,17 @@ Label_E479: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E487: +Sub_8764_OnCarrySet_E487: lda Zp65,x ; CPU:$E487 PRG:2487 B5 65 tax ; CPU:$E489 PRG:2489 AA lda #$01 ; CPU:$E48A PRG:248A A9 01 - jsr $E039 ; CPU:$E48C PRG:248C 20 39 E0 + jsr SubCE039 ; CPU:$E48C PRG:248C 20 39 E0 lda #$7C ; CPU:$E48F PRG:248F A9 7C sta $043D ; CPU:$E491 PRG:2491 8D 3D 04 - jsr $DDDB ; CPU:$E494 PRG:2494 20 DB DD - bne Label_E42C ; CPU:$E497 PRG:2497 D0 93 + jsr SubCDDDB ; CPU:$E494 PRG:2494 20 DB DD + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E497 PRG:2497 D0 93 ; ----------------------------------------------------------------------------- -; Routine: Label_E499 +; Routine: SubCE499 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9799,13 +9799,13 @@ Label_E487: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E499: - jsr $D8A7 ; CPU:$E499 PRG:2499 20 A7 D8 - beq Label_E4B6 ; CPU:$E49C PRG:249C F0 18 +SubCE499: + jsr SubCD8A7 ; CPU:$E499 PRG:2499 20 A7 D8 + beq Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E49C PRG:249C F0 18 lda $0368 ; CPU:$E49E PRG:249E AD 68 03 - bpl Label_E4B6 ; CPU:$E4A1 PRG:24A1 10 13 + bpl Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E4A1 PRG:24A1 10 13 lda #$0A ; CPU:$E4A3 PRG:24A3 A9 0A - jsr $E039 ; CPU:$E4A5 PRG:24A5 20 39 E0 + jsr SubCE039 ; CPU:$E4A5 PRG:24A5 20 39 E0 lda #$23 ; CPU:$E4A8 PRG:24A8 A9 23 sta Zp3B ; CPU:$E4AA PRG:24AA 85 3B lda #$22 ; CPU:$E4AC PRG:24AC A9 22 @@ -9813,7 +9813,7 @@ Label_E499: lda Zp25 ; CPU:$E4B1 PRG:24B1 A5 25 sta $0446 ; CPU:$E4B3 PRG:24B3 8D 46 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B6 +; Routine: Sub_8764_JoinBranchPaths_E4B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9821,10 +9821,10 @@ Label_E499: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B6: +Sub_8764_JoinBranchPaths_E4B6: rts ; CPU:$E4B6 PRG:24B6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B7 +; Routine: SubCE4B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9832,29 +9832,29 @@ Label_E4B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B7: +SubCE4B7: lda $0368 ; CPU:$E4B7 PRG:24B7 AD 68 03 - bmi Label_E4B6 ; CPU:$E4BA PRG:24BA 30 FA + bmi Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E4BA PRG:24BA 30 FA ldx #$0A ; CPU:$E4BC PRG:24BC A2 0A ldy $0446 ; CPU:$E4BE PRG:24BE AC 46 04 lda $E4C6,y ; CPU:$E4C1 PRG:24C1 B9 C6 E4 - jsr $EDD7 ; CPU:$E4C4 PRG:24C4 20 D7 ED + jsr SubCEDD7 ; CPU:$E4C4 PRG:24C4 20 D7 ED lda $E4CF,y ; CPU:$E4C7 PRG:24C7 B9 CF E4 - jsr $EDE2 ; CPU:$E4CA PRG:24CA 20 E2 ED + jsr SubCEDE2 ; CPU:$E4CA PRG:24CA 20 E2 ED lda ZpBD ; CPU:$E4CD PRG:24CD A5 BD eor #$07 ; CPU:$E4CF PRG:24CF 49 07 lsr a ; CPU:$E4D1 PRG:24D1 4A clc ; CPU:$E4D2 PRG:24D2 18 adc #$05 ; CPU:$E4D3 PRG:24D3 69 05 sta Zp54 ; CPU:$E4D5 PRG:24D5 85 54 - jsr $C412 ; CPU:$E4D7 PRG:24D7 20 12 C4 + jsr SubCC412 ; CPU:$E4D7 PRG:24D7 20 12 C4 cmp Zp54 ; CPU:$E4DA PRG:24DA C5 54 - bcc Label_E4E4 ; CPU:$E4DC PRG:24DC 90 06 + bcc Sub_8764_OnCarryClear_E4E4 ; CPU:$E4DC PRG:24DC 90 06 lda ZpA5 ; CPU:$E4DE PRG:24DE A5 A5 cmp #$03 ; CPU:$E4E0 PRG:24E0 C9 03 - bne Label_E4F7 ; CPU:$E4E2 PRG:24E2 D0 13 + bne Sub_8764_OnNonzero_E4F7 ; CPU:$E4E2 PRG:24E2 D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_E4E4 +; Routine: Sub_8764_OnCarryClear_E4E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9862,15 +9862,15 @@ Label_E4B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4E4: +Sub_8764_OnCarryClear_E4E4: dec Zp3B ; CPU:$E4E4 PRG:24E4 C6 3B - bne Label_E4F8 ; CPU:$E4E6 PRG:24E6 D0 10 + bne Sub_8764_OnNonzero_E4F8 ; CPU:$E4E6 PRG:24E6 D0 10 lda $04B5 ; CPU:$E4E8 PRG:24E8 AD B5 04 - bpl Label_E4F2 ; CPU:$E4EB PRG:24EB 10 05 + bpl Sub_8764_OnNonnegative_E4F2 ; CPU:$E4EB PRG:24EB 10 05 lda #$0A ; CPU:$E4ED PRG:24ED A9 0A - jsr $E621 ; CPU:$E4EF PRG:24EF 20 21 E6 + jsr SubCE621 ; CPU:$E4EF PRG:24EF 20 21 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F2 +; Routine: Sub_8764_OnNonnegative_E4F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9878,11 +9878,11 @@ Label_E4E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F2: +Sub_8764_OnNonnegative_E4F2: lda #$FF ; CPU:$E4F2 PRG:24F2 A9 FF sta $0368 ; CPU:$E4F4 PRG:24F4 8D 68 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F7 +; Routine: Sub_8764_OnNonzero_E4F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9890,10 +9890,10 @@ Label_E4F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F7: +Sub_8764_OnNonzero_E4F7: rts ; CPU:$E4F7 PRG:24F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F8 +; Routine: Sub_8764_OnNonzero_E4F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9901,19 +9901,19 @@ Label_E4F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F8: - jsr $EE66 ; CPU:$E4F8 PRG:24F8 20 66 EE +Sub_8764_OnNonzero_E4F8: + jsr SubCEE66 ; CPU:$E4F8 PRG:24F8 20 66 EE ldx #$0A ; CPU:$E4FB PRG:24FB A2 0A - jsr $E665 ; CPU:$E4FD PRG:24FD 20 65 E6 + jsr SubCE665 ; CPU:$E4FD PRG:24FD 20 65 E6 inc Zp03 ; CPU:$E500 PRG:2500 E6 03 lda Zp26 ; CPU:$E502 PRG:2502 A5 26 - bne Label_E50F ; CPU:$E504 PRG:2504 D0 09 + bne Sub_8764_OnNonzero_E50F ; CPU:$E504 PRG:2504 D0 09 lda Zp28 ; CPU:$E506 PRG:2506 A5 28 - beq Label_E518 ; CPU:$E508 PRG:2508 F0 0E + beq Sub_8764_OnZero_E518 ; CPU:$E508 PRG:2508 F0 0E dec Zp03 ; CPU:$E50A PRG:250A C6 03 - jmp $E544 ; CPU:$E50C PRG:250C 4C 44 E5 + jmp SubCE544 ; CPU:$E50C PRG:250C 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E50F +; Routine: Sub_8764_OnNonzero_E50F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9921,13 +9921,13 @@ Label_E4F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E50F: +Sub_8764_OnNonzero_E50F: lda Zp28 ; CPU:$E50F PRG:250F A5 28 - bne Label_E544 ; CPU:$E511 PRG:2511 D0 31 + bne SubCE544 ; CPU:$E511 PRG:2511 D0 31 inc Zp03 ; CPU:$E513 PRG:2513 E6 03 - jmp $E544 ; CPU:$E515 PRG:2515 4C 44 E5 + jmp SubCE544 ; CPU:$E515 PRG:2515 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E518 +; Routine: Sub_8764_OnZero_E518 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9935,17 +9935,17 @@ Label_E50F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E518: +Sub_8764_OnZero_E518: lda Zp25 ; CPU:$E518 PRG:2518 A5 25 cmp Zp27 ; CPU:$E51A PRG:251A C5 27 - bcc Label_E53B ; CPU:$E51C PRG:251C 90 1D + bcc Sub_8764_OnCarryClear_E53B ; CPU:$E51C PRG:251C 90 1D lsr a ; CPU:$E51E PRG:251E 4A cmp Zp27 ; CPU:$E51F PRG:251F C5 27 - bcc Label_E544 ; CPU:$E521 PRG:2521 90 21 + bcc SubCE544 ; CPU:$E521 PRG:2521 90 21 inc Zp03 ; CPU:$E523 PRG:2523 E6 03 - jmp $E544 ; CPU:$E525 PRG:2525 4C 44 E5 + jmp SubCE544 ; CPU:$E525 PRG:2525 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E528 +; Routine: Sub_8764_OnNegative_E528 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9953,11 +9953,11 @@ Label_E518: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E528: +Sub_8764_OnNegative_E528: cmp #$FC ; CPU:$E528 PRG:2528 C9 FC - bcs Label_E555 ; CPU:$E52A PRG:252A B0 29 + bcs Sub_8764_OnCarrySet_E555 ; CPU:$E52A PRG:252A B0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_E52C +; Routine: Sub_8764_OnCarryClear_E52C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9965,13 +9965,13 @@ Label_E528: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52C: +Sub_8764_OnCarryClear_E52C: lda $0446 ; CPU:$E52C PRG:252C AD 46 04 cmp #$A7 ; CPU:$E52F PRG:252F C9 A7 - bcs Label_E537 ; CPU:$E531 PRG:2531 B0 04 + bcs Sub_8764_OnCarrySet_E537 ; CPU:$E531 PRG:2531 B0 04 inc $0446 ; CPU:$E533 PRG:2533 EE 46 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E536 +; Routine: Sub_8764_OnZero_E536 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9979,10 +9979,10 @@ Label_E52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E536: +Sub_8764_OnZero_E536: rts ; CPU:$E536 PRG:2536 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E537 +; Routine: Sub_8764_OnCarrySet_E537 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9990,11 +9990,11 @@ Label_E536: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E537: +Sub_8764_OnCarrySet_E537: lda #$A0 ; CPU:$E537 PRG:2537 A9 A0 - bne Label_E562 ; CPU:$E539 PRG:2539 D0 27 + bne Sub_8764_OnNonzero_E562 ; CPU:$E539 PRG:2539 D0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_E53B +; Routine: Sub_8764_OnCarryClear_E53B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10002,14 +10002,14 @@ Label_E537: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E53B: +Sub_8764_OnCarryClear_E53B: lda Zp27 ; CPU:$E53B PRG:253B A5 27 lsr a ; CPU:$E53D PRG:253D 4A cmp Zp25 ; CPU:$E53E PRG:253E C5 25 - bcc Label_E544 ; CPU:$E540 PRG:2540 90 02 + bcc SubCE544 ; CPU:$E540 PRG:2540 90 02 dec Zp03 ; CPU:$E542 PRG:2542 C6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E544 +; Routine: SubCE544 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10017,17 +10017,17 @@ Label_E53B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E544: +SubCE544: ldy Zp03 ; CPU:$E544 PRG:2544 A4 03 lda $E578,y ; CPU:$E546 PRG:2546 B9 78 E5 sec ; CPU:$E549 PRG:2549 38 sbc $0446 ; CPU:$E54A PRG:254A ED 46 04 - beq Label_E536 ; CPU:$E54D PRG:254D F0 E7 - bmi Label_E528 ; CPU:$E54F PRG:254F 30 D7 + beq Sub_8764_OnZero_E536 ; CPU:$E54D PRG:254D F0 E7 + bmi Sub_8764_OnNegative_E528 ; CPU:$E54F PRG:254F 30 D7 cmp #$05 ; CPU:$E551 PRG:2551 C9 05 - bcc Label_E52C ; CPU:$E553 PRG:2553 90 D7 + bcc Sub_8764_OnCarryClear_E52C ; CPU:$E553 PRG:2553 90 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_E555 +; Routine: Sub_8764_OnCarrySet_E555 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10035,14 +10035,14 @@ Label_E544: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E555: +Sub_8764_OnCarrySet_E555: lda $0446 ; CPU:$E555 PRG:2555 AD 46 04 cmp #$A1 ; CPU:$E558 PRG:2558 C9 A1 - bcc Label_E560 ; CPU:$E55A PRG:255A 90 04 + bcc Sub_8764_OnCarryClear_E560 ; CPU:$E55A PRG:255A 90 04 dec $0446 ; CPU:$E55C PRG:255C CE 46 04 rts ; CPU:$E55F PRG:255F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E560 +; Routine: Sub_8764_OnCarryClear_E560 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10050,10 +10050,10 @@ Label_E555: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E560: +Sub_8764_OnCarryClear_E560: lda #$A7 ; CPU:$E560 PRG:2560 A9 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_E562 +; Routine: Sub_8764_OnNonzero_E562 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10061,7 +10061,7 @@ Label_E560: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E562: +Sub_8764_OnNonzero_E562: sta $0446 ; CPU:$E562 PRG:2562 8D 46 04 rts ; CPU:$E565 PRG:2565 60 ; ---- data $E566-$E586 (33 bytes) ---- @@ -10070,7 +10070,7 @@ Label_E562: .byte $83, $86, $A0, $A7, $A6, $00, $A4, $A5, $A6, $00, $A0, $A1, $A2, $00, $A4, $A3 ; CPU:$E576 PRG:2576 83 86 A0 A7 A6 00 A4 A5 A6 00 A0 A1 A2 00 A4 A3 .byte $A2 ; CPU:$E586 PRG:2586 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_E587 +; Routine: SubCE587 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10078,19 +10078,19 @@ Label_E562: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E587: +SubCE587: lda Zp36 ; CPU:$E587 PRG:2587 A5 36 and $E6CD,y ; CPU:$E589 PRG:2589 39 CD E6 - bne Label_E5C4 ; CPU:$E58C PRG:258C D0 36 + bne Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E58C PRG:258C D0 36 sec ; CPU:$E58E PRG:258E 38 lda ZpB5 ; CPU:$E58F PRG:258F A5 B5 - sbc a:$0095,y ; CPU:$E591 PRG:2591 F9 95 00 + sbc a:Zp95,y ; CPU:$E591 PRG:2591 F9 95 00 cmp #$F7 ; CPU:$E594 PRG:2594 C9 F7 - bcs Label_E59C ; CPU:$E596 PRG:2596 B0 04 + bcs Sub_8764_OnCarrySet_E59C ; CPU:$E596 PRG:2596 B0 04 cmp #$09 ; CPU:$E598 PRG:2598 C9 09 - bcs Label_E5C4 ; CPU:$E59A PRG:259A B0 28 + bcs Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E59A PRG:259A B0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_E59C +; Routine: Sub_8764_OnCarrySet_E59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10098,16 +10098,16 @@ Label_E587: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E59C: +Sub_8764_OnCarrySet_E59C: sec ; CPU:$E59C PRG:259C 38 lda ZpB4 ; CPU:$E59D PRG:259D A5 B4 - sbc a:$0085,y ; CPU:$E59F PRG:259F F9 85 00 + sbc a:Zp85,y ; CPU:$E59F PRG:259F F9 85 00 cmp #$F8 ; CPU:$E5A2 PRG:25A2 C9 F8 - bcs Label_E5AA ; CPU:$E5A4 PRG:25A4 B0 04 + bcs Sub_8764_OnCarrySet_E5AA ; CPU:$E5A4 PRG:25A4 B0 04 cmp #$08 ; CPU:$E5A6 PRG:25A6 C9 08 - bcs Label_E5C4 ; CPU:$E5A8 PRG:25A8 B0 1A + bcs Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E5A8 PRG:25A8 B0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_E5AA +; Routine: Sub_8764_OnCarrySet_E5AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10115,20 +10115,20 @@ Label_E59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5AA: +Sub_8764_OnCarrySet_E5AA: lda ZpB6 ; CPU:$E5AA PRG:25AA A5 B6 eor #$10 ; CPU:$E5AC PRG:25AC 49 10 sta ZpB6 ; CPU:$E5AE PRG:25AE 85 B6 - lda a:$0065,y ; CPU:$E5B0 PRG:25B0 B9 65 00 - jsr $E621 ; CPU:$E5B3 PRG:25B3 20 21 E6 - jsr $C412 ; CPU:$E5B6 PRG:25B6 20 12 C4 + lda a:Zp65,y ; CPU:$E5B0 PRG:25B0 B9 65 00 + jsr SubCE621 ; CPU:$E5B3 PRG:25B3 20 21 E6 + jsr SubCC412 ; CPU:$E5B6 PRG:25B6 20 12 C4 lsr a ; CPU:$E5B9 PRG:25B9 4A and #$07 ; CPU:$E5BA PRG:25BA 29 07 - jsr $E5C5 ; CPU:$E5BC PRG:25BC 20 C5 E5 + jsr SubCE5C5 ; CPU:$E5BC PRG:25BC 20 C5 E5 lda #$03 ; CPU:$E5BF PRG:25BF A9 03 - jsr $E5D5 ; CPU:$E5C1 PRG:25C1 20 D5 E5 + jsr SubCE5D5 ; CPU:$E5C1 PRG:25C1 20 D5 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5C4 +; Routine: Sub_8764_JoinBranchPaths_E5C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10136,10 +10136,10 @@ Label_E5AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C4: +Sub_8764_JoinBranchPaths_E5C4: rts ; CPU:$E5C4 PRG:25C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5C5 +; Routine: SubCE5C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10147,15 +10147,15 @@ Label_E5C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C5: +SubCE5C5: sty Zp00 ; CPU:$E5C5 PRG:25C5 84 00 ldy ZpD3 ; CPU:$E5C7 PRG:25C7 A4 D3 cpy #$03 ; CPU:$E5C9 PRG:25C9 C0 03 - bcc Label_E5D1 ; CPU:$E5CB PRG:25CB 90 04 + bcc Sub_8764_OnCarryClear_E5D1 ; CPU:$E5CB PRG:25CB 90 04 lda #$01 ; CPU:$E5CD PRG:25CD A9 01 - bne Label_E5E7 ; CPU:$E5CF PRG:25CF D0 16 + bne Sub_8764_JoinBranchPaths_E5E7 ; CPU:$E5CF PRG:25CF D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_E5D1 +; Routine: Sub_8764_OnCarryClear_E5D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10163,11 +10163,11 @@ Label_E5C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D1: +Sub_8764_OnCarryClear_E5D1: ldy #$0E ; CPU:$E5D1 PRG:25D1 A0 0E - bne Label_E5E9 ; CPU:$E5D3 PRG:25D3 D0 14 + bne Sub_8764_OnNonzero_E5E9 ; CPU:$E5D3 PRG:25D3 D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_E5D5 +; Routine: SubCE5D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10175,14 +10175,14 @@ Label_E5D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D5: +SubCE5D5: sty Zp00 ; CPU:$E5D5 PRG:25D5 84 00 ldy ZpDF ; CPU:$E5D7 PRG:25D7 A4 DF - beq Label_E5DF ; CPU:$E5D9 PRG:25D9 F0 04 + beq Sub_8764_OnZero_E5DF ; CPU:$E5D9 PRG:25D9 F0 04 ldy #$01 ; CPU:$E5DB PRG:25DB A0 01 sty ZpDF ; CPU:$E5DD PRG:25DD 84 DF ; ----------------------------------------------------------------------------- -; Routine: Label_E5DF +; Routine: Sub_8764_OnZero_E5DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10190,13 +10190,13 @@ Label_E5D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5DF: +Sub_8764_OnZero_E5DF: ldy ZpD3 ; CPU:$E5DF PRG:25DF A4 D3 cpy #$05 ; CPU:$E5E1 PRG:25E1 C0 05 - bcc Label_E5E7 ; CPU:$E5E3 PRG:25E3 90 02 + bcc Sub_8764_JoinBranchPaths_E5E7 ; CPU:$E5E3 PRG:25E3 90 02 lda #$05 ; CPU:$E5E5 PRG:25E5 A9 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E7 +; Routine: Sub_8764_JoinBranchPaths_E5E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10204,10 +10204,10 @@ Label_E5DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E7: +Sub_8764_JoinBranchPaths_E5E7: ldy #$0D ; CPU:$E5E7 PRG:25E7 A0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E5E9 +; Routine: Sub_8764_OnNonzero_E5E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10215,12 +10215,12 @@ Label_E5E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E9: - jsr $E5F1 ; CPU:$E5E9 PRG:25E9 20 F1 E5 +Sub_8764_OnNonzero_E5E9: + jsr SubCE5F1 ; CPU:$E5E9 PRG:25E9 20 F1 E5 ldy Zp00 ; CPU:$E5EC PRG:25EC A4 00 rts ; CPU:$E5EE PRG:25EE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5EF +; Routine: Sub_8764_OnNonzero_E5EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10228,10 +10228,10 @@ Label_E5E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5EF: +Sub_8764_OnNonzero_E5EF: ldy #$2B ; CPU:$E5EF PRG:25EF A0 2B ; ----------------------------------------------------------------------------- -; Routine: Label_E5F1 +; Routine: SubCE5F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10239,24 +10239,24 @@ Label_E5EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F1: +SubCE5F1: clc ; CPU:$E5F1 PRG:25F1 18 adc $0240,y ; CPU:$E5F2 PRG:25F2 79 40 02 pha ; CPU:$E5F5 PRG:25F5 48 cpy #$29 ; CPU:$E5F6 PRG:25F6 C0 29 - bne Label_E60D ; CPU:$E5F8 PRG:25F8 D0 13 + bne Sub_8764_JoinBranchPaths_E60D ; CPU:$E5F8 PRG:25F8 D0 13 and #$01 ; CPU:$E5FA PRG:25FA 29 01 - beq Label_E60D ; CPU:$E5FC PRG:25FC F0 0F + beq Sub_8764_JoinBranchPaths_E60D ; CPU:$E5FC PRG:25FC F0 0F lda ZpD6 ; CPU:$E5FE PRG:25FE A5 D6 clc ; CPU:$E600 PRG:2600 18 adc #$01 ; CPU:$E601 PRG:2601 69 01 and #$03 ; CPU:$E603 PRG:2603 29 03 sta ZpD6 ; CPU:$E605 PRG:2605 85 D6 lda Zp55 ; CPU:$E607 PRG:2607 A5 55 - bne Label_E60D ; CPU:$E609 PRG:2609 D0 02 + bne Sub_8764_JoinBranchPaths_E60D ; CPU:$E609 PRG:2609 D0 02 inc Zp55 ; CPU:$E60B PRG:260B E6 55 ; ----------------------------------------------------------------------------- -; Routine: Label_E60D +; Routine: Sub_8764_JoinBranchPaths_E60D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10264,18 +10264,18 @@ Label_E5F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E60D: +Sub_8764_JoinBranchPaths_E60D: pla ; CPU:$E60D PRG:260D 68 cmp #$2D ; CPU:$E60E PRG:260E C9 2D - bcc Label_E61D ; CPU:$E610 PRG:2610 90 0B + bcc Sub_8764_OnCarryClear_E61D ; CPU:$E610 PRG:2610 90 0B sec ; CPU:$E612 PRG:2612 38 sbc #$0A ; CPU:$E613 PRG:2613 E9 0A sta $0240,y ; CPU:$E615 PRG:2615 99 40 02 dey ; CPU:$E618 PRG:2618 88 lda #$01 ; CPU:$E619 PRG:2619 A9 01 - bne Label_E5F1 ; CPU:$E61B PRG:261B D0 D4 + bne SubCE5F1 ; CPU:$E61B PRG:261B D0 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_E61D +; Routine: Sub_8764_OnCarryClear_E61D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10283,10 +10283,10 @@ Label_E60D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E61D: +Sub_8764_OnCarryClear_E61D: sta $0240,y ; CPU:$E61D PRG:261D 99 40 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E620 +; Routine: Sub_8764_JoinBranchPaths_E620 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10294,10 +10294,10 @@ Label_E61D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E620: +Sub_8764_JoinBranchPaths_E620: rts ; CPU:$E620 PRG:2620 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E621 +; Routine: SubCE621 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10305,18 +10305,18 @@ Label_E620: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E621: +SubCE621: tax ; CPU:$E621 PRG:2621 AA tya ; CPU:$E622 PRG:2622 98 pha ; CPU:$E623 PRG:2623 48 cpx #$3D ; CPU:$E624 PRG:2624 E0 3D - bcc Label_E630 ; CPU:$E626 PRG:2626 90 08 + bcc Sub_8764_JoinBranchPaths_E630 ; CPU:$E626 PRG:2626 90 08 cpx #$55 ; CPU:$E628 PRG:2628 E0 55 - bcs Label_E630 ; CPU:$E62A PRG:262A B0 04 + bcs Sub_8764_JoinBranchPaths_E630 ; CPU:$E62A PRG:262A B0 04 ldy #$05 ; CPU:$E62C PRG:262C A0 05 - bne Label_E632 ; CPU:$E62E PRG:262E D0 02 + bne Sub_8764_OnNonzero_E632 ; CPU:$E62E PRG:262E D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E630 +; Routine: Sub_8764_JoinBranchPaths_E630 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10324,10 +10324,10 @@ Label_E621: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E630: +Sub_8764_JoinBranchPaths_E630: ldy #$01 ; CPU:$E630 PRG:2630 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E632 +; Routine: Sub_8764_OnNonzero_E632 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10335,28 +10335,28 @@ Label_E630: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E632: +Sub_8764_OnNonzero_E632: lda #$7D ; CPU:$E632 PRG:2632 A9 7D sta $043C,y ; CPU:$E634 PRG:2634 99 3C 04 - jsr $C4F5 ; CPU:$E637 PRG:2637 20 F5 C4 - jsr $E042 ; CPU:$E63A PRG:263A 20 42 E0 - jsr $DDDB ; CPU:$E63D PRG:263D 20 DB DD + jsr SubCC4F5 ; CPU:$E637 PRG:2637 20 F5 C4 + jsr SubCE042 ; CPU:$E63A PRG:263A 20 42 E0 + jsr SubCDDDB ; CPU:$E63D PRG:263D 20 DB DD lda #$32 ; CPU:$E640 PRG:2640 A9 32 sta $04AB,y ; CPU:$E642 PRG:2642 99 AB 04 pla ; CPU:$E645 PRG:2645 68 tay ; CPU:$E646 PRG:2646 A8 lda ZpD4 ; CPU:$E647 PRG:2647 A5 D4 - beq Label_E620 ; CPU:$E649 PRG:2649 F0 D5 + beq Sub_8764_JoinBranchPaths_E620 ; CPU:$E649 PRG:2649 F0 D5 cpx #$55 ; CPU:$E64B PRG:264B E0 55 - bcs Label_E65B ; CPU:$E64D PRG:264D B0 0C + bcs Sub_8764_OnCarrySet_E65B ; CPU:$E64D PRG:264D B0 0C cpx #$33 ; CPU:$E64F PRG:264F E0 33 - bcs Label_E65F ; CPU:$E651 PRG:2651 B0 0C + bcs Sub_8764_OnCarrySet_E65F ; CPU:$E651 PRG:2651 B0 0C cpx #$15 ; CPU:$E653 PRG:2653 E0 15 - bcc Label_E620 ; CPU:$E655 PRG:2655 90 C9 + bcc Sub_8764_JoinBranchPaths_E620 ; CPU:$E655 PRG:2655 90 C9 lda #$01 ; CPU:$E657 PRG:2657 A9 01 - bne Label_E5EF ; CPU:$E659 PRG:2659 D0 94 + bne Sub_8764_OnNonzero_E5EF ; CPU:$E659 PRG:2659 D0 94 ; ----------------------------------------------------------------------------- -; Routine: Label_E65B +; Routine: Sub_8764_OnCarrySet_E65B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10364,11 +10364,11 @@ Label_E632: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E65B: +Sub_8764_OnCarrySet_E65B: lda #$02 ; CPU:$E65B PRG:265B A9 02 - bne Label_E5EF ; CPU:$E65D PRG:265D D0 90 + bne Sub_8764_OnNonzero_E5EF ; CPU:$E65D PRG:265D D0 90 ; ----------------------------------------------------------------------------- -; Routine: Label_E65F +; Routine: Sub_8764_OnCarrySet_E65F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10376,12 +10376,12 @@ Label_E65B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E65F: +Sub_8764_OnCarrySet_E65F: lda #$05 ; CPU:$E65F PRG:265F A9 05 ldy #$2C ; CPU:$E661 PRG:2661 A0 2C - bne Label_E5F1 ; CPU:$E663 PRG:2663 D0 8C + bne SubCE5F1 ; CPU:$E663 PRG:2663 D0 8C ; ----------------------------------------------------------------------------- -; Routine: Label_E665 +; Routine: SubCE665 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10389,7 +10389,7 @@ Label_E65F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E665: +SubCE665: sec ; CPU:$E665 PRG:2665 38 lda $0280,x ; CPU:$E666 PRG:2666 BD 80 02 sbc Zp25 ; CPU:$E669 PRG:2669 E5 25 @@ -10397,16 +10397,16 @@ Label_E665: lda $035E,x ; CPU:$E66D PRG:266D BD 5E 03 sbc Zp26 ; CPU:$E670 PRG:2670 E5 26 sta Zp26 ; CPU:$E672 PRG:2672 85 26 - bpl Label_E684 ; CPU:$E674 PRG:2674 10 0E + bpl Sub_8764_OnNonnegative_E684 ; CPU:$E674 PRG:2674 10 0E eor #$FF ; CPU:$E676 PRG:2676 49 FF sta Zp26 ; CPU:$E678 PRG:2678 85 26 lda Zp25 ; CPU:$E67A PRG:267A A5 25 eor #$FF ; CPU:$E67C PRG:267C 49 FF sta Zp25 ; CPU:$E67E PRG:267E 85 25 lda #$08 ; CPU:$E680 PRG:2680 A9 08 - bne Label_E686 ; CPU:$E682 PRG:2682 D0 02 + bne Sub_8764_OnNonzero_E686 ; CPU:$E682 PRG:2682 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E684 +; Routine: Sub_8764_OnNonnegative_E684 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10414,10 +10414,10 @@ Label_E665: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E684: +Sub_8764_OnNonnegative_E684: lda #$00 ; CPU:$E684 PRG:2684 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E686 +; Routine: Sub_8764_OnNonzero_E686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10425,11 +10425,11 @@ Label_E684: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E686: +Sub_8764_OnNonzero_E686: sta Zp03 ; CPU:$E686 PRG:2686 85 03 lda Zp26 ; CPU:$E688 PRG:2688 A5 26 cmp #$07 ; CPU:$E68A PRG:268A C9 07 - bcc Label_E699 ; CPU:$E68C PRG:268C 90 0B + bcc Sub_8764_OnCarryClear_E699 ; CPU:$E68C PRG:268C 90 0B sec ; CPU:$E68E PRG:268E 38 sbc #$07 ; CPU:$E68F PRG:268F E9 07 sta Zp26 ; CPU:$E691 PRG:2691 85 26 @@ -10437,7 +10437,7 @@ Label_E686: eor #$08 ; CPU:$E695 PRG:2695 49 08 sta Zp03 ; CPU:$E697 PRG:2697 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E699 +; Routine: Sub_8764_OnCarryClear_E699 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10445,7 +10445,7 @@ Label_E686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E699: +Sub_8764_OnCarryClear_E699: sec ; CPU:$E699 PRG:2699 38 lda $02EF,x ; CPU:$E69A PRG:269A BD EF 02 sbc Zp27 ; CPU:$E69D PRG:269D E5 27 @@ -10453,7 +10453,7 @@ Label_E699: lda $03CD,x ; CPU:$E6A1 PRG:26A1 BD CD 03 sbc Zp28 ; CPU:$E6A4 PRG:26A4 E5 28 sta Zp28 ; CPU:$E6A6 PRG:26A6 85 28 - bpl Label_E6BB ; CPU:$E6A8 PRG:26A8 10 11 + bpl Sub_8764_OnNonnegative_E6BB ; CPU:$E6A8 PRG:26A8 10 11 eor #$FF ; CPU:$E6AA PRG:26AA 49 FF sta Zp28 ; CPU:$E6AC PRG:26AC 85 28 lda Zp27 ; CPU:$E6AE PRG:26AE A5 27 @@ -10464,7 +10464,7 @@ Label_E699: adc #$04 ; CPU:$E6B7 PRG:26B7 69 04 sta Zp03 ; CPU:$E6B9 PRG:26B9 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E6BB +; Routine: Sub_8764_OnNonnegative_E6BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10472,10 +10472,10 @@ Label_E699: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6BB: +Sub_8764_OnNonnegative_E6BB: lda Zp28 ; CPU:$E6BB PRG:26BB A5 28 cmp #$04 ; CPU:$E6BD PRG:26BD C9 04 - bcc Label_E6CC ; CPU:$E6BF PRG:26BF 90 0B + bcc Sub_8764_OnCarryClear_E6CC ; CPU:$E6BF PRG:26BF 90 0B sec ; CPU:$E6C1 PRG:26C1 38 sbc #$04 ; CPU:$E6C2 PRG:26C2 E9 04 sta Zp28 ; CPU:$E6C4 PRG:26C4 85 28 @@ -10483,7 +10483,7 @@ Label_E6BB: eor #$04 ; CPU:$E6C8 PRG:26C8 49 04 sta Zp03 ; CPU:$E6CA PRG:26CA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E6CC +; Routine: Sub_8764_OnCarryClear_E6CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10491,7 +10491,7 @@ Label_E6BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6CC: +Sub_8764_OnCarryClear_E6CC: rts ; CPU:$E6CC PRG:26CC 60 ; ---- data $E6CD-$E6E4 (24 bytes) ---- ; referenced by `and $E6CD,x` at $D730 (operand $E6CD falls inside this region) @@ -10504,7 +10504,7 @@ Label_E6CC: .byte $01, $02, $04, $08, $10, $20, $40, $80, $01, $02, $04, $08, $10, $20, $40, $80 ; CPU:$E6CD PRG:26CD 01 02 04 08 10 20 40 80 01 02 04 08 10 20 40 80 .byte $FE, $FD, $FB, $F7, $EF, $DF, $BF, $7F ; CPU:$E6DD PRG:26DD FE FD FB F7 EF DF BF 7F ; ----------------------------------------------------------------------------- -; Routine: Label_E6E5 +; Routine: SubCE6E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10512,15 +10512,15 @@ Label_E6CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E5: +SubCE6E5: lda ZpD4 ; CPU:$E6E5 PRG:26E5 A5 D4 - beq Label_E6FF ; CPU:$E6E7 PRG:26E7 F0 16 + beq Sub_8764_JoinBranchPaths_E6FF ; CPU:$E6E7 PRG:26E7 F0 16 lda Zp50 ; CPU:$E6E9 PRG:26E9 A5 50 lsr a ; CPU:$E6EB PRG:26EB 4A - bcc Label_E6F0 ; CPU:$E6EC PRG:26EC 90 02 + bcc Sub_8764_OnCarryClear_E6F0 ; CPU:$E6EC PRG:26EC 90 02 inc ZpB6 ; CPU:$E6EE PRG:26EE E6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F0 +; Routine: Sub_8764_OnCarryClear_E6F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10528,12 +10528,12 @@ Label_E6E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F0: +Sub_8764_OnCarryClear_E6F0: lsr a ; CPU:$E6F0 PRG:26F0 4A - bcc Label_E6F5 ; CPU:$E6F1 PRG:26F1 90 02 + bcc Sub_8764_OnCarryClear_E6F5 ; CPU:$E6F1 PRG:26F1 90 02 dec ZpB6 ; CPU:$E6F3 PRG:26F3 C6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F5 +; Routine: Sub_8764_OnCarryClear_E6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10541,12 +10541,12 @@ Label_E6F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F5: +Sub_8764_OnCarryClear_E6F5: lsr a ; CPU:$E6F5 PRG:26F5 4A - bcc Label_E6FA ; CPU:$E6F6 PRG:26F6 90 02 + bcc Sub_8764_OnCarryClear_E6FA ; CPU:$E6F6 PRG:26F6 90 02 dec Zp11 ; CPU:$E6F8 PRG:26F8 C6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FA +; Routine: Sub_8764_OnCarryClear_E6FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10554,12 +10554,12 @@ Label_E6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FA: +Sub_8764_OnCarryClear_E6FA: lsr a ; CPU:$E6FA PRG:26FA 4A - bcc Label_E6FF ; CPU:$E6FB PRG:26FB 90 02 + bcc Sub_8764_JoinBranchPaths_E6FF ; CPU:$E6FB PRG:26FB 90 02 inc Zp11 ; CPU:$E6FD PRG:26FD E6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FF +; Routine: Sub_8764_JoinBranchPaths_E6FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10567,10 +10567,10 @@ Label_E6FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FF: +Sub_8764_JoinBranchPaths_E6FF: rts ; CPU:$E6FF PRG:26FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E700 +; Routine: SubCE700 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10578,14 +10578,14 @@ Label_E6FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E700: - jsr $E6E5 ; CPU:$E700 PRG:2700 20 E5 E6 +SubCE700: + jsr SubCE6E5 ; CPU:$E700 PRG:2700 20 E5 E6 lda Zp07 ; CPU:$E703 PRG:2703 A5 07 - bpl Label_E70B ; CPU:$E705 PRG:2705 10 04 + bpl Sub_8764_OnNonnegative_E70B ; CPU:$E705 PRG:2705 10 04 lda #$00 ; CPU:$E707 PRG:2707 A9 00 sta Zp11 ; CPU:$E709 PRG:2709 85 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E70B +; Routine: Sub_8764_OnNonnegative_E70B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10593,16 +10593,16 @@ Label_E700: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E70B: +Sub_8764_OnNonnegative_E70B: lda Zp11 ; CPU:$E70B PRG:270B A5 11 - bmi Label_E723 ; CPU:$E70D PRG:270D 30 14 + bmi Sub_8764_OnNegative_E723 ; CPU:$E70D PRG:270D 30 14 cmp Zp3C ; CPU:$E70F PRG:270F C5 3C - bcc Label_E718 ; CPU:$E711 PRG:2711 90 05 + bcc Sub_8764_OnCarryClear_E718 ; CPU:$E711 PRG:2711 90 05 ldy Zp3C ; CPU:$E713 PRG:2713 A4 3C dey ; CPU:$E715 PRG:2715 88 sty Zp11 ; CPU:$E716 PRG:2716 84 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E718 +; Routine: Sub_8764_OnCarryClear_E718 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10610,14 +10610,14 @@ Label_E70B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E718: - jsr $D3AF ; CPU:$E718 PRG:2718 20 AF D3 - jsr $E740 ; CPU:$E71B PRG:271B 20 40 E7 +Sub_8764_OnCarryClear_E718: + jsr SubCD3AF ; CPU:$E718 PRG:2718 20 AF D3 + jsr SubCE740 ; CPU:$E71B PRG:271B 20 40 E7 lda #$00 ; CPU:$E71E PRG:271E A9 00 sta Zp38 ; CPU:$E720 PRG:2720 85 38 rts ; CPU:$E722 PRG:2722 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E723 +; Routine: Sub_8764_OnNegative_E723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10625,11 +10625,11 @@ Label_E718: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E723: +Sub_8764_OnNegative_E723: lda #$0A ; CPU:$E723 PRG:2723 A9 0A sta Zp11 ; CPU:$E725 PRG:2725 85 11 sta Zp38 ; CPU:$E727 PRG:2727 85 38 - jsr $D3AF ; CPU:$E729 PRG:2729 20 AF D3 + jsr SubCD3AF ; CPU:$E729 PRG:2729 20 AF D3 lda Zp46 ; CPU:$E72C PRG:272C A5 46 eor #$FF ; CPU:$E72E PRG:272E 49 FF sta Zp46 ; CPU:$E730 PRG:2730 85 46 @@ -10641,7 +10641,7 @@ Label_E723: lda #$00 ; CPU:$E73C PRG:273C A9 00 sta Zp11 ; CPU:$E73E PRG:273E 85 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E740 +; Routine: SubCE740 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10649,7 +10649,7 @@ Label_E723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E740: +SubCE740: lda #$13 ; CPU:$E740 PRG:2740 A9 13 sta Zp00 ; CPU:$E742 PRG:2742 85 00 lda #$1C ; CPU:$E744 PRG:2744 A9 1C @@ -10658,7 +10658,7 @@ Label_E740: lda Zp45 ; CPU:$E74A PRG:274A A5 45 sec ; CPU:$E74C PRG:274C 38 sbc ZpA9 ; CPU:$E74D PRG:274D E5 A9 - jsr $E77F ; CPU:$E74F PRG:274F 20 7F E7 + jsr SubCE77F ; CPU:$E74F PRG:274F 20 7F E7 stx ZpA9 ; CPU:$E752 PRG:2752 86 A9 lda #$10 ; CPU:$E754 PRG:2754 A9 10 sta Zp00 ; CPU:$E756 PRG:2756 85 00 @@ -10668,13 +10668,13 @@ Label_E740: lda Zp46 ; CPU:$E75E PRG:275E A5 46 sec ; CPU:$E760 PRG:2760 38 sbc ZpAA ; CPU:$E761 PRG:2761 E5 AA - jsr $E77F ; CPU:$E763 PRG:2763 20 7F E7 + jsr SubCE77F ; CPU:$E763 PRG:2763 20 7F E7 stx ZpAA ; CPU:$E766 PRG:2766 86 AA ldx #$00 ; CPU:$E768 PRG:2768 A2 00 - jsr $E76E ; CPU:$E76A PRG:276A 20 6E E7 + jsr SubCE76E ; CPU:$E76A PRG:276A 20 6E E7 inx ; CPU:$E76D PRG:276D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E76E +; Routine: SubCE76E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10682,13 +10682,13 @@ Label_E740: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E76E: +SubCE76E: lda ZpA9,x ; CPU:$E76E PRG:276E B5 A9 - bpl Label_E777 ; CPU:$E770 PRG:2770 10 05 + bpl Sub_8764_OnNonnegative_E777 ; CPU:$E770 PRG:2770 10 05 and #$7F ; CPU:$E772 PRG:2772 29 7F - jmp $E77C ; CPU:$E774 PRG:2774 4C 7C E7 + jmp SubCE77C ; CPU:$E774 PRG:2774 4C 7C E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E777 +; Routine: Sub_8764_OnNonnegative_E777 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10696,12 +10696,12 @@ Label_E76E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E777: +Sub_8764_OnNonnegative_E777: sec ; CPU:$E777 PRG:2777 38 lda #$80 ; CPU:$E778 PRG:2778 A9 80 sbc ZpA9,x ; CPU:$E77A PRG:277A F5 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E77C +; Routine: SubCE77C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10709,11 +10709,11 @@ Label_E777: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77C: +SubCE77C: sta Zp13,x ; CPU:$E77C PRG:277C 95 13 rts ; CPU:$E77E PRG:277E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E77F +; Routine: SubCE77F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10721,17 +10721,17 @@ Label_E77C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77F: - beq Label_E790 ; CPU:$E77F PRG:277F F0 0F - bpl Label_E791 ; CPU:$E781 PRG:2781 10 0E +SubCE77F: + beq Sub_8764_OnZero_E790 ; CPU:$E77F PRG:277F F0 0F + bpl Sub_8764_OnNonnegative_E791 ; CPU:$E781 PRG:2781 10 0E eor #$FF ; CPU:$E783 PRG:2783 49 FF cmp Zp00 ; CPU:$E785 PRG:2785 C5 00 - bcc Label_E78F ; CPU:$E787 PRG:2787 90 06 + bcc Sub_8764_OnCarryClear_E78F ; CPU:$E787 PRG:2787 90 06 cmp Zp01 ; CPU:$E789 PRG:2789 C5 01 - bcc Label_E78E ; CPU:$E78B PRG:278B 90 01 + bcc Sub_8764_OnCarryClear_E78E ; CPU:$E78B PRG:278B 90 01 dex ; CPU:$E78D PRG:278D CA ; ----------------------------------------------------------------------------- -; Routine: Label_E78E +; Routine: Sub_8764_OnCarryClear_E78E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10739,10 +10739,10 @@ Label_E77F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E78E: +Sub_8764_OnCarryClear_E78E: dex ; CPU:$E78E PRG:278E CA ; ----------------------------------------------------------------------------- -; Routine: Label_E78F +; Routine: Sub_8764_OnCarryClear_E78F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10750,10 +10750,10 @@ Label_E78E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E78F: +Sub_8764_OnCarryClear_E78F: dex ; CPU:$E78F PRG:278F CA ; ----------------------------------------------------------------------------- -; Routine: Label_E790 +; Routine: Sub_8764_OnZero_E790 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10761,10 +10761,10 @@ Label_E78F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E790: +Sub_8764_OnZero_E790: rts ; CPU:$E790 PRG:2790 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E791 +; Routine: Sub_8764_OnNonnegative_E791 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10772,14 +10772,14 @@ Label_E790: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E791: +Sub_8764_OnNonnegative_E791: cmp Zp00 ; CPU:$E791 PRG:2791 C5 00 - bcc Label_E79B ; CPU:$E793 PRG:2793 90 06 + bcc Sub_8764_OnCarryClear_E79B ; CPU:$E793 PRG:2793 90 06 cmp Zp01 ; CPU:$E795 PRG:2795 C5 01 - bcc Label_E79A ; CPU:$E797 PRG:2797 90 01 + bcc Sub_8764_OnCarryClear_E79A ; CPU:$E797 PRG:2797 90 01 inx ; CPU:$E799 PRG:2799 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E79A +; Routine: Sub_8764_OnCarryClear_E79A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10787,10 +10787,10 @@ Label_E791: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79A: +Sub_8764_OnCarryClear_E79A: inx ; CPU:$E79A PRG:279A E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E79B +; Routine: Sub_8764_OnCarryClear_E79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10798,11 +10798,11 @@ Label_E79A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79B: +Sub_8764_OnCarryClear_E79B: inx ; CPU:$E79B PRG:279B E8 rts ; CPU:$E79C PRG:279C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E79D +; Routine: SubCE79D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10810,10 +10810,10 @@ Label_E79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79D: +SubCE79D: jmp ($0017) ; CPU:$E79D PRG:279D 6C 17 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A0 +; Routine: SubCE7A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10821,10 +10821,10 @@ Label_E79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A0: +SubCE7A0: jmp ($0019) ; CPU:$E7A0 PRG:27A0 6C 19 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A3 +; Routine: SubCE7A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10832,10 +10832,10 @@ Label_E7A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A3: - jmp ($001B) ; CPU:$E7A3 PRG:27A3 6C 1B 00 +SubCE7A3: + jmp (Zp1B) ; CPU:$E7A3 PRG:27A3 6C 1B 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A6 +; Routine: SubCE7A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10843,15 +10843,15 @@ Label_E7A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A6: +SubCE7A6: lda ZpC3 ; CPU:$E7A6 PRG:27A6 A5 C3 and #$07 ; CPU:$E7A8 PRG:27A8 29 07 cmp #$07 ; CPU:$E7AA PRG:27AA C9 07 - bne Label_E7B3 ; CPU:$E7AC PRG:27AC D0 05 + bne Sub_8764_OnNonzero_E7B3 ; CPU:$E7AC PRG:27AC D0 05 ldx #$00 ; CPU:$E7AE PRG:27AE A2 00 - jsr $E806 ; CPU:$E7B0 PRG:27B0 20 06 E8 + jsr SubCE806 ; CPU:$E7B0 PRG:27B0 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B3 +; Routine: Sub_8764_OnNonzero_E7B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10859,14 +10859,14 @@ Label_E7A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B3: +Sub_8764_OnNonzero_E7B3: lda ZpC3 ; CPU:$E7B3 PRG:27B3 A5 C3 cmp #$EF ; CPU:$E7B5 PRG:27B5 C9 EF - bne Label_E7BD ; CPU:$E7B7 PRG:27B7 D0 04 + bne Sub_8764_OnNonzero_E7BD ; CPU:$E7B7 PRG:27B7 D0 04 lda #$FF ; CPU:$E7B9 PRG:27B9 A9 FF sta ZpC3 ; CPU:$E7BB PRG:27BB 85 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E7BD +; Routine: Sub_8764_OnNonzero_E7BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10874,11 +10874,11 @@ Label_E7B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7BD: +Sub_8764_OnNonzero_E7BD: inc ZpC3 ; CPU:$E7BD PRG:27BD E6 C3 rts ; CPU:$E7BF PRG:27BF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7C0 +; Routine: SubCE7C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10886,14 +10886,14 @@ Label_E7BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7C0: +SubCE7C0: lda ZpC3 ; CPU:$E7C0 PRG:27C0 A5 C3 and #$07 ; CPU:$E7C2 PRG:27C2 29 07 - bne Label_E7CB ; CPU:$E7C4 PRG:27C4 D0 05 + bne Sub_8764_OnNonzero_E7CB ; CPU:$E7C4 PRG:27C4 D0 05 ldx #$01 ; CPU:$E7C6 PRG:27C6 A2 01 - jsr $E806 ; CPU:$E7C8 PRG:27C8 20 06 E8 + jsr SubCE806 ; CPU:$E7C8 PRG:27C8 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7CB +; Routine: Sub_8764_OnNonzero_E7CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10901,13 +10901,13 @@ Label_E7C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7CB: +Sub_8764_OnNonzero_E7CB: lda ZpC3 ; CPU:$E7CB PRG:27CB A5 C3 - bne Label_E7D3 ; CPU:$E7CD PRG:27CD D0 04 + bne Sub_8764_OnNonzero_E7D3 ; CPU:$E7CD PRG:27CD D0 04 lda #$F0 ; CPU:$E7CF PRG:27CF A9 F0 sta ZpC3 ; CPU:$E7D1 PRG:27D1 85 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E7D3 +; Routine: Sub_8764_OnNonzero_E7D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10915,11 +10915,11 @@ Label_E7CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7D3: +Sub_8764_OnNonzero_E7D3: dec ZpC3 ; CPU:$E7D3 PRG:27D3 C6 C3 rts ; CPU:$E7D5 PRG:27D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7D6 +; Routine: SubCE7D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10927,15 +10927,15 @@ Label_E7D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7D6: +SubCE7D6: lda ZpC1 ; CPU:$E7D6 PRG:27D6 A5 C1 and #$07 ; CPU:$E7D8 PRG:27D8 29 07 cmp #$07 ; CPU:$E7DA PRG:27DA C9 07 - bne Label_E7E3 ; CPU:$E7DC PRG:27DC D0 05 + bne Sub_8764_OnNonzero_E7E3 ; CPU:$E7DC PRG:27DC D0 05 ldx #$02 ; CPU:$E7DE PRG:27DE A2 02 - jsr $E806 ; CPU:$E7E0 PRG:27E0 20 06 E8 + jsr SubCE806 ; CPU:$E7E0 PRG:27E0 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7E3 +; Routine: Sub_8764_OnNonzero_E7E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10943,14 +10943,14 @@ Label_E7D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7E3: +Sub_8764_OnNonzero_E7E3: inc ZpC1 ; CPU:$E7E3 PRG:27E3 E6 C1 - bne Label_E7ED ; CPU:$E7E5 PRG:27E5 D0 06 + bne Sub_8764_OnNonzero_E7ED ; CPU:$E7E5 PRG:27E5 D0 06 lda ZpC2 ; CPU:$E7E7 PRG:27E7 A5 C2 eor #$01 ; CPU:$E7E9 PRG:27E9 49 01 sta ZpC2 ; CPU:$E7EB PRG:27EB 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E7ED +; Routine: Sub_8764_OnNonzero_E7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10958,10 +10958,10 @@ Label_E7E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7ED: +Sub_8764_OnNonzero_E7ED: rts ; CPU:$E7ED PRG:27ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7EE +; Routine: Sub_8764_Return_E7EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10969,14 +10969,14 @@ Label_E7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7EE: +Sub_8764_Return_E7EE: lda ZpC1 ; CPU:$E7EE PRG:27EE A5 C1 and #$07 ; CPU:$E7F0 PRG:27F0 29 07 - bne Label_E7F9 ; CPU:$E7F2 PRG:27F2 D0 05 + bne Sub_8764_OnNonzero_E7F9 ; CPU:$E7F2 PRG:27F2 D0 05 ldx #$03 ; CPU:$E7F4 PRG:27F4 A2 03 - jsr $E806 ; CPU:$E7F6 PRG:27F6 20 06 E8 + jsr SubCE806 ; CPU:$E7F6 PRG:27F6 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F9 +; Routine: Sub_8764_OnNonzero_E7F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10984,14 +10984,14 @@ Label_E7EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F9: +Sub_8764_OnNonzero_E7F9: lda ZpC1 ; CPU:$E7F9 PRG:27F9 A5 C1 - bne Label_E803 ; CPU:$E7FB PRG:27FB D0 06 + bne Sub_8764_OnNonzero_E803 ; CPU:$E7FB PRG:27FB D0 06 lda ZpC2 ; CPU:$E7FD PRG:27FD A5 C2 eor #$01 ; CPU:$E7FF PRG:27FF 49 01 sta ZpC2 ; CPU:$E801 PRG:2801 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E803 +; Routine: Sub_8764_OnNonzero_E803 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10999,11 +10999,11 @@ Label_E7F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E803: +Sub_8764_OnNonzero_E803: dec ZpC1 ; CPU:$E803 PRG:2803 C6 C1 rts ; CPU:$E805 PRG:2805 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E806 +; Routine: SubCE806 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11011,18 +11011,18 @@ Label_E803: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E806: +SubCE806: lda $E821,x ; CPU:$E806 PRG:2806 BD 21 E8 sta Zp1B ; CPU:$E809 PRG:2809 85 1B lda $E825,x ; CPU:$E80B PRG:280B BD 25 E8 sta Zp1C ; CPU:$E80E PRG:280E 85 1C lda $E829,x ; CPU:$E810 PRG:2810 BD 29 E8 pha ; CPU:$E813 PRG:2813 48 - jsr $E7A3 ; CPU:$E814 PRG:2814 20 A3 E7 + jsr SubCE7A3 ; CPU:$E814 PRG:2814 20 A3 E7 pla ; CPU:$E817 PRG:2817 68 sta $0200 ; CPU:$E818 PRG:2818 8D 00 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E81B +; Routine: Sub_8764_OnNonzero_E81B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11030,9 +11030,9 @@ Label_E806: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E81B: +Sub_8764_OnNonzero_E81B: lda $0200 ; CPU:$E81B PRG:281B AD 00 02 - bne Label_E81B ; CPU:$E81E PRG:281E D0 FB + bne Sub_8764_OnNonzero_E81B ; CPU:$E81E PRG:281E D0 FB rts ; CPU:$E820 PRG:2820 60 ; ---- data $E821-$E82C (12 bytes) ---- ; referenced by `lda $E821,x` at $E806 (operand $E821 falls inside this region) @@ -11040,7 +11040,7 @@ Label_E81B: ; referenced by `lda $E829,x` at $E810 (operand $E829 falls inside this region) .byte $03, $BB, $76, $25, $F3, $F2, $F3, $F3, $08, $04, $02, $01 ; CPU:$E821 PRG:2821 03 BB 76 25 F3 F2 F3 F3 08 04 02 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E82D +; Routine: SubCE82D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11048,16 +11048,16 @@ Label_E81B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E82D: +SubCE82D: lda #$01 ; CPU:$E82D PRG:282D A9 01 sta Zp1E ; CPU:$E82F PRG:282F 85 1E - jsr $C5A1 ; CPU:$E831 PRG:2831 20 A1 C5 + jsr SubCC5A1 ; CPU:$E831 PRG:2831 20 A1 C5 ldx #$01 ; CPU:$E834 PRG:2834 A2 01 ldy #$02 ; CPU:$E836 PRG:2836 A0 02 - jsr $E89E ; CPU:$E838 PRG:2838 20 9E E8 - jmp $E859 ; CPU:$E83B PRG:283B 4C 59 E8 + jsr SubCE89E ; CPU:$E838 PRG:2838 20 9E E8 + jmp SubCE859 ; CPU:$E83B PRG:283B 4C 59 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E83E +; Routine: SubCE83E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11065,20 +11065,20 @@ Label_E82D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E83E: - jsr $C5A1 ; CPU:$E83E PRG:283E 20 A1 C5 +SubCE83E: + jsr SubCC5A1 ; CPU:$E83E PRG:283E 20 A1 C5 ldx #$01 ; CPU:$E841 PRG:2841 A2 01 ldy #$02 ; CPU:$E843 PRG:2843 A0 02 - jsr $E85C ; CPU:$E845 PRG:2845 20 5C E8 + jsr SubCE85C ; CPU:$E845 PRG:2845 20 5C E8 ldx #$00 ; CPU:$E848 PRG:2848 A2 00 ldy #$00 ; CPU:$E84A PRG:284A A0 00 - jsr $E85C ; CPU:$E84C PRG:284C 20 5C E8 - jsr $E86F ; CPU:$E84F PRG:284F 20 6F E8 + jsr SubCE85C ; CPU:$E84C PRG:284C 20 5C E8 + jsr SubCE86F ; CPU:$E84F PRG:284F 20 6F E8 ldx #$01 ; CPU:$E852 PRG:2852 A2 01 ldy #$02 ; CPU:$E854 PRG:2854 A0 02 - jsr $E86F ; CPU:$E856 PRG:2856 20 6F E8 + jsr SubCE86F ; CPU:$E856 PRG:2856 20 6F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E859 +; Routine: SubCE859 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11086,10 +11086,10 @@ Label_E83E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E859: - jmp $C59C ; CPU:$E859 PRG:2859 4C 9C C5 +SubCE859: + jmp SubCC59C ; CPU:$E859 PRG:2859 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_E85C +; Routine: SubCE85C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11097,7 +11097,7 @@ Label_E859: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E85C: +SubCE85C: clc ; CPU:$E85C PRG:285C 18 lda Zp13,x ; CPU:$E85D PRG:285D B5 13 adc Zp15,x ; CPU:$E85F PRG:285F 75 15 @@ -11111,7 +11111,7 @@ Label_E85C: sta Zp15,x ; CPU:$E86C PRG:286C 95 15 rts ; CPU:$E86E PRG:286E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E86F +; Routine: SubCE86F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11119,19 +11119,19 @@ Label_E85C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E86F: +SubCE86F: sec ; CPU:$E86F PRG:286F 38 lda ZpA7,x ; CPU:$E870 PRG:2870 B5 A7 sbc ZpA9,x ; CPU:$E872 PRG:2872 F5 A9 sta Zp29 ; CPU:$E874 PRG:2874 85 29 lda ZpA9,x ; CPU:$E876 PRG:2876 B5 A9 - bpl Label_E882 ; CPU:$E878 PRG:2878 10 08 + bpl Sub_8764_OnNonnegative_E882 ; CPU:$E878 PRG:2878 10 08 sec ; CPU:$E87A PRG:287A 38 lda Zp29 ; CPU:$E87B PRG:287B A5 29 sbc Zp00,x ; CPU:$E87D PRG:287D F5 00 - jmp $E887 ; CPU:$E87F PRG:287F 4C 87 E8 + jmp SubCE887 ; CPU:$E87F PRG:287F 4C 87 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E882 +; Routine: Sub_8764_OnNonnegative_E882 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11139,12 +11139,12 @@ Label_E86F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E882: +Sub_8764_OnNonnegative_E882: clc ; CPU:$E882 PRG:2882 18 lda Zp29 ; CPU:$E883 PRG:2883 A5 29 adc Zp00,x ; CPU:$E885 PRG:2885 75 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E887 +; Routine: SubCE887 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11152,8 +11152,8 @@ Label_E882: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E887: - bpl Label_E8CB ; CPU:$E887 PRG:2887 10 42 +SubCE887: + bpl Sub_8764_OnNonnegative_E8CB ; CPU:$E887 PRG:2887 10 42 sta Zp29 ; CPU:$E889 PRG:2889 85 29 sec ; CPU:$E88B PRG:288B 38 lda #$00 ; CPU:$E88C PRG:288C A9 00 @@ -11164,7 +11164,7 @@ Label_E887: lda $E91C,y ; CPU:$E898 PRG:2898 B9 1C E9 sta a:$0018,y ; CPU:$E89B PRG:289B 99 18 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E89E +; Routine: SubCE89E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11172,25 +11172,25 @@ Label_E887: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89E: +SubCE89E: sec ; CPU:$E89E PRG:289E 38 - lda a:$00AE,y ; CPU:$E89F PRG:289F B9 AE 00 + lda a:ZpAE,y ; CPU:$E89F PRG:289F B9 AE 00 sbc Zp1D,x ; CPU:$E8A2 PRG:28A2 F5 1D - sta a:$00AE,y ; CPU:$E8A4 PRG:28A4 99 AE 00 - bcs Label_E8C6 ; CPU:$E8A7 PRG:28A7 B0 1D - lda a:$00AF,y ; CPU:$E8A9 PRG:28A9 B9 AF 00 + sta a:ZpAE,y ; CPU:$E8A4 PRG:28A4 99 AE 00 + bcs SubCE8C6 ; CPU:$E8A7 PRG:28A7 B0 1D + lda a:ZpAF,y ; CPU:$E8A9 PRG:28A9 B9 AF 00 sbc #$00 ; CPU:$E8AC PRG:28AC E9 00 - sta a:$00AF,y ; CPU:$E8AE PRG:28AE 99 AF 00 - bpl Label_E8C6 ; CPU:$E8B1 PRG:28B1 10 13 + sta a:ZpAF,y ; CPU:$E8AE PRG:28AE 99 AF 00 + bpl SubCE8C6 ; CPU:$E8B1 PRG:28B1 10 13 sec ; CPU:$E8B3 PRG:28B3 38 - lda a:$00AE,y ; CPU:$E8B4 PRG:28B4 B9 AE 00 + lda a:ZpAE,y ; CPU:$E8B4 PRG:28B4 B9 AE 00 sbc $E90F,x ; CPU:$E8B7 PRG:28B7 FD 0F E9 - sta a:$00AE,y ; CPU:$E8BA PRG:28BA 99 AE 00 - lda a:$00AF,y ; CPU:$E8BD PRG:28BD B9 AF 00 + sta a:ZpAE,y ; CPU:$E8BA PRG:28BA 99 AE 00 + lda a:ZpAF,y ; CPU:$E8BD PRG:28BD B9 AF 00 sbc $E911,x ; CPU:$E8C0 PRG:28C0 FD 11 E9 - sta a:$00AF,y ; CPU:$E8C3 PRG:28C3 99 AF 00 + sta a:ZpAF,y ; CPU:$E8C3 PRG:28C3 99 AF 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C6 +; Routine: SubCE8C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11198,12 +11198,12 @@ Label_E89E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C6: +SubCE8C6: lda ZpA9,x ; CPU:$E8C6 PRG:28C6 B5 A9 sta ZpA7,x ; CPU:$E8C8 PRG:28C8 95 A7 rts ; CPU:$E8CA PRG:28CA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8CB +; Routine: Sub_8764_OnNonnegative_E8CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11211,27 +11211,27 @@ Label_E8C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8CB: +Sub_8764_OnNonnegative_E8CB: sta Zp1D,x ; CPU:$E8CB PRG:28CB 95 1D lda $E91F,y ; CPU:$E8CD PRG:28CD B9 1F E9 sta a:$0017,y ; CPU:$E8D0 PRG:28D0 99 17 00 lda $E920,y ; CPU:$E8D3 PRG:28D3 B9 20 E9 sta a:$0018,y ; CPU:$E8D6 PRG:28D6 99 18 00 clc ; CPU:$E8D9 PRG:28D9 18 - lda a:$00AE,y ; CPU:$E8DA PRG:28DA B9 AE 00 + lda a:ZpAE,y ; CPU:$E8DA PRG:28DA B9 AE 00 adc Zp1D,x ; CPU:$E8DD PRG:28DD 75 1D - sta a:$00AE,y ; CPU:$E8DF PRG:28DF 99 AE 00 - lda a:$00AF,y ; CPU:$E8E2 PRG:28E2 B9 AF 00 + sta a:ZpAE,y ; CPU:$E8DF PRG:28DF 99 AE 00 + lda a:ZpAF,y ; CPU:$E8E2 PRG:28E2 B9 AF 00 adc #$00 ; CPU:$E8E5 PRG:28E5 69 00 - sta a:$00AF,y ; CPU:$E8E7 PRG:28E7 99 AF 00 + sta a:ZpAF,y ; CPU:$E8E7 PRG:28E7 99 AF 00 cmp $E913,x ; CPU:$E8EA PRG:28EA DD 13 E9 - bcc Label_E8C6 ; CPU:$E8ED PRG:28ED 90 D7 - bne Label_E8F9 ; CPU:$E8EF PRG:28EF D0 08 - lda a:$00AE,y ; CPU:$E8F1 PRG:28F1 B9 AE 00 + bcc SubCE8C6 ; CPU:$E8ED PRG:28ED 90 D7 + bne Sub_8764_OnNonzero_E8F9 ; CPU:$E8EF PRG:28EF D0 08 + lda a:ZpAE,y ; CPU:$E8F1 PRG:28F1 B9 AE 00 cmp $E919,x ; CPU:$E8F4 PRG:28F4 DD 19 E9 - bcc Label_E8C6 ; CPU:$E8F7 PRG:28F7 90 CD + bcc SubCE8C6 ; CPU:$E8F7 PRG:28F7 90 CD ; ----------------------------------------------------------------------------- -; Routine: Label_E8F9 +; Routine: Sub_8764_OnNonzero_E8F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11239,15 +11239,15 @@ Label_E8CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8F9: +Sub_8764_OnNonzero_E8F9: sec ; CPU:$E8F9 PRG:28F9 38 - lda a:$00AE,y ; CPU:$E8FA PRG:28FA B9 AE 00 + lda a:ZpAE,y ; CPU:$E8FA PRG:28FA B9 AE 00 sbc $E915,x ; CPU:$E8FD PRG:28FD FD 15 E9 - sta a:$00AE,y ; CPU:$E900 PRG:2900 99 AE 00 - lda a:$00AF,y ; CPU:$E903 PRG:2903 B9 AF 00 + sta a:ZpAE,y ; CPU:$E900 PRG:2900 99 AE 00 + lda a:ZpAF,y ; CPU:$E903 PRG:2903 B9 AF 00 sbc $E917,x ; CPU:$E906 PRG:2906 FD 17 E9 - sta a:$00AF,y ; CPU:$E909 PRG:2909 99 AF 00 - jmp $E8C6 ; CPU:$E90C PRG:290C 4C C6 E8 + sta a:ZpAF,y ; CPU:$E909 PRG:2909 99 AF 00 + jmp SubCE8C6 ; CPU:$E90C PRG:290C 4C C6 E8 ; ---- data $E90F-$E922 (20 bytes) ---- ; referenced by `lda $E91B,y` at $E892 (operand $E91B falls inside this region) ; referenced by `lda $E91C,y` at $E898 (operand $E91C falls inside this region) @@ -11259,7 +11259,7 @@ Label_E8F9: .byte $80, $30, $F3, $F8, $0C, $07, $80, $D0, $0C, $07, $80, $D0, $EE, $E7, $C0, $E7 ; CPU:$E90F PRG:290F 80 30 F3 F8 0C 07 80 D0 0C 07 80 D0 EE E7 C0 E7 .byte $D6, $E7, $A6, $E7 ; CPU:$E91F PRG:291F D6 E7 A6 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E923 +; Routine: SubCE923 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11267,12 +11267,12 @@ Label_E8F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E923: +SubCE923: lda Zp0B ; CPU:$E923 PRG:2923 A5 0B - beq Label_E929 ; CPU:$E925 PRG:2925 F0 02 + beq Sub_8764_OnZero_E929 ; CPU:$E925 PRG:2925 F0 02 lda #$02 ; CPU:$E927 PRG:2927 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E929 +; Routine: Sub_8764_OnZero_E929 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11280,12 +11280,12 @@ Label_E923: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E929: +Sub_8764_OnZero_E929: sta Zp36 ; CPU:$E929 PRG:2929 85 36 sta Zp37 ; CPU:$E92B PRG:292B 85 37 ldy #$00 ; CPU:$E92D PRG:292D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E92F +; Routine: Sub_8764_OnCarryClear_E92F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11293,13 +11293,13 @@ Label_E929: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92F: - lda a:$0065,y ; CPU:$E92F PRG:292F B9 65 00 - beq Label_E939 ; CPU:$E932 PRG:2932 F0 05 - bmi Label_E939 ; CPU:$E934 PRG:2934 30 03 - jsr $E9A5 ; CPU:$E936 PRG:2936 20 A5 E9 +Sub_8764_OnCarryClear_E92F: + lda a:Zp65,y ; CPU:$E92F PRG:292F B9 65 00 + beq Sub_8764_JoinBranchPaths_E939 ; CPU:$E932 PRG:2932 F0 05 + bmi Sub_8764_JoinBranchPaths_E939 ; CPU:$E934 PRG:2934 30 03 + jsr SubCE9A5 ; CPU:$E936 PRG:2936 20 A5 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E939 +; Routine: Sub_8764_JoinBranchPaths_E939 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11307,12 +11307,12 @@ Label_E92F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E939: +Sub_8764_JoinBranchPaths_E939: iny ; CPU:$E939 PRG:2939 C8 cpy #$10 ; CPU:$E93A PRG:293A C0 10 - bcc Label_E92F ; CPU:$E93C PRG:293C 90 F1 + bcc Sub_8764_OnCarryClear_E92F ; CPU:$E93C PRG:293C 90 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_E93E +; Routine: SubCE93E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11320,9 +11320,9 @@ Label_E939: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E93E: +SubCE93E: ldy Zp09 ; CPU:$E93E PRG:293E A4 09 - beq Label_E967 ; CPU:$E940 PRG:2940 F0 25 + beq Sub_8764_OnZero_E967 ; CPU:$E940 PRG:2940 F0 25 tya ; CPU:$E942 PRG:2942 98 and Zp37 ; CPU:$E943 PRG:2943 25 37 sta Zp37 ; CPU:$E945 PRG:2945 85 37 @@ -11335,7 +11335,7 @@ Label_E93E: ldy Zp31 ; CPU:$E951 PRG:2951 A4 31 tya ; CPU:$E953 PRG:2953 98 and Zp36 ; CPU:$E954 PRG:2954 25 36 - jsr $EAD2 ; CPU:$E956 PRG:2956 20 D2 EA + jsr SubCEAD2 ; CPU:$E956 PRG:2956 20 D2 EA tya ; CPU:$E959 PRG:2959 98 and Zp32 ; CPU:$E95A PRG:295A 25 32 ora Zp33 ; CPU:$E95C PRG:295C 05 33 @@ -11345,7 +11345,7 @@ Label_E93E: ora Zp35 ; CPU:$E963 PRG:2963 05 35 sta Zp35 ; CPU:$E965 PRG:2965 85 35 ; ----------------------------------------------------------------------------- -; Routine: Label_E967 +; Routine: Sub_8764_OnZero_E967 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11353,10 +11353,10 @@ Label_E93E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E967: +Sub_8764_OnZero_E967: rts ; CPU:$E967 PRG:2967 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E968 +; Routine: Sub_8764_OnNonnegative_E968 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11364,7 +11364,7 @@ Label_E967: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E968: +Sub_8764_OnNonnegative_E968: lda $043C,x ; CPU:$E968 PRG:2968 BD 3C 04 sta $06D7,y ; CPU:$E96B PRG:296B 99 D7 06 sec ; CPU:$E96E PRG:296E 38 @@ -11374,7 +11374,7 @@ Label_E968: lda $03CD,x ; CPU:$E976 PRG:2976 BD CD 03 sbc ZpB1 ; CPU:$E979 PRG:2979 E5 B1 sta Zp2A ; CPU:$E97B PRG:297B 85 2A - bpl Label_E98C ; CPU:$E97D PRG:297D 10 0D + bpl Sub_8764_OnNonnegative_E98C ; CPU:$E97D PRG:297D 10 0D clc ; CPU:$E97F PRG:297F 18 lda Zp29 ; CPU:$E980 PRG:2980 A5 29 adc #$D0 ; CPU:$E982 PRG:2982 69 D0 @@ -11383,7 +11383,7 @@ Label_E968: adc #$07 ; CPU:$E988 PRG:2988 69 07 sta Zp2A ; CPU:$E98A PRG:298A 85 2A ; ----------------------------------------------------------------------------- -; Routine: Label_E98C +; Routine: Sub_8764_OnNonnegative_E98C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11391,14 +11391,14 @@ Label_E968: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E98C: - beq Label_E996 ; CPU:$E98C PRG:298C F0 08 +Sub_8764_OnNonnegative_E98C: + beq Sub_8764_OnZero_E996 ; CPU:$E98C PRG:298C F0 08 lda Zp29 ; CPU:$E98E PRG:298E A5 29 cmp #$9E ; CPU:$E990 PRG:2990 C9 9E - bcs Label_E9AE ; CPU:$E992 PRG:2992 B0 1A - bcc Label_E99C ; CPU:$E994 PRG:2994 90 06 + bcs SubCE9AE ; CPU:$E992 PRG:2992 B0 1A + bcc Sub_8764_OnCarryClear_E99C ; CPU:$E994 PRG:2994 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E996 +; Routine: Sub_8764_OnZero_E996 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11406,12 +11406,12 @@ Label_E98C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E996: +Sub_8764_OnZero_E996: lda Zp29 ; CPU:$E996 PRG:2996 A5 29 cmp #$9E ; CPU:$E998 PRG:2998 C9 9E - bcc Label_E9AE ; CPU:$E99A PRG:299A 90 12 + bcc SubCE9AE ; CPU:$E99A PRG:299A 90 12 ; ----------------------------------------------------------------------------- -; Routine: Label_E99C +; Routine: Sub_8764_OnCarryClear_E99C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11419,13 +11419,13 @@ Label_E996: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E99C: +Sub_8764_OnCarryClear_E99C: sec ; CPU:$E99C PRG:299C 38 sbc #$A2 ; CPU:$E99D PRG:299D E9 A2 - sta a:$0095,y ; CPU:$E99F PRG:299F 99 95 00 - jmp $EA01 ; CPU:$E9A2 PRG:29A2 4C 01 EA + sta a:Zp95,y ; CPU:$E99F PRG:299F 99 95 00 + jmp SubCEA01 ; CPU:$E9A2 PRG:29A2 4C 01 EA ; ----------------------------------------------------------------------------- -; Routine: Label_E9A5 +; Routine: SubCE9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11433,13 +11433,13 @@ Label_E99C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A5: - lda a:$0065,y ; CPU:$E9A5 PRG:29A5 B9 65 00 +SubCE9A5: + lda a:Zp65,y ; CPU:$E9A5 PRG:29A5 B9 65 00 tax ; CPU:$E9A8 PRG:29A8 AA lda $035E,x ; CPU:$E9A9 PRG:29A9 BD 5E 03 - bpl Label_E968 ; CPU:$E9AC PRG:29AC 10 BA + bpl Sub_8764_OnNonnegative_E968 ; CPU:$E9AC PRG:29AC 10 BA ; ----------------------------------------------------------------------------- -; Routine: Label_E9AE +; Routine: SubCE9AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11447,14 +11447,14 @@ Label_E9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AE: +SubCE9AE: cpx #$0A ; CPU:$E9AE PRG:29AE E0 0A - bcs Label_E9BA ; CPU:$E9B0 PRG:29B0 B0 08 + bcs Sub_8764_OnCarrySet_E9BA ; CPU:$E9B0 PRG:29B0 B0 08 lda #$00 ; CPU:$E9B2 PRG:29B2 A9 00 sta $0589,x ; CPU:$E9B4 PRG:29B4 9D 89 05 - jsr $DDDB ; CPU:$E9B7 PRG:29B7 20 DB DD + jsr SubCDDDB ; CPU:$E9B7 PRG:29B7 20 DB DD ; ----------------------------------------------------------------------------- -; Routine: Label_E9BA +; Routine: Sub_8764_OnCarrySet_E9BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11462,16 +11462,16 @@ Label_E9AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9BA: +Sub_8764_OnCarrySet_E9BA: lda $04AB,x ; CPU:$E9BA PRG:29BA BD AB 04 and #$7F ; CPU:$E9BD PRG:29BD 29 7F sta $04AB,x ; CPU:$E9BF PRG:29BF 9D AB 04 lda #$FF ; CPU:$E9C2 PRG:29C2 A9 FF - sta a:$0065,y ; CPU:$E9C4 PRG:29C4 99 65 00 + sta a:Zp65,y ; CPU:$E9C4 PRG:29C4 99 65 00 cpy #$08 ; CPU:$E9C7 PRG:29C7 C0 08 - bcc Label_E9D7 ; CPU:$E9C9 PRG:29C9 90 0C + bcc Sub_8764_OnCarryClear_E9D7 ; CPU:$E9C9 PRG:29C9 90 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E9CB +; Routine: SubCE9CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11479,7 +11479,7 @@ Label_E9BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9CB: +SubCE9CB: lda $E6D5,y ; CPU:$E9CB PRG:29CB B9 D5 E6 and Zp09 ; CPU:$E9CE PRG:29CE 25 09 sta Zp09 ; CPU:$E9D0 PRG:29D0 85 09 @@ -11487,7 +11487,7 @@ Label_E9CB: sta Zp31 ; CPU:$E9D4 PRG:29D4 85 31 rts ; CPU:$E9D6 PRG:29D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9D7 +; Routine: Sub_8764_OnCarryClear_E9D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11495,12 +11495,12 @@ Label_E9CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D7: +Sub_8764_OnCarryClear_E9D7: lda Zp09 ; CPU:$E9D7 PRG:29D7 A5 09 - beq Label_E9E8 ; CPU:$E9D9 PRG:29D9 F0 0D + beq Sub_8764_OnZero_E9E8 ; CPU:$E9D9 PRG:29D9 F0 0D ldx #$0B ; CPU:$E9DB PRG:29DB A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E9DD +; Routine: Sub_8764_OnCarryClear_E9DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11508,12 +11508,12 @@ Label_E9D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DD: +Sub_8764_OnCarryClear_E9DD: lda Zp65,x ; CPU:$E9DD PRG:29DD B5 65 - beq Label_E9E3 ; CPU:$E9DF PRG:29DF F0 02 - bpl Label_E9E9 ; CPU:$E9E1 PRG:29E1 10 06 + beq Sub_8764_OnZero_E9E3 ; CPU:$E9DF PRG:29DF F0 02 + bpl Sub_8764_OnNonnegative_E9E9 ; CPU:$E9E1 PRG:29E1 10 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E3 +; Routine: Sub_8764_OnZero_E9E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11521,12 +11521,12 @@ Label_E9DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E3: +Sub_8764_OnZero_E9E3: inx ; CPU:$E9E3 PRG:29E3 E8 cpx #$10 ; CPU:$E9E4 PRG:29E4 E0 10 - bcc Label_E9DD ; CPU:$E9E6 PRG:29E6 90 F5 + bcc Sub_8764_OnCarryClear_E9DD ; CPU:$E9E6 PRG:29E6 90 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E8 +; Routine: Sub_8764_OnZero_E9E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11534,10 +11534,10 @@ Label_E9E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E8: +Sub_8764_OnZero_E9E8: rts ; CPU:$E9E8 PRG:29E8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E9 +; Routine: Sub_8764_OnNonnegative_E9E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11545,20 +11545,20 @@ Label_E9E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E9: +Sub_8764_OnNonnegative_E9E9: stx Zp29 ; CPU:$E9E9 PRG:29E9 86 29 sty Zp2A ; CPU:$E9EB PRG:29EB 84 2A tax ; CPU:$E9ED PRG:29ED AA - jsr $EC9E ; CPU:$E9EE PRG:29EE 20 9E EC + jsr SubCEC9E ; CPU:$E9EE PRG:29EE 20 9E EC ldy Zp29 ; CPU:$E9F1 PRG:29F1 A4 29 - jsr $E9CB ; CPU:$E9F3 PRG:29F3 20 CB E9 + jsr SubCE9CB ; CPU:$E9F3 PRG:29F3 20 CB E9 lda #$FA ; CPU:$E9F6 PRG:29F6 A9 FA - sta a:$0065,y ; CPU:$E9F8 PRG:29F8 99 65 00 - sta a:$0095,y ; CPU:$E9FB PRG:29FB 99 95 00 + sta a:Zp65,y ; CPU:$E9F8 PRG:29F8 99 65 00 + sta a:Zp95,y ; CPU:$E9FB PRG:29FB 99 95 00 ldy Zp2A ; CPU:$E9FE PRG:29FE A4 2A rts ; CPU:$EA00 PRG:2A00 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA01 +; Routine: SubCEA01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11566,7 +11566,7 @@ Label_E9E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA01: +SubCEA01: sec ; CPU:$EA01 PRG:2A01 38 lda $0280,x ; CPU:$EA02 PRG:2A02 BD 80 02 sbc ZpAE ; CPU:$EA05 PRG:2A05 E5 AE @@ -11574,7 +11574,7 @@ Label_EA01: lda $035E,x ; CPU:$EA09 PRG:2A09 BD 5E 03 sbc ZpAF ; CPU:$EA0C PRG:2A0C E5 AF sta Zp2A ; CPU:$EA0E PRG:2A0E 85 2A - bpl Label_EA1F ; CPU:$EA10 PRG:2A10 10 0D + bpl Sub_8764_OnNonnegative_EA1F ; CPU:$EA10 PRG:2A10 10 0D clc ; CPU:$EA12 PRG:2A12 18 lda Zp29 ; CPU:$EA13 PRG:2A13 A5 29 adc #$80 ; CPU:$EA15 PRG:2A15 69 80 @@ -11583,7 +11583,7 @@ Label_EA01: adc #$0C ; CPU:$EA1B PRG:2A1B 69 0C sta Zp2A ; CPU:$EA1D PRG:2A1D 85 2A ; ----------------------------------------------------------------------------- -; Routine: Label_EA1F +; Routine: Sub_8764_OnNonnegative_EA1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11591,17 +11591,17 @@ Label_EA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA1F: - beq Label_E9AE ; CPU:$EA1F PRG:2A1F F0 8D +Sub_8764_OnNonnegative_EA1F: + beq SubCE9AE ; CPU:$EA1F PRG:2A1F F0 8D cmp #$01 ; CPU:$EA21 PRG:2A21 C9 01 - beq Label_EA66 ; CPU:$EA23 PRG:2A23 F0 41 + beq Sub_8764_OnZero_EA66 ; CPU:$EA23 PRG:2A23 F0 41 lda $043C,x ; CPU:$EA25 PRG:2A25 BD 3C 04 cmp #$A9 ; CPU:$EA28 PRG:2A28 C9 A9 - bcc Label_EA30 ; CPU:$EA2A PRG:2A2A 90 04 + bcc Sub_8764_OnCarryClear_EA30 ; CPU:$EA2A PRG:2A2A 90 04 cmp #$AD ; CPU:$EA2C PRG:2A2C C9 AD - bcc Label_EA4E ; CPU:$EA2E PRG:2A2E 90 1E + bcc Sub_8764_OnCarryClear_EA4E ; CPU:$EA2E PRG:2A2E 90 1E ; ----------------------------------------------------------------------------- -; Routine: Label_EA30 +; Routine: Sub_8764_OnCarryClear_EA30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11609,13 +11609,13 @@ Label_EA1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA30: +Sub_8764_OnCarryClear_EA30: cmp #$66 ; CPU:$EA30 PRG:2A30 C9 66 - bcc Label_EA38 ; CPU:$EA32 PRG:2A32 90 04 + bcc Sub_8764_OnCarryClear_EA38 ; CPU:$EA32 PRG:2A32 90 04 cmp #$68 ; CPU:$EA34 PRG:2A34 C9 68 - bcc Label_EA45 ; CPU:$EA36 PRG:2A36 90 0D + bcc Sub_8764_OnCarryClear_EA45 ; CPU:$EA36 PRG:2A36 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_EA38 +; Routine: Sub_8764_OnCarryClear_EA38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11623,15 +11623,15 @@ Label_EA30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA38: +Sub_8764_OnCarryClear_EA38: cmp #$64 ; CPU:$EA38 PRG:2A38 C9 64 - bne Label_EA5A ; CPU:$EA3A PRG:2A3A D0 1E + bne Sub_8764_OnNonzero_EA5A ; CPU:$EA3A PRG:2A3A D0 1E lda Zp29 ; CPU:$EA3C PRG:2A3C A5 29 cmp #$32 ; CPU:$EA3E PRG:2A3E C9 32 - bcc Label_EA57 ; CPU:$EA40 PRG:2A40 90 15 - jmp $E9AE ; CPU:$EA42 PRG:2A42 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA40 PRG:2A40 90 15 + jmp SubCE9AE ; CPU:$EA42 PRG:2A42 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA45 +; Routine: Sub_8764_OnCarryClear_EA45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11639,13 +11639,13 @@ Label_EA38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA45: +Sub_8764_OnCarryClear_EA45: lda Zp29 ; CPU:$EA45 PRG:2A45 A5 29 cmp #$56 ; CPU:$EA47 PRG:2A47 C9 56 - bcc Label_EA57 ; CPU:$EA49 PRG:2A49 90 0C - jmp $E9AE ; CPU:$EA4B PRG:2A4B 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA49 PRG:2A49 90 0C + jmp SubCE9AE ; CPU:$EA4B PRG:2A4B 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA4E +; Routine: Sub_8764_OnCarryClear_EA4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11653,13 +11653,13 @@ Label_EA45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4E: +Sub_8764_OnCarryClear_EA4E: lda Zp29 ; CPU:$EA4E PRG:2A4E A5 29 cmp #$4A ; CPU:$EA50 PRG:2A50 C9 4A - bcc Label_EA57 ; CPU:$EA52 PRG:2A52 90 03 - jmp $E9AE ; CPU:$EA54 PRG:2A54 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA52 PRG:2A52 90 03 + jmp SubCE9AE ; CPU:$EA54 PRG:2A54 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA57 +; Routine: Sub_8764_OnCarryClear_EA57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11667,10 +11667,10 @@ Label_EA4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA57: - jmp $EAB5 ; CPU:$EA57 PRG:2A57 4C B5 EA +Sub_8764_OnCarryClear_EA57: + jmp SubCEAB5 ; CPU:$EA57 PRG:2A57 4C B5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA5A +; Routine: Sub_8764_OnNonzero_EA5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11678,13 +11678,13 @@ Label_EA57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5A: +Sub_8764_OnNonzero_EA5A: lda Zp29 ; CPU:$EA5A PRG:2A5A A5 29 cmp #$5A ; CPU:$EA5C PRG:2A5C C9 5A - bcc Label_EA63 ; CPU:$EA5E PRG:2A5E 90 03 - jmp $E9AE ; CPU:$EA60 PRG:2A60 4C AE E9 + bcc Sub_8764_OnCarryClear_EA63 ; CPU:$EA5E PRG:2A5E 90 03 + jmp SubCE9AE ; CPU:$EA60 PRG:2A60 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA63 +; Routine: Sub_8764_OnCarryClear_EA63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11692,10 +11692,10 @@ Label_EA5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA63: - jmp $EAB5 ; CPU:$EA63 PRG:2A63 4C B5 EA +Sub_8764_OnCarryClear_EA63: + jmp SubCEAB5 ; CPU:$EA63 PRG:2A63 4C B5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA66 +; Routine: Sub_8764_OnZero_EA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11703,14 +11703,14 @@ Label_EA63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA66: +Sub_8764_OnZero_EA66: lda $043C,x ; CPU:$EA66 PRG:2A66 BD 3C 04 cmp #$A9 ; CPU:$EA69 PRG:2A69 C9 A9 - bcc Label_EA71 ; CPU:$EA6B PRG:2A6B 90 04 + bcc Sub_8764_OnCarryClear_EA71 ; CPU:$EA6B PRG:2A6B 90 04 cmp #$AD ; CPU:$EA6D PRG:2A6D C9 AD - bcc Label_EA8F ; CPU:$EA6F PRG:2A6F 90 1E + bcc Sub_8764_OnCarryClear_EA8F ; CPU:$EA6F PRG:2A6F 90 1E ; ----------------------------------------------------------------------------- -; Routine: Label_EA71 +; Routine: Sub_8764_OnCarryClear_EA71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11718,13 +11718,13 @@ Label_EA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA71: +Sub_8764_OnCarryClear_EA71: cmp #$66 ; CPU:$EA71 PRG:2A71 C9 66 - bcc Label_EA79 ; CPU:$EA73 PRG:2A73 90 04 + bcc Sub_8764_OnCarryClear_EA79 ; CPU:$EA73 PRG:2A73 90 04 cmp #$68 ; CPU:$EA75 PRG:2A75 C9 68 - bcc Label_EA86 ; CPU:$EA77 PRG:2A77 90 0D + bcc Sub_8764_OnCarryClear_EA86 ; CPU:$EA77 PRG:2A77 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_EA79 +; Routine: Sub_8764_OnCarryClear_EA79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11732,15 +11732,15 @@ Label_EA71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA79: +Sub_8764_OnCarryClear_EA79: cmp #$64 ; CPU:$EA79 PRG:2A79 C9 64 - bne Label_EA9B ; CPU:$EA7B PRG:2A7B D0 1E + bne Sub_8764_OnNonzero_EA9B ; CPU:$EA7B PRG:2A7B D0 1E lda Zp29 ; CPU:$EA7D PRG:2A7D A5 29 cmp #$50 ; CPU:$EA7F PRG:2A7F C9 50 - bcs Label_EA98 ; CPU:$EA81 PRG:2A81 B0 15 - jmp $E9AE ; CPU:$EA83 PRG:2A83 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA81 PRG:2A81 B0 15 + jmp SubCE9AE ; CPU:$EA83 PRG:2A83 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA86 +; Routine: Sub_8764_OnCarryClear_EA86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11748,13 +11748,13 @@ Label_EA79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA86: +Sub_8764_OnCarryClear_EA86: lda Zp29 ; CPU:$EA86 PRG:2A86 A5 29 cmp #$6A ; CPU:$EA88 PRG:2A88 C9 6A - bcs Label_EA98 ; CPU:$EA8A PRG:2A8A B0 0C - jmp $E9AE ; CPU:$EA8C PRG:2A8C 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA8A PRG:2A8A B0 0C + jmp SubCE9AE ; CPU:$EA8C PRG:2A8C 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA8F +; Routine: Sub_8764_OnCarryClear_EA8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11762,13 +11762,13 @@ Label_EA86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA8F: +Sub_8764_OnCarryClear_EA8F: lda Zp29 ; CPU:$EA8F PRG:2A8F A5 29 cmp #$68 ; CPU:$EA91 PRG:2A91 C9 68 - bcs Label_EA98 ; CPU:$EA93 PRG:2A93 B0 03 - jmp $E9AE ; CPU:$EA95 PRG:2A95 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA93 PRG:2A93 B0 03 + jmp SubCE9AE ; CPU:$EA95 PRG:2A95 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA98 +; Routine: Sub_8764_OnCarrySet_EA98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11776,10 +11776,10 @@ Label_EA8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA98: - jmp $EAA4 ; CPU:$EA98 PRG:2A98 4C A4 EA +Sub_8764_OnCarrySet_EA98: + jmp SubCEAA4 ; CPU:$EA98 PRG:2A98 4C A4 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA9B +; Routine: Sub_8764_OnNonzero_EA9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11787,13 +11787,13 @@ Label_EA98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA9B: +Sub_8764_OnNonzero_EA9B: lda Zp29 ; CPU:$EA9B PRG:2A9B A5 29 cmp #$69 ; CPU:$EA9D PRG:2A9D C9 69 - bcs Label_EAA4 ; CPU:$EA9F PRG:2A9F B0 03 - jmp $E9AE ; CPU:$EAA1 PRG:2AA1 4C AE E9 + bcs SubCEAA4 ; CPU:$EA9F PRG:2A9F B0 03 + jmp SubCE9AE ; CPU:$EAA1 PRG:2AA1 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EAA4 +; Routine: SubCEAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11801,17 +11801,17 @@ Label_EA9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAA4: +SubCEAA4: lda Zp29 ; CPU:$EAA4 PRG:2AA4 A5 29 cmp #$33 ; CPU:$EAA6 PRG:2AA6 C9 33 - bcs Label_EAB5 ; CPU:$EAA8 PRG:2AA8 B0 0B + bcs SubCEAB5 ; CPU:$EAA8 PRG:2AA8 B0 0B clc ; CPU:$EAAA PRG:2AAA 18 lda Zp29 ; CPU:$EAAB PRG:2AAB A5 29 adc #$CD ; CPU:$EAAD PRG:2AAD 69 CD - sta a:$0085,y ; CPU:$EAAF PRG:2AAF 99 85 00 - jmp $EAC3 ; CPU:$EAB2 PRG:2AB2 4C C3 EA + sta a:Zp85,y ; CPU:$EAAF PRG:2AAF 99 85 00 + jmp SubCEAC3 ; CPU:$EAB2 PRG:2AB2 4C C3 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAB5 +; Routine: SubCEAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11819,16 +11819,16 @@ Label_EAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAB5: +SubCEAB5: sec ; CPU:$EAB5 PRG:2AB5 38 lda Zp29 ; CPU:$EAB6 PRG:2AB6 A5 29 sbc #$33 ; CPU:$EAB8 PRG:2AB8 E9 33 - sta a:$0085,y ; CPU:$EABA PRG:2ABA 99 85 00 + sta a:Zp85,y ; CPU:$EABA PRG:2ABA 99 85 00 lda Zp2A ; CPU:$EABD PRG:2ABD A5 2A sbc #$01 ; CPU:$EABF PRG:2ABF E9 01 - beq Label_EACE ; CPU:$EAC1 PRG:2AC1 F0 0B + beq Sub_8764_OnZero_EACE ; CPU:$EAC1 PRG:2AC1 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_EAC3 +; Routine: SubCEAC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11836,14 +11836,14 @@ Label_EAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAC3: +SubCEAC3: cpy #$08 ; CPU:$EAC3 PRG:2AC3 C0 08 - bcs Label_EACF ; CPU:$EAC5 PRG:2AC5 B0 08 + bcs Sub_8764_OnCarrySet_EACF ; CPU:$EAC5 PRG:2AC5 B0 08 lda $E6CD,y ; CPU:$EAC7 PRG:2AC7 B9 CD E6 ora Zp36 ; CPU:$EACA PRG:2ACA 05 36 sta Zp36 ; CPU:$EACC PRG:2ACC 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_EACE +; Routine: Sub_8764_OnZero_EACE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11851,10 +11851,10 @@ Label_EAC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACE: +Sub_8764_OnZero_EACE: rts ; CPU:$EACE PRG:2ACE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EACF +; Routine: Sub_8764_OnCarrySet_EACF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11862,10 +11862,10 @@ Label_EACE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACF: +Sub_8764_OnCarrySet_EACF: lda $E6C5,y ; CPU:$EACF PRG:2ACF B9 C5 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD2 +; Routine: SubCEAD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11873,12 +11873,12 @@ Label_EACF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD2: +SubCEAD2: ora Zp37 ; CPU:$EAD2 PRG:2AD2 05 37 sta Zp37 ; CPU:$EAD4 PRG:2AD4 85 37 rts ; CPU:$EAD6 PRG:2AD6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD7 +; Routine: SubCEAD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11886,14 +11886,14 @@ Label_EAD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD7: +SubCEAD7: lda Zp65,x ; CPU:$EAD7 PRG:2AD7 B5 65 cmp #$15 ; CPU:$EAD9 PRG:2AD9 C9 15 - bcs Label_EAE1 ; CPU:$EADB PRG:2ADB B0 04 + bcs Sub_8764_OnCarrySet_EAE1 ; CPU:$EADB PRG:2ADB B0 04 cmp #$0B ; CPU:$EADD PRG:2ADD C9 0B - bcs Label_EAE2 ; CPU:$EADF PRG:2ADF B0 01 + bcs Sub_8764_OnCarrySet_EAE2 ; CPU:$EADF PRG:2ADF B0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE1 +; Routine: Sub_8764_OnCarrySet_EAE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11901,10 +11901,10 @@ Label_EAD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE1: +Sub_8764_OnCarrySet_EAE1: clc ; CPU:$EAE1 PRG:2AE1 18 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE2 +; Routine: Sub_8764_OnCarrySet_EAE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11912,10 +11912,10 @@ Label_EAE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE2: +Sub_8764_OnCarrySet_EAE2: rts ; CPU:$EAE2 PRG:2AE2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE3 +; Routine: SubCEAE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11923,9 +11923,9 @@ Label_EAE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE3: - jsr $EAD7 ; CPU:$EAE3 PRG:2AE3 20 D7 EA - bcc Label_EAF5 ; CPU:$EAE6 PRG:2AE6 90 0D +SubCEAE3: + jsr SubCEAD7 ; CPU:$EAE3 PRG:2AE3 20 D7 EA + bcc Sub_8764_OnCarryClear_EAF5 ; CPU:$EAE6 PRG:2AE6 90 0D tay ; CPU:$EAE8 PRG:2AE8 A8 lda $04AB,y ; CPU:$EAE9 PRG:2AE9 B9 AB 04 and #$7F ; CPU:$EAEC PRG:2AEC 29 7F @@ -11933,7 +11933,7 @@ Label_EAE3: lda #$FF ; CPU:$EAF1 PRG:2AF1 A9 FF sta Zp65,x ; CPU:$EAF3 PRG:2AF3 95 65 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF5 +; Routine: Sub_8764_OnCarryClear_EAF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11941,10 +11941,10 @@ Label_EAE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF5: +Sub_8764_OnCarryClear_EAF5: rts ; CPU:$EAF5 PRG:2AF5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF6 +; Routine: SubCEAF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11952,16 +11952,16 @@ Label_EAF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF6: +SubCEAF6: ldx #$07 ; CPU:$EAF6 PRG:2AF6 A2 07 - jsr $EAD7 ; CPU:$EAF8 PRG:2AF8 20 D7 EA - bcs Label_EB06 ; CPU:$EAFB PRG:2AFB B0 09 + jsr SubCEAD7 ; CPU:$EAF8 PRG:2AF8 20 D7 EA + bcs Sub_8764_OnCarrySet_EB06 ; CPU:$EAFB PRG:2AFB B0 09 ldx #$05 ; CPU:$EAFD PRG:2AFD A2 05 - jsr $EAE3 ; CPU:$EAFF PRG:2AFF 20 E3 EA + jsr SubCEAE3 ; CPU:$EAFF PRG:2AFF 20 E3 EA inx ; CPU:$EB02 PRG:2B02 E8 - jsr $EAE3 ; CPU:$EB03 PRG:2B03 20 E3 EA + jsr SubCEAE3 ; CPU:$EB03 PRG:2B03 20 E3 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB06 +; Routine: Sub_8764_OnCarrySet_EB06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11969,14 +11969,14 @@ Label_EAF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB06: +Sub_8764_OnCarrySet_EB06: ldx #$01 ; CPU:$EB06 PRG:2B06 A2 01 lda ZpB1 ; CPU:$EB08 PRG:2B08 A5 B1 cmp #$05 ; CPU:$EB0A PRG:2B0A C9 05 - bcc Label_EB30 ; CPU:$EB0C PRG:2B0C 90 22 - beq Label_EB2A ; CPU:$EB0E PRG:2B0E F0 1A + bcc Sub_8764_OnCarryClear_EB30 ; CPU:$EB0C PRG:2B0C 90 22 + beq Sub_8764_OnZero_EB2A ; CPU:$EB0E PRG:2B0E F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_EB10 +; Routine: Sub_8764_OnCarrySet_EB10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11984,7 +11984,7 @@ Label_EB06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB10: +Sub_8764_OnCarrySet_EB10: lda $EBCC ; CPU:$EB10 PRG:2B10 AD CC EB sta Zp1B ; CPU:$EB13 PRG:2B13 85 1B lda $EBCD ; CPU:$EB15 PRG:2B15 AD CD EB @@ -11996,9 +11996,9 @@ Label_EB10: lda ZpB1 ; CPU:$EB21 PRG:2B21 A5 B1 sbc #$05 ; CPU:$EB23 PRG:2B23 E9 05 sta Zp24 ; CPU:$EB25 PRG:2B25 85 24 - jmp $EB47 ; CPU:$EB27 PRG:2B27 4C 47 EB + jmp SubCEB47 ; CPU:$EB27 PRG:2B27 4C 47 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB2A +; Routine: Sub_8764_OnZero_EB2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12006,12 +12006,12 @@ Label_EB10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB2A: +Sub_8764_OnZero_EB2A: lda ZpB0 ; CPU:$EB2A PRG:2B2A A5 B0 cmp #$78 ; CPU:$EB2C PRG:2B2C C9 78 - bcs Label_EB10 ; CPU:$EB2E PRG:2B2E B0 E0 + bcs Sub_8764_OnCarrySet_EB10 ; CPU:$EB2E PRG:2B2E B0 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_EB30 +; Routine: Sub_8764_OnCarryClear_EB30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12019,7 +12019,7 @@ Label_EB2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB30: +Sub_8764_OnCarryClear_EB30: lda $EBCA ; CPU:$EB30 PRG:2B30 AD CA EB sta Zp1B ; CPU:$EB33 PRG:2B33 85 1B lda $EBCB ; CPU:$EB35 PRG:2B35 AD CB EB @@ -12032,7 +12032,7 @@ Label_EB30: adc #$02 ; CPU:$EB43 PRG:2B43 69 02 sta Zp24 ; CPU:$EB45 PRG:2B45 85 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EB47 +; Routine: SubCEB47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12040,13 +12040,13 @@ Label_EB30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB47: +SubCEB47: lda ZpAF ; CPU:$EB47 PRG:2B47 A5 AF cmp #$08 ; CPU:$EB49 PRG:2B49 C9 08 - bcc Label_EB65 ; CPU:$EB4B PRG:2B4B 90 18 - beq Label_EB5F ; CPU:$EB4D PRG:2B4D F0 10 + bcc Sub_8764_OnCarryClear_EB65 ; CPU:$EB4B PRG:2B4B 90 18 + beq Sub_8764_OnZero_EB5F ; CPU:$EB4D PRG:2B4D F0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_EB4F +; Routine: Sub_8764_OnCarrySet_EB4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12054,7 +12054,7 @@ Label_EB47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB4F: +Sub_8764_OnCarrySet_EB4F: sec ; CPU:$EB4F PRG:2B4F 38 lda ZpAE ; CPU:$EB50 PRG:2B50 A5 AE sbc #$C0 ; CPU:$EB52 PRG:2B52 E9 C0 @@ -12062,9 +12062,9 @@ Label_EB4F: lda ZpAF ; CPU:$EB56 PRG:2B56 A5 AF sbc #$08 ; CPU:$EB58 PRG:2B58 E9 08 sta Zp22 ; CPU:$EB5A PRG:2B5A 85 22 - jmp $EB9E ; CPU:$EB5C PRG:2B5C 4C 9E EB + jmp SubCEB9E ; CPU:$EB5C PRG:2B5C 4C 9E EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB5F +; Routine: Sub_8764_OnZero_EB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12072,12 +12072,12 @@ Label_EB4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB5F: +Sub_8764_OnZero_EB5F: lda ZpAE ; CPU:$EB5F PRG:2B5F A5 AE cmp #$C0 ; CPU:$EB61 PRG:2B61 C9 C0 - bcs Label_EB4F ; CPU:$EB63 PRG:2B63 B0 EA + bcs Sub_8764_OnCarrySet_EB4F ; CPU:$EB63 PRG:2B63 B0 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB65 +; Routine: Sub_8764_OnCarryClear_EB65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12085,7 +12085,7 @@ Label_EB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB65: +Sub_8764_OnCarryClear_EB65: clc ; CPU:$EB65 PRG:2B65 18 lda ZpAE ; CPU:$EB66 PRG:2B66 A5 AE adc #$C0 ; CPU:$EB68 PRG:2B68 69 C0 @@ -12094,7 +12094,7 @@ Label_EB65: adc #$03 ; CPU:$EB6E PRG:2B6E 69 03 sta Zp22 ; CPU:$EB70 PRG:2B70 85 22 ; ----------------------------------------------------------------------------- -; Routine: Label_EB72 +; Routine: Sub_8764_OnCarryClear_EB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12102,17 +12102,17 @@ Label_EB65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB72: +Sub_8764_OnCarryClear_EB72: lda $035E,x ; CPU:$EB72 PRG:2B72 BD 5E 03 - bmi Label_EB86 ; CPU:$EB75 PRG:2B75 30 0F + bmi Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB75 PRG:2B75 30 0F cmp ZpAF ; CPU:$EB77 PRG:2B77 C5 AF - bcc Label_EB86 ; CPU:$EB79 PRG:2B79 90 0B - beq Label_EB8C ; CPU:$EB7B PRG:2B7B F0 0F + bcc Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB79 PRG:2B79 90 0B + beq Sub_8764_OnZero_EB8C ; CPU:$EB7B PRG:2B7B F0 0F cmp Zp22 ; CPU:$EB7D PRG:2B7D C5 22 - beq Label_EB95 ; CPU:$EB7F PRG:2B7F F0 14 - bcs Label_EB86 ; CPU:$EB81 PRG:2B81 B0 03 + beq Sub_8764_OnZero_EB95 ; CPU:$EB7F PRG:2B7F F0 14 + bcs Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB81 PRG:2B81 B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EB83 +; Routine: Sub_8764_JoinBranchPaths_EB83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12120,10 +12120,10 @@ Label_EB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB83: - jsr $E7A3 ; CPU:$EB83 PRG:2B83 20 A3 E7 +Sub_8764_JoinBranchPaths_EB83: + jsr SubCE7A3 ; CPU:$EB83 PRG:2B83 20 A3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_EB86 +; Routine: Sub_8764_JoinBranchPaths_EB86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12131,13 +12131,13 @@ Label_EB83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB86: +Sub_8764_JoinBranchPaths_EB86: inx ; CPU:$EB86 PRG:2B86 E8 cpx #$6F ; CPU:$EB87 PRG:2B87 E0 6F - bcc Label_EB72 ; CPU:$EB89 PRG:2B89 90 E7 + bcc Sub_8764_OnCarryClear_EB72 ; CPU:$EB89 PRG:2B89 90 E7 rts ; CPU:$EB8B PRG:2B8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB8C +; Routine: Sub_8764_OnZero_EB8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12145,13 +12145,13 @@ Label_EB86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8C: +Sub_8764_OnZero_EB8C: lda $0280,x ; CPU:$EB8C PRG:2B8C BD 80 02 cmp ZpAE ; CPU:$EB8F PRG:2B8F C5 AE - bcc Label_EB86 ; CPU:$EB91 PRG:2B91 90 F3 - bcs Label_EB83 ; CPU:$EB93 PRG:2B93 B0 EE + bcc Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB91 PRG:2B91 90 F3 + bcs Sub_8764_JoinBranchPaths_EB83 ; CPU:$EB93 PRG:2B93 B0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EB95 +; Routine: Sub_8764_OnZero_EB95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12159,13 +12159,13 @@ Label_EB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB95: +Sub_8764_OnZero_EB95: lda $0280,x ; CPU:$EB95 PRG:2B95 BD 80 02 cmp Zp21 ; CPU:$EB98 PRG:2B98 C5 21 - bcc Label_EB83 ; CPU:$EB9A PRG:2B9A 90 E7 - bcs Label_EB86 ; CPU:$EB9C PRG:2B9C B0 E8 + bcc Sub_8764_JoinBranchPaths_EB83 ; CPU:$EB9A PRG:2B9A 90 E7 + bcs Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB9C PRG:2B9C B0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EB9E +; Routine: SubCEB9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12173,17 +12173,17 @@ Label_EB95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB9E: +SubCEB9E: lda $035E,x ; CPU:$EB9E PRG:2B9E BD 5E 03 - bmi Label_EBB2 ; CPU:$EBA1 PRG:2BA1 30 0F + bmi Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBA1 PRG:2BA1 30 0F cmp ZpAF ; CPU:$EBA3 PRG:2BA3 C5 AF - beq Label_EBB8 ; CPU:$EBA5 PRG:2BA5 F0 11 - bcs Label_EBAF ; CPU:$EBA7 PRG:2BA7 B0 06 + beq Sub_8764_OnZero_EBB8 ; CPU:$EBA5 PRG:2BA5 F0 11 + bcs Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBA7 PRG:2BA7 B0 06 cmp Zp22 ; CPU:$EBA9 PRG:2BA9 C5 22 - beq Label_EBC1 ; CPU:$EBAB PRG:2BAB F0 14 - bcs Label_EBB2 ; CPU:$EBAD PRG:2BAD B0 03 + beq Sub_8764_OnZero_EBC1 ; CPU:$EBAB PRG:2BAB F0 14 + bcs Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBAD PRG:2BAD B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EBAF +; Routine: Sub_8764_JoinBranchPaths_EBAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12191,10 +12191,10 @@ Label_EB9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBAF: - jsr $E7A3 ; CPU:$EBAF PRG:2BAF 20 A3 E7 +Sub_8764_JoinBranchPaths_EBAF: + jsr SubCE7A3 ; CPU:$EBAF PRG:2BAF 20 A3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB2 +; Routine: Sub_8764_JoinBranchPaths_EBB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12202,13 +12202,13 @@ Label_EBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB2: +Sub_8764_JoinBranchPaths_EBB2: inx ; CPU:$EBB2 PRG:2BB2 E8 cpx #$6F ; CPU:$EBB3 PRG:2BB3 E0 6F - bcc Label_EB9E ; CPU:$EBB5 PRG:2BB5 90 E7 + bcc SubCEB9E ; CPU:$EBB5 PRG:2BB5 90 E7 rts ; CPU:$EBB7 PRG:2BB7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB8 +; Routine: Sub_8764_OnZero_EBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12216,13 +12216,13 @@ Label_EBB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB8: +Sub_8764_OnZero_EBB8: lda $0280,x ; CPU:$EBB8 PRG:2BB8 BD 80 02 cmp ZpAE ; CPU:$EBBB PRG:2BBB C5 AE - bcc Label_EBB2 ; CPU:$EBBD PRG:2BBD 90 F3 - bcs Label_EBAF ; CPU:$EBBF PRG:2BBF B0 EE + bcc Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBBD PRG:2BBD 90 F3 + bcs Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBBF PRG:2BBF B0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EBC1 +; Routine: Sub_8764_OnZero_EBC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12230,11 +12230,11 @@ Label_EBB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBC1: +Sub_8764_OnZero_EBC1: lda $0280,x ; CPU:$EBC1 PRG:2BC1 BD 80 02 cmp Zp21 ; CPU:$EBC4 PRG:2BC4 C5 21 - bcc Label_EBAF ; CPU:$EBC6 PRG:2BC6 90 E7 - bcs Label_EBB2 ; CPU:$EBC8 PRG:2BC8 B0 E8 + bcc Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBC6 PRG:2BC6 90 E7 + bcs Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBC8 PRG:2BC8 B0 E8 ora ZpEC ; CPU:$EBCA PRG:2BCA 05 EC ; ---- data $EBCC-$EC9D (210 bytes) ---- ; referenced by `lda $EBCC` at $EB10 (operand $EBCC falls inside this region) @@ -12254,7 +12254,7 @@ Label_EBC1: .byte $B0, $F6, $90, $AA, $A0, $03, $B9, $65, $00, $30, $07, $C8, $C0, $08, $90, $F6 ; CPU:$EC8C PRG:2C8C B0 F6 90 AA A0 03 B9 65 00 30 07 C8 C0 08 90 F6 .byte $B0, $9C ; CPU:$EC9C PRG:2C9C B0 9C ; ----------------------------------------------------------------------------- -; Routine: Label_EC9E +; Routine: SubCEC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12262,26 +12262,26 @@ Label_EBC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC9E: +SubCEC9E: txa ; CPU:$EC9E PRG:2C9E 8A - sta a:$0065,y ; CPU:$EC9F PRG:2C9F 99 65 00 + sta a:Zp65,y ; CPU:$EC9F PRG:2C9F 99 65 00 lda #$FA ; CPU:$ECA2 PRG:2CA2 A9 FA - sta a:$0095,y ; CPU:$ECA4 PRG:2CA4 99 95 00 + sta a:Zp95,y ; CPU:$ECA4 PRG:2CA4 99 95 00 lda $04AB,x ; CPU:$ECA7 PRG:2CA7 BD AB 04 ora #$80 ; CPU:$ECAA PRG:2CAA 09 80 sta $04AB,x ; CPU:$ECAC PRG:2CAC 9D AB 04 and #$0F ; CPU:$ECAF PRG:2CAF 29 0F - sta a:$0075,y ; CPU:$ECB1 PRG:2CB1 99 75 00 + sta a:Zp75,y ; CPU:$ECB1 PRG:2CB1 99 75 00 lda $04AB,x ; CPU:$ECB4 PRG:2CB4 BD AB 04 cpy #$08 ; CPU:$ECB7 PRG:2CB7 C0 08 - bcs Label_ECE7 ; CPU:$ECB9 PRG:2CB9 B0 2C + bcs Sub_8764_OnCarrySet_ECE7 ; CPU:$ECB9 PRG:2CB9 B0 2C and #$10 ; CPU:$ECBB PRG:2CBB 29 10 - beq Label_ECC7 ; CPU:$ECBD PRG:2CBD F0 08 + beq Sub_8764_OnZero_ECC7 ; CPU:$ECBD PRG:2CBD F0 08 lda $E6CD,y ; CPU:$ECBF PRG:2CBF B9 CD E6 ora Zp34 ; CPU:$ECC2 PRG:2CC2 05 34 - jmp $ECCC ; CPU:$ECC4 PRG:2CC4 4C CC EC + jmp SubCECCC ; CPU:$ECC4 PRG:2CC4 4C CC EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECC7 +; Routine: Sub_8764_OnZero_ECC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12289,11 +12289,11 @@ Label_EC9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC7: +Sub_8764_OnZero_ECC7: lda $E6DD,y ; CPU:$ECC7 PRG:2CC7 B9 DD E6 and Zp34 ; CPU:$ECCA PRG:2CCA 25 34 ; ----------------------------------------------------------------------------- -; Routine: Label_ECCC +; Routine: SubCECCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12301,16 +12301,16 @@ Label_ECC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECCC: +SubCECCC: sta Zp34 ; CPU:$ECCC PRG:2CCC 85 34 lda $04AB,x ; CPU:$ECCE PRG:2CCE BD AB 04 and #$20 ; CPU:$ECD1 PRG:2CD1 29 20 - beq Label_ECDD ; CPU:$ECD3 PRG:2CD3 F0 08 + beq Sub_8764_OnZero_ECDD ; CPU:$ECD3 PRG:2CD3 F0 08 lda $E6CD,y ; CPU:$ECD5 PRG:2CD5 B9 CD E6 ora Zp32 ; CPU:$ECD8 PRG:2CD8 05 32 - jmp $ECE2 ; CPU:$ECDA PRG:2CDA 4C E2 EC + jmp SubCECE2 ; CPU:$ECDA PRG:2CDA 4C E2 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECDD +; Routine: Sub_8764_OnZero_ECDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12318,11 +12318,11 @@ Label_ECCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECDD: +Sub_8764_OnZero_ECDD: lda $E6DD,y ; CPU:$ECDD PRG:2CDD B9 DD E6 and Zp32 ; CPU:$ECE0 PRG:2CE0 25 32 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE2 +; Routine: SubCECE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12330,11 +12330,11 @@ Label_ECDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE2: +SubCECE2: sta Zp32 ; CPU:$ECE2 PRG:2CE2 85 32 - jmp $E93E ; CPU:$ECE4 PRG:2CE4 4C 3E E9 + jmp SubCE93E ; CPU:$ECE4 PRG:2CE4 4C 3E E9 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE7 +; Routine: Sub_8764_OnCarrySet_ECE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12342,14 +12342,14 @@ Label_ECE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE7: +Sub_8764_OnCarrySet_ECE7: and #$10 ; CPU:$ECE7 PRG:2CE7 29 10 - beq Label_ECF3 ; CPU:$ECE9 PRG:2CE9 F0 08 + beq Sub_8764_OnZero_ECF3 ; CPU:$ECE9 PRG:2CE9 F0 08 lda $E6C5,y ; CPU:$ECEB PRG:2CEB B9 C5 E6 ora Zp35 ; CPU:$ECEE PRG:2CEE 05 35 - jmp $ECF8 ; CPU:$ECF0 PRG:2CF0 4C F8 EC + jmp SubCECF8 ; CPU:$ECF0 PRG:2CF0 4C F8 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECF3 +; Routine: Sub_8764_OnZero_ECF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12357,11 +12357,11 @@ Label_ECE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF3: +Sub_8764_OnZero_ECF3: lda $E6D5,y ; CPU:$ECF3 PRG:2CF3 B9 D5 E6 and Zp35 ; CPU:$ECF6 PRG:2CF6 25 35 ; ----------------------------------------------------------------------------- -; Routine: Label_ECF8 +; Routine: SubCECF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12369,16 +12369,16 @@ Label_ECF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF8: +SubCECF8: sta Zp35 ; CPU:$ECF8 PRG:2CF8 85 35 lda $04AB,x ; CPU:$ECFA PRG:2CFA BD AB 04 and #$20 ; CPU:$ECFD PRG:2CFD 29 20 - beq Label_ED09 ; CPU:$ECFF PRG:2CFF F0 08 + beq Sub_8764_OnZero_ED09 ; CPU:$ECFF PRG:2CFF F0 08 lda $E6C5,y ; CPU:$ED01 PRG:2D01 B9 C5 E6 ora Zp33 ; CPU:$ED04 PRG:2D04 05 33 - jmp $ED0E ; CPU:$ED06 PRG:2D06 4C 0E ED + jmp SubCED0E ; CPU:$ED06 PRG:2D06 4C 0E ED ; ----------------------------------------------------------------------------- -; Routine: Label_ED09 +; Routine: Sub_8764_OnZero_ED09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12386,11 +12386,11 @@ Label_ECF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED09: +Sub_8764_OnZero_ED09: lda $E6D5,y ; CPU:$ED09 PRG:2D09 B9 D5 E6 and Zp33 ; CPU:$ED0C PRG:2D0C 25 33 ; ----------------------------------------------------------------------------- -; Routine: Label_ED0E +; Routine: SubCED0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12398,14 +12398,14 @@ Label_ED09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED0E: +SubCED0E: sta Zp33 ; CPU:$ED0E PRG:2D0E 85 33 lda $E6C5,y ; CPU:$ED10 PRG:2D10 B9 C5 E6 ora Zp09 ; CPU:$ED13 PRG:2D13 05 09 sta Zp09 ; CPU:$ED15 PRG:2D15 85 09 eor #$FF ; CPU:$ED17 PRG:2D17 49 FF sta Zp31 ; CPU:$ED19 PRG:2D19 85 31 - jmp $E93E ; CPU:$ED1B PRG:2D1B 4C 3E E9 + jmp SubCE93E ; CPU:$ED1B PRG:2D1B 4C 3E E9 ; ---- data $ED1E-$ED60 (67 bytes) ---- .byte $A0, $07, $B9, $65, $00, $10, $03, $4C, $9E, $EC, $C9, $15, $B0, $0A, $C9, $0B ; CPU:$ED1E PRG:2D1E A0 07 B9 65 00 10 03 4C 9E EC C9 15 B0 0A C9 0B .byte $90, $06, $88, $C0, $03, $B0, $EB, $60, $86, $54, $20, $57, $ED, $B9, $6D, $00 ; CPU:$ED2E PRG:2D2E 90 06 88 C0 03 B0 EB 60 86 54 20 57 ED B9 6D 00 @@ -12413,7 +12413,7 @@ Label_ED0E: .byte $00, $99, $6D, $00, $A6, $54, $4C, $9E, $EC, $AA, $BD, $AB, $04, $29, $7F, $9D ; CPU:$ED4E PRG:2D4E 00 99 6D 00 A6 54 4C 9E EC AA BD AB 04 29 7F 9D .byte $AB, $04, $60 ; CPU:$ED5E PRG:2D5E AB 04 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED61 +; Routine: SubCED61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12421,20 +12421,20 @@ Label_ED0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED61: - jsr $ED98 ; CPU:$ED61 PRG:2D61 20 98 ED +SubCED61: + jsr SubCED98 ; CPU:$ED61 PRG:2D61 20 98 ED lda Zp26 ; CPU:$ED64 PRG:2D64 A5 26 - beq Label_ED94 ; CPU:$ED66 PRG:2D66 F0 2C + beq Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED66 PRG:2D66 F0 2C cmp #$01 ; CPU:$ED68 PRG:2D68 C9 01 - beq Label_ED78 ; CPU:$ED6A PRG:2D6A F0 0C + beq Sub_8764_OnZero_ED78 ; CPU:$ED6A PRG:2D6A F0 0C cmp #$02 ; CPU:$ED6C PRG:2D6C C9 02 - bne Label_ED94 ; CPU:$ED6E PRG:2D6E D0 24 + bne Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED6E PRG:2D6E D0 24 lda Zp25 ; CPU:$ED70 PRG:2D70 A5 25 cmp #$5A ; CPU:$ED72 PRG:2D72 C9 5A - bcs Label_ED94 ; CPU:$ED74 PRG:2D74 B0 1E - bcc Label_ED7E ; CPU:$ED76 PRG:2D76 90 06 + bcs Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED74 PRG:2D74 B0 1E + bcc Sub_8764_OnCarryClear_ED7E ; CPU:$ED76 PRG:2D76 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_ED78 +; Routine: Sub_8764_OnZero_ED78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12442,12 +12442,12 @@ Label_ED61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED78: +Sub_8764_OnZero_ED78: lda Zp25 ; CPU:$ED78 PRG:2D78 A5 25 cmp #$55 ; CPU:$ED7A PRG:2D7A C9 55 - bcc Label_ED94 ; CPU:$ED7C PRG:2D7C 90 16 + bcc Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED7C PRG:2D7C 90 16 ; ----------------------------------------------------------------------------- -; Routine: Label_ED7E +; Routine: Sub_8764_OnCarryClear_ED7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12455,17 +12455,17 @@ Label_ED78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED7E: +Sub_8764_OnCarryClear_ED7E: lda Zp28 ; CPU:$ED7E PRG:2D7E A5 28 - beq Label_ED8E ; CPU:$ED80 PRG:2D80 F0 0C + beq Sub_8764_OnZero_ED8E ; CPU:$ED80 PRG:2D80 F0 0C cmp #$01 ; CPU:$ED82 PRG:2D82 C9 01 - bne Label_ED94 ; CPU:$ED84 PRG:2D84 D0 0E + bne Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED84 PRG:2D84 D0 0E lda Zp27 ; CPU:$ED86 PRG:2D86 A5 27 cmp #$9E ; CPU:$ED88 PRG:2D88 C9 9E - bcs Label_ED94 ; CPU:$ED8A PRG:2D8A B0 08 - bcc Label_ED96 ; CPU:$ED8C PRG:2D8C 90 08 + bcs Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED8A PRG:2D8A B0 08 + bcc Sub_8764_JoinBranchPaths_ED96 ; CPU:$ED8C PRG:2D8C 90 08 ; ----------------------------------------------------------------------------- -; Routine: Label_ED8E +; Routine: Sub_8764_OnZero_ED8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12473,12 +12473,12 @@ Label_ED7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8E: +Sub_8764_OnZero_ED8E: lda Zp27 ; CPU:$ED8E PRG:2D8E A5 27 cmp #$9E ; CPU:$ED90 PRG:2D90 C9 9E - bcs Label_ED96 ; CPU:$ED92 PRG:2D92 B0 02 + bcs Sub_8764_JoinBranchPaths_ED96 ; CPU:$ED92 PRG:2D92 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_ED94 +; Routine: Sub_8764_JoinBranchPaths_ED94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12486,11 +12486,11 @@ Label_ED8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED94: +Sub_8764_JoinBranchPaths_ED94: sec ; CPU:$ED94 PRG:2D94 38 rts ; CPU:$ED95 PRG:2D95 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED96 +; Routine: Sub_8764_JoinBranchPaths_ED96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12498,11 +12498,11 @@ Label_ED94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED96: +Sub_8764_JoinBranchPaths_ED96: clc ; CPU:$ED96 PRG:2D96 18 rts ; CPU:$ED97 PRG:2D97 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED98 +; Routine: SubCED98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12510,7 +12510,7 @@ Label_ED96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED98: +SubCED98: sec ; CPU:$ED98 PRG:2D98 38 lda $0280,x ; CPU:$ED99 PRG:2D99 BD 80 02 sbc ZpAE ; CPU:$ED9C PRG:2D9C E5 AE @@ -12518,7 +12518,7 @@ Label_ED98: lda $035E,x ; CPU:$EDA0 PRG:2DA0 BD 5E 03 sbc ZpAF ; CPU:$EDA3 PRG:2DA3 E5 AF sta Zp26 ; CPU:$EDA5 PRG:2DA5 85 26 - bpl Label_EDB6 ; CPU:$EDA7 PRG:2DA7 10 0D + bpl Sub_8764_OnNonnegative_EDB6 ; CPU:$EDA7 PRG:2DA7 10 0D clc ; CPU:$EDA9 PRG:2DA9 18 lda Zp25 ; CPU:$EDAA PRG:2DAA A5 25 adc #$80 ; CPU:$EDAC PRG:2DAC 69 80 @@ -12527,7 +12527,7 @@ Label_ED98: adc #$0C ; CPU:$EDB2 PRG:2DB2 69 0C sta Zp26 ; CPU:$EDB4 PRG:2DB4 85 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EDB6 +; Routine: Sub_8764_OnNonnegative_EDB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12535,7 +12535,7 @@ Label_ED98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDB6: +Sub_8764_OnNonnegative_EDB6: sec ; CPU:$EDB6 PRG:2DB6 38 lda $02EF,x ; CPU:$EDB7 PRG:2DB7 BD EF 02 sbc ZpB0 ; CPU:$EDBA PRG:2DBA E5 B0 @@ -12543,7 +12543,7 @@ Label_EDB6: lda $03CD,x ; CPU:$EDBE PRG:2DBE BD CD 03 sbc ZpB1 ; CPU:$EDC1 PRG:2DC1 E5 B1 sta Zp28 ; CPU:$EDC3 PRG:2DC3 85 28 - bpl Label_EDD4 ; CPU:$EDC5 PRG:2DC5 10 0D + bpl Sub_8764_OnNonnegative_EDD4 ; CPU:$EDC5 PRG:2DC5 10 0D clc ; CPU:$EDC7 PRG:2DC7 18 lda Zp27 ; CPU:$EDC8 PRG:2DC8 A5 27 adc #$D0 ; CPU:$EDCA PRG:2DCA 69 D0 @@ -12552,7 +12552,7 @@ Label_EDB6: adc #$07 ; CPU:$EDD0 PRG:2DD0 69 07 sta Zp28 ; CPU:$EDD2 PRG:2DD2 85 28 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD4 +; Routine: Sub_8764_OnNonnegative_EDD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12560,10 +12560,10 @@ Label_EDB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD4: +Sub_8764_OnNonnegative_EDD4: rts ; CPU:$EDD4 PRG:2DD4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD5 +; Routine: SubCEDD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12571,10 +12571,10 @@ Label_EDD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD5: +SubCEDD5: lda #$82 ; CPU:$EDD5 PRG:2DD5 A9 82 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD7 +; Routine: SubCEDD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12582,14 +12582,14 @@ Label_EDD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD7: - jsr $C5A1 ; CPU:$EDD7 PRG:2DD7 20 A1 C5 +SubCEDD7: + jsr SubCC5A1 ; CPU:$EDD7 PRG:2DD7 20 A1 C5 pha ; CPU:$EDDA PRG:2DDA 48 txa ; CPU:$EDDB PRG:2DDB 8A ldx #$00 ; CPU:$EDDC PRG:2DDC A2 00 - beq Label_EDEC ; CPU:$EDDE PRG:2DDE F0 0C + beq Sub_8764_OnZero_EDEC ; CPU:$EDDE PRG:2DDE F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_EDE0 +; Routine: SubCEDE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12597,10 +12597,10 @@ Label_EDD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE0: +SubCEDE0: lda #$81 ; CPU:$EDE0 PRG:2DE0 A9 81 ; ----------------------------------------------------------------------------- -; Routine: Label_EDE2 +; Routine: SubCEDE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12608,15 +12608,15 @@ Label_EDE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE2: - jsr $C5A1 ; CPU:$EDE2 PRG:2DE2 20 A1 C5 +SubCEDE2: + jsr SubCC5A1 ; CPU:$EDE2 PRG:2DE2 20 A1 C5 pha ; CPU:$EDE5 PRG:2DE5 48 txa ; CPU:$EDE6 PRG:2DE6 8A clc ; CPU:$EDE7 PRG:2DE7 18 adc #$6F ; CPU:$EDE8 PRG:2DE8 69 6F ldx #$01 ; CPU:$EDEA PRG:2DEA A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EDEC +; Routine: Sub_8764_OnZero_EDEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12624,13 +12624,13 @@ Label_EDE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDEC: +Sub_8764_OnZero_EDEC: tay ; CPU:$EDEC PRG:2DEC A8 pla ; CPU:$EDED PRG:2DED 68 - jsr $EDF4 ; CPU:$EDEE PRG:2DEE 20 F4 ED - jmp $C59C ; CPU:$EDF1 PRG:2DF1 4C 9C C5 + jsr SubCEDF4 ; CPU:$EDEE PRG:2DEE 20 F4 ED + jmp SubCC59C ; CPU:$EDF1 PRG:2DF1 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF4 +; Routine: SubCEDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12638,8 +12638,8 @@ Label_EDEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF4: - bmi Label_EE2F ; CPU:$EDF4 PRG:2DF4 30 39 +SubCEDF4: + bmi Sub_8764_OnNegative_EE2F ; CPU:$EDF4 PRG:2DF4 30 39 sta Zp00,x ; CPU:$EDF6 PRG:2DF6 95 00 clc ; CPU:$EDF8 PRG:2DF8 18 lda $0280,y ; CPU:$EDF9 PRG:2DF9 B9 80 02 @@ -12649,14 +12649,14 @@ Label_EDF4: adc #$00 ; CPU:$EE04 PRG:2E04 69 00 sta $035E,y ; CPU:$EE06 PRG:2E06 99 5E 03 cmp $EE5C,x ; CPU:$EE09 PRG:2E09 DD 5C EE - bcc Label_EE2E ; CPU:$EE0C PRG:2E0C 90 20 + bcc Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE0C PRG:2E0C 90 20 cmp $EE5E,x ; CPU:$EE0E PRG:2E0E DD 5E EE - bcs Label_EE1B ; CPU:$EE11 PRG:2E11 B0 08 + bcs Sub_8764_OnCarrySet_EE1B ; CPU:$EE11 PRG:2E11 B0 08 lda $0280,y ; CPU:$EE13 PRG:2E13 B9 80 02 cmp $EE60,x ; CPU:$EE16 PRG:2E16 DD 60 EE - bcc Label_EE2E ; CPU:$EE19 PRG:2E19 90 13 + bcc Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE19 PRG:2E19 90 13 ; ----------------------------------------------------------------------------- -; Routine: Label_EE1B +; Routine: Sub_8764_OnCarrySet_EE1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12664,7 +12664,7 @@ Label_EDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE1B: +Sub_8764_OnCarrySet_EE1B: sec ; CPU:$EE1B PRG:2E1B 38 lda $0280,y ; CPU:$EE1C PRG:2E1C B9 80 02 sbc $EE60,x ; CPU:$EE1F PRG:2E1F FD 60 EE @@ -12673,7 +12673,7 @@ Label_EE1B: sbc $EE5C,x ; CPU:$EE28 PRG:2E28 FD 5C EE sta $035E,y ; CPU:$EE2B PRG:2E2B 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2E +; Routine: Sub_8764_JoinBranchPaths_EE2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12681,10 +12681,10 @@ Label_EE1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2E: +Sub_8764_JoinBranchPaths_EE2E: rts ; CPU:$EE2E PRG:2E2E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2F +; Routine: Sub_8764_OnNegative_EE2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12692,7 +12692,7 @@ Label_EE2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2F: +Sub_8764_OnNegative_EE2F: and #$7F ; CPU:$EE2F PRG:2E2F 29 7F sta Zp00,x ; CPU:$EE31 PRG:2E31 95 00 sec ; CPU:$EE33 PRG:2E33 38 @@ -12703,7 +12703,7 @@ Label_EE2F: sbc #$00 ; CPU:$EE3F PRG:2E3F E9 00 sta $035E,y ; CPU:$EE41 PRG:2E41 99 5E 03 cmp #$FF ; CPU:$EE44 PRG:2E44 C9 FF - bne Label_EE2E ; CPU:$EE46 PRG:2E46 D0 E6 + bne Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE46 PRG:2E46 D0 E6 sec ; CPU:$EE48 PRG:2E48 38 lda $0280,y ; CPU:$EE49 PRG:2E49 B9 80 02 sbc $EE62,x ; CPU:$EE4C PRG:2E4C FD 62 EE @@ -12722,7 +12722,7 @@ Label_EE2F: ; ... and 1 further references from decoded code .byte $0C, $07, $0D, $08, $80, $D0, $80, $30, $F3, $F8 ; CPU:$EE5C PRG:2E5C 0C 07 0D 08 80 D0 80 30 F3 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_EE66 +; Routine: SubCEE66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12730,17 +12730,17 @@ Label_EE2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE66: - jsr $C5A1 ; CPU:$EE66 PRG:2E66 20 A1 C5 +SubCEE66: + jsr SubCC5A1 ; CPU:$EE66 PRG:2E66 20 A1 C5 ldx #$00 ; CPU:$EE69 PRG:2E69 A2 00 ldy #$00 ; CPU:$EE6B PRG:2E6B A0 00 - jsr $EE79 ; CPU:$EE6D PRG:2E6D 20 79 EE + jsr SubCEE79 ; CPU:$EE6D PRG:2E6D 20 79 EE ldx #$02 ; CPU:$EE70 PRG:2E70 A2 02 iny ; CPU:$EE72 PRG:2E72 C8 - jsr $EE79 ; CPU:$EE73 PRG:2E73 20 79 EE - jmp $C59C ; CPU:$EE76 PRG:2E76 4C 9C C5 + jsr SubCEE79 ; CPU:$EE73 PRG:2E73 20 79 EE + jmp SubCC59C ; CPU:$EE76 PRG:2E76 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_EE79 +; Routine: SubCEE79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12748,7 +12748,7 @@ Label_EE66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE79: +SubCEE79: clc ; CPU:$EE79 PRG:2E79 18 lda ZpAE,x ; CPU:$EE7A PRG:2E7A B5 AE adc $EEB4,y ; CPU:$EE7C PRG:2E7C 79 B4 EE @@ -12757,13 +12757,13 @@ Label_EE79: adc $EEB6,y ; CPU:$EE83 PRG:2E83 79 B6 EE sta Zp26,x ; CPU:$EE86 PRG:2E86 95 26 clc ; CPU:$EE88 PRG:2E88 18 - lda a:$00B4,y ; CPU:$EE89 PRG:2E89 B9 B4 00 + lda a:ZpB4,y ; CPU:$EE89 PRG:2E89 B9 B4 00 adc Zp25,x ; CPU:$EE8C PRG:2E8C 75 25 sta Zp25,x ; CPU:$EE8E PRG:2E8E 95 25 - bcc Label_EE94 ; CPU:$EE90 PRG:2E90 90 02 + bcc Sub_8764_OnCarryClear_EE94 ; CPU:$EE90 PRG:2E90 90 02 inc Zp26,x ; CPU:$EE92 PRG:2E92 F6 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EE94 +; Routine: Sub_8764_OnCarryClear_EE94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12771,16 +12771,16 @@ Label_EE79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE94: +Sub_8764_OnCarryClear_EE94: lda Zp26,x ; CPU:$EE94 PRG:2E94 B5 26 cmp $EEB8,y ; CPU:$EE96 PRG:2E96 D9 B8 EE - bcc Label_EEB3 ; CPU:$EE99 PRG:2E99 90 18 - bne Label_EEA4 ; CPU:$EE9B PRG:2E9B D0 07 + bcc Sub_8764_OnCarryClear_EEB3 ; CPU:$EE99 PRG:2E99 90 18 + bne Sub_8764_OnNonzero_EEA4 ; CPU:$EE9B PRG:2E9B D0 07 lda Zp25,x ; CPU:$EE9D PRG:2E9D B5 25 cmp $EEBA,y ; CPU:$EE9F PRG:2E9F D9 BA EE - bcc Label_EEB3 ; CPU:$EEA2 PRG:2EA2 90 0F + bcc Sub_8764_OnCarryClear_EEB3 ; CPU:$EEA2 PRG:2EA2 90 0F ; ----------------------------------------------------------------------------- -; Routine: Label_EEA4 +; Routine: Sub_8764_OnNonzero_EEA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12788,7 +12788,7 @@ Label_EE94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA4: +Sub_8764_OnNonzero_EEA4: sec ; CPU:$EEA4 PRG:2EA4 38 lda Zp25,x ; CPU:$EEA5 PRG:2EA5 B5 25 sbc $EEBA,y ; CPU:$EEA7 PRG:2EA7 F9 BA EE @@ -12797,7 +12797,7 @@ Label_EEA4: sbc $EEB8,y ; CPU:$EEAE PRG:2EAE F9 B8 EE sta Zp26,x ; CPU:$EEB1 PRG:2EB1 95 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EEB3 +; Routine: Sub_8764_OnCarryClear_EEB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12805,7 +12805,7 @@ Label_EEA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEB3: +Sub_8764_OnCarryClear_EEB3: rts ; CPU:$EEB3 PRG:2EB3 60 ; ---- data $EEB4-$EEBB (8 bytes) ---- ; referenced by `adc $EEB4,y` at $EE7C (operand $EEB4 falls inside this region) @@ -12816,7 +12816,7 @@ Label_EEB3: ; referenced by `sbc $EEB8,y` at $EEAE (operand $EEB8 falls inside this region) .byte $32, $A4, $01, $00, $0C, $07, $80, $D0 ; CPU:$EEB4 PRG:2EB4 32 A4 01 00 0C 07 80 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_EEBC +; Routine: SubCEEBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12824,13 +12824,13 @@ Label_EEB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEBC: +SubCEEBC: lda ZpAB ; CPU:$EEBC PRG:2EBC A5 AB cmp #$FA ; CPU:$EEBE PRG:2EBE C9 FA - beq Label_EEC5 ; CPU:$EEC0 PRG:2EC0 F0 03 - jsr $F127 ; CPU:$EEC2 PRG:2EC2 20 27 F1 + beq Sub_8764_OnZero_EEC5 ; CPU:$EEC0 PRG:2EC0 F0 03 + jsr SubCF127 ; CPU:$EEC2 PRG:2EC2 20 27 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_EEC5 +; Routine: Sub_8764_OnZero_EEC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12838,14 +12838,14 @@ Label_EEBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC5: +Sub_8764_OnZero_EEC5: lda Zp09 ; CPU:$EEC5 PRG:2EC5 A5 09 - bne Label_EECE ; CPU:$EEC7 PRG:2EC7 D0 05 + bne Sub_8764_OnNonzero_EECE ; CPU:$EEC7 PRG:2EC7 D0 05 lda Zp0C ; CPU:$EEC9 PRG:2EC9 A5 0C - bne Label_EED6 ; CPU:$EECB PRG:2ECB D0 09 + bne Sub_8764_OnNonzero_EED6 ; CPU:$EECB PRG:2ECB D0 09 rts ; CPU:$EECD PRG:2ECD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EECE +; Routine: Sub_8764_OnNonzero_EECE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12853,13 +12853,13 @@ Label_EEC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECE: +Sub_8764_OnNonzero_EECE: inc Zp3A ; CPU:$EECE PRG:2ECE E6 3A lda Zp3A ; CPU:$EED0 PRG:2ED0 A5 3A and #$01 ; CPU:$EED2 PRG:2ED2 29 01 - beq Label_EF38 ; CPU:$EED4 PRG:2ED4 F0 62 + beq Sub_8764_OnZero_EF38 ; CPU:$EED4 PRG:2ED4 F0 62 ; ----------------------------------------------------------------------------- -; Routine: Label_EED6 +; Routine: Sub_8764_OnNonzero_EED6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12867,12 +12867,12 @@ Label_EECE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EED6: +Sub_8764_OnNonzero_EED6: lda #$00 ; CPU:$EED6 PRG:2ED6 A9 00 sta Zp0C ; CPU:$EED8 PRG:2ED8 85 0C ldy #$07 ; CPU:$EEDA PRG:2EDA A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EEDC +; Routine: Sub_8764_OnNonnegative_EEDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12880,18 +12880,18 @@ Label_EED6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEDC: +Sub_8764_OnNonnegative_EEDC: tya ; CPU:$EEDC PRG:2EDC 98 pha ; CPU:$EEDD PRG:2EDD 48 - lda a:$0065,y ; CPU:$EEDE PRG:2EDE B9 65 00 - beq Label_EEEF ; CPU:$EEE1 PRG:2EE1 F0 0C - bmi Label_EEF5 ; CPU:$EEE3 PRG:2EE3 30 10 - lda a:$0095,y ; CPU:$EEE5 PRG:2EE5 B9 95 00 + lda a:Zp65,y ; CPU:$EEDE PRG:2EDE B9 65 00 + beq SubCEEEF ; CPU:$EEE1 PRG:2EE1 F0 0C + bmi Sub_8764_JoinBranchPaths_EEF5 ; CPU:$EEE3 PRG:2EE3 30 10 + lda a:Zp95,y ; CPU:$EEE5 PRG:2EE5 B9 95 00 cmp #$FA ; CPU:$EEE8 PRG:2EE8 C9 FA - beq Label_EEF5 ; CPU:$EEEA PRG:2EEA F0 09 - jsr $EF58 ; CPU:$EEEC PRG:2EEC 20 58 EF + beq Sub_8764_JoinBranchPaths_EEF5 ; CPU:$EEEA PRG:2EEA F0 09 + jsr SubCEF58 ; CPU:$EEEC PRG:2EEC 20 58 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EEEF +; Routine: SubCEEEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12899,14 +12899,14 @@ Label_EEDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEEF: +SubCEEEF: pla ; CPU:$EEEF PRG:2EEF 68 tay ; CPU:$EEF0 PRG:2EF0 A8 dey ; CPU:$EEF1 PRG:2EF1 88 - bpl Label_EEDC ; CPU:$EEF2 PRG:2EF2 10 E8 + bpl Sub_8764_OnNonnegative_EEDC ; CPU:$EEF2 PRG:2EF2 10 E8 rts ; CPU:$EEF4 PRG:2EF4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EEF5 +; Routine: Sub_8764_JoinBranchPaths_EEF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12914,21 +12914,21 @@ Label_EEEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEF5: +Sub_8764_JoinBranchPaths_EEF5: tya ; CPU:$EEF5 PRG:2EF5 98 - jsr $C589 ; CPU:$EEF6 PRG:2EF6 20 89 C5 + jsr SubCC589 ; CPU:$EEF6 PRG:2EF6 20 89 C5 lda $06D7,y ; CPU:$EEF9 PRG:2EF9 B9 D7 06 pha ; CPU:$EEFC PRG:2EFC 48 lda #$00 ; CPU:$EEFD PRG:2EFD A9 00 sta $06D7,y ; CPU:$EEFF PRG:2EFF 99 D7 06 pla ; CPU:$EF02 PRG:2F02 68 cmp #$A9 ; CPU:$EF03 PRG:2F03 C9 A9 - bcc Label_EF0D ; CPU:$EF05 PRG:2F05 90 06 + bcc Sub_8764_OnCarryClear_EF0D ; CPU:$EF05 PRG:2F05 90 06 cmp #$AD ; CPU:$EF07 PRG:2F07 C9 AD - bcs Label_EF24 ; CPU:$EF09 PRG:2F09 B0 19 + bcs Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF09 PRG:2F09 B0 19 lda #$63 ; CPU:$EF0B PRG:2F0B A9 63 ; ----------------------------------------------------------------------------- -; Routine: Label_EF0D +; Routine: Sub_8764_OnCarryClear_EF0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12936,11 +12936,11 @@ Label_EEF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF0D: +Sub_8764_OnCarryClear_EF0D: cmp #$63 ; CPU:$EF0D PRG:2F0D C9 63 - bcc Label_EF24 ; CPU:$EF0F PRG:2F0F 90 13 + bcc Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF0F PRG:2F0F 90 13 cmp #$68 ; CPU:$EF11 PRG:2F11 C9 68 - bcs Label_EF24 ; CPU:$EF13 PRG:2F13 B0 0F + bcs Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF13 PRG:2F13 B0 0F sec ; CPU:$EF15 PRG:2F15 38 sbc #$63 ; CPU:$EF16 PRG:2F16 E9 63 tay ; CPU:$EF18 PRG:2F18 A8 @@ -12948,9 +12948,9 @@ Label_EF0D: tax ; CPU:$EF1C PRG:2F1C AA lda $EF2C,y ; CPU:$EF1D PRG:2F1D B9 2C EF tay ; CPU:$EF20 PRG:2F20 A8 - jsr $C463 ; CPU:$EF21 PRG:2F21 20 63 C4 + jsr SubCC463 ; CPU:$EF21 PRG:2F21 20 63 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_EF24 +; Routine: Sub_8764_JoinBranchPaths_EF24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12958,14 +12958,14 @@ Label_EF0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF24: - jmp $EEEF ; CPU:$EF24 PRG:2F24 4C EF EE +Sub_8764_JoinBranchPaths_EF24: + jmp SubCEEEF ; CPU:$EF24 PRG:2F24 4C EF EE ; ---- data $EF27-$EF30 (10 bytes) ---- ; referenced by `lda $EF27,y` at $EF19 (operand $EF27 falls inside this region) ; referenced by `lda $EF2C,y` at $EF1D (operand $EF2C falls inside this region) .byte $80, $80, $A0, $B0, $80, $30, $20, $04, $30, $30 ; CPU:$EF27 PRG:2F27 80 80 A0 B0 80 30 20 04 30 30 ; ----------------------------------------------------------------------------- -; Routine: Label_EF31 +; Routine: Sub_8764_OnCarryClear_EF31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12973,12 +12973,12 @@ Label_EF24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF31: +Sub_8764_OnCarryClear_EF31: ldx #$80 ; CPU:$EF31 PRG:2F31 A2 80 ldy #$20 ; CPU:$EF33 PRG:2F33 A0 20 - jmp $C463 ; CPU:$EF35 PRG:2F35 4C 63 C4 + jmp SubCC463 ; CPU:$EF35 PRG:2F35 4C 63 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_EF38 +; Routine: Sub_8764_OnZero_EF38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12986,12 +12986,12 @@ Label_EF31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF38: +Sub_8764_OnZero_EF38: lda #$00 ; CPU:$EF38 PRG:2F38 A9 00 sta Zp0C ; CPU:$EF3A PRG:2F3A 85 0C ldy #$07 ; CPU:$EF3C PRG:2F3C A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EF3E +; Routine: Sub_8764_OnNonnegative_EF3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12999,15 +12999,15 @@ Label_EF38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF3E: +Sub_8764_OnNonnegative_EF3E: tya ; CPU:$EF3E PRG:2F3E 98 pha ; CPU:$EF3F PRG:2F3F 48 - lda a:$006D,y ; CPU:$EF40 PRG:2F40 B9 6D 00 - beq Label_EF4A ; CPU:$EF43 PRG:2F43 F0 05 - bpl Label_EF50 ; CPU:$EF45 PRG:2F45 10 09 - jsr $EF58 ; CPU:$EF47 PRG:2F47 20 58 EF + lda a:Zp6D,y ; CPU:$EF40 PRG:2F40 B9 6D 00 + beq SubCEF4A ; CPU:$EF43 PRG:2F43 F0 05 + bpl Sub_8764_OnNonnegative_EF50 ; CPU:$EF45 PRG:2F45 10 09 + jsr SubCEF58 ; CPU:$EF47 PRG:2F47 20 58 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EF4A +; Routine: SubCEF4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13015,14 +13015,14 @@ Label_EF3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF4A: +SubCEF4A: pla ; CPU:$EF4A PRG:2F4A 68 tay ; CPU:$EF4B PRG:2F4B A8 dey ; CPU:$EF4C PRG:2F4C 88 - bpl Label_EF3E ; CPU:$EF4D PRG:2F4D 10 EF + bpl Sub_8764_OnNonnegative_EF3E ; CPU:$EF4D PRG:2F4D 10 EF rts ; CPU:$EF4F PRG:2F4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF50 +; Routine: Sub_8764_OnNonnegative_EF50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13030,12 +13030,12 @@ Label_EF4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF50: +Sub_8764_OnNonnegative_EF50: ldx #$08 ; CPU:$EF50 PRG:2F50 A2 08 - jsr $EF5A ; CPU:$EF52 PRG:2F52 20 5A EF - jmp $EF4A ; CPU:$EF55 PRG:2F55 4C 4A EF + jsr SubCEF5A ; CPU:$EF52 PRG:2F52 20 5A EF + jmp SubCEF4A ; CPU:$EF55 PRG:2F55 4C 4A EF ; ----------------------------------------------------------------------------- -; Routine: Label_EF58 +; Routine: SubCEF58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13043,10 +13043,10 @@ Label_EF50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF58: +SubCEF58: ldx #$00 ; CPU:$EF58 PRG:2F58 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF5A +; Routine: SubCEF5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13054,7 +13054,7 @@ Label_EF58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF5A: +SubCEF5A: stx Zp01 ; CPU:$EF5A PRG:2F5A 86 01 tya ; CPU:$EF5C PRG:2F5C 98 clc ; CPU:$EF5D PRG:2F5D 18 @@ -13069,9 +13069,9 @@ Label_EF5A: lda $06D7,x ; CPU:$EF6D PRG:2F6D BD D7 06 ldx Zp4A ; CPU:$EF70 PRG:2F70 A6 4A inx ; CPU:$EF72 PRG:2F72 E8 - bne Label_EF76 ; CPU:$EF73 PRG:2F73 D0 01 + bne Sub_8764_OnNonzero_EF76 ; CPU:$EF73 PRG:2F73 D0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EF75 +; Routine: Sub_8764_JoinBranchPaths_EF75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13079,10 +13079,10 @@ Label_EF5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF75: +Sub_8764_JoinBranchPaths_EF75: rts ; CPU:$EF75 PRG:2F75 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF76 +; Routine: Sub_8764_OnNonzero_EF76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13090,26 +13090,26 @@ Label_EF75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF76: +Sub_8764_OnNonzero_EF76: pha ; CPU:$EF76 PRG:2F76 48 tya ; CPU:$EF77 PRG:2F77 98 - jsr $C589 ; CPU:$EF78 PRG:2F78 20 89 C5 + jsr SubCC589 ; CPU:$EF78 PRG:2F78 20 89 C5 pla ; CPU:$EF7B PRG:2F7B 68 cmp #$64 ; CPU:$EF7C PRG:2F7C C9 64 - bcc Label_EF75 ; CPU:$EF7E PRG:2F7E 90 F5 + bcc Sub_8764_JoinBranchPaths_EF75 ; CPU:$EF7E PRG:2F7E 90 F5 cmp #$66 ; CPU:$EF80 PRG:2F80 C9 66 - bcs Label_EFC2 ; CPU:$EF82 PRG:2F82 B0 3E + bcs Sub_8764_OnCarrySet_EFC2 ; CPU:$EF82 PRG:2F82 B0 3E cmp #$64 ; CPU:$EF84 PRG:2F84 C9 64 - bne Label_EF75 ; CPU:$EF86 PRG:2F86 D0 ED + bne Sub_8764_JoinBranchPaths_EF75 ; CPU:$EF86 PRG:2F86 D0 ED lda ZpBB ; CPU:$EF88 PRG:2F88 A5 BB - beq Label_EF96 ; CPU:$EF8A PRG:2F8A F0 0A - bmi Label_EF96 ; CPU:$EF8C PRG:2F8C 30 08 + beq Sub_8764_JoinBranchPaths_EF96 ; CPU:$EF8A PRG:2F8A F0 0A + bmi Sub_8764_JoinBranchPaths_EF96 ; CPU:$EF8C PRG:2F8C 30 08 cmp #$0F ; CPU:$EF8E PRG:2F8E C9 0F - bcc Label_EF31 ; CPU:$EF90 PRG:2F90 90 9F + bcc Sub_8764_OnCarryClear_EF31 ; CPU:$EF90 PRG:2F90 90 9F lda #$EC ; CPU:$EF92 PRG:2F92 A9 EC - bne Label_EF98 ; CPU:$EF94 PRG:2F94 D0 02 + bne Sub_8764_OnNonzero_EF98 ; CPU:$EF94 PRG:2F94 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EF96 +; Routine: Sub_8764_JoinBranchPaths_EF96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13117,10 +13117,10 @@ Label_EF76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF96: +Sub_8764_JoinBranchPaths_EF96: lda #$E8 ; CPU:$EF96 PRG:2F96 A9 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EF98 +; Routine: Sub_8764_OnNonzero_EF98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13128,20 +13128,20 @@ Label_EF96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF98: +Sub_8764_OnNonzero_EF98: sta Zp4B ; CPU:$EF98 PRG:2F98 85 4B lda #$03 ; CPU:$EF9A PRG:2F9A A9 03 sta Zp4D ; CPU:$EF9C PRG:2F9C 85 4D lda #$08 ; CPU:$EF9E PRG:2F9E A9 08 - jsr $F194 ; CPU:$EFA0 PRG:2FA0 20 94 F1 + jsr SubCF194 ; CPU:$EFA0 PRG:2FA0 20 94 F1 lda #$18 ; CPU:$EFA3 PRG:2FA3 A9 18 - jsr $F18C ; CPU:$EFA5 PRG:2FA5 20 8C F1 + jsr SubCF18C ; CPU:$EFA5 PRG:2FA5 20 8C F1 lda #$08 ; CPU:$EFA8 PRG:2FA8 A9 08 sta Zp00 ; CPU:$EFAA PRG:2FAA 85 00 lda #$02 ; CPU:$EFAC PRG:2FAC A9 02 sta Zp01 ; CPU:$EFAE PRG:2FAE 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EFB0 +; Routine: Sub_8764_OnNonzero_EFB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13149,17 +13149,17 @@ Label_EF98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFB0: - jsr $F102 ; CPU:$EFB0 PRG:2FB0 20 02 F1 +Sub_8764_OnNonzero_EFB0: + jsr SubCF102 ; CPU:$EFB0 PRG:2FB0 20 02 F1 lda #$02 ; CPU:$EFB3 PRG:2FB3 A9 02 - jsr $F19A ; CPU:$EFB5 PRG:2FB5 20 9A F1 - jsr $F18A ; CPU:$EFB8 PRG:2FB8 20 8A F1 + jsr SubCF19A ; CPU:$EFB5 PRG:2FB5 20 9A F1 + jsr SubCF18A ; CPU:$EFB8 PRG:2FB8 20 8A F1 inc Zp00 ; CPU:$EFBB PRG:2FBB E6 00 dec Zp01 ; CPU:$EFBD PRG:2FBD C6 01 - bne Label_EFB0 ; CPU:$EFBF PRG:2FBF D0 EF + bne Sub_8764_OnNonzero_EFB0 ; CPU:$EFBF PRG:2FBF D0 EF rts ; CPU:$EFC1 PRG:2FC1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFC2 +; Routine: Sub_8764_OnCarrySet_EFC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13167,16 +13167,16 @@ Label_EFB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFC2: +Sub_8764_OnCarrySet_EFC2: cmp #$68 ; CPU:$EFC2 PRG:2FC2 C9 68 - bcs Label_F011 ; CPU:$EFC4 PRG:2FC4 B0 4B + bcs Sub_8764_OnCarrySet_F011 ; CPU:$EFC4 PRG:2FC4 B0 4B cmp #$66 ; CPU:$EFC6 PRG:2FC6 C9 66 - bne Label_EFD1 ; CPU:$EFC8 PRG:2FC8 D0 07 + bne Sub_8764_OnNonzero_EFD1 ; CPU:$EFC8 PRG:2FC8 D0 07 lda #$2C ; CPU:$EFCA PRG:2FCA A9 2C ldx #$0C ; CPU:$EFCC PRG:2FCC A2 0C - jmp $EFD5 ; CPU:$EFCE PRG:2FCE 4C D5 EF + jmp SubCEFD5 ; CPU:$EFCE PRG:2FCE 4C D5 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EFD1 +; Routine: Sub_8764_OnNonzero_EFD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13184,11 +13184,11 @@ Label_EFC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD1: +Sub_8764_OnNonzero_EFD1: lda #$20 ; CPU:$EFD1 PRG:2FD1 A9 20 ldx #$4C ; CPU:$EFD3 PRG:2FD3 A2 4C ; ----------------------------------------------------------------------------- -; Routine: Label_EFD5 +; Routine: SubCEFD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13196,7 +13196,7 @@ Label_EFD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD5: +SubCEFD5: sta Zp02 ; CPU:$EFD5 PRG:2FD5 85 02 stx Zp4B ; CPU:$EFD7 PRG:2FD7 86 4B lda Zp49 ; CPU:$EFD9 PRG:2FD9 A5 49 @@ -13208,7 +13208,7 @@ Label_EFD5: lda #$04 ; CPU:$EFE4 PRG:2FE4 A9 04 sta Zp01 ; CPU:$EFE6 PRG:2FE6 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EFE8 +; Routine: Sub_8764_OnNonzero_EFE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13216,10 +13216,10 @@ Label_EFD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE8: +Sub_8764_OnNonzero_EFE8: ldx #$03 ; CPU:$EFE8 PRG:2FE8 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EFEA +; Routine: Sub_8764_OnNonzero_EFEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13227,28 +13227,28 @@ Label_EFE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFEA: +Sub_8764_OnNonzero_EFEA: lda Zp02 ; CPU:$EFEA PRG:2FEA A5 02 - jsr $F10D ; CPU:$EFEC PRG:2FEC 20 0D F1 + jsr SubCF10D ; CPU:$EFEC PRG:2FEC 20 0D F1 inc Zp4B ; CPU:$EFEF PRG:2FEF E6 4B lda #$08 ; CPU:$EFF1 PRG:2FF1 A9 08 - jsr $F18C ; CPU:$EFF3 PRG:2FF3 20 8C F1 + jsr SubCF18C ; CPU:$EFF3 PRG:2FF3 20 8C F1 inc Zp02 ; CPU:$EFF6 PRG:2FF6 E6 02 dex ; CPU:$EFF8 PRG:2FF8 CA - bne Label_EFEA ; CPU:$EFF9 PRG:2FF9 D0 EF + bne Sub_8764_OnNonzero_EFEA ; CPU:$EFF9 PRG:2FF9 D0 EF lda Zp49 ; CPU:$EFFB PRG:2FFB A5 49 sec ; CPU:$EFFD PRG:2FFD 38 sbc #$18 ; CPU:$EFFE PRG:2FFE E9 18 sta Zp49 ; CPU:$F000 PRG:3000 85 49 lda #$08 ; CPU:$F002 PRG:3002 A9 08 - jsr $F194 ; CPU:$F004 PRG:3004 20 94 F1 + jsr SubCF194 ; CPU:$F004 PRG:3004 20 94 F1 lda #$0D ; CPU:$F007 PRG:3007 A9 0D - jsr $F19A ; CPU:$F009 PRG:3009 20 9A F1 + jsr SubCF19A ; CPU:$F009 PRG:3009 20 9A F1 dec Zp01 ; CPU:$F00C PRG:300C C6 01 - bne Label_EFE8 ; CPU:$F00E PRG:300E D0 D8 + bne Sub_8764_OnNonzero_EFE8 ; CPU:$F00E PRG:300E D0 D8 rts ; CPU:$F010 PRG:3010 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F011 +; Routine: Sub_8764_OnCarrySet_F011 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13256,17 +13256,17 @@ Label_EFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F011: +Sub_8764_OnCarrySet_F011: cmp #$74 ; CPU:$F011 PRG:3011 C9 74 - bcs Label_F020 ; CPU:$F013 PRG:3013 B0 0B + bcs Sub_8764_OnCarrySet_F020 ; CPU:$F013 PRG:3013 B0 0B sbc #$67 ; CPU:$F015 PRG:3015 E9 67 tax ; CPU:$F017 PRG:3017 AA lda $F1B4,x ; CPU:$F018 PRG:3018 BD B4 F1 tax ; CPU:$F01B PRG:301B AA lda #$40 ; CPU:$F01C PRG:301C A9 40 - bne Label_F02A ; CPU:$F01E PRG:301E D0 0A + bne Sub_8764_OnNonzero_F02A ; CPU:$F01E PRG:301E D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_F020 +; Routine: Sub_8764_OnCarrySet_F020 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13274,15 +13274,15 @@ Label_F011: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F020: +Sub_8764_OnCarrySet_F020: cmp #$7C ; CPU:$F020 PRG:3020 C9 7C - bcs Label_F035 ; CPU:$F022 PRG:3022 B0 11 + bcs Sub_8764_OnCarrySet_F035 ; CPU:$F022 PRG:3022 B0 11 sbc #$73 ; CPU:$F024 PRG:3024 E9 73 asl a ; CPU:$F026 PRG:3026 0A tax ; CPU:$F027 PRG:3027 AA lda #$80 ; CPU:$F028 PRG:3028 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_F02A +; Routine: Sub_8764_OnNonzero_F02A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13290,10 +13290,10 @@ Label_F020: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02A: +Sub_8764_OnNonzero_F02A: stx Zp4C ; CPU:$F02A PRG:302A 86 4C ; ----------------------------------------------------------------------------- -; Routine: Label_F02C +; Routine: Sub_8764_OnNonzero_F02C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13301,11 +13301,11 @@ Label_F02A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02C: +Sub_8764_OnNonzero_F02C: sta Zp4B ; CPU:$F02C PRG:302C 85 4B lda #$01 ; CPU:$F02E PRG:302E A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F030 +; Routine: SubCF030 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13313,11 +13313,11 @@ Label_F02C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F030: +SubCF030: sta Zp4D ; CPU:$F030 PRG:3030 85 4D - jmp $F178 ; CPU:$F032 PRG:3032 4C 78 F1 + jmp SubCF178 ; CPU:$F032 PRG:3032 4C 78 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F035 +; Routine: Sub_8764_OnCarrySet_F035 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13325,9 +13325,9 @@ Label_F030: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F035: +Sub_8764_OnCarrySet_F035: cmp #$84 ; CPU:$F035 PRG:3035 C9 84 - bcs Label_F060 ; CPU:$F037 PRG:3037 B0 27 + bcs Sub_8764_OnCarrySet_F060 ; CPU:$F037 PRG:3037 B0 27 sbc #$7B ; CPU:$F039 PRG:3039 E9 7B tax ; CPU:$F03B PRG:303B AA lda $F1C0,x ; CPU:$F03C PRG:303C BD C0 F1 @@ -13336,17 +13336,17 @@ Label_F035: sta Zp4D ; CPU:$F043 PRG:3043 85 4D lda $043F ; CPU:$F045 PRG:3045 AD 3F 04 cmp #$7D ; CPU:$F048 PRG:3048 C9 7D - bcc Label_F05C ; CPU:$F04A PRG:304A 90 10 + bcc Sub_8764_JoinBranchPaths_F05C ; CPU:$F04A PRG:304A 90 10 cmp #$82 ; CPU:$F04C PRG:304C C9 82 - bcs Label_F05C ; CPU:$F04E PRG:304E B0 0C + bcs Sub_8764_JoinBranchPaths_F05C ; CPU:$F04E PRG:304E B0 0C inc ZpDC ; CPU:$F050 PRG:3050 E6 DC lda ZpDC ; CPU:$F052 PRG:3052 A5 DC and #$01 ; CPU:$F054 PRG:3054 29 01 - bne Label_F05C ; CPU:$F056 PRG:3056 D0 04 + bne Sub_8764_JoinBranchPaths_F05C ; CPU:$F056 PRG:3056 D0 04 tya ; CPU:$F058 PRG:3058 98 - jmp $C589 ; CPU:$F059 PRG:3059 4C 89 C5 + jmp SubCC589 ; CPU:$F059 PRG:3059 4C 89 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_F05C +; Routine: Sub_8764_JoinBranchPaths_F05C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13354,11 +13354,11 @@ Label_F035: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F05C: +Sub_8764_JoinBranchPaths_F05C: tya ; CPU:$F05C PRG:305C 98 - jmp $F104 ; CPU:$F05D PRG:305D 4C 04 F1 + jmp SubCF104 ; CPU:$F05D PRG:305D 4C 04 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F060 +; Routine: Sub_8764_OnCarrySet_F060 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13366,20 +13366,20 @@ Label_F05C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F060: +Sub_8764_OnCarrySet_F060: cmp #$90 ; CPU:$F060 PRG:3060 C9 90 - bcs Label_F07E ; CPU:$F062 PRG:3062 B0 1A + bcs Sub_8764_OnCarrySet_F07E ; CPU:$F062 PRG:3062 B0 1A sbc #$83 ; CPU:$F064 PRG:3064 E9 83 tax ; CPU:$F066 PRG:3066 AA lda $F1B4,x ; CPU:$F067 PRG:3067 BD B4 F1 sta Zp4C ; CPU:$F06A PRG:306A 85 4C lda Zp00 ; CPU:$F06C PRG:306C A5 00 and #$01 ; CPU:$F06E PRG:306E 29 01 - bne Label_F076 ; CPU:$F070 PRG:3070 D0 04 + bne Sub_8764_OnNonzero_F076 ; CPU:$F070 PRG:3070 D0 04 lda #$02 ; CPU:$F072 PRG:3072 A9 02 - bne Label_F078 ; CPU:$F074 PRG:3074 D0 02 + bne Sub_8764_OnNonzero_F078 ; CPU:$F074 PRG:3074 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F076 +; Routine: Sub_8764_OnNonzero_F076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13387,10 +13387,10 @@ Label_F060: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F076: +Sub_8764_OnNonzero_F076: lda #$01 ; CPU:$F076 PRG:3076 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F078 +; Routine: Sub_8764_OnNonzero_F078 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13398,12 +13398,12 @@ Label_F076: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F078: +Sub_8764_OnNonzero_F078: ldx #$20 ; CPU:$F078 PRG:3078 A2 20 stx Zp4B ; CPU:$F07A PRG:307A 86 4B - bne Label_F030 ; CPU:$F07C PRG:307C D0 B2 + bne SubCF030 ; CPU:$F07C PRG:307C D0 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_F07E +; Routine: Sub_8764_OnCarrySet_F07E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13411,17 +13411,17 @@ Label_F078: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07E: +Sub_8764_OnCarrySet_F07E: cmp #$9C ; CPU:$F07E PRG:307E C9 9C - bcs Label_F08E ; CPU:$F080 PRG:3080 B0 0C + bcs Sub_8764_OnCarrySet_F08E ; CPU:$F080 PRG:3080 B0 0C sbc #$8F ; CPU:$F082 PRG:3082 E9 8F tax ; CPU:$F084 PRG:3084 AA lda $F1B4,x ; CPU:$F085 PRG:3085 BD B4 F1 sta Zp4C ; CPU:$F088 PRG:3088 85 4C lda #$60 ; CPU:$F08A PRG:308A A9 60 - bne Label_F02C ; CPU:$F08C PRG:308C D0 9E + bne Sub_8764_OnNonzero_F02C ; CPU:$F08C PRG:308C D0 9E ; ----------------------------------------------------------------------------- -; Routine: Label_F08E +; Routine: Sub_8764_OnCarrySet_F08E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13429,17 +13429,17 @@ Label_F07E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F08E: +Sub_8764_OnCarrySet_F08E: cmp #$A0 ; CPU:$F08E PRG:308E C9 A0 - bcs Label_F09E ; CPU:$F090 PRG:3090 B0 0C + bcs Sub_8764_OnCarrySet_F09E ; CPU:$F090 PRG:3090 B0 0C sbc #$9B ; CPU:$F092 PRG:3092 E9 9B tax ; CPU:$F094 PRG:3094 AA lda $F1B0,x ; CPU:$F095 PRG:3095 BD B0 F1 sta Zp4C ; CPU:$F098 PRG:3098 85 4C lda #$A0 ; CPU:$F09A PRG:309A A9 A0 - bne Label_F02C ; CPU:$F09C PRG:309C D0 8E + bne Sub_8764_OnNonzero_F02C ; CPU:$F09C PRG:309C D0 8E ; ----------------------------------------------------------------------------- -; Routine: Label_F09E +; Routine: Sub_8764_OnCarrySet_F09E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13447,10 +13447,10 @@ Label_F08E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F09E: +Sub_8764_OnCarrySet_F09E: cmp #$A8 ; CPU:$F09E PRG:309E C9 A8 - beq Label_F0E0 ; CPU:$F0A0 PRG:30A0 F0 3E - bcs Label_F0B5 ; CPU:$F0A2 PRG:30A2 B0 11 + beq Sub_8764_JoinBranchPaths_F0E0 ; CPU:$F0A0 PRG:30A0 F0 3E + bcs Sub_8764_OnCarrySet_F0B5 ; CPU:$F0A2 PRG:30A2 B0 11 sbc #$9F ; CPU:$F0A4 PRG:30A4 E9 9F tax ; CPU:$F0A6 PRG:30A6 AA lda $F1C8,x ; CPU:$F0A7 PRG:30A7 BD C8 F1 @@ -13458,9 +13458,9 @@ Label_F09E: lda #$C0 ; CPU:$F0AC PRG:30AC A9 C0 sta Zp4B ; CPU:$F0AE PRG:30AE 85 4B lda #$02 ; CPU:$F0B0 PRG:30B0 A9 02 - jmp $F030 ; CPU:$F0B2 PRG:30B2 4C 30 F0 + jmp SubCF030 ; CPU:$F0B2 PRG:30B2 4C 30 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F0B5 +; Routine: Sub_8764_OnCarrySet_F0B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13468,15 +13468,15 @@ Label_F09E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0B5: +Sub_8764_OnCarrySet_F0B5: cmp #$AD ; CPU:$F0B5 PRG:30B5 C9 AD - bcs Label_F0E0 ; CPU:$F0B7 PRG:30B7 B0 27 + bcs Sub_8764_JoinBranchPaths_F0E0 ; CPU:$F0B7 PRG:30B7 B0 27 cmp #$AB ; CPU:$F0B9 PRG:30B9 C9 AB - bcc Label_F0C1 ; CPU:$F0BB PRG:30BB 90 04 + bcc Sub_8764_OnCarryClear_F0C1 ; CPU:$F0BB PRG:30BB 90 04 lda #$8C ; CPU:$F0BD PRG:30BD A9 8C - bne Label_F0C3 ; CPU:$F0BF PRG:30BF D0 02 + bne Sub_8764_OnNonzero_F0C3 ; CPU:$F0BF PRG:30BF D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C1 +; Routine: Sub_8764_OnCarryClear_F0C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13484,10 +13484,10 @@ Label_F0B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C1: +Sub_8764_OnCarryClear_F0C1: lda #$82 ; CPU:$F0C1 PRG:30C1 A9 82 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C3 +; Routine: Sub_8764_OnNonzero_F0C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13495,21 +13495,21 @@ Label_F0C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C3: +Sub_8764_OnNonzero_F0C3: sta Zp4B ; CPU:$F0C3 PRG:30C3 85 4B lda #$01 ; CPU:$F0C5 PRG:30C5 A9 01 sta Zp4D ; CPU:$F0C7 PRG:30C7 85 4D lda #$08 ; CPU:$F0C9 PRG:30C9 A9 08 sta Zp00 ; CPU:$F0CB PRG:30CB 85 00 lda #$20 ; CPU:$F0CD PRG:30CD A9 20 - jsr $F0E1 ; CPU:$F0CF PRG:30CF 20 E1 F0 - jsr $F192 ; CPU:$F0D2 PRG:30D2 20 92 F1 + jsr SubCF0E1 ; CPU:$F0CF PRG:30CF 20 E1 F0 + jsr SubCF192 ; CPU:$F0D2 PRG:30D2 20 92 F1 lda #$02 ; CPU:$F0D5 PRG:30D5 A9 02 - jsr $F0E1 ; CPU:$F0D7 PRG:30D7 20 E1 F0 - jsr $F18A ; CPU:$F0DA PRG:30DA 20 8A F1 - jsr $F102 ; CPU:$F0DD PRG:30DD 20 02 F1 + jsr SubCF0E1 ; CPU:$F0D7 PRG:30D7 20 E1 F0 + jsr SubCF18A ; CPU:$F0DA PRG:30DA 20 8A F1 + jsr SubCF102 ; CPU:$F0DD PRG:30DD 20 02 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F0E0 +; Routine: Sub_8764_JoinBranchPaths_F0E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13517,10 +13517,10 @@ Label_F0C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E0: +Sub_8764_JoinBranchPaths_F0E0: rts ; CPU:$F0E0 PRG:30E0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0E1 +; Routine: SubCF0E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13528,15 +13528,15 @@ Label_F0E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E1: +SubCF0E1: sta Zp02 ; CPU:$F0E1 PRG:30E1 85 02 - jsr $F102 ; CPU:$F0E3 PRG:30E3 20 02 F1 + jsr SubCF102 ; CPU:$F0E3 PRG:30E3 20 02 F1 lda Zp02 ; CPU:$F0E6 PRG:30E6 A5 02 - jsr $F19A ; CPU:$F0E8 PRG:30E8 20 9A F1 + jsr SubCF19A ; CPU:$F0E8 PRG:30E8 20 9A F1 inc Zp00 ; CPU:$F0EB PRG:30EB E6 00 rts ; CPU:$F0ED PRG:30ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0EE +; Routine: SubCF0EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13544,7 +13544,7 @@ Label_F0E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0EE: +SubCF0EE: lda Zp1F ; CPU:$F0EE PRG:30EE A5 1F sta Zp49 ; CPU:$F0F0 PRG:30F0 85 49 lda Zp20 ; CPU:$F0F2 PRG:30F2 A5 20 @@ -13554,9 +13554,9 @@ Label_F0EE: lda #$00 ; CPU:$F0FA PRG:30FA A9 00 sta Zp4D ; CPU:$F0FC PRG:30FC 85 4D lda #$01 ; CPU:$F0FE PRG:30FE A9 01 - bne Label_F104 ; CPU:$F100 PRG:3100 D0 02 + bne SubCF104 ; CPU:$F100 PRG:3100 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F102 +; Routine: SubCF102 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13564,10 +13564,10 @@ Label_F0EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F102: +SubCF102: lda Zp00 ; CPU:$F102 PRG:3102 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F104 +; Routine: SubCF104 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13575,12 +13575,12 @@ Label_F102: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F104: - jsr $F116 ; CPU:$F104 PRG:3104 20 16 F1 - jsr $C5A6 ; CPU:$F107 PRG:3107 20 A6 C5 - jmp $F17F ; CPU:$F10A PRG:310A 4C 7F F1 +SubCF104: + jsr SubCF116 ; CPU:$F104 PRG:3104 20 16 F1 + jsr SubCC5A6 ; CPU:$F107 PRG:3107 20 A6 C5 + jmp SubCF17F ; CPU:$F10A PRG:310A 4C 7F F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F10D +; Routine: SubCF10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13588,12 +13588,12 @@ Label_F104: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F10D: - jsr $F116 ; CPU:$F10D PRG:310D 20 16 F1 - jsr $C56D ; CPU:$F110 PRG:3110 20 6D C5 - jmp $F17F ; CPU:$F113 PRG:3113 4C 7F F1 +SubCF10D: + jsr SubCF116 ; CPU:$F10D PRG:310D 20 16 F1 + jsr SubCC56D ; CPU:$F110 PRG:3110 20 6D C5 + jmp SubCF17F ; CPU:$F113 PRG:3113 4C 7F F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F116 +; Routine: SubCF116 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13601,7 +13601,7 @@ Label_F10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F116: +SubCF116: pha ; CPU:$F116 PRG:3116 48 lda Zp49 ; CPU:$F117 PRG:3117 A5 49 sec ; CPU:$F119 PRG:3119 38 @@ -13614,7 +13614,7 @@ Label_F116: pla ; CPU:$F125 PRG:3125 68 rts ; CPU:$F126 PRG:3126 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F127 +; Routine: SubCF127 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13622,27 +13622,27 @@ Label_F116: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F127: +SubCF127: lda ZpB4 ; CPU:$F127 PRG:3127 A5 B4 sta Zp49 ; CPU:$F129 PRG:3129 85 49 lda ZpB5 ; CPU:$F12B PRG:312B A5 B5 sta Zp4A ; CPU:$F12D PRG:312D 85 4A lda ZpAB ; CPU:$F12F PRG:312F A5 AB - bmi Label_F154 ; CPU:$F131 PRG:3131 30 21 + bmi SubCF154 ; CPU:$F131 PRG:3131 30 21 dec ZpAC ; CPU:$F133 PRG:3133 C6 AC - bne Label_F154 ; CPU:$F135 PRG:3135 D0 1D + bne SubCF154 ; CPU:$F135 PRG:3135 D0 1D lda ZpAB ; CPU:$F137 PRG:3137 A5 AB sta ZpAC ; CPU:$F139 PRG:3139 85 AC lda ZpB2 ; CPU:$F13B PRG:313B A5 B2 cmp #$63 ; CPU:$F13D PRG:313D C9 63 - beq Label_F150 ; CPU:$F13F PRG:313F F0 0F + beq Sub_8764_OnZero_F150 ; CPU:$F13F PRG:313F F0 0F and #$01 ; CPU:$F141 PRG:3141 29 01 - bne Label_F14B ; CPU:$F143 PRG:3143 D0 06 + bne Sub_8764_OnNonzero_F14B ; CPU:$F143 PRG:3143 D0 06 lda ZpCA ; CPU:$F145 PRG:3145 A5 CA - bne Label_F14B ; CPU:$F147 PRG:3147 D0 02 + bne Sub_8764_OnNonzero_F14B ; CPU:$F147 PRG:3147 D0 02 inc ZpCD ; CPU:$F149 PRG:3149 E6 CD ; ----------------------------------------------------------------------------- -; Routine: Label_F14B +; Routine: Sub_8764_OnNonzero_F14B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13650,11 +13650,11 @@ Label_F127: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F14B: +Sub_8764_OnNonzero_F14B: inc ZpB2 ; CPU:$F14B PRG:314B E6 B2 - jmp $F154 ; CPU:$F14D PRG:314D 4C 54 F1 + jmp SubCF154 ; CPU:$F14D PRG:314D 4C 54 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F150 +; Routine: Sub_8764_OnZero_F150 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13662,11 +13662,11 @@ Label_F14B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F150: +Sub_8764_OnZero_F150: lda #$60 ; CPU:$F150 PRG:3150 A9 60 sta ZpB2 ; CPU:$F152 PRG:3152 85 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_F154 +; Routine: SubCF154 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13674,7 +13674,7 @@ Label_F150: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F154: +SubCF154: lda ZpB2 ; CPU:$F154 PRG:3154 A5 B2 sec ; CPU:$F156 PRG:3156 38 sbc #$60 ; CPU:$F157 PRG:3157 E9 60 @@ -13684,7 +13684,7 @@ Label_F154: lda #$00 ; CPU:$F15F PRG:315F A9 00 sta Zp4D ; CPU:$F161 PRG:3161 85 4D lda #$00 ; CPU:$F163 PRG:3163 A9 00 - jsr $F179 ; CPU:$F165 PRG:3165 20 79 F1 + jsr SubCF179 ; CPU:$F165 PRG:3165 20 79 F1 lda Zp3D ; CPU:$F168 PRG:3168 A5 3D and #$0F ; CPU:$F16A PRG:316A 29 0F tax ; CPU:$F16C PRG:316C AA @@ -13694,7 +13694,7 @@ Label_F154: sta Zp4B ; CPU:$F174 PRG:3174 85 4B ldy #$02 ; CPU:$F176 PRG:3176 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F178 +; Routine: SubCF178 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13702,10 +13702,10 @@ Label_F154: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F178: +SubCF178: tya ; CPU:$F178 PRG:3178 98 ; ----------------------------------------------------------------------------- -; Routine: Label_F179 +; Routine: SubCF179 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13713,11 +13713,11 @@ Label_F178: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F179: - jsr $F116 ; CPU:$F179 PRG:3179 20 16 F1 - jsr $C5C7 ; CPU:$F17C PRG:317C 20 C7 C5 +SubCF179: + jsr SubCF116 ; CPU:$F179 PRG:3179 20 16 F1 + jsr SubCC5C7 ; CPU:$F17C PRG:317C 20 C7 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_F17F +; Routine: SubCF17F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13725,15 +13725,15 @@ Label_F179: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F17F: +SubCF17F: pha ; CPU:$F17F PRG:317F 48 lda #$34 ; CPU:$F180 PRG:3180 A9 34 - jsr $F18C ; CPU:$F182 PRG:3182 20 8C F1 - jsr $F192 ; CPU:$F185 PRG:3185 20 92 F1 + jsr SubCF18C ; CPU:$F182 PRG:3182 20 8C F1 + jsr SubCF192 ; CPU:$F185 PRG:3185 20 92 F1 pla ; CPU:$F188 PRG:3188 68 rts ; CPU:$F189 PRG:3189 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F18A +; Routine: SubCF18A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13741,10 +13741,10 @@ Label_F17F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F18A: +SubCF18A: lda #$10 ; CPU:$F18A PRG:318A A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_F18C +; Routine: SubCF18C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13752,13 +13752,13 @@ Label_F18A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F18C: +SubCF18C: clc ; CPU:$F18C PRG:318C 18 adc Zp49 ; CPU:$F18D PRG:318D 65 49 sta Zp49 ; CPU:$F18F PRG:318F 85 49 rts ; CPU:$F191 PRG:3191 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F192 +; Routine: SubCF192 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13766,10 +13766,10 @@ Label_F18C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F192: +SubCF192: lda #$10 ; CPU:$F192 PRG:3192 A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_F194 +; Routine: SubCF194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13777,13 +13777,13 @@ Label_F192: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F194: +SubCF194: clc ; CPU:$F194 PRG:3194 18 adc Zp4A ; CPU:$F195 PRG:3195 65 4A sta Zp4A ; CPU:$F197 PRG:3197 85 4A rts ; CPU:$F199 PRG:3199 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F19A +; Routine: SubCF19A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13791,7 +13791,7 @@ Label_F194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F19A: +SubCF19A: clc ; CPU:$F19A PRG:319A 18 adc Zp4B ; CPU:$F19B PRG:319B 65 4B sta Zp4B ; CPU:$F19D PRG:319D 85 4B @@ -13810,7 +13810,7 @@ Label_F19A: .byte $E8, $E0, $19, $D0, $09, $A2, $00, $C8, $C0, $0A, $D0, $02, $A0, $00, $60, $E8 ; CPU:$F1D0 PRG:31D0 E8 E0 19 D0 09 A2 00 C8 C0 0A D0 02 A0 00 60 E8 .byte $E0, $28, $4C, $D3, $F1, $A9, $18 ; CPU:$F1E0 PRG:31E0 E0 28 4C D3 F1 A9 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F1E7 +; Routine: Sub_8764_OnNonzero_F1E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13818,15 +13818,15 @@ Label_F19A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1E7: +Sub_8764_OnNonzero_F1E7: dex ; CPU:$F1E7 PRG:31E7 CA - bpl Label_F1F0 ; CPU:$F1E8 PRG:31E8 10 06 + bpl Sub_8764_OnNonnegative_F1F0 ; CPU:$F1E8 PRG:31E8 10 06 tax ; CPU:$F1EA PRG:31EA AA dey ; CPU:$F1EB PRG:31EB 88 - bpl Label_F1F0 ; CPU:$F1EC PRG:31EC 10 02 + bpl Sub_8764_OnNonnegative_F1F0 ; CPU:$F1EC PRG:31EC 10 02 ldy #$09 ; CPU:$F1EE PRG:31EE A0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_F1F0 +; Routine: Sub_8764_OnNonnegative_F1F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13834,10 +13834,10 @@ Label_F1E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F0: +Sub_8764_OnNonnegative_F1F0: rts ; CPU:$F1F0 PRG:31F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F1F1 +; Routine: Sub_8764_Return_F1F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13845,20 +13845,20 @@ Label_F1F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F1: +Sub_8764_Return_F1F1: lda #$27 ; CPU:$F1F1 PRG:31F1 A9 27 - bne Label_F1E7 ; CPU:$F1F3 PRG:31F3 D0 F2 + bne Sub_8764_OnNonzero_F1E7 ; CPU:$F1F3 PRG:31F3 D0 F2 lda Zp5D ; CPU:$F1F5 PRG:31F5 A5 5D - beq Label_F207 ; CPU:$F1F7 PRG:31F7 F0 0E + beq Sub_8764_OnZero_F207 ; CPU:$F1F7 PRG:31F7 F0 0E ldy Zp5E ; CPU:$F1F9 PRG:31F9 A4 5E lda $F395,y ; CPU:$F1FB PRG:31FB B9 95 F3 - beq Label_F207 ; CPU:$F1FE PRG:31FE F0 07 + beq Sub_8764_OnZero_F207 ; CPU:$F1FE PRG:31FE F0 07 clc ; CPU:$F200 PRG:3200 18 adc Zp5D ; CPU:$F201 PRG:3201 65 5D tay ; CPU:$F203 PRG:3203 A8 lda $F394,y ; CPU:$F204 PRG:3204 B9 94 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F207 +; Routine: Sub_8764_OnZero_F207 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13866,7 +13866,7 @@ Label_F1F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F207: +Sub_8764_OnZero_F207: sta Zp02 ; CPU:$F207 PRG:3207 85 02 lsr a ; CPU:$F209 PRG:3209 4A and #$1E ; CPU:$F20A PRG:320A 29 1E @@ -13882,10 +13882,10 @@ Label_F207: clc ; CPU:$F21F PRG:321F 18 adc Zp00 ; CPU:$F220 PRG:3220 65 00 sta Zp00 ; CPU:$F222 PRG:3222 85 00 - bcc Label_F228 ; CPU:$F224 PRG:3224 90 02 + bcc Sub_8764_OnCarryClear_F228 ; CPU:$F224 PRG:3224 90 02 inc Zp01 ; CPU:$F226 PRG:3226 E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F228 +; Routine: Sub_8764_OnCarryClear_F228 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13893,13 +13893,13 @@ Label_F207: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F228: +Sub_8764_OnCarryClear_F228: lda #$00 ; CPU:$F228 PRG:3228 A9 00 sta Zp02 ; CPU:$F22A PRG:322A 85 02 ldx Zp5C ; CPU:$F22C PRG:322C A6 5C - beq Label_F236 ; CPU:$F22E PRG:322E F0 06 + beq Sub_8764_OnZero_F236 ; CPU:$F22E PRG:322E F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F230 +; Routine: Sub_8764_OnNonzero_F230 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13907,12 +13907,12 @@ Label_F228: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F230: - jsr $F25F ; CPU:$F230 PRG:3230 20 5F F2 +Sub_8764_OnNonzero_F230: + jsr SubCF25F ; CPU:$F230 PRG:3230 20 5F F2 dex ; CPU:$F233 PRG:3233 CA - bne Label_F230 ; CPU:$F234 PRG:3234 D0 FA + bne Sub_8764_OnNonzero_F230 ; CPU:$F234 PRG:3234 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F236 +; Routine: Sub_8764_OnZero_F236 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13920,10 +13920,10 @@ Label_F230: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F236: +Sub_8764_OnZero_F236: rts ; CPU:$F236 PRG:3236 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F237 +; Routine: Sub_8764_Return_F237 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13931,7 +13931,7 @@ Label_F236: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F237: +Sub_8764_Return_F237: lda Zp00 ; CPU:$F237 PRG:3237 A5 00 sta Zp5F ; CPU:$F239 PRG:3239 85 5F lda Zp01 ; CPU:$F23B PRG:323B A5 01 @@ -13939,9 +13939,9 @@ Label_F237: lda #$00 ; CPU:$F23F PRG:323F A9 00 sta Zp61 ; CPU:$F241 PRG:3241 85 61 lda Zp5B ; CPU:$F243 PRG:3243 A5 5B - beq Label_F25E ; CPU:$F245 PRG:3245 F0 17 + beq Sub_8764_OnZero_F25E ; CPU:$F245 PRG:3245 F0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_F247 +; Routine: Sub_8764_OnNonzero_F247 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13949,16 +13949,16 @@ Label_F237: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F247: +Sub_8764_OnNonzero_F247: cmp #$05 ; CPU:$F247 PRG:3247 C9 05 - bcc Label_F255 ; CPU:$F249 PRG:3249 90 0A + bcc Sub_8764_OnCarryClear_F255 ; CPU:$F249 PRG:3249 90 0A sbc #$05 ; CPU:$F24B PRG:324B E9 05 inc Zp5F ; CPU:$F24D PRG:324D E6 5F - bne Label_F247 ; CPU:$F24F PRG:324F D0 F6 + bne Sub_8764_OnNonzero_F247 ; CPU:$F24F PRG:324F D0 F6 inc Zp60 ; CPU:$F251 PRG:3251 E6 60 - bne Label_F247 ; CPU:$F253 PRG:3253 D0 F2 + bne Sub_8764_OnNonzero_F247 ; CPU:$F253 PRG:3253 D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_F255 +; Routine: Sub_8764_OnCarryClear_F255 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13966,11 +13966,11 @@ Label_F247: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F255: +Sub_8764_OnCarryClear_F255: tax ; CPU:$F255 PRG:3255 AA - beq Label_F25E ; CPU:$F256 PRG:3256 F0 06 + beq Sub_8764_OnZero_F25E ; CPU:$F256 PRG:3256 F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F258 +; Routine: Sub_8764_OnNonzero_F258 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13978,12 +13978,12 @@ Label_F255: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F258: - jsr $F27A ; CPU:$F258 PRG:3258 20 7A F2 +Sub_8764_OnNonzero_F258: + jsr SubCF27A ; CPU:$F258 PRG:3258 20 7A F2 dex ; CPU:$F25B PRG:325B CA - bne Label_F258 ; CPU:$F25C PRG:325C D0 FA + bne Sub_8764_OnNonzero_F258 ; CPU:$F25C PRG:325C D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F25E +; Routine: Sub_8764_OnZero_F25E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13991,10 +13991,10 @@ Label_F258: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F25E: +Sub_8764_OnZero_F25E: rts ; CPU:$F25E PRG:325E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F25F +; Routine: SubCF25F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14002,23 +14002,23 @@ Label_F25E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F25F: +SubCF25F: lda Zp02 ; CPU:$F25F PRG:325F A5 02 clc ; CPU:$F261 PRG:3261 18 adc #$05 ; CPU:$F262 PRG:3262 69 05 sta Zp02 ; CPU:$F264 PRG:3264 85 02 cmp #$19 ; CPU:$F266 PRG:3266 C9 19 - bcc Label_F279 ; CPU:$F268 PRG:3268 90 0F + bcc Sub_8764_OnCarryClear_F279 ; CPU:$F268 PRG:3268 90 0F lda #$00 ; CPU:$F26A PRG:326A A9 00 sta Zp02 ; CPU:$F26C PRG:326C 85 02 lda Zp00 ; CPU:$F26E PRG:326E A5 00 clc ; CPU:$F270 PRG:3270 18 adc #$08 ; CPU:$F271 PRG:3271 69 08 sta Zp00 ; CPU:$F273 PRG:3273 85 00 - bcc Label_F279 ; CPU:$F275 PRG:3275 90 02 + bcc Sub_8764_OnCarryClear_F279 ; CPU:$F275 PRG:3275 90 02 inc Zp01 ; CPU:$F277 PRG:3277 E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F279 +; Routine: Sub_8764_OnCarryClear_F279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14026,10 +14026,10 @@ Label_F25F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F279: +Sub_8764_OnCarryClear_F279: rts ; CPU:$F279 PRG:3279 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F27A +; Routine: SubCF27A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14037,12 +14037,12 @@ Label_F279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F27A: +SubCF27A: lda Zp61 ; CPU:$F27A PRG:327A A5 61 - bne Label_F2B2 ; CPU:$F27C PRG:327C D0 34 + bne Sub_8764_OnNonzero_F2B2 ; CPU:$F27C PRG:327C D0 34 ldy #$00 ; CPU:$F27E PRG:327E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F280 +; Routine: Sub_8764_LoadIndexAndContinue_F280 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14050,7 +14050,7 @@ Label_F27A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F280: +Sub_8764_LoadIndexAndContinue_F280: lda (Zp5F),y ; CPU:$F280 PRG:3280 B1 5F sta Zp61 ; CPU:$F282 PRG:3282 85 61 lsr a ; CPU:$F284 PRG:3284 4A @@ -14068,10 +14068,10 @@ Label_F280: clc ; CPU:$F29B PRG:329B 18 adc Zp63 ; CPU:$F29C PRG:329C 65 63 sta Zp63 ; CPU:$F29E PRG:329E 85 63 - bcc Label_F2A4 ; CPU:$F2A0 PRG:32A0 90 02 + bcc Sub_8764_OnCarryClear_F2A4 ; CPU:$F2A0 PRG:32A0 90 02 inc Zp64 ; CPU:$F2A2 PRG:32A2 E6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_F2A4 +; Routine: Sub_8764_OnCarryClear_F2A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14079,16 +14079,16 @@ Label_F280: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2A4: +Sub_8764_OnCarryClear_F2A4: lda Zp02 ; CPU:$F2A4 PRG:32A4 A5 02 sta Zp62 ; CPU:$F2A6 PRG:32A6 85 62 lda #$05 ; CPU:$F2A8 PRG:32A8 A9 05 sta Zp61 ; CPU:$F2AA PRG:32AA 85 61 inc Zp5F ; CPU:$F2AC PRG:32AC E6 5F - bne Label_F2B2 ; CPU:$F2AE PRG:32AE D0 02 + bne Sub_8764_OnNonzero_F2B2 ; CPU:$F2AE PRG:32AE D0 02 inc Zp60 ; CPU:$F2B0 PRG:32B0 E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F2B2 +; Routine: Sub_8764_OnNonzero_F2B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14096,7 +14096,7 @@ Label_F2A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2B2: +Sub_8764_OnNonzero_F2B2: dec Zp61 ; CPU:$F2B2 PRG:32B2 C6 61 ldy Zp62 ; CPU:$F2B4 PRG:32B4 A4 62 lda (Zp63),y ; CPU:$F2B6 PRG:32B6 B1 63 diff --git a/_wip/Raid on Bungeling Bay (U) [a2]/copilot/reconstructed.lbl b/_wip/Raid on Bungeling Bay (U) [a2]/copilot/reconstructed.lbl index 8a3f166..361515a 100644 --- a/_wip/Raid on Bungeling Bay (U) [a2]/copilot/reconstructed.lbl +++ b/_wip/Raid on Bungeling Bay (U) [a2]/copilot/reconstructed.lbl @@ -1,866 +1,866 @@ -al 00F2A4 .Label_F2A4 -al 00F280 .Label_F280 -al 00F2B2 .Label_F2B2 -al 00F27A .Label_F27A -al 00F279 .Label_F279 -al 00F25F .Label_F25F -al 00F258 .Label_F258 -al 00F255 .Label_F255 -al 00F247 .Label_F247 -al 00F25E .Label_F25E -al 00F237 .Label_F237 -al 00F230 .Label_F230 -al 00F236 .Label_F236 -al 00F228 .Label_F228 -al 00F207 .Label_F207 -al 00F1F1 .Label_F1F1 -al 00F1F0 .Label_F1F0 -al 00F1E7 .Label_F1E7 -al 00F19A .Label_F19A -al 00F194 .Label_F194 -al 00F192 .Label_F192 -al 00F18C .Label_F18C -al 00F18A .Label_F18A -al 00F17F .Label_F17F -al 00F179 .Label_F179 -al 00F178 .Label_F178 -al 00F14B .Label_F14B -al 00F150 .Label_F150 -al 00F154 .Label_F154 -al 00F127 .Label_F127 -al 00F116 .Label_F116 -al 00F10D .Label_F10D -al 00F102 .Label_F102 -al 00F104 .Label_F104 -al 00F0EE .Label_F0EE -al 00F0E1 .Label_F0E1 -al 00F0C3 .Label_F0C3 -al 00F0C1 .Label_F0C1 -al 00F0B5 .Label_F0B5 -al 00F0E0 .Label_F0E0 -al 00F09E .Label_F09E -al 00F08E .Label_F08E -al 00F078 .Label_F078 -al 00F076 .Label_F076 -al 00F07E .Label_F07E -al 00F05C .Label_F05C -al 00F060 .Label_F060 -al 00F030 .Label_F030 -al 00F02C .Label_F02C -al 00F035 .Label_F035 -al 00F02A .Label_F02A -al 00F020 .Label_F020 -al 00EFEA .Label_EFEA -al 00EFE8 .Label_EFE8 -al 00EFD5 .Label_EFD5 -al 00EFD1 .Label_EFD1 -al 00F011 .Label_F011 -al 00EFB0 .Label_EFB0 -al 00EF98 .Label_EF98 -al 00EF96 .Label_EF96 -al 00EFC2 .Label_EFC2 -al 00EF75 .Label_EF75 -al 00EF76 .Label_EF76 -al 00EF5A .Label_EF5A -al 00EF58 .Label_EF58 -al 00EF50 .Label_EF50 -al 00EF4A .Label_EF4A -al 00EF3E .Label_EF3E -al 00EF31 .Label_EF31 -al 00EF24 .Label_EF24 -al 00EF0D .Label_EF0D -al 00EEF5 .Label_EEF5 -al 00EEEF .Label_EEEF -al 00EEDC .Label_EEDC -al 00EF38 .Label_EF38 -al 00EED6 .Label_EED6 -al 00EECE .Label_EECE -al 00EEC5 .Label_EEC5 -al 00EEBC .Label_EEBC -al 00EEA4 .Label_EEA4 -al 00EEB3 .Label_EEB3 -al 00EE94 .Label_EE94 -al 00EE79 .Label_EE79 -al 00EE66 .Label_EE66 -al 00EE1B .Label_EE1B -al 00EE2E .Label_EE2E -al 00EE2F .Label_EE2F -al 00EDF4 .Label_EDF4 -al 00EDE2 .Label_EDE2 -al 00EDE0 .Label_EDE0 -al 00EDEC .Label_EDEC -al 00EDD7 .Label_EDD7 -al 00EDD5 .Label_EDD5 -al 00EDD4 .Label_EDD4 -al 00EDB6 .Label_EDB6 -al 00ED98 .Label_ED98 -al 00ED96 .Label_ED96 -al 00ED8E .Label_ED8E -al 00ED7E .Label_ED7E -al 00ED78 .Label_ED78 -al 00ED94 .Label_ED94 -al 00ED61 .Label_ED61 -al 00ED0E .Label_ED0E -al 00ED09 .Label_ED09 -al 00ECF8 .Label_ECF8 -al 00ECF3 .Label_ECF3 -al 00ECE2 .Label_ECE2 -al 00ECDD .Label_ECDD -al 00ECCC .Label_ECCC -al 00ECC7 .Label_ECC7 -al 00ECE7 .Label_ECE7 -al 00EC9E .Label_EC9E -al 00EBC1 .Label_EBC1 -al 00EBAF .Label_EBAF -al 00EBB8 .Label_EBB8 -al 00EBB2 .Label_EBB2 -al 00EB9E .Label_EB9E -al 00EB83 .Label_EB83 -al 00EB95 .Label_EB95 -al 00EB8C .Label_EB8C -al 00EB86 .Label_EB86 -al 00EB72 .Label_EB72 -al 00EB4F .Label_EB4F -al 00EB5F .Label_EB5F -al 00EB65 .Label_EB65 -al 00EB47 .Label_EB47 -al 00EB10 .Label_EB10 -al 00EB2A .Label_EB2A -al 00EB30 .Label_EB30 -al 00EB06 .Label_EB06 -al 00EAF6 .Label_EAF6 -al 00EAF5 .Label_EAF5 -al 00EAE3 .Label_EAE3 -al 00EAE2 .Label_EAE2 -al 00EAE1 .Label_EAE1 -al 00EAD7 .Label_EAD7 -al 00EAD2 .Label_EAD2 -al 00EACF .Label_EACF -al 00EAC3 .Label_EAC3 -al 00EACE .Label_EACE -al 00EAB5 .Label_EAB5 -al 00EAA4 .Label_EAA4 -al 00EA98 .Label_EA98 -al 00EA9B .Label_EA9B -al 00EA86 .Label_EA86 -al 00EA79 .Label_EA79 -al 00EA8F .Label_EA8F -al 00EA71 .Label_EA71 -al 00EA63 .Label_EA63 -al 00EA57 .Label_EA57 -al 00EA5A .Label_EA5A -al 00EA45 .Label_EA45 -al 00EA38 .Label_EA38 -al 00EA4E .Label_EA4E -al 00EA30 .Label_EA30 -al 00EA66 .Label_EA66 -al 00EA1F .Label_EA1F -al 00EA01 .Label_EA01 -al 00E9E9 .Label_E9E9 -al 00E9E3 .Label_E9E3 -al 00E9DD .Label_E9DD -al 00E9E8 .Label_E9E8 -al 00E9CB .Label_E9CB -al 00E9D7 .Label_E9D7 -al 00E9BA .Label_E9BA -al 00E9A5 .Label_E9A5 -al 00E99C .Label_E99C -al 00E9AE .Label_E9AE -al 00E996 .Label_E996 -al 00E98C .Label_E98C -al 00E968 .Label_E968 -al 00E967 .Label_E967 -al 00E93E .Label_E93E -al 00E939 .Label_E939 -al 00E92F .Label_E92F -al 00E929 .Label_E929 -al 00E923 .Label_E923 -al 00E8F9 .Label_E8F9 -al 00E8C6 .Label_E8C6 -al 00E89E .Label_E89E -al 00E8CB .Label_E8CB -al 00E887 .Label_E887 -al 00E882 .Label_E882 -al 00E86F .Label_E86F -al 00E85C .Label_E85C -al 00E859 .Label_E859 -al 00E83E .Label_E83E -al 00E82D .Label_E82D -al 00E81B .Label_E81B -al 00E806 .Label_E806 -al 00E803 .Label_E803 -al 00E7F9 .Label_E7F9 -al 00E7EE .Label_E7EE -al 00E7ED .Label_E7ED -al 00E7E3 .Label_E7E3 -al 00E7D6 .Label_E7D6 -al 00E7D3 .Label_E7D3 -al 00E7CB .Label_E7CB -al 00E7C0 .Label_E7C0 -al 00E7BD .Label_E7BD -al 00E7B3 .Label_E7B3 -al 00E7A6 .Label_E7A6 -al 00E7A3 .Label_E7A3 -al 00E7A0 .Label_E7A0 -al 00E79D .Label_E79D -al 00E79A .Label_E79A -al 00E79B .Label_E79B -al 00E78E .Label_E78E -al 00E78F .Label_E78F -al 00E791 .Label_E791 -al 00E790 .Label_E790 -al 00E77F .Label_E77F -al 00E77C .Label_E77C -al 00E777 .Label_E777 -al 00E76E .Label_E76E -al 00E740 .Label_E740 -al 00E718 .Label_E718 -al 00E723 .Label_E723 -al 00E70B .Label_E70B -al 00E700 .Label_E700 -al 00E6FA .Label_E6FA -al 00E6F5 .Label_E6F5 -al 00E6F0 .Label_E6F0 -al 00E6FF .Label_E6FF -al 00E6E5 .Label_E6E5 -al 00E6CC .Label_E6CC -al 00E6BB .Label_E6BB -al 00E699 .Label_E699 -al 00E686 .Label_E686 -al 00E684 .Label_E684 -al 00E665 .Label_E665 -al 00E65F .Label_E65F -al 00E65B .Label_E65B -al 00E632 .Label_E632 -al 00E630 .Label_E630 -al 00E621 .Label_E621 -al 00E620 .Label_E620 -al 00E61D .Label_E61D -al 00E60D .Label_E60D -al 00E5F1 .Label_E5F1 -al 00E5EF .Label_E5EF -al 00E5DF .Label_E5DF -al 00E5D5 .Label_E5D5 -al 00E5E9 .Label_E5E9 -al 00E5E7 .Label_E5E7 -al 00E5D1 .Label_E5D1 -al 00E5C5 .Label_E5C5 -al 00E5AA .Label_E5AA -al 00E59C .Label_E59C -al 00E5C4 .Label_E5C4 -al 00E587 .Label_E587 -al 00E560 .Label_E560 -al 00E562 .Label_E562 -al 00E536 .Label_E536 -al 00E537 .Label_E537 -al 00E52C .Label_E52C -al 00E555 .Label_E555 -al 00E528 .Label_E528 -al 00E53B .Label_E53B -al 00E544 .Label_E544 -al 00E518 .Label_E518 -al 00E50F .Label_E50F -al 00E4F2 .Label_E4F2 -al 00E4F8 .Label_E4F8 -al 00E4F7 .Label_E4F7 -al 00E4E4 .Label_E4E4 -al 00E4B7 .Label_E4B7 -al 00E4B6 .Label_E4B6 -al 00E499 .Label_E499 -al 00E487 .Label_E487 -al 00E479 .Label_E479 -al 00E46B .Label_E46B -al 00E466 .Label_E466 -al 00E45C .Label_E45C -al 00E44A .Label_E44A -al 00E456 .Label_E456 -al 00E435 .Label_E435 -al 00E42F .Label_E42F -al 00E42C .Label_E42C -al 00E412 .Label_E412 -al 00E3C5 .Label_E3C5 -al 00E3C4 .Label_E3C4 -al 00E3B5 .Label_E3B5 -al 00E358 .Label_E358 -al 00E326 .Label_E326 -al 00E31A .Label_E31A -al 00E317 .Label_E317 -al 00E308 .Label_E308 -al 00E301 .Label_E301 -al 00E2D2 .Label_E2D2 -al 00E2D5 .Label_E2D5 -al 00E2D8 .Label_E2D8 -al 00E320 .Label_E320 -al 00E2B0 .Label_E2B0 -al 00E2A6 .Label_E2A6 -al 00E29C .Label_E29C -al 00E29A .Label_E29A -al 00E290 .Label_E290 -al 00E28B .Label_E28B -al 00E274 .Label_E274 -al 00E26E .Label_E26E -al 00E267 .Label_E267 -al 00E25B .Label_E25B -al 00E251 .Label_E251 -al 00E22A .Label_E22A -al 00E222 .Label_E222 -al 00E227 .Label_E227 -al 00E217 .Label_E217 -al 00E235 .Label_E235 -al 00E206 .Label_E206 -al 00E1CE .Label_E1CE -al 00E1C2 .Label_E1C2 -al 00E1C0 .Label_E1C0 -al 00E1B7 .Label_E1B7 -al 00E1AB .Label_E1AB -al 00E18B .Label_E18B -al 00E16E .Label_E16E -al 00E167 .Label_E167 -al 00E164 .Label_E164 -al 00E157 .Label_E157 -al 00E17B .Label_E17B -al 00E18E .Label_E18E -al 00E143 .Label_E143 -al 00E129 .Label_E129 -al 00E11E .Label_E11E -al 00E10D .Label_E10D -al 00E110 .Label_E110 -al 00E121 .Label_E121 -al 00E126 .Label_E126 -al 00E0EC .Label_E0EC -al 00E0E1 .Label_E0E1 -al 00E0D2 .Label_E0D2 -al 00E0D6 .Label_E0D6 -al 00E0C8 .Label_E0C8 -al 00E0B2 .Label_E0B2 -al 00E0A8 .Label_E0A8 -al 00E08C .Label_E08C -al 00E082 .Label_E082 -al 00E06F .Label_E06F -al 00E072 .Label_E072 -al 00E05B .Label_E05B -al 00E042 .Label_E042 -al 00E039 .Label_E039 -al 00E020 .Label_E020 -al 00DEF0 .Label_DEF0 -al 00DEFB .Label_DEFB -al 00DEBB .Label_DEBB -al 00DEAC .Label_DEAC -al 00DEA3 .Label_DEA3 -al 00DEAD .Label_DEAD -al 00DE9B .Label_DE9B -al 00DE97 .Label_DE97 -al 00DEAB .Label_DEAB -al 00DE80 .Label_DE80 -al 00DE7B .Label_DE7B -al 00DE79 .Label_DE79 -al 00DE6F .Label_DE6F -al 00DE60 .Label_DE60 -al 00DE50 .Label_DE50 -al 00DE44 .Label_DE44 -al 00DE3E .Label_DE3E -al 00DE63 .Label_DE63 -al 00DE31 .Label_DE31 -al 00DE19 .Label_DE19 -al 00DE0E .Label_DE0E -al 00DDFB .Label_DDFB -al 00DDED .Label_DDED -al 00DDDB .Label_DDDB -al 00DE0F .Label_DE0F -al 00DDD1 .Label_DDD1 -al 00DDE1 .Label_DDE1 -al 00DDFE .Label_DDFE -al 00DDF1 .Label_DDF1 -al 00DDC4 .Label_DDC4 -al 00DD9D .Label_DD9D -al 00DD80 .Label_DD80 -al 00DD7E .Label_DD7E -al 00DD76 .Label_DD76 -al 00DD6B .Label_DD6B -al 00DD61 .Label_DD61 -al 00DD51 .Label_DD51 -al 00DD54 .Label_DD54 -al 00DD46 .Label_DD46 -al 00DD3C .Label_DD3C -al 00DD2C .Label_DD2C -al 00DD37 .Label_DD37 -al 00DD1B .Label_DD1B -al 00DD3D .Label_DD3D -al 00DCF1 .Label_DCF1 -al 00DD09 .Label_DD09 -al 00DCFE .Label_DCFE -al 00DCCB .Label_DCCB -al 00DCC3 .Label_DCC3 -al 00DCC2 .Label_DCC2 -al 00DCD2 .Label_DCD2 -al 00DCAE .Label_DCAE -al 00DC8C .Label_DC8C -al 00DC81 .Label_DC81 -al 00DC5A .Label_DC5A -al 00DC39 .Label_DC39 -al 00DC2D .Label_DC2D -al 00DC38 .Label_DC38 -al 00DC0A .Label_DC0A -al 00DC10 .Label_DC10 -al 00DC00 .Label_DC00 -al 00DC0C .Label_DC0C -al 00DBF2 .Label_DBF2 -al 00DBF6 .Label_DBF6 -al 00DBE8 .Label_DBE8 -al 00DBC8 .Label_DBC8 -al 00DBC2 .Label_DBC2 -al 00DBAA .Label_DBAA -al 00DBA8 .Label_DBA8 -al 00DA6F .Label_DA6F -al 00DA51 .Label_DA51 -al 00DA43 .Label_DA43 -al 00DA3A .Label_DA3A -al 00DA3D .Label_DA3D -al 00DA1B .Label_DA1B -al 00DA0A .Label_DA0A -al 00D9FA .Label_D9FA -al 00D9F2 .Label_D9F2 -al 00D9E7 .Label_D9E7 -al 00D9E6 .Label_D9E6 -al 00D9E1 .Label_D9E1 -al 00D9CC .Label_D9CC -al 00D9B2 .Label_D9B2 -al 00D9AF .Label_D9AF -al 00D9A5 .Label_D9A5 -al 00D9A3 .Label_D9A3 -al 00D993 .Label_D993 -al 00D989 .Label_D989 -al 00D987 .Label_D987 -al 00D97E .Label_D97E -al 00D979 .Label_D979 -al 00D965 .Label_D965 -al 00D992 .Label_D992 -al 00D949 .Label_D949 -al 00D942 .Label_D942 -al 00D932 .Label_D932 -al 00D90F .Label_D90F -al 00D909 .Label_D909 -al 00D8FC .Label_D8FC -al 00D8F1 .Label_D8F1 -al 00D914 .Label_D914 -al 00D8E3 .Label_D8E3 -al 00D8DA .Label_D8DA -al 00D8B4 .Label_D8B4 -al 00D8B3 .Label_D8B3 -al 00D8A7 .Label_D8A7 -al 00D8A1 .Label_D8A1 -al 00D886 .Label_D886 -al 00D871 .Label_D871 -al 00D873 .Label_D873 -al 00D855 .Label_D855 -al 00D84F .Label_D84F -al 00D838 .Label_D838 -al 00D828 .Label_D828 -al 00D82F .Label_D82F -al 00D83E .Label_D83E -al 00D829 .Label_D829 -al 00D816 .Label_D816 -al 00D80B .Label_D80B -al 00D800 .Label_D800 -al 00D7F7 .Label_D7F7 -al 00D7FA .Label_D7FA -al 00D7DD .Label_D7DD -al 00D7CF .Label_D7CF -al 00D7C5 .Label_D7C5 -al 00D7CD .Label_D7CD -al 00D7C7 .Label_D7C7 -al 00D7B0 .Label_D7B0 -al 00D7AE .Label_D7AE -al 00D7A5 .Label_D7A5 -al 00D7A3 .Label_D7A3 -al 00D79B .Label_D79B -al 00D784 .Label_D784 -al 00D78C .Label_D78C -al 00D77A .Label_D77A -al 00D774 .Label_D774 -al 00D766 .Label_D766 -al 00D772 .Label_D772 -al 00D73B .Label_D73B -al 00D740 .Label_D740 -al 00D71E .Label_D71E -al 00D724 .Label_D724 -al 00D70E .Label_D70E -al 00D71A .Label_D71A -al 00D6FE .Label_D6FE -al 00D6F7 .Label_D6F7 -al 00D6F1 .Label_D6F1 -al 00D6EF .Label_D6EF -al 00D6CD .Label_D6CD -al 00D664 .Label_D664 -al 00D650 .Label_D650 -al 00D675 .Label_D675 -al 00D66F .Label_D66F -al 00D642 .Label_D642 -al 00D644 .Label_D644 -al 00D68E .Label_D68E -al 00D63B .Label_D63B -al 00D63A .Label_D63A -al 00D61B .Label_D61B -al 00D62C .Label_D62C -al 00D61A .Label_D61A -al 00D611 .Label_D611 -al 00D600 .Label_D600 -al 00D5F5 .Label_D5F5 -al 00D5E7 .Label_D5E7 -al 00D5E2 .Label_D5E2 -al 00D5C9 .Label_D5C9 -al 00D5A9 .Label_D5A9 -al 00D5BC .Label_D5BC -al 00D57F .Label_D57F -al 00D576 .Label_D576 -al 00D561 .Label_D561 -al 00D52E .Label_D52E -al 00D524 .Label_D524 -al 00D50A .Label_D50A -al 00D4FF .Label_D4FF -al 00D523 .Label_D523 -al 00D4EC .Label_D4EC -al 00D4E9 .Label_D4E9 -al 00D4D6 .Label_D4D6 -al 00D4C3 .Label_D4C3 -al 00D4C8 .Label_D4C8 -al 00D4AC .Label_D4AC -al 00D486 .Label_D486 -al 00D47F .Label_D47F -al 00D465 .Label_D465 -al 00D46A .Label_D46A -al 00D469 .Label_D469 -al 00D459 .Label_D459 -al 00D4BF .Label_D4BF -al 00D455 .Label_D455 -al 00D43A .Label_D43A -al 00D433 .Label_D433 -al 00D42C .Label_D42C -al 00D422 .Label_D422 -al 00D3FB .Label_D3FB -al 00D3F6 .Label_D3F6 -al 00D3E9 .Label_D3E9 -al 00D3E4 .Label_D3E4 -al 00D3BF .Label_D3BF -al 00D3C1 .Label_D3C1 -al 00D3BD .Label_D3BD -al 00D3AF .Label_D3AF -al 00D3AD .Label_D3AD -al 00D38D .Label_D38D -al 00D37E .Label_D37E -al 00D38F .Label_D38F -al 00D357 .Label_D357 -al 00D34E .Label_D34E -al 00D34C .Label_D34C -al 00D33B .Label_D33B -al 00D33A .Label_D33A -al 00D32C .Label_D32C -al 00D310 .Label_D310 -al 00D316 .Label_D316 -al 00D30A .Label_D30A -al 00D2F9 .Label_D2F9 -al 00D2FF .Label_D2FF -al 00D317 .Label_D317 -al 00D2FE .Label_D2FE -al 00D2EB .Label_D2EB -al 00D2E8 .Label_D2E8 -al 00D2E3 .Label_D2E3 -al 00D2D7 .Label_D2D7 -al 00D2CC .Label_D2CC -al 00D2CB .Label_D2CB -al 00D2BB .Label_D2BB -al 00D29B .Label_D29B -al 00D293 .Label_D293 -al 00D284 .Label_D284 -al 00D278 .Label_D278 -al 00D279 .Label_D279 -al 00D29F .Label_D29F -al 00D29C .Label_D29C -al 00D24C .Label_D24C -al 00D23A .Label_D23A -al 00D244 .Label_D244 -al 00D229 .Label_D229 -al 00D224 .Label_D224 -al 00D220 .Label_D220 -al 00D228 .Label_D228 -al 00D21C .Label_D21C -al 00D216 .Label_D216 -al 00D200 .Label_D200 -al 00D1E6 .Label_D1E6 -al 00D1CB .Label_D1CB -al 00D1DB .Label_D1DB -al 00D1DA .Label_D1DA -al 00D1A5 .Label_D1A5 -al 00D199 .Label_D199 -al 00D194 .Label_D194 -al 00D191 .Label_D191 -al 00D190 .Label_D190 -al 00D18E .Label_D18E -al 00D175 .Label_D175 -al 00D173 .Label_D173 -al 00D15A .Label_D15A -al 00D163 .Label_D163 -al 00D158 .Label_D158 -al 00D147 .Label_D147 -al 00D144 .Label_D144 -al 00D12E .Label_D12E -al 00D110 .Label_D110 -al 00D102 .Label_D102 -al 00D0FD .Label_D0FD -al 00D145 .Label_D145 -al 00D125 .Label_D125 -al 00D0E7 .Label_D0E7 -al 00D0AE .Label_D0AE -al 00D0DD .Label_D0DD -al 00D075 .Label_D075 -al 00D0A5 .Label_D0A5 -al 00D055 .Label_D055 -al 00D04A .Label_D04A -al 00D06F .Label_D06F -al 00D01A .Label_D01A -al 00D014 .Label_D014 -al 00D00E .Label_D00E -al 00D00A .Label_D00A -al 00CFFF .Label_CFFF -al 00D019 .Label_D019 -al 00CFCC .Label_CFCC -al 00CFC8 .Label_CFC8 -al 00CFB6 .Label_CFB6 -al 00CFB3 .Label_CFB3 -al 00CF7F .Label_CF7F -al 00CF7D .Label_CF7D -al 00CF72 .Label_CF72 -al 00CFDD .Label_CFDD -al 00CF5C .Label_CF5C -al 00CF62 .Label_CF62 -al 00CF8F .Label_CF8F -al 00CF33 .Label_CF33 -al 00CF26 .Label_CF26 -al 00CF45 .Label_CF45 -al 00CF05 .Label_CF05 -al 00CEFF .Label_CEFF -al 00CEEC .Label_CEEC -al 00CED3 .Label_CED3 -al 00CE74 .Label_CE74 -al 00CE62 .Label_CE62 -al 00CE7C .Label_CE7C -al 00CE54 .Label_CE54 -al 00CE8F .Label_CE8F -al 00CE81 .Label_CE81 -al 00CE2D .Label_CE2D -al 00CE2C .Label_CE2C -al 00CE20 .Label_CE20 -al 00CE1E .Label_CE1E -al 00CDE2 .Label_CDE2 -al 00CDD8 .Label_CDD8 -al 00CDCC .Label_CDCC -al 00CDC0 .Label_CDC0 -al 00CDBB .Label_CDBB -al 00CDAF .Label_CDAF -al 00CDA1 .Label_CDA1 -al 00CD9E .Label_CD9E -al 00CDF4 .Label_CDF4 -al 00CD79 .Label_CD79 -al 00CD50 .Label_CD50 -al 00CD47 .Label_CD47 -al 00CD3C .Label_CD3C -al 00CD32 .Label_CD32 -al 00CD29 .Label_CD29 -al 00CD26 .Label_CD26 -al 00CCC0 .Label_CCC0 -al 00CCC2 .Label_CCC2 -al 00CCBC .Label_CCBC -al 00CB78 .Label_CB78 -al 00CB68 .Label_CB68 -al 00CB76 .Label_CB76 -al 00CB5C .Label_CB5C -al 00CB5A .Label_CB5A -al 00CB22 .Label_CB22 -al 00CB13 .Label_CB13 -al 00CAFC .Label_CAFC -al 00CB10 .Label_CB10 -al 00CAE6 .Label_CAE6 -al 00CAD3 .Label_CAD3 -al 00CAA8 .Label_CAA8 -al 00CAA4 .Label_CAA4 -al 00CAA2 .Label_CAA2 -al 00CA87 .Label_CA87 -al 00CA7C .Label_CA7C -al 00CA86 .Label_CA86 -al 00CA74 .Label_CA74 -al 00CA72 .Label_CA72 -al 00CA6B .Label_CA6B -al 00CA66 .Label_CA66 -al 00CA59 .Label_CA59 -al 00CA21 .Label_CA21 -al 00CA24 .Label_CA24 -al 00CA22 .Label_CA22 -al 00CA0C .Label_CA0C -al 00CA04 .Label_CA04 -al 00C9E4 .Label_C9E4 -al 00C9DE .Label_C9DE -al 00C9D5 .Label_C9D5 -al 00C9CE .Label_C9CE -al 00C9BA .Label_C9BA -al 00C9AD .Label_C9AD -al 00C9AB .Label_C9AB -al 00C9A4 .Label_C9A4 -al 00C991 .Label_C991 -al 00C98E .Label_C98E -al 00C969 .Label_C969 -al 00C95A .Label_C95A -al 00C94D .Label_C94D -al 00C927 .Label_C927 -al 00C925 .Label_C925 -al 00C92A .Label_C92A -al 00C921 .Label_C921 -al 00C909 .Label_C909 -al 00C907 .Label_C907 -al 00C901 .Label_C901 -al 00C8FB .Label_C8FB -al 00C8E8 .Label_C8E8 -al 00C8CC .Label_C8CC -al 00C8E5 .Label_C8E5 -al 00C8B7 .Label_C8B7 -al 00C863 .Label_C863 -al 00C85A .Label_C85A -al 00C89A .Label_C89A -al 00C838 .Label_C838 -al 00C80E .Label_C80E -al 00C80A .Label_C80A -al 00C802 .Label_C802 -al 00C7E7 .Label_C7E7 -al 00C7C4 .Label_C7C4 -al 00C7E3 .Label_C7E3 -al 00C7AC .Label_C7AC -al 00C7ED .Label_C7ED -al 00C793 .Label_C793 -al 00C78F .Label_C78F -al 00C7C7 .Label_C7C7 -al 00C786 .Label_C786 -al 00C75C .Label_C75C -al 00C75A .Label_C75A -al 00C749 .Label_C749 -al 00C747 .Label_C747 -al 00C72A .Label_C72A -al 00C723 .Label_C723 -al 00C70E .Label_C70E -al 00C719 .Label_C719 -al 00C6F6 .Label_C6F6 -al 00C6EA .Label_C6EA -al 00C6E3 .Label_C6E3 -al 00C61B .Label_C61B -al 00C611 .Label_C611 -al 00C607 .Label_C607 -al 00C5FD .Label_C5FD -al 00C5DD .Label_C5DD -al 00C5C7 .Label_C5C7 -al 00C5B0 .Label_C5B0 -al 00C5A6 .Label_C5A6 -al 00C5A1 .Label_C5A1 -al 00C595 .Label_C595 -al 00C589 .Label_C589 -al 00C56D .Label_C56D -al 00C59C .Label_C59C -al 00C564 .Label_C564 -al 00C55A .Label_C55A -al 00C552 .Label_C552 -al 00C54A .Label_C54A -al 00C54D .Label_C54D -al 00C53F .Label_C53F -al 00C539 .Label_C539 -al 00C538 .Label_C538 -al 00C536 .Label_C536 -al 00C515 .Label_C515 -al 00C523 .Label_C523 -al 00C50D .Label_C50D -al 00C4F9 .Label_C4F9 -al 00C51D .Label_C51D -al 00C4F5 .Label_C4F5 -al 00C4E4 .Label_C4E4 -al 00C4D0 .Label_C4D0 -al 00C4D9 .Label_C4D9 -al 00C4B7 .Label_C4B7 -al 00C4D6 .Label_C4D6 -al 00C4C3 .Label_C4C3 -al 00C4A1 .Label_C4A1 -al 00C49A .Label_C49A -al 00C48E .Label_C48E -al 00C484 .Label_C484 -al 00C46D .Label_C46D -al 00C463 .Label_C463 -al 00C45F .Label_C45F -al 00C44B .Label_C44B -al 00C447 .Label_C447 -al 00C442 .Label_C442 -al 00C426 .Label_C426 -al 00C41C .Label_C41C -al 00C412 .Label_C412 -al 00C40C .Label_C40C -al 00C407 .Label_C407 -al 00C3F4 .Label_C3F4 -al 00C3F0 .Label_C3F0 -al 00C3EB .Label_C3EB -al 00C3E2 .Label_C3E2 -al 00C34A .Label_C34A -al 00C35B .Label_C35B -al 00C332 .Label_C332 -al 00C32C .Label_C32C -al 00C307 .Label_C307 -al 00C304 .Label_C304 -al 00C2EA .Label_C2EA -al 00C2D8 .Label_C2D8 -al 00C2D0 .Label_C2D0 -al 00C2C1 .Label_C2C1 +al 00F2A4 .Sub_8764_OnCarryClear_F2A4 +al 00F280 .Sub_8764_LoadIndexAndContinue_F280 +al 00F2B2 .Sub_8764_OnNonzero_F2B2 +al 00F279 .Sub_8764_OnCarryClear_F279 +al 00F27A .SubCF27A +al 00F258 .Sub_8764_OnNonzero_F258 +al 00F255 .Sub_8764_OnCarryClear_F255 +al 00F247 .Sub_8764_OnNonzero_F247 +al 00F25E .Sub_8764_OnZero_F25E +al 00F237 .Sub_8764_Return_F237 +al 00F25F .SubCF25F +al 00F230 .Sub_8764_OnNonzero_F230 +al 00F236 .Sub_8764_OnZero_F236 +al 00F228 .Sub_8764_OnCarryClear_F228 +al 00F207 .Sub_8764_OnZero_F207 +al 00F1F1 .Sub_8764_Return_F1F1 +al 00F1F0 .Sub_8764_OnNonnegative_F1F0 +al 00F1E7 .Sub_8764_OnNonzero_F1E7 +al 00F179 .SubCF179 +al 00F14B .Sub_8764_OnNonzero_F14B +al 00F150 .Sub_8764_OnZero_F150 +al 00F154 .SubCF154 +al 00F17F .SubCF17F +al 00F116 .SubCF116 +al 00F192 .SubCF192 +al 00F0E1 .SubCF0E1 +al 00F0C3 .Sub_8764_OnNonzero_F0C3 +al 00F0C1 .Sub_8764_OnCarryClear_F0C1 +al 00F0B5 .Sub_8764_OnCarrySet_F0B5 +al 00F0E0 .Sub_8764_JoinBranchPaths_F0E0 +al 00F09E .Sub_8764_OnCarrySet_F09E +al 00F08E .Sub_8764_OnCarrySet_F08E +al 00F078 .Sub_8764_OnNonzero_F078 +al 00F076 .Sub_8764_OnNonzero_F076 +al 00F07E .Sub_8764_OnCarrySet_F07E +al 00F104 .SubCF104 +al 00F05C .Sub_8764_JoinBranchPaths_F05C +al 00F060 .Sub_8764_OnCarrySet_F060 +al 00F178 .SubCF178 +al 00F030 .SubCF030 +al 00F02C .Sub_8764_OnNonzero_F02C +al 00F035 .Sub_8764_OnCarrySet_F035 +al 00F02A .Sub_8764_OnNonzero_F02A +al 00F020 .Sub_8764_OnCarrySet_F020 +al 00F10D .SubCF10D +al 00EFEA .Sub_8764_OnNonzero_EFEA +al 00EFE8 .Sub_8764_OnNonzero_EFE8 +al 00EFD5 .SubCEFD5 +al 00EFD1 .Sub_8764_OnNonzero_EFD1 +al 00F011 .Sub_8764_OnCarrySet_F011 +al 00F18A .SubCF18A +al 00F19A .SubCF19A +al 00F102 .SubCF102 +al 00EFB0 .Sub_8764_OnNonzero_EFB0 +al 00F194 .SubCF194 +al 00EF98 .Sub_8764_OnNonzero_EF98 +al 00EF96 .Sub_8764_JoinBranchPaths_EF96 +al 00EFC2 .Sub_8764_OnCarrySet_EFC2 +al 00EF75 .Sub_8764_JoinBranchPaths_EF75 +al 00EF76 .Sub_8764_OnNonzero_EF76 +al 00EF5A .SubCEF5A +al 00EF50 .Sub_8764_OnNonnegative_EF50 +al 00EF4A .SubCEF4A +al 00EF3E .Sub_8764_OnNonnegative_EF3E +al 00EF31 .Sub_8764_OnCarryClear_EF31 +al 00EF24 .Sub_8764_JoinBranchPaths_EF24 +al 00EF0D .Sub_8764_OnCarryClear_EF0D +al 00EF58 .SubCEF58 +al 00EEF5 .Sub_8764_JoinBranchPaths_EEF5 +al 00EEEF .SubCEEEF +al 00EEDC .Sub_8764_OnNonnegative_EEDC +al 00EF38 .Sub_8764_OnZero_EF38 +al 00EED6 .Sub_8764_OnNonzero_EED6 +al 00EECE .Sub_8764_OnNonzero_EECE +al 00EEC5 .Sub_8764_OnZero_EEC5 +al 00EEA4 .Sub_8764_OnNonzero_EEA4 +al 00EEB3 .Sub_8764_OnCarryClear_EEB3 +al 00EE94 .Sub_8764_OnCarryClear_EE94 +al 00EE79 .SubCEE79 +al 00EE1B .Sub_8764_OnCarrySet_EE1B +al 00EE2E .Sub_8764_JoinBranchPaths_EE2E +al 00EE2F .Sub_8764_OnNegative_EE2F +al 00EDF4 .SubCEDF4 +al 00EDEC .Sub_8764_OnZero_EDEC +al 00EDD4 .Sub_8764_OnNonnegative_EDD4 +al 00EDB6 .Sub_8764_OnNonnegative_EDB6 +al 00ED96 .Sub_8764_JoinBranchPaths_ED96 +al 00ED8E .Sub_8764_OnZero_ED8E +al 00ED7E .Sub_8764_OnCarryClear_ED7E +al 00ED78 .Sub_8764_OnZero_ED78 +al 00ED94 .Sub_8764_JoinBranchPaths_ED94 +al 00ED98 .SubCED98 +al 00ED0E .SubCED0E +al 00ED09 .Sub_8764_OnZero_ED09 +al 00ECF8 .SubCECF8 +al 00ECF3 .Sub_8764_OnZero_ECF3 +al 00ECE2 .SubCECE2 +al 00ECDD .Sub_8764_OnZero_ECDD +al 00ECCC .SubCECCC +al 00ECC7 .Sub_8764_OnZero_ECC7 +al 00ECE7 .Sub_8764_OnCarrySet_ECE7 +al 00EBC1 .Sub_8764_OnZero_EBC1 +al 00EBAF .Sub_8764_JoinBranchPaths_EBAF +al 00EBB8 .Sub_8764_OnZero_EBB8 +al 00EBB2 .Sub_8764_JoinBranchPaths_EBB2 +al 00EB83 .Sub_8764_JoinBranchPaths_EB83 +al 00EB95 .Sub_8764_OnZero_EB95 +al 00EB8C .Sub_8764_OnZero_EB8C +al 00EB86 .Sub_8764_JoinBranchPaths_EB86 +al 00EB72 .Sub_8764_OnCarryClear_EB72 +al 00EB9E .SubCEB9E +al 00EB4F .Sub_8764_OnCarrySet_EB4F +al 00EB5F .Sub_8764_OnZero_EB5F +al 00EB65 .Sub_8764_OnCarryClear_EB65 +al 00EB47 .SubCEB47 +al 00EB10 .Sub_8764_OnCarrySet_EB10 +al 00EB2A .Sub_8764_OnZero_EB2A +al 00EB30 .Sub_8764_OnCarryClear_EB30 +al 00EB06 .Sub_8764_OnCarrySet_EB06 +al 00EAF5 .Sub_8764_OnCarryClear_EAF5 +al 00EAE3 .SubCEAE3 +al 00EAE2 .Sub_8764_OnCarrySet_EAE2 +al 00EAE1 .Sub_8764_OnCarrySet_EAE1 +al 00EAD7 .SubCEAD7 +al 00EACF .Sub_8764_OnCarrySet_EACF +al 00EACE .Sub_8764_OnZero_EACE +al 00EAC3 .SubCEAC3 +al 00EAA4 .SubCEAA4 +al 00EA98 .Sub_8764_OnCarrySet_EA98 +al 00EA9B .Sub_8764_OnNonzero_EA9B +al 00EA86 .Sub_8764_OnCarryClear_EA86 +al 00EA79 .Sub_8764_OnCarryClear_EA79 +al 00EA8F .Sub_8764_OnCarryClear_EA8F +al 00EA71 .Sub_8764_OnCarryClear_EA71 +al 00EA63 .Sub_8764_OnCarryClear_EA63 +al 00EAB5 .SubCEAB5 +al 00EA57 .Sub_8764_OnCarryClear_EA57 +al 00EA5A .Sub_8764_OnNonzero_EA5A +al 00EA45 .Sub_8764_OnCarryClear_EA45 +al 00EA38 .Sub_8764_OnCarryClear_EA38 +al 00EA4E .Sub_8764_OnCarryClear_EA4E +al 00EA30 .Sub_8764_OnCarryClear_EA30 +al 00EA66 .Sub_8764_OnZero_EA66 +al 00EA1F .Sub_8764_OnNonnegative_EA1F +al 00EC9E .SubCEC9E +al 00E9E9 .Sub_8764_OnNonnegative_E9E9 +al 00E9E3 .Sub_8764_OnZero_E9E3 +al 00E9DD .Sub_8764_OnCarryClear_E9DD +al 00E9E8 .Sub_8764_OnZero_E9E8 +al 00E9CB .SubCE9CB +al 00E9D7 .Sub_8764_OnCarryClear_E9D7 +al 00E9BA .Sub_8764_OnCarrySet_E9BA +al 00EA01 .SubCEA01 +al 00E99C .Sub_8764_OnCarryClear_E99C +al 00E9AE .SubCE9AE +al 00E996 .Sub_8764_OnZero_E996 +al 00E98C .Sub_8764_OnNonnegative_E98C +al 00E968 .Sub_8764_OnNonnegative_E968 +al 00EAD2 .SubCEAD2 +al 00E967 .Sub_8764_OnZero_E967 +al 00E93E .SubCE93E +al 00E9A5 .SubCE9A5 +al 00E939 .Sub_8764_JoinBranchPaths_E939 +al 00E92F .Sub_8764_OnCarryClear_E92F +al 00E929 .Sub_8764_OnZero_E929 +al 00E8F9 .Sub_8764_OnNonzero_E8F9 +al 00E8C6 .SubCE8C6 +al 00E8CB .Sub_8764_OnNonnegative_E8CB +al 00E887 .SubCE887 +al 00E882 .Sub_8764_OnNonnegative_E882 +al 00E86F .SubCE86F +al 00E85C .SubCE85C +al 00E859 .SubCE859 +al 00E89E .SubCE89E +al 00E81B .Sub_8764_OnNonzero_E81B +al 00E803 .Sub_8764_OnNonzero_E803 +al 00E7F9 .Sub_8764_OnNonzero_E7F9 +al 00E7EE .Sub_8764_Return_E7EE +al 00E7ED .Sub_8764_OnNonzero_E7ED +al 00E7E3 .Sub_8764_OnNonzero_E7E3 +al 00E7D3 .Sub_8764_OnNonzero_E7D3 +al 00E7CB .Sub_8764_OnNonzero_E7CB +al 00E7BD .Sub_8764_OnNonzero_E7BD +al 00E806 .SubCE806 +al 00E7B3 .Sub_8764_OnNonzero_E7B3 +al 00E7A3 .SubCE7A3 +al 00E79A .Sub_8764_OnCarryClear_E79A +al 00E79B .Sub_8764_OnCarryClear_E79B +al 00E78E .Sub_8764_OnCarryClear_E78E +al 00E78F .Sub_8764_OnCarryClear_E78F +al 00E791 .Sub_8764_OnNonnegative_E791 +al 00E790 .Sub_8764_OnZero_E790 +al 00E77C .SubCE77C +al 00E777 .Sub_8764_OnNonnegative_E777 +al 00E76E .SubCE76E +al 00E77F .SubCE77F +al 00E740 .SubCE740 +al 00E718 .Sub_8764_OnCarryClear_E718 +al 00E723 .Sub_8764_OnNegative_E723 +al 00E70B .Sub_8764_OnNonnegative_E70B +al 00E6FA .Sub_8764_OnCarryClear_E6FA +al 00E6F5 .Sub_8764_OnCarryClear_E6F5 +al 00E6F0 .Sub_8764_OnCarryClear_E6F0 +al 00E6FF .Sub_8764_JoinBranchPaths_E6FF +al 00E6E5 .SubCE6E5 +al 00E6CC .Sub_8764_OnCarryClear_E6CC +al 00E6BB .Sub_8764_OnNonnegative_E6BB +al 00E699 .Sub_8764_OnCarryClear_E699 +al 00E686 .Sub_8764_OnNonzero_E686 +al 00E684 .Sub_8764_OnNonnegative_E684 +al 00E65F .Sub_8764_OnCarrySet_E65F +al 00E65B .Sub_8764_OnCarrySet_E65B +al 00E632 .Sub_8764_OnNonzero_E632 +al 00E630 .Sub_8764_JoinBranchPaths_E630 +al 00E620 .Sub_8764_JoinBranchPaths_E620 +al 00E61D .Sub_8764_OnCarryClear_E61D +al 00E60D .Sub_8764_JoinBranchPaths_E60D +al 00E5EF .Sub_8764_OnNonzero_E5EF +al 00E5DF .Sub_8764_OnZero_E5DF +al 00E5E9 .Sub_8764_OnNonzero_E5E9 +al 00E5E7 .Sub_8764_JoinBranchPaths_E5E7 +al 00E5D1 .Sub_8764_OnCarryClear_E5D1 +al 00E5D5 .SubCE5D5 +al 00E5AA .Sub_8764_OnCarrySet_E5AA +al 00E59C .Sub_8764_OnCarrySet_E59C +al 00E5C4 .Sub_8764_JoinBranchPaths_E5C4 +al 00E560 .Sub_8764_OnCarryClear_E560 +al 00E562 .Sub_8764_OnNonzero_E562 +al 00E536 .Sub_8764_OnZero_E536 +al 00E537 .Sub_8764_OnCarrySet_E537 +al 00E52C .Sub_8764_OnCarryClear_E52C +al 00E555 .Sub_8764_OnCarrySet_E555 +al 00E528 .Sub_8764_OnNegative_E528 +al 00E53B .Sub_8764_OnCarryClear_E53B +al 00E544 .SubCE544 +al 00E518 .Sub_8764_OnZero_E518 +al 00E50F .Sub_8764_OnNonzero_E50F +al 00E4F2 .Sub_8764_OnNonnegative_E4F2 +al 00E4F8 .Sub_8764_OnNonzero_E4F8 +al 00E4F7 .Sub_8764_OnNonzero_E4F7 +al 00E4E4 .Sub_8764_OnCarryClear_E4E4 +al 00E4B6 .Sub_8764_JoinBranchPaths_E4B6 +al 00E487 .Sub_8764_OnCarrySet_E487 +al 00E479 .Sub_8764_OnCarrySet_E479 +al 00E46B .Sub_8764_OnCarrySet_E46B +al 00E466 .Sub_8764_OnCarrySet_E466 +al 00E45C .Sub_8764_OnNonnegative_E45C +al 00E456 .Sub_8764_OnNonzero_E456 +al 00E435 .Sub_8764_OnNegative_E435 +al 00E42C .Sub_8764_JoinBranchPaths_E42C +al 00E587 .SubCE587 +al 00E3C5 .Sub_8764_OnZero_E3C5 +al 00E3C4 .Sub_8764_OnCarrySet_E3C4 +al 00E5C5 .SubCE5C5 +al 00E358 .Sub_8764_OnNegative_E358 +al 00E44A .SubCE44A +al 00E42F .SubCE42F +al 00E412 .SubCE412 +al 00E31A .Sub_8764_OnZero_E31A +al 00E317 .Sub_8764_OnZero_E317 +al 00E308 .Sub_8764_OnCarryClear_E308 +al 00E301 .Sub_8764_OnCarrySet_E301 +al 00E326 .SubCE326 +al 00E2D2 .Sub_8764_OnCarrySet_E2D2 +al 00E2D5 .Sub_8764_OnCarrySet_E2D5 +al 00E2D8 .Sub_8764_OnCarryClear_E2D8 +al 00E2B0 .Sub_8764_OnCarryClear_E2B0 +al 00E7A0 .SubCE7A0 +al 00E2A6 .Sub_8764_OnZero_E2A6 +al 00E29C .SubCE29C +al 00E79D .SubCE79D +al 00E29A .Sub_8764_OnZero_E29A +al 00E290 .SubCE290 +al 00E923 .SubCE923 +al 00E274 .Sub_8764_OnCarrySet_E274 +al 00E26E .Sub_8764_OnCarryClear_E26E +al 00E267 .Sub_8764_OnCarrySet_E267 +al 00E25B .Sub_8764_OnCarrySet_E25B +al 00E251 .Sub_8764_OnCarrySet_E251 +al 00E22A .Sub_8764_OnNonzero_E22A +al 00E222 .Sub_8764_OnCarryClear_E222 +al 00E227 .Sub_8764_OnNonzero_E227 +al 00E217 .Sub_8764_OnCarrySet_E217 +al 00E235 .Sub_8764_OnNonzero_E235 +al 00E206 .SubCE206 +al 00E1CE .Sub_8764_OnCarrySet_E1CE +al 00E1C2 .SubCE1C2 +al 00E1C0 .Sub_8764_OnCarrySet_E1C0 +al 00E1B7 .Sub_8764_OnNonnegative_E1B7 +al 00E1AB .Sub_8764_OnNonnegative_E1AB +al 00E499 .SubCE499 +al 00E18B .Sub_8764_JoinBranchPaths_E18B +al 00E16E .Sub_8764_OnNegative_E16E +al 00E164 .Sub_8764_JoinBranchPaths_E164 +al 00E17B .Sub_8764_OnNonzero_E17B +al 00E18E .Sub_8764_JoinBranchPaths_E18E +al 00E143 .Sub_8764_OnZero_E143 +al 00E129 .SubCE129 +al 00E11E .Sub_8764_OnNonzero_E11E +al 00E10D .Sub_8764_OnNonzero_E10D +al 00E110 .Sub_8764_OnZero_E110 +al 00E121 .Sub_8764_JoinBranchPaths_E121 +al 00E126 .Sub_8764_OnZero_E126 +al 00E0EC .Sub_8764_OnNegative_E0EC +al 00E0E1 .Sub_8764_OnNonnegative_E0E1 +al 00E0D2 .Sub_8764_OnCarryClear_E0D2 +al 00E0D6 .Sub_8764_JoinBranchPaths_E0D6 +al 00E0C8 .Sub_8764_OnCarryClear_E0C8 +al 00E0B2 .Sub_8764_OnNonzero_E0B2 +al 00E0A8 .Sub_8764_JoinBranchPaths_E0A8 +al 00E08C .Sub_8764_OnZero_E08C +al 00E082 .Sub_8764_OnCarryClear_E082 +al 00E167 .SubCE167 +al 00E06F .Sub_8764_OnZero_E06F +al 00E072 .Sub_8764_JoinBranchPaths_E072 +al 00E05B .SubCE05B +al 00E042 .SubCE042 +al 00DEF0 .Sub_8764_OnNonzero_DEF0 +al 00DEFB .Sub_8764_OnNonzero_DEFB +al 00DEAC .Sub_8764_OnCarryClear_DEAC +al 00DEA3 .Sub_8764_JoinBranchPaths_DEA3 +al 00DEAD .Sub_8764_OnCarrySet_DEAD +al 00DE9B .Sub_8764_OnCarryClear_DE9B +al 00DE97 .Sub_8764_OnNegative_DE97 +al 00DEAB .Sub_8764_OnZero_DEAB +al 00DE80 .SubCDE80 +al 00DE79 .Sub_8764_OnNonzero_DE79 +al 00DE6F .Sub_8764_JoinBranchPaths_DE6F +al 00DE7B .SubCDE7B +al 00DE60 .Sub_8764_JoinBranchPaths_DE60 +al 00DE50 .Sub_8764_JoinBranchPaths_DE50 +al 00DE44 .Sub_8764_OnCarrySet_DE44 +al 00DE3E .Sub_8764_OnZero_DE3E +al 00DE63 .Sub_8764_OnCarryClear_DE63 +al 00DE0E .Sub_8764_OnCarrySet_DE0E +al 00DDFB .Sub_8764_OnZero_DDFB +al 00DDED .Sub_8764_OnCarrySet_DDED +al 00DE0F .Sub_8764_OnNegative_DE0F +al 00DDD1 .Sub_8764_OnCarrySet_DDD1 +al 00DDE1 .Sub_8764_OnCarryClear_DDE1 +al 00DDFE .Sub_8764_OnCarrySet_DDFE +al 00DDF1 .Sub_8764_OnZero_DDF1 +al 00DDC4 .Sub_8764_OnCarrySet_DDC4 +al 00DD9D .Sub_8764_JoinBranchPaths_DD9D +al 00DD7E .Sub_8764_OnNonzero_DD7E +al 00DD76 .Sub_8764_OnCarryClear_DD76 +al 00DE19 .SubCDE19 +al 00DD61 .Sub_8764_OnNonnegative_DD61 +al 00DD51 .Sub_8764_OnCarryClear_DD51 +al 00DD54 .Sub_8764_OnNegative_DD54 +al 00DD46 .Sub_8764_JoinBranchPaths_DD46 +al 00DD3C .Sub_8764_OnNonnegative_DD3C +al 00DD2C .Sub_8764_OnNegative_DD2C +al 00DD37 .Sub_8764_OnNegative_DD37 +al 00DD1B .Sub_8764_OnNonnegative_DD1B +al 00DD3D .Sub_8764_OnCarryClear_DD3D +al 00DCF1 .SubCDCF1 +al 00DD09 .Sub_8764_OnZero_DD09 +al 00DCFE .Sub_8764_OnCarryClear_DCFE +al 00DCCB .Sub_8764_OnCarrySet_DCCB +al 00DCC3 .Sub_8764_OnCarrySet_DCC3 +al 00DE31 .SubCDE31 +al 00DCC2 .Sub_8764_JoinBranchPaths_DCC2 +al 00DCD2 .Sub_8764_JoinBranchPaths_DCD2 +al 00DCAE .Sub_8764_OnCarrySet_DCAE +al 00DC8C .Sub_8764_OnZero_DC8C +al 00E039 .SubCE039 +al 00DC5A .Sub_8764_OnNegative_DC5A +al 00DC39 .SubCDC39 +al 00DC2D .Sub_8764_OnNonzero_DC2D +al 00DC38 .Sub_8764_OnNonzero_DC38 +al 00DC0A .Sub_8764_OnZero_DC0A +al 00DC10 .Sub_8764_OnCarryClear_DC10 +al 00DC00 .Sub_8764_OnNonzero_DC00 +al 00DC0C .Sub_8764_OnNonzero_DC0C +al 00DBF2 .Sub_8764_OnZero_DBF2 +al 00DBF6 .Sub_8764_OnCarryClear_DBF6 +al 00DBE8 .Sub_8764_OnNonzero_DBE8 +al 00E020 .SubCE020 +al 00DBC8 .SubCDBC8 +al 00DBC2 .Sub_8764_OnNegative_DBC2 +al 00DBAA .Sub_8764_OnCarrySet_DBAA +al 00DEBB .SubCDEBB +al 00DA6F .Sub_8764_JoinBranchPaths_DA6F +al 00DA51 .Sub_8764_OnCarrySet_DA51 +al 00DD80 .SubCDD80 +al 00DA3A .Sub_8764_OnZero_DA3A +al 00DA3D .Sub_8764_OnNegative_DA3D +al 00DA1B .Sub_8764_OnCarrySet_DA1B +al 00DD6B .SubCDD6B +al 00DA0A .Sub_8764_JoinBranchPaths_DA0A +al 00D9FA .Sub_8764_OnCarrySet_D9FA +al 00D9E6 .Sub_8764_OnZero_D9E6 +al 00D9E1 .Sub_8764_JoinBranchPaths_D9E1 +al 00D9CC .Sub_8764_OnCarrySet_D9CC +al 00E320 .SubCE320 +al 00D9B2 .SubCD9B2 +al 00D9AF .Sub_8764_OnNonzero_D9AF +al 00D9A5 .Sub_8764_OnZero_D9A5 +al 00D9A3 .Sub_8764_OnNonzero_D9A3 +al 00D993 .SubCD993 +al 00D989 .Sub_8764_OnNonzero_D989 +al 00D987 .Sub_8764_OnZero_D987 +al 00D97E .Sub_8764_OnZero_D97E +al 00D979 .Sub_8764_JoinBranchPaths_D979 +al 00D965 .Sub_8764_OnCarrySet_D965 +al 00D992 .Sub_8764_JoinBranchPaths_D992 +al 00D949 .Sub_8764_OnZero_D949 +al 00D932 .Sub_8764_OnNegative_D932 +al 00D90F .Sub_8764_OnNonzero_D90F +al 00D909 .Sub_8764_OnNonzero_D909 +al 00D8FC .Sub_8764_OnCarrySet_D8FC +al 00D8F1 .Sub_8764_OnCarryClear_D8F1 +al 00D914 .Sub_8764_OnZero_D914 +al 00D8E3 .Sub_8764_OnNonnegative_D8E3 +al 00D8B4 .Sub_8764_OnZero_D8B4 +al 00D8B3 .Sub_8764_OnNonzero_D8B3 +al 00D942 .SubCD942 +al 00D8A1 .Sub_8764_JoinBranchPaths_D8A1 +al 00D886 .Sub_8764_OnNonnegative_D886 +al 00D871 .Sub_8764_JoinBranchPaths_D871 +al 00D873 .Sub_8764_OnZero_D873 +al 00D855 .Sub_8764_OnNegative_D855 +al 00D84F .Sub_8764_OnCarrySet_D84F +al 00D8DA .SubCD8DA +al 00D838 .Sub_8764_OnZero_D838 +al 00DBA8 .SubCDBA8 +al 00D9F2 .SubCD9F2 +al 00DA43 .SubCDA43 +al 00D828 .Sub_8764_OnNonzero_D828 +al 00D82F .Sub_8764_OnZero_D82F +al 00D83E .Sub_8764_OnZero_D83E +al 00D829 .Sub_8764_OnZero_D829 +al 00D816 .Sub_8764_OnNonzero_D816 +al 00E4B7 .SubCE4B7 +al 00D80B .Sub_8764_OnCarrySet_D80B +al 00DC81 .SubCDC81 +al 00EDE2 .SubCEDE2 +al 00EDD7 .SubCEDD7 +al 00D7F7 .Sub_8764_OnNegative_D7F7 +al 00D7FA .Sub_8764_OnNegative_D7FA +al 00D7DD .Sub_8764_OnCarrySet_D7DD +al 00D7CF .Sub_8764_OnZero_D7CF +al 00D7C5 .Sub_8764_OnCarrySet_D7C5 +al 00D7CD .Sub_8764_OnCarrySet_D7CD +al 00D7C7 .Sub_8764_OnZero_D7C7 +al 00D7B0 .Sub_8764_OnNonzero_D7B0 +al 00D7AE .Sub_8764_OnZero_D7AE +al 00D7A5 .Sub_8764_OnCarrySet_D7A5 +al 00D7A3 .Sub_8764_OnCarryClear_D7A3 +al 00D79B .Sub_8764_JoinBranchPaths_D79B +al 00D78C .Sub_8764_OnNonzero_D78C +al 00D774 .SubCD774 +al 00D766 .Sub_8764_OnZero_D766 +al 00D772 .Sub_8764_OnCarrySet_D772 +al 00D77A .SubCD77A +al 00D784 .SubCD784 +al 00D73B .Sub_8764_OnZero_D73B +al 00D740 .Sub_8764_OnCarryClear_D740 +al 00D71E .Sub_8764_JoinBranchPaths_D71E +al 00D724 .Sub_8764_JoinBranchPaths_D724 +al 00E5F1 .SubCE5F1 +al 00D6F1 .Sub_8764_OnNonzero_D6F1 +al 00D6F7 .SubCD6F7 +al 00D6CD .Sub_8764_OnNonzero_D6CD +al 00DDDB .SubCDDDB +al 00D6EF .SubCD6EF +al 00D664 .Sub_8764_OnZero_D664 +al 00D675 .Sub_8764_JoinBranchPaths_D675 +al 00D66F .Sub_8764_OnNonnegative_D66F +al 00D642 .Sub_8764_OnCarrySet_D642 +al 00D644 .Sub_8764_OnCarrySet_D644 +al 00D68E .Sub_8764_OnCarrySet_D68E +al 00D63B .Sub_8764_OnCarrySet_D63B +al 00D63A .Sub_8764_OnCarryClear_D63A +al 00D71A .SubCD71A +al 00D62C .Sub_8764_OnCarrySet_D62C +al 00D6FE .SubCD6FE +al 00D61A .Sub_8764_OnNonzero_D61A +al 00D611 .Sub_8764_OnNonzero_D611 +al 00E3B5 .SubCE3B5 +al 00D600 .Sub_8764_OnZero_D600 +al 00D5F5 .Sub_8764_OnNonnegative_D5F5 +al 00E700 .SubCE700 +al 00D5E2 .Sub_8764_OnCarryClear_D5E2 +al 00D5A9 .Sub_8764_OnNonzero_D5A9 +al 00D5BC .Sub_8764_OnCarryClear_D5BC +al 00D57F .Sub_8764_OnZero_D57F +al 00D576 .SubCD576 +al 00D52E .Sub_8764_OnNegative_D52E +al 00E621 .SubCE621 +al 00D50A .SubCD50A +al 00D4FF .Sub_8764_OnZero_D4FF +al 00D523 .Sub_8764_JoinBranchPaths_D523 +al 00D70E .SubCD70E +al 00F0EE .SubCF0EE +al 00D4EC .Sub_8764_OnZero_D4EC +al 00D4E9 .Sub_8764_OnZero_D4E9 +al 00D4D6 .Sub_8764_OnCarryClear_D4D6 +al 00D524 .SubCD524 +al 00D4C8 .Sub_8764_OnNonzero_D4C8 +al 00D4AC .Sub_8764_OnNonzero_D4AC +al 00D5C9 .SubCD5C9 +al 00D486 .Sub_8764_OnNonnegative_D486 +al 00D47F .Sub_8764_JoinBranchPaths_D47F +al 00D465 .Sub_8764_OnNonzero_D465 +al 00D46A .Sub_8764_OnZero_D46A +al 00D469 .Sub_8764_OnZero_D469 +al 00D455 .SubCD455 +al 00D433 .Sub_8764_OnCarryClear_D433 +al 00D42C .Sub_8764_OnNonzero_D42C +al 00D3FB .Sub_8764_OnNonzero_D3FB +al 00D3F6 .Sub_8764_OnNegative_D3F6 +al 00D3E9 .Sub_8764_OnNonzero_D3E9 +al 00D3E4 .Sub_8764_OnNegative_D3E4 +al 00D422 .SubCD422 +al 00D3BF .Sub_8764_OnNonzero_D3BF +al 00D3C1 .Sub_8764_OnCarryClear_D3C1 +al 00D3BD .Sub_8764_OnCarryClear_D3BD +al 00D3AF .SubCD3AF +al 00D3AD .Sub_8764_JoinBranchPaths_D3AD +al 00D38D .Sub_8764_OnCarryClear_D38D +al 00E665 .SubCE665 +al 00D37E .Sub_8764_OnCarryClear_D37E +al 00EE66 .SubCEE66 +al 00D38F .Sub_8764_JoinBranchPaths_D38F +al 00D357 .SubCD357 +al 00D4BF .SubCD4BF +al 00D34E .Sub_8764_OnNonzero_D34E +al 00D34C .Sub_8764_OnZero_D34C +al 00D33B .Sub_8764_OnZero_D33B +al 00D33A .Sub_8764_OnNonzero_D33A +al 00D32C .Sub_8764_OnZero_D32C +al 00D310 .Sub_8764_OnCarryClear_D310 +al 00D316 .Sub_8764_OnZero_D316 +al 00D30A .SubCD30A +al 00D2F9 .Sub_8764_OnNonzero_D2F9 +al 00D2FF .Sub_8764_OnNegative_D2FF +al 00D317 .Sub_8764_OnNegative_D317 +al 00D2FE .Sub_8764_OnZero_D2FE +al 00D2E8 .Sub_8764_OnZero_D2E8 +al 00D2E3 .Sub_8764_OnCarrySet_D2E3 +al 00D561 .SubCD561 +al 00D2CB .Sub_8764_JoinBranchPaths_D2CB +al 00EDE0 .SubCEDE0 +al 00D2BB .Sub_8764_OnNegative_D2BB +al 00EDD5 .SubCEDD5 +al 00D650 .SubCD650 +al 00D29B .Sub_8764_OnNonzero_D29B +al 00D284 .Sub_8764_OnCarryClear_D284 +al 00D278 .Sub_8764_JoinBranchPaths_D278 +al 00D279 .Sub_8764_OnCarrySet_D279 +al 00D8A7 .SubCD8A7 +al 00D29F .Sub_8764_OnNegative_D29F +al 00D29C .Sub_8764_OnNegative_D29C +al 00D23A .SubCD23A +al 00D244 .Sub_8764_JoinBranchPaths_D244 +al 00D229 .Sub_8764_OnZero_D229 +al 00D220 .Sub_8764_OnNonzero_D220 +al 00D228 .Sub_8764_OnNonzero_D228 +al 00D21C .Sub_8764_OnCarrySet_D21C +al 00D216 .Sub_8764_OnCarrySet_D216 +al 00D1CB .SubCD1CB +al 00D1DB .Sub_8764_OnZero_D1DB +al 00D24C .SubCD24C +al 00D1DA .Sub_8764_JoinBranchPaths_D1DA +al 00D1A5 .Sub_8764_OnNonzero_D1A5 +al 00D190 .Sub_8764_JoinBranchPaths_D190 +al 00D18E .Sub_8764_OnZero_D18E +al 00D175 .Sub_8764_OnNonzero_D175 +al 00D173 .Sub_8764_OnZero_D173 +al 00D15A .Sub_8764_OnNonnegative_D15A +al 00D163 .Sub_8764_JoinBranchPaths_D163 +al 00D158 .Sub_8764_OnCarryClear_D158 +al 00D147 .Sub_8764_OnNonzero_D147 +al 00D144 .Sub_8764_JoinBranchPaths_D144 +al 00D12E .Sub_8764_OnZero_D12E +al 00D102 .Sub_8764_OnZero_D102 +al 00D0FD .Sub_8764_OnNonzero_D0FD +al 00D110 .SubCD110 +al 00D145 .SubCD145 +al 00D125 .Sub_8764_OnZero_D125 +al 00D0E7 .Sub_8764_OnNonzero_D0E7 +al 00D0AE .Sub_8764_OnNonnegative_D0AE +al 00D0DD .Sub_8764_JoinBranchPaths_D0DD +al 00ED61 .SubCED61 +al 00D075 .Sub_8764_OnNonnegative_D075 +al 00D0A5 .Sub_8764_OnNonzero_D0A5 +al 00D4C3 .SubCD4C3 +al 00D055 .Sub_8764_OnCarryClear_D055 +al 00D04A .Sub_8764_JoinBranchPaths_D04A +al 00D06F .Sub_8764_JoinBranchPaths_D06F +al 00E157 .SubCE157 +al 00EEBC .SubCEEBC +al 00D199 .SubCD199 +al 00D800 .SubCD800 +al 00EAF6 .SubCEAF6 +al 00E28B .SubCE28B +al 00E83E .SubCE83E +al 00D00E .Sub_8764_OnNonnegative_D00E +al 00D224 .SubCD224 +al 00D019 .Sub_8764_OnNonzero_D019 +al 00CFCC .Sub_8764_OnNegative_CFCC +al 00CFC8 .Sub_8764_OnCarryClear_CFC8 +al 00D191 .SubCD191 +al 00CFB6 .Sub_8764_OnNonzero_CFB6 +al 00D2CC .SubCD2CC +al 00CFB3 .Sub_8764_OnZero_CFB3 +al 00CF7F .Sub_8764_OnNonzero_CF7F +al 00CF7D .Sub_8764_OnCarryClear_CF7D +al 00CF72 .Sub_8764_OnNonzero_CF72 +al 00D200 .SubCD200 +al 00CFDD .Sub_8764_OnNonzero_CFDD +al 00CF5C .SubCCF5C +al 00D194 .SubCD194 +al 00CF62 .Sub_8764_OnNonzero_CF62 +al 00D5E7 .SubCD5E7 +al 00CF8F .SubCCF8F +al 00CF33 .Sub_8764_OnCarryClear_CF33 +al 00D61B .SubCD61B +al 00CF26 .Sub_8764_JoinBranchPaths_CF26 +al 00D014 .SubCD014 +al 00CF45 .Sub_8764_OnZero_CF45 +al 00CF05 .Sub_8764_JoinBranchPaths_CF05 +al 00D2D7 .SubCD2D7 +al 00D01A .SubCD01A +al 00D459 .SubCD459 +al 00D2EB .SubCD2EB +al 00CEFF .Sub_8764_OnZero_CEFF +al 00CEEC .SubCCEEC +al 00CFFF .SubCCFFF +al 00F18C .SubCF18C +al 00CE74 .Sub_8764_OnZero_CE74 +al 00CE62 .SubCCE62 +al 00CE7C .Sub_8764_OnZero_CE7C +al 00CE54 .Sub_8764_OnZero_CE54 +al 00CE8F .SubCCE8F +al 00CE81 .Sub_8764_OnZero_CE81 +al 00CE2D .SubCCE2D +al 00CE2C .Sub_8764_OnZero_CE2C +al 00CE20 .SubCCE20 +al 00CE1E .SubCCE1E +al 00E7D6 .SubCE7D6 +al 00CDD8 .Sub_8764_OnNonzero_CDD8 +al 00E7A6 .SubCE7A6 +al 00CDCC .Sub_8764_OnNonzero_CDCC +al 00CDC0 .Sub_8764_OnNonzero_CDC0 +al 00F127 .SubCF127 +al 00E82D .SubCE82D +al 00E7C0 .SubCE7C0 +al 00D9E7 .SubCD9E7 +al 00CDBB .Sub_8764_OnZero_CDBB +al 00CDAF .Sub_8764_OnNonzero_CDAF +al 00CDA1 .SubCCDA1 +al 00CD9E .Sub_8764_OnNonzero_CD9E +al 00CDF4 .Sub_8764_OnZero_CDF4 +al 00D43A .SubCD43A +al 00CD79 .Sub_8764_OnNonzero_CD79 +al 00D00A .SubCD00A +al 00CD50 .Sub_8764_OnNonnegative_CD50 +al 00CD47 .Sub_8764_OnNonnegative_CD47 +al 00CD3C .Sub_8764_OnNonnegative_CD3C +al 00CD32 .Sub_8764_OnNonnegative_CD32 +al 00CD29 .Sub_8764_OnNonzero_CD29 +al 00CCC2 .Sub_8764_JoinBranchPaths_CCC2 +al 00CCBC .SubCCCBC +al 00CB78 .Sub_8764_OnNonnegative_CB78 +al 00CB68 .Sub_8764_OnCarrySet_CB68 +al 00CB76 .Sub_8764_OnNegative_CB76 +al 00CB5C .Sub_8764_OnCarrySet_CB5C +al 00CB22 .Sub_8764_OnNonnegative_CB22 +al 00CB13 .Sub_8764_OnCarryClear_CB13 +al 00CB10 .Sub_8764_OnNonzero_CB10 +al 00CB5A .SubCCB5A +al 00CAD3 .Sub_8764_JoinBranchPaths_CAD3 +al 00CAA4 .Sub_8764_OnNonzero_CAA4 +al 00CAA2 .Sub_8764_OnCarrySet_CAA2 +al 00CA87 .Sub_8764_OnNegative_CA87 +al 00CA7C .Sub_8764_OnCarrySet_CA7C +al 00CA86 .Sub_8764_OnZero_CA86 +al 00CA6B .Sub_8764_OnZero_CA6B +al 00CA66 .Sub_8764_OnZero_CA66 +al 00CA59 .Sub_8764_OnNonnegative_CA59 +al 00CA21 .Sub_8764_OnZero_CA21 +al 00CA24 .Sub_8764_JoinBranchPaths_CA24 +al 00CA22 .Sub_8764_OnNegative_CA22 +al 00CA0C .Sub_8764_OnCarrySet_CA0C +al 00CAFC .SubCCAFC +al 00CAE6 .SubCCAE6 +al 00CAA8 .SubCCAA8 +al 00CA72 .SubCCA72 +al 00CA04 .SubCCA04 +al 00C9E4 .Sub_8764_OnNonzero_C9E4 +al 00CA74 .SubCCA74 +al 00C9D5 .SubCC9D5 +al 00C9DE .SubCC9DE +al 00C9CE .Sub_8764_OnNonnegative_C9CE +al 00C9BA .Sub_8764_OnNonnegative_C9BA +al 00C9AD .Sub_8764_OnNonnegative_C9AD +al 00C9A4 .Sub_8764_OnNonnegative_C9A4 +al 00C991 .Sub_8764_OnNonzero_C991 +al 00CDE2 .SubCCDE2 +al 00C925 .SubCC925 +al 00C92A .Sub_8764_OnNonzero_C92A +al 00C927 .SubCC927 +al 00C909 .Sub_8764_OnNonzero_C909 +al 00C907 .SubCC907 +al 00C94D .SubCC94D +al 00C8E8 .SubCC8E8 +al 00C8CC .Sub_8764_OnZero_C8CC +al 00C8E5 .Sub_8764_OnZero_C8E5 +al 00CED3 .SubCCED3 +al 00D1E6 .SubCD1E6 +al 00C8B7 .Sub_8764_OnZero_C8B7 +al 00CD26 .SubCCD26 +al 00C901 .SubCC901 +al 00C8FB .SubCC8FB +al 00C921 .SubCC921 +al 00C863 .Sub_8764_OnCarryClear_C863 +al 00C85A .SubCC85A +al 00C89A .Sub_8764_OnZero_C89A +al 00C838 .SubCC838 +al 00CCC0 .SubCCCC0 +al 00C9AB .SubCC9AB +al 00C80E .Sub_8764_OnNonnegative_C80E +al 00C80A .SubCC80A +al 00C802 .Sub_8764_OnNonzero_C802 +al 00C7E7 .Sub_8764_OnNonnegative_C7E7 +al 00C7C4 .Sub_8764_OnNonzero_C7C4 +al 00C7E3 .Sub_8764_OnNonzero_C7E3 +al 00C7AC .Sub_8764_OnNonzero_C7AC +al 00C7ED .Sub_8764_OnZero_C7ED +al 00C793 .Sub_8764_JoinBranchPaths_C793 +al 00C78F .Sub_8764_OnZero_C78F +al 00C7C7 .Sub_8764_OnNonzero_C7C7 +al 00C95A .SubCC95A +al 00C786 .Sub_8764_OnNonzero_C786 +al 00C75C .Sub_8764_OnNonzero_C75C +al 00C75A .Sub_8764_OnNonzero_C75A +al 00C749 .Sub_8764_OnNonzero_C749 +al 00C747 .Sub_8764_OnNonzero_C747 +al 00C72A .Sub_8764_OnNonnegative_C72A +al 00C723 .Sub_8764_OnNonnegative_C723 +al 00C70E .Sub_8764_OnNonnegative_C70E +al 00C719 .SubCC719 +al 00C98E .SubCC98E +al 00C6F6 .Sub_8764_OnNonzero_C6F6 +al 00C6EA .Sub_8764_OnNonnegative_C6EA +al 00C5DD .Sub_8764_OnNonzero_C5DD +al 00C5C7 .SubCC5C7 +al 00C61B .SubCC61B +al 00C611 .SubCC611 +al 00C607 .SubCC607 +al 00C5FD .SubCC5FD +al 00C5B0 .Sub_8764_OnNonzero_C5B0 +al 00C5A6 .SubCC5A6 +al 00C595 .Sub_8764_OnNonzero_C595 +al 00C589 .SubCC589 +al 00C56D .SubCC56D +al 00C59C .SubCC59C +al 00C564 .Sub_8764_OnNonzero_C564 +al 00C5A1 .SubCC5A1 +al 00C55A .SubCC55A +al 00C552 .Sub_8764_OnNonzero_C552 +al 00C54A .Sub_8764_OnZero_C54A +al 00C54D .Sub_8764_OnNegative_C54D +al 00C53F .SubCC53F +al 00C539 .SubCC539 +al 00C538 .Sub_8764_OnZero_C538 +al 00C536 .Sub_8764_OnNonzero_C536 +al 00C515 .SubCC515 +al 00C523 .Sub_8764_OnNonzero_C523 +al 00C50D .SubCC50D +al 00C4F9 .SubCC4F9 +al 00C51D .Sub_8764_OnNonzero_C51D +al 00C4F5 .SubCC4F5 +al 00C4D0 .Sub_8764_OnNonzero_C4D0 +al 00C4D9 .Sub_8764_JoinBranchPaths_C4D9 +al 00C4B7 .Sub_8764_OnNonzero_C4B7 +al 00C4D6 .Sub_8764_OnNonzero_C4D6 +al 00C4C3 .Sub_8764_OnNonzero_C4C3 +al 00C4A1 .Sub_8764_OnNonzero_C4A1 +al 00C49A .Sub_8764_OnNonzero_C49A +al 00C484 .SubCC484 +al 00C463 .SubCC463 +al 00C46D .SubCC46D +al 00C45F .Sub_8764_OnZero_C45F +al 00C44B .SubCC44B +al 00C447 .SubCC447 +al 00C442 .SubCC442 +al 00C426 .Sub_8764_OnNonzero_C426 +al 00C41C .Sub_8764_OnNonzero_C41C +al 00C412 .SubCC412 +al 00C40C .Sub_8764_OnNonnegative_C40C +al 00C969 .SubCC969 +al 00C3F4 .SubCC3F4 +al 00C3F0 .SubCC3F0 +al 00C407 .SubCC407 +al 00C3EB .SubCC3EB +al 00C3E2 .SubCC3E2 +al 00C34A .Sub_8764_OnNonzero_C34A +al 00C35B .Sub_8764_OnZero_C35B +al 00C32C .SubCC32C +al 00C307 .Sub_8764_OnNonzero_C307 +al 00C2D8 .SubCC2D8 +al 00C2D0 .Sub_8764_OnNonzero_C2D0 +al 00C304 .SubCC304 +al 00C2C1 .SubCC2C1 al 00C2C0 .IrqHandler -al 00C292 .Label_C292 -al 00C2A3 .Label_C2A3 -al 00C2BB .Label_C2BB -al 00C273 .Label_C273 -al 00C268 .Label_C268 -al 00C257 .Label_C257 -al 00C278 .Label_C278 -al 00C24F .Label_C24F -al 00C23C .Label_C23C -al 00C234 .Label_C234 -al 00C232 .Label_C232 -al 00C23E .Label_C23E -al 00C21C .Label_C21C -al 00C206 .Label_C206 -al 00C1EA .Label_C1EA -al 00C1CF .Label_C1CF -al 00C1E1 .Label_C1E1 -al 00C20C .Label_C20C -al 00C209 .Label_C209 -al 00C1AC .Label_C1AC -al 00C1A1 .Label_C1A1 -al 00C191 .Label_C191 -al 00C177 .Label_C177 -al 00C169 .Label_C169 -al 00C15F .Label_C15F -al 00C14A .Label_C14A -al 00C11E .Label_C11E -al 00C104 .Label_C104 -al 00C17A .Label_C17A -al 00C0F7 .Label_C0F7 -al 00C0D7 .Label_C0D7 -al 00C0CB .Label_C0CB -al 00C0BE .Label_C0BE -al 00C0B2 .Label_C0B2 -al 00C10D .Label_C10D -al 00C08E .Label_C08E -al 00C0A0 .Label_C0A0 -al 00C09A .Label_C09A -al 00C0A3 .Label_C0A3 -al 00C0A6 .Label_C0A6 -al 00C0A8 .Label_C0A8 -al 00C0C1 .Label_C0C1 -al 00C05F .Label_C05F +al 00C292 .Sub_8764_OnNonzero_C292 +al 00C2A3 .Sub_8764_JoinBranchPaths_C2A3 +al 00C273 .Sub_8764_OnZero_C273 +al 00C268 .Sub_8764_OnNonzero_C268 +al 00C257 .Sub_8764_OnNonzero_C257 +al 00C278 .Sub_8764_JoinBranchPaths_C278 +al 00C24F .Sub_8764_OnZero_C24F +al 00D293 .SubCD293 +al 00C23C .Sub_8764_OnNonzero_C23C +al 00C234 .Sub_8764_OnZero_C234 +al 00C232 .Sub_8764_OnZero_C232 +al 00C23E .SubCC23E +al 00C21C .Sub_8764_OnZero_C21C +al 00C2BB .SubCC2BB +al 00C2EA .SubCC2EA +al 00C206 .Sub_8764_OnZero_C206 +al 00C1EA .Sub_8764_OnCarryClear_C1EA +al 00C332 .SubCC332 +al 00C1CF .Sub_8764_OnNonzero_C1CF +al 00C1E1 .Sub_8764_OnCarryClear_C1E1 +al 00C20C .Sub_8764_OnZero_C20C +al 00C209 .Sub_8764_JoinBranchPaths_C209 +al 00C1AC .Sub_8764_OnNonzero_C1AC +al 00C1A1 .Sub_8764_OnNonzero_C1A1 +al 00C191 .Sub_8764_OnNonzero_C191 +al 00C177 .Sub_8764_OnCarryClear_C177 +al 00C169 .Sub_8764_OnZero_C169 +al 00C15F .Sub_8764_OnNonzero_C15F +al 00C14A .Sub_8764_OnNonzero_C14A +al 00C11E .Sub_8764_OnZero_C11E +al 00C104 .Sub_8764_OnNonzero_C104 +al 00C0F7 .Sub_8764_OnNonzero_C0F7 +al 00C0CB .Sub_8764_OnZero_C0CB +al 00C0D7 .SubCC0D7 +al 00C0BE .Sub_8764_OnCarryClear_C0BE +al 00C0B2 .Sub_8764_OnNonzero_C0B2 +al 00C10D .Sub_8764_OnCarrySet_C10D +al 00C48E .SubCC48E +al 00C17A .SubCC17A +al 00C4E4 .SubCC4E4 +al 00C08E .Sub_8764_OnNonzero_C08E +al 00C0A0 .Sub_8764_OnCarrySet_C0A0 +al 00C09A .Sub_8764_OnZero_C09A +al 00C0A3 .Sub_8764_OnNonzero_C0A3 +al 00C0A6 .Sub_8764_OnCarrySet_C0A6 +al 00C0A8 .Sub_8764_OnCarrySet_C0A8 +al 00C0C1 .Sub_8764_OnCarrySet_C0C1 +al 00C05F .Sub_8764_OnNonzero_C05F al 00C04C .NmiHandler -al 00C045 .Label_C045 -al 00C043 .Label_C043 -al 00C038 .Label_C038 -al 00C032 .Label_C032 -al 00C006 .Label_C006 -al 00C003 .Label_C003 +al 00C045 .Sub_8764_OnNonzero_C045 +al 00C043 .SubCC043 +al 00C038 .Sub_8764_OnNonzero_C038 +al 00C032 .SubCC032 +al 00C006 .SubCC006 +al 00C003 .SubCC003 +al 00C6E3 .ResetEntry al 00C000 .Reset diff --git a/_wip/Raid on Bungeling Bay (U)/OVERVIEW.md b/_wip/Raid on Bungeling Bay (U)/OVERVIEW.md index 1aa6c49..5578460 100644 --- a/_wip/Raid on Bungeling Bay (U)/OVERVIEW.md +++ b/_wip/Raid on Bungeling Bay (U)/OVERVIEW.md @@ -1,57 +1,222 @@ -# Raid on Bungeling Bay (U) — Pass 1 Disassembly +# Raid on Bungeling Bay (U) — Game Flow from Power-On -ROM: `_wip/Raid on Bungeling Bay (U)/Raid on Bungeling Bay (U).nes` (24,592 bytes, iNES). Status: **Pass 1 complete — 64.6% code.** `copilot/prg.s` is a real disassembly, not a skeleton: 14,396 lines with 868 address-based `Label_` definitions and canonical `; CPU:$xxxx PRG:xxxx AA BB` audit comments. It builds **byte-identical** at the PRG level (`cmp reconstructed_prg.bin prg.bin`). +This document describes the execution flow of the disassembled Raid on Bungeling Bay (U) PRG bank (16 KB, mapped at CPU **$C000–$FFFF**), starting from power-on. It is based entirely on `copilot/prg.s` in the repository. The rebuild is verified **byte-identical** to the original `prg.bin` at the PRG level. +--- -## ROM Facts +## 1. Reset Vector — CPU $FFFC → $C000 -| Property | Value | -|----------|-------| -| Mapper | 0 (NROM) — from the iNES header | -| PRG | 16 KB (header claims map at CPU $C000–$FFFF) | -| CHR | 8 KB | -| Mirroring | Vertical | -| Battery-backed flag | clear | -| ROM SHA-256 | `577ceb8c441276aee3aec3f86a0592c84d57e2f97675dd84b07fd06dc4a3b213` | -| PRG SHA-256 | `46e80cd2d105178efc2adbdd49463421eb455b7729867c352ec8e5fb45d032d8` | +**`Reset`** ($C000) → **`Label_C6E3`** ($C6E3) -## Interrupt Vectors (taken from PRG $3FFA–$3FFF) +The RESET vector points to $C000, which contains a single `jmp $C6E3`. The actual reset routine begins at **$C6E3**: -| Vector | Target | Note | -|--------|--------|------| -| NMI | `$C04C` | per-frame heartbeat | -| RESET | `$C000` | cold start at $C000 — the usual pattern in this repo | -| IRQ | `$C2C0` | target $C2C0 — verify during Pass 1 | +| Step | Code | Purpose | +|------|------|---------| +| 1 | `lda #$10` / `sta $2000` / `sta ZpC2` | PPUCTRL = $10 (NMI off, sprite $0000, BG $0000) + shadow in ZpC2 | +| 2–5 | `Label_C6EA`: `inc ZpEA` / `lda $2002` / `bpl` | Wait for VBlank (poll PPUSTATUS bit 7), increment ZpEA | +| 6–7 | `ldx #$FF` / `txs` | Initialize stack pointer to $01FF | +| 8 | `inx` / `txa` | X=0, A=0 | +| 9–13 | `Label_C6F6`: `sta Zp00,x` / `inx` / `cpx #$EA` / `bne` | Clear $0000–$00E9 (234 bytes) | +| 14 | `jsr $C98E` | Initialize game systems | +| 15–18 | `lda $026D` / `ora $0273` / `cmp #$23` / `beq Label_C719` | Check signature at $026D/$0273; if $23, warm start | +| 19–22 | `lda #$23` / `ldx #$0B` / `Label_C70E`: `sta $0268,x` / `dex` / `bpl` / `lda #$25` / `sta $026F` | Cold start: write $23 to $0268–$0273, $25 to $026F | +| 23–26 | `Label_C719`: `ldx #$FF` / `txs` / `jsr $C98E` / `lda #$01` / `ldx #$06` | Warm start: re-init stack, systems, set A=1, X=6 | +| 27+ | Falls through to main loop | Continue initialization | -## `copilot/` Contents +**Warm-start signature:** Two bytes at $026D/$0273. If their OR equals $23, the game treats it as a warm start (skips full clear, re-initializes stack and systems). -| File | Purpose | -|------|---------| -| `Raid on Bungeling Bay (U).nes` | original ROM image (reference) | -| `prg.bin` / `header.bin` / `chr.bin` | split image, produced by `_tools/splitnes.py` | -| `prg.s` | Pass-1 disassembly: 14,396 lines, 868 address-based `Label_` labels, canonical audit comments | -| `symbols.inc` | shared NES hardware constants (PPU/APU/controller) | -| `locals.inc` | project-local zero-page aliases | -| `linker.cfg` | PRG at $C000, 16 KB, `fill = yes` | -| `Makefile` | links `reconstructed_prg.bin` and `cmp`s it against `prg.bin` | -| `reconstructed_prg.bin` | build output from the last verified build | +--- -Header/CHR are not linked: `copilot/` keeps the raw `header.bin`/`chr.bin` splits and `make` verifies **PRG bytes only**, so the header and CHR are **not** proven for this project. Promotion to the top level adds `header.s` / `chr.s` (as e.g. `Burger Time (U)`), a HEADER/PRG/CHR `linker.cfg`, and a full-ROM `make` target. +## 2. Main Loop -## Build +After reset initialization, the main loop runs continuously, synchronized with NMI via ZpC4 flag. The loop calls various gameplay subroutines for helicopter control, enemy AI, base building, etc. -```bash -cd "_wip/Raid on Bungeling Bay (U)/copilot" -make # → cmp reconstructed_prg.bin prg.bin → "BYTE-IDENTICAL" +--- + +## 3. Interrupt Vectors — CPU $FFFA–$FFFF + +Located at PRG offset $3FFA (end of 16 KB bank): + +| Vector | Address | Handler | +|--------|---------|---------| +| NMI | $C04C | `NmiHandler` | +| RESET | $C000 | `Reset` (jumps to $C6E3) | +| IRQ | $C2C0 | `IrqHandler` (target $C2C0 — verify during Pass 1) | + +--- + +## 4. NMI / Frame Heartbeat — `NmiHandler` ($C04C) + +The NMI fires once per frame and implements a state machine based on **ZpC4** ($C4): + +``` +NmiHandler ($C04C): + pha / txa / pha / tya / pha ; preserve A,X,Y + lda ZpC4 ($C4) + bne Label_C05F ; ZpC4≠0: Path B + lda #$00 / sta $2003 (OAMADDR) + lda #$07 / sta $4014 (OAMDMA) ; sprite DMA from $0700 + ... (Path A: minimal) +Label_C05F: ; Path B: full frame update + lda $0200 / ldx #$00 / stx $0200 ; read/clear $0200 + lsr a / bcs Label_C0C1 ; bit 0 + lsr a / bcs Label_C0A8 ; bit 1 + lsr a / bcs Label_C0A6 ; bit 2 + lsr a / bcs Label_C0A6 ; bit 3 (same as bit 2) + lda ZpC4 / bne Label_C0A3 ; if ZpC4 still set + lda Zp55 ($55) / beq Label_C09A ; check Zp55 + dec Zp55 / lsr a / bcs Label_C0A0 ; decrement, check bit + lda #$3F / sta $2006 / ldx #$00 / stx $2006 / ldx #$10 / lda #$14 +Label_C08E: + jsr $C006 / dex / bne Label_C08E ; write 16 bytes to PPUDATA ($3F00) + jsr $C4E4 / jmp $C17A +Label_C09A: + lda ZpD6 ($D6) / cmp #$02 / bne Label_C0A3 +Label_C0A0: + ... (palette/sprite updates) +Label_C0A3: + ... (gameplay updates) +Label_C0A6: + ... (sprite updates) +Label_C0A8: + ... (enemy updates) +Label_C0C1: + ... (collision/game logic) ``` -## Pass Status +**Two NMI Paths:** +- **Path A (ZpC4=0):** Minimal — only OAM DMA from $0700 +- **Path B (ZpC4≠0):** Full — reads $0200 as state bitmap, dispatches to handlers for bits 0–3: + - Bit 0 → `Label_C0C1` (collision/game logic) + - Bit 1 → `Label_C0A8` (enemy updates) + - Bit 2/3 → `Label_C0A6` (sprite updates) + - If ZpC4 still set → `Label_C0A3` (gameplay) + - Zp55 check → `Label_C09A` (timer-based) + - ZpD6=2 → `Label_C0A0` (palette) -| Pass | Status | -|------|--------| -| Pass 1 | **Complete** — 14,396 lines of `prg.s`, 868 address-based `Label_` definitions, canonical audit comments; 64.6% code per the root inventory row | -| Pass 2 | Outstanding | -| Pass 3 | Outstanding | -| Promotion | Outstanding — add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to a whole-ROM `cmp`, move the `_tools` paths | +**Key ZP Flags:** +- `ZpC4` ($C4): NMI path selector (0=minimal, ≠0=full) +- `Zp55` ($55): Frame sub-counter/timer +- `ZpD6` ($D6): Game state (2 = palette update) +- `ZpEA` ($EA): VBlank wait counter +- `ZpC2` ($C2): PPUCTRL shadow -**Still owed:** a real power-on flow analysis (RESET/NMI/main-loop walk) in the style of the top-level project `OVERVIEW.md`s. This file was retitled and restatused in the 2026-10-19 doc-drift sweep to match the actual `prg.s`; the original skeleton-era text is superseded. +--- + +## 5. Key Subsystems + +### 5.1 PPU Helper — `$C006` / `$C003` +- `$C006`: Write A to PPUDATA ($2007), RTS +- `$C003`: `lda $0200,x` (read from $0200+X) + +### 5.2 Sprite/OAM System +- OAM DMA from $0700 (Path A) or $0200 (Path B) +- Sprite updates at `Label_C0A6`, `Label_C0A8` + +### 5.3 Palette Updates — `$C08E` / `$C4E4` +- When Zp55 expires or ZpD6=2: writes 16 bytes to PPU $3F00 (palette) +- Data from $0200+ area + +### 5.4 Gameplay Logic +- `$C0C1`: Collision detection, helicopter physics +- `$C0A8`: Enemy/factory AI +- `$C0A6`: Sprite animation +- `$C17A`: Base/building logic +- `$C98E`: System initialization (called at reset and warm start) + +### 5.5 Indirect Dispatch (multiple) +Multiple `jmp (zp)` not followed statically: +- `jmp ($001B)` at $E7A3 +- `jmp ($0017)` at $E79D +- `jmp ($0019)` at $E7A0 +- `jmp ($0001)` at $E2EC + +Target addresses in ZP set by callers; require runtime tracing. + +--- + +## 6. Memory Map (Key Zero Page / RAM) + +| Address | Name | Use | +|---------|------|-----| +| $00 | `Zp00` | RAM clear pointer / general | +| $01 | `Zp01` | RAM clear page counter | +| $1B | `Zp1B` | Indirect dispatch ($001B) | +| $17 | `Zp17` | Indirect dispatch ($0017) | +| $19 | `Zp19` | Indirect dispatch ($0019) | +| $01 | `Zp01` | Indirect dispatch ($0001) | +| $55 | `Zp55` | Frame sub-counter/timer | +| $C2 | `ZpC2` | PPUCTRL shadow | +| $C4 | `ZpC4` | NMI path selector (0=minimal, ≠0=full) | +| $D6 | `ZpD6` | Game state (2 = palette) | +| $EA | `ZpEA` | VBlank wait counter | +| $0200 | State bitmap | Read in NMI Path B (bits 0–3 dispatch) | +| $0268–$0273 | Warm-start signature | $23 bytes for warm start detection | +| $026D/$0273 | Signature check | OR'd together, compared to $23 | +| $026F | `Zp6F` | Gameplay parameter ($25 init) | +| $0700 | OAM source (Path A) | Sprite DMA from $0700 when ZpC4=0 | + +--- + +## 7. Summary of Execution Flow + +``` +Power On / Reset + │ + ▼ +Reset ($C000) ────► jmp $C6E3 + │ + ▼ +Label_C6E3 ($C6E3) ──► PPUCTRL=$10, wait VBlank, stack=$FF + │ + ├─ Clear $0000–$00E9 (234 bytes) + ├─ jsr $C98E (system init) + ├─ Check $026D/$0273 signature: + │ ├─ OR = $23: Warm start + │ │ ldx #$FF / txs / jsr $C98E / A=1, X=6 + │ └─ Else: Cold start + │ Write $23 to $0268–$0273, $25 to $026F + │ + ▼ +Main Loop (VBlank synchronized via ZpC4) + │ + ▼ (NMI fires once per frame) + +NMI ($C04C) + ├─ Preserve A,X,Y + ├─ lda ZpC4 + │ ├─ =0 (Path A): OAM DMA from $0700, minimal + │ └─ ≠0 (Path B): + │ lda $0200 / stx $0200 (read/clear state bitmap) + │ lsr ×4 → dispatch on bits 0–3: + │ bit 0: Label_C0C1 (collision/logic) + │ bit 1: Label_C0A8 (enemies) + │ bit 2/3: Label_C0A6 (sprites) + │ ZpC4 still set → Label_C0A3 (gameplay) + │ Zp55=0 → Label_C09A (timer) + │ dec Zp55, check bit → Label_C0A0 (palette) + │ ZpD6=2 → Label_C0A0 (palette) + │ Palette: $3F00, 16 bytes via $C006 + │ + └─ Restore, rti +``` + +--- + +## 8. Naming and Residue + +**Pass 1 complete** — 14,396 lines, 868 `Label_` definitions, canonical audit comments, 64.6% code. 6 seeded routine entries from table references. + +**Pass 2 outstanding** — No semantic names applied; all 868 labels remain address-derived `Label_XXXX`. + +**Pass 3 outstanding** — No semantic zero-page aliases; `locals.inc` holds neutral `ZpXX` names. + +**Indirect dispatch** (not followed statically): +- `jmp ($001B)` at $E7A3 +- `jmp ($0017)` at $E79D +- `jmp ($0019)` at $E7A0 +- `jmp ($0001)` at $E2EC + +**Promotion outstanding** — Add `header.s`/`chr.s` + HEADER/PRG/CHR `linker.cfg`, switch `make` to whole-ROM `cmp`, move `_tools` paths from `../../../_tools/` to `../../_tools/`. + +Build verification: `make` in `copilot/` produces `reconstructed_prg.bin`, compared against `prg.bin` (PRG byte-identical). \ No newline at end of file diff --git a/_wip/Raid on Bungeling Bay (U)/copilot/locals.inc b/_wip/Raid on Bungeling Bay (U)/copilot/locals.inc index 2af3702..119d388 100644 --- a/_wip/Raid on Bungeling Bay (U)/copilot/locals.inc +++ b/_wip/Raid on Bungeling Bay (U)/copilot/locals.inc @@ -167,3 +167,23 @@ ZpE3 = $E3 ; 5 refs; reads=2 writes=3; used at $C723, CA51, C ZpEA = $EA ; 8 refs; reads=5 writes=3; used at $C412, C41C, C424, C438, +2 more ZpEB = $EB ; 5 refs; reads=3 writes=2; used at $C414, C41A, C426, C435 ZpEC = $EC ; 3 refs; reads=2 writes=1; used at $C432, C43D, EBCA + +; Semantic aliases (Pass 3, 2026-10-20) +; Based on observed usage in the disassembly + +; 16-bit pointer (RAM clear) +PtrLo = $00 ; semantic alias for Zp00 +PtrHi = $01 ; semantic alias for Zp01 + +; Indirect dispatch pointers (jmp (zp)) +IndDispatch1B = $1B ; semantic alias for Zp1B (jmp ($001B) at $E7A3) +IndDispatch17 = $17 ; semantic alias for Zp17 (jmp ($0017) at $E79D) +IndDispatch19 = $19 ; semantic alias for Zp19 (jmp ($0019) at $E7A0) +IndDispatch01 = $01 ; semantic alias for Zp01 (jmp ($0001) at $E2EC) + +; Frame/timer state +FrameSubCounter = $55 ; semantic alias for Zp55 +PpuCtrlShadow = $C2 ; semantic alias for ZpC2 +NmiPathSelector = $C4 ; semantic alias for ZpC4 (0=minimal, !=0=full) +GameState = $D6 ; semantic alias for ZpD6 (2 = palette) +VBlankWaitCounter = $EA ; semantic alias for ZpEA diff --git a/_wip/Raid on Bungeling Bay (U)/copilot/prg.s b/_wip/Raid on Bungeling Bay (U)/copilot/prg.s index 0188503..df3e6c3 100644 --- a/_wip/Raid on Bungeling Bay (U)/copilot/prg.s +++ b/_wip/Raid on Bungeling Bay (U)/copilot/prg.s @@ -34,9 +34,9 @@ ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- Reset: - jmp $C6E3 ; CPU:$C000 PRG:0000 4C E3 C6 + jmp ResetEntry ; CPU:$C000 PRG:0000 4C E3 C6 ; ----------------------------------------------------------------------------- -; Routine: Label_C003 +; Routine: SubCC003 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -44,10 +44,10 @@ Reset: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C003: +SubCC003: lda $0200,x ; CPU:$C003 PRG:0003 BD 00 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C006 +; Routine: SubCC006 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -55,8 +55,8 @@ Label_C003: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C006: - sta $2007 ; CPU:$C006 PRG:0006 8D 07 20 +SubCC006: + sta PPUDATA ; CPU:$C006 PRG:0006 8D 07 20 rts ; CPU:$C009 PRG:0009 60 ; ---- data $C00A-$C031 (40 bytes) ---- ; referenced by `lda $C02E,x` at $C4BC (operand $C02E falls inside this region) @@ -67,7 +67,7 @@ Label_C006: .byte $0F, $16, $30, $25, $15, $30, $10, $00, $19, $10, $1F, $1C, $1C, $14, $19, $1B ; CPU:$C01A PRG:001A 0F 16 30 25 15 30 10 00 19 10 1F 1C 1C 14 19 1B .byte $13, $17, $0F, $15, $07, $17, $17, $17 ; CPU:$C02A PRG:002A 13 17 0F 15 07 17 17 17 ; ----------------------------------------------------------------------------- -; Routine: Label_C032 +; Routine: SubCC032 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -75,12 +75,12 @@ Label_C006: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C032: +SubCC032: lda #$14 ; CPU:$C032 PRG:0032 A9 14 - bne Label_C038 ; CPU:$C034 PRG:0034 D0 02 + bne Sub_8764_OnNonzero_C038 ; CPU:$C034 PRG:0034 D0 02 lda #$04 ; CPU:$C036 PRG:0036 A9 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C038 +; Routine: Sub_8764_OnNonzero_C038 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -88,15 +88,15 @@ Label_C032: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C038: +Sub_8764_OnNonzero_C038: ldy #$00 ; CPU:$C038 PRG:0038 A0 00 - jsr $C043 ; CPU:$C03A PRG:003A 20 43 C0 + jsr SubCC043 ; CPU:$C03A PRG:003A 20 43 C0 sec ; CPU:$C03D PRG:003D 38 sbc #$01 ; CPU:$C03E PRG:003E E9 01 - bne Label_C038 ; CPU:$C040 PRG:0040 D0 F6 + bne Sub_8764_OnNonzero_C038 ; CPU:$C040 PRG:0040 D0 F6 rts ; CPU:$C042 PRG:0042 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C043 +; Routine: SubCC043 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -104,10 +104,10 @@ Label_C038: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C043: +SubCC043: ldx #$00 ; CPU:$C043 PRG:0043 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C045 +; Routine: Sub_8764_OnNonzero_C045 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -115,11 +115,11 @@ Label_C043: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C045: +Sub_8764_OnNonzero_C045: dex ; CPU:$C045 PRG:0045 CA - bne Label_C045 ; CPU:$C046 PRG:0046 D0 FD + bne Sub_8764_OnNonzero_C045 ; CPU:$C046 PRG:0046 D0 FD dey ; CPU:$C048 PRG:0048 88 - bne Label_C043 ; CPU:$C049 PRG:0049 D0 F8 + bne SubCC043 ; CPU:$C049 PRG:0049 D0 F8 rts ; CPU:$C04B PRG:004B 60 ; ----------------------------------------------------------------------------- ; Routine: NmiHandler @@ -136,14 +136,14 @@ NmiHandler: pha ; CPU:$C04E PRG:004E 48 tya ; CPU:$C04F PRG:004F 98 pha ; CPU:$C050 PRG:0050 48 - lda ZpC4 ; CPU:$C051 PRG:0051 A5 C4 - bne Label_C05F ; CPU:$C053 PRG:0053 D0 0A + lda NmiPathSelector ; CPU:$C051 PRG:0051 A5 C4 + bne Sub_8764_OnNonzero_C05F ; CPU:$C053 PRG:0053 D0 0A lda #$00 ; CPU:$C055 PRG:0055 A9 00 - sta $2003 ; CPU:$C057 PRG:0057 8D 03 20 + sta OAMADDR ; CPU:$C057 PRG:0057 8D 03 20 lda #$07 ; CPU:$C05A PRG:005A A9 07 - sta $4014 ; CPU:$C05C PRG:005C 8D 14 40 + sta OAMDMA ; CPU:$C05C PRG:005C 8D 14 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C05F +; Routine: Sub_8764_OnNonzero_C05F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -151,33 +151,33 @@ NmiHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C05F: +Sub_8764_OnNonzero_C05F: lda $0200 ; CPU:$C05F PRG:005F AD 00 02 ldx #$00 ; CPU:$C062 PRG:0062 A2 00 stx $0200 ; CPU:$C064 PRG:0064 8E 00 02 lsr a ; CPU:$C067 PRG:0067 4A - bcs Label_C0C1 ; CPU:$C068 PRG:0068 B0 57 + bcs Sub_8764_OnCarrySet_C0C1 ; CPU:$C068 PRG:0068 B0 57 lsr a ; CPU:$C06A PRG:006A 4A - bcs Label_C0A8 ; CPU:$C06B PRG:006B B0 3B + bcs Sub_8764_OnCarrySet_C0A8 ; CPU:$C06B PRG:006B B0 3B lsr a ; CPU:$C06D PRG:006D 4A - bcs Label_C0A6 ; CPU:$C06E PRG:006E B0 36 + bcs Sub_8764_OnCarrySet_C0A6 ; CPU:$C06E PRG:006E B0 36 lsr a ; CPU:$C070 PRG:0070 4A - bcs Label_C0A6 ; CPU:$C071 PRG:0071 B0 33 - lda ZpC4 ; CPU:$C073 PRG:0073 A5 C4 - bne Label_C0A3 ; CPU:$C075 PRG:0075 D0 2C - lda Zp55 ; CPU:$C077 PRG:0077 A5 55 - beq Label_C09A ; CPU:$C079 PRG:0079 F0 1F - dec Zp55 ; CPU:$C07B PRG:007B C6 55 + bcs Sub_8764_OnCarrySet_C0A6 ; CPU:$C071 PRG:0071 B0 33 + lda NmiPathSelector ; CPU:$C073 PRG:0073 A5 C4 + bne Sub_8764_OnNonzero_C0A3 ; CPU:$C075 PRG:0075 D0 2C + lda FrameSubCounter ; CPU:$C077 PRG:0077 A5 55 + beq Sub_8764_OnZero_C09A ; CPU:$C079 PRG:0079 F0 1F + dec FrameSubCounter ; CPU:$C07B PRG:007B C6 55 lsr a ; CPU:$C07D PRG:007D 4A - bcs Label_C0A0 ; CPU:$C07E PRG:007E B0 20 + bcs Sub_8764_OnCarrySet_C0A0 ; CPU:$C07E PRG:007E B0 20 lda #$3F ; CPU:$C080 PRG:0080 A9 3F - sta $2006 ; CPU:$C082 PRG:0082 8D 06 20 + sta PPUADDR ; CPU:$C082 PRG:0082 8D 06 20 ldx #$00 ; CPU:$C085 PRG:0085 A2 00 - stx $2006 ; CPU:$C087 PRG:0087 8E 06 20 + stx PPUADDR ; CPU:$C087 PRG:0087 8E 06 20 ldx #$10 ; CPU:$C08A PRG:008A A2 10 lda #$14 ; CPU:$C08C PRG:008C A9 14 ; ----------------------------------------------------------------------------- -; Routine: Label_C08E +; Routine: Sub_8764_OnNonzero_C08E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -185,14 +185,14 @@ Label_C05F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C08E: - jsr $C006 ; CPU:$C08E PRG:008E 20 06 C0 +Sub_8764_OnNonzero_C08E: + jsr SubCC006 ; CPU:$C08E PRG:008E 20 06 C0 dex ; CPU:$C091 PRG:0091 CA - bne Label_C08E ; CPU:$C092 PRG:0092 D0 FA - jsr $C4E4 ; CPU:$C094 PRG:0094 20 E4 C4 - jmp $C17A ; CPU:$C097 PRG:0097 4C 7A C1 + bne Sub_8764_OnNonzero_C08E ; CPU:$C092 PRG:0092 D0 FA + jsr SubCC4E4 ; CPU:$C094 PRG:0094 20 E4 C4 + jmp SubCC17A ; CPU:$C097 PRG:0097 4C 7A C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C09A +; Routine: Sub_8764_OnZero_C09A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -200,12 +200,12 @@ Label_C08E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C09A: - lda ZpD6 ; CPU:$C09A PRG:009A A5 D6 +Sub_8764_OnZero_C09A: + lda GameState ; CPU:$C09A PRG:009A A5 D6 cmp #$02 ; CPU:$C09C PRG:009C C9 02 - bne Label_C0A3 ; CPU:$C09E PRG:009E D0 03 + bne Sub_8764_OnNonzero_C0A3 ; CPU:$C09E PRG:009E D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A0 +; Routine: Sub_8764_OnCarrySet_C0A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -213,10 +213,10 @@ Label_C09A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A0: - jsr $C48E ; CPU:$C0A0 PRG:00A0 20 8E C4 +Sub_8764_OnCarrySet_C0A0: + jsr SubCC48E ; CPU:$C0A0 PRG:00A0 20 8E C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A3 +; Routine: Sub_8764_OnNonzero_C0A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -224,10 +224,10 @@ Label_C0A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A3: - jmp $C17A ; CPU:$C0A3 PRG:00A3 4C 7A C1 +Sub_8764_OnNonzero_C0A3: + jmp SubCC17A ; CPU:$C0A3 PRG:00A3 4C 7A C1 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A6 +; Routine: Sub_8764_OnCarrySet_C0A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -235,10 +235,10 @@ Label_C0A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A6: - bcs Label_C10D ; CPU:$C0A6 PRG:00A6 B0 65 +Sub_8764_OnCarrySet_C0A6: + bcs Sub_8764_OnCarrySet_C10D ; CPU:$C0A6 PRG:00A6 B0 65 ; ----------------------------------------------------------------------------- -; Routine: Label_C0A8 +; Routine: Sub_8764_OnCarrySet_C0A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -246,14 +246,14 @@ Label_C0A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0A8: +Sub_8764_OnCarrySet_C0A8: ldy #$20 ; CPU:$C0A8 PRG:00A8 A0 20 - lda ZpC2 ; CPU:$C0AA PRG:00AA A5 C2 + lda PpuCtrlShadow ; CPU:$C0AA PRG:00AA A5 C2 and #$01 ; CPU:$C0AC PRG:00AC 29 01 - bne Label_C0B2 ; CPU:$C0AE PRG:00AE D0 02 + bne Sub_8764_OnNonzero_C0B2 ; CPU:$C0AE PRG:00AE D0 02 ldy #$24 ; CPU:$C0B0 PRG:00B0 A0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C0B2 +; Routine: Sub_8764_OnNonzero_C0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -261,17 +261,17 @@ Label_C0A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0B2: +Sub_8764_OnNonzero_C0B2: lda ZpC1 ; CPU:$C0B2 PRG:00B2 A5 C1 clc ; CPU:$C0B4 PRG:00B4 18 adc #$08 ; CPU:$C0B5 PRG:00B5 69 08 tax ; CPU:$C0B7 PRG:00B7 AA - bcc Label_C0BE ; CPU:$C0B8 PRG:00B8 90 04 + bcc Sub_8764_OnCarryClear_C0BE ; CPU:$C0B8 PRG:00B8 90 04 tya ; CPU:$C0BA PRG:00BA 98 eor #$04 ; CPU:$C0BB PRG:00BB 49 04 tay ; CPU:$C0BD PRG:00BD A8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0BE +; Routine: Sub_8764_OnCarryClear_C0BE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -279,10 +279,10 @@ Label_C0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0BE: - jmp $C0D7 ; CPU:$C0BE PRG:00BE 4C D7 C0 +Sub_8764_OnCarryClear_C0BE: + jmp SubCC0D7 ; CPU:$C0BE PRG:00BE 4C D7 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C0C1 +; Routine: Sub_8764_OnCarrySet_C0C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -290,14 +290,14 @@ Label_C0BE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0C1: +Sub_8764_OnCarrySet_C0C1: ldy #$20 ; CPU:$C0C1 PRG:00C1 A0 20 - lda ZpC2 ; CPU:$C0C3 PRG:00C3 A5 C2 + lda PpuCtrlShadow ; CPU:$C0C3 PRG:00C3 A5 C2 and #$01 ; CPU:$C0C5 PRG:00C5 29 01 - beq Label_C0CB ; CPU:$C0C7 PRG:00C7 F0 02 + beq Sub_8764_OnZero_C0CB ; CPU:$C0C7 PRG:00C7 F0 02 ldy #$24 ; CPU:$C0C9 PRG:00C9 A0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C0CB +; Routine: Sub_8764_OnZero_C0CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -305,17 +305,17 @@ Label_C0C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0CB: +Sub_8764_OnZero_C0CB: lda ZpC1 ; CPU:$C0CB PRG:00CB A5 C1 sec ; CPU:$C0CD PRG:00CD 38 sbc #$08 ; CPU:$C0CE PRG:00CE E9 08 tax ; CPU:$C0D0 PRG:00D0 AA - bcs Label_C0D7 ; CPU:$C0D1 PRG:00D1 B0 04 + bcs SubCC0D7 ; CPU:$C0D1 PRG:00D1 B0 04 tya ; CPU:$C0D3 PRG:00D3 98 eor #$04 ; CPU:$C0D4 PRG:00D4 49 04 tay ; CPU:$C0D6 PRG:00D6 A8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0D7 +; Routine: SubCC0D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -323,17 +323,17 @@ Label_C0CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0D7: - lda ZpC2 ; CPU:$C0D7 PRG:00D7 A5 C2 +SubCC0D7: + lda PpuCtrlShadow ; CPU:$C0D7 PRG:00D7 A5 C2 ora #$04 ; CPU:$C0D9 PRG:00D9 09 04 - sta ZpC2 ; CPU:$C0DB PRG:00DB 85 C2 - sta $2000 ; CPU:$C0DD PRG:00DD 8D 00 20 - sty $2006 ; CPU:$C0E0 PRG:00E0 8C 06 20 + sta PpuCtrlShadow ; CPU:$C0DB PRG:00DB 85 C2 + sta PPUCTRL ; CPU:$C0DD PRG:00DD 8D 00 20 + sty PPUADDR ; CPU:$C0E0 PRG:00E0 8C 06 20 txa ; CPU:$C0E3 PRG:00E3 8A lsr a ; CPU:$C0E4 PRG:00E4 4A lsr a ; CPU:$C0E5 PRG:00E5 4A lsr a ; CPU:$C0E6 PRG:00E6 4A - sta $2006 ; CPU:$C0E7 PRG:00E7 8D 06 20 + sta PPUADDR ; CPU:$C0E7 PRG:00E7 8D 06 20 lda ZpC3 ; CPU:$C0EA PRG:00EA A5 C3 lsr a ; CPU:$C0EC PRG:00EC 4A lsr a ; CPU:$C0ED PRG:00ED 4A @@ -345,7 +345,7 @@ Label_C0D7: tax ; CPU:$C0F5 PRG:00F5 AA inx ; CPU:$C0F6 PRG:00F6 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_C0F7 +; Routine: Sub_8764_OnNonzero_C0F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -353,16 +353,16 @@ Label_C0D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C0F7: - jsr $C003 ; CPU:$C0F7 PRG:00F7 20 03 C0 +Sub_8764_OnNonzero_C0F7: + jsr SubCC003 ; CPU:$C0F7 PRG:00F7 20 03 C0 inx ; CPU:$C0FA PRG:00FA E8 cpx #$1F ; CPU:$C0FB PRG:00FB E0 1F - bne Label_C0F7 ; CPU:$C0FD PRG:00FD D0 F8 + bne Sub_8764_OnNonzero_C0F7 ; CPU:$C0FD PRG:00FD D0 F8 ldx #$01 ; CPU:$C0FF PRG:00FF A2 01 tya ; CPU:$C101 PRG:0101 98 - beq Label_C17A ; CPU:$C102 PRG:0102 F0 76 + beq SubCC17A ; CPU:$C102 PRG:0102 F0 76 ; ----------------------------------------------------------------------------- -; Routine: Label_C104 +; Routine: Sub_8764_OnNonzero_C104 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -370,14 +370,14 @@ Label_C0F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C104: - jsr $C003 ; CPU:$C104 PRG:0104 20 03 C0 +Sub_8764_OnNonzero_C104: + jsr SubCC003 ; CPU:$C104 PRG:0104 20 03 C0 inx ; CPU:$C107 PRG:0107 E8 dey ; CPU:$C108 PRG:0108 88 - bne Label_C104 ; CPU:$C109 PRG:0109 D0 F9 - beq Label_C17A ; CPU:$C10B PRG:010B F0 6D + bne Sub_8764_OnNonzero_C104 ; CPU:$C109 PRG:0109 D0 F9 + beq SubCC17A ; CPU:$C10B PRG:010B F0 6D ; ----------------------------------------------------------------------------- -; Routine: Label_C10D +; Routine: Sub_8764_OnCarrySet_C10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -385,17 +385,17 @@ Label_C104: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C10D: - lda ZpC2 ; CPU:$C10D PRG:010D A5 C2 +Sub_8764_OnCarrySet_C10D: + lda PpuCtrlShadow ; CPU:$C10D PRG:010D A5 C2 and #$FB ; CPU:$C10F PRG:010F 29 FB - sta ZpC2 ; CPU:$C111 PRG:0111 85 C2 - sta $2000 ; CPU:$C113 PRG:0113 8D 00 20 + sta PpuCtrlShadow ; CPU:$C111 PRG:0111 85 C2 + sta PPUCTRL ; CPU:$C113 PRG:0113 8D 00 20 ldx #$20 ; CPU:$C116 PRG:0116 A2 20 and #$01 ; CPU:$C118 PRG:0118 29 01 - beq Label_C11E ; CPU:$C11A PRG:011A F0 02 + beq Sub_8764_OnZero_C11E ; CPU:$C11A PRG:011A F0 02 ldx #$24 ; CPU:$C11C PRG:011C A2 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C11E +; Routine: Sub_8764_OnZero_C11E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -403,7 +403,7 @@ Label_C10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C11E: +Sub_8764_OnZero_C11E: lda #$00 ; CPU:$C11E PRG:011E A9 00 sta ZpC6 ; CPU:$C120 PRG:0120 85 C6 lda ZpC3 ; CPU:$C122 PRG:0122 A5 C3 @@ -427,11 +427,11 @@ Label_C11E: tax ; CPU:$C13D PRG:013D AA lda ZpC6 ; CPU:$C13E PRG:013E A5 C6 adc #$00 ; CPU:$C140 PRG:0140 69 00 - sta $2006 ; CPU:$C142 PRG:0142 8D 06 20 - stx $2006 ; CPU:$C145 PRG:0145 8E 06 20 + sta PPUADDR ; CPU:$C142 PRG:0142 8D 06 20 + stx PPUADDR ; CPU:$C145 PRG:0145 8E 06 20 ldx #$01 ; CPU:$C148 PRG:0148 A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C14A +; Routine: Sub_8764_OnNonzero_C14A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -439,20 +439,20 @@ Label_C11E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C14A: - jsr $C003 ; CPU:$C14A PRG:014A 20 03 C0 +Sub_8764_OnNonzero_C14A: + jsr SubCC003 ; CPU:$C14A PRG:014A 20 03 C0 inx ; CPU:$C14D PRG:014D E8 iny ; CPU:$C14E PRG:014E C8 cpy #$20 ; CPU:$C14F PRG:014F C0 20 - bne Label_C14A ; CPU:$C151 PRG:0151 D0 F7 + bne Sub_8764_OnNonzero_C14A ; CPU:$C151 PRG:0151 D0 F7 pla ; CPU:$C153 PRG:0153 68 tay ; CPU:$C154 PRG:0154 A8 eor #$04 ; CPU:$C155 PRG:0155 49 04 - sta $2006 ; CPU:$C157 PRG:0157 8D 06 20 + sta PPUADDR ; CPU:$C157 PRG:0157 8D 06 20 lda ZpC5 ; CPU:$C15A PRG:015A A5 C5 - sta $2006 ; CPU:$C15C PRG:015C 8D 06 20 + sta PPUADDR ; CPU:$C15C PRG:015C 8D 06 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C15F +; Routine: Sub_8764_OnNonzero_C15F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -460,14 +460,14 @@ Label_C14A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C15F: +Sub_8764_OnNonzero_C15F: cpx #$22 ; CPU:$C15F PRG:015F E0 22 - beq Label_C169 ; CPU:$C161 PRG:0161 F0 06 - jsr $C003 ; CPU:$C163 PRG:0163 20 03 C0 + beq Sub_8764_OnZero_C169 ; CPU:$C161 PRG:0161 F0 06 + jsr SubCC003 ; CPU:$C163 PRG:0163 20 03 C0 inx ; CPU:$C166 PRG:0166 E8 - bne Label_C15F ; CPU:$C167 PRG:0167 D0 F6 + bne Sub_8764_OnNonzero_C15F ; CPU:$C167 PRG:0167 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_C169 +; Routine: Sub_8764_OnZero_C169 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -475,15 +475,15 @@ Label_C15F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C169: +Sub_8764_OnZero_C169: lda ZpC1 ; CPU:$C169 PRG:0169 A5 C1 cmp #$F8 ; CPU:$C16B PRG:016B C9 F8 - bcc Label_C177 ; CPU:$C16D PRG:016D 90 08 - sty $2006 ; CPU:$C16F PRG:016F 8C 06 20 + bcc Sub_8764_OnCarryClear_C177 ; CPU:$C16D PRG:016D 90 08 + sty PPUADDR ; CPU:$C16F PRG:016F 8C 06 20 lda ZpC5 ; CPU:$C172 PRG:0172 A5 C5 - sta $2006 ; CPU:$C174 PRG:0174 8D 06 20 + sta PPUADDR ; CPU:$C174 PRG:0174 8D 06 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C177 +; Routine: Sub_8764_OnCarryClear_C177 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -491,10 +491,10 @@ Label_C169: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C177: - jsr $C003 ; CPU:$C177 PRG:0177 20 03 C0 +Sub_8764_OnCarryClear_C177: + jsr SubCC003 ; CPU:$C177 PRG:0177 20 03 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C17A +; Routine: SubCC17A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -502,19 +502,19 @@ Label_C177: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C17A: - lda ZpC4 ; CPU:$C17A PRG:017A A5 C4 - bne Label_C191 ; CPU:$C17C PRG:017C D0 13 +SubCC17A: + lda NmiPathSelector ; CPU:$C17A PRG:017A A5 C4 + bne Sub_8764_OnNonzero_C191 ; CPU:$C17C PRG:017C D0 13 lda ZpC1 ; CPU:$C17E PRG:017E A5 C1 - sta $2005 ; CPU:$C180 PRG:0180 8D 05 20 + sta PPUSCROLL ; CPU:$C180 PRG:0180 8D 05 20 lda ZpC3 ; CPU:$C183 PRG:0183 A5 C3 - sta $2005 ; CPU:$C185 PRG:0185 8D 05 20 - lda ZpC2 ; CPU:$C188 PRG:0188 A5 C2 + sta PPUSCROLL ; CPU:$C185 PRG:0185 8D 05 20 + lda PpuCtrlShadow ; CPU:$C188 PRG:0188 A5 C2 and #$FB ; CPU:$C18A PRG:018A 29 FB - sta ZpC2 ; CPU:$C18C PRG:018C 85 C2 - sta $2000 ; CPU:$C18E PRG:018E 8D 00 20 + sta PpuCtrlShadow ; CPU:$C18C PRG:018C 85 C2 + sta PPUCTRL ; CPU:$C18E PRG:018E 8D 00 20 ; ----------------------------------------------------------------------------- -; Routine: Label_C191 +; Routine: Sub_8764_OnNonzero_C191 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -522,16 +522,16 @@ Label_C17A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C191: +Sub_8764_OnNonzero_C191: lda #$01 ; CPU:$C191 PRG:0191 A9 01 - sta $4016 ; CPU:$C193 PRG:0193 8D 16 40 + sta JOY1 ; CPU:$C193 PRG:0193 8D 16 40 lda #$00 ; CPU:$C196 PRG:0196 A9 00 - sta $4016 ; CPU:$C198 PRG:0198 8D 16 40 + sta JOY1 ; CPU:$C198 PRG:0198 8D 16 40 sta Zp50 ; CPU:$C19B PRG:019B 85 50 sta Zp51 ; CPU:$C19D PRG:019D 85 51 ldy #$08 ; CPU:$C19F PRG:019F A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_C1A1 +; Routine: Sub_8764_OnNonzero_C1A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -539,15 +539,15 @@ Label_C191: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1A1: - lda $4017 ; CPU:$C1A1 PRG:01A1 AD 17 40 +Sub_8764_OnNonzero_C1A1: + lda JOY2 ; CPU:$C1A1 PRG:01A1 AD 17 40 lsr a ; CPU:$C1A4 PRG:01A4 4A rol Zp51 ; CPU:$C1A5 PRG:01A5 26 51 dey ; CPU:$C1A7 PRG:01A7 88 - bne Label_C1A1 ; CPU:$C1A8 PRG:01A8 D0 F7 + bne Sub_8764_OnNonzero_C1A1 ; CPU:$C1A8 PRG:01A8 D0 F7 ldy #$08 ; CPU:$C1AA PRG:01AA A0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_C1AC +; Routine: Sub_8764_OnNonzero_C1AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -555,27 +555,27 @@ Label_C1A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1AC: - lda $4016 ; CPU:$C1AC PRG:01AC AD 16 40 +Sub_8764_OnNonzero_C1AC: + lda JOY1 ; CPU:$C1AC PRG:01AC AD 16 40 lsr a ; CPU:$C1AF PRG:01AF 4A rol Zp50 ; CPU:$C1B0 PRG:01B0 26 50 dey ; CPU:$C1B2 PRG:01B2 88 - bne Label_C1AC ; CPU:$C1B3 PRG:01B3 D0 F7 + bne Sub_8764_OnNonzero_C1AC ; CPU:$C1B3 PRG:01B3 D0 F7 lda ZpD4 ; CPU:$C1B5 PRG:01B5 A5 D4 - beq Label_C209 ; CPU:$C1B7 PRG:01B7 F0 50 + beq Sub_8764_JoinBranchPaths_C209 ; CPU:$C1B7 PRG:01B7 F0 50 lda ZpCA ; CPU:$C1B9 PRG:01B9 A5 CA - beq Label_C20C ; CPU:$C1BB PRG:01BB F0 4F + beq Sub_8764_OnZero_C20C ; CPU:$C1BB PRG:01BB F0 4F inc ZpCB ; CPU:$C1BD PRG:01BD E6 CB lda ZpCB ; CPU:$C1BF PRG:01BF A5 CB and #$07 ; CPU:$C1C1 PRG:01C1 29 07 cmp #$07 ; CPU:$C1C3 PRG:01C3 C9 07 - bne Label_C209 ; CPU:$C1C5 PRG:01C5 D0 42 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C1C5 PRG:01C5 D0 42 ldy #$00 ; CPU:$C1C7 PRG:01C7 A0 00 sty ZpCB ; CPU:$C1C9 PRG:01C9 84 CB asl ZpCE ; CPU:$C1CB PRG:01CB 06 CE - bcc Label_C1E1 ; CPU:$C1CD PRG:01CD 90 12 + bcc Sub_8764_OnCarryClear_C1E1 ; CPU:$C1CD PRG:01CD 90 12 ; ----------------------------------------------------------------------------- -; Routine: Label_C1CF +; Routine: Sub_8764_OnNonzero_C1CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -583,19 +583,19 @@ Label_C1AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1CF: +Sub_8764_OnNonzero_C1CF: ldx ZpCD ; CPU:$C1CF PRG:01CF A6 CD lda $C374,x ; CPU:$C1D1 PRG:01D1 BD 74 C3 - jsr $C332 ; CPU:$C1D4 PRG:01D4 20 32 C3 + jsr SubCC332 ; CPU:$C1D4 PRG:01D4 20 32 C3 inc ZpCD ; CPU:$C1D7 PRG:01D7 E6 CD iny ; CPU:$C1D9 PRG:01D9 C8 iny ; CPU:$C1DA PRG:01DA C8 iny ; CPU:$C1DB PRG:01DB C8 iny ; CPU:$C1DC PRG:01DC C8 cpy #$08 ; CPU:$C1DD PRG:01DD C0 08 - bne Label_C1CF ; CPU:$C1DF PRG:01DF D0 EE + bne Sub_8764_OnNonzero_C1CF ; CPU:$C1DF PRG:01DF D0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_C1E1 +; Routine: Sub_8764_OnCarryClear_C1E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -603,13 +603,13 @@ Label_C1CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1E1: +Sub_8764_OnCarryClear_C1E1: asl ZpD0 ; CPU:$C1E1 PRG:01E1 06 D0 - bcc Label_C1EA ; CPU:$C1E3 PRG:01E3 90 05 + bcc Sub_8764_OnCarryClear_C1EA ; CPU:$C1E3 PRG:01E3 90 05 lda #$27 ; CPU:$C1E5 PRG:01E5 A9 27 - jsr $C332 ; CPU:$C1E7 PRG:01E7 20 32 C3 + jsr SubCC332 ; CPU:$C1E7 PRG:01E7 20 32 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C1EA +; Routine: Sub_8764_OnCarryClear_C1EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -617,22 +617,22 @@ Label_C1E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C1EA: +Sub_8764_OnCarryClear_C1EA: inc ZpCC ; CPU:$C1EA PRG:01EA E6 CC lda ZpCC ; CPU:$C1EC PRG:01EC A5 CC and #$07 ; CPU:$C1EE PRG:01EE 29 07 - bne Label_C209 ; CPU:$C1F0 PRG:01F0 D0 17 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C1F0 PRG:01F0 D0 17 ldx ZpCF ; CPU:$C1F2 PRG:01F2 A6 CF inc ZpCF ; CPU:$C1F4 PRG:01F4 E6 CF cpx #$08 ; CPU:$C1F6 PRG:01F6 E0 08 - beq Label_C206 ; CPU:$C1F8 PRG:01F8 F0 0C + beq Sub_8764_OnZero_C206 ; CPU:$C1F8 PRG:01F8 F0 0C lda $C3AC,x ; CPU:$C1FA PRG:01FA BD AC C3 sta ZpCE ; CPU:$C1FD PRG:01FD 85 CE lda $C3B4,x ; CPU:$C1FF PRG:01FF BD B4 C3 sta ZpD0 ; CPU:$C202 PRG:0202 85 D0 - bne Label_C209 ; CPU:$C204 PRG:0204 D0 03 + bne Sub_8764_JoinBranchPaths_C209 ; CPU:$C204 PRG:0204 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C206 +; Routine: Sub_8764_OnZero_C206 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -640,10 +640,10 @@ Label_C1EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C206: - jsr $C2EA ; CPU:$C206 PRG:0206 20 EA C2 +Sub_8764_OnZero_C206: + jsr SubCC2EA ; CPU:$C206 PRG:0206 20 EA C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C209 +; Routine: Sub_8764_JoinBranchPaths_C209 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -651,10 +651,10 @@ Label_C206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C209: - jmp $C2BB ; CPU:$C209 PRG:0209 4C BB C2 +Sub_8764_JoinBranchPaths_C209: + jmp SubCC2BB ; CPU:$C209 PRG:0209 4C BB C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C20C +; Routine: Sub_8764_OnZero_C20C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -662,16 +662,16 @@ Label_C209: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C20C: +Sub_8764_OnZero_C20C: ldx ZpCD ; CPU:$C20C PRG:020C A6 CD - beq Label_C21C ; CPU:$C20E PRG:020E F0 0C + beq Sub_8764_OnZero_C21C ; CPU:$C20E PRG:020E F0 0C lda #$00 ; CPU:$C210 PRG:0210 A9 00 - sta $4002 ; CPU:$C212 PRG:0212 8D 02 40 + sta APUPULSE1TIMERLO ; CPU:$C212 PRG:0212 8D 02 40 lda #$0D ; CPU:$C215 PRG:0215 A9 0D - sta $4003 ; CPU:$C217 PRG:0217 8D 03 40 + sta APUPULSE1TIMERHI ; CPU:$C217 PRG:0217 8D 03 40 dec ZpCD ; CPU:$C21A PRG:021A C6 CD ; ----------------------------------------------------------------------------- -; Routine: Label_C21C +; Routine: Sub_8764_OnZero_C21C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -679,20 +679,20 @@ Label_C20C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C21C: +Sub_8764_OnZero_C21C: ldx ZpCE ; CPU:$C21C PRG:021C A6 CE - beq Label_C23E ; CPU:$C21E PRG:021E F0 1E + beq SubCC23E ; CPU:$C21E PRG:021E F0 1E dex ; CPU:$C220 PRG:0220 CA - beq Label_C232 ; CPU:$C221 PRG:0221 F0 0F + beq Sub_8764_OnZero_C232 ; CPU:$C221 PRG:0221 F0 0F lda #$20 ; CPU:$C223 PRG:0223 A9 20 cpx #$14 ; CPU:$C225 PRG:0225 E0 14 - beq Label_C234 ; CPU:$C227 PRG:0227 F0 0B + beq Sub_8764_OnZero_C234 ; CPU:$C227 PRG:0227 F0 0B dex ; CPU:$C229 PRG:0229 CA - bne Label_C23C ; CPU:$C22A PRG:022A D0 10 - jsr $D293 ; CPU:$C22C PRG:022C 20 93 D2 - jmp $C23E ; CPU:$C22F PRG:022F 4C 3E C2 + bne Sub_8764_OnNonzero_C23C ; CPU:$C22A PRG:022A D0 10 + jsr SubCD293 ; CPU:$C22C PRG:022C 20 93 D2 + jmp SubCC23E ; CPU:$C22F PRG:022F 4C 3E C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C232 +; Routine: Sub_8764_OnZero_C232 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -700,10 +700,10 @@ Label_C21C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C232: +Sub_8764_OnZero_C232: lda #$0A ; CPU:$C232 PRG:0232 A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_C234 +; Routine: Sub_8764_OnZero_C234 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -711,12 +711,12 @@ Label_C232: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C234: +Sub_8764_OnZero_C234: ldx #$80 ; CPU:$C234 PRG:0234 A2 80 - stx $4006 ; CPU:$C236 PRG:0236 8E 06 40 - sta $4007 ; CPU:$C239 PRG:0239 8D 07 40 + stx APUPULSE2TIMERLO ; CPU:$C236 PRG:0236 8E 06 40 + sta APUPULSE2TIMERHI ; CPU:$C239 PRG:0239 8D 07 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C23C +; Routine: Sub_8764_OnNonzero_C23C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -724,10 +724,10 @@ Label_C234: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23C: +Sub_8764_OnNonzero_C23C: dec ZpCE ; CPU:$C23C PRG:023C C6 CE ; ----------------------------------------------------------------------------- -; Routine: Label_C23E +; Routine: SubCC23E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -735,16 +735,16 @@ Label_C23C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C23E: +SubCC23E: lda ZpD1 ; CPU:$C23E PRG:023E A5 D1 - beq Label_C24F ; CPU:$C240 PRG:0240 F0 0D - sta $400A ; CPU:$C242 PRG:0242 8D 0A 40 + beq Sub_8764_OnZero_C24F ; CPU:$C240 PRG:0240 F0 0D + sta APUTRIANGLETIMERLO ; CPU:$C242 PRG:0242 8D 0A 40 lda #$11 ; CPU:$C245 PRG:0245 A9 11 - sta $400B ; CPU:$C247 PRG:0247 8D 0B 40 - sta $4007 ; CPU:$C24A PRG:024A 8D 07 40 - bne Label_C278 ; CPU:$C24D PRG:024D D0 29 + sta APUTRIANGLETIMERHI ; CPU:$C247 PRG:0247 8D 0B 40 + sta APUPULSE2TIMERHI ; CPU:$C24A PRG:024A 8D 07 40 + bne Sub_8764_JoinBranchPaths_C278 ; CPU:$C24D PRG:024D D0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_C24F +; Routine: Sub_8764_OnZero_C24F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -752,13 +752,13 @@ Label_C23E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C24F: +Sub_8764_OnZero_C24F: inc ZpCB ; CPU:$C24F PRG:024F E6 CB lda ZpCB ; CPU:$C251 PRG:0251 A5 CB and #$07 ; CPU:$C253 PRG:0253 29 07 - bne Label_C278 ; CPU:$C255 PRG:0255 D0 21 + bne Sub_8764_JoinBranchPaths_C278 ; CPU:$C255 PRG:0255 D0 21 ; ----------------------------------------------------------------------------- -; Routine: Label_C257 +; Routine: Sub_8764_OnNonzero_C257 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -766,17 +766,17 @@ Label_C24F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C257: +Sub_8764_OnNonzero_C257: ldx ZpCF ; CPU:$C257 PRG:0257 A6 CF - beq Label_C278 ; CPU:$C259 PRG:0259 F0 1D + beq Sub_8764_JoinBranchPaths_C278 ; CPU:$C259 PRG:0259 F0 1D ldy #$08 ; CPU:$C25B PRG:025B A0 08 lda $C3BB,x ; CPU:$C25D PRG:025D BD BB C3 - bne Label_C268 ; CPU:$C260 PRG:0260 D0 06 + bne Sub_8764_OnNonzero_C268 ; CPU:$C260 PRG:0260 D0 06 lda #$01 ; CPU:$C262 PRG:0262 A9 01 sta ZpCF ; CPU:$C264 PRG:0264 85 CF - bne Label_C257 ; CPU:$C266 PRG:0266 D0 EF + bne Sub_8764_OnNonzero_C257 ; CPU:$C266 PRG:0266 D0 EF ; ----------------------------------------------------------------------------- -; Routine: Label_C268 +; Routine: Sub_8764_OnNonzero_C268 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -784,15 +784,15 @@ Label_C257: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C268: +Sub_8764_OnNonzero_C268: ldx ZpAD ; CPU:$C268 PRG:0268 A6 AD - beq Label_C273 ; CPU:$C26A PRG:026A F0 07 + beq Sub_8764_OnZero_C273 ; CPU:$C26A PRG:026A F0 07 cmp #$81 ; CPU:$C26C PRG:026C C9 81 - beq Label_C273 ; CPU:$C26E PRG:026E F0 03 + beq Sub_8764_OnZero_C273 ; CPU:$C26E PRG:026E F0 03 clc ; CPU:$C270 PRG:0270 18 adc #$02 ; CPU:$C271 PRG:0271 69 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C273 +; Routine: Sub_8764_OnZero_C273 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -800,11 +800,11 @@ Label_C268: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C273: - jsr $C332 ; CPU:$C273 PRG:0273 20 32 C3 +Sub_8764_OnZero_C273: + jsr SubCC332 ; CPU:$C273 PRG:0273 20 32 C3 inc ZpCF ; CPU:$C276 PRG:0276 E6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_C278 +; Routine: Sub_8764_JoinBranchPaths_C278 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -812,22 +812,22 @@ Label_C273: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C278: +Sub_8764_JoinBranchPaths_C278: inc ZpCC ; CPU:$C278 PRG:0278 E6 CC lda ZpCC ; CPU:$C27A PRG:027A A5 CC and #$07 ; CPU:$C27C PRG:027C 29 07 - bne Label_C2BB ; CPU:$C27E PRG:027E D0 3B + bne SubCC2BB ; CPU:$C27E PRG:027E D0 3B lda ZpD2 ; CPU:$C280 PRG:0280 A5 D2 - bne Label_C2A3 ; CPU:$C282 PRG:0282 D0 1F + bne Sub_8764_JoinBranchPaths_C2A3 ; CPU:$C282 PRG:0282 D0 1F ldx #$3F ; CPU:$C284 PRG:0284 A2 3F lda ZpB7 ; CPU:$C286 PRG:0286 A5 B7 cmp #$FF ; CPU:$C288 PRG:0288 C9 FF - bne Label_C292 ; CPU:$C28A PRG:028A D0 06 + bne Sub_8764_OnNonzero_C292 ; CPU:$C28A PRG:028A D0 06 ldx #$0A ; CPU:$C28C PRG:028C A2 0A cpx ZpB8 ; CPU:$C28E PRG:028E E4 B8 - beq Label_C2A3 ; CPU:$C290 PRG:0290 F0 11 + beq Sub_8764_JoinBranchPaths_C2A3 ; CPU:$C290 PRG:0290 F0 11 ; ----------------------------------------------------------------------------- -; Routine: Label_C292 +; Routine: Sub_8764_OnNonzero_C292 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -835,17 +835,17 @@ Label_C278: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C292: +Sub_8764_OnNonzero_C292: rol a ; CPU:$C292 PRG:0292 2A rol a ; CPU:$C293 PRG:0293 2A ora #$0C ; CPU:$C294 PRG:0294 09 0C - sta $400E ; CPU:$C296 PRG:0296 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$C296 PRG:0296 8D 0E 40 stx ZpB8 ; CPU:$C299 PRG:0299 86 B8 - stx $400C ; CPU:$C29B PRG:029B 8E 0C 40 + stx APUNOISECTRL ; CPU:$C29B PRG:029B 8E 0C 40 lda #$08 ; CPU:$C29E PRG:029E A9 08 - sta $400F ; CPU:$C2A0 PRG:02A0 8D 0F 40 + sta APUNOISELENGTH ; CPU:$C2A0 PRG:02A0 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C2A3 +; Routine: Sub_8764_JoinBranchPaths_C2A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -853,19 +853,19 @@ Label_C292: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2A3: +Sub_8764_JoinBranchPaths_C2A3: ldx ZpD0 ; CPU:$C2A3 PRG:02A3 A6 D0 - beq Label_C2BB ; CPU:$C2A5 PRG:02A5 F0 14 + beq SubCC2BB ; CPU:$C2A5 PRG:02A5 F0 14 lda $C3CC,x ; CPU:$C2A7 PRG:02A7 BD CC C3 - beq Label_C2BB ; CPU:$C2AA PRG:02AA F0 0F - sta $400E ; CPU:$C2AC PRG:02AC 8D 0E 40 + beq SubCC2BB ; CPU:$C2AA PRG:02AA F0 0F + sta APUNOISEPERIOD ; CPU:$C2AC PRG:02AC 8D 0E 40 lda #$0A ; CPU:$C2AF PRG:02AF A9 0A - sta $400C ; CPU:$C2B1 PRG:02B1 8D 0C 40 + sta APUNOISECTRL ; CPU:$C2B1 PRG:02B1 8D 0C 40 lda #$40 ; CPU:$C2B4 PRG:02B4 A9 40 - sta $400F ; CPU:$C2B6 PRG:02B6 8D 0F 40 + sta APUNOISELENGTH ; CPU:$C2B6 PRG:02B6 8D 0F 40 inc ZpD0 ; CPU:$C2B9 PRG:02B9 E6 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C2BB +; Routine: SubCC2BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -873,7 +873,7 @@ Label_C2A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2BB: +SubCC2BB: pla ; CPU:$C2BB PRG:02BB 68 tay ; CPU:$C2BC PRG:02BC A8 pla ; CPU:$C2BD PRG:02BD 68 @@ -891,7 +891,7 @@ Label_C2BB: IrqHandler: rti ; CPU:$C2C0 PRG:02C0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C2C1 +; Routine: SubCC2C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -899,8 +899,8 @@ IrqHandler: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2C1: - jsr $C304 ; CPU:$C2C1 PRG:02C1 20 04 C3 +SubCC2C1: + jsr SubCC304 ; CPU:$C2C1 PRG:02C1 20 04 C3 lda #$08 ; CPU:$C2C4 PRG:02C4 A9 08 sta ZpCF ; CPU:$C2C6 PRG:02C6 85 CF lda #$E0 ; CPU:$C2C8 PRG:02C8 A9 E0 @@ -908,7 +908,7 @@ Label_C2C1: lda #$00 ; CPU:$C2CC PRG:02CC A9 00 sta ZpD0 ; CPU:$C2CE PRG:02CE 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C2D0 +; Routine: Sub_8764_OnNonzero_C2D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -916,13 +916,13 @@ Label_C2C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2D0: +Sub_8764_OnNonzero_C2D0: lda ZpCA ; CPU:$C2D0 PRG:02D0 A5 CA - bne Label_C2D0 ; CPU:$C2D2 PRG:02D2 D0 FC - sta $4015 ; CPU:$C2D4 PRG:02D4 8D 15 40 + bne Sub_8764_OnNonzero_C2D0 ; CPU:$C2D2 PRG:02D2 D0 FC + sta APUSTATUS ; CPU:$C2D4 PRG:02D4 8D 15 40 rts ; CPU:$C2D7 PRG:02D7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C2D8 +; Routine: SubCC2D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -930,8 +930,8 @@ Label_C2D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2D8: - jsr $C304 ; CPU:$C2D8 PRG:02D8 20 04 C3 +SubCC2D8: + jsr SubCC304 ; CPU:$C2D8 PRG:02D8 20 04 C3 lda #$06 ; CPU:$C2DB PRG:02DB A9 06 sta ZpCD ; CPU:$C2DD PRG:02DD 85 CD lda $C3AC ; CPU:$C2DF PRG:02DF AD AC C3 @@ -940,7 +940,7 @@ Label_C2D8: sta ZpD0 ; CPU:$C2E7 PRG:02E7 85 D0 rts ; CPU:$C2E9 PRG:02E9 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C2EA +; Routine: SubCC2EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -948,20 +948,20 @@ Label_C2D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C2EA: - jsr $C304 ; CPU:$C2EA PRG:02EA 20 04 C3 +SubCC2EA: + jsr SubCC304 ; CPU:$C2EA PRG:02EA 20 04 C3 dec ZpCA ; CPU:$C2ED PRG:02ED C6 CA lda #$C0 ; CPU:$C2EF PRG:02EF A9 C0 - sta $4000 ; CPU:$C2F1 PRG:02F1 8D 00 40 + sta APUPULSE1CTRL ; CPU:$C2F1 PRG:02F1 8D 00 40 lda #$84 ; CPU:$C2F4 PRG:02F4 A9 84 - sta $4001 ; CPU:$C2F6 PRG:02F6 8D 01 40 + sta APUPULSE1SWEEP ; CPU:$C2F6 PRG:02F6 8D 01 40 lda #$94 ; CPU:$C2F9 PRG:02F9 A9 94 - sta $4005 ; CPU:$C2FB PRG:02FB 8D 05 40 + sta APUPULSE2SWEEP ; CPU:$C2FB PRG:02FB 8D 05 40 lda #$10 ; CPU:$C2FE PRG:02FE A9 10 - sta $4008 ; CPU:$C300 PRG:0300 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$C300 PRG:0300 8D 08 40 rts ; CPU:$C303 PRG:0303 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C304 +; Routine: SubCC304 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -969,11 +969,11 @@ Label_C2EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C304: +SubCC304: lda #$00 ; CPU:$C304 PRG:0304 A9 00 tax ; CPU:$C306 PRG:0306 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C307 +; Routine: Sub_8764_OnNonzero_C307 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -981,11 +981,11 @@ Label_C304: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C307: - sta $4000,x ; CPU:$C307 PRG:0307 9D 00 40 +Sub_8764_OnNonzero_C307: + sta APUPULSE1CTRL,x ; CPU:$C307 PRG:0307 9D 00 40 inx ; CPU:$C30A PRG:030A E8 cpx #$10 ; CPU:$C30B PRG:030B E0 10 - bne Label_C307 ; CPU:$C30D PRG:030D D0 F8 + bne Sub_8764_OnNonzero_C307 ; CPU:$C30D PRG:030D D0 F8 sta ZpCD ; CPU:$C30F PRG:030F 85 CD sta ZpCE ; CPU:$C311 PRG:0311 85 CE sta ZpD0 ; CPU:$C313 PRG:0313 85 D0 @@ -994,13 +994,13 @@ Label_C307: sta ZpCA ; CPU:$C319 PRG:0319 85 CA sta ZpCF ; CPU:$C31B PRG:031B 85 CF lda #$CA ; CPU:$C31D PRG:031D A9 CA - sta $4000 ; CPU:$C31F PRG:031F 8D 00 40 + sta APUPULSE1CTRL ; CPU:$C31F PRG:031F 8D 00 40 lda #$C4 ; CPU:$C322 PRG:0322 A9 C4 - sta $4004 ; CPU:$C324 PRG:0324 8D 04 40 + sta APUPULSE2CTRL ; CPU:$C324 PRG:0324 8D 04 40 lda #$20 ; CPU:$C327 PRG:0327 A9 20 - sta $4008 ; CPU:$C329 PRG:0329 8D 08 40 + sta APUTRIANGLECTRL ; CPU:$C329 PRG:0329 8D 08 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C32C +; Routine: SubCC32C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1008,12 +1008,12 @@ Label_C307: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C32C: +SubCC32C: lda #$0F ; CPU:$C32C PRG:032C A9 0F - sta $4015 ; CPU:$C32E PRG:032E 8D 15 40 + sta APUSTATUS ; CPU:$C32E PRG:032E 8D 15 40 rts ; CPU:$C331 PRG:0331 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C332 +; Routine: SubCC332 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1021,9 +1021,9 @@ Label_C32C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C332: +SubCC332: cmp #$81 ; CPU:$C332 PRG:0332 C9 81 - beq Label_C35B ; CPU:$C334 PRG:0334 F0 25 + beq Sub_8764_OnZero_C35B ; CPU:$C334 PRG:0334 F0 25 pha ; CPU:$C336 PRG:0336 48 and #$0F ; CPU:$C337 PRG:0337 29 0F asl a ; CPU:$C339 PRG:0339 0A @@ -1038,7 +1038,7 @@ Label_C332: sta ZpC6 ; CPU:$C345 PRG:0345 85 C6 lda $C35C,x ; CPU:$C347 PRG:0347 BD 5C C3 ; ----------------------------------------------------------------------------- -; Routine: Label_C34A +; Routine: Sub_8764_OnNonzero_C34A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1046,17 +1046,17 @@ Label_C332: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C34A: +Sub_8764_OnNonzero_C34A: lsr ZpC6 ; CPU:$C34A PRG:034A 46 C6 ror a ; CPU:$C34C PRG:034C 6A dec ZpC5 ; CPU:$C34D PRG:034D C6 C5 - bne Label_C34A ; CPU:$C34F PRG:034F D0 F9 - sta $4002,y ; CPU:$C351 PRG:0351 99 02 40 + bne Sub_8764_OnNonzero_C34A ; CPU:$C34F PRG:034F D0 F9 + sta APUPULSE1TIMERLO,y ; CPU:$C351 PRG:0351 99 02 40 lda ZpC6 ; CPU:$C354 PRG:0354 A5 C6 ora #$20 ; CPU:$C356 PRG:0356 09 20 - sta $4003,y ; CPU:$C358 PRG:0358 99 03 40 + sta APUPULSE1TIMERHI,y ; CPU:$C358 PRG:0358 99 03 40 ; ----------------------------------------------------------------------------- -; Routine: Label_C35B +; Routine: Sub_8764_OnZero_C35B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1064,7 +1064,7 @@ Label_C34A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C35B: +Sub_8764_OnZero_C35B: rts ; CPU:$C35B PRG:035B 60 ; ---- data $C35C-$C3E1 (134 bytes) ---- ; referenced by `lda $C374,x` at $C1D1 (operand $C374 falls inside this region) @@ -1084,7 +1084,7 @@ Label_C35B: .byte $00, $0A, $09, $0C, $00, $0D, $0F, $00, $0B, $00, $0A, $09, $0B, $0A, $0C, $0B ; CPU:$C3CC PRG:03CC 00 0A 09 0C 00 0D 0F 00 0B 00 0A 09 0B 0A 0C 0B .byte $0D, $0C, $0F, $0E, $0F, $00 ; CPU:$C3DC PRG:03DC 0D 0C 0F 0E 0F 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C3E2 +; Routine: SubCC3E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1092,13 +1092,13 @@ Label_C35B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3E2: +SubCC3E2: lda #$00 ; CPU:$C3E2 PRG:03E2 A9 00 sta $0200 ; CPU:$C3E4 PRG:03E4 8D 00 02 lda #$01 ; CPU:$C3E7 PRG:03E7 A9 01 - sta ZpC4 ; CPU:$C3E9 PRG:03E9 85 C4 + sta NmiPathSelector ; CPU:$C3E9 PRG:03E9 85 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C3EB +; Routine: SubCC3EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1106,11 +1106,11 @@ Label_C3E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3EB: - jsr $C407 ; CPU:$C3EB PRG:03EB 20 07 C4 +SubCC3EB: + jsr SubCC407 ; CPU:$C3EB PRG:03EB 20 07 C4 lda #$00 ; CPU:$C3EE PRG:03EE A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C3F0 +; Routine: SubCC3F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1118,11 +1118,11 @@ Label_C3EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3F0: - sta $2001 ; CPU:$C3F0 PRG:03F0 8D 01 20 +SubCC3F0: + sta PPUMASK ; CPU:$C3F0 PRG:03F0 8D 01 20 rts ; CPU:$C3F3 PRG:03F3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C3F4 +; Routine: SubCC3F4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1130,17 +1130,17 @@ Label_C3F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C3F4: +SubCC3F4: lda #$00 ; CPU:$C3F4 PRG:03F4 A9 00 sta ZpC1 ; CPU:$C3F6 PRG:03F6 85 C1 - sta $2005 ; CPU:$C3F8 PRG:03F8 8D 05 20 + sta PPUSCROLL ; CPU:$C3F8 PRG:03F8 8D 05 20 sta ZpC3 ; CPU:$C3FB PRG:03FB 85 C3 - sta $2005 ; CPU:$C3FD PRG:03FD 8D 05 20 - lda ZpC2 ; CPU:$C400 PRG:0400 A5 C2 + sta PPUSCROLL ; CPU:$C3FD PRG:03FD 8D 05 20 + lda PpuCtrlShadow ; CPU:$C400 PRG:0400 A5 C2 and #$FC ; CPU:$C402 PRG:0402 29 FC - jmp $C969 ; CPU:$C404 PRG:0404 4C 69 C9 + jmp SubCC969 ; CPU:$C404 PRG:0404 4C 69 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C407 +; Routine: SubCC407 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1148,11 +1148,11 @@ Label_C3F4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C407: - lda $2002 ; CPU:$C407 PRG:0407 AD 02 20 - bmi Label_C407 ; CPU:$C40A PRG:040A 30 FB +SubCC407: + lda PPUSTATUS ; CPU:$C407 PRG:0407 AD 02 20 + bmi SubCC407 ; CPU:$C40A PRG:040A 30 FB ; ----------------------------------------------------------------------------- -; Routine: Label_C40C +; Routine: Sub_8764_OnNonnegative_C40C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1160,12 +1160,12 @@ Label_C407: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C40C: - lda $2002 ; CPU:$C40C PRG:040C AD 02 20 - bpl Label_C40C ; CPU:$C40F PRG:040F 10 FB +Sub_8764_OnNonnegative_C40C: + lda PPUSTATUS ; CPU:$C40C PRG:040C AD 02 20 + bpl Sub_8764_OnNonnegative_C40C ; CPU:$C40F PRG:040F 10 FB rts ; CPU:$C411 PRG:0411 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C412 +; Routine: SubCC412 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1173,14 +1173,14 @@ Label_C40C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C412: - inc ZpEA ; CPU:$C412 PRG:0412 E6 EA +SubCC412: + inc VBlankWaitCounter ; CPU:$C412 PRG:0412 E6 EA dec ZpEB ; CPU:$C414 PRG:0414 C6 EB - bne Label_C41C ; CPU:$C416 PRG:0416 D0 04 + bne Sub_8764_OnNonzero_C41C ; CPU:$C416 PRG:0416 D0 04 lda #$75 ; CPU:$C418 PRG:0418 A9 75 sta ZpEB ; CPU:$C41A PRG:041A 85 EB ; ----------------------------------------------------------------------------- -; Routine: Label_C41C +; Routine: Sub_8764_OnNonzero_C41C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1188,14 +1188,14 @@ Label_C412: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C41C: - lda ZpEA ; CPU:$C41C PRG:041C A5 EA +Sub_8764_OnNonzero_C41C: + lda VBlankWaitCounter ; CPU:$C41C PRG:041C A5 EA cmp #$77 ; CPU:$C41E PRG:041E C9 77 - bne Label_C426 ; CPU:$C420 PRG:0420 D0 04 + bne Sub_8764_OnNonzero_C426 ; CPU:$C420 PRG:0420 D0 04 lda #$01 ; CPU:$C422 PRG:0422 A9 01 - sta ZpEA ; CPU:$C424 PRG:0424 85 EA + sta VBlankWaitCounter ; CPU:$C424 PRG:0424 85 EA ; ----------------------------------------------------------------------------- -; Routine: Label_C426 +; Routine: Sub_8764_OnNonzero_C426 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1203,7 +1203,7 @@ Label_C41C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C426: +Sub_8764_OnNonzero_C426: eor ZpEB ; CPU:$C426 PRG:0426 45 EB asl a ; CPU:$C428 PRG:0428 0A php ; CPU:$C429 PRG:0429 08 @@ -1219,14 +1219,14 @@ Label_C426: sec ; CPU:$C434 PRG:0434 38 sbc ZpEB ; CPU:$C435 PRG:0435 E5 EB clc ; CPU:$C437 PRG:0437 18 - adc ZpEA ; CPU:$C438 PRG:0438 65 EA + adc VBlankWaitCounter ; CPU:$C438 PRG:0438 65 EA clc ; CPU:$C43A PRG:043A 18 - adc ZpEA ; CPU:$C43B PRG:043B 65 EA + adc VBlankWaitCounter ; CPU:$C43B PRG:043B 65 EA sta ZpEC ; CPU:$C43D PRG:043D 85 EC adc Zp50 ; CPU:$C43F PRG:043F 65 50 rts ; CPU:$C441 PRG:0441 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C442 +; Routine: SubCC442 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1234,11 +1234,11 @@ Label_C426: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C442: - jsr $C3E2 ; CPU:$C442 PRG:0442 20 E2 C3 +SubCC442: + jsr SubCC3E2 ; CPU:$C442 PRG:0442 20 E2 C3 lda #$AA ; CPU:$C445 PRG:0445 A9 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C447 +; Routine: SubCC447 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1246,11 +1246,11 @@ Label_C442: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C447: +SubCC447: ldx #$0F ; CPU:$C447 PRG:0447 A2 0F ldy #$00 ; CPU:$C449 PRG:0449 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C44B +; Routine: SubCC44B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1258,18 +1258,18 @@ Label_C447: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C44B: - sta Zp00 ; CPU:$C44B PRG:044B 85 00 +SubCC44B: + sta PtrLo ; CPU:$C44B PRG:044B 85 00 stx ZpB9 ; CPU:$C44D PRG:044D 86 B9 - jsr $C48E ; CPU:$C44F PRG:044F 20 8E C4 + jsr SubCC48E ; CPU:$C44F PRG:044F 20 8E C4 dey ; CPU:$C452 PRG:0452 88 - beq Label_C45F ; CPU:$C453 PRG:0453 F0 0A + beq Sub_8764_OnZero_C45F ; CPU:$C453 PRG:0453 F0 0A ldx #$20 ; CPU:$C455 PRG:0455 A2 20 - jsr $C46D ; CPU:$C457 PRG:0457 20 6D C4 + jsr SubCC46D ; CPU:$C457 PRG:0457 20 6D C4 ldx #$24 ; CPU:$C45A PRG:045A A2 24 - jsr $C46D ; CPU:$C45C PRG:045C 20 6D C4 + jsr SubCC46D ; CPU:$C45C PRG:045C 20 6D C4 ; ----------------------------------------------------------------------------- -; Routine: Label_C45F +; Routine: Sub_8764_OnZero_C45F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1277,11 +1277,11 @@ Label_C44B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C45F: +Sub_8764_OnZero_C45F: ldx #$00 ; CPU:$C45F PRG:045F A2 00 ldy #$00 ; CPU:$C461 PRG:0461 A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C463 +; Routine: SubCC463 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1289,15 +1289,15 @@ Label_C45F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C463: +SubCC463: lda #$F8 ; CPU:$C463 PRG:0463 A9 F8 sta $0700,x ; CPU:$C465 PRG:0465 9D 00 07 inx ; CPU:$C468 PRG:0468 E8 dey ; CPU:$C469 PRG:0469 88 - bne Label_C463 ; CPU:$C46A PRG:046A D0 F7 + bne SubCC463 ; CPU:$C46A PRG:046A D0 F7 rts ; CPU:$C46C PRG:046C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C46D +; Routine: SubCC46D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1305,19 +1305,19 @@ Label_C463: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C46D: - stx $2006 ; CPU:$C46D PRG:046D 8E 06 20 +SubCC46D: + stx PPUADDR ; CPU:$C46D PRG:046D 8E 06 20 lda #$00 ; CPU:$C470 PRG:0470 A9 00 - sta $2006 ; CPU:$C472 PRG:0472 8D 06 20 + sta PPUADDR ; CPU:$C472 PRG:0472 8D 06 20 ldx #$C0 ; CPU:$C475 PRG:0475 A2 C0 ldy #$04 ; CPU:$C477 PRG:0477 A0 04 lda #$80 ; CPU:$C479 PRG:0479 A9 80 - jsr $C484 ; CPU:$C47B PRG:047B 20 84 C4 + jsr SubCC484 ; CPU:$C47B PRG:047B 20 84 C4 ldx #$40 ; CPU:$C47E PRG:047E A2 40 ldy #$01 ; CPU:$C480 PRG:0480 A0 01 - lda Zp00 ; CPU:$C482 PRG:0482 A5 00 + lda PtrLo ; CPU:$C482 PRG:0482 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C484 +; Routine: SubCC484 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1325,15 +1325,15 @@ Label_C46D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C484: - jsr $C006 ; CPU:$C484 PRG:0484 20 06 C0 +SubCC484: + jsr SubCC006 ; CPU:$C484 PRG:0484 20 06 C0 dex ; CPU:$C487 PRG:0487 CA - bne Label_C484 ; CPU:$C488 PRG:0488 D0 FA + bne SubCC484 ; CPU:$C488 PRG:0488 D0 FA dey ; CPU:$C48A PRG:048A 88 - bne Label_C484 ; CPU:$C48B PRG:048B D0 F7 + bne SubCC484 ; CPU:$C48B PRG:048B D0 F7 rts ; CPU:$C48D PRG:048D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C48E +; Routine: SubCC48E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1341,14 +1341,14 @@ Label_C484: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C48E: +SubCC48E: lda #$3F ; CPU:$C48E PRG:048E A9 3F - sta $2006 ; CPU:$C490 PRG:0490 8D 06 20 + sta PPUADDR ; CPU:$C490 PRG:0490 8D 06 20 ldx #$00 ; CPU:$C493 PRG:0493 A2 00 - stx $2006 ; CPU:$C495 PRG:0495 8E 06 20 + stx PPUADDR ; CPU:$C495 PRG:0495 8E 06 20 ldx #$00 ; CPU:$C498 PRG:0498 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C49A +; Routine: Sub_8764_OnNonzero_C49A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1356,12 +1356,12 @@ Label_C48E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C49A: +Sub_8764_OnNonzero_C49A: lda ZpB9 ; CPU:$C49A PRG:049A A5 B9 - jsr $C006 ; CPU:$C49C PRG:049C 20 06 C0 + jsr SubCC006 ; CPU:$C49C PRG:049C 20 06 C0 ldy #$03 ; CPU:$C49F PRG:049F A0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C4A1 +; Routine: Sub_8764_OnNonzero_C4A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1369,19 +1369,19 @@ Label_C49A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4A1: +Sub_8764_OnNonzero_C4A1: cpx #$03 ; CPU:$C4A1 PRG:04A1 E0 03 - bne Label_C4C3 ; CPU:$C4A3 PRG:04A3 D0 1E - lda ZpD6 ; CPU:$C4A5 PRG:04A5 A5 D6 + bne Sub_8764_OnNonzero_C4C3 ; CPU:$C4A3 PRG:04A3 D0 1E + lda GameState ; CPU:$C4A5 PRG:04A5 A5 D6 cmp #$02 ; CPU:$C4A7 PRG:04A7 C9 02 - bne Label_C4D6 ; CPU:$C4A9 PRG:04A9 D0 2B + bne Sub_8764_OnNonzero_C4D6 ; CPU:$C4A9 PRG:04A9 D0 2B inc $06E7 ; CPU:$C4AB PRG:04AB EE E7 06 lda $06E7 ; CPU:$C4AE PRG:04AE AD E7 06 and #$0F ; CPU:$C4B1 PRG:04B1 29 0F - bne Label_C4B7 ; CPU:$C4B3 PRG:04B3 D0 02 + bne Sub_8764_OnNonzero_C4B7 ; CPU:$C4B3 PRG:04B3 D0 02 inc ZpE2 ; CPU:$C4B5 PRG:04B5 E6 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_C4B7 +; Routine: Sub_8764_OnNonzero_C4B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1389,15 +1389,15 @@ Label_C4A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4B7: +Sub_8764_OnNonzero_C4B7: lda ZpE2 ; CPU:$C4B7 PRG:04B7 A5 E2 and #$03 ; CPU:$C4B9 PRG:04B9 29 03 tax ; CPU:$C4BB PRG:04BB AA lda $C02E,x ; CPU:$C4BC PRG:04BC BD 2E C0 ldx #$03 ; CPU:$C4BF PRG:04BF A2 03 - bne Label_C4D9 ; CPU:$C4C1 PRG:04C1 D0 16 + bne Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4C1 PRG:04C1 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_C4C3 +; Routine: Sub_8764_OnNonzero_C4C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1405,15 +1405,15 @@ Label_C4B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4C3: +Sub_8764_OnNonzero_C4C3: cpx #$04 ; CPU:$C4C3 PRG:04C3 E0 04 - bne Label_C4D0 ; CPU:$C4C5 PRG:04C5 D0 09 - ldx ZpD6 ; CPU:$C4C7 PRG:04C7 A6 D6 + bne Sub_8764_OnNonzero_C4D0 ; CPU:$C4C5 PRG:04C5 D0 09 + ldx GameState ; CPU:$C4C7 PRG:04C7 A6 D6 lda $C022,x ; CPU:$C4C9 PRG:04C9 BD 22 C0 ldx #$04 ; CPU:$C4CC PRG:04CC A2 04 - bne Label_C4D9 ; CPU:$C4CE PRG:04CE D0 09 + bne Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4CE PRG:04CE D0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D0 +; Routine: Sub_8764_OnNonzero_C4D0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1421,12 +1421,12 @@ Label_C4C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D0: +Sub_8764_OnNonzero_C4D0: lda ZpDB ; CPU:$C4D0 PRG:04D0 A5 DB cpx #$17 ; CPU:$C4D2 PRG:04D2 E0 17 - beq Label_C4D9 ; CPU:$C4D4 PRG:04D4 F0 03 + beq Sub_8764_JoinBranchPaths_C4D9 ; CPU:$C4D4 PRG:04D4 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D6 +; Routine: Sub_8764_OnNonzero_C4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1434,10 +1434,10 @@ Label_C4D0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D6: +Sub_8764_OnNonzero_C4D6: lda $C00A,x ; CPU:$C4D6 PRG:04D6 BD 0A C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C4D9 +; Routine: Sub_8764_JoinBranchPaths_C4D9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1445,15 +1445,15 @@ Label_C4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4D9: - jsr $C006 ; CPU:$C4D9 PRG:04D9 20 06 C0 +Sub_8764_JoinBranchPaths_C4D9: + jsr SubCC006 ; CPU:$C4D9 PRG:04D9 20 06 C0 inx ; CPU:$C4DC PRG:04DC E8 dey ; CPU:$C4DD PRG:04DD 88 - bne Label_C4A1 ; CPU:$C4DE PRG:04DE D0 C1 + bne Sub_8764_OnNonzero_C4A1 ; CPU:$C4DE PRG:04DE D0 C1 cpx #$18 ; CPU:$C4E0 PRG:04E0 E0 18 - bne Label_C49A ; CPU:$C4E2 PRG:04E2 D0 B6 + bne Sub_8764_OnNonzero_C49A ; CPU:$C4E2 PRG:04E2 D0 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_C4E4 +; Routine: SubCC4E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1461,16 +1461,16 @@ Label_C4D9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4E4: +SubCC4E4: lda #$3F ; CPU:$C4E4 PRG:04E4 A9 3F - sta $2006 ; CPU:$C4E6 PRG:04E6 8D 06 20 + sta PPUADDR ; CPU:$C4E6 PRG:04E6 8D 06 20 lda #$00 ; CPU:$C4E9 PRG:04E9 A9 00 - sta $2006 ; CPU:$C4EB PRG:04EB 8D 06 20 - sta $2006 ; CPU:$C4EE PRG:04EE 8D 06 20 - sta $2006 ; CPU:$C4F1 PRG:04F1 8D 06 20 + sta PPUADDR ; CPU:$C4EB PRG:04EB 8D 06 20 + sta PPUADDR ; CPU:$C4EE PRG:04EE 8D 06 20 + sta PPUADDR ; CPU:$C4F1 PRG:04F1 8D 06 20 rts ; CPU:$C4F4 PRG:04F4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F5 +; Routine: SubCC4F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1478,11 +1478,11 @@ Label_C4E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F5: +SubCC4F5: lda #$01 ; CPU:$C4F5 PRG:04F5 A9 01 - bne Label_C51D ; CPU:$C4F7 PRG:04F7 D0 24 + bne Sub_8764_OnNonzero_C51D ; CPU:$C4F7 PRG:04F7 D0 24 ; ----------------------------------------------------------------------------- -; Routine: Label_C4F9 +; Routine: SubCC4F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1490,7 +1490,7 @@ Label_C4F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C4F9: +SubCC4F9: clc ; CPU:$C4F9 PRG:04F9 18 adc $02EF,y ; CPU:$C4FA PRG:04FA 79 EF 02 sta $02F0 ; CPU:$C4FD PRG:04FD 8D F0 02 @@ -1500,7 +1500,7 @@ Label_C4F9: lda #$7D ; CPU:$C508 PRG:0508 A9 7D sta $043D ; CPU:$C50A PRG:050A 8D 3D 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C50D +; Routine: SubCC50D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1508,13 +1508,13 @@ Label_C4F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C50D: +SubCC50D: lda #$05 ; CPU:$C50D PRG:050D A9 05 - bne Label_C51D ; CPU:$C50F PRG:050F D0 0C + bne Sub_8764_OnNonzero_C51D ; CPU:$C50F PRG:050F D0 0C lda #$08 ; CPU:$C511 PRG:0511 A9 08 - bne Label_C523 ; CPU:$C513 PRG:0513 D0 0E + bne Sub_8764_OnNonzero_C523 ; CPU:$C513 PRG:0513 D0 0E ; ----------------------------------------------------------------------------- -; Routine: Label_C515 +; Routine: SubCC515 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1522,13 +1522,13 @@ Label_C50D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C515: +SubCC515: lda ZpCA ; CPU:$C515 PRG:0515 A5 CA - bne Label_C51D ; CPU:$C517 PRG:0517 D0 04 + bne Sub_8764_OnNonzero_C51D ; CPU:$C517 PRG:0517 D0 04 lda #$0A ; CPU:$C519 PRG:0519 A9 0A sta ZpD0 ; CPU:$C51B PRG:051B 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C51D +; Routine: Sub_8764_OnNonzero_C51D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1536,13 +1536,13 @@ Label_C515: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C51D: +Sub_8764_OnNonzero_C51D: pha ; CPU:$C51D PRG:051D 48 lda #$0A ; CPU:$C51E PRG:051E A9 0A - sta Zp55 ; CPU:$C520 PRG:0520 85 55 + sta FrameSubCounter ; CPU:$C520 PRG:0520 85 55 pla ; CPU:$C522 PRG:0522 68 ; ----------------------------------------------------------------------------- -; Routine: Label_C523 +; Routine: Sub_8764_OnNonzero_C523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1550,18 +1550,18 @@ Label_C51D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C523: +Sub_8764_OnNonzero_C523: sta Zp01 ; CPU:$C523 PRG:0523 85 01 stx Zp02 ; CPU:$C525 PRG:0525 86 02 ldx ZpD0 ; CPU:$C527 PRG:0527 A6 D0 lda $C3CC,x ; CPU:$C529 PRG:0529 BD CC C3 - bne Label_C536 ; CPU:$C52C PRG:052C D0 08 + bne Sub_8764_OnNonzero_C536 ; CPU:$C52C PRG:052C D0 08 lda ZpCA ; CPU:$C52E PRG:052E A5 CA - bne Label_C536 ; CPU:$C530 PRG:0530 D0 04 + bne Sub_8764_OnNonzero_C536 ; CPU:$C530 PRG:0530 D0 04 lda Zp01 ; CPU:$C532 PRG:0532 A5 01 sta ZpD0 ; CPU:$C534 PRG:0534 85 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C536 +; Routine: Sub_8764_OnNonzero_C536 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1569,10 +1569,10 @@ Label_C523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C536: +Sub_8764_OnNonzero_C536: ldx Zp02 ; CPU:$C536 PRG:0536 A6 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C538 +; Routine: Sub_8764_OnZero_C538 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1580,10 +1580,10 @@ Label_C536: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C538: +Sub_8764_OnZero_C538: rts ; CPU:$C538 PRG:0538 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C539 +; Routine: SubCC539 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1591,12 +1591,12 @@ Label_C538: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C539: +SubCC539: inc Zp4E ; CPU:$C539 PRG:0539 E6 4E - bne Label_C53F ; CPU:$C53B PRG:053B D0 02 + bne SubCC53F ; CPU:$C53B PRG:053B D0 02 inc Zp4F ; CPU:$C53D PRG:053D E6 4F ; ----------------------------------------------------------------------------- -; Routine: Label_C53F +; Routine: SubCC53F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1604,14 +1604,14 @@ Label_C539: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C53F: +SubCC53F: ldy #$00 ; CPU:$C53F PRG:053F A0 00 lda (Zp4E),y ; CPU:$C541 PRG:0541 B1 4E - beq Label_C538 ; CPU:$C543 PRG:0543 F0 F3 - bmi Label_C54D ; CPU:$C545 PRG:0545 30 06 - jsr $C006 ; CPU:$C547 PRG:0547 20 06 C0 + beq Sub_8764_OnZero_C538 ; CPU:$C543 PRG:0543 F0 F3 + bmi Sub_8764_OnNegative_C54D ; CPU:$C545 PRG:0545 30 06 + jsr SubCC006 ; CPU:$C547 PRG:0547 20 06 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C54A +; Routine: Sub_8764_OnZero_C54A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1619,10 +1619,10 @@ Label_C53F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C54A: - jmp $C539 ; CPU:$C54A PRG:054A 4C 39 C5 +Sub_8764_OnZero_C54A: + jmp SubCC539 ; CPU:$C54A PRG:054A 4C 39 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C54D +; Routine: Sub_8764_OnNegative_C54D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1630,12 +1630,12 @@ Label_C54A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C54D: +Sub_8764_OnNegative_C54D: and #$7F ; CPU:$C54D PRG:054D 29 7F tay ; CPU:$C54F PRG:054F A8 lda #$80 ; CPU:$C550 PRG:0550 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_C552 +; Routine: Sub_8764_OnNonzero_C552 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1643,13 +1643,13 @@ Label_C54D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C552: - jsr $C006 ; CPU:$C552 PRG:0552 20 06 C0 +Sub_8764_OnNonzero_C552: + jsr SubCC006 ; CPU:$C552 PRG:0552 20 06 C0 dey ; CPU:$C555 PRG:0555 88 - bne Label_C552 ; CPU:$C556 PRG:0556 D0 FA - beq Label_C54A ; CPU:$C558 PRG:0558 F0 F0 + bne Sub_8764_OnNonzero_C552 ; CPU:$C556 PRG:0556 D0 FA + beq Sub_8764_OnZero_C54A ; CPU:$C558 PRG:0558 F0 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_C55A +; Routine: SubCC55A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1657,15 +1657,15 @@ Label_C552: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C55A: - jsr $C5A1 ; CPU:$C55A PRG:055A 20 A1 C5 +SubCC55A: + jsr SubCC5A1 ; CPU:$C55A PRG:055A 20 A1 C5 asl a ; CPU:$C55D PRG:055D 0A asl a ; CPU:$C55E PRG:055E 0A tax ; CPU:$C55F PRG:055F AA lda #$F8 ; CPU:$C560 PRG:0560 A9 F8 ldy #$04 ; CPU:$C562 PRG:0562 A0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_C564 +; Routine: Sub_8764_OnNonzero_C564 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1673,14 +1673,14 @@ Label_C55A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C564: +Sub_8764_OnNonzero_C564: sta $0700,x ; CPU:$C564 PRG:0564 9D 00 07 inx ; CPU:$C567 PRG:0567 E8 dey ; CPU:$C568 PRG:0568 88 - bne Label_C564 ; CPU:$C569 PRG:0569 D0 F9 - beq Label_C59C ; CPU:$C56B PRG:056B F0 2F + bne Sub_8764_OnNonzero_C564 ; CPU:$C569 PRG:0569 D0 F9 + beq SubCC59C ; CPU:$C56B PRG:056B F0 2F ; ----------------------------------------------------------------------------- -; Routine: Label_C56D +; Routine: SubCC56D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1688,7 +1688,7 @@ Label_C564: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C56D: +SubCC56D: stx Zp52 ; CPU:$C56D PRG:056D 86 52 asl a ; CPU:$C56F PRG:056F 0A asl a ; CPU:$C570 PRG:0570 0A @@ -1704,7 +1704,7 @@ Label_C56D: ldx Zp52 ; CPU:$C586 PRG:0586 A6 52 rts ; CPU:$C588 PRG:0588 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C589 +; Routine: SubCC589 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1712,8 +1712,8 @@ Label_C56D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C589: - jsr $C5A1 ; CPU:$C589 PRG:0589 20 A1 C5 +SubCC589: + jsr SubCC5A1 ; CPU:$C589 PRG:0589 20 A1 C5 asl a ; CPU:$C58C PRG:058C 0A asl a ; CPU:$C58D PRG:058D 0A asl a ; CPU:$C58E PRG:058E 0A @@ -1722,7 +1722,7 @@ Label_C589: lda #$F8 ; CPU:$C591 PRG:0591 A9 F8 ldy #$10 ; CPU:$C593 PRG:0593 A0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_C595 +; Routine: Sub_8764_OnNonzero_C595 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1730,13 +1730,13 @@ Label_C589: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C595: +Sub_8764_OnNonzero_C595: sta $0700,x ; CPU:$C595 PRG:0595 9D 00 07 inx ; CPU:$C598 PRG:0598 E8 dey ; CPU:$C599 PRG:0599 88 - bne Label_C595 ; CPU:$C59A PRG:059A D0 F9 + bne Sub_8764_OnNonzero_C595 ; CPU:$C59A PRG:059A D0 F9 ; ----------------------------------------------------------------------------- -; Routine: Label_C59C +; Routine: SubCC59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1744,12 +1744,12 @@ Label_C595: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C59C: +SubCC59C: ldx Zp52 ; CPU:$C59C PRG:059C A6 52 ldy Zp53 ; CPU:$C59E PRG:059E A4 53 rts ; CPU:$C5A0 PRG:05A0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A1 +; Routine: SubCC5A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1757,12 +1757,12 @@ Label_C59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A1: +SubCC5A1: stx Zp52 ; CPU:$C5A1 PRG:05A1 86 52 sty Zp53 ; CPU:$C5A3 PRG:05A3 84 53 rts ; CPU:$C5A5 PRG:05A5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C5A6 +; Routine: SubCC5A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1770,8 +1770,8 @@ Label_C5A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5A6: - jsr $C5A1 ; CPU:$C5A6 PRG:05A6 20 A1 C5 +SubCC5A6: + jsr SubCC5A1 ; CPU:$C5A6 PRG:05A6 20 A1 C5 asl a ; CPU:$C5A9 PRG:05A9 0A asl a ; CPU:$C5AA PRG:05AA 0A asl a ; CPU:$C5AB PRG:05AB 0A @@ -1779,7 +1779,7 @@ Label_C5A6: tax ; CPU:$C5AD PRG:05AD AA ldy #$00 ; CPU:$C5AE PRG:05AE A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C5B0 +; Routine: Sub_8764_OnNonzero_C5B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1787,21 +1787,21 @@ Label_C5A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5B0: - jsr $C5FD ; CPU:$C5B0 PRG:05B0 20 FD C5 - jsr $C607 ; CPU:$C5B3 PRG:05B3 20 07 C6 - jsr $C611 ; CPU:$C5B6 PRG:05B6 20 11 C6 - jsr $C61B ; CPU:$C5B9 PRG:05B9 20 1B C6 +Sub_8764_OnNonzero_C5B0: + jsr SubCC5FD ; CPU:$C5B0 PRG:05B0 20 FD C5 + jsr SubCC607 ; CPU:$C5B3 PRG:05B3 20 07 C6 + jsr SubCC611 ; CPU:$C5B6 PRG:05B6 20 11 C6 + jsr SubCC61B ; CPU:$C5B9 PRG:05B9 20 1B C6 inx ; CPU:$C5BC PRG:05BC E8 inx ; CPU:$C5BD PRG:05BD E8 inx ; CPU:$C5BE PRG:05BE E8 inx ; CPU:$C5BF PRG:05BF E8 iny ; CPU:$C5C0 PRG:05C0 C8 cpy #$04 ; CPU:$C5C1 PRG:05C1 C0 04 - bne Label_C5B0 ; CPU:$C5C3 PRG:05C3 D0 EB - beq Label_C59C ; CPU:$C5C5 PRG:05C5 F0 D5 + bne Sub_8764_OnNonzero_C5B0 ; CPU:$C5C3 PRG:05C3 D0 EB + beq SubCC59C ; CPU:$C5C5 PRG:05C5 F0 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_C5C7 +; Routine: SubCC5C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1809,8 +1809,8 @@ Label_C5B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5C7: - jsr $C5A1 ; CPU:$C5C7 PRG:05C7 20 A1 C5 +SubCC5C7: + jsr SubCC5A1 ; CPU:$C5C7 PRG:05C7 20 A1 C5 asl a ; CPU:$C5CA PRG:05CA 0A asl a ; CPU:$C5CB PRG:05CB 0A asl a ; CPU:$C5CC PRG:05CC 0A @@ -1819,13 +1819,13 @@ Label_C5C7: lda Zp4C ; CPU:$C5CF PRG:05CF A5 4C asl a ; CPU:$C5D1 PRG:05D1 0A asl a ; CPU:$C5D2 PRG:05D2 0A - sta Zp00 ; CPU:$C5D3 PRG:05D3 85 00 + sta PtrLo ; CPU:$C5D3 PRG:05D3 85 00 lda #$00 ; CPU:$C5D5 PRG:05D5 A9 00 sta Zp02 ; CPU:$C5D7 PRG:05D7 85 02 lda #$04 ; CPU:$C5D9 PRG:05D9 A9 04 sta Zp01 ; CPU:$C5DB PRG:05DB 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_C5DD +; Routine: Sub_8764_OnNonzero_C5DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1833,25 +1833,25 @@ Label_C5C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5DD: +Sub_8764_OnNonzero_C5DD: ldy Zp02 ; CPU:$C5DD PRG:05DD A4 02 - jsr $C5FD ; CPU:$C5DF PRG:05DF 20 FD C5 - jsr $C61B ; CPU:$C5E2 PRG:05E2 20 1B C6 + jsr SubCC5FD ; CPU:$C5DF PRG:05DF 20 FD C5 + jsr SubCC61B ; CPU:$C5E2 PRG:05E2 20 1B C6 ldy Zp4C ; CPU:$C5E5 PRG:05E5 A4 4C - jsr $C611 ; CPU:$C5E7 PRG:05E7 20 11 C6 - ldy Zp00 ; CPU:$C5EA PRG:05EA A4 00 - jsr $C607 ; CPU:$C5EC PRG:05EC 20 07 C6 + jsr SubCC611 ; CPU:$C5E7 PRG:05E7 20 11 C6 + ldy PtrLo ; CPU:$C5EA PRG:05EA A4 00 + jsr SubCC607 ; CPU:$C5EC PRG:05EC 20 07 C6 inx ; CPU:$C5EF PRG:05EF E8 inx ; CPU:$C5F0 PRG:05F0 E8 inx ; CPU:$C5F1 PRG:05F1 E8 inx ; CPU:$C5F2 PRG:05F2 E8 - inc Zp00 ; CPU:$C5F3 PRG:05F3 E6 00 + inc PtrLo ; CPU:$C5F3 PRG:05F3 E6 00 inc Zp02 ; CPU:$C5F5 PRG:05F5 E6 02 dec Zp01 ; CPU:$C5F7 PRG:05F7 C6 01 - bne Label_C5DD ; CPU:$C5F9 PRG:05F9 D0 E2 - beq Label_C59C ; CPU:$C5FB PRG:05FB F0 9F + bne Sub_8764_OnNonzero_C5DD ; CPU:$C5F9 PRG:05F9 D0 E2 + beq SubCC59C ; CPU:$C5FB PRG:05FB F0 9F ; ----------------------------------------------------------------------------- -; Routine: Label_C5FD +; Routine: SubCC5FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1859,14 +1859,14 @@ Label_C5DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C5FD: +SubCC5FD: lda Zp4A ; CPU:$C5FD PRG:05FD A5 4A clc ; CPU:$C5FF PRG:05FF 18 adc $C629,y ; CPU:$C600 PRG:0600 79 29 C6 sta $0700,x ; CPU:$C603 PRG:0603 9D 00 07 rts ; CPU:$C606 PRG:0606 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C607 +; Routine: SubCC607 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1874,14 +1874,14 @@ Label_C5FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C607: +SubCC607: lda Zp4B ; CPU:$C607 PRG:0607 A5 4B clc ; CPU:$C609 PRG:0609 18 adc $C63D,y ; CPU:$C60A PRG:060A 79 3D C6 sta $0701,x ; CPU:$C60D PRG:060D 9D 01 07 rts ; CPU:$C610 PRG:0610 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C611 +; Routine: SubCC611 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1889,14 +1889,14 @@ Label_C607: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C611: +SubCC611: lda Zp4D ; CPU:$C611 PRG:0611 A5 4D clc ; CPU:$C613 PRG:0613 18 adc $C62D,y ; CPU:$C614 PRG:0614 79 2D C6 sta $0702,x ; CPU:$C617 PRG:0617 9D 02 07 rts ; CPU:$C61A PRG:061A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C61B +; Routine: SubCC61B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1904,7 +1904,7 @@ Label_C611: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C61B: +SubCC61B: lda Zp49 ; CPU:$C61B PRG:061B A5 49 clc ; CPU:$C61D PRG:061D 18 adc $C625,y ; CPU:$C61E PRG:061E 79 25 C6 @@ -1922,7 +1922,7 @@ Label_C61B: .byte $15, $14, $05, $04, $17, $16, $07, $06, $19, $18, $09, $08, $07, $06, $17, $16 ; CPU:$C665 PRG:0665 15 14 05 04 17 16 07 06 19 18 09 08 07 06 17 16 .byte $05, $04, $15, $14, $03, $02, $13, $12 ; CPU:$C675 PRG:0675 05 04 15 14 03 02 13 12 ; ----------------------------------------------------------------------------- -; Routine: Label_C67D +; Routine: SubCC67D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1930,15 +1930,15 @@ Label_C61B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C67D: +SubCC67D: lda #$14 ; CPU:$C67D PRG:067D A9 14 - sta $2006 ; CPU:$C67F PRG:067F 8D 06 20 + sta PPUADDR ; CPU:$C67F PRG:067F 8D 06 20 lda #$40 ; CPU:$C682 PRG:0682 A9 40 - sta $2006 ; CPU:$C684 PRG:0684 8D 06 20 - lda $2007 ; CPU:$C687 PRG:0687 AD 07 20 + sta PPUADDR ; CPU:$C684 PRG:0684 8D 06 20 + lda PPUDATA ; CPU:$C687 PRG:0687 AD 07 20 ldx #$00 ; CPU:$C68A PRG:068A A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C68C +; Routine: Sub_8764_OnNonzero_C68C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1946,20 +1946,20 @@ Label_C67D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C68C: - lda $2007 ; CPU:$C68C PRG:068C AD 07 20 +Sub_8764_OnNonzero_C68C: + lda PPUDATA ; CPU:$C68C PRG:068C AD 07 20 sta $0700,x ; CPU:$C68F PRG:068F 9D 00 07 inx ; CPU:$C692 PRG:0692 E8 - bne Label_C68C ; CPU:$C693 PRG:0693 D0 F7 + bne Sub_8764_OnNonzero_C68C ; CPU:$C693 PRG:0693 D0 F7 lda #$21 ; CPU:$C695 PRG:0695 A9 21 - sta $2006 ; CPU:$C697 PRG:0697 8D 06 20 + sta PPUADDR ; CPU:$C697 PRG:0697 8D 06 20 lda #$8F ; CPU:$C69A PRG:069A A9 8F - sta $2006 ; CPU:$C69C PRG:069C 8D 06 20 + sta PPUADDR ; CPU:$C69C PRG:069C 8D 06 20 lda #$00 ; CPU:$C69F PRG:069F A9 00 sta Zp4E ; CPU:$C6A1 PRG:06A1 85 4E lda #$07 ; CPU:$C6A3 PRG:06A3 A9 07 sta Zp4F ; CPU:$C6A5 PRG:06A5 85 4F - jmp $C53F ; CPU:$C6A7 PRG:06A7 4C 3F C5 + jmp SubCC53F ; CPU:$C6A7 PRG:06A7 4C 3F C5 ; ---- data $C6AA-$C6E2 (57 bytes) ---- ; referenced by `lda $C6AA,y` at $C744 (operand $C6AA falls inside this region) ; referenced by `lda $C6AA,y` at $C74B (operand $C6AA falls inside this region) @@ -1969,7 +1969,7 @@ Label_C68C: .byte $6E, $64, $7F, $73, $6F, $66, $74, $77, $61, $72, $65, $7F, $69, $6E, $63, $91 ; CPU:$C6CA PRG:06CA 6E 64 7F 73 6F 66 74 77 61 72 65 7F 69 6E 63 91 .byte $00, $62, $79, $7F, $6B, $69, $6B, $75, $00 ; CPU:$C6DA PRG:06DA 00 62 79 7F 6B 69 6B 75 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C6E3 +; Routine: ResetEntry ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1977,12 +1977,12 @@ Label_C68C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6E3: +ResetEntry: lda #$10 ; CPU:$C6E3 PRG:06E3 A9 10 - sta $2000 ; CPU:$C6E5 PRG:06E5 8D 00 20 - sta ZpC2 ; CPU:$C6E8 PRG:06E8 85 C2 + sta PPUCTRL ; CPU:$C6E5 PRG:06E5 8D 00 20 + sta PpuCtrlShadow ; CPU:$C6E8 PRG:06E8 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_C6EA +; Routine: Sub_8764_OnNonnegative_C6EA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -1990,16 +1990,16 @@ Label_C6E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6EA: - inc ZpEA ; CPU:$C6EA PRG:06EA E6 EA - lda $2002 ; CPU:$C6EC PRG:06EC AD 02 20 - bpl Label_C6EA ; CPU:$C6EF PRG:06EF 10 F9 +Sub_8764_OnNonnegative_C6EA: + inc VBlankWaitCounter ; CPU:$C6EA PRG:06EA E6 EA + lda PPUSTATUS ; CPU:$C6EC PRG:06EC AD 02 20 + bpl Sub_8764_OnNonnegative_C6EA ; CPU:$C6EF PRG:06EF 10 F9 ldx #$FF ; CPU:$C6F1 PRG:06F1 A2 FF txs ; CPU:$C6F3 PRG:06F3 9A inx ; CPU:$C6F4 PRG:06F4 E8 txa ; CPU:$C6F5 PRG:06F5 8A ; ----------------------------------------------------------------------------- -; Routine: Label_C6F6 +; Routine: Sub_8764_OnNonzero_C6F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2007,20 +2007,20 @@ Label_C6EA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C6F6: - sta Zp00,x ; CPU:$C6F6 PRG:06F6 95 00 +Sub_8764_OnNonzero_C6F6: + sta PtrLo,x ; CPU:$C6F6 PRG:06F6 95 00 inx ; CPU:$C6F8 PRG:06F8 E8 cpx #$EA ; CPU:$C6F9 PRG:06F9 E0 EA - bne Label_C6F6 ; CPU:$C6FB PRG:06FB D0 F9 - jsr $C98E ; CPU:$C6FD PRG:06FD 20 8E C9 + bne Sub_8764_OnNonzero_C6F6 ; CPU:$C6FB PRG:06FB D0 F9 + jsr SubCC98E ; CPU:$C6FD PRG:06FD 20 8E C9 lda $026D ; CPU:$C700 PRG:0700 AD 6D 02 ora $0273 ; CPU:$C703 PRG:0703 0D 73 02 cmp #$23 ; CPU:$C706 PRG:0706 C9 23 - beq Label_C719 ; CPU:$C708 PRG:0708 F0 0F + beq SubCC719 ; CPU:$C708 PRG:0708 F0 0F lda #$23 ; CPU:$C70A PRG:070A A9 23 ldx #$0B ; CPU:$C70C PRG:070C A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_C70E +; Routine: Sub_8764_OnNonnegative_C70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2028,14 +2028,14 @@ Label_C6F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C70E: +Sub_8764_OnNonnegative_C70E: sta $0268,x ; CPU:$C70E PRG:070E 9D 68 02 dex ; CPU:$C711 PRG:0711 CA - bpl Label_C70E ; CPU:$C712 PRG:0712 10 FA + bpl Sub_8764_OnNonnegative_C70E ; CPU:$C712 PRG:0712 10 FA lda #$25 ; CPU:$C714 PRG:0714 A9 25 sta $026F ; CPU:$C716 PRG:0716 8D 6F 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C719 +; Routine: SubCC719 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2043,14 +2043,14 @@ Label_C70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C719: +SubCC719: ldx #$FF ; CPU:$C719 PRG:0719 A2 FF txs ; CPU:$C71B PRG:071B 9A - jsr $C98E ; CPU:$C71C PRG:071C 20 8E C9 + jsr SubCC98E ; CPU:$C71C PRG:071C 20 8E C9 lda #$01 ; CPU:$C71F PRG:071F A9 01 ldx #$06 ; CPU:$C721 PRG:0721 A2 06 ; ----------------------------------------------------------------------------- -; Routine: Label_C723 +; Routine: Sub_8764_OnNonnegative_C723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2058,13 +2058,13 @@ Label_C719: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C723: +Sub_8764_OnNonnegative_C723: sta ZpE3,x ; CPU:$C723 PRG:0723 95 E3 dex ; CPU:$C725 PRG:0725 CA - bpl Label_C723 ; CPU:$C726 PRG:0726 10 FB + bpl Sub_8764_OnNonnegative_C723 ; CPU:$C726 PRG:0726 10 FB ldx #$29 ; CPU:$C728 PRG:0728 A2 29 ; ----------------------------------------------------------------------------- -; Routine: Label_C72A +; Routine: Sub_8764_OnNonnegative_C72A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2072,17 +2072,17 @@ Label_C723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C72A: +Sub_8764_OnNonnegative_C72A: lda $DADD,x ; CPU:$C72A PRG:072A BD DD DA sta $06AD,x ; CPU:$C72D PRG:072D 9D AD 06 dex ; CPU:$C730 PRG:0730 CA - bpl Label_C72A ; CPU:$C731 PRG:0731 10 F7 - jsr $C3E2 ; CPU:$C733 PRG:0733 20 E2 C3 + bpl Sub_8764_OnNonnegative_C72A ; CPU:$C731 PRG:0731 10 F7 + jsr SubCC3E2 ; CPU:$C733 PRG:0733 20 E2 C3 lda #$00 ; CPU:$C736 PRG:0736 A9 00 - jsr $C447 ; CPU:$C738 PRG:0738 20 47 C4 + jsr SubCC447 ; CPU:$C738 PRG:0738 20 47 C4 ldy #$00 ; CPU:$C73B PRG:073B A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C73D +; Routine: Sub_8764_OnZero_C73D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2090,18 +2090,18 @@ Label_C72A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C73D: - jsr $C770 ; CPU:$C73D PRG:073D 20 70 C7 - sta $2006 ; CPU:$C740 PRG:0740 8D 06 20 +Sub_8764_OnZero_C73D: + jsr SubCC770 ; CPU:$C73D PRG:073D 20 70 C7 + sta PPUADDR ; CPU:$C740 PRG:0740 8D 06 20 iny ; CPU:$C743 PRG:0743 C8 lda $C6AA,y ; CPU:$C744 PRG:0744 B9 AA C6 - sta $2006 ; CPU:$C747 PRG:0747 8D 06 20 + sta PPUADDR ; CPU:$C747 PRG:0747 8D 06 20 iny ; CPU:$C74A PRG:074A C8 lda $C6AA,y ; CPU:$C74B PRG:074B B9 AA C6 iny ; CPU:$C74E PRG:074E C8 tax ; CPU:$C74F PRG:074F AA ; ----------------------------------------------------------------------------- -; Routine: Label_C750 +; Routine: Sub_8764_OnNonzero_C750 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2109,17 +2109,17 @@ Label_C73D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C750: +Sub_8764_OnNonzero_C750: lda Zp4E ; CPU:$C750 PRG:0750 A5 4E - sta $2007 ; CPU:$C752 PRG:0752 8D 07 20 + sta PPUDATA ; CPU:$C752 PRG:0752 8D 07 20 cmp #$43 ; CPU:$C755 PRG:0755 C9 43 - beq Label_C760 ; CPU:$C757 PRG:0757 F0 07 + beq Sub_8764_OnZero_C760 ; CPU:$C757 PRG:0757 F0 07 inc Zp4E ; CPU:$C759 PRG:0759 E6 4E dex ; CPU:$C75B PRG:075B CA - bne Label_C750 ; CPU:$C75C PRG:075C D0 F2 - beq Label_C73D ; CPU:$C75E PRG:075E F0 DD + bne Sub_8764_OnNonzero_C750 ; CPU:$C75C PRG:075C D0 F2 + beq Sub_8764_OnZero_C73D ; CPU:$C75E PRG:075E F0 DD ; ----------------------------------------------------------------------------- -; Routine: Label_C760 +; Routine: Sub_8764_OnZero_C760 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2127,12 +2127,12 @@ Label_C750: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C760: - jsr $C67D ; CPU:$C760 PRG:0760 20 7D C6 +Sub_8764_OnZero_C760: + jsr SubCC67D ; CPU:$C760 PRG:0760 20 7D C6 lda #$F8 ; CPU:$C763 PRG:0763 A9 F8 ldx #$00 ; CPU:$C765 PRG:0765 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C767 +; Routine: Sub_8764_OnNonzero_C767 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2140,13 +2140,13 @@ Label_C760: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C767: +Sub_8764_OnNonzero_C767: sta $0700,x ; CPU:$C767 PRG:0767 9D 00 07 inx ; CPU:$C76A PRG:076A E8 - bne Label_C767 ; CPU:$C76B PRG:076B D0 FA - jmp $C77D ; CPU:$C76D PRG:076D 4C 7D C7 + bne Sub_8764_OnNonzero_C767 ; CPU:$C76B PRG:076B D0 FA + jmp SubCC77D ; CPU:$C76D PRG:076D 4C 7D C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C770 +; Routine: SubCC770 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2154,12 +2154,12 @@ Label_C767: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C770: +SubCC770: cpy #$00 ; CPU:$C770 PRG:0770 C0 00 - bne Label_C776 ; CPU:$C772 PRG:0772 D0 02 + bne Sub_8764_OnNonzero_C776 ; CPU:$C772 PRG:0772 D0 02 sty Zp4E ; CPU:$C774 PRG:0774 84 4E ; ----------------------------------------------------------------------------- -; Routine: Label_C776 +; Routine: Sub_8764_OnNonzero_C776 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2167,13 +2167,13 @@ Label_C770: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C776: +Sub_8764_OnNonzero_C776: lda $C6AA,y ; CPU:$C776 PRG:0776 B9 AA C6 rts ; CPU:$C779 PRG:0779 60 ; ---- data $C77A-$C77C (3 bytes) ---- .byte $20, $3F, $C5 ; CPU:$C77A PRG:077A 20 3F C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C77D +; Routine: SubCC77D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2181,13 +2181,13 @@ Label_C776: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C77D: +SubCC77D: lda Zp50 ; CPU:$C77D PRG:077D A5 50 eor #$68 ; CPU:$C77F PRG:077F 49 68 - bne Label_C786 ; CPU:$C781 PRG:0781 D0 03 - jsr $C539 ; CPU:$C783 PRG:0783 20 39 C5 + bne Sub_8764_OnNonzero_C786 ; CPU:$C781 PRG:0781 D0 03 + jsr SubCC539 ; CPU:$C783 PRG:0783 20 39 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C786 +; Routine: Sub_8764_OnNonzero_C786 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2195,13 +2195,13 @@ Label_C77D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C786: - jsr $C95A ; CPU:$C786 PRG:0786 20 5A C9 +Sub_8764_OnNonzero_C786: + jsr SubCC95A ; CPU:$C786 PRG:0786 20 5A C9 lda #$01 ; CPU:$C789 PRG:0789 A9 01 sta ZpC7 ; CPU:$C78B PRG:078B 85 C7 - bne Label_C7C7 ; CPU:$C78D PRG:078D D0 38 + bne Sub_8764_OnNonzero_C7C7 ; CPU:$C78D PRG:078D D0 38 ; ----------------------------------------------------------------------------- -; Routine: Label_C78F +; Routine: Sub_8764_OnZero_C78F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2209,11 +2209,11 @@ Label_C786: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C78F: +Sub_8764_OnZero_C78F: lda #$C8 ; CPU:$C78F PRG:078F A9 C8 sta ZpD4 ; CPU:$C791 PRG:0791 85 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_C793 +; Routine: Sub_8764_JoinBranchPaths_C793 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2221,20 +2221,20 @@ Label_C78F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C793: +Sub_8764_JoinBranchPaths_C793: lda #$00 ; CPU:$C793 PRG:0793 A9 00 - sta $4015 ; CPU:$C795 PRG:0795 8D 15 40 + sta APUSTATUS ; CPU:$C795 PRG:0795 8D 15 40 dec ZpD4 ; CPU:$C798 PRG:0798 C6 D4 - beq Label_C7ED ; CPU:$C79A PRG:079A F0 51 + beq Sub_8764_OnZero_C7ED ; CPU:$C79A PRG:079A F0 51 ldy #$64 ; CPU:$C79C PRG:079C A0 64 - jsr $C043 ; CPU:$C79E PRG:079E 20 43 C0 - jsr $C412 ; CPU:$C7A1 PRG:07A1 20 12 C4 + jsr SubCC043 ; CPU:$C79E PRG:079E 20 43 C0 + jsr SubCC412 ; CPU:$C7A1 PRG:07A1 20 12 C4 ldx Zp50 ; CPU:$C7A4 PRG:07A4 A6 50 - bne Label_C7AC ; CPU:$C7A6 PRG:07A6 D0 04 + bne Sub_8764_OnNonzero_C7AC ; CPU:$C7A6 PRG:07A6 D0 04 stx ZpC7 ; CPU:$C7A8 PRG:07A8 86 C7 - beq Label_C793 ; CPU:$C7AA PRG:07AA F0 E7 + beq Sub_8764_JoinBranchPaths_C793 ; CPU:$C7AA PRG:07AA F0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_C7AC +; Routine: Sub_8764_OnNonzero_C7AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2242,22 +2242,22 @@ Label_C793: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7AC: +Sub_8764_OnNonzero_C7AC: lda ZpC7 ; CPU:$C7AC PRG:07AC A5 C7 - bne Label_C793 ; CPU:$C7AE PRG:07AE D0 E3 + bne Sub_8764_JoinBranchPaths_C793 ; CPU:$C7AE PRG:07AE D0 E3 inc ZpC7 ; CPU:$C7B0 PRG:07B0 E6 C7 txa ; CPU:$C7B2 PRG:07B2 8A and #$10 ; CPU:$C7B3 PRG:07B3 29 10 - bne Label_C7E3 ; CPU:$C7B5 PRG:07B5 D0 2C + bne Sub_8764_OnNonzero_C7E3 ; CPU:$C7B5 PRG:07B5 D0 2C txa ; CPU:$C7B7 PRG:07B7 8A and #$20 ; CPU:$C7B8 PRG:07B8 29 20 - beq Label_C793 ; CPU:$C7BA PRG:07BA F0 D7 + beq Sub_8764_JoinBranchPaths_C793 ; CPU:$C7BA PRG:07BA F0 D7 ldx ZpC9 ; CPU:$C7BC PRG:07BC A6 C9 cpx #$02 ; CPU:$C7BE PRG:07BE E0 02 - bne Label_C7C4 ; CPU:$C7C0 PRG:07C0 D0 02 + bne Sub_8764_OnNonzero_C7C4 ; CPU:$C7C0 PRG:07C0 D0 02 ldx #$FF ; CPU:$C7C2 PRG:07C2 A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_C7C4 +; Routine: Sub_8764_OnNonzero_C7C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2265,11 +2265,11 @@ Label_C7AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C4: +Sub_8764_OnNonzero_C7C4: inx ; CPU:$C7C4 PRG:07C4 E8 stx ZpC9 ; CPU:$C7C5 PRG:07C5 86 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_C7C7 +; Routine: Sub_8764_OnNonzero_C7C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2277,7 +2277,7 @@ Label_C7C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7C7: +Sub_8764_OnNonzero_C7C7: lda ZpC9 ; CPU:$C7C7 PRG:07C7 A5 C9 asl a ; CPU:$C7C9 PRG:07C9 0A asl a ; CPU:$C7CA PRG:07CA 0A @@ -2291,9 +2291,9 @@ Label_C7C7: stx $0701 ; CPU:$C7D9 PRG:07D9 8E 01 07 lda #$00 ; CPU:$C7DC PRG:07DC A9 00 sta $0702 ; CPU:$C7DE PRG:07DE 8D 02 07 - beq Label_C78F ; CPU:$C7E1 PRG:07E1 F0 AC + beq Sub_8764_OnZero_C78F ; CPU:$C7E1 PRG:07E1 F0 AC ; ----------------------------------------------------------------------------- -; Routine: Label_C7E3 +; Routine: Sub_8764_OnNonzero_C7E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2301,11 +2301,11 @@ Label_C7C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E3: +Sub_8764_OnNonzero_C7E3: lda #$23 ; CPU:$C7E3 PRG:07E3 A9 23 ldx #$05 ; CPU:$C7E5 PRG:07E5 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C7E7 +; Routine: Sub_8764_OnNonnegative_C7E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2313,12 +2313,12 @@ Label_C7E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7E7: +Sub_8764_OnNonnegative_C7E7: sta $0268,x ; CPU:$C7E7 PRG:07E7 9D 68 02 dex ; CPU:$C7EA PRG:07EA CA - bpl Label_C7E7 ; CPU:$C7EB PRG:07EB 10 FA + bpl Sub_8764_OnNonnegative_C7E7 ; CPU:$C7EB PRG:07EB 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_C7ED +; Routine: Sub_8764_OnZero_C7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2326,7 +2326,7 @@ Label_C7E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C7ED: +Sub_8764_OnZero_C7ED: lda #$01 ; CPU:$C7ED PRG:07ED A9 01 sta ZpD3 ; CPU:$C7EF PRG:07EF 85 D3 lda #$05 ; CPU:$C7F1 PRG:07F1 A9 05 @@ -2339,7 +2339,7 @@ Label_C7ED: ldx #$6E ; CPU:$C7FE PRG:07FE A2 6E lda #$C8 ; CPU:$C800 PRG:0800 A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C802 +; Routine: Sub_8764_OnNonzero_C802 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2347,13 +2347,13 @@ Label_C7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C802: +Sub_8764_OnNonzero_C802: sta $035E,x ; CPU:$C802 PRG:0802 9D 5E 03 dex ; CPU:$C805 PRG:0805 CA cpx #$58 ; CPU:$C806 PRG:0806 E0 58 - bne Label_C802 ; CPU:$C808 PRG:0808 D0 F8 + bne Sub_8764_OnNonzero_C802 ; CPU:$C808 PRG:0808 D0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_C80A +; Routine: SubCC80A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2361,11 +2361,11 @@ Label_C802: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C80A: +SubCC80A: ldx #$58 ; CPU:$C80A PRG:080A A2 58 lda #$C8 ; CPU:$C80C PRG:080C A9 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C80E +; Routine: Sub_8764_OnNonnegative_C80E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2373,11 +2373,11 @@ Label_C80A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C80E: +Sub_8764_OnNonnegative_C80E: sta $035E,x ; CPU:$C80E PRG:080E 9D 5E 03 dex ; CPU:$C811 PRG:0811 CA - bpl Label_C80E ; CPU:$C812 PRG:0812 10 FA - jsr $C9AB ; CPU:$C814 PRG:0814 20 AB C9 + bpl Sub_8764_OnNonnegative_C80E ; CPU:$C812 PRG:0812 10 FA + jsr SubCC9AB ; CPU:$C814 PRG:0814 20 AB C9 lda #$01 ; CPU:$C817 PRG:0817 A9 01 sta ZpBB ; CPU:$C819 PRG:0819 85 BB sta ZpBC ; CPU:$C81B PRG:081B 85 BC @@ -2385,16 +2385,16 @@ Label_C80E: sta $0262 ; CPU:$C81F PRG:081F 8D 62 02 lda #$27 ; CPU:$C822 PRG:0822 A9 27 sta $0267 ; CPU:$C824 PRG:0824 8D 67 02 - jsr $CCC0 ; CPU:$C827 PRG:0827 20 C0 CC + jsr SubCCCC0 ; CPU:$C827 PRG:0827 20 C0 CC lda #$06 ; CPU:$C82A PRG:082A A9 06 sta ZpBD ; CPU:$C82C PRG:082C 85 BD lda #$00 ; CPU:$C82E PRG:082E A9 00 - sta ZpD6 ; CPU:$C830 PRG:0830 85 D6 + sta GameState ; CPU:$C830 PRG:0830 85 D6 sta ZpD1 ; CPU:$C832 PRG:0832 85 D1 sta ZpDA ; CPU:$C834 PRG:0834 85 DA sta ZpDF ; CPU:$C836 PRG:0836 85 DF ; ----------------------------------------------------------------------------- -; Routine: Label_C838 +; Routine: SubCC838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2402,24 +2402,24 @@ Label_C80E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C838: +SubCC838: lda ZpD4 ; CPU:$C838 PRG:0838 A5 D4 - beq Label_C89A ; CPU:$C83A PRG:083A F0 5E - jsr $C442 ; CPU:$C83C PRG:083C 20 42 C4 + beq Sub_8764_OnZero_C89A ; CPU:$C83A PRG:083A F0 5E + jsr SubCC442 ; CPU:$C83C PRG:083C 20 42 C4 lda #$21 ; CPU:$C83F PRG:083F A9 21 - sta $2006 ; CPU:$C841 PRG:0841 8D 06 20 + sta PPUADDR ; CPU:$C841 PRG:0841 8D 06 20 ldx #$2B ; CPU:$C844 PRG:0844 A2 2B - stx $2006 ; CPU:$C846 PRG:0846 8E 06 20 + stx PPUADDR ; CPU:$C846 PRG:0846 8E 06 20 lda #$6F ; CPU:$C849 PRG:0849 A9 6F sta Zp4E ; CPU:$C84B PRG:084B 85 4E lda #$C9 ; CPU:$C84D PRG:084D A9 C9 sta Zp4F ; CPU:$C84F PRG:084F 85 4F - jsr $C53F ; CPU:$C851 PRG:0851 20 3F C5 + jsr SubCC53F ; CPU:$C851 PRG:0851 20 3F C5 lda #$00 ; CPU:$C854 PRG:0854 A9 00 - sta Zp00 ; CPU:$C856 PRG:0856 85 00 + sta PtrLo ; CPU:$C856 PRG:0856 85 00 lda ZpD3 ; CPU:$C858 PRG:0858 A5 D3 ; ----------------------------------------------------------------------------- -; Routine: Label_C85A +; Routine: SubCC85A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2427,13 +2427,13 @@ Label_C838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C85A: +SubCC85A: cmp #$0A ; CPU:$C85A PRG:085A C9 0A - bcc Label_C863 ; CPU:$C85C PRG:085C 90 05 + bcc Sub_8764_OnCarryClear_C863 ; CPU:$C85C PRG:085C 90 05 sbc #$0A ; CPU:$C85E PRG:085E E9 0A - jmp $C85A ; CPU:$C860 PRG:0860 4C 5A C8 + jmp SubCC85A ; CPU:$C860 PRG:0860 4C 5A C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C863 +; Routine: Sub_8764_OnCarryClear_C863 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2441,33 +2441,33 @@ Label_C85A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C863: +Sub_8764_OnCarryClear_C863: ldy #$47 ; CPU:$C863 PRG:0863 A0 47 - jsr $C921 ; CPU:$C865 PRG:0865 20 21 C9 + jsr SubCC921 ; CPU:$C865 PRG:0865 20 21 C9 lda $0262 ; CPU:$C868 PRG:0868 AD 62 02 sec ; CPU:$C86B PRG:086B 38 sbc #$23 ; CPU:$C86C PRG:086C E9 23 ldy #$5F ; CPU:$C86E PRG:086E A0 5F - jsr $C921 ; CPU:$C870 PRG:0870 20 21 C9 + jsr SubCC921 ; CPU:$C870 PRG:0870 20 21 C9 lda ZpD5 ; CPU:$C873 PRG:0873 A5 D5 sec ; CPU:$C875 PRG:0875 38 sbc #$01 ; CPU:$C876 PRG:0876 E9 01 ldy #$77 ; CPU:$C878 PRG:0878 A0 77 - jsr $C921 ; CPU:$C87A PRG:087A 20 21 C9 + jsr SubCC921 ; CPU:$C87A PRG:087A 20 21 C9 ldx #$80 ; CPU:$C87D PRG:087D A2 80 ldy #$97 ; CPU:$C87F PRG:087F A0 97 - jsr $C8FB ; CPU:$C881 PRG:0881 20 FB C8 + jsr SubCC8FB ; CPU:$C881 PRG:0881 20 FB C8 ldx #$80 ; CPU:$C884 PRG:0884 A2 80 ldy #$A7 ; CPU:$C886 PRG:0886 A0 A7 lda #$88 ; CPU:$C888 PRG:0888 A9 88 - sta Zp00 ; CPU:$C88A PRG:088A 85 00 + sta PtrLo ; CPU:$C88A PRG:088A 85 00 lda #$2E ; CPU:$C88C PRG:088C A9 2E - jsr $C901 ; CPU:$C88E PRG:088E 20 01 C9 - jsr $C95A ; CPU:$C891 PRG:0891 20 5A C9 - jsr $C2D8 ; CPU:$C894 PRG:0894 20 D8 C2 - jsr $C032 ; CPU:$C897 PRG:0897 20 32 C0 + jsr SubCC901 ; CPU:$C88E PRG:088E 20 01 C9 + jsr SubCC95A ; CPU:$C891 PRG:0891 20 5A C9 + jsr SubCC2D8 ; CPU:$C894 PRG:0894 20 D8 C2 + jsr SubCC032 ; CPU:$C897 PRG:0897 20 32 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C89A +; Routine: Sub_8764_OnZero_C89A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2475,21 +2475,21 @@ Label_C863: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C89A: +Sub_8764_OnZero_C89A: lda #$00 ; CPU:$C89A PRG:089A A9 00 sta ZpDB ; CPU:$C89C PRG:089C 85 DB - jsr $C3E2 ; CPU:$C89E PRG:089E 20 E2 C3 + jsr SubCC3E2 ; CPU:$C89E PRG:089E 20 E2 C3 lda #$55 ; CPU:$C8A1 PRG:08A1 A9 55 ldx #$02 ; CPU:$C8A3 PRG:08A3 A2 02 ldy #$01 ; CPU:$C8A5 PRG:08A5 A0 01 - jsr $C44B ; CPU:$C8A7 PRG:08A7 20 4B C4 - jsr $C95A ; CPU:$C8AA PRG:08AA 20 5A C9 - jsr $CD26 ; CPU:$C8AD PRG:08AD 20 26 CD + jsr SubCC44B ; CPU:$C8A7 PRG:08A7 20 4B C4 + jsr SubCC95A ; CPU:$C8AA PRG:08AA 20 5A C9 + jsr SubCCD26 ; CPU:$C8AD PRG:08AD 20 26 CD lda ZpD7 ; CPU:$C8B0 PRG:08B0 A5 D7 - beq Label_C8B7 ; CPU:$C8B2 PRG:08B2 F0 03 - jsr $D1E6 ; CPU:$C8B4 PRG:08B4 20 E6 D1 + beq Sub_8764_OnZero_C8B7 ; CPU:$C8B2 PRG:08B2 F0 03 + jsr SubCD1E6 ; CPU:$C8B4 PRG:08B4 20 E6 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_C8B7 +; Routine: Sub_8764_OnZero_C8B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2497,18 +2497,18 @@ Label_C89A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8B7: - lda $4016 ; CPU:$C8B7 PRG:08B7 AD 16 40 +Sub_8764_OnZero_C8B7: + lda JOY1 ; CPU:$C8B7 PRG:08B7 AD 16 40 and #$04 ; CPU:$C8BA PRG:08BA 29 04 sta ZpE1 ; CPU:$C8BC PRG:08BC 85 E1 - jsr $CED3 ; CPU:$C8BE PRG:08BE 20 D3 CE + jsr SubCCED3 ; CPU:$C8BE PRG:08BE 20 D3 CE lda ZpD4 ; CPU:$C8C1 PRG:08C1 A5 D4 - beq Label_C8E5 ; CPU:$C8C3 PRG:08C3 F0 20 + beq Sub_8764_OnZero_C8E5 ; CPU:$C8C3 PRG:08C3 F0 20 lda ZpD5 ; CPU:$C8C5 PRG:08C5 A5 D5 - beq Label_C8CC ; CPU:$C8C7 PRG:08C7 F0 03 - jmp $C838 ; CPU:$C8C9 PRG:08C9 4C 38 C8 + beq Sub_8764_OnZero_C8CC ; CPU:$C8C7 PRG:08C7 F0 03 + jmp SubCC838 ; CPU:$C8C9 PRG:08C9 4C 38 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_C8CC +; Routine: Sub_8764_OnZero_C8CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2516,19 +2516,19 @@ Label_C8B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8CC: - jsr $C8E8 ; CPU:$C8CC PRG:08CC 20 E8 C8 - jsr $C3E2 ; CPU:$C8CF PRG:08CF 20 E2 C3 +Sub_8764_OnZero_C8CC: + jsr SubCC8E8 ; CPU:$C8CC PRG:08CC 20 E8 C8 + jsr SubCC3E2 ; CPU:$C8CF PRG:08CF 20 E2 C3 lda #$00 ; CPU:$C8D2 PRG:08D2 A9 00 - jsr $C447 ; CPU:$C8D4 PRG:08D4 20 47 C4 + jsr SubCC447 ; CPU:$C8D4 PRG:08D4 20 47 C4 lda #$F0 ; CPU:$C8D7 PRG:08D7 A9 F0 sta Zp4E ; CPU:$C8D9 PRG:08D9 85 4E lda #$C8 ; CPU:$C8DB PRG:08DB A9 C8 sta Zp4F ; CPU:$C8DD PRG:08DD 85 4F - jsr $C94D ; CPU:$C8DF PRG:08DF 20 4D C9 - jsr $C032 ; CPU:$C8E2 PRG:08E2 20 32 C0 + jsr SubCC94D ; CPU:$C8DF PRG:08DF 20 4D C9 + jsr SubCC032 ; CPU:$C8E2 PRG:08E2 20 32 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E5 +; Routine: Sub_8764_OnZero_C8E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2536,10 +2536,10 @@ Label_C8CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E5: - jmp $C719 ; CPU:$C8E5 PRG:08E5 4C 19 C7 +Sub_8764_OnZero_C8E5: + jmp SubCC719 ; CPU:$C8E5 PRG:08E5 4C 19 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_C8E8 +; Routine: SubCC8E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2547,7 +2547,7 @@ Label_C8E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8E8: +SubCC8E8: ldx #$FF ; CPU:$C8E8 PRG:08E8 A2 FF stx ZpB7 ; CPU:$C8EA PRG:08EA 86 B7 inx ; CPU:$C8EC PRG:08EC E8 @@ -2556,7 +2556,7 @@ Label_C8E8: ; ---- data $C8F0-$C8FA (11 bytes) ---- .byte $67, $61, $6D, $65, $7F, $7F, $6F, $76, $65, $72, $00 ; CPU:$C8F0 PRG:08F0 67 61 6D 65 7F 7F 6F 76 65 72 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C8FB +; Routine: SubCC8FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2564,12 +2564,12 @@ Label_C8E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C8FB: +SubCC8FB: lda #$B0 ; CPU:$C8FB PRG:08FB A9 B0 - sta Zp00 ; CPU:$C8FD PRG:08FD 85 00 + sta PtrLo ; CPU:$C8FD PRG:08FD 85 00 lda #$28 ; CPU:$C8FF PRG:08FF A9 28 ; ----------------------------------------------------------------------------- -; Routine: Label_C901 +; Routine: SubCC901 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2577,12 +2577,12 @@ Label_C8FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C901: +SubCC901: sta Zp4C ; CPU:$C901 PRG:0901 85 4C lda #$06 ; CPU:$C903 PRG:0903 A9 06 sta Zp02 ; CPU:$C905 PRG:0905 85 02 ; ----------------------------------------------------------------------------- -; Routine: Label_C907 +; Routine: SubCC907 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2590,10 +2590,10 @@ Label_C901: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C907: +SubCC907: stx Zp49 ; CPU:$C907 PRG:0907 86 49 ; ----------------------------------------------------------------------------- -; Routine: Label_C909 +; Routine: Sub_8764_OnNonzero_C909 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2601,21 +2601,21 @@ Label_C907: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C909: +Sub_8764_OnNonzero_C909: ldx Zp4C ; CPU:$C909 PRG:0909 A6 4C lda $0240,x ; CPU:$C90B PRG:090B BD 40 02 ldx Zp49 ; CPU:$C90E PRG:090E A6 49 - jsr $C927 ; CPU:$C910 PRG:0910 20 27 C9 + jsr SubCC927 ; CPU:$C910 PRG:0910 20 27 C9 lda Zp49 ; CPU:$C913 PRG:0913 A5 49 clc ; CPU:$C915 PRG:0915 18 adc #$08 ; CPU:$C916 PRG:0916 69 08 sta Zp49 ; CPU:$C918 PRG:0918 85 49 inc Zp4C ; CPU:$C91A PRG:091A E6 4C dec Zp02 ; CPU:$C91C PRG:091C C6 02 - bne Label_C909 ; CPU:$C91E PRG:091E D0 E9 + bne Sub_8764_OnNonzero_C909 ; CPU:$C91E PRG:091E D0 E9 rts ; CPU:$C920 PRG:0920 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C921 +; Routine: SubCC921 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2623,11 +2623,11 @@ Label_C909: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C921: +SubCC921: ldx #$98 ; CPU:$C921 PRG:0921 A2 98 - bne Label_C92A ; CPU:$C923 PRG:0923 D0 05 + bne Sub_8764_OnNonzero_C92A ; CPU:$C923 PRG:0923 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C925 +; Routine: SubCC925 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2635,10 +2635,10 @@ Label_C921: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C925: +SubCC925: ldy #$D0 ; CPU:$C925 PRG:0925 A0 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_C927 +; Routine: SubCC927 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2646,11 +2646,11 @@ Label_C925: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C927: +SubCC927: sec ; CPU:$C927 PRG:0927 38 sbc #$23 ; CPU:$C928 PRG:0928 E9 23 ; ----------------------------------------------------------------------------- -; Routine: Label_C92A +; Routine: Sub_8764_OnNonzero_C92A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2658,9 +2658,9 @@ Label_C927: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C92A: +Sub_8764_OnNonzero_C92A: stx Zp52 ; CPU:$C92A PRG:092A 86 52 - ldx Zp00 ; CPU:$C92C PRG:092C A6 00 + ldx PtrLo ; CPU:$C92C PRG:092C A6 00 asl a ; CPU:$C92E PRG:092E 0A asl a ; CPU:$C92F PRG:092F 0A asl a ; CPU:$C930 PRG:0930 0A @@ -2673,13 +2673,13 @@ Label_C92A: sta $0702,x ; CPU:$C93D PRG:093D 9D 02 07 lda Zp52 ; CPU:$C940 PRG:0940 A5 52 sta $0703,x ; CPU:$C942 PRG:0942 9D 03 07 - lda Zp00 ; CPU:$C945 PRG:0945 A5 00 + lda PtrLo ; CPU:$C945 PRG:0945 A5 00 clc ; CPU:$C947 PRG:0947 18 adc #$04 ; CPU:$C948 PRG:0948 69 04 - sta Zp00 ; CPU:$C94A PRG:094A 85 00 + sta PtrLo ; CPU:$C94A PRG:094A 85 00 rts ; CPU:$C94C PRG:094C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C94D +; Routine: SubCC94D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2687,14 +2687,14 @@ Label_C92A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C94D: +SubCC94D: lda #$21 ; CPU:$C94D PRG:094D A9 21 - sta $2006 ; CPU:$C94F PRG:094F 8D 06 20 + sta PPUADDR ; CPU:$C94F PRG:094F 8D 06 20 ldx #$AA ; CPU:$C952 PRG:0952 A2 AA - stx $2006 ; CPU:$C954 PRG:0954 8E 06 20 - jsr $C53F ; CPU:$C957 PRG:0957 20 3F C5 + stx PPUADDR ; CPU:$C954 PRG:0954 8E 06 20 + jsr SubCC53F ; CPU:$C957 PRG:0957 20 3F C5 ; ----------------------------------------------------------------------------- -; Routine: Label_C95A +; Routine: SubCC95A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2702,15 +2702,15 @@ Label_C94D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C95A: - jsr $C3F4 ; CPU:$C95A PRG:095A 20 F4 C3 - jsr $CDE2 ; CPU:$C95D PRG:095D 20 E2 CD +SubCC95A: + jsr SubCC3F4 ; CPU:$C95A PRG:095A 20 F4 C3 + jsr SubCCDE2 ; CPU:$C95D PRG:095D 20 E2 CD lda #$00 ; CPU:$C960 PRG:0960 A9 00 - sta ZpC4 ; CPU:$C962 PRG:0962 85 C4 - jsr $C407 ; CPU:$C964 PRG:0964 20 07 C4 + sta NmiPathSelector ; CPU:$C962 PRG:0962 85 C4 + jsr SubCC407 ; CPU:$C964 PRG:0964 20 07 C4 lda #$90 ; CPU:$C967 PRG:0967 A9 90 ; ----------------------------------------------------------------------------- -; Routine: Label_C969 +; Routine: SubCC969 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2718,15 +2718,15 @@ Label_C95A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C969: - sta $2000 ; CPU:$C969 PRG:0969 8D 00 20 - sta ZpC2 ; CPU:$C96C PRG:096C 85 C2 +SubCC969: + sta PPUCTRL ; CPU:$C969 PRG:0969 8D 00 20 + sta PpuCtrlShadow ; CPU:$C96C PRG:096C 85 C2 rts ; CPU:$C96E PRG:096E 60 ; ---- data $C96F-$C98D (31 bytes) ---- .byte $72, $6F, $75, $6E, $64, $DB, $66, $61, $63, $74, $6F, $72, $79, $D9, $6C, $65 ; CPU:$C96F PRG:096F 72 6F 75 6E 64 DB 66 61 63 74 6F 72 79 D9 6C 65 .byte $66, $74, $FA, $73, $63, $6F, $72, $65, $BB, $74, $7F, $6F, $7F, $70, $00 ; CPU:$C97F PRG:097F 66 74 FA 73 63 6F 72 65 BB 74 7F 6F 7F 70 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C98E +; Routine: SubCC98E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2734,11 +2734,11 @@ Label_C969: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C98E: +SubCC98E: lda #$00 ; CPU:$C98E PRG:098E A9 00 tax ; CPU:$C990 PRG:0990 AA ; ----------------------------------------------------------------------------- -; Routine: Label_C991 +; Routine: Sub_8764_OnNonzero_C991 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2746,17 +2746,17 @@ Label_C98E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C991: +Sub_8764_OnNonzero_C991: sta $0300,x ; CPU:$C991 PRG:0991 9D 00 03 sta $0400,x ; CPU:$C994 PRG:0994 9D 00 04 sta $0500,x ; CPU:$C997 PRG:0997 9D 00 05 sta $0600,x ; CPU:$C99A PRG:099A 9D 00 06 inx ; CPU:$C99D PRG:099D E8 - bne Label_C991 ; CPU:$C99E PRG:099E D0 F1 + bne Sub_8764_OnNonzero_C991 ; CPU:$C99E PRG:099E D0 F1 ldx #$67 ; CPU:$C9A0 PRG:09A0 A2 67 lda #$00 ; CPU:$C9A2 PRG:09A2 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C9A4 +; Routine: Sub_8764_OnNonnegative_C9A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2764,13 +2764,13 @@ Label_C991: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9A4: +Sub_8764_OnNonnegative_C9A4: sta $0200,x ; CPU:$C9A4 PRG:09A4 9D 00 02 dex ; CPU:$C9A7 PRG:09A7 CA - bpl Label_C9A4 ; CPU:$C9A8 PRG:09A8 10 FA + bpl Sub_8764_OnNonnegative_C9A4 ; CPU:$C9A8 PRG:09A8 10 FA rts ; CPU:$C9AA PRG:09AA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AB +; Routine: SubCC9AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2778,10 +2778,10 @@ Label_C9A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AB: +SubCC9AB: ldx #$38 ; CPU:$C9AB PRG:09AB A2 38 ; ----------------------------------------------------------------------------- -; Routine: Label_C9AD +; Routine: Sub_8764_OnNonnegative_C9AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2789,15 +2789,15 @@ Label_C9AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9AD: +Sub_8764_OnNonnegative_C9AD: lda $CC83,x ; CPU:$C9AD PRG:09AD BD 83 CC sta $0667,x ; CPU:$C9B0 PRG:09B0 9D 67 06 dex ; CPU:$C9B3 PRG:09B3 CA - bpl Label_C9AD ; CPU:$C9B4 PRG:09B4 10 F7 + bpl Sub_8764_OnNonnegative_C9AD ; CPU:$C9B4 PRG:09B4 10 F7 ldx #$05 ; CPU:$C9B6 PRG:09B6 A2 05 lda #$0A ; CPU:$C9B8 PRG:09B8 A9 0A ; ----------------------------------------------------------------------------- -; Routine: Label_C9BA +; Routine: Sub_8764_OnNonnegative_C9BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2805,10 +2805,10 @@ Label_C9AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9BA: +Sub_8764_OnNonnegative_C9BA: sta $06A7,x ; CPU:$C9BA PRG:09BA 9D A7 06 dex ; CPU:$C9BD PRG:09BD CA - bpl Label_C9BA ; CPU:$C9BE PRG:09BE 10 FA + bpl Sub_8764_OnNonnegative_C9BA ; CPU:$C9BE PRG:09BE 10 FA lda #$6E ; CPU:$C9C0 PRG:09C0 A9 6E sta ZpBE ; CPU:$C9C2 PRG:09C2 85 BE lda #$04 ; CPU:$C9C4 PRG:09C4 A9 04 @@ -2817,7 +2817,7 @@ Label_C9BA: sta ZpC0 ; CPU:$C9CA PRG:09CA 85 C0 ldx #$05 ; CPU:$C9CC PRG:09CC A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_C9CE +; Routine: Sub_8764_OnNonnegative_C9CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2825,13 +2825,13 @@ Label_C9BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9CE: - jsr $C9DE ; CPU:$C9CE PRG:09CE 20 DE C9 +Sub_8764_OnNonnegative_C9CE: + jsr SubCC9DE ; CPU:$C9CE PRG:09CE 20 DE C9 dex ; CPU:$C9D1 PRG:09D1 CA - bpl Label_C9CE ; CPU:$C9D2 PRG:09D2 10 FA + bpl Sub_8764_OnNonnegative_C9CE ; CPU:$C9D2 PRG:09D2 10 FA rts ; CPU:$C9D4 PRG:09D4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_C9D5 +; Routine: SubCC9D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2839,13 +2839,13 @@ Label_C9CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9D5: +SubCC9D5: stx Zp25 ; CPU:$C9D5 PRG:09D5 86 25 ldx #$01 ; CPU:$C9D7 PRG:09D7 A2 01 - jsr $CA74 ; CPU:$C9D9 PRG:09D9 20 74 CA + jsr SubCCA74 ; CPU:$C9D9 PRG:09D9 20 74 CA ldx Zp25 ; CPU:$C9DC PRG:09DC A6 25 ; ----------------------------------------------------------------------------- -; Routine: Label_C9DE +; Routine: SubCC9DE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2853,12 +2853,12 @@ Label_C9D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9DE: +SubCC9DE: stx Zp25 ; CPU:$C9DE PRG:09DE 86 25 lda #$03 ; CPU:$C9E0 PRG:09E0 A9 03 - sta Zp00 ; CPU:$C9E2 PRG:09E2 85 00 + sta PtrLo ; CPU:$C9E2 PRG:09E2 85 00 ; ----------------------------------------------------------------------------- -; Routine: Label_C9E4 +; Routine: Sub_8764_OnNonzero_C9E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2866,23 +2866,23 @@ Label_C9DE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_C9E4: +Sub_8764_OnNonzero_C9E4: ldx Zp25 ; CPU:$C9E4 PRG:09E4 A6 25 - jsr $CA04 ; CPU:$C9E6 PRG:09E6 20 04 CA - dec Zp00 ; CPU:$C9E9 PRG:09E9 C6 00 - bne Label_C9E4 ; CPU:$C9EB PRG:09EB D0 F7 + jsr SubCCA04 ; CPU:$C9E6 PRG:09E6 20 04 CA + dec PtrLo ; CPU:$C9E9 PRG:09E9 C6 00 + bne Sub_8764_OnNonzero_C9E4 ; CPU:$C9EB PRG:09EB D0 F7 ldx Zp25 ; CPU:$C9ED PRG:09ED A6 25 - jsr $CA72 ; CPU:$C9EF PRG:09EF 20 72 CA + jsr SubCCA72 ; CPU:$C9EF PRG:09EF 20 72 CA ldx Zp25 ; CPU:$C9F2 PRG:09F2 A6 25 - jsr $CAA8 ; CPU:$C9F4 PRG:09F4 20 A8 CA + jsr SubCCAA8 ; CPU:$C9F4 PRG:09F4 20 A8 CA ldx Zp25 ; CPU:$C9F7 PRG:09F7 A6 25 - jsr $CAE6 ; CPU:$C9F9 PRG:09F9 20 E6 CA + jsr SubCCAE6 ; CPU:$C9F9 PRG:09F9 20 E6 CA ldx Zp25 ; CPU:$C9FC PRG:09FC A6 25 - jsr $CAFC ; CPU:$C9FE PRG:09FE 20 FC CA + jsr SubCCAFC ; CPU:$C9FE PRG:09FE 20 FC CA ldx Zp25 ; CPU:$CA01 PRG:0A01 A6 25 rts ; CPU:$CA03 PRG:0A03 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA04 +; Routine: SubCCA04 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2890,13 +2890,13 @@ Label_C9E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA04: +SubCCA04: lda #$00 ; CPU:$CA04 PRG:0A04 A9 00 sta Zp03 ; CPU:$CA06 PRG:0A06 85 03 sta Zp26 ; CPU:$CA08 PRG:0A08 85 26 ldy #$54 ; CPU:$CA0A PRG:0A0A A0 54 ; ----------------------------------------------------------------------------- -; Routine: Label_CA0C +; Routine: Sub_8764_OnCarrySet_CA0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2904,18 +2904,18 @@ Label_CA04: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA0C: +Sub_8764_OnCarrySet_CA0C: lda $035E,y ; CPU:$CA0C PRG:0A0C B9 5E 03 - bmi Label_CA22 ; CPU:$CA0F PRG:0A0F 30 11 + bmi Sub_8764_OnNegative_CA22 ; CPU:$CA0F PRG:0A0F 30 11 lda $04AB,y ; CPU:$CA11 PRG:0A11 B9 AB 04 cmp $CBDB,x ; CPU:$CA14 PRG:0A14 DD DB CB - bne Label_CA24 ; CPU:$CA17 PRG:0A17 D0 0B + bne Sub_8764_JoinBranchPaths_CA24 ; CPU:$CA17 PRG:0A17 D0 0B inc Zp03 ; CPU:$CA19 PRG:0A19 E6 03 lda Zp03 ; CPU:$CA1B PRG:0A1B A5 03 cmp #$04 ; CPU:$CA1D PRG:0A1D C9 04 - bcc Label_CA24 ; CPU:$CA1F PRG:0A1F 90 03 + bcc Sub_8764_JoinBranchPaths_CA24 ; CPU:$CA1F PRG:0A1F 90 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CA21 +; Routine: Sub_8764_OnZero_CA21 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2923,10 +2923,10 @@ Label_CA0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA21: +Sub_8764_OnZero_CA21: rts ; CPU:$CA21 PRG:0A21 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA22 +; Routine: Sub_8764_OnNegative_CA22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2934,10 +2934,10 @@ Label_CA21: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA22: +Sub_8764_OnNegative_CA22: sty Zp26 ; CPU:$CA22 PRG:0A22 84 26 ; ----------------------------------------------------------------------------- -; Routine: Label_CA24 +; Routine: Sub_8764_JoinBranchPaths_CA24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2945,12 +2945,12 @@ Label_CA22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA24: +Sub_8764_JoinBranchPaths_CA24: dey ; CPU:$CA24 PRG:0A24 88 cpy #$3D ; CPU:$CA25 PRG:0A25 C0 3D - bcs Label_CA0C ; CPU:$CA27 PRG:0A27 B0 E3 + bcs Sub_8764_OnCarrySet_CA0C ; CPU:$CA27 PRG:0A27 B0 E3 ldy Zp26 ; CPU:$CA29 PRG:0A29 A4 26 - beq Label_CA21 ; CPU:$CA2B PRG:0A2B F0 F4 + beq Sub_8764_OnZero_CA21 ; CPU:$CA2B PRG:0A2B F0 F4 lda $CBDB,x ; CPU:$CA2D PRG:0A2D BD DB CB sta $04AB,y ; CPU:$CA30 PRG:0A30 99 AB 04 lda $CBE1,x ; CPU:$CA33 PRG:0A33 BD E1 CB @@ -2964,11 +2964,11 @@ Label_CA24: lda $CBF9,x ; CPU:$CA4B PRG:0A4B BD F9 CB sta $02EF,y ; CPU:$CA4E PRG:0A4E 99 EF 02 dec ZpE3,x ; CPU:$CA51 PRG:0A51 D6 E3 - bpl Label_CA59 ; CPU:$CA53 PRG:0A53 10 04 + bpl Sub_8764_OnNonnegative_CA59 ; CPU:$CA53 PRG:0A53 10 04 lda #$02 ; CPU:$CA55 PRG:0A55 A9 02 sta ZpE3,x ; CPU:$CA57 PRG:0A57 95 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_CA59 +; Routine: Sub_8764_OnNonnegative_CA59 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2976,17 +2976,17 @@ Label_CA24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA59: +Sub_8764_OnNonnegative_CA59: lda ZpE3,x ; CPU:$CA59 PRG:0A59 B5 E3 - beq Label_CA66 ; CPU:$CA5B PRG:0A5B F0 09 + beq Sub_8764_OnZero_CA66 ; CPU:$CA5B PRG:0A5B F0 09 cmp #$01 ; CPU:$CA5D PRG:0A5D C9 01 - beq Label_CA6B ; CPU:$CA5F PRG:0A5F F0 0A + beq Sub_8764_OnZero_CA6B ; CPU:$CA5F PRG:0A5F F0 0A txa ; CPU:$CA61 PRG:0A61 8A clc ; CPU:$CA62 PRG:0A62 18 adc #$06 ; CPU:$CA63 PRG:0A63 69 06 tax ; CPU:$CA65 PRG:0A65 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CA66 +; Routine: Sub_8764_OnZero_CA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -2994,13 +2994,13 @@ Label_CA59: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA66: +Sub_8764_OnZero_CA66: txa ; CPU:$CA66 PRG:0A66 8A clc ; CPU:$CA67 PRG:0A67 18 adc #$06 ; CPU:$CA68 PRG:0A68 69 06 tax ; CPU:$CA6A PRG:0A6A AA ; ----------------------------------------------------------------------------- -; Routine: Label_CA6B +; Routine: Sub_8764_OnZero_CA6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3008,12 +3008,12 @@ Label_CA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA6B: +Sub_8764_OnZero_CA6B: lda $CBFF,x ; CPU:$CA6B PRG:0A6B BD FF CB sta $051A,y ; CPU:$CA6E PRG:0A6E 99 1A 05 rts ; CPU:$CA71 PRG:0A71 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA72 +; Routine: SubCCA72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3021,10 +3021,10 @@ Label_CA6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA72: +SubCCA72: ldx #$00 ; CPU:$CA72 PRG:0A72 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CA74 +; Routine: SubCCA74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3032,13 +3032,13 @@ Label_CA72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA74: +SubCCA74: lda ZpBE ; CPU:$CA74 PRG:0A74 A5 BE cmp #$6E ; CPU:$CA76 PRG:0A76 C9 6E - beq Label_CA86 ; CPU:$CA78 PRG:0A78 F0 0C + beq Sub_8764_OnZero_CA86 ; CPU:$CA78 PRG:0A78 F0 0C ldy #$6E ; CPU:$CA7A PRG:0A7A A0 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CA7C +; Routine: Sub_8764_OnCarrySet_CA7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3046,14 +3046,14 @@ Label_CA74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA7C: +Sub_8764_OnCarrySet_CA7C: lda $035E,y ; CPU:$CA7C PRG:0A7C B9 5E 03 - bmi Label_CA87 ; CPU:$CA7F PRG:0A7F 30 06 + bmi Sub_8764_OnNegative_CA87 ; CPU:$CA7F PRG:0A7F 30 06 dey ; CPU:$CA81 PRG:0A81 88 cpy ZpBE ; CPU:$CA82 PRG:0A82 C4 BE - bcs Label_CA7C ; CPU:$CA84 PRG:0A84 B0 F6 + bcs Sub_8764_OnCarrySet_CA7C ; CPU:$CA84 PRG:0A84 B0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_CA86 +; Routine: Sub_8764_OnZero_CA86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3061,10 +3061,10 @@ Label_CA7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA86: +Sub_8764_OnZero_CA86: rts ; CPU:$CA86 PRG:0A86 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CA87 +; Routine: Sub_8764_OnNegative_CA87 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3072,7 +3072,7 @@ Label_CA86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CA87: +Sub_8764_OnNegative_CA87: txa ; CPU:$CA87 PRG:0A87 8A sta $04AB,y ; CPU:$CA88 PRG:0A88 99 AB 04 lda #$84 ; CPU:$CA8B PRG:0A8B A9 84 @@ -3082,11 +3082,11 @@ Label_CA87: sta $051A,y ; CPU:$CA95 PRG:0A95 99 1A 05 lda ZpB1 ; CPU:$CA98 PRG:0A98 A5 B1 cmp #$03 ; CPU:$CA9A PRG:0A9A C9 03 - bcs Label_CAA2 ; CPU:$CA9C PRG:0A9C B0 04 + bcs Sub_8764_OnCarrySet_CAA2 ; CPU:$CA9C PRG:0A9C B0 04 lda #$06 ; CPU:$CA9E PRG:0A9E A9 06 - bne Label_CAA4 ; CPU:$CAA0 PRG:0AA0 D0 02 + bne Sub_8764_OnNonzero_CAA4 ; CPU:$CAA0 PRG:0AA0 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA2 +; Routine: Sub_8764_OnCarrySet_CAA2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3094,10 +3094,10 @@ Label_CA87: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA2: +Sub_8764_OnCarrySet_CAA2: lda #$02 ; CPU:$CAA2 PRG:0AA2 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA4 +; Routine: Sub_8764_OnNonzero_CAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3105,11 +3105,11 @@ Label_CAA2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA4: +Sub_8764_OnNonzero_CAA4: sta $03CD,y ; CPU:$CAA4 PRG:0AA4 99 CD 03 rts ; CPU:$CAA7 PRG:0AA7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CAA8 +; Routine: SubCCAA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3117,9 +3117,9 @@ Label_CAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAA8: +SubCCAA8: lda $0391,x ; CPU:$CAA8 PRG:0AA8 BD 91 03 - bpl Label_CAD3 ; CPU:$CAAB PRG:0AAB 10 26 + bpl Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAAB PRG:0AAB 10 26 lda #$29 ; CPU:$CAAD PRG:0AAD A9 29 sta $04DE,x ; CPU:$CAAF PRG:0AAF 9D DE 04 lda #$9C ; CPU:$CAB2 PRG:0AB2 A9 9C @@ -3135,7 +3135,7 @@ Label_CAA8: lda $CAE0,x ; CPU:$CACD PRG:0ACD BD E0 CA sta $054D,x ; CPU:$CAD0 PRG:0AD0 9D 4D 05 ; ----------------------------------------------------------------------------- -; Routine: Label_CAD3 +; Routine: Sub_8764_JoinBranchPaths_CAD3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3143,7 +3143,7 @@ Label_CAA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAD3: +Sub_8764_JoinBranchPaths_CAD3: rts ; CPU:$CAD3 PRG:0AD3 60 ; ---- data $CAD4-$CAE5 (18 bytes) ---- ; referenced by `lda $CAD4,x` at $CAB7 (operand $CAD4 falls inside this region) @@ -3152,7 +3152,7 @@ Label_CAD3: .byte $83, $85, $07, $63, $C9, $4B, $03, $42, $44, $46, $86, $41, $04, $0C, $13, $16 ; CPU:$CAD4 PRG:0AD4 83 85 07 63 C9 4B 03 42 44 46 86 41 04 0C 13 16 .byte $1B, $23 ; CPU:$CAE4 PRG:0AE4 1B 23 ; ----------------------------------------------------------------------------- -; Routine: Label_CAE6 +; Routine: SubCCAE6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3160,18 +3160,18 @@ Label_CAD3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAE6: - jsr $CB5A ; CPU:$CAE6 PRG:0AE6 20 5A CB - bcc Label_CAD3 ; CPU:$CAE9 PRG:0AE9 90 E8 +SubCCAE6: + jsr SubCCB5A ; CPU:$CAE6 PRG:0AE6 20 5A CB + bcc Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAE9 PRG:0AE9 90 E8 lda #$92 ; CPU:$CAEB PRG:0AEB A9 92 sta $043C,y ; CPU:$CAED PRG:0AED 99 3C 04 ldx Zp25 ; CPU:$CAF0 PRG:0AF0 A6 25 lda $CB85,x ; CPU:$CAF2 PRG:0AF2 BD 85 CB sta Zp03 ; CPU:$CAF5 PRG:0AF5 85 03 lda $CB7F,x ; CPU:$CAF7 PRG:0AF7 BD 7F CB - bne Label_CB10 ; CPU:$CAFA PRG:0AFA D0 14 + bne Sub_8764_OnNonzero_CB10 ; CPU:$CAFA PRG:0AFA D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_CAFC +; Routine: SubCCAFC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3179,9 +3179,9 @@ Label_CAE6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CAFC: - jsr $CB5A ; CPU:$CAFC PRG:0AFC 20 5A CB - bcc Label_CAD3 ; CPU:$CAFF PRG:0AFF 90 D2 +SubCCAFC: + jsr SubCCB5A ; CPU:$CAFC PRG:0AFC 20 5A CB + bcc Sub_8764_JoinBranchPaths_CAD3 ; CPU:$CAFF PRG:0AFF 90 D2 lda #$78 ; CPU:$CB01 PRG:0B01 A9 78 sta $043C,y ; CPU:$CB03 PRG:0B03 99 3C 04 ldx Zp25 ; CPU:$CB06 PRG:0B06 A6 25 @@ -3189,7 +3189,7 @@ Label_CAFC: sta Zp03 ; CPU:$CB0B PRG:0B0B 85 03 lda $CB8B,x ; CPU:$CB0D PRG:0B0D BD 8B CB ; ----------------------------------------------------------------------------- -; Routine: Label_CB10 +; Routine: Sub_8764_OnNonzero_CB10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3197,11 +3197,11 @@ Label_CAFC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB10: +Sub_8764_OnNonzero_CB10: tax ; CPU:$CB10 PRG:0B10 AA sty Zp27 ; CPU:$CB11 PRG:0B11 84 27 ; ----------------------------------------------------------------------------- -; Routine: Label_CB13 +; Routine: Sub_8764_OnCarryClear_CB13 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3209,17 +3209,17 @@ Label_CB10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB13: +Sub_8764_OnCarryClear_CB13: lda $CB97,x ; CPU:$CB13 PRG:0B13 BD 97 CB tay ; CPU:$CB16 PRG:0B16 A8 lda $0667,y ; CPU:$CB17 PRG:0B17 B9 67 06 - bpl Label_CB22 ; CPU:$CB1A PRG:0B1A 10 06 + bpl Sub_8764_OnNonnegative_CB22 ; CPU:$CB1A PRG:0B1A 10 06 inx ; CPU:$CB1C PRG:0B1C E8 cpx Zp03 ; CPU:$CB1D PRG:0B1D E4 03 - bcc Label_CB13 ; CPU:$CB1F PRG:0B1F 90 F2 + bcc Sub_8764_OnCarryClear_CB13 ; CPU:$CB1F PRG:0B1F 90 F2 rts ; CPU:$CB21 PRG:0B21 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB22 +; Routine: Sub_8764_OnNonnegative_CB22 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3227,7 +3227,7 @@ Label_CB13: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB22: +Sub_8764_OnNonnegative_CB22: tya ; CPU:$CB22 PRG:0B22 98 tax ; CPU:$CB23 PRG:0B23 AA ldy Zp27 ; CPU:$CB24 PRG:0B24 A4 27 @@ -3253,7 +3253,7 @@ Label_CB22: sta $05E3,y ; CPU:$CB56 PRG:0B56 99 E3 05 rts ; CPU:$CB59 PRG:0B59 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB5A +; Routine: SubCCB5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3261,10 +3261,10 @@ Label_CB22: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB5A: +SubCCB5A: ldy #$32 ; CPU:$CB5A PRG:0B5A A0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CB5C +; Routine: Sub_8764_OnCarrySet_CB5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3272,15 +3272,15 @@ Label_CB5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB5C: +Sub_8764_OnCarrySet_CB5C: lda $035E,y ; CPU:$CB5C PRG:0B5C B9 5E 03 - bmi Label_CB76 ; CPU:$CB5F PRG:0B5F 30 15 + bmi Sub_8764_OnNegative_CB76 ; CPU:$CB5F PRG:0B5F 30 15 dey ; CPU:$CB61 PRG:0B61 88 cpy #$15 ; CPU:$CB62 PRG:0B62 C0 15 - bcs Label_CB5C ; CPU:$CB64 PRG:0B64 B0 F6 + bcs Sub_8764_OnCarrySet_CB5C ; CPU:$CB64 PRG:0B64 B0 F6 ldy #$32 ; CPU:$CB66 PRG:0B66 A0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_CB68 +; Routine: Sub_8764_OnCarrySet_CB68 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3288,15 +3288,15 @@ Label_CB5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB68: +Sub_8764_OnCarrySet_CB68: lda $05E3,y ; CPU:$CB68 PRG:0B68 B9 E3 05 tax ; CPU:$CB6B PRG:0B6B AA lda $036D,x ; CPU:$CB6C PRG:0B6C BD 6D 03 - bpl Label_CB78 ; CPU:$CB6F PRG:0B6F 10 07 + bpl Sub_8764_OnNonnegative_CB78 ; CPU:$CB6F PRG:0B6F 10 07 lda #$FF ; CPU:$CB71 PRG:0B71 A9 FF sta $035E,y ; CPU:$CB73 PRG:0B73 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_CB76 +; Routine: Sub_8764_OnNegative_CB76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3304,11 +3304,11 @@ Label_CB68: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB76: +Sub_8764_OnNegative_CB76: sec ; CPU:$CB76 PRG:0B76 38 rts ; CPU:$CB77 PRG:0B77 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CB78 +; Routine: Sub_8764_OnNonnegative_CB78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3316,10 +3316,10 @@ Label_CB76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CB78: +Sub_8764_OnNonnegative_CB78: dey ; CPU:$CB78 PRG:0B78 88 cpy #$15 ; CPU:$CB79 PRG:0B79 C0 15 - bcs Label_CB68 ; CPU:$CB7B PRG:0B7B B0 EB + bcs Sub_8764_OnCarrySet_CB68 ; CPU:$CB7B PRG:0B7B B0 EB clc ; CPU:$CB7D PRG:0B7D 18 rts ; CPU:$CB7E PRG:0B7E 60 ; ---- data $CB7F-$CCBB (317 bytes) ---- @@ -3351,7 +3351,7 @@ Label_CB78: .byte $0A, $0A, $0A, $0B, $0B, $0B, $02, $02, $05, $07, $02, $05, $07, $07, $01, $03 ; CPU:$CC9F PRG:0C9F 0A 0A 0A 0B 0B 0B 02 02 05 07 02 05 07 07 01 03 .byte $04, $04, $07, $09, $0A, $0A, $08, $0A, $08, $0A, $0A, $0C, $0C ; CPU:$CCAF PRG:0CAF 04 04 07 09 0A 0A 08 0A 08 0A 0A 0C 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CCBC +; Routine: SubCCCBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3359,11 +3359,11 @@ Label_CB78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCBC: +SubCCCBC: ldx #$01 ; CPU:$CCBC PRG:0CBC A2 01 - bne Label_CCC2 ; CPU:$CCBE PRG:0CBE D0 02 + bne Sub_8764_JoinBranchPaths_CCC2 ; CPU:$CCBE PRG:0CBE D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CCC0 +; Routine: SubCCCC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3371,10 +3371,10 @@ Label_CCBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC0: +SubCCCC0: ldx #$09 ; CPU:$CCC0 PRG:0CC0 A2 09 ; ----------------------------------------------------------------------------- -; Routine: Label_CCC2 +; Routine: Sub_8764_JoinBranchPaths_CCC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3382,7 +3382,7 @@ Label_CCC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CCC2: +Sub_8764_JoinBranchPaths_CCC2: lda $CCEA,x ; CPU:$CCC2 PRG:0CC2 BD EA CC sta $028B,x ; CPU:$CCC5 PRG:0CC5 9D 8B 02 lda $CCF4,x ; CPU:$CCC8 PRG:0CC8 BD F4 CC @@ -3396,7 +3396,7 @@ Label_CCC2: lda $CD1C,x ; CPU:$CCE0 PRG:0CE0 BD 1C CD sta $04B6,x ; CPU:$CCE3 PRG:0CE3 9D B6 04 dex ; CPU:$CCE6 PRG:0CE6 CA - bpl Label_CCC2 ; CPU:$CCE7 PRG:0CE7 10 D9 + bpl Sub_8764_JoinBranchPaths_CCC2 ; CPU:$CCE7 PRG:0CE7 10 D9 rts ; CPU:$CCE9 PRG:0CE9 60 ; ---- data $CCEA-$CD25 (60 bytes) ---- ; referenced by `lda $CCEA,x` at $CCC2 (operand $CCEA falls inside this region) @@ -3410,7 +3410,7 @@ Label_CCC2: .byte $00, $00, $02, $02, $04, $06, $06, $01, $66, $67, $64, $65, $AA, $AA, $AA, $AA ; CPU:$CD0A PRG:0D0A 00 00 02 02 04 06 06 01 66 67 64 65 AA AA AA AA .byte $AA, $AA, $3C, $3C, $3C, $3C, $3F, $32, $3B, $3D, $33, $38 ; CPU:$CD1A PRG:0D1A AA AA 3C 3C 3C 3C 3F 32 3B 3D 33 38 ; ----------------------------------------------------------------------------- -; Routine: Label_CD26 +; Routine: SubCCD26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3418,11 +3418,11 @@ Label_CCC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD26: +SubCCD26: lda #$00 ; CPU:$CD26 PRG:0D26 A9 00 tax ; CPU:$CD28 PRG:0D28 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CD29 +; Routine: Sub_8764_OnNonzero_CD29 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3430,14 +3430,14 @@ Label_CD26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD29: - sta Zp00,x ; CPU:$CD29 PRG:0D29 95 00 +Sub_8764_OnNonzero_CD29: + sta PtrLo,x ; CPU:$CD29 PRG:0D29 95 00 inx ; CPU:$CD2B PRG:0D2B E8 cpx #$A5 ; CPU:$CD2C PRG:0D2C E0 A5 - bne Label_CD29 ; CPU:$CD2E PRG:0D2E D0 F9 + bne Sub_8764_OnNonzero_CD29 ; CPU:$CD2E PRG:0D2E D0 F9 ldx #$07 ; CPU:$CD30 PRG:0D30 A2 07 ; ----------------------------------------------------------------------------- -; Routine: Label_CD32 +; Routine: Sub_8764_OnNonnegative_CD32 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3445,14 +3445,14 @@ Label_CD29: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD32: +Sub_8764_OnNonnegative_CD32: sta $0589,x ; CPU:$CD32 PRG:0D32 9D 89 05 dex ; CPU:$CD35 PRG:0D35 CA - bpl Label_CD32 ; CPU:$CD36 PRG:0D36 10 FA + bpl Sub_8764_OnNonnegative_CD32 ; CPU:$CD36 PRG:0D36 10 FA lda #$FF ; CPU:$CD38 PRG:0D38 A9 FF ldx #$0F ; CPU:$CD3A PRG:0D3A A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_CD3C +; Routine: Sub_8764_OnNonnegative_CD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3460,15 +3460,15 @@ Label_CD32: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD3C: +Sub_8764_OnNonnegative_CD3C: sta Zp65,x ; CPU:$CD3C PRG:0D3C 95 65 sta Zp95,x ; CPU:$CD3E PRG:0D3E 95 95 dex ; CPU:$CD40 PRG:0D40 CA - bpl Label_CD3C ; CPU:$CD41 PRG:0D41 10 F9 + bpl Sub_8764_OnNonnegative_CD3C ; CPU:$CD41 PRG:0D41 10 F9 ldx #$02 ; CPU:$CD43 PRG:0D43 A2 02 lda #$00 ; CPU:$CD45 PRG:0D45 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CD47 +; Routine: Sub_8764_OnNonnegative_CD47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3476,14 +3476,14 @@ Label_CD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD47: +Sub_8764_OnNonnegative_CD47: sta Zp65,x ; CPU:$CD47 PRG:0D47 95 65 sta Zp6D,x ; CPU:$CD49 PRG:0D49 95 6D dex ; CPU:$CD4B PRG:0D4B CA - bpl Label_CD47 ; CPU:$CD4C PRG:0D4C 10 F9 + bpl Sub_8764_OnNonnegative_CD47 ; CPU:$CD4C PRG:0D4C 10 F9 ldx #$6E ; CPU:$CD4E PRG:0D4E A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_CD50 +; Routine: Sub_8764_OnNonnegative_CD50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3491,26 +3491,26 @@ Label_CD47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD50: +Sub_8764_OnNonnegative_CD50: lda $04AB,x ; CPU:$CD50 PRG:0D50 BD AB 04 and #$7F ; CPU:$CD53 PRG:0D53 29 7F sta $04AB,x ; CPU:$CD55 PRG:0D55 9D AB 04 dex ; CPU:$CD58 PRG:0D58 CA - bpl Label_CD50 ; CPU:$CD59 PRG:0D59 10 F5 + bpl Sub_8764_OnNonnegative_CD50 ; CPU:$CD59 PRG:0D59 10 F5 lda #$83 ; CPU:$CD5B PRG:0D5B A9 83 sta $043E ; CPU:$CD5D PRG:0D5D 8D 3E 04 lda #$22 ; CPU:$CD60 PRG:0D60 A9 22 sta $04AD ; CPU:$CD62 PRG:0D62 8D AD 04 lda #$FA ; CPU:$CD65 PRG:0D65 A9 FA sta $0368 ; CPU:$CD67 PRG:0D67 8D 68 03 - jsr $D00A ; CPU:$CD6A PRG:0D6A 20 0A D0 + jsr SubCD00A ; CPU:$CD6A PRG:0D6A 20 0A D0 lda #$28 ; CPU:$CD6D PRG:0D6D A9 28 sta $0254 ; CPU:$CD6F PRG:0D6F 8D 54 02 lda #$D2 ; CPU:$CD72 PRG:0D72 A9 D2 sta $0240 ; CPU:$CD74 PRG:0D74 8D 40 02 ldx #$00 ; CPU:$CD77 PRG:0D77 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CD79 +; Routine: Sub_8764_OnNonzero_CD79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3518,25 +3518,25 @@ Label_CD50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD79: +Sub_8764_OnNonzero_CD79: lda $CE08,x ; CPU:$CD79 PRG:0D79 BD 08 CE sta ZpA5,x ; CPU:$CD7C PRG:0D7C 95 A5 inx ; CPU:$CD7E PRG:0D7E E8 cpx #$16 ; CPU:$CD7F PRG:0D7F E0 16 - bne Label_CD79 ; CPU:$CD81 PRG:0D81 D0 F6 - jsr $D43A ; CPU:$CD83 PRG:0D83 20 3A D4 + bne Sub_8764_OnNonzero_CD79 ; CPU:$CD81 PRG:0D81 D0 F6 + jsr SubCD43A ; CPU:$CD83 PRG:0D83 20 3A D4 dec ZpD5 ; CPU:$CD86 PRG:0D86 C6 D5 lda ZpD5 ; CPU:$CD88 PRG:0D88 A5 D5 cmp #$04 ; CPU:$CD8A PRG:0D8A C9 04 - beq Label_CDF4 ; CPU:$CD8C PRG:0D8C F0 66 + beq Sub_8764_OnZero_CDF4 ; CPU:$CD8C PRG:0D8C F0 66 dec $0267 ; CPU:$CD8E PRG:0D8E CE 67 02 lda $02FA ; CPU:$CD91 PRG:0D91 AD FA 02 sta Zp2D ; CPU:$CD94 PRG:0D94 85 2D lda $03D8 ; CPU:$CD96 PRG:0D96 AD D8 03 sta Zp2E ; CPU:$CD99 PRG:0D99 85 2E - jsr $CCBC ; CPU:$CD9B PRG:0D9B 20 BC CC + jsr SubCCCBC ; CPU:$CD9B PRG:0D9B 20 BC CC ; ----------------------------------------------------------------------------- -; Routine: Label_CD9E +; Routine: Sub_8764_OnNonzero_CD9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3544,10 +3544,10 @@ Label_CD79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CD9E: - jsr $C3EB ; CPU:$CD9E PRG:0D9E 20 EB C3 +Sub_8764_OnNonzero_CD9E: + jsr SubCC3EB ; CPU:$CD9E PRG:0D9E 20 EB C3 ; ----------------------------------------------------------------------------- -; Routine: Label_CDA1 +; Routine: SubCCDA1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3555,15 +3555,15 @@ Label_CD9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDA1: +SubCCDA1: lda $03D8 ; CPU:$CDA1 PRG:0DA1 AD D8 03 cmp Zp2E ; CPU:$CDA4 PRG:0DA4 C5 2E - bne Label_CDAF ; CPU:$CDA6 PRG:0DA6 D0 07 + bne Sub_8764_OnNonzero_CDAF ; CPU:$CDA6 PRG:0DA6 D0 07 lda $02FA ; CPU:$CDA8 PRG:0DA8 AD FA 02 cmp Zp2D ; CPU:$CDAB PRG:0DAB C5 2D - beq Label_CDBB ; CPU:$CDAD PRG:0DAD F0 0C + beq Sub_8764_OnZero_CDBB ; CPU:$CDAD PRG:0DAD F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CDAF +; Routine: Sub_8764_OnNonzero_CDAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3571,13 +3571,13 @@ Label_CDA1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDAF: - jsr $D9E7 ; CPU:$CDAF PRG:0DAF 20 E7 D9 - jsr $E7C0 ; CPU:$CDB2 PRG:0DB2 20 C0 E7 - jsr $E82D ; CPU:$CDB5 PRG:0DB5 20 2D E8 - jmp $CDA1 ; CPU:$CDB8 PRG:0DB8 4C A1 CD +Sub_8764_OnNonzero_CDAF: + jsr SubCD9E7 ; CPU:$CDAF PRG:0DAF 20 E7 D9 + jsr SubCE7C0 ; CPU:$CDB2 PRG:0DB2 20 C0 E7 + jsr SubCE82D ; CPU:$CDB5 PRG:0DB5 20 2D E8 + jmp SubCCDA1 ; CPU:$CDB8 PRG:0DB8 4C A1 CD ; ----------------------------------------------------------------------------- -; Routine: Label_CDBB +; Routine: Sub_8764_OnZero_CDBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3585,11 +3585,11 @@ Label_CDAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDBB: - jsr $F127 ; CPU:$CDBB PRG:0DBB 20 27 F1 +Sub_8764_OnZero_CDBB: + jsr SubCF127 ; CPU:$CDBB PRG:0DBB 20 27 F1 ldx #$E4 ; CPU:$CDBE PRG:0DBE A2 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_CDC0 +; Routine: Sub_8764_OnNonzero_CDC0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3597,17 +3597,17 @@ Label_CDBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDC0: +Sub_8764_OnNonzero_CDC0: txa ; CPU:$CDC0 PRG:0DC0 8A pha ; CPU:$CDC1 PRG:0DC1 48 - jsr $E7C0 ; CPU:$CDC2 PRG:0DC2 20 C0 E7 + jsr SubCE7C0 ; CPU:$CDC2 PRG:0DC2 20 C0 E7 pla ; CPU:$CDC5 PRG:0DC5 68 tax ; CPU:$CDC6 PRG:0DC6 AA dex ; CPU:$CDC7 PRG:0DC7 CA - bne Label_CDC0 ; CPU:$CDC8 PRG:0DC8 D0 F6 + bne Sub_8764_OnNonzero_CDC0 ; CPU:$CDC8 PRG:0DC8 D0 F6 ldx #$C8 ; CPU:$CDCA PRG:0DCA A2 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_CDCC +; Routine: Sub_8764_OnNonzero_CDCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3615,17 +3615,17 @@ Label_CDC0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDCC: +Sub_8764_OnNonzero_CDCC: txa ; CPU:$CDCC PRG:0DCC 8A pha ; CPU:$CDCD PRG:0DCD 48 - jsr $E7A6 ; CPU:$CDCE PRG:0DCE 20 A6 E7 + jsr SubCE7A6 ; CPU:$CDCE PRG:0DCE 20 A6 E7 pla ; CPU:$CDD1 PRG:0DD1 68 tax ; CPU:$CDD2 PRG:0DD2 AA dex ; CPU:$CDD3 PRG:0DD3 CA - bne Label_CDCC ; CPU:$CDD4 PRG:0DD4 D0 F6 + bne Sub_8764_OnNonzero_CDCC ; CPU:$CDD4 PRG:0DD4 D0 F6 ldx #$0C ; CPU:$CDD6 PRG:0DD6 A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CDD8 +; Routine: Sub_8764_OnNonzero_CDD8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3633,16 +3633,16 @@ Label_CDCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDD8: +Sub_8764_OnNonzero_CDD8: txa ; CPU:$CDD8 PRG:0DD8 8A pha ; CPU:$CDD9 PRG:0DD9 48 - jsr $E7D6 ; CPU:$CDDA PRG:0DDA 20 D6 E7 + jsr SubCE7D6 ; CPU:$CDDA PRG:0DDA 20 D6 E7 pla ; CPU:$CDDD PRG:0DDD 68 tax ; CPU:$CDDE PRG:0DDE AA dex ; CPU:$CDDF PRG:0DDF CA - bne Label_CDD8 ; CPU:$CDE0 PRG:0DE0 D0 F6 + bne Sub_8764_OnNonzero_CDD8 ; CPU:$CDE0 PRG:0DE0 D0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_CDE2 +; Routine: SubCCDE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3650,16 +3650,16 @@ Label_CDD8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDE2: - jsr $C407 ; CPU:$CDE2 PRG:0DE2 20 07 C4 +SubCCDE2: + jsr SubCC407 ; CPU:$CDE2 PRG:0DE2 20 07 C4 lda #$00 ; CPU:$CDE5 PRG:0DE5 A9 00 - sta $2003 ; CPU:$CDE7 PRG:0DE7 8D 03 20 + sta OAMADDR ; CPU:$CDE7 PRG:0DE7 8D 03 20 lda #$07 ; CPU:$CDEA PRG:0DEA A9 07 - sta $4014 ; CPU:$CDEC PRG:0DEC 8D 14 40 + sta OAMDMA ; CPU:$CDEC PRG:0DEC 8D 14 40 lda #$1E ; CPU:$CDEF PRG:0DEF A9 1E - jmp $C3F0 ; CPU:$CDF1 PRG:0DF1 4C F0 C3 + jmp SubCC3F0 ; CPU:$CDF1 PRG:0DF1 4C F0 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_CDF4 +; Routine: Sub_8764_OnZero_CDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3667,22 +3667,22 @@ Label_CDE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CDF4: - jsr $C412 ; CPU:$CDF4 PRG:0DF4 20 12 C4 +Sub_8764_OnZero_CDF4: + jsr SubCC412 ; CPU:$CDF4 PRG:0DF4 20 12 C4 sta Zp2D ; CPU:$CDF7 PRG:0DF7 85 2D - jsr $C412 ; CPU:$CDF9 PRG:0DF9 20 12 C4 + jsr SubCC412 ; CPU:$CDF9 PRG:0DF9 20 12 C4 and #$07 ; CPU:$CDFC PRG:0DFC 29 07 sta Zp2E ; CPU:$CDFE PRG:0DFE 85 2E cmp #$07 ; CPU:$CE00 PRG:0E00 C9 07 - bne Label_CD9E ; CPU:$CE02 PRG:0E02 D0 9A + bne Sub_8764_OnNonzero_CD9E ; CPU:$CE02 PRG:0E02 D0 9A dec Zp2E ; CPU:$CE04 PRG:0E04 C6 2E - bne Label_CD9E ; CPU:$CE06 PRG:0E06 D0 96 + bne Sub_8764_OnNonzero_CD9E ; CPU:$CE06 PRG:0E06 D0 96 ; ---- data $CE08-$CE1D (22 bytes) ---- ; referenced by `lda $CE08,x` at $CD79 (operand $CE08 falls inside this region) .byte $07, $44, $80, $80, $80, $80, $FA, $0A, $40, $2A, $0B, $F6, $06, $61, $5A, $AA ; CPU:$CE08 PRG:0E08 07 44 80 80 80 80 FA 0A 40 2A 0B F6 06 61 5A AA .byte $87, $2E, $FF, $0A, $02, $0C ; CPU:$CE18 PRG:0E18 87 2E FF 0A 02 0C ; ----------------------------------------------------------------------------- -; Routine: Label_CE1E +; Routine: SubCCE1E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3690,10 +3690,10 @@ Label_CDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE1E: +SubCCE1E: lda #$02 ; CPU:$CE1E PRG:0E1E A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CE20 +; Routine: SubCCE20 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3701,7 +3701,7 @@ Label_CE1E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE20: +SubCCE20: pha ; CPU:$CE20 PRG:0E20 48 sta Zp0D ; CPU:$CE21 PRG:0E21 85 0D lda #$30 ; CPU:$CE23 PRG:0E23 A9 30 @@ -3710,7 +3710,7 @@ Label_CE20: sta ZpA6 ; CPU:$CE29 PRG:0E29 85 A6 pla ; CPU:$CE2B PRG:0E2B 68 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2C +; Routine: Sub_8764_OnZero_CE2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3718,10 +3718,10 @@ Label_CE20: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2C: +Sub_8764_OnZero_CE2C: rts ; CPU:$CE2C PRG:0E2C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE2D +; Routine: SubCCE2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3729,11 +3729,11 @@ Label_CE2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE2D: +SubCCE2D: ldx Zp0D ; CPU:$CE2D PRG:0E2D A6 0D - beq Label_CE2C ; CPU:$CE2F PRG:0E2F F0 FB + beq Sub_8764_OnZero_CE2C ; CPU:$CE2F PRG:0E2F F0 FB dec Zp0E ; CPU:$CE31 PRG:0E31 C6 0E - beq Label_CE81 ; CPU:$CE33 PRG:0E33 F0 4C + beq Sub_8764_OnZero_CE81 ; CPU:$CE33 PRG:0E33 F0 4C dex ; CPU:$CE35 PRG:0E35 CA lda $CEC9,x ; CPU:$CE36 PRG:0E36 BD C9 CE sta Zp4E ; CPU:$CE39 PRG:0E39 85 4E @@ -3742,8 +3742,8 @@ Label_CE2D: ldx Zp0E ; CPU:$CE40 PRG:0E40 A6 0E txa ; CPU:$CE42 PRG:0E42 8A and #$04 ; CPU:$CE43 PRG:0E43 29 04 - bne Label_CE8F ; CPU:$CE45 PRG:0E45 D0 48 - jsr $CE8F ; CPU:$CE47 PRG:0E47 20 8F CE + bne SubCCE8F ; CPU:$CE45 PRG:0E45 D0 48 + jsr SubCCE8F ; CPU:$CE47 PRG:0E47 20 8F CE lda #$38 ; CPU:$CE4A PRG:0E4A A9 38 sta Zp54 ; CPU:$CE4C PRG:0E4C 85 54 txa ; CPU:$CE4E PRG:0E4E 8A @@ -3752,7 +3752,7 @@ Label_CE2D: pha ; CPU:$CE51 PRG:0E51 48 ldy #$FF ; CPU:$CE52 PRG:0E52 A0 FF ; ----------------------------------------------------------------------------- -; Routine: Label_CE54 +; Routine: Sub_8764_OnZero_CE54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3760,17 +3760,17 @@ Label_CE2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE54: +Sub_8764_OnZero_CE54: iny ; CPU:$CE54 PRG:0E54 C8 lda (Zp4E),y ; CPU:$CE55 PRG:0E55 B1 4E cmp #$FF ; CPU:$CE57 PRG:0E57 C9 FF - beq Label_CE7C ; CPU:$CE59 PRG:0E59 F0 21 + beq Sub_8764_OnZero_CE7C ; CPU:$CE59 PRG:0E59 F0 21 sta Zp49 ; CPU:$CE5B PRG:0E5B 85 49 iny ; CPU:$CE5D PRG:0E5D C8 lda (Zp4E),y ; CPU:$CE5E PRG:0E5E B1 4E sta Zp4A ; CPU:$CE60 PRG:0E60 85 4A ; ----------------------------------------------------------------------------- -; Routine: Label_CE62 +; Routine: SubCCE62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3778,18 +3778,18 @@ Label_CE54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE62: +SubCCE62: iny ; CPU:$CE62 PRG:0E62 C8 lda (Zp4E),y ; CPU:$CE63 PRG:0E63 B1 4E sta Zp4B ; CPU:$CE65 PRG:0E65 85 4B - beq Label_CE54 ; CPU:$CE67 PRG:0E67 F0 EB + beq Sub_8764_OnZero_CE54 ; CPU:$CE67 PRG:0E67 F0 EB cmp #$20 ; CPU:$CE69 PRG:0E69 C9 20 - beq Label_CE74 ; CPU:$CE6B PRG:0E6B F0 07 + beq Sub_8764_OnZero_CE74 ; CPU:$CE6B PRG:0E6B F0 07 lda Zp54 ; CPU:$CE6D PRG:0E6D A5 54 - jsr $C56D ; CPU:$CE6F PRG:0E6F 20 6D C5 + jsr SubCC56D ; CPU:$CE6F PRG:0E6F 20 6D C5 inc Zp54 ; CPU:$CE72 PRG:0E72 E6 54 ; ----------------------------------------------------------------------------- -; Routine: Label_CE74 +; Routine: Sub_8764_OnZero_CE74 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3797,12 +3797,12 @@ Label_CE62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE74: +Sub_8764_OnZero_CE74: lda #$08 ; CPU:$CE74 PRG:0E74 A9 08 - jsr $F18C ; CPU:$CE76 PRG:0E76 20 8C F1 - jmp $CE62 ; CPU:$CE79 PRG:0E79 4C 62 CE + jsr SubCF18C ; CPU:$CE76 PRG:0E76 20 8C F1 + jmp SubCCE62 ; CPU:$CE79 PRG:0E79 4C 62 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE7C +; Routine: Sub_8764_OnZero_CE7C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3810,14 +3810,14 @@ Label_CE74: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE7C: +Sub_8764_OnZero_CE7C: pla ; CPU:$CE7C PRG:0E7C 68 tay ; CPU:$CE7D PRG:0E7D A8 pla ; CPU:$CE7E PRG:0E7E 68 tax ; CPU:$CE7F PRG:0E7F AA rts ; CPU:$CE80 PRG:0E80 60 ; ----------------------------------------------------------------------------- -; Routine: Label_CE81 +; Routine: Sub_8764_OnZero_CE81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3825,16 +3825,16 @@ Label_CE7C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE81: +Sub_8764_OnZero_CE81: lda #$00 ; CPU:$CE81 PRG:0E81 A9 00 sta Zp0D ; CPU:$CE83 PRG:0E83 85 0D lda #$44 ; CPU:$CE85 PRG:0E85 A9 44 sta ZpA6 ; CPU:$CE87 PRG:0E87 85 A6 lda ZpCA ; CPU:$CE89 PRG:0E89 A5 CA - bne Label_CE8F ; CPU:$CE8B PRG:0E8B D0 02 + bne SubCCE8F ; CPU:$CE8B PRG:0E8B D0 02 sta ZpCE ; CPU:$CE8D PRG:0E8D 85 CE ; ----------------------------------------------------------------------------- -; Routine: Label_CE8F +; Routine: SubCCE8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3842,10 +3842,10 @@ Label_CE81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CE8F: +SubCCE8F: ldx #$E0 ; CPU:$CE8F PRG:0E8F A2 E0 ldy #$20 ; CPU:$CE91 PRG:0E91 A0 20 - jmp $C463 ; CPU:$CE93 PRG:0E93 4C 63 C4 + jmp SubCC463 ; CPU:$CE93 PRG:0E93 4C 63 C4 ; ---- data $CE96-$CED2 (61 bytes) ---- ; referenced by `lda $CEC9,x` at $CE36 (operand $CEC9 falls inside this region) ; referenced by `lda $CECE,x` at $CE3B (operand $CECE falls inside this region) @@ -3854,7 +3854,7 @@ Label_CE8F: .byte $3D, $25, $8E, $65, $54, $74, $00, $FF, $64, $3D, $55, $34, $65, $45, $A7, $25 ; CPU:$CEB6 PRG:0EB6 3D 25 8E 65 54 74 00 FF 64 3D 55 34 65 45 A7 25 .byte $8E, $00, $FF, $96, $A1, $AC, $B5, $BE, $CE, $CE, $CE, $CE, $CE ; CPU:$CEC6 PRG:0EC6 8E 00 FF 96 A1 AC B5 BE CE CE CE CE CE ; ----------------------------------------------------------------------------- -; Routine: Label_CED3 +; Routine: SubCCED3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3862,7 +3862,7 @@ Label_CE8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CED3: +SubCCED3: ldx #$00 ; CPU:$CED3 PRG:0ED3 A2 00 stx Zp15 ; CPU:$CED5 PRG:0ED5 86 15 stx Zp16 ; CPU:$CED7 PRG:0ED7 86 16 @@ -3875,9 +3875,9 @@ Label_CED3: stx ZpAA ; CPU:$CEE3 PRG:0EE3 86 AA lda #$05 ; CPU:$CEE5 PRG:0EE5 A9 05 sta ZpA5 ; CPU:$CEE7 PRG:0EE7 85 A5 - jsr $CFFF ; CPU:$CEE9 PRG:0EE9 20 FF CF + jsr SubCCFFF ; CPU:$CEE9 PRG:0EE9 20 FF CF ; ----------------------------------------------------------------------------- -; Routine: Label_CEEC +; Routine: SubCCEEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3885,16 +3885,16 @@ Label_CED3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEEC: +SubCCEEC: lda ZpAD ; CPU:$CEEC PRG:0EEC A5 AD - beq Label_CEFF ; CPU:$CEEE PRG:0EEE F0 0F - jsr $D2EB ; CPU:$CEF0 PRG:0EF0 20 EB D2 - jsr $D459 ; CPU:$CEF3 PRG:0EF3 20 59 D4 - jsr $D01A ; CPU:$CEF6 PRG:0EF6 20 1A D0 - jsr $D2D7 ; CPU:$CEF9 PRG:0EF9 20 D7 D2 - jmp $CEEC ; CPU:$CEFC PRG:0EFC 4C EC CE + beq Sub_8764_OnZero_CEFF ; CPU:$CEEE PRG:0EEE F0 0F + jsr SubCD2EB ; CPU:$CEF0 PRG:0EF0 20 EB D2 + jsr SubCD459 ; CPU:$CEF3 PRG:0EF3 20 59 D4 + jsr SubCD01A ; CPU:$CEF6 PRG:0EF6 20 1A D0 + jsr SubCD2D7 ; CPU:$CEF9 PRG:0EF9 20 D7 D2 + jmp SubCCEEC ; CPU:$CEFC PRG:0EFC 4C EC CE ; ----------------------------------------------------------------------------- -; Routine: Label_CEFF +; Routine: Sub_8764_OnZero_CEFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3902,12 +3902,12 @@ Label_CEEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CEFF: +Sub_8764_OnZero_CEFF: lda #$80 ; CPU:$CEFF PRG:0EFF A9 80 sta ZpA9 ; CPU:$CF01 PRG:0F01 85 A9 sta ZpAA ; CPU:$CF03 PRG:0F03 85 AA ; ----------------------------------------------------------------------------- -; Routine: Label_CF05 +; Routine: Sub_8764_JoinBranchPaths_CF05 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3915,24 +3915,24 @@ Label_CEFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF05: +Sub_8764_JoinBranchPaths_CF05: lda ZpAD ; CPU:$CF05 PRG:0F05 A5 AD - beq Label_CF45 ; CPU:$CF07 PRG:0F07 F0 3C - bpl Label_CED3 ; CPU:$CF09 PRG:0F09 10 C8 + beq Sub_8764_OnZero_CF45 ; CPU:$CF07 PRG:0F07 F0 3C + bpl SubCCED3 ; CPU:$CF09 PRG:0F09 10 C8 lda #$80 ; CPU:$CF0B PRG:0F0B A9 80 sta ZpA9 ; CPU:$CF0D PRG:0F0D 85 A9 sta ZpAA ; CPU:$CF0F PRG:0F0F 85 AA lda #$00 ; CPU:$CF11 PRG:0F11 A9 00 sta Zp13 ; CPU:$CF13 PRG:0F13 85 13 sta Zp14 ; CPU:$CF15 PRG:0F15 85 14 - jsr $D014 ; CPU:$CF17 PRG:0F17 20 14 D0 + jsr SubCD014 ; CPU:$CF17 PRG:0F17 20 14 D0 lda $024D ; CPU:$CF1A PRG:0F1A AD 4D 02 cmp #$28 ; CPU:$CF1D PRG:0F1D C9 28 - bcc Label_CF26 ; CPU:$CF1F PRG:0F1F 90 05 + bcc Sub_8764_JoinBranchPaths_CF26 ; CPU:$CF1F PRG:0F1F 90 05 lda #$28 ; CPU:$CF21 PRG:0F21 A9 28 sta $024D ; CPU:$CF23 PRG:0F23 8D 4D 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CF26 +; Routine: Sub_8764_JoinBranchPaths_CF26 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3940,14 +3940,14 @@ Label_CF05: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF26: - jsr $D2EB ; CPU:$CF26 PRG:0F26 20 EB D2 - jsr $D61B ; CPU:$CF29 PRG:0F29 20 1B D6 - bcc Label_CF33 ; CPU:$CF2C PRG:0F2C 90 05 +Sub_8764_JoinBranchPaths_CF26: + jsr SubCD2EB ; CPU:$CF26 PRG:0F26 20 EB D2 + jsr SubCD61B ; CPU:$CF29 PRG:0F29 20 1B D6 + bcc Sub_8764_OnCarryClear_CF33 ; CPU:$CF2C PRG:0F2C 90 05 inc $024C ; CPU:$CF2E PRG:0F2E EE 4C 02 - bne Label_CF8F ; CPU:$CF31 PRG:0F31 D0 5C + bne SubCCF8F ; CPU:$CF31 PRG:0F31 D0 5C ; ----------------------------------------------------------------------------- -; Routine: Label_CF33 +; Routine: Sub_8764_OnCarryClear_CF33 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3955,16 +3955,16 @@ Label_CF26: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF33: - jsr $D01A ; CPU:$CF33 PRG:0F33 20 1A D0 - jsr $D01A ; CPU:$CF36 PRG:0F36 20 1A D0 - jsr $D459 ; CPU:$CF39 PRG:0F39 20 59 D4 - jsr $D2D7 ; CPU:$CF3C PRG:0F3C 20 D7 D2 +Sub_8764_OnCarryClear_CF33: + jsr SubCD01A ; CPU:$CF33 PRG:0F33 20 1A D0 + jsr SubCD01A ; CPU:$CF36 PRG:0F36 20 1A D0 + jsr SubCD459 ; CPU:$CF39 PRG:0F39 20 59 D4 + jsr SubCD2D7 ; CPU:$CF3C PRG:0F3C 20 D7 D2 lda ZpAD ; CPU:$CF3F PRG:0F3F A5 AD - bne Label_CF26 ; CPU:$CF41 PRG:0F41 D0 E3 - beq Label_CEFF ; CPU:$CF43 PRG:0F43 F0 BA + bne Sub_8764_JoinBranchPaths_CF26 ; CPU:$CF41 PRG:0F41 D0 E3 + beq Sub_8764_OnZero_CEFF ; CPU:$CF43 PRG:0F43 F0 BA ; ----------------------------------------------------------------------------- -; Routine: Label_CF45 +; Routine: Sub_8764_OnZero_CF45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3972,18 +3972,18 @@ Label_CF33: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF45: - jsr $D2EB ; CPU:$CF45 PRG:0F45 20 EB D2 - jsr $D5E7 ; CPU:$CF48 PRG:0F48 20 E7 D5 +Sub_8764_OnZero_CF45: + jsr SubCD2EB ; CPU:$CF45 PRG:0F45 20 EB D2 + jsr SubCD5E7 ; CPU:$CF48 PRG:0F48 20 E7 D5 lda $0262 ; CPU:$CF4B PRG:0F4B AD 62 02 cmp #$23 ; CPU:$CF4E PRG:0F4E C9 23 - bne Label_CF62 ; CPU:$CF50 PRG:0F50 D0 10 - jsr $D194 ; CPU:$CF52 PRG:0F52 20 94 D1 - jsr $D194 ; CPU:$CF55 PRG:0F55 20 94 D1 + bne Sub_8764_OnNonzero_CF62 ; CPU:$CF50 PRG:0F50 D0 10 + jsr SubCD194 ; CPU:$CF52 PRG:0F52 20 94 D1 + jsr SubCD194 ; CPU:$CF55 PRG:0F55 20 94 D1 lda ZpA6 ; CPU:$CF58 PRG:0F58 A5 A6 - bmi Label_CF05 ; CPU:$CF5A PRG:0F5A 30 A9 + bmi Sub_8764_JoinBranchPaths_CF05 ; CPU:$CF5A PRG:0F5A 30 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_CF5C +; Routine: SubCCF5C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -3991,12 +3991,12 @@ Label_CF45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF5C: +SubCCF5C: inc ZpD3 ; CPU:$CF5C PRG:0F5C E6 D3 inc ZpD5 ; CPU:$CF5E PRG:0F5E E6 D5 - bne Label_CFDD ; CPU:$CF60 PRG:0F60 D0 7B + bne Sub_8764_OnNonzero_CFDD ; CPU:$CF60 PRG:0F60 D0 7B ; ----------------------------------------------------------------------------- -; Routine: Label_CF62 +; Routine: Sub_8764_OnNonzero_CF62 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4004,16 +4004,16 @@ Label_CF5C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF62: +Sub_8764_OnNonzero_CF62: lda $024C ; CPU:$CF62 PRG:0F62 AD 4C 02 cmp #$24 ; CPU:$CF65 PRG:0F65 C9 24 - bcc Label_CF05 ; CPU:$CF67 PRG:0F67 90 9C - jsr $D200 ; CPU:$CF69 PRG:0F69 20 00 D2 + bcc Sub_8764_JoinBranchPaths_CF05 ; CPU:$CF67 PRG:0F67 90 9C + jsr SubCD200 ; CPU:$CF69 PRG:0F69 20 00 D2 lda #$C8 ; CPU:$CF6C PRG:0F6C A9 C8 sta Zp3F ; CPU:$CF6E PRG:0F6E 85 3F sta ZpD1 ; CPU:$CF70 PRG:0F70 85 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_CF72 +; Routine: Sub_8764_OnNonzero_CF72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4021,14 +4021,14 @@ Label_CF62: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF72: - jsr $C412 ; CPU:$CF72 PRG:0F72 20 12 C4 +Sub_8764_OnNonzero_CF72: + jsr SubCC412 ; CPU:$CF72 PRG:0F72 20 12 C4 cmp #$80 ; CPU:$CF75 PRG:0F75 C9 80 - bcc Label_CF7D ; CPU:$CF77 PRG:0F77 90 04 + bcc Sub_8764_OnCarryClear_CF7D ; CPU:$CF77 PRG:0F77 90 04 inc ZpB6 ; CPU:$CF79 PRG:0F79 E6 B6 - bne Label_CF7F ; CPU:$CF7B PRG:0F7B D0 02 + bne Sub_8764_OnNonzero_CF7F ; CPU:$CF7B PRG:0F7B D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7D +; Routine: Sub_8764_OnCarryClear_CF7D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4036,10 +4036,10 @@ Label_CF72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7D: +Sub_8764_OnCarryClear_CF7D: dec ZpB6 ; CPU:$CF7D PRG:0F7D C6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_CF7F +; Routine: Sub_8764_OnNonzero_CF7F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4047,16 +4047,16 @@ Label_CF7D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF7F: +Sub_8764_OnNonzero_CF7F: inc Zp11 ; CPU:$CF7F PRG:0F7F E6 11 - jsr $D5E7 ; CPU:$CF81 PRG:0F81 20 E7 D5 + jsr SubCD5E7 ; CPU:$CF81 PRG:0F81 20 E7 D5 lda #$FF ; CPU:$CF84 PRG:0F84 A9 FF sta $0361 ; CPU:$CF86 PRG:0F86 8D 61 03 dec ZpD1 ; CPU:$CF89 PRG:0F89 C6 D1 dec Zp3F ; CPU:$CF8B PRG:0F8B C6 3F - bne Label_CF72 ; CPU:$CF8D PRG:0F8D D0 E3 + bne Sub_8764_OnNonzero_CF72 ; CPU:$CF8D PRG:0F8D D0 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_CF8F +; Routine: SubCCF8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4064,7 +4064,7 @@ Label_CF7F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CF8F: +SubCCF8F: lda #$32 ; CPU:$CF8F PRG:0F8F A9 32 sta $04AC ; CPU:$CF91 PRG:0F91 8D AC 04 lda #$FA ; CPU:$CF94 PRG:0F94 A9 FA @@ -4072,7 +4072,7 @@ Label_CF8F: sta $0361 ; CPU:$CF98 PRG:0F98 8D 61 03 ldx #$00 ; CPU:$CF9B PRG:0F9B A2 00 ldy #$30 ; CPU:$CF9D PRG:0F9D A0 30 - jsr $C463 ; CPU:$CF9F PRG:0F9F 20 63 C4 + jsr SubCC463 ; CPU:$CF9F PRG:0F9F 20 63 C4 lda #$AD ; CPU:$CFA2 PRG:0FA2 A9 AD sta ZpB2 ; CPU:$CFA4 PRG:0FA4 85 B2 sta ZpB3 ; CPU:$CFA6 PRG:0FA6 85 B3 @@ -4080,9 +4080,9 @@ Label_CF8F: sta ZpA5 ; CPU:$CFAA PRG:0FAA 85 A5 lda #$64 ; CPU:$CFAC PRG:0FAC A9 64 sta Zp3F ; CPU:$CFAE PRG:0FAE 85 3F - jsr $C515 ; CPU:$CFB0 PRG:0FB0 20 15 C5 + jsr SubCC515 ; CPU:$CFB0 PRG:0FB0 20 15 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB3 +; Routine: Sub_8764_OnZero_CFB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4090,10 +4090,10 @@ Label_CF8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB3: - jsr $D2CC ; CPU:$CFB3 PRG:0FB3 20 CC D2 +Sub_8764_OnZero_CFB3: + jsr SubCD2CC ; CPU:$CFB3 PRG:0FB3 20 CC D2 ; ----------------------------------------------------------------------------- -; Routine: Label_CFB6 +; Routine: Sub_8764_OnNonzero_CFB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4101,17 +4101,17 @@ Label_CFB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFB6: +Sub_8764_OnNonzero_CFB6: dec Zp3F ; CPU:$CFB6 PRG:0FB6 C6 3F - jsr $D191 ; CPU:$CFB8 PRG:0FB8 20 91 D1 + jsr SubCD191 ; CPU:$CFB8 PRG:0FB8 20 91 D1 lda Zp3F ; CPU:$CFBB PRG:0FBB A5 3F cmp #$60 ; CPU:$CFBD PRG:0FBD C9 60 - beq Label_CFB3 ; CPU:$CFBF PRG:0FBF F0 F2 + beq Sub_8764_OnZero_CFB3 ; CPU:$CFBF PRG:0FBF F0 F2 cmp #$55 ; CPU:$CFC1 PRG:0FC1 C9 55 - bcc Label_CFC8 ; CPU:$CFC3 PRG:0FC3 90 03 - jsr $D61B ; CPU:$CFC5 PRG:0FC5 20 1B D6 + bcc Sub_8764_OnCarryClear_CFC8 ; CPU:$CFC3 PRG:0FC3 90 03 + jsr SubCD61B ; CPU:$CFC5 PRG:0FC5 20 1B D6 ; ----------------------------------------------------------------------------- -; Routine: Label_CFC8 +; Routine: Sub_8764_OnCarryClear_CFC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4119,11 +4119,11 @@ Label_CFB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFC8: +Sub_8764_OnCarryClear_CFC8: lda Zp3F ; CPU:$CFC8 PRG:0FC8 A5 3F - bne Label_CFB6 ; CPU:$CFCA PRG:0FCA D0 EA + bne Sub_8764_OnNonzero_CFB6 ; CPU:$CFCA PRG:0FCA D0 EA ; ----------------------------------------------------------------------------- -; Routine: Label_CFCC +; Routine: Sub_8764_OnNegative_CFCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4131,16 +4131,16 @@ Label_CFC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFCC: - jsr $D191 ; CPU:$CFCC PRG:0FCC 20 91 D1 +Sub_8764_OnNegative_CFCC: + jsr SubCD191 ; CPU:$CFCC PRG:0FCC 20 91 D1 lda ZpA6 ; CPU:$CFCF PRG:0FCF A5 A6 - bmi Label_CFCC ; CPU:$CFD1 PRG:0FD1 30 F9 + bmi Sub_8764_OnNegative_CFCC ; CPU:$CFD1 PRG:0FD1 30 F9 lda $0262 ; CPU:$CFD3 PRG:0FD3 AD 62 02 cmp #$23 ; CPU:$CFD6 PRG:0FD6 C9 23 - bne Label_D019 ; CPU:$CFD8 PRG:0FD8 D0 3F - jmp $CF5C ; CPU:$CFDA PRG:0FDA 4C 5C CF + bne Sub_8764_OnNonzero_D019 ; CPU:$CFD8 PRG:0FD8 D0 3F + jmp SubCCF5C ; CPU:$CFDA PRG:0FDA 4C 5C CF ; ----------------------------------------------------------------------------- -; Routine: Label_CFDD +; Routine: Sub_8764_OnNonzero_CFDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4148,20 +4148,20 @@ Label_CFCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFDD: - jsr $C8E8 ; CPU:$CFDD PRG:0FDD 20 E8 C8 - jsr $C442 ; CPU:$CFE0 PRG:0FE0 20 42 C4 +Sub_8764_OnNonzero_CFDD: + jsr SubCC8E8 ; CPU:$CFDD PRG:0FDD 20 E8 C8 + jsr SubCC442 ; CPU:$CFE0 PRG:0FE0 20 42 C4 lda #$F4 ; CPU:$CFE3 PRG:0FE3 A9 F4 sta Zp4E ; CPU:$CFE5 PRG:0FE5 85 4E lda #$CF ; CPU:$CFE7 PRG:0FE7 A9 CF sta Zp4F ; CPU:$CFE9 PRG:0FE9 85 4F - jsr $C94D ; CPU:$CFEB PRG:0FEB 20 4D C9 - jsr $C032 ; CPU:$CFEE PRG:0FEE 20 32 C0 - jmp $C80A ; CPU:$CFF1 PRG:0FF1 4C 0A C8 + jsr SubCC94D ; CPU:$CFEB PRG:0FEB 20 4D C9 + jsr SubCC032 ; CPU:$CFEE PRG:0FEE 20 32 C0 + jmp SubCC80A ; CPU:$CFF1 PRG:0FF1 4C 0A C8 ; ---- data $CFF4-$CFFE (11 bytes) ---- .byte $7F, $7F, $63, $6F, $6D, $70, $6C, $65, $74, $65, $00 ; CPU:$CFF4 PRG:0FF4 7F 7F 63 6F 6D 70 6C 65 74 65 00 ; ----------------------------------------------------------------------------- -; Routine: Label_CFFF +; Routine: SubCCFFF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4169,14 +4169,14 @@ Label_CFDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_CFFF: +SubCCFFF: lda #$02 ; CPU:$CFFF PRG:0FFF A9 02 sta ZpB9 ; CPU:$D001 PRG:1001 85 B9 - jsr $D224 ; CPU:$D003 PRG:1003 20 24 D2 + jsr SubCD224 ; CPU:$D003 PRG:1003 20 24 D2 lda #$1F ; CPU:$D006 PRG:1006 A9 1F sta Zp3C ; CPU:$D008 PRG:1008 85 3C ; ----------------------------------------------------------------------------- -; Routine: Label_D00A +; Routine: SubCD00A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4184,11 +4184,11 @@ Label_CFFF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00A: +SubCD00A: lda #$23 ; CPU:$D00A PRG:100A A9 23 ldx #$02 ; CPU:$D00C PRG:100C A2 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D00E +; Routine: Sub_8764_OnNonnegative_D00E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4196,12 +4196,12 @@ Label_D00A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D00E: +Sub_8764_OnNonnegative_D00E: sta $024C,x ; CPU:$D00E PRG:100E 9D 4C 02 dex ; CPU:$D011 PRG:1011 CA - bpl Label_D00E ; CPU:$D012 PRG:1012 10 FA + bpl Sub_8764_OnNonnegative_D00E ; CPU:$D012 PRG:1012 10 FA ; ----------------------------------------------------------------------------- -; Routine: Label_D014 +; Routine: SubCD014 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4209,11 +4209,11 @@ Label_D00E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D014: +SubCD014: lda #$2C ; CPU:$D014 PRG:1014 A9 2C sta $0254 ; CPU:$D016 PRG:1016 8D 54 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D019 +; Routine: Sub_8764_OnNonzero_D019 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4221,10 +4221,10 @@ Label_D014: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D019: +Sub_8764_OnNonzero_D019: rts ; CPU:$D019 PRG:1019 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D01A +; Routine: SubCD01A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4232,29 +4232,29 @@ Label_D019: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D01A: +SubCD01A: ldy #$19 ; CPU:$D01A PRG:101A A0 19 - jsr $C043 ; CPU:$D01C PRG:101C 20 43 C0 - jsr $E83E ; CPU:$D01F PRG:101F 20 3E E8 - jsr $E28B ; CPU:$D022 PRG:1022 20 8B E2 - jsr $EAF6 ; CPU:$D025 PRG:1025 20 F6 EA - jsr $D800 ; CPU:$D028 PRG:1028 20 00 D8 - jsr $D199 ; CPU:$D02B PRG:102B 20 99 D1 - jsr $EEBC ; CPU:$D02E PRG:102E 20 BC EE - jsr $E157 ; CPU:$D031 PRG:1031 20 57 E1 - beq Label_D06F ; CPU:$D034 PRG:1034 F0 39 - lda $4016 ; CPU:$D036 PRG:1036 AD 16 40 + jsr SubCC043 ; CPU:$D01C PRG:101C 20 43 C0 + jsr SubCE83E ; CPU:$D01F PRG:101F 20 3E E8 + jsr SubCE28B ; CPU:$D022 PRG:1022 20 8B E2 + jsr SubCEAF6 ; CPU:$D025 PRG:1025 20 F6 EA + jsr SubCD800 ; CPU:$D028 PRG:1028 20 00 D8 + jsr SubCD199 ; CPU:$D02B PRG:102B 20 99 D1 + jsr SubCEEBC ; CPU:$D02E PRG:102E 20 BC EE + jsr SubCE157 ; CPU:$D031 PRG:1031 20 57 E1 + beq Sub_8764_JoinBranchPaths_D06F ; CPU:$D034 PRG:1034 F0 39 + lda JOY1 ; CPU:$D036 PRG:1036 AD 16 40 and #$04 ; CPU:$D039 PRG:1039 29 04 cmp ZpE1 ; CPU:$D03B PRG:103B C5 E1 - beq Label_D04A ; CPU:$D03D PRG:103D F0 0B + beq Sub_8764_JoinBranchPaths_D04A ; CPU:$D03D PRG:103D F0 0B sta ZpE1 ; CPU:$D03F PRG:103F 85 E1 lda ZpDF ; CPU:$D041 PRG:1041 A5 DF - bmi Label_D04A ; CPU:$D043 PRG:1043 30 05 + bmi Sub_8764_JoinBranchPaths_D04A ; CPU:$D043 PRG:1043 30 05 clc ; CPU:$D045 PRG:1045 18 adc #$08 ; CPU:$D046 PRG:1046 69 08 sta ZpDF ; CPU:$D048 PRG:1048 85 DF ; ----------------------------------------------------------------------------- -; Routine: Label_D04A +; Routine: Sub_8764_JoinBranchPaths_D04A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4262,15 +4262,15 @@ Label_D01A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D04A: +Sub_8764_JoinBranchPaths_D04A: lda ZpDF ; CPU:$D04A PRG:104A A5 DF - beq Label_D06F ; CPU:$D04C PRG:104C F0 21 + beq Sub_8764_JoinBranchPaths_D06F ; CPU:$D04C PRG:104C F0 21 ldx #$03 ; CPU:$D04E PRG:104E A2 03 cmp #$40 ; CPU:$D050 PRG:1050 C9 40 - bcc Label_D055 ; CPU:$D052 PRG:1052 90 01 + bcc Sub_8764_OnCarryClear_D055 ; CPU:$D052 PRG:1052 90 01 dex ; CPU:$D054 PRG:1054 CA ; ----------------------------------------------------------------------------- -; Routine: Label_D055 +; Routine: Sub_8764_OnCarryClear_D055 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4278,7 +4278,7 @@ Label_D04A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D055: +Sub_8764_OnCarryClear_D055: stx Zp4D ; CPU:$D055 PRG:1055 86 4D lda #$78 ; CPU:$D057 PRG:1057 A9 78 sta Zp49 ; CPU:$D059 PRG:1059 85 49 @@ -4287,12 +4287,12 @@ Label_D055: lda #$CC ; CPU:$D05F PRG:105F A9 CC sta Zp4B ; CPU:$D061 PRG:1061 85 4B lda #$01 ; CPU:$D063 PRG:1063 A9 01 - jsr $C5A6 ; CPU:$D065 PRG:1065 20 A6 C5 + jsr SubCC5A6 ; CPU:$D065 PRG:1065 20 A6 C5 dec ZpDF ; CPU:$D068 PRG:1068 C6 DF - bne Label_D06F ; CPU:$D06A PRG:106A D0 03 - jsr $D4C3 ; CPU:$D06C PRG:106C 20 C3 D4 + bne Sub_8764_JoinBranchPaths_D06F ; CPU:$D06A PRG:106A D0 03 + jsr SubCD4C3 ; CPU:$D06C PRG:106C 20 C3 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D06F +; Routine: Sub_8764_JoinBranchPaths_D06F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4300,12 +4300,12 @@ Label_D055: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D06F: +Sub_8764_JoinBranchPaths_D06F: lda Zp0D ; CPU:$D06F PRG:106F A5 0D - bne Label_D0A5 ; CPU:$D071 PRG:1071 D0 32 + bne Sub_8764_OnNonzero_D0A5 ; CPU:$D071 PRG:1071 D0 32 ldx #$0B ; CPU:$D073 PRG:1073 A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D075 +; Routine: Sub_8764_OnNonnegative_D075 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4313,30 +4313,30 @@ Label_D06F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D075: +Sub_8764_OnNonnegative_D075: lda $D119,x ; CPU:$D075 PRG:1075 BD 19 D1 sta $07F4,x ; CPU:$D078 PRG:1078 9D F4 07 dex ; CPU:$D07B PRG:107B CA - bpl Label_D075 ; CPU:$D07C PRG:107C 10 F7 + bpl Sub_8764_OnNonnegative_D075 ; CPU:$D07C PRG:107C 10 F7 lda #$E0 ; CPU:$D07E PRG:107E A9 E0 - sta Zp00 ; CPU:$D080 PRG:1080 85 00 + sta PtrLo ; CPU:$D080 PRG:1080 85 00 lda #$0C ; CPU:$D082 PRG:1082 A9 0C sta Zp4C ; CPU:$D084 PRG:1084 85 4C lda #$03 ; CPU:$D086 PRG:1086 A9 03 sta Zp02 ; CPU:$D088 PRG:1088 85 02 ldx #$78 ; CPU:$D08A PRG:108A A2 78 ldy #$B8 ; CPU:$D08C PRG:108C A0 B8 - jsr $C907 ; CPU:$D08E PRG:108E 20 07 C9 + jsr SubCC907 ; CPU:$D08E PRG:108E 20 07 C9 lda #$EC ; CPU:$D091 PRG:1091 A9 EC - sta Zp00 ; CPU:$D093 PRG:1093 85 00 + sta PtrLo ; CPU:$D093 PRG:1093 85 00 ldx #$6E ; CPU:$D095 PRG:1095 A2 6E lda $0254 ; CPU:$D097 PRG:1097 AD 54 02 - jsr $C925 ; CPU:$D09A PRG:109A 20 25 C9 + jsr SubCC925 ; CPU:$D09A PRG:109A 20 25 C9 ldx #$92 ; CPU:$D09D PRG:109D A2 92 lda $0262 ; CPU:$D09F PRG:109F AD 62 02 - jsr $C925 ; CPU:$D0A2 PRG:10A2 20 25 C9 + jsr SubCC925 ; CPU:$D0A2 PRG:10A2 20 25 C9 ; ----------------------------------------------------------------------------- -; Routine: Label_D0A5 +; Routine: Sub_8764_OnNonzero_D0A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4344,13 +4344,13 @@ Label_D075: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0A5: +Sub_8764_OnNonzero_D0A5: ldx #$0B ; CPU:$D0A5 PRG:10A5 A2 0B - jsr $ED61 ; CPU:$D0A7 PRG:10A7 20 61 ED - bcc Label_D0DD ; CPU:$D0AA PRG:10AA 90 31 + jsr SubCED61 ; CPU:$D0A7 PRG:10A7 20 61 ED + bcc Sub_8764_JoinBranchPaths_D0DD ; CPU:$D0AA PRG:10AA 90 31 ldx #$03 ; CPU:$D0AC PRG:10AC A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D0AE +; Routine: Sub_8764_OnNonnegative_D0AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4358,19 +4358,19 @@ Label_D0A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0AE: +Sub_8764_OnNonnegative_D0AE: lda $D115,x ; CPU:$D0AE PRG:10AE BD 15 D1 sta $07C8,x ; CPU:$D0B1 PRG:10B1 9D C8 07 dex ; CPU:$D0B4 PRG:10B4 CA - bpl Label_D0AE ; CPU:$D0B5 PRG:10B5 10 F7 + bpl Sub_8764_OnNonnegative_D0AE ; CPU:$D0B5 PRG:10B5 10 F7 ldx #$6E ; CPU:$D0B7 PRG:10B7 A2 6E ldy #$20 ; CPU:$D0B9 PRG:10B9 A0 20 - jsr $C8FB ; CPU:$D0BB PRG:10BB 20 FB C8 + jsr SubCC8FB ; CPU:$D0BB PRG:10BB 20 FB C8 ldx #$D0 ; CPU:$D0BE PRG:10BE A2 D0 ldy #$10 ; CPU:$D0C0 PRG:10C0 A0 10 - jsr $C463 ; CPU:$D0C2 PRG:10C2 20 63 C4 + jsr SubCC463 ; CPU:$D0C2 PRG:10C2 20 63 C4 lda $0240 ; CPU:$D0C5 PRG:10C5 AD 40 02 - beq Label_D0DD ; CPU:$D0C8 PRG:10C8 F0 13 + beq Sub_8764_JoinBranchPaths_D0DD ; CPU:$D0C8 PRG:10C8 F0 13 sta Zp4B ; CPU:$D0CA PRG:10CA 85 4B lda #$7A ; CPU:$D0CC PRG:10CC A9 7A sta Zp49 ; CPU:$D0CE PRG:10CE 85 49 @@ -4379,9 +4379,9 @@ Label_D0AE: lda #$03 ; CPU:$D0D4 PRG:10D4 A9 03 sta Zp4D ; CPU:$D0D6 PRG:10D6 85 4D lda #$33 ; CPU:$D0D8 PRG:10D8 A9 33 - jsr $C56D ; CPU:$D0DA PRG:10DA 20 6D C5 + jsr SubCC56D ; CPU:$D0DA PRG:10DA 20 6D C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D0DD +; Routine: Sub_8764_JoinBranchPaths_D0DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4389,13 +4389,13 @@ Label_D0AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0DD: +Sub_8764_JoinBranchPaths_D0DD: lda $0240 ; CPU:$D0DD PRG:10DD AD 40 02 - bne Label_D0E7 ; CPU:$D0E0 PRG:10E0 D0 05 + bne Sub_8764_OnNonzero_D0E7 ; CPU:$D0E0 PRG:10E0 D0 05 lda #$33 ; CPU:$D0E2 PRG:10E2 A9 33 - jsr $C55A ; CPU:$D0E4 PRG:10E4 20 5A C5 + jsr SubCC55A ; CPU:$D0E4 PRG:10E4 20 5A C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D0E7 +; Routine: Sub_8764_OnNonzero_D0E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4403,19 +4403,19 @@ Label_D0DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0E7: +Sub_8764_OnNonzero_D0E7: lda ZpD4 ; CPU:$D0E7 PRG:10E7 A5 D4 - beq Label_D125 ; CPU:$D0E9 PRG:10E9 F0 3A + beq Sub_8764_OnZero_D125 ; CPU:$D0E9 PRG:10E9 F0 3A lda Zp3F ; CPU:$D0EB PRG:10EB A5 3F - bne Label_D145 ; CPU:$D0ED PRG:10ED D0 56 + bne SubCD145 ; CPU:$D0ED PRG:10ED D0 56 lda ZpCA ; CPU:$D0EF PRG:10EF A5 CA - bne Label_D145 ; CPU:$D0F1 PRG:10F1 D0 52 - jsr $D110 ; CPU:$D0F3 PRG:10F3 20 10 D1 - beq Label_D145 ; CPU:$D0F6 PRG:10F6 F0 4D - jsr $C2C1 ; CPU:$D0F8 PRG:10F8 20 C1 C2 + bne SubCD145 ; CPU:$D0F1 PRG:10F1 D0 52 + jsr SubCD110 ; CPU:$D0F3 PRG:10F3 20 10 D1 + beq SubCD145 ; CPU:$D0F6 PRG:10F6 F0 4D + jsr SubCC2C1 ; CPU:$D0F8 PRG:10F8 20 C1 C2 dec ZpCF ; CPU:$D0FB PRG:10FB C6 CF ; ----------------------------------------------------------------------------- -; Routine: Label_D0FD +; Routine: Sub_8764_OnNonzero_D0FD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4423,11 +4423,11 @@ Label_D0E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D0FD: - jsr $D110 ; CPU:$D0FD PRG:10FD 20 10 D1 - bne Label_D0FD ; CPU:$D100 PRG:1100 D0 FB +Sub_8764_OnNonzero_D0FD: + jsr SubCD110 ; CPU:$D0FD PRG:10FD 20 10 D1 + bne Sub_8764_OnNonzero_D0FD ; CPU:$D100 PRG:1100 D0 FB ; ----------------------------------------------------------------------------- -; Routine: Label_D102 +; Routine: Sub_8764_OnZero_D102 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4435,14 +4435,14 @@ Label_D0FD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D102: - jsr $D110 ; CPU:$D102 PRG:1102 20 10 D1 - beq Label_D102 ; CPU:$D105 PRG:1105 F0 FB - jsr $C2C1 ; CPU:$D107 PRG:1107 20 C1 C2 - jsr $C32C ; CPU:$D10A PRG:110A 20 2C C3 - jmp $D145 ; CPU:$D10D PRG:110D 4C 45 D1 +Sub_8764_OnZero_D102: + jsr SubCD110 ; CPU:$D102 PRG:1102 20 10 D1 + beq Sub_8764_OnZero_D102 ; CPU:$D105 PRG:1105 F0 FB + jsr SubCC2C1 ; CPU:$D107 PRG:1107 20 C1 C2 + jsr SubCC32C ; CPU:$D10A PRG:110A 20 2C C3 + jmp SubCD145 ; CPU:$D10D PRG:110D 4C 45 D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D110 +; Routine: SubCD110 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4450,7 +4450,7 @@ Label_D102: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D110: +SubCD110: lda Zp50 ; CPU:$D110 PRG:1110 A5 50 and #$10 ; CPU:$D112 PRG:1112 29 10 rts ; CPU:$D114 PRG:1114 60 @@ -4459,7 +4459,7 @@ Label_D110: ; referenced by `lda $D115,x` at $D0AE (operand $D115 falls inside this region) .byte $20, $55, $00, $62, $B8, $64, $00, $6C, $D0, $44, $00, $62, $D0, $86, $00, $86 ; CPU:$D115 PRG:1115 20 55 00 62 B8 64 00 6C D0 44 00 62 D0 86 00 86 ; ----------------------------------------------------------------------------- -; Routine: Label_D125 +; Routine: Sub_8764_OnZero_D125 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4467,13 +4467,13 @@ Label_D110: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D125: +Sub_8764_OnZero_D125: lda Zp50 ; CPU:$D125 PRG:1125 A5 50 and #$30 ; CPU:$D127 PRG:1127 29 30 - beq Label_D12E ; CPU:$D129 PRG:1129 F0 03 - jmp $C719 ; CPU:$D12B PRG:112B 4C 19 C7 + beq Sub_8764_OnZero_D12E ; CPU:$D129 PRG:1129 F0 03 + jmp SubCC719 ; CPU:$D12B PRG:112B 4C 19 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D12E +; Routine: Sub_8764_OnZero_D12E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4481,20 +4481,20 @@ Label_D125: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D12E: +Sub_8764_OnZero_D12E: inc Zp56 ; CPU:$D12E PRG:112E E6 56 lda Zp56 ; CPU:$D130 PRG:1130 A5 56 and #$3F ; CPU:$D132 PRG:1132 29 3F - bne Label_D144 ; CPU:$D134 PRG:1134 D0 0E + bne Sub_8764_JoinBranchPaths_D144 ; CPU:$D134 PRG:1134 D0 0E inc Zp10 ; CPU:$D136 PRG:1136 E6 10 inc ZpB6 ; CPU:$D138 PRG:1138 E6 B6 inc ZpB6 ; CPU:$D13A PRG:113A E6 B6 lda Zp11 ; CPU:$D13C PRG:113C A5 11 cmp #$14 ; CPU:$D13E PRG:113E C9 14 - beq Label_D144 ; CPU:$D140 PRG:1140 F0 02 + beq Sub_8764_JoinBranchPaths_D144 ; CPU:$D140 PRG:1140 F0 02 inc Zp11 ; CPU:$D142 PRG:1142 E6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_D144 +; Routine: Sub_8764_JoinBranchPaths_D144 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4502,10 +4502,10 @@ Label_D12E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D144: +Sub_8764_JoinBranchPaths_D144: rts ; CPU:$D144 PRG:1144 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D145 +; Routine: SubCD145 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4513,10 +4513,10 @@ Label_D144: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D145: +SubCD145: ldx #$00 ; CPU:$D145 PRG:1145 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D147 +; Routine: Sub_8764_OnNonzero_D147 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4524,17 +4524,17 @@ Label_D145: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D147: +Sub_8764_OnNonzero_D147: lda $026E,x ; CPU:$D147 PRG:1147 BD 6E 02 cmp $0268,x ; CPU:$D14A PRG:114A DD 68 02 - bcc Label_D158 ; CPU:$D14D PRG:114D 90 09 - bne Label_D163 ; CPU:$D14F PRG:114F D0 12 + bcc Sub_8764_OnCarryClear_D158 ; CPU:$D14D PRG:114D 90 09 + bne Sub_8764_JoinBranchPaths_D163 ; CPU:$D14F PRG:114F D0 12 inx ; CPU:$D151 PRG:1151 E8 cpx #$06 ; CPU:$D152 PRG:1152 E0 06 - bne Label_D147 ; CPU:$D154 PRG:1154 D0 F1 - beq Label_D163 ; CPU:$D156 PRG:1156 F0 0B + bne Sub_8764_OnNonzero_D147 ; CPU:$D154 PRG:1154 D0 F1 + beq Sub_8764_JoinBranchPaths_D163 ; CPU:$D156 PRG:1156 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D158 +; Routine: Sub_8764_OnCarryClear_D158 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4542,10 +4542,10 @@ Label_D147: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D158: +Sub_8764_OnCarryClear_D158: ldx #$05 ; CPU:$D158 PRG:1158 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D15A +; Routine: Sub_8764_OnNonnegative_D15A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4553,13 +4553,13 @@ Label_D158: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D15A: +Sub_8764_OnNonnegative_D15A: lda $0268,x ; CPU:$D15A PRG:115A BD 68 02 sta $026E,x ; CPU:$D15D PRG:115D 9D 6E 02 dex ; CPU:$D160 PRG:1160 CA - bpl Label_D15A ; CPU:$D161 PRG:1161 10 F7 + bpl Sub_8764_OnNonnegative_D15A ; CPU:$D161 PRG:1161 10 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_D163 +; Routine: Sub_8764_JoinBranchPaths_D163 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4567,18 +4567,18 @@ Label_D15A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D163: +Sub_8764_JoinBranchPaths_D163: ldx Zp50 ; CPU:$D163 PRG:1163 A6 50 txa ; CPU:$D165 PRG:1165 8A and #$80 ; CPU:$D166 PRG:1166 29 80 - beq Label_D173 ; CPU:$D168 PRG:1168 F0 09 + beq Sub_8764_OnZero_D173 ; CPU:$D168 PRG:1168 F0 09 lda ZpC7 ; CPU:$D16A PRG:116A A5 C7 - bne Label_D175 ; CPU:$D16C PRG:116C D0 07 + bne Sub_8764_OnNonzero_D175 ; CPU:$D16C PRG:116C D0 07 inc ZpC7 ; CPU:$D16E PRG:116E E6 C7 inc Zp10 ; CPU:$D170 PRG:1170 E6 10 rts ; CPU:$D172 PRG:1172 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D173 +; Routine: Sub_8764_OnZero_D173 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4586,10 +4586,10 @@ Label_D163: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D173: +Sub_8764_OnZero_D173: sta ZpC7 ; CPU:$D173 PRG:1173 85 C7 ; ----------------------------------------------------------------------------- -; Routine: Label_D175 +; Routine: Sub_8764_OnNonzero_D175 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4597,22 +4597,22 @@ Label_D173: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D175: +Sub_8764_OnNonzero_D175: txa ; CPU:$D175 PRG:1175 8A and #$40 ; CPU:$D176 PRG:1176 29 40 - beq Label_D18E ; CPU:$D178 PRG:1178 F0 14 + beq Sub_8764_OnZero_D18E ; CPU:$D178 PRG:1178 F0 14 lda ZpC8 ; CPU:$D17A PRG:117A A5 C8 - bne Label_D190 ; CPU:$D17C PRG:117C D0 12 + bne Sub_8764_JoinBranchPaths_D190 ; CPU:$D17C PRG:117C D0 12 lda $0361 ; CPU:$D17E PRG:117E AD 61 03 - bpl Label_D190 ; CPU:$D181 PRG:1181 10 0D + bpl Sub_8764_JoinBranchPaths_D190 ; CPU:$D181 PRG:1181 10 0D lda Zp12 ; CPU:$D183 PRG:1183 A5 12 and #$03 ; CPU:$D185 PRG:1185 29 03 - bne Label_D190 ; CPU:$D187 PRG:1187 D0 07 + bne Sub_8764_JoinBranchPaths_D190 ; CPU:$D187 PRG:1187 D0 07 inc ZpC8 ; CPU:$D189 PRG:1189 E6 C8 dec Zp10 ; CPU:$D18B PRG:118B C6 10 rts ; CPU:$D18D PRG:118D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D18E +; Routine: Sub_8764_OnZero_D18E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4620,10 +4620,10 @@ Label_D175: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D18E: +Sub_8764_OnZero_D18E: sta ZpC8 ; CPU:$D18E PRG:118E 85 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D190 +; Routine: Sub_8764_JoinBranchPaths_D190 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4631,10 +4631,10 @@ Label_D18E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D190: +Sub_8764_JoinBranchPaths_D190: rts ; CPU:$D190 PRG:1190 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D191 +; Routine: SubCD191 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4642,10 +4642,10 @@ Label_D190: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D191: - jsr $D01A ; CPU:$D191 PRG:1191 20 1A D0 +SubCD191: + jsr SubCD01A ; CPU:$D191 PRG:1191 20 1A D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D194 +; Routine: SubCD194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4653,11 +4653,11 @@ Label_D191: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D194: +SubCD194: ldy #$13 ; CPU:$D194 PRG:1194 A0 13 - jmp $C043 ; CPU:$D196 PRG:1196 4C 43 C0 + jmp SubCC043 ; CPU:$D196 PRG:1196 4C 43 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_D199 +; Routine: SubCD199 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4665,14 +4665,14 @@ Label_D194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D199: +SubCD199: lda ZpA5 ; CPU:$D199 PRG:1199 A5 A5 and #$03 ; CPU:$D19B PRG:119B 29 03 - bne Label_D1A5 ; CPU:$D19D PRG:119D D0 06 - jsr $CE2D ; CPU:$D19F PRG:119F 20 2D CE - jsr $D200 ; CPU:$D1A2 PRG:11A2 20 00 D2 + bne Sub_8764_OnNonzero_D1A5 ; CPU:$D19D PRG:119D D0 06 + jsr SubCCE2D ; CPU:$D19F PRG:119F 20 2D CE + jsr SubCD200 ; CPU:$D1A2 PRG:11A2 20 00 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1A5 +; Routine: Sub_8764_OnNonzero_D1A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4680,27 +4680,27 @@ Label_D199: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1A5: +Sub_8764_OnNonzero_D1A5: lda ZpA5 ; CPU:$D1A5 PRG:11A5 A5 A5 cmp #$05 ; CPU:$D1A7 PRG:11A7 C9 05 - bne Label_D1DA ; CPU:$D1A9 PRG:11A9 D0 2F - jsr $D24C ; CPU:$D1AB PRG:11AB 20 4C D2 + bne Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1A9 PRG:11A9 D0 2F + jsr SubCD24C ; CPU:$D1AB PRG:11AB 20 4C D2 ldx ZpD8 ; CPU:$D1AE PRG:11AE A6 D8 - bmi Label_D1DA ; CPU:$D1B0 PRG:11B0 30 28 + bmi Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1B0 PRG:11B0 30 28 dec ZpD8 ; CPU:$D1B2 PRG:11B2 C6 D8 - beq Label_D1DB ; CPU:$D1B4 PRG:11B4 F0 25 + beq Sub_8764_OnZero_D1DB ; CPU:$D1B4 PRG:11B4 F0 25 lda $04B6 ; CPU:$D1B6 PRG:11B6 AD B6 04 - bpl Label_D1DA ; CPU:$D1B9 PRG:11B9 10 1F + bpl Sub_8764_JoinBranchPaths_D1DA ; CPU:$D1B9 PRG:11B9 10 1F txa ; CPU:$D1BB PRG:11BB 8A and #$07 ; CPU:$D1BC PRG:11BC 29 07 tax ; CPU:$D1BE PRG:11BE AA ldy #$0B ; CPU:$D1BF PRG:11BF A0 0B sty ZpD2 ; CPU:$D1C1 PRG:11C1 84 D2 lda $D1F8,x ; CPU:$D1C3 PRG:11C3 BD F8 D1 - jsr $C4F9 ; CPU:$D1C6 PRG:11C6 20 F9 C4 + jsr SubCC4F9 ; CPU:$D1C6 PRG:11C6 20 F9 C4 lda #$00 ; CPU:$D1C9 PRG:11C9 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D1CB +; Routine: SubCD1CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4708,7 +4708,7 @@ Label_D1A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1CB: +SubCD1CB: clc ; CPU:$D1CB PRG:11CB 18 adc $0280,y ; CPU:$D1CC PRG:11CC 79 80 02 sta $0281 ; CPU:$D1CF PRG:11CF 8D 81 02 @@ -4716,7 +4716,7 @@ Label_D1CB: adc #$00 ; CPU:$D1D5 PRG:11D5 69 00 sta $035F ; CPU:$D1D7 PRG:11D7 8D 5F 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DA +; Routine: Sub_8764_JoinBranchPaths_D1DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4724,10 +4724,10 @@ Label_D1CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DA: +Sub_8764_JoinBranchPaths_D1DA: rts ; CPU:$D1DA PRG:11DA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D1DB +; Routine: Sub_8764_OnZero_D1DB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4735,14 +4735,14 @@ Label_D1DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1DB: +Sub_8764_OnZero_D1DB: lda #$03 ; CPU:$D1DB PRG:11DB A9 03 - jsr $CE20 ; CPU:$D1DD PRG:11DD 20 20 CE + jsr SubCCE20 ; CPU:$D1DD PRG:11DD 20 20 CE lda #$00 ; CPU:$D1E0 PRG:11E0 A9 00 sta ZpD5 ; CPU:$D1E2 PRG:11E2 85 D5 sta ZpD2 ; CPU:$D1E4 PRG:11E4 85 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_D1E6 +; Routine: SubCD1E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4750,7 +4750,7 @@ Label_D1DB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D1E6: +SubCD1E6: lda #$FF ; CPU:$D1E6 PRG:11E6 A9 FF sta $0369 ; CPU:$D1E8 PRG:11E8 8D 69 03 sta $036A ; CPU:$D1EB PRG:11EB 8D 6A 03 @@ -4763,7 +4763,7 @@ Label_D1E6: ; referenced by `lda $D1F8,x` at $D1C3 (operand $D1F8 falls inside this region) .byte $00, $00, $32, $1E, $0A, $28, $00, $14 ; CPU:$D1F8 PRG:11F8 00 00 32 1E 0A 28 00 14 ; ----------------------------------------------------------------------------- -; Routine: Label_D200 +; Routine: SubCD200 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4771,19 +4771,19 @@ Label_D1E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D200: +SubCD200: lda $024C ; CPU:$D200 PRG:1200 AD 4C 02 cmp #$24 ; CPU:$D203 PRG:1203 C9 24 - bcs Label_D216 ; CPU:$D205 PRG:1205 B0 0F + bcs Sub_8764_OnCarrySet_D216 ; CPU:$D205 PRG:1205 B0 0F lda $024D ; CPU:$D207 PRG:1207 AD 4D 02 cmp #$2B ; CPU:$D20A PRG:120A C9 2B - bcs Label_D216 ; CPU:$D20C PRG:120C B0 08 + bcs Sub_8764_OnCarrySet_D216 ; CPU:$D20C PRG:120C B0 08 cmp #$28 ; CPU:$D20E PRG:120E C9 28 - bcs Label_D21C ; CPU:$D210 PRG:1210 B0 0A + bcs Sub_8764_OnCarrySet_D21C ; CPU:$D210 PRG:1210 B0 0A ldx #$02 ; CPU:$D212 PRG:1212 A2 02 - bne Label_D228 ; CPU:$D214 PRG:1214 D0 12 + bne Sub_8764_OnNonzero_D228 ; CPU:$D214 PRG:1214 D0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D216 +; Routine: Sub_8764_OnCarrySet_D216 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4791,12 +4791,12 @@ Label_D200: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D216: +Sub_8764_OnCarrySet_D216: ldx #$05 ; CPU:$D216 PRG:1216 A2 05 ldy #$10 ; CPU:$D218 PRG:1218 A0 10 - bne Label_D220 ; CPU:$D21A PRG:121A D0 04 + bne Sub_8764_OnNonzero_D220 ; CPU:$D21A PRG:121A D0 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D21C +; Routine: Sub_8764_OnCarrySet_D21C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4804,11 +4804,11 @@ Label_D216: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D21C: +Sub_8764_OnCarrySet_D21C: ldx #$07 ; CPU:$D21C PRG:121C A2 07 ldy #$18 ; CPU:$D21E PRG:121E A0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_D220 +; Routine: Sub_8764_OnNonzero_D220 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4816,11 +4816,11 @@ Label_D21C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D220: +Sub_8764_OnNonzero_D220: sty Zp3C ; CPU:$D220 PRG:1220 84 3C stx ZpB9 ; CPU:$D222 PRG:1222 86 B9 ; ----------------------------------------------------------------------------- -; Routine: Label_D224 +; Routine: SubCD224 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4828,11 +4828,11 @@ Label_D220: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D224: +SubCD224: lda #$01 ; CPU:$D224 PRG:1224 A9 01 - sta Zp55 ; CPU:$D226 PRG:1226 85 55 + sta FrameSubCounter ; CPU:$D226 PRG:1226 85 55 ; ----------------------------------------------------------------------------- -; Routine: Label_D228 +; Routine: Sub_8764_OnNonzero_D228 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4840,10 +4840,10 @@ Label_D224: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D228: +Sub_8764_OnNonzero_D228: rts ; CPU:$D228 PRG:1228 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D229 +; Routine: Sub_8764_OnZero_D229 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4851,16 +4851,16 @@ Label_D228: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D229: +Sub_8764_OnZero_D229: lda $03D8 ; CPU:$D229 PRG:1229 AD D8 03 - bne Label_D244 ; CPU:$D22C PRG:122C D0 16 + bne Sub_8764_JoinBranchPaths_D244 ; CPU:$D22C PRG:122C D0 16 lda $02FA ; CPU:$D22E PRG:122E AD FA 02 cmp #$5C ; CPU:$D231 PRG:1231 C9 5C - bcs Label_D244 ; CPU:$D233 PRG:1233 B0 0F + bcs Sub_8764_JoinBranchPaths_D244 ; CPU:$D233 PRG:1233 B0 0F lda $0369 ; CPU:$D235 PRG:1235 AD 69 03 - bmi Label_D244 ; CPU:$D238 PRG:1238 30 0A + bmi Sub_8764_JoinBranchPaths_D244 ; CPU:$D238 PRG:1238 30 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D23A +; Routine: SubCD23A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4868,14 +4868,14 @@ Label_D229: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D23A: +SubCD23A: lda ZpD8 ; CPU:$D23A PRG:123A A5 D8 - bpl Label_D244 ; CPU:$D23C PRG:123C 10 06 + bpl Sub_8764_JoinBranchPaths_D244 ; CPU:$D23C PRG:123C 10 06 lda #$0F ; CPU:$D23E PRG:123E A9 0F sta ZpD8 ; CPU:$D240 PRG:1240 85 D8 inc ZpD7 ; CPU:$D242 PRG:1242 E6 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_D244 +; Routine: Sub_8764_JoinBranchPaths_D244 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4883,13 +4883,13 @@ Label_D23A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D244: +Sub_8764_JoinBranchPaths_D244: rts ; CPU:$D244 PRG:1244 60 ; ---- data $D245-$D24B (7 bytes) ---- ; referenced by `lda $D245,x` at $D262 (operand $D245 falls inside this region) .byte $1F, $1F, $1F, $3F, $7F, $7F, $FF ; CPU:$D245 PRG:1245 1F 1F 1F 3F 7F 7F FF ; ----------------------------------------------------------------------------- -; Routine: Label_D24C +; Routine: SubCD24C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4897,29 +4897,29 @@ Label_D244: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D24C: +SubCD24C: lda $036B ; CPU:$D24C PRG:124C AD 6B 03 - bmi Label_D244 ; CPU:$D24F PRG:124F 30 F3 + bmi Sub_8764_JoinBranchPaths_D244 ; CPU:$D24F PRG:124F 30 F3 lda ZpBC ; CPU:$D251 PRG:1251 A5 BC - bmi Label_D29C ; CPU:$D253 PRG:1253 30 47 + bmi Sub_8764_OnNegative_D29C ; CPU:$D253 PRG:1253 30 47 lda ZpBB ; CPU:$D255 PRG:1255 A5 BB - beq Label_D229 ; CPU:$D257 PRG:1257 F0 D0 - bmi Label_D29F ; CPU:$D259 PRG:1259 30 44 - jsr $D8A7 ; CPU:$D25B PRG:125B 20 A7 D8 - beq Label_D244 ; CPU:$D25E PRG:125E F0 E4 + beq Sub_8764_OnZero_D229 ; CPU:$D257 PRG:1257 F0 D0 + bmi Sub_8764_OnNegative_D29F ; CPU:$D259 PRG:1259 30 44 + jsr SubCD8A7 ; CPU:$D25B PRG:125B 20 A7 D8 + beq Sub_8764_JoinBranchPaths_D244 ; CPU:$D25E PRG:125E F0 E4 ldx ZpBD ; CPU:$D260 PRG:1260 A6 BD lda $D245,x ; CPU:$D262 PRG:1262 BD 45 D2 and Zp12 ; CPU:$D265 PRG:1265 25 12 - bne Label_D244 ; CPU:$D267 PRG:1267 D0 DB + bne Sub_8764_JoinBranchPaths_D244 ; CPU:$D267 PRG:1267 D0 DB ldx ZpBB ; CPU:$D269 PRG:1269 A6 BB cpx #$16 ; CPU:$D26B PRG:126B E0 16 - bcs Label_D279 ; CPU:$D26D PRG:126D B0 0A + bcs Sub_8764_OnCarrySet_D279 ; CPU:$D26D PRG:126D B0 0A inc ZpBB ; CPU:$D26F PRG:126F E6 BB cpx #$0F ; CPU:$D271 PRG:1271 E0 0F - bne Label_D278 ; CPU:$D273 PRG:1273 D0 03 - jsr $CE1E ; CPU:$D275 PRG:1275 20 1E CE + bne Sub_8764_JoinBranchPaths_D278 ; CPU:$D273 PRG:1273 D0 03 + jsr SubCCE1E ; CPU:$D275 PRG:1275 20 1E CE ; ----------------------------------------------------------------------------- -; Routine: Label_D278 +; Routine: Sub_8764_JoinBranchPaths_D278 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4927,10 +4927,10 @@ Label_D24C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D278: +Sub_8764_JoinBranchPaths_D278: rts ; CPU:$D278 PRG:1278 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D279 +; Routine: Sub_8764_OnCarrySet_D279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4938,14 +4938,14 @@ Label_D278: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D279: +Sub_8764_OnCarrySet_D279: lda $03D8 ; CPU:$D279 PRG:1279 AD D8 03 cmp #$03 ; CPU:$D27C PRG:127C C9 03 - bcc Label_D284 ; CPU:$D27E PRG:127E 90 04 + bcc Sub_8764_OnCarryClear_D284 ; CPU:$D27E PRG:127E 90 04 cmp #$07 ; CPU:$D280 PRG:1280 C9 07 - bcc Label_D278 ; CPU:$D282 PRG:1282 90 F4 + bcc Sub_8764_JoinBranchPaths_D278 ; CPU:$D282 PRG:1282 90 F4 ; ----------------------------------------------------------------------------- -; Routine: Label_D284 +; Routine: Sub_8764_OnCarryClear_D284 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4953,16 +4953,16 @@ Label_D279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D284: +Sub_8764_OnCarryClear_D284: lda #$0F ; CPU:$D284 PRG:1284 A9 0F sta ZpBC ; CPU:$D286 PRG:1286 85 BC lda #$0C ; CPU:$D288 PRG:1288 A9 0C sta ZpBA ; CPU:$D28A PRG:128A 85 BA lda #$BE ; CPU:$D28C PRG:128C A9 BE sta ZpBB ; CPU:$D28E PRG:128E 85 BB - jsr $CE1E ; CPU:$D290 PRG:1290 20 1E CE + jsr SubCCE1E ; CPU:$D290 PRG:1290 20 1E CE ; ----------------------------------------------------------------------------- -; Routine: Label_D293 +; Routine: SubCD293 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4970,13 +4970,13 @@ Label_D284: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D293: +SubCD293: lda ZpCA ; CPU:$D293 PRG:1293 A5 CA - bne Label_D29B ; CPU:$D295 PRG:1295 D0 04 + bne Sub_8764_OnNonzero_D29B ; CPU:$D295 PRG:1295 D0 04 lda #$15 ; CPU:$D297 PRG:1297 A9 15 sta ZpCE ; CPU:$D299 PRG:1299 85 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D29B +; Routine: Sub_8764_OnNonzero_D29B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4984,10 +4984,10 @@ Label_D293: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29B: +Sub_8764_OnNonzero_D29B: rts ; CPU:$D29B PRG:129B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D29C +; Routine: Sub_8764_OnNegative_D29C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -4995,10 +4995,10 @@ Label_D29B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29C: - jmp $D650 ; CPU:$D29C PRG:129C 4C 50 D6 +Sub_8764_OnNegative_D29C: + jmp SubCD650 ; CPU:$D29C PRG:129C 4C 50 D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D29F +; Routine: Sub_8764_OnNegative_D29F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5006,21 +5006,21 @@ Label_D29C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D29F: +Sub_8764_OnNegative_D29F: ldx #$0D ; CPU:$D29F PRG:129F A2 0D - jsr $EDD5 ; CPU:$D2A1 PRG:12A1 20 D5 ED + jsr SubCEDD5 ; CPU:$D2A1 PRG:12A1 20 D5 ED ldx #$0E ; CPU:$D2A4 PRG:12A4 A2 0E - jsr $EDD5 ; CPU:$D2A6 PRG:12A6 20 D5 ED + jsr SubCEDD5 ; CPU:$D2A6 PRG:12A6 20 D5 ED dec ZpBB ; CPU:$D2A9 PRG:12A9 C6 BB - bmi Label_D2BB ; CPU:$D2AB PRG:12AB 30 0E + bmi Sub_8764_OnNegative_D2BB ; CPU:$D2AB PRG:12AB 30 0E lda #$83 ; CPU:$D2AD PRG:12AD A9 83 sta ZpBB ; CPU:$D2AF PRG:12AF 85 BB ldx #$0D ; CPU:$D2B1 PRG:12B1 A2 0D - jsr $EDE0 ; CPU:$D2B3 PRG:12B3 20 E0 ED + jsr SubCEDE0 ; CPU:$D2B3 PRG:12B3 20 E0 ED ldx #$0E ; CPU:$D2B6 PRG:12B6 A2 0E - jsr $EDE0 ; CPU:$D2B8 PRG:12B8 20 E0 ED + jsr SubCEDE0 ; CPU:$D2B8 PRG:12B8 20 E0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D2BB +; Routine: Sub_8764_OnNegative_D2BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5028,16 +5028,16 @@ Label_D29F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2BB: +Sub_8764_OnNegative_D2BB: lda $036B ; CPU:$D2BB PRG:12BB AD 6B 03 - bne Label_D2CB ; CPU:$D2BE PRG:12BE D0 0B + bne Sub_8764_JoinBranchPaths_D2CB ; CPU:$D2BE PRG:12BE D0 0B lda $028D ; CPU:$D2C0 PRG:12C0 AD 8D 02 cmp #$64 ; CPU:$D2C3 PRG:12C3 C9 64 - bcs Label_D2CB ; CPU:$D2C5 PRG:12C5 B0 04 + bcs Sub_8764_JoinBranchPaths_D2CB ; CPU:$D2C5 PRG:12C5 B0 04 lda #$00 ; CPU:$D2C7 PRG:12C7 A9 00 sta ZpBB ; CPU:$D2C9 PRG:12C9 85 BB ; ----------------------------------------------------------------------------- -; Routine: Label_D2CB +; Routine: Sub_8764_JoinBranchPaths_D2CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5045,10 +5045,10 @@ Label_D2BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CB: +Sub_8764_JoinBranchPaths_D2CB: rts ; CPU:$D2CB PRG:12CB 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2CC +; Routine: SubCD2CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5056,14 +5056,14 @@ Label_D2CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2CC: +SubCD2CC: ldx #$01 ; CPU:$D2CC PRG:12CC A2 01 - jsr $D561 ; CPU:$D2CE PRG:12CE 20 61 D5 + jsr SubCD561 ; CPU:$D2CE PRG:12CE 20 61 D5 lda #$7C ; CPU:$D2D1 PRG:12D1 A9 7C sta $043D ; CPU:$D2D3 PRG:12D3 8D 3D 04 rts ; CPU:$D2D6 PRG:12D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2D7 +; Routine: SubCD2D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5071,15 +5071,15 @@ Label_D2CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2D7: +SubCD2D7: lda $024C ; CPU:$D2D7 PRG:12D7 AD 4C 02 cmp #$24 ; CPU:$D2DA PRG:12DA C9 24 - bcs Label_D2E3 ; CPU:$D2DC PRG:12DC B0 05 + bcs Sub_8764_OnCarrySet_D2E3 ; CPU:$D2DC PRG:12DC B0 05 lda ZpBD ; CPU:$D2DE PRG:12DE A5 BD - beq Label_D2E8 ; CPU:$D2E0 PRG:12E0 F0 06 + beq Sub_8764_OnZero_D2E8 ; CPU:$D2E0 PRG:12E0 F0 06 rts ; CPU:$D2E2 PRG:12E2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2E3 +; Routine: Sub_8764_OnCarrySet_D2E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5087,12 +5087,12 @@ Label_D2D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E3: +Sub_8764_OnCarrySet_D2E3: pla ; CPU:$D2E3 PRG:12E3 68 pla ; CPU:$D2E4 PRG:12E4 68 - jmp $CF8F ; CPU:$D2E5 PRG:12E5 4C 8F CF + jmp SubCCF8F ; CPU:$D2E5 PRG:12E5 4C 8F CF ; ----------------------------------------------------------------------------- -; Routine: Label_D2E8 +; Routine: Sub_8764_OnZero_D2E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5100,12 +5100,12 @@ Label_D2E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2E8: +Sub_8764_OnZero_D2E8: pla ; CPU:$D2E8 PRG:12E8 68 pla ; CPU:$D2E9 PRG:12E9 68 rts ; CPU:$D2EA PRG:12EA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2EB +; Routine: SubCD2EB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5113,16 +5113,16 @@ Label_D2E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2EB: +SubCD2EB: lda Zp07 ; CPU:$D2EB PRG:12EB A5 07 - beq Label_D2FE ; CPU:$D2ED PRG:12ED F0 0F - bmi Label_D317 ; CPU:$D2EF PRG:12EF 30 26 + beq Sub_8764_OnZero_D2FE ; CPU:$D2ED PRG:12ED F0 0F + bmi Sub_8764_OnNegative_D317 ; CPU:$D2EF PRG:12EF 30 26 lda Zp08 ; CPU:$D2F1 PRG:12F1 A5 08 - bmi Label_D2FF ; CPU:$D2F3 PRG:12F3 30 0A + bmi Sub_8764_OnNegative_D2FF ; CPU:$D2F3 PRG:12F3 30 0A cmp #$51 ; CPU:$D2F5 PRG:12F5 C9 51 - bne Label_D2F9 ; CPU:$D2F7 PRG:12F7 D0 00 + bne Sub_8764_OnNonzero_D2F9 ; CPU:$D2F7 PRG:12F7 D0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D2F9 +; Routine: Sub_8764_OnNonzero_D2F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5130,11 +5130,11 @@ Label_D2EB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2F9: - jsr $D30A ; CPU:$D2F9 PRG:12F9 20 0A D3 +Sub_8764_OnNonzero_D2F9: + jsr SubCD30A ; CPU:$D2F9 PRG:12F9 20 0A D3 inc Zp08 ; CPU:$D2FC PRG:12FC E6 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FE +; Routine: Sub_8764_OnZero_D2FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5142,10 +5142,10 @@ Label_D2F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FE: +Sub_8764_OnZero_D2FE: rts ; CPU:$D2FE PRG:12FE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D2FF +; Routine: Sub_8764_OnNegative_D2FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5153,7 +5153,7 @@ Label_D2FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D2FF: +Sub_8764_OnNegative_D2FF: lda #$00 ; CPU:$D2FF PRG:12FF A9 00 sta Zp07 ; CPU:$D301 PRG:1301 85 07 sta ZpAD ; CPU:$D303 PRG:1303 85 AD @@ -5161,7 +5161,7 @@ Label_D2FF: sta ZpAB ; CPU:$D307 PRG:1307 85 AB rts ; CPU:$D309 PRG:1309 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D30A +; Routine: SubCD30A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5169,12 +5169,12 @@ Label_D2FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D30A: +SubCD30A: lda Zp08 ; CPU:$D30A PRG:130A A5 08 - beq Label_D316 ; CPU:$D30C PRG:130C F0 08 + beq Sub_8764_OnZero_D316 ; CPU:$D30C PRG:130C F0 08 ldy #$00 ; CPU:$D30E PRG:130E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D310 +; Routine: Sub_8764_OnCarryClear_D310 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5182,13 +5182,13 @@ Label_D30A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D310: +Sub_8764_OnCarryClear_D310: iny ; CPU:$D310 PRG:1310 C8 rol a ; CPU:$D311 PRG:1311 2A - bcc Label_D310 ; CPU:$D312 PRG:1312 90 FC + bcc Sub_8764_OnCarryClear_D310 ; CPU:$D312 PRG:1312 90 FC sty ZpAB ; CPU:$D314 PRG:1314 84 AB ; ----------------------------------------------------------------------------- -; Routine: Label_D316 +; Routine: Sub_8764_OnZero_D316 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5196,10 +5196,10 @@ Label_D310: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D316: +Sub_8764_OnZero_D316: rts ; CPU:$D316 PRG:1316 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D317 +; Routine: Sub_8764_OnNegative_D317 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5207,19 +5207,19 @@ Label_D316: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D317: +Sub_8764_OnNegative_D317: lda Zp08 ; CPU:$D317 PRG:1317 A5 08 - beq Label_D32C ; CPU:$D319 PRG:1319 F0 11 + beq Sub_8764_OnZero_D32C ; CPU:$D319 PRG:1319 F0 11 dec Zp08 ; CPU:$D31B PRG:131B C6 08 lda #$00 ; CPU:$D31D PRG:131D A9 00 sta Zp11 ; CPU:$D31F PRG:131F 85 11 - jsr $D30A ; CPU:$D321 PRG:1321 20 0A D3 + jsr SubCD30A ; CPU:$D321 PRG:1321 20 0A D3 lda Zp08 ; CPU:$D324 PRG:1324 A5 08 cmp #$50 ; CPU:$D326 PRG:1326 C9 50 - bne Label_D33A ; CPU:$D328 PRG:1328 D0 10 - beq Label_D33B ; CPU:$D32A PRG:132A F0 0F + bne Sub_8764_OnNonzero_D33A ; CPU:$D328 PRG:1328 D0 10 + beq Sub_8764_OnZero_D33B ; CPU:$D32A PRG:132A F0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D32C +; Routine: Sub_8764_OnZero_D32C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5227,7 +5227,7 @@ Label_D317: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D32C: +Sub_8764_OnZero_D32C: lda #$00 ; CPU:$D32C PRG:132C A9 00 sta Zp07 ; CPU:$D32E PRG:132E 85 07 sta Zp11 ; CPU:$D330 PRG:1330 85 11 @@ -5236,7 +5236,7 @@ Label_D32C: lda #$0A ; CPU:$D336 PRG:1336 A9 0A sta ZpAC ; CPU:$D338 PRG:1338 85 AC ; ----------------------------------------------------------------------------- -; Routine: Label_D33A +; Routine: Sub_8764_OnNonzero_D33A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5244,10 +5244,10 @@ Label_D32C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33A: +Sub_8764_OnNonzero_D33A: rts ; CPU:$D33A PRG:133A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D33B +; Routine: Sub_8764_OnZero_D33B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5255,17 +5255,17 @@ Label_D33A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D33B: +Sub_8764_OnZero_D33B: lda ZpAF ; CPU:$D33B PRG:133B A5 AF cmp #$02 ; CPU:$D33D PRG:133D C9 02 - beq Label_D34C ; CPU:$D33F PRG:133F F0 0B + beq Sub_8764_OnZero_D34C ; CPU:$D33F PRG:133F F0 0B lda #$00 ; CPU:$D341 PRG:1341 A9 00 sta ZpDB ; CPU:$D343 PRG:1343 85 DB - jsr $D224 ; CPU:$D345 PRG:1345 20 24 D2 + jsr SubCD224 ; CPU:$D345 PRG:1345 20 24 D2 lda #$40 ; CPU:$D348 PRG:1348 A9 40 - bne Label_D34E ; CPU:$D34A PRG:134A D0 02 + bne Sub_8764_OnNonzero_D34E ; CPU:$D34A PRG:134A D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D34C +; Routine: Sub_8764_OnZero_D34C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5273,10 +5273,10 @@ Label_D33B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34C: +Sub_8764_OnZero_D34C: lda #$80 ; CPU:$D34C PRG:134C A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_D34E +; Routine: Sub_8764_OnNonzero_D34E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5284,13 +5284,13 @@ Label_D34C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D34E: +Sub_8764_OnNonzero_D34E: sta ZpAD ; CPU:$D34E PRG:134E 85 AD lda #$01 ; CPU:$D350 PRG:1350 A9 01 sta Zp0A ; CPU:$D352 PRG:1352 85 0A - jmp $D4BF ; CPU:$D354 PRG:1354 4C BF D4 + jmp SubCD4BF ; CPU:$D354 PRG:1354 4C BF D4 ; ----------------------------------------------------------------------------- -; Routine: Label_D357 +; Routine: SubCD357 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5298,28 +5298,28 @@ Label_D34E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D357: +SubCD357: lda $0369 ; CPU:$D357 PRG:1357 AD 69 03 - bmi Label_D38F ; CPU:$D35A PRG:135A 30 33 + bmi Sub_8764_JoinBranchPaths_D38F ; CPU:$D35A PRG:135A 30 33 lda Zp0F ; CPU:$D35C PRG:135C A5 0F - bne Label_D38F ; CPU:$D35E PRG:135E D0 2F + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D35E PRG:135E D0 2F lda ZpAF ; CPU:$D360 PRG:1360 A5 AF cmp #$0B ; CPU:$D362 PRG:1362 C9 0B - bne Label_D38F ; CPU:$D364 PRG:1364 D0 29 + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D364 PRG:1364 D0 29 lda ZpAE ; CPU:$D366 PRG:1366 A5 AE cmp #$24 ; CPU:$D368 PRG:1368 C9 24 - bcc Label_D38F ; CPU:$D36A PRG:136A 90 23 + bcc Sub_8764_JoinBranchPaths_D38F ; CPU:$D36A PRG:136A 90 23 cmp #$33 ; CPU:$D36C PRG:136C C9 33 - bcs Label_D38F ; CPU:$D36E PRG:136E B0 1F - jsr $EE66 ; CPU:$D370 PRG:1370 20 66 EE + bcs Sub_8764_JoinBranchPaths_D38F ; CPU:$D36E PRG:136E B0 1F + jsr SubCEE66 ; CPU:$D370 PRG:1370 20 66 EE clc ; CPU:$D373 PRG:1373 18 lda Zp27 ; CPU:$D374 PRG:1374 A5 27 adc #$0A ; CPU:$D376 PRG:1376 69 0A sta Zp27 ; CPU:$D378 PRG:1378 85 27 - bcc Label_D37E ; CPU:$D37A PRG:137A 90 02 + bcc Sub_8764_OnCarryClear_D37E ; CPU:$D37A PRG:137A 90 02 inc Zp28 ; CPU:$D37C PRG:137C E6 28 ; ----------------------------------------------------------------------------- -; Routine: Label_D37E +; Routine: Sub_8764_OnCarryClear_D37E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5327,16 +5327,16 @@ Label_D357: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D37E: +Sub_8764_OnCarryClear_D37E: ldx #$0C ; CPU:$D37E PRG:137E A2 0C - jsr $E665 ; CPU:$D380 PRG:1380 20 65 E6 + jsr SubCE665 ; CPU:$D380 PRG:1380 20 65 E6 lda Zp28 ; CPU:$D383 PRG:1383 A5 28 - bne Label_D38F ; CPU:$D385 PRG:1385 D0 08 + bne Sub_8764_JoinBranchPaths_D38F ; CPU:$D385 PRG:1385 D0 08 lda Zp27 ; CPU:$D387 PRG:1387 A5 27 cmp #$1E ; CPU:$D389 PRG:1389 C9 1E - bcs Label_D38F ; CPU:$D38B PRG:138B B0 02 + bcs Sub_8764_JoinBranchPaths_D38F ; CPU:$D38B PRG:138B B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D38D +; Routine: Sub_8764_OnCarryClear_D38D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5344,11 +5344,11 @@ Label_D37E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38D: +Sub_8764_OnCarryClear_D38D: sec ; CPU:$D38D PRG:138D 38 rts ; CPU:$D38E PRG:138E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D38F +; Routine: Sub_8764_JoinBranchPaths_D38F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5356,24 +5356,24 @@ Label_D38D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D38F: +Sub_8764_JoinBranchPaths_D38F: lda ZpAF ; CPU:$D38F PRG:138F A5 AF cmp #$02 ; CPU:$D391 PRG:1391 C9 02 - bne Label_D3AD ; CPU:$D393 PRG:1393 D0 18 + bne Sub_8764_JoinBranchPaths_D3AD ; CPU:$D393 PRG:1393 D0 18 lda ZpB1 ; CPU:$D395 PRG:1395 A5 B1 - bne Label_D3AD ; CPU:$D397 PRG:1397 D0 14 + bne Sub_8764_JoinBranchPaths_D3AD ; CPU:$D397 PRG:1397 D0 14 lda ZpAE ; CPU:$D399 PRG:1399 A5 AE cmp #$58 ; CPU:$D39B PRG:139B C9 58 - bcc Label_D3AD ; CPU:$D39D PRG:139D 90 0E + bcc Sub_8764_JoinBranchPaths_D3AD ; CPU:$D39D PRG:139D 90 0E cmp #$AD ; CPU:$D39F PRG:139F C9 AD - bcs Label_D3AD ; CPU:$D3A1 PRG:13A1 B0 0A + bcs Sub_8764_JoinBranchPaths_D3AD ; CPU:$D3A1 PRG:13A1 B0 0A lda ZpB0 ; CPU:$D3A3 PRG:13A3 A5 B0 cmp #$D4 ; CPU:$D3A5 PRG:13A5 C9 D4 - bcc Label_D3AD ; CPU:$D3A7 PRG:13A7 90 04 + bcc Sub_8764_JoinBranchPaths_D3AD ; CPU:$D3A7 PRG:13A7 90 04 cmp #$F8 ; CPU:$D3A9 PRG:13A9 C9 F8 - bcc Label_D38D ; CPU:$D3AB PRG:13AB 90 E0 + bcc Sub_8764_OnCarryClear_D38D ; CPU:$D3AB PRG:13AB 90 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AD +; Routine: Sub_8764_JoinBranchPaths_D3AD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5381,11 +5381,11 @@ Label_D38F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AD: +Sub_8764_JoinBranchPaths_D3AD: clc ; CPU:$D3AD PRG:13AD 18 rts ; CPU:$D3AE PRG:13AE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D3AF +; Routine: SubCD3AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5393,16 +5393,16 @@ Label_D3AD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3AF: +SubCD3AF: lda ZpB6 ; CPU:$D3AF PRG:13AF A5 B6 cmp #$04 ; CPU:$D3B1 PRG:13B1 C9 04 - bcc Label_D3BD ; CPU:$D3B3 PRG:13B3 90 08 + bcc Sub_8764_OnCarryClear_D3BD ; CPU:$D3B3 PRG:13B3 90 08 cmp #$44 ; CPU:$D3B5 PRG:13B5 C9 44 - bcc Label_D3C1 ; CPU:$D3B7 PRG:13B7 90 08 + bcc Sub_8764_OnCarryClear_D3C1 ; CPU:$D3B7 PRG:13B7 90 08 lda #$04 ; CPU:$D3B9 PRG:13B9 A9 04 - bne Label_D3BF ; CPU:$D3BB PRG:13BB D0 02 + bne Sub_8764_OnNonzero_D3BF ; CPU:$D3BB PRG:13BB D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BD +; Routine: Sub_8764_OnCarryClear_D3BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5410,10 +5410,10 @@ Label_D3AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BD: +Sub_8764_OnCarryClear_D3BD: lda #$43 ; CPU:$D3BD PRG:13BD A9 43 ; ----------------------------------------------------------------------------- -; Routine: Label_D3BF +; Routine: Sub_8764_OnNonzero_D3BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5421,10 +5421,10 @@ Label_D3BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3BF: +Sub_8764_OnNonzero_D3BF: sta ZpB6 ; CPU:$D3BF PRG:13BF 85 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_D3C1 +; Routine: Sub_8764_OnCarryClear_D3C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5432,25 +5432,25 @@ Label_D3BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3C1: +Sub_8764_OnCarryClear_D3C1: ldy Zp3D ; CPU:$D3C1 PRG:13C1 A4 3D lda $D3FE,y ; CPU:$D3C3 PRG:13C3 B9 FE D3 - jsr $D422 ; CPU:$D3C6 PRG:13C6 20 22 D4 + jsr SubCD422 ; CPU:$D3C6 PRG:13C6 20 22 D4 lda Zp48 ; CPU:$D3C9 PRG:13C9 A5 48 lsr a ; CPU:$D3CB PRG:13CB 4A lsr a ; CPU:$D3CC PRG:13CC 4A sta Zp47 ; CPU:$D3CD PRG:13CD 85 47 lda $D410,y ; CPU:$D3CF PRG:13CF B9 10 D4 - jsr $D422 ; CPU:$D3D2 PRG:13D2 20 22 D4 + jsr SubCD422 ; CPU:$D3D2 PRG:13D2 20 22 D4 lsr Zp48 ; CPU:$D3D5 PRG:13D5 46 48 lsr Zp48 ; CPU:$D3D7 PRG:13D7 46 48 lda $D3FE,y ; CPU:$D3D9 PRG:13D9 B9 FE D3 - bmi Label_D3E4 ; CPU:$D3DC PRG:13DC 30 06 + bmi Sub_8764_OnNegative_D3E4 ; CPU:$D3DC PRG:13DC 30 06 lda Zp47 ; CPU:$D3DE PRG:13DE A5 47 ora #$80 ; CPU:$D3E0 PRG:13E0 09 80 - bne Label_D3E9 ; CPU:$D3E2 PRG:13E2 D0 05 + bne Sub_8764_OnNonzero_D3E9 ; CPU:$D3E2 PRG:13E2 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D3E4 +; Routine: Sub_8764_OnNegative_D3E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5458,12 +5458,12 @@ Label_D3C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E4: +Sub_8764_OnNegative_D3E4: sec ; CPU:$D3E4 PRG:13E4 38 lda #$80 ; CPU:$D3E5 PRG:13E5 A9 80 sbc Zp47 ; CPU:$D3E7 PRG:13E7 E5 47 ; ----------------------------------------------------------------------------- -; Routine: Label_D3E9 +; Routine: Sub_8764_OnNonzero_D3E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5471,15 +5471,15 @@ Label_D3E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3E9: +Sub_8764_OnNonzero_D3E9: sta Zp45 ; CPU:$D3E9 PRG:13E9 85 45 lda $D410,y ; CPU:$D3EB PRG:13EB B9 10 D4 - bmi Label_D3F6 ; CPU:$D3EE PRG:13EE 30 06 + bmi Sub_8764_OnNegative_D3F6 ; CPU:$D3EE PRG:13EE 30 06 lda Zp48 ; CPU:$D3F0 PRG:13F0 A5 48 ora #$80 ; CPU:$D3F2 PRG:13F2 09 80 - bne Label_D3FB ; CPU:$D3F4 PRG:13F4 D0 05 + bne Sub_8764_OnNonzero_D3FB ; CPU:$D3F4 PRG:13F4 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D3F6 +; Routine: Sub_8764_OnNegative_D3F6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5487,12 +5487,12 @@ Label_D3E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3F6: +Sub_8764_OnNegative_D3F6: sec ; CPU:$D3F6 PRG:13F6 38 lda #$80 ; CPU:$D3F7 PRG:13F7 A9 80 sbc Zp48 ; CPU:$D3F9 PRG:13F9 E5 48 ; ----------------------------------------------------------------------------- -; Routine: Label_D3FB +; Routine: Sub_8764_OnNonzero_D3FB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5500,7 +5500,7 @@ Label_D3F6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D3FB: +Sub_8764_OnNonzero_D3FB: sta Zp46 ; CPU:$D3FB PRG:13FB 85 46 rts ; CPU:$D3FD PRG:13FD 60 ; ---- data $D3FE-$D421 (36 bytes) ---- @@ -5512,7 +5512,7 @@ Label_D3FB: .byte $87, $85, $00, $84, $85, $86, $85, $84, $82, $00, $02, $04, $05, $06, $05, $04 ; CPU:$D40E PRG:140E 87 85 00 84 85 86 85 84 82 00 02 04 05 06 05 04 .byte $02, $00, $82, $84 ; CPU:$D41E PRG:141E 02 00 82 84 ; ----------------------------------------------------------------------------- -; Routine: Label_D422 +; Routine: SubCD422 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5520,14 +5520,14 @@ Label_D3FB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D422: +SubCD422: and #$7F ; CPU:$D422 PRG:1422 29 7F sta Zp29 ; CPU:$D424 PRG:1424 85 29 lda #$00 ; CPU:$D426 PRG:1426 A9 00 sta Zp48 ; CPU:$D428 PRG:1428 85 48 ldx #$08 ; CPU:$D42A PRG:142A A2 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D42C +; Routine: Sub_8764_OnNonzero_D42C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5535,13 +5535,13 @@ Label_D422: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D42C: +Sub_8764_OnNonzero_D42C: lsr Zp29 ; CPU:$D42C PRG:142C 46 29 - bcc Label_D433 ; CPU:$D42E PRG:142E 90 03 + bcc Sub_8764_OnCarryClear_D433 ; CPU:$D42E PRG:142E 90 03 clc ; CPU:$D430 PRG:1430 18 adc Zp11 ; CPU:$D431 PRG:1431 65 11 ; ----------------------------------------------------------------------------- -; Routine: Label_D433 +; Routine: Sub_8764_OnCarryClear_D433 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5549,14 +5549,14 @@ Label_D42C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D433: +Sub_8764_OnCarryClear_D433: ror a ; CPU:$D433 PRG:1433 6A ror Zp48 ; CPU:$D434 PRG:1434 66 48 dex ; CPU:$D436 PRG:1436 CA - bne Label_D42C ; CPU:$D437 PRG:1437 D0 F3 + bne Sub_8764_OnNonzero_D42C ; CPU:$D437 PRG:1437 D0 F3 rts ; CPU:$D439 PRG:1439 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D43A +; Routine: SubCD43A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5564,7 +5564,7 @@ Label_D433: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D43A: +SubCD43A: lda ZpB6 ; CPU:$D43A PRG:143A A5 B6 lsr a ; CPU:$D43C PRG:143C 4A lsr a ; CPU:$D43D PRG:143D 4A @@ -5583,7 +5583,7 @@ Label_D43A: sta ZpB4 ; CPU:$D452 PRG:1452 85 B4 rts ; CPU:$D454 PRG:1454 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D455 +; Routine: SubCD455 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5591,11 +5591,11 @@ Label_D43A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D455: +SubCD455: lda Zp0A ; CPU:$D455 PRG:1455 A5 0A - bne Label_D4BF ; CPU:$D457 PRG:1457 D0 66 + bne SubCD4BF ; CPU:$D457 PRG:1457 D0 66 ; ----------------------------------------------------------------------------- -; Routine: Label_D459 +; Routine: SubCD459 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5603,15 +5603,15 @@ Label_D455: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D459: +SubCD459: lda Zp10 ; CPU:$D459 PRG:1459 A5 10 - beq Label_D469 ; CPU:$D45B PRG:145B F0 0C + beq Sub_8764_OnZero_D469 ; CPU:$D45B PRG:145B F0 0C lda ZpAD ; CPU:$D45D PRG:145D A5 AD - beq Label_D46A ; CPU:$D45F PRG:145F F0 09 + beq Sub_8764_OnZero_D46A ; CPU:$D45F PRG:145F F0 09 lda #$01 ; CPU:$D461 PRG:1461 A9 01 sta Zp07 ; CPU:$D463 PRG:1463 85 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D465 +; Routine: Sub_8764_OnNonzero_D465 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5619,11 +5619,11 @@ Label_D459: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D465: +Sub_8764_OnNonzero_D465: lda #$00 ; CPU:$D465 PRG:1465 A9 00 sta Zp10 ; CPU:$D467 PRG:1467 85 10 ; ----------------------------------------------------------------------------- -; Routine: Label_D469 +; Routine: Sub_8764_OnZero_D469 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5631,10 +5631,10 @@ Label_D465: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D469: +Sub_8764_OnZero_D469: rts ; CPU:$D469 PRG:1469 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D46A +; Routine: Sub_8764_OnZero_D46A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5642,19 +5642,19 @@ Label_D469: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D46A: +Sub_8764_OnZero_D46A: lda Zp11 ; CPU:$D46A PRG:146A A5 11 cmp #$04 ; CPU:$D46C PRG:146C C9 04 - bcs Label_D47F ; CPU:$D46E PRG:146E B0 0F + bcs Sub_8764_JoinBranchPaths_D47F ; CPU:$D46E PRG:146E B0 0F lda Zp38 ; CPU:$D470 PRG:1470 A5 38 - bne Label_D47F ; CPU:$D472 PRG:1472 D0 0B - jsr $D357 ; CPU:$D474 PRG:1474 20 57 D3 - bcc Label_D47F ; CPU:$D477 PRG:1477 90 06 + bne Sub_8764_JoinBranchPaths_D47F ; CPU:$D472 PRG:1472 D0 0B + jsr SubCD357 ; CPU:$D474 PRG:1474 20 57 D3 + bcc Sub_8764_JoinBranchPaths_D47F ; CPU:$D477 PRG:1477 90 06 lda #$80 ; CPU:$D479 PRG:1479 A9 80 sta Zp07 ; CPU:$D47B PRG:147B 85 07 - bne Label_D465 ; CPU:$D47D PRG:147D D0 E6 + bne Sub_8764_OnNonzero_D465 ; CPU:$D47D PRG:147D D0 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D47F +; Routine: Sub_8764_JoinBranchPaths_D47F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5662,12 +5662,12 @@ Label_D46A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D47F: +Sub_8764_JoinBranchPaths_D47F: lda Zp10 ; CPU:$D47F PRG:147F A5 10 - bpl Label_D486 ; CPU:$D481 PRG:1481 10 03 - jmp $D5C9 ; CPU:$D483 PRG:1483 4C C9 D5 + bpl Sub_8764_OnNonnegative_D486 ; CPU:$D481 PRG:1481 10 03 + jmp SubCD5C9 ; CPU:$D483 PRG:1483 4C C9 D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D486 +; Routine: Sub_8764_OnNonnegative_D486 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5675,7 +5675,7 @@ Label_D47F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D486: +Sub_8764_OnNonnegative_D486: lda ZpB4 ; CPU:$D486 PRG:1486 A5 B4 sta Zp1F ; CPU:$D488 PRG:1488 85 1F lda ZpB5 ; CPU:$D48A PRG:148A A5 B5 @@ -5688,14 +5688,14 @@ Label_D486: sta Zp0A ; CPU:$D499 PRG:1499 85 0A lda #$00 ; CPU:$D49B PRG:149B A9 00 sta Zp10 ; CPU:$D49D PRG:149D 85 10 - jsr $D4BF ; CPU:$D49F PRG:149F 20 BF D4 + jsr SubCD4BF ; CPU:$D49F PRG:149F 20 BF D4 lda ZpCE ; CPU:$D4A2 PRG:14A2 A5 CE - bne Label_D4AC ; CPU:$D4A4 PRG:14A4 D0 06 + bne Sub_8764_OnNonzero_D4AC ; CPU:$D4A4 PRG:14A4 D0 06 lda ZpCA ; CPU:$D4A6 PRG:14A6 A5 CA - bne Label_D4AC ; CPU:$D4A8 PRG:14A8 D0 02 + bne Sub_8764_OnNonzero_D4AC ; CPU:$D4A8 PRG:14A8 D0 02 inc ZpCE ; CPU:$D4AA PRG:14AA E6 CE ; ----------------------------------------------------------------------------- -; Routine: Label_D4AC +; Routine: Sub_8764_OnNonzero_D4AC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5703,14 +5703,14 @@ Label_D486: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4AC: +Sub_8764_OnNonzero_D4AC: rts ; CPU:$D4AC PRG:14AC 60 ; ---- data $D4AD-$D4BE (18 bytes) ---- ; referenced by `lda $D4AD,x` at $D496 (operand $D4AD falls inside this region) .byte $FF, $16, $14, $12, $14, $16, $12, $0E, $12, $16, $16, $14, $16, $16, $12, $0E ; CPU:$D4AD PRG:14AD FF 16 14 12 14 16 12 0E 12 16 16 14 16 16 12 0E .byte $12, $16 ; CPU:$D4BD PRG:14BD 12 16 ; ----------------------------------------------------------------------------- -; Routine: Label_D4BF +; Routine: SubCD4BF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5718,11 +5718,11 @@ Label_D4AC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4BF: +SubCD4BF: dec Zp0A ; CPU:$D4BF PRG:14BF C6 0A - bne Label_D4C8 ; CPU:$D4C1 PRG:14C1 D0 05 + bne Sub_8764_OnNonzero_D4C8 ; CPU:$D4C1 PRG:14C1 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C3 +; Routine: SubCD4C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5730,11 +5730,11 @@ Label_D4BF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C3: +SubCD4C3: lda #$01 ; CPU:$D4C3 PRG:14C3 A9 01 - jmp $C589 ; CPU:$D4C5 PRG:14C5 4C 89 C5 + jmp SubCC589 ; CPU:$D4C5 PRG:14C5 4C 89 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D4C8 +; Routine: Sub_8764_OnNonzero_D4C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5742,15 +5742,15 @@ Label_D4C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4C8: +Sub_8764_OnNonzero_D4C8: ldx Zp3E ; CPU:$D4C8 PRG:14C8 A6 3E ldy #$00 ; CPU:$D4CA PRG:14CA A0 00 lda $D53D,x ; CPU:$D4CC PRG:14CC BD 3D D5 - jsr $D524 ; CPU:$D4CF PRG:14CF 20 24 D5 - bcc Label_D4D6 ; CPU:$D4D2 PRG:14D2 90 02 + jsr SubCD524 ; CPU:$D4CF PRG:14CF 20 24 D5 + bcc Sub_8764_OnCarryClear_D4D6 ; CPU:$D4D2 PRG:14D2 90 02 inc Zp0B ; CPU:$D4D4 PRG:14D4 E6 0B ; ----------------------------------------------------------------------------- -; Routine: Label_D4D6 +; Routine: Sub_8764_OnCarryClear_D4D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5758,18 +5758,18 @@ Label_D4C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4D6: +Sub_8764_OnCarryClear_D4D6: iny ; CPU:$D4D6 PRG:14D6 C8 lda $D54F,x ; CPU:$D4D7 PRG:14D7 BD 4F D5 - jsr $D524 ; CPU:$D4DA PRG:14DA 20 24 D5 + jsr SubCD524 ; CPU:$D4DA PRG:14DA 20 24 D5 lda ZpDF ; CPU:$D4DD PRG:14DD A5 DF - beq Label_D4E9 ; CPU:$D4DF PRG:14DF F0 08 + beq Sub_8764_OnZero_D4E9 ; CPU:$D4DF PRG:14DF F0 08 inc ZpE0 ; CPU:$D4E1 PRG:14E1 E6 E0 lda ZpE0 ; CPU:$D4E3 PRG:14E3 A5 E0 and #$01 ; CPU:$D4E5 PRG:14E5 29 01 - beq Label_D4EC ; CPU:$D4E7 PRG:14E7 F0 03 + beq Sub_8764_OnZero_D4EC ; CPU:$D4E7 PRG:14E7 F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D4E9 +; Routine: Sub_8764_OnZero_D4E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5777,10 +5777,10 @@ Label_D4D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4E9: - jsr $F0EE ; CPU:$D4E9 PRG:14E9 20 EE F0 +Sub_8764_OnZero_D4E9: + jsr SubCF0EE ; CPU:$D4E9 PRG:14E9 20 EE F0 ; ----------------------------------------------------------------------------- -; Routine: Label_D4EC +; Routine: Sub_8764_OnZero_D4EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5788,18 +5788,18 @@ Label_D4E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4EC: - jsr $D70E ; CPU:$D4EC PRG:14EC 20 0E D7 - bcc Label_D523 ; CPU:$D4EF PRG:14EF 90 32 +Sub_8764_OnZero_D4EC: + jsr SubCD70E ; CPU:$D4EC PRG:14EC 20 0E D7 + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D4EF PRG:14EF 90 32 lda Zp65,x ; CPU:$D4F1 PRG:14F1 B5 65 cmp #$0A ; CPU:$D4F3 PRG:14F3 C9 0A - beq Label_D4FF ; CPU:$D4F5 PRG:14F5 F0 08 + beq Sub_8764_OnZero_D4FF ; CPU:$D4F5 PRG:14F5 F0 08 cmp #$04 ; CPU:$D4F7 PRG:14F7 C9 04 - beq Label_D4FF ; CPU:$D4F9 PRG:14F9 F0 04 + beq Sub_8764_OnZero_D4FF ; CPU:$D4F9 PRG:14F9 F0 04 cmp #$15 ; CPU:$D4FB PRG:14FB C9 15 - bcc Label_D523 ; CPU:$D4FD PRG:14FD 90 24 + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D4FD PRG:14FD 90 24 ; ----------------------------------------------------------------------------- -; Routine: Label_D4FF +; Routine: Sub_8764_OnZero_D4FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5807,15 +5807,15 @@ Label_D4EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D4FF: +Sub_8764_OnZero_D4FF: ldy #$00 ; CPU:$D4FF PRG:14FF A0 00 sty Zp0A ; CPU:$D501 PRG:1501 84 0A pha ; CPU:$D503 PRG:1503 48 lda #$01 ; CPU:$D504 PRG:1504 A9 01 - jsr $C589 ; CPU:$D506 PRG:1506 20 89 C5 + jsr SubCC589 ; CPU:$D506 PRG:1506 20 89 C5 pla ; CPU:$D509 PRG:1509 68 ; ----------------------------------------------------------------------------- -; Routine: Label_D50A +; Routine: SubCD50A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5823,12 +5823,12 @@ Label_D4FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D50A: - jsr $E621 ; CPU:$D50A PRG:150A 20 21 E6 +SubCD50A: + jsr SubCE621 ; CPU:$D50A PRG:150A 20 21 E6 cpx #$33 ; CPU:$D50D PRG:150D E0 33 - bcs Label_D523 ; CPU:$D50F PRG:150F B0 12 + bcs Sub_8764_JoinBranchPaths_D523 ; CPU:$D50F PRG:150F B0 12 cpx #$15 ; CPU:$D511 PRG:1511 E0 15 - bcc Label_D523 ; CPU:$D513 PRG:1513 90 0E + bcc Sub_8764_JoinBranchPaths_D523 ; CPU:$D513 PRG:1513 90 0E lda $051A,x ; CPU:$D515 PRG:1515 BD 1A 05 and #$3F ; CPU:$D518 PRG:1518 29 3F tax ; CPU:$D51A PRG:151A AA @@ -5836,7 +5836,7 @@ Label_D50A: and #$7F ; CPU:$D51E PRG:151E 29 7F sta $0667,x ; CPU:$D520 PRG:1520 9D 67 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D523 +; Routine: Sub_8764_JoinBranchPaths_D523 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5844,10 +5844,10 @@ Label_D50A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D523: +Sub_8764_JoinBranchPaths_D523: rts ; CPU:$D523 PRG:1523 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D524 +; Routine: SubCD524 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5855,14 +5855,14 @@ Label_D523: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D524: - bmi Label_D52E ; CPU:$D524 PRG:1524 30 08 +SubCD524: + bmi Sub_8764_OnNegative_D52E ; CPU:$D524 PRG:1524 30 08 clc ; CPU:$D526 PRG:1526 18 - adc a:$001F,y ; CPU:$D527 PRG:1527 79 1F 00 - sta a:$001F,y ; CPU:$D52A PRG:152A 99 1F 00 + adc a:Zp1F,y ; CPU:$D527 PRG:1527 79 1F 00 + sta a:Zp1F,y ; CPU:$D52A PRG:152A 99 1F 00 rts ; CPU:$D52D PRG:152D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D52E +; Routine: Sub_8764_OnNegative_D52E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5870,13 +5870,13 @@ Label_D524: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D52E: +Sub_8764_OnNegative_D52E: and #$7F ; CPU:$D52E PRG:152E 29 7F sta Zp29 ; CPU:$D530 PRG:1530 85 29 sec ; CPU:$D532 PRG:1532 38 - lda a:$001F,y ; CPU:$D533 PRG:1533 B9 1F 00 + lda a:Zp1F,y ; CPU:$D533 PRG:1533 B9 1F 00 sbc Zp29 ; CPU:$D536 PRG:1536 E5 29 - sta a:$001F,y ; CPU:$D538 PRG:1538 99 1F 00 + sta a:Zp1F,y ; CPU:$D538 PRG:1538 99 1F 00 clc ; CPU:$D53B PRG:153B 18 rts ; CPU:$D53C PRG:153C 60 ; ---- data $D53D-$D560 (36 bytes) ---- @@ -5886,7 +5886,7 @@ Label_D52E: .byte $06, $04, $FF, $04, $05, $06, $05, $04, $02, $00, $82, $84, $85, $86, $85, $84 ; CPU:$D54D PRG:154D 06 04 FF 04 05 06 05 04 02 00 82 84 85 86 85 84 .byte $82, $00, $02, $04 ; CPU:$D55D PRG:155D 82 00 02 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D561 +; Routine: SubCD561 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5894,20 +5894,20 @@ Label_D52E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D561: - jsr $C5A1 ; CPU:$D561 PRG:1561 20 A1 C5 +SubCD561: + jsr SubCC5A1 ; CPU:$D561 PRG:1561 20 A1 C5 txa ; CPU:$D564 PRG:1564 8A pha ; CPU:$D565 PRG:1565 48 ldx #$00 ; CPU:$D566 PRG:1566 A2 00 - jsr $D576 ; CPU:$D568 PRG:1568 20 76 D5 + jsr SubCD576 ; CPU:$D568 PRG:1568 20 76 D5 pla ; CPU:$D56B PRG:156B 68 clc ; CPU:$D56C PRG:156C 18 adc #$6F ; CPU:$D56D PRG:156D 69 6F inx ; CPU:$D56F PRG:156F E8 - jsr $D576 ; CPU:$D570 PRG:1570 20 76 D5 - jmp $C59C ; CPU:$D573 PRG:1573 4C 9C C5 + jsr SubCD576 ; CPU:$D570 PRG:1570 20 76 D5 + jmp SubCC59C ; CPU:$D573 PRG:1573 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D576 +; Routine: SubCD576 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5915,15 +5915,15 @@ Label_D561: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D576: +SubCD576: tay ; CPU:$D576 PRG:1576 A8 clc ; CPU:$D577 PRG:1577 18 lda ZpB4,x ; CPU:$D578 PRG:1578 B5 B4 cpx #$00 ; CPU:$D57A PRG:157A E0 00 - beq Label_D57F ; CPU:$D57C PRG:157C F0 01 + beq Sub_8764_OnZero_D57F ; CPU:$D57C PRG:157C F0 01 inx ; CPU:$D57E PRG:157E E8 ; ----------------------------------------------------------------------------- -; Routine: Label_D57F +; Routine: Sub_8764_OnZero_D57F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5931,7 +5931,7 @@ Label_D576: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D57F: +Sub_8764_OnZero_D57F: adc $D5BD,x ; CPU:$D57F PRG:157F 7D BD D5 sta Zp29 ; CPU:$D582 PRG:1582 85 29 lda $D5C0,x ; CPU:$D584 PRG:1584 BD C0 D5 @@ -5945,13 +5945,13 @@ Label_D57F: adc Zp2A ; CPU:$D595 PRG:1595 65 2A sta $035E,y ; CPU:$D597 PRG:1597 99 5E 03 cmp $D5C3,x ; CPU:$D59A PRG:159A DD C3 D5 - bcc Label_D5BC ; CPU:$D59D PRG:159D 90 1D - bne Label_D5A9 ; CPU:$D59F PRG:159F D0 08 + bcc Sub_8764_OnCarryClear_D5BC ; CPU:$D59D PRG:159D 90 1D + bne Sub_8764_OnNonzero_D5A9 ; CPU:$D59F PRG:159F D0 08 lda $0280,y ; CPU:$D5A1 PRG:15A1 B9 80 02 cmp $D5C6,x ; CPU:$D5A4 PRG:15A4 DD C6 D5 - bcc Label_D5BC ; CPU:$D5A7 PRG:15A7 90 13 + bcc Sub_8764_OnCarryClear_D5BC ; CPU:$D5A7 PRG:15A7 90 13 ; ----------------------------------------------------------------------------- -; Routine: Label_D5A9 +; Routine: Sub_8764_OnNonzero_D5A9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5959,7 +5959,7 @@ Label_D57F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5A9: +Sub_8764_OnNonzero_D5A9: sec ; CPU:$D5A9 PRG:15A9 38 lda $0280,y ; CPU:$D5AA PRG:15AA B9 80 02 sbc $D5C6,x ; CPU:$D5AD PRG:15AD FD C6 D5 @@ -5968,7 +5968,7 @@ Label_D5A9: sbc $D5C3,x ; CPU:$D5B6 PRG:15B6 FD C3 D5 sta $035E,y ; CPU:$D5B9 PRG:15B9 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D5BC +; Routine: Sub_8764_OnCarryClear_D5BC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5976,7 +5976,7 @@ Label_D5A9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5BC: +Sub_8764_OnCarryClear_D5BC: rts ; CPU:$D5BC PRG:15BC 60 ; ---- data $D5BD-$D5C8 (12 bytes) ---- ; referenced by `adc $D5BD,x` at $D57F (operand $D5BD falls inside this region) @@ -5987,7 +5987,7 @@ Label_D5BC: ; referenced by `sbc $D5C3,x` at $D5B6 (operand $D5C3 falls inside this region) .byte $32, $00, $A2, $01, $00, $00, $0C, $00, $07, $80, $00, $D0 ; CPU:$D5BD PRG:15BD 32 00 A2 01 00 00 0C 00 07 80 00 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_D5C9 +; Routine: SubCD5C9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -5995,19 +5995,19 @@ Label_D5BC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5C9: +SubCD5C9: lda $0254 ; CPU:$D5C9 PRG:15C9 AD 54 02 cmp #$24 ; CPU:$D5CC PRG:15CC C9 24 - bcc Label_D5E2 ; CPU:$D5CE PRG:15CE 90 12 + bcc Sub_8764_OnCarryClear_D5E2 ; CPU:$D5CE PRG:15CE 90 12 dec $0254 ; CPU:$D5D0 PRG:15D0 CE 54 02 lda #$7D ; CPU:$D5D3 PRG:15D3 A9 7D sta $043F ; CPU:$D5D5 PRG:15D5 8D 3F 04 ldx #$03 ; CPU:$D5D8 PRG:15D8 A2 03 - jsr $D561 ; CPU:$D5DA PRG:15DA 20 61 D5 + jsr SubCD561 ; CPU:$D5DA PRG:15DA 20 61 D5 lda #$20 ; CPU:$D5DD PRG:15DD A9 20 sta $04AE ; CPU:$D5DF PRG:15DF 8D AE 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E2 +; Routine: Sub_8764_OnCarryClear_D5E2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6015,12 +6015,12 @@ Label_D5C9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E2: +Sub_8764_OnCarryClear_D5E2: lda #$00 ; CPU:$D5E2 PRG:15E2 A9 00 sta Zp10 ; CPU:$D5E4 PRG:15E4 85 10 rts ; CPU:$D5E6 PRG:15E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D5E7 +; Routine: SubCD5E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6028,14 +6028,14 @@ Label_D5E2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5E7: - jsr $E700 ; CPU:$D5E7 PRG:15E7 20 00 E7 - jsr $D455 ; CPU:$D5EA PRG:15EA 20 55 D4 - jsr $D43A ; CPU:$D5ED PRG:15ED 20 3A D4 - jsr $D01A ; CPU:$D5F0 PRG:15F0 20 1A D0 +SubCD5E7: + jsr SubCE700 ; CPU:$D5E7 PRG:15E7 20 00 E7 + jsr SubCD455 ; CPU:$D5EA PRG:15EA 20 55 D4 + jsr SubCD43A ; CPU:$D5ED PRG:15ED 20 3A D4 + jsr SubCD01A ; CPU:$D5F0 PRG:15F0 20 1A D0 ldy #$0F ; CPU:$D5F3 PRG:15F3 A0 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D5F5 +; Routine: Sub_8764_OnNonnegative_D5F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6043,15 +6043,15 @@ Label_D5E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D5F5: - lda a:$0065,y ; CPU:$D5F5 PRG:15F5 B9 65 00 +Sub_8764_OnNonnegative_D5F5: + lda a:Zp65,y ; CPU:$D5F5 PRG:15F5 B9 65 00 cmp #$03 ; CPU:$D5F8 PRG:15F8 C9 03 - beq Label_D600 ; CPU:$D5FA PRG:15FA F0 04 + beq Sub_8764_OnZero_D600 ; CPU:$D5FA PRG:15FA F0 04 dey ; CPU:$D5FC PRG:15FC 88 - bpl Label_D5F5 ; CPU:$D5FD PRG:15FD 10 F6 + bpl Sub_8764_OnNonnegative_D5F5 ; CPU:$D5FD PRG:15FD 10 F6 rts ; CPU:$D5FF PRG:15FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D600 +; Routine: Sub_8764_OnZero_D600 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6059,17 +6059,17 @@ Label_D5F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D600: +Sub_8764_OnZero_D600: ldx #$03 ; CPU:$D600 PRG:1600 A2 03 - jsr $E3B5 ; CPU:$D602 PRG:1602 20 B5 E3 + jsr SubCE3B5 ; CPU:$D602 PRG:1602 20 B5 E3 lda $043F ; CPU:$D605 PRG:1605 AD 3F 04 cmp #$7E ; CPU:$D608 PRG:1608 C9 7E - bne Label_D611 ; CPU:$D60A PRG:160A D0 05 + bne Sub_8764_OnNonzero_D611 ; CPU:$D60A PRG:160A D0 05 pha ; CPU:$D60C PRG:160C 48 - jsr $C50D ; CPU:$D60D PRG:160D 20 0D C5 + jsr SubCC50D ; CPU:$D60D PRG:160D 20 0D C5 pla ; CPU:$D610 PRG:1610 68 ; ----------------------------------------------------------------------------- -; Routine: Label_D611 +; Routine: Sub_8764_OnNonzero_D611 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6077,13 +6077,13 @@ Label_D600: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D611: +Sub_8764_OnNonzero_D611: cmp #$82 ; CPU:$D611 PRG:1611 C9 82 - bne Label_D61A ; CPU:$D613 PRG:1613 D0 05 - jsr $D6FE ; CPU:$D615 PRG:1615 20 FE D6 - bcs Label_D62C ; CPU:$D618 PRG:1618 B0 12 + bne Sub_8764_OnNonzero_D61A ; CPU:$D613 PRG:1613 D0 05 + jsr SubCD6FE ; CPU:$D615 PRG:1615 20 FE D6 + bcs Sub_8764_OnCarrySet_D62C ; CPU:$D618 PRG:1618 B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_D61A +; Routine: Sub_8764_OnNonzero_D61A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6091,10 +6091,10 @@ Label_D611: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D61A: +Sub_8764_OnNonzero_D61A: rts ; CPU:$D61A PRG:161A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D61B +; Routine: SubCD61B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6102,17 +6102,17 @@ Label_D61A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D61B: +SubCD61B: lda ZpB4 ; CPU:$D61B PRG:161B A5 B4 sta Zp25 ; CPU:$D61D PRG:161D 85 25 lda ZpB5 ; CPU:$D61F PRG:161F A5 B5 sta Zp27 ; CPU:$D621 PRG:1621 85 27 lda #$00 ; CPU:$D623 PRG:1623 A9 00 sta Zp03 ; CPU:$D625 PRG:1625 85 03 - jsr $D71A ; CPU:$D627 PRG:1627 20 1A D7 - bcc Label_D63A ; CPU:$D62A PRG:162A 90 0E + jsr SubCD71A ; CPU:$D627 PRG:1627 20 1A D7 + bcc Sub_8764_OnCarryClear_D63A ; CPU:$D62A PRG:162A 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D62C +; Routine: Sub_8764_OnCarrySet_D62C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6120,16 +6120,16 @@ Label_D61B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D62C: +Sub_8764_OnCarrySet_D62C: lda Zp65,x ; CPU:$D62C PRG:162C B5 65 cmp #$15 ; CPU:$D62E PRG:162E C9 15 - bcs Label_D63B ; CPU:$D630 PRG:1630 B0 09 + bcs Sub_8764_OnCarrySet_D63B ; CPU:$D630 PRG:1630 B0 09 cmp #$0F ; CPU:$D632 PRG:1632 C9 0F - bcs Label_D68E ; CPU:$D634 PRG:1634 B0 58 + bcs Sub_8764_OnCarrySet_D68E ; CPU:$D634 PRG:1634 B0 58 cmp #$0D ; CPU:$D636 PRG:1636 C9 0D - bcs Label_D644 ; CPU:$D638 PRG:1638 B0 0A + bcs Sub_8764_OnCarrySet_D644 ; CPU:$D638 PRG:1638 B0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D63A +; Routine: Sub_8764_OnCarryClear_D63A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6137,10 +6137,10 @@ Label_D62C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63A: +Sub_8764_OnCarryClear_D63A: rts ; CPU:$D63A PRG:163A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D63B +; Routine: Sub_8764_OnCarrySet_D63B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6148,12 +6148,12 @@ Label_D63A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D63B: +Sub_8764_OnCarrySet_D63B: cmp #$59 ; CPU:$D63B PRG:163B C9 59 - bcs Label_D642 ; CPU:$D63D PRG:163D B0 03 - jmp $D50A ; CPU:$D63F PRG:163F 4C 0A D5 + bcs Sub_8764_OnCarrySet_D642 ; CPU:$D63D PRG:163D B0 03 + jmp SubCD50A ; CPU:$D63F PRG:163F 4C 0A D5 ; ----------------------------------------------------------------------------- -; Routine: Label_D642 +; Routine: Sub_8764_OnCarrySet_D642 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6161,11 +6161,11 @@ Label_D63B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D642: +Sub_8764_OnCarrySet_D642: clc ; CPU:$D642 PRG:1642 18 rts ; CPU:$D643 PRG:1643 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D644 +; Routine: Sub_8764_OnCarrySet_D644 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6173,15 +6173,15 @@ Label_D642: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D644: +Sub_8764_OnCarrySet_D644: lda ZpBB ; CPU:$D644 PRG:1644 A5 BB - bpl Label_D66F ; CPU:$D646 PRG:1646 10 27 + bpl Sub_8764_OnNonnegative_D66F ; CPU:$D646 PRG:1646 10 27 dec ZpBC ; CPU:$D648 PRG:1648 C6 BC lda ZpBC ; CPU:$D64A PRG:164A A5 BC and #$03 ; CPU:$D64C PRG:164C 29 03 - bne Label_D675 ; CPU:$D64E PRG:164E D0 25 + bne Sub_8764_JoinBranchPaths_D675 ; CPU:$D64E PRG:164E D0 25 ; ----------------------------------------------------------------------------- -; Routine: Label_D650 +; Routine: SubCD650 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6189,17 +6189,17 @@ Label_D644: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D650: +SubCD650: dec ZpBA ; CPU:$D650 PRG:1650 C6 BA - beq Label_D664 ; CPU:$D652 PRG:1652 F0 10 + beq Sub_8764_OnZero_D664 ; CPU:$D652 PRG:1652 F0 10 ldy #$0D ; CPU:$D654 PRG:1654 A0 0D ldx ZpBA ; CPU:$D656 PRG:1656 A6 BA lda $D682,x ; CPU:$D658 PRG:1658 BD 82 D6 - jsr $C4F9 ; CPU:$D65B PRG:165B 20 F9 C4 + jsr SubCC4F9 ; CPU:$D65B PRG:165B 20 F9 C4 lda $D676,x ; CPU:$D65E PRG:165E BD 76 D6 - jmp $D1CB ; CPU:$D661 PRG:1661 4C CB D1 + jmp SubCD1CB ; CPU:$D661 PRG:1661 4C CB D1 ; ----------------------------------------------------------------------------- -; Routine: Label_D664 +; Routine: Sub_8764_OnZero_D664 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6207,13 +6207,13 @@ Label_D650: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D664: +Sub_8764_OnZero_D664: lda #$FF ; CPU:$D664 PRG:1664 A9 FF sta $036B ; CPU:$D666 PRG:1666 8D 6B 03 sta $036C ; CPU:$D669 PRG:1669 8D 6C 03 - jmp $D6EF ; CPU:$D66C PRG:166C 4C EF D6 + jmp SubCD6EF ; CPU:$D66C PRG:166C 4C EF D6 ; ----------------------------------------------------------------------------- -; Routine: Label_D66F +; Routine: Sub_8764_OnNonnegative_D66F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6221,12 +6221,12 @@ Label_D664: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D66F: +Sub_8764_OnNonnegative_D66F: dec ZpBB ; CPU:$D66F PRG:166F C6 BB - bne Label_D675 ; CPU:$D671 PRG:1671 D0 02 + bne Sub_8764_JoinBranchPaths_D675 ; CPU:$D671 PRG:1671 D0 02 inc ZpBB ; CPU:$D673 PRG:1673 E6 BB ; ----------------------------------------------------------------------------- -; Routine: Label_D675 +; Routine: Sub_8764_JoinBranchPaths_D675 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6234,7 +6234,7 @@ Label_D66F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D675: +Sub_8764_JoinBranchPaths_D675: rts ; CPU:$D675 PRG:1675 60 ; ---- data $D676-$D68D (24 bytes) ---- ; referenced by `lda $D682,x` at $D658 (operand $D682 falls inside this region) @@ -6242,7 +6242,7 @@ Label_D675: .byte $18, $18, $18, $28, $10, $10, $20, $30, $18, $28, $10, $20, $0E, $0E, $0E, $0A ; CPU:$D676 PRG:1676 18 18 18 28 10 10 20 30 18 28 10 20 0E 0E 0E 0A .byte $08, $06, $06, $08, $06, $06, $06, $0E ; CPU:$D686 PRG:1686 08 06 06 08 06 06 06 0E ; ----------------------------------------------------------------------------- -; Routine: Label_D68E +; Routine: Sub_8764_OnCarrySet_D68E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6250,10 +6250,10 @@ Label_D675: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D68E: +Sub_8764_OnCarrySet_D68E: tax ; CPU:$D68E PRG:168E AA dec $0698,x ; CPU:$D68F PRG:168F DE 98 06 - bpl Label_D675 ; CPU:$D692 PRG:1692 10 E1 + bpl Sub_8764_JoinBranchPaths_D675 ; CPU:$D692 PRG:1692 10 E1 lda $0280,x ; CPU:$D694 PRG:1694 BD 80 02 clc ; CPU:$D697 PRG:1697 18 adc #$08 ; CPU:$D698 PRG:1698 69 08 @@ -6268,7 +6268,7 @@ Label_D68E: lda $03CD,x ; CPU:$D6AE PRG:16AE BD CD 03 adc #$00 ; CPU:$D6B1 PRG:16B1 69 00 sta $03D4 ; CPU:$D6B3 PRG:16B3 8D D4 03 - jsr $DDDB ; CPU:$D6B6 PRG:16B6 20 DB DD + jsr SubCDDDB ; CPU:$D6B6 PRG:16B6 20 DB DD lda #$7C ; CPU:$D6B9 PRG:16B9 A9 7C sta $0443 ; CPU:$D6BB PRG:16BB 8D 43 04 lda #$04 ; CPU:$D6BE PRG:16BE A9 04 @@ -6278,7 +6278,7 @@ Label_D68E: dec $0262 ; CPU:$D6C8 PRG:16C8 CE 62 02 ldy #$0C ; CPU:$D6CB PRG:16CB A0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D6CD +; Routine: Sub_8764_OnNonzero_D6CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6286,25 +6286,25 @@ Label_D68E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6CD: +Sub_8764_OnNonzero_D6CD: lda $0240,y ; CPU:$D6CD PRG:16CD B9 40 02 cmp #$23 ; CPU:$D6D0 PRG:16D0 C9 23 - bne Label_D6EF ; CPU:$D6D2 PRG:16D2 D0 1B + bne SubCD6EF ; CPU:$D6D2 PRG:16D2 D0 1B iny ; CPU:$D6D4 PRG:16D4 C8 cpy #$0F ; CPU:$D6D5 PRG:16D5 C0 0F - bne Label_D6CD ; CPU:$D6D7 PRG:16D7 D0 F4 + bne Sub_8764_OnNonzero_D6CD ; CPU:$D6D7 PRG:16D7 D0 F4 inc ZpDA ; CPU:$D6D9 PRG:16D9 E6 DA lda ZpDA ; CPU:$D6DB PRG:16DB A5 DA and #$07 ; CPU:$D6DD PRG:16DD 29 07 tay ; CPU:$D6DF PRG:16DF A8 lda $C026,y ; CPU:$D6E0 PRG:16E0 B9 26 C0 sta ZpDB ; CPU:$D6E3 PRG:16E3 85 DB - jsr $D224 ; CPU:$D6E5 PRG:16E5 20 24 D2 - jsr $D6F7 ; CPU:$D6E8 PRG:16E8 20 F7 D6 + jsr SubCD224 ; CPU:$D6E5 PRG:16E5 20 24 D2 + jsr SubCD6F7 ; CPU:$D6E8 PRG:16E8 20 F7 D6 lda #$05 ; CPU:$D6EB PRG:16EB A9 05 - bne Label_D6F1 ; CPU:$D6ED PRG:16ED D0 02 + bne Sub_8764_OnNonzero_D6F1 ; CPU:$D6ED PRG:16ED D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D6EF +; Routine: SubCD6EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6312,10 +6312,10 @@ Label_D6CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6EF: +SubCD6EF: lda #$01 ; CPU:$D6EF PRG:16EF A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F1 +; Routine: Sub_8764_OnNonzero_D6F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6323,11 +6323,11 @@ Label_D6EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F1: - jsr $CE20 ; CPU:$D6F1 PRG:16F1 20 20 CE - jsr $C515 ; CPU:$D6F4 PRG:16F4 20 15 C5 +Sub_8764_OnNonzero_D6F1: + jsr SubCCE20 ; CPU:$D6F1 PRG:16F1 20 20 CE + jsr SubCC515 ; CPU:$D6F4 PRG:16F4 20 15 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_D6F7 +; Routine: SubCD6F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6335,12 +6335,12 @@ Label_D6F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6F7: +SubCD6F7: lda #$05 ; CPU:$D6F7 PRG:16F7 A9 05 ldy #$2A ; CPU:$D6F9 PRG:16F9 A0 2A - jmp $E5F1 ; CPU:$D6FB PRG:16FB 4C F1 E5 + jmp SubCE5F1 ; CPU:$D6FB PRG:16FB 4C F1 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_D6FE +; Routine: SubCD6FE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6348,16 +6348,16 @@ Label_D6F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D6FE: - lda a:$0085,y ; CPU:$D6FE PRG:16FE B9 85 00 +SubCD6FE: + lda a:Zp85,y ; CPU:$D6FE PRG:16FE B9 85 00 sta Zp25 ; CPU:$D701 PRG:1701 85 25 - lda a:$0095,y ; CPU:$D703 PRG:1703 B9 95 00 + lda a:Zp95,y ; CPU:$D703 PRG:1703 B9 95 00 sta Zp27 ; CPU:$D706 PRG:1706 85 27 lda #$00 ; CPU:$D708 PRG:1708 A9 00 sta Zp03 ; CPU:$D70A PRG:170A 85 03 - beq Label_D71A ; CPU:$D70C PRG:170C F0 0C + beq SubCD71A ; CPU:$D70C PRG:170C F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_D70E +; Routine: SubCD70E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6365,7 +6365,7 @@ Label_D6FE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D70E: +SubCD70E: lda Zp1F ; CPU:$D70E PRG:170E A5 1F sta Zp25 ; CPU:$D710 PRG:1710 85 25 lda Zp20 ; CPU:$D712 PRG:1712 A5 20 @@ -6373,7 +6373,7 @@ Label_D70E: lda #$00 ; CPU:$D716 PRG:1716 A9 00 sta Zp03 ; CPU:$D718 PRG:1718 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D71A +; Routine: SubCD71A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6381,11 +6381,11 @@ Label_D70E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71A: +SubCD71A: ldx #$07 ; CPU:$D71A PRG:171A A2 07 - bne Label_D724 ; CPU:$D71C PRG:171C D0 06 + bne Sub_8764_JoinBranchPaths_D724 ; CPU:$D71C PRG:171C D0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D71E +; Routine: Sub_8764_JoinBranchPaths_D71E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6393,13 +6393,13 @@ Label_D71A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D71E: +Sub_8764_JoinBranchPaths_D71E: dex ; CPU:$D71E PRG:171E CA cpx #$03 ; CPU:$D71F PRG:171F E0 03 - bcs Label_D724 ; CPU:$D721 PRG:1721 B0 01 + bcs Sub_8764_JoinBranchPaths_D724 ; CPU:$D721 PRG:1721 B0 01 rts ; CPU:$D723 PRG:1723 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D724 +; Routine: Sub_8764_JoinBranchPaths_D724 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6407,20 +6407,20 @@ Label_D71E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D724: +Sub_8764_JoinBranchPaths_D724: lda Zp65,x ; CPU:$D724 PRG:1724 B5 65 - bmi Label_D71E ; CPU:$D726 PRG:1726 30 F6 - beq Label_D71E ; CPU:$D728 PRG:1728 F0 F4 + bmi Sub_8764_JoinBranchPaths_D71E ; CPU:$D726 PRG:1726 30 F6 + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D728 PRG:1728 F0 F4 cmp #$04 ; CPU:$D72A PRG:172A C9 04 - bcc Label_D740 ; CPU:$D72C PRG:172C 90 12 + bcc Sub_8764_OnCarryClear_D740 ; CPU:$D72C PRG:172C 90 12 lda Zp34 ; CPU:$D72E PRG:172E A5 34 and $E6CD,x ; CPU:$D730 PRG:1730 3D CD E6 - beq Label_D73B ; CPU:$D733 PRG:1733 F0 06 - jsr $D784 ; CPU:$D735 PRG:1735 20 84 D7 - bcc Label_D740 ; CPU:$D738 PRG:1738 90 06 + beq Sub_8764_OnZero_D73B ; CPU:$D733 PRG:1733 F0 06 + jsr SubCD784 ; CPU:$D735 PRG:1735 20 84 D7 + bcc Sub_8764_OnCarryClear_D740 ; CPU:$D738 PRG:1738 90 06 rts ; CPU:$D73A PRG:173A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D73B +; Routine: Sub_8764_OnZero_D73B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6428,11 +6428,11 @@ Label_D724: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D73B: - jsr $D77A ; CPU:$D73B PRG:173B 20 7A D7 - bcs Label_D772 ; CPU:$D73E PRG:173E B0 32 +Sub_8764_OnZero_D73B: + jsr SubCD77A ; CPU:$D73B PRG:173B 20 7A D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D73E PRG:173E B0 32 ; ----------------------------------------------------------------------------- -; Routine: Label_D740 +; Routine: Sub_8764_OnCarryClear_D740 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6440,26 +6440,26 @@ Label_D73B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D740: +Sub_8764_OnCarryClear_D740: lda Zp6D,x ; CPU:$D740 PRG:1740 B5 6D - beq Label_D71E ; CPU:$D742 PRG:1742 F0 DA - bmi Label_D71E ; CPU:$D744 PRG:1744 30 D8 + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D742 PRG:1742 F0 DA + bmi Sub_8764_JoinBranchPaths_D71E ; CPU:$D744 PRG:1744 30 D8 cmp #$04 ; CPU:$D746 PRG:1746 C9 04 - bcc Label_D71E ; CPU:$D748 PRG:1748 90 D4 + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D748 PRG:1748 90 D4 lda Zp09 ; CPU:$D74A PRG:174A A5 09 and $E6CD,x ; CPU:$D74C PRG:174C 3D CD E6 - beq Label_D71E ; CPU:$D74F PRG:174F F0 CD + beq Sub_8764_JoinBranchPaths_D71E ; CPU:$D74F PRG:174F F0 CD stx Zp03 ; CPU:$D751 PRG:1751 86 03 lda Zp35 ; CPU:$D753 PRG:1753 A5 35 and $E6CD,x ; CPU:$D755 PRG:1755 3D CD E6 - beq Label_D766 ; CPU:$D758 PRG:1758 F0 0C - jsr $D774 ; CPU:$D75A PRG:175A 20 74 D7 - jsr $D784 ; CPU:$D75D PRG:175D 20 84 D7 - bcs Label_D772 ; CPU:$D760 PRG:1760 B0 10 + beq Sub_8764_OnZero_D766 ; CPU:$D758 PRG:1758 F0 0C + jsr SubCD774 ; CPU:$D75A PRG:175A 20 74 D7 + jsr SubCD784 ; CPU:$D75D PRG:175D 20 84 D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D760 PRG:1760 B0 10 ldx Zp03 ; CPU:$D762 PRG:1762 A6 03 - bcc Label_D71E ; CPU:$D764 PRG:1764 90 B8 + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D764 PRG:1764 90 B8 ; ----------------------------------------------------------------------------- -; Routine: Label_D766 +; Routine: Sub_8764_OnZero_D766 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6467,14 +6467,14 @@ Label_D740: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D766: - jsr $D774 ; CPU:$D766 PRG:1766 20 74 D7 - jsr $D77A ; CPU:$D769 PRG:1769 20 7A D7 - bcs Label_D772 ; CPU:$D76C PRG:176C B0 04 +Sub_8764_OnZero_D766: + jsr SubCD774 ; CPU:$D766 PRG:1766 20 74 D7 + jsr SubCD77A ; CPU:$D769 PRG:1769 20 7A D7 + bcs Sub_8764_OnCarrySet_D772 ; CPU:$D76C PRG:176C B0 04 ldx Zp03 ; CPU:$D76E PRG:176E A6 03 - bcc Label_D71E ; CPU:$D770 PRG:1770 90 AC + bcc Sub_8764_JoinBranchPaths_D71E ; CPU:$D770 PRG:1770 90 AC ; ----------------------------------------------------------------------------- -; Routine: Label_D772 +; Routine: Sub_8764_OnCarrySet_D772 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6482,11 +6482,11 @@ Label_D766: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D772: +Sub_8764_OnCarrySet_D772: sec ; CPU:$D772 PRG:1772 38 rts ; CPU:$D773 PRG:1773 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D774 +; Routine: SubCD774 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6494,14 +6494,14 @@ Label_D772: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D774: +SubCD774: txa ; CPU:$D774 PRG:1774 8A clc ; CPU:$D775 PRG:1775 18 adc #$08 ; CPU:$D776 PRG:1776 69 08 tax ; CPU:$D778 PRG:1778 AA rts ; CPU:$D779 PRG:1779 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D77A +; Routine: SubCD77A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6509,14 +6509,14 @@ Label_D774: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D77A: +SubCD77A: lda #$F6 ; CPU:$D77A PRG:177A A9 F6 sta Zp2A ; CPU:$D77C PRG:177C 85 2A lda #$0A ; CPU:$D77E PRG:177E A9 0A sta Zp29 ; CPU:$D780 PRG:1780 85 29 - bne Label_D78C ; CPU:$D782 PRG:1782 D0 08 + bne Sub_8764_OnNonzero_D78C ; CPU:$D782 PRG:1782 D0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D784 +; Routine: SubCD784 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6524,13 +6524,13 @@ Label_D77A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D784: +SubCD784: lda #$F0 ; CPU:$D784 PRG:1784 A9 F0 sta Zp2A ; CPU:$D786 PRG:1786 85 2A lda #$1E ; CPU:$D788 PRG:1788 A9 1E sta Zp29 ; CPU:$D78A PRG:178A 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_D78C +; Routine: Sub_8764_OnNonzero_D78C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6538,18 +6538,18 @@ Label_D784: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D78C: +Sub_8764_OnNonzero_D78C: sec ; CPU:$D78C PRG:178C 38 lda Zp27 ; CPU:$D78D PRG:178D A5 27 sbc Zp95,x ; CPU:$D78F PRG:178F F5 95 cmp Zp2A ; CPU:$D791 PRG:1791 C5 2A - bcs Label_D79B ; CPU:$D793 PRG:1793 B0 06 + bcs Sub_8764_JoinBranchPaths_D79B ; CPU:$D793 PRG:1793 B0 06 cmp Zp29 ; CPU:$D795 PRG:1795 C5 29 - bcc Label_D79B ; CPU:$D797 PRG:1797 90 02 + bcc Sub_8764_JoinBranchPaths_D79B ; CPU:$D797 PRG:1797 90 02 clc ; CPU:$D799 PRG:1799 18 rts ; CPU:$D79A PRG:179A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D79B +; Routine: Sub_8764_JoinBranchPaths_D79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6557,13 +6557,13 @@ Label_D78C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D79B: +Sub_8764_JoinBranchPaths_D79B: cpx #$08 ; CPU:$D79B PRG:179B E0 08 - bcc Label_D7A3 ; CPU:$D79D PRG:179D 90 04 + bcc Sub_8764_OnCarryClear_D7A3 ; CPU:$D79D PRG:179D 90 04 lda Zp37 ; CPU:$D79F PRG:179F A5 37 - bcs Label_D7A5 ; CPU:$D7A1 PRG:17A1 B0 02 + bcs Sub_8764_OnCarrySet_D7A5 ; CPU:$D7A1 PRG:17A1 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A3 +; Routine: Sub_8764_OnCarryClear_D7A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6571,10 +6571,10 @@ Label_D79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A3: +Sub_8764_OnCarryClear_D7A3: lda Zp36 ; CPU:$D7A3 PRG:17A3 A5 36 ; ----------------------------------------------------------------------------- -; Routine: Label_D7A5 +; Routine: Sub_8764_OnCarrySet_D7A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6582,13 +6582,13 @@ Label_D7A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7A5: +Sub_8764_OnCarrySet_D7A5: and $E6CD,x ; CPU:$D7A5 PRG:17A5 3D CD E6 - beq Label_D7AE ; CPU:$D7A8 PRG:17A8 F0 04 + beq Sub_8764_OnZero_D7AE ; CPU:$D7A8 PRG:17A8 F0 04 lda #$01 ; CPU:$D7AA PRG:17AA A9 01 - bne Label_D7B0 ; CPU:$D7AC PRG:17AC D0 02 + bne Sub_8764_OnNonzero_D7B0 ; CPU:$D7AC PRG:17AC D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D7AE +; Routine: Sub_8764_OnZero_D7AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6596,10 +6596,10 @@ Label_D7A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7AE: +Sub_8764_OnZero_D7AE: lda #$00 ; CPU:$D7AE PRG:17AE A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D7B0 +; Routine: Sub_8764_OnNonzero_D7B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6607,7 +6607,7 @@ Label_D7AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7B0: +Sub_8764_OnNonzero_D7B0: sta Zp04 ; CPU:$D7B0 PRG:17B0 85 04 sec ; CPU:$D7B2 PRG:17B2 38 lda Zp25 ; CPU:$D7B3 PRG:17B3 A5 25 @@ -6615,12 +6615,12 @@ Label_D7B0: sta Zp05 ; CPU:$D7B7 PRG:17B7 85 05 lda Zp03 ; CPU:$D7B9 PRG:17B9 A5 03 sbc Zp04 ; CPU:$D7BB PRG:17BB E5 04 - beq Label_D7C7 ; CPU:$D7BD PRG:17BD F0 08 + beq Sub_8764_OnZero_D7C7 ; CPU:$D7BD PRG:17BD F0 08 lda Zp05 ; CPU:$D7BF PRG:17BF A5 05 cmp Zp2A ; CPU:$D7C1 PRG:17C1 C5 2A - bcs Label_D7CD ; CPU:$D7C3 PRG:17C3 B0 08 + bcs Sub_8764_OnCarrySet_D7CD ; CPU:$D7C3 PRG:17C3 B0 08 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C5 +; Routine: Sub_8764_OnCarrySet_D7C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6628,11 +6628,11 @@ Label_D7B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C5: +Sub_8764_OnCarrySet_D7C5: clc ; CPU:$D7C5 PRG:17C5 18 rts ; CPU:$D7C6 PRG:17C6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7C7 +; Routine: Sub_8764_OnZero_D7C7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6640,12 +6640,12 @@ Label_D7C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7C7: +Sub_8764_OnZero_D7C7: lda Zp05 ; CPU:$D7C7 PRG:17C7 A5 05 cmp Zp29 ; CPU:$D7C9 PRG:17C9 C5 29 - bcs Label_D7C5 ; CPU:$D7CB PRG:17CB B0 F8 + bcs Sub_8764_OnCarrySet_D7C5 ; CPU:$D7CB PRG:17CB B0 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_D7CD +; Routine: Sub_8764_OnCarrySet_D7CD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6653,11 +6653,11 @@ Label_D7C7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7CD: +Sub_8764_OnCarrySet_D7CD: sec ; CPU:$D7CD PRG:17CD 38 rts ; CPU:$D7CE PRG:17CE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D7CF +; Routine: Sub_8764_OnZero_D7CF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6665,7 +6665,7 @@ Label_D7CD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7CF: +Sub_8764_OnZero_D7CF: ldx #$6E ; CPU:$D7CF PRG:17CF A2 6E lda #$84 ; CPU:$D7D1 PRG:17D1 A9 84 sta Zp40 ; CPU:$D7D3 PRG:17D3 85 40 @@ -6674,7 +6674,7 @@ Label_D7CF: lda #$28 ; CPU:$D7D9 PRG:17D9 A9 28 sta Zp06 ; CPU:$D7DB PRG:17DB 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D7DD +; Routine: Sub_8764_OnCarrySet_D7DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6682,19 +6682,19 @@ Label_D7CF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7DD: +Sub_8764_OnCarrySet_D7DD: lda $035E,x ; CPU:$D7DD PRG:17DD BD 5E 03 - bmi Label_D7FA ; CPU:$D7E0 PRG:17E0 30 18 + bmi Sub_8764_OnNegative_D7FA ; CPU:$D7E0 PRG:17E0 30 18 lda $04AB,x ; CPU:$D7E2 PRG:17E2 BD AB 04 - bmi Label_D7F7 ; CPU:$D7E5 PRG:17E5 30 10 + bmi Sub_8764_OnNegative_D7F7 ; CPU:$D7E5 PRG:17E5 30 10 lda $043C,x ; CPU:$D7E7 PRG:17E7 BD 3C 04 tay ; CPU:$D7EA PRG:17EA A8 lda $DA41,y ; CPU:$D7EB PRG:17EB B9 41 DA - jsr $EDD7 ; CPU:$D7EE PRG:17EE 20 D7 ED + jsr SubCEDD7 ; CPU:$D7EE PRG:17EE 20 D7 ED lda $DA4D,y ; CPU:$D7F1 PRG:17F1 B9 4D DA - jsr $EDE2 ; CPU:$D7F4 PRG:17F4 20 E2 ED + jsr SubCEDE2 ; CPU:$D7F4 PRG:17F4 20 E2 ED ; ----------------------------------------------------------------------------- -; Routine: Label_D7F7 +; Routine: Sub_8764_OnNegative_D7F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6702,10 +6702,10 @@ Label_D7DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7F7: - jsr $DC81 ; CPU:$D7F7 PRG:17F7 20 81 DC +Sub_8764_OnNegative_D7F7: + jsr SubCDC81 ; CPU:$D7F7 PRG:17F7 20 81 DC ; ----------------------------------------------------------------------------- -; Routine: Label_D7FA +; Routine: Sub_8764_OnNegative_D7FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6713,13 +6713,13 @@ Label_D7F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D7FA: +Sub_8764_OnNegative_D7FA: dex ; CPU:$D7FA PRG:17FA CA cpx #$59 ; CPU:$D7FB PRG:17FB E0 59 - bcs Label_D7DD ; CPU:$D7FD PRG:17FD B0 DE + bcs Sub_8764_OnCarrySet_D7DD ; CPU:$D7FD PRG:17FD B0 DE rts ; CPU:$D7FF PRG:17FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D800 +; Routine: SubCD800 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6727,14 +6727,14 @@ Label_D7FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D800: +SubCD800: lda Zp11 ; CPU:$D800 PRG:1800 A5 11 cmp #$05 ; CPU:$D802 PRG:1802 C9 05 - bcs Label_D80B ; CPU:$D804 PRG:1804 B0 05 + bcs Sub_8764_OnCarrySet_D80B ; CPU:$D804 PRG:1804 B0 05 ldy #$09 ; CPU:$D806 PRG:1806 A0 09 - jsr $C043 ; CPU:$D808 PRG:1808 20 43 C0 + jsr SubCC043 ; CPU:$D808 PRG:1808 20 43 C0 ; ----------------------------------------------------------------------------- -; Routine: Label_D80B +; Routine: Sub_8764_OnCarrySet_D80B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6742,14 +6742,14 @@ Label_D800: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D80B: - jsr $E4B7 ; CPU:$D80B PRG:180B 20 B7 E4 +Sub_8764_OnCarrySet_D80B: + jsr SubCE4B7 ; CPU:$D80B PRG:180B 20 B7 E4 dec ZpA5 ; CPU:$D80E PRG:180E C6 A5 - bne Label_D816 ; CPU:$D810 PRG:1810 D0 04 + bne Sub_8764_OnNonzero_D816 ; CPU:$D810 PRG:1810 D0 04 lda #$08 ; CPU:$D812 PRG:1812 A9 08 sta ZpA5 ; CPU:$D814 PRG:1814 85 A5 ; ----------------------------------------------------------------------------- -; Routine: Label_D816 +; Routine: Sub_8764_OnNonzero_D816 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6757,18 +6757,18 @@ Label_D80B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D816: +Sub_8764_OnNonzero_D816: lda ZpA5 ; CPU:$D816 PRG:1816 A5 A5 cmp #$05 ; CPU:$D818 PRG:1818 C9 05 - beq Label_D7CF ; CPU:$D81A PRG:181A F0 B3 + beq Sub_8764_OnZero_D7CF ; CPU:$D81A PRG:181A F0 B3 cmp #$02 ; CPU:$D81C PRG:181C C9 02 - beq Label_D829 ; CPU:$D81E PRG:181E F0 09 + beq Sub_8764_OnZero_D829 ; CPU:$D81E PRG:181E F0 09 cmp #$07 ; CPU:$D820 PRG:1820 C9 07 - beq Label_D83E ; CPU:$D822 PRG:1822 F0 1A + beq Sub_8764_OnZero_D83E ; CPU:$D822 PRG:1822 F0 1A cmp #$06 ; CPU:$D824 PRG:1824 C9 06 - beq Label_D82F ; CPU:$D826 PRG:1826 F0 07 + beq Sub_8764_OnZero_D82F ; CPU:$D826 PRG:1826 F0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_D828 +; Routine: Sub_8764_OnNonzero_D828 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6776,10 +6776,10 @@ Label_D816: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D828: +Sub_8764_OnNonzero_D828: rts ; CPU:$D828 PRG:1828 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D829 +; Routine: Sub_8764_OnZero_D829 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6787,11 +6787,11 @@ Label_D828: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D829: - jsr $DA43 ; CPU:$D829 PRG:1829 20 43 DA - jmp $D9F2 ; CPU:$D82C PRG:182C 4C F2 D9 +Sub_8764_OnZero_D829: + jsr SubCDA43 ; CPU:$D829 PRG:1829 20 43 DA + jmp SubCD9F2 ; CPU:$D82C PRG:182C 4C F2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D82F +; Routine: Sub_8764_OnZero_D82F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6799,13 +6799,13 @@ Label_D829: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D82F: - jsr $DBA8 ; CPU:$D82F PRG:182F 20 A8 DB +Sub_8764_OnZero_D82F: + jsr SubCDBA8 ; CPU:$D82F PRG:182F 20 A8 DB lda Zp0F ; CPU:$D832 PRG:1832 A5 0F - beq Label_D838 ; CPU:$D834 PRG:1834 F0 02 + beq Sub_8764_OnZero_D838 ; CPU:$D834 PRG:1834 F0 02 dec Zp0F ; CPU:$D836 PRG:1836 C6 0F ; ----------------------------------------------------------------------------- -; Routine: Label_D838 +; Routine: Sub_8764_OnZero_D838 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6813,11 +6813,11 @@ Label_D82F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D838: - jsr $D9E7 ; CPU:$D838 PRG:1838 20 E7 D9 - jmp $D8DA ; CPU:$D83B PRG:183B 4C DA D8 +Sub_8764_OnZero_D838: + jsr SubCD9E7 ; CPU:$D838 PRG:1838 20 E7 D9 + jmp SubCD8DA ; CPU:$D83B PRG:183B 4C DA D8 ; ----------------------------------------------------------------------------- -; Routine: Label_D83E +; Routine: Sub_8764_OnZero_D83E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6825,17 +6825,17 @@ Label_D838: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D83E: +Sub_8764_OnZero_D83E: dec Zp12 ; CPU:$D83E PRG:183E C6 12 lda Zp12 ; CPU:$D840 PRG:1840 A5 12 and #$3F ; CPU:$D842 PRG:1842 29 3F - bne Label_D828 ; CPU:$D844 PRG:1844 D0 E2 + bne Sub_8764_OnNonzero_D828 ; CPU:$D844 PRG:1844 D0 E2 lda #$FF ; CPU:$D846 PRG:1846 A9 FF sta $0366 ; CPU:$D848 PRG:1848 8D 66 03 ldx #$14 ; CPU:$D84B PRG:184B A2 14 ldy #$00 ; CPU:$D84D PRG:184D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_D84F +; Routine: Sub_8764_OnCarrySet_D84F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6843,12 +6843,12 @@ Label_D83E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D84F: +Sub_8764_OnCarrySet_D84F: lda $035E,x ; CPU:$D84F PRG:184F BD 5E 03 - bmi Label_D855 ; CPU:$D852 PRG:1852 30 01 + bmi Sub_8764_OnNegative_D855 ; CPU:$D852 PRG:1852 30 01 iny ; CPU:$D854 PRG:1854 C8 ; ----------------------------------------------------------------------------- -; Routine: Label_D855 +; Routine: Sub_8764_OnNegative_D855 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6856,24 +6856,24 @@ Label_D84F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D855: +Sub_8764_OnNegative_D855: dex ; CPU:$D855 PRG:1855 CA cpx #$0F ; CPU:$D856 PRG:1856 E0 0F - bcs Label_D84F ; CPU:$D858 PRG:1858 B0 F5 + bcs Sub_8764_OnCarrySet_D84F ; CPU:$D858 PRG:1858 B0 F5 tya ; CPU:$D85A PRG:185A 98 - beq Label_D873 ; CPU:$D85B PRG:185B F0 16 + beq Sub_8764_OnZero_D873 ; CPU:$D85B PRG:185B F0 16 lda ZpD4 ; CPU:$D85D PRG:185D A5 D4 - beq Label_D871 ; CPU:$D85F PRG:185F F0 10 + beq Sub_8764_JoinBranchPaths_D871 ; CPU:$D85F PRG:185F F0 10 lda ZpD3 ; CPU:$D861 PRG:1861 A5 D3 cmp #$03 ; CPU:$D863 PRG:1863 C9 03 - bcs Label_D871 ; CPU:$D865 PRG:1865 B0 0A + bcs Sub_8764_JoinBranchPaths_D871 ; CPU:$D865 PRG:1865 B0 0A lda ZpBB ; CPU:$D867 PRG:1867 A5 BB - beq Label_D871 ; CPU:$D869 PRG:1869 F0 06 - bmi Label_D871 ; CPU:$D86B PRG:186B 30 04 + beq Sub_8764_JoinBranchPaths_D871 ; CPU:$D869 PRG:1869 F0 06 + bmi Sub_8764_JoinBranchPaths_D871 ; CPU:$D86B PRG:186B 30 04 lda ZpC9 ; CPU:$D86D PRG:186D A5 C9 - beq Label_D873 ; CPU:$D86F PRG:186F F0 02 + beq Sub_8764_OnZero_D873 ; CPU:$D86F PRG:186F F0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D871 +; Routine: Sub_8764_JoinBranchPaths_D871 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6881,10 +6881,10 @@ Label_D855: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D871: +Sub_8764_JoinBranchPaths_D871: ldy #$01 ; CPU:$D871 PRG:1871 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D873 +; Routine: Sub_8764_OnZero_D873 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6892,7 +6892,7 @@ Label_D871: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D873: +Sub_8764_OnZero_D873: lda $D8C5,y ; CPU:$D873 PRG:1873 B9 C5 D8 sta ZpBE ; CPU:$D876 PRG:1876 85 BE lda $D8D3,y ; CPU:$D878 PRG:1878 B9 D3 D8 @@ -6902,7 +6902,7 @@ Label_D873: sty ZpBD ; CPU:$D882 PRG:1882 84 BD ldx #$05 ; CPU:$D884 PRG:1884 A2 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D886 +; Routine: Sub_8764_OnNonnegative_D886 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6910,19 +6910,19 @@ Label_D873: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D886: +Sub_8764_OnNonnegative_D886: lda $036D,x ; CPU:$D886 PRG:1886 BD 6D 03 - bmi Label_D8A1 ; CPU:$D889 PRG:1889 30 16 + bmi Sub_8764_JoinBranchPaths_D8A1 ; CPU:$D889 PRG:1889 30 16 inc $06A7,x ; CPU:$D88B PRG:188B FE A7 06 lda $06A7,x ; CPU:$D88E PRG:188E BD A7 06 cmp $D8B7,y ; CPU:$D891 PRG:1891 D9 B7 D8 - bcc Label_D8A1 ; CPU:$D894 PRG:1894 90 0B - jsr $C9D5 ; CPU:$D896 PRG:1896 20 D5 C9 + bcc Sub_8764_JoinBranchPaths_D8A1 ; CPU:$D894 PRG:1894 90 0B + jsr SubCC9D5 ; CPU:$D896 PRG:1896 20 D5 C9 ldy ZpBD ; CPU:$D899 PRG:1899 A4 BD lda $D8BE,y ; CPU:$D89B PRG:189B B9 BE D8 sta $06A7,x ; CPU:$D89E PRG:189E 9D A7 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A1 +; Routine: Sub_8764_JoinBranchPaths_D8A1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6930,12 +6930,12 @@ Label_D886: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A1: +Sub_8764_JoinBranchPaths_D8A1: dex ; CPU:$D8A1 PRG:18A1 CA - bpl Label_D886 ; CPU:$D8A2 PRG:18A2 10 E2 - jmp $D942 ; CPU:$D8A4 PRG:18A4 4C 42 D9 + bpl Sub_8764_OnNonnegative_D886 ; CPU:$D8A2 PRG:18A2 10 E2 + jmp SubCD942 ; CPU:$D8A4 PRG:18A4 4C 42 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D8A7 +; Routine: SubCD8A7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6943,15 +6943,15 @@ Label_D8A1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8A7: +SubCD8A7: lda ZpC9 ; CPU:$D8A7 PRG:18A7 A5 C9 - bne Label_D8B3 ; CPU:$D8A9 PRG:18A9 D0 08 + bne Sub_8764_OnNonzero_D8B3 ; CPU:$D8A9 PRG:18A9 D0 08 lda ZpD4 ; CPU:$D8AB PRG:18AB A5 D4 - beq Label_D8B4 ; CPU:$D8AD PRG:18AD F0 05 + beq Sub_8764_OnZero_D8B4 ; CPU:$D8AD PRG:18AD F0 05 lda ZpD3 ; CPU:$D8AF PRG:18AF A5 D3 cmp #$01 ; CPU:$D8B1 PRG:18B1 C9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B3 +; Routine: Sub_8764_OnNonzero_D8B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6959,10 +6959,10 @@ Label_D8A7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B3: +Sub_8764_OnNonzero_D8B3: rts ; CPU:$D8B3 PRG:18B3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D8B4 +; Routine: Sub_8764_OnZero_D8B4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6970,7 +6970,7 @@ Label_D8B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8B4: +Sub_8764_OnZero_D8B4: lda #$01 ; CPU:$D8B4 PRG:18B4 A9 01 rts ; CPU:$D8B6 PRG:18B6 60 ; ---- data $D8B7-$D8D9 (35 bytes) ---- @@ -6983,7 +6983,7 @@ Label_D8B4: .byte $59, $67, $67, $69, $6E, $01, $01, $01, $03, $03, $07, $07, $FF, $FF, $FF, $FF ; CPU:$D8C7 PRG:18C7 59 67 67 69 6E 01 01 01 03 03 07 07 FF FF FF FF .byte $14, $0B, $06 ; CPU:$D8D7 PRG:18D7 14 0B 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D8DA +; Routine: SubCD8DA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -6991,13 +6991,13 @@ Label_D8B4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8DA: +SubCD8DA: lda $036A ; CPU:$D8DA PRG:18DA AD 6A 03 - bpl Label_D8E3 ; CPU:$D8DD PRG:18DD 10 04 + bpl Sub_8764_OnNonnegative_D8E3 ; CPU:$D8DD PRG:18DD 10 04 lda #$00 ; CPU:$D8DF PRG:18DF A9 00 - beq Label_D914 ; CPU:$D8E1 PRG:18E1 F0 31 + beq Sub_8764_OnZero_D914 ; CPU:$D8E1 PRG:18E1 F0 31 ; ----------------------------------------------------------------------------- -; Routine: Label_D8E3 +; Routine: Sub_8764_OnNonnegative_D8E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7005,16 +7005,16 @@ Label_D8DA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8E3: - jsr $EE66 ; CPU:$D8E3 PRG:18E3 20 66 EE +Sub_8764_OnNonnegative_D8E3: + jsr SubCEE66 ; CPU:$D8E3 PRG:18E3 20 66 EE clc ; CPU:$D8E6 PRG:18E6 18 lda Zp27 ; CPU:$D8E7 PRG:18E7 A5 27 adc #$08 ; CPU:$D8E9 PRG:18E9 69 08 sta Zp27 ; CPU:$D8EB PRG:18EB 85 27 - bcc Label_D8F1 ; CPU:$D8ED PRG:18ED 90 02 + bcc Sub_8764_OnCarryClear_D8F1 ; CPU:$D8ED PRG:18ED 90 02 inc Zp28 ; CPU:$D8EF PRG:18EF E6 28 ; ----------------------------------------------------------------------------- -; Routine: Label_D8F1 +; Routine: Sub_8764_OnCarryClear_D8F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7022,15 +7022,15 @@ Label_D8E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8F1: +Sub_8764_OnCarryClear_D8F1: sec ; CPU:$D8F1 PRG:18F1 38 lda Zp25 ; CPU:$D8F2 PRG:18F2 A5 25 sbc #$01 ; CPU:$D8F4 PRG:18F4 E9 01 sta Zp25 ; CPU:$D8F6 PRG:18F6 85 25 - bcs Label_D8FC ; CPU:$D8F8 PRG:18F8 B0 02 + bcs Sub_8764_OnCarrySet_D8FC ; CPU:$D8F8 PRG:18F8 B0 02 dec Zp26 ; CPU:$D8FA PRG:18FA C6 26 ; ----------------------------------------------------------------------------- -; Routine: Label_D8FC +; Routine: Sub_8764_OnCarrySet_D8FC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7038,15 +7038,15 @@ Label_D8F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D8FC: +Sub_8764_OnCarrySet_D8FC: ldx #$0C ; CPU:$D8FC PRG:18FC A2 0C - jsr $E665 ; CPU:$D8FE PRG:18FE 20 65 E6 + jsr SubCE665 ; CPU:$D8FE PRG:18FE 20 65 E6 inc Zp03 ; CPU:$D901 PRG:1901 E6 03 lda Zp26 ; CPU:$D903 PRG:1903 A5 26 - bne Label_D909 ; CPU:$D905 PRG:1905 D0 02 + bne Sub_8764_OnNonzero_D909 ; CPU:$D905 PRG:1905 D0 02 dec Zp03 ; CPU:$D907 PRG:1907 C6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D909 +; Routine: Sub_8764_OnNonzero_D909 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7054,12 +7054,12 @@ Label_D8FC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D909: +Sub_8764_OnNonzero_D909: lda Zp28 ; CPU:$D909 PRG:1909 A5 28 - bne Label_D90F ; CPU:$D90B PRG:190B D0 02 + bne Sub_8764_OnNonzero_D90F ; CPU:$D90B PRG:190B D0 02 inc Zp03 ; CPU:$D90D PRG:190D E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_D90F +; Routine: Sub_8764_OnNonzero_D90F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7067,11 +7067,11 @@ Label_D909: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D90F: +Sub_8764_OnNonzero_D90F: ldx Zp03 ; CPU:$D90F PRG:190F A6 03 lda $D933,x ; CPU:$D911 PRG:1911 BD 33 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D914 +; Routine: Sub_8764_OnZero_D914 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7079,10 +7079,10 @@ Label_D90F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D914: +Sub_8764_OnZero_D914: sta $0240 ; CPU:$D914 PRG:1914 8D 40 02 lda $036A ; CPU:$D917 PRG:1917 AD 6A 03 - bmi Label_D932 ; CPU:$D91A PRG:191A 30 16 + bmi Sub_8764_OnNegative_D932 ; CPU:$D91A PRG:191A 30 16 lda $028C ; CPU:$D91C PRG:191C AD 8C 02 and #$F0 ; CPU:$D91F PRG:191F 29 F0 ora $036A ; CPU:$D921 PRG:1921 0D 6A 03 @@ -7092,7 +7092,7 @@ Label_D914: ora $03D9 ; CPU:$D92C PRG:192C 0D D9 03 sta $06D5 ; CPU:$D92F PRG:192F 8D D5 06 ; ----------------------------------------------------------------------------- -; Routine: Label_D932 +; Routine: Sub_8764_OnNegative_D932 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7100,13 +7100,13 @@ Label_D914: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D932: +Sub_8764_OnNegative_D932: rts ; CPU:$D932 PRG:1932 60 ; ---- data $D933-$D941 (15 bytes) ---- ; referenced by `lda $D933,x` at $D911 (operand $D933 falls inside this region) .byte $D2, $D7, $D3, $D3, $C2, $C7, $D3, $D2, $D2, $D6, $C3, $C3, $C2, $C6, $C3 ; CPU:$D933 PRG:1933 D2 D7 D3 D3 C2 C7 D3 D2 D2 D6 C3 C3 C2 C6 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_D942 +; Routine: SubCD942 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7114,13 +7114,13 @@ Label_D932: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D942: +SubCD942: lda Zp39 ; CPU:$D942 PRG:1942 A5 39 - beq Label_D949 ; CPU:$D944 PRG:1944 F0 03 + beq Sub_8764_OnZero_D949 ; CPU:$D944 PRG:1944 F0 03 dec Zp39 ; CPU:$D946 PRG:1946 C6 39 rts ; CPU:$D948 PRG:1948 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D949 +; Routine: Sub_8764_OnZero_D949 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7128,7 +7128,7 @@ Label_D942: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D949: +Sub_8764_OnZero_D949: lda ZpBD ; CPU:$D949 PRG:1949 A5 BD eor #$07 ; CPU:$D94B PRG:194B 49 07 asl a ; CPU:$D94D PRG:194D 0A @@ -7137,15 +7137,15 @@ Label_D949: clc ; CPU:$D950 PRG:1950 18 adc #$20 ; CPU:$D951 PRG:1951 69 20 sta Zp54 ; CPU:$D953 PRG:1953 85 54 - jsr $C412 ; CPU:$D955 PRG:1955 20 12 C4 + jsr SubCC412 ; CPU:$D955 PRG:1955 20 12 C4 cmp Zp54 ; CPU:$D958 PRG:1958 C5 54 - bcs Label_D992 ; CPU:$D95A PRG:195A B0 36 + bcs Sub_8764_JoinBranchPaths_D992 ; CPU:$D95A PRG:195A B0 36 lda $036A ; CPU:$D95C PRG:195C AD 6A 03 - bmi Label_D992 ; CPU:$D95F PRG:195F 30 31 + bmi Sub_8764_JoinBranchPaths_D992 ; CPU:$D95F PRG:195F 30 31 ldy #$02 ; CPU:$D961 PRG:1961 A0 02 ldx #$6E ; CPU:$D963 PRG:1963 A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D965 +; Routine: Sub_8764_OnCarrySet_D965 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7153,18 +7153,18 @@ Label_D949: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D965: +Sub_8764_OnCarrySet_D965: lda $035E,x ; CPU:$D965 PRG:1965 BD 5E 03 - bmi Label_D979 ; CPU:$D968 PRG:1968 30 0F + bmi Sub_8764_JoinBranchPaths_D979 ; CPU:$D968 PRG:1968 30 0F lda $04AB,x ; CPU:$D96A PRG:196A BD AB 04 and #$01 ; CPU:$D96D PRG:196D 29 01 - bne Label_D979 ; CPU:$D96F PRG:196F D0 08 + bne Sub_8764_JoinBranchPaths_D979 ; CPU:$D96F PRG:196F D0 08 lda #$13 ; CPU:$D971 PRG:1971 A9 13 sta $051A,x ; CPU:$D973 PRG:1973 9D 1A 05 dey ; CPU:$D976 PRG:1976 88 - beq Label_D97E ; CPU:$D977 PRG:1977 F0 05 + beq Sub_8764_OnZero_D97E ; CPU:$D977 PRG:1977 F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D979 +; Routine: Sub_8764_JoinBranchPaths_D979 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7172,12 +7172,12 @@ Label_D965: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D979: +Sub_8764_JoinBranchPaths_D979: dex ; CPU:$D979 PRG:1979 CA cpx #$59 ; CPU:$D97A PRG:197A E0 59 - bcs Label_D965 ; CPU:$D97C PRG:197C B0 E7 + bcs Sub_8764_OnCarrySet_D965 ; CPU:$D97C PRG:197C B0 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_D97E +; Routine: Sub_8764_OnZero_D97E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7185,13 +7185,13 @@ Label_D979: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D97E: - jsr $D8A7 ; CPU:$D97E PRG:197E 20 A7 D8 - beq Label_D987 ; CPU:$D981 PRG:1981 F0 04 +Sub_8764_OnZero_D97E: + jsr SubCD8A7 ; CPU:$D97E PRG:197E 20 A7 D8 + beq Sub_8764_OnZero_D987 ; CPU:$D981 PRG:1981 F0 04 lda #$28 ; CPU:$D983 PRG:1983 A9 28 - bne Label_D989 ; CPU:$D985 PRG:1985 D0 02 + bne Sub_8764_OnNonzero_D989 ; CPU:$D985 PRG:1985 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_D987 +; Routine: Sub_8764_OnZero_D987 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7199,10 +7199,10 @@ Label_D97E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D987: +Sub_8764_OnZero_D987: lda #$46 ; CPU:$D987 PRG:1987 A9 46 ; ----------------------------------------------------------------------------- -; Routine: Label_D989 +; Routine: Sub_8764_OnNonzero_D989 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7210,14 +7210,14 @@ Label_D987: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D989: +Sub_8764_OnNonzero_D989: sta ZpD9 ; CPU:$D989 PRG:1989 85 D9 clc ; CPU:$D98B PRG:198B 18 lda ZpBD ; CPU:$D98C PRG:198C A5 BD adc #$02 ; CPU:$D98E PRG:198E 69 02 sta Zp39 ; CPU:$D990 PRG:1990 85 39 ; ----------------------------------------------------------------------------- -; Routine: Label_D992 +; Routine: Sub_8764_JoinBranchPaths_D992 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7225,10 +7225,10 @@ Label_D989: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D992: +Sub_8764_JoinBranchPaths_D992: rts ; CPU:$D992 PRG:1992 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D993 +; Routine: SubCD993 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7236,16 +7236,16 @@ Label_D992: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D993: +SubCD993: lda ZpA5 ; CPU:$D993 PRG:1993 A5 A5 cmp #$07 ; CPU:$D995 PRG:1995 C9 07 - bne Label_D9A3 ; CPU:$D997 PRG:1997 D0 0A + bne Sub_8764_OnNonzero_D9A3 ; CPU:$D997 PRG:1997 D0 0A lda $043C,x ; CPU:$D999 PRG:1999 BD 3C 04 cmp #$7B ; CPU:$D99C PRG:199C C9 7B - beq Label_D9A5 ; CPU:$D99E PRG:199E F0 05 + beq Sub_8764_OnZero_D9A5 ; CPU:$D99E PRG:199E F0 05 inc $043C,x ; CPU:$D9A0 PRG:19A0 FE 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_D9A3 +; Routine: Sub_8764_OnNonzero_D9A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7253,10 +7253,10 @@ Label_D993: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A3: - bne Label_D9AF ; CPU:$D9A3 PRG:19A3 D0 0A +Sub_8764_OnNonzero_D9A3: + bne Sub_8764_OnNonzero_D9AF ; CPU:$D9A3 PRG:19A3 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_D9A5 +; Routine: Sub_8764_OnZero_D9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7264,13 +7264,13 @@ Label_D9A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9A5: +Sub_8764_OnZero_D9A5: lda #$74 ; CPU:$D9A5 PRG:19A5 A9 74 sta $043C,x ; CPU:$D9A7 PRG:19A7 9D 3C 04 lda #$03 ; CPU:$D9AA PRG:19AA A9 03 - jsr $D9B2 ; CPU:$D9AC PRG:19AC 20 B2 D9 + jsr SubCD9B2 ; CPU:$D9AC PRG:19AC 20 B2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_D9AF +; Routine: Sub_8764_OnNonzero_D9AF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7278,10 +7278,10 @@ Label_D9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9AF: - jmp $E320 ; CPU:$D9AF PRG:19AF 4C 20 E3 +Sub_8764_OnNonzero_D9AF: + jmp SubCE320 ; CPU:$D9AF PRG:19AF 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_D9B2 +; Routine: SubCD9B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7289,7 +7289,7 @@ Label_D9AF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9B2: +SubCD9B2: sta Zp03 ; CPU:$D9B2 PRG:19B2 85 03 lda $0280,x ; CPU:$D9B4 PRG:19B4 BD 80 02 and #$F0 ; CPU:$D9B7 PRG:19B7 29 F0 @@ -7301,7 +7301,7 @@ Label_D9B2: sta $06D4 ; CPU:$D9C7 PRG:19C7 8D D4 06 ldx #$6E ; CPU:$D9CA PRG:19CA A2 6E ; ----------------------------------------------------------------------------- -; Routine: Label_D9CC +; Routine: Sub_8764_OnCarrySet_D9CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7309,18 +7309,18 @@ Label_D9B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9CC: +Sub_8764_OnCarrySet_D9CC: lda $035E,x ; CPU:$D9CC PRG:19CC BD 5E 03 - bmi Label_D9E1 ; CPU:$D9CF PRG:19CF 30 10 + bmi Sub_8764_JoinBranchPaths_D9E1 ; CPU:$D9CF PRG:19CF 30 10 lda $04AB,x ; CPU:$D9D1 PRG:19D1 BD AB 04 and #$01 ; CPU:$D9D4 PRG:19D4 29 01 - beq Label_D9E1 ; CPU:$D9D6 PRG:19D6 F0 09 + beq Sub_8764_JoinBranchPaths_D9E1 ; CPU:$D9D6 PRG:19D6 F0 09 lda #$12 ; CPU:$D9D8 PRG:19D8 A9 12 sta $051A,x ; CPU:$D9DA PRG:19DA 9D 1A 05 dec Zp03 ; CPU:$D9DD PRG:19DD C6 03 - beq Label_D9E6 ; CPU:$D9DF PRG:19DF F0 05 + beq Sub_8764_OnZero_D9E6 ; CPU:$D9DF PRG:19DF F0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E1 +; Routine: Sub_8764_JoinBranchPaths_D9E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7328,12 +7328,12 @@ Label_D9CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E1: +Sub_8764_JoinBranchPaths_D9E1: dex ; CPU:$D9E1 PRG:19E1 CA cpx #$59 ; CPU:$D9E2 PRG:19E2 E0 59 - bcs Label_D9CC ; CPU:$D9E4 PRG:19E4 B0 E6 + bcs Sub_8764_OnCarrySet_D9CC ; CPU:$D9E4 PRG:19E4 B0 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E6 +; Routine: Sub_8764_OnZero_D9E6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7341,10 +7341,10 @@ Label_D9E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E6: +Sub_8764_OnZero_D9E6: rts ; CPU:$D9E6 PRG:19E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9E7 +; Routine: SubCD9E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7352,14 +7352,14 @@ Label_D9E6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9E7: +SubCD9E7: ldx #$0B ; CPU:$D9E7 PRG:19E7 A2 0B - jsr $EDE0 ; CPU:$D9E9 PRG:19E9 20 E0 ED + jsr SubCEDE0 ; CPU:$D9E9 PRG:19E9 20 E0 ED ldx #$0C ; CPU:$D9EC PRG:19EC A2 0C - jsr $EDE0 ; CPU:$D9EE PRG:19EE 20 E0 ED + jsr SubCEDE0 ; CPU:$D9EE PRG:19EE 20 E0 ED rts ; CPU:$D9F1 PRG:19F1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_D9F2 +; Routine: SubCD9F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7367,13 +7367,13 @@ Label_D9E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9F2: +SubCD9F2: lda #$00 ; CPU:$D9F2 PRG:19F2 A9 00 sta Zp2F ; CPU:$D9F4 PRG:19F4 85 2F sta Zp30 ; CPU:$D9F6 PRG:19F6 85 30 ldy #$58 ; CPU:$D9F8 PRG:19F8 A0 58 ; ----------------------------------------------------------------------------- -; Routine: Label_D9FA +; Routine: Sub_8764_OnCarrySet_D9FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7381,16 +7381,16 @@ Label_D9F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_D9FA: +Sub_8764_OnCarrySet_D9FA: lda $035E,y ; CPU:$D9FA PRG:19FA B9 5E 03 - bmi Label_DA0A ; CPU:$D9FD PRG:19FD 30 0B + bmi Sub_8764_JoinBranchPaths_DA0A ; CPU:$D9FD PRG:19FD 30 0B lda $04AB,y ; CPU:$D9FF PRG:19FF B9 AB 04 and #$40 ; CPU:$DA02 PRG:1A02 29 40 - beq Label_DA0A ; CPU:$DA04 PRG:1A04 F0 04 + beq Sub_8764_JoinBranchPaths_DA0A ; CPU:$DA04 PRG:1A04 F0 04 tya ; CPU:$DA06 PRG:1A06 98 - jsr $DD6B ; CPU:$DA07 PRG:1A07 20 6B DD + jsr SubCDD6B ; CPU:$DA07 PRG:1A07 20 6B DD ; ----------------------------------------------------------------------------- -; Routine: Label_DA0A +; Routine: Sub_8764_JoinBranchPaths_DA0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7398,10 +7398,10 @@ Label_D9FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA0A: +Sub_8764_JoinBranchPaths_DA0A: dey ; CPU:$DA0A PRG:1A0A 88 cpy #$55 ; CPU:$DA0B PRG:1A0B C0 55 - bcs Label_D9FA ; CPU:$DA0D PRG:1A0D B0 EB + bcs Sub_8764_OnCarrySet_D9FA ; CPU:$DA0D PRG:1A0D B0 EB lda #$84 ; CPU:$DA0F PRG:1A0F A9 84 sta Zp40 ; CPU:$DA11 PRG:1A11 85 40 lda #$05 ; CPU:$DA13 PRG:1A13 A9 05 @@ -7409,7 +7409,7 @@ Label_DA0A: sta Zp06 ; CPU:$DA17 PRG:1A17 85 06 ldx #$58 ; CPU:$DA19 PRG:1A19 A2 58 ; ----------------------------------------------------------------------------- -; Routine: Label_DA1B +; Routine: Sub_8764_OnCarrySet_DA1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7417,22 +7417,22 @@ Label_DA0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA1B: +Sub_8764_OnCarrySet_DA1B: lda $035E,x ; CPU:$DA1B PRG:1A1B BD 5E 03 - bmi Label_DA3D ; CPU:$DA1E PRG:1A1E 30 1D + bmi Sub_8764_OnNegative_DA3D ; CPU:$DA1E PRG:1A1E 30 1D lda $04AB,x ; CPU:$DA20 PRG:1A20 BD AB 04 and #$40 ; CPU:$DA23 PRG:1A23 29 40 - beq Label_DA3A ; CPU:$DA25 PRG:1A25 F0 13 + beq Sub_8764_OnZero_DA3A ; CPU:$DA25 PRG:1A25 F0 13 sec ; CPU:$DA27 PRG:1A27 38 lda $043C,x ; CPU:$DA28 PRG:1A28 BD 3C 04 sbc #$84 ; CPU:$DA2B PRG:1A2B E9 84 tay ; CPU:$DA2D PRG:1A2D A8 lda $DA8D,y ; CPU:$DA2E PRG:1A2E B9 8D DA - jsr $EDD7 ; CPU:$DA31 PRG:1A31 20 D7 ED + jsr SubCEDD7 ; CPU:$DA31 PRG:1A31 20 D7 ED lda $DA99,y ; CPU:$DA34 PRG:1A34 B9 99 DA - jsr $EDE2 ; CPU:$DA37 PRG:1A37 20 E2 ED + jsr SubCEDE2 ; CPU:$DA37 PRG:1A37 20 E2 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DA3A +; Routine: Sub_8764_OnZero_DA3A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7440,10 +7440,10 @@ Label_DA1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3A: - jsr $DD80 ; CPU:$DA3A PRG:1A3A 20 80 DD +Sub_8764_OnZero_DA3A: + jsr SubCDD80 ; CPU:$DA3A PRG:1A3A 20 80 DD ; ----------------------------------------------------------------------------- -; Routine: Label_DA3D +; Routine: Sub_8764_OnNegative_DA3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7451,13 +7451,13 @@ Label_DA3A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA3D: +Sub_8764_OnNegative_DA3D: dex ; CPU:$DA3D PRG:1A3D CA cpx #$55 ; CPU:$DA3E PRG:1A3E E0 55 - bcs Label_DA1B ; CPU:$DA40 PRG:1A40 B0 D9 + bcs Sub_8764_OnCarrySet_DA1B ; CPU:$DA40 PRG:1A40 B0 D9 rts ; CPU:$DA42 PRG:1A42 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DA43 +; Routine: SubCDA43 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7465,7 +7465,7 @@ Label_DA3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA43: +SubCDA43: ldx #$54 ; CPU:$DA43 PRG:1A43 A2 54 lda #$68 ; CPU:$DA45 PRG:1A45 A9 68 sta Zp40 ; CPU:$DA47 PRG:1A47 85 40 @@ -7474,7 +7474,7 @@ Label_DA43: lda #$10 ; CPU:$DA4D PRG:1A4D A9 10 sta Zp06 ; CPU:$DA4F PRG:1A4F 85 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DA51 +; Routine: Sub_8764_OnCarrySet_DA51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7482,21 +7482,21 @@ Label_DA43: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA51: +Sub_8764_OnCarrySet_DA51: lda $035E,x ; CPU:$DA51 PRG:1A51 BD 5E 03 - bmi Label_DA6F ; CPU:$DA54 PRG:1A54 30 19 + bmi Sub_8764_JoinBranchPaths_DA6F ; CPU:$DA54 PRG:1A54 30 19 lda $043C,x ; CPU:$DA56 PRG:1A56 BD 3C 04 tay ; CPU:$DA59 PRG:1A59 A8 lda $DA0D,y ; CPU:$DA5A PRG:1A5A B9 0D DA - jsr $EDD7 ; CPU:$DA5D PRG:1A5D 20 D7 ED + jsr SubCEDD7 ; CPU:$DA5D PRG:1A5D 20 D7 ED lda $DA19,y ; CPU:$DA60 PRG:1A60 B9 19 DA - jsr $EDE2 ; CPU:$DA63 PRG:1A63 20 E2 ED + jsr SubCEDE2 ; CPU:$DA63 PRG:1A63 20 E2 ED lda Zp12 ; CPU:$DA66 PRG:1A66 A5 12 and #$03 ; CPU:$DA68 PRG:1A68 29 03 - bne Label_DA6F ; CPU:$DA6A PRG:1A6A D0 03 - jsr $DEBB ; CPU:$DA6C PRG:1A6C 20 BB DE + bne Sub_8764_JoinBranchPaths_DA6F ; CPU:$DA6A PRG:1A6A D0 03 + jsr SubCDEBB ; CPU:$DA6C PRG:1A6C 20 BB DE ; ----------------------------------------------------------------------------- -; Routine: Label_DA6F +; Routine: Sub_8764_JoinBranchPaths_DA6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7504,10 +7504,10 @@ Label_DA51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DA6F: +Sub_8764_JoinBranchPaths_DA6F: dex ; CPU:$DA6F PRG:1A6F CA cpx #$3D ; CPU:$DA70 PRG:1A70 E0 3D - bcs Label_DA51 ; CPU:$DA72 PRG:1A72 B0 DD + bcs Sub_8764_OnCarrySet_DA51 ; CPU:$DA72 PRG:1A72 B0 DD rts ; CPU:$DA74 PRG:1A74 60 ; ---- data $DA75-$DBA7 (307 bytes) ---- ; referenced by `lda $DADD,x` at $C72A (operand $DADD falls inside this region) @@ -7538,7 +7538,7 @@ Label_DA6F: .byte $52, $A3, $C3, $C6, $12, $F1, $02, $03, $7A, $65, $35, $9E, $A6, $77, $BF, $E1 ; CPU:$DB95 PRG:1B95 52 A3 C3 C6 12 F1 02 03 7A 65 35 9E A6 77 BF E1 .byte $42, $AD, $EE ; CPU:$DBA5 PRG:1BA5 42 AD EE ; ----------------------------------------------------------------------------- -; Routine: Label_DBA8 +; Routine: SubCDBA8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7546,10 +7546,10 @@ Label_DA6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBA8: +SubCDBA8: ldx #$3C ; CPU:$DBA8 PRG:1BA8 A2 3C ; ----------------------------------------------------------------------------- -; Routine: Label_DBAA +; Routine: Sub_8764_OnCarrySet_DBAA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7557,18 +7557,18 @@ Label_DBA8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBAA: +Sub_8764_OnCarrySet_DBAA: lda $035E,x ; CPU:$DBAA PRG:1BAA BD 5E 03 - bmi Label_DBC2 ; CPU:$DBAD PRG:1BAD 30 13 + bmi Sub_8764_OnNegative_DBC2 ; CPU:$DBAD PRG:1BAD 30 13 lda $043C,x ; CPU:$DBAF PRG:1BAF BD 3C 04 tay ; CPU:$DBB2 PRG:1BB2 A8 lda $DA09,y ; CPU:$DBB3 PRG:1BB3 B9 09 DA - jsr $EDD7 ; CPU:$DBB6 PRG:1BB6 20 D7 ED + jsr SubCEDD7 ; CPU:$DBB6 PRG:1BB6 20 D7 ED lda $DA0D,y ; CPU:$DBB9 PRG:1BB9 B9 0D DA - jsr $EDE2 ; CPU:$DBBC PRG:1BBC 20 E2 ED - jsr $DBC8 ; CPU:$DBBF PRG:1BBF 20 C8 DB + jsr SubCEDE2 ; CPU:$DBBC PRG:1BBC 20 E2 ED + jsr SubCDBC8 ; CPU:$DBBF PRG:1BBF 20 C8 DB ; ----------------------------------------------------------------------------- -; Routine: Label_DBC2 +; Routine: Sub_8764_OnNegative_DBC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7576,13 +7576,13 @@ Label_DBAA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC2: +Sub_8764_OnNegative_DBC2: dex ; CPU:$DBC2 PRG:1BC2 CA cpx #$33 ; CPU:$DBC3 PRG:1BC3 E0 33 - bcs Label_DBAA ; CPU:$DBC5 PRG:1BC5 B0 E3 + bcs Sub_8764_OnCarrySet_DBAA ; CPU:$DBC5 PRG:1BC5 B0 E3 rts ; CPU:$DBC7 PRG:1BC7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DBC8 +; Routine: SubCDBC8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7590,7 +7590,7 @@ Label_DBC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBC8: +SubCDBC8: lda $051A,x ; CPU:$DBC8 PRG:1BC8 BD 1A 05 tay ; CPU:$DBCB PRG:1BCB A8 lda $DB49,y ; CPU:$DBCC PRG:1BCC B9 49 DB @@ -7598,15 +7598,15 @@ Label_DBC8: lda $DB8B,y ; CPU:$DBD0 PRG:1BD0 B9 8B DB sta Zp28 ; CPU:$DBD3 PRG:1BD3 85 28 lda $DB6E,y ; CPU:$DBD5 PRG:1BD5 B9 6E DB - jsr $E020 ; CPU:$DBD8 PRG:1BD8 20 20 E0 - jsr $E665 ; CPU:$DBDB PRG:1BDB 20 65 E6 + jsr SubCE020 ; CPU:$DBD8 PRG:1BD8 20 20 E0 + jsr SubCE665 ; CPU:$DBDB PRG:1BDB 20 65 E6 lda Zp28 ; CPU:$DBDE PRG:1BDE A5 28 - bne Label_DBE8 ; CPU:$DBE0 PRG:1BE0 D0 06 + bne Sub_8764_OnNonzero_DBE8 ; CPU:$DBE0 PRG:1BE0 D0 06 lda Zp27 ; CPU:$DBE2 PRG:1BE2 A5 27 cmp #$14 ; CPU:$DBE4 PRG:1BE4 C9 14 - bcc Label_DBF6 ; CPU:$DBE6 PRG:1BE6 90 0E + bcc Sub_8764_OnCarryClear_DBF6 ; CPU:$DBE6 PRG:1BE6 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_DBE8 +; Routine: Sub_8764_OnNonzero_DBE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7614,14 +7614,14 @@ Label_DBC8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBE8: +Sub_8764_OnNonzero_DBE8: lda Zp03 ; CPU:$DBE8 PRG:1BE8 A5 03 and #$04 ; CPU:$DBEA PRG:1BEA 29 04 - beq Label_DBF2 ; CPU:$DBEC PRG:1BEC F0 04 + beq Sub_8764_OnZero_DBF2 ; CPU:$DBEC PRG:1BEC F0 04 lda #$9E ; CPU:$DBEE PRG:1BEE A9 9E - bne Label_DC0C ; CPU:$DBF0 PRG:1BF0 D0 1A + bne Sub_8764_OnNonzero_DC0C ; CPU:$DBF0 PRG:1BF0 D0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_DBF2 +; Routine: Sub_8764_OnZero_DBF2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7629,11 +7629,11 @@ Label_DBE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF2: +Sub_8764_OnZero_DBF2: lda #$9C ; CPU:$DBF2 PRG:1BF2 A9 9C - bne Label_DC0C ; CPU:$DBF4 PRG:1BF4 D0 16 + bne Sub_8764_OnNonzero_DC0C ; CPU:$DBF4 PRG:1BF4 D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_DBF6 +; Routine: Sub_8764_OnCarryClear_DBF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7641,14 +7641,14 @@ Label_DBF2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DBF6: +Sub_8764_OnCarryClear_DBF6: lda Zp26 ; CPU:$DBF6 PRG:1BF6 A5 26 - bne Label_DC00 ; CPU:$DBF8 PRG:1BF8 D0 06 + bne Sub_8764_OnNonzero_DC00 ; CPU:$DBF8 PRG:1BF8 D0 06 lda Zp25 ; CPU:$DBFA PRG:1BFA A5 25 cmp #$14 ; CPU:$DBFC PRG:1BFC C9 14 - bcc Label_DC10 ; CPU:$DBFE PRG:1BFE 90 10 + bcc Sub_8764_OnCarryClear_DC10 ; CPU:$DBFE PRG:1BFE 90 10 ; ----------------------------------------------------------------------------- -; Routine: Label_DC00 +; Routine: Sub_8764_OnNonzero_DC00 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7656,14 +7656,14 @@ Label_DBF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC00: +Sub_8764_OnNonzero_DC00: lda Zp03 ; CPU:$DC00 PRG:1C00 A5 03 and #$08 ; CPU:$DC02 PRG:1C02 29 08 - beq Label_DC0A ; CPU:$DC04 PRG:1C04 F0 04 + beq Sub_8764_OnZero_DC0A ; CPU:$DC04 PRG:1C04 F0 04 lda #$9D ; CPU:$DC06 PRG:1C06 A9 9D - bne Label_DC0C ; CPU:$DC08 PRG:1C08 D0 02 + bne Sub_8764_OnNonzero_DC0C ; CPU:$DC08 PRG:1C08 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DC0A +; Routine: Sub_8764_OnZero_DC0A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7671,10 +7671,10 @@ Label_DC00: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0A: +Sub_8764_OnZero_DC0A: lda #$9F ; CPU:$DC0A PRG:1C0A A9 9F ; ----------------------------------------------------------------------------- -; Routine: Label_DC0C +; Routine: Sub_8764_OnNonzero_DC0C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7682,11 +7682,11 @@ Label_DC0A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC0C: +Sub_8764_OnNonzero_DC0C: sta $043C,x ; CPU:$DC0C PRG:1C0C 9D 3C 04 rts ; CPU:$DC0F PRG:1C0F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC10 +; Routine: Sub_8764_OnCarryClear_DC10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7694,12 +7694,12 @@ Label_DC0C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC10: +Sub_8764_OnCarryClear_DC10: inc $051A,x ; CPU:$DC10 PRG:1C10 FE 1A 05 lda $051A,x ; CPU:$DC13 PRG:1C13 BD 1A 05 tay ; CPU:$DC16 PRG:1C16 A8 lda $DB49,y ; CPU:$DC17 PRG:1C17 B9 49 DB - bne Label_DC38 ; CPU:$DC1A PRG:1C1A D0 1C + bne Sub_8764_OnNonzero_DC38 ; CPU:$DC1A PRG:1C1A D0 1C dey ; CPU:$DC1C PRG:1C1C 88 stx Zp27 ; CPU:$DC1D PRG:1C1D 86 27 lda $DB49,y ; CPU:$DC1F PRG:1C1F B9 49 DB @@ -7709,7 +7709,7 @@ Label_DC10: inc $06A6,x ; CPU:$DC28 PRG:1C28 FE A6 06 ldx Zp27 ; CPU:$DC2B PRG:1C2B A6 27 ; ----------------------------------------------------------------------------- -; Routine: Label_DC2D +; Routine: Sub_8764_OnNonzero_DC2D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7717,15 +7717,15 @@ Label_DC10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC2D: +Sub_8764_OnNonzero_DC2D: dey ; CPU:$DC2D PRG:1C2D 88 lda $DB49,y ; CPU:$DC2E PRG:1C2E B9 49 DB - bne Label_DC2D ; CPU:$DC31 PRG:1C31 D0 FA + bne Sub_8764_OnNonzero_DC2D ; CPU:$DC31 PRG:1C31 D0 FA iny ; CPU:$DC33 PRG:1C33 C8 tya ; CPU:$DC34 PRG:1C34 98 sta $051A,x ; CPU:$DC35 PRG:1C35 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DC38 +; Routine: Sub_8764_OnNonzero_DC38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7733,10 +7733,10 @@ Label_DC2D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC38: +Sub_8764_OnNonzero_DC38: rts ; CPU:$DC38 PRG:1C38 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DC39 +; Routine: SubCDC39 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7744,12 +7744,12 @@ Label_DC38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC39: +SubCDC39: lda $04AF ; CPU:$DC39 PRG:1C39 AD AF 04 - bmi Label_DC5A ; CPU:$DC3C PRG:1C3C 30 1C + bmi Sub_8764_OnNegative_DC5A ; CPU:$DC3C PRG:1C3C 30 1C ldy Zp29 ; CPU:$DC3E PRG:1C3E A4 29 lda #$04 ; CPU:$DC40 PRG:1C40 A9 04 - jsr $E039 ; CPU:$DC42 PRG:1C42 20 39 E0 + jsr SubCE039 ; CPU:$DC42 PRG:1C42 20 39 E0 lda $DC5B,y ; CPU:$DC45 PRG:1C45 B9 5B DC sta $0440 ; CPU:$DC48 PRG:1C48 8D 40 04 lda #$20 ; CPU:$DC4B PRG:1C4B A9 20 @@ -7759,7 +7759,7 @@ Label_DC39: lda $DC74,y ; CPU:$DC55 PRG:1C55 B9 74 DC sta Zp42 ; CPU:$DC58 PRG:1C58 85 42 ; ----------------------------------------------------------------------------- -; Routine: Label_DC5A +; Routine: Sub_8764_OnNegative_DC5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7767,7 +7767,7 @@ Label_DC39: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC5A: +Sub_8764_OnNegative_DC5A: rts ; CPU:$DC5A PRG:1C5A 60 ; ---- data $DC5B-$DC80 (38 bytes) ---- ; referenced by `lda $DC5B,y` at $DC45 (operand $DC5B falls inside this region) @@ -7777,7 +7777,7 @@ Label_DC5A: .byte $0C, $06, $00, $86, $8C, $8E, $8C, $86, $00, $8A, $88, $84, $00, $04, $08, $0A ; CPU:$DC6B PRG:1C6B 0C 06 00 86 8C 8E 8C 86 00 8A 88 84 00 04 08 0A .byte $08, $04, $00, $84, $88, $8A ; CPU:$DC7B PRG:1C7B 08 04 00 84 88 8A ; ----------------------------------------------------------------------------- -; Routine: Label_DC81 +; Routine: SubCDC81 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7785,14 +7785,14 @@ Label_DC5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC81: - jsr $E157 ; CPU:$DC81 PRG:1C81 20 57 E1 - beq Label_DC8C ; CPU:$DC84 PRG:1C84 F0 06 +SubCDC81: + jsr SubCE157 ; CPU:$DC81 PRG:1C81 20 57 E1 + beq Sub_8764_OnZero_DC8C ; CPU:$DC84 PRG:1C84 F0 06 lda ZpDF ; CPU:$DC86 PRG:1C86 A5 DF cmp #$40 ; CPU:$DC88 PRG:1C88 C9 40 - bcs Label_DCAE ; CPU:$DC8A PRG:1C8A B0 22 + bcs Sub_8764_OnCarrySet_DCAE ; CPU:$DC8A PRG:1C8A B0 22 ; ----------------------------------------------------------------------------- -; Routine: Label_DC8C +; Routine: Sub_8764_OnZero_DC8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7800,26 +7800,26 @@ Label_DC81: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DC8C: +Sub_8764_OnZero_DC8C: lda $04AB,x ; CPU:$DC8C PRG:1C8C BD AB 04 - bpl Label_DCD2 ; CPU:$DC8F PRG:1C8F 10 41 + bpl Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC8F PRG:1C8F 10 41 lsr a ; CPU:$DC91 PRG:1C91 4A - bcc Label_DCD2 ; CPU:$DC92 PRG:1C92 90 3E + bcc Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC92 PRG:1C92 90 3E lda Zp09 ; CPU:$DC94 PRG:1C94 A5 09 - bne Label_DCC2 ; CPU:$DC96 PRG:1C96 D0 2A + bne Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DC96 PRG:1C96 D0 2A lda $051A,x ; CPU:$DC98 PRG:1C98 BD 1A 05 cmp #$05 ; CPU:$DC9B PRG:1C9B C9 05 - bcc Label_DCD2 ; CPU:$DC9D PRG:1C9D 90 33 + bcc Sub_8764_JoinBranchPaths_DCD2 ; CPU:$DC9D PRG:1C9D 90 33 lda ZpBD ; CPU:$DC9F PRG:1C9F A5 BD asl a ; CPU:$DCA1 PRG:1CA1 0A clc ; CPU:$DCA2 PRG:1CA2 18 adc #$05 ; CPU:$DCA3 PRG:1CA3 69 05 sta Zp54 ; CPU:$DCA5 PRG:1CA5 85 54 - jsr $C412 ; CPU:$DCA7 PRG:1CA7 20 12 C4 + jsr SubCC412 ; CPU:$DCA7 PRG:1CA7 20 12 C4 cmp Zp54 ; CPU:$DCAA PRG:1CAA C5 54 - bcc Label_DCC2 ; CPU:$DCAC PRG:1CAC 90 14 + bcc Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCAC PRG:1CAC 90 14 ; ----------------------------------------------------------------------------- -; Routine: Label_DCAE +; Routine: Sub_8764_OnCarrySet_DCAE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7827,18 +7827,18 @@ Label_DC8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCAE: - jsr $EE66 ; CPU:$DCAE PRG:1CAE 20 66 EE - jsr $DE31 ; CPU:$DCB1 PRG:1CB1 20 31 DE - bcs Label_DCC3 ; CPU:$DCB4 PRG:1CB4 B0 0D +Sub_8764_OnCarrySet_DCAE: + jsr SubCEE66 ; CPU:$DCAE PRG:1CAE 20 66 EE + jsr SubCDE31 ; CPU:$DCB1 PRG:1CB1 20 31 DE + bcs Sub_8764_OnCarrySet_DCC3 ; CPU:$DCB4 PRG:1CB4 B0 0D lda $DEFC,y ; CPU:$DCB6 PRG:1CB6 B9 FC DE cmp Zp29 ; CPU:$DCB9 PRG:1CB9 C5 29 - bne Label_DCC2 ; CPU:$DCBB PRG:1CBB D0 05 + bne Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCBB PRG:1CBB D0 05 lda Zp12 ; CPU:$DCBD PRG:1CBD A5 12 lsr a ; CPU:$DCBF PRG:1CBF 4A - bcs Label_DCCB ; CPU:$DCC0 PRG:1CC0 B0 09 + bcs Sub_8764_OnCarrySet_DCCB ; CPU:$DCC0 PRG:1CC0 B0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC2 +; Routine: Sub_8764_JoinBranchPaths_DCC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7846,10 +7846,10 @@ Label_DCAE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC2: +Sub_8764_JoinBranchPaths_DCC2: rts ; CPU:$DCC2 PRG:1CC2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCC3 +; Routine: Sub_8764_OnCarrySet_DCC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7857,13 +7857,13 @@ Label_DCC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCC3: +Sub_8764_OnCarrySet_DCC3: sec ; CPU:$DCC3 PRG:1CC3 38 lda $043C,x ; CPU:$DCC4 PRG:1CC4 BD 3C 04 sbc #$84 ; CPU:$DCC7 PRG:1CC7 E9 84 sta Zp29 ; CPU:$DCC9 PRG:1CC9 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_DCCB +; Routine: Sub_8764_OnCarrySet_DCCB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7871,12 +7871,12 @@ Label_DCC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCCB: +Sub_8764_OnCarrySet_DCCB: lda ZpB3 ; CPU:$DCCB PRG:1CCB A5 B3 - bmi Label_DCC2 ; CPU:$DCCD PRG:1CCD 30 F3 - jmp $DC39 ; CPU:$DCCF PRG:1CCF 4C 39 DC + bmi Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCCD PRG:1CCD 30 F3 + jmp SubCDC39 ; CPU:$DCCF PRG:1CCF 4C 39 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DCD2 +; Routine: Sub_8764_JoinBranchPaths_DCD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7884,22 +7884,22 @@ Label_DCCB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCD2: +Sub_8764_JoinBranchPaths_DCD2: lda $051A,x ; CPU:$DCD2 PRG:1CD2 BD 1A 05 tay ; CPU:$DCD5 PRG:1CD5 A8 lda $06C2,y ; CPU:$DCD6 PRG:1CD6 B9 C2 06 sta Zp28 ; CPU:$DCD9 PRG:1CD9 85 28 lda $06AD,y ; CPU:$DCDB PRG:1CDB B9 AD 06 - jsr $E020 ; CPU:$DCDE PRG:1CDE 20 20 E0 - jsr $DE31 ; CPU:$DCE1 PRG:1CE1 20 31 DE - bcc Label_DCC2 ; CPU:$DCE4 PRG:1CE4 90 DC + jsr SubCE020 ; CPU:$DCDE PRG:1CDE 20 20 E0 + jsr SubCDE31 ; CPU:$DCE1 PRG:1CE1 20 31 DE + bcc Sub_8764_JoinBranchPaths_DCC2 ; CPU:$DCE4 PRG:1CE4 90 DC lda $051A,x ; CPU:$DCE6 PRG:1CE6 BD 1A 05 cmp #$05 ; CPU:$DCE9 PRG:1CE9 C9 05 - bcc Label_DCFE ; CPU:$DCEB PRG:1CEB 90 11 + bcc Sub_8764_OnCarryClear_DCFE ; CPU:$DCEB PRG:1CEB 90 11 cmp #$13 ; CPU:$DCED PRG:1CED C9 13 - beq Label_DD09 ; CPU:$DCEF PRG:1CEF F0 18 + beq Sub_8764_OnZero_DD09 ; CPU:$DCEF PRG:1CEF F0 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DCF1 +; Routine: SubCDCF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7907,8 +7907,8 @@ Label_DCD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCF1: - jsr $C412 ; CPU:$DCF1 PRG:1CF1 20 12 C4 +SubCDCF1: + jsr SubCC412 ; CPU:$DCF1 PRG:1CF1 20 12 C4 lsr a ; CPU:$DCF4 PRG:1CF4 4A and #$0F ; CPU:$DCF5 PRG:1CF5 29 0F clc ; CPU:$DCF7 PRG:1CF7 18 @@ -7916,7 +7916,7 @@ Label_DCF1: sta $051A,x ; CPU:$DCFA PRG:1CFA 9D 1A 05 rts ; CPU:$DCFD PRG:1CFD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DCFE +; Routine: Sub_8764_OnCarryClear_DCFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7924,14 +7924,14 @@ Label_DCF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DCFE: +Sub_8764_OnCarryClear_DCFE: cmp #$03 ; CPU:$DCFE PRG:1CFE C9 03 - bcc Label_DD3D ; CPU:$DD00 PRG:1D00 90 3B + bcc Sub_8764_OnCarryClear_DD3D ; CPU:$DD00 PRG:1D00 90 3B dec $051A,x ; CPU:$DD02 PRG:1D02 DE 1A 05 dec $051A,x ; CPU:$DD05 PRG:1D05 DE 1A 05 rts ; CPU:$DD08 PRG:1D08 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD09 +; Routine: Sub_8764_OnZero_DD09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7939,16 +7939,16 @@ Label_DCFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD09: +Sub_8764_OnZero_DD09: lda $04AB,x ; CPU:$DD09 PRG:1D09 BD AB 04 - bpl Label_DD1B ; CPU:$DD0C PRG:1D0C 10 0D + bpl Sub_8764_OnNonnegative_DD1B ; CPU:$DD0C PRG:1D0C 10 0D lda #$01 ; CPU:$DD0E PRG:1D0E A9 01 - jsr $E039 ; CPU:$DD10 PRG:1D10 20 39 E0 + jsr SubCE039 ; CPU:$DD10 PRG:1D10 20 39 E0 lda #$7C ; CPU:$DD13 PRG:1D13 A9 7C sta $043D ; CPU:$DD15 PRG:1D15 8D 3D 04 - jsr $C50D ; CPU:$DD18 PRG:1D18 20 0D C5 + jsr SubCC50D ; CPU:$DD18 PRG:1D18 20 0D C5 ; ----------------------------------------------------------------------------- -; Routine: Label_DD1B +; Routine: Sub_8764_OnNonnegative_DD1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7956,16 +7956,16 @@ Label_DD09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD1B: +Sub_8764_OnNonnegative_DD1B: lda $036A ; CPU:$DD1B PRG:1D1B AD 6A 03 - bmi Label_DD37 ; CPU:$DD1E PRG:1D1E 30 17 + bmi Sub_8764_OnNegative_DD37 ; CPU:$DD1E PRG:1D1E 30 17 lda ZpA6 ; CPU:$DD20 PRG:1D20 A5 A6 - bmi Label_DD2C ; CPU:$DD22 PRG:1D22 30 08 + bmi Sub_8764_OnNegative_DD2C ; CPU:$DD22 PRG:1D22 30 08 lda #$04 ; CPU:$DD24 PRG:1D24 A9 04 - jsr $CE20 ; CPU:$DD26 PRG:1D26 20 20 CE - jsr $D293 ; CPU:$DD29 PRG:1D29 20 93 D2 + jsr SubCCE20 ; CPU:$DD26 PRG:1D26 20 20 CE + jsr SubCD293 ; CPU:$DD29 PRG:1D29 20 93 D2 ; ----------------------------------------------------------------------------- -; Routine: Label_DD2C +; Routine: Sub_8764_OnNegative_DD2C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7973,14 +7973,14 @@ Label_DD1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD2C: +Sub_8764_OnNegative_DD2C: lda #$1E ; CPU:$DD2C PRG:1D2C A9 1E sta Zp0F ; CPU:$DD2E PRG:1D2E 85 0F dec ZpD9 ; CPU:$DD30 PRG:1D30 C6 D9 - bpl Label_DD3C ; CPU:$DD32 PRG:1D32 10 08 - jmp $D23A ; CPU:$DD34 PRG:1D34 4C 3A D2 + bpl Sub_8764_OnNonnegative_DD3C ; CPU:$DD32 PRG:1D32 10 08 + jmp SubCD23A ; CPU:$DD34 PRG:1D34 4C 3A D2 ; ----------------------------------------------------------------------------- -; Routine: Label_DD37 +; Routine: Sub_8764_OnNegative_DD37 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -7988,11 +7988,11 @@ Label_DD2C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD37: +Sub_8764_OnNegative_DD37: lda #$0A ; CPU:$DD37 PRG:1D37 A9 0A sta $051A,x ; CPU:$DD39 PRG:1D39 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DD3C +; Routine: Sub_8764_OnNonnegative_DD3C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8000,10 +8000,10 @@ Label_DD37: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD3C: +Sub_8764_OnNonnegative_DD3C: rts ; CPU:$DD3C PRG:1D3C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD3D +; Routine: Sub_8764_OnCarryClear_DD3D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8011,14 +8011,14 @@ Label_DD3C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD3D: +Sub_8764_OnCarryClear_DD3D: ldy #$58 ; CPU:$DD3D PRG:1D3D A0 58 lda $051A,x ; CPU:$DD3F PRG:1D3F BD 1A 05 lsr a ; CPU:$DD42 PRG:1D42 4A - bcc Label_DD46 ; CPU:$DD43 PRG:1D43 90 01 + bcc Sub_8764_JoinBranchPaths_DD46 ; CPU:$DD43 PRG:1D43 90 01 dey ; CPU:$DD45 PRG:1D45 88 ; ----------------------------------------------------------------------------- -; Routine: Label_DD46 +; Routine: Sub_8764_JoinBranchPaths_DD46 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8026,15 +8026,15 @@ Label_DD3D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD46: +Sub_8764_JoinBranchPaths_DD46: lda $035E,y ; CPU:$DD46 PRG:1D46 B9 5E 03 - bmi Label_DD54 ; CPU:$DD49 PRG:1D49 30 09 + bmi Sub_8764_OnNegative_DD54 ; CPU:$DD49 PRG:1D49 30 09 dey ; CPU:$DD4B PRG:1D4B 88 dey ; CPU:$DD4C PRG:1D4C 88 cpy #$55 ; CPU:$DD4D PRG:1D4D C0 55 - bcs Label_DD46 ; CPU:$DD4F PRG:1D4F B0 F5 + bcs Sub_8764_JoinBranchPaths_DD46 ; CPU:$DD4F PRG:1D4F B0 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_DD51 +; Routine: Sub_8764_OnCarryClear_DD51 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8042,10 +8042,10 @@ Label_DD46: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD51: - jmp $DCF1 ; CPU:$DD51 PRG:1D51 4C F1 DC +Sub_8764_OnCarryClear_DD51: + jmp SubCDCF1 ; CPU:$DD51 PRG:1D51 4C F1 DC ; ----------------------------------------------------------------------------- -; Routine: Label_DD54 +; Routine: Sub_8764_OnNegative_DD54 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8053,14 +8053,14 @@ Label_DD51: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD54: +Sub_8764_OnNegative_DD54: lda $051A,x ; CPU:$DD54 PRG:1D54 BD 1A 05 - jsr $DD6B ; CPU:$DD57 PRG:1D57 20 6B DD - bcc Label_DD51 ; CPU:$DD5A PRG:1D5A 90 F5 + jsr SubCDD6B ; CPU:$DD57 PRG:1D57 20 6B DD + bcc Sub_8764_OnCarryClear_DD51 ; CPU:$DD5A PRG:1D5A 90 F5 lda $04AB,x ; CPU:$DD5C PRG:1D5C BD AB 04 - bpl Label_DD61 ; CPU:$DD5F PRG:1D5F 10 00 + bpl Sub_8764_OnNonnegative_DD61 ; CPU:$DD5F PRG:1D5F 10 00 ; ----------------------------------------------------------------------------- -; Routine: Label_DD61 +; Routine: Sub_8764_OnNonnegative_DD61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8068,13 +8068,13 @@ Label_DD54: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD61: - jsr $DE19 ; CPU:$DD61 PRG:1D61 20 19 DE +Sub_8764_OnNonnegative_DD61: + jsr SubCDE19 ; CPU:$DD61 PRG:1D61 20 19 DE lda $DAD3,y ; CPU:$DD64 PRG:1D64 B9 D3 DA sta $051A,y ; CPU:$DD67 PRG:1D67 99 1A 05 rts ; CPU:$DD6A PRG:1D6A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD6B +; Routine: SubCDD6B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8082,16 +8082,16 @@ Label_DD61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD6B: +SubCDD6B: lsr a ; CPU:$DD6B PRG:1D6B 4A - bcc Label_DD76 ; CPU:$DD6C PRG:1D6C 90 08 + bcc Sub_8764_OnCarryClear_DD76 ; CPU:$DD6C PRG:1D6C 90 08 lda Zp30 ; CPU:$DD6E PRG:1D6E A5 30 - bne Label_DD7E ; CPU:$DD70 PRG:1D70 D0 0C + bne Sub_8764_OnNonzero_DD7E ; CPU:$DD70 PRG:1D70 D0 0C inc Zp30 ; CPU:$DD72 PRG:1D72 E6 30 sec ; CPU:$DD74 PRG:1D74 38 rts ; CPU:$DD75 PRG:1D75 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD76 +; Routine: Sub_8764_OnCarryClear_DD76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8099,14 +8099,14 @@ Label_DD6B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD76: +Sub_8764_OnCarryClear_DD76: lda Zp2F ; CPU:$DD76 PRG:1D76 A5 2F - bne Label_DD7E ; CPU:$DD78 PRG:1D78 D0 04 + bne Sub_8764_OnNonzero_DD7E ; CPU:$DD78 PRG:1D78 D0 04 inc Zp2F ; CPU:$DD7A PRG:1D7A E6 2F sec ; CPU:$DD7C PRG:1D7C 38 rts ; CPU:$DD7D PRG:1D7D 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD7E +; Routine: Sub_8764_OnNonzero_DD7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8114,11 +8114,11 @@ Label_DD76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD7E: +Sub_8764_OnNonzero_DD7E: clc ; CPU:$DD7E PRG:1D7E 18 rts ; CPU:$DD7F PRG:1D7F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DD80 +; Routine: SubCDD80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8126,22 +8126,22 @@ Label_DD7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD80: +SubCDD80: lda $04AB,x ; CPU:$DD80 PRG:1D80 BD AB 04 and #$40 ; CPU:$DD83 PRG:1D83 29 40 - bne Label_DD9D ; CPU:$DD85 PRG:1D85 D0 16 + bne Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD85 PRG:1D85 D0 16 lda Zp12 ; CPU:$DD87 PRG:1D87 A5 12 and #$3F ; CPU:$DD89 PRG:1D89 29 3F cmp #$10 ; CPU:$DD8B PRG:1D8B C9 10 - bne Label_DD9D ; CPU:$DD8D PRG:1D8D D0 0E + bne Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD8D PRG:1D8D D0 0E txa ; CPU:$DD8F PRG:1D8F 8A - jsr $DD6B ; CPU:$DD90 PRG:1D90 20 6B DD - bcc Label_DD9D ; CPU:$DD93 PRG:1D93 90 08 + jsr SubCDD6B ; CPU:$DD90 PRG:1D90 20 6B DD + bcc Sub_8764_JoinBranchPaths_DD9D ; CPU:$DD93 PRG:1D93 90 08 lda $04AB,x ; CPU:$DD95 PRG:1D95 BD AB 04 ora #$40 ; CPU:$DD98 PRG:1D98 09 40 sta $04AB,x ; CPU:$DD9A PRG:1D9A 9D AB 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DD9D +; Routine: Sub_8764_JoinBranchPaths_DD9D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8149,7 +8149,7 @@ Label_DD80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DD9D: +Sub_8764_JoinBranchPaths_DD9D: lda $051A,x ; CPU:$DD9D PRG:1D9D BD 1A 05 tay ; CPU:$DDA0 PRG:1DA0 A8 lda $DB07,y ; CPU:$DDA1 PRG:1DA1 B9 07 DB @@ -8158,19 +8158,19 @@ Label_DD9D: lda $DB3B,y ; CPU:$DDA6 PRG:1DA6 B9 3B DB sta Zp28 ; CPU:$DDA9 PRG:1DA9 85 28 lda $DB2C,y ; CPU:$DDAB PRG:1DAB B9 2C DB - jsr $E020 ; CPU:$DDAE PRG:1DAE 20 20 E0 - jsr $DE31 ; CPU:$DDB1 PRG:1DB1 20 31 DE + jsr SubCE020 ; CPU:$DDAE PRG:1DAE 20 20 E0 + jsr SubCDE31 ; CPU:$DDB1 PRG:1DB1 20 31 DE pla ; CPU:$DDB4 PRG:1DB4 68 - bcs Label_DDC4 ; CPU:$DDB5 PRG:1DB5 B0 0D + bcs Sub_8764_OnCarrySet_DDC4 ; CPU:$DDB5 PRG:1DB5 B0 0D cmp #$0B ; CPU:$DDB7 PRG:1DB7 C9 0B - beq Label_DDF1 ; CPU:$DDB9 PRG:1DB9 F0 36 + beq Sub_8764_OnZero_DDF1 ; CPU:$DDB9 PRG:1DB9 F0 36 cmp #$08 ; CPU:$DDBB PRG:1DBB C9 08 - beq Label_DDF1 ; CPU:$DDBD PRG:1DBD F0 32 + beq Sub_8764_OnZero_DDF1 ; CPU:$DDBD PRG:1DBD F0 32 cmp #$0C ; CPU:$DDBF PRG:1DBF C9 0C - bcs Label_DDFE ; CPU:$DDC1 PRG:1DC1 B0 3B + bcs Sub_8764_OnCarrySet_DDFE ; CPU:$DDC1 PRG:1DC1 B0 3B rts ; CPU:$DDC3 PRG:1DC3 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDC4 +; Routine: Sub_8764_OnCarrySet_DDC4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8178,15 +8178,15 @@ Label_DD9D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDC4: +Sub_8764_OnCarrySet_DDC4: lda $051A,x ; CPU:$DDC4 PRG:1DC4 BD 1A 05 tay ; CPU:$DDC7 PRG:1DC7 A8 lda $DB07,y ; CPU:$DDC8 PRG:1DC8 B9 07 DB cmp #$0C ; CPU:$DDCB PRG:1DCB C9 0C - bcc Label_DDE1 ; CPU:$DDCD PRG:1DCD 90 12 + bcc Sub_8764_OnCarryClear_DDE1 ; CPU:$DDCD PRG:1DCD 90 12 ldy #$6E ; CPU:$DDCF PRG:1DCF A0 6E ; ----------------------------------------------------------------------------- -; Routine: Label_DDD1 +; Routine: Sub_8764_OnCarrySet_DDD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8194,14 +8194,14 @@ Label_DDC4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDD1: +Sub_8764_OnCarrySet_DDD1: lda $035E,y ; CPU:$DDD1 PRG:1DD1 B9 5E 03 - bmi Label_DE0F ; CPU:$DDD4 PRG:1DD4 30 39 + bmi Sub_8764_OnNegative_DE0F ; CPU:$DDD4 PRG:1DD4 30 39 dey ; CPU:$DDD6 PRG:1DD6 88 cpy #$59 ; CPU:$DDD7 PRG:1DD7 C0 59 - bcs Label_DDD1 ; CPU:$DDD9 PRG:1DD9 B0 F6 + bcs Sub_8764_OnCarrySet_DDD1 ; CPU:$DDD9 PRG:1DD9 B0 F6 ; ----------------------------------------------------------------------------- -; Routine: Label_DDDB +; Routine: SubCDDDB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8209,12 +8209,12 @@ Label_DDD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDDB: +SubCDDDB: lda #$FF ; CPU:$DDDB PRG:1DDB A9 FF sta $035E,x ; CPU:$DDDD PRG:1DDD 9D 5E 03 rts ; CPU:$DDE0 PRG:1DE0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDE1 +; Routine: Sub_8764_OnCarryClear_DDE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8222,14 +8222,14 @@ Label_DDDB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDE1: +Sub_8764_OnCarryClear_DDE1: cmp #$05 ; CPU:$DDE1 PRG:1DE1 C9 05 - bcs Label_DDED ; CPU:$DDE3 PRG:1DE3 B0 08 + bcs Sub_8764_OnCarrySet_DDED ; CPU:$DDE3 PRG:1DE3 B0 08 lda $04AB,x ; CPU:$DDE5 PRG:1DE5 BD AB 04 and #$BF ; CPU:$DDE8 PRG:1DE8 29 BF sta $04AB,x ; CPU:$DDEA PRG:1DEA 9D AB 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DDED +; Routine: Sub_8764_OnCarrySet_DDED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8237,11 +8237,11 @@ Label_DDE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDED: +Sub_8764_OnCarrySet_DDED: inc $051A,x ; CPU:$DDED PRG:1DED FE 1A 05 rts ; CPU:$DDF0 PRG:1DF0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DDF1 +; Routine: Sub_8764_OnZero_DDF1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8249,16 +8249,16 @@ Label_DDED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDF1: +Sub_8764_OnZero_DDF1: lda Zp25 ; CPU:$DDF1 PRG:1DF1 A5 25 lsr a ; CPU:$DDF3 PRG:1DF3 4A lsr a ; CPU:$DDF4 PRG:1DF4 4A lsr a ; CPU:$DDF5 PRG:1DF5 4A - beq Label_DDFB ; CPU:$DDF6 PRG:1DF6 F0 03 + beq Sub_8764_OnZero_DDFB ; CPU:$DDF6 PRG:1DF6 F0 03 sec ; CPU:$DDF8 PRG:1DF8 38 sbc #$01 ; CPU:$DDF9 PRG:1DF9 E9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_DDFB +; Routine: Sub_8764_OnZero_DDFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8266,10 +8266,10 @@ Label_DDF1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDFB: - jmp $EDD7 ; CPU:$DDFB PRG:1DFB 4C D7 ED +Sub_8764_OnZero_DDFB: + jmp SubCEDD7 ; CPU:$DDFB PRG:1DFB 4C D7 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DDFE +; Routine: Sub_8764_OnCarrySet_DDFE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8277,18 +8277,18 @@ Label_DDFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DDFE: +Sub_8764_OnCarrySet_DDFE: ror Zp26 ; CPU:$DDFE PRG:1DFE 66 26 lda Zp25 ; CPU:$DE00 PRG:1E00 A5 25 ror a ; CPU:$DE02 PRG:1E02 6A cmp #$20 ; CPU:$DE03 PRG:1E03 C9 20 - bcs Label_DE0E ; CPU:$DE05 PRG:1E05 B0 07 + bcs Sub_8764_OnCarrySet_DE0E ; CPU:$DE05 PRG:1E05 B0 07 lsr a ; CPU:$DE07 PRG:1E07 4A lsr a ; CPU:$DE08 PRG:1E08 4A eor #$87 ; CPU:$DE09 PRG:1E09 49 87 - jsr $EDD7 ; CPU:$DE0B PRG:1E0B 20 D7 ED + jsr SubCEDD7 ; CPU:$DE0B PRG:1E0B 20 D7 ED ; ----------------------------------------------------------------------------- -; Routine: Label_DE0E +; Routine: Sub_8764_OnCarrySet_DE0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8296,10 +8296,10 @@ Label_DDFE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0E: +Sub_8764_OnCarrySet_DE0E: rts ; CPU:$DE0E PRG:1E0E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE0F +; Routine: Sub_8764_OnNegative_DE0F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8307,13 +8307,13 @@ Label_DE0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE0F: - jsr $DE19 ; CPU:$DE0F PRG:1E0F 20 19 DE - jsr $DCF1 ; CPU:$DE12 PRG:1E12 20 F1 DC +Sub_8764_OnNegative_DE0F: + jsr SubCDE19 ; CPU:$DE0F PRG:1E0F 20 19 DE + jsr SubCDCF1 ; CPU:$DE12 PRG:1E12 20 F1 DC sta $051A,y ; CPU:$DE15 PRG:1E15 99 1A 05 rts ; CPU:$DE18 PRG:1E18 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE19 +; Routine: SubCDE19 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8321,19 +8321,19 @@ Label_DE0F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE19: +SubCDE19: tya ; CPU:$DE19 PRG:1E19 98 - jsr $E039 ; CPU:$DE1A PRG:1E1A 20 39 E0 + jsr SubCE039 ; CPU:$DE1A PRG:1E1A 20 39 E0 lda $043C,x ; CPU:$DE1D PRG:1E1D BD 3C 04 sta $043C,y ; CPU:$DE20 PRG:1E20 99 3C 04 lda $04AB,x ; CPU:$DE23 PRG:1E23 BD AB 04 and #$3F ; CPU:$DE26 PRG:1E26 29 3F ora #$40 ; CPU:$DE28 PRG:1E28 09 40 sta $04AB,y ; CPU:$DE2A PRG:1E2A 99 AB 04 - jsr $DDDB ; CPU:$DE2D PRG:1E2D 20 DB DD + jsr SubCDDDB ; CPU:$DE2D PRG:1E2D 20 DB DD rts ; CPU:$DE30 PRG:1E30 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE31 +; Routine: SubCDE31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8341,15 +8341,15 @@ Label_DE19: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE31: - jsr $E665 ; CPU:$DE31 PRG:1E31 20 65 E6 +SubCDE31: + jsr SubCE665 ; CPU:$DE31 PRG:1E31 20 65 E6 lda Zp26 ; CPU:$DE34 PRG:1E34 A5 26 cmp Zp28 ; CPU:$DE36 PRG:1E36 C5 28 - bcc Label_DE63 ; CPU:$DE38 PRG:1E38 90 29 - beq Label_DE3E ; CPU:$DE3A PRG:1E3A F0 02 - bcs Label_DE44 ; CPU:$DE3C PRG:1E3C B0 06 + bcc Sub_8764_OnCarryClear_DE63 ; CPU:$DE38 PRG:1E38 90 29 + beq Sub_8764_OnZero_DE3E ; CPU:$DE3A PRG:1E3A F0 02 + bcs Sub_8764_OnCarrySet_DE44 ; CPU:$DE3C PRG:1E3C B0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_DE3E +; Routine: Sub_8764_OnZero_DE3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8357,12 +8357,12 @@ Label_DE31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE3E: +Sub_8764_OnZero_DE3E: lda Zp25 ; CPU:$DE3E PRG:1E3E A5 25 cmp Zp27 ; CPU:$DE40 PRG:1E40 C5 27 - bcc Label_DE63 ; CPU:$DE42 PRG:1E42 90 1F + bcc Sub_8764_OnCarryClear_DE63 ; CPU:$DE42 PRG:1E42 90 1F ; ----------------------------------------------------------------------------- -; Routine: Label_DE44 +; Routine: Sub_8764_OnCarrySet_DE44 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8370,16 +8370,16 @@ Label_DE3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE44: +Sub_8764_OnCarrySet_DE44: lda Zp26 ; CPU:$DE44 PRG:1E44 A5 26 - bne Label_DE50 ; CPU:$DE46 PRG:1E46 D0 08 + bne Sub_8764_JoinBranchPaths_DE50 ; CPU:$DE46 PRG:1E46 D0 08 lda Zp25 ; CPU:$DE48 PRG:1E48 A5 25 cmp Zp06 ; CPU:$DE4A PRG:1E4A C5 06 - bcs Label_DE50 ; CPU:$DE4C PRG:1E4C B0 02 + bcs Sub_8764_JoinBranchPaths_DE50 ; CPU:$DE4C PRG:1E4C B0 02 sec ; CPU:$DE4E PRG:1E4E 38 rts ; CPU:$DE4F PRG:1E4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE50 +; Routine: Sub_8764_JoinBranchPaths_DE50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8387,17 +8387,17 @@ Label_DE44: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE50: +Sub_8764_JoinBranchPaths_DE50: inc Zp03 ; CPU:$DE50 PRG:1E50 E6 03 inc Zp03 ; CPU:$DE52 PRG:1E52 E6 03 lda Zp28 ; CPU:$DE54 PRG:1E54 A5 28 - bne Label_DE60 ; CPU:$DE56 PRG:1E56 D0 08 + bne Sub_8764_JoinBranchPaths_DE60 ; CPU:$DE56 PRG:1E56 D0 08 lda Zp27 ; CPU:$DE58 PRG:1E58 A5 27 cmp Zp05 ; CPU:$DE5A PRG:1E5A C5 05 - bcs Label_DE60 ; CPU:$DE5C PRG:1E5C B0 02 + bcs Sub_8764_JoinBranchPaths_DE60 ; CPU:$DE5C PRG:1E5C B0 02 inc Zp03 ; CPU:$DE5E PRG:1E5E E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DE60 +; Routine: Sub_8764_JoinBranchPaths_DE60 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8405,10 +8405,10 @@ Label_DE50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE60: - jmp $DE7B ; CPU:$DE60 PRG:1E60 4C 7B DE +Sub_8764_JoinBranchPaths_DE60: + jmp SubCDE7B ; CPU:$DE60 PRG:1E60 4C 7B DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE63 +; Routine: Sub_8764_OnCarryClear_DE63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8416,16 +8416,16 @@ Label_DE60: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE63: +Sub_8764_OnCarryClear_DE63: lda Zp28 ; CPU:$DE63 PRG:1E63 A5 28 - bne Label_DE6F ; CPU:$DE65 PRG:1E65 D0 08 + bne Sub_8764_JoinBranchPaths_DE6F ; CPU:$DE65 PRG:1E65 D0 08 lda Zp27 ; CPU:$DE67 PRG:1E67 A5 27 cmp Zp06 ; CPU:$DE69 PRG:1E69 C5 06 - bcs Label_DE6F ; CPU:$DE6B PRG:1E6B B0 02 + bcs Sub_8764_JoinBranchPaths_DE6F ; CPU:$DE6B PRG:1E6B B0 02 sec ; CPU:$DE6D PRG:1E6D 38 rts ; CPU:$DE6E PRG:1E6E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DE6F +; Routine: Sub_8764_JoinBranchPaths_DE6F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8433,14 +8433,14 @@ Label_DE63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE6F: +Sub_8764_JoinBranchPaths_DE6F: lda Zp26 ; CPU:$DE6F PRG:1E6F A5 26 - bne Label_DE79 ; CPU:$DE71 PRG:1E71 D0 06 + bne Sub_8764_OnNonzero_DE79 ; CPU:$DE71 PRG:1E71 D0 06 lda Zp25 ; CPU:$DE73 PRG:1E73 A5 25 cmp Zp05 ; CPU:$DE75 PRG:1E75 C5 05 - bcc Label_DE7B ; CPU:$DE77 PRG:1E77 90 02 + bcc SubCDE7B ; CPU:$DE77 PRG:1E77 90 02 ; ----------------------------------------------------------------------------- -; Routine: Label_DE79 +; Routine: Sub_8764_OnNonzero_DE79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8448,10 +8448,10 @@ Label_DE6F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE79: +Sub_8764_OnNonzero_DE79: inc Zp03 ; CPU:$DE79 PRG:1E79 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_DE7B +; Routine: SubCDE7B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8459,11 +8459,11 @@ Label_DE79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE7B: +SubCDE7B: ldy Zp03 ; CPU:$DE7B PRG:1E7B A4 03 lda $DEFC,y ; CPU:$DE7D PRG:1E7D B9 FC DE ; ----------------------------------------------------------------------------- -; Routine: Label_DE80 +; Routine: SubCDE80 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8471,7 +8471,7 @@ Label_DE7B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE80: +SubCDE80: sta Zp2A ; CPU:$DE80 PRG:1E80 85 2A lda $043C,x ; CPU:$DE82 PRG:1E82 BD 3C 04 sec ; CPU:$DE85 PRG:1E85 38 @@ -8479,13 +8479,13 @@ Label_DE80: sta Zp29 ; CPU:$DE88 PRG:1E88 85 29 sec ; CPU:$DE8A PRG:1E8A 38 sbc Zp2A ; CPU:$DE8B PRG:1E8B E5 2A - beq Label_DEAB ; CPU:$DE8D PRG:1E8D F0 1C - bmi Label_DE97 ; CPU:$DE8F PRG:1E8F 30 06 + beq Sub_8764_OnZero_DEAB ; CPU:$DE8D PRG:1E8D F0 1C + bmi Sub_8764_OnNegative_DE97 ; CPU:$DE8F PRG:1E8F 30 06 cmp #$06 ; CPU:$DE91 PRG:1E91 C9 06 - bcc Label_DE9B ; CPU:$DE93 PRG:1E93 90 06 - bcs Label_DEAD ; CPU:$DE95 PRG:1E95 B0 16 + bcc Sub_8764_OnCarryClear_DE9B ; CPU:$DE93 PRG:1E93 90 06 + bcs Sub_8764_OnCarrySet_DEAD ; CPU:$DE95 PRG:1E95 B0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_DE97 +; Routine: Sub_8764_OnNegative_DE97 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8493,11 +8493,11 @@ Label_DE80: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE97: +Sub_8764_OnNegative_DE97: cmp #$FA ; CPU:$DE97 PRG:1E97 C9 FA - bcs Label_DEAD ; CPU:$DE99 PRG:1E99 B0 12 + bcs Sub_8764_OnCarrySet_DEAD ; CPU:$DE99 PRG:1E99 B0 12 ; ----------------------------------------------------------------------------- -; Routine: Label_DE9B +; Routine: Sub_8764_OnCarryClear_DE9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8505,13 +8505,13 @@ Label_DE97: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DE9B: +Sub_8764_OnCarryClear_DE9B: dec Zp29 ; CPU:$DE9B PRG:1E9B C6 29 - bpl Label_DEA3 ; CPU:$DE9D PRG:1E9D 10 04 + bpl Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DE9D PRG:1E9D 10 04 lda #$0B ; CPU:$DE9F PRG:1E9F A9 0B sta Zp29 ; CPU:$DEA1 PRG:1EA1 85 29 ; ----------------------------------------------------------------------------- -; Routine: Label_DEA3 +; Routine: Sub_8764_JoinBranchPaths_DEA3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8519,13 +8519,13 @@ Label_DE9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEA3: +Sub_8764_JoinBranchPaths_DEA3: lda Zp29 ; CPU:$DEA3 PRG:1EA3 A5 29 clc ; CPU:$DEA5 PRG:1EA5 18 adc Zp40 ; CPU:$DEA6 PRG:1EA6 65 40 sta $043C,x ; CPU:$DEA8 PRG:1EA8 9D 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAB +; Routine: Sub_8764_OnZero_DEAB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8533,10 +8533,10 @@ Label_DEA3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAB: +Sub_8764_OnZero_DEAB: clc ; CPU:$DEAB PRG:1EAB 18 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAC +; Routine: Sub_8764_OnCarryClear_DEAC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8544,10 +8544,10 @@ Label_DEAB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAC: +Sub_8764_OnCarryClear_DEAC: rts ; CPU:$DEAC PRG:1EAC 60 ; ----------------------------------------------------------------------------- -; Routine: Label_DEAD +; Routine: Sub_8764_OnCarrySet_DEAD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8555,16 +8555,16 @@ Label_DEAC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEAD: +Sub_8764_OnCarrySet_DEAD: inc Zp29 ; CPU:$DEAD PRG:1EAD E6 29 lda Zp29 ; CPU:$DEAF PRG:1EAF A5 29 cmp #$0C ; CPU:$DEB1 PRG:1EB1 C9 0C - bcc Label_DEA3 ; CPU:$DEB3 PRG:1EB3 90 EE + bcc Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DEB3 PRG:1EB3 90 EE lda #$00 ; CPU:$DEB5 PRG:1EB5 A9 00 sta Zp29 ; CPU:$DEB7 PRG:1EB7 85 29 - beq Label_DEA3 ; CPU:$DEB9 PRG:1EB9 F0 E8 + beq Sub_8764_JoinBranchPaths_DEA3 ; CPU:$DEB9 PRG:1EB9 F0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_DEBB +; Routine: SubCDEBB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8572,7 +8572,7 @@ Label_DEAD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEBB: +SubCDEBB: lda $051A,x ; CPU:$DEBB PRG:1EBB BD 1A 05 tay ; CPU:$DEBE PRG:1EBE A8 lda $DF0D,y ; CPU:$DEBF PRG:1EBF B9 0D DF @@ -8580,14 +8580,14 @@ Label_DEBB: lda $DFE4,y ; CPU:$DEC3 PRG:1EC3 B9 E4 DF sta Zp28 ; CPU:$DEC6 PRG:1EC6 85 28 lda $DFA8,y ; CPU:$DEC8 PRG:1EC8 B9 A8 DF - jsr $E020 ; CPU:$DECB PRG:1ECB 20 20 E0 - jsr $DE31 ; CPU:$DECE PRG:1ECE 20 31 DE - bcc Label_DEAC ; CPU:$DED1 PRG:1ED1 90 D9 + jsr SubCE020 ; CPU:$DECB PRG:1ECB 20 20 E0 + jsr SubCDE31 ; CPU:$DECE PRG:1ECE 20 31 DE + bcc Sub_8764_OnCarryClear_DEAC ; CPU:$DED1 PRG:1ED1 90 D9 inc $051A,x ; CPU:$DED3 PRG:1ED3 FE 1A 05 lda $051A,x ; CPU:$DED6 PRG:1ED6 BD 1A 05 tay ; CPU:$DED9 PRG:1ED9 A8 lda $DF0D,y ; CPU:$DEDA PRG:1EDA B9 0D DF - bne Label_DEFB ; CPU:$DEDD PRG:1EDD D0 1C + bne Sub_8764_OnNonzero_DEFB ; CPU:$DEDD PRG:1EDD D0 1C dey ; CPU:$DEDF PRG:1EDF 88 stx Zp27 ; CPU:$DEE0 PRG:1EE0 86 27 lda $DF0D,y ; CPU:$DEE2 PRG:1EE2 B9 0D DF @@ -8597,7 +8597,7 @@ Label_DEBB: inc $06A6,x ; CPU:$DEEB PRG:1EEB FE A6 06 ldx Zp27 ; CPU:$DEEE PRG:1EEE A6 27 ; ----------------------------------------------------------------------------- -; Routine: Label_DEF0 +; Routine: Sub_8764_OnNonzero_DEF0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8605,15 +8605,15 @@ Label_DEBB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEF0: +Sub_8764_OnNonzero_DEF0: dey ; CPU:$DEF0 PRG:1EF0 88 lda $DF0D,y ; CPU:$DEF1 PRG:1EF1 B9 0D DF - bne Label_DEF0 ; CPU:$DEF4 PRG:1EF4 D0 FA + bne Sub_8764_OnNonzero_DEF0 ; CPU:$DEF4 PRG:1EF4 D0 FA iny ; CPU:$DEF6 PRG:1EF6 C8 tya ; CPU:$DEF7 PRG:1EF7 98 sta $051A,x ; CPU:$DEF8 PRG:1EF8 9D 1A 05 ; ----------------------------------------------------------------------------- -; Routine: Label_DEFB +; Routine: Sub_8764_OnNonzero_DEFB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8621,7 +8621,7 @@ Label_DEF0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_DEFB: +Sub_8764_OnNonzero_DEFB: rts ; CPU:$DEFB PRG:1EFB 60 ; ---- data $DEFC-$E01F (292 bytes) ---- ; referenced by `lda $DEFC,y` at $DCB6 (operand $DEFC falls inside this region) @@ -8651,7 +8651,7 @@ Label_DEFB: .byte $C5, $05, $04, $83, $03, $43, $03, $C2, $82, $42, $02, $F1, $21, $01, $80, $01 ; CPU:$E00C PRG:200C C5 05 04 83 03 43 03 C2 82 42 02 F1 21 01 80 01 .byte $40, $60, $C0, $40 ; CPU:$E01C PRG:201C 40 60 C0 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E020 +; Routine: SubCE020 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8659,7 +8659,7 @@ Label_DEFB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E020: +SubCE020: sta Zp26 ; CPU:$E020 PRG:2020 85 26 and #$F0 ; CPU:$E022 PRG:2022 29 F0 sta Zp25 ; CPU:$E024 PRG:2024 85 25 @@ -8674,7 +8674,7 @@ Label_E020: sta Zp28 ; CPU:$E036 PRG:2036 85 28 rts ; CPU:$E038 PRG:2038 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E039 +; Routine: SubCE039 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8682,14 +8682,14 @@ Label_E020: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E039: +SubCE039: sty Zp27 ; CPU:$E039 PRG:2039 84 27 tay ; CPU:$E03B PRG:203B A8 - jsr $E042 ; CPU:$E03C PRG:203C 20 42 E0 + jsr SubCE042 ; CPU:$E03C PRG:203C 20 42 E0 ldy Zp27 ; CPU:$E03F PRG:203F A4 27 rts ; CPU:$E041 PRG:2041 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E042 +; Routine: SubCE042 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8697,7 +8697,7 @@ Label_E039: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E042: +SubCE042: lda $035E,x ; CPU:$E042 PRG:2042 BD 5E 03 sta $035E,y ; CPU:$E045 PRG:2045 99 5E 03 lda $0280,x ; CPU:$E048 PRG:2048 BD 80 02 @@ -8708,7 +8708,7 @@ Label_E042: sta $02EF,y ; CPU:$E057 PRG:2057 99 EF 02 rts ; CPU:$E05A PRG:205A 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E05B +; Routine: SubCE05B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8716,19 +8716,19 @@ Label_E042: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E05B: +SubCE05B: lda ZpA5 ; CPU:$E05B PRG:205B A5 A5 and ZpC0 ; CPU:$E05D PRG:205D 25 C0 - beq Label_E072 ; CPU:$E05F PRG:205F F0 11 + beq Sub_8764_JoinBranchPaths_E072 ; CPU:$E05F PRG:205F F0 11 lda ZpB3 ; CPU:$E061 PRG:2061 A5 B3 - bmi Label_E072 ; CPU:$E063 PRG:2063 30 0D + bmi Sub_8764_JoinBranchPaths_E072 ; CPU:$E063 PRG:2063 30 0D lda ZpD4 ; CPU:$E065 PRG:2065 A5 D4 - beq Label_E06F ; CPU:$E067 PRG:2067 F0 06 + beq Sub_8764_OnZero_E06F ; CPU:$E067 PRG:2067 F0 06 lda ZpC9 ; CPU:$E069 PRG:2069 A5 C9 cmp #$02 ; CPU:$E06B PRG:206B C9 02 - beq Label_E072 ; CPU:$E06D PRG:206D F0 03 + beq Sub_8764_JoinBranchPaths_E072 ; CPU:$E06D PRG:206D F0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E06F +; Routine: Sub_8764_OnZero_E06F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8736,10 +8736,10 @@ Label_E05B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E06F: - jmp $E167 ; CPU:$E06F PRG:206F 4C 67 E1 +Sub_8764_OnZero_E06F: + jmp SubCE167 ; CPU:$E06F PRG:206F 4C 67 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E072 +; Routine: Sub_8764_JoinBranchPaths_E072 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8747,17 +8747,17 @@ Label_E06F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E072: - lda a:$0095,y ; CPU:$E072 PRG:2072 B9 95 00 +Sub_8764_JoinBranchPaths_E072: + lda a:Zp95,y ; CPU:$E072 PRG:2072 B9 95 00 cmp #$89 ; CPU:$E075 PRG:2075 C9 89 - bcc Label_E082 ; CPU:$E077 PRG:2077 90 09 + bcc Sub_8764_OnCarryClear_E082 ; CPU:$E077 PRG:2077 90 09 sec ; CPU:$E079 PRG:2079 38 sbc #$89 ; CPU:$E07A PRG:207A E9 89 sta Zp27 ; CPU:$E07C PRG:207C 85 27 lda #$00 ; CPU:$E07E PRG:207E A9 00 - beq Label_E08C ; CPU:$E080 PRG:2080 F0 0A + beq Sub_8764_OnZero_E08C ; CPU:$E080 PRG:2080 F0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E082 +; Routine: Sub_8764_OnCarryClear_E082 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8765,14 +8765,14 @@ Label_E072: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E082: +Sub_8764_OnCarryClear_E082: sec ; CPU:$E082 PRG:2082 38 lda #$89 ; CPU:$E083 PRG:2083 A9 89 - sbc a:$0095,y ; CPU:$E085 PRG:2085 F9 95 00 + sbc a:Zp95,y ; CPU:$E085 PRG:2085 F9 95 00 sta Zp27 ; CPU:$E088 PRG:2088 85 27 lda #$80 ; CPU:$E08A PRG:208A A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_E08C +; Routine: Sub_8764_OnZero_E08C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8780,22 +8780,22 @@ Label_E082: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E08C: +Sub_8764_OnZero_E08C: sta Zp29 ; CPU:$E08C PRG:208C 85 29 lda $E6CD,y ; CPU:$E08E PRG:208E B9 CD E6 and Zp36 ; CPU:$E091 PRG:2091 25 36 - bne Label_E0A8 ; CPU:$E093 PRG:2093 D0 13 - lda a:$0085,y ; CPU:$E095 PRG:2095 B9 85 00 + bne Sub_8764_JoinBranchPaths_E0A8 ; CPU:$E093 PRG:2093 D0 13 + lda a:Zp85,y ; CPU:$E095 PRG:2095 B9 85 00 cmp #$AB ; CPU:$E098 PRG:2098 C9 AB - bcs Label_E0A8 ; CPU:$E09A PRG:209A B0 0C + bcs Sub_8764_JoinBranchPaths_E0A8 ; CPU:$E09A PRG:209A B0 0C sec ; CPU:$E09C PRG:209C 38 lda #$AB ; CPU:$E09D PRG:209D A9 AB - sbc a:$0085,y ; CPU:$E09F PRG:209F F9 85 00 + sbc a:Zp85,y ; CPU:$E09F PRG:209F F9 85 00 sta Zp25 ; CPU:$E0A2 PRG:20A2 85 25 lda #$80 ; CPU:$E0A4 PRG:20A4 A9 80 - bne Label_E0B2 ; CPU:$E0A6 PRG:20A6 D0 0A + bne Sub_8764_OnNonzero_E0B2 ; CPU:$E0A6 PRG:20A6 D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_E0A8 +; Routine: Sub_8764_JoinBranchPaths_E0A8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8803,14 +8803,14 @@ Label_E08C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0A8: +Sub_8764_JoinBranchPaths_E0A8: sec ; CPU:$E0A8 PRG:20A8 38 - lda a:$0085,y ; CPU:$E0A9 PRG:20A9 B9 85 00 + lda a:Zp85,y ; CPU:$E0A9 PRG:20A9 B9 85 00 sbc #$AB ; CPU:$E0AC PRG:20AC E9 AB sta Zp25 ; CPU:$E0AE PRG:20AE 85 25 lda #$00 ; CPU:$E0B0 PRG:20B0 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E0B2 +; Routine: Sub_8764_OnNonzero_E0B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8818,21 +8818,21 @@ Label_E0A8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0B2: +Sub_8764_OnNonzero_E0B2: sta Zp2A ; CPU:$E0B2 PRG:20B2 85 2A lda #$01 ; CPU:$E0B4 PRG:20B4 A9 01 sta Zp03 ; CPU:$E0B6 PRG:20B6 85 03 lda Zp27 ; CPU:$E0B8 PRG:20B8 A5 27 cmp Zp25 ; CPU:$E0BA PRG:20BA C5 25 - bcc Label_E0C8 ; CPU:$E0BC PRG:20BC 90 0A + bcc Sub_8764_OnCarryClear_E0C8 ; CPU:$E0BC PRG:20BC 90 0A lsr a ; CPU:$E0BE PRG:20BE 4A lsr a ; CPU:$E0BF PRG:20BF 4A cmp Zp25 ; CPU:$E0C0 PRG:20C0 C5 25 - bcs Label_E0D6 ; CPU:$E0C2 PRG:20C2 B0 12 + bcs Sub_8764_JoinBranchPaths_E0D6 ; CPU:$E0C2 PRG:20C2 B0 12 inc Zp03 ; CPU:$E0C4 PRG:20C4 E6 03 - bcc Label_E0D6 ; CPU:$E0C6 PRG:20C6 90 0E + bcc Sub_8764_JoinBranchPaths_E0D6 ; CPU:$E0C6 PRG:20C6 90 0E ; ----------------------------------------------------------------------------- -; Routine: Label_E0C8 +; Routine: Sub_8764_OnCarryClear_E0C8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8840,15 +8840,15 @@ Label_E0B2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0C8: +Sub_8764_OnCarryClear_E0C8: lda Zp25 ; CPU:$E0C8 PRG:20C8 A5 25 lsr a ; CPU:$E0CA PRG:20CA 4A lsr a ; CPU:$E0CB PRG:20CB 4A cmp Zp27 ; CPU:$E0CC PRG:20CC C5 27 - bcc Label_E0D2 ; CPU:$E0CE PRG:20CE 90 02 + bcc Sub_8764_OnCarryClear_E0D2 ; CPU:$E0CE PRG:20CE 90 02 inc Zp03 ; CPU:$E0D0 PRG:20D0 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D2 +; Routine: Sub_8764_OnCarryClear_E0D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8856,11 +8856,11 @@ Label_E0C8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D2: +Sub_8764_OnCarryClear_E0D2: inc Zp03 ; CPU:$E0D2 PRG:20D2 E6 03 inc Zp03 ; CPU:$E0D4 PRG:20D4 E6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0D6 +; Routine: Sub_8764_JoinBranchPaths_E0D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8868,15 +8868,15 @@ Label_E0D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0D6: +Sub_8764_JoinBranchPaths_E0D6: lda Zp29 ; CPU:$E0D6 PRG:20D6 A5 29 - bpl Label_E0E1 ; CPU:$E0D8 PRG:20D8 10 07 + bpl Sub_8764_OnNonnegative_E0E1 ; CPU:$E0D8 PRG:20D8 10 07 clc ; CPU:$E0DA PRG:20DA 18 lda Zp03 ; CPU:$E0DB PRG:20DB A5 03 adc #$04 ; CPU:$E0DD PRG:20DD 69 04 sta Zp03 ; CPU:$E0DF PRG:20DF 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0E1 +; Routine: Sub_8764_OnNonnegative_E0E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8884,15 +8884,15 @@ Label_E0D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0E1: +Sub_8764_OnNonnegative_E0E1: lda Zp2A ; CPU:$E0E1 PRG:20E1 A5 2A - bmi Label_E0EC ; CPU:$E0E3 PRG:20E3 30 07 + bmi Sub_8764_OnNegative_E0EC ; CPU:$E0E3 PRG:20E3 30 07 clc ; CPU:$E0E5 PRG:20E5 18 lda Zp03 ; CPU:$E0E6 PRG:20E6 A5 03 adc #$08 ; CPU:$E0E8 PRG:20E8 69 08 sta Zp03 ; CPU:$E0EA PRG:20EA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E0EC +; Routine: Sub_8764_OnNegative_E0EC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8900,25 +8900,25 @@ Label_E0E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E0EC: +Sub_8764_OnNegative_E0EC: ldx Zp03 ; CPU:$E0EC PRG:20EC A6 03 lda #$90 ; CPU:$E0EE PRG:20EE A9 90 sta Zp40 ; CPU:$E0F0 PRG:20F0 85 40 - jsr $E157 ; CPU:$E0F2 PRG:20F2 20 57 E1 - beq Label_E126 ; CPU:$E0F5 PRG:20F5 F0 2F + jsr SubCE157 ; CPU:$E0F2 PRG:20F2 20 57 E1 + beq Sub_8764_OnZero_E126 ; CPU:$E0F5 PRG:20F5 F0 2F inc ZpDE ; CPU:$E0F7 PRG:20F7 E6 DE lda ZpDE ; CPU:$E0F9 PRG:20F9 A5 DE and #$03 ; CPU:$E0FB PRG:20FB 29 03 - bne Label_E121 ; CPU:$E0FD PRG:20FD D0 22 + bne Sub_8764_JoinBranchPaths_E121 ; CPU:$E0FD PRG:20FD D0 22 lda Zp51 ; CPU:$E0FF PRG:20FF A5 51 and #$02 ; CPU:$E101 PRG:2101 29 02 - beq Label_E110 ; CPU:$E103 PRG:2103 F0 0B + beq Sub_8764_OnZero_E110 ; CPU:$E103 PRG:2103 F0 0B ldx ZpDD ; CPU:$E105 PRG:2105 A6 DD cpx #$00 ; CPU:$E107 PRG:2107 E0 00 - bne Label_E10D ; CPU:$E109 PRG:2109 D0 02 + bne Sub_8764_OnNonzero_E10D ; CPU:$E109 PRG:2109 D0 02 ldx #$0C ; CPU:$E10B PRG:210B A2 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E10D +; Routine: Sub_8764_OnNonzero_E10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8926,11 +8926,11 @@ Label_E0EC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E10D: +Sub_8764_OnNonzero_E10D: dex ; CPU:$E10D PRG:210D CA stx ZpDD ; CPU:$E10E PRG:210E 86 DD ; ----------------------------------------------------------------------------- -; Routine: Label_E110 +; Routine: Sub_8764_OnZero_E110 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8938,16 +8938,16 @@ Label_E10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E110: +Sub_8764_OnZero_E110: lda Zp51 ; CPU:$E110 PRG:2110 A5 51 and #$01 ; CPU:$E112 PRG:2112 29 01 - beq Label_E121 ; CPU:$E114 PRG:2114 F0 0B + beq Sub_8764_JoinBranchPaths_E121 ; CPU:$E114 PRG:2114 F0 0B ldx ZpDD ; CPU:$E116 PRG:2116 A6 DD cpx #$0B ; CPU:$E118 PRG:2118 E0 0B - bne Label_E11E ; CPU:$E11A PRG:211A D0 02 + bne Sub_8764_OnNonzero_E11E ; CPU:$E11A PRG:211A D0 02 ldx #$FF ; CPU:$E11C PRG:211C A2 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E11E +; Routine: Sub_8764_OnNonzero_E11E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8955,11 +8955,11 @@ Label_E110: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E11E: +Sub_8764_OnNonzero_E11E: inx ; CPU:$E11E PRG:211E E8 stx ZpDD ; CPU:$E11F PRG:211F 86 DD ; ----------------------------------------------------------------------------- -; Routine: Label_E121 +; Routine: Sub_8764_JoinBranchPaths_E121 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8967,11 +8967,11 @@ Label_E11E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E121: +Sub_8764_JoinBranchPaths_E121: lda ZpDD ; CPU:$E121 PRG:2121 A5 DD - jmp $E129 ; CPU:$E123 PRG:2123 4C 29 E1 + jmp SubCE129 ; CPU:$E123 PRG:2123 4C 29 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E126 +; Routine: Sub_8764_OnZero_E126 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8979,10 +8979,10 @@ Label_E121: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E126: +Sub_8764_OnZero_E126: lda $E146,x ; CPU:$E126 PRG:2126 BD 46 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E129 +; Routine: SubCE129 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -8990,22 +8990,22 @@ Label_E126: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E129: +SubCE129: pha ; CPU:$E129 PRG:2129 48 - lda a:$0065,y ; CPU:$E12A PRG:212A B9 65 00 + lda a:Zp65,y ; CPU:$E12A PRG:212A B9 65 00 tax ; CPU:$E12D PRG:212D AA pla ; CPU:$E12E PRG:212E 68 - jsr $DE80 ; CPU:$E12F PRG:212F 20 80 DE - jsr $E157 ; CPU:$E132 PRG:2132 20 57 E1 - beq Label_E143 ; CPU:$E135 PRG:2135 F0 0C + jsr SubCDE80 ; CPU:$E12F PRG:212F 20 80 DE + jsr SubCE157 ; CPU:$E132 PRG:2132 20 57 E1 + beq Sub_8764_OnZero_E143 ; CPU:$E135 PRG:2135 F0 0C lda Zp51 ; CPU:$E137 PRG:2137 A5 51 and #$80 ; CPU:$E139 PRG:2139 29 80 - bne Label_E18E ; CPU:$E13B PRG:213B D0 51 + bne Sub_8764_JoinBranchPaths_E18E ; CPU:$E13B PRG:213B D0 51 lda Zp51 ; CPU:$E13D PRG:213D A5 51 and #$40 ; CPU:$E13F PRG:213F 29 40 - bne Label_E17B ; CPU:$E141 PRG:2141 D0 38 + bne Sub_8764_OnNonzero_E17B ; CPU:$E141 PRG:2141 D0 38 ; ----------------------------------------------------------------------------- -; Routine: Label_E143 +; Routine: Sub_8764_OnZero_E143 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9013,14 +9013,14 @@ Label_E129: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E143: - jmp $E320 ; CPU:$E143 PRG:2143 4C 20 E3 +Sub_8764_OnZero_E143: + jmp SubCE320 ; CPU:$E143 PRG:2143 4C 20 E3 ; ---- data $E146-$E156 (17 bytes) ---- ; referenced by `lda $E146,x` at $E126 (operand $E146 falls inside this region) .byte $00, $00, $01, $02, $03, $06, $05, $04, $03, $00, $0B, $0A, $09, $06, $07, $08 ; CPU:$E146 PRG:2146 00 00 01 02 03 06 05 04 03 00 0B 0A 09 06 07 08 .byte $09 ; CPU:$E156 PRG:2156 09 ; ----------------------------------------------------------------------------- -; Routine: Label_E157 +; Routine: SubCE157 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9028,16 +9028,16 @@ Label_E143: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E157: +SubCE157: lda ZpD4 ; CPU:$E157 PRG:2157 A5 D4 - beq Label_E164 ; CPU:$E159 PRG:2159 F0 09 + beq Sub_8764_JoinBranchPaths_E164 ; CPU:$E159 PRG:2159 F0 09 lda ZpC9 ; CPU:$E15B PRG:215B A5 C9 cmp #$02 ; CPU:$E15D PRG:215D C9 02 - bne Label_E164 ; CPU:$E15F PRG:215F D0 03 + bne Sub_8764_JoinBranchPaths_E164 ; CPU:$E15F PRG:215F D0 03 lda #$01 ; CPU:$E161 PRG:2161 A9 01 rts ; CPU:$E163 PRG:2163 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E164 +; Routine: Sub_8764_JoinBranchPaths_E164 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9045,11 +9045,11 @@ Label_E157: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E164: +Sub_8764_JoinBranchPaths_E164: lda #$00 ; CPU:$E164 PRG:2164 A9 00 rts ; CPU:$E166 PRG:2166 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E167 +; Routine: SubCE167 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9057,12 +9057,12 @@ Label_E164: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E167: - jsr $C412 ; CPU:$E167 PRG:2167 20 12 C4 +SubCE167: + jsr SubCC412 ; CPU:$E167 PRG:2167 20 12 C4 cmp ZpBF ; CPU:$E16A PRG:216A C5 BF - bcc Label_E18E ; CPU:$E16C PRG:216C 90 20 + bcc Sub_8764_JoinBranchPaths_E18E ; CPU:$E16C PRG:216C 90 20 ; ----------------------------------------------------------------------------- -; Routine: Label_E16E +; Routine: Sub_8764_OnNegative_E16E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9070,15 +9070,15 @@ Label_E167: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E16E: +Sub_8764_OnNegative_E16E: lda ZpBD ; CPU:$E16E PRG:216E A5 BD cmp #$04 ; CPU:$E170 PRG:2170 C9 04 - bcs Label_E18B ; CPU:$E172 PRG:2172 B0 17 - jsr $C412 ; CPU:$E174 PRG:2174 20 12 C4 + bcs Sub_8764_JoinBranchPaths_E18B ; CPU:$E172 PRG:2172 B0 17 + jsr SubCC412 ; CPU:$E174 PRG:2174 20 12 C4 cmp #$FA ; CPU:$E177 PRG:2177 C9 FA - bcc Label_E18B ; CPU:$E179 PRG:2179 90 10 + bcc Sub_8764_JoinBranchPaths_E18B ; CPU:$E179 PRG:2179 90 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E17B +; Routine: Sub_8764_OnNonzero_E17B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9086,16 +9086,16 @@ Label_E16E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E17B: +Sub_8764_OnNonzero_E17B: lda $043C,x ; CPU:$E17B PRG:217B BD 3C 04 stx Zp26 ; CPU:$E17E PRG:217E 86 26 tax ; CPU:$E180 PRG:2180 AA lda $DBCB,x ; CPU:$E181 PRG:2181 BD CB DB sta Zp25 ; CPU:$E184 PRG:2184 85 25 ldx Zp26 ; CPU:$E186 PRG:2186 A6 26 - jsr $E499 ; CPU:$E188 PRG:2188 20 99 E4 + jsr SubCE499 ; CPU:$E188 PRG:2188 20 99 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E18B +; Routine: Sub_8764_JoinBranchPaths_E18B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9103,10 +9103,10 @@ Label_E17B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E18B: - jmp $E320 ; CPU:$E18B PRG:218B 4C 20 E3 +Sub_8764_JoinBranchPaths_E18B: + jmp SubCE320 ; CPU:$E18B PRG:218B 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E18E +; Routine: Sub_8764_JoinBranchPaths_E18E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9114,22 +9114,22 @@ Label_E18B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E18E: +Sub_8764_JoinBranchPaths_E18E: lda $04AD ; CPU:$E18E PRG:218E AD AD 04 - bmi Label_E16E ; CPU:$E191 PRG:2191 30 DB + bmi Sub_8764_OnNegative_E16E ; CPU:$E191 PRG:2191 30 DB lda Zp09 ; CPU:$E193 PRG:2193 A5 09 - bne Label_E18B ; CPU:$E195 PRG:2195 D0 F4 + bne Sub_8764_JoinBranchPaths_E18B ; CPU:$E195 PRG:2195 D0 F4 lda #$02 ; CPU:$E197 PRG:2197 A9 02 - jsr $E039 ; CPU:$E199 PRG:2199 20 39 E0 + jsr SubCE039 ; CPU:$E199 PRG:2199 20 39 E0 lda #$7C ; CPU:$E19C PRG:219C A9 7C sta $043E ; CPU:$E19E PRG:219E 8D 3E 04 sec ; CPU:$E1A1 PRG:21A1 38 - lda a:$0095,y ; CPU:$E1A2 PRG:21A2 B9 95 00 + lda a:Zp95,y ; CPU:$E1A2 PRG:21A2 B9 95 00 sbc #$89 ; CPU:$E1A5 PRG:21A5 E9 89 - bpl Label_E1AB ; CPU:$E1A7 PRG:21A7 10 02 + bpl Sub_8764_OnNonnegative_E1AB ; CPU:$E1A7 PRG:21A7 10 02 eor #$FF ; CPU:$E1A9 PRG:21A9 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E1AB +; Routine: Sub_8764_OnNonnegative_E1AB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9137,15 +9137,15 @@ Label_E18E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1AB: +Sub_8764_OnNonnegative_E1AB: sta Zp05 ; CPU:$E1AB PRG:21AB 85 05 sec ; CPU:$E1AD PRG:21AD 38 - lda a:$0085,y ; CPU:$E1AE PRG:21AE B9 85 00 + lda a:Zp85,y ; CPU:$E1AE PRG:21AE B9 85 00 sbc #$AB ; CPU:$E1B1 PRG:21B1 E9 AB - bpl Label_E1B7 ; CPU:$E1B3 PRG:21B3 10 02 + bpl Sub_8764_OnNonnegative_E1B7 ; CPU:$E1B3 PRG:21B3 10 02 eor #$FF ; CPU:$E1B5 PRG:21B5 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E1B7 +; Routine: Sub_8764_OnNonnegative_E1B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9153,14 +9153,14 @@ Label_E1AB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1B7: +Sub_8764_OnNonnegative_E1B7: cmp Zp05 ; CPU:$E1B7 PRG:21B7 C5 05 php ; CPU:$E1B9 PRG:21B9 08 - bcs Label_E1C0 ; CPU:$E1BA PRG:21BA B0 04 + bcs Sub_8764_OnCarrySet_E1C0 ; CPU:$E1BA PRG:21BA B0 04 lsr a ; CPU:$E1BC PRG:21BC 4A - jmp $E1C2 ; CPU:$E1BD PRG:21BD 4C C2 E1 + jmp SubCE1C2 ; CPU:$E1BD PRG:21BD 4C C2 E1 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C0 +; Routine: Sub_8764_OnCarrySet_E1C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9168,10 +9168,10 @@ Label_E1B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C0: +Sub_8764_OnCarrySet_E1C0: lsr Zp05 ; CPU:$E1C0 PRG:21C0 46 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E1C2 +; Routine: SubCE1C2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9179,18 +9179,18 @@ Label_E1C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1C2: +SubCE1C2: clc ; CPU:$E1C2 PRG:21C2 18 adc Zp05 ; CPU:$E1C3 PRG:21C3 65 05 lsr a ; CPU:$E1C5 PRG:21C5 4A lsr a ; CPU:$E1C6 PRG:21C6 4A lsr a ; CPU:$E1C7 PRG:21C7 4A plp ; CPU:$E1C8 PRG:21C8 28 - bcs Label_E1CE ; CPU:$E1C9 PRG:21C9 B0 03 + bcs Sub_8764_OnCarrySet_E1CE ; CPU:$E1C9 PRG:21C9 B0 03 clc ; CPU:$E1CB PRG:21CB 18 adc #$03 ; CPU:$E1CC PRG:21CC 69 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E1CE +; Routine: Sub_8764_OnCarrySet_E1CE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9198,7 +9198,7 @@ Label_E1C2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E1CE: +Sub_8764_OnCarrySet_E1CE: clc ; CPU:$E1CE PRG:21CE 18 adc #$01 ; CPU:$E1CF PRG:21CF 69 01 sta $058B ; CPU:$E1D1 PRG:21D1 8D 8B 05 @@ -9212,14 +9212,14 @@ Label_E1CE: lda $E1F9,y ; CPU:$E1E2 PRG:21E2 B9 F9 E1 sta Zp44 ; CPU:$E1E5 PRG:21E5 85 44 ldy Zp03 ; CPU:$E1E7 PRG:21E7 A4 03 - jmp $E320 ; CPU:$E1E9 PRG:21E9 4C 20 E3 + jmp SubCE320 ; CPU:$E1E9 PRG:21E9 4C 20 E3 ; ---- data $E1EC-$E205 (26 bytes) ---- ; referenced by `lda $E1EC,y` at $E1DD (operand $E1EC falls inside this region) ; referenced by `lda $E1F9,y` at $E1E2 (operand $E1F9 falls inside this region) .byte $00, $04, $07, $08, $07, $04, $00, $84, $87, $88, $87, $84, $00, $86, $85, $83 ; CPU:$E1EC PRG:21EC 00 04 07 08 07 04 00 84 87 88 87 84 00 86 85 83 .byte $00, $03, $05, $06, $05, $03, $00, $83, $85, $86 ; CPU:$E1FC PRG:21FC 00 03 05 06 05 03 00 83 85 86 ; ----------------------------------------------------------------------------- -; Routine: Label_E206 +; Routine: SubCE206 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9227,17 +9227,17 @@ Label_E1CE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E206: +SubCE206: lda ZpA5 ; CPU:$E206 PRG:2206 A5 A5 cmp #$07 ; CPU:$E208 PRG:2208 C9 07 - bne Label_E235 ; CPU:$E20A PRG:220A D0 29 + bne Sub_8764_OnNonzero_E235 ; CPU:$E20A PRG:220A D0 29 lda $0698,x ; CPU:$E20C PRG:220C BD 98 06 cmp #$0A ; CPU:$E20F PRG:220F C9 0A - bcs Label_E217 ; CPU:$E211 PRG:2211 B0 04 + bcs Sub_8764_OnCarrySet_E217 ; CPU:$E211 PRG:2211 B0 04 lda #$A9 ; CPU:$E213 PRG:2213 A9 A9 - bne Label_E227 ; CPU:$E215 PRG:2215 D0 10 + bne Sub_8764_OnNonzero_E227 ; CPU:$E215 PRG:2215 D0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_E217 +; Routine: Sub_8764_OnCarrySet_E217 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9245,14 +9245,14 @@ Label_E206: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E217: +Sub_8764_OnCarrySet_E217: lda $043C,x ; CPU:$E217 PRG:2217 BD 3C 04 cmp #$AC ; CPU:$E21A PRG:221A C9 AC - bcc Label_E222 ; CPU:$E21C PRG:221C 90 04 + bcc Sub_8764_OnCarryClear_E222 ; CPU:$E21C PRG:221C 90 04 lda #$AA ; CPU:$E21E PRG:221E A9 AA - bne Label_E227 ; CPU:$E220 PRG:2220 D0 05 + bne Sub_8764_OnNonzero_E227 ; CPU:$E220 PRG:2220 D0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E222 +; Routine: Sub_8764_OnCarryClear_E222 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9260,11 +9260,11 @@ Label_E217: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E222: +Sub_8764_OnCarryClear_E222: inc $043C,x ; CPU:$E222 PRG:2222 FE 3C 04 - bne Label_E22A ; CPU:$E225 PRG:2225 D0 03 + bne Sub_8764_OnNonzero_E22A ; CPU:$E225 PRG:2225 D0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E227 +; Routine: Sub_8764_OnNonzero_E227 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9272,10 +9272,10 @@ Label_E222: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E227: +Sub_8764_OnNonzero_E227: sta $043C,x ; CPU:$E227 PRG:2227 9D 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E22A +; Routine: Sub_8764_OnNonzero_E22A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9283,14 +9283,14 @@ Label_E227: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E22A: +Sub_8764_OnNonzero_E22A: lda Zp12 ; CPU:$E22A PRG:222A A5 12 and #$3F ; CPU:$E22C PRG:222C 29 3F - bne Label_E235 ; CPU:$E22E PRG:222E D0 05 + bne Sub_8764_OnNonzero_E235 ; CPU:$E22E PRG:222E D0 05 lda #$01 ; CPU:$E230 PRG:2230 A9 01 - jsr $D9B2 ; CPU:$E232 PRG:2232 20 B2 D9 + jsr SubCD9B2 ; CPU:$E232 PRG:2232 20 B2 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E235 +; Routine: Sub_8764_OnNonzero_E235 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9298,13 +9298,13 @@ Label_E22A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E235: - jmp $E320 ; CPU:$E235 PRG:2235 4C 20 E3 +Sub_8764_OnNonzero_E235: + jmp SubCE320 ; CPU:$E235 PRG:2235 4C 20 E3 ; ---- data $E238-$E250 (25 bytes) ---- .byte $A5, $A5, $6A, $B0, $0D, $FE, $3C, $04, $BD, $3C, $04, $C9, $84, $D0, $03, $20 ; CPU:$E238 PRG:2238 A5 A5 6A B0 0D FE 3C 04 BD 3C 04 C9 84 D0 03 20 .byte $DB, $DD, $60, $20, $38, $E2, $4C, $20, $E3 ; CPU:$E248 PRG:2248 DB DD 60 20 38 E2 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E251 +; Routine: Sub_8764_OnCarrySet_E251 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9312,14 +9312,14 @@ Label_E235: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E251: +Sub_8764_OnCarrySet_E251: sec ; CPU:$E251 PRG:2251 38 - lda a:$0085,y ; CPU:$E252 PRG:2252 B9 85 00 + lda a:Zp85,y ; CPU:$E252 PRG:2252 B9 85 00 sbc ZpB4 ; CPU:$E255 PRG:2255 E5 B4 - bcs Label_E25B ; CPU:$E257 PRG:2257 B0 02 + bcs Sub_8764_OnCarrySet_E25B ; CPU:$E257 PRG:2257 B0 02 eor #$FF ; CPU:$E259 PRG:2259 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E25B +; Routine: Sub_8764_OnCarrySet_E25B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9327,15 +9327,15 @@ Label_E251: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E25B: +Sub_8764_OnCarrySet_E25B: sta Zp25 ; CPU:$E25B PRG:225B 85 25 sec ; CPU:$E25D PRG:225D 38 - lda a:$0095,y ; CPU:$E25E PRG:225E B9 95 00 + lda a:Zp95,y ; CPU:$E25E PRG:225E B9 95 00 sbc ZpB5 ; CPU:$E261 PRG:2261 E5 B5 - bcs Label_E267 ; CPU:$E263 PRG:2263 B0 02 + bcs Sub_8764_OnCarrySet_E267 ; CPU:$E263 PRG:2263 B0 02 eor #$FF ; CPU:$E265 PRG:2265 49 FF ; ----------------------------------------------------------------------------- -; Routine: Label_E267 +; Routine: Sub_8764_OnCarrySet_E267 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9343,13 +9343,13 @@ Label_E25B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E267: +Sub_8764_OnCarrySet_E267: clc ; CPU:$E267 PRG:2267 18 adc Zp25 ; CPU:$E268 PRG:2268 65 25 - bcc Label_E26E ; CPU:$E26A PRG:226A 90 02 + bcc Sub_8764_OnCarryClear_E26E ; CPU:$E26A PRG:226A 90 02 lda #$FE ; CPU:$E26C PRG:226C A9 FE ; ----------------------------------------------------------------------------- -; Routine: Label_E26E +; Routine: Sub_8764_OnCarryClear_E26E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9357,12 +9357,12 @@ Label_E267: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E26E: +Sub_8764_OnCarryClear_E26E: cmp ZpB7 ; CPU:$E26E PRG:226E C5 B7 - bcs Label_E274 ; CPU:$E270 PRG:2270 B0 02 + bcs Sub_8764_OnCarrySet_E274 ; CPU:$E270 PRG:2270 B0 02 sta ZpB7 ; CPU:$E272 PRG:2272 85 B7 ; ----------------------------------------------------------------------------- -; Routine: Label_E274 +; Routine: Sub_8764_OnCarrySet_E274 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9370,18 +9370,18 @@ Label_E26E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E274: +Sub_8764_OnCarrySet_E274: sty Zp29 ; CPU:$E274 PRG:2274 84 29 lda $043C,x ; CPU:$E276 PRG:2276 BD 3C 04 tay ; CPU:$E279 PRG:2279 A8 lda $DA29,y ; CPU:$E27A PRG:227A B9 29 DA - jsr $EDD7 ; CPU:$E27D PRG:227D 20 D7 ED + jsr SubCEDD7 ; CPU:$E27D PRG:227D 20 D7 ED lda $DA35,y ; CPU:$E280 PRG:2280 B9 35 DA - jsr $EDE2 ; CPU:$E283 PRG:2283 20 E2 ED + jsr SubCEDE2 ; CPU:$E283 PRG:2283 20 E2 ED ldy Zp29 ; CPU:$E286 PRG:2286 A4 29 - jmp $E320 ; CPU:$E288 PRG:2288 4C 20 E3 + jmp SubCE320 ; CPU:$E288 PRG:2288 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E28B +; Routine: SubCE28B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9389,11 +9389,11 @@ Label_E274: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E28B: - jsr $E923 ; CPU:$E28B PRG:228B 20 23 E9 +SubCE28B: + jsr SubCE923 ; CPU:$E28B PRG:228B 20 23 E9 inc Zp1D ; CPU:$E28E PRG:228E E6 1D ; ----------------------------------------------------------------------------- -; Routine: Label_E290 +; Routine: SubCE290 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9401,13 +9401,13 @@ Label_E28B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E290: +SubCE290: dec Zp1D ; CPU:$E290 PRG:2290 C6 1D - beq Label_E29A ; CPU:$E292 PRG:2292 F0 06 - jsr $E79D ; CPU:$E294 PRG:2294 20 9D E7 - jmp $E290 ; CPU:$E297 PRG:2297 4C 90 E2 + beq Sub_8764_OnZero_E29A ; CPU:$E292 PRG:2292 F0 06 + jsr SubCE79D ; CPU:$E294 PRG:2294 20 9D E7 + jmp SubCE290 ; CPU:$E297 PRG:2297 4C 90 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E29A +; Routine: Sub_8764_OnZero_E29A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9415,10 +9415,10 @@ Label_E290: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29A: +Sub_8764_OnZero_E29A: inc Zp1E ; CPU:$E29A PRG:229A E6 1E ; ----------------------------------------------------------------------------- -; Routine: Label_E29C +; Routine: SubCE29C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9426,13 +9426,13 @@ Label_E29A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E29C: +SubCE29C: dec Zp1E ; CPU:$E29C PRG:229C C6 1E - beq Label_E2A6 ; CPU:$E29E PRG:229E F0 06 - jsr $E7A0 ; CPU:$E2A0 PRG:22A0 20 A0 E7 - jmp $E29C ; CPU:$E2A3 PRG:22A3 4C 9C E2 + beq Sub_8764_OnZero_E2A6 ; CPU:$E29E PRG:229E F0 06 + jsr SubCE7A0 ; CPU:$E2A0 PRG:22A0 20 A0 E7 + jmp SubCE29C ; CPU:$E2A3 PRG:22A3 4C 9C E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E2A6 +; Routine: Sub_8764_OnZero_E2A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9440,14 +9440,14 @@ Label_E29C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2A6: +Sub_8764_OnZero_E2A6: lda #$02 ; CPU:$E2A6 PRG:22A6 A9 02 sta Zp0C ; CPU:$E2A8 PRG:22A8 85 0C lda #$FF ; CPU:$E2AA PRG:22AA A9 FF sta ZpB7 ; CPU:$E2AC PRG:22AC 85 B7 ldy #$00 ; CPU:$E2AE PRG:22AE A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E2B0 +; Routine: Sub_8764_OnCarryClear_E2B0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9455,25 +9455,25 @@ Label_E2A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2B0: - lda a:$0065,y ; CPU:$E2B0 PRG:22B0 B9 65 00 - bmi Label_E320 ; CPU:$E2B3 PRG:22B3 30 6B - beq Label_E320 ; CPU:$E2B5 PRG:22B5 F0 69 +Sub_8764_OnCarryClear_E2B0: + lda a:Zp65,y ; CPU:$E2B0 PRG:22B0 B9 65 00 + bmi SubCE320 ; CPU:$E2B3 PRG:22B3 30 6B + beq SubCE320 ; CPU:$E2B5 PRG:22B5 F0 69 tax ; CPU:$E2B7 PRG:22B7 AA cmp #$15 ; CPU:$E2B8 PRG:22B8 C9 15 - bcc Label_E2D8 ; CPU:$E2BA PRG:22BA 90 1C + bcc Sub_8764_OnCarryClear_E2D8 ; CPU:$E2BA PRG:22BA 90 1C cmp #$59 ; CPU:$E2BC PRG:22BC C9 59 - bcs Label_E251 ; CPU:$E2BE PRG:22BE B0 91 + bcs Sub_8764_OnCarrySet_E251 ; CPU:$E2BE PRG:22BE B0 91 cmp #$55 ; CPU:$E2C0 PRG:22C0 C9 55 - bcs Label_E320 ; CPU:$E2C2 PRG:22C2 B0 5C + bcs SubCE320 ; CPU:$E2C2 PRG:22C2 B0 5C cmp #$33 ; CPU:$E2C4 PRG:22C4 C9 33 - bcs Label_E2D5 ; CPU:$E2C6 PRG:22C6 B0 0D + bcs Sub_8764_OnCarrySet_E2D5 ; CPU:$E2C6 PRG:22C6 B0 0D lda $043C,x ; CPU:$E2C8 PRG:22C8 BD 3C 04 cmp #$8C ; CPU:$E2CB PRG:22CB C9 8C - bcs Label_E2D2 ; CPU:$E2CD PRG:22CD B0 03 - jmp $D993 ; CPU:$E2CF PRG:22CF 4C 93 D9 + bcs Sub_8764_OnCarrySet_E2D2 ; CPU:$E2CD PRG:22CD B0 03 + jmp SubCD993 ; CPU:$E2CF PRG:22CF 4C 93 D9 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D2 +; Routine: Sub_8764_OnCarrySet_E2D2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9481,10 +9481,10 @@ Label_E2B0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D2: - jmp $E05B ; CPU:$E2D2 PRG:22D2 4C 5B E0 +Sub_8764_OnCarrySet_E2D2: + jmp SubCE05B ; CPU:$E2D2 PRG:22D2 4C 5B E0 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D5 +; Routine: Sub_8764_OnCarrySet_E2D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9492,10 +9492,10 @@ Label_E2D2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D5: - jmp $E326 ; CPU:$E2D5 PRG:22D5 4C 26 E3 +Sub_8764_OnCarrySet_E2D5: + jmp SubCE326 ; CPU:$E2D5 PRG:22D5 4C 26 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E2D8 +; Routine: Sub_8764_OnCarryClear_E2D8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9503,25 +9503,25 @@ Label_E2D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E2D8: +Sub_8764_OnCarryClear_E2D8: cmp #$09 ; CPU:$E2D8 PRG:22D8 C9 09 - bcs Label_E301 ; CPU:$E2DA PRG:22DA B0 25 - stx Zp00 ; CPU:$E2DC PRG:22DC 86 00 + bcs Sub_8764_OnCarrySet_E301 ; CPU:$E2DA PRG:22DA B0 25 + stx PtrLo ; CPU:$E2DC PRG:22DC 86 00 asl a ; CPU:$E2DE PRG:22DE 0A tax ; CPU:$E2DF PRG:22DF AA lda $E2EF,x ; CPU:$E2E0 PRG:22E0 BD EF E2 sta Zp01 ; CPU:$E2E3 PRG:22E3 85 01 lda $E2F0,x ; CPU:$E2E5 PRG:22E5 BD F0 E2 sta Zp02 ; CPU:$E2E8 PRG:22E8 85 02 - ldx Zp00 ; CPU:$E2EA PRG:22EA A6 00 - jmp ($0001) ; CPU:$E2EC PRG:22EC 6C 01 00 + ldx PtrLo ; CPU:$E2EA PRG:22EA A6 00 + jmp (Zp01) ; CPU:$E2EC PRG:22EC 6C 01 00 ; ---- data $E2EF-$E300 (18 bytes) ---- ; referenced by `lda $E2EF,x` at $E2E0 (operand $E2EF falls inside this region) ; referenced by `lda $E2F0,x` at $E2E5 (operand $E2F0 falls inside this region) .byte $20, $E3, $4B, $E2, $8B, $E3, $20, $E3, $7B, $E3, $1D, $E3, $20, $E3, $CE, $E3 ; CPU:$E2EF PRG:22EF 20 E3 4B E2 8B E3 20 E3 7B E3 1D E3 20 E3 CE E3 .byte $5B, $E3 ; CPU:$E2FF PRG:22FF 5B E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E301 +; Routine: Sub_8764_OnCarrySet_E301 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9529,12 +9529,12 @@ Label_E2D8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E301: +Sub_8764_OnCarrySet_E301: cmp #$0F ; CPU:$E301 PRG:2301 C9 0F - bcc Label_E308 ; CPU:$E303 PRG:2303 90 03 - jmp $E206 ; CPU:$E305 PRG:2305 4C 06 E2 + bcc Sub_8764_OnCarryClear_E308 ; CPU:$E303 PRG:2303 90 03 + jmp SubCE206 ; CPU:$E305 PRG:2305 4C 06 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E308 +; Routine: Sub_8764_OnCarryClear_E308 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9542,16 +9542,16 @@ Label_E301: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E308: +Sub_8764_OnCarryClear_E308: cmp #$0D ; CPU:$E308 PRG:2308 C9 0D - beq Label_E317 ; CPU:$E30A PRG:230A F0 0B + beq Sub_8764_OnZero_E317 ; CPU:$E30A PRG:230A F0 0B cmp #$0B ; CPU:$E30C PRG:230C C9 0B - beq Label_E31A ; CPU:$E30E PRG:230E F0 0A + beq Sub_8764_OnZero_E31A ; CPU:$E30E PRG:230E F0 0A cmp #$0A ; CPU:$E310 PRG:2310 C9 0A - bne Label_E320 ; CPU:$E312 PRG:2312 D0 0C - jmp $E412 ; CPU:$E314 PRG:2314 4C 12 E4 + bne SubCE320 ; CPU:$E312 PRG:2312 D0 0C + jmp SubCE412 ; CPU:$E314 PRG:2314 4C 12 E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E317 +; Routine: Sub_8764_OnZero_E317 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9559,10 +9559,10 @@ Label_E308: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E317: - jmp $E42F ; CPU:$E317 PRG:2317 4C 2F E4 +Sub_8764_OnZero_E317: + jmp SubCE42F ; CPU:$E317 PRG:2317 4C 2F E4 ; ----------------------------------------------------------------------------- -; Routine: Label_E31A +; Routine: Sub_8764_OnZero_E31A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9570,12 +9570,12 @@ Label_E317: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E31A: - jmp $E44A ; CPU:$E31A PRG:231A 4C 4A E4 +Sub_8764_OnZero_E31A: + jmp SubCE44A ; CPU:$E31A PRG:231A 4C 4A E4 ; ---- data $E31D-$E31F (3 bytes) ---- .byte $20, $38, $E2 ; CPU:$E31D PRG:231D 20 38 E2 ; ----------------------------------------------------------------------------- -; Routine: Label_E320 +; Routine: SubCE320 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9583,13 +9583,13 @@ Label_E31A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E320: +SubCE320: iny ; CPU:$E320 PRG:2320 C8 cpy #$10 ; CPU:$E321 PRG:2321 C0 10 - bcc Label_E2B0 ; CPU:$E323 PRG:2323 90 8B + bcc Sub_8764_OnCarryClear_E2B0 ; CPU:$E323 PRG:2323 90 8B rts ; CPU:$E325 PRG:2325 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E326 +; Routine: SubCE326 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9597,32 +9597,32 @@ Label_E320: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E326: - jsr $C412 ; CPU:$E326 PRG:2326 20 12 C4 +SubCE326: + jsr SubCC412 ; CPU:$E326 PRG:2326 20 12 C4 lsr a ; CPU:$E329 PRG:2329 4A cmp #$7E ; CPU:$E32A PRG:232A C9 7E - bcc Label_E320 ; CPU:$E32C PRG:232C 90 F2 + bcc SubCE320 ; CPU:$E32C PRG:232C 90 F2 lda Zp09 ; CPU:$E32E PRG:232E A5 09 - bne Label_E320 ; CPU:$E330 PRG:2330 D0 EE + bne SubCE320 ; CPU:$E330 PRG:2330 D0 EE lda $0366 ; CPU:$E332 PRG:2332 AD 66 03 - bpl Label_E320 ; CPU:$E335 PRG:2335 10 E9 + bpl SubCE320 ; CPU:$E335 PRG:2335 10 E9 stx Zp2B ; CPU:$E337 PRG:2337 86 2B lda #$08 ; CPU:$E339 PRG:2339 A9 08 - jsr $E039 ; CPU:$E33B PRG:233B 20 39 E0 + jsr SubCE039 ; CPU:$E33B PRG:233B 20 39 E0 lda #$0F ; CPU:$E33E PRG:233E A9 0F sta Zp2C ; CPU:$E340 PRG:2340 85 2C lda #$22 ; CPU:$E342 PRG:2342 A9 22 sta $04B3 ; CPU:$E344 PRG:2344 8D B3 04 lda #$7D ; CPU:$E347 PRG:2347 A9 7D sta $0444 ; CPU:$E349 PRG:2349 8D 44 04 - jsr $C412 ; CPU:$E34C PRG:234C 20 12 C4 + jsr SubCC412 ; CPU:$E34C PRG:234C 20 12 C4 pha ; CPU:$E34F PRG:234F 48 pla ; CPU:$E350 PRG:2350 68 - bmi Label_E358 ; CPU:$E351 PRG:2351 30 05 + bmi Sub_8764_OnNegative_E358 ; CPU:$E351 PRG:2351 30 05 lda #$01 ; CPU:$E353 PRG:2353 A9 01 - jsr $E5C5 ; CPU:$E355 PRG:2355 20 C5 E5 + jsr SubCE5C5 ; CPU:$E355 PRG:2355 20 C5 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E358 +; Routine: Sub_8764_OnNegative_E358 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9630,8 +9630,8 @@ Label_E326: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E358: - jmp $E320 ; CPU:$E358 PRG:2358 4C 20 E3 +Sub_8764_OnNegative_E358: + jmp SubCE320 ; CPU:$E358 PRG:2358 4C 20 E3 ; ---- data $E35B-$E3B4 (90 bytes) ---- .byte $C6, $2C, $F0, $15, $AD, $44, $04, $49, $03, $8D, $44, $04, $A6, $2B, $A9, $08 ; CPU:$E35B PRG:235B C6 2C F0 15 AD 44 04 49 03 8D 44 04 A6 2B A9 08 .byte $20, $39, $E0, $20, $11, $C5, $4C, $20, $E3, $A9, $FF, $8D, $66, $03, $D0, $A5 ; CPU:$E36B PRG:236B 20 39 E0 20 11 C5 4C 20 E3 A9 FF 8D 66 03 D0 A5 @@ -9640,7 +9640,7 @@ Label_E358: .byte $44, $20, $E2, $ED, $4C, $20, $E3, $20, $B5, $E3, $AD, $3E, $04, $C9, $80, $D0 ; CPU:$E39B PRG:239B 44 20 E2 ED 4C 20 E3 20 B5 E3 AD 3E 04 C9 80 D0 .byte $06, $20, $87, $E5, $20, $0D, $C5, $4C, $20, $E3 ; CPU:$E3AB PRG:23AB 06 20 87 E5 20 0D C5 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E3B5 +; Routine: SubCE3B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9648,16 +9648,16 @@ Label_E358: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3B5: +SubCE3B5: lda ZpA5 ; CPU:$E3B5 PRG:23B5 A5 A5 ror a ; CPU:$E3B7 PRG:23B7 6A - bcs Label_E3C4 ; CPU:$E3B8 PRG:23B8 B0 0A + bcs Sub_8764_OnCarrySet_E3C4 ; CPU:$E3B8 PRG:23B8 B0 0A lda $043C,x ; CPU:$E3BA PRG:23BA BD 3C 04 cmp #$83 ; CPU:$E3BD PRG:23BD C9 83 - beq Label_E3C5 ; CPU:$E3BF PRG:23BF F0 04 + beq Sub_8764_OnZero_E3C5 ; CPU:$E3BF PRG:23BF F0 04 inc $043C,x ; CPU:$E3C1 PRG:23C1 FE 3C 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C4 +; Routine: Sub_8764_OnCarrySet_E3C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9665,10 +9665,10 @@ Label_E3B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C4: +Sub_8764_OnCarrySet_E3C4: rts ; CPU:$E3C4 PRG:23C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E3C5 +; Routine: Sub_8764_OnZero_E3C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9676,8 +9676,8 @@ Label_E3C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E3C5: - jsr $DDDB ; CPU:$E3C5 PRG:23C5 20 DB DD +Sub_8764_OnZero_E3C5: + jsr SubCDDDB ; CPU:$E3C5 PRG:23C5 20 DB DD lda #$00 ; CPU:$E3C8 PRG:23C8 A9 00 sta $0589,x ; CPU:$E3CA PRG:23CA 9D 89 05 rts ; CPU:$E3CD PRG:23CD 60 @@ -9688,7 +9688,7 @@ Label_E3C5: .byte $15, $C5, $4C, $20, $E3, $A9, $FF, $8D, $65, $03, $D0, $22, $00, $9F, $14, $8A ; CPU:$E3FE PRG:23FE 15 C5 4C 20 E3 A9 FF 8D 65 03 D0 22 00 9F 14 8A .byte $00, $00, $14, $8A ; CPU:$E40E PRG:240E 00 00 14 8A ; ----------------------------------------------------------------------------- -; Routine: Label_E412 +; Routine: SubCE412 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9696,20 +9696,20 @@ Label_E3C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E412: - jsr $E587 ; CPU:$E412 PRG:2412 20 87 E5 +SubCE412: + jsr SubCE587 ; CPU:$E412 PRG:2412 20 87 E5 lda Zp3F ; CPU:$E415 PRG:2415 A5 3F - bne Label_E42C ; CPU:$E417 PRG:2417 D0 13 + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E417 PRG:2417 D0 13 lda ZpD4 ; CPU:$E419 PRG:2419 A5 D4 - beq Label_E42C ; CPU:$E41B PRG:241B F0 0F + beq Sub_8764_JoinBranchPaths_E42C ; CPU:$E41B PRG:241B F0 0F lda #$18 ; CPU:$E41D PRG:241D A9 18 - sta $400C ; CPU:$E41F PRG:241F 8D 0C 40 + sta APUNOISECTRL ; CPU:$E41F PRG:241F 8D 0C 40 lda #$08 ; CPU:$E422 PRG:2422 A9 08 - sta $400E ; CPU:$E424 PRG:2424 8D 0E 40 + sta APUNOISEPERIOD ; CPU:$E424 PRG:2424 8D 0E 40 lda #$28 ; CPU:$E427 PRG:2427 A9 28 - sta $400F ; CPU:$E429 PRG:2429 8D 0F 40 + sta APUNOISELENGTH ; CPU:$E429 PRG:2429 8D 0F 40 ; ----------------------------------------------------------------------------- -; Routine: Label_E42C +; Routine: Sub_8764_JoinBranchPaths_E42C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9717,10 +9717,10 @@ Label_E412: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E42C: - jmp $E320 ; CPU:$E42C PRG:242C 4C 20 E3 +Sub_8764_JoinBranchPaths_E42C: + jmp SubCE320 ; CPU:$E42C PRG:242C 4C 20 E3 ; ----------------------------------------------------------------------------- -; Routine: Label_E42F +; Routine: SubCE42F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9728,12 +9728,12 @@ Label_E42C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E42F: +SubCE42F: lda ZpBB ; CPU:$E42F PRG:242F A5 BB - bmi Label_E435 ; CPU:$E431 PRG:2431 30 02 - bne Label_E42C ; CPU:$E433 PRG:2433 D0 F7 + bmi Sub_8764_OnNegative_E435 ; CPU:$E431 PRG:2431 30 02 + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E433 PRG:2433 D0 F7 ; ----------------------------------------------------------------------------- -; Routine: Label_E435 +; Routine: Sub_8764_OnNegative_E435 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9741,19 +9741,19 @@ Label_E42F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E435: +Sub_8764_OnNegative_E435: lda #$A6 ; CPU:$E435 PRG:2435 A9 A6 sta Zp25 ; CPU:$E437 PRG:2437 85 25 - jsr $E499 ; CPU:$E439 PRG:2439 20 99 E4 + jsr SubCE499 ; CPU:$E439 PRG:2439 20 99 E4 lda #$EC ; CPU:$E43C PRG:243C A9 EC sta Zp25 ; CPU:$E43E PRG:243E 85 25 lda #$50 ; CPU:$E440 PRG:2440 A9 50 sta Zp26 ; CPU:$E442 PRG:2442 85 26 lda #$F6 ; CPU:$E444 PRG:2444 A9 F6 ldx #$1E ; CPU:$E446 PRG:2446 A2 1E - bne Label_E456 ; CPU:$E448 PRG:2448 D0 0C + bne Sub_8764_OnNonzero_E456 ; CPU:$E448 PRG:2448 D0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E44A +; Routine: SubCE44A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9761,7 +9761,7 @@ Label_E435: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E44A: +SubCE44A: lda #$F6 ; CPU:$E44A PRG:244A A9 F6 sta Zp25 ; CPU:$E44C PRG:244C 85 25 lda #$0E ; CPU:$E44E PRG:244E A9 0E @@ -9769,7 +9769,7 @@ Label_E44A: lda #$F4 ; CPU:$E452 PRG:2452 A9 F4 ldx #$32 ; CPU:$E454 PRG:2454 A2 32 ; ----------------------------------------------------------------------------- -; Routine: Label_E456 +; Routine: Sub_8764_OnNonzero_E456 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9777,12 +9777,12 @@ Label_E44A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E456: +Sub_8764_OnNonzero_E456: sta Zp27 ; CPU:$E456 PRG:2456 85 27 stx Zp28 ; CPU:$E458 PRG:2458 86 28 ldx #$0F ; CPU:$E45A PRG:245A A2 0F ; ----------------------------------------------------------------------------- -; Routine: Label_E45C +; Routine: Sub_8764_OnNonnegative_E45C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9790,14 +9790,14 @@ Label_E456: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E45C: +Sub_8764_OnNonnegative_E45C: lda Zp65,x ; CPU:$E45C PRG:245C B5 65 cmp #$55 ; CPU:$E45E PRG:245E C9 55 - bcs Label_E466 ; CPU:$E460 PRG:2460 B0 04 + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E460 PRG:2460 B0 04 cmp #$3D ; CPU:$E462 PRG:2462 C9 3D - bcs Label_E46B ; CPU:$E464 PRG:2464 B0 05 + bcs Sub_8764_OnCarrySet_E46B ; CPU:$E464 PRG:2464 B0 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E466 +; Routine: Sub_8764_OnCarrySet_E466 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9805,12 +9805,12 @@ Label_E45C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E466: +Sub_8764_OnCarrySet_E466: dex ; CPU:$E466 PRG:2466 CA - bpl Label_E45C ; CPU:$E467 PRG:2467 10 F3 - bmi Label_E42C ; CPU:$E469 PRG:2469 30 C1 + bpl Sub_8764_OnNonnegative_E45C ; CPU:$E467 PRG:2467 10 F3 + bmi Sub_8764_JoinBranchPaths_E42C ; CPU:$E469 PRG:2469 30 C1 ; ----------------------------------------------------------------------------- -; Routine: Label_E46B +; Routine: Sub_8764_OnCarrySet_E46B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9818,16 +9818,16 @@ Label_E466: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E46B: +Sub_8764_OnCarrySet_E46B: sec ; CPU:$E46B PRG:246B 38 lda Zp85,x ; CPU:$E46C PRG:246C B5 85 - sbc a:$0085,y ; CPU:$E46E PRG:246E F9 85 00 + sbc a:Zp85,y ; CPU:$E46E PRG:246E F9 85 00 cmp Zp25 ; CPU:$E471 PRG:2471 C5 25 - bcs Label_E479 ; CPU:$E473 PRG:2473 B0 04 + bcs Sub_8764_OnCarrySet_E479 ; CPU:$E473 PRG:2473 B0 04 cmp Zp26 ; CPU:$E475 PRG:2475 C5 26 - bcs Label_E466 ; CPU:$E477 PRG:2477 B0 ED + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E477 PRG:2477 B0 ED ; ----------------------------------------------------------------------------- -; Routine: Label_E479 +; Routine: Sub_8764_OnCarrySet_E479 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9835,16 +9835,16 @@ Label_E46B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E479: +Sub_8764_OnCarrySet_E479: sec ; CPU:$E479 PRG:2479 38 lda Zp95,x ; CPU:$E47A PRG:247A B5 95 - sbc a:$0095,y ; CPU:$E47C PRG:247C F9 95 00 + sbc a:Zp95,y ; CPU:$E47C PRG:247C F9 95 00 cmp Zp27 ; CPU:$E47F PRG:247F C5 27 - bcs Label_E487 ; CPU:$E481 PRG:2481 B0 04 + bcs Sub_8764_OnCarrySet_E487 ; CPU:$E481 PRG:2481 B0 04 cmp Zp28 ; CPU:$E483 PRG:2483 C5 28 - bcs Label_E466 ; CPU:$E485 PRG:2485 B0 DF + bcs Sub_8764_OnCarrySet_E466 ; CPU:$E485 PRG:2485 B0 DF ; ----------------------------------------------------------------------------- -; Routine: Label_E487 +; Routine: Sub_8764_OnCarrySet_E487 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9852,17 +9852,17 @@ Label_E479: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E487: +Sub_8764_OnCarrySet_E487: lda Zp65,x ; CPU:$E487 PRG:2487 B5 65 tax ; CPU:$E489 PRG:2489 AA lda #$01 ; CPU:$E48A PRG:248A A9 01 - jsr $E039 ; CPU:$E48C PRG:248C 20 39 E0 + jsr SubCE039 ; CPU:$E48C PRG:248C 20 39 E0 lda #$7C ; CPU:$E48F PRG:248F A9 7C sta $043D ; CPU:$E491 PRG:2491 8D 3D 04 - jsr $DDDB ; CPU:$E494 PRG:2494 20 DB DD - bne Label_E42C ; CPU:$E497 PRG:2497 D0 93 + jsr SubCDDDB ; CPU:$E494 PRG:2494 20 DB DD + bne Sub_8764_JoinBranchPaths_E42C ; CPU:$E497 PRG:2497 D0 93 ; ----------------------------------------------------------------------------- -; Routine: Label_E499 +; Routine: SubCE499 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9870,13 +9870,13 @@ Label_E487: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E499: - jsr $D8A7 ; CPU:$E499 PRG:2499 20 A7 D8 - beq Label_E4B6 ; CPU:$E49C PRG:249C F0 18 +SubCE499: + jsr SubCD8A7 ; CPU:$E499 PRG:2499 20 A7 D8 + beq Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E49C PRG:249C F0 18 lda $0368 ; CPU:$E49E PRG:249E AD 68 03 - bpl Label_E4B6 ; CPU:$E4A1 PRG:24A1 10 13 + bpl Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E4A1 PRG:24A1 10 13 lda #$0A ; CPU:$E4A3 PRG:24A3 A9 0A - jsr $E039 ; CPU:$E4A5 PRG:24A5 20 39 E0 + jsr SubCE039 ; CPU:$E4A5 PRG:24A5 20 39 E0 lda #$23 ; CPU:$E4A8 PRG:24A8 A9 23 sta Zp3B ; CPU:$E4AA PRG:24AA 85 3B lda #$22 ; CPU:$E4AC PRG:24AC A9 22 @@ -9884,7 +9884,7 @@ Label_E499: lda Zp25 ; CPU:$E4B1 PRG:24B1 A5 25 sta $0446 ; CPU:$E4B3 PRG:24B3 8D 46 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B6 +; Routine: Sub_8764_JoinBranchPaths_E4B6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9892,10 +9892,10 @@ Label_E499: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B6: +Sub_8764_JoinBranchPaths_E4B6: rts ; CPU:$E4B6 PRG:24B6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4B7 +; Routine: SubCE4B7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9903,29 +9903,29 @@ Label_E4B6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4B7: +SubCE4B7: lda $0368 ; CPU:$E4B7 PRG:24B7 AD 68 03 - bmi Label_E4B6 ; CPU:$E4BA PRG:24BA 30 FA + bmi Sub_8764_JoinBranchPaths_E4B6 ; CPU:$E4BA PRG:24BA 30 FA ldx #$0A ; CPU:$E4BC PRG:24BC A2 0A ldy $0446 ; CPU:$E4BE PRG:24BE AC 46 04 lda $E4C6,y ; CPU:$E4C1 PRG:24C1 B9 C6 E4 - jsr $EDD7 ; CPU:$E4C4 PRG:24C4 20 D7 ED + jsr SubCEDD7 ; CPU:$E4C4 PRG:24C4 20 D7 ED lda $E4CF,y ; CPU:$E4C7 PRG:24C7 B9 CF E4 - jsr $EDE2 ; CPU:$E4CA PRG:24CA 20 E2 ED + jsr SubCEDE2 ; CPU:$E4CA PRG:24CA 20 E2 ED lda ZpBD ; CPU:$E4CD PRG:24CD A5 BD eor #$07 ; CPU:$E4CF PRG:24CF 49 07 lsr a ; CPU:$E4D1 PRG:24D1 4A clc ; CPU:$E4D2 PRG:24D2 18 adc #$05 ; CPU:$E4D3 PRG:24D3 69 05 sta Zp54 ; CPU:$E4D5 PRG:24D5 85 54 - jsr $C412 ; CPU:$E4D7 PRG:24D7 20 12 C4 + jsr SubCC412 ; CPU:$E4D7 PRG:24D7 20 12 C4 cmp Zp54 ; CPU:$E4DA PRG:24DA C5 54 - bcc Label_E4E4 ; CPU:$E4DC PRG:24DC 90 06 + bcc Sub_8764_OnCarryClear_E4E4 ; CPU:$E4DC PRG:24DC 90 06 lda ZpA5 ; CPU:$E4DE PRG:24DE A5 A5 cmp #$03 ; CPU:$E4E0 PRG:24E0 C9 03 - bne Label_E4F7 ; CPU:$E4E2 PRG:24E2 D0 13 + bne Sub_8764_OnNonzero_E4F7 ; CPU:$E4E2 PRG:24E2 D0 13 ; ----------------------------------------------------------------------------- -; Routine: Label_E4E4 +; Routine: Sub_8764_OnCarryClear_E4E4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9933,15 +9933,15 @@ Label_E4B7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4E4: +Sub_8764_OnCarryClear_E4E4: dec Zp3B ; CPU:$E4E4 PRG:24E4 C6 3B - bne Label_E4F8 ; CPU:$E4E6 PRG:24E6 D0 10 + bne Sub_8764_OnNonzero_E4F8 ; CPU:$E4E6 PRG:24E6 D0 10 lda $04B5 ; CPU:$E4E8 PRG:24E8 AD B5 04 - bpl Label_E4F2 ; CPU:$E4EB PRG:24EB 10 05 + bpl Sub_8764_OnNonnegative_E4F2 ; CPU:$E4EB PRG:24EB 10 05 lda #$0A ; CPU:$E4ED PRG:24ED A9 0A - jsr $E621 ; CPU:$E4EF PRG:24EF 20 21 E6 + jsr SubCE621 ; CPU:$E4EF PRG:24EF 20 21 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F2 +; Routine: Sub_8764_OnNonnegative_E4F2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9949,11 +9949,11 @@ Label_E4E4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F2: +Sub_8764_OnNonnegative_E4F2: lda #$FF ; CPU:$E4F2 PRG:24F2 A9 FF sta $0368 ; CPU:$E4F4 PRG:24F4 8D 68 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F7 +; Routine: Sub_8764_OnNonzero_E4F7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9961,10 +9961,10 @@ Label_E4F2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F7: +Sub_8764_OnNonzero_E4F7: rts ; CPU:$E4F7 PRG:24F7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E4F8 +; Routine: Sub_8764_OnNonzero_E4F8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9972,19 +9972,19 @@ Label_E4F7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E4F8: - jsr $EE66 ; CPU:$E4F8 PRG:24F8 20 66 EE +Sub_8764_OnNonzero_E4F8: + jsr SubCEE66 ; CPU:$E4F8 PRG:24F8 20 66 EE ldx #$0A ; CPU:$E4FB PRG:24FB A2 0A - jsr $E665 ; CPU:$E4FD PRG:24FD 20 65 E6 + jsr SubCE665 ; CPU:$E4FD PRG:24FD 20 65 E6 inc Zp03 ; CPU:$E500 PRG:2500 E6 03 lda Zp26 ; CPU:$E502 PRG:2502 A5 26 - bne Label_E50F ; CPU:$E504 PRG:2504 D0 09 + bne Sub_8764_OnNonzero_E50F ; CPU:$E504 PRG:2504 D0 09 lda Zp28 ; CPU:$E506 PRG:2506 A5 28 - beq Label_E518 ; CPU:$E508 PRG:2508 F0 0E + beq Sub_8764_OnZero_E518 ; CPU:$E508 PRG:2508 F0 0E dec Zp03 ; CPU:$E50A PRG:250A C6 03 - jmp $E544 ; CPU:$E50C PRG:250C 4C 44 E5 + jmp SubCE544 ; CPU:$E50C PRG:250C 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E50F +; Routine: Sub_8764_OnNonzero_E50F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -9992,13 +9992,13 @@ Label_E4F8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E50F: +Sub_8764_OnNonzero_E50F: lda Zp28 ; CPU:$E50F PRG:250F A5 28 - bne Label_E544 ; CPU:$E511 PRG:2511 D0 31 + bne SubCE544 ; CPU:$E511 PRG:2511 D0 31 inc Zp03 ; CPU:$E513 PRG:2513 E6 03 - jmp $E544 ; CPU:$E515 PRG:2515 4C 44 E5 + jmp SubCE544 ; CPU:$E515 PRG:2515 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E518 +; Routine: Sub_8764_OnZero_E518 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10006,17 +10006,17 @@ Label_E50F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E518: +Sub_8764_OnZero_E518: lda Zp25 ; CPU:$E518 PRG:2518 A5 25 cmp Zp27 ; CPU:$E51A PRG:251A C5 27 - bcc Label_E53B ; CPU:$E51C PRG:251C 90 1D + bcc Sub_8764_OnCarryClear_E53B ; CPU:$E51C PRG:251C 90 1D lsr a ; CPU:$E51E PRG:251E 4A cmp Zp27 ; CPU:$E51F PRG:251F C5 27 - bcc Label_E544 ; CPU:$E521 PRG:2521 90 21 + bcc SubCE544 ; CPU:$E521 PRG:2521 90 21 inc Zp03 ; CPU:$E523 PRG:2523 E6 03 - jmp $E544 ; CPU:$E525 PRG:2525 4C 44 E5 + jmp SubCE544 ; CPU:$E525 PRG:2525 4C 44 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E528 +; Routine: Sub_8764_OnNegative_E528 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10024,11 +10024,11 @@ Label_E518: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E528: +Sub_8764_OnNegative_E528: cmp #$FC ; CPU:$E528 PRG:2528 C9 FC - bcs Label_E555 ; CPU:$E52A PRG:252A B0 29 + bcs Sub_8764_OnCarrySet_E555 ; CPU:$E52A PRG:252A B0 29 ; ----------------------------------------------------------------------------- -; Routine: Label_E52C +; Routine: Sub_8764_OnCarryClear_E52C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10036,13 +10036,13 @@ Label_E528: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E52C: +Sub_8764_OnCarryClear_E52C: lda $0446 ; CPU:$E52C PRG:252C AD 46 04 cmp #$A7 ; CPU:$E52F PRG:252F C9 A7 - bcs Label_E537 ; CPU:$E531 PRG:2531 B0 04 + bcs Sub_8764_OnCarrySet_E537 ; CPU:$E531 PRG:2531 B0 04 inc $0446 ; CPU:$E533 PRG:2533 EE 46 04 ; ----------------------------------------------------------------------------- -; Routine: Label_E536 +; Routine: Sub_8764_OnZero_E536 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10050,10 +10050,10 @@ Label_E52C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E536: +Sub_8764_OnZero_E536: rts ; CPU:$E536 PRG:2536 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E537 +; Routine: Sub_8764_OnCarrySet_E537 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10061,11 +10061,11 @@ Label_E536: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E537: +Sub_8764_OnCarrySet_E537: lda #$A0 ; CPU:$E537 PRG:2537 A9 A0 - bne Label_E562 ; CPU:$E539 PRG:2539 D0 27 + bne Sub_8764_OnNonzero_E562 ; CPU:$E539 PRG:2539 D0 27 ; ----------------------------------------------------------------------------- -; Routine: Label_E53B +; Routine: Sub_8764_OnCarryClear_E53B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10073,14 +10073,14 @@ Label_E537: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E53B: +Sub_8764_OnCarryClear_E53B: lda Zp27 ; CPU:$E53B PRG:253B A5 27 lsr a ; CPU:$E53D PRG:253D 4A cmp Zp25 ; CPU:$E53E PRG:253E C5 25 - bcc Label_E544 ; CPU:$E540 PRG:2540 90 02 + bcc SubCE544 ; CPU:$E540 PRG:2540 90 02 dec Zp03 ; CPU:$E542 PRG:2542 C6 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E544 +; Routine: SubCE544 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10088,17 +10088,17 @@ Label_E53B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E544: +SubCE544: ldy Zp03 ; CPU:$E544 PRG:2544 A4 03 lda $E578,y ; CPU:$E546 PRG:2546 B9 78 E5 sec ; CPU:$E549 PRG:2549 38 sbc $0446 ; CPU:$E54A PRG:254A ED 46 04 - beq Label_E536 ; CPU:$E54D PRG:254D F0 E7 - bmi Label_E528 ; CPU:$E54F PRG:254F 30 D7 + beq Sub_8764_OnZero_E536 ; CPU:$E54D PRG:254D F0 E7 + bmi Sub_8764_OnNegative_E528 ; CPU:$E54F PRG:254F 30 D7 cmp #$05 ; CPU:$E551 PRG:2551 C9 05 - bcc Label_E52C ; CPU:$E553 PRG:2553 90 D7 + bcc Sub_8764_OnCarryClear_E52C ; CPU:$E553 PRG:2553 90 D7 ; ----------------------------------------------------------------------------- -; Routine: Label_E555 +; Routine: Sub_8764_OnCarrySet_E555 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10106,14 +10106,14 @@ Label_E544: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E555: +Sub_8764_OnCarrySet_E555: lda $0446 ; CPU:$E555 PRG:2555 AD 46 04 cmp #$A1 ; CPU:$E558 PRG:2558 C9 A1 - bcc Label_E560 ; CPU:$E55A PRG:255A 90 04 + bcc Sub_8764_OnCarryClear_E560 ; CPU:$E55A PRG:255A 90 04 dec $0446 ; CPU:$E55C PRG:255C CE 46 04 rts ; CPU:$E55F PRG:255F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E560 +; Routine: Sub_8764_OnCarryClear_E560 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10121,10 +10121,10 @@ Label_E555: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E560: +Sub_8764_OnCarryClear_E560: lda #$A7 ; CPU:$E560 PRG:2560 A9 A7 ; ----------------------------------------------------------------------------- -; Routine: Label_E562 +; Routine: Sub_8764_OnNonzero_E562 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10132,7 +10132,7 @@ Label_E560: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E562: +Sub_8764_OnNonzero_E562: sta $0446 ; CPU:$E562 PRG:2562 8D 46 04 rts ; CPU:$E565 PRG:2565 60 ; ---- data $E566-$E586 (33 bytes) ---- @@ -10141,7 +10141,7 @@ Label_E562: .byte $83, $86, $A0, $A7, $A6, $00, $A4, $A5, $A6, $00, $A0, $A1, $A2, $00, $A4, $A3 ; CPU:$E576 PRG:2576 83 86 A0 A7 A6 00 A4 A5 A6 00 A0 A1 A2 00 A4 A3 .byte $A2 ; CPU:$E586 PRG:2586 A2 ; ----------------------------------------------------------------------------- -; Routine: Label_E587 +; Routine: SubCE587 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10149,19 +10149,19 @@ Label_E562: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E587: +SubCE587: lda Zp36 ; CPU:$E587 PRG:2587 A5 36 and $E6CD,y ; CPU:$E589 PRG:2589 39 CD E6 - bne Label_E5C4 ; CPU:$E58C PRG:258C D0 36 + bne Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E58C PRG:258C D0 36 sec ; CPU:$E58E PRG:258E 38 lda ZpB5 ; CPU:$E58F PRG:258F A5 B5 - sbc a:$0095,y ; CPU:$E591 PRG:2591 F9 95 00 + sbc a:Zp95,y ; CPU:$E591 PRG:2591 F9 95 00 cmp #$F7 ; CPU:$E594 PRG:2594 C9 F7 - bcs Label_E59C ; CPU:$E596 PRG:2596 B0 04 + bcs Sub_8764_OnCarrySet_E59C ; CPU:$E596 PRG:2596 B0 04 cmp #$09 ; CPU:$E598 PRG:2598 C9 09 - bcs Label_E5C4 ; CPU:$E59A PRG:259A B0 28 + bcs Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E59A PRG:259A B0 28 ; ----------------------------------------------------------------------------- -; Routine: Label_E59C +; Routine: Sub_8764_OnCarrySet_E59C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10169,16 +10169,16 @@ Label_E587: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E59C: +Sub_8764_OnCarrySet_E59C: sec ; CPU:$E59C PRG:259C 38 lda ZpB4 ; CPU:$E59D PRG:259D A5 B4 - sbc a:$0085,y ; CPU:$E59F PRG:259F F9 85 00 + sbc a:Zp85,y ; CPU:$E59F PRG:259F F9 85 00 cmp #$F8 ; CPU:$E5A2 PRG:25A2 C9 F8 - bcs Label_E5AA ; CPU:$E5A4 PRG:25A4 B0 04 + bcs Sub_8764_OnCarrySet_E5AA ; CPU:$E5A4 PRG:25A4 B0 04 cmp #$08 ; CPU:$E5A6 PRG:25A6 C9 08 - bcs Label_E5C4 ; CPU:$E5A8 PRG:25A8 B0 1A + bcs Sub_8764_JoinBranchPaths_E5C4 ; CPU:$E5A8 PRG:25A8 B0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_E5AA +; Routine: Sub_8764_OnCarrySet_E5AA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10186,20 +10186,20 @@ Label_E59C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5AA: +Sub_8764_OnCarrySet_E5AA: lda ZpB6 ; CPU:$E5AA PRG:25AA A5 B6 eor #$10 ; CPU:$E5AC PRG:25AC 49 10 sta ZpB6 ; CPU:$E5AE PRG:25AE 85 B6 - lda a:$0065,y ; CPU:$E5B0 PRG:25B0 B9 65 00 - jsr $E621 ; CPU:$E5B3 PRG:25B3 20 21 E6 - jsr $C412 ; CPU:$E5B6 PRG:25B6 20 12 C4 + lda a:Zp65,y ; CPU:$E5B0 PRG:25B0 B9 65 00 + jsr SubCE621 ; CPU:$E5B3 PRG:25B3 20 21 E6 + jsr SubCC412 ; CPU:$E5B6 PRG:25B6 20 12 C4 lsr a ; CPU:$E5B9 PRG:25B9 4A and #$07 ; CPU:$E5BA PRG:25BA 29 07 - jsr $E5C5 ; CPU:$E5BC PRG:25BC 20 C5 E5 + jsr SubCE5C5 ; CPU:$E5BC PRG:25BC 20 C5 E5 lda #$03 ; CPU:$E5BF PRG:25BF A9 03 - jsr $E5D5 ; CPU:$E5C1 PRG:25C1 20 D5 E5 + jsr SubCE5D5 ; CPU:$E5C1 PRG:25C1 20 D5 E5 ; ----------------------------------------------------------------------------- -; Routine: Label_E5C4 +; Routine: Sub_8764_JoinBranchPaths_E5C4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10207,10 +10207,10 @@ Label_E5AA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C4: +Sub_8764_JoinBranchPaths_E5C4: rts ; CPU:$E5C4 PRG:25C4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5C5 +; Routine: SubCE5C5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10218,15 +10218,15 @@ Label_E5C4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5C5: - sty Zp00 ; CPU:$E5C5 PRG:25C5 84 00 +SubCE5C5: + sty PtrLo ; CPU:$E5C5 PRG:25C5 84 00 ldy ZpD3 ; CPU:$E5C7 PRG:25C7 A4 D3 cpy #$03 ; CPU:$E5C9 PRG:25C9 C0 03 - bcc Label_E5D1 ; CPU:$E5CB PRG:25CB 90 04 + bcc Sub_8764_OnCarryClear_E5D1 ; CPU:$E5CB PRG:25CB 90 04 lda #$01 ; CPU:$E5CD PRG:25CD A9 01 - bne Label_E5E7 ; CPU:$E5CF PRG:25CF D0 16 + bne Sub_8764_JoinBranchPaths_E5E7 ; CPU:$E5CF PRG:25CF D0 16 ; ----------------------------------------------------------------------------- -; Routine: Label_E5D1 +; Routine: Sub_8764_OnCarryClear_E5D1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10234,11 +10234,11 @@ Label_E5C5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D1: +Sub_8764_OnCarryClear_E5D1: ldy #$0E ; CPU:$E5D1 PRG:25D1 A0 0E - bne Label_E5E9 ; CPU:$E5D3 PRG:25D3 D0 14 + bne Sub_8764_OnNonzero_E5E9 ; CPU:$E5D3 PRG:25D3 D0 14 ; ----------------------------------------------------------------------------- -; Routine: Label_E5D5 +; Routine: SubCE5D5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10246,14 +10246,14 @@ Label_E5D1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5D5: - sty Zp00 ; CPU:$E5D5 PRG:25D5 84 00 +SubCE5D5: + sty PtrLo ; CPU:$E5D5 PRG:25D5 84 00 ldy ZpDF ; CPU:$E5D7 PRG:25D7 A4 DF - beq Label_E5DF ; CPU:$E5D9 PRG:25D9 F0 04 + beq Sub_8764_OnZero_E5DF ; CPU:$E5D9 PRG:25D9 F0 04 ldy #$01 ; CPU:$E5DB PRG:25DB A0 01 sty ZpDF ; CPU:$E5DD PRG:25DD 84 DF ; ----------------------------------------------------------------------------- -; Routine: Label_E5DF +; Routine: Sub_8764_OnZero_E5DF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10261,13 +10261,13 @@ Label_E5D5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5DF: +Sub_8764_OnZero_E5DF: ldy ZpD3 ; CPU:$E5DF PRG:25DF A4 D3 cpy #$05 ; CPU:$E5E1 PRG:25E1 C0 05 - bcc Label_E5E7 ; CPU:$E5E3 PRG:25E3 90 02 + bcc Sub_8764_JoinBranchPaths_E5E7 ; CPU:$E5E3 PRG:25E3 90 02 lda #$05 ; CPU:$E5E5 PRG:25E5 A9 05 ; ----------------------------------------------------------------------------- -; Routine: Label_E5E7 +; Routine: Sub_8764_JoinBranchPaths_E5E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10275,10 +10275,10 @@ Label_E5DF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E7: +Sub_8764_JoinBranchPaths_E5E7: ldy #$0D ; CPU:$E5E7 PRG:25E7 A0 0D ; ----------------------------------------------------------------------------- -; Routine: Label_E5E9 +; Routine: Sub_8764_OnNonzero_E5E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10286,12 +10286,12 @@ Label_E5E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5E9: - jsr $E5F1 ; CPU:$E5E9 PRG:25E9 20 F1 E5 - ldy Zp00 ; CPU:$E5EC PRG:25EC A4 00 +Sub_8764_OnNonzero_E5E9: + jsr SubCE5F1 ; CPU:$E5E9 PRG:25E9 20 F1 E5 + ldy PtrLo ; CPU:$E5EC PRG:25EC A4 00 rts ; CPU:$E5EE PRG:25EE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E5EF +; Routine: Sub_8764_OnNonzero_E5EF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10299,10 +10299,10 @@ Label_E5E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5EF: +Sub_8764_OnNonzero_E5EF: ldy #$2B ; CPU:$E5EF PRG:25EF A0 2B ; ----------------------------------------------------------------------------- -; Routine: Label_E5F1 +; Routine: SubCE5F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10310,24 +10310,24 @@ Label_E5EF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E5F1: +SubCE5F1: clc ; CPU:$E5F1 PRG:25F1 18 adc $0240,y ; CPU:$E5F2 PRG:25F2 79 40 02 pha ; CPU:$E5F5 PRG:25F5 48 cpy #$29 ; CPU:$E5F6 PRG:25F6 C0 29 - bne Label_E60D ; CPU:$E5F8 PRG:25F8 D0 13 + bne Sub_8764_JoinBranchPaths_E60D ; CPU:$E5F8 PRG:25F8 D0 13 and #$01 ; CPU:$E5FA PRG:25FA 29 01 - beq Label_E60D ; CPU:$E5FC PRG:25FC F0 0F - lda ZpD6 ; CPU:$E5FE PRG:25FE A5 D6 + beq Sub_8764_JoinBranchPaths_E60D ; CPU:$E5FC PRG:25FC F0 0F + lda GameState ; CPU:$E5FE PRG:25FE A5 D6 clc ; CPU:$E600 PRG:2600 18 adc #$01 ; CPU:$E601 PRG:2601 69 01 and #$03 ; CPU:$E603 PRG:2603 29 03 - sta ZpD6 ; CPU:$E605 PRG:2605 85 D6 - lda Zp55 ; CPU:$E607 PRG:2607 A5 55 - bne Label_E60D ; CPU:$E609 PRG:2609 D0 02 - inc Zp55 ; CPU:$E60B PRG:260B E6 55 + sta GameState ; CPU:$E605 PRG:2605 85 D6 + lda FrameSubCounter ; CPU:$E607 PRG:2607 A5 55 + bne Sub_8764_JoinBranchPaths_E60D ; CPU:$E609 PRG:2609 D0 02 + inc FrameSubCounter ; CPU:$E60B PRG:260B E6 55 ; ----------------------------------------------------------------------------- -; Routine: Label_E60D +; Routine: Sub_8764_JoinBranchPaths_E60D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10335,18 +10335,18 @@ Label_E5F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E60D: +Sub_8764_JoinBranchPaths_E60D: pla ; CPU:$E60D PRG:260D 68 cmp #$2D ; CPU:$E60E PRG:260E C9 2D - bcc Label_E61D ; CPU:$E610 PRG:2610 90 0B + bcc Sub_8764_OnCarryClear_E61D ; CPU:$E610 PRG:2610 90 0B sec ; CPU:$E612 PRG:2612 38 sbc #$0A ; CPU:$E613 PRG:2613 E9 0A sta $0240,y ; CPU:$E615 PRG:2615 99 40 02 dey ; CPU:$E618 PRG:2618 88 lda #$01 ; CPU:$E619 PRG:2619 A9 01 - bne Label_E5F1 ; CPU:$E61B PRG:261B D0 D4 + bne SubCE5F1 ; CPU:$E61B PRG:261B D0 D4 ; ----------------------------------------------------------------------------- -; Routine: Label_E61D +; Routine: Sub_8764_OnCarryClear_E61D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10354,10 +10354,10 @@ Label_E60D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E61D: +Sub_8764_OnCarryClear_E61D: sta $0240,y ; CPU:$E61D PRG:261D 99 40 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E620 +; Routine: Sub_8764_JoinBranchPaths_E620 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10365,10 +10365,10 @@ Label_E61D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E620: +Sub_8764_JoinBranchPaths_E620: rts ; CPU:$E620 PRG:2620 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E621 +; Routine: SubCE621 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10376,18 +10376,18 @@ Label_E620: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E621: +SubCE621: tax ; CPU:$E621 PRG:2621 AA tya ; CPU:$E622 PRG:2622 98 pha ; CPU:$E623 PRG:2623 48 cpx #$3D ; CPU:$E624 PRG:2624 E0 3D - bcc Label_E630 ; CPU:$E626 PRG:2626 90 08 + bcc Sub_8764_JoinBranchPaths_E630 ; CPU:$E626 PRG:2626 90 08 cpx #$55 ; CPU:$E628 PRG:2628 E0 55 - bcs Label_E630 ; CPU:$E62A PRG:262A B0 04 + bcs Sub_8764_JoinBranchPaths_E630 ; CPU:$E62A PRG:262A B0 04 ldy #$05 ; CPU:$E62C PRG:262C A0 05 - bne Label_E632 ; CPU:$E62E PRG:262E D0 02 + bne Sub_8764_OnNonzero_E632 ; CPU:$E62E PRG:262E D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E630 +; Routine: Sub_8764_JoinBranchPaths_E630 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10395,10 +10395,10 @@ Label_E621: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E630: +Sub_8764_JoinBranchPaths_E630: ldy #$01 ; CPU:$E630 PRG:2630 A0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E632 +; Routine: Sub_8764_OnNonzero_E632 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10406,28 +10406,28 @@ Label_E630: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E632: +Sub_8764_OnNonzero_E632: lda #$7D ; CPU:$E632 PRG:2632 A9 7D sta $043C,y ; CPU:$E634 PRG:2634 99 3C 04 - jsr $C4F5 ; CPU:$E637 PRG:2637 20 F5 C4 - jsr $E042 ; CPU:$E63A PRG:263A 20 42 E0 - jsr $DDDB ; CPU:$E63D PRG:263D 20 DB DD + jsr SubCC4F5 ; CPU:$E637 PRG:2637 20 F5 C4 + jsr SubCE042 ; CPU:$E63A PRG:263A 20 42 E0 + jsr SubCDDDB ; CPU:$E63D PRG:263D 20 DB DD lda #$32 ; CPU:$E640 PRG:2640 A9 32 sta $04AB,y ; CPU:$E642 PRG:2642 99 AB 04 pla ; CPU:$E645 PRG:2645 68 tay ; CPU:$E646 PRG:2646 A8 lda ZpD4 ; CPU:$E647 PRG:2647 A5 D4 - beq Label_E620 ; CPU:$E649 PRG:2649 F0 D5 + beq Sub_8764_JoinBranchPaths_E620 ; CPU:$E649 PRG:2649 F0 D5 cpx #$55 ; CPU:$E64B PRG:264B E0 55 - bcs Label_E65B ; CPU:$E64D PRG:264D B0 0C + bcs Sub_8764_OnCarrySet_E65B ; CPU:$E64D PRG:264D B0 0C cpx #$33 ; CPU:$E64F PRG:264F E0 33 - bcs Label_E65F ; CPU:$E651 PRG:2651 B0 0C + bcs Sub_8764_OnCarrySet_E65F ; CPU:$E651 PRG:2651 B0 0C cpx #$15 ; CPU:$E653 PRG:2653 E0 15 - bcc Label_E620 ; CPU:$E655 PRG:2655 90 C9 + bcc Sub_8764_JoinBranchPaths_E620 ; CPU:$E655 PRG:2655 90 C9 lda #$01 ; CPU:$E657 PRG:2657 A9 01 - bne Label_E5EF ; CPU:$E659 PRG:2659 D0 94 + bne Sub_8764_OnNonzero_E5EF ; CPU:$E659 PRG:2659 D0 94 ; ----------------------------------------------------------------------------- -; Routine: Label_E65B +; Routine: Sub_8764_OnCarrySet_E65B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10435,11 +10435,11 @@ Label_E632: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E65B: +Sub_8764_OnCarrySet_E65B: lda #$02 ; CPU:$E65B PRG:265B A9 02 - bne Label_E5EF ; CPU:$E65D PRG:265D D0 90 + bne Sub_8764_OnNonzero_E5EF ; CPU:$E65D PRG:265D D0 90 ; ----------------------------------------------------------------------------- -; Routine: Label_E65F +; Routine: Sub_8764_OnCarrySet_E65F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10447,12 +10447,12 @@ Label_E65B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E65F: +Sub_8764_OnCarrySet_E65F: lda #$05 ; CPU:$E65F PRG:265F A9 05 ldy #$2C ; CPU:$E661 PRG:2661 A0 2C - bne Label_E5F1 ; CPU:$E663 PRG:2663 D0 8C + bne SubCE5F1 ; CPU:$E663 PRG:2663 D0 8C ; ----------------------------------------------------------------------------- -; Routine: Label_E665 +; Routine: SubCE665 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10460,7 +10460,7 @@ Label_E65F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E665: +SubCE665: sec ; CPU:$E665 PRG:2665 38 lda $0280,x ; CPU:$E666 PRG:2666 BD 80 02 sbc Zp25 ; CPU:$E669 PRG:2669 E5 25 @@ -10468,16 +10468,16 @@ Label_E665: lda $035E,x ; CPU:$E66D PRG:266D BD 5E 03 sbc Zp26 ; CPU:$E670 PRG:2670 E5 26 sta Zp26 ; CPU:$E672 PRG:2672 85 26 - bpl Label_E684 ; CPU:$E674 PRG:2674 10 0E + bpl Sub_8764_OnNonnegative_E684 ; CPU:$E674 PRG:2674 10 0E eor #$FF ; CPU:$E676 PRG:2676 49 FF sta Zp26 ; CPU:$E678 PRG:2678 85 26 lda Zp25 ; CPU:$E67A PRG:267A A5 25 eor #$FF ; CPU:$E67C PRG:267C 49 FF sta Zp25 ; CPU:$E67E PRG:267E 85 25 lda #$08 ; CPU:$E680 PRG:2680 A9 08 - bne Label_E686 ; CPU:$E682 PRG:2682 D0 02 + bne Sub_8764_OnNonzero_E686 ; CPU:$E682 PRG:2682 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E684 +; Routine: Sub_8764_OnNonnegative_E684 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10485,10 +10485,10 @@ Label_E665: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E684: +Sub_8764_OnNonnegative_E684: lda #$00 ; CPU:$E684 PRG:2684 A9 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E686 +; Routine: Sub_8764_OnNonzero_E686 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10496,11 +10496,11 @@ Label_E684: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E686: +Sub_8764_OnNonzero_E686: sta Zp03 ; CPU:$E686 PRG:2686 85 03 lda Zp26 ; CPU:$E688 PRG:2688 A5 26 cmp #$07 ; CPU:$E68A PRG:268A C9 07 - bcc Label_E699 ; CPU:$E68C PRG:268C 90 0B + bcc Sub_8764_OnCarryClear_E699 ; CPU:$E68C PRG:268C 90 0B sec ; CPU:$E68E PRG:268E 38 sbc #$07 ; CPU:$E68F PRG:268F E9 07 sta Zp26 ; CPU:$E691 PRG:2691 85 26 @@ -10508,7 +10508,7 @@ Label_E686: eor #$08 ; CPU:$E695 PRG:2695 49 08 sta Zp03 ; CPU:$E697 PRG:2697 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E699 +; Routine: Sub_8764_OnCarryClear_E699 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10516,7 +10516,7 @@ Label_E686: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E699: +Sub_8764_OnCarryClear_E699: sec ; CPU:$E699 PRG:2699 38 lda $02EF,x ; CPU:$E69A PRG:269A BD EF 02 sbc Zp27 ; CPU:$E69D PRG:269D E5 27 @@ -10524,7 +10524,7 @@ Label_E699: lda $03CD,x ; CPU:$E6A1 PRG:26A1 BD CD 03 sbc Zp28 ; CPU:$E6A4 PRG:26A4 E5 28 sta Zp28 ; CPU:$E6A6 PRG:26A6 85 28 - bpl Label_E6BB ; CPU:$E6A8 PRG:26A8 10 11 + bpl Sub_8764_OnNonnegative_E6BB ; CPU:$E6A8 PRG:26A8 10 11 eor #$FF ; CPU:$E6AA PRG:26AA 49 FF sta Zp28 ; CPU:$E6AC PRG:26AC 85 28 lda Zp27 ; CPU:$E6AE PRG:26AE A5 27 @@ -10535,7 +10535,7 @@ Label_E699: adc #$04 ; CPU:$E6B7 PRG:26B7 69 04 sta Zp03 ; CPU:$E6B9 PRG:26B9 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E6BB +; Routine: Sub_8764_OnNonnegative_E6BB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10543,10 +10543,10 @@ Label_E699: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6BB: +Sub_8764_OnNonnegative_E6BB: lda Zp28 ; CPU:$E6BB PRG:26BB A5 28 cmp #$04 ; CPU:$E6BD PRG:26BD C9 04 - bcc Label_E6CC ; CPU:$E6BF PRG:26BF 90 0B + bcc Sub_8764_OnCarryClear_E6CC ; CPU:$E6BF PRG:26BF 90 0B sec ; CPU:$E6C1 PRG:26C1 38 sbc #$04 ; CPU:$E6C2 PRG:26C2 E9 04 sta Zp28 ; CPU:$E6C4 PRG:26C4 85 28 @@ -10554,7 +10554,7 @@ Label_E6BB: eor #$04 ; CPU:$E6C8 PRG:26C8 49 04 sta Zp03 ; CPU:$E6CA PRG:26CA 85 03 ; ----------------------------------------------------------------------------- -; Routine: Label_E6CC +; Routine: Sub_8764_OnCarryClear_E6CC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10562,7 +10562,7 @@ Label_E6BB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6CC: +Sub_8764_OnCarryClear_E6CC: rts ; CPU:$E6CC PRG:26CC 60 ; ---- data $E6CD-$E6E4 (24 bytes) ---- ; referenced by `and $E6CD,x` at $D730 (operand $E6CD falls inside this region) @@ -10575,7 +10575,7 @@ Label_E6CC: .byte $01, $02, $04, $08, $10, $20, $40, $80, $01, $02, $04, $08, $10, $20, $40, $80 ; CPU:$E6CD PRG:26CD 01 02 04 08 10 20 40 80 01 02 04 08 10 20 40 80 .byte $FE, $FD, $FB, $F7, $EF, $DF, $BF, $7F ; CPU:$E6DD PRG:26DD FE FD FB F7 EF DF BF 7F ; ----------------------------------------------------------------------------- -; Routine: Label_E6E5 +; Routine: SubCE6E5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10583,15 +10583,15 @@ Label_E6CC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6E5: +SubCE6E5: lda ZpD4 ; CPU:$E6E5 PRG:26E5 A5 D4 - beq Label_E6FF ; CPU:$E6E7 PRG:26E7 F0 16 + beq Sub_8764_JoinBranchPaths_E6FF ; CPU:$E6E7 PRG:26E7 F0 16 lda Zp50 ; CPU:$E6E9 PRG:26E9 A5 50 lsr a ; CPU:$E6EB PRG:26EB 4A - bcc Label_E6F0 ; CPU:$E6EC PRG:26EC 90 02 + bcc Sub_8764_OnCarryClear_E6F0 ; CPU:$E6EC PRG:26EC 90 02 inc ZpB6 ; CPU:$E6EE PRG:26EE E6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F0 +; Routine: Sub_8764_OnCarryClear_E6F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10599,12 +10599,12 @@ Label_E6E5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F0: +Sub_8764_OnCarryClear_E6F0: lsr a ; CPU:$E6F0 PRG:26F0 4A - bcc Label_E6F5 ; CPU:$E6F1 PRG:26F1 90 02 + bcc Sub_8764_OnCarryClear_E6F5 ; CPU:$E6F1 PRG:26F1 90 02 dec ZpB6 ; CPU:$E6F3 PRG:26F3 C6 B6 ; ----------------------------------------------------------------------------- -; Routine: Label_E6F5 +; Routine: Sub_8764_OnCarryClear_E6F5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10612,12 +10612,12 @@ Label_E6F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6F5: +Sub_8764_OnCarryClear_E6F5: lsr a ; CPU:$E6F5 PRG:26F5 4A - bcc Label_E6FA ; CPU:$E6F6 PRG:26F6 90 02 + bcc Sub_8764_OnCarryClear_E6FA ; CPU:$E6F6 PRG:26F6 90 02 dec Zp11 ; CPU:$E6F8 PRG:26F8 C6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FA +; Routine: Sub_8764_OnCarryClear_E6FA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10625,12 +10625,12 @@ Label_E6F5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FA: +Sub_8764_OnCarryClear_E6FA: lsr a ; CPU:$E6FA PRG:26FA 4A - bcc Label_E6FF ; CPU:$E6FB PRG:26FB 90 02 + bcc Sub_8764_JoinBranchPaths_E6FF ; CPU:$E6FB PRG:26FB 90 02 inc Zp11 ; CPU:$E6FD PRG:26FD E6 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E6FF +; Routine: Sub_8764_JoinBranchPaths_E6FF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10638,10 +10638,10 @@ Label_E6FA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E6FF: +Sub_8764_JoinBranchPaths_E6FF: rts ; CPU:$E6FF PRG:26FF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E700 +; Routine: SubCE700 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10649,14 +10649,14 @@ Label_E6FF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E700: - jsr $E6E5 ; CPU:$E700 PRG:2700 20 E5 E6 +SubCE700: + jsr SubCE6E5 ; CPU:$E700 PRG:2700 20 E5 E6 lda Zp07 ; CPU:$E703 PRG:2703 A5 07 - bpl Label_E70B ; CPU:$E705 PRG:2705 10 04 + bpl Sub_8764_OnNonnegative_E70B ; CPU:$E705 PRG:2705 10 04 lda #$00 ; CPU:$E707 PRG:2707 A9 00 sta Zp11 ; CPU:$E709 PRG:2709 85 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E70B +; Routine: Sub_8764_OnNonnegative_E70B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10664,16 +10664,16 @@ Label_E700: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E70B: +Sub_8764_OnNonnegative_E70B: lda Zp11 ; CPU:$E70B PRG:270B A5 11 - bmi Label_E723 ; CPU:$E70D PRG:270D 30 14 + bmi Sub_8764_OnNegative_E723 ; CPU:$E70D PRG:270D 30 14 cmp Zp3C ; CPU:$E70F PRG:270F C5 3C - bcc Label_E718 ; CPU:$E711 PRG:2711 90 05 + bcc Sub_8764_OnCarryClear_E718 ; CPU:$E711 PRG:2711 90 05 ldy Zp3C ; CPU:$E713 PRG:2713 A4 3C dey ; CPU:$E715 PRG:2715 88 sty Zp11 ; CPU:$E716 PRG:2716 84 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E718 +; Routine: Sub_8764_OnCarryClear_E718 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10681,14 +10681,14 @@ Label_E70B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E718: - jsr $D3AF ; CPU:$E718 PRG:2718 20 AF D3 - jsr $E740 ; CPU:$E71B PRG:271B 20 40 E7 +Sub_8764_OnCarryClear_E718: + jsr SubCD3AF ; CPU:$E718 PRG:2718 20 AF D3 + jsr SubCE740 ; CPU:$E71B PRG:271B 20 40 E7 lda #$00 ; CPU:$E71E PRG:271E A9 00 sta Zp38 ; CPU:$E720 PRG:2720 85 38 rts ; CPU:$E722 PRG:2722 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E723 +; Routine: Sub_8764_OnNegative_E723 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10696,11 +10696,11 @@ Label_E718: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E723: +Sub_8764_OnNegative_E723: lda #$0A ; CPU:$E723 PRG:2723 A9 0A sta Zp11 ; CPU:$E725 PRG:2725 85 11 sta Zp38 ; CPU:$E727 PRG:2727 85 38 - jsr $D3AF ; CPU:$E729 PRG:2729 20 AF D3 + jsr SubCD3AF ; CPU:$E729 PRG:2729 20 AF D3 lda Zp46 ; CPU:$E72C PRG:272C A5 46 eor #$FF ; CPU:$E72E PRG:272E 49 FF sta Zp46 ; CPU:$E730 PRG:2730 85 46 @@ -10712,7 +10712,7 @@ Label_E723: lda #$00 ; CPU:$E73C PRG:273C A9 00 sta Zp11 ; CPU:$E73E PRG:273E 85 11 ; ----------------------------------------------------------------------------- -; Routine: Label_E740 +; Routine: SubCE740 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10720,32 +10720,32 @@ Label_E723: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E740: +SubCE740: lda #$13 ; CPU:$E740 PRG:2740 A9 13 - sta Zp00 ; CPU:$E742 PRG:2742 85 00 + sta PtrLo ; CPU:$E742 PRG:2742 85 00 lda #$1C ; CPU:$E744 PRG:2744 A9 1C sta Zp01 ; CPU:$E746 PRG:2746 85 01 ldx ZpA9 ; CPU:$E748 PRG:2748 A6 A9 lda Zp45 ; CPU:$E74A PRG:274A A5 45 sec ; CPU:$E74C PRG:274C 38 sbc ZpA9 ; CPU:$E74D PRG:274D E5 A9 - jsr $E77F ; CPU:$E74F PRG:274F 20 7F E7 + jsr SubCE77F ; CPU:$E74F PRG:274F 20 7F E7 stx ZpA9 ; CPU:$E752 PRG:2752 86 A9 lda #$10 ; CPU:$E754 PRG:2754 A9 10 - sta Zp00 ; CPU:$E756 PRG:2756 85 00 + sta PtrLo ; CPU:$E756 PRG:2756 85 00 lda #$16 ; CPU:$E758 PRG:2758 A9 16 sta Zp01 ; CPU:$E75A PRG:275A 85 01 ldx ZpAA ; CPU:$E75C PRG:275C A6 AA lda Zp46 ; CPU:$E75E PRG:275E A5 46 sec ; CPU:$E760 PRG:2760 38 sbc ZpAA ; CPU:$E761 PRG:2761 E5 AA - jsr $E77F ; CPU:$E763 PRG:2763 20 7F E7 + jsr SubCE77F ; CPU:$E763 PRG:2763 20 7F E7 stx ZpAA ; CPU:$E766 PRG:2766 86 AA ldx #$00 ; CPU:$E768 PRG:2768 A2 00 - jsr $E76E ; CPU:$E76A PRG:276A 20 6E E7 + jsr SubCE76E ; CPU:$E76A PRG:276A 20 6E E7 inx ; CPU:$E76D PRG:276D E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E76E +; Routine: SubCE76E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10753,13 +10753,13 @@ Label_E740: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E76E: +SubCE76E: lda ZpA9,x ; CPU:$E76E PRG:276E B5 A9 - bpl Label_E777 ; CPU:$E770 PRG:2770 10 05 + bpl Sub_8764_OnNonnegative_E777 ; CPU:$E770 PRG:2770 10 05 and #$7F ; CPU:$E772 PRG:2772 29 7F - jmp $E77C ; CPU:$E774 PRG:2774 4C 7C E7 + jmp SubCE77C ; CPU:$E774 PRG:2774 4C 7C E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E777 +; Routine: Sub_8764_OnNonnegative_E777 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10767,12 +10767,12 @@ Label_E76E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E777: +Sub_8764_OnNonnegative_E777: sec ; CPU:$E777 PRG:2777 38 lda #$80 ; CPU:$E778 PRG:2778 A9 80 sbc ZpA9,x ; CPU:$E77A PRG:277A F5 A9 ; ----------------------------------------------------------------------------- -; Routine: Label_E77C +; Routine: SubCE77C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10780,11 +10780,11 @@ Label_E777: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77C: +SubCE77C: sta Zp13,x ; CPU:$E77C PRG:277C 95 13 rts ; CPU:$E77E PRG:277E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E77F +; Routine: SubCE77F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10792,17 +10792,17 @@ Label_E77C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E77F: - beq Label_E790 ; CPU:$E77F PRG:277F F0 0F - bpl Label_E791 ; CPU:$E781 PRG:2781 10 0E +SubCE77F: + beq Sub_8764_OnZero_E790 ; CPU:$E77F PRG:277F F0 0F + bpl Sub_8764_OnNonnegative_E791 ; CPU:$E781 PRG:2781 10 0E eor #$FF ; CPU:$E783 PRG:2783 49 FF - cmp Zp00 ; CPU:$E785 PRG:2785 C5 00 - bcc Label_E78F ; CPU:$E787 PRG:2787 90 06 + cmp PtrLo ; CPU:$E785 PRG:2785 C5 00 + bcc Sub_8764_OnCarryClear_E78F ; CPU:$E787 PRG:2787 90 06 cmp Zp01 ; CPU:$E789 PRG:2789 C5 01 - bcc Label_E78E ; CPU:$E78B PRG:278B 90 01 + bcc Sub_8764_OnCarryClear_E78E ; CPU:$E78B PRG:278B 90 01 dex ; CPU:$E78D PRG:278D CA ; ----------------------------------------------------------------------------- -; Routine: Label_E78E +; Routine: Sub_8764_OnCarryClear_E78E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10810,10 +10810,10 @@ Label_E77F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E78E: +Sub_8764_OnCarryClear_E78E: dex ; CPU:$E78E PRG:278E CA ; ----------------------------------------------------------------------------- -; Routine: Label_E78F +; Routine: Sub_8764_OnCarryClear_E78F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10821,10 +10821,10 @@ Label_E78E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E78F: +Sub_8764_OnCarryClear_E78F: dex ; CPU:$E78F PRG:278F CA ; ----------------------------------------------------------------------------- -; Routine: Label_E790 +; Routine: Sub_8764_OnZero_E790 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10832,10 +10832,10 @@ Label_E78F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E790: +Sub_8764_OnZero_E790: rts ; CPU:$E790 PRG:2790 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E791 +; Routine: Sub_8764_OnNonnegative_E791 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10843,14 +10843,14 @@ Label_E790: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E791: - cmp Zp00 ; CPU:$E791 PRG:2791 C5 00 - bcc Label_E79B ; CPU:$E793 PRG:2793 90 06 +Sub_8764_OnNonnegative_E791: + cmp PtrLo ; CPU:$E791 PRG:2791 C5 00 + bcc Sub_8764_OnCarryClear_E79B ; CPU:$E793 PRG:2793 90 06 cmp Zp01 ; CPU:$E795 PRG:2795 C5 01 - bcc Label_E79A ; CPU:$E797 PRG:2797 90 01 + bcc Sub_8764_OnCarryClear_E79A ; CPU:$E797 PRG:2797 90 01 inx ; CPU:$E799 PRG:2799 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E79A +; Routine: Sub_8764_OnCarryClear_E79A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10858,10 +10858,10 @@ Label_E791: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79A: +Sub_8764_OnCarryClear_E79A: inx ; CPU:$E79A PRG:279A E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E79B +; Routine: Sub_8764_OnCarryClear_E79B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10869,11 +10869,11 @@ Label_E79A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79B: +Sub_8764_OnCarryClear_E79B: inx ; CPU:$E79B PRG:279B E8 rts ; CPU:$E79C PRG:279C 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E79D +; Routine: SubCE79D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10881,10 +10881,10 @@ Label_E79B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E79D: - jmp ($0017) ; CPU:$E79D PRG:279D 6C 17 00 +SubCE79D: + jmp (IndDispatch17) ; CPU:$E79D PRG:279D 6C 17 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A0 +; Routine: SubCE7A0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10892,10 +10892,10 @@ Label_E79D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A0: - jmp ($0019) ; CPU:$E7A0 PRG:27A0 6C 19 00 +SubCE7A0: + jmp (IndDispatch19) ; CPU:$E7A0 PRG:27A0 6C 19 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A3 +; Routine: SubCE7A3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10903,10 +10903,10 @@ Label_E7A0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A3: - jmp ($001B) ; CPU:$E7A3 PRG:27A3 6C 1B 00 +SubCE7A3: + jmp (IndDispatch1B) ; CPU:$E7A3 PRG:27A3 6C 1B 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E7A6 +; Routine: SubCE7A6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10914,15 +10914,15 @@ Label_E7A3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7A6: +SubCE7A6: lda ZpC3 ; CPU:$E7A6 PRG:27A6 A5 C3 and #$07 ; CPU:$E7A8 PRG:27A8 29 07 cmp #$07 ; CPU:$E7AA PRG:27AA C9 07 - bne Label_E7B3 ; CPU:$E7AC PRG:27AC D0 05 + bne Sub_8764_OnNonzero_E7B3 ; CPU:$E7AC PRG:27AC D0 05 ldx #$00 ; CPU:$E7AE PRG:27AE A2 00 - jsr $E806 ; CPU:$E7B0 PRG:27B0 20 06 E8 + jsr SubCE806 ; CPU:$E7B0 PRG:27B0 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7B3 +; Routine: Sub_8764_OnNonzero_E7B3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10930,14 +10930,14 @@ Label_E7A6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7B3: +Sub_8764_OnNonzero_E7B3: lda ZpC3 ; CPU:$E7B3 PRG:27B3 A5 C3 cmp #$EF ; CPU:$E7B5 PRG:27B5 C9 EF - bne Label_E7BD ; CPU:$E7B7 PRG:27B7 D0 04 + bne Sub_8764_OnNonzero_E7BD ; CPU:$E7B7 PRG:27B7 D0 04 lda #$FF ; CPU:$E7B9 PRG:27B9 A9 FF sta ZpC3 ; CPU:$E7BB PRG:27BB 85 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E7BD +; Routine: Sub_8764_OnNonzero_E7BD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10945,11 +10945,11 @@ Label_E7B3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7BD: +Sub_8764_OnNonzero_E7BD: inc ZpC3 ; CPU:$E7BD PRG:27BD E6 C3 rts ; CPU:$E7BF PRG:27BF 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7C0 +; Routine: SubCE7C0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10957,14 +10957,14 @@ Label_E7BD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7C0: +SubCE7C0: lda ZpC3 ; CPU:$E7C0 PRG:27C0 A5 C3 and #$07 ; CPU:$E7C2 PRG:27C2 29 07 - bne Label_E7CB ; CPU:$E7C4 PRG:27C4 D0 05 + bne Sub_8764_OnNonzero_E7CB ; CPU:$E7C4 PRG:27C4 D0 05 ldx #$01 ; CPU:$E7C6 PRG:27C6 A2 01 - jsr $E806 ; CPU:$E7C8 PRG:27C8 20 06 E8 + jsr SubCE806 ; CPU:$E7C8 PRG:27C8 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7CB +; Routine: Sub_8764_OnNonzero_E7CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10972,13 +10972,13 @@ Label_E7C0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7CB: +Sub_8764_OnNonzero_E7CB: lda ZpC3 ; CPU:$E7CB PRG:27CB A5 C3 - bne Label_E7D3 ; CPU:$E7CD PRG:27CD D0 04 + bne Sub_8764_OnNonzero_E7D3 ; CPU:$E7CD PRG:27CD D0 04 lda #$F0 ; CPU:$E7CF PRG:27CF A9 F0 sta ZpC3 ; CPU:$E7D1 PRG:27D1 85 C3 ; ----------------------------------------------------------------------------- -; Routine: Label_E7D3 +; Routine: Sub_8764_OnNonzero_E7D3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10986,11 +10986,11 @@ Label_E7CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7D3: +Sub_8764_OnNonzero_E7D3: dec ZpC3 ; CPU:$E7D3 PRG:27D3 C6 C3 rts ; CPU:$E7D5 PRG:27D5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7D6 +; Routine: SubCE7D6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -10998,15 +10998,15 @@ Label_E7D3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7D6: +SubCE7D6: lda ZpC1 ; CPU:$E7D6 PRG:27D6 A5 C1 and #$07 ; CPU:$E7D8 PRG:27D8 29 07 cmp #$07 ; CPU:$E7DA PRG:27DA C9 07 - bne Label_E7E3 ; CPU:$E7DC PRG:27DC D0 05 + bne Sub_8764_OnNonzero_E7E3 ; CPU:$E7DC PRG:27DC D0 05 ldx #$02 ; CPU:$E7DE PRG:27DE A2 02 - jsr $E806 ; CPU:$E7E0 PRG:27E0 20 06 E8 + jsr SubCE806 ; CPU:$E7E0 PRG:27E0 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7E3 +; Routine: Sub_8764_OnNonzero_E7E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11014,14 +11014,14 @@ Label_E7D6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7E3: +Sub_8764_OnNonzero_E7E3: inc ZpC1 ; CPU:$E7E3 PRG:27E3 E6 C1 - bne Label_E7ED ; CPU:$E7E5 PRG:27E5 D0 06 - lda ZpC2 ; CPU:$E7E7 PRG:27E7 A5 C2 + bne Sub_8764_OnNonzero_E7ED ; CPU:$E7E5 PRG:27E5 D0 06 + lda PpuCtrlShadow ; CPU:$E7E7 PRG:27E7 A5 C2 eor #$01 ; CPU:$E7E9 PRG:27E9 49 01 - sta ZpC2 ; CPU:$E7EB PRG:27EB 85 C2 + sta PpuCtrlShadow ; CPU:$E7EB PRG:27EB 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E7ED +; Routine: Sub_8764_OnNonzero_E7ED ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11029,10 +11029,10 @@ Label_E7E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7ED: +Sub_8764_OnNonzero_E7ED: rts ; CPU:$E7ED PRG:27ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E7EE +; Routine: Sub_8764_Return_E7EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11040,14 +11040,14 @@ Label_E7ED: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7EE: +Sub_8764_Return_E7EE: lda ZpC1 ; CPU:$E7EE PRG:27EE A5 C1 and #$07 ; CPU:$E7F0 PRG:27F0 29 07 - bne Label_E7F9 ; CPU:$E7F2 PRG:27F2 D0 05 + bne Sub_8764_OnNonzero_E7F9 ; CPU:$E7F2 PRG:27F2 D0 05 ldx #$03 ; CPU:$E7F4 PRG:27F4 A2 03 - jsr $E806 ; CPU:$E7F6 PRG:27F6 20 06 E8 + jsr SubCE806 ; CPU:$E7F6 PRG:27F6 20 06 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E7F9 +; Routine: Sub_8764_OnNonzero_E7F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11055,14 +11055,14 @@ Label_E7EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E7F9: +Sub_8764_OnNonzero_E7F9: lda ZpC1 ; CPU:$E7F9 PRG:27F9 A5 C1 - bne Label_E803 ; CPU:$E7FB PRG:27FB D0 06 - lda ZpC2 ; CPU:$E7FD PRG:27FD A5 C2 + bne Sub_8764_OnNonzero_E803 ; CPU:$E7FB PRG:27FB D0 06 + lda PpuCtrlShadow ; CPU:$E7FD PRG:27FD A5 C2 eor #$01 ; CPU:$E7FF PRG:27FF 49 01 - sta ZpC2 ; CPU:$E801 PRG:2801 85 C2 + sta PpuCtrlShadow ; CPU:$E801 PRG:2801 85 C2 ; ----------------------------------------------------------------------------- -; Routine: Label_E803 +; Routine: Sub_8764_OnNonzero_E803 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11070,11 +11070,11 @@ Label_E7F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E803: +Sub_8764_OnNonzero_E803: dec ZpC1 ; CPU:$E803 PRG:2803 C6 C1 rts ; CPU:$E805 PRG:2805 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E806 +; Routine: SubCE806 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11082,18 +11082,18 @@ Label_E803: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E806: +SubCE806: lda $E821,x ; CPU:$E806 PRG:2806 BD 21 E8 - sta Zp1B ; CPU:$E809 PRG:2809 85 1B + sta IndDispatch1B ; CPU:$E809 PRG:2809 85 1B lda $E825,x ; CPU:$E80B PRG:280B BD 25 E8 sta Zp1C ; CPU:$E80E PRG:280E 85 1C lda $E829,x ; CPU:$E810 PRG:2810 BD 29 E8 pha ; CPU:$E813 PRG:2813 48 - jsr $E7A3 ; CPU:$E814 PRG:2814 20 A3 E7 + jsr SubCE7A3 ; CPU:$E814 PRG:2814 20 A3 E7 pla ; CPU:$E817 PRG:2817 68 sta $0200 ; CPU:$E818 PRG:2818 8D 00 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E81B +; Routine: Sub_8764_OnNonzero_E81B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11101,9 +11101,9 @@ Label_E806: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E81B: +Sub_8764_OnNonzero_E81B: lda $0200 ; CPU:$E81B PRG:281B AD 00 02 - bne Label_E81B ; CPU:$E81E PRG:281E D0 FB + bne Sub_8764_OnNonzero_E81B ; CPU:$E81E PRG:281E D0 FB rts ; CPU:$E820 PRG:2820 60 ; ---- data $E821-$E82C (12 bytes) ---- ; referenced by `lda $E821,x` at $E806 (operand $E821 falls inside this region) @@ -11111,7 +11111,7 @@ Label_E81B: ; referenced by `lda $E829,x` at $E810 (operand $E829 falls inside this region) .byte $03, $BB, $76, $25, $F3, $F2, $F3, $F3, $08, $04, $02, $01 ; CPU:$E821 PRG:2821 03 BB 76 25 F3 F2 F3 F3 08 04 02 01 ; ----------------------------------------------------------------------------- -; Routine: Label_E82D +; Routine: SubCE82D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11119,16 +11119,16 @@ Label_E81B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E82D: +SubCE82D: lda #$01 ; CPU:$E82D PRG:282D A9 01 sta Zp1E ; CPU:$E82F PRG:282F 85 1E - jsr $C5A1 ; CPU:$E831 PRG:2831 20 A1 C5 + jsr SubCC5A1 ; CPU:$E831 PRG:2831 20 A1 C5 ldx #$01 ; CPU:$E834 PRG:2834 A2 01 ldy #$02 ; CPU:$E836 PRG:2836 A0 02 - jsr $E89E ; CPU:$E838 PRG:2838 20 9E E8 - jmp $E859 ; CPU:$E83B PRG:283B 4C 59 E8 + jsr SubCE89E ; CPU:$E838 PRG:2838 20 9E E8 + jmp SubCE859 ; CPU:$E83B PRG:283B 4C 59 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E83E +; Routine: SubCE83E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11136,20 +11136,20 @@ Label_E82D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E83E: - jsr $C5A1 ; CPU:$E83E PRG:283E 20 A1 C5 +SubCE83E: + jsr SubCC5A1 ; CPU:$E83E PRG:283E 20 A1 C5 ldx #$01 ; CPU:$E841 PRG:2841 A2 01 ldy #$02 ; CPU:$E843 PRG:2843 A0 02 - jsr $E85C ; CPU:$E845 PRG:2845 20 5C E8 + jsr SubCE85C ; CPU:$E845 PRG:2845 20 5C E8 ldx #$00 ; CPU:$E848 PRG:2848 A2 00 ldy #$00 ; CPU:$E84A PRG:284A A0 00 - jsr $E85C ; CPU:$E84C PRG:284C 20 5C E8 - jsr $E86F ; CPU:$E84F PRG:284F 20 6F E8 + jsr SubCE85C ; CPU:$E84C PRG:284C 20 5C E8 + jsr SubCE86F ; CPU:$E84F PRG:284F 20 6F E8 ldx #$01 ; CPU:$E852 PRG:2852 A2 01 ldy #$02 ; CPU:$E854 PRG:2854 A0 02 - jsr $E86F ; CPU:$E856 PRG:2856 20 6F E8 + jsr SubCE86F ; CPU:$E856 PRG:2856 20 6F E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E859 +; Routine: SubCE859 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11157,10 +11157,10 @@ Label_E83E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E859: - jmp $C59C ; CPU:$E859 PRG:2859 4C 9C C5 +SubCE859: + jmp SubCC59C ; CPU:$E859 PRG:2859 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_E85C +; Routine: SubCE85C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11168,7 +11168,7 @@ Label_E859: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E85C: +SubCE85C: clc ; CPU:$E85C PRG:285C 18 lda Zp13,x ; CPU:$E85D PRG:285D B5 13 adc Zp15,x ; CPU:$E85F PRG:285F 75 15 @@ -11176,13 +11176,13 @@ Label_E85C: lsr a ; CPU:$E863 PRG:2863 4A lsr a ; CPU:$E864 PRG:2864 4A lsr a ; CPU:$E865 PRG:2865 4A - sta Zp00,x ; CPU:$E866 PRG:2866 95 00 + sta PtrLo,x ; CPU:$E866 PRG:2866 95 00 lda Zp15,x ; CPU:$E868 PRG:2868 B5 15 and #$07 ; CPU:$E86A PRG:286A 29 07 sta Zp15,x ; CPU:$E86C PRG:286C 95 15 rts ; CPU:$E86E PRG:286E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E86F +; Routine: SubCE86F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11190,19 +11190,19 @@ Label_E85C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E86F: +SubCE86F: sec ; CPU:$E86F PRG:286F 38 lda ZpA7,x ; CPU:$E870 PRG:2870 B5 A7 sbc ZpA9,x ; CPU:$E872 PRG:2872 F5 A9 sta Zp29 ; CPU:$E874 PRG:2874 85 29 lda ZpA9,x ; CPU:$E876 PRG:2876 B5 A9 - bpl Label_E882 ; CPU:$E878 PRG:2878 10 08 + bpl Sub_8764_OnNonnegative_E882 ; CPU:$E878 PRG:2878 10 08 sec ; CPU:$E87A PRG:287A 38 lda Zp29 ; CPU:$E87B PRG:287B A5 29 - sbc Zp00,x ; CPU:$E87D PRG:287D F5 00 - jmp $E887 ; CPU:$E87F PRG:287F 4C 87 E8 + sbc PtrLo,x ; CPU:$E87D PRG:287D F5 00 + jmp SubCE887 ; CPU:$E87F PRG:287F 4C 87 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_E882 +; Routine: Sub_8764_OnNonnegative_E882 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11210,12 +11210,12 @@ Label_E86F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E882: +Sub_8764_OnNonnegative_E882: clc ; CPU:$E882 PRG:2882 18 lda Zp29 ; CPU:$E883 PRG:2883 A5 29 - adc Zp00,x ; CPU:$E885 PRG:2885 75 00 + adc PtrLo,x ; CPU:$E885 PRG:2885 75 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E887 +; Routine: SubCE887 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11223,19 +11223,19 @@ Label_E882: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E887: - bpl Label_E8CB ; CPU:$E887 PRG:2887 10 42 +SubCE887: + bpl Sub_8764_OnNonnegative_E8CB ; CPU:$E887 PRG:2887 10 42 sta Zp29 ; CPU:$E889 PRG:2889 85 29 sec ; CPU:$E88B PRG:288B 38 lda #$00 ; CPU:$E88C PRG:288C A9 00 sbc Zp29 ; CPU:$E88E PRG:288E E5 29 sta Zp1D,x ; CPU:$E890 PRG:2890 95 1D lda $E91B,y ; CPU:$E892 PRG:2892 B9 1B E9 - sta a:$0017,y ; CPU:$E895 PRG:2895 99 17 00 + sta a:IndDispatch17,y ; CPU:$E895 PRG:2895 99 17 00 lda $E91C,y ; CPU:$E898 PRG:2898 B9 1C E9 sta a:$0018,y ; CPU:$E89B PRG:289B 99 18 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E89E +; Routine: SubCE89E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11243,25 +11243,25 @@ Label_E887: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E89E: +SubCE89E: sec ; CPU:$E89E PRG:289E 38 - lda a:$00AE,y ; CPU:$E89F PRG:289F B9 AE 00 + lda a:ZpAE,y ; CPU:$E89F PRG:289F B9 AE 00 sbc Zp1D,x ; CPU:$E8A2 PRG:28A2 F5 1D - sta a:$00AE,y ; CPU:$E8A4 PRG:28A4 99 AE 00 - bcs Label_E8C6 ; CPU:$E8A7 PRG:28A7 B0 1D - lda a:$00AF,y ; CPU:$E8A9 PRG:28A9 B9 AF 00 + sta a:ZpAE,y ; CPU:$E8A4 PRG:28A4 99 AE 00 + bcs SubCE8C6 ; CPU:$E8A7 PRG:28A7 B0 1D + lda a:ZpAF,y ; CPU:$E8A9 PRG:28A9 B9 AF 00 sbc #$00 ; CPU:$E8AC PRG:28AC E9 00 - sta a:$00AF,y ; CPU:$E8AE PRG:28AE 99 AF 00 - bpl Label_E8C6 ; CPU:$E8B1 PRG:28B1 10 13 + sta a:ZpAF,y ; CPU:$E8AE PRG:28AE 99 AF 00 + bpl SubCE8C6 ; CPU:$E8B1 PRG:28B1 10 13 sec ; CPU:$E8B3 PRG:28B3 38 - lda a:$00AE,y ; CPU:$E8B4 PRG:28B4 B9 AE 00 + lda a:ZpAE,y ; CPU:$E8B4 PRG:28B4 B9 AE 00 sbc $E90F,x ; CPU:$E8B7 PRG:28B7 FD 0F E9 - sta a:$00AE,y ; CPU:$E8BA PRG:28BA 99 AE 00 - lda a:$00AF,y ; CPU:$E8BD PRG:28BD B9 AF 00 + sta a:ZpAE,y ; CPU:$E8BA PRG:28BA 99 AE 00 + lda a:ZpAF,y ; CPU:$E8BD PRG:28BD B9 AF 00 sbc $E911,x ; CPU:$E8C0 PRG:28C0 FD 11 E9 - sta a:$00AF,y ; CPU:$E8C3 PRG:28C3 99 AF 00 + sta a:ZpAF,y ; CPU:$E8C3 PRG:28C3 99 AF 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E8C6 +; Routine: SubCE8C6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11269,12 +11269,12 @@ Label_E89E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8C6: +SubCE8C6: lda ZpA9,x ; CPU:$E8C6 PRG:28C6 B5 A9 sta ZpA7,x ; CPU:$E8C8 PRG:28C8 95 A7 rts ; CPU:$E8CA PRG:28CA 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E8CB +; Routine: Sub_8764_OnNonnegative_E8CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11282,27 +11282,27 @@ Label_E8C6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8CB: +Sub_8764_OnNonnegative_E8CB: sta Zp1D,x ; CPU:$E8CB PRG:28CB 95 1D lda $E91F,y ; CPU:$E8CD PRG:28CD B9 1F E9 - sta a:$0017,y ; CPU:$E8D0 PRG:28D0 99 17 00 + sta a:IndDispatch17,y ; CPU:$E8D0 PRG:28D0 99 17 00 lda $E920,y ; CPU:$E8D3 PRG:28D3 B9 20 E9 sta a:$0018,y ; CPU:$E8D6 PRG:28D6 99 18 00 clc ; CPU:$E8D9 PRG:28D9 18 - lda a:$00AE,y ; CPU:$E8DA PRG:28DA B9 AE 00 + lda a:ZpAE,y ; CPU:$E8DA PRG:28DA B9 AE 00 adc Zp1D,x ; CPU:$E8DD PRG:28DD 75 1D - sta a:$00AE,y ; CPU:$E8DF PRG:28DF 99 AE 00 - lda a:$00AF,y ; CPU:$E8E2 PRG:28E2 B9 AF 00 + sta a:ZpAE,y ; CPU:$E8DF PRG:28DF 99 AE 00 + lda a:ZpAF,y ; CPU:$E8E2 PRG:28E2 B9 AF 00 adc #$00 ; CPU:$E8E5 PRG:28E5 69 00 - sta a:$00AF,y ; CPU:$E8E7 PRG:28E7 99 AF 00 + sta a:ZpAF,y ; CPU:$E8E7 PRG:28E7 99 AF 00 cmp $E913,x ; CPU:$E8EA PRG:28EA DD 13 E9 - bcc Label_E8C6 ; CPU:$E8ED PRG:28ED 90 D7 - bne Label_E8F9 ; CPU:$E8EF PRG:28EF D0 08 - lda a:$00AE,y ; CPU:$E8F1 PRG:28F1 B9 AE 00 + bcc SubCE8C6 ; CPU:$E8ED PRG:28ED 90 D7 + bne Sub_8764_OnNonzero_E8F9 ; CPU:$E8EF PRG:28EF D0 08 + lda a:ZpAE,y ; CPU:$E8F1 PRG:28F1 B9 AE 00 cmp $E919,x ; CPU:$E8F4 PRG:28F4 DD 19 E9 - bcc Label_E8C6 ; CPU:$E8F7 PRG:28F7 90 CD + bcc SubCE8C6 ; CPU:$E8F7 PRG:28F7 90 CD ; ----------------------------------------------------------------------------- -; Routine: Label_E8F9 +; Routine: Sub_8764_OnNonzero_E8F9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11310,15 +11310,15 @@ Label_E8CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E8F9: +Sub_8764_OnNonzero_E8F9: sec ; CPU:$E8F9 PRG:28F9 38 - lda a:$00AE,y ; CPU:$E8FA PRG:28FA B9 AE 00 + lda a:ZpAE,y ; CPU:$E8FA PRG:28FA B9 AE 00 sbc $E915,x ; CPU:$E8FD PRG:28FD FD 15 E9 - sta a:$00AE,y ; CPU:$E900 PRG:2900 99 AE 00 - lda a:$00AF,y ; CPU:$E903 PRG:2903 B9 AF 00 + sta a:ZpAE,y ; CPU:$E900 PRG:2900 99 AE 00 + lda a:ZpAF,y ; CPU:$E903 PRG:2903 B9 AF 00 sbc $E917,x ; CPU:$E906 PRG:2906 FD 17 E9 - sta a:$00AF,y ; CPU:$E909 PRG:2909 99 AF 00 - jmp $E8C6 ; CPU:$E90C PRG:290C 4C C6 E8 + sta a:ZpAF,y ; CPU:$E909 PRG:2909 99 AF 00 + jmp SubCE8C6 ; CPU:$E90C PRG:290C 4C C6 E8 ; ---- data $E90F-$E922 (20 bytes) ---- ; referenced by `lda $E91B,y` at $E892 (operand $E91B falls inside this region) ; referenced by `lda $E91C,y` at $E898 (operand $E91C falls inside this region) @@ -11330,7 +11330,7 @@ Label_E8F9: .byte $80, $30, $F3, $F8, $0C, $07, $80, $D0, $0C, $07, $80, $D0, $EE, $E7, $C0, $E7 ; CPU:$E90F PRG:290F 80 30 F3 F8 0C 07 80 D0 0C 07 80 D0 EE E7 C0 E7 .byte $D6, $E7, $A6, $E7 ; CPU:$E91F PRG:291F D6 E7 A6 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_E923 +; Routine: SubCE923 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11338,12 +11338,12 @@ Label_E8F9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E923: +SubCE923: lda Zp0B ; CPU:$E923 PRG:2923 A5 0B - beq Label_E929 ; CPU:$E925 PRG:2925 F0 02 + beq Sub_8764_OnZero_E929 ; CPU:$E925 PRG:2925 F0 02 lda #$02 ; CPU:$E927 PRG:2927 A9 02 ; ----------------------------------------------------------------------------- -; Routine: Label_E929 +; Routine: Sub_8764_OnZero_E929 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11351,12 +11351,12 @@ Label_E923: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E929: +Sub_8764_OnZero_E929: sta Zp36 ; CPU:$E929 PRG:2929 85 36 sta Zp37 ; CPU:$E92B PRG:292B 85 37 ldy #$00 ; CPU:$E92D PRG:292D A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_E92F +; Routine: Sub_8764_OnCarryClear_E92F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11364,13 +11364,13 @@ Label_E929: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E92F: - lda a:$0065,y ; CPU:$E92F PRG:292F B9 65 00 - beq Label_E939 ; CPU:$E932 PRG:2932 F0 05 - bmi Label_E939 ; CPU:$E934 PRG:2934 30 03 - jsr $E9A5 ; CPU:$E936 PRG:2936 20 A5 E9 +Sub_8764_OnCarryClear_E92F: + lda a:Zp65,y ; CPU:$E92F PRG:292F B9 65 00 + beq Sub_8764_JoinBranchPaths_E939 ; CPU:$E932 PRG:2932 F0 05 + bmi Sub_8764_JoinBranchPaths_E939 ; CPU:$E934 PRG:2934 30 03 + jsr SubCE9A5 ; CPU:$E936 PRG:2936 20 A5 E9 ; ----------------------------------------------------------------------------- -; Routine: Label_E939 +; Routine: Sub_8764_JoinBranchPaths_E939 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11378,12 +11378,12 @@ Label_E92F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E939: +Sub_8764_JoinBranchPaths_E939: iny ; CPU:$E939 PRG:2939 C8 cpy #$10 ; CPU:$E93A PRG:293A C0 10 - bcc Label_E92F ; CPU:$E93C PRG:293C 90 F1 + bcc Sub_8764_OnCarryClear_E92F ; CPU:$E93C PRG:293C 90 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_E93E +; Routine: SubCE93E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11391,9 +11391,9 @@ Label_E939: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E93E: +SubCE93E: ldy Zp09 ; CPU:$E93E PRG:293E A4 09 - beq Label_E967 ; CPU:$E940 PRG:2940 F0 25 + beq Sub_8764_OnZero_E967 ; CPU:$E940 PRG:2940 F0 25 tya ; CPU:$E942 PRG:2942 98 and Zp37 ; CPU:$E943 PRG:2943 25 37 sta Zp37 ; CPU:$E945 PRG:2945 85 37 @@ -11406,7 +11406,7 @@ Label_E93E: ldy Zp31 ; CPU:$E951 PRG:2951 A4 31 tya ; CPU:$E953 PRG:2953 98 and Zp36 ; CPU:$E954 PRG:2954 25 36 - jsr $EAD2 ; CPU:$E956 PRG:2956 20 D2 EA + jsr SubCEAD2 ; CPU:$E956 PRG:2956 20 D2 EA tya ; CPU:$E959 PRG:2959 98 and Zp32 ; CPU:$E95A PRG:295A 25 32 ora Zp33 ; CPU:$E95C PRG:295C 05 33 @@ -11416,7 +11416,7 @@ Label_E93E: ora Zp35 ; CPU:$E963 PRG:2963 05 35 sta Zp35 ; CPU:$E965 PRG:2965 85 35 ; ----------------------------------------------------------------------------- -; Routine: Label_E967 +; Routine: Sub_8764_OnZero_E967 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11424,10 +11424,10 @@ Label_E93E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E967: +Sub_8764_OnZero_E967: rts ; CPU:$E967 PRG:2967 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E968 +; Routine: Sub_8764_OnNonnegative_E968 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11435,7 +11435,7 @@ Label_E967: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E968: +Sub_8764_OnNonnegative_E968: lda $043C,x ; CPU:$E968 PRG:2968 BD 3C 04 sta $06D7,y ; CPU:$E96B PRG:296B 99 D7 06 sec ; CPU:$E96E PRG:296E 38 @@ -11445,7 +11445,7 @@ Label_E968: lda $03CD,x ; CPU:$E976 PRG:2976 BD CD 03 sbc ZpB1 ; CPU:$E979 PRG:2979 E5 B1 sta Zp2A ; CPU:$E97B PRG:297B 85 2A - bpl Label_E98C ; CPU:$E97D PRG:297D 10 0D + bpl Sub_8764_OnNonnegative_E98C ; CPU:$E97D PRG:297D 10 0D clc ; CPU:$E97F PRG:297F 18 lda Zp29 ; CPU:$E980 PRG:2980 A5 29 adc #$D0 ; CPU:$E982 PRG:2982 69 D0 @@ -11454,7 +11454,7 @@ Label_E968: adc #$07 ; CPU:$E988 PRG:2988 69 07 sta Zp2A ; CPU:$E98A PRG:298A 85 2A ; ----------------------------------------------------------------------------- -; Routine: Label_E98C +; Routine: Sub_8764_OnNonnegative_E98C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11462,14 +11462,14 @@ Label_E968: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E98C: - beq Label_E996 ; CPU:$E98C PRG:298C F0 08 +Sub_8764_OnNonnegative_E98C: + beq Sub_8764_OnZero_E996 ; CPU:$E98C PRG:298C F0 08 lda Zp29 ; CPU:$E98E PRG:298E A5 29 cmp #$9E ; CPU:$E990 PRG:2990 C9 9E - bcs Label_E9AE ; CPU:$E992 PRG:2992 B0 1A - bcc Label_E99C ; CPU:$E994 PRG:2994 90 06 + bcs SubCE9AE ; CPU:$E992 PRG:2992 B0 1A + bcc Sub_8764_OnCarryClear_E99C ; CPU:$E994 PRG:2994 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E996 +; Routine: Sub_8764_OnZero_E996 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11477,12 +11477,12 @@ Label_E98C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E996: +Sub_8764_OnZero_E996: lda Zp29 ; CPU:$E996 PRG:2996 A5 29 cmp #$9E ; CPU:$E998 PRG:2998 C9 9E - bcc Label_E9AE ; CPU:$E99A PRG:299A 90 12 + bcc SubCE9AE ; CPU:$E99A PRG:299A 90 12 ; ----------------------------------------------------------------------------- -; Routine: Label_E99C +; Routine: Sub_8764_OnCarryClear_E99C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11490,13 +11490,13 @@ Label_E996: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E99C: +Sub_8764_OnCarryClear_E99C: sec ; CPU:$E99C PRG:299C 38 sbc #$A2 ; CPU:$E99D PRG:299D E9 A2 - sta a:$0095,y ; CPU:$E99F PRG:299F 99 95 00 - jmp $EA01 ; CPU:$E9A2 PRG:29A2 4C 01 EA + sta a:Zp95,y ; CPU:$E99F PRG:299F 99 95 00 + jmp SubCEA01 ; CPU:$E9A2 PRG:29A2 4C 01 EA ; ----------------------------------------------------------------------------- -; Routine: Label_E9A5 +; Routine: SubCE9A5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11504,13 +11504,13 @@ Label_E99C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9A5: - lda a:$0065,y ; CPU:$E9A5 PRG:29A5 B9 65 00 +SubCE9A5: + lda a:Zp65,y ; CPU:$E9A5 PRG:29A5 B9 65 00 tax ; CPU:$E9A8 PRG:29A8 AA lda $035E,x ; CPU:$E9A9 PRG:29A9 BD 5E 03 - bpl Label_E968 ; CPU:$E9AC PRG:29AC 10 BA + bpl Sub_8764_OnNonnegative_E968 ; CPU:$E9AC PRG:29AC 10 BA ; ----------------------------------------------------------------------------- -; Routine: Label_E9AE +; Routine: SubCE9AE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11518,14 +11518,14 @@ Label_E9A5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9AE: +SubCE9AE: cpx #$0A ; CPU:$E9AE PRG:29AE E0 0A - bcs Label_E9BA ; CPU:$E9B0 PRG:29B0 B0 08 + bcs Sub_8764_OnCarrySet_E9BA ; CPU:$E9B0 PRG:29B0 B0 08 lda #$00 ; CPU:$E9B2 PRG:29B2 A9 00 sta $0589,x ; CPU:$E9B4 PRG:29B4 9D 89 05 - jsr $DDDB ; CPU:$E9B7 PRG:29B7 20 DB DD + jsr SubCDDDB ; CPU:$E9B7 PRG:29B7 20 DB DD ; ----------------------------------------------------------------------------- -; Routine: Label_E9BA +; Routine: Sub_8764_OnCarrySet_E9BA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11533,16 +11533,16 @@ Label_E9AE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9BA: +Sub_8764_OnCarrySet_E9BA: lda $04AB,x ; CPU:$E9BA PRG:29BA BD AB 04 and #$7F ; CPU:$E9BD PRG:29BD 29 7F sta $04AB,x ; CPU:$E9BF PRG:29BF 9D AB 04 lda #$FF ; CPU:$E9C2 PRG:29C2 A9 FF - sta a:$0065,y ; CPU:$E9C4 PRG:29C4 99 65 00 + sta a:Zp65,y ; CPU:$E9C4 PRG:29C4 99 65 00 cpy #$08 ; CPU:$E9C7 PRG:29C7 C0 08 - bcc Label_E9D7 ; CPU:$E9C9 PRG:29C9 90 0C + bcc Sub_8764_OnCarryClear_E9D7 ; CPU:$E9C9 PRG:29C9 90 0C ; ----------------------------------------------------------------------------- -; Routine: Label_E9CB +; Routine: SubCE9CB ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11550,7 +11550,7 @@ Label_E9BA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9CB: +SubCE9CB: lda $E6D5,y ; CPU:$E9CB PRG:29CB B9 D5 E6 and Zp09 ; CPU:$E9CE PRG:29CE 25 09 sta Zp09 ; CPU:$E9D0 PRG:29D0 85 09 @@ -11558,7 +11558,7 @@ Label_E9CB: sta Zp31 ; CPU:$E9D4 PRG:29D4 85 31 rts ; CPU:$E9D6 PRG:29D6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9D7 +; Routine: Sub_8764_OnCarryClear_E9D7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11566,12 +11566,12 @@ Label_E9CB: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9D7: +Sub_8764_OnCarryClear_E9D7: lda Zp09 ; CPU:$E9D7 PRG:29D7 A5 09 - beq Label_E9E8 ; CPU:$E9D9 PRG:29D9 F0 0D + beq Sub_8764_OnZero_E9E8 ; CPU:$E9D9 PRG:29D9 F0 0D ldx #$0B ; CPU:$E9DB PRG:29DB A2 0B ; ----------------------------------------------------------------------------- -; Routine: Label_E9DD +; Routine: Sub_8764_OnCarryClear_E9DD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11579,12 +11579,12 @@ Label_E9D7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9DD: +Sub_8764_OnCarryClear_E9DD: lda Zp65,x ; CPU:$E9DD PRG:29DD B5 65 - beq Label_E9E3 ; CPU:$E9DF PRG:29DF F0 02 - bpl Label_E9E9 ; CPU:$E9E1 PRG:29E1 10 06 + beq Sub_8764_OnZero_E9E3 ; CPU:$E9DF PRG:29DF F0 02 + bpl Sub_8764_OnNonnegative_E9E9 ; CPU:$E9E1 PRG:29E1 10 06 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E3 +; Routine: Sub_8764_OnZero_E9E3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11592,12 +11592,12 @@ Label_E9DD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E3: +Sub_8764_OnZero_E9E3: inx ; CPU:$E9E3 PRG:29E3 E8 cpx #$10 ; CPU:$E9E4 PRG:29E4 E0 10 - bcc Label_E9DD ; CPU:$E9E6 PRG:29E6 90 F5 + bcc Sub_8764_OnCarryClear_E9DD ; CPU:$E9E6 PRG:29E6 90 F5 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E8 +; Routine: Sub_8764_OnZero_E9E8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11605,10 +11605,10 @@ Label_E9E3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E8: +Sub_8764_OnZero_E9E8: rts ; CPU:$E9E8 PRG:29E8 60 ; ----------------------------------------------------------------------------- -; Routine: Label_E9E9 +; Routine: Sub_8764_OnNonnegative_E9E9 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11616,20 +11616,20 @@ Label_E9E8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_E9E9: +Sub_8764_OnNonnegative_E9E9: stx Zp29 ; CPU:$E9E9 PRG:29E9 86 29 sty Zp2A ; CPU:$E9EB PRG:29EB 84 2A tax ; CPU:$E9ED PRG:29ED AA - jsr $EC9E ; CPU:$E9EE PRG:29EE 20 9E EC + jsr SubCEC9E ; CPU:$E9EE PRG:29EE 20 9E EC ldy Zp29 ; CPU:$E9F1 PRG:29F1 A4 29 - jsr $E9CB ; CPU:$E9F3 PRG:29F3 20 CB E9 + jsr SubCE9CB ; CPU:$E9F3 PRG:29F3 20 CB E9 lda #$FA ; CPU:$E9F6 PRG:29F6 A9 FA - sta a:$0065,y ; CPU:$E9F8 PRG:29F8 99 65 00 - sta a:$0095,y ; CPU:$E9FB PRG:29FB 99 95 00 + sta a:Zp65,y ; CPU:$E9F8 PRG:29F8 99 65 00 + sta a:Zp95,y ; CPU:$E9FB PRG:29FB 99 95 00 ldy Zp2A ; CPU:$E9FE PRG:29FE A4 2A rts ; CPU:$EA00 PRG:2A00 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EA01 +; Routine: SubCEA01 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11637,7 +11637,7 @@ Label_E9E9: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA01: +SubCEA01: sec ; CPU:$EA01 PRG:2A01 38 lda $0280,x ; CPU:$EA02 PRG:2A02 BD 80 02 sbc ZpAE ; CPU:$EA05 PRG:2A05 E5 AE @@ -11645,7 +11645,7 @@ Label_EA01: lda $035E,x ; CPU:$EA09 PRG:2A09 BD 5E 03 sbc ZpAF ; CPU:$EA0C PRG:2A0C E5 AF sta Zp2A ; CPU:$EA0E PRG:2A0E 85 2A - bpl Label_EA1F ; CPU:$EA10 PRG:2A10 10 0D + bpl Sub_8764_OnNonnegative_EA1F ; CPU:$EA10 PRG:2A10 10 0D clc ; CPU:$EA12 PRG:2A12 18 lda Zp29 ; CPU:$EA13 PRG:2A13 A5 29 adc #$80 ; CPU:$EA15 PRG:2A15 69 80 @@ -11654,7 +11654,7 @@ Label_EA01: adc #$0C ; CPU:$EA1B PRG:2A1B 69 0C sta Zp2A ; CPU:$EA1D PRG:2A1D 85 2A ; ----------------------------------------------------------------------------- -; Routine: Label_EA1F +; Routine: Sub_8764_OnNonnegative_EA1F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11662,17 +11662,17 @@ Label_EA01: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA1F: - beq Label_E9AE ; CPU:$EA1F PRG:2A1F F0 8D +Sub_8764_OnNonnegative_EA1F: + beq SubCE9AE ; CPU:$EA1F PRG:2A1F F0 8D cmp #$01 ; CPU:$EA21 PRG:2A21 C9 01 - beq Label_EA66 ; CPU:$EA23 PRG:2A23 F0 41 + beq Sub_8764_OnZero_EA66 ; CPU:$EA23 PRG:2A23 F0 41 lda $043C,x ; CPU:$EA25 PRG:2A25 BD 3C 04 cmp #$A9 ; CPU:$EA28 PRG:2A28 C9 A9 - bcc Label_EA30 ; CPU:$EA2A PRG:2A2A 90 04 + bcc Sub_8764_OnCarryClear_EA30 ; CPU:$EA2A PRG:2A2A 90 04 cmp #$AD ; CPU:$EA2C PRG:2A2C C9 AD - bcc Label_EA4E ; CPU:$EA2E PRG:2A2E 90 1E + bcc Sub_8764_OnCarryClear_EA4E ; CPU:$EA2E PRG:2A2E 90 1E ; ----------------------------------------------------------------------------- -; Routine: Label_EA30 +; Routine: Sub_8764_OnCarryClear_EA30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11680,13 +11680,13 @@ Label_EA1F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA30: +Sub_8764_OnCarryClear_EA30: cmp #$66 ; CPU:$EA30 PRG:2A30 C9 66 - bcc Label_EA38 ; CPU:$EA32 PRG:2A32 90 04 + bcc Sub_8764_OnCarryClear_EA38 ; CPU:$EA32 PRG:2A32 90 04 cmp #$68 ; CPU:$EA34 PRG:2A34 C9 68 - bcc Label_EA45 ; CPU:$EA36 PRG:2A36 90 0D + bcc Sub_8764_OnCarryClear_EA45 ; CPU:$EA36 PRG:2A36 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_EA38 +; Routine: Sub_8764_OnCarryClear_EA38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11694,15 +11694,15 @@ Label_EA30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA38: +Sub_8764_OnCarryClear_EA38: cmp #$64 ; CPU:$EA38 PRG:2A38 C9 64 - bne Label_EA5A ; CPU:$EA3A PRG:2A3A D0 1E + bne Sub_8764_OnNonzero_EA5A ; CPU:$EA3A PRG:2A3A D0 1E lda Zp29 ; CPU:$EA3C PRG:2A3C A5 29 cmp #$32 ; CPU:$EA3E PRG:2A3E C9 32 - bcc Label_EA57 ; CPU:$EA40 PRG:2A40 90 15 - jmp $E9AE ; CPU:$EA42 PRG:2A42 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA40 PRG:2A40 90 15 + jmp SubCE9AE ; CPU:$EA42 PRG:2A42 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA45 +; Routine: Sub_8764_OnCarryClear_EA45 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11710,13 +11710,13 @@ Label_EA38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA45: +Sub_8764_OnCarryClear_EA45: lda Zp29 ; CPU:$EA45 PRG:2A45 A5 29 cmp #$56 ; CPU:$EA47 PRG:2A47 C9 56 - bcc Label_EA57 ; CPU:$EA49 PRG:2A49 90 0C - jmp $E9AE ; CPU:$EA4B PRG:2A4B 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA49 PRG:2A49 90 0C + jmp SubCE9AE ; CPU:$EA4B PRG:2A4B 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA4E +; Routine: Sub_8764_OnCarryClear_EA4E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11724,13 +11724,13 @@ Label_EA45: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA4E: +Sub_8764_OnCarryClear_EA4E: lda Zp29 ; CPU:$EA4E PRG:2A4E A5 29 cmp #$4A ; CPU:$EA50 PRG:2A50 C9 4A - bcc Label_EA57 ; CPU:$EA52 PRG:2A52 90 03 - jmp $E9AE ; CPU:$EA54 PRG:2A54 4C AE E9 + bcc Sub_8764_OnCarryClear_EA57 ; CPU:$EA52 PRG:2A52 90 03 + jmp SubCE9AE ; CPU:$EA54 PRG:2A54 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA57 +; Routine: Sub_8764_OnCarryClear_EA57 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11738,10 +11738,10 @@ Label_EA4E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA57: - jmp $EAB5 ; CPU:$EA57 PRG:2A57 4C B5 EA +Sub_8764_OnCarryClear_EA57: + jmp SubCEAB5 ; CPU:$EA57 PRG:2A57 4C B5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA5A +; Routine: Sub_8764_OnNonzero_EA5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11749,13 +11749,13 @@ Label_EA57: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA5A: +Sub_8764_OnNonzero_EA5A: lda Zp29 ; CPU:$EA5A PRG:2A5A A5 29 cmp #$5A ; CPU:$EA5C PRG:2A5C C9 5A - bcc Label_EA63 ; CPU:$EA5E PRG:2A5E 90 03 - jmp $E9AE ; CPU:$EA60 PRG:2A60 4C AE E9 + bcc Sub_8764_OnCarryClear_EA63 ; CPU:$EA5E PRG:2A5E 90 03 + jmp SubCE9AE ; CPU:$EA60 PRG:2A60 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA63 +; Routine: Sub_8764_OnCarryClear_EA63 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11763,10 +11763,10 @@ Label_EA5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA63: - jmp $EAB5 ; CPU:$EA63 PRG:2A63 4C B5 EA +Sub_8764_OnCarryClear_EA63: + jmp SubCEAB5 ; CPU:$EA63 PRG:2A63 4C B5 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA66 +; Routine: Sub_8764_OnZero_EA66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11774,14 +11774,14 @@ Label_EA63: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA66: +Sub_8764_OnZero_EA66: lda $043C,x ; CPU:$EA66 PRG:2A66 BD 3C 04 cmp #$A9 ; CPU:$EA69 PRG:2A69 C9 A9 - bcc Label_EA71 ; CPU:$EA6B PRG:2A6B 90 04 + bcc Sub_8764_OnCarryClear_EA71 ; CPU:$EA6B PRG:2A6B 90 04 cmp #$AD ; CPU:$EA6D PRG:2A6D C9 AD - bcc Label_EA8F ; CPU:$EA6F PRG:2A6F 90 1E + bcc Sub_8764_OnCarryClear_EA8F ; CPU:$EA6F PRG:2A6F 90 1E ; ----------------------------------------------------------------------------- -; Routine: Label_EA71 +; Routine: Sub_8764_OnCarryClear_EA71 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11789,13 +11789,13 @@ Label_EA66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA71: +Sub_8764_OnCarryClear_EA71: cmp #$66 ; CPU:$EA71 PRG:2A71 C9 66 - bcc Label_EA79 ; CPU:$EA73 PRG:2A73 90 04 + bcc Sub_8764_OnCarryClear_EA79 ; CPU:$EA73 PRG:2A73 90 04 cmp #$68 ; CPU:$EA75 PRG:2A75 C9 68 - bcc Label_EA86 ; CPU:$EA77 PRG:2A77 90 0D + bcc Sub_8764_OnCarryClear_EA86 ; CPU:$EA77 PRG:2A77 90 0D ; ----------------------------------------------------------------------------- -; Routine: Label_EA79 +; Routine: Sub_8764_OnCarryClear_EA79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11803,15 +11803,15 @@ Label_EA71: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA79: +Sub_8764_OnCarryClear_EA79: cmp #$64 ; CPU:$EA79 PRG:2A79 C9 64 - bne Label_EA9B ; CPU:$EA7B PRG:2A7B D0 1E + bne Sub_8764_OnNonzero_EA9B ; CPU:$EA7B PRG:2A7B D0 1E lda Zp29 ; CPU:$EA7D PRG:2A7D A5 29 cmp #$50 ; CPU:$EA7F PRG:2A7F C9 50 - bcs Label_EA98 ; CPU:$EA81 PRG:2A81 B0 15 - jmp $E9AE ; CPU:$EA83 PRG:2A83 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA81 PRG:2A81 B0 15 + jmp SubCE9AE ; CPU:$EA83 PRG:2A83 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA86 +; Routine: Sub_8764_OnCarryClear_EA86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11819,13 +11819,13 @@ Label_EA79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA86: +Sub_8764_OnCarryClear_EA86: lda Zp29 ; CPU:$EA86 PRG:2A86 A5 29 cmp #$6A ; CPU:$EA88 PRG:2A88 C9 6A - bcs Label_EA98 ; CPU:$EA8A PRG:2A8A B0 0C - jmp $E9AE ; CPU:$EA8C PRG:2A8C 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA8A PRG:2A8A B0 0C + jmp SubCE9AE ; CPU:$EA8C PRG:2A8C 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA8F +; Routine: Sub_8764_OnCarryClear_EA8F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11833,13 +11833,13 @@ Label_EA86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA8F: +Sub_8764_OnCarryClear_EA8F: lda Zp29 ; CPU:$EA8F PRG:2A8F A5 29 cmp #$68 ; CPU:$EA91 PRG:2A91 C9 68 - bcs Label_EA98 ; CPU:$EA93 PRG:2A93 B0 03 - jmp $E9AE ; CPU:$EA95 PRG:2A95 4C AE E9 + bcs Sub_8764_OnCarrySet_EA98 ; CPU:$EA93 PRG:2A93 B0 03 + jmp SubCE9AE ; CPU:$EA95 PRG:2A95 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EA98 +; Routine: Sub_8764_OnCarrySet_EA98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11847,10 +11847,10 @@ Label_EA8F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA98: - jmp $EAA4 ; CPU:$EA98 PRG:2A98 4C A4 EA +Sub_8764_OnCarrySet_EA98: + jmp SubCEAA4 ; CPU:$EA98 PRG:2A98 4C A4 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EA9B +; Routine: Sub_8764_OnNonzero_EA9B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11858,13 +11858,13 @@ Label_EA98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EA9B: +Sub_8764_OnNonzero_EA9B: lda Zp29 ; CPU:$EA9B PRG:2A9B A5 29 cmp #$69 ; CPU:$EA9D PRG:2A9D C9 69 - bcs Label_EAA4 ; CPU:$EA9F PRG:2A9F B0 03 - jmp $E9AE ; CPU:$EAA1 PRG:2AA1 4C AE E9 + bcs SubCEAA4 ; CPU:$EA9F PRG:2A9F B0 03 + jmp SubCE9AE ; CPU:$EAA1 PRG:2AA1 4C AE E9 ; ----------------------------------------------------------------------------- -; Routine: Label_EAA4 +; Routine: SubCEAA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11872,17 +11872,17 @@ Label_EA9B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAA4: +SubCEAA4: lda Zp29 ; CPU:$EAA4 PRG:2AA4 A5 29 cmp #$33 ; CPU:$EAA6 PRG:2AA6 C9 33 - bcs Label_EAB5 ; CPU:$EAA8 PRG:2AA8 B0 0B + bcs SubCEAB5 ; CPU:$EAA8 PRG:2AA8 B0 0B clc ; CPU:$EAAA PRG:2AAA 18 lda Zp29 ; CPU:$EAAB PRG:2AAB A5 29 adc #$CD ; CPU:$EAAD PRG:2AAD 69 CD - sta a:$0085,y ; CPU:$EAAF PRG:2AAF 99 85 00 - jmp $EAC3 ; CPU:$EAB2 PRG:2AB2 4C C3 EA + sta a:Zp85,y ; CPU:$EAAF PRG:2AAF 99 85 00 + jmp SubCEAC3 ; CPU:$EAB2 PRG:2AB2 4C C3 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EAB5 +; Routine: SubCEAB5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11890,16 +11890,16 @@ Label_EAA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAB5: +SubCEAB5: sec ; CPU:$EAB5 PRG:2AB5 38 lda Zp29 ; CPU:$EAB6 PRG:2AB6 A5 29 sbc #$33 ; CPU:$EAB8 PRG:2AB8 E9 33 - sta a:$0085,y ; CPU:$EABA PRG:2ABA 99 85 00 + sta a:Zp85,y ; CPU:$EABA PRG:2ABA 99 85 00 lda Zp2A ; CPU:$EABD PRG:2ABD A5 2A sbc #$01 ; CPU:$EABF PRG:2ABF E9 01 - beq Label_EACE ; CPU:$EAC1 PRG:2AC1 F0 0B + beq Sub_8764_OnZero_EACE ; CPU:$EAC1 PRG:2AC1 F0 0B ; ----------------------------------------------------------------------------- -; Routine: Label_EAC3 +; Routine: SubCEAC3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11907,14 +11907,14 @@ Label_EAB5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAC3: +SubCEAC3: cpy #$08 ; CPU:$EAC3 PRG:2AC3 C0 08 - bcs Label_EACF ; CPU:$EAC5 PRG:2AC5 B0 08 + bcs Sub_8764_OnCarrySet_EACF ; CPU:$EAC5 PRG:2AC5 B0 08 lda $E6CD,y ; CPU:$EAC7 PRG:2AC7 B9 CD E6 ora Zp36 ; CPU:$EACA PRG:2ACA 05 36 sta Zp36 ; CPU:$EACC PRG:2ACC 85 36 ; ----------------------------------------------------------------------------- -; Routine: Label_EACE +; Routine: Sub_8764_OnZero_EACE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11922,10 +11922,10 @@ Label_EAC3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACE: +Sub_8764_OnZero_EACE: rts ; CPU:$EACE PRG:2ACE 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EACF +; Routine: Sub_8764_OnCarrySet_EACF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11933,10 +11933,10 @@ Label_EACE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EACF: +Sub_8764_OnCarrySet_EACF: lda $E6C5,y ; CPU:$EACF PRG:2ACF B9 C5 E6 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD2 +; Routine: SubCEAD2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11944,12 +11944,12 @@ Label_EACF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD2: +SubCEAD2: ora Zp37 ; CPU:$EAD2 PRG:2AD2 05 37 sta Zp37 ; CPU:$EAD4 PRG:2AD4 85 37 rts ; CPU:$EAD6 PRG:2AD6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAD7 +; Routine: SubCEAD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11957,14 +11957,14 @@ Label_EAD2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAD7: +SubCEAD7: lda Zp65,x ; CPU:$EAD7 PRG:2AD7 B5 65 cmp #$15 ; CPU:$EAD9 PRG:2AD9 C9 15 - bcs Label_EAE1 ; CPU:$EADB PRG:2ADB B0 04 + bcs Sub_8764_OnCarrySet_EAE1 ; CPU:$EADB PRG:2ADB B0 04 cmp #$0B ; CPU:$EADD PRG:2ADD C9 0B - bcs Label_EAE2 ; CPU:$EADF PRG:2ADF B0 01 + bcs Sub_8764_OnCarrySet_EAE2 ; CPU:$EADF PRG:2ADF B0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE1 +; Routine: Sub_8764_OnCarrySet_EAE1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11972,10 +11972,10 @@ Label_EAD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE1: +Sub_8764_OnCarrySet_EAE1: clc ; CPU:$EAE1 PRG:2AE1 18 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE2 +; Routine: Sub_8764_OnCarrySet_EAE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11983,10 +11983,10 @@ Label_EAE1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE2: +Sub_8764_OnCarrySet_EAE2: rts ; CPU:$EAE2 PRG:2AE2 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAE3 +; Routine: SubCEAE3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -11994,9 +11994,9 @@ Label_EAE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAE3: - jsr $EAD7 ; CPU:$EAE3 PRG:2AE3 20 D7 EA - bcc Label_EAF5 ; CPU:$EAE6 PRG:2AE6 90 0D +SubCEAE3: + jsr SubCEAD7 ; CPU:$EAE3 PRG:2AE3 20 D7 EA + bcc Sub_8764_OnCarryClear_EAF5 ; CPU:$EAE6 PRG:2AE6 90 0D tay ; CPU:$EAE8 PRG:2AE8 A8 lda $04AB,y ; CPU:$EAE9 PRG:2AE9 B9 AB 04 and #$7F ; CPU:$EAEC PRG:2AEC 29 7F @@ -12004,7 +12004,7 @@ Label_EAE3: lda #$FF ; CPU:$EAF1 PRG:2AF1 A9 FF sta Zp65,x ; CPU:$EAF3 PRG:2AF3 95 65 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF5 +; Routine: Sub_8764_OnCarryClear_EAF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12012,10 +12012,10 @@ Label_EAE3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF5: +Sub_8764_OnCarryClear_EAF5: rts ; CPU:$EAF5 PRG:2AF5 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EAF6 +; Routine: SubCEAF6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12023,16 +12023,16 @@ Label_EAF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EAF6: +SubCEAF6: ldx #$07 ; CPU:$EAF6 PRG:2AF6 A2 07 - jsr $EAD7 ; CPU:$EAF8 PRG:2AF8 20 D7 EA - bcs Label_EB06 ; CPU:$EAFB PRG:2AFB B0 09 + jsr SubCEAD7 ; CPU:$EAF8 PRG:2AF8 20 D7 EA + bcs Sub_8764_OnCarrySet_EB06 ; CPU:$EAFB PRG:2AFB B0 09 ldx #$05 ; CPU:$EAFD PRG:2AFD A2 05 - jsr $EAE3 ; CPU:$EAFF PRG:2AFF 20 E3 EA + jsr SubCEAE3 ; CPU:$EAFF PRG:2AFF 20 E3 EA inx ; CPU:$EB02 PRG:2B02 E8 - jsr $EAE3 ; CPU:$EB03 PRG:2B03 20 E3 EA + jsr SubCEAE3 ; CPU:$EB03 PRG:2B03 20 E3 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB06 +; Routine: Sub_8764_OnCarrySet_EB06 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12040,14 +12040,14 @@ Label_EAF6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB06: +Sub_8764_OnCarrySet_EB06: ldx #$01 ; CPU:$EB06 PRG:2B06 A2 01 lda ZpB1 ; CPU:$EB08 PRG:2B08 A5 B1 cmp #$05 ; CPU:$EB0A PRG:2B0A C9 05 - bcc Label_EB30 ; CPU:$EB0C PRG:2B0C 90 22 - beq Label_EB2A ; CPU:$EB0E PRG:2B0E F0 1A + bcc Sub_8764_OnCarryClear_EB30 ; CPU:$EB0C PRG:2B0C 90 22 + beq Sub_8764_OnZero_EB2A ; CPU:$EB0E PRG:2B0E F0 1A ; ----------------------------------------------------------------------------- -; Routine: Label_EB10 +; Routine: Sub_8764_OnCarrySet_EB10 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12055,9 +12055,9 @@ Label_EB06: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB10: +Sub_8764_OnCarrySet_EB10: lda $EBCC ; CPU:$EB10 PRG:2B10 AD CC EB - sta Zp1B ; CPU:$EB13 PRG:2B13 85 1B + sta IndDispatch1B ; CPU:$EB13 PRG:2B13 85 1B lda $EBCD ; CPU:$EB15 PRG:2B15 AD CD EB sta Zp1C ; CPU:$EB18 PRG:2B18 85 1C sec ; CPU:$EB1A PRG:2B1A 38 @@ -12067,9 +12067,9 @@ Label_EB10: lda ZpB1 ; CPU:$EB21 PRG:2B21 A5 B1 sbc #$05 ; CPU:$EB23 PRG:2B23 E9 05 sta Zp24 ; CPU:$EB25 PRG:2B25 85 24 - jmp $EB47 ; CPU:$EB27 PRG:2B27 4C 47 EB + jmp SubCEB47 ; CPU:$EB27 PRG:2B27 4C 47 EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB2A +; Routine: Sub_8764_OnZero_EB2A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12077,12 +12077,12 @@ Label_EB10: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB2A: +Sub_8764_OnZero_EB2A: lda ZpB0 ; CPU:$EB2A PRG:2B2A A5 B0 cmp #$78 ; CPU:$EB2C PRG:2B2C C9 78 - bcs Label_EB10 ; CPU:$EB2E PRG:2B2E B0 E0 + bcs Sub_8764_OnCarrySet_EB10 ; CPU:$EB2E PRG:2B2E B0 E0 ; ----------------------------------------------------------------------------- -; Routine: Label_EB30 +; Routine: Sub_8764_OnCarryClear_EB30 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12090,9 +12090,9 @@ Label_EB2A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB30: +Sub_8764_OnCarryClear_EB30: lda $EBCA ; CPU:$EB30 PRG:2B30 AD CA EB - sta Zp1B ; CPU:$EB33 PRG:2B33 85 1B + sta IndDispatch1B ; CPU:$EB33 PRG:2B33 85 1B lda $EBCB ; CPU:$EB35 PRG:2B35 AD CB EB sta Zp1C ; CPU:$EB38 PRG:2B38 85 1C clc ; CPU:$EB3A PRG:2B3A 18 @@ -12103,7 +12103,7 @@ Label_EB30: adc #$02 ; CPU:$EB43 PRG:2B43 69 02 sta Zp24 ; CPU:$EB45 PRG:2B45 85 24 ; ----------------------------------------------------------------------------- -; Routine: Label_EB47 +; Routine: SubCEB47 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12111,13 +12111,13 @@ Label_EB30: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB47: +SubCEB47: lda ZpAF ; CPU:$EB47 PRG:2B47 A5 AF cmp #$08 ; CPU:$EB49 PRG:2B49 C9 08 - bcc Label_EB65 ; CPU:$EB4B PRG:2B4B 90 18 - beq Label_EB5F ; CPU:$EB4D PRG:2B4D F0 10 + bcc Sub_8764_OnCarryClear_EB65 ; CPU:$EB4B PRG:2B4B 90 18 + beq Sub_8764_OnZero_EB5F ; CPU:$EB4D PRG:2B4D F0 10 ; ----------------------------------------------------------------------------- -; Routine: Label_EB4F +; Routine: Sub_8764_OnCarrySet_EB4F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12125,7 +12125,7 @@ Label_EB47: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB4F: +Sub_8764_OnCarrySet_EB4F: sec ; CPU:$EB4F PRG:2B4F 38 lda ZpAE ; CPU:$EB50 PRG:2B50 A5 AE sbc #$C0 ; CPU:$EB52 PRG:2B52 E9 C0 @@ -12133,9 +12133,9 @@ Label_EB4F: lda ZpAF ; CPU:$EB56 PRG:2B56 A5 AF sbc #$08 ; CPU:$EB58 PRG:2B58 E9 08 sta Zp22 ; CPU:$EB5A PRG:2B5A 85 22 - jmp $EB9E ; CPU:$EB5C PRG:2B5C 4C 9E EB + jmp SubCEB9E ; CPU:$EB5C PRG:2B5C 4C 9E EB ; ----------------------------------------------------------------------------- -; Routine: Label_EB5F +; Routine: Sub_8764_OnZero_EB5F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12143,12 +12143,12 @@ Label_EB4F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB5F: +Sub_8764_OnZero_EB5F: lda ZpAE ; CPU:$EB5F PRG:2B5F A5 AE cmp #$C0 ; CPU:$EB61 PRG:2B61 C9 C0 - bcs Label_EB4F ; CPU:$EB63 PRG:2B63 B0 EA + bcs Sub_8764_OnCarrySet_EB4F ; CPU:$EB63 PRG:2B63 B0 EA ; ----------------------------------------------------------------------------- -; Routine: Label_EB65 +; Routine: Sub_8764_OnCarryClear_EB65 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12156,7 +12156,7 @@ Label_EB5F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB65: +Sub_8764_OnCarryClear_EB65: clc ; CPU:$EB65 PRG:2B65 18 lda ZpAE ; CPU:$EB66 PRG:2B66 A5 AE adc #$C0 ; CPU:$EB68 PRG:2B68 69 C0 @@ -12165,7 +12165,7 @@ Label_EB65: adc #$03 ; CPU:$EB6E PRG:2B6E 69 03 sta Zp22 ; CPU:$EB70 PRG:2B70 85 22 ; ----------------------------------------------------------------------------- -; Routine: Label_EB72 +; Routine: Sub_8764_OnCarryClear_EB72 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12173,17 +12173,17 @@ Label_EB65: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB72: +Sub_8764_OnCarryClear_EB72: lda $035E,x ; CPU:$EB72 PRG:2B72 BD 5E 03 - bmi Label_EB86 ; CPU:$EB75 PRG:2B75 30 0F + bmi Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB75 PRG:2B75 30 0F cmp ZpAF ; CPU:$EB77 PRG:2B77 C5 AF - bcc Label_EB86 ; CPU:$EB79 PRG:2B79 90 0B - beq Label_EB8C ; CPU:$EB7B PRG:2B7B F0 0F + bcc Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB79 PRG:2B79 90 0B + beq Sub_8764_OnZero_EB8C ; CPU:$EB7B PRG:2B7B F0 0F cmp Zp22 ; CPU:$EB7D PRG:2B7D C5 22 - beq Label_EB95 ; CPU:$EB7F PRG:2B7F F0 14 - bcs Label_EB86 ; CPU:$EB81 PRG:2B81 B0 03 + beq Sub_8764_OnZero_EB95 ; CPU:$EB7F PRG:2B7F F0 14 + bcs Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB81 PRG:2B81 B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EB83 +; Routine: Sub_8764_JoinBranchPaths_EB83 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12191,10 +12191,10 @@ Label_EB72: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB83: - jsr $E7A3 ; CPU:$EB83 PRG:2B83 20 A3 E7 +Sub_8764_JoinBranchPaths_EB83: + jsr SubCE7A3 ; CPU:$EB83 PRG:2B83 20 A3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_EB86 +; Routine: Sub_8764_JoinBranchPaths_EB86 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12202,13 +12202,13 @@ Label_EB83: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB86: +Sub_8764_JoinBranchPaths_EB86: inx ; CPU:$EB86 PRG:2B86 E8 cpx #$6F ; CPU:$EB87 PRG:2B87 E0 6F - bcc Label_EB72 ; CPU:$EB89 PRG:2B89 90 E7 + bcc Sub_8764_OnCarryClear_EB72 ; CPU:$EB89 PRG:2B89 90 E7 rts ; CPU:$EB8B PRG:2B8B 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EB8C +; Routine: Sub_8764_OnZero_EB8C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12216,13 +12216,13 @@ Label_EB86: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB8C: +Sub_8764_OnZero_EB8C: lda $0280,x ; CPU:$EB8C PRG:2B8C BD 80 02 cmp ZpAE ; CPU:$EB8F PRG:2B8F C5 AE - bcc Label_EB86 ; CPU:$EB91 PRG:2B91 90 F3 - bcs Label_EB83 ; CPU:$EB93 PRG:2B93 B0 EE + bcc Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB91 PRG:2B91 90 F3 + bcs Sub_8764_JoinBranchPaths_EB83 ; CPU:$EB93 PRG:2B93 B0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EB95 +; Routine: Sub_8764_OnZero_EB95 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12230,13 +12230,13 @@ Label_EB8C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB95: +Sub_8764_OnZero_EB95: lda $0280,x ; CPU:$EB95 PRG:2B95 BD 80 02 cmp Zp21 ; CPU:$EB98 PRG:2B98 C5 21 - bcc Label_EB83 ; CPU:$EB9A PRG:2B9A 90 E7 - bcs Label_EB86 ; CPU:$EB9C PRG:2B9C B0 E8 + bcc Sub_8764_JoinBranchPaths_EB83 ; CPU:$EB9A PRG:2B9A 90 E7 + bcs Sub_8764_JoinBranchPaths_EB86 ; CPU:$EB9C PRG:2B9C B0 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EB9E +; Routine: SubCEB9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12244,17 +12244,17 @@ Label_EB95: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EB9E: +SubCEB9E: lda $035E,x ; CPU:$EB9E PRG:2B9E BD 5E 03 - bmi Label_EBB2 ; CPU:$EBA1 PRG:2BA1 30 0F + bmi Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBA1 PRG:2BA1 30 0F cmp ZpAF ; CPU:$EBA3 PRG:2BA3 C5 AF - beq Label_EBB8 ; CPU:$EBA5 PRG:2BA5 F0 11 - bcs Label_EBAF ; CPU:$EBA7 PRG:2BA7 B0 06 + beq Sub_8764_OnZero_EBB8 ; CPU:$EBA5 PRG:2BA5 F0 11 + bcs Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBA7 PRG:2BA7 B0 06 cmp Zp22 ; CPU:$EBA9 PRG:2BA9 C5 22 - beq Label_EBC1 ; CPU:$EBAB PRG:2BAB F0 14 - bcs Label_EBB2 ; CPU:$EBAD PRG:2BAD B0 03 + beq Sub_8764_OnZero_EBC1 ; CPU:$EBAB PRG:2BAB F0 14 + bcs Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBAD PRG:2BAD B0 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EBAF +; Routine: Sub_8764_JoinBranchPaths_EBAF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12262,10 +12262,10 @@ Label_EB9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBAF: - jsr $E7A3 ; CPU:$EBAF PRG:2BAF 20 A3 E7 +Sub_8764_JoinBranchPaths_EBAF: + jsr SubCE7A3 ; CPU:$EBAF PRG:2BAF 20 A3 E7 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB2 +; Routine: Sub_8764_JoinBranchPaths_EBB2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12273,13 +12273,13 @@ Label_EBAF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB2: +Sub_8764_JoinBranchPaths_EBB2: inx ; CPU:$EBB2 PRG:2BB2 E8 cpx #$6F ; CPU:$EBB3 PRG:2BB3 E0 6F - bcc Label_EB9E ; CPU:$EBB5 PRG:2BB5 90 E7 + bcc SubCEB9E ; CPU:$EBB5 PRG:2BB5 90 E7 rts ; CPU:$EBB7 PRG:2BB7 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EBB8 +; Routine: Sub_8764_OnZero_EBB8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12287,13 +12287,13 @@ Label_EBB2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBB8: +Sub_8764_OnZero_EBB8: lda $0280,x ; CPU:$EBB8 PRG:2BB8 BD 80 02 cmp ZpAE ; CPU:$EBBB PRG:2BBB C5 AE - bcc Label_EBB2 ; CPU:$EBBD PRG:2BBD 90 F3 - bcs Label_EBAF ; CPU:$EBBF PRG:2BBF B0 EE + bcc Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBBD PRG:2BBD 90 F3 + bcs Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBBF PRG:2BBF B0 EE ; ----------------------------------------------------------------------------- -; Routine: Label_EBC1 +; Routine: Sub_8764_OnZero_EBC1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12301,11 +12301,11 @@ Label_EBB8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EBC1: +Sub_8764_OnZero_EBC1: lda $0280,x ; CPU:$EBC1 PRG:2BC1 BD 80 02 cmp Zp21 ; CPU:$EBC4 PRG:2BC4 C5 21 - bcc Label_EBAF ; CPU:$EBC6 PRG:2BC6 90 E7 - bcs Label_EBB2 ; CPU:$EBC8 PRG:2BC8 B0 E8 + bcc Sub_8764_JoinBranchPaths_EBAF ; CPU:$EBC6 PRG:2BC6 90 E7 + bcs Sub_8764_JoinBranchPaths_EBB2 ; CPU:$EBC8 PRG:2BC8 B0 E8 ora ZpEC ; CPU:$EBCA PRG:2BCA 05 EC ; ---- data $EBCC-$EC9D (210 bytes) ---- ; referenced by `lda $EBCC` at $EB10 (operand $EBCC falls inside this region) @@ -12325,7 +12325,7 @@ Label_EBC1: .byte $B0, $F6, $90, $AA, $A0, $03, $B9, $65, $00, $30, $07, $C8, $C0, $08, $90, $F6 ; CPU:$EC8C PRG:2C8C B0 F6 90 AA A0 03 B9 65 00 30 07 C8 C0 08 90 F6 .byte $B0, $9C ; CPU:$EC9C PRG:2C9C B0 9C ; ----------------------------------------------------------------------------- -; Routine: Label_EC9E +; Routine: SubCEC9E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12333,26 +12333,26 @@ Label_EBC1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EC9E: +SubCEC9E: txa ; CPU:$EC9E PRG:2C9E 8A - sta a:$0065,y ; CPU:$EC9F PRG:2C9F 99 65 00 + sta a:Zp65,y ; CPU:$EC9F PRG:2C9F 99 65 00 lda #$FA ; CPU:$ECA2 PRG:2CA2 A9 FA - sta a:$0095,y ; CPU:$ECA4 PRG:2CA4 99 95 00 + sta a:Zp95,y ; CPU:$ECA4 PRG:2CA4 99 95 00 lda $04AB,x ; CPU:$ECA7 PRG:2CA7 BD AB 04 ora #$80 ; CPU:$ECAA PRG:2CAA 09 80 sta $04AB,x ; CPU:$ECAC PRG:2CAC 9D AB 04 and #$0F ; CPU:$ECAF PRG:2CAF 29 0F - sta a:$0075,y ; CPU:$ECB1 PRG:2CB1 99 75 00 + sta a:Zp75,y ; CPU:$ECB1 PRG:2CB1 99 75 00 lda $04AB,x ; CPU:$ECB4 PRG:2CB4 BD AB 04 cpy #$08 ; CPU:$ECB7 PRG:2CB7 C0 08 - bcs Label_ECE7 ; CPU:$ECB9 PRG:2CB9 B0 2C + bcs Sub_8764_OnCarrySet_ECE7 ; CPU:$ECB9 PRG:2CB9 B0 2C and #$10 ; CPU:$ECBB PRG:2CBB 29 10 - beq Label_ECC7 ; CPU:$ECBD PRG:2CBD F0 08 + beq Sub_8764_OnZero_ECC7 ; CPU:$ECBD PRG:2CBD F0 08 lda $E6CD,y ; CPU:$ECBF PRG:2CBF B9 CD E6 ora Zp34 ; CPU:$ECC2 PRG:2CC2 05 34 - jmp $ECCC ; CPU:$ECC4 PRG:2CC4 4C CC EC + jmp SubCECCC ; CPU:$ECC4 PRG:2CC4 4C CC EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECC7 +; Routine: Sub_8764_OnZero_ECC7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12360,11 +12360,11 @@ Label_EC9E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECC7: +Sub_8764_OnZero_ECC7: lda $E6DD,y ; CPU:$ECC7 PRG:2CC7 B9 DD E6 and Zp34 ; CPU:$ECCA PRG:2CCA 25 34 ; ----------------------------------------------------------------------------- -; Routine: Label_ECCC +; Routine: SubCECCC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12372,16 +12372,16 @@ Label_ECC7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECCC: +SubCECCC: sta Zp34 ; CPU:$ECCC PRG:2CCC 85 34 lda $04AB,x ; CPU:$ECCE PRG:2CCE BD AB 04 and #$20 ; CPU:$ECD1 PRG:2CD1 29 20 - beq Label_ECDD ; CPU:$ECD3 PRG:2CD3 F0 08 + beq Sub_8764_OnZero_ECDD ; CPU:$ECD3 PRG:2CD3 F0 08 lda $E6CD,y ; CPU:$ECD5 PRG:2CD5 B9 CD E6 ora Zp32 ; CPU:$ECD8 PRG:2CD8 05 32 - jmp $ECE2 ; CPU:$ECDA PRG:2CDA 4C E2 EC + jmp SubCECE2 ; CPU:$ECDA PRG:2CDA 4C E2 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECDD +; Routine: Sub_8764_OnZero_ECDD ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12389,11 +12389,11 @@ Label_ECCC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECDD: +Sub_8764_OnZero_ECDD: lda $E6DD,y ; CPU:$ECDD PRG:2CDD B9 DD E6 and Zp32 ; CPU:$ECE0 PRG:2CE0 25 32 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE2 +; Routine: SubCECE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12401,11 +12401,11 @@ Label_ECDD: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE2: +SubCECE2: sta Zp32 ; CPU:$ECE2 PRG:2CE2 85 32 - jmp $E93E ; CPU:$ECE4 PRG:2CE4 4C 3E E9 + jmp SubCE93E ; CPU:$ECE4 PRG:2CE4 4C 3E E9 ; ----------------------------------------------------------------------------- -; Routine: Label_ECE7 +; Routine: Sub_8764_OnCarrySet_ECE7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12413,14 +12413,14 @@ Label_ECE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECE7: +Sub_8764_OnCarrySet_ECE7: and #$10 ; CPU:$ECE7 PRG:2CE7 29 10 - beq Label_ECF3 ; CPU:$ECE9 PRG:2CE9 F0 08 + beq Sub_8764_OnZero_ECF3 ; CPU:$ECE9 PRG:2CE9 F0 08 lda $E6C5,y ; CPU:$ECEB PRG:2CEB B9 C5 E6 ora Zp35 ; CPU:$ECEE PRG:2CEE 05 35 - jmp $ECF8 ; CPU:$ECF0 PRG:2CF0 4C F8 EC + jmp SubCECF8 ; CPU:$ECF0 PRG:2CF0 4C F8 EC ; ----------------------------------------------------------------------------- -; Routine: Label_ECF3 +; Routine: Sub_8764_OnZero_ECF3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12428,11 +12428,11 @@ Label_ECE7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF3: +Sub_8764_OnZero_ECF3: lda $E6D5,y ; CPU:$ECF3 PRG:2CF3 B9 D5 E6 and Zp35 ; CPU:$ECF6 PRG:2CF6 25 35 ; ----------------------------------------------------------------------------- -; Routine: Label_ECF8 +; Routine: SubCECF8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12440,16 +12440,16 @@ Label_ECF3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ECF8: +SubCECF8: sta Zp35 ; CPU:$ECF8 PRG:2CF8 85 35 lda $04AB,x ; CPU:$ECFA PRG:2CFA BD AB 04 and #$20 ; CPU:$ECFD PRG:2CFD 29 20 - beq Label_ED09 ; CPU:$ECFF PRG:2CFF F0 08 + beq Sub_8764_OnZero_ED09 ; CPU:$ECFF PRG:2CFF F0 08 lda $E6C5,y ; CPU:$ED01 PRG:2D01 B9 C5 E6 ora Zp33 ; CPU:$ED04 PRG:2D04 05 33 - jmp $ED0E ; CPU:$ED06 PRG:2D06 4C 0E ED + jmp SubCED0E ; CPU:$ED06 PRG:2D06 4C 0E ED ; ----------------------------------------------------------------------------- -; Routine: Label_ED09 +; Routine: Sub_8764_OnZero_ED09 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12457,11 +12457,11 @@ Label_ECF8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED09: +Sub_8764_OnZero_ED09: lda $E6D5,y ; CPU:$ED09 PRG:2D09 B9 D5 E6 and Zp33 ; CPU:$ED0C PRG:2D0C 25 33 ; ----------------------------------------------------------------------------- -; Routine: Label_ED0E +; Routine: SubCED0E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12469,14 +12469,14 @@ Label_ED09: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED0E: +SubCED0E: sta Zp33 ; CPU:$ED0E PRG:2D0E 85 33 lda $E6C5,y ; CPU:$ED10 PRG:2D10 B9 C5 E6 ora Zp09 ; CPU:$ED13 PRG:2D13 05 09 sta Zp09 ; CPU:$ED15 PRG:2D15 85 09 eor #$FF ; CPU:$ED17 PRG:2D17 49 FF sta Zp31 ; CPU:$ED19 PRG:2D19 85 31 - jmp $E93E ; CPU:$ED1B PRG:2D1B 4C 3E E9 + jmp SubCE93E ; CPU:$ED1B PRG:2D1B 4C 3E E9 ; ---- data $ED1E-$ED60 (67 bytes) ---- .byte $A0, $07, $B9, $65, $00, $10, $03, $4C, $9E, $EC, $C9, $15, $B0, $0A, $C9, $0B ; CPU:$ED1E PRG:2D1E A0 07 B9 65 00 10 03 4C 9E EC C9 15 B0 0A C9 0B .byte $90, $06, $88, $C0, $03, $B0, $EB, $60, $86, $54, $20, $57, $ED, $B9, $6D, $00 ; CPU:$ED2E PRG:2D2E 90 06 88 C0 03 B0 EB 60 86 54 20 57 ED B9 6D 00 @@ -12484,7 +12484,7 @@ Label_ED0E: .byte $00, $99, $6D, $00, $A6, $54, $4C, $9E, $EC, $AA, $BD, $AB, $04, $29, $7F, $9D ; CPU:$ED4E PRG:2D4E 00 99 6D 00 A6 54 4C 9E EC AA BD AB 04 29 7F 9D .byte $AB, $04, $60 ; CPU:$ED5E PRG:2D5E AB 04 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED61 +; Routine: SubCED61 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12492,20 +12492,20 @@ Label_ED0E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED61: - jsr $ED98 ; CPU:$ED61 PRG:2D61 20 98 ED +SubCED61: + jsr SubCED98 ; CPU:$ED61 PRG:2D61 20 98 ED lda Zp26 ; CPU:$ED64 PRG:2D64 A5 26 - beq Label_ED94 ; CPU:$ED66 PRG:2D66 F0 2C + beq Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED66 PRG:2D66 F0 2C cmp #$01 ; CPU:$ED68 PRG:2D68 C9 01 - beq Label_ED78 ; CPU:$ED6A PRG:2D6A F0 0C + beq Sub_8764_OnZero_ED78 ; CPU:$ED6A PRG:2D6A F0 0C cmp #$02 ; CPU:$ED6C PRG:2D6C C9 02 - bne Label_ED94 ; CPU:$ED6E PRG:2D6E D0 24 + bne Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED6E PRG:2D6E D0 24 lda Zp25 ; CPU:$ED70 PRG:2D70 A5 25 cmp #$5A ; CPU:$ED72 PRG:2D72 C9 5A - bcs Label_ED94 ; CPU:$ED74 PRG:2D74 B0 1E - bcc Label_ED7E ; CPU:$ED76 PRG:2D76 90 06 + bcs Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED74 PRG:2D74 B0 1E + bcc Sub_8764_OnCarryClear_ED7E ; CPU:$ED76 PRG:2D76 90 06 ; ----------------------------------------------------------------------------- -; Routine: Label_ED78 +; Routine: Sub_8764_OnZero_ED78 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12513,12 +12513,12 @@ Label_ED61: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED78: +Sub_8764_OnZero_ED78: lda Zp25 ; CPU:$ED78 PRG:2D78 A5 25 cmp #$55 ; CPU:$ED7A PRG:2D7A C9 55 - bcc Label_ED94 ; CPU:$ED7C PRG:2D7C 90 16 + bcc Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED7C PRG:2D7C 90 16 ; ----------------------------------------------------------------------------- -; Routine: Label_ED7E +; Routine: Sub_8764_OnCarryClear_ED7E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12526,17 +12526,17 @@ Label_ED78: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED7E: +Sub_8764_OnCarryClear_ED7E: lda Zp28 ; CPU:$ED7E PRG:2D7E A5 28 - beq Label_ED8E ; CPU:$ED80 PRG:2D80 F0 0C + beq Sub_8764_OnZero_ED8E ; CPU:$ED80 PRG:2D80 F0 0C cmp #$01 ; CPU:$ED82 PRG:2D82 C9 01 - bne Label_ED94 ; CPU:$ED84 PRG:2D84 D0 0E + bne Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED84 PRG:2D84 D0 0E lda Zp27 ; CPU:$ED86 PRG:2D86 A5 27 cmp #$9E ; CPU:$ED88 PRG:2D88 C9 9E - bcs Label_ED94 ; CPU:$ED8A PRG:2D8A B0 08 - bcc Label_ED96 ; CPU:$ED8C PRG:2D8C 90 08 + bcs Sub_8764_JoinBranchPaths_ED94 ; CPU:$ED8A PRG:2D8A B0 08 + bcc Sub_8764_JoinBranchPaths_ED96 ; CPU:$ED8C PRG:2D8C 90 08 ; ----------------------------------------------------------------------------- -; Routine: Label_ED8E +; Routine: Sub_8764_OnZero_ED8E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12544,12 +12544,12 @@ Label_ED7E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED8E: +Sub_8764_OnZero_ED8E: lda Zp27 ; CPU:$ED8E PRG:2D8E A5 27 cmp #$9E ; CPU:$ED90 PRG:2D90 C9 9E - bcs Label_ED96 ; CPU:$ED92 PRG:2D92 B0 02 + bcs Sub_8764_JoinBranchPaths_ED96 ; CPU:$ED92 PRG:2D92 B0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_ED94 +; Routine: Sub_8764_JoinBranchPaths_ED94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12557,11 +12557,11 @@ Label_ED8E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED94: +Sub_8764_JoinBranchPaths_ED94: sec ; CPU:$ED94 PRG:2D94 38 rts ; CPU:$ED95 PRG:2D95 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED96 +; Routine: Sub_8764_JoinBranchPaths_ED96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12569,11 +12569,11 @@ Label_ED94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED96: +Sub_8764_JoinBranchPaths_ED96: clc ; CPU:$ED96 PRG:2D96 18 rts ; CPU:$ED97 PRG:2D97 60 ; ----------------------------------------------------------------------------- -; Routine: Label_ED98 +; Routine: SubCED98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12581,7 +12581,7 @@ Label_ED96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_ED98: +SubCED98: sec ; CPU:$ED98 PRG:2D98 38 lda $0280,x ; CPU:$ED99 PRG:2D99 BD 80 02 sbc ZpAE ; CPU:$ED9C PRG:2D9C E5 AE @@ -12589,7 +12589,7 @@ Label_ED98: lda $035E,x ; CPU:$EDA0 PRG:2DA0 BD 5E 03 sbc ZpAF ; CPU:$EDA3 PRG:2DA3 E5 AF sta Zp26 ; CPU:$EDA5 PRG:2DA5 85 26 - bpl Label_EDB6 ; CPU:$EDA7 PRG:2DA7 10 0D + bpl Sub_8764_OnNonnegative_EDB6 ; CPU:$EDA7 PRG:2DA7 10 0D clc ; CPU:$EDA9 PRG:2DA9 18 lda Zp25 ; CPU:$EDAA PRG:2DAA A5 25 adc #$80 ; CPU:$EDAC PRG:2DAC 69 80 @@ -12598,7 +12598,7 @@ Label_ED98: adc #$0C ; CPU:$EDB2 PRG:2DB2 69 0C sta Zp26 ; CPU:$EDB4 PRG:2DB4 85 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EDB6 +; Routine: Sub_8764_OnNonnegative_EDB6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12606,7 +12606,7 @@ Label_ED98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDB6: +Sub_8764_OnNonnegative_EDB6: sec ; CPU:$EDB6 PRG:2DB6 38 lda $02EF,x ; CPU:$EDB7 PRG:2DB7 BD EF 02 sbc ZpB0 ; CPU:$EDBA PRG:2DBA E5 B0 @@ -12614,7 +12614,7 @@ Label_EDB6: lda $03CD,x ; CPU:$EDBE PRG:2DBE BD CD 03 sbc ZpB1 ; CPU:$EDC1 PRG:2DC1 E5 B1 sta Zp28 ; CPU:$EDC3 PRG:2DC3 85 28 - bpl Label_EDD4 ; CPU:$EDC5 PRG:2DC5 10 0D + bpl Sub_8764_OnNonnegative_EDD4 ; CPU:$EDC5 PRG:2DC5 10 0D clc ; CPU:$EDC7 PRG:2DC7 18 lda Zp27 ; CPU:$EDC8 PRG:2DC8 A5 27 adc #$D0 ; CPU:$EDCA PRG:2DCA 69 D0 @@ -12623,7 +12623,7 @@ Label_EDB6: adc #$07 ; CPU:$EDD0 PRG:2DD0 69 07 sta Zp28 ; CPU:$EDD2 PRG:2DD2 85 28 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD4 +; Routine: Sub_8764_OnNonnegative_EDD4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12631,10 +12631,10 @@ Label_EDB6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD4: +Sub_8764_OnNonnegative_EDD4: rts ; CPU:$EDD4 PRG:2DD4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD5 +; Routine: SubCEDD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12642,10 +12642,10 @@ Label_EDD4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD5: +SubCEDD5: lda #$82 ; CPU:$EDD5 PRG:2DD5 A9 82 ; ----------------------------------------------------------------------------- -; Routine: Label_EDD7 +; Routine: SubCEDD7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12653,14 +12653,14 @@ Label_EDD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDD7: - jsr $C5A1 ; CPU:$EDD7 PRG:2DD7 20 A1 C5 +SubCEDD7: + jsr SubCC5A1 ; CPU:$EDD7 PRG:2DD7 20 A1 C5 pha ; CPU:$EDDA PRG:2DDA 48 txa ; CPU:$EDDB PRG:2DDB 8A ldx #$00 ; CPU:$EDDC PRG:2DDC A2 00 - beq Label_EDEC ; CPU:$EDDE PRG:2DDE F0 0C + beq Sub_8764_OnZero_EDEC ; CPU:$EDDE PRG:2DDE F0 0C ; ----------------------------------------------------------------------------- -; Routine: Label_EDE0 +; Routine: SubCEDE0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12668,10 +12668,10 @@ Label_EDD7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE0: +SubCEDE0: lda #$81 ; CPU:$EDE0 PRG:2DE0 A9 81 ; ----------------------------------------------------------------------------- -; Routine: Label_EDE2 +; Routine: SubCEDE2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12679,15 +12679,15 @@ Label_EDE0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDE2: - jsr $C5A1 ; CPU:$EDE2 PRG:2DE2 20 A1 C5 +SubCEDE2: + jsr SubCC5A1 ; CPU:$EDE2 PRG:2DE2 20 A1 C5 pha ; CPU:$EDE5 PRG:2DE5 48 txa ; CPU:$EDE6 PRG:2DE6 8A clc ; CPU:$EDE7 PRG:2DE7 18 adc #$6F ; CPU:$EDE8 PRG:2DE8 69 6F ldx #$01 ; CPU:$EDEA PRG:2DEA A2 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EDEC +; Routine: Sub_8764_OnZero_EDEC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12695,13 +12695,13 @@ Label_EDE2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDEC: +Sub_8764_OnZero_EDEC: tay ; CPU:$EDEC PRG:2DEC A8 pla ; CPU:$EDED PRG:2DED 68 - jsr $EDF4 ; CPU:$EDEE PRG:2DEE 20 F4 ED - jmp $C59C ; CPU:$EDF1 PRG:2DF1 4C 9C C5 + jsr SubCEDF4 ; CPU:$EDEE PRG:2DEE 20 F4 ED + jmp SubCC59C ; CPU:$EDF1 PRG:2DF1 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_EDF4 +; Routine: SubCEDF4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12709,25 +12709,25 @@ Label_EDEC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EDF4: - bmi Label_EE2F ; CPU:$EDF4 PRG:2DF4 30 39 - sta Zp00,x ; CPU:$EDF6 PRG:2DF6 95 00 +SubCEDF4: + bmi Sub_8764_OnNegative_EE2F ; CPU:$EDF4 PRG:2DF4 30 39 + sta PtrLo,x ; CPU:$EDF6 PRG:2DF6 95 00 clc ; CPU:$EDF8 PRG:2DF8 18 lda $0280,y ; CPU:$EDF9 PRG:2DF9 B9 80 02 - adc Zp00,x ; CPU:$EDFC PRG:2DFC 75 00 + adc PtrLo,x ; CPU:$EDFC PRG:2DFC 75 00 sta $0280,y ; CPU:$EDFE PRG:2DFE 99 80 02 lda $035E,y ; CPU:$EE01 PRG:2E01 B9 5E 03 adc #$00 ; CPU:$EE04 PRG:2E04 69 00 sta $035E,y ; CPU:$EE06 PRG:2E06 99 5E 03 cmp $EE5C,x ; CPU:$EE09 PRG:2E09 DD 5C EE - bcc Label_EE2E ; CPU:$EE0C PRG:2E0C 90 20 + bcc Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE0C PRG:2E0C 90 20 cmp $EE5E,x ; CPU:$EE0E PRG:2E0E DD 5E EE - bcs Label_EE1B ; CPU:$EE11 PRG:2E11 B0 08 + bcs Sub_8764_OnCarrySet_EE1B ; CPU:$EE11 PRG:2E11 B0 08 lda $0280,y ; CPU:$EE13 PRG:2E13 B9 80 02 cmp $EE60,x ; CPU:$EE16 PRG:2E16 DD 60 EE - bcc Label_EE2E ; CPU:$EE19 PRG:2E19 90 13 + bcc Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE19 PRG:2E19 90 13 ; ----------------------------------------------------------------------------- -; Routine: Label_EE1B +; Routine: Sub_8764_OnCarrySet_EE1B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12735,7 +12735,7 @@ Label_EDF4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE1B: +Sub_8764_OnCarrySet_EE1B: sec ; CPU:$EE1B PRG:2E1B 38 lda $0280,y ; CPU:$EE1C PRG:2E1C B9 80 02 sbc $EE60,x ; CPU:$EE1F PRG:2E1F FD 60 EE @@ -12744,7 +12744,7 @@ Label_EE1B: sbc $EE5C,x ; CPU:$EE28 PRG:2E28 FD 5C EE sta $035E,y ; CPU:$EE2B PRG:2E2B 99 5E 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2E +; Routine: Sub_8764_JoinBranchPaths_EE2E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12752,10 +12752,10 @@ Label_EE1B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2E: +Sub_8764_JoinBranchPaths_EE2E: rts ; CPU:$EE2E PRG:2E2E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EE2F +; Routine: Sub_8764_OnNegative_EE2F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12763,18 +12763,18 @@ Label_EE2E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE2F: +Sub_8764_OnNegative_EE2F: and #$7F ; CPU:$EE2F PRG:2E2F 29 7F - sta Zp00,x ; CPU:$EE31 PRG:2E31 95 00 + sta PtrLo,x ; CPU:$EE31 PRG:2E31 95 00 sec ; CPU:$EE33 PRG:2E33 38 lda $0280,y ; CPU:$EE34 PRG:2E34 B9 80 02 - sbc Zp00,x ; CPU:$EE37 PRG:2E37 F5 00 + sbc PtrLo,x ; CPU:$EE37 PRG:2E37 F5 00 sta $0280,y ; CPU:$EE39 PRG:2E39 99 80 02 lda $035E,y ; CPU:$EE3C PRG:2E3C B9 5E 03 sbc #$00 ; CPU:$EE3F PRG:2E3F E9 00 sta $035E,y ; CPU:$EE41 PRG:2E41 99 5E 03 cmp #$FF ; CPU:$EE44 PRG:2E44 C9 FF - bne Label_EE2E ; CPU:$EE46 PRG:2E46 D0 E6 + bne Sub_8764_JoinBranchPaths_EE2E ; CPU:$EE46 PRG:2E46 D0 E6 sec ; CPU:$EE48 PRG:2E48 38 lda $0280,y ; CPU:$EE49 PRG:2E49 B9 80 02 sbc $EE62,x ; CPU:$EE4C PRG:2E4C FD 62 EE @@ -12793,7 +12793,7 @@ Label_EE2F: ; ... and 1 further references from decoded code .byte $0C, $07, $0D, $08, $80, $D0, $80, $30, $F3, $F8 ; CPU:$EE5C PRG:2E5C 0C 07 0D 08 80 D0 80 30 F3 F8 ; ----------------------------------------------------------------------------- -; Routine: Label_EE66 +; Routine: SubCEE66 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12801,17 +12801,17 @@ Label_EE2F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE66: - jsr $C5A1 ; CPU:$EE66 PRG:2E66 20 A1 C5 +SubCEE66: + jsr SubCC5A1 ; CPU:$EE66 PRG:2E66 20 A1 C5 ldx #$00 ; CPU:$EE69 PRG:2E69 A2 00 ldy #$00 ; CPU:$EE6B PRG:2E6B A0 00 - jsr $EE79 ; CPU:$EE6D PRG:2E6D 20 79 EE + jsr SubCEE79 ; CPU:$EE6D PRG:2E6D 20 79 EE ldx #$02 ; CPU:$EE70 PRG:2E70 A2 02 iny ; CPU:$EE72 PRG:2E72 C8 - jsr $EE79 ; CPU:$EE73 PRG:2E73 20 79 EE - jmp $C59C ; CPU:$EE76 PRG:2E76 4C 9C C5 + jsr SubCEE79 ; CPU:$EE73 PRG:2E73 20 79 EE + jmp SubCC59C ; CPU:$EE76 PRG:2E76 4C 9C C5 ; ----------------------------------------------------------------------------- -; Routine: Label_EE79 +; Routine: SubCEE79 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12819,7 +12819,7 @@ Label_EE66: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE79: +SubCEE79: clc ; CPU:$EE79 PRG:2E79 18 lda ZpAE,x ; CPU:$EE7A PRG:2E7A B5 AE adc $EEB4,y ; CPU:$EE7C PRG:2E7C 79 B4 EE @@ -12828,13 +12828,13 @@ Label_EE79: adc $EEB6,y ; CPU:$EE83 PRG:2E83 79 B6 EE sta Zp26,x ; CPU:$EE86 PRG:2E86 95 26 clc ; CPU:$EE88 PRG:2E88 18 - lda a:$00B4,y ; CPU:$EE89 PRG:2E89 B9 B4 00 + lda a:ZpB4,y ; CPU:$EE89 PRG:2E89 B9 B4 00 adc Zp25,x ; CPU:$EE8C PRG:2E8C 75 25 sta Zp25,x ; CPU:$EE8E PRG:2E8E 95 25 - bcc Label_EE94 ; CPU:$EE90 PRG:2E90 90 02 + bcc Sub_8764_OnCarryClear_EE94 ; CPU:$EE90 PRG:2E90 90 02 inc Zp26,x ; CPU:$EE92 PRG:2E92 F6 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EE94 +; Routine: Sub_8764_OnCarryClear_EE94 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12842,16 +12842,16 @@ Label_EE79: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EE94: +Sub_8764_OnCarryClear_EE94: lda Zp26,x ; CPU:$EE94 PRG:2E94 B5 26 cmp $EEB8,y ; CPU:$EE96 PRG:2E96 D9 B8 EE - bcc Label_EEB3 ; CPU:$EE99 PRG:2E99 90 18 - bne Label_EEA4 ; CPU:$EE9B PRG:2E9B D0 07 + bcc Sub_8764_OnCarryClear_EEB3 ; CPU:$EE99 PRG:2E99 90 18 + bne Sub_8764_OnNonzero_EEA4 ; CPU:$EE9B PRG:2E9B D0 07 lda Zp25,x ; CPU:$EE9D PRG:2E9D B5 25 cmp $EEBA,y ; CPU:$EE9F PRG:2E9F D9 BA EE - bcc Label_EEB3 ; CPU:$EEA2 PRG:2EA2 90 0F + bcc Sub_8764_OnCarryClear_EEB3 ; CPU:$EEA2 PRG:2EA2 90 0F ; ----------------------------------------------------------------------------- -; Routine: Label_EEA4 +; Routine: Sub_8764_OnNonzero_EEA4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12859,7 +12859,7 @@ Label_EE94: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEA4: +Sub_8764_OnNonzero_EEA4: sec ; CPU:$EEA4 PRG:2EA4 38 lda Zp25,x ; CPU:$EEA5 PRG:2EA5 B5 25 sbc $EEBA,y ; CPU:$EEA7 PRG:2EA7 F9 BA EE @@ -12868,7 +12868,7 @@ Label_EEA4: sbc $EEB8,y ; CPU:$EEAE PRG:2EAE F9 B8 EE sta Zp26,x ; CPU:$EEB1 PRG:2EB1 95 26 ; ----------------------------------------------------------------------------- -; Routine: Label_EEB3 +; Routine: Sub_8764_OnCarryClear_EEB3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12876,7 +12876,7 @@ Label_EEA4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEB3: +Sub_8764_OnCarryClear_EEB3: rts ; CPU:$EEB3 PRG:2EB3 60 ; ---- data $EEB4-$EEBB (8 bytes) ---- ; referenced by `adc $EEB4,y` at $EE7C (operand $EEB4 falls inside this region) @@ -12887,7 +12887,7 @@ Label_EEB3: ; referenced by `sbc $EEB8,y` at $EEAE (operand $EEB8 falls inside this region) .byte $32, $A4, $01, $00, $0C, $07, $80, $D0 ; CPU:$EEB4 PRG:2EB4 32 A4 01 00 0C 07 80 D0 ; ----------------------------------------------------------------------------- -; Routine: Label_EEBC +; Routine: SubCEEBC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12895,13 +12895,13 @@ Label_EEB3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEBC: +SubCEEBC: lda ZpAB ; CPU:$EEBC PRG:2EBC A5 AB cmp #$FA ; CPU:$EEBE PRG:2EBE C9 FA - beq Label_EEC5 ; CPU:$EEC0 PRG:2EC0 F0 03 - jsr $F127 ; CPU:$EEC2 PRG:2EC2 20 27 F1 + beq Sub_8764_OnZero_EEC5 ; CPU:$EEC0 PRG:2EC0 F0 03 + jsr SubCF127 ; CPU:$EEC2 PRG:2EC2 20 27 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_EEC5 +; Routine: Sub_8764_OnZero_EEC5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12909,14 +12909,14 @@ Label_EEBC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEC5: +Sub_8764_OnZero_EEC5: lda Zp09 ; CPU:$EEC5 PRG:2EC5 A5 09 - bne Label_EECE ; CPU:$EEC7 PRG:2EC7 D0 05 + bne Sub_8764_OnNonzero_EECE ; CPU:$EEC7 PRG:2EC7 D0 05 lda Zp0C ; CPU:$EEC9 PRG:2EC9 A5 0C - bne Label_EED6 ; CPU:$EECB PRG:2ECB D0 09 + bne Sub_8764_OnNonzero_EED6 ; CPU:$EECB PRG:2ECB D0 09 rts ; CPU:$EECD PRG:2ECD 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EECE +; Routine: Sub_8764_OnNonzero_EECE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12924,13 +12924,13 @@ Label_EEC5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EECE: +Sub_8764_OnNonzero_EECE: inc Zp3A ; CPU:$EECE PRG:2ECE E6 3A lda Zp3A ; CPU:$EED0 PRG:2ED0 A5 3A and #$01 ; CPU:$EED2 PRG:2ED2 29 01 - beq Label_EF38 ; CPU:$EED4 PRG:2ED4 F0 62 + beq Sub_8764_OnZero_EF38 ; CPU:$EED4 PRG:2ED4 F0 62 ; ----------------------------------------------------------------------------- -; Routine: Label_EED6 +; Routine: Sub_8764_OnNonzero_EED6 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12938,12 +12938,12 @@ Label_EECE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EED6: +Sub_8764_OnNonzero_EED6: lda #$00 ; CPU:$EED6 PRG:2ED6 A9 00 sta Zp0C ; CPU:$EED8 PRG:2ED8 85 0C ldy #$07 ; CPU:$EEDA PRG:2EDA A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EEDC +; Routine: Sub_8764_OnNonnegative_EEDC ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12951,18 +12951,18 @@ Label_EED6: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEDC: +Sub_8764_OnNonnegative_EEDC: tya ; CPU:$EEDC PRG:2EDC 98 pha ; CPU:$EEDD PRG:2EDD 48 - lda a:$0065,y ; CPU:$EEDE PRG:2EDE B9 65 00 - beq Label_EEEF ; CPU:$EEE1 PRG:2EE1 F0 0C - bmi Label_EEF5 ; CPU:$EEE3 PRG:2EE3 30 10 - lda a:$0095,y ; CPU:$EEE5 PRG:2EE5 B9 95 00 + lda a:Zp65,y ; CPU:$EEDE PRG:2EDE B9 65 00 + beq SubCEEEF ; CPU:$EEE1 PRG:2EE1 F0 0C + bmi Sub_8764_JoinBranchPaths_EEF5 ; CPU:$EEE3 PRG:2EE3 30 10 + lda a:Zp95,y ; CPU:$EEE5 PRG:2EE5 B9 95 00 cmp #$FA ; CPU:$EEE8 PRG:2EE8 C9 FA - beq Label_EEF5 ; CPU:$EEEA PRG:2EEA F0 09 - jsr $EF58 ; CPU:$EEEC PRG:2EEC 20 58 EF + beq Sub_8764_JoinBranchPaths_EEF5 ; CPU:$EEEA PRG:2EEA F0 09 + jsr SubCEF58 ; CPU:$EEEC PRG:2EEC 20 58 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EEEF +; Routine: SubCEEEF ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12970,14 +12970,14 @@ Label_EEDC: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEEF: +SubCEEEF: pla ; CPU:$EEEF PRG:2EEF 68 tay ; CPU:$EEF0 PRG:2EF0 A8 dey ; CPU:$EEF1 PRG:2EF1 88 - bpl Label_EEDC ; CPU:$EEF2 PRG:2EF2 10 E8 + bpl Sub_8764_OnNonnegative_EEDC ; CPU:$EEF2 PRG:2EF2 10 E8 rts ; CPU:$EEF4 PRG:2EF4 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EEF5 +; Routine: Sub_8764_JoinBranchPaths_EEF5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -12985,21 +12985,21 @@ Label_EEEF: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EEF5: +Sub_8764_JoinBranchPaths_EEF5: tya ; CPU:$EEF5 PRG:2EF5 98 - jsr $C589 ; CPU:$EEF6 PRG:2EF6 20 89 C5 + jsr SubCC589 ; CPU:$EEF6 PRG:2EF6 20 89 C5 lda $06D7,y ; CPU:$EEF9 PRG:2EF9 B9 D7 06 pha ; CPU:$EEFC PRG:2EFC 48 lda #$00 ; CPU:$EEFD PRG:2EFD A9 00 sta $06D7,y ; CPU:$EEFF PRG:2EFF 99 D7 06 pla ; CPU:$EF02 PRG:2F02 68 cmp #$A9 ; CPU:$EF03 PRG:2F03 C9 A9 - bcc Label_EF0D ; CPU:$EF05 PRG:2F05 90 06 + bcc Sub_8764_OnCarryClear_EF0D ; CPU:$EF05 PRG:2F05 90 06 cmp #$AD ; CPU:$EF07 PRG:2F07 C9 AD - bcs Label_EF24 ; CPU:$EF09 PRG:2F09 B0 19 + bcs Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF09 PRG:2F09 B0 19 lda #$63 ; CPU:$EF0B PRG:2F0B A9 63 ; ----------------------------------------------------------------------------- -; Routine: Label_EF0D +; Routine: Sub_8764_OnCarryClear_EF0D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13007,11 +13007,11 @@ Label_EEF5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF0D: +Sub_8764_OnCarryClear_EF0D: cmp #$63 ; CPU:$EF0D PRG:2F0D C9 63 - bcc Label_EF24 ; CPU:$EF0F PRG:2F0F 90 13 + bcc Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF0F PRG:2F0F 90 13 cmp #$68 ; CPU:$EF11 PRG:2F11 C9 68 - bcs Label_EF24 ; CPU:$EF13 PRG:2F13 B0 0F + bcs Sub_8764_JoinBranchPaths_EF24 ; CPU:$EF13 PRG:2F13 B0 0F sec ; CPU:$EF15 PRG:2F15 38 sbc #$63 ; CPU:$EF16 PRG:2F16 E9 63 tay ; CPU:$EF18 PRG:2F18 A8 @@ -13019,9 +13019,9 @@ Label_EF0D: tax ; CPU:$EF1C PRG:2F1C AA lda $EF2C,y ; CPU:$EF1D PRG:2F1D B9 2C EF tay ; CPU:$EF20 PRG:2F20 A8 - jsr $C463 ; CPU:$EF21 PRG:2F21 20 63 C4 + jsr SubCC463 ; CPU:$EF21 PRG:2F21 20 63 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_EF24 +; Routine: Sub_8764_JoinBranchPaths_EF24 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13029,14 +13029,14 @@ Label_EF0D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF24: - jmp $EEEF ; CPU:$EF24 PRG:2F24 4C EF EE +Sub_8764_JoinBranchPaths_EF24: + jmp SubCEEEF ; CPU:$EF24 PRG:2F24 4C EF EE ; ---- data $EF27-$EF30 (10 bytes) ---- ; referenced by `lda $EF27,y` at $EF19 (operand $EF27 falls inside this region) ; referenced by `lda $EF2C,y` at $EF1D (operand $EF2C falls inside this region) .byte $80, $80, $A0, $B0, $80, $30, $20, $04, $30, $30 ; CPU:$EF27 PRG:2F27 80 80 A0 B0 80 30 20 04 30 30 ; ----------------------------------------------------------------------------- -; Routine: Label_EF31 +; Routine: Sub_8764_OnCarryClear_EF31 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13044,12 +13044,12 @@ Label_EF24: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF31: +Sub_8764_OnCarryClear_EF31: ldx #$80 ; CPU:$EF31 PRG:2F31 A2 80 ldy #$20 ; CPU:$EF33 PRG:2F33 A0 20 - jmp $C463 ; CPU:$EF35 PRG:2F35 4C 63 C4 + jmp SubCC463 ; CPU:$EF35 PRG:2F35 4C 63 C4 ; ----------------------------------------------------------------------------- -; Routine: Label_EF38 +; Routine: Sub_8764_OnZero_EF38 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13057,12 +13057,12 @@ Label_EF31: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF38: +Sub_8764_OnZero_EF38: lda #$00 ; CPU:$EF38 PRG:2F38 A9 00 sta Zp0C ; CPU:$EF3A PRG:2F3A 85 0C ldy #$07 ; CPU:$EF3C PRG:2F3C A0 07 ; ----------------------------------------------------------------------------- -; Routine: Label_EF3E +; Routine: Sub_8764_OnNonnegative_EF3E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13070,15 +13070,15 @@ Label_EF38: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF3E: +Sub_8764_OnNonnegative_EF3E: tya ; CPU:$EF3E PRG:2F3E 98 pha ; CPU:$EF3F PRG:2F3F 48 - lda a:$006D,y ; CPU:$EF40 PRG:2F40 B9 6D 00 - beq Label_EF4A ; CPU:$EF43 PRG:2F43 F0 05 - bpl Label_EF50 ; CPU:$EF45 PRG:2F45 10 09 - jsr $EF58 ; CPU:$EF47 PRG:2F47 20 58 EF + lda a:Zp6D,y ; CPU:$EF40 PRG:2F40 B9 6D 00 + beq SubCEF4A ; CPU:$EF43 PRG:2F43 F0 05 + bpl Sub_8764_OnNonnegative_EF50 ; CPU:$EF45 PRG:2F45 10 09 + jsr SubCEF58 ; CPU:$EF47 PRG:2F47 20 58 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EF4A +; Routine: SubCEF4A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13086,14 +13086,14 @@ Label_EF3E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF4A: +SubCEF4A: pla ; CPU:$EF4A PRG:2F4A 68 tay ; CPU:$EF4B PRG:2F4B A8 dey ; CPU:$EF4C PRG:2F4C 88 - bpl Label_EF3E ; CPU:$EF4D PRG:2F4D 10 EF + bpl Sub_8764_OnNonnegative_EF3E ; CPU:$EF4D PRG:2F4D 10 EF rts ; CPU:$EF4F PRG:2F4F 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF50 +; Routine: Sub_8764_OnNonnegative_EF50 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13101,12 +13101,12 @@ Label_EF4A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF50: +Sub_8764_OnNonnegative_EF50: ldx #$08 ; CPU:$EF50 PRG:2F50 A2 08 - jsr $EF5A ; CPU:$EF52 PRG:2F52 20 5A EF - jmp $EF4A ; CPU:$EF55 PRG:2F55 4C 4A EF + jsr SubCEF5A ; CPU:$EF52 PRG:2F52 20 5A EF + jmp SubCEF4A ; CPU:$EF55 PRG:2F55 4C 4A EF ; ----------------------------------------------------------------------------- -; Routine: Label_EF58 +; Routine: SubCEF58 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13114,10 +13114,10 @@ Label_EF50: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF58: +SubCEF58: ldx #$00 ; CPU:$EF58 PRG:2F58 A2 00 ; ----------------------------------------------------------------------------- -; Routine: Label_EF5A +; Routine: SubCEF5A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13125,7 +13125,7 @@ Label_EF58: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF5A: +SubCEF5A: stx Zp01 ; CPU:$EF5A PRG:2F5A 86 01 tya ; CPU:$EF5C PRG:2F5C 98 clc ; CPU:$EF5D PRG:2F5D 18 @@ -13136,13 +13136,13 @@ Label_EF5A: lda Zp95,x ; CPU:$EF65 PRG:2F65 B5 95 sta Zp4A ; CPU:$EF67 PRG:2F67 85 4A lda Zp75,x ; CPU:$EF69 PRG:2F69 B5 75 - sta Zp00 ; CPU:$EF6B PRG:2F6B 85 00 + sta PtrLo ; CPU:$EF6B PRG:2F6B 85 00 lda $06D7,x ; CPU:$EF6D PRG:2F6D BD D7 06 ldx Zp4A ; CPU:$EF70 PRG:2F70 A6 4A inx ; CPU:$EF72 PRG:2F72 E8 - bne Label_EF76 ; CPU:$EF73 PRG:2F73 D0 01 + bne Sub_8764_OnNonzero_EF76 ; CPU:$EF73 PRG:2F73 D0 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EF75 +; Routine: Sub_8764_JoinBranchPaths_EF75 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13150,10 +13150,10 @@ Label_EF5A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF75: +Sub_8764_JoinBranchPaths_EF75: rts ; CPU:$EF75 PRG:2F75 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EF76 +; Routine: Sub_8764_OnNonzero_EF76 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13161,26 +13161,26 @@ Label_EF75: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF76: +Sub_8764_OnNonzero_EF76: pha ; CPU:$EF76 PRG:2F76 48 tya ; CPU:$EF77 PRG:2F77 98 - jsr $C589 ; CPU:$EF78 PRG:2F78 20 89 C5 + jsr SubCC589 ; CPU:$EF78 PRG:2F78 20 89 C5 pla ; CPU:$EF7B PRG:2F7B 68 cmp #$64 ; CPU:$EF7C PRG:2F7C C9 64 - bcc Label_EF75 ; CPU:$EF7E PRG:2F7E 90 F5 + bcc Sub_8764_JoinBranchPaths_EF75 ; CPU:$EF7E PRG:2F7E 90 F5 cmp #$66 ; CPU:$EF80 PRG:2F80 C9 66 - bcs Label_EFC2 ; CPU:$EF82 PRG:2F82 B0 3E + bcs Sub_8764_OnCarrySet_EFC2 ; CPU:$EF82 PRG:2F82 B0 3E cmp #$64 ; CPU:$EF84 PRG:2F84 C9 64 - bne Label_EF75 ; CPU:$EF86 PRG:2F86 D0 ED + bne Sub_8764_JoinBranchPaths_EF75 ; CPU:$EF86 PRG:2F86 D0 ED lda ZpBB ; CPU:$EF88 PRG:2F88 A5 BB - beq Label_EF96 ; CPU:$EF8A PRG:2F8A F0 0A - bmi Label_EF96 ; CPU:$EF8C PRG:2F8C 30 08 + beq Sub_8764_JoinBranchPaths_EF96 ; CPU:$EF8A PRG:2F8A F0 0A + bmi Sub_8764_JoinBranchPaths_EF96 ; CPU:$EF8C PRG:2F8C 30 08 cmp #$0F ; CPU:$EF8E PRG:2F8E C9 0F - bcc Label_EF31 ; CPU:$EF90 PRG:2F90 90 9F + bcc Sub_8764_OnCarryClear_EF31 ; CPU:$EF90 PRG:2F90 90 9F lda #$EC ; CPU:$EF92 PRG:2F92 A9 EC - bne Label_EF98 ; CPU:$EF94 PRG:2F94 D0 02 + bne Sub_8764_OnNonzero_EF98 ; CPU:$EF94 PRG:2F94 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_EF96 +; Routine: Sub_8764_JoinBranchPaths_EF96 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13188,10 +13188,10 @@ Label_EF76: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF96: +Sub_8764_JoinBranchPaths_EF96: lda #$E8 ; CPU:$EF96 PRG:2F96 A9 E8 ; ----------------------------------------------------------------------------- -; Routine: Label_EF98 +; Routine: Sub_8764_OnNonzero_EF98 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13199,20 +13199,20 @@ Label_EF96: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EF98: +Sub_8764_OnNonzero_EF98: sta Zp4B ; CPU:$EF98 PRG:2F98 85 4B lda #$03 ; CPU:$EF9A PRG:2F9A A9 03 sta Zp4D ; CPU:$EF9C PRG:2F9C 85 4D lda #$08 ; CPU:$EF9E PRG:2F9E A9 08 - jsr $F194 ; CPU:$EFA0 PRG:2FA0 20 94 F1 + jsr SubCF194 ; CPU:$EFA0 PRG:2FA0 20 94 F1 lda #$18 ; CPU:$EFA3 PRG:2FA3 A9 18 - jsr $F18C ; CPU:$EFA5 PRG:2FA5 20 8C F1 + jsr SubCF18C ; CPU:$EFA5 PRG:2FA5 20 8C F1 lda #$08 ; CPU:$EFA8 PRG:2FA8 A9 08 - sta Zp00 ; CPU:$EFAA PRG:2FAA 85 00 + sta PtrLo ; CPU:$EFAA PRG:2FAA 85 00 lda #$02 ; CPU:$EFAC PRG:2FAC A9 02 sta Zp01 ; CPU:$EFAE PRG:2FAE 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EFB0 +; Routine: Sub_8764_OnNonzero_EFB0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13220,17 +13220,17 @@ Label_EF98: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFB0: - jsr $F102 ; CPU:$EFB0 PRG:2FB0 20 02 F1 +Sub_8764_OnNonzero_EFB0: + jsr SubCF102 ; CPU:$EFB0 PRG:2FB0 20 02 F1 lda #$02 ; CPU:$EFB3 PRG:2FB3 A9 02 - jsr $F19A ; CPU:$EFB5 PRG:2FB5 20 9A F1 - jsr $F18A ; CPU:$EFB8 PRG:2FB8 20 8A F1 - inc Zp00 ; CPU:$EFBB PRG:2FBB E6 00 + jsr SubCF19A ; CPU:$EFB5 PRG:2FB5 20 9A F1 + jsr SubCF18A ; CPU:$EFB8 PRG:2FB8 20 8A F1 + inc PtrLo ; CPU:$EFBB PRG:2FBB E6 00 dec Zp01 ; CPU:$EFBD PRG:2FBD C6 01 - bne Label_EFB0 ; CPU:$EFBF PRG:2FBF D0 EF + bne Sub_8764_OnNonzero_EFB0 ; CPU:$EFBF PRG:2FBF D0 EF rts ; CPU:$EFC1 PRG:2FC1 60 ; ----------------------------------------------------------------------------- -; Routine: Label_EFC2 +; Routine: Sub_8764_OnCarrySet_EFC2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13238,16 +13238,16 @@ Label_EFB0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFC2: +Sub_8764_OnCarrySet_EFC2: cmp #$68 ; CPU:$EFC2 PRG:2FC2 C9 68 - bcs Label_F011 ; CPU:$EFC4 PRG:2FC4 B0 4B + bcs Sub_8764_OnCarrySet_F011 ; CPU:$EFC4 PRG:2FC4 B0 4B cmp #$66 ; CPU:$EFC6 PRG:2FC6 C9 66 - bne Label_EFD1 ; CPU:$EFC8 PRG:2FC8 D0 07 + bne Sub_8764_OnNonzero_EFD1 ; CPU:$EFC8 PRG:2FC8 D0 07 lda #$2C ; CPU:$EFCA PRG:2FCA A9 2C ldx #$0C ; CPU:$EFCC PRG:2FCC A2 0C - jmp $EFD5 ; CPU:$EFCE PRG:2FCE 4C D5 EF + jmp SubCEFD5 ; CPU:$EFCE PRG:2FCE 4C D5 EF ; ----------------------------------------------------------------------------- -; Routine: Label_EFD1 +; Routine: Sub_8764_OnNonzero_EFD1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13255,11 +13255,11 @@ Label_EFC2: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD1: +Sub_8764_OnNonzero_EFD1: lda #$20 ; CPU:$EFD1 PRG:2FD1 A9 20 ldx #$4C ; CPU:$EFD3 PRG:2FD3 A2 4C ; ----------------------------------------------------------------------------- -; Routine: Label_EFD5 +; Routine: SubCEFD5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13267,7 +13267,7 @@ Label_EFD1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFD5: +SubCEFD5: sta Zp02 ; CPU:$EFD5 PRG:2FD5 85 02 stx Zp4B ; CPU:$EFD7 PRG:2FD7 86 4B lda Zp49 ; CPU:$EFD9 PRG:2FD9 A5 49 @@ -13279,7 +13279,7 @@ Label_EFD5: lda #$04 ; CPU:$EFE4 PRG:2FE4 A9 04 sta Zp01 ; CPU:$EFE6 PRG:2FE6 85 01 ; ----------------------------------------------------------------------------- -; Routine: Label_EFE8 +; Routine: Sub_8764_OnNonzero_EFE8 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13287,10 +13287,10 @@ Label_EFD5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFE8: +Sub_8764_OnNonzero_EFE8: ldx #$03 ; CPU:$EFE8 PRG:2FE8 A2 03 ; ----------------------------------------------------------------------------- -; Routine: Label_EFEA +; Routine: Sub_8764_OnNonzero_EFEA ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13298,28 +13298,28 @@ Label_EFE8: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_EFEA: +Sub_8764_OnNonzero_EFEA: lda Zp02 ; CPU:$EFEA PRG:2FEA A5 02 - jsr $F10D ; CPU:$EFEC PRG:2FEC 20 0D F1 + jsr SubCF10D ; CPU:$EFEC PRG:2FEC 20 0D F1 inc Zp4B ; CPU:$EFEF PRG:2FEF E6 4B lda #$08 ; CPU:$EFF1 PRG:2FF1 A9 08 - jsr $F18C ; CPU:$EFF3 PRG:2FF3 20 8C F1 + jsr SubCF18C ; CPU:$EFF3 PRG:2FF3 20 8C F1 inc Zp02 ; CPU:$EFF6 PRG:2FF6 E6 02 dex ; CPU:$EFF8 PRG:2FF8 CA - bne Label_EFEA ; CPU:$EFF9 PRG:2FF9 D0 EF + bne Sub_8764_OnNonzero_EFEA ; CPU:$EFF9 PRG:2FF9 D0 EF lda Zp49 ; CPU:$EFFB PRG:2FFB A5 49 sec ; CPU:$EFFD PRG:2FFD 38 sbc #$18 ; CPU:$EFFE PRG:2FFE E9 18 sta Zp49 ; CPU:$F000 PRG:3000 85 49 lda #$08 ; CPU:$F002 PRG:3002 A9 08 - jsr $F194 ; CPU:$F004 PRG:3004 20 94 F1 + jsr SubCF194 ; CPU:$F004 PRG:3004 20 94 F1 lda #$0D ; CPU:$F007 PRG:3007 A9 0D - jsr $F19A ; CPU:$F009 PRG:3009 20 9A F1 + jsr SubCF19A ; CPU:$F009 PRG:3009 20 9A F1 dec Zp01 ; CPU:$F00C PRG:300C C6 01 - bne Label_EFE8 ; CPU:$F00E PRG:300E D0 D8 + bne Sub_8764_OnNonzero_EFE8 ; CPU:$F00E PRG:300E D0 D8 rts ; CPU:$F010 PRG:3010 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F011 +; Routine: Sub_8764_OnCarrySet_F011 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13327,17 +13327,17 @@ Label_EFEA: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F011: +Sub_8764_OnCarrySet_F011: cmp #$74 ; CPU:$F011 PRG:3011 C9 74 - bcs Label_F020 ; CPU:$F013 PRG:3013 B0 0B + bcs Sub_8764_OnCarrySet_F020 ; CPU:$F013 PRG:3013 B0 0B sbc #$67 ; CPU:$F015 PRG:3015 E9 67 tax ; CPU:$F017 PRG:3017 AA lda $F1B4,x ; CPU:$F018 PRG:3018 BD B4 F1 tax ; CPU:$F01B PRG:301B AA lda #$40 ; CPU:$F01C PRG:301C A9 40 - bne Label_F02A ; CPU:$F01E PRG:301E D0 0A + bne Sub_8764_OnNonzero_F02A ; CPU:$F01E PRG:301E D0 0A ; ----------------------------------------------------------------------------- -; Routine: Label_F020 +; Routine: Sub_8764_OnCarrySet_F020 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13345,15 +13345,15 @@ Label_F011: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F020: +Sub_8764_OnCarrySet_F020: cmp #$7C ; CPU:$F020 PRG:3020 C9 7C - bcs Label_F035 ; CPU:$F022 PRG:3022 B0 11 + bcs Sub_8764_OnCarrySet_F035 ; CPU:$F022 PRG:3022 B0 11 sbc #$73 ; CPU:$F024 PRG:3024 E9 73 asl a ; CPU:$F026 PRG:3026 0A tax ; CPU:$F027 PRG:3027 AA lda #$80 ; CPU:$F028 PRG:3028 A9 80 ; ----------------------------------------------------------------------------- -; Routine: Label_F02A +; Routine: Sub_8764_OnNonzero_F02A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13361,10 +13361,10 @@ Label_F020: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02A: +Sub_8764_OnNonzero_F02A: stx Zp4C ; CPU:$F02A PRG:302A 86 4C ; ----------------------------------------------------------------------------- -; Routine: Label_F02C +; Routine: Sub_8764_OnNonzero_F02C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13372,11 +13372,11 @@ Label_F02A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F02C: +Sub_8764_OnNonzero_F02C: sta Zp4B ; CPU:$F02C PRG:302C 85 4B lda #$01 ; CPU:$F02E PRG:302E A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F030 +; Routine: SubCF030 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13384,11 +13384,11 @@ Label_F02C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F030: +SubCF030: sta Zp4D ; CPU:$F030 PRG:3030 85 4D - jmp $F178 ; CPU:$F032 PRG:3032 4C 78 F1 + jmp SubCF178 ; CPU:$F032 PRG:3032 4C 78 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F035 +; Routine: Sub_8764_OnCarrySet_F035 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13396,9 +13396,9 @@ Label_F030: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F035: +Sub_8764_OnCarrySet_F035: cmp #$84 ; CPU:$F035 PRG:3035 C9 84 - bcs Label_F060 ; CPU:$F037 PRG:3037 B0 27 + bcs Sub_8764_OnCarrySet_F060 ; CPU:$F037 PRG:3037 B0 27 sbc #$7B ; CPU:$F039 PRG:3039 E9 7B tax ; CPU:$F03B PRG:303B AA lda $F1C0,x ; CPU:$F03C PRG:303C BD C0 F1 @@ -13407,17 +13407,17 @@ Label_F035: sta Zp4D ; CPU:$F043 PRG:3043 85 4D lda $043F ; CPU:$F045 PRG:3045 AD 3F 04 cmp #$7D ; CPU:$F048 PRG:3048 C9 7D - bcc Label_F05C ; CPU:$F04A PRG:304A 90 10 + bcc Sub_8764_JoinBranchPaths_F05C ; CPU:$F04A PRG:304A 90 10 cmp #$82 ; CPU:$F04C PRG:304C C9 82 - bcs Label_F05C ; CPU:$F04E PRG:304E B0 0C + bcs Sub_8764_JoinBranchPaths_F05C ; CPU:$F04E PRG:304E B0 0C inc ZpDC ; CPU:$F050 PRG:3050 E6 DC lda ZpDC ; CPU:$F052 PRG:3052 A5 DC and #$01 ; CPU:$F054 PRG:3054 29 01 - bne Label_F05C ; CPU:$F056 PRG:3056 D0 04 + bne Sub_8764_JoinBranchPaths_F05C ; CPU:$F056 PRG:3056 D0 04 tya ; CPU:$F058 PRG:3058 98 - jmp $C589 ; CPU:$F059 PRG:3059 4C 89 C5 + jmp SubCC589 ; CPU:$F059 PRG:3059 4C 89 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_F05C +; Routine: Sub_8764_JoinBranchPaths_F05C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13425,11 +13425,11 @@ Label_F035: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F05C: +Sub_8764_JoinBranchPaths_F05C: tya ; CPU:$F05C PRG:305C 98 - jmp $F104 ; CPU:$F05D PRG:305D 4C 04 F1 + jmp SubCF104 ; CPU:$F05D PRG:305D 4C 04 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F060 +; Routine: Sub_8764_OnCarrySet_F060 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13437,20 +13437,20 @@ Label_F05C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F060: +Sub_8764_OnCarrySet_F060: cmp #$90 ; CPU:$F060 PRG:3060 C9 90 - bcs Label_F07E ; CPU:$F062 PRG:3062 B0 1A + bcs Sub_8764_OnCarrySet_F07E ; CPU:$F062 PRG:3062 B0 1A sbc #$83 ; CPU:$F064 PRG:3064 E9 83 tax ; CPU:$F066 PRG:3066 AA lda $F1B4,x ; CPU:$F067 PRG:3067 BD B4 F1 sta Zp4C ; CPU:$F06A PRG:306A 85 4C - lda Zp00 ; CPU:$F06C PRG:306C A5 00 + lda PtrLo ; CPU:$F06C PRG:306C A5 00 and #$01 ; CPU:$F06E PRG:306E 29 01 - bne Label_F076 ; CPU:$F070 PRG:3070 D0 04 + bne Sub_8764_OnNonzero_F076 ; CPU:$F070 PRG:3070 D0 04 lda #$02 ; CPU:$F072 PRG:3072 A9 02 - bne Label_F078 ; CPU:$F074 PRG:3074 D0 02 + bne Sub_8764_OnNonzero_F078 ; CPU:$F074 PRG:3074 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F076 +; Routine: Sub_8764_OnNonzero_F076 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13458,10 +13458,10 @@ Label_F060: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F076: +Sub_8764_OnNonzero_F076: lda #$01 ; CPU:$F076 PRG:3076 A9 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F078 +; Routine: Sub_8764_OnNonzero_F078 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13469,12 +13469,12 @@ Label_F076: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F078: +Sub_8764_OnNonzero_F078: ldx #$20 ; CPU:$F078 PRG:3078 A2 20 stx Zp4B ; CPU:$F07A PRG:307A 86 4B - bne Label_F030 ; CPU:$F07C PRG:307C D0 B2 + bne SubCF030 ; CPU:$F07C PRG:307C D0 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_F07E +; Routine: Sub_8764_OnCarrySet_F07E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13482,17 +13482,17 @@ Label_F078: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F07E: +Sub_8764_OnCarrySet_F07E: cmp #$9C ; CPU:$F07E PRG:307E C9 9C - bcs Label_F08E ; CPU:$F080 PRG:3080 B0 0C + bcs Sub_8764_OnCarrySet_F08E ; CPU:$F080 PRG:3080 B0 0C sbc #$8F ; CPU:$F082 PRG:3082 E9 8F tax ; CPU:$F084 PRG:3084 AA lda $F1B4,x ; CPU:$F085 PRG:3085 BD B4 F1 sta Zp4C ; CPU:$F088 PRG:3088 85 4C lda #$60 ; CPU:$F08A PRG:308A A9 60 - bne Label_F02C ; CPU:$F08C PRG:308C D0 9E + bne Sub_8764_OnNonzero_F02C ; CPU:$F08C PRG:308C D0 9E ; ----------------------------------------------------------------------------- -; Routine: Label_F08E +; Routine: Sub_8764_OnCarrySet_F08E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13500,17 +13500,17 @@ Label_F07E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F08E: +Sub_8764_OnCarrySet_F08E: cmp #$A0 ; CPU:$F08E PRG:308E C9 A0 - bcs Label_F09E ; CPU:$F090 PRG:3090 B0 0C + bcs Sub_8764_OnCarrySet_F09E ; CPU:$F090 PRG:3090 B0 0C sbc #$9B ; CPU:$F092 PRG:3092 E9 9B tax ; CPU:$F094 PRG:3094 AA lda $F1B0,x ; CPU:$F095 PRG:3095 BD B0 F1 sta Zp4C ; CPU:$F098 PRG:3098 85 4C lda #$A0 ; CPU:$F09A PRG:309A A9 A0 - bne Label_F02C ; CPU:$F09C PRG:309C D0 8E + bne Sub_8764_OnNonzero_F02C ; CPU:$F09C PRG:309C D0 8E ; ----------------------------------------------------------------------------- -; Routine: Label_F09E +; Routine: Sub_8764_OnCarrySet_F09E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13518,10 +13518,10 @@ Label_F08E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F09E: +Sub_8764_OnCarrySet_F09E: cmp #$A8 ; CPU:$F09E PRG:309E C9 A8 - beq Label_F0E0 ; CPU:$F0A0 PRG:30A0 F0 3E - bcs Label_F0B5 ; CPU:$F0A2 PRG:30A2 B0 11 + beq Sub_8764_JoinBranchPaths_F0E0 ; CPU:$F0A0 PRG:30A0 F0 3E + bcs Sub_8764_OnCarrySet_F0B5 ; CPU:$F0A2 PRG:30A2 B0 11 sbc #$9F ; CPU:$F0A4 PRG:30A4 E9 9F tax ; CPU:$F0A6 PRG:30A6 AA lda $F1C8,x ; CPU:$F0A7 PRG:30A7 BD C8 F1 @@ -13529,9 +13529,9 @@ Label_F09E: lda #$C0 ; CPU:$F0AC PRG:30AC A9 C0 sta Zp4B ; CPU:$F0AE PRG:30AE 85 4B lda #$02 ; CPU:$F0B0 PRG:30B0 A9 02 - jmp $F030 ; CPU:$F0B2 PRG:30B2 4C 30 F0 + jmp SubCF030 ; CPU:$F0B2 PRG:30B2 4C 30 F0 ; ----------------------------------------------------------------------------- -; Routine: Label_F0B5 +; Routine: Sub_8764_OnCarrySet_F0B5 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13539,15 +13539,15 @@ Label_F09E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0B5: +Sub_8764_OnCarrySet_F0B5: cmp #$AD ; CPU:$F0B5 PRG:30B5 C9 AD - bcs Label_F0E0 ; CPU:$F0B7 PRG:30B7 B0 27 + bcs Sub_8764_JoinBranchPaths_F0E0 ; CPU:$F0B7 PRG:30B7 B0 27 cmp #$AB ; CPU:$F0B9 PRG:30B9 C9 AB - bcc Label_F0C1 ; CPU:$F0BB PRG:30BB 90 04 + bcc Sub_8764_OnCarryClear_F0C1 ; CPU:$F0BB PRG:30BB 90 04 lda #$8C ; CPU:$F0BD PRG:30BD A9 8C - bne Label_F0C3 ; CPU:$F0BF PRG:30BF D0 02 + bne Sub_8764_OnNonzero_F0C3 ; CPU:$F0BF PRG:30BF D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C1 +; Routine: Sub_8764_OnCarryClear_F0C1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13555,10 +13555,10 @@ Label_F0B5: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C1: +Sub_8764_OnCarryClear_F0C1: lda #$82 ; CPU:$F0C1 PRG:30C1 A9 82 ; ----------------------------------------------------------------------------- -; Routine: Label_F0C3 +; Routine: Sub_8764_OnNonzero_F0C3 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13566,21 +13566,21 @@ Label_F0C1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0C3: +Sub_8764_OnNonzero_F0C3: sta Zp4B ; CPU:$F0C3 PRG:30C3 85 4B lda #$01 ; CPU:$F0C5 PRG:30C5 A9 01 sta Zp4D ; CPU:$F0C7 PRG:30C7 85 4D lda #$08 ; CPU:$F0C9 PRG:30C9 A9 08 - sta Zp00 ; CPU:$F0CB PRG:30CB 85 00 + sta PtrLo ; CPU:$F0CB PRG:30CB 85 00 lda #$20 ; CPU:$F0CD PRG:30CD A9 20 - jsr $F0E1 ; CPU:$F0CF PRG:30CF 20 E1 F0 - jsr $F192 ; CPU:$F0D2 PRG:30D2 20 92 F1 + jsr SubCF0E1 ; CPU:$F0CF PRG:30CF 20 E1 F0 + jsr SubCF192 ; CPU:$F0D2 PRG:30D2 20 92 F1 lda #$02 ; CPU:$F0D5 PRG:30D5 A9 02 - jsr $F0E1 ; CPU:$F0D7 PRG:30D7 20 E1 F0 - jsr $F18A ; CPU:$F0DA PRG:30DA 20 8A F1 - jsr $F102 ; CPU:$F0DD PRG:30DD 20 02 F1 + jsr SubCF0E1 ; CPU:$F0D7 PRG:30D7 20 E1 F0 + jsr SubCF18A ; CPU:$F0DA PRG:30DA 20 8A F1 + jsr SubCF102 ; CPU:$F0DD PRG:30DD 20 02 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F0E0 +; Routine: Sub_8764_JoinBranchPaths_F0E0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13588,10 +13588,10 @@ Label_F0C3: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E0: +Sub_8764_JoinBranchPaths_F0E0: rts ; CPU:$F0E0 PRG:30E0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0E1 +; Routine: SubCF0E1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13599,15 +13599,15 @@ Label_F0E0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0E1: +SubCF0E1: sta Zp02 ; CPU:$F0E1 PRG:30E1 85 02 - jsr $F102 ; CPU:$F0E3 PRG:30E3 20 02 F1 + jsr SubCF102 ; CPU:$F0E3 PRG:30E3 20 02 F1 lda Zp02 ; CPU:$F0E6 PRG:30E6 A5 02 - jsr $F19A ; CPU:$F0E8 PRG:30E8 20 9A F1 - inc Zp00 ; CPU:$F0EB PRG:30EB E6 00 + jsr SubCF19A ; CPU:$F0E8 PRG:30E8 20 9A F1 + inc PtrLo ; CPU:$F0EB PRG:30EB E6 00 rts ; CPU:$F0ED PRG:30ED 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F0EE +; Routine: SubCF0EE ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13615,7 +13615,7 @@ Label_F0E1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F0EE: +SubCF0EE: lda Zp1F ; CPU:$F0EE PRG:30EE A5 1F sta Zp49 ; CPU:$F0F0 PRG:30F0 85 49 lda Zp20 ; CPU:$F0F2 PRG:30F2 A5 20 @@ -13625,9 +13625,9 @@ Label_F0EE: lda #$00 ; CPU:$F0FA PRG:30FA A9 00 sta Zp4D ; CPU:$F0FC PRG:30FC 85 4D lda #$01 ; CPU:$F0FE PRG:30FE A9 01 - bne Label_F104 ; CPU:$F100 PRG:3100 D0 02 + bne SubCF104 ; CPU:$F100 PRG:3100 D0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F102 +; Routine: SubCF102 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13635,10 +13635,10 @@ Label_F0EE: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F102: - lda Zp00 ; CPU:$F102 PRG:3102 A5 00 +SubCF102: + lda PtrLo ; CPU:$F102 PRG:3102 A5 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F104 +; Routine: SubCF104 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13646,12 +13646,12 @@ Label_F102: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F104: - jsr $F116 ; CPU:$F104 PRG:3104 20 16 F1 - jsr $C5A6 ; CPU:$F107 PRG:3107 20 A6 C5 - jmp $F17F ; CPU:$F10A PRG:310A 4C 7F F1 +SubCF104: + jsr SubCF116 ; CPU:$F104 PRG:3104 20 16 F1 + jsr SubCC5A6 ; CPU:$F107 PRG:3107 20 A6 C5 + jmp SubCF17F ; CPU:$F10A PRG:310A 4C 7F F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F10D +; Routine: SubCF10D ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13659,12 +13659,12 @@ Label_F104: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F10D: - jsr $F116 ; CPU:$F10D PRG:310D 20 16 F1 - jsr $C56D ; CPU:$F110 PRG:3110 20 6D C5 - jmp $F17F ; CPU:$F113 PRG:3113 4C 7F F1 +SubCF10D: + jsr SubCF116 ; CPU:$F10D PRG:310D 20 16 F1 + jsr SubCC56D ; CPU:$F110 PRG:3110 20 6D C5 + jmp SubCF17F ; CPU:$F113 PRG:3113 4C 7F F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F116 +; Routine: SubCF116 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13672,7 +13672,7 @@ Label_F10D: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F116: +SubCF116: pha ; CPU:$F116 PRG:3116 48 lda Zp49 ; CPU:$F117 PRG:3117 A5 49 sec ; CPU:$F119 PRG:3119 38 @@ -13685,7 +13685,7 @@ Label_F116: pla ; CPU:$F125 PRG:3125 68 rts ; CPU:$F126 PRG:3126 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F127 +; Routine: SubCF127 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13693,27 +13693,27 @@ Label_F116: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F127: +SubCF127: lda ZpB4 ; CPU:$F127 PRG:3127 A5 B4 sta Zp49 ; CPU:$F129 PRG:3129 85 49 lda ZpB5 ; CPU:$F12B PRG:312B A5 B5 sta Zp4A ; CPU:$F12D PRG:312D 85 4A lda ZpAB ; CPU:$F12F PRG:312F A5 AB - bmi Label_F154 ; CPU:$F131 PRG:3131 30 21 + bmi SubCF154 ; CPU:$F131 PRG:3131 30 21 dec ZpAC ; CPU:$F133 PRG:3133 C6 AC - bne Label_F154 ; CPU:$F135 PRG:3135 D0 1D + bne SubCF154 ; CPU:$F135 PRG:3135 D0 1D lda ZpAB ; CPU:$F137 PRG:3137 A5 AB sta ZpAC ; CPU:$F139 PRG:3139 85 AC lda ZpB2 ; CPU:$F13B PRG:313B A5 B2 cmp #$63 ; CPU:$F13D PRG:313D C9 63 - beq Label_F150 ; CPU:$F13F PRG:313F F0 0F + beq Sub_8764_OnZero_F150 ; CPU:$F13F PRG:313F F0 0F and #$01 ; CPU:$F141 PRG:3141 29 01 - bne Label_F14B ; CPU:$F143 PRG:3143 D0 06 + bne Sub_8764_OnNonzero_F14B ; CPU:$F143 PRG:3143 D0 06 lda ZpCA ; CPU:$F145 PRG:3145 A5 CA - bne Label_F14B ; CPU:$F147 PRG:3147 D0 02 + bne Sub_8764_OnNonzero_F14B ; CPU:$F147 PRG:3147 D0 02 inc ZpCD ; CPU:$F149 PRG:3149 E6 CD ; ----------------------------------------------------------------------------- -; Routine: Label_F14B +; Routine: Sub_8764_OnNonzero_F14B ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13721,11 +13721,11 @@ Label_F127: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F14B: +Sub_8764_OnNonzero_F14B: inc ZpB2 ; CPU:$F14B PRG:314B E6 B2 - jmp $F154 ; CPU:$F14D PRG:314D 4C 54 F1 + jmp SubCF154 ; CPU:$F14D PRG:314D 4C 54 F1 ; ----------------------------------------------------------------------------- -; Routine: Label_F150 +; Routine: Sub_8764_OnZero_F150 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13733,11 +13733,11 @@ Label_F14B: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F150: +Sub_8764_OnZero_F150: lda #$60 ; CPU:$F150 PRG:3150 A9 60 sta ZpB2 ; CPU:$F152 PRG:3152 85 B2 ; ----------------------------------------------------------------------------- -; Routine: Label_F154 +; Routine: SubCF154 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13745,7 +13745,7 @@ Label_F150: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F154: +SubCF154: lda ZpB2 ; CPU:$F154 PRG:3154 A5 B2 sec ; CPU:$F156 PRG:3156 38 sbc #$60 ; CPU:$F157 PRG:3157 E9 60 @@ -13755,7 +13755,7 @@ Label_F154: lda #$00 ; CPU:$F15F PRG:315F A9 00 sta Zp4D ; CPU:$F161 PRG:3161 85 4D lda #$00 ; CPU:$F163 PRG:3163 A9 00 - jsr $F179 ; CPU:$F165 PRG:3165 20 79 F1 + jsr SubCF179 ; CPU:$F165 PRG:3165 20 79 F1 lda Zp3D ; CPU:$F168 PRG:3168 A5 3D and #$0F ; CPU:$F16A PRG:316A 29 0F tax ; CPU:$F16C PRG:316C AA @@ -13765,7 +13765,7 @@ Label_F154: sta Zp4B ; CPU:$F174 PRG:3174 85 4B ldy #$02 ; CPU:$F176 PRG:3176 A0 02 ; ----------------------------------------------------------------------------- -; Routine: Label_F178 +; Routine: SubCF178 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13773,10 +13773,10 @@ Label_F154: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F178: +SubCF178: tya ; CPU:$F178 PRG:3178 98 ; ----------------------------------------------------------------------------- -; Routine: Label_F179 +; Routine: SubCF179 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13784,11 +13784,11 @@ Label_F178: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F179: - jsr $F116 ; CPU:$F179 PRG:3179 20 16 F1 - jsr $C5C7 ; CPU:$F17C PRG:317C 20 C7 C5 +SubCF179: + jsr SubCF116 ; CPU:$F179 PRG:3179 20 16 F1 + jsr SubCC5C7 ; CPU:$F17C PRG:317C 20 C7 C5 ; ----------------------------------------------------------------------------- -; Routine: Label_F17F +; Routine: SubCF17F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13796,15 +13796,15 @@ Label_F179: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F17F: +SubCF17F: pha ; CPU:$F17F PRG:317F 48 lda #$34 ; CPU:$F180 PRG:3180 A9 34 - jsr $F18C ; CPU:$F182 PRG:3182 20 8C F1 - jsr $F192 ; CPU:$F185 PRG:3185 20 92 F1 + jsr SubCF18C ; CPU:$F182 PRG:3182 20 8C F1 + jsr SubCF192 ; CPU:$F185 PRG:3185 20 92 F1 pla ; CPU:$F188 PRG:3188 68 rts ; CPU:$F189 PRG:3189 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F18A +; Routine: SubCF18A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13812,10 +13812,10 @@ Label_F17F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F18A: +SubCF18A: lda #$10 ; CPU:$F18A PRG:318A A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_F18C +; Routine: SubCF18C ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13823,13 +13823,13 @@ Label_F18A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F18C: +SubCF18C: clc ; CPU:$F18C PRG:318C 18 adc Zp49 ; CPU:$F18D PRG:318D 65 49 sta Zp49 ; CPU:$F18F PRG:318F 85 49 rts ; CPU:$F191 PRG:3191 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F192 +; Routine: SubCF192 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13837,10 +13837,10 @@ Label_F18C: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F192: +SubCF192: lda #$10 ; CPU:$F192 PRG:3192 A9 10 ; ----------------------------------------------------------------------------- -; Routine: Label_F194 +; Routine: SubCF194 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13848,13 +13848,13 @@ Label_F192: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F194: +SubCF194: clc ; CPU:$F194 PRG:3194 18 adc Zp4A ; CPU:$F195 PRG:3195 65 4A sta Zp4A ; CPU:$F197 PRG:3197 85 4A rts ; CPU:$F199 PRG:3199 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F19A +; Routine: SubCF19A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13862,7 +13862,7 @@ Label_F194: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F19A: +SubCF19A: clc ; CPU:$F19A PRG:319A 18 adc Zp4B ; CPU:$F19B PRG:319B 65 4B sta Zp4B ; CPU:$F19D PRG:319D 85 4B @@ -13881,7 +13881,7 @@ Label_F19A: .byte $E8, $E0, $19, $D0, $09, $A2, $00, $C8, $C0, $0A, $D0, $02, $A0, $00, $60, $E8 ; CPU:$F1D0 PRG:31D0 E8 E0 19 D0 09 A2 00 C8 C0 0A D0 02 A0 00 60 E8 .byte $E0, $28, $4C, $D3, $F1, $A9, $18 ; CPU:$F1E0 PRG:31E0 E0 28 4C D3 F1 A9 18 ; ----------------------------------------------------------------------------- -; Routine: Label_F1E7 +; Routine: Sub_8764_OnNonzero_F1E7 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13889,15 +13889,15 @@ Label_F19A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1E7: +Sub_8764_OnNonzero_F1E7: dex ; CPU:$F1E7 PRG:31E7 CA - bpl Label_F1F0 ; CPU:$F1E8 PRG:31E8 10 06 + bpl Sub_8764_OnNonnegative_F1F0 ; CPU:$F1E8 PRG:31E8 10 06 tax ; CPU:$F1EA PRG:31EA AA dey ; CPU:$F1EB PRG:31EB 88 - bpl Label_F1F0 ; CPU:$F1EC PRG:31EC 10 02 + bpl Sub_8764_OnNonnegative_F1F0 ; CPU:$F1EC PRG:31EC 10 02 ldy #$09 ; CPU:$F1EE PRG:31EE A0 09 ; ----------------------------------------------------------------------------- -; Routine: Label_F1F0 +; Routine: Sub_8764_OnNonnegative_F1F0 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13905,10 +13905,10 @@ Label_F1E7: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F0: +Sub_8764_OnNonnegative_F1F0: rts ; CPU:$F1F0 PRG:31F0 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F1F1 +; Routine: Sub_8764_Return_F1F1 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13916,20 +13916,20 @@ Label_F1F0: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F1F1: +Sub_8764_Return_F1F1: lda #$27 ; CPU:$F1F1 PRG:31F1 A9 27 - bne Label_F1E7 ; CPU:$F1F3 PRG:31F3 D0 F2 + bne Sub_8764_OnNonzero_F1E7 ; CPU:$F1F3 PRG:31F3 D0 F2 lda Zp5D ; CPU:$F1F5 PRG:31F5 A5 5D - beq Label_F207 ; CPU:$F1F7 PRG:31F7 F0 0E + beq Sub_8764_OnZero_F207 ; CPU:$F1F7 PRG:31F7 F0 0E ldy Zp5E ; CPU:$F1F9 PRG:31F9 A4 5E lda $F395,y ; CPU:$F1FB PRG:31FB B9 95 F3 - beq Label_F207 ; CPU:$F1FE PRG:31FE F0 07 + beq Sub_8764_OnZero_F207 ; CPU:$F1FE PRG:31FE F0 07 clc ; CPU:$F200 PRG:3200 18 adc Zp5D ; CPU:$F201 PRG:3201 65 5D tay ; CPU:$F203 PRG:3203 A8 lda $F394,y ; CPU:$F204 PRG:3204 B9 94 F3 ; ----------------------------------------------------------------------------- -; Routine: Label_F207 +; Routine: Sub_8764_OnZero_F207 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13937,13 +13937,13 @@ Label_F1F1: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F207: +Sub_8764_OnZero_F207: sta Zp02 ; CPU:$F207 PRG:3207 85 02 lsr a ; CPU:$F209 PRG:3209 4A and #$1E ; CPU:$F20A PRG:320A 29 1E tay ; CPU:$F20C PRG:320C A8 lda $F3F4,y ; CPU:$F20D PRG:320D B9 F4 F3 - sta Zp00 ; CPU:$F210 PRG:3210 85 00 + sta PtrLo ; CPU:$F210 PRG:3210 85 00 lda $F3F5,y ; CPU:$F212 PRG:3212 B9 F5 F3 sta Zp01 ; CPU:$F215 PRG:3215 85 01 lda Zp02 ; CPU:$F217 PRG:3217 A5 02 @@ -13951,12 +13951,12 @@ Label_F207: tay ; CPU:$F21B PRG:321B A8 lda $F3F0,y ; CPU:$F21C PRG:321C B9 F0 F3 clc ; CPU:$F21F PRG:321F 18 - adc Zp00 ; CPU:$F220 PRG:3220 65 00 - sta Zp00 ; CPU:$F222 PRG:3222 85 00 - bcc Label_F228 ; CPU:$F224 PRG:3224 90 02 + adc PtrLo ; CPU:$F220 PRG:3220 65 00 + sta PtrLo ; CPU:$F222 PRG:3222 85 00 + bcc Sub_8764_OnCarryClear_F228 ; CPU:$F224 PRG:3224 90 02 inc Zp01 ; CPU:$F226 PRG:3226 E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F228 +; Routine: Sub_8764_OnCarryClear_F228 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13964,13 +13964,13 @@ Label_F207: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F228: +Sub_8764_OnCarryClear_F228: lda #$00 ; CPU:$F228 PRG:3228 A9 00 sta Zp02 ; CPU:$F22A PRG:322A 85 02 ldx Zp5C ; CPU:$F22C PRG:322C A6 5C - beq Label_F236 ; CPU:$F22E PRG:322E F0 06 + beq Sub_8764_OnZero_F236 ; CPU:$F22E PRG:322E F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F230 +; Routine: Sub_8764_OnNonzero_F230 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13978,12 +13978,12 @@ Label_F228: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F230: - jsr $F25F ; CPU:$F230 PRG:3230 20 5F F2 +Sub_8764_OnNonzero_F230: + jsr SubCF25F ; CPU:$F230 PRG:3230 20 5F F2 dex ; CPU:$F233 PRG:3233 CA - bne Label_F230 ; CPU:$F234 PRG:3234 D0 FA + bne Sub_8764_OnNonzero_F230 ; CPU:$F234 PRG:3234 D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F236 +; Routine: Sub_8764_OnZero_F236 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -13991,10 +13991,10 @@ Label_F230: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F236: +Sub_8764_OnZero_F236: rts ; CPU:$F236 PRG:3236 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F237 +; Routine: Sub_8764_Return_F237 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14002,17 +14002,17 @@ Label_F236: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F237: - lda Zp00 ; CPU:$F237 PRG:3237 A5 00 +Sub_8764_Return_F237: + lda PtrLo ; CPU:$F237 PRG:3237 A5 00 sta Zp5F ; CPU:$F239 PRG:3239 85 5F lda Zp01 ; CPU:$F23B PRG:323B A5 01 sta Zp60 ; CPU:$F23D PRG:323D 85 60 lda #$00 ; CPU:$F23F PRG:323F A9 00 sta Zp61 ; CPU:$F241 PRG:3241 85 61 lda Zp5B ; CPU:$F243 PRG:3243 A5 5B - beq Label_F25E ; CPU:$F245 PRG:3245 F0 17 + beq Sub_8764_OnZero_F25E ; CPU:$F245 PRG:3245 F0 17 ; ----------------------------------------------------------------------------- -; Routine: Label_F247 +; Routine: Sub_8764_OnNonzero_F247 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14020,16 +14020,16 @@ Label_F237: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F247: +Sub_8764_OnNonzero_F247: cmp #$05 ; CPU:$F247 PRG:3247 C9 05 - bcc Label_F255 ; CPU:$F249 PRG:3249 90 0A + bcc Sub_8764_OnCarryClear_F255 ; CPU:$F249 PRG:3249 90 0A sbc #$05 ; CPU:$F24B PRG:324B E9 05 inc Zp5F ; CPU:$F24D PRG:324D E6 5F - bne Label_F247 ; CPU:$F24F PRG:324F D0 F6 + bne Sub_8764_OnNonzero_F247 ; CPU:$F24F PRG:324F D0 F6 inc Zp60 ; CPU:$F251 PRG:3251 E6 60 - bne Label_F247 ; CPU:$F253 PRG:3253 D0 F2 + bne Sub_8764_OnNonzero_F247 ; CPU:$F253 PRG:3253 D0 F2 ; ----------------------------------------------------------------------------- -; Routine: Label_F255 +; Routine: Sub_8764_OnCarryClear_F255 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14037,11 +14037,11 @@ Label_F247: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F255: +Sub_8764_OnCarryClear_F255: tax ; CPU:$F255 PRG:3255 AA - beq Label_F25E ; CPU:$F256 PRG:3256 F0 06 + beq Sub_8764_OnZero_F25E ; CPU:$F256 PRG:3256 F0 06 ; ----------------------------------------------------------------------------- -; Routine: Label_F258 +; Routine: Sub_8764_OnNonzero_F258 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14049,12 +14049,12 @@ Label_F255: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F258: - jsr $F27A ; CPU:$F258 PRG:3258 20 7A F2 +Sub_8764_OnNonzero_F258: + jsr SubCF27A ; CPU:$F258 PRG:3258 20 7A F2 dex ; CPU:$F25B PRG:325B CA - bne Label_F258 ; CPU:$F25C PRG:325C D0 FA + bne Sub_8764_OnNonzero_F258 ; CPU:$F25C PRG:325C D0 FA ; ----------------------------------------------------------------------------- -; Routine: Label_F25E +; Routine: Sub_8764_OnZero_F25E ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14062,10 +14062,10 @@ Label_F258: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F25E: +Sub_8764_OnZero_F25E: rts ; CPU:$F25E PRG:325E 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F25F +; Routine: SubCF25F ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14073,23 +14073,23 @@ Label_F25E: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F25F: +SubCF25F: lda Zp02 ; CPU:$F25F PRG:325F A5 02 clc ; CPU:$F261 PRG:3261 18 adc #$05 ; CPU:$F262 PRG:3262 69 05 sta Zp02 ; CPU:$F264 PRG:3264 85 02 cmp #$19 ; CPU:$F266 PRG:3266 C9 19 - bcc Label_F279 ; CPU:$F268 PRG:3268 90 0F + bcc Sub_8764_OnCarryClear_F279 ; CPU:$F268 PRG:3268 90 0F lda #$00 ; CPU:$F26A PRG:326A A9 00 sta Zp02 ; CPU:$F26C PRG:326C 85 02 - lda Zp00 ; CPU:$F26E PRG:326E A5 00 + lda PtrLo ; CPU:$F26E PRG:326E A5 00 clc ; CPU:$F270 PRG:3270 18 adc #$08 ; CPU:$F271 PRG:3271 69 08 - sta Zp00 ; CPU:$F273 PRG:3273 85 00 - bcc Label_F279 ; CPU:$F275 PRG:3275 90 02 + sta PtrLo ; CPU:$F273 PRG:3273 85 00 + bcc Sub_8764_OnCarryClear_F279 ; CPU:$F275 PRG:3275 90 02 inc Zp01 ; CPU:$F277 PRG:3277 E6 01 ; ----------------------------------------------------------------------------- -; Routine: Label_F279 +; Routine: Sub_8764_OnCarryClear_F279 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14097,10 +14097,10 @@ Label_F25F: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F279: +Sub_8764_OnCarryClear_F279: rts ; CPU:$F279 PRG:3279 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F27A +; Routine: SubCF27A ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14108,12 +14108,12 @@ Label_F279: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F27A: +SubCF27A: lda Zp61 ; CPU:$F27A PRG:327A A5 61 - bne Label_F2B2 ; CPU:$F27C PRG:327C D0 34 + bne Sub_8764_OnNonzero_F2B2 ; CPU:$F27C PRG:327C D0 34 ldy #$00 ; CPU:$F27E PRG:327E A0 00 ; ----------------------------------------------------------------------------- -; Routine: Label_F280 +; Routine: Sub_8764_LoadIndexAndContinue_F280 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14121,7 +14121,7 @@ Label_F27A: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F280: +Sub_8764_LoadIndexAndContinue_F280: lda (Zp5F),y ; CPU:$F280 PRG:3280 B1 5F sta Zp61 ; CPU:$F282 PRG:3282 85 61 lsr a ; CPU:$F284 PRG:3284 4A @@ -14139,10 +14139,10 @@ Label_F280: clc ; CPU:$F29B PRG:329B 18 adc Zp63 ; CPU:$F29C PRG:329C 65 63 sta Zp63 ; CPU:$F29E PRG:329E 85 63 - bcc Label_F2A4 ; CPU:$F2A0 PRG:32A0 90 02 + bcc Sub_8764_OnCarryClear_F2A4 ; CPU:$F2A0 PRG:32A0 90 02 inc Zp64 ; CPU:$F2A2 PRG:32A2 E6 64 ; ----------------------------------------------------------------------------- -; Routine: Label_F2A4 +; Routine: Sub_8764_OnCarryClear_F2A4 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14150,16 +14150,16 @@ Label_F280: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2A4: +Sub_8764_OnCarryClear_F2A4: lda Zp02 ; CPU:$F2A4 PRG:32A4 A5 02 sta Zp62 ; CPU:$F2A6 PRG:32A6 85 62 lda #$05 ; CPU:$F2A8 PRG:32A8 A9 05 sta Zp61 ; CPU:$F2AA PRG:32AA 85 61 inc Zp5F ; CPU:$F2AC PRG:32AC E6 5F - bne Label_F2B2 ; CPU:$F2AE PRG:32AE D0 02 + bne Sub_8764_OnNonzero_F2B2 ; CPU:$F2AE PRG:32AE D0 02 inc Zp60 ; CPU:$F2B0 PRG:32B0 E6 60 ; ----------------------------------------------------------------------------- -; Routine: Label_F2B2 +; Routine: Sub_8764_OnNonzero_F2B2 ; Global: Contextual control-flow entry identified from its parent routine and incoming branch usage. ; Local: Continues its parent routine along the condition or operation encoded in this label, ; then returns, branches again, or rejoins shared code as documented by the instructions. @@ -14167,7 +14167,7 @@ Label_F2A4: ; Returns: Undetermined in Pass 1; status flags and registers may carry results. ; Clobbers: Undetermined in Pass 1. ; ----------------------------------------------------------------------------- -Label_F2B2: +Sub_8764_OnNonzero_F2B2: dec Zp61 ; CPU:$F2B2 PRG:32B2 C6 61 ldy Zp62 ; CPU:$F2B4 PRG:32B4 A4 62 lda (Zp63),y ; CPU:$F2B6 PRG:32B6 B1 63 diff --git a/_wip/Raid on Bungeling Bay (U)/copilot/reconstructed.lbl b/_wip/Raid on Bungeling Bay (U)/copilot/reconstructed.lbl index f94ec83..7359e24 100644 --- a/_wip/Raid on Bungeling Bay (U)/copilot/reconstructed.lbl +++ b/_wip/Raid on Bungeling Bay (U)/copilot/reconstructed.lbl @@ -1,871 +1,871 @@ -al 00F2A4 .Label_F2A4 -al 00F280 .Label_F280 -al 00F2B2 .Label_F2B2 -al 00F27A .Label_F27A -al 00F279 .Label_F279 -al 00F25F .Label_F25F -al 00F258 .Label_F258 -al 00F255 .Label_F255 -al 00F247 .Label_F247 -al 00F25E .Label_F25E -al 00F237 .Label_F237 -al 00F230 .Label_F230 -al 00F236 .Label_F236 -al 00F228 .Label_F228 -al 00F207 .Label_F207 -al 00F1F1 .Label_F1F1 -al 00F1F0 .Label_F1F0 -al 00F1E7 .Label_F1E7 -al 00F19A .Label_F19A -al 00F194 .Label_F194 -al 00F192 .Label_F192 -al 00F18C .Label_F18C -al 00F18A .Label_F18A -al 00F17F .Label_F17F -al 00F179 .Label_F179 -al 00F178 .Label_F178 -al 00F14B .Label_F14B -al 00F150 .Label_F150 -al 00F154 .Label_F154 -al 00F127 .Label_F127 -al 00F116 .Label_F116 -al 00F10D .Label_F10D -al 00F102 .Label_F102 -al 00F104 .Label_F104 -al 00F0EE .Label_F0EE -al 00F0E1 .Label_F0E1 -al 00F0C3 .Label_F0C3 -al 00F0C1 .Label_F0C1 -al 00F0B5 .Label_F0B5 -al 00F0E0 .Label_F0E0 -al 00F09E .Label_F09E -al 00F08E .Label_F08E -al 00F078 .Label_F078 -al 00F076 .Label_F076 -al 00F07E .Label_F07E -al 00F05C .Label_F05C -al 00F060 .Label_F060 -al 00F030 .Label_F030 -al 00F02C .Label_F02C -al 00F035 .Label_F035 -al 00F02A .Label_F02A -al 00F020 .Label_F020 -al 00EFEA .Label_EFEA -al 00EFE8 .Label_EFE8 -al 00EFD5 .Label_EFD5 -al 00EFD1 .Label_EFD1 -al 00F011 .Label_F011 -al 00EFB0 .Label_EFB0 -al 00EF98 .Label_EF98 -al 00EF96 .Label_EF96 -al 00EFC2 .Label_EFC2 -al 00EF75 .Label_EF75 -al 00EF76 .Label_EF76 -al 00EF5A .Label_EF5A -al 00EF58 .Label_EF58 -al 00EF50 .Label_EF50 -al 00EF4A .Label_EF4A -al 00EF3E .Label_EF3E -al 00EF31 .Label_EF31 -al 00EF24 .Label_EF24 -al 00EF0D .Label_EF0D -al 00EEF5 .Label_EEF5 -al 00EEEF .Label_EEEF -al 00EEDC .Label_EEDC -al 00EF38 .Label_EF38 -al 00EED6 .Label_EED6 -al 00EECE .Label_EECE -al 00EEC5 .Label_EEC5 -al 00EEBC .Label_EEBC -al 00EEA4 .Label_EEA4 -al 00EEB3 .Label_EEB3 -al 00EE94 .Label_EE94 -al 00EE79 .Label_EE79 -al 00EE66 .Label_EE66 -al 00EE1B .Label_EE1B -al 00EE2E .Label_EE2E -al 00EE2F .Label_EE2F -al 00EDF4 .Label_EDF4 -al 00EDE2 .Label_EDE2 -al 00EDE0 .Label_EDE0 -al 00EDEC .Label_EDEC -al 00EDD7 .Label_EDD7 -al 00EDD5 .Label_EDD5 -al 00EDD4 .Label_EDD4 -al 00EDB6 .Label_EDB6 -al 00ED98 .Label_ED98 -al 00ED96 .Label_ED96 -al 00ED8E .Label_ED8E -al 00ED7E .Label_ED7E -al 00ED78 .Label_ED78 -al 00ED94 .Label_ED94 -al 00ED61 .Label_ED61 -al 00ED0E .Label_ED0E -al 00ED09 .Label_ED09 -al 00ECF8 .Label_ECF8 -al 00ECF3 .Label_ECF3 -al 00ECE2 .Label_ECE2 -al 00ECDD .Label_ECDD -al 00ECCC .Label_ECCC -al 00ECC7 .Label_ECC7 -al 00ECE7 .Label_ECE7 -al 00EC9E .Label_EC9E -al 00EBC1 .Label_EBC1 -al 00EBAF .Label_EBAF -al 00EBB8 .Label_EBB8 -al 00EBB2 .Label_EBB2 -al 00EB9E .Label_EB9E -al 00EB83 .Label_EB83 -al 00EB95 .Label_EB95 -al 00EB8C .Label_EB8C -al 00EB86 .Label_EB86 -al 00EB72 .Label_EB72 -al 00EB4F .Label_EB4F -al 00EB5F .Label_EB5F -al 00EB65 .Label_EB65 -al 00EB47 .Label_EB47 -al 00EB10 .Label_EB10 -al 00EB2A .Label_EB2A -al 00EB30 .Label_EB30 -al 00EB06 .Label_EB06 -al 00EAF6 .Label_EAF6 -al 00EAF5 .Label_EAF5 -al 00EAE3 .Label_EAE3 -al 00EAE2 .Label_EAE2 -al 00EAE1 .Label_EAE1 -al 00EAD7 .Label_EAD7 -al 00EAD2 .Label_EAD2 -al 00EACF .Label_EACF -al 00EAC3 .Label_EAC3 -al 00EACE .Label_EACE -al 00EAB5 .Label_EAB5 -al 00EAA4 .Label_EAA4 -al 00EA98 .Label_EA98 -al 00EA9B .Label_EA9B -al 00EA86 .Label_EA86 -al 00EA79 .Label_EA79 -al 00EA8F .Label_EA8F -al 00EA71 .Label_EA71 -al 00EA63 .Label_EA63 -al 00EA57 .Label_EA57 -al 00EA5A .Label_EA5A -al 00EA45 .Label_EA45 -al 00EA38 .Label_EA38 -al 00EA4E .Label_EA4E -al 00EA30 .Label_EA30 -al 00EA66 .Label_EA66 -al 00EA1F .Label_EA1F -al 00EA01 .Label_EA01 -al 00E9E9 .Label_E9E9 -al 00E9E3 .Label_E9E3 -al 00E9DD .Label_E9DD -al 00E9E8 .Label_E9E8 -al 00E9CB .Label_E9CB -al 00E9D7 .Label_E9D7 -al 00E9BA .Label_E9BA -al 00E9A5 .Label_E9A5 -al 00E99C .Label_E99C -al 00E9AE .Label_E9AE -al 00E996 .Label_E996 -al 00E98C .Label_E98C -al 00E968 .Label_E968 -al 00E967 .Label_E967 -al 00E93E .Label_E93E -al 00E939 .Label_E939 -al 00E92F .Label_E92F -al 00E929 .Label_E929 -al 00E923 .Label_E923 -al 00E8F9 .Label_E8F9 -al 00E8C6 .Label_E8C6 -al 00E89E .Label_E89E -al 00E8CB .Label_E8CB -al 00E887 .Label_E887 -al 00E882 .Label_E882 -al 00E86F .Label_E86F -al 00E85C .Label_E85C -al 00E859 .Label_E859 -al 00E83E .Label_E83E -al 00E82D .Label_E82D -al 00E81B .Label_E81B -al 00E806 .Label_E806 -al 00E803 .Label_E803 -al 00E7F9 .Label_E7F9 -al 00E7EE .Label_E7EE -al 00E7ED .Label_E7ED -al 00E7E3 .Label_E7E3 -al 00E7D6 .Label_E7D6 -al 00E7D3 .Label_E7D3 -al 00E7CB .Label_E7CB -al 00E7C0 .Label_E7C0 -al 00E7BD .Label_E7BD -al 00E7B3 .Label_E7B3 -al 00E7A6 .Label_E7A6 -al 00E7A3 .Label_E7A3 -al 00E7A0 .Label_E7A0 -al 00E79D .Label_E79D -al 00E79A .Label_E79A -al 00E79B .Label_E79B -al 00E78E .Label_E78E -al 00E78F .Label_E78F -al 00E791 .Label_E791 -al 00E790 .Label_E790 -al 00E77F .Label_E77F -al 00E77C .Label_E77C -al 00E777 .Label_E777 -al 00E76E .Label_E76E -al 00E740 .Label_E740 -al 00E718 .Label_E718 -al 00E723 .Label_E723 -al 00E70B .Label_E70B -al 00E700 .Label_E700 -al 00E6FA .Label_E6FA -al 00E6F5 .Label_E6F5 -al 00E6F0 .Label_E6F0 -al 00E6FF .Label_E6FF -al 00E6E5 .Label_E6E5 -al 00E6CC .Label_E6CC -al 00E6BB .Label_E6BB -al 00E699 .Label_E699 -al 00E686 .Label_E686 -al 00E684 .Label_E684 -al 00E665 .Label_E665 -al 00E65F .Label_E65F -al 00E65B .Label_E65B -al 00E632 .Label_E632 -al 00E630 .Label_E630 -al 00E621 .Label_E621 -al 00E620 .Label_E620 -al 00E61D .Label_E61D -al 00E60D .Label_E60D -al 00E5F1 .Label_E5F1 -al 00E5EF .Label_E5EF -al 00E5DF .Label_E5DF -al 00E5D5 .Label_E5D5 -al 00E5E9 .Label_E5E9 -al 00E5E7 .Label_E5E7 -al 00E5D1 .Label_E5D1 -al 00E5C5 .Label_E5C5 -al 00E5AA .Label_E5AA -al 00E59C .Label_E59C -al 00E5C4 .Label_E5C4 -al 00E587 .Label_E587 -al 00E560 .Label_E560 -al 00E562 .Label_E562 -al 00E536 .Label_E536 -al 00E537 .Label_E537 -al 00E52C .Label_E52C -al 00E555 .Label_E555 -al 00E528 .Label_E528 -al 00E53B .Label_E53B -al 00E544 .Label_E544 -al 00E518 .Label_E518 -al 00E50F .Label_E50F -al 00E4F2 .Label_E4F2 -al 00E4F8 .Label_E4F8 -al 00E4F7 .Label_E4F7 -al 00E4E4 .Label_E4E4 -al 00E4B7 .Label_E4B7 -al 00E4B6 .Label_E4B6 -al 00E499 .Label_E499 -al 00E487 .Label_E487 -al 00E479 .Label_E479 -al 00E46B .Label_E46B -al 00E466 .Label_E466 -al 00E45C .Label_E45C -al 00E44A .Label_E44A -al 00E456 .Label_E456 -al 00E435 .Label_E435 -al 00E42F .Label_E42F -al 00E42C .Label_E42C -al 00E412 .Label_E412 -al 00E3C5 .Label_E3C5 -al 00E3C4 .Label_E3C4 -al 00E3B5 .Label_E3B5 -al 00E358 .Label_E358 -al 00E326 .Label_E326 -al 00E31A .Label_E31A -al 00E317 .Label_E317 -al 00E308 .Label_E308 -al 00E301 .Label_E301 -al 00E2D2 .Label_E2D2 -al 00E2D5 .Label_E2D5 -al 00E2D8 .Label_E2D8 -al 00E320 .Label_E320 -al 00E2B0 .Label_E2B0 -al 00E2A6 .Label_E2A6 -al 00E29C .Label_E29C -al 00E29A .Label_E29A -al 00E290 .Label_E290 -al 00E28B .Label_E28B -al 00E274 .Label_E274 -al 00E26E .Label_E26E -al 00E267 .Label_E267 -al 00E25B .Label_E25B -al 00E251 .Label_E251 -al 00E22A .Label_E22A -al 00E222 .Label_E222 -al 00E227 .Label_E227 -al 00E217 .Label_E217 -al 00E235 .Label_E235 -al 00E206 .Label_E206 -al 00E1CE .Label_E1CE -al 00E1C2 .Label_E1C2 -al 00E1C0 .Label_E1C0 -al 00E1B7 .Label_E1B7 -al 00E1AB .Label_E1AB -al 00E18B .Label_E18B -al 00E16E .Label_E16E -al 00E167 .Label_E167 -al 00E164 .Label_E164 -al 00E157 .Label_E157 -al 00E17B .Label_E17B -al 00E18E .Label_E18E -al 00E143 .Label_E143 -al 00E129 .Label_E129 -al 00E11E .Label_E11E -al 00E10D .Label_E10D -al 00E110 .Label_E110 -al 00E121 .Label_E121 -al 00E126 .Label_E126 -al 00E0EC .Label_E0EC -al 00E0E1 .Label_E0E1 -al 00E0D2 .Label_E0D2 -al 00E0D6 .Label_E0D6 -al 00E0C8 .Label_E0C8 -al 00E0B2 .Label_E0B2 -al 00E0A8 .Label_E0A8 -al 00E08C .Label_E08C -al 00E082 .Label_E082 -al 00E06F .Label_E06F -al 00E072 .Label_E072 -al 00E05B .Label_E05B -al 00E042 .Label_E042 -al 00E039 .Label_E039 -al 00E020 .Label_E020 -al 00DEF0 .Label_DEF0 -al 00DEFB .Label_DEFB -al 00DEBB .Label_DEBB -al 00DEAC .Label_DEAC -al 00DEA3 .Label_DEA3 -al 00DEAD .Label_DEAD -al 00DE9B .Label_DE9B -al 00DE97 .Label_DE97 -al 00DEAB .Label_DEAB -al 00DE80 .Label_DE80 -al 00DE7B .Label_DE7B -al 00DE79 .Label_DE79 -al 00DE6F .Label_DE6F -al 00DE60 .Label_DE60 -al 00DE50 .Label_DE50 -al 00DE44 .Label_DE44 -al 00DE3E .Label_DE3E -al 00DE63 .Label_DE63 -al 00DE31 .Label_DE31 -al 00DE19 .Label_DE19 -al 00DE0E .Label_DE0E -al 00DDFB .Label_DDFB -al 00DDED .Label_DDED -al 00DDDB .Label_DDDB -al 00DE0F .Label_DE0F -al 00DDD1 .Label_DDD1 -al 00DDE1 .Label_DDE1 -al 00DDFE .Label_DDFE -al 00DDF1 .Label_DDF1 -al 00DDC4 .Label_DDC4 -al 00DD9D .Label_DD9D -al 00DD80 .Label_DD80 -al 00DD7E .Label_DD7E -al 00DD76 .Label_DD76 -al 00DD6B .Label_DD6B -al 00DD61 .Label_DD61 -al 00DD51 .Label_DD51 -al 00DD54 .Label_DD54 -al 00DD46 .Label_DD46 -al 00DD3C .Label_DD3C -al 00DD2C .Label_DD2C -al 00DD37 .Label_DD37 -al 00DD1B .Label_DD1B -al 00DD3D .Label_DD3D -al 00DCF1 .Label_DCF1 -al 00DD09 .Label_DD09 -al 00DCFE .Label_DCFE -al 00DCCB .Label_DCCB -al 00DCC3 .Label_DCC3 -al 00DCC2 .Label_DCC2 -al 00DCD2 .Label_DCD2 -al 00DCAE .Label_DCAE -al 00DC8C .Label_DC8C -al 00DC81 .Label_DC81 -al 00DC5A .Label_DC5A -al 00DC39 .Label_DC39 -al 00DC2D .Label_DC2D -al 00DC38 .Label_DC38 -al 00DC0A .Label_DC0A -al 00DC10 .Label_DC10 -al 00DC00 .Label_DC00 -al 00DC0C .Label_DC0C -al 00DBF2 .Label_DBF2 -al 00DBF6 .Label_DBF6 -al 00DBE8 .Label_DBE8 -al 00DBC8 .Label_DBC8 -al 00DBC2 .Label_DBC2 -al 00DBAA .Label_DBAA -al 00DBA8 .Label_DBA8 -al 00DA6F .Label_DA6F -al 00DA51 .Label_DA51 -al 00DA43 .Label_DA43 -al 00DA3A .Label_DA3A -al 00DA3D .Label_DA3D -al 00DA1B .Label_DA1B -al 00DA0A .Label_DA0A -al 00D9FA .Label_D9FA -al 00D9F2 .Label_D9F2 -al 00D9E7 .Label_D9E7 -al 00D9E6 .Label_D9E6 -al 00D9E1 .Label_D9E1 -al 00D9CC .Label_D9CC -al 00D9B2 .Label_D9B2 -al 00D9AF .Label_D9AF -al 00D9A5 .Label_D9A5 -al 00D9A3 .Label_D9A3 -al 00D993 .Label_D993 -al 00D989 .Label_D989 -al 00D987 .Label_D987 -al 00D97E .Label_D97E -al 00D979 .Label_D979 -al 00D965 .Label_D965 -al 00D992 .Label_D992 -al 00D949 .Label_D949 -al 00D942 .Label_D942 -al 00D932 .Label_D932 -al 00D90F .Label_D90F -al 00D909 .Label_D909 -al 00D8FC .Label_D8FC -al 00D8F1 .Label_D8F1 -al 00D914 .Label_D914 -al 00D8E3 .Label_D8E3 -al 00D8DA .Label_D8DA -al 00D8B4 .Label_D8B4 -al 00D8B3 .Label_D8B3 -al 00D8A7 .Label_D8A7 -al 00D8A1 .Label_D8A1 -al 00D886 .Label_D886 -al 00D871 .Label_D871 -al 00D873 .Label_D873 -al 00D855 .Label_D855 -al 00D84F .Label_D84F -al 00D838 .Label_D838 -al 00D828 .Label_D828 -al 00D82F .Label_D82F -al 00D83E .Label_D83E -al 00D829 .Label_D829 -al 00D816 .Label_D816 -al 00D80B .Label_D80B -al 00D800 .Label_D800 -al 00D7F7 .Label_D7F7 -al 00D7FA .Label_D7FA -al 00D7DD .Label_D7DD -al 00D7CF .Label_D7CF -al 00D7C5 .Label_D7C5 -al 00D7CD .Label_D7CD -al 00D7C7 .Label_D7C7 -al 00D7B0 .Label_D7B0 -al 00D7AE .Label_D7AE -al 00D7A5 .Label_D7A5 -al 00D7A3 .Label_D7A3 -al 00D79B .Label_D79B -al 00D784 .Label_D784 -al 00D78C .Label_D78C -al 00D77A .Label_D77A -al 00D774 .Label_D774 -al 00D766 .Label_D766 -al 00D772 .Label_D772 -al 00D73B .Label_D73B -al 00D740 .Label_D740 -al 00D71E .Label_D71E -al 00D724 .Label_D724 -al 00D70E .Label_D70E -al 00D71A .Label_D71A -al 00D6FE .Label_D6FE -al 00D6F7 .Label_D6F7 -al 00D6F1 .Label_D6F1 -al 00D6EF .Label_D6EF -al 00D6CD .Label_D6CD -al 00D664 .Label_D664 -al 00D650 .Label_D650 -al 00D675 .Label_D675 -al 00D66F .Label_D66F -al 00D642 .Label_D642 -al 00D644 .Label_D644 -al 00D68E .Label_D68E -al 00D63B .Label_D63B -al 00D63A .Label_D63A -al 00D61B .Label_D61B -al 00D62C .Label_D62C -al 00D61A .Label_D61A -al 00D611 .Label_D611 -al 00D600 .Label_D600 -al 00D5F5 .Label_D5F5 -al 00D5E7 .Label_D5E7 -al 00D5E2 .Label_D5E2 -al 00D5C9 .Label_D5C9 -al 00D5A9 .Label_D5A9 -al 00D5BC .Label_D5BC -al 00D57F .Label_D57F -al 00D576 .Label_D576 -al 00D561 .Label_D561 -al 00D52E .Label_D52E -al 00D524 .Label_D524 -al 00D50A .Label_D50A -al 00D4FF .Label_D4FF -al 00D523 .Label_D523 -al 00D4EC .Label_D4EC -al 00D4E9 .Label_D4E9 -al 00D4D6 .Label_D4D6 -al 00D4C3 .Label_D4C3 -al 00D4C8 .Label_D4C8 -al 00D4AC .Label_D4AC -al 00D486 .Label_D486 -al 00D47F .Label_D47F -al 00D465 .Label_D465 -al 00D46A .Label_D46A -al 00D469 .Label_D469 -al 00D459 .Label_D459 -al 00D4BF .Label_D4BF -al 00D455 .Label_D455 -al 00D43A .Label_D43A -al 00D433 .Label_D433 -al 00D42C .Label_D42C -al 00D422 .Label_D422 -al 00D3FB .Label_D3FB -al 00D3F6 .Label_D3F6 -al 00D3E9 .Label_D3E9 -al 00D3E4 .Label_D3E4 -al 00D3BF .Label_D3BF -al 00D3C1 .Label_D3C1 -al 00D3BD .Label_D3BD -al 00D3AF .Label_D3AF -al 00D3AD .Label_D3AD -al 00D38D .Label_D38D -al 00D37E .Label_D37E -al 00D38F .Label_D38F -al 00D357 .Label_D357 -al 00D34E .Label_D34E -al 00D34C .Label_D34C -al 00D33B .Label_D33B -al 00D33A .Label_D33A -al 00D32C .Label_D32C -al 00D310 .Label_D310 -al 00D316 .Label_D316 -al 00D30A .Label_D30A -al 00D2F9 .Label_D2F9 -al 00D2FF .Label_D2FF -al 00D317 .Label_D317 -al 00D2FE .Label_D2FE -al 00D2EB .Label_D2EB -al 00D2E8 .Label_D2E8 -al 00D2E3 .Label_D2E3 -al 00D2D7 .Label_D2D7 -al 00D2CC .Label_D2CC -al 00D2CB .Label_D2CB -al 00D2BB .Label_D2BB -al 00D29B .Label_D29B -al 00D293 .Label_D293 -al 00D284 .Label_D284 -al 00D278 .Label_D278 -al 00D279 .Label_D279 -al 00D29F .Label_D29F -al 00D29C .Label_D29C -al 00D24C .Label_D24C -al 00D23A .Label_D23A -al 00D244 .Label_D244 -al 00D229 .Label_D229 -al 00D224 .Label_D224 -al 00D220 .Label_D220 -al 00D228 .Label_D228 -al 00D21C .Label_D21C -al 00D216 .Label_D216 -al 00D200 .Label_D200 -al 00D1E6 .Label_D1E6 -al 00D1CB .Label_D1CB -al 00D1DB .Label_D1DB -al 00D1DA .Label_D1DA -al 00D1A5 .Label_D1A5 -al 00D199 .Label_D199 -al 00D194 .Label_D194 -al 00D191 .Label_D191 -al 00D190 .Label_D190 -al 00D18E .Label_D18E -al 00D175 .Label_D175 -al 00D173 .Label_D173 -al 00D15A .Label_D15A -al 00D163 .Label_D163 -al 00D158 .Label_D158 -al 00D147 .Label_D147 -al 00D144 .Label_D144 -al 00D12E .Label_D12E -al 00D110 .Label_D110 -al 00D102 .Label_D102 -al 00D0FD .Label_D0FD -al 00D145 .Label_D145 -al 00D125 .Label_D125 -al 00D0E7 .Label_D0E7 -al 00D0AE .Label_D0AE -al 00D0DD .Label_D0DD -al 00D075 .Label_D075 -al 00D0A5 .Label_D0A5 -al 00D055 .Label_D055 -al 00D04A .Label_D04A -al 00D06F .Label_D06F -al 00D01A .Label_D01A -al 00D014 .Label_D014 -al 00D00E .Label_D00E -al 00D00A .Label_D00A -al 00CFFF .Label_CFFF -al 00D019 .Label_D019 -al 00CFCC .Label_CFCC -al 00CFC8 .Label_CFC8 -al 00CFB6 .Label_CFB6 -al 00CFB3 .Label_CFB3 -al 00CF7F .Label_CF7F -al 00CF7D .Label_CF7D -al 00CF72 .Label_CF72 -al 00CFDD .Label_CFDD -al 00CF5C .Label_CF5C -al 00CF62 .Label_CF62 -al 00CF8F .Label_CF8F -al 00CF33 .Label_CF33 -al 00CF26 .Label_CF26 -al 00CF45 .Label_CF45 -al 00CF05 .Label_CF05 -al 00CEFF .Label_CEFF -al 00CEEC .Label_CEEC -al 00CED3 .Label_CED3 -al 00CE74 .Label_CE74 -al 00CE62 .Label_CE62 -al 00CE7C .Label_CE7C -al 00CE54 .Label_CE54 -al 00CE8F .Label_CE8F -al 00CE81 .Label_CE81 -al 00CE2D .Label_CE2D -al 00CE2C .Label_CE2C -al 00CE20 .Label_CE20 -al 00CE1E .Label_CE1E -al 00CDE2 .Label_CDE2 -al 00CDD8 .Label_CDD8 -al 00CDCC .Label_CDCC -al 00CDC0 .Label_CDC0 -al 00CDBB .Label_CDBB -al 00CDAF .Label_CDAF -al 00CDA1 .Label_CDA1 -al 00CD9E .Label_CD9E -al 00CDF4 .Label_CDF4 -al 00CD79 .Label_CD79 -al 00CD50 .Label_CD50 -al 00CD47 .Label_CD47 -al 00CD3C .Label_CD3C -al 00CD32 .Label_CD32 -al 00CD29 .Label_CD29 -al 00CD26 .Label_CD26 -al 00CCC0 .Label_CCC0 -al 00CCC2 .Label_CCC2 -al 00CCBC .Label_CCBC -al 00CB78 .Label_CB78 -al 00CB68 .Label_CB68 -al 00CB76 .Label_CB76 -al 00CB5C .Label_CB5C -al 00CB5A .Label_CB5A -al 00CB22 .Label_CB22 -al 00CB13 .Label_CB13 -al 00CAFC .Label_CAFC -al 00CB10 .Label_CB10 -al 00CAE6 .Label_CAE6 -al 00CAD3 .Label_CAD3 -al 00CAA8 .Label_CAA8 -al 00CAA4 .Label_CAA4 -al 00CAA2 .Label_CAA2 -al 00CA87 .Label_CA87 -al 00CA7C .Label_CA7C -al 00CA86 .Label_CA86 -al 00CA74 .Label_CA74 -al 00CA72 .Label_CA72 -al 00CA6B .Label_CA6B -al 00CA66 .Label_CA66 -al 00CA59 .Label_CA59 -al 00CA21 .Label_CA21 -al 00CA24 .Label_CA24 -al 00CA22 .Label_CA22 -al 00CA0C .Label_CA0C -al 00CA04 .Label_CA04 -al 00C9E4 .Label_C9E4 -al 00C9DE .Label_C9DE -al 00C9D5 .Label_C9D5 -al 00C9CE .Label_C9CE -al 00C9BA .Label_C9BA -al 00C9AD .Label_C9AD -al 00C9AB .Label_C9AB -al 00C9A4 .Label_C9A4 -al 00C991 .Label_C991 -al 00C98E .Label_C98E -al 00C969 .Label_C969 -al 00C95A .Label_C95A -al 00C94D .Label_C94D -al 00C927 .Label_C927 -al 00C925 .Label_C925 -al 00C92A .Label_C92A -al 00C921 .Label_C921 -al 00C909 .Label_C909 -al 00C907 .Label_C907 -al 00C901 .Label_C901 -al 00C8FB .Label_C8FB -al 00C8E8 .Label_C8E8 -al 00C8CC .Label_C8CC -al 00C8E5 .Label_C8E5 -al 00C8B7 .Label_C8B7 -al 00C863 .Label_C863 -al 00C85A .Label_C85A -al 00C89A .Label_C89A -al 00C838 .Label_C838 -al 00C80E .Label_C80E -al 00C80A .Label_C80A -al 00C802 .Label_C802 -al 00C7E7 .Label_C7E7 -al 00C7C4 .Label_C7C4 -al 00C7E3 .Label_C7E3 -al 00C7AC .Label_C7AC -al 00C7ED .Label_C7ED -al 00C793 .Label_C793 -al 00C78F .Label_C78F -al 00C7C7 .Label_C7C7 -al 00C786 .Label_C786 -al 00C77D .Label_C77D -al 00C776 .Label_C776 -al 00C770 .Label_C770 -al 00C767 .Label_C767 -al 00C760 .Label_C760 -al 00C750 .Label_C750 -al 00C73D .Label_C73D -al 00C72A .Label_C72A -al 00C723 .Label_C723 -al 00C70E .Label_C70E -al 00C719 .Label_C719 -al 00C6F6 .Label_C6F6 -al 00C6EA .Label_C6EA -al 00C6E3 .Label_C6E3 -al 00C68C .Label_C68C -al 00C67D .Label_C67D -al 00C61B .Label_C61B -al 00C611 .Label_C611 -al 00C607 .Label_C607 -al 00C5FD .Label_C5FD -al 00C5DD .Label_C5DD -al 00C5C7 .Label_C5C7 -al 00C5B0 .Label_C5B0 -al 00C5A6 .Label_C5A6 -al 00C5A1 .Label_C5A1 -al 00C595 .Label_C595 -al 00C589 .Label_C589 -al 00C56D .Label_C56D -al 00C59C .Label_C59C -al 00C564 .Label_C564 -al 00C55A .Label_C55A -al 00C552 .Label_C552 -al 00C54A .Label_C54A -al 00C54D .Label_C54D -al 00C53F .Label_C53F -al 00C539 .Label_C539 -al 00C538 .Label_C538 -al 00C536 .Label_C536 -al 00C515 .Label_C515 -al 00C523 .Label_C523 -al 00C50D .Label_C50D -al 00C4F9 .Label_C4F9 -al 00C51D .Label_C51D -al 00C4F5 .Label_C4F5 -al 00C4E4 .Label_C4E4 -al 00C4D0 .Label_C4D0 -al 00C4D9 .Label_C4D9 -al 00C4B7 .Label_C4B7 -al 00C4D6 .Label_C4D6 -al 00C4C3 .Label_C4C3 -al 00C4A1 .Label_C4A1 -al 00C49A .Label_C49A -al 00C48E .Label_C48E -al 00C484 .Label_C484 -al 00C46D .Label_C46D -al 00C463 .Label_C463 -al 00C45F .Label_C45F -al 00C44B .Label_C44B -al 00C447 .Label_C447 -al 00C442 .Label_C442 -al 00C426 .Label_C426 -al 00C41C .Label_C41C -al 00C412 .Label_C412 -al 00C40C .Label_C40C -al 00C407 .Label_C407 -al 00C3F4 .Label_C3F4 -al 00C3F0 .Label_C3F0 -al 00C3EB .Label_C3EB -al 00C3E2 .Label_C3E2 -al 00C34A .Label_C34A -al 00C35B .Label_C35B -al 00C332 .Label_C332 -al 00C32C .Label_C32C -al 00C307 .Label_C307 -al 00C304 .Label_C304 -al 00C2EA .Label_C2EA -al 00C2D8 .Label_C2D8 -al 00C2D0 .Label_C2D0 -al 00C2C1 .Label_C2C1 +al 00F2A4 .Sub_8764_OnCarryClear_F2A4 +al 00F280 .Sub_8764_LoadIndexAndContinue_F280 +al 00F2B2 .Sub_8764_OnNonzero_F2B2 +al 00F279 .Sub_8764_OnCarryClear_F279 +al 00F27A .SubCF27A +al 00F258 .Sub_8764_OnNonzero_F258 +al 00F255 .Sub_8764_OnCarryClear_F255 +al 00F247 .Sub_8764_OnNonzero_F247 +al 00F25E .Sub_8764_OnZero_F25E +al 00F237 .Sub_8764_Return_F237 +al 00F25F .SubCF25F +al 00F230 .Sub_8764_OnNonzero_F230 +al 00F236 .Sub_8764_OnZero_F236 +al 00F228 .Sub_8764_OnCarryClear_F228 +al 00F207 .Sub_8764_OnZero_F207 +al 00F1F1 .Sub_8764_Return_F1F1 +al 00F1F0 .Sub_8764_OnNonnegative_F1F0 +al 00F1E7 .Sub_8764_OnNonzero_F1E7 +al 00F179 .SubCF179 +al 00F14B .Sub_8764_OnNonzero_F14B +al 00F150 .Sub_8764_OnZero_F150 +al 00F154 .SubCF154 +al 00F17F .SubCF17F +al 00F116 .SubCF116 +al 00F192 .SubCF192 +al 00F0E1 .SubCF0E1 +al 00F0C3 .Sub_8764_OnNonzero_F0C3 +al 00F0C1 .Sub_8764_OnCarryClear_F0C1 +al 00F0B5 .Sub_8764_OnCarrySet_F0B5 +al 00F0E0 .Sub_8764_JoinBranchPaths_F0E0 +al 00F09E .Sub_8764_OnCarrySet_F09E +al 00F08E .Sub_8764_OnCarrySet_F08E +al 00F078 .Sub_8764_OnNonzero_F078 +al 00F076 .Sub_8764_OnNonzero_F076 +al 00F07E .Sub_8764_OnCarrySet_F07E +al 00F104 .SubCF104 +al 00F05C .Sub_8764_JoinBranchPaths_F05C +al 00F060 .Sub_8764_OnCarrySet_F060 +al 00F178 .SubCF178 +al 00F030 .SubCF030 +al 00F02C .Sub_8764_OnNonzero_F02C +al 00F035 .Sub_8764_OnCarrySet_F035 +al 00F02A .Sub_8764_OnNonzero_F02A +al 00F020 .Sub_8764_OnCarrySet_F020 +al 00F10D .SubCF10D +al 00EFEA .Sub_8764_OnNonzero_EFEA +al 00EFE8 .Sub_8764_OnNonzero_EFE8 +al 00EFD5 .SubCEFD5 +al 00EFD1 .Sub_8764_OnNonzero_EFD1 +al 00F011 .Sub_8764_OnCarrySet_F011 +al 00F18A .SubCF18A +al 00F19A .SubCF19A +al 00F102 .SubCF102 +al 00EFB0 .Sub_8764_OnNonzero_EFB0 +al 00F194 .SubCF194 +al 00EF98 .Sub_8764_OnNonzero_EF98 +al 00EF96 .Sub_8764_JoinBranchPaths_EF96 +al 00EFC2 .Sub_8764_OnCarrySet_EFC2 +al 00EF75 .Sub_8764_JoinBranchPaths_EF75 +al 00EF76 .Sub_8764_OnNonzero_EF76 +al 00EF5A .SubCEF5A +al 00EF50 .Sub_8764_OnNonnegative_EF50 +al 00EF4A .SubCEF4A +al 00EF3E .Sub_8764_OnNonnegative_EF3E +al 00EF31 .Sub_8764_OnCarryClear_EF31 +al 00EF24 .Sub_8764_JoinBranchPaths_EF24 +al 00EF0D .Sub_8764_OnCarryClear_EF0D +al 00EF58 .SubCEF58 +al 00EEF5 .Sub_8764_JoinBranchPaths_EEF5 +al 00EEEF .SubCEEEF +al 00EEDC .Sub_8764_OnNonnegative_EEDC +al 00EF38 .Sub_8764_OnZero_EF38 +al 00EED6 .Sub_8764_OnNonzero_EED6 +al 00EECE .Sub_8764_OnNonzero_EECE +al 00EEC5 .Sub_8764_OnZero_EEC5 +al 00EEA4 .Sub_8764_OnNonzero_EEA4 +al 00EEB3 .Sub_8764_OnCarryClear_EEB3 +al 00EE94 .Sub_8764_OnCarryClear_EE94 +al 00EE79 .SubCEE79 +al 00EE1B .Sub_8764_OnCarrySet_EE1B +al 00EE2E .Sub_8764_JoinBranchPaths_EE2E +al 00EE2F .Sub_8764_OnNegative_EE2F +al 00EDF4 .SubCEDF4 +al 00EDEC .Sub_8764_OnZero_EDEC +al 00EDD4 .Sub_8764_OnNonnegative_EDD4 +al 00EDB6 .Sub_8764_OnNonnegative_EDB6 +al 00ED96 .Sub_8764_JoinBranchPaths_ED96 +al 00ED8E .Sub_8764_OnZero_ED8E +al 00ED7E .Sub_8764_OnCarryClear_ED7E +al 00ED78 .Sub_8764_OnZero_ED78 +al 00ED94 .Sub_8764_JoinBranchPaths_ED94 +al 00ED98 .SubCED98 +al 00ED0E .SubCED0E +al 00ED09 .Sub_8764_OnZero_ED09 +al 00ECF8 .SubCECF8 +al 00ECF3 .Sub_8764_OnZero_ECF3 +al 00ECE2 .SubCECE2 +al 00ECDD .Sub_8764_OnZero_ECDD +al 00ECCC .SubCECCC +al 00ECC7 .Sub_8764_OnZero_ECC7 +al 00ECE7 .Sub_8764_OnCarrySet_ECE7 +al 00EBC1 .Sub_8764_OnZero_EBC1 +al 00EBAF .Sub_8764_JoinBranchPaths_EBAF +al 00EBB8 .Sub_8764_OnZero_EBB8 +al 00EBB2 .Sub_8764_JoinBranchPaths_EBB2 +al 00EB83 .Sub_8764_JoinBranchPaths_EB83 +al 00EB95 .Sub_8764_OnZero_EB95 +al 00EB8C .Sub_8764_OnZero_EB8C +al 00EB86 .Sub_8764_JoinBranchPaths_EB86 +al 00EB72 .Sub_8764_OnCarryClear_EB72 +al 00EB9E .SubCEB9E +al 00EB4F .Sub_8764_OnCarrySet_EB4F +al 00EB5F .Sub_8764_OnZero_EB5F +al 00EB65 .Sub_8764_OnCarryClear_EB65 +al 00EB47 .SubCEB47 +al 00EB10 .Sub_8764_OnCarrySet_EB10 +al 00EB2A .Sub_8764_OnZero_EB2A +al 00EB30 .Sub_8764_OnCarryClear_EB30 +al 00EB06 .Sub_8764_OnCarrySet_EB06 +al 00EAF5 .Sub_8764_OnCarryClear_EAF5 +al 00EAE3 .SubCEAE3 +al 00EAE2 .Sub_8764_OnCarrySet_EAE2 +al 00EAE1 .Sub_8764_OnCarrySet_EAE1 +al 00EAD7 .SubCEAD7 +al 00EACF .Sub_8764_OnCarrySet_EACF +al 00EACE .Sub_8764_OnZero_EACE +al 00EAC3 .SubCEAC3 +al 00EAA4 .SubCEAA4 +al 00EA98 .Sub_8764_OnCarrySet_EA98 +al 00EA9B .Sub_8764_OnNonzero_EA9B +al 00EA86 .Sub_8764_OnCarryClear_EA86 +al 00EA79 .Sub_8764_OnCarryClear_EA79 +al 00EA8F .Sub_8764_OnCarryClear_EA8F +al 00EA71 .Sub_8764_OnCarryClear_EA71 +al 00EA63 .Sub_8764_OnCarryClear_EA63 +al 00EAB5 .SubCEAB5 +al 00EA57 .Sub_8764_OnCarryClear_EA57 +al 00EA5A .Sub_8764_OnNonzero_EA5A +al 00EA45 .Sub_8764_OnCarryClear_EA45 +al 00EA38 .Sub_8764_OnCarryClear_EA38 +al 00EA4E .Sub_8764_OnCarryClear_EA4E +al 00EA30 .Sub_8764_OnCarryClear_EA30 +al 00EA66 .Sub_8764_OnZero_EA66 +al 00EA1F .Sub_8764_OnNonnegative_EA1F +al 00EC9E .SubCEC9E +al 00E9E9 .Sub_8764_OnNonnegative_E9E9 +al 00E9E3 .Sub_8764_OnZero_E9E3 +al 00E9DD .Sub_8764_OnCarryClear_E9DD +al 00E9E8 .Sub_8764_OnZero_E9E8 +al 00E9CB .SubCE9CB +al 00E9D7 .Sub_8764_OnCarryClear_E9D7 +al 00E9BA .Sub_8764_OnCarrySet_E9BA +al 00EA01 .SubCEA01 +al 00E99C .Sub_8764_OnCarryClear_E99C +al 00E9AE .SubCE9AE +al 00E996 .Sub_8764_OnZero_E996 +al 00E98C .Sub_8764_OnNonnegative_E98C +al 00E968 .Sub_8764_OnNonnegative_E968 +al 00EAD2 .SubCEAD2 +al 00E967 .Sub_8764_OnZero_E967 +al 00E93E .SubCE93E +al 00E9A5 .SubCE9A5 +al 00E939 .Sub_8764_JoinBranchPaths_E939 +al 00E92F .Sub_8764_OnCarryClear_E92F +al 00E929 .Sub_8764_OnZero_E929 +al 00E8F9 .Sub_8764_OnNonzero_E8F9 +al 00E8C6 .SubCE8C6 +al 00E8CB .Sub_8764_OnNonnegative_E8CB +al 00E887 .SubCE887 +al 00E882 .Sub_8764_OnNonnegative_E882 +al 00E86F .SubCE86F +al 00E85C .SubCE85C +al 00E859 .SubCE859 +al 00E89E .SubCE89E +al 00E81B .Sub_8764_OnNonzero_E81B +al 00E803 .Sub_8764_OnNonzero_E803 +al 00E7F9 .Sub_8764_OnNonzero_E7F9 +al 00E7EE .Sub_8764_Return_E7EE +al 00E7ED .Sub_8764_OnNonzero_E7ED +al 00E7E3 .Sub_8764_OnNonzero_E7E3 +al 00E7D3 .Sub_8764_OnNonzero_E7D3 +al 00E7CB .Sub_8764_OnNonzero_E7CB +al 00E7BD .Sub_8764_OnNonzero_E7BD +al 00E806 .SubCE806 +al 00E7B3 .Sub_8764_OnNonzero_E7B3 +al 00E7A3 .SubCE7A3 +al 00E79A .Sub_8764_OnCarryClear_E79A +al 00E79B .Sub_8764_OnCarryClear_E79B +al 00E78E .Sub_8764_OnCarryClear_E78E +al 00E78F .Sub_8764_OnCarryClear_E78F +al 00E791 .Sub_8764_OnNonnegative_E791 +al 00E790 .Sub_8764_OnZero_E790 +al 00E77C .SubCE77C +al 00E777 .Sub_8764_OnNonnegative_E777 +al 00E76E .SubCE76E +al 00E77F .SubCE77F +al 00E740 .SubCE740 +al 00E718 .Sub_8764_OnCarryClear_E718 +al 00E723 .Sub_8764_OnNegative_E723 +al 00E70B .Sub_8764_OnNonnegative_E70B +al 00E6FA .Sub_8764_OnCarryClear_E6FA +al 00E6F5 .Sub_8764_OnCarryClear_E6F5 +al 00E6F0 .Sub_8764_OnCarryClear_E6F0 +al 00E6FF .Sub_8764_JoinBranchPaths_E6FF +al 00E6E5 .SubCE6E5 +al 00E6CC .Sub_8764_OnCarryClear_E6CC +al 00E6BB .Sub_8764_OnNonnegative_E6BB +al 00E699 .Sub_8764_OnCarryClear_E699 +al 00E686 .Sub_8764_OnNonzero_E686 +al 00E684 .Sub_8764_OnNonnegative_E684 +al 00E65F .Sub_8764_OnCarrySet_E65F +al 00E65B .Sub_8764_OnCarrySet_E65B +al 00E632 .Sub_8764_OnNonzero_E632 +al 00E630 .Sub_8764_JoinBranchPaths_E630 +al 00E620 .Sub_8764_JoinBranchPaths_E620 +al 00E61D .Sub_8764_OnCarryClear_E61D +al 00E60D .Sub_8764_JoinBranchPaths_E60D +al 00E5EF .Sub_8764_OnNonzero_E5EF +al 00E5DF .Sub_8764_OnZero_E5DF +al 00E5E9 .Sub_8764_OnNonzero_E5E9 +al 00E5E7 .Sub_8764_JoinBranchPaths_E5E7 +al 00E5D1 .Sub_8764_OnCarryClear_E5D1 +al 00E5D5 .SubCE5D5 +al 00E5AA .Sub_8764_OnCarrySet_E5AA +al 00E59C .Sub_8764_OnCarrySet_E59C +al 00E5C4 .Sub_8764_JoinBranchPaths_E5C4 +al 00E560 .Sub_8764_OnCarryClear_E560 +al 00E562 .Sub_8764_OnNonzero_E562 +al 00E536 .Sub_8764_OnZero_E536 +al 00E537 .Sub_8764_OnCarrySet_E537 +al 00E52C .Sub_8764_OnCarryClear_E52C +al 00E555 .Sub_8764_OnCarrySet_E555 +al 00E528 .Sub_8764_OnNegative_E528 +al 00E53B .Sub_8764_OnCarryClear_E53B +al 00E544 .SubCE544 +al 00E518 .Sub_8764_OnZero_E518 +al 00E50F .Sub_8764_OnNonzero_E50F +al 00E4F2 .Sub_8764_OnNonnegative_E4F2 +al 00E4F8 .Sub_8764_OnNonzero_E4F8 +al 00E4F7 .Sub_8764_OnNonzero_E4F7 +al 00E4E4 .Sub_8764_OnCarryClear_E4E4 +al 00E4B6 .Sub_8764_JoinBranchPaths_E4B6 +al 00E487 .Sub_8764_OnCarrySet_E487 +al 00E479 .Sub_8764_OnCarrySet_E479 +al 00E46B .Sub_8764_OnCarrySet_E46B +al 00E466 .Sub_8764_OnCarrySet_E466 +al 00E45C .Sub_8764_OnNonnegative_E45C +al 00E456 .Sub_8764_OnNonzero_E456 +al 00E435 .Sub_8764_OnNegative_E435 +al 00E42C .Sub_8764_JoinBranchPaths_E42C +al 00E587 .SubCE587 +al 00E3C5 .Sub_8764_OnZero_E3C5 +al 00E3C4 .Sub_8764_OnCarrySet_E3C4 +al 00E5C5 .SubCE5C5 +al 00E358 .Sub_8764_OnNegative_E358 +al 00E44A .SubCE44A +al 00E42F .SubCE42F +al 00E412 .SubCE412 +al 00E31A .Sub_8764_OnZero_E31A +al 00E317 .Sub_8764_OnZero_E317 +al 00E308 .Sub_8764_OnCarryClear_E308 +al 00E301 .Sub_8764_OnCarrySet_E301 +al 00E326 .SubCE326 +al 00E2D2 .Sub_8764_OnCarrySet_E2D2 +al 00E2D5 .Sub_8764_OnCarrySet_E2D5 +al 00E2D8 .Sub_8764_OnCarryClear_E2D8 +al 00E2B0 .Sub_8764_OnCarryClear_E2B0 +al 00E7A0 .SubCE7A0 +al 00E2A6 .Sub_8764_OnZero_E2A6 +al 00E29C .SubCE29C +al 00E79D .SubCE79D +al 00E29A .Sub_8764_OnZero_E29A +al 00E290 .SubCE290 +al 00E923 .SubCE923 +al 00E274 .Sub_8764_OnCarrySet_E274 +al 00E26E .Sub_8764_OnCarryClear_E26E +al 00E267 .Sub_8764_OnCarrySet_E267 +al 00E25B .Sub_8764_OnCarrySet_E25B +al 00E251 .Sub_8764_OnCarrySet_E251 +al 00E22A .Sub_8764_OnNonzero_E22A +al 00E222 .Sub_8764_OnCarryClear_E222 +al 00E227 .Sub_8764_OnNonzero_E227 +al 00E217 .Sub_8764_OnCarrySet_E217 +al 00E235 .Sub_8764_OnNonzero_E235 +al 00E206 .SubCE206 +al 00E1CE .Sub_8764_OnCarrySet_E1CE +al 00E1C2 .SubCE1C2 +al 00E1C0 .Sub_8764_OnCarrySet_E1C0 +al 00E1B7 .Sub_8764_OnNonnegative_E1B7 +al 00E1AB .Sub_8764_OnNonnegative_E1AB +al 00E499 .SubCE499 +al 00E18B .Sub_8764_JoinBranchPaths_E18B +al 00E16E .Sub_8764_OnNegative_E16E +al 00E164 .Sub_8764_JoinBranchPaths_E164 +al 00E17B .Sub_8764_OnNonzero_E17B +al 00E18E .Sub_8764_JoinBranchPaths_E18E +al 00E143 .Sub_8764_OnZero_E143 +al 00E129 .SubCE129 +al 00E11E .Sub_8764_OnNonzero_E11E +al 00E10D .Sub_8764_OnNonzero_E10D +al 00E110 .Sub_8764_OnZero_E110 +al 00E121 .Sub_8764_JoinBranchPaths_E121 +al 00E126 .Sub_8764_OnZero_E126 +al 00E0EC .Sub_8764_OnNegative_E0EC +al 00E0E1 .Sub_8764_OnNonnegative_E0E1 +al 00E0D2 .Sub_8764_OnCarryClear_E0D2 +al 00E0D6 .Sub_8764_JoinBranchPaths_E0D6 +al 00E0C8 .Sub_8764_OnCarryClear_E0C8 +al 00E0B2 .Sub_8764_OnNonzero_E0B2 +al 00E0A8 .Sub_8764_JoinBranchPaths_E0A8 +al 00E08C .Sub_8764_OnZero_E08C +al 00E082 .Sub_8764_OnCarryClear_E082 +al 00E167 .SubCE167 +al 00E06F .Sub_8764_OnZero_E06F +al 00E072 .Sub_8764_JoinBranchPaths_E072 +al 00E05B .SubCE05B +al 00E042 .SubCE042 +al 00DEF0 .Sub_8764_OnNonzero_DEF0 +al 00DEFB .Sub_8764_OnNonzero_DEFB +al 00DEAC .Sub_8764_OnCarryClear_DEAC +al 00DEA3 .Sub_8764_JoinBranchPaths_DEA3 +al 00DEAD .Sub_8764_OnCarrySet_DEAD +al 00DE9B .Sub_8764_OnCarryClear_DE9B +al 00DE97 .Sub_8764_OnNegative_DE97 +al 00DEAB .Sub_8764_OnZero_DEAB +al 00DE80 .SubCDE80 +al 00DE79 .Sub_8764_OnNonzero_DE79 +al 00DE6F .Sub_8764_JoinBranchPaths_DE6F +al 00DE7B .SubCDE7B +al 00DE60 .Sub_8764_JoinBranchPaths_DE60 +al 00DE50 .Sub_8764_JoinBranchPaths_DE50 +al 00DE44 .Sub_8764_OnCarrySet_DE44 +al 00DE3E .Sub_8764_OnZero_DE3E +al 00DE63 .Sub_8764_OnCarryClear_DE63 +al 00DE0E .Sub_8764_OnCarrySet_DE0E +al 00DDFB .Sub_8764_OnZero_DDFB +al 00DDED .Sub_8764_OnCarrySet_DDED +al 00DE0F .Sub_8764_OnNegative_DE0F +al 00DDD1 .Sub_8764_OnCarrySet_DDD1 +al 00DDE1 .Sub_8764_OnCarryClear_DDE1 +al 00DDFE .Sub_8764_OnCarrySet_DDFE +al 00DDF1 .Sub_8764_OnZero_DDF1 +al 00DDC4 .Sub_8764_OnCarrySet_DDC4 +al 00DD9D .Sub_8764_JoinBranchPaths_DD9D +al 00DD7E .Sub_8764_OnNonzero_DD7E +al 00DD76 .Sub_8764_OnCarryClear_DD76 +al 00DE19 .SubCDE19 +al 00DD61 .Sub_8764_OnNonnegative_DD61 +al 00DD51 .Sub_8764_OnCarryClear_DD51 +al 00DD54 .Sub_8764_OnNegative_DD54 +al 00DD46 .Sub_8764_JoinBranchPaths_DD46 +al 00DD3C .Sub_8764_OnNonnegative_DD3C +al 00DD2C .Sub_8764_OnNegative_DD2C +al 00DD37 .Sub_8764_OnNegative_DD37 +al 00DD1B .Sub_8764_OnNonnegative_DD1B +al 00DD3D .Sub_8764_OnCarryClear_DD3D +al 00DCF1 .SubCDCF1 +al 00DD09 .Sub_8764_OnZero_DD09 +al 00DCFE .Sub_8764_OnCarryClear_DCFE +al 00DCCB .Sub_8764_OnCarrySet_DCCB +al 00DCC3 .Sub_8764_OnCarrySet_DCC3 +al 00DE31 .SubCDE31 +al 00DCC2 .Sub_8764_JoinBranchPaths_DCC2 +al 00DCD2 .Sub_8764_JoinBranchPaths_DCD2 +al 00DCAE .Sub_8764_OnCarrySet_DCAE +al 00DC8C .Sub_8764_OnZero_DC8C +al 00E039 .SubCE039 +al 00DC5A .Sub_8764_OnNegative_DC5A +al 00DC39 .SubCDC39 +al 00DC2D .Sub_8764_OnNonzero_DC2D +al 00DC38 .Sub_8764_OnNonzero_DC38 +al 00DC0A .Sub_8764_OnZero_DC0A +al 00DC10 .Sub_8764_OnCarryClear_DC10 +al 00DC00 .Sub_8764_OnNonzero_DC00 +al 00DC0C .Sub_8764_OnNonzero_DC0C +al 00DBF2 .Sub_8764_OnZero_DBF2 +al 00DBF6 .Sub_8764_OnCarryClear_DBF6 +al 00DBE8 .Sub_8764_OnNonzero_DBE8 +al 00E020 .SubCE020 +al 00DBC8 .SubCDBC8 +al 00DBC2 .Sub_8764_OnNegative_DBC2 +al 00DBAA .Sub_8764_OnCarrySet_DBAA +al 00DEBB .SubCDEBB +al 00DA6F .Sub_8764_JoinBranchPaths_DA6F +al 00DA51 .Sub_8764_OnCarrySet_DA51 +al 00DD80 .SubCDD80 +al 00DA3A .Sub_8764_OnZero_DA3A +al 00DA3D .Sub_8764_OnNegative_DA3D +al 00DA1B .Sub_8764_OnCarrySet_DA1B +al 00DD6B .SubCDD6B +al 00DA0A .Sub_8764_JoinBranchPaths_DA0A +al 00D9FA .Sub_8764_OnCarrySet_D9FA +al 00D9E6 .Sub_8764_OnZero_D9E6 +al 00D9E1 .Sub_8764_JoinBranchPaths_D9E1 +al 00D9CC .Sub_8764_OnCarrySet_D9CC +al 00E320 .SubCE320 +al 00D9B2 .SubCD9B2 +al 00D9AF .Sub_8764_OnNonzero_D9AF +al 00D9A5 .Sub_8764_OnZero_D9A5 +al 00D9A3 .Sub_8764_OnNonzero_D9A3 +al 00D993 .SubCD993 +al 00D989 .Sub_8764_OnNonzero_D989 +al 00D987 .Sub_8764_OnZero_D987 +al 00D97E .Sub_8764_OnZero_D97E +al 00D979 .Sub_8764_JoinBranchPaths_D979 +al 00D965 .Sub_8764_OnCarrySet_D965 +al 00D992 .Sub_8764_JoinBranchPaths_D992 +al 00D949 .Sub_8764_OnZero_D949 +al 00D932 .Sub_8764_OnNegative_D932 +al 00D90F .Sub_8764_OnNonzero_D90F +al 00D909 .Sub_8764_OnNonzero_D909 +al 00D8FC .Sub_8764_OnCarrySet_D8FC +al 00D8F1 .Sub_8764_OnCarryClear_D8F1 +al 00D914 .Sub_8764_OnZero_D914 +al 00D8E3 .Sub_8764_OnNonnegative_D8E3 +al 00D8B4 .Sub_8764_OnZero_D8B4 +al 00D8B3 .Sub_8764_OnNonzero_D8B3 +al 00D942 .SubCD942 +al 00D8A1 .Sub_8764_JoinBranchPaths_D8A1 +al 00D886 .Sub_8764_OnNonnegative_D886 +al 00D871 .Sub_8764_JoinBranchPaths_D871 +al 00D873 .Sub_8764_OnZero_D873 +al 00D855 .Sub_8764_OnNegative_D855 +al 00D84F .Sub_8764_OnCarrySet_D84F +al 00D8DA .SubCD8DA +al 00D838 .Sub_8764_OnZero_D838 +al 00DBA8 .SubCDBA8 +al 00D9F2 .SubCD9F2 +al 00DA43 .SubCDA43 +al 00D828 .Sub_8764_OnNonzero_D828 +al 00D82F .Sub_8764_OnZero_D82F +al 00D83E .Sub_8764_OnZero_D83E +al 00D829 .Sub_8764_OnZero_D829 +al 00D816 .Sub_8764_OnNonzero_D816 +al 00E4B7 .SubCE4B7 +al 00D80B .Sub_8764_OnCarrySet_D80B +al 00DC81 .SubCDC81 +al 00EDE2 .SubCEDE2 +al 00EDD7 .SubCEDD7 +al 00D7F7 .Sub_8764_OnNegative_D7F7 +al 00D7FA .Sub_8764_OnNegative_D7FA +al 00D7DD .Sub_8764_OnCarrySet_D7DD +al 00D7CF .Sub_8764_OnZero_D7CF +al 00D7C5 .Sub_8764_OnCarrySet_D7C5 +al 00D7CD .Sub_8764_OnCarrySet_D7CD +al 00D7C7 .Sub_8764_OnZero_D7C7 +al 00D7B0 .Sub_8764_OnNonzero_D7B0 +al 00D7AE .Sub_8764_OnZero_D7AE +al 00D7A5 .Sub_8764_OnCarrySet_D7A5 +al 00D7A3 .Sub_8764_OnCarryClear_D7A3 +al 00D79B .Sub_8764_JoinBranchPaths_D79B +al 00D78C .Sub_8764_OnNonzero_D78C +al 00D774 .SubCD774 +al 00D766 .Sub_8764_OnZero_D766 +al 00D772 .Sub_8764_OnCarrySet_D772 +al 00D77A .SubCD77A +al 00D784 .SubCD784 +al 00D73B .Sub_8764_OnZero_D73B +al 00D740 .Sub_8764_OnCarryClear_D740 +al 00D71E .Sub_8764_JoinBranchPaths_D71E +al 00D724 .Sub_8764_JoinBranchPaths_D724 +al 00E5F1 .SubCE5F1 +al 00D6F1 .Sub_8764_OnNonzero_D6F1 +al 00D6F7 .SubCD6F7 +al 00D6CD .Sub_8764_OnNonzero_D6CD +al 00DDDB .SubCDDDB +al 00D6EF .SubCD6EF +al 00D664 .Sub_8764_OnZero_D664 +al 00D675 .Sub_8764_JoinBranchPaths_D675 +al 00D66F .Sub_8764_OnNonnegative_D66F +al 00D642 .Sub_8764_OnCarrySet_D642 +al 00D644 .Sub_8764_OnCarrySet_D644 +al 00D68E .Sub_8764_OnCarrySet_D68E +al 00D63B .Sub_8764_OnCarrySet_D63B +al 00D63A .Sub_8764_OnCarryClear_D63A +al 00D71A .SubCD71A +al 00D62C .Sub_8764_OnCarrySet_D62C +al 00D6FE .SubCD6FE +al 00D61A .Sub_8764_OnNonzero_D61A +al 00D611 .Sub_8764_OnNonzero_D611 +al 00E3B5 .SubCE3B5 +al 00D600 .Sub_8764_OnZero_D600 +al 00D5F5 .Sub_8764_OnNonnegative_D5F5 +al 00E700 .SubCE700 +al 00D5E2 .Sub_8764_OnCarryClear_D5E2 +al 00D5A9 .Sub_8764_OnNonzero_D5A9 +al 00D5BC .Sub_8764_OnCarryClear_D5BC +al 00D57F .Sub_8764_OnZero_D57F +al 00D576 .SubCD576 +al 00D52E .Sub_8764_OnNegative_D52E +al 00E621 .SubCE621 +al 00D50A .SubCD50A +al 00D4FF .Sub_8764_OnZero_D4FF +al 00D523 .Sub_8764_JoinBranchPaths_D523 +al 00D70E .SubCD70E +al 00F0EE .SubCF0EE +al 00D4EC .Sub_8764_OnZero_D4EC +al 00D4E9 .Sub_8764_OnZero_D4E9 +al 00D4D6 .Sub_8764_OnCarryClear_D4D6 +al 00D524 .SubCD524 +al 00D4C8 .Sub_8764_OnNonzero_D4C8 +al 00D4AC .Sub_8764_OnNonzero_D4AC +al 00D5C9 .SubCD5C9 +al 00D486 .Sub_8764_OnNonnegative_D486 +al 00D47F .Sub_8764_JoinBranchPaths_D47F +al 00D465 .Sub_8764_OnNonzero_D465 +al 00D46A .Sub_8764_OnZero_D46A +al 00D469 .Sub_8764_OnZero_D469 +al 00D455 .SubCD455 +al 00D433 .Sub_8764_OnCarryClear_D433 +al 00D42C .Sub_8764_OnNonzero_D42C +al 00D3FB .Sub_8764_OnNonzero_D3FB +al 00D3F6 .Sub_8764_OnNegative_D3F6 +al 00D3E9 .Sub_8764_OnNonzero_D3E9 +al 00D3E4 .Sub_8764_OnNegative_D3E4 +al 00D422 .SubCD422 +al 00D3BF .Sub_8764_OnNonzero_D3BF +al 00D3C1 .Sub_8764_OnCarryClear_D3C1 +al 00D3BD .Sub_8764_OnCarryClear_D3BD +al 00D3AF .SubCD3AF +al 00D3AD .Sub_8764_JoinBranchPaths_D3AD +al 00D38D .Sub_8764_OnCarryClear_D38D +al 00E665 .SubCE665 +al 00D37E .Sub_8764_OnCarryClear_D37E +al 00EE66 .SubCEE66 +al 00D38F .Sub_8764_JoinBranchPaths_D38F +al 00D357 .SubCD357 +al 00D4BF .SubCD4BF +al 00D34E .Sub_8764_OnNonzero_D34E +al 00D34C .Sub_8764_OnZero_D34C +al 00D33B .Sub_8764_OnZero_D33B +al 00D33A .Sub_8764_OnNonzero_D33A +al 00D32C .Sub_8764_OnZero_D32C +al 00D310 .Sub_8764_OnCarryClear_D310 +al 00D316 .Sub_8764_OnZero_D316 +al 00D30A .SubCD30A +al 00D2F9 .Sub_8764_OnNonzero_D2F9 +al 00D2FF .Sub_8764_OnNegative_D2FF +al 00D317 .Sub_8764_OnNegative_D317 +al 00D2FE .Sub_8764_OnZero_D2FE +al 00D2E8 .Sub_8764_OnZero_D2E8 +al 00D2E3 .Sub_8764_OnCarrySet_D2E3 +al 00D561 .SubCD561 +al 00D2CB .Sub_8764_JoinBranchPaths_D2CB +al 00EDE0 .SubCEDE0 +al 00D2BB .Sub_8764_OnNegative_D2BB +al 00EDD5 .SubCEDD5 +al 00D650 .SubCD650 +al 00D29B .Sub_8764_OnNonzero_D29B +al 00D284 .Sub_8764_OnCarryClear_D284 +al 00D278 .Sub_8764_JoinBranchPaths_D278 +al 00D279 .Sub_8764_OnCarrySet_D279 +al 00D8A7 .SubCD8A7 +al 00D29F .Sub_8764_OnNegative_D29F +al 00D29C .Sub_8764_OnNegative_D29C +al 00D23A .SubCD23A +al 00D244 .Sub_8764_JoinBranchPaths_D244 +al 00D229 .Sub_8764_OnZero_D229 +al 00D220 .Sub_8764_OnNonzero_D220 +al 00D228 .Sub_8764_OnNonzero_D228 +al 00D21C .Sub_8764_OnCarrySet_D21C +al 00D216 .Sub_8764_OnCarrySet_D216 +al 00D1CB .SubCD1CB +al 00D1DB .Sub_8764_OnZero_D1DB +al 00D24C .SubCD24C +al 00D1DA .Sub_8764_JoinBranchPaths_D1DA +al 00D1A5 .Sub_8764_OnNonzero_D1A5 +al 00D190 .Sub_8764_JoinBranchPaths_D190 +al 00D18E .Sub_8764_OnZero_D18E +al 00D175 .Sub_8764_OnNonzero_D175 +al 00D173 .Sub_8764_OnZero_D173 +al 00D15A .Sub_8764_OnNonnegative_D15A +al 00D163 .Sub_8764_JoinBranchPaths_D163 +al 00D158 .Sub_8764_OnCarryClear_D158 +al 00D147 .Sub_8764_OnNonzero_D147 +al 00D144 .Sub_8764_JoinBranchPaths_D144 +al 00D12E .Sub_8764_OnZero_D12E +al 00D102 .Sub_8764_OnZero_D102 +al 00D0FD .Sub_8764_OnNonzero_D0FD +al 00D110 .SubCD110 +al 00D145 .SubCD145 +al 00D125 .Sub_8764_OnZero_D125 +al 00D0E7 .Sub_8764_OnNonzero_D0E7 +al 00D0AE .Sub_8764_OnNonnegative_D0AE +al 00D0DD .Sub_8764_JoinBranchPaths_D0DD +al 00ED61 .SubCED61 +al 00D075 .Sub_8764_OnNonnegative_D075 +al 00D0A5 .Sub_8764_OnNonzero_D0A5 +al 00D4C3 .SubCD4C3 +al 00D055 .Sub_8764_OnCarryClear_D055 +al 00D04A .Sub_8764_JoinBranchPaths_D04A +al 00D06F .Sub_8764_JoinBranchPaths_D06F +al 00E157 .SubCE157 +al 00EEBC .SubCEEBC +al 00D199 .SubCD199 +al 00D800 .SubCD800 +al 00EAF6 .SubCEAF6 +al 00E28B .SubCE28B +al 00E83E .SubCE83E +al 00D00E .Sub_8764_OnNonnegative_D00E +al 00D224 .SubCD224 +al 00D019 .Sub_8764_OnNonzero_D019 +al 00CFCC .Sub_8764_OnNegative_CFCC +al 00CFC8 .Sub_8764_OnCarryClear_CFC8 +al 00D191 .SubCD191 +al 00CFB6 .Sub_8764_OnNonzero_CFB6 +al 00D2CC .SubCD2CC +al 00CFB3 .Sub_8764_OnZero_CFB3 +al 00CF7F .Sub_8764_OnNonzero_CF7F +al 00CF7D .Sub_8764_OnCarryClear_CF7D +al 00CF72 .Sub_8764_OnNonzero_CF72 +al 00D200 .SubCD200 +al 00CFDD .Sub_8764_OnNonzero_CFDD +al 00CF5C .SubCCF5C +al 00D194 .SubCD194 +al 00CF62 .Sub_8764_OnNonzero_CF62 +al 00D5E7 .SubCD5E7 +al 00CF8F .SubCCF8F +al 00CF33 .Sub_8764_OnCarryClear_CF33 +al 00D61B .SubCD61B +al 00CF26 .Sub_8764_JoinBranchPaths_CF26 +al 00D014 .SubCD014 +al 00CF45 .Sub_8764_OnZero_CF45 +al 00CF05 .Sub_8764_JoinBranchPaths_CF05 +al 00D2D7 .SubCD2D7 +al 00D01A .SubCD01A +al 00D459 .SubCD459 +al 00D2EB .SubCD2EB +al 00CEFF .Sub_8764_OnZero_CEFF +al 00CEEC .SubCCEEC +al 00CFFF .SubCCFFF +al 00F18C .SubCF18C +al 00CE74 .Sub_8764_OnZero_CE74 +al 00CE62 .SubCCE62 +al 00CE7C .Sub_8764_OnZero_CE7C +al 00CE54 .Sub_8764_OnZero_CE54 +al 00CE8F .SubCCE8F +al 00CE81 .Sub_8764_OnZero_CE81 +al 00CE2D .SubCCE2D +al 00CE2C .Sub_8764_OnZero_CE2C +al 00CE20 .SubCCE20 +al 00CE1E .SubCCE1E +al 00E7D6 .SubCE7D6 +al 00CDD8 .Sub_8764_OnNonzero_CDD8 +al 00E7A6 .SubCE7A6 +al 00CDCC .Sub_8764_OnNonzero_CDCC +al 00CDC0 .Sub_8764_OnNonzero_CDC0 +al 00F127 .SubCF127 +al 00E82D .SubCE82D +al 00E7C0 .SubCE7C0 +al 00D9E7 .SubCD9E7 +al 00CDBB .Sub_8764_OnZero_CDBB +al 00CDAF .Sub_8764_OnNonzero_CDAF +al 00CDA1 .SubCCDA1 +al 00CD9E .Sub_8764_OnNonzero_CD9E +al 00CDF4 .Sub_8764_OnZero_CDF4 +al 00D43A .SubCD43A +al 00CD79 .Sub_8764_OnNonzero_CD79 +al 00D00A .SubCD00A +al 00CD50 .Sub_8764_OnNonnegative_CD50 +al 00CD47 .Sub_8764_OnNonnegative_CD47 +al 00CD3C .Sub_8764_OnNonnegative_CD3C +al 00CD32 .Sub_8764_OnNonnegative_CD32 +al 00CD29 .Sub_8764_OnNonzero_CD29 +al 00CCC2 .Sub_8764_JoinBranchPaths_CCC2 +al 00CCBC .SubCCCBC +al 00CB78 .Sub_8764_OnNonnegative_CB78 +al 00CB68 .Sub_8764_OnCarrySet_CB68 +al 00CB76 .Sub_8764_OnNegative_CB76 +al 00CB5C .Sub_8764_OnCarrySet_CB5C +al 00CB22 .Sub_8764_OnNonnegative_CB22 +al 00CB13 .Sub_8764_OnCarryClear_CB13 +al 00CB10 .Sub_8764_OnNonzero_CB10 +al 00CB5A .SubCCB5A +al 00CAD3 .Sub_8764_JoinBranchPaths_CAD3 +al 00CAA4 .Sub_8764_OnNonzero_CAA4 +al 00CAA2 .Sub_8764_OnCarrySet_CAA2 +al 00CA87 .Sub_8764_OnNegative_CA87 +al 00CA7C .Sub_8764_OnCarrySet_CA7C +al 00CA86 .Sub_8764_OnZero_CA86 +al 00CA6B .Sub_8764_OnZero_CA6B +al 00CA66 .Sub_8764_OnZero_CA66 +al 00CA59 .Sub_8764_OnNonnegative_CA59 +al 00CA21 .Sub_8764_OnZero_CA21 +al 00CA24 .Sub_8764_JoinBranchPaths_CA24 +al 00CA22 .Sub_8764_OnNegative_CA22 +al 00CA0C .Sub_8764_OnCarrySet_CA0C +al 00CAFC .SubCCAFC +al 00CAE6 .SubCCAE6 +al 00CAA8 .SubCCAA8 +al 00CA72 .SubCCA72 +al 00CA04 .SubCCA04 +al 00C9E4 .Sub_8764_OnNonzero_C9E4 +al 00CA74 .SubCCA74 +al 00C9D5 .SubCC9D5 +al 00C9DE .SubCC9DE +al 00C9CE .Sub_8764_OnNonnegative_C9CE +al 00C9BA .Sub_8764_OnNonnegative_C9BA +al 00C9AD .Sub_8764_OnNonnegative_C9AD +al 00C9A4 .Sub_8764_OnNonnegative_C9A4 +al 00C991 .Sub_8764_OnNonzero_C991 +al 00CDE2 .SubCCDE2 +al 00C925 .SubCC925 +al 00C92A .Sub_8764_OnNonzero_C92A +al 00C927 .SubCC927 +al 00C909 .Sub_8764_OnNonzero_C909 +al 00C907 .SubCC907 +al 00C94D .SubCC94D +al 00C8E8 .SubCC8E8 +al 00C8CC .Sub_8764_OnZero_C8CC +al 00C8E5 .Sub_8764_OnZero_C8E5 +al 00CED3 .SubCCED3 +al 00D1E6 .SubCD1E6 +al 00C8B7 .Sub_8764_OnZero_C8B7 +al 00CD26 .SubCCD26 +al 00C901 .SubCC901 +al 00C8FB .SubCC8FB +al 00C921 .SubCC921 +al 00C863 .Sub_8764_OnCarryClear_C863 +al 00C85A .SubCC85A +al 00C89A .Sub_8764_OnZero_C89A +al 00C838 .SubCC838 +al 00CCC0 .SubCCCC0 +al 00C9AB .SubCC9AB +al 00C80E .Sub_8764_OnNonnegative_C80E +al 00C80A .SubCC80A +al 00C802 .Sub_8764_OnNonzero_C802 +al 00C7E7 .Sub_8764_OnNonnegative_C7E7 +al 00C7C4 .Sub_8764_OnNonzero_C7C4 +al 00C7E3 .Sub_8764_OnNonzero_C7E3 +al 00C7AC .Sub_8764_OnNonzero_C7AC +al 00C7ED .Sub_8764_OnZero_C7ED +al 00C793 .Sub_8764_JoinBranchPaths_C793 +al 00C78F .Sub_8764_OnZero_C78F +al 00C7C7 .Sub_8764_OnNonzero_C7C7 +al 00C95A .SubCC95A +al 00C786 .Sub_8764_OnNonzero_C786 +al 00C776 .Sub_8764_OnNonzero_C776 +al 00C77D .SubCC77D +al 00C767 .Sub_8764_OnNonzero_C767 +al 00C760 .Sub_8764_OnZero_C760 +al 00C750 .Sub_8764_OnNonzero_C750 +al 00C770 .SubCC770 +al 00C73D .Sub_8764_OnZero_C73D +al 00C72A .Sub_8764_OnNonnegative_C72A +al 00C723 .Sub_8764_OnNonnegative_C723 +al 00C70E .Sub_8764_OnNonnegative_C70E +al 00C719 .SubCC719 +al 00C98E .SubCC98E +al 00C6F6 .Sub_8764_OnNonzero_C6F6 +al 00C6EA .Sub_8764_OnNonnegative_C6EA +al 00C68C .Sub_8764_OnNonzero_C68C +al 00C67D .SubCC67D +al 00C5DD .Sub_8764_OnNonzero_C5DD +al 00C5C7 .SubCC5C7 +al 00C61B .SubCC61B +al 00C611 .SubCC611 +al 00C607 .SubCC607 +al 00C5FD .SubCC5FD +al 00C5B0 .Sub_8764_OnNonzero_C5B0 +al 00C5A6 .SubCC5A6 +al 00C595 .Sub_8764_OnNonzero_C595 +al 00C589 .SubCC589 +al 00C56D .SubCC56D +al 00C59C .SubCC59C +al 00C564 .Sub_8764_OnNonzero_C564 +al 00C5A1 .SubCC5A1 +al 00C55A .SubCC55A +al 00C552 .Sub_8764_OnNonzero_C552 +al 00C54A .Sub_8764_OnZero_C54A +al 00C54D .Sub_8764_OnNegative_C54D +al 00C53F .SubCC53F +al 00C539 .SubCC539 +al 00C538 .Sub_8764_OnZero_C538 +al 00C536 .Sub_8764_OnNonzero_C536 +al 00C515 .SubCC515 +al 00C523 .Sub_8764_OnNonzero_C523 +al 00C50D .SubCC50D +al 00C4F9 .SubCC4F9 +al 00C51D .Sub_8764_OnNonzero_C51D +al 00C4F5 .SubCC4F5 +al 00C4D0 .Sub_8764_OnNonzero_C4D0 +al 00C4D9 .Sub_8764_JoinBranchPaths_C4D9 +al 00C4B7 .Sub_8764_OnNonzero_C4B7 +al 00C4D6 .Sub_8764_OnNonzero_C4D6 +al 00C4C3 .Sub_8764_OnNonzero_C4C3 +al 00C4A1 .Sub_8764_OnNonzero_C4A1 +al 00C49A .Sub_8764_OnNonzero_C49A +al 00C484 .SubCC484 +al 00C463 .SubCC463 +al 00C46D .SubCC46D +al 00C45F .Sub_8764_OnZero_C45F +al 00C44B .SubCC44B +al 00C447 .SubCC447 +al 00C442 .SubCC442 +al 00C426 .Sub_8764_OnNonzero_C426 +al 00C41C .Sub_8764_OnNonzero_C41C +al 00C412 .SubCC412 +al 00C40C .Sub_8764_OnNonnegative_C40C +al 00C969 .SubCC969 +al 00C3F4 .SubCC3F4 +al 00C3F0 .SubCC3F0 +al 00C407 .SubCC407 +al 00C3EB .SubCC3EB +al 00C3E2 .SubCC3E2 +al 00C34A .Sub_8764_OnNonzero_C34A +al 00C35B .Sub_8764_OnZero_C35B +al 00C32C .SubCC32C +al 00C307 .Sub_8764_OnNonzero_C307 +al 00C2D8 .SubCC2D8 +al 00C2D0 .Sub_8764_OnNonzero_C2D0 +al 00C304 .SubCC304 +al 00C2C1 .SubCC2C1 al 00C2C0 .IrqHandler -al 00C292 .Label_C292 -al 00C2A3 .Label_C2A3 -al 00C2BB .Label_C2BB -al 00C273 .Label_C273 -al 00C268 .Label_C268 -al 00C257 .Label_C257 -al 00C278 .Label_C278 -al 00C24F .Label_C24F -al 00C23C .Label_C23C -al 00C234 .Label_C234 -al 00C232 .Label_C232 -al 00C23E .Label_C23E -al 00C21C .Label_C21C -al 00C206 .Label_C206 -al 00C1EA .Label_C1EA -al 00C1CF .Label_C1CF -al 00C1E1 .Label_C1E1 -al 00C20C .Label_C20C -al 00C209 .Label_C209 -al 00C1AC .Label_C1AC -al 00C1A1 .Label_C1A1 -al 00C191 .Label_C191 -al 00C177 .Label_C177 -al 00C169 .Label_C169 -al 00C15F .Label_C15F -al 00C14A .Label_C14A -al 00C11E .Label_C11E -al 00C104 .Label_C104 -al 00C17A .Label_C17A -al 00C0F7 .Label_C0F7 -al 00C0D7 .Label_C0D7 -al 00C0CB .Label_C0CB -al 00C0BE .Label_C0BE -al 00C0B2 .Label_C0B2 -al 00C10D .Label_C10D -al 00C08E .Label_C08E -al 00C0A0 .Label_C0A0 -al 00C09A .Label_C09A -al 00C0A3 .Label_C0A3 -al 00C0A6 .Label_C0A6 -al 00C0A8 .Label_C0A8 -al 00C0C1 .Label_C0C1 -al 00C05F .Label_C05F +al 00C292 .Sub_8764_OnNonzero_C292 +al 00C2A3 .Sub_8764_JoinBranchPaths_C2A3 +al 00C273 .Sub_8764_OnZero_C273 +al 00C268 .Sub_8764_OnNonzero_C268 +al 00C257 .Sub_8764_OnNonzero_C257 +al 00C278 .Sub_8764_JoinBranchPaths_C278 +al 00C24F .Sub_8764_OnZero_C24F +al 00D293 .SubCD293 +al 00C23C .Sub_8764_OnNonzero_C23C +al 00C234 .Sub_8764_OnZero_C234 +al 00C232 .Sub_8764_OnZero_C232 +al 00C23E .SubCC23E +al 00C21C .Sub_8764_OnZero_C21C +al 00C2BB .SubCC2BB +al 00C2EA .SubCC2EA +al 00C206 .Sub_8764_OnZero_C206 +al 00C1EA .Sub_8764_OnCarryClear_C1EA +al 00C332 .SubCC332 +al 00C1CF .Sub_8764_OnNonzero_C1CF +al 00C1E1 .Sub_8764_OnCarryClear_C1E1 +al 00C20C .Sub_8764_OnZero_C20C +al 00C209 .Sub_8764_JoinBranchPaths_C209 +al 00C1AC .Sub_8764_OnNonzero_C1AC +al 00C1A1 .Sub_8764_OnNonzero_C1A1 +al 00C191 .Sub_8764_OnNonzero_C191 +al 00C177 .Sub_8764_OnCarryClear_C177 +al 00C169 .Sub_8764_OnZero_C169 +al 00C15F .Sub_8764_OnNonzero_C15F +al 00C14A .Sub_8764_OnNonzero_C14A +al 00C11E .Sub_8764_OnZero_C11E +al 00C104 .Sub_8764_OnNonzero_C104 +al 00C0F7 .Sub_8764_OnNonzero_C0F7 +al 00C0CB .Sub_8764_OnZero_C0CB +al 00C0D7 .SubCC0D7 +al 00C0BE .Sub_8764_OnCarryClear_C0BE +al 00C0B2 .Sub_8764_OnNonzero_C0B2 +al 00C10D .Sub_8764_OnCarrySet_C10D +al 00C48E .SubCC48E +al 00C17A .SubCC17A +al 00C4E4 .SubCC4E4 +al 00C08E .Sub_8764_OnNonzero_C08E +al 00C0A0 .Sub_8764_OnCarrySet_C0A0 +al 00C09A .Sub_8764_OnZero_C09A +al 00C0A3 .Sub_8764_OnNonzero_C0A3 +al 00C0A6 .Sub_8764_OnCarrySet_C0A6 +al 00C0A8 .Sub_8764_OnCarrySet_C0A8 +al 00C0C1 .Sub_8764_OnCarrySet_C0C1 +al 00C05F .Sub_8764_OnNonzero_C05F al 00C04C .NmiHandler -al 00C045 .Label_C045 -al 00C043 .Label_C043 -al 00C038 .Label_C038 -al 00C032 .Label_C032 -al 00C006 .Label_C006 -al 00C003 .Label_C003 +al 00C045 .Sub_8764_OnNonzero_C045 +al 00C043 .SubCC043 +al 00C038 .Sub_8764_OnNonzero_C038 +al 00C032 .SubCC032 +al 00C006 .SubCC006 +al 00C003 .SubCC003 +al 00C6E3 .ResetEntry al 00C000 .Reset